Control method, device and equipment of vehicle-mounted air conditioner and storage medium
By using the three-dimensional spatial coordinate system and compensation coefficient mapping relationship in the vehicle air conditioning system, the sunlight intensity detection and air conditioning control are optimized, and the problem of limited detection range of the sunlight sensor is solved, improving the accuracy and user experience of the air conditioner.
Patent Information
- Application Number
- CN202411719746.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-28
- Publication Date
- 2025-01-10
- Estimated Expiration
- 2044-11-28
AI Technical Summary
In the existing vehicle air conditioning system, the detection range of the sunlight sensor is limited, resulting in inaccurate sunlight intensity, affecting the accuracy of the automatic control of the air conditioner, and thus affecting the comfort of the car.
The three-dimensional spatial coordinate system is established to calculate the angle between the sunlight irradiation direction and the vehicle driving direction. The sunlight intensity compensation is performed through the mapping relationship between the pre-configured reference angle and the compensation coefficient, and the air conditioning control strategy is adjusted according to the compensated data, considering Vehicle type and usage habits, optimize air conditioning parameters.
It improves the accuracy of sunlight intensity detection, reduces the impact on the comfort of the car, and improves the accuracy and user experience of air conditioning control.
Smart Images

Figure CN119283579A_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] In order to improve user experience and driving safety, most vehicles currently support automatic air conditioning mode. To achieve automatic control in automatic air conditioning mode, it is necessary to detect parameters such as the outside temperature, sunlight intensity, and the inside temperature of the vehicle, and automatically adjust the air conditioning's hybrid damper motor, blower, mode motor and other actuators according to these parameters, thereby achieving automatic control of the vehicle's air conditioning.
[0003] In order to ensure the most comfortable environment in the car, it is necessary to accurately detect parameters such as the outside temperature, sunlight intensity, and the temperature inside the car. For the detection of sunlight intensity, a sunlight sensor is usually installed near the center console of the car to detect the sunlight intensity.
[0004] However, the detection range of the sunlight sensor is relatively limited, which will result in the sunlight sensor being unable to accurately detect the sunlight intensity, which will affect the automatic control of the vehicle air conditioning and further affect 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] In order to achieve the above objectives, this application adopts the following technical solutions: In a first aspect, the present application provides a method for controlling a vehicle air conditioner, the method comprising: Get the current time and vehicle location; Determine the current sunlight direction according to the current time and the vehicle position; Taking the vehicle as the origin, a three-dimensional space coordinate system is established, wherein the positive direction of the x-axis of the three-dimensional space coordinate system is the driving direction of the vehicle, the positive direction of the z-axis of the three-dimensional space 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 space coordinate system is a direction perpendicular to the side of the vehicle; Calculate the current sunlight irradiation direction, the first projection direction of the xoz surface in the three-dimensional space coordinate system, and the second projection direction of the xoy surface 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 preconfigured first mapping relationship between a reference angle and a reference compensation coefficient; According to the target compensation coefficient, the sunlight intensity collected by the sunlight sensor is compensated to obtain the compensated sunlight intensity; The vehicle's air conditioning is controlled based on the compensated sunlight intensity.
[0007] In some possible implementations, the method further includes: Get the property type of the vehicle; Determining adjustment coefficients for various temperature zones inside the vehicle according to the property type; The method of controlling the air conditioner of the vehicle 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 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 each temperature zone; The air conditioner of the vehicle is controlled according to the target air outlet conditions of each temperature zone inside the vehicle.
[0008] In some possible implementations, determining the adjustment coefficients of 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 co-pilot temperature zone and / or the rear temperature zone.
[0009] In some possible implementations, the method further includes: 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.
[0010] In some possible implementations, the method further includes: Obtaining the driving time of the vehicle; The method of controlling the air conditioner of the vehicle 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.
[0011] In some possible implementations, the method further includes: If the driving time of the vehicle is greater than a preset time threshold, determining a target air-conditioning parameter corresponding to the driving time according to a pre-configured second mapping relationship between a reference time and a reference air-conditioning parameter, wherein the target air-conditioning parameter includes: 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.
[0012] In some possible implementations, the method further includes: Comparing the target air-conditioning parameter with the air-conditioning parameter 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, prompt information is presented to the user, where the prompt information is used to prompt the user that the target air-conditioning parameter is the air-conditioning parameter corresponding to the user's usage habits.
[0013] In a second aspect, the present application provides a control device for a vehicle air conditioner, the device comprising: Acquisition module, used to obtain the current time and vehicle location; A determination module, used to determine the current sunlight direction according to the current time and the vehicle position; An establishment module is used to establish 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 driving direction of the vehicle, 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; A calculation module, for respectively calculating the current sunlight irradiation direction, a first projection direction of the xoz plane and a second projection direction of the xoy plane in 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; The determination module is further used to determine 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; A compensation module, used to compensate the sunlight intensity collected by the sunlight sensor according to the target compensation coefficient to obtain the compensated sunlight intensity; The control module is used to control the air conditioning of the vehicle according to the compensated sunlight intensity.
[0014] In a third aspect, the present application provides a computing device, including a memory and a 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 as described in any one of the first aspects.
[0015] In a fourth aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium is used to store a computer program, and the computer program is used to execute the method as described in any one of the first aspects.
[0016] It can be seen from the above technical solution that the present application has at least the following beneficial effects: 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 according to 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 driving direction of the vehicle, 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 an xoz surface of the three-dimensional space coordinate system, and a second projection direction on an xoy surface; 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; then determining a target compensation coefficient corresponding to the first angle and the second angle according to a first mapping relationship between a pre-configured reference angle and a reference compensation coefficient; compensating for the sunlight intensity collected by the sunlight sensor according to the target compensation coefficient to obtain the compensated sunlight intensity; and controlling the vehicle air conditioner according to the compensated sunlight intensity. In the method, the first mapping relationship is obtained by calibrating the first angle and the second angle in advance. Therefore, the first mapping relationship is subsequently used to determine the target compensation coefficient corresponding to the first angle and the second angle, and the sunlight intensity collected by the sunlight sensor can be accurately compensated. Then, the subsequent air-conditioning control is performed based on the compensated sunlight intensity, that is, more accurate sunlight intensity, which can reduce the impact of inaccurate sunlight intensity on the comfort level inside the vehicle.
[0017] 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 features or beneficial effects means that specific technical features, technical solutions or beneficial effects are included in at least one embodiment. Therefore, the description of technical features, technical solutions or beneficial effects 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 realized 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 a specific embodiment that does not embody all embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 A flow chart of a method for controlling a vehicle air conditioner provided in an embodiment of the present application; Figure 2 A schematic diagram of a three-dimensional space coordinate system provided in an embodiment of the present application; Figure 3 A flow chart of another vehicle air conditioning control method provided in an embodiment of the present application; Figure 4 A flow chart of another vehicle air conditioning control method provided in an embodiment of the present application; Figure 5 A schematic diagram of a vehicle air conditioner control device provided in an embodiment of the present application; Figure 6 A schematic diagram of a computing device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0019] The terms "first", "second", "third", etc. in the specification of this application and the accompanying drawings are used to distinguish different objects rather than to limit a specific order.
[0020] In the embodiments of the present 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 the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.
[0021] At present, the automatic air conditioning control algorithm is a relatively mature control strategy in the industry. Although there are differences in the implementation details of different OEMs, the main control logic is similar. They all use sensors to collect and estimate the heat load of the passenger compartment to control the breathing point temperature (head temperature) of the passenger compartment within a comfortable range. Specifically, the vehicle-mounted sensors are used to detect information such as ambient temperature, vehicle temperature, sunlight intensity, etc., and then the air conditioning heat load is calculated based on the user's set temperature to obtain the target air outlet situation and air outlet mode, and the air outlet temperature sensor is used to control the compressor speed and temperature damper.
[0022] The above automatic air conditioning control algorithm has the following problems: 1. There are limitations in the data collection of sensors, such as the influence of the direct sunlight direction on the sunlight sensor, which leads to inaccurate sunlight intensity collected by the sunlight sensor, resulting in deviations in the estimation of the heat load of the air conditioner on the inside and outside of the car. 2. The automatic air conditioning control algorithm does not take into account the influence of individual differences among users. Different users have different feelings about thermal comfort, and even the same user has different feelings about thermal comfort at different times. 3. The automatic air conditioning control algorithm does not take into account the differences in vehicle types. For example, for vehicles of the same model, such as taxis or commercial vehicles, the control target should consider the comfort of the rear seats and other seating areas more; if used as a private vehicle, the control target should consider the comfort of the main driver more.
[0023] 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 and consider the user's usage habits and vehicle model differences to improve the user's driving experience.
[0024] In view of this, an embodiment of the present application provides a method for controlling a vehicle air conditioner, which can be executed by the vehicle, or by a vehicle 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 of the vehicle controller as an example. In this method, the first mapping relationship is obtained in advance through experimental calibration. Therefore, the subsequent vehicle 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 inside the vehicle due to inaccurate sunlight intensity.
[0025] In order to make the technical solution of the present application clearer and easier to understand, the technical solution of the present application is described in detail below in conjunction with the accompanying drawings. Figure 1 As shown, the figure is a flow chart of a method for controlling a vehicle air conditioner provided in an embodiment of the present application, the method comprising: S101. The vehicle controller obtains the current time and vehicle position.
[0026] The current time can be represented by the form of 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.
[0027] It should be noted that the present application does not specifically limit the specific method by which the vehicle controller obtains the current time and vehicle position.
[0028] S102: The vehicle controller determines the current sunlight direction according to the current time and the vehicle position.
[0029] After the on-board controller determines the current time and the vehicle position, the current sunlight direction can be determined based on the current time and the vehicle position.
[0030] In some examples, a mapping table of time, position and direction may be obtained in advance, and after obtaining the current time and vehicle position, the onboard controller determines the current sunlight direction corresponding to the current time and vehicle position by searching the mapping table. The mapping table may be obtained by experimental calibration.
[0031] S103: The vehicle controller establishes a three-dimensional space coordinate system with the vehicle as the origin.
[0032] After the vehicle controller obtains the current sunlight direction, it can establish a three-dimensional space coordinate system. Figure 2 As shown, the figure is a schematic diagram of a three-dimensional space coordinate system provided by an embodiment of the present application. The vehicle controller establishes a three-dimensional space coordinate system with the vehicle as the origin. As shown in the figure, the positive direction of the x-axis of the three-dimensional space coordinate system is the driving direction of the vehicle, the positive direction of the z-axis of the three-dimensional space coordinate system is the direction perpendicular to the roadside 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 the direction perpendicular to the side of the vehicle.
[0033] S104, the vehicle controller respectively calculates the current sunlight irradiation direction, the first projection direction of the xoz surface in the three-dimensional space coordinate system, and the second projection direction of the xoy surface.
[0034] After completing the establishment of the three-dimensional space coordinate system, the on-board controller can calculate the current sunlight direction First projection direction on the xoz surface For example, the vehicle controller projects the current sunlight direction onto the xoz surface, thereby obtaining the first projection direction , similarly, the onboard controller can calculate the current sunlight direction 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 .
[0035] S105. The vehicle 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.
[0036] 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 driving direction (i.e., the positive direction of the x-axis) and the vehicle's driving direction (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 The second angle between the first angle and the vehicle's driving direction (i.e., the positive direction of the x-axis) is less than or equal to 180 degrees. The vehicle controller can use a cosine value formula method to calculate the first angle and the second angle.
[0037] S106. The vehicle controller determines a target compensation coefficient corresponding to the first angle and the second angle according to a preconfigured first mapping relationship between a reference angle and a reference compensation coefficient.
[0038] 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.
[0039] As shown in Table 1, the table shows the correspondence between some reference angles and some reference compensation coefficients calibrated through experiments.
[0040] Table 1:
[0041] 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.
[0042] In some embodiments, the vehicle controller may perform interpolation fitting based on the relevant data shown in Table 1, and thereby obtain a first mapping relationship between a reference angle and a reference compensation coefficient.
[0043] Next, after the vehicle-mounted controller determines the first angle and the second angle, it can determine the target compensation coefficients corresponding to the first angle and the second angle based on the first mapping relationship.
[0044] S107: The vehicle controller compensates the sunlight intensity collected by the sunlight sensor according to the target compensation coefficient to obtain compensated sunlight intensity.
[0045] 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.
[0046] 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.
[0047] S108: The vehicle controller controls the air conditioning of the vehicle according to the compensated sunlight intensity.
[0048] After the vehicle controller obtains the compensated sunlight intensity, it can control the vehicle's air conditioner based on the compensated sunlight intensity. Since 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, and the vehicle air conditioner can be controlled more accurately, making the temperature inside the vehicle more comfortable and improving the user's driving experience.
[0049] In some embodiments, the vehicle controller can also control the vehicle's air conditioning in combination with the vehicle's property type, as described below.
[0050] like Figure 3 As shown in FIG. 1 , this figure is a flow chart of another vehicle air conditioner control method provided by an embodiment of the present application. The method comprises: S301. The vehicle controller obtains the property type of the vehicle.
[0051] The property type includes an operating type and a non-operating type, wherein the operating type vehicle may include a taxi, and the non-operating type vehicle may include a private car. 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.
[0052] S302: The vehicle controller determines the adjustment coefficients of each temperature zone inside the vehicle according to the property type.
[0053] The adjustment coefficients of various temperature zones inside the vehicle are different depending on the type of vehicle.
[0054] In some examples, if the property type characterizes that the vehicle is an operating type, it is determined that the adjustment coefficient of the main driving temperature zone is less 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. Exemplarily, the adjustment coefficient of the main driving temperature zone is 0.4, and the adjustment coefficient of the passenger temperature zone is 0.6.
[0055] When the vehicle is of an operational type, not only the main driving temperature zone but also the driving experience of the 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 the passengers more comfortable.
[0056] If the property type is non-operating type, it is determined 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, the adjustment coefficient of the main driving temperature zone is determined to be the same as the adjustment coefficient of the passenger temperature zone, for example, the adjustment coefficient of the main driving temperature zone = the adjustment coefficient of the passenger temperature zone = 0.5. 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.
[0057] When the vehicle is non-operating, 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 concerned. If there are passengers, then the temperature comfort of both the main driving temperature zone and the passenger temperature zone needs to be concerned.
[0058] It should be noted that the specific values of the above adjustment coefficients are only for illustrative purposes.
[0059] S303: The vehicle controller determines the air outlet temperature of each temperature zone inside the vehicle according to the compensated sunlight intensity.
[0060] 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.
[0061] 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 each temperature zone.
[0062] The adjustment coefficient is between 0 and 1. If the adjustment coefficient is 0, it means that the air outlet is closed, that is, no air is output. If the adjustment coefficient is 0.5, it means that the air outlet is not adjusted. If the adjustment coefficient is 1, it means that the air outlet is doubled. For example, if the adjustment coefficient of the main driving temperature zone is 0.4, it means that the air outlet of the main driving temperature zone is reduced. If the adjustment coefficient of the main driving temperature zone is 0.6, it means that the air outlet of the main driving temperature zone is increased.
[0063] After the vehicle controller obtains the air outlet temperature of each temperature zone inside the vehicle and the adjustment coefficient corresponding to each temperature zone, it can determine the target air outlet conditions for each temperature zone inside the vehicle. The target air outlet conditions include the air outlet temperature and the air outlet gain (characterized by the above adjustment coefficient, greater than 0.5 means increase, and less than 0.5 means decrease).
[0064] S305: The vehicle controller controls the air conditioner of the vehicle according to the target air outlet conditions of each temperature zone inside the vehicle.
[0065] After the vehicle-mounted controller obtains the target air output conditions for each temperature zone inside the vehicle, it can control the vehicle's air conditioning based on the target air output conditions.
[0066] 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, so that the vehicle can 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.
[0067] In some embodiments, the vehicle controller can also generate a second mapping relationship between the user's reference time 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, which is introduced in detail below.
[0068] like Figure 4 As shown, this figure is a flow chart of another vehicle air conditioner control method provided by an embodiment of the present application. The method includes: S401. The vehicle controller obtains the driving time of the vehicle.
[0069] The driving duration may be the duration of a single trip of the vehicle, for example, the duration counted from when the vehicle is started. The onboard controller may start the timing after the vehicle is started, thereby obtaining the driving duration of the vehicle.
[0070] S402: The vehicle controller determines whether the driving time is less than or equal to a preset time threshold.
[0071] If the driving time is less than or equal to the preset time threshold, Figure 1-3 The vehicle air conditioner is controlled by the method in, and S403 is executed, wherein the preset time threshold may be 30 minutes; if the driving time is longer than the preset time threshold, S404 is executed.
[0072] S403: The vehicle controller controls the air conditioning of the vehicle according to the compensated sunlight intensity.
[0073] 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.
[0074] 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.
[0075] In some embodiments, historical air-conditioning parameters of the user in the process of controlling the air-conditioning during the historical time period can be counted in advance, 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 parameters with the highest frequency of occurrence are selected from all the historical air-conditioning parameters corresponding to the historical driving duration as the historical air-conditioning parameters corresponding to the historical driving duration, that is, air-conditioning parameters that meet the user's habits are obtained.
[0076] As shown in Table 2, this table shows the correspondence between some historical driving durations and some historical air-conditioning parameters.
[0077] Table 2:
[0078] The unit of driving time 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 the reference time and the reference air conditioning parameter. Then the vehicle controller can query the second mapping relationship every 1 minute to obtain the latest target air conditioning parameter. Of course, in other embodiments, fitting may not be performed, but control may be performed in stages.
[0079] S405: The vehicle-mounted controller controls the air conditioning of the vehicle according to the target air conditioning parameters.
[0080] After the vehicle-mounted controller obtains the latest target air-conditioning parameters, it can control the air-conditioning of the vehicle based on the target air-conditioning parameters.
[0081] In some embodiments, after obtaining the target air-conditioning parameter, the on-board controller may compare the target air-conditioning parameter with the air-conditioning parameter at the 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 the 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 parameter is the air-conditioning parameter corresponding to the user's usage habits. If the comparison result indicates that the target air-conditioning parameter is consistent with the air-conditioning parameter at the previous moment, no prompt is given.
[0082] 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 the vehicle position; determining the current sunlight direction according to the current time and the 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 is the driving direction of the vehicle, the positive direction of the z-axis of the three-dimensional space 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 space coordinate system is the direction perpendicular to the side of the vehicle; respectively calculating the current sunlight direction, the first projection direction on the xoz surface of the three-dimensional space coordinate system and the second projection direction on the xoy surface; calculating the first angle between the first projection direction and the driving direction of the vehicle, and calculating the second angle between the second projection direction and the driving direction of the vehicle; then determining the target compensation coefficient corresponding to the first angle and the second angle according to a first mapping relationship between a pre-configured reference angle and a reference compensation coefficient; compensating the sunlight intensity collected by the sunlight sensor according to the target compensation coefficient to obtain the compensated sunlight intensity; and controlling the vehicle's air conditioner according to the compensated sunlight intensity. In the method, the first mapping relationship is obtained by calibrating the first angle and the second angle in advance. Therefore, the first mapping relationship is subsequently used to determine the target compensation coefficient corresponding to the first angle and the second angle, and the sunlight intensity collected by the sunlight sensor can be accurately compensated. Then, the subsequent air-conditioning control is performed based on the compensated sunlight intensity, that is, more accurate sunlight intensity, which can reduce the impact of inaccurate sunlight intensity on the comfort level inside the vehicle.
[0083] Combination of 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.
[0084] like Figure 5 As shown, this figure is a schematic diagram of a vehicle air conditioner control device provided by an embodiment of the present application, and the device includes: An acquisition module 501 is used to acquire the current time and vehicle position; A determination module 502, configured to determine a current sunlight direction according to the current time and the vehicle position; Establishing module 503, used to establish 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 driving direction of the vehicle, 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; The calculation module 504 is used to respectively calculate the current sunlight irradiation direction, the first projection direction of the xoz plane and the second projection direction of the xoy plane in the three-dimensional space coordinate system; calculate the first angle between the first projection direction and the driving direction of the vehicle, and calculate the second angle between the second projection direction and the driving direction of the vehicle; 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 preconfigured first mapping relationship between a reference angle and a reference compensation coefficient; A compensation module 506, 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 507 is used to control the air conditioning of the vehicle according to the compensated sunlight intensity.
[0085] In some possible implementations, the acquisition module 501 is further used to acquire the property type of the vehicle; The determination module 502 is further used to determine the adjustment coefficient of each temperature zone inside the vehicle according to the property type; The control module 507 is specifically used to determine the air outlet temperature of each temperature zone inside the vehicle according to the compensated sunlight intensity; determine the target air outlet conditions of each temperature zone inside the vehicle according to the air outlet temperature of each temperature zone inside the vehicle and the adjustment coefficient corresponding to each temperature zone; and control the air conditioning of the vehicle according to the target air outlet conditions of each temperature zone inside the vehicle.
[0086] In some possible implementations, the determination module 502 is specifically configured to determine that the adjustment coefficient of the main driving temperature zone is less than the adjustment coefficient of the passenger temperature zone if the property type is the operation type, wherein the passenger temperature zone includes the front passenger temperature zone and / or the rear temperature zone.
[0087] In some possible implementations, the determination module 502 is specifically used to determine whether there is a passenger in the passenger temperature zone if the property type is a non-operating type, and 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.
[0088] 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.
[0089] 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.
[0090] In some possible implementations, the device also includes a comparison module, which is used to 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 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.
[0091] 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 each method in the illustrated embodiment are not described in detail here.
[0092] The embodiment of the present application also provides a computing device, which may be a controller on a vehicle.
[0093] like Figure 6 As shown, this figure is a schematic diagram of a computing device provided in 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 through the bus 601.
[0094] 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 only one type of bus.
[0095] 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).
[0096] The communication interface 603 is used for communicating with the outside.
[0097] The memory 604 may include a volatile memory, such as a random access memory (RAM). The memory 604 may also include a non-volatile memory, such as a read-only memory (ROM), a flash memory, a hard disk drive (HDD), or a solid state drive (SSD).
[0098] The memory 604 stores executable codes, and the processor 602 executes the executable codes to perform the aforementioned vehicle air conditioner control method.
[0099] Specifically, in implementing 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, the execution 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 execute the control method of the vehicle air conditioner.
[0100] The embodiment of the present application also provides a computer-readable storage medium. The computer-readable storage medium can be any available medium that can be stored by a computing device or a data storage device such as a data center containing one or more available media. The available medium can be a magnetic medium (such as a floppy disk, a hard disk, a tape), an optical medium (such as a DVD), or a semiconductor medium (such as a solid-state hard disk). The computer-readable storage medium includes instructions that instruct the computing device to execute the above-mentioned vehicle air conditioning control method.
[0101] The embodiment of the present application further provides a computer program product, which includes one or more computer instructions. When the computer instructions are loaded and executed on a computing device, the process or function described in the embodiment of the present application is generated in whole or in part.
[0102] 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.
[0103] When the computer program product is executed by a computer, the computer executes any of the aforementioned vehicle air conditioner control methods. The computer program product may be a software installation package, and when any of the aforementioned vehicle air conditioner control methods is required, the computer program product may be downloaded and executed on a computer.
[0104] The descriptions of the processes or structures corresponding to the above-mentioned 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.
[0105] The above description is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions 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; Determine the current sunlight direction according to the current time and the vehicle position; Taking the vehicle as the origin, a three-dimensional space coordinate system is established, wherein the positive direction of the x-axis of the three-dimensional space coordinate system is the driving direction of the vehicle, the positive direction of the z-axis of the three-dimensional space 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 space coordinate system is a direction perpendicular to the side of the vehicle; Calculate the current sunlight irradiation direction, the first projection direction of the xoz surface and the second projection direction of the xoy surface in the three-dimensional space coordinate system 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 preconfigured first mapping relationship between a reference angle and a reference compensation coefficient; According to the target compensation coefficient, the sunlight intensity collected by the sunlight sensor is compensated to obtain the compensated sunlight intensity; The vehicle's air conditioning is controlled based on 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 adjustment coefficients for various temperature zones inside the vehicle according to the property type; The method of controlling the air conditioner of the vehicle 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 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 each temperature zone; The air conditioner of the vehicle is controlled according to the target air outlet conditions of each temperature zone inside the vehicle.
3. The method according to claim 2, characterized in that Determining the adjustment coefficients of 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 co-pilot 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, characterized in that The method further comprises: Obtaining the driving time of the vehicle; The method of controlling the air conditioner of the vehicle 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 a target air-conditioning parameter corresponding to the driving time according to a pre-configured second mapping relationship between a reference time and a reference air-conditioning parameter, wherein the target air-conditioning parameter includes: 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 parameter with the air-conditioning parameter 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, prompt information is presented to the user, where the prompt information 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, used to determine the current sunlight direction according to the current time and the vehicle position; An establishment module is used to establish 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 driving direction of the vehicle, 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; A calculation module, for respectively calculating the current sunlight irradiation direction, a first projection direction of the xoz plane and a second projection direction of the xoy plane in 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; The determination module is further used to determine 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; A compensation module, used to compensate the sunlight intensity collected by the sunlight sensor according to the target compensation coefficient to obtain the compensated sunlight intensity; The control module is used to control the air conditioning of the vehicle 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 as claimed in 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
Device for determining the temperature in the interior of a vehicle
US20020048308A1