Automobile air conditioner control method and device, vehicle, storage medium and program product
By dividing the vehicle path into multiple segments, constructing an air conditioning power objective function, and using particle swarm optimization, the problem of full-stroke optimization in air conditioning control was solved, achieving a balance between air conditioning energy consumption and passenger comfort, and improving the accuracy and energy-saving effect of air conditioning control.
Patent Information
- Application Number
- CN202610029410.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-01-09
- Publication Date
- 2026-05-19
AI Technical Summary
Existing air conditioning energy-saving control methods only consider real-time conditions and cannot achieve full-process air conditioning control optimization, resulting in limited energy consumption reduction.
The path of the target vehicle is divided into multiple road segments, and an air conditioning power objective function is constructed. The optimal air conditioning power for each road segment is solved using the particle swarm optimization method. Combining the passenger comfort index and the energy consumption minimization objective, a full-journey air conditioning control optimization problem is constructed.
It achieves a balance between reducing air conditioning energy consumption and passenger comfort throughout the entire journey, and improves the accuracy of air conditioning control and energy-saving effect by precisely controlling the air conditioning power.
Smart Images

Figure CN122058700A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of air conditioning control technology, and in particular to an air conditioning control method, device, vehicle, storage medium, and program product for automobiles. Background Technology
[0002] With the development of vehicles, automatic air conditioning can maintain a constant interior temperature based on the user-set temperature and airflow direction, providing a comfortable driving environment. However, the use of air conditioning also increases the vehicle's energy consumption. Precise control of the air conditioning can reduce its energy consumption and achieve the goal of energy saving for the entire vehicle.
[0003] Among the relevant technologies, the main energy-saving control methods for air conditioners include the following two types: one is to optimize the air conditioner's operating point to reduce energy consumption, that is, by adjusting the air conditioner's core operating parameters such as power and speed, so that it always works in the state of lowest energy consumption and highest efficiency, reducing ineffective energy consumption; the other is to carry out zone control based on the occupants and external environment, that is, based on the distribution of occupants in different areas of the vehicle (such as people in the front row and no one in the back row) and the differences in the external environment (such as the left side facing the sun and the right side facing the shade), the temperature and air volume of each area are adjusted separately to avoid waste of cooling / heating in areas where no one is present or where no adjustment is needed.
[0004] However, in related technologies, whether it is optimizing the air conditioning operating point to reduce air conditioning energy consumption or implementing zoned control based on passenger and external environmental conditions, the reduction of air conditioning energy consumption is only considered from a real-time perspective. It does not carry out air conditioning energy-saving control from the overall travel perspective, and cannot achieve full-travel air conditioning control optimization. The effect of reducing energy consumption is limited and urgently needs to be solved. Summary of the Invention
[0005] This application provides an air conditioning control method, device, vehicle, storage medium, and program product for automobiles, in order to solve the problems that the air conditioning energy-saving control methods in the related technology only consider reducing air conditioning energy consumption from a real-time perspective, without performing air conditioning energy-saving control from the overall travel perspective, thus failing to achieve full-travel air conditioning control optimization and having limited energy consumption reduction effects.
[0006] A first aspect of this application provides a method for controlling the air conditioning of an automobile, comprising the following steps: obtaining target path information of a target vehicle, and dividing the target path into multiple road segments based on the target path information; constructing an air conditioning power objective function for calculating the air conditioning power of each road segment, provided that the air conditioning power of each road segment is the same; solving the air conditioning power objective function to obtain the air conditioning power of the target vehicle in each road segment, so as to control the air conditioning of the target vehicle to operate according to the corresponding air conditioning power of each road segment.
[0007] Optionally, in one embodiment of this application, the step of constructing an air conditioning power objective function for solving the air conditioning power of each road segment includes: setting the road segment travel time, passenger comfort index, air conditioning energy consumption of the target path, and maximum air conditioning power for constructing the air conditioning power objective function; using the maximum air conditioning power as a constraint, and combining the road segment travel time, target control temperature, number of passengers, and temperature adjustment rate corresponding to multiple air conditioning powers, constructing the air conditioning power objective function with the goal of minimizing the sum of the air conditioning energy consumption of the target path and the passenger comfort index.
[0008] Optionally, in one embodiment of this application, the setting of the road segment travel time, passenger comfort index, air conditioning energy consumption of the target path, and maximum air conditioning power for constructing the air conditioning power objective function includes: constructing a comfort rating table based on the comfort ratings of multiple users at different airflow and different temperature change rates; and querying the comfort rating table to obtain the passenger comfort index.
[0009] Optionally, in one embodiment of this application, solving the air conditioning power objective function to obtain the air conditioning power of the target vehicle in each road segment includes: using the multiple road segments as a particle swarm, transforming the air conditioning power objective function into a particle swarm problem; solving the optimal solution in the particle swarm and iteratively updating it until the number of iterations reaches a target value or the distance between adjacent optimal solutions is less than a preset threshold, thereby obtaining the air conditioning power of each road segment.
[0010] Optionally, in one embodiment of this application, obtaining the target path information of the target vehicle includes: obtaining the road length, estimated travel time, and estimated speed change curve of the target path of the target vehicle; and determining the target path information by combining the road length, the estimated travel time, and the estimated speed change curve.
[0011] A second aspect of this application provides an air conditioning control device for an automobile, comprising: a segmentation module for acquiring target path information of a target vehicle and dividing the target path into multiple road segments based on the target path information; a construction module for constructing an air conditioning power objective function for solving the air conditioning power of each road segment when the air conditioning power of each road segment is the same; and a control module for solving the air conditioning power objective function to obtain the air conditioning power of the target vehicle in each road segment, so as to control the air conditioning of the target vehicle to operate according to the air conditioning power corresponding to each road segment in each road segment.
[0012] Optionally, in one embodiment of this application, the construction module includes: a setting unit, configured to set the segment travel time, occupant comfort index, air conditioning energy consumption of the target path, and maximum air conditioning power for constructing the air conditioning power objective function; and a construction unit, configured to use the maximum air conditioning power as a constraint, combined with the segment travel time, target control temperature, number of occupants, and temperature adjustment rate corresponding to multiple air conditioning powers, to construct the air conditioning power objective function with the goal of minimizing the sum of the air conditioning energy consumption of the target path and the occupant comfort index.
[0013] Optionally, in one embodiment of this application, the setting unit includes: a construction subunit, used to construct a body feel rating table based on the body feel ratings of multiple users at different air volumes and different temperature change rates; and a query subunit, used to query the body feel rating table to obtain the occupant body feel index.
[0014] Optionally, in one embodiment of this application, the control module includes: a conversion unit, used to convert the air conditioning power objective function into a particle swarm problem by using the multiple road segments as particle swarms; and a solution unit, used to solve the optimal solution in the particle swarm and perform iterative updates until the number of iterations reaches a target value or the distance between adjacent optimal solutions is less than a preset threshold, thereby obtaining the air conditioning power of each road segment.
[0015] Optionally, in one embodiment of this application, the segmentation module includes: an acquisition unit, configured to acquire the road length, estimated travel time, and estimated speed change curve of the target path of the target vehicle; and a determination unit, configured to determine the target path information by combining the road length, the estimated travel time, and the estimated speed change curve.
[0016] A third aspect of this application provides an electronic device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the air conditioning control method for a car as described in the above embodiments.
[0017] A fourth aspect of this application provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the above-described method for controlling the air conditioning of an automobile.
[0018] A fifth aspect of this application provides a computer program product, including a computer program that, when executed, is used to implement the above-described method for controlling the air conditioning of an automobile.
[0019] This application embodiment divides the target vehicle's target path into multiple road segments and constructs an air conditioning power objective function to calculate the air conditioning power for each road segment. This yields the air conditioning power of the target vehicle in each road segment, allowing the air conditioning to operate at the corresponding power level for each segment. Thus, under the condition that the air conditioning power of the vehicle is the same in each road segment, and considering the set target control temperature, number of occupants, and temperature adjustment rates corresponding to multiple air conditioning powers, the objective function is to minimize the sum of the vehicle's air conditioning energy consumption and occupant comfort index throughout the entire journey. The maximum control power of the air conditioning is used as a constraint to construct an optimization problem. This problem is solved using particle swarm optimization, ensuring both reduced air conditioning energy consumption and improved passenger comfort, thereby achieving optimal air conditioning power control for both energy saving and comfort. This solves the problems of related air conditioning energy-saving control methods that only consider reducing air conditioning energy consumption in real-time, without addressing energy saving throughout the entire journey, resulting in limited energy consumption reduction.
[0020] Additional aspects and advantages of this application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of this application. Attached Figure Description
[0021] The above and / or additional aspects and advantages of this application will become apparent and readily understood from the following description of the embodiments taken in conjunction with the accompanying drawings, wherein: Figure 1 This is a flowchart of an air conditioning control method for an automobile according to an embodiment of this application; Figure 2 This is a schematic diagram of the structure of an air conditioning control device for an automobile according to an embodiment of this application; Figure 3 This is a schematic diagram of the structure of an electronic device provided according to an embodiment of this application.
[0022] Figure label: 10-Air conditioning control device for automobiles; 100-Division module, 200-Construction module and 300-Control module; 301-Memory, 302-Processor and 303-Communication interface. Detailed Implementation
[0023] The embodiments of this application are described in detail below. Examples of these embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and intended to explain this application, and should not be construed as limiting this application.
[0024] The following description, with reference to the accompanying drawings, describes an embodiment of an automobile air conditioning control method, apparatus, vehicle, storage medium, and program product. Addressing the issue that the air conditioning energy-saving control methods mentioned in the background art only consider reducing air conditioning energy consumption from a real-time perspective and do not perform air conditioning energy-saving control over the entire journey, thus failing to achieve full-journey air conditioning control optimization and having limited energy consumption reduction effects, this application provides an automobile air conditioning control method. According to this method, the target path of the target vehicle can be divided into multiple road segments, and an air conditioning power objective function can be constructed to solve for the air conditioning power of each road segment. This yields the air conditioning power of the target vehicle in each road segment, allowing the air conditioning to operate according to the corresponding air conditioning power for each road segment. Therefore, this method achieves optimal air conditioning power control by minimizing the sum of vehicle air conditioning energy consumption and passenger comfort indices throughout the entire journey, while considering the target control temperature, number of occupants, and temperature adjustment rates corresponding to multiple air conditioning power levels, all under the condition that the air conditioning power of vehicles on each road segment is the same. The objective function is the maximum control power of the air conditioning system, and the constraint is the maximum control power of the air conditioning system. This problem is solved using particle swarm optimization, ensuring both energy reduction and passenger comfort, thus achieving optimal air conditioning power control for both energy saving and comfort. This solves the problems of related air conditioning energy-saving control methods that only consider reducing air conditioning energy consumption in real time, without addressing energy saving throughout the entire journey, resulting in limited energy reduction effects.
[0025] Specifically, Figure 1 This is a flowchart of an automobile air conditioning control method provided in an embodiment of this application.
[0026] like Figure 1 As shown, the air conditioning control method for this car includes the following steps: Step S101: Obtain the target path information of the target vehicle, and divide the target path into multiple road segments based on the target path information; Step S102: When the air conditioning power is the same in each of the multiple road segments, construct an air conditioning power objective function to solve for the air conditioning power of each road segment. Step S103: Solve the air conditioning power objective function to obtain the air conditioning power of the target vehicle in each road segment, so as to control the air conditioning of the target vehicle to operate according to the corresponding air conditioning power in each road segment.
[0027] In some embodiments, in order to achieve optimized air conditioning control of the target vehicle throughout the entire target route, this application can obtain the target route information of the target vehicle and divide the target route into multiple road segments based on the target route information, thereby achieving the most suitable optimized air conditioning control for each road segment. When the most suitable optimized air conditioning control is achieved for each road segment, the optimized air conditioning control of the target vehicle throughout the entire target route can be achieved.
[0028] Here, the target vehicle refers to the vehicle object for which air conditioning optimization control needs to be implemented throughout its target path; the target path refers to the complete path that the target vehicle plans to travel; and the target path information refers to various information about the target path, such as the total length of the target path, the temperature and humidity at each location, etc.
[0029] When dividing the target path into multiple road segments, the embodiments of this application can divide them according to different division rules. For example, the segmentation can be further subdivided within 1 hour of the vehicle's air conditioning being turned on, and then coarsely divided after 1 hour. The specific division rules can be determined by those skilled in the art based on the actual situation. The embodiments of this application are only illustrative and do not impose any specific limitations.
[0030] After dividing the target path into multiple segments, this embodiment of the application can ensure that the air conditioning power of each segment is the same. That is, it assumes that the air conditioning power is the same in each small segment of the path, and constructs an air conditioning power objective function based on the premise that the air conditioning power of each segment is the same. Here, the air conditioning power objective function can be understood as a mathematical expression constructed to find the optimal air conditioning power for each segment.
[0031] By solving the constructed air conditioning power objective function, the embodiment of this application can obtain the optimal air conditioning power of the target vehicle in each road segment. Thus, the air conditioning of the target vehicle can be controlled to operate according to the corresponding air conditioning power of each road segment, thereby realizing that the air conditioning of each road segment can operate at the optimal air conditioning power, and thus completing the air conditioning control of the entire target path, achieving optimal air conditioning control throughout the entire journey.
[0032] This application embodiment can divide the vehicle's global path into several road segments, extend the air conditioning control point to the entire journey, thereby optimizing the air conditioning control throughout the entire journey, obtaining the optimal control power for each road segment, and acquiring the optimal air conditioning control curve. This achieves full-journey air conditioning control optimization, simplifies optimization calculations, improves control accuracy, and enables efficient and feasible full-journey optimal air conditioning control, thereby achieving the goal of reducing energy consumption.
[0033] Optionally, in one embodiment of this application, obtaining the target path information of the target vehicle includes: obtaining the road length, estimated travel time, and estimated speed change curve of the target path of the target vehicle; and determining the target path information by combining the road length, estimated travel time, and estimated speed change curve.
[0034] Based on the descriptions of other embodiments, it is understood that this application can solve the constructed air conditioning power objective function to obtain the optimal air conditioning power of the target vehicle in each road segment, mainly because the conditions of each road segment are different.
[0035] In actual implementation, in order to ensure that the optimal air conditioning power of each road segment can be perfectly adapted to each road segment, the target path information obtained in this application includes, but is not limited to, the road length with the target path, the estimated travel time, and the estimated vehicle speed change curve.
[0036] Here, road length refers to the total length of the target route that the target vehicle plans to travel, as well as the length of each road segment after being divided according to certain segmentation rules. Its core function is to combine the expected vehicle speed change curve to determine the actual heat dissipation conditions of the vehicle in each road segment. For example, long-distance highways = stable vehicle speed = good heat dissipation, etc., which provides a basis for analyzing the temperature change trend inside the vehicle and solving the air conditioning power adapted to the road segment.
[0037] The estimated travel time here refers to the total estimated time for the target vehicle to complete the target route and the estimated travel time for each road segment. The estimated speed variation curve here refers to the estimated speed fluctuation trend of the target route at different times and on different road segments, for example, a speed of 20 km / h from 0-20 minutes, a speed of 110 km / h from 20-60 minutes, and a speed of 30 km / h from 60-90 minutes, etc.
[0038] The specific methods for obtaining road length and calculating the estimated travel time and estimated speed change curve can be, but are not limited to, calculations performed by the vehicle's own algorithm based on the vehicle navigation system or historical driving data. These embodiments are merely illustrative and do not impose specific limitations.
[0039] In this embodiment of the application, the estimated travel time is mainly used to divide the target path. By estimating the travel time, the operating time of the air conditioner can be known, and then the division rules of the target path can be determined. For example, the target path can be divided according to the rule of subdividing within 1 hour of the air conditioner starting and coarsely dividing after 1 hour, so as to ensure that the segmented duration of the target path can match the temperature adjustment logic of the air conditioner, such as rapid adaptation in the early stage and stable maintenance in the later stage.
[0040] The road length combined with the expected vehicle speed change curve can effectively reflect the actual heat dissipation conditions of vehicles on the target route and in each road segment. For example, high-speed driving dissipates heat quickly, while low-speed congestion dissipates heat slowly. This can help determine the temperature change trend inside the vehicle on that road segment, so that the air conditioning power calculated from the air conditioning power objective function can meet the temperature regulation needs of that road segment while avoiding energy waste, ultimately achieving the dual goals of road segment adaptation and full-trip optimization.
[0041] This application embodiment can obtain path information such as the road length, estimated travel time, and estimated vehicle speed change curve of the target path, thereby providing a basis for the reasonable segmentation of the target path and accurate judgment of the heat dissipation conditions of the road segment. This allows the optimal air conditioning power of each road segment to be more suitable for the actual driving scenario, ensuring passenger comfort, reducing air conditioning energy consumption, and improving the accuracy and practicality of air conditioning control throughout the entire journey.
[0042] Optionally, in one embodiment of this application, the segment travel time, occupant comfort index, air conditioning energy consumption of the target route, and maximum air conditioning power are set for constructing the air conditioning power objective function, including: constructing a comfort rating table based on the comfort ratings of multiple users at different airflow and temperature change rates; querying the comfort rating table to obtain the occupant comfort index.
[0043] In some embodiments, in order to reduce air conditioning energy consumption without affecting the driver's driving experience, this application can construct a body temperature rating table based on the body temperature ratings of multiple users at different airflow and temperature change rates. By querying this body temperature rating table, the occupant's body temperature index can be obtained.
[0044] The occupant comfort index is primarily determined through extensive testing with numerous occupants under varying airflow and temperature change rates. Testers rate their comfort levels, and the results are compiled by statistically analyzing all evaluation forms to obtain a comprehensive occupant comfort score. A lower score indicates a better comfort, while a higher score indicates a worse comfort. Table 1 shows an example of an occupant comfort score table from this application, which can be represented as follows: Table 1
[0045] It should be noted that Table 1 is only an illustrative example. The actual body temperature rating table can be constructed by professionals in this field based on a large amount of experimental data, so as to accurately reflect the complex mapping relationship between air volume, temperature change rate and body temperature rating. The embodiments in this application are only illustrative examples and are not specific limitations.
[0046] This application embodiment can quantify the subjective feelings corresponding to different air conditioning parameters (air volume, temperature change rate) through a large number of passenger test statistics to form a body feeling rating table, providing an accurate body feeling evaluation basis for air conditioning power optimization, ensuring that the optimal air conditioning power of each section can reduce energy consumption while ensuring passenger comfort, and making the optimization target more in line with actual use needs.
[0047] Optionally, in one embodiment of this application, an air conditioning power objective function for solving the air conditioning power of each road segment is constructed, including: setting the road segment travel time, passenger comfort index, air conditioning energy consumption of the target route, and maximum air conditioning power for constructing the air conditioning power objective function; using the maximum air conditioning power as a constraint, and combining the road segment travel time, target control temperature, number of passengers, and temperature adjustment rate corresponding to multiple air conditioning powers, constructing an air conditioning power objective function with the goal of minimizing the sum of air conditioning energy consumption of the target route and passenger comfort index.
[0048] Based on the descriptions of other embodiments, it will be understood that the air conditioning power objective function in this application can be understood here as a mathematical expression constructed to find the optimal air conditioning power for each road segment.
[0049] As one possible approach, the objective function of the air conditioning power constructed in this embodiment aims to minimize the sum of the air conditioning energy consumption and the occupant's perceived comfort index along the target path.
[0050] In the construction process, the embodiments of this application can first set the segment travel time, passenger comfort index, air conditioning energy consumption of the target path, and maximum air conditioning power for constructing the air conditioning power objective function. Then, using the maximum air conditioning power as a constraint, and combining the segment travel time (the estimated travel time of the target vehicle on a certain segment of a certain path, which can be calculated based on path planning information (such as road length, traffic conditions, and expected vehicle speed curves)), target control temperature, number of passengers, and temperature adjustment rates corresponding to multiple different air conditioning powers, an air conditioning power objective function is constructed with the goal of minimizing the sum of air conditioning energy consumption and passenger comfort index of the target path.
[0051] Specifically, the embodiments of this application may assume that the air conditioning power of the vehicle is the same on each road segment, and set the target control temperature, the number of occupants, and the temperature adjustment rate corresponding to different air conditioning powers.
[0052] Here, the target control temperature can be understood as a pre-set temperature reference that runs through the entire target path. The specific target control temperature can be set by the user. The target control temperature and the temperature adjustment rate corresponding to different air conditioner powers can be set by professionals in this field based on the actual parameters of the air conditioner and experimentally, or they can be calculated based on the factory parameters of the air conditioner. In this application embodiment, the target control temperature and the temperature adjustment rate corresponding to different air conditioner powers are only illustrative examples and are not specifically limited.
[0053] Then, in this embodiment of the application, the target control temperature, the number of occupants, and the temperature adjustment rate corresponding to different air conditioning power can be used as inputs. The objective function is to minimize the sum of the air conditioning energy consumption and the occupants' comfort index during the entire journey of the vehicle along the target path. The maximum control power of the air conditioner is used as a constraint condition to construct the air conditioning power objective function.
[0054] The specific construction method can be, but is not limited to, the following: The system collects relevant control status of the air conditioning, ambient temperature, and target path information from the cloud to divide the target vehicle's global path (target path) into... Each road segment is designed to have the same air conditioning power in each vehicle, and is equipped with... , , , , The vehicles were in the The data includes air conditioning power, duration, passenger comfort level, air conditioning energy consumption, and maximum air conditioning power for each road segment. Since the maximum power of the air conditioner can be determined based on its design value, the optimization problem, namely the objective function of the air conditioner power, which aims to minimize the sum of the air conditioner energy consumption and the occupants' perceived comfort index during the entire journey of the target path, can be expressed, but is not limited to, as follows:
[0055]
[0056] in, The objective function is defined; , These are coefficients for energy consumption and time, respectively; , These are the vehicle's global path. Total passenger perception index and total energy consumption on each road segment.
[0057] This application embodiment can set a constant air conditioning power for each road segment, and combine actual parameters such as target temperature and number of occupants to construct an objective function with the goal of minimizing the sum of air conditioning energy consumption and occupant comfort index for the entire journey of the target route, and with the maximum air conditioning power as a constraint. This simplifies the optimization calculation process, accurately balances energy consumption and occupant comfort, and complies with air conditioning hardware limitations, making the optimal power for each road segment more practical and feasible.
[0058] Optionally, in one embodiment of this application, solving the air conditioning power objective function to obtain the air conditioning power of the target vehicle in each road segment includes: using multiple road segments as a particle swarm, transforming the air conditioning power objective function into a particle swarm problem; solving the optimal solution in the particle swarm and iteratively updating it until the number of iterations reaches the target value or the distance between adjacent optimal solutions is less than a preset threshold, thereby obtaining the air conditioning power of each road segment.
[0059] In some embodiments, when solving the air conditioning power objective function to obtain the air conditioning power of the target vehicle in each road segment, multiple road segments can be regarded as a particle swarm, thereby transforming the air conditioning power objective function into a particle swarm problem. By solving the optimal solution in the particle swarm and iteratively updating until the number of iterations reaches the target value or the distance between adjacent optimal solutions is less than a preset threshold, the air conditioning power of each road segment can be obtained.
[0060] In this context, the adjacent optimal solution refers to the population optimal solution obtained through two consecutive iterations in the particle swarm optimization algorithm (i.e., the combination of air conditioning power for each route segment that minimizes the sum of total energy consumption and passenger comfort index in each generation). The preset threshold refers to a pre-defined critical value for the algorithm's solution efficiency requirements, used to determine whether the algorithm has converged and avoid meaningless iteration. The specific preset threshold can be set by those skilled in the art based on the air conditioning control accuracy requirements and the algorithm's solution efficiency requirements; for example, it could be set to 0.1. This embodiment is merely illustrative and does not impose specific limitations.
[0061] Furthermore, the distance between adjacent optimal solutions being less than a preset threshold (the difference in the objective function values corresponding to the global optimal solutions obtained from adjacent iterations being less than a preset threshold) can be understood here as follows: in the particle swarm optimization algorithm, the difference in the objective function values corresponding to the population optimal solutions obtained from two consecutive iterations is less than a preset critical value. This indicates that the algorithm has approached the global optimal solution, and continuing iteration cannot significantly improve the optimization effect. Stopping iteration at this time can ensure the accuracy of the solution while taking into account the real-time performance and efficiency of air conditioning power control.
[0062] In simple terms, when the air conditioner is turned on, this embodiment of the application can, based on cloud and road data, use the particle swarm optimization method to optimize the control of the air conditioner control point throughout the entire journey, with the goal of minimizing the sum of the air conditioner energy consumption and the passenger's comfort index over the entire target path, to obtain the optimal air conditioner power control curve. The particle swarm optimization algorithm is a swarm search-based algorithm.
[0063] Specifically, in this embodiment of the application, after treating multiple road segments as particle swarm optimization problems and transforming the air conditioning power objective function into a particle swarm optimization problem, the process of solving the optimal solution in the particle swarm optimization to obtain the air conditioning power of each road segment can be represented, but is not limited to, as follows: Set the group size to Target search space Then the first The position of each particle (corresponding to each position of the vehicle, i.e., each road segment). It can be represented as:
[0064] in, It is A dimensional vector, the first dimensional vector in the vector. Dimension represents the vehicle in the first position. The power of the air conditioners on each section of the road. ; No. The speed of a particle's flight The dimensions in the text represent The direction and step size of the search, where,
[0065] by Indicates the first The optimal solution found by each particle itself:
[0066] Record No. If a particle is the best point in the population, then the optimal solution for all particles in the current population is... The globally optimal solution found in the search for ; The particles are iteratively updated until the number of iterations reaches the upper limit or the distance between adjacent optimal solutions is less than a set threshold, at which point the iteration ends. The result obtained at the end of the iteration can then be used to update the particle size. As the final solution to the optimization problem.
[0067] The particle update formula can be, but is not limited to, expressed as follows:
[0068]
[0069] in, , ; The first particle represents the second particle. dimension, Indicates the number of iterations. , These are individual learning factors and group learning factors, respectively. Pick Independent random numbers between each other.
[0070] It should be noted that the air conditioner in this embodiment can allow users to adjust the on / off state and set the temperature of the air conditioner through a soft switch or hard switch in the vehicle; it can also learn the user's usage habits when the user selects the automatic mode, and predict the user's air conditioning needs based on the ambient temperature, the temperature inside the vehicle, the weather, etc., and automatically control the start and stop of the air conditioner.
[0071] This application embodiment can convert the air conditioning power of each road segment into a particle dimension. Through iterative learning of the particle and the optimal solution of the population, the optimal air conditioning power of each road segment can be quickly found to satisfy the conditions of not exceeding the upper limit of air conditioning power, minimizing energy consumption and human comfort index throughout the entire journey, and obtaining the optimal air conditioning control curve for the entire journey of the target path. It takes into account both optimization efficiency and actual constraints, and considers the human comfort of drivers and passengers while ensuring the reduction of air conditioning energy consumption, thereby achieving the optimal balance control of energy saving and comfort, making the air conditioning control scheme more precise and feasible.
[0072] The following is a detailed explanation of the air conditioning control method for automobiles in this application, using a specific embodiment.
[0073] Assume the target vehicle's air conditioning has a maximum control power of 6kW and supports precise power adjustment; the target route information is as follows: total distance of 180km; estimated travel time of 2 hours, of which 0-60min is highway and 60-120min is urban road; the environment and initial conditions are: high summer temperature, outside temperature 37℃, initial interior temperature of 39℃ after the vehicle has been parked in the open for 1 hour; the target control temperature is 23℃, and there are 3 occupants.
[0074] The target path is divided according to the air conditioning operation logic: The first hour is the air conditioning start-up period, which requires rapid and precise temperature adjustment. It is subdivided into 6 segments every 10 minutes, namely segments 1-6, all of which are highway segments with a vehicle speed of 110km / h and good heat dissipation. After 1 hour, the air conditioning enters the stable period, and the temperature tends to reach the standard. It is roughly divided into 2 segments every 30 minutes, namely segments 7-8, which are urban roads with a vehicle speed of 40km / h and moderate heat dissipation.
[0075] Core parameter settings: Target control temperature: 23℃ (preset comfort temperature for occupants); Number of occupants: 3 people (if the heat load is higher than 2 people, the power needs to be adapted); Set the adjustment rate corresponding to different air conditioning power: for example, 4kW corresponds to a cooling rate of 0.9℃ / min, and 3kW corresponds to a cooling rate of 0.5℃ / min.
[0076] Constraints: Air conditioning power ≤ 6kW (air conditioning calibration parameters); Objective function: Minimize the sum of total energy consumption and overall passenger satisfaction score for the entire trip.
[0077] The optimal power is solved using particle swarm optimization. (1) Particle encoding and iterative logic: Each particle corresponds to the power combination of 8 road segments. For example, particle 1 corresponds to [4kW, 4kW, 3kW, 3kW, 3kW, 3kW, 3kW, 3kW]. The population size is set to 60, and the iteration is 50 generations: Initial iteration: 60 sets of power combinations are randomly generated, and the total energy consumption of each power combination is calculated as the sum of the passenger's perception score; Iterative optimization: Particles continuously learn the optimal solution of themselves and the population. For example, a particle finds that the first two road segments are cooled down quickly with 4kW, and then maintained with 3kW, resulting in a lower total target value; Termination condition: When the iteration reaches 30 generations, the total target value stabilizes at 12.8 and no longer decreases.
[0078] (2) The optimal air conditioning control power for each segment of the final target route is as follows:
[0079] According to the air conditioning control method for automobiles proposed in this application, the target path of the target vehicle can be divided into multiple road segments, and an air conditioning power objective function can be constructed to solve for the air conditioning power of each road segment. This yields the air conditioning power of the target vehicle in each road segment, allowing the air conditioning to operate at the corresponding power level for each segment. Thus, under the condition that the air conditioning power of the vehicle is the same in each road segment, and considering the set target control temperature, number of occupants, and temperature adjustment rate corresponding to different air conditioning powers, the method uses the minimum sum of the vehicle's air conditioning energy consumption and occupant comfort index over the entire journey as the objective function, and the maximum control power of the air conditioning as the constraint condition. An optimization problem is constructed and solved using particle swarm optimization. This approach ensures the reduction of air conditioning energy consumption while considering the comfort of the driver and passengers, thereby achieving optimal air conditioning power control that balances energy saving and comfort. This solves the problems of related air conditioning energy-saving control methods, which only consider reducing air conditioning energy consumption from a real-time perspective and do not perform air conditioning energy-saving control over the entire journey, thus failing to achieve full-journey air conditioning control optimization and having limited energy consumption reduction effects.
[0080] Next, with reference to the accompanying drawings, an air conditioning control device for an automobile according to an embodiment of this application is described.
[0081] Figure 2 This is a schematic diagram of the structure of an air conditioning control device for a car according to an embodiment of this application.
[0082] like Figure 2 As shown, the air conditioning control device 10 of the car includes: a partitioning module 100, a construction module 200, and a control module 300.
[0083] The system includes a segmentation module 100, which acquires the target path information of the target vehicle and divides the target path into multiple road segments based on the target path information; a construction module 200, which constructs an air conditioning power objective function to solve for the air conditioning power of each road segment when the air conditioning power of each road segment is the same; and a control module 300, which solves for the air conditioning power objective function to obtain the air conditioning power of the target vehicle in each road segment, so as to control the air conditioning of the target vehicle to operate according to the corresponding air conditioning power of each road segment.
[0084] Optionally, in one embodiment of this application, the construction module 200 includes: a setting unit, configured to set the segment travel time, occupant comfort index, air conditioning energy consumption of the target path, and maximum air conditioning power for constructing the air conditioning power objective function; and a construction unit, configured to use the maximum air conditioning power as a constraint, combined with the segment travel time, target control temperature, number of occupants, and temperature adjustment rate corresponding to multiple air conditioning powers, to construct an air conditioning power objective function with the goal of minimizing the sum of air conditioning energy consumption of the target path and occupant comfort index.
[0085] Optionally, in one embodiment of this application, the setting unit includes: a construction subunit, used to construct a body feeling score table based on the body feeling scores of multiple users at different air volumes and different temperature change rates; and a query subunit, used to query the body feeling score table to obtain occupant body feeling indexes.
[0086] Optionally, in one embodiment of this application, the control module 300 includes: a conversion unit, used to convert the air conditioning power objective function into a particle swarm problem by using multiple road segments as particle swarms; and a solution unit, used to solve the optimal solution in the particle swarm and perform iterative updates until the number of iterations reaches the target value or the distance between adjacent optimal solutions is less than a preset threshold, so as to obtain the air conditioning power of each road segment.
[0087] Optionally, in one embodiment of this application, the segmentation module 100 includes: an acquisition unit, used to acquire the road length, estimated travel time, and estimated speed change curve of the target path of the target vehicle; and a determination unit, used to determine the target path information by combining the road length, estimated travel time, and estimated speed change curve.
[0088] It should be noted that the foregoing explanation of the embodiment of the automobile air conditioning control method also applies to the automobile air conditioning control device of this embodiment, and will not be repeated here.
[0089] According to the automotive air conditioning control device proposed in this application, the target path of the target vehicle can be divided into multiple road segments, and an air conditioning power objective function can be constructed to solve for the air conditioning power of each road segment. This yields the air conditioning power of the target vehicle in each road segment, allowing the air conditioning to operate at the corresponding power level for each segment. Thus, under the condition that the air conditioning power of the vehicle is the same in each road segment, and considering the set target control temperature, number of occupants, and temperature adjustment rate corresponding to different air conditioning powers, the objective function is to minimize the sum of the vehicle's air conditioning energy consumption and occupant comfort index throughout the entire journey, with the maximum control power of the air conditioning as a constraint. An optimization problem is constructed and solved using particle swarm optimization. This approach ensures both reduced air conditioning energy consumption and consideration of the passenger comfort, thereby achieving optimal air conditioning power control that balances energy saving and comfort. This solves the problems of related air conditioning energy-saving control methods, which only consider reducing air conditioning energy consumption from a real-time perspective and do not perform air conditioning energy-saving control throughout the entire journey, resulting in limited energy consumption reduction.
[0090] Figure 3 A schematic diagram of the structure of a vehicle provided in an embodiment of this application. The vehicle may include: The memory 301, the processor 302, and the computer program stored on the memory 301 and capable of running on the processor 302.
[0091] When the processor 302 executes the program, it implements the air conditioning control method for automobiles provided in the above embodiments.
[0092] Furthermore, the vehicle also includes: Communication interface 303 is used for communication between memory 301 and processor 302.
[0093] The memory 301 is used to store computer programs that can run on the processor 302.
[0094] The memory 301 may include high-speed RAM memory, and may also include non-volatile memory, such as at least one disk storage device.
[0095] If the memory 301, processor 302, and communication interface 303 are implemented independently, then the communication interface 303, memory 301, and processor 302 can be interconnected via a bus to complete communication between them. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc. For ease of representation, Figure 3 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.
[0096] Optionally, in a specific implementation, if the memory 301, processor 302, and communication interface 303 are integrated on a single chip, then the memory 301, processor 302, and communication interface 303 can communicate with each other through an internal interface.
[0097] Processor 302 may be a central processing unit (CPU), an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of this application.
[0098] This application also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the above-described method for controlling the air conditioning of a car.
[0099] This application also provides a computer program product, including a computer program that can run computer instructions. When the computer instructions are executed by a processor, they implement the air conditioning control method for automobiles provided in this application.
[0100] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.
[0101] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this application, "N" means at least two, such as two, three, etc., unless otherwise explicitly specified.
[0102] Any process or method described in the flowchart or otherwise herein can be understood as representing a module, segment, or portion of code comprising one or N executable instructions for implementing custom logic functions or processes, and the scope of the preferred embodiments of this application includes additional implementations in which functions may be performed not in the order shown or discussed, including substantially simultaneously or in reverse order depending on the functions involved, as should be understood by those skilled in the art to which embodiments of this application pertain.
[0103] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by, or in conjunction with, an instruction execution system, apparatus, or device (such as a computer-based system, a processor-included system, or other system that can fetch and execute instructions from, an instruction execution system, apparatus, or device). For the purposes of this specification, "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transmit programs for use by, or in conjunction with, an instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of computer-readable media include: an electrical connection having one or more wires (electronic device), a portable computer disk drive (magnetic device), random access memory (RAM), read-only memory (ROM), erasable and editable read-only memory (EPROM or flash memory), fiber optic devices, and portable optical disc read-only memory (CDROM). Alternatively, the computer-readable medium may be paper or other suitable media on which the program can be printed, since the program can be obtained electronically by optically scanning the paper or other medium, followed by editing, interpreting, or otherwise processing as necessary, and then stored in a computer memory.
[0104] It should be understood that the various parts of this application can be implemented using hardware, software, firmware, or a combination thereof. In the above embodiments, the N steps or methods can be implemented using software or firmware stored in memory and executed by a suitable instruction execution system. If implemented in hardware, as in another embodiment, it can be implemented using any one or more of the following techniques known in the art: discrete logic circuits having logic gates for implementing logical functions on data signals, application-specific integrated circuits (ASICs) having suitable combinational logic gates, programmable gate arrays (PGAs), field-programmable gate arrays (FPGAs), etc.
[0105] Those skilled in the art will understand that all or part of the steps of the methods in the above embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage medium, and when executed, the program includes one or a combination of the steps of the method embodiments.
[0106] Furthermore, the functional units in the various embodiments of this application can be integrated into a processing module, or each unit can exist physically separately, or two or more units can be integrated into a module. The integrated module can be implemented in hardware or as a software functional module. If the integrated module is implemented as a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium.
[0107] The storage medium mentioned above can be a read-only memory, a disk, or an optical disk, etc. Although embodiments of this application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting this application. Those skilled in the art can make changes, modifications, substitutions, and variations to the above embodiments within the scope of this application.
Claims
1. A method for controlling the air conditioning of an automobile, characterized in that, Includes the following steps: Obtain the target route information of the target vehicle, and divide the target route into multiple road segments based on the target route information; Given that the air conditioning power is the same for each of the multiple road segments, an air conditioning power objective function is constructed to solve for the air conditioning power of each road segment. Solve the air conditioning power objective function to obtain the air conditioning power of the target vehicle in each road segment, so as to control the air conditioning of the target vehicle to operate according to the air conditioning power corresponding to each road segment.
2. The method according to claim 1, characterized in that, The construction of the air conditioning power objective function for solving the air conditioning power of each road segment includes: The following parameters are set to be used to construct the target function for air conditioning power: segment travel time, passenger comfort index, air conditioning energy consumption of the target route, and maximum air conditioning power. Using the maximum power of the air conditioner as a constraint, and combining the travel time of the road segment, the target control temperature, the number of passengers, and the temperature adjustment rate corresponding to multiple air conditioner powers, an objective function for the air conditioner power is constructed with the goal of minimizing the sum of the air conditioner energy consumption of the target route and the passenger comfort index.
3. The method according to claim 2, characterized in that, The settings used to construct the air conditioning power objective function include: road segment travel time, passenger comfort index, air conditioning energy consumption of the target route, and maximum air conditioning power. A body comfort rating table was constructed based on the body comfort ratings of multiple users at different airflow and temperature change rates. The occupant's perception index is obtained by querying the aforementioned perception rating table.
4. The method according to claim 1, characterized in that, Solving the objective function for air conditioning power to obtain the air conditioning power of the target vehicle in each road segment includes: Using the multiple road segments as particle swarms, the objective function of air conditioning power is transformed into a particle swarm optimization problem. The optimal solution in the particle swarm is solved and iteratively updated until the number of iterations reaches the target value or the distance between adjacent optimal solutions is less than a preset threshold, so as to obtain the air conditioning power of each road segment.
5. The method according to claim 1, characterized in that, The acquisition of the target route information of the target vehicle includes: Obtain the road length, estimated travel time, and estimated speed change curve of the target path for the target vehicle; The target route information is determined by combining the road length, the estimated travel time, and the estimated vehicle speed change curve.
6. An air conditioning control device for automobiles, characterized in that, include: The segmentation module is used to obtain the target path information of the target vehicle and divide the target path into multiple road segments based on the target path information; A construction module is used to construct an air conditioning power objective function for solving the air conditioning power of each road segment when the air conditioning power of each road segment is the same in the multiple road segments; The control module is used to solve the air conditioning power objective function to obtain the air conditioning power of the target vehicle in each road segment, so as to control the air conditioning of the target vehicle to operate according to the air conditioning power corresponding to each road segment.
7. The apparatus according to claim 6, characterized in that, The building module includes: The setting unit is used to set the segment travel time, passenger comfort index, air conditioning energy consumption of the target path, and maximum air conditioning power for constructing the air conditioning power target function; The construction unit is used to construct an air conditioning power objective function with the maximum power of the air conditioner as a constraint, combined with the travel time of the road segment, the target control temperature, the number of passengers, and the temperature adjustment rate corresponding to multiple air conditioning powers, with the goal of minimizing the sum of the air conditioning energy consumption of the target path and the passenger's comfort index.
8. A vehicle, characterized in that, include: A memory, a processor, and a computer program stored in the memory and executable on the processor, the processor executing the program to implement the air conditioning control method for an automobile as described in any one of claims 1-5.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that, The program is executed by the processor to implement the air conditioning control method for a car as described in any one of claims 1-5.
10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed, it is used to implement the air conditioning control method for a car as described in any one of claims 1-5.