Vehicle environment temperature detection method and device, electronic equipment, storage medium and program product
By monitoring vehicle operating parameters and selecting an ambient temperature determination method based on the intake air volume, the problem of ambient temperature sensors being affected by thermal radiation is solved, enabling accurate temperature acquisition under different conditions and supporting vehicle temperature control strategies.
Patent Information
- Application Number
- CN202511182468.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-22
- Publication Date
- 2025-11-21
AI Technical Summary
Existing vehicle ambient temperature sensors are affected by the heat radiation from the exhaust of the engine breather and surge valve, resulting in a significant deviation between the measured value and the actual ambient temperature, which reduces the accuracy of the measurement.
By monitoring the vehicle's operating status parameters, the current state is determined to be either a preset state with a small or large intake air volume. The current ambient temperature is determined by using the initial ambient temperature or the temperature collected by the intake air temperature sensor, thereby reducing thermal radiation interference.
It improves the accuracy and stability of ambient temperature measurement, provides reliable temperature data support, and enhances the precision and efficiency of vehicle temperature-related control strategies.
Smart Images

Figure CN120992048A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of vehicles, and in particular to a vehicle ambient temperature detection method and device, an electronic device, a storage medium, and a program product. BACKGROUND
[0002] In the current vehicle ambient temperature measurement scheme, the ambient temperature sensor is usually arranged at the position after the air filter of the intake pipe, and the intake temperature measured at this position is taken as the reference value of the ambient temperature. However, the existing technology has certain limitations. The heat radiation generated by the heat sources such as engine breather exhaust and surge valve exhaust will interfere with the ambient temperature sensor. This heat radiation will greatly affect the measurement value of the ambient temperature sensor, and there will be a significant deviation between the measurement value and the actual ambient temperature, thereby reducing the accuracy of the measurement result of the ambient temperature sensor. SUMMARY
[0003] The embodiments of the present application provide a vehicle ambient temperature detection method, device, electronic device, storage medium, and program product to alleviate or solve one or more technical problems in the prior art.
[0004] In a first aspect, the embodiments of the present application provide a vehicle ambient temperature detection method, comprising:
[0005] obtaining an initial ambient temperature collected after the vehicle is powered on, and a monitored operating state parameter;
[0006] determining a current state of the vehicle among a plurality of preset states based on the operating state parameter; each of the states is configured with a corresponding operating state parameter range; the plurality of preset states include a first preset state and a second preset state, and the intake amount of the vehicle engine in the first preset state is less than the intake amount of the vehicle engine in the second preset state;
[0007] in a case where it is determined that the current state of the vehicle is the first preset state, determining that the current ambient temperature follows the initial ambient temperature;
[0008] in a case where it is determined that the current state of the vehicle is the second preset state, determining the current ambient temperature according to the temperature collected by the intake temperature sensor.
[0009] In some embodiments, the initial ambient temperature collected after the vehicle is powered on includes:
[0010] obtaining the last round ambient temperature stored before the vehicle is powered on, and the temperature of at least one of the following sensors: the intake temperature sensor, the exhaust temperature sensor, the engine oil temperature sensor, and the water boiler water temperature sensor;
[0011] Among the last round of ambient temperature and the temperature of the at least one sensor, the temperature with the minimum temperature value is selected as the initial ambient temperature.
[0012] In some embodiments, the monitored operating state parameters include at least one of the following: engine load rate, engine speed, engine speed change rate, vehicle speed, intake air flow, throttle opening degree;
[0013] The determining of the current state of the vehicle based on the operating state parameters in a plurality of preset states includes:
[0014] Obtaining state determination conditions configured for each of the preset states; for each of the preset states, the state determination condition is used to describe a preset condition conforming to the preset state, and the preset condition includes a threshold range of each of the operating state parameters conforming to the preset state;
[0015] According to the comparison result between each monitored operating state parameter and the threshold range configured by each state determination condition, the state of the vehicle conforming to a plurality of preset states is determined, and the current state is obtained.
[0016] In some embodiments, in a case where it is determined that the current state of the vehicle is the first preset state, the current ambient temperature follows the initial ambient temperature, including:
[0017] In a case where it is determined that the current state of the vehicle reaches the first preset state after power-on, the current ambient temperature is determined as the initial ambient temperature.
[0018] In some embodiments, in a case where it is determined that the current state of the vehicle is the second preset state, the current ambient temperature is determined according to the temperature collected by the intake air temperature sensor, including:
[0019] In a case where it is determined that the current state of the vehicle is converted from the first preset state to the second preset state, the current ambient temperature is determined as the temperature collected by the intake air temperature sensor.
[0020] In some embodiments, after determining the current ambient temperature according to the temperature collected by the intake air temperature sensor, the method further includes:
[0021] In a case where it is determined that the current ambient temperature and the historical ambient temperature after this power-on conform to the rising trend condition, a smoothing adjustment process for slowing down the change rate is performed on the current ambient temperature, and the temperature after the smoothing adjustment process is output.
[0022] In a second aspect, the embodiments of the present application provide a vehicle ambient temperature detection device, comprising:
[0023] an acquisition module configured to acquire an initial ambient temperature collected after the vehicle is powered on and a monitored operating state parameter;
[0024] a first determination module configured to determine a current state of the vehicle based on the operating state parameter in a plurality of preset states; each of the states is configured with a corresponding operating state parameter range; the plurality of preset states include a first preset state and a second preset state, and an intake air amount of the vehicle engine in the first preset state is less than an intake air amount of the vehicle engine in the second preset state;
[0025] a second determination module configured to determine that a current ambient temperature follows the initial ambient temperature when it is determined that the current state of the vehicle is the first preset state;
[0026] a third determination module configured to determine the current ambient temperature according to a temperature collected by an intake air temperature sensor when it is determined that the current state of the vehicle is the second preset state.
[0027] In a third aspect, the embodiments of the present application provide an electronic device, comprising a memory, a processor, and a computer program stored in the memory, and the processor implements the method of any one of the embodiments of the present application when executing the computer program.
[0028] In a fourth aspect, the embodiments of the present application provide a computer readable storage medium, and the computer readable storage medium stores a computer program, and the computer program is executed by a processor to implement the method of any one of the embodiments of the present application.
[0029] In a fifth aspect, the embodiments of the present application provide a computer program product, comprising a computer program, and the computer program is executed by a processor to implement the method of any one of the embodiments of the present application.
[0030] Based on the vehicle ambient temperature detection method, device, electronic device, storage medium, and program product, the embodiments of the present application have at least the following advantages:
[0031] The embodiment of the present application determines the current state of the vehicle in the plurality of preset states based on the running state parameter, wherein each state is configured with a corresponding running state parameter range, and the plurality of preset states include a first preset state and a second preset state, and the intake air amount of the vehicle engine in the first preset state is less than that in the second preset state. In the case where the current state of the vehicle is determined as the first preset state, the current environment temperature is determined to follow the initial environment temperature, and in the case where the current state of the vehicle is determined as the second preset state, the current environment temperature is determined according to the temperature collected by the intake air temperature sensor.
[0032] The embodiment of the present application realizes accurate determination of the current state of the vehicle through real-time monitoring and analysis of the running state parameter. When in the first preset state with small intake air amount, the heat near the intake pipe cannot be dissipated in time due to the limited intake air amount, resulting in heat retention in this area. At this time, the temperature collected by the intake air temperature sensor cannot accurately reflect the external environment temperature, so the initial environment temperature is continued to be used as the current environment temperature. When in the second preset state with large intake air amount, the intake air flow is sufficient to quickly take away the heat near the intake pipe, so that the temperature collected by the intake air temperature sensor is close to the environment temperature outside the vehicle. At this time, the temperature collected by the intake air temperature sensor is used to determine the current environment temperature, thereby ensuring accurate acquisition of the vehicle environment temperature under different running states and providing reliable data support for other temperature-related control strategies of the vehicle.
[0033] The above description is only a summary of the technical solutions of the present application. In order to more clearly understand the technical means of the present application, the embodiments can be implemented in accordance with the content of the description, and in order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific embodiments of the present application are described below. BRIEF DESCRIPTION OF DRAWINGS
[0034] In the drawings, the same reference numbers in the several figures indicate corresponding or similar components or elements. The drawings are not necessarily to scale. It should be understood that the drawings only depict some embodiments in accordance with the present application and should not be considered as limiting the scope of the present application.
[0035] Figure 1 A flowchart of a vehicle environment temperature detection method provided by an embodiment of the present application is shown;
[0036] Figure 2 Another flowchart of a vehicle environment temperature detection method provided by an embodiment of the present application is shown;
[0037] Figure 3Another flow chart of a vehicle ambient temperature detection method provided by an embodiment of the application is shown.
[0038] Figure 4 A structural schematic diagram of a vehicle ambient temperature detection device provided by an embodiment of the application is shown.
[0039] Figure 5 A block diagram of an electronic device provided by an embodiment of the application is shown. DETAILED DESCRIPTION
[0040] In the following, only some exemplary embodiments are simply described. As those skilled in the art can recognize, the described embodiments can be modified in various different ways without departing from the concept or scope of the present application. Therefore, the drawings and the description are considered to be exemplary in nature, rather than limiting.
[0041] Some of the nouns and terms involved in the embodiments of the present application are explained as follows.
[0042] Hot state: The hot state of a vehicle refers to the extent to which the engine and various components of the vehicle have reached a normal working temperature.
[0043] Low-load operation: The vehicle is operated for a long time under less than rated load.
[0044] Breather: An important component in the engine system of a vehicle, mainly to provide fresh air for the engine.
[0045] ECU: Electronic Control Unit, the abbreviation of Electronic Control Unit, is the core component of controlling the operation of the engine. By receiving signals from various sensors, the ECU can accurately control controllable parameters such as fuel injection amount, ignition time, idle speed, etc. according to the preset program, to ensure that the engine operates efficiently and stably. There can be multiple ECUs in a vehicle, each responsible for controlling different systems such as automatic transmission, anti-lock braking system (ABS), airbag, etc.
[0046] Surge valve: An industrial device, when the engine is under heavy load and the foot pedal is suddenly released, the ECU activates the fuel cut function according to the deceleration signal, opens the surge valve while cutting off the fuel supply, eliminating the possibility of supercharger surge caused by the closure of the throttle valve, and improving the reliability of the supercharger and throttle valve.
[0047] In order to facilitate the understanding of the technical solutions of the embodiments of the present application, the related technologies of the embodiments of the present application are described as follows. The following related technologies can be combined with the technical solutions of the embodiments of the present application in any way, and all belong to the protection scope of the embodiments of the present application.
[0048] In the current strategy, the ambient temperature sensor is usually located at the position after the air filter of the intake pipe, close to the breather and surge valve, that is, the intake temperature sensor, which measures the ambient temperature by measuring the intake temperature at this position as the measured value, which changes with the change of the intake temperature. When the vehicle is powered on for the first time, the ambient temperature is the temperature of the air in the intake pipe. When the vehicle is running, the measured value of the ambient temperature sensor is relatively accurate when the air temperature in the intake pipe is the same as the ambient temperature, but when the air temperature in the intake pipe is disturbed by the outside and deviates from the ambient temperature, the measured value of the ambient temperature sensor will be deviated.
[0049] Specifically, when the vehicle is running at a low load in a hot state, the ambient temperature sensor is affected by the heat radiation of the engine breather exhaust and the surge valve exhaust, and there is a large deviation between the measured value of the ambient temperature sensor and the actual ambient temperature. During the free acceleration process in the hot state, the engine intake is large when the accelerator is stepped on, the gas flow rate is large, the heat of the breather and surge valve exhaust gas is quickly taken away, the intake temperature at the intake temperature sensor is low, and the measured value of the intake temperature sensor is low. When the accelerator is released, the engine intake is small, the heat of the breather and surge valve exhaust gas cannot be taken away, the intake temperature at the intake temperature sensor is increased, and the measured value of the intake temperature sensor is increased. The related art does not consider the influence of the breather exhaust and the surge valve exhaust on the intake temperature sensor, and does not limit the change condition and change rate of the measured value of the intake temperature sensor, resulting in the fluctuation and deviation of the measured value of the intake temperature sensor on the ambient temperature.
[0050] The vehicle ambient temperature detection method and device provided by the embodiment of the present application solve the problem of large deviation of the measured value of the ambient temperature by adding the limitation condition of the change of the measured value of the ambient temperature in the hot state through real-time monitoring and analysis of the running state parameters, improve the accuracy of the measurement of the ambient temperature sensor, and realize accurate determination of the current state of the vehicle. When in the first preset state of small intake, the heat near the intake pipe cannot be dissipated in time due to the limited intake, resulting in the retention of heat in this area, so the temperature collected by the intake temperature sensor cannot accurately reflect the external ambient temperature, and therefore the initial ambient temperature is used as the current ambient temperature. When in the second preset state of large intake, the intake flow is sufficient to quickly take away the heat near the intake pipe, so that the temperature collected by the intake temperature sensor is close to the ambient temperature of the vehicle, and therefore the temperature collected by the intake temperature sensor is used to determine the current ambient temperature, thereby ensuring accurate acquisition of the ambient temperature of the vehicle in different running states and providing reliable data support for other temperature-related control strategies of the vehicle.
[0051] The technical solutions of the present application and how the technical solutions solve the foregoing technical problems will be described in detail below with specific embodiments. The several specific embodiments listed can be combined with each other, and the same or similar concepts or processes can not be described again in some embodiments. The embodiments of the present application will be described in detail below with reference to the drawings.
[0052] Referring to Figure 1 The flowchart of the vehicle ambient temperature detection method is shown, and the method specifically includes steps 101-104.
[0053] Step 101, obtaining the initial ambient temperature collected after the vehicle is powered on, and the monitored operating state parameter.
[0054] Step 102, determining the current state of the vehicle among the plurality of preset states based on the operating state parameter.
[0055] Step 103, in the case where the current state of the vehicle is determined as the first preset state, determining that the current ambient temperature follows the initial ambient temperature.
[0056] Step 104, in the case where the current state of the vehicle is determined as the second preset state, determining the current ambient temperature according to the temperature collected by the intake temperature sensor.
[0057] The vehicle ambient temperature detection method provided by the embodiments of the present application can be applied to the ECU of the vehicle, and the ECU control strategy is modified based on the vehicle ambient temperature detection method.
[0058] When the vehicle is started after a long parking and cold start, the initial ambient temperature is obtained after the first power-on. The initial ambient temperature can be collected according to a preset strategy. For example, when the vehicle is restarted after a short parking, if it is determined that the temperature of each component does not change much, a single sensor is directly used as the initial ambient temperature, for example, the temperature measured by the intake temperature sensor is 28, which is determined as the initial ambient temperature, thereby simplifying the data processing process, quickly obtaining the initial value of the ambient temperature, and facilitating the subsequent development of ambient temperature monitoring. For example, according to historical geographic location records and the current time, it is determined that the vehicle is started in an extreme environment (such as high temperature, etc.), and considering that each sensor may be affected by heat radiation, the last round of ambient temperature (42) is used as the basis, combined with the data of the intake temperature sensor (45), the exhaust temperature sensor (50), the engine oil temperature sensor (48), and the water boiler water temperature sensor (46), a value (such as 43) closer to the actual ambient temperature is calculated as the initial ambient temperature through a specific algorithm, for example, the mean value or the temperature data collected by the sensors installed at the preset positions can be taken, wherein the preset positions can be selected as positions with faster cooling speed after power-off, such as the temperature sensors of the intake pipe and the exhaust pipe, or the mean value of multiple temperature values with the lowest temperature, thereby improving the accuracy of the initial ambient temperature determination. It can be understood that the above is only an example and does not constitute a limitation on the embodiments of the present application.
[0059] Each state is configured with a corresponding operating state parameter range, and the plurality of preset states include a first preset state and a second preset state, wherein the intake amount of the vehicle engine in the first preset state is less than the intake amount of the vehicle engine in the second preset state. After power-on, the operating state of the vehicle is determined according to the collected operating state parameters, and the determination strategy of the ambient temperature is further selected according to the current operating state.
[0060] The first preset state can be regarded as a lower load operating state, in which the engine intake amount is small, and the heat of the gas discharged by the breather and the surge valve cannot be taken away in time, resulting in an increase in the temperature at the ambient temperature sensor and a large measurement value. Therefore, locking the initial ambient temperature can avoid measurement errors caused by the influence of heat radiation on the sensor. For example, when the vehicle is slowly driven at a low speed on an urban road, the engine load is low, and the ambient temperature is kept as the initial locked value to ensure the accuracy of the ambient temperature data.
[0061] The load of the second preset state is higher than that of the first preset state. When the vehicle operating state parameters meet the determination condition of the high-load working condition, for example, the parameters such as vehicle speed and engine load rate reach the set threshold, the engine intake air quantity is large, the gas flow rate is fast, the heat of the exhaust gas discharged by the breather and the surge valve is quickly taken away, and the temperature collected by the intake air temperature sensor is close to the actual ambient temperature outside the vehicle. The ambient temperature can be determined according to the temperature of the intake air sensor. Specifically, the current ambient temperature value with a smaller difference from the ambient temperature value of the last moment can be obtained by interpolation, for example, the ambient temperature value of the last moment and the ambient temperature value monitored at the current moment. For another example, the vehicle drives at a high speed on a highway, and the engine is in a high-load working state. At this time, the measurement value of the intake air temperature sensor can truly reflect the external ambient temperature, so the intake air temperature sensor is directly used as the current ambient temperature.
[0062] The vehicle ambient temperature detection method and device provided by the embodiment of the application solve the problem of large deviation of the ambient temperature measurement value by monitoring and analyzing the operating state parameters in real time, adding a restriction condition for the change of the ambient temperature measurement value in the hot vehicle state, improving the accuracy of the ambient temperature sensor measurement, and realizing accurate determination of the current state of the vehicle. When in the first preset state with small intake air quantity, the heat near the intake air pipe cannot be dissipated in time due to the limited intake air quantity, resulting in heat retention in this area. At this time, the temperature collected by the intake air temperature sensor cannot accurately reflect the external ambient temperature, so the initial ambient temperature is continued to be used as the current ambient temperature. When in the second preset state with large intake air quantity, the heat near the intake air pipe can be quickly taken away, so that the temperature collected by the intake air temperature sensor is close to the ambient temperature outside the vehicle. At this time, the temperature collected by the intake air temperature sensor is used to determine the current ambient temperature, thereby ensuring accurate acquisition of the ambient temperature of the vehicle under different operating states and providing reliable data support for other temperature-related control strategies of the vehicle.
[0063] In some embodiments, the step 101 acquires the initial ambient temperature collected after the vehicle is powered on, specifically including the following steps: acquiring the ambient temperature of the last round stored before power on and the temperature of at least one of the following sensors: intake air temperature sensor, exhaust temperature sensor, engine oil temperature sensor, and water boiler water temperature sensor; and selecting the temperature with the smallest temperature value from the ambient temperature of the last round and the temperature of the at least one sensor as the initial ambient temperature.
[0064] Reference Figure 2The initial ambient temperature is determined by taking the minimum value of the intake temperature sensor, the exhaust temperature sensor, the last cycle stored ambient temperature, the oil temperature, and the water temperature. For example, in cold weather, the water boiler may heat the water temperature before starting after the vehicle has been parked for a long time. At this time, the water temperature will be higher than the actual ambient temperature. By selecting the minimum value of multiple temperatures as the initial ambient temperature, the interference of high temperatures such as water temperature on the judgment of the initial ambient temperature can be effectively avoided, and the initial ambient temperature is closer to the real external ambient temperature.
[0065] In some embodiments, the operating state parameters monitored in step 101 include at least one of the following: engine load rate, engine speed, engine speed change rate, vehicle speed, intake air flow, throttle opening, and accordingly, step 102 determines the current state of the vehicle based on the operating state parameters in the preset multiple preset states, which can specifically include the following steps: obtaining state determination conditions configured for each preset state, for each preset state, the state determination condition is used to describe the preset condition that meets the preset state, the preset condition includes the threshold range of each operating state parameter that meets the preset state, and according to the comparison result between each monitored operating state parameter and the threshold range configured by each state determination condition, the state of the vehicle that meets the multiple preset states is determined, and the current state is obtained.
[0066] Reference Figure 3 An example process of determining the current state of the vehicle based on multiple operating state parameters is shown. First, the engine load rate, speed, speed change rate, vehicle speed, intake air flow, throttle opening and other operating state parameters are monitored. When these parameters exceed their respective threshold values (such as load rate threshold, speed threshold, etc.), and the engine speed change rate is less than its change rate threshold, it is determined that the vehicle is in the second preset state, and the current ambient temperature is set to the temperature collected by the intake temperature sensor. If not, it is in the first preset state, and the current ambient temperature is locked as the initial ambient temperature, i.e. the current ambient temperature = initial ambient temperature. This multi-parameter comprehensive judgment method can accurately reflect the actual operating conditions of the vehicle and avoid misjudgment caused by fluctuations in a single parameter. For example, when high-speed driving and high-load engine operation meet the second preset state, multiple parameters meet the conditions at the same time, ensuring accurate ambient temperature values. In the case of low load or non-stable conditions meeting the first preset state, the initial ambient temperature is maintained to prevent interference from internal heat sources.
[0067] By using multiple parameters to determine the state of the vehicle, the accuracy and reliability of the ambient temperature detection are improved. By reasonably selecting the ambient temperature source under different operating conditions, the initial ambient temperature locking mechanism and the intake temperature sensor switching mechanism, the interference of the internal heat source of the vehicle on the ambient temperature measurement is effectively reduced, providing more accurate data support for the temperature control strategy of the vehicle and improving the overall performance and operating efficiency of the vehicle.
[0068] In some implementations, after determining the current ambient temperature based on the temperature collected by the intake air temperature sensor in step 104, it is also possible to determine whether the ambient temperature is rising. If the current ambient temperature and the historical ambient temperature after this power-on determine that the upward trend condition is met, a smoothing adjustment process is performed on the current ambient temperature to slow down the rate of change, and the temperature after the smoothing adjustment process is output.
[0069] refer to Figure 3 This demonstrates the process of determining and adjusting the vehicle's ambient temperature. After executing step 104, it is determined whether the ambient temperature has risen. Specifically, when the vehicle is in the second preset state, the current ambient temperature is determined based on the temperature collected by the intake air temperature sensor. Subsequently, the current ambient temperature is compared with the historical ambient temperature since the current power-on. If it meets the conditions for an upward trend (such as the temperature continuously rising for more than a certain threshold or time), the current ambient temperature is smoothed to slow down its rate of change, and the adjusted temperature is output. If it does not meet the upward trend or the ambient temperature drops, it changes directly without smoothing.
[0070] For example, when a vehicle moves from a low-temperature area to a high-temperature area, the ambient temperature gradually rises. A smoothing adjustment process, such as ramping, is used to ramp the temperature collected by the intake air temperature sensor. Ramping is a technique used to control the rate of change of a signal or parameter. Its main purpose is to ensure that when a parameter (such as ambient temperature) changes, it gradually reaches a target value at a certain rate, rather than abruptly jumping to a new value. This method prevents system instability or malfunction caused by sudden parameter changes. Specifically, when the ambient temperature rises, ramping gradually increases the temperature change at a preset rate until the target temperature is reached, ensuring a smooth transition and avoiding sudden temperature changes due to heat radiation interference from the sensor. Conversely, when moving from a high-temperature area to a low-temperature area, the temperature drop can be directly adjusted according to the actual change.
[0071] Exemplarily, when the ambient temperature rises, a ramp process of a preset duration (e.g., 15 seconds) is performed, that is, a smoothing adjustment process for slowing down the change rate is performed. Assuming that the current ambient temperature of the vehicle is 20, due to the vehicle driving from a shady place into an area directly under the sun, the ambient temperature starts to rise, and the system detects that the ambient temperature has a rising trend. At this time, the system does not allow the ambient temperature to jump to the new measured value immediately, but starts the ramp process. In the next 15 seconds, the system will gradually increase the ambient temperature at a relatively gentle rate according to the preset algorithm. For example, if the new measured temperature is 25, the system may adjust the temperature to 20.5 in the first second, to 21 in the second second, and so on, increasing by about 0.33 per second, until smoothly reaching 25 after 15 seconds. Such a processing manner makes the change curve of the ambient temperature present a gentle slope rather than a steep ladder. This mechanism ensures the stability and accuracy of the ambient temperature data, provides reliable ambient temperature information for other temperature-sensitive systems of the vehicle (such as the air conditioner, the engine cooling system, etc.), and improves the stability and comfort of the overall operation of the vehicle.
[0072] In some embodiments, step 103 determines that the current ambient temperature follows the initial ambient temperature when the current state of the vehicle is determined to be the first preset state, which can be specifically implemented as determining that the current ambient temperature is the initial ambient temperature when the current state of the vehicle is determined to be the first preset state after power-on.
[0073] When the vehicle is powered on, the initial ambient temperature is first obtained, which is obtained by taking the minimum value of the data of multiple temperature sensors and the last round ambient temperature, and can better reflect the actual ambient temperature of the vehicle. Subsequently, the running state parameters of the vehicle are continuously monitored. If the running state parameters of the vehicle meet the conditions of the first preset state (a state with small engine intake) in the initial running stage after power-on, for example, low-speed driving in the city, low engine load, low speed, etc., it is determined that the vehicle is in the first preset state, and the current ambient temperature is locked as the initial ambient temperature. This is because in the first preset state, the intake amount is small, and the intake temperature sensor is easily affected by the heat inside the vehicle and is not accurately measured, so directly using the initial ambient temperature can avoid measurement errors and ensure the accuracy and stability of the ambient temperature data.
[0074] The embodiment ensures the accuracy of the ambient temperature at the initial stage of vehicle starting. After the vehicle starts, the temperature of each component has not yet stabilized. At this time, if the vehicle directly enters the first preset state, using the initial ambient temperature can avoid the interference of component temperature fluctuations on the measurement of the ambient temperature. Moreover, the discontinuity of the ambient temperature measurement caused by state switching is avoided. Because the ambient temperature at different times of the day can be different, the ambient temperature at the current time period can be quite different from that at the power-on time. If the vehicle switches from the second preset state to the first preset state, using the initial ambient temperature directly can cause deviation. Therefore, in some embodiments, the current ambient temperature can be locked at the ambient temperature in the second preset state until the next switch to the second preset state.
[0075] In some embodiments, step 104, in a case where it is determined that the current state of the vehicle is the second preset state, determines the current ambient temperature according to the temperature collected by the intake temperature sensor. Specifically, in a case where it is determined that the current state of the vehicle is switched from the first preset state to the second preset state, the current ambient temperature is determined to be the temperature collected by the intake temperature sensor.
[0076] After the vehicle starts, the initial stage is usually in the first preset state (low load, small intake amount), at which time the ambient temperature is locked as the initial value to avoid errors caused by the interference of the heat inside the vehicle on the intake temperature sensor. When the vehicle accelerates and the engine load increases, the operating state meets the condition of the second preset state (high load, large intake amount), the system determines that the state of the vehicle is switched from the first preset state to the second preset state. At this time, because the intake amount is large, the heat near the intake temperature sensor is quickly taken away, and the temperature collected by the intake temperature sensor can accurately reflect the external ambient temperature.
[0077] For example, the vehicle enters high-speed cruising (second preset state) from low-speed driving in the city (first preset state), the engine load rate, speed and other parameters reach the threshold value, the operating state of the vehicle is switched, and the current ambient temperature is updated to the temperature collected by the intake temperature sensor, ensuring the accuracy and real-time performance of the ambient temperature data.
[0078] The embodiment switches the determination mode of the ambient temperature at the appropriate time on the basis of capturing the change in the operating state of the vehicle. When the vehicle is switched from the first preset state to the second preset state, the data of the intake temperature sensor is used to determine the ambient temperature in time, which improves the accuracy and real-time performance of the ambient temperature monitoring, provides reliable data support for the temperature control and management system of the vehicle, and improves the adaptability and operating efficiency of the vehicle under different operating conditions.
[0079] Corresponding to the application scenarios and methods of the method provided in the embodiments of the present application, a vehicle ambient temperature detection device is also provided, as shown inFigure 4 The device includes:
[0080] The acquisition module 401 is used to acquire the initial ambient temperature and monitored operating status parameters after the vehicle is powered on.
[0081] The first determining module 402 is used to determine the current state of the vehicle among a plurality of preset states based on operating state parameters. Each state is configured with a corresponding range of operating state parameters. The plurality of preset states include: a first preset state and a second preset state, wherein the intake air volume of the vehicle engine in the first preset state is less than the intake air volume of the vehicle engine in the second preset state.
[0082] The second determining module 403 is used to determine that the current ambient temperature follows the initial ambient temperature when the current state of the vehicle is determined to be the first preset state.
[0083] The third determining module 404 is used to determine the current ambient temperature based on the temperature collected by the intake air temperature sensor when the current state of the vehicle is determined to be the second preset state.
[0084] The functions of each module in each device in the embodiments of this application can be found in the corresponding description in the above method, and they have corresponding beneficial effects, which will not be repeated here.
[0085] Figure 5 This is a block diagram of an electronic device used to implement embodiments of this application. Figure 5 As shown, the electronic device includes a memory 501 and a processor 502. The memory 501 stores a computer program that can run on the processor 502. When the processor 502 executes the computer program, it implements the method described in the above embodiments. The number of memories 501 and processors 502 can be one or more. In a specific implementation, the electronic device may also include a communication interface 503 for communicating with external devices and exchanging data.
[0086] In practical implementation, if the memory 501, processor 502, and communication interface 503 are implemented independently, they can be interconnected via a bus to communicate with each other. This bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. This bus can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 5Only one bus or only one type of bus can be present. Thus, the dashed line should not be interpreted to infer a requirement that there must be another bus;
[0087] Optionally, in a specific implementation, if the memory 501, the processor 502 and the communication interface 503 are integrated on a chip, the memory 501, the processor 502 and the communication interface 503 can complete the communication among each other through an internal interface.
[0088] The embodiment of the present application provides a computer readable storage medium, which stores a computer program, and the program is executed by a processor to implement the method provided in the embodiment of the present application.
[0089] The embodiment of the present application provides a computer program product, which comprises a computer program, and the program is executed by a processor to implement the method provided in the embodiment of the present application.
[0090] The embodiment of the present application further provides a chip, which comprises a processor, and the processor is used for calling and running instructions stored in a memory, so that a communication device installed with the chip executes the method provided in the embodiment of the present application.
[0091] The embodiment of the present application further provides a chip, which comprises an input interface, an output interface, a processor and a memory, and the input interface, the output interface, the processor and the memory are connected through an internal connection path, and the processor is used for executing code in the memory, and when the code is executed, the processor is used for executing the method provided in the embodiment of the present application.
[0092] It should be understood that the processor described above can be a CPU (Central Processing Unit), and can also be other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), field programmable gate arrays (Field Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or any conventional processor, etc. It should be noted that the processor can be a processor supporting an ARM (Advanced RISC Machines) architecture.
[0093] Further, the memory can include a read-only memory and a random access memory, optionally. The memory can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memory. The non-volatile memory can include a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically EPROM (EEPROM), or a flash memory, among others. The volatile memory can include a random access memory (RAM), which is used as an external cache. By way of example, and not limitation, many forms of RAM are available. The RAM can include a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate SDRAM (DDR SDRAM), an enhanced SDRAM (ESDRAM), a Sync link DRAM (SLDRAM), and a direct Rambus RAM (DR RAM), among others.
[0094] In the above-described embodiments, all or part of the embodiments can be implemented by software, hardware, firmware, or any combination thereof. When implemented by software, all or part of the embodiments can be implemented in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions according to the present disclosure are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable apparatus. The computer instructions can be stored in a computer-readable storage medium or transferred from one computer-readable storage medium to another computer-readable storage medium.
[0095] In the description of the application, the description of the terms "one embodiment", "some embodiments", "an example", "a specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the application. Moreover, the specific features, structures, materials or characteristics described can be combined in any suitable manner in one or more embodiments or examples. In addition, different embodiments or examples described in the specification and characteristics of different embodiments or examples can be combined and combined by those skilled in the art without contradiction.
[0096] In addition, the terms "first", "second" are only for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined with "first", "second" can explicitly or implicitly include at least one of the features. In the description of the application, the meaning of "multiple" is two or more, unless otherwise specifically limited.
[0097] Any process or method described in the flowchart or otherwise described herein can be understood as representing code modules, segments, or portions of code that include one or more executable instructions for implementing specific logic functions or steps. And the scope of the preferred embodiments of the application includes additional implementations that can not be shown or discussed, including implementations in which functions are performed in different orders, in substantially simultaneous fashion, or in reverse order according to the functions involved.
[0098] The logic and / or steps described in the flowchart or otherwise described herein, for example, can be considered as a list of executable instructions for implementing logic functions, which can be embodied in any computer-readable medium for use by an instruction execution system, apparatus or device, such as a computer-based system, a system including a processor, or other system that can fetch instructions from the instruction execution system, apparatus or device and execute the instructions, or in conjunction with these instruction execution systems, apparatus or devices.
[0099] It should be understood that parts of the application can be implemented in hardware, software, firmware or a combination thereof. In the above-described embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. All or part of the steps of the above-described embodiment method can be instructed by the relevant hardware through a program, which can be stored in a computer-readable storage medium, and the program includes one or a combination of steps of the method embodiment when executed.
[0100] In addition, each of the function units in each embodiment of the present application can be integrated in one processing module, or each unit can be physically present separately, or two or more units can be integrated in one module. The integrated module can be realized in the form of hardware or in the form of a software function module. When the integrated module is realized in the form of a software function module and sold or used as an independent product, it can also be stored in a computer readable storage medium. The storage medium can be a read-only memory, a magnetic disk or an optical disk, etc.
[0101] The above is only exemplary embodiments of the present application, but the protection scope of the present application is not limited thereto, and any person skilled in the art can easily think of various changes or replacements within the technical scope disclosed in the present application, which should be covered within the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.
Claims
1. A vehicle ambient temperature detection method characterized by, The method comprises: acquiring an initial ambient temperature collected after the vehicle is powered on, and monitoring an operating state parameter; determining a current state of the vehicle among a plurality of preset states based on the operating state parameter; each of the states is configured with a corresponding operating state parameter range; the plurality of preset states comprises a first preset state and a second preset state, and an intake air amount of the vehicle engine in the first preset state is less than an intake air amount of the vehicle engine in the second preset state; in a case where the current state of the vehicle is determined to be the first preset state, determining that a current ambient temperature follows the initial ambient temperature; in a case where the current state of the vehicle is determined to be the second preset state, determining the current ambient temperature according to a temperature collected by an intake air temperature sensor.
2. The method of claim 1, wherein, The method comprises: acquiring an initial ambient temperature collected after the vehicle is powered on, and monitoring an operating state parameter; acquiring a last round ambient temperature stored before power-on and a temperature of at least one sensor selected from the intake air temperature sensor, the exhaust temperature sensor, the engine oil temperature sensor, and the water boiler water temperature sensor; 3. The method of claim 1, wherein, selecting a temperature with the minimum value among the last round ambient temperature and the temperature of the at least one sensor as the initial ambient temperature. The monitored operating state parameter comprises at least one of the following: engine load rate, engine speed, engine speed change rate, vehicle speed, intake air flow, and throttle opening degree. The method comprises: acquiring state determination conditions configured for each of the preset states; for each of the preset states, the state determination condition is used to describe a preset condition conforming to the preset state, and the preset condition comprises a threshold range of each of the operating state parameters conforming to the preset state; 4. The method of claim 1, wherein, determining a state conforming to the vehicle among the plurality of preset states according to a comparison result between each of the monitored operating state parameters and the threshold range configured by each of the state determination conditions, to obtain the current state. The method comprises:
5. The method of claim 1, wherein, in a case where the current state of the vehicle is determined to reach the first preset state after power-on, determining that the current ambient temperature is the initial ambient temperature. The method comprises:
6. The method of claim 1, wherein, in a case where the current state of the vehicle is determined to be converted from the first preset state to the second preset state, determining that the current ambient temperature is the temperature collected by the intake air temperature sensor. After determining the current ambient temperature according to the temperature collected by the intake air temperature sensor, the method further comprises:
7. A vehicle ambient temperature detecting device characterized by comprising: in a case where it is determined that the current ambient temperature and a historical ambient temperature after this power-on meet a rising trend condition, performing a smoothing adjustment process for slowing down the change rate on the current ambient temperature, and outputting the temperature after the smoothing adjustment process is performed. The method comprises: An acquisition module is configured to acquire an initial ambient temperature collected after the vehicle is powered on and a monitored operating state parameter; A first determination module is configured to determine a current state of the vehicle among a plurality of preset states based on the operating state parameter; Each of the states is configured with a corresponding operating state parameter range; The plurality of preset states include a first preset state and a second preset state, and an intake air amount of the vehicle engine in the first preset state is less than an intake air amount of the vehicle engine in the second preset state; A second determination module is configured to determine that a current ambient temperature follows the initial ambient temperature when it is determined that the current state of the vehicle is the first preset state; A third determination module is configured to determine the current ambient temperature according to a temperature collected by an intake air temperature sensor when it is determined that the current state of the vehicle is the second preset state.
8. An electronic device, comprising: A computer program is stored in the computer readable storage medium, and the computer program is executed by the processor to implement the method in any one of claims 1-6.
9. A computer-readable storage medium, characterized in that, A computer program is stored in the computer readable storage medium, and the computer program is executed by the processor to implement the method in any one of claims 1-6.
10. A computer program product, characterised in that, A computer program is stored in the computer readable storage medium, and the computer program is executed by the processor to implement the method in any one of claims 1-6.