A control method, device, equipment and storage medium for vehicle air conditioning
By establishing a three-dimensional coordinate system and compensating for sunlight intensity in the vehicle air-conditioning system, combined with vehicle properties and user habits, the problem of limited detection range of the sunlight sensor was solved, achieving more precise air-conditioning control and higher in-vehicle comfort.
Patent Information
- Application Number
- CN202411719746.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-28
- Publication Date
- 2025-09-30
- Estimated Expiration
- 2044-11-28
AI Technical Summary
In existing vehicle air-conditioning systems, the sunlight sensor's detection range is limited, resulting in inaccurate sunlight intensity, affecting the accuracy of automatic air-conditioning control and, in turn, affecting in-vehicle comfort. At the same time, it fails to take into account individual differences between users and vehicle types, resulting in poor control effects.
By establishing a three-dimensional spatial coordinate system, calculating the angle of sunlight exposure, and using a pre-configured mapping relationship to determine the compensation coefficient, the sunlight intensity collected by the sunlight sensor is compensated. The air conditioning control strategy is optimized based on the vehicle type and user habits.
The accuracy of sunlight intensity detection has been improved, and the air conditioning can be controlled more accurately according to the compensated sunlight intensity, which improves the comfort of each temperature zone in the car, adapts to different vehicle types and user needs, and improves the driving experience.
Smart Images

Figure CN119283579B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle technology, and in particular to a control method, device, equipment and storage medium for a vehicle air conditioner. Background Art
[0002] To improve user experience and driving safety, most vehicles currently support automatic air conditioning. This mode detects parameters such as outside temperature, sunlight intensity, and interior temperature, and automatically adjusts actuators such as the air conditioner's blend door motor, blower, and mode motor based on these parameters, achieving automatic control of the vehicle's air conditioning.
[0003] To ensure the most comfortable interior environment, it is necessary to accurately measure parameters such as the outside temperature, sunlight intensity, and interior temperature. To measure sunlight intensity, a sunlight sensor is usually installed near the center console of the vehicle to detect sunlight intensity.
[0004] However, the detection range of the sunlight sensor is relatively limited, which may result in the sunlight sensor being unable to accurately detect the sunlight intensity, thereby affecting the automatic control of the vehicle air conditioner and the comfort level inside the vehicle. Summary of the Invention
[0005] The present application provides a control method, device, equipment and storage medium for a vehicle air conditioner, which can reduce the impact on the comfort level inside the vehicle.
[0006] To achieve the above objectives, this application adopts the following technical solutions:
[0007] In a first aspect, the present application provides a method for controlling a vehicle air conditioner, the method comprising:
[0008] Get the current time and vehicle location;
[0009] Determining a current sunlight direction according to the current time and the vehicle position;
[0010] Establish a three-dimensional coordinate system with the vehicle as the origin, wherein the positive direction of the x-axis of the three-dimensional coordinate system is the direction of travel of the vehicle, the positive direction of the z-axis of the three-dimensional coordinate system is perpendicular to the road surface on which the vehicle is located and points to the sky, and the positive direction of the y-axis of the three-dimensional coordinate system is perpendicular to the side of the vehicle;
[0011] Calculate the current sunlight illumination direction, the first projection direction of the xoz plane in the three-dimensional space coordinate system, and the second projection direction of the xoy plane respectively;
[0012] calculating a first angle between the first projection direction and the driving direction of the vehicle, and calculating a second angle between the second projection direction and the driving direction of the vehicle;
[0013] Determining target compensation coefficients corresponding to the first angle and the second angle according to a pre-configured first mapping relationship between a reference angle and a reference compensation coefficient;
[0014] Compensating the sunlight intensity collected by the sunlight sensor according to the target compensation coefficient to obtain compensated sunlight intensity;
[0015] The vehicle's air conditioning is controlled according to the compensated sunlight intensity.
[0016] In some possible implementations, the method further includes:
[0017] Get the property type of the vehicle;
[0018] determining, based on the property type, adjustment coefficients for various temperature zones within the vehicle;
[0019] The controlling of the vehicle air conditioner according to the compensated sunlight intensity includes:
[0020] determining the air outlet temperature of each temperature zone inside the vehicle according to the compensated sunlight intensity;
[0021] determining target airflow conditions for each temperature zone within the vehicle based on the airflow temperatures of each temperature zone within the vehicle and the adjustment coefficients corresponding to the respective temperature zones;
[0022] The air conditioner of the vehicle is controlled according to the target air output conditions of each temperature zone inside the vehicle.
[0023] In some possible implementations, determining the adjustment coefficients for each temperature zone inside the vehicle according to the property type includes:
[0024] If the property type is the operation type, it is determined that the adjustment coefficient of the main driving temperature zone is smaller than the adjustment coefficient of the passenger temperature zone, wherein the passenger temperature zone includes the front passenger temperature zone and / or the rear temperature zone.
[0025] In some possible implementations, the method further includes:
[0026] If the property type is a non-operational type, determining whether there is a passenger in the passenger temperature zone to obtain a first determination result;
[0027] If the first judgment result indicates that there is a passenger in the passenger temperature zone, determining that the adjustment coefficient of the main driving temperature zone is the same as the adjustment coefficient of the passenger temperature zone;
[0028] If the first judgment result indicates that there is no passenger in the passenger temperature zone, the adjustment coefficient of the main driving temperature zone is determined to be 1, and the adjustment coefficient of the passenger temperature zone is determined to be 0.
[0029] In some possible implementations, the method further includes:
[0030] Obtaining the driving time of the vehicle;
[0031] The controlling of the vehicle air conditioner according to the compensated sunlight intensity includes:
[0032] If the driving time of the vehicle is less than or equal to a preset time threshold, the air conditioner of the vehicle is controlled according to the compensated sunlight intensity.
[0033] In some possible implementations, the method further includes:
[0034] If the driving time of the vehicle is greater than a preset time threshold, determining target air-conditioning parameters corresponding to the driving time according to a pre-configured second mapping relationship between reference time and reference air-conditioning parameters, wherein the target air-conditioning parameters include: air-conditioning air volume, air-conditioning air outlet mode, air-conditioning temperature, and air-conditioning circulation mode;
[0035] The air conditioning of the vehicle is controlled according to the target air conditioning parameter.
[0036] In some possible implementations, the method further includes:
[0037] Comparing the target air-conditioning parameters with the air-conditioning parameters at a previous moment to obtain a comparison result;
[0038] If the comparison result indicates that the target air-conditioning parameter is inconsistent with the air-conditioning parameter at a previous moment, a prompt message is presented to the user, where the prompt message is used to prompt the user that the target air-conditioning parameter is the air-conditioning parameter corresponding to the user's usage habits.
[0039] In a second aspect, the present application provides a control device for a vehicle air conditioner, the device comprising:
[0040] Acquisition module, used to obtain the current time and vehicle location;
[0041] A determination module, configured to determine a current sunlight direction according to the current time and the vehicle position;
[0042] An establishment module is used to establish a three-dimensional spatial coordinate system with the vehicle as the origin, wherein the positive direction of the x-axis of the three-dimensional spatial coordinate system is the direction of travel of the vehicle, the positive direction of the z-axis of the three-dimensional spatial coordinate system is a direction perpendicular to the road surface on which the vehicle is located and pointing to the sky, and the positive direction of the y-axis of the three-dimensional spatial coordinate system is a direction perpendicular to the side of the vehicle;
[0043] a calculation module, configured to respectively calculate a first projection direction of the current sunlight illumination direction on the xoz plane and a second projection direction of the xoy plane in the three-dimensional space coordinate system; calculate a first angle between the first projection direction and the driving direction of the vehicle, and calculate a second angle between the second projection direction and the driving direction of the vehicle;
[0044] The determination module is further configured to determine a target compensation coefficient corresponding to the first angle and the second angle according to a pre-configured first mapping relationship between a reference angle and a reference compensation coefficient;
[0045] a compensation module, configured to compensate the sunlight intensity collected by the sunlight sensor according to the target compensation coefficient to obtain compensated sunlight intensity;
[0046] The control module is used to control the vehicle's air conditioning according to the compensated sunlight intensity.
[0047] In a third aspect, the present application provides a computing device, including a memory and a processor;
[0048] One or more computer programs are stored in the memory, and the one or more computer programs include instructions; when the instructions are executed by the processor, the computing device executes the method as described in any one of the first aspects.
[0049] In a fourth aspect, the present application provides a computer-readable storage medium for storing a computer program for executing the method as described in any one of the first aspects.
[0050] It can be seen from the above technical solution that this application has at least the following beneficial effects:
[0051] The present application provides a method for controlling a vehicle air conditioner, the method comprising: obtaining a current time and a vehicle position; determining a current sunlight exposure direction based on the current time and the vehicle position; establishing a three-dimensional space coordinate system with the vehicle as the origin, wherein the positive direction of the x-axis of the three-dimensional space coordinate system is the vehicle's driving direction, the positive direction of the z-axis of the three-dimensional space coordinate system is a direction perpendicular to the road surface where the vehicle is located and pointing to the sky, and the positive direction of the y-axis of the three-dimensional space coordinate system is a direction perpendicular to the side of the vehicle; respectively calculating the current sunlight exposure direction, a first projection direction on the xoz plane of the three-dimensional space coordinate system, and a second projection direction on the xoy plane; calculating a first angle between the first projection direction and the vehicle's driving direction, and calculating a second angle between the second projection direction and the vehicle's driving direction; then determining a target compensation coefficient corresponding to the first angle and the second angle based on a first mapping relationship between a pre-configured reference angle and a reference compensation coefficient; compensating the sunlight intensity collected by the sunlight sensor based on the target compensation coefficient to obtain the compensated sunlight intensity; and controlling the vehicle's air conditioner based on the compensated sunlight intensity. In this method, the first mapping relationship is obtained in advance through experimental calibration. Therefore, the first mapping relationship is subsequently used to determine the target compensation coefficients corresponding to the first angle and the second angle, and the sunlight intensity collected by the sunlight sensor can be accurately compensated. Subsequently, the subsequent air-conditioning control is performed based on the compensated sunlight intensity, that is, the more accurate sunlight intensity, which can reduce the impact on the comfort inside the vehicle due to inaccurate sunlight intensity.
[0052] It should be understood that the description of technical features, technical solutions, beneficial effects or similar language in this application does not imply that all features and advantages can be realized in any single embodiment. On the contrary, it is understood that the description of a feature or beneficial effect means that a specific technical feature, technical solution or beneficial effect is included in at least one embodiment. Therefore, the description of a technical feature, technical solution or beneficial effect in this specification does not necessarily refer to the same embodiment. Furthermore, the technical features, technical solutions and beneficial effects described in the present embodiment can also be combined in any appropriate manner. Those skilled in the art will understand that the embodiment can be implemented without one or more specific technical features, technical solutions or beneficial effects of a specific embodiment. In other embodiments, additional technical features and beneficial effects can also be identified in specific embodiments that do not embody all embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] Figure 1 A flow chart of a method for controlling a vehicle air conditioner provided in an embodiment of the present application;
[0054] Figure 2 A schematic diagram of a three-dimensional space coordinate system provided in an embodiment of the present application;
[0055] Figure 3 A flow chart of another vehicle air conditioner control method provided in an embodiment of the present application;
[0056] Figure 4 A flow chart of another vehicle air conditioner control method provided in an embodiment of the present application;
[0057] Figure 5 A schematic diagram of a vehicle air conditioner control device provided in an embodiment of the present application;
[0058] Figure 6 A schematic diagram of a computing device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0059] The terms "first", "second" and "third" in this application specification and the accompanying drawings are used to distinguish different objects rather than to limit a specific order.
[0060] In the embodiments of this application, words such as "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of this application should not be interpreted as being preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner.
[0061] Currently, automatic air conditioning control algorithms are relatively mature control strategies in the industry. While implementation details vary among OEMs, the underlying control logic is largely similar: sensors are used to collect and estimate the passenger compartment heat load, maintaining a comfortable breathing point temperature (head temperature). Specifically, onboard sensors detect ambient temperature, interior temperature, sunlight intensity, and other information. Based on the user's set temperature, the air conditioning heat load is calculated to determine the target airflow and pattern. This is then combined with duct outlet temperature sensors to control the compressor speed and temperature damper.
[0062] The above automatic air conditioning control algorithm has the following problems:
[0063] 1. Sensor data collection has limitations. For example, the sunlight sensor is affected by the direction of direct sunlight, which leads to inaccurate sunlight intensity collected by the sunlight sensor, resulting in deviations in the air conditioner's estimation of the heat load inside and outside the vehicle. 2. The automatic air conditioning control algorithm does not consider the impact of individual user differences. Different users have different perceptions of thermal comfort, and even the same user has different perceptions of thermal comfort at different times. 3. The automatic air conditioning control algorithm does not consider differences in vehicle types. For example, for vehicles of the same model, such as taxis or commercial vehicles, the control target should focus more on the comfort of rear seating areas; if used as a private vehicle, the control target should focus more on the comfort of the main driver.
[0064] Therefore, it is necessary to develop a new intelligent air-conditioning control algorithm and combine big data to optimize the automatic air-conditioning control strategy so as to better estimate the ambient heat load, take into account the user's usage habits and vehicle model differences, and improve the user's driving experience.
[0065] In view of this, an embodiment of the present application provides a method for controlling an on-board air conditioner, which can be executed by the vehicle, or by an on-board controller, or by other processors on the vehicle. The present application does not specifically limit the execution subject of the method, and the following is an introduction taking the execution by the on-board controller as an example. In this method, the first mapping relationship is obtained in advance through experimental calibration. Therefore, the subsequent on-board controller uses the first mapping relationship to determine the target compensation coefficient corresponding to the first angle and the second angle, and can also accurately compensate for the sunlight intensity collected by the sunlight sensor, and then perform subsequent air conditioning control based on the compensated sunlight intensity, that is, more accurate sunlight intensity, which can reduce the impact on the comfort level inside the vehicle due to inaccurate sunlight intensity.
[0066] In order to make the technical solution of this application clearer and easier to understand, the technical solution of this application is described in detail below with reference to the accompanying drawings. Figure 1 As shown in FIG, this figure is a flow chart of a method for controlling a vehicle air conditioner provided by an embodiment of the present application, the method comprising:
[0067] S101: The vehicle controller obtains the current time and vehicle location.
[0068] The current time can be represented by year, month, day, hour, minute, and second, and the vehicle controller can obtain the current time through the Internet. The vehicle position can be represented by longitude and latitude coordinates, and the vehicle controller can determine the vehicle position through a locator installed on the vehicle, such as GPS.
[0069] It should be noted that this application does not specifically limit the specific method by which the on-board controller obtains the current time and vehicle location.
[0070] S102: The vehicle controller determines the current sunlight direction according to the current time and the vehicle position.
[0071] After the onboard controller determines the current time and the vehicle position, it can determine the current sunlight direction based on the current time and the vehicle position.
[0072] In some examples, a mapping table of time, location, and direction can be pre-acquired. After obtaining the current time and vehicle location, the onboard controller determines the current sunlight direction corresponding to the current time and vehicle location by looking up the mapping table. The mapping table can be obtained through experimental calibration.
[0073] S103: The vehicle controller establishes a three-dimensional space coordinate system with the vehicle as the origin.
[0074] After the vehicle controller obtains the current sunlight direction, it can establish a three-dimensional space coordinate system. Figure 2 The figure is a schematic diagram of a three-dimensional spatial coordinate system provided by an embodiment of the present application. The vehicle controller establishes the three-dimensional spatial coordinate system with the vehicle as the origin. As shown in the figure, the positive direction of the x-axis of the three-dimensional spatial coordinate system is the direction of travel of the vehicle, the positive direction of the z-axis of the three-dimensional spatial coordinate system is perpendicular to the roadside where the vehicle is located and points to the sky, and the positive direction of the y-axis of the three-dimensional spatial coordinate system is perpendicular to the side of the vehicle.
[0075] S104 , the vehicle controller calculates the current sunlight illumination direction, the first projection direction of the xoz plane in the three-dimensional space coordinate system, and the second projection direction of the xoy plane.
[0076] After completing the establishment of the three-dimensional space coordinate system, the vehicle controller can calculate the current sunlight direction First projection direction on the xoz plane For example, the vehicle controller projects the current sunlight direction onto the xoz surface, and then obtains the first projection direction , similarly, the onboard controller can calculate the current direction of sunlight The second projection direction on the xoy plane For example, the vehicle controller projects the current sunlight direction onto the xoy surface, and then obtains the second projection direction .
[0077] S105. The vehicle-mounted controller calculates a first angle between the first projection direction and the driving direction of the vehicle, and calculates a second angle between the second projection direction and the driving direction of the vehicle.
[0078] The vehicle controller calculates the first projection direction and the second projection direction After that, the first projection direction can be calculated The first angle between the vehicle's direction of travel (i.e., the positive direction of the x-axis) and the vehicle's direction of travel (i.e., the positive direction of the x-axis). The first angle is an acute angle or a right angle less than 180 degrees. The vehicle controller can also calculate the second projection direction A second angle between the first angle and the vehicle's travel direction (i.e., the positive direction of the x-axis) is less than or equal to 180 degrees. The vehicle controller may calculate the first angle and the second angle using a cosine value formula.
[0079] S106. The vehicle controller determines the target compensation coefficient corresponding to the first angle and the second angle according to a pre-configured first mapping relationship between the reference angle and the reference compensation coefficient.
[0080] In some embodiments, part of the reference angle and part of the reference compensation coefficient may be collected in advance, wherein the corresponding relationship between the reference angle and the reference compensation coefficient may be obtained through experimental calibration.
[0081] As shown in Table 1, this table shows the correspondence between some reference angles and some reference compensation coefficients calibrated through experiments.
[0082] Table 1:
[0083]
[0084] For example, when the first angle is 15 degrees and the second angle is 150 degrees, the corresponding compensation coefficient is 0.0091. Table 1 only shows some angles and compensation coefficients.
[0085] In some embodiments, the vehicle controller may perform interpolation fitting based on the relevant data shown in Table 1, thereby obtaining a first mapping relationship between the reference angle and the reference compensation coefficient.
[0086] Next, after determining the first angle and the second angle, the onboard controller may determine target compensation coefficients corresponding to the first angle and the second angle based on the first mapping relationship.
[0087] S107 : The vehicle-mounted controller compensates the sunlight intensity collected by the sunlight sensor according to the target compensation coefficient to obtain compensated sunlight intensity.
[0088] After obtaining the target compensation coefficient, the on-board controller can use the target compensation coefficient to compensate for the sunlight intensity collected by the sunlight sensor, thereby obtaining the compensated sunlight intensity.
[0089] In some examples, the vehicle controller may multiply the sunlight intensity collected by the sunlight sensor by the target compensation coefficient to obtain the compensated sunlight intensity.
[0090] S108. The vehicle controller controls the vehicle's air conditioning according to the compensated sunlight intensity.
[0091] After obtaining the compensated sunlight intensity, the vehicle controller can control the vehicle's air conditioning based on it. Because the compensated sunlight intensity is more accurate than the uncompensated sunlight intensity, the heat load inside the vehicle can be calculated more accurately based on the more accurate sunlight intensity. This in turn enables more accurate control of the vehicle's air conditioning, resulting in a more comfortable temperature inside the vehicle and an improved driving experience.
[0092] In some embodiments, the vehicle controller can also control the vehicle's air conditioning in combination with the vehicle's type of properties, as described below.
[0093] like Figure 3 As shown in FIG, this figure is a flow chart of another vehicle air conditioner control method provided by an embodiment of the present application. The method includes:
[0094] S301: The vehicle controller obtains the property type of the vehicle.
[0095] The property type includes an operating type and a non-operating type, wherein operating type vehicles may include taxis and non-operating type vehicles may include private cars. In some examples, the vehicle controller may prompt the user to enter the property type of the current vehicle, and then the vehicle controller may obtain the property type of the vehicle.
[0096] S302: The vehicle controller determines the adjustment coefficients of each temperature zone inside the vehicle according to the property type.
[0097] The adjustment coefficients of various temperature zones inside the vehicle are different depending on the type of vehicle.
[0098] In some examples, if the property type indicates that the vehicle is in commercial operation, the adjustment coefficient for the primary driver's seat temperature zone is determined to be smaller than the adjustment coefficient for the passenger temperature zone, where the passenger temperature zone includes the front passenger seat temperature zone and / or the rear seat temperature zone. For example, the adjustment coefficient for the primary driver's seat temperature zone is 0.4, and the adjustment coefficient for the passenger temperature zone is 0.6.
[0099] When the vehicle is of an operational type, not only the main driving temperature zone but also the driving experience of passengers in the passenger temperature zone should be considered. Therefore, setting the adjustment coefficient of the passenger temperature zone higher than that of the main driving temperature zone can make the temperature felt by passengers more comfortable.
[0100] If the property type is non-operational, a determination is made as to whether there is a passenger in the passenger temperature zone, yielding a first determination result. If the first determination result indicates there is a passenger in the passenger temperature zone, the adjustment coefficient for the main and passenger cabin temperature zones is determined to be the same as the adjustment coefficient for the passenger temperature zone. For example, the adjustment coefficient for the main and passenger cabin temperature zones = the adjustment coefficient for the passenger temperature zone = 0.5. If the first determination result indicates there is no passenger in the passenger temperature zone, the adjustment coefficient for the main and passenger cabin temperature zones is determined to be 1, and the adjustment coefficient for the passenger temperature zone is determined to be 0.
[0101] When the vehicle is non-operational, it is necessary to further determine whether there are passengers in the passenger temperature zone. If not, then only the temperature comfort of the main driving temperature zone needs to be considered. If there are passengers, then the temperature comfort of both the main driving temperature zone and the passenger temperature zone needs to be considered.
[0102] It should be noted that the specific values of the above adjustment coefficients are only for illustrative purposes.
[0103] S303: The vehicle controller determines the air outlet temperature of each temperature zone inside the vehicle according to the compensated sunlight intensity.
[0104] Since the compensated sunlight intensity is more accurate, the on-board controller can more accurately determine the air outlet temperature of each temperature zone inside the vehicle based on the more accurate sunlight intensity.
[0105] S304: The vehicle controller determines target air outlet conditions for each temperature zone inside the vehicle according to the air outlet temperatures of each temperature zone inside the vehicle and the adjustment coefficients corresponding to the respective temperature zones.
[0106] The adjustment coefficient ranges from 0 to 1. A coefficient of 0 turns off the airflow, meaning no airflow. A coefficient of 0.5 makes no adjustment to the airflow, and a coefficient of 1 doubles the airflow. For example, a coefficient of 0.4 for the main cabin temperature zone reduces the airflow, while a coefficient of 0.6 increases the airflow.
[0107] After obtaining the outlet air temperature and corresponding adjustment coefficients for each temperature zone within the vehicle, the onboard controller determines the target airflow conditions for each temperature zone within the vehicle. Target airflow conditions include the outlet air temperature and the airflow gain (represented by the aforementioned adjustment coefficients; values greater than 0.5 indicate an increase, and values less than 0.5 indicate a decrease).
[0108] S305: The vehicle controller controls the vehicle's air conditioning according to target air output conditions of each temperature zone inside the vehicle.
[0109] After obtaining the target air output conditions for each temperature zone inside the vehicle, the onboard controller can control the vehicle's air conditioning based on the target air output conditions.
[0110] In an embodiment of the present application, the vehicle-mounted controller controls the air conditioning according to the nature and type of the vehicle and the riding conditions of users other than the driver, allowing the vehicle to better adjust the temperature of each temperature zone to improve the comfort of users in different positions in the vehicle, thereby improving the driving experience.
[0111] In some embodiments, the vehicle controller can also generate a second mapping relationship between the user's reference duration and reference air conditioning parameters based on the user's air conditioning usage habits, and then automatically adjust the vehicle air conditioning based on the second mapping relationship. This is introduced in detail below.
[0112] like Figure 4 As shown in FIG, this figure is a flow chart of another vehicle air conditioner control method provided by an embodiment of the present application. The method includes:
[0113] S401: The vehicle controller obtains the driving time of the vehicle.
[0114] The driving duration may be the duration of a single vehicle trip, for example, the duration measured from the start of the vehicle. The onboard controller may start the timing after the vehicle is started, thereby obtaining the driving duration of the vehicle.
[0115] S402: The vehicle controller determines whether the driving time is less than or equal to a preset time threshold.
[0116] If the driving time is less than or equal to the preset time threshold, Figure 1-3 The method in is used to control the vehicle air conditioner and execute S403, wherein the preset time threshold may be 30 minutes; if the driving time is longer than the preset time threshold, execute S404.
[0117] S403: The vehicle controller controls the vehicle's air conditioning according to the compensated sunlight intensity.
[0118] S404: The vehicle controller determines the target air-conditioning parameter corresponding to the driving duration according to a pre-configured second mapping relationship between the reference duration and the reference air-conditioning parameter.
[0119] Among them, the target air-conditioning parameters include air-conditioning air volume, air-conditioning air outlet mode, air-conditioning temperature and air-conditioning circulation mode.
[0120] In some embodiments, historical air-conditioning parameters of the user in the process of controlling the air-conditioning during historical time periods can be pre-counted, and then historical air-conditioning parameters corresponding to multiple historical driving durations can be obtained. For a certain historical driving duration, the historical air-conditioning parameter with the highest frequency of occurrence is selected from all the historical air-conditioning parameters corresponding to the historical driving duration as the historical air-conditioning parameter corresponding to the historical driving duration, that is, the air-conditioning parameters that conform to the user's habits are obtained.
[0121] As shown in Table 2, this table shows the correspondence between some historical driving times and some historical air-conditioning parameters.
[0122] Table 2:
[0123]
[0124] The unit of driving duration can be minutes. In some embodiments, the vehicle controller can perform interpolation fitting based on the relevant data shown in Table 2 to obtain a second mapping relationship between reference driving duration and reference air conditioning parameters. The vehicle controller can then query the second mapping relationship every minute to obtain the latest target air conditioning parameters. Of course, in other embodiments, fitting can be omitted and control can be implemented in stages.
[0125] S405 : The vehicle-mounted controller controls the air conditioning of the vehicle according to the target air conditioning parameters.
[0126] After obtaining the latest target air-conditioning parameters, the on-board controller can control the air-conditioning of the vehicle based on the target air-conditioning parameters.
[0127] In some embodiments, after obtaining the target air conditioning parameters, the onboard controller may compare the target air conditioning parameters with the air conditioning parameters at a previous moment to obtain a comparison result. If the comparison result indicates that the target air conditioning parameters are inconsistent with the air conditioning parameters at the previous moment, a prompt message is presented to the user, indicating that the target air conditioning parameters are the air conditioning parameters corresponding to the user's usage habits. If the comparison result indicates that the target air conditioning parameters are consistent with the air conditioning parameters at the previous moment, no prompt is presented.
[0128] Based on the above description, the present application provides a method for controlling a vehicle air conditioner, the method comprising: obtaining the current time and vehicle position; determining the current sunlight direction based on the current time and vehicle position; establishing a three-dimensional space coordinate system with the vehicle as the origin, the positive direction of the x-axis of the three-dimensional space coordinate system being the vehicle's driving direction, the positive direction of the z-axis of the three-dimensional space coordinate system being the direction perpendicular to the road surface where the vehicle is located and pointing to the sky, and the positive direction of the y-axis of the three-dimensional space coordinate system being the direction perpendicular to the side of the vehicle; respectively calculating the current sunlight direction, the first projection direction on the xoz plane of the three-dimensional space coordinate system and the second projection direction on the xoy plane; calculating a first angle between the first projection direction and the vehicle's driving direction, and calculating a second angle between the second projection direction and the vehicle's driving direction; then determining a target compensation coefficient corresponding to the first angle and the second angle based on a first mapping relationship between a pre-configured reference angle and a reference compensation coefficient; compensating the sunlight intensity collected by the sunlight sensor based on the target compensation coefficient to obtain the compensated sunlight intensity; and controlling the vehicle's air conditioner based on the compensated sunlight intensity. In this method, the first mapping relationship is obtained in advance through experimental calibration. Therefore, the first mapping relationship is subsequently used to determine the target compensation coefficients corresponding to the first angle and the second angle, and the sunlight intensity collected by the sunlight sensor can be accurately compensated. Subsequently, the subsequent air-conditioning control is performed based on the compensated sunlight intensity, that is, the more accurate sunlight intensity, which can reduce the impact on the comfort inside the vehicle due to inaccurate sunlight intensity.
[0129] Combined with the above Figures 1 to 4 The control method of the vehicle air conditioner provided in the embodiment of the present application is introduced in detail. The device and equipment provided in the embodiment of the present application will be introduced in conjunction with the accompanying drawings.
[0130] like Figure 5 As shown in FIG, this figure is a schematic diagram of a vehicle air conditioner control device provided by an embodiment of the present application, the device comprising:
[0131] Acquisition module 501, used to obtain the current time and vehicle location;
[0132] A determination module 502 is configured to determine a current sunlight direction based on the current time and the vehicle position;
[0133] Establishing module 503, for establishing a three-dimensional spatial coordinate system with the vehicle as the origin, wherein the positive direction of the x-axis of the three-dimensional spatial coordinate system is the direction of travel of the vehicle, the positive direction of the z-axis of the three-dimensional spatial coordinate system is the direction perpendicular to the road surface on which the vehicle is located and pointing to the sky, and the positive direction of the y-axis of the three-dimensional spatial coordinate system is the direction perpendicular to the side of the vehicle;
[0134] a calculation module 504 for respectively calculating a first projection direction of the current sunlight illumination direction on the xoz plane and a second projection direction of the xoy plane of the three-dimensional space coordinate system; calculating a first angle between the first projection direction and the driving direction of the vehicle, and calculating a second angle between the second projection direction and the driving direction of the vehicle;
[0135] The determination module 502 is further configured to determine a target compensation coefficient corresponding to the first angle and the second angle according to a pre-configured first mapping relationship between a reference angle and a reference compensation coefficient;
[0136] a compensation module 506 for compensating the sunlight intensity collected by the sunlight sensor according to the target compensation coefficient to obtain compensated sunlight intensity;
[0137] The control module 507 is used to control the air conditioning of the vehicle according to the compensated sunlight intensity.
[0138] In some possible implementations, the acquisition module 501 is further configured to acquire the property type of the vehicle;
[0139] The determination module 502 is further configured to determine an adjustment coefficient for each temperature zone inside the vehicle according to the property type;
[0140] The control module 507 is specifically configured to determine the outlet air temperature of each temperature zone within the vehicle based on the compensated sunlight intensity; determine the target outlet air conditions for each temperature zone within the vehicle based on the outlet air temperature of each temperature zone within the vehicle and the adjustment coefficient corresponding to each temperature zone; and control the vehicle's air conditioning based on the target outlet air conditions for each temperature zone within the vehicle.
[0141] In some possible implementations, the determination module 502 is specifically configured to determine, if the property type is an operational type, that the adjustment coefficient of the main driver's seat temperature zone is less than the adjustment coefficient of the passenger temperature zone, where the passenger temperature zone includes the front passenger seat temperature zone and / or the rear seat temperature zone.
[0142] In some possible implementations, the determination module 502 is specifically configured to, if the property type is a non-operational type, determine whether there is a passenger in the passenger temperature zone to obtain a first judgment result; if the first judgment result indicates that there is a passenger in the passenger temperature zone, determine that the adjustment coefficient of the main driving temperature zone is the same as the adjustment coefficient of the passenger temperature zone; if the first judgment result indicates that there is no passenger in the passenger temperature zone, determine that the adjustment coefficient of the main driving temperature zone is 1, and the adjustment coefficient of the passenger temperature zone is 0.
[0143] In some possible implementations, the acquisition module 501 is also used to obtain the driving time of the vehicle; the control module 507 is specifically used to control the air conditioning of the vehicle according to the compensated sunlight intensity if the driving time of the vehicle is less than or equal to a preset time threshold.
[0144] In some possible implementations, the control module 507 is also used to determine the target air-conditioning parameters corresponding to the driving time of the vehicle if the driving time is greater than a preset time threshold, based on a second mapping relationship between a pre-configured reference time and a reference air-conditioning parameter, wherein the target air-conditioning parameters include: air-conditioning air volume, air-conditioning air outlet mode, air-conditioning temperature and air-conditioning circulation mode; and control the air-conditioning of the vehicle according to the target air-conditioning parameters.
[0145] In some possible implementations, the device also includes a comparison module for comparing the target air-conditioning parameters with the air-conditioning parameters at a previous moment to obtain a comparison result; if the comparison result indicates that the target air-conditioning parameters are inconsistent with the air-conditioning parameters at a previous moment, a prompt message is presented to the user, and the prompt message is used to prompt the user that the target air-conditioning parameters are the air-conditioning parameters corresponding to the user's usage habits.
[0146] The control device of the vehicle air conditioner according to the embodiment of the present application may correspond to the method described in the embodiment of the present application, and the above-mentioned other operations and / or functions of each module / unit of the control device of the vehicle air conditioner are respectively to realize Figure 2-4 For the sake of brevity, the corresponding processes of the various methods in the illustrated embodiments are not described here in detail.
[0147] The present application also provides a computing device, which may be a controller on a vehicle.
[0148] like Figure 6 As shown, this figure is a schematic diagram of a computing device provided by an embodiment of the present application, and the computing device 600 includes a bus 601, a processor 602, a communication interface 603 and a memory 604. The processor 602, the memory 604 and the communication interface 603 communicate with each other via the bus 601.
[0149] The bus 601 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 6 Only one thick line is used in the diagram, but this does not mean that there is only one bus or one type of bus.
[0150] The processor 602 may be any one or more of a central processing unit (CPU), a graphics processing unit (GPU), a microprocessor (MP), or a digital signal processor (DSP).
[0151] The communication interface 603 is used for communicating with the outside.
[0152] The memory 604 may include volatile memory, such as random access memory (RAM). The memory 604 may also include non-volatile memory, such as read-only memory (ROM), flash memory, hard disk drive (HDD), or solid state drive (SSD).
[0153] The memory 604 stores executable codes, and the processor 602 executes the executable codes to perform the aforementioned vehicle air conditioner control method.
[0154] Specifically, in the implementation Figure 5 In the case of the embodiment shown, and Figure 5 When each module or unit of the vehicle air conditioner control device described in the embodiment is implemented by software, Figure 5 The software or program code required for the functions of each module / unit in the system may be partially or completely stored in the memory 604. The processor 602 executes the program code corresponding to each unit stored in the memory 604 to perform the above-mentioned vehicle air conditioner control method.
[0155] Embodiments of the present application also provide a computer-readable storage medium. The computer-readable storage medium can be any available medium capable of being stored by a computing device, or a data storage device such as a data center that contains one or more available media. The available medium can be a magnetic medium (e.g., a floppy disk, hard disk, or magnetic tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive). The computer-readable storage medium includes instructions that instruct the computing device to execute the above-described vehicle air conditioner control method.
[0156] The present application also provides a computer program product comprising one or more computer instructions that, when loaded and executed on a computing device, fully or partially generate the process or function described in the present application.
[0157] The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from one website, computer, or data center to another website, computer, or data center via wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) means.
[0158] When the computer program product is executed by a computer, the computer performs any of the aforementioned methods for controlling a vehicle air conditioner. The computer program product may be a software installation package, and when any of the aforementioned methods for controlling a vehicle air conditioner is required, the computer program product may be downloaded and executed on the computer.
[0159] The descriptions of the processes or structures corresponding to the above figures have different emphases. For parts that are not described in detail in a certain process or structure, please refer to the relevant descriptions of other processes or structures.
[0160] The above description is only a specific implementation method of the present application, but the protection scope of the present application is not limited thereto. Any changes or replacements within the technical scope disclosed in the present application should be included in the protection scope of the present application.
Claims
1. A method for controlling a vehicle air conditioner, characterized in that: The method comprises: Get the current time and vehicle location; Determining a current sunlight direction according to the current time and the vehicle position; Establish a three-dimensional coordinate system with the vehicle as the origin, wherein the positive direction of the x-axis of the three-dimensional coordinate system is the direction of travel of the vehicle, the positive direction of the z-axis of the three-dimensional coordinate system is perpendicular to the road surface on which the vehicle is located and points to the sky, and the positive direction of the y-axis of the three-dimensional coordinate system is perpendicular to the side of the vehicle; Calculate the current sunlight illumination direction, the first projection direction of the xoz plane in the three-dimensional space coordinate system, and the second projection direction of the xoy plane respectively; calculating a first angle between the first projection direction and the driving direction of the vehicle, and calculating a second angle between the second projection direction and the driving direction of the vehicle; Determining target compensation coefficients corresponding to the first angle and the second angle according to a pre-configured first mapping relationship between a reference angle and a reference compensation coefficient; Compensating the sunlight intensity collected by the sunlight sensor according to the target compensation coefficient to obtain compensated sunlight intensity; The vehicle's air conditioning is controlled according to the compensated sunlight intensity.
2. The method according to claim 1, characterized in that The method further comprises: Get the property type of the vehicle; determining, based on the property type, adjustment coefficients for various temperature zones within the vehicle; The controlling of the vehicle air conditioner according to the compensated sunlight intensity includes: determining the air outlet temperature of each temperature zone inside the vehicle according to the compensated sunlight intensity; determining target airflow conditions for each temperature zone inside the vehicle based on the airflow temperatures of each temperature zone inside the vehicle and the adjustment coefficients corresponding to the respective temperature zones; The air conditioner of the vehicle is controlled according to the target air output conditions of each temperature zone inside the vehicle.
3. The method according to claim 2, characterized in that Determining the adjustment coefficients for each temperature zone inside the vehicle according to the property type includes: If the property type is the operation type, it is determined that the adjustment coefficient of the main driving temperature zone is smaller than the adjustment coefficient of the passenger temperature zone, wherein the passenger temperature zone includes the front passenger temperature zone and / or the rear temperature zone.
4. The method according to claim 3, characterized in that The method further comprises: If the property type is a non-operational type, determining whether there is a passenger in the passenger temperature zone to obtain a first determination result; If the first judgment result indicates that there is a passenger in the passenger temperature zone, determining that the adjustment coefficient of the main driving temperature zone is the same as the adjustment coefficient of the passenger temperature zone; If the first judgment result indicates that there is no passenger in the passenger temperature zone, the adjustment coefficient of the main driving temperature zone is determined to be 1, and the adjustment coefficient of the passenger temperature zone is determined to be 0.
5. The method according to claim 1, wherein The method further comprises: Obtaining the driving time of the vehicle; The controlling of the vehicle air conditioner according to the compensated sunlight intensity includes: If the driving time of the vehicle is less than or equal to a preset time threshold, the air conditioner of the vehicle is controlled according to the compensated sunlight intensity.
6. The method according to claim 5, characterized in that The method further comprises: If the driving time of the vehicle is greater than a preset time threshold, determining target air-conditioning parameters corresponding to the driving time according to a pre-configured second mapping relationship between reference time and reference air-conditioning parameters, wherein the target air-conditioning parameters include: air-conditioning air volume, air-conditioning air outlet mode, air-conditioning temperature, and air-conditioning circulation mode; The air conditioning of the vehicle is controlled according to the target air conditioning parameter.
7. The method according to claim 6, characterized in that The method further comprises: Comparing the target air-conditioning parameters with the air-conditioning parameters at a previous moment to obtain a comparison result; If the comparison result indicates that the target air-conditioning parameter is inconsistent with the air-conditioning parameter at a previous moment, a prompt message is presented to the user, where the prompt message is used to prompt the user that the target air-conditioning parameter is the air-conditioning parameter corresponding to the user's usage habits.
8. A control device for a vehicle air conditioner, characterized in that: The device comprises: Acquisition module, used to obtain the current time and vehicle location; A determination module, configured to determine a current sunlight direction according to the current time and the vehicle position; An establishment module is used to establish a three-dimensional spatial coordinate system with the vehicle as the origin, wherein the positive direction of the x-axis of the three-dimensional spatial coordinate system is the direction of travel of the vehicle, the positive direction of the z-axis of the three-dimensional spatial coordinate system is a direction perpendicular to the road surface on which the vehicle is located and pointing to the sky, and the positive direction of the y-axis of the three-dimensional spatial coordinate system is a direction perpendicular to the side of the vehicle; a calculation module, configured to respectively calculate a first projection direction of the current sunlight illumination direction on the xoz plane and a second projection direction of the xoy plane in the three-dimensional space coordinate system; calculate a first angle between the first projection direction and the driving direction of the vehicle, and calculate a second angle between the second projection direction and the driving direction of the vehicle; The determination module is further configured to determine a target compensation coefficient corresponding to the first angle and the second angle according to a pre-configured first mapping relationship between a reference angle and a reference compensation coefficient; a compensation module, configured to compensate the sunlight intensity collected by the sunlight sensor according to the target compensation coefficient to obtain compensated sunlight intensity; The control module is used to control the vehicle's air conditioning according to the compensated sunlight intensity.
9. A computing device, characterized in that including memory and processor; One or more computer programs are stored in the memory, and the one or more computer programs include instructions; when the instructions are executed by the processor, the computing device executes the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that The computer-readable storage medium is used to store a computer program, and the computer program is used to execute the method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Temperature compensation method and system of solar air conditioner for car
CN106864205A
Control method and device for vehicle air conditioner
CN117301806A