An indoor and outdoor temperature collection method and device, a storage medium and an equipment

By placing a single temperature sensor in the air intake channel of the vehicle's air conditioning system and controlling the movement of the recirculation damper within different recirculation ratio ranges, the temperature inside and outside the vehicle can be calculated, thus solving the problem of needing two sensors for vehicle air conditioning and achieving accurate temperature acquisition and cost reduction.

CN117734376BActive Publication Date: 2026-05-29GAC AION NEW ENERGY AUTOMOBILE CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
GAC AION NEW ENERGY AUTOMOBILE CO LTD
Filing Date
2023-12-06
Publication Date
2026-05-29

Smart Images

  • Figure CN117734376B_ABST
    Figure CN117734376B_ABST
Patent Text Reader

Abstract

The application provides an indoor and outdoor temperature acquisition method and device, a storage medium and equipment. In the method, a target temperature sensor is arranged in an air inlet channel of a vehicle air conditioner, a circulating air door of the vehicle air conditioner is controlled to reciprocate in a circulating proportion range corresponding to a user-set air conditioner circulating mode, so as to obtain temperature sampling values of the target temperature sensor under different circulating proportions. Then, indoor temperature inlet air proportion and outdoor temperature inlet air proportion are determined based on the circulating proportion, and the indoor temperature and the outdoor temperature are calculated according to the indoor temperature inlet air proportion, the outdoor temperature inlet air proportion and the temperature sampling values. In this way, the indoor temperature and the outdoor temperature are simultaneously acquired based on a single temperature sensor, the indoor and outdoor temperature values for vehicle temperature control are accurately acquired, and the sensor cost is effectively reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of automotive air conditioning technology, and more specifically, to a method, device, storage medium, and equipment for collecting temperatures inside and outside a vehicle. Background Technology

[0002] A vehicle air conditioning system consists of a compressor, condenser, throttling element, evaporator, fan, and necessary control components. It is used to regulate the temperature and humidity inside the vehicle, providing a comfortable environment for passengers. Currently, vehicle air conditioning systems require both ambient and interior temperatures for real-world temperature control. Therefore, they typically require both outside and inside temperature sensors to collect data. However, the high cost of temperature sensors hinders cost reduction and efficiency improvement strategies. Therefore, reducing the cost of sensor usage is a pressing issue in the market. Summary of the Invention

[0003] The purpose of this application is to provide a method, device, storage medium and equipment for collecting vehicle interior and exterior temperatures, in order to solve the problem that vehicle air conditioning requires two temperature sensors to collect vehicle interior and exterior temperatures, which results in high costs.

[0004] In a first aspect, this application provides a method for collecting in-vehicle and out-of-vehicle temperatures, comprising: controlling the recirculation damper of the vehicle air conditioner to reciprocate within a recirculation ratio range corresponding to the air conditioner recirculation mode according to a user-set air conditioner recirculation mode; acquiring temperature sampling values ​​of a target temperature sensor at different recirculation ratios; the target temperature sensor being disposed in the air intake channel of the vehicle air conditioner; determining an interior temperature intake ratio and an exterior temperature intake ratio based on the recirculation ratio; and determining the in-vehicle temperature and the exterior temperature based on the interior temperature intake ratio, the exterior temperature intake ratio, and the temperature sampling values; wherein the temperature sampling value is the product of the interior temperature intake ratio and the in-vehicle temperature plus the product of the exterior temperature intake ratio and the exterior temperature.

[0005] In the above implementation process, the target temperature sensor is placed in the air intake channel of the vehicle's air conditioning system. The air conditioning system's recirculation damper is controlled to reciprocate within the recirculation ratio range corresponding to the user-set air conditioning recirculation mode. This allows the temperature sampling values ​​of the target temperature sensor at different recirculation ratios to be obtained. Then, based on the recirculation ratios, the internal temperature intake ratio and the external temperature intake ratio are determined. Based on the internal temperature intake ratio, the external temperature intake ratio, and the temperature sampling values, the vehicle interior temperature and the vehicle exterior temperature are calculated. In this way, the goal of simultaneously collecting both the vehicle interior temperature and the external temperature using a single temperature sensor is achieved. This not only accurately obtains the vehicle interior and exterior temperature values ​​for actual vehicle temperature control but also effectively reduces sensor costs.

[0006] Furthermore, in some examples, the circulation ratio range corresponding to the air conditioning circulation mode is determined based on the target circulation ratio calculated by the air conditioning circulation mode, and then determined according to the target circulation ratio and the preset variation ratio.

[0007] In the above implementation process, the air circulation damper is continuously changed around the calculated target circulation ratio according to the air conditioning circulation mode. In this way, while laying the foundation for subsequent acquisition of the in-vehicle temperature and the outside temperature, the fluctuation of the outlet air temperature is minimized as much as possible.

[0008] Furthermore, in some examples, the circulation ratio represents the proportion of external air intake; the step of controlling the recirculation damper of the vehicle air conditioner to reciprocate within the circulation ratio range corresponding to the user-set air conditioning circulation mode includes: when the user-set air conditioning circulation mode is manual internal circulation mode, determining the target circulation ratio as 0%, and controlling the recirculation damper of the vehicle air conditioner to reciprocate between 0% and a preset variation ratio; when the user-set air conditioning circulation mode is manual external circulation mode, determining the target circulation ratio as 100%, and controlling the recirculation damper of the vehicle air conditioner to reciprocate between 100% and a first circulation ratio; the first circulation ratio is 1. The difference between 00% and the preset variation ratio is used. When the user sets the air conditioning circulation mode to automatic circulation mode, the target circulation ratio is calculated according to the automatic circulation strategy. If the sum of the target circulation ratio and the preset variation ratio is greater than or equal to 100%, the air conditioning circulation damper is controlled to reciprocate between the target circulation ratio and the second circulation ratio. Otherwise, the air conditioning circulation damper is controlled to reciprocate between the target circulation ratio and the third circulation ratio. The second circulation ratio is the difference between the target circulation ratio and the preset variation ratio. The third circulation ratio is the value obtained by adding the preset variation ratio to the target circulation ratio.

[0009] In the above implementation process, a method is provided to set the circulation range ratio corresponding to different air conditioning circulation modes.

[0010] Furthermore, in some examples, when the circulating damper reciprocates, the change in the circulation ratio within 1 second is less than 0.1%; the preset change ratio is 10%.

[0011] In the above implementation process, the slope of the circulating damper is limited to less than 0.1% / s, and the preset variation ratio is limited to 10%. In this way, the fluctuation of the outlet air temperature is reduced, and the accuracy of the final calculated temperature inside and outside the vehicle is improved.

[0012] Furthermore, in some examples, the circulation ratio represents the proportion of external air intake; determining the internal air intake ratio and the external air intake ratio based on the circulation ratio includes: when the circulation ratio is 0%, determining the internal air intake ratio as 100% and the external air intake ratio as 0%; when the circulation ratio is not 0%, querying the calibration table according to the current vehicle speed to obtain a target correction value, determining the external air intake ratio as the sum of the circulation ratio and the target correction value, and determining the internal air intake ratio as the difference between 100% and the external air intake ratio.

[0013] In the above implementation process, when the recirculation damper is in full internal circulation, the external temperature intake ratio is determined to be 0%. When the recirculation damper is not in full internal circulation, the target correction value is obtained by consulting the calibration table based on the current vehicle speed. The sum of the circulation ratio and the target correction value is determined as the external temperature intake ratio. In this way, the calculation error caused by the influence of vehicle speed on the intake ratio of the recirculation damper is effectively reduced, and the accuracy of the calculated in-vehicle temperature and outside temperature is improved.

[0014] Further, in some examples, the temperature sampling value includes a first temperature sampling value and a second temperature sampling value; the step of determining the internal temperature intake ratio and the external temperature intake ratio based on the cycle ratio, and determining the vehicle interior temperature and the vehicle exterior temperature based on the internal temperature intake ratio, the external temperature intake ratio, and the temperature sampling value, includes: determining a first internal temperature intake ratio and a first external temperature intake ratio based on the cycle ratio corresponding to the first temperature sampling value; forming a first equation based on the first internal temperature intake ratio, the first external temperature intake ratio, the first temperature sampling value, the vehicle interior temperature, and the vehicle exterior temperature; determining a second internal temperature intake ratio and a second external temperature intake ratio based on the cycle ratio corresponding to the second temperature sampling value; forming a second equation based on the second internal temperature intake ratio, the second external temperature intake ratio, the second temperature sampling value, the vehicle interior temperature, and the vehicle exterior temperature; and combining the first equation and the second equation to solve for the vehicle interior temperature and the vehicle exterior temperature.

[0015] In the above implementation process, a specific method for calculating the temperature inside and outside the vehicle from temperature sampling values ​​under different cycle ratios is provided.

[0016] Furthermore, in some examples, the interior temperature and exterior temperature are calculated based on the following formula:

[0017]

[0018]

[0019] Among them, T internal Temperature inside the vehicle; T outside β1 represents the outside temperature; β2 represents the first internal temperature intake ratio; T1 represents the second internal temperature intake ratio; T2 represents the first temperature sampling value; and T1 represents the second temperature sampling value.

[0020] In the above implementation process, a specific formula for calculating the temperature inside and outside the vehicle is provided. Using the above formula, the temperature inside and outside the vehicle can be calculated quickly.

[0021] Secondly, this application provides a vehicle interior and exterior temperature acquisition device, comprising: a control module, used to control the recirculation damper of the vehicle air conditioner to reciprocate within the recirculation ratio range corresponding to the air conditioner recirculation mode according to a user-set air conditioner recirculation mode; an acquisition module, used to acquire temperature sampling values ​​of a target temperature sensor under different recirculation ratios; the target temperature sensor is disposed in the air intake channel of the vehicle air conditioner; and a determination module, used to determine the interior temperature intake ratio and the exterior temperature intake ratio based on the recirculation ratio, and determine the interior temperature and the exterior temperature according to the interior temperature intake ratio, the exterior temperature intake ratio, and the temperature sampling values; wherein, the temperature sampling value is the product of the interior temperature intake ratio and the interior temperature plus the product of the exterior temperature intake ratio and the exterior temperature.

[0022] Thirdly, this application provides an electronic device comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the computer program, implements the steps of the method described in any of the first aspects.

[0023] Fourthly, this application provides a computer-readable storage medium storing instructions that, when executed on a computer, cause the computer to perform the method described in any of the first aspects.

[0024] Fifthly, this application provides a computer program product that, when run on a computer, causes the computer to perform the method described in any of the first aspects.

[0025] Other features and advantages disclosed in this application will be set forth in the following description, or some features and advantages may be inferred from the description or determined without doubt, or may be learned by practicing the above-described technology disclosed in this application.

[0026] To make the above-mentioned objectives, features and advantages of this application more apparent and understandable, preferred embodiments are described below in detail with reference to the accompanying drawings. Attached Figure Description

[0027] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments of this application will be briefly introduced below. It should be understood that the following drawings only show some embodiments of this application and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0028] Figure 1 A flowchart illustrating a method for collecting temperatures inside and outside a vehicle, as provided in this application embodiment;

[0029] Figure 2 This is a schematic diagram illustrating the logic of the ECU controlling the recirculation damper when the air conditioner is in manual external circulation mode, as provided in the embodiments of this application. The horizontal axis represents time in seconds, and the vertical axis represents the circulation ratio without units.

[0030] Figure 3 This is a schematic diagram illustrating the logic of the ECU controlling the recirculation damper when the air conditioner is in manual recirculation mode, as provided in the embodiments of this application. The horizontal axis represents time in seconds, and the vertical axis represents the recirculation ratio without units.

[0031] Figure 4 This is a schematic diagram illustrating the logic of the ECU controlling the air circulation damper when the air conditioner is in automatic circulation mode, as provided in the embodiments of this application. The horizontal axis represents time in seconds, and the vertical axis represents the circulation ratio without units.

[0032] Figure 5 A block diagram of a vehicle interior and exterior temperature acquisition device provided in an embodiment of this application;

[0033] Figure 6 This is a structural block diagram of an electronic device provided in an embodiment of this application. Detailed Implementation

[0034] The technical solutions in the embodiments of this application will now be described with reference to the accompanying drawings.

[0035] It should be noted that similar reference numerals and letters in the following figures indicate similar items; therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures. Furthermore, in the description of this application, terms such as "first," "second," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.

[0036] As described in the background section, related technologies suffer from the problem that vehicle air conditioning systems require two temperature sensors to collect the temperatures inside and outside the vehicle, resulting in high costs. Therefore, this application provides a solution for collecting vehicle interior and exterior temperatures to address the aforementioned issues.

[0037] The embodiments of this application will be described below:

[0038] like Figure 1 As shown, Figure 1 This is a flowchart illustrating a method for collecting temperatures inside and outside a vehicle, as provided in an embodiment of this application. The method can be applied to the air conditioning control system of an electric vehicle, or to the vehicle control unit (VCU) of an electric vehicle. For ease of discussion, it will be referred to as the control unit below.

[0039] The method includes:

[0040] Step 101: According to the air conditioning circulation mode set by the user, control the circulation damper of the vehicle air conditioner to reciprocate within the circulation ratio range corresponding to the air conditioning circulation mode.

[0041] The air conditioning system in a vehicle includes three circulation modes: manual recirculation mode, manual external circulation mode, and automatic circulation mode. Generally, in manual recirculation mode, the control unit drives the recirculation damper to ensure that all incoming air is from inside the vehicle. In manual external circulation mode, the control unit drives the recirculation damper to ensure that all incoming air is from outside the vehicle. In automatic circulation mode, the control unit automatically selects between recirculation and external circulation based on a machine learning-based air conditioning comfort algorithm. In this embodiment, the mixing ratio of internal and external air intake is controlled by changing the circulation ratio of the recirculation damper. Furthermore, the temperature of the mixed air is calculated by combining the temperature of the mixed air with sensor measurements. The circulation ratio here represents the proportion of external air intake, which is an adjustable value from 0% to 100%. Different circulation ratios correspond to different opening degrees of the internal and external circulation dampers. For example, a circulation ratio of 0% means that the air conditioner is in full internal circulation, that is, all the air intake is from inside the car; a circulation ratio of 100% means that the air conditioner is in full external circulation, that is, all the air intake is from outside the car; and a circulation ratio of 40% means that the internal and external circulation dampers are opened 40% in the external circulation direction, that is, 40% external circulation and 60% internal circulation.

[0042] In this embodiment, the circulation ratio of the recirculation damper is no longer a fixed value, but rather constantly changing. Each air conditioning circulation mode corresponds to a circulation ratio range, and the vehicle air conditioning recirculation damper moves back and forth within the corresponding circulation ratio range. In some embodiments, the circulation ratio range corresponding to the air conditioning circulation mode can be determined based on a target circulation ratio calculated according to the air conditioning circulation mode, and then determined according to the target circulation ratio and a preset variation ratio. Here, the target circulation ratio can refer to the circulation ratio determined based on the original air conditioning control strategy, while the preset variation ratio can refer to the magnitude of the change in the recirculation damper based on the target circulation ratio. That is to say, in implementation, according to the air conditioning circulation mode, the recirculation damper is controlled to continuously change near the calculated target circulation ratio, thus laying the foundation for subsequent acquisition of the in-vehicle temperature and the outside temperature while minimizing the fluctuation of the outlet air temperature.

[0043] Further, this step may include: when the user sets the air conditioning circulation mode to manual internal circulation mode, determining the target circulation ratio to 0%, and controlling the air conditioning circulation damper to reciprocate between 0% and a preset variation ratio; when the user sets the air conditioning circulation mode to manual external circulation mode, determining the target circulation ratio to 100%, and controlling the air conditioning circulation damper to reciprocate between 100% and a first circulation ratio; the first circulation ratio is the difference obtained by subtracting the preset variation ratio from 100%; when the user sets the air conditioning circulation mode to automatic circulation mode, calculating the target circulation ratio according to the automatic circulation strategy; if the sum of the target circulation ratio and the preset variation ratio is greater than or equal to 100%, controlling the air conditioning circulation damper to reciprocate between the target circulation ratio and a second circulation ratio; otherwise, controlling the air conditioning circulation damper to reciprocate between the target circulation ratio and a third circulation ratio; the second circulation ratio is the difference obtained by subtracting the preset variation ratio from the target circulation ratio; the third circulation ratio is the value obtained by adding the preset variation ratio to the target circulation ratio.

[0044] In other words, let's denote the preset variation ratio as A and the target circulation ratio as β. When the user sets manual internal circulation, β = 0%, and the control unit controls the circulation damper to reciprocate between 0% and A. When the user sets manual external circulation, β = 100%, and the control unit controls the circulation damper to reciprocate between 100% and (100% - A). When the user sets automatic circulation, the control unit calculates β according to the automatic circulation strategy. If (β + A) ≥ 100%, the control unit controls the circulation damper to reciprocate between β and (β - A); if (β + A) < 100%, the control unit controls the circulation damper to reciprocate between β and (β + A). This allows the subsequently acquired continuous temperature sampling values ​​to be used to accurately calculate the interior and exterior temperatures of the vehicle. The automatic circulation strategy can be an air conditioning comfort algorithm based on machine learning, which can calculate the circulation ratio in the automatic circulation mode based on the outside temperature, inside temperature and fogging probability determined in the previous moment. Of course, in other embodiments, the automatic circulation strategy can also use other algorithms to calculate the circulation ratio in the automatic circulation mode according to the needs of specific scenarios, and this application does not limit it.

[0045] Furthermore, to minimize air outlet temperature fluctuations and allow sufficient response time for the control unit, the recirculation damper position update can employ a limiting filter method. Therefore, in some embodiments, the change in the recirculation ratio within 1 second during the reciprocating motion of the recirculation damper is less than 0.1%. In other words, the slope of the recirculation damper change is limited to a preset value of 0.1% / s. Experiments have shown that this setting allows the control unit to obtain relatively accurate interior and exterior temperatures without affecting the user experience. Additionally, to ensure the accuracy of temperature sensor measurements, the preset variation ratio needs to allow for a reasonable change in the sensor's collected values. Too large a change can lead to sensor measurement deviations, large air outlet temperature fluctuations, and excessive energy consumption; too small a change can result in insufficient accuracy in the calculated interior and exterior temperatures. Therefore, in some embodiments, the preset variation ratio is 10%. Experiments have shown that this setting ensures a significant change in intake air temperature even when there is a large temperature difference between the inside and outside of the vehicle, and the change is limited to the target temperature range. This not only ensures the accuracy of sensor measurements and reduces fluctuations in exhaust air temperature, avoiding excessive energy consumption, but also improves the accuracy of the final calculated inside and outside temperature of the vehicle.

[0046] Step 102: Obtain the temperature sampling values ​​of the target temperature sensor under different cycle ratios; the target temperature sensor is installed in the air intake channel of the vehicle air conditioner;

[0047] In this embodiment, a temperature sensor is placed in the air intake channel of the air conditioning unit, such as after the recirculation damper and the blower. By changing the circulation ratio of the recirculation damper, the mixing ratio of the internal and external air intake is controlled, so as to achieve the purpose of simultaneously collecting the internal and external temperatures of the vehicle based on a single temperature sensor, thereby reducing the cost of sensor use.

[0048] In implementation, the control unit acquires temperature sampling values ​​from the target temperature sensor at different cycle ratios, i.e., sampling values ​​at different times, to facilitate subsequent calculations of the vehicle interior and exterior temperatures. The time intervals between any two of these different times can be set according to factors such as the response time of the target temperature sensor and the control accuracy requirements of the air conditioning control system for actual vehicle temperature control; this application does not impose any restrictions on this.

[0049] Step 103: Determine the internal temperature intake ratio and the external temperature intake ratio based on the cycle ratio. Determine the vehicle interior temperature and the vehicle exterior temperature based on the internal temperature intake ratio, the external temperature intake ratio, and the temperature sampling value. The temperature sampling value is the product of the internal temperature intake ratio and the vehicle interior temperature plus the product of the external temperature intake ratio and the vehicle exterior temperature.

[0050] This step refers to: determining the internal temperature intake ratio and the external temperature intake ratio based on the circulation ratio; then, solving for the internal temperature and external temperature based on the relationship that the product of the internal temperature intake ratio and the internal temperature plus the product of the external temperature intake ratio and the external temperature equals the temperature sampling value.

[0051] In practical applications, the air intake ratio of the recirculation damper is affected by vehicle speed. The higher the vehicle speed, the greater the external air intake volume under the same recirculation ratio. Therefore, in some embodiments, determining the internal temperature air intake ratio and the external temperature air intake ratio based on the recirculation ratio mentioned in this step may include: when the recirculation ratio is 0%, determining the internal temperature air intake ratio as 100% and the external temperature air intake ratio as 0%; when the recirculation ratio is not 0%, querying the calibration table according to the current vehicle speed to obtain the target correction value, determining the external temperature air intake ratio as the sum of the recirculation ratio and the target correction value, and determining the internal temperature air intake ratio as the difference between 100% and the external temperature air intake ratio. The target correction value here is a coefficient used to adjust the recirculation ratio to obtain the intake ratio. When the recirculation damper is in full recirculation (i.e., the recirculation ratio is 0%), the external temperature intake ratio is 0%, and the internal temperature intake ratio is 100%. When the recirculation damper is not in full recirculation (i.e., the recirculation ratio is not 0%), the target correction value is obtained by consulting a calibration table based on the current vehicle speed. This calibration table can be obtained by measuring the error between the actual external temperature intake volume and the intake volume corresponding to the set recirculation ratio at different vehicle speeds through actual vehicle calibration or environmental chamber calibration. In this case, the external temperature intake ratio is the sum of the recirculation ratio and the target correction value, and the internal temperature intake ratio is 100% minus the difference between the external temperature intake ratio and the internal temperature intake ratio. This improves the accuracy of the calculated interior and exterior temperatures. Furthermore, both the external temperature intake ratio and the internal temperature intake ratio are limited to [0%, 100%]. That is, when the sum of the recirculation ratio and the target correction value is greater than 100%, the external temperature intake ratio is determined to be 100%, and the internal temperature intake ratio is determined to be 0%.

[0052] In some embodiments, the temperature sampling values ​​mentioned in this step may include a first temperature sampling value and a second temperature sampling value; this step may include: determining a first internal temperature intake ratio and a first external temperature intake ratio based on the cycle ratio corresponding to the first temperature sampling value; forming a first equation based on the first internal temperature intake ratio, the first external temperature intake ratio, the first temperature sampling value, the vehicle interior temperature, and the vehicle exterior temperature; determining a second internal temperature intake ratio and a second external temperature intake ratio based on the cycle ratio corresponding to the second temperature sampling value; forming a second equation based on the second internal temperature intake ratio, the second external temperature intake ratio, the second temperature sampling value, the vehicle interior temperature, and the vehicle exterior temperature; and combining the first equation and the second equation to solve for the vehicle interior temperature and the vehicle exterior temperature. That is, the temperature sampling value T includes a first temperature sampling value T1 and a second temperature sampling value T2. The first internal temperature intake ratio β1 and the first external temperature intake ratio (1-β1) are determined based on the cycle ratio corresponding to the first temperature sampling value T1, thus combining the unknown vehicle interior temperature T... internal and the outside temperature T outside The first equation can be established as T1 = β1 × T internal +(1-β1)×Toutside Similarly, based on the cycle ratio corresponding to the second temperature sampling value T2, the second internal temperature intake ratio β2 and the second external temperature intake ratio (1-β2) are determined, combined with the unknown vehicle interior temperature T. internal and the outside temperature T outside The second equation can be established as T2 = β2 × T internal +(1-β2)×T outside Therefore, by combining the first and second equations, we can obtain a set of equations. By solving the set of equations, we can obtain the interior temperature and the exterior temperature of the vehicle.

[0053] Optionally, the interior and exterior temperatures can be calculated using a formula:

[0054]

[0055]

[0056] Among them, T internal Temperature inside the vehicle; T outside Let β1 be the outside temperature; β2 be the first interior temperature intake ratio; β1 be the second interior temperature intake ratio; T1 be the first temperature sample value; and T2 be the second temperature sample value. For example, if the first temperature sample value is 29℃, the second temperature sample value is 28℃, the first interior temperature intake ratio is 20%, and the second interior temperature intake ratio is 40%, then by substituting these known values ​​into the formula, the interior temperature can be calculated to be 25℃ and the outside temperature to be 30℃. Thus, the interior and outside temperatures can be quickly calculated using the above formula.

[0057] In this embodiment, a target temperature sensor is placed in the air intake channel of the vehicle's air conditioning system. The air conditioning system's recirculation damper is controlled to reciprocate within a recirculation ratio range corresponding to the user-set air conditioning recirculation mode. This allows the temperature sampling values ​​of the target temperature sensor at different recirculation ratios to be obtained. Then, based on the recirculation ratios, the internal temperature intake ratio and the external temperature intake ratio are determined. Based on the internal temperature intake ratio, the external temperature intake ratio, and the temperature sampling values, the vehicle's interior temperature and exterior temperature are calculated. This achieves the goal of simultaneously acquiring both the vehicle's interior and exterior temperatures using a single temperature sensor, accurately obtaining the interior and exterior temperature values ​​for actual vehicle temperature control while effectively reducing sensor costs.

[0058] To provide a more detailed explanation of the solution in this application, a specific embodiment is described below:

[0059] This embodiment provides a solution for acquiring vehicle interior and exterior temperatures. In this solution, a temperature sensor is placed in the air intake channel of the air conditioning unit. The intake air mixing ratio is changed by altering the recirculation damper ratio. The interior and exterior temperatures are then calculated by combining the temperature of the mixed air with the air mixing ratio. This solution is applied to the ECU (Electronic Control Unit), and its workflow includes:

[0060] S201. Control the recirculation damper to reciprocate within the recirculation ratio range corresponding to the air conditioning recirculation mode set by the user, according to the target strategy;

[0061] Specifically, the logic of the ECU controlling the recirculation damper when the air conditioner is in manual external circulation mode is as follows: Figure 2 As shown, by Figure 2 It can be seen that when the user sets the external circulation to manual, the ECU controls the circulation damper to reciprocate between 100% and (100%-A);

[0062] The ECU's logic for controlling the recirculation damper when the air conditioner is in manual recirculation mode is as follows: Figure 3 As shown, by Figure 3 It can be seen that when the user sets the manual internal circulation, the ECU controls the circulation damper to reciprocate between 0% and A. Since the external temperature changes less and the internal temperature changes more rapidly, in order to obtain a more accurate internal temperature value, the circulation damper will stay in the 0% full internal circulation position for a longer period of time, which is t2.

[0063] The logic of the ECU controlling the recirculation damper when the air conditioner is in automatic recirculation mode is as follows: Figure 4 As shown, by Figure 4 It can be seen that when the user sets automatic circulation, since (β1+A)<100%, the ECU controls the circulation damper to reciprocate between β1 and (β1+A), and since (β2+A)≥100%, the ECU controls the circulation damper to reciprocate between β2 and (β2-A).

[0064] Among them, Figure 2 , Figure 3 and Figure 4 In the control logic shown, to minimize outlet air temperature fluctuations and allow sufficient response time for the ECU, the recirculation damper position update uses a limiting filter method, restricting it to 0.1% / s, meaning the recirculation damper change slope is less than 0.1% / s. Therefore, in Figure 2 In this case, A / t1 should be less than 0.1% / s. Figure 3 In this case, A / t3 should be less than 0.1% / s. Figure 3In this context, A / t4 should be less than 0.1% / s; additionally, β is the circulation ratio calculated by the ECU based on the previously calculated interior and exterior temperatures, combined with the probability of fogging; here, A represents the magnitude by which the circulation damper needs to be changed in order to obtain accurate interior and exterior temperatures, and in some scenarios, A = 10%.

[0065] S202. Obtain the temperature sampling values ​​of the temperature sensor at two different times;

[0066] S203. Determine the external temperature intake ratio and the internal temperature intake ratio based on the current vehicle speed and the corresponding circulation ratio of the temperature sampling value.

[0067] Specifically, the vehicle's braking system collects wheel speeds, calculates the vehicle speed based on these speeds, and reports it to the ECU. When the recirculation damper is in full recirculation mode, the ECU determines the external air intake ratio to be 100% and the internal air intake ratio to be 0%. When the recirculation damper is not in full recirculation mode, the ECU looks up the recirculation ratio correction value in Table 1 based on the current vehicle speed, determines the external air intake ratio to be the recirculation ratio plus the recirculation ratio correction value, and determines the internal air intake ratio to be 100% minus the external air intake ratio. Table 1 is a calibration table of the recirculation ratio correction values ​​for different vehicle speeds, and its contents are shown below:

[0068] Table 1. Calibration table of cycle ratio correction values ​​at different vehicle speeds

[0069] Vehicle speed (km / h) Cyclic ratio correction value 0 0 30 2% 50 3% 80 4% 100 5% 120 7%

[0070] For example, if the temperature sensor's temperature sampling value at a certain moment corresponds to a cycle ratio of 40%, and the current vehicle speed is 50km / h, then the ECU determines the cycle ratio correction value to be 3% based on the table above, and thus determines the external temperature intake ratio to be 43% and the internal temperature intake ratio to be 57%.

[0071] S204. Based on the temperature sampling values ​​and the determined external and internal air intake ratios, the vehicle interior temperature and external temperature are calculated.

[0072] Specifically, based on the temperature sampling values ​​and the determined external temperature intake ratio and internal temperature intake ratio, the following equation is constructed in real time:

[0073] T1=β1×T internal +(1-β1)×T outside

[0074] T2=β2×T internal +(1-β2)×T outside

[0075] Among them, T internal Temperature inside the vehicle; T outsideLet T1 be the outside temperature; T2 be the temperature sample value at the first moment; β1 be the internal temperature intake ratio at the first moment; (1-β1) be the external temperature intake ratio at the first moment; β2 be the internal temperature intake ratio at the second moment; (1-β2) be the external temperature intake ratio at the second moment. Substituting the previously determined temperature sample values, external temperature intake ratio, and internal temperature intake ratio into the equation, the inside temperature and outside temperature can be obtained.

[0076] S205. Filter the calculated in-vehicle temperature and out-of-vehicle temperature to obtain the filtered in-vehicle temperature and out-of-vehicle temperature, and perform real-vehicle temperature control based on the filtered in-vehicle temperature and out-of-vehicle temperature.

[0077] This embodiment achieves the goal of simultaneously collecting both the interior and exterior temperatures of the vehicle using a single temperature sensor, reducing sensor usage costs while ensuring user comfort.

[0078] Corresponding to the embodiments of the aforementioned methods, this application also provides embodiments of a vehicle interior and exterior temperature acquisition device and a terminal for its application:

[0079] like Figure 5 As shown, Figure 5 This is a block diagram of a vehicle interior and exterior temperature acquisition device provided in an embodiment of this application. The device includes:

[0080] Control module 51 is used to control the reciprocating motion of the air conditioning circulation damper within the circulation ratio range corresponding to the air conditioning circulation mode set by the user.

[0081] The acquisition module 52 is used to acquire the temperature sampling values ​​of the target temperature sensor under different cycle ratios; the target temperature sensor is disposed in the air intake channel of the vehicle air conditioner.

[0082] The determining module 53 is used to determine the internal temperature intake ratio and the external temperature intake ratio based on the cycle ratio, and to determine the vehicle interior temperature and the vehicle exterior temperature based on the internal temperature intake ratio, the external temperature intake ratio and the temperature sampling value; wherein, the temperature sampling value is the product of the internal temperature intake ratio and the vehicle interior temperature plus the product of the external temperature intake ratio and the vehicle exterior temperature.

[0083] The specific implementation process of the functions and roles of each module in the above device can be found in the implementation process of the corresponding steps in the above method, and will not be repeated here.

[0084] This application also provides an electronic device, please refer to [link to application]. Figure 6 , Figure 6This is a structural block diagram of an electronic device provided in an embodiment of this application. The electronic device may include a processor 610, a communication interface 620, a memory 630, and at least one communication bus 640. The communication bus 640 is used to enable direct communication between these components. In this embodiment, the communication interface 620 of the electronic device is used for signaling or data communication with other node devices. The processor 610 may be an integrated circuit chip with signal processing capabilities.

[0085] The processor 610 described above can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), an off-the-shelf programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this application. The general-purpose processor can be a microprocessor, or the processor 610 can be any conventional processor.

[0086] The memory 630 may be, but is not limited to, random access memory (RAM), read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), etc. The memory 630 stores computer-readable instructions. When these computer-readable instructions are executed by the processor 610, the electronic device can perform the aforementioned operations. Figure 1 The various steps involved in the method implementation examples.

[0087] Alternatively, the electronic device may also include a storage controller and an input / output unit.

[0088] The memory 630, storage controller, processor 610, peripheral interface, and input / output unit are electrically connected directly or indirectly to achieve data transmission or interaction. For example, these components can be electrically connected to each other through one or more communication buses 640. The processor 610 is used to execute executable modules stored in the memory 630, such as software function modules or computer programs included in electronic devices.

[0089] The input / output unit is used to provide users with the ability to create tasks and to set optional start periods or preset execution times for those tasks, thereby enabling user-server interaction. The input / output unit may be, but is not limited to, a mouse and keyboard.

[0090] Understandable. Figure 6 The structure shown is for illustrative purposes only; the electronic device may also include components that are more advanced than those shown. Figure 6 The more or fewer components shown, or having the same Figure 6 The different configurations shown. Figure 6 The components shown can be implemented using hardware, software, or a combination thereof.

[0091] This application also provides a storage medium storing instructions. When the instructions are run on a computer, the computer program is executed by a processor to implement the method described in the method embodiment. To avoid repetition, the method will not be described again here.

[0092] This application also provides a computer program product that, when run on a computer, causes the computer to perform the method described in the method embodiment.

[0093] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can also be implemented in other ways. The apparatus embodiments described above are merely illustrative. For example, the flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order than those marked in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram and / or flowchart, and combinations of blocks in block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.

[0094] In addition, the functional modules in the various embodiments of this application can be integrated together to form an independent part, or each module can exist independently, or two or more modules can be integrated to form an independent part.

[0095] If the aforementioned functions are implemented as software functional modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0096] The above description is merely an embodiment of this application and is not intended to limit the scope of protection of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of protection of this application. It should be noted that similar reference numerals and letters in the following figures indicate similar items; therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures.

[0097] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

[0098] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

Claims

1. A method for collecting temperatures inside and outside a vehicle, characterized in that, include: According to the air conditioning circulation mode set by the user, the air conditioning circulation damper of the vehicle air conditioner is controlled to reciprocate within the circulation ratio range corresponding to the air conditioning circulation mode. Acquire temperature sampling values ​​from the target temperature sensor at different cycle ratios; the target temperature sensor is installed in the air intake channel of the vehicle air conditioner; The internal temperature intake ratio and the external temperature intake ratio are determined based on the aforementioned cycle ratio. The vehicle interior temperature and the vehicle exterior temperature are determined based on the internal temperature intake ratio, the external temperature intake ratio, and the temperature sampling value. The temperature sampling value is obtained by adding the product of the internal temperature intake ratio and the vehicle interior temperature to the product of the external temperature intake ratio and the vehicle exterior temperature. The circulation ratio represents the proportion of external recirculation air intake; determining the internal temperature air intake ratio and the external temperature air intake ratio based on the circulation ratio includes: When the circulation ratio is 0%, the internal temperature air intake ratio is determined to be 100%, and the external temperature air intake ratio is 0%. When the cycle ratio is not 0%, the target correction value is obtained by querying the calibration table according to the current vehicle speed. The external temperature air intake ratio is determined to be the sum of the cycle ratio and the target correction value. The internal temperature air intake ratio is determined to be the difference between 100% and the external temperature air intake ratio. The temperature sampling values ​​include a first temperature sampling value and a second temperature sampling value; the step of determining the interior air intake ratio and the exterior air intake ratio based on the circulation ratio, and determining the vehicle interior temperature and the vehicle exterior temperature based on the interior air intake ratio, the exterior air intake ratio, and the temperature sampling values, includes: The first internal temperature intake ratio and the first external temperature intake ratio are determined based on the cycle ratio corresponding to the first temperature sampling value. The first equation is formed based on the first internal temperature intake ratio, the first external temperature intake ratio, the first temperature sampling value, the vehicle interior temperature, and the vehicle exterior temperature. The second internal temperature intake ratio and the second external temperature intake ratio are determined based on the cycle ratio corresponding to the second temperature sampling value. The second equation is formed based on the second internal temperature intake ratio, the second external temperature intake ratio, the second temperature sampling value, the vehicle interior temperature, and the vehicle exterior temperature. By combining the first equation and the second equation, the interior temperature and exterior temperature of the vehicle can be obtained. The interior and exterior temperatures are calculated based on the following formula: in, The temperature inside the car; The outside temperature of the vehicle; This is the first internal temperature intake ratio; This is the second internal temperature intake ratio; This is the first temperature sample value; This is the second temperature sample value.

2. The method according to claim 1, characterized in that, The circulation ratio range corresponding to the air conditioning circulation mode is determined based on the target circulation ratio calculated by the air conditioning circulation mode, and then based on the target circulation ratio and the preset variation ratio.

3. The method according to claim 2, characterized in that, The circulation ratio represents the proportion of external air intake; controlling the reciprocating movement of the vehicle air conditioner's air circulation damper within the circulation ratio range corresponding to the user-set air conditioning circulation mode includes: When the user sets the air conditioning circulation mode to manual internal circulation mode, the target circulation ratio is set to 0%, and the air conditioning circulation damper is controlled to reciprocate between 0% and the preset variation ratio. When the user sets the air conditioning circulation mode to manual external circulation mode, the target circulation ratio is determined to be 100%, and the air conditioning circulation damper is controlled to move back and forth between 100% and the first circulation ratio; the first circulation ratio is the difference obtained by subtracting the preset change ratio from 100%. When the user sets the air conditioning circulation mode to automatic circulation mode, the target circulation ratio is calculated according to the automatic circulation strategy. If the sum of the target circulation ratio and the preset variation ratio is greater than or equal to 100%, the air conditioning circulation damper is controlled to reciprocate between the target circulation ratio and the second circulation ratio; otherwise, the air conditioning circulation damper is controlled to reciprocate between the target circulation ratio and the third circulation ratio. The second circulation ratio is the difference between the target circulation ratio and the preset variation ratio. The third circulation ratio is the value obtained by adding the preset variation ratio to the target circulation ratio.

4. The method according to claim 3, characterized in that, When the circulating damper reciprocates, the change in the circulation ratio within 1 second is less than 0.1%; the preset change ratio is 10%.

5. A vehicle interior and exterior temperature acquisition device, characterized in that, include: The control module is used to control the reciprocating motion of the air conditioning circulation damper within the circulation ratio range corresponding to the air conditioning circulation mode set by the user. An acquisition module is used to acquire temperature sampling values ​​of the target temperature sensor under different cycle ratios; the target temperature sensor is disposed in the air intake channel of the vehicle air conditioner; The determination module is used to determine the internal temperature intake ratio and the external temperature intake ratio based on the cycle ratio, and to determine the vehicle interior temperature and the vehicle exterior temperature based on the internal temperature intake ratio, the external temperature intake ratio, and the temperature sampling value; wherein, the temperature sampling value is the product of the internal temperature intake ratio and the vehicle interior temperature plus the product of the external temperature intake ratio and the vehicle exterior temperature. The determining module is specifically used for: when the circulation ratio is 0%, determining the internal temperature air intake ratio to be 100% and the external temperature air intake ratio to be 0%; when the circulation ratio is not 0%, querying the calibration table according to the current vehicle speed to obtain the target correction value, determining the external temperature air intake ratio to be the sum of the circulation ratio and the target correction value, and determining the internal temperature air intake ratio to be the difference between 100% and the external temperature air intake ratio. The temperature sampling values ​​include a first temperature sampling value and a second temperature sampling value; the determining module is specifically used for: determining a first interior temperature intake ratio and a first exterior temperature intake ratio based on the cycle ratio corresponding to the first temperature sampling value; forming a first equation based on the first interior temperature intake ratio, the first exterior temperature intake ratio, the first temperature sampling value, the vehicle interior temperature, and the vehicle exterior temperature; determining a second interior temperature intake ratio and a second exterior temperature intake ratio based on the cycle ratio corresponding to the second temperature sampling value; forming a second equation based on the second interior temperature intake ratio, the second exterior temperature intake ratio, the second temperature sampling value, the vehicle interior temperature, and the vehicle exterior temperature; and combining the first equation and the second equation to solve for the vehicle interior temperature and the vehicle exterior temperature. The interior and exterior temperatures are calculated based on the following formula: in, The temperature inside the car; The outside temperature of the vehicle; This is the first internal temperature intake ratio; This is the second internal temperature intake ratio; This is the first temperature sample value; This is the second temperature sample value.

6. A computer-readable storage medium, characterized in that, It stores a computer program thereon, which, when executed by a processor, implements the method as described in any one of claims 1 to 4.

7. An electronic device, characterized in that, It includes a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the method as described in any one of claims 1 to 4.