Heater control method, storage medium and vehicle
The control method for vehicle heaters uses temperature-based power adjustments with negative feedback and PID algorithms to address instability, enhancing temperature stability and comfort.
Patent Information
- Application Number
- CN202411336883.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-24
- Publication Date
- 2024-12-17
AI Technical Summary
Existing vehicle heaters, particularly PTC heaters, face instability in temperature control due to environmental factors, leading to poor heat dissipation and overshoot, especially in high ambient temperatures, affecting vehicle performance.
A control method for heaters that adjusts power based on temperature differences using negative feedback and proportional-integral-differential algorithms, with closed-loop control to stabilize outlet temperatures and prevent overshoot.
Stabilizes heater output temperature, reducing fluctuations and improving vehicle comfort and performance by ensuring precise temperature adjustments.
Smart Images

Figure CN119142101A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of vehicle technology, and more particularly to a control method for a heater, a storage medium, and a vehicle. Background Art
[0002] The rapid development of electric vehicles has become one of the important trends in the global automotive industry. People have also put forward more and more extensive requirements on the performance of electric vehicles, such as the safety, comfort, endurance and so on of electric vehicles.
[0003] The vehicle's heater is closely related to the vehicle's various performance indicators. The heater can cooperate with the air conditioning system and the warm air system to provide the required temperature for the vehicle, can be used for battery insulation and preheating, and can participate in window defrosting, greatly improving the comfort and safety of the vehicle. Most of the existing vehicle heaters are PTC (Positive Temperature Coefficient) heaters. When controlling the temperature of the PTC heater, the difference between the current temperature and the target temperature is usually obtained, and then the fixed power corresponding to the difference is determined for temperature adjustment. However, this control method is not suitable for all working conditions and cannot produce good control effects under various operating conditions. In particular, in an environment with high ambient temperature, the heat dissipation effect of the whole vehicle is poor, and overshoot is prone to occur, resulting in unstable control and failure to achieve the required target temperature, affecting the performance of the vehicle. Summary of the invention
[0004] In order to solve the above technical problems, the present disclosure provides a control method of a heater, a storage medium and a vehicle.
[0005] In a first aspect, the present disclosure provides a method for controlling a heater, comprising:
[0006] Based on the heating request, obtaining a water outlet temperature of the heater and a temperature difference between the water outlet temperature and a target temperature corresponding to the heating request;
[0007] Based on the temperature difference being less than a first preset temperature difference, the target temperature corresponding to the heating request is used as a closed-loop target temperature, a negative feedback control algorithm is used to determine a target power of the heater, and the heater is controlled to operate based on the target power.
[0008] In some embodiments, it also includes:
[0009] Based on the temperature difference being greater than or equal to the first preset temperature difference, the heater is controlled to operate at a first power.
[0010] In some embodiments, based on the temperature difference being greater than or equal to the first preset temperature difference, controlling the heater to operate at a first power includes:
[0011] Based on the temperature difference being greater than or equal to a first preset temperature difference, a first power corresponding to the heater is determined to be a maximum power of the heater, and the heater is controlled to operate at the maximum power.
[0012] In some embodiments, based on the temperature difference being less than a first preset temperature difference, taking the target temperature corresponding to the heating request as a closed-loop target temperature, using a negative feedback control algorithm to determine the target power of the heater, and controlling the operation of the heater based on the target power, comprises:
[0013] Based on the temperature difference being less than the first preset temperature difference, the target temperature corresponding to the heating request is used as the closed-loop target temperature, a proportional-integral-differential algorithm is used to determine the target power of the heater, and the operation of the heater is controlled based on the target power.
[0014] In some embodiments, the target temperature corresponding to the heating request is used as a closed-loop target temperature, and a proportional-integral-differential algorithm is used to determine the target power of the heater, including:
[0015] Acquire a temperature difference interval corresponding to the temperature difference and a temperature interval corresponding to the target temperature;
[0016] Determine the adjustment coefficient of the proportional-integral-differential algorithm based on the temperature difference interval corresponding to the temperature difference, the temperature interval corresponding to the target temperature, and the corresponding relationship between the temperature difference interval, the temperature interval and the adjustment coefficient;
[0017] The target temperature corresponding to the heating request is used as a closed-loop target temperature, and based on the determined adjustment coefficient, a target power of the heater is determined by a proportional-integral-differential algorithm.
[0018] In some embodiments, the target temperature corresponding to the heating request is used as a closed-loop target temperature, and a proportional-integral-differential algorithm is used to determine the target power of the heater, including:
[0019] determining a desired power for the heater based on the temperature difference;
[0020] The target temperature corresponding to the heating request is used as the closed-loop target temperature, the expected power is used as the initial power adjustment value, and a proportional-integral-differential algorithm is used to determine the target power of the heater;
[0021] The temperature difference is positively correlated with the expected power.
[0022] In some embodiments, it also includes:
[0023] The expected power of the heater determined based on the temperature difference reaches an expected power upper limit, and the expected power upper limit is determined as the expected power;
[0024] Wherein, the expected power upper limit is determined based on the water flow value of the vehicle cooling circulation loop;
[0025] Based on the temperature difference and a water flow value of a vehicle cooling circuit, a desired power of the heater is determined.
[0026] In some embodiments, controlling the operation of the heater based on the target power includes:
[0027] Based on the target power, a heating unit combination in the heater to be started is determined, and the heating unit combination is controlled to operate.
[0028] In a second aspect, the present disclosure further provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, they are used to implement any of the control methods for the heater provided in the first aspect.
[0029] In a third aspect, the present disclosure further provides a vehicle, comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of any of the methods provided in the first aspect when executing the computer program.
[0030] Compared with the prior art, the technical solution provided by the present invention has the following advantages:
[0031] The control method of the heater provided by the present disclosure includes: based on a heating request, obtaining the outlet temperature of the heater and the temperature difference between the outlet temperature and the target temperature corresponding to the heating request; based on the temperature difference being less than the first preset temperature difference, taking the target temperature corresponding to the heating request as the closed-loop target temperature, using a negative feedback control algorithm to determine the target power of the heater, and controlling the operation of the heater based on the target power. Compare the obtained temperature difference with the first preset temperature difference. If the temperature difference is less than the first preset temperature difference, it is determined that the current temperature difference is small, that is, the current outlet temperature is close to the target temperature corresponding to the heating request, and the adjustment should be more refined to avoid overshoot. Therefore, a negative feedback control algorithm can be used to determine the target power of the heater using closed logic so that the outlet temperature is output stably and meets the target temperature. When the temperature difference between the outlet temperature and the target temperature is small, the present disclosure uses a negative feedback algorithm to adjust the outlet temperature. Through refined closed-loop control, it can not only quickly adjust to the target temperature, but also reduce temperature fluctuations and improve vehicle comfort. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0033] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0034] Figure 1 A schematic flow chart of a method for controlling a heater provided in an embodiment of the present disclosure;
[0035] Figure 2 A partial structural schematic diagram of a vehicle cooling cycle provided by an embodiment of the present disclosure;
[0036] Figure 3 A schematic diagram of a curve showing the relationship between an expected power upper limit and a water flow value provided in an embodiment of the present disclosure;
[0037] Figure 4 A schematic diagram of the structure of a vehicle provided in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0038] In order to more clearly understand the above-mentioned objectives, features and advantages of the present disclosure, the scheme of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features in the embodiments can be combined with each other without conflict.
[0039] In the following description, many specific details are set forth to facilitate a full understanding of the present disclosure, but the present disclosure may also be implemented in other ways different from those described herein; it is obvious that the embodiments in the specification are only part of the embodiments of the present disclosure, rather than all of the embodiments.
[0040] Taking electric vehicles as an example, the heater in the vehicle is closely related to the comfort of the vehicle's warm air conditioning, and also affects the insulation effect of the vehicle's battery, the efficiency of fast charging, and the efficiency of defrosting and defogging, etc. For example, the heater of an electric vehicle can cooperate with the air conditioning system and the warm air system to provide a comfortable temperature environment in the car. When the car needs to be heated, the heater will heat the air and send it into the car, thereby increasing the temperature in the car. It can also be used for battery insulation. The performance of the battery of an electric vehicle may be affected at low temperatures, and the heater can heat the battery and maintain the temperature of the battery, thereby improving the efficiency and performance of the battery. In winter or humid environments, the vehicle glass may produce fog and frost. Starting the heater can quickly defrost and remove moisture in the car, improve the driver's vision clarity, and ensure driving safety. It can also quickly preheat the interior of the vehicle and the battery, so that passengers can feel the comfortable temperature more quickly in a low temperature environment, and at the same time, the battery temperature can quickly reach the optimal working state. Therefore, the heater can provide a comfortable environment for the vehicle and passengers, ensure that the battery works in the best condition, and enhance driving safety.
[0041] The heater used in the prior art is usually a PTC heater. When the PTC heater starts working, the heat it generates will increase the temperature of the surrounding air or medium. As the temperature rises, the resistance of the PTC material gradually increases and the current decreases, so that the heat generated gradually decreases and reaches a balance state, realizing the heater's self-regulating temperature function. However, due to the structure and materials of the PTC heater itself, there is a certain temperature hysteresis in the temperature adjustment process, and the core resistance of the PTC changes with temperature. Affected by environmental factors such as water temperature and flow rate, the power changes dynamically during the heating process, making it difficult to achieve power stability and temperature stability.
[0042] In the prior art, when adjusting such heaters, the difference between the current temperature and the target temperature is usually obtained, and then the fixed power corresponding to the difference is determined for temperature adjustment. However, this control method is not suitable for all working conditions and cannot produce good control effects under various working conditions. Especially in an environment with high ambient temperature, the heat dissipation effect of the whole vehicle is poor, and overshoot is prone to occur, resulting in unstable control, and the required target temperature cannot be achieved, affecting the performance of the vehicle.
[0043] Based on this, the present disclosure provides a control method for a heater. Figure 1 A flowchart of a method for controlling a heater provided in an embodiment of the present disclosure is shown in FIG. Figure 2 A schematic diagram of a partial structure of a vehicle cooling cycle provided by an embodiment of the present disclosure, referring to Figure 1 and Figure 2 , the control method includes S110-S120:
[0044] S110 . Based on a heating request, obtain a water outlet temperature of the heater and a temperature difference between the water outlet temperature and a target temperature corresponding to the heating request.
[0045] The heater includes a water outlet. After the heater is started, the coolant will flow out through the water outlet and flow in the vehicle's cooling circulation water circuit with the temperature carried, and the heat will be transferred to the cabin through the radiator, or flow through the battery heat dissipation channel to heat the battery.
[0046] When the heater needs to be started, a heating request will be generated. The heating request includes the target temperature that needs to be adjusted. Based on this heating request, the vehicle control module obtains the current water outlet temperature of the heater and the target temperature corresponding to the heating request, and can obtain the temperature difference between the water outlet temperature and the target temperature corresponding to the heating request.
[0047] Exemplarily, when the heater is connected to high-voltage electrical signals and low-voltage electrical signals and can communicate normally, the user has a heating demand, such as adjusting the control area of the cockpit dashboard, making a heating request and an air volume request. At this time, the heater communication is awakened, and the current status information of the heater is fed back to the vehicle control module, including the inlet and outlet water temperatures, the actual current consumption, the voltage and other electrical signals. The vehicle control module processes the above electrical parameters, for example, determines the corresponding target temperature according to the heating request, and calculates the temperature difference between the water outlet temperature and the target temperature. The above embodiment generates a heating request for the user to input the required target temperature in the cockpit. In other scenarios, a temperature sensor is arranged around the battery, and the temperature sensor is used to detect the temperature around the battery. When the temperature sensor detects that the battery temperature is too low, a heating request is also generated. Based on this heating request, the vehicle control module obtains the outlet temperature of the heater and the temperature difference between the outlet temperature and the target temperature corresponding to the heating request.
[0048] S120 , based on the temperature difference being less than the first preset temperature difference, taking the target temperature corresponding to the heating request as the closed-loop target temperature, using a negative feedback control algorithm to determine the target power of the heater, and controlling the operation of the heater based on the target power.
[0049] Compare the obtained temperature difference with the first preset temperature difference. If the temperature difference between the water outlet temperature and the target temperature corresponding to the heating request is less than the first preset temperature difference, it means that the difference between the current water outlet temperature and the target temperature is small, and a more refined adjustment of the temperature difference is required to avoid overshoot problems, resulting in instability of the heating system and unstable temperature. For example, the first preset temperature difference is 10°C, the obtained temperature difference is 8°C, the obtained temperature difference is less than the first preset temperature difference, the water outlet temperature is close to the target temperature corresponding to the heating request, and a more refined adjustment of the temperature difference is required. The target temperature corresponding to the heating request is used as the closed-loop target temperature, and the target power of the heater is determined by a negative feedback control algorithm, and the operation of the heater is controlled based on the target power. If the output temperature does not meet the closed target temperature target or temperature fluctuations occur, the target power of the heater is adjusted, the output temperature is changed, so that the output temperature meets the requirements of the closed target temperature and can be output stably, reducing temperature fluctuations. The output temperature here refers to the temperature of the water outlet. Therefore, accurate control of the output temperature of the heater is achieved, the fluctuation and change of the water outlet temperature are effectively suppressed, and the stability and reliability of the output temperature of the heater are improved.
[0050] In the embodiment of the present disclosure, the obtained temperature difference is compared with the first preset temperature difference. If the temperature difference is less than the first preset temperature difference, it is determined that the current temperature difference is small, that is, the current water outlet temperature is close to the target temperature corresponding to the heating request, and the adjustment should be more refined to avoid overshoot. Therefore, a negative feedback control algorithm can be used to determine the target power of the heater using closed logic so that the water outlet temperature is output stably and meets the target temperature. The present disclosure uses a negative feedback algorithm to adjust the water outlet temperature when the temperature difference between the water outlet temperature and the target temperature is small. Through refined closed-loop control, it can not only quickly adjust to the target temperature, but also reduce temperature fluctuations and improve vehicle comfort.
[0051] Optionally, before starting the heater, control the water pump to start first to ensure that the water flow in the vehicle's circulating cooling circuit meets the requirements to avoid insufficient water flow and affect the power of the heater. When the heater is working, the heating units inside the heater are fully or partially powered on to convert electrical energy into heat, and the heat is transferred to the coolant in the vehicle's circulating cooling circuit to achieve the purpose of heating the coolant. The coolant flows in the circuit and transfers the heat to the cabin through the radiator. After the blower is started, it provides hot air to the cabin, or flows through the battery to heat it.
[0052] In some embodiments, it also includes:
[0053] Based on the temperature difference being greater than or equal to the first preset temperature difference, the heater is controlled to operate at a first power.
[0054] Exemplarily, if the temperature difference between the obtained water outlet temperature and the target temperature corresponding to the heating request is greater than or equal to the first preset temperature difference, it means that the difference between the current water outlet temperature and the target temperature corresponding to the heating request is large, and there is a large adjustment space. At this stage, it is not easy to have overshoot problems. The heater can be directly controlled to run at the first power to make preliminary adjustments to the water outlet temperature. For example, the first preset temperature difference is 10°C, the obtained temperature difference is 20°C, the obtained temperature difference is greater than the first preset temperature difference, and the water outlet temperature is far from the target temperature corresponding to the heating request. In order to make the water outlet temperature rise quickly, increase the heating speed, and reduce the temperature lag, a fixed power can be used to control the heater to run, and the water outlet temperature can be quickly adjusted to a certain range so that the temperature difference is less than the first preset temperature difference. And because the obtained temperature difference is greater than the first preset temperature difference, the range of temperature growth is allowed to be larger, and there will be no overshoot problems.
[0055] In some embodiments, based on the temperature difference being greater than or equal to a first preset temperature difference, controlling the heater to operate at a first power includes:
[0056] Based on the temperature difference being greater than or equal to the first preset temperature difference, the first power corresponding to the heater is determined to be the maximum power of the heater, and the heater is controlled to operate at the maximum power.
[0057] When the temperature difference is greater than or equal to the first preset temperature difference, the outlet temperature is allowed to change to a greater extent to reduce the temperature difference between the outlet temperature and the target temperature corresponding to the heating request. Therefore, the heater can be directly controlled to operate at the first power without worrying about the situation where the adjusted outlet temperature is much higher than the target temperature. The first power corresponding to the heater can be the maximum power allowed by the heater. When the heater operates at the maximum power, the outlet temperature of the heater increases rapidly, which can increase the heating speed of the heater and avoid the outlet temperature of the heater changing too slowly, affecting the performance of the vehicle. For example, the first preset temperature difference is 10°C, the temperature difference between the outlet temperature obtained and the target temperature corresponding to the heating request is 20°C, and the maximum power of the heater is 7.4kW. Since the temperature difference obtained is greater than the first preset temperature difference, the first power corresponding to the heater should be adjusted to 7.4kW, and the heater should be controlled to operate at this power to quickly heat the coolant so that the temperature difference between the outlet temperature and the target temperature is less than 10°C, and then enter the subsequent fine adjustment step. Among them, the maximum power allowed by different types of heaters may be different, and the specific maximum power can be selected and set according to actual needs.
[0058] It should be noted that the embodiment of the present disclosure does not limit the specific value of the first power. In other implementations, the first power may not be the maximum power of the heater, and other powers that can accelerate the change of the temperature of the water outlet of the heater may be selected.
[0059] In some embodiments, based on the temperature difference being less than a first preset temperature difference, taking the target temperature corresponding to the heating request as the closed-loop target temperature, using a negative feedback control algorithm to determine the target power of the heater, and controlling the operation of the heater based on the target power, including:
[0060] Based on the temperature difference being less than the first preset temperature difference, the target temperature corresponding to the heating request is used as the closed-loop target temperature, a proportional-integral-differential algorithm is used to determine the target power of the heater, and the operation of the heater is controlled based on the target power.
[0061] Exemplarily, the negative feedback control algorithm includes a proportional-integral-differential algorithm, and the disclosed embodiment adopts the proportional-integral-differential algorithm to determine the target power of the heater. When the temperature difference is less than the first preset temperature difference, the temperature difference between the water outlet temperature of the heater and the target temperature corresponding to the heating request is small, and the temperature should be adjusted more precisely to avoid exceeding the target temperature. Therefore, the target temperature corresponding to the heating request can be used as the closed-loop target temperature, and the water outlet temperature can be closed-loop controlled using the proportional-integral-differential algorithm, so that the water outlet temperature is always maintained within a certain range of the closed-loop target temperature, for example, the water outlet temperature is maintained at about ±1°C of the closed target temperature. The closed-loop control of the water outlet temperature by the proportional-integral-differential algorithm is more precise than the ordinary fixed control method, and the water outlet temperature is detected at all times to avoid fluctuations in the water outlet temperature. Once fluctuations occur, adjustments can be made quickly and accurately.
[0062] The temperature of the water outlet of the heater depends on the power of the heater. As the power increases, the water outlet temperature will increase accordingly. When the water outlet temperature is maintained at the closed-loop target temperature, the proportional-integral-differential algorithm can be used to calculate the target power of the heater to avoid power fluctuations and large current fluctuations that affect the vehicle's power supply system. For example, the corresponding adjustment coefficient is determined based on the obtained temperature difference, and it is used as a parameter in the proportional-integral-differential calculation formula to adjust the heater power, determine the target power of the heater, and control the heater to increase the temperature based on the target power. The closed-loop control method is used to keep the target power of the heater stable during operation, so that the temperature can rise steadily and reduce temperature overshoot.
[0063] In some embodiments, the target temperature corresponding to the heating request is used as the closed-loop target temperature, and a proportional-integral-differential algorithm is used to determine the target power of the heater, including:
[0064] Get the temperature difference interval corresponding to the temperature difference and the temperature interval corresponding to the target temperature.
[0065] Based on the temperature difference interval corresponding to the temperature difference, the temperature interval corresponding to the target temperature, and the corresponding relationship between the temperature difference interval, the temperature interval and the adjustment coefficient, the adjustment coefficient of the proportional integral differential algorithm is determined.
[0066] Taking the target temperature corresponding to the heating request as the closed-loop target temperature, based on the determined adjustment coefficients, the target power of the heater is determined through the proportional-integral-derivative algorithm.
[0067] Exemplarily, the target power for maintaining the outlet temperature of the heater at the closed target temperature is determined by the proportional-integral-derivative algorithm. When the temperature difference between the outlet temperature and the target temperature corresponding to the heating request is different and the target temperature is different, the adjustment coefficients for determining the target power are also different. Here, the adjustment coefficients include the proportional coefficient and the integral coefficient. Therefore, it is necessary to obtain the temperature difference interval corresponding to the temperature difference and the temperature interval corresponding to the target temperature, and refer to the corresponding relationship between the temperature difference interval, the temperature interval, and the adjustment coefficients described in Table 1. Based on the temperature difference interval corresponding to the temperature difference, the temperature interval corresponding to the target temperature, and the corresponding relationship between the temperature difference interval, the temperature interval, and the adjustment coefficients, the adjustment coefficients of the proportional-integral-derivative algorithm are determined. For example, when the target temperature is 55°C and the obtained temperature difference (TempErr) is 5°C, referring to the corresponding relationship between the temperature difference interval, the temperature interval, and the adjustment coefficients, the adjustment coefficients are obtained from the table. Among them, the proportional coefficient is Kp12 and the integral coefficient is Ki12. In the proportional-integral-derivative calculation formula, Kp12 and Ki12 are used as the adjustment coefficients. Furthermore, taking the target temperature corresponding to the heating request as the closed-loop target temperature, based on the determined adjustment coefficients, the target power of the heater is determined through the proportional-integral-derivative algorithm. The determined target power is relatively stable, and a relatively stable target temperature can be output, which can improve the stability and comfort of the vehicle system.
[0068] Among them, Table 1 shows the corresponding relationship between the temperature difference interval, the temperature interval, and the adjustment coefficients. For example, the temperature difference between the outlet temperature and the target temperature corresponding to the heating request is divided into two temperature difference intervals. The first temperature difference interval is 2°C < TempErr < 10°C, and the second temperature difference interval is 0°C < TempErr. Different temperature difference intervals correspond to different adjustment coefficients. The target temperature is divided into four temperature intervals. The target temperature in the first temperature interval is below 31°C, the target temperature in the second temperature interval is 31 - 50°C, the target temperature in the third temperature interval is 51 - 70°C, and the target temperature in the fourth temperature interval is above 70°C. Different temperature intervals correspond to different adjustment coefficients.
[0069] Table 1 Corresponding relationship between temperature difference interval, temperature interval, and adjustment coefficients
[0070]
[0071] Taking the target temperature of 40℃ as an example, if the temperature difference between the target temperature and the outlet temperature is in the first temperature difference interval, the proportional coefficient is Kp13 and the integral coefficient is Ki13; if the temperature difference between the target temperature and the outlet temperature is in the second temperature difference interval, the proportional coefficient is Kp23 and the integral coefficient is Ki23. Among them, Kp13>Kp23, Ki13>Ki23, the smaller the temperature difference, the more likely it is to overshoot, so the adjustment coefficient should be smaller to make the adjustment more precise.
[0072] Taking the temperature difference of 5°C as an example, if the target temperature is 25°C, which belongs to the fourth temperature range, the proportional coefficient is Kp14 and the integral coefficient is Ki14; if the target temperature is 55°C, which belongs to the second temperature range, the proportional coefficient is Kp12 and the integral coefficient is Ki12. Among them, Kp12>Kp14, Ki12>Ki14, the higher the target temperature, the larger the range to be adjusted, and therefore the larger the adjustment coefficient.
[0073] It should be noted that different target temperatures and different temperature differences correspond to different adjustment coefficients. The embodiment of the present disclosure only provides an exemplary correspondence between a temperature difference range, a temperature range and an adjustment coefficient (Table 1). The specific values can be determined through actual vehicle tests. Different vehicle models correspond to different adjustment coefficients. The corresponding relationship can be adjusted according to actual needs. In addition, the adjustment coefficient in the embodiment of the present disclosure only mentions the proportional coefficient and the integral coefficient. In other embodiments, it can also be other combinations, and the embodiment of the present disclosure does not limit this.
[0074] In some embodiments, the target temperature corresponding to the heating request is used as the closed-loop target temperature, and a proportional-integral-differential algorithm is used to determine the target power of the heater, including:
[0075] A desired power for the heater is determined based on the temperature difference.
[0076] The target temperature corresponding to the heating request is taken as the closed-loop target temperature, the expected power is taken as the initial power adjustment value, and the proportional-integral-differential algorithm is used to determine the target power of the heater.
[0077] Among them, the temperature difference is positively correlated with the expected power.
[0078] Exemplarily, to stably maintain the water outlet temperature of the heater at the target temperature, the heater needs to be operated at the target power, and obtaining the target power also needs to be combined with the expected power of the heater, wherein the expected power is determined by the temperature difference between the water outlet temperature and the target temperature corresponding to the heating request, and the temperature difference is positively correlated with the expected power. That is, the greater the temperature difference, the greater the expected power required to adjust the temperature difference to 0°C, and the smaller the temperature difference, the smaller the expected power required to adjust the temperature difference to 0°C. Therefore, in combination with the closed target temperature, the expected power is used as the initial power adjustment value, and the obtained adjustment coefficient is used to adjust the initial power adjustment value of the heater using the proportional integral differential algorithm to obtain the target power, and the heater operation is controlled based on the target power, so that the power of the heater can make the water outlet temperature of the heater reach the target temperature corresponding to the heating request as quickly as possible, thereby improving the response speed of the heater and improving the stability of the vehicle system.
[0079] In some embodiments, Figure 3 A schematic diagram of a relationship curve between an expected power upper limit and a water flow value provided in an embodiment of the present disclosure, referring to Figure 3 , also includes:
[0080] The expected power of the heater determined based on the temperature difference reaches an upper limit of the expected power, and the upper limit of the expected power is determined as the expected power;
[0081] The expected power upper limit is determined based on a water flow value of a vehicle cooling circulation loop.
[0082] Based on the temperature difference and the water flow value of the vehicle cooling circuit, the desired power of the heater is determined.
[0083] The expected power of the heater is positively correlated with the temperature difference, but the expected power of the heater does not increase infinitely. Affected by the safety performance of the vehicle, the expected power of the heater has an upper limit, which is related to the water flow value of the vehicle's cooling circuit. If the expected power of the heater increases infinitely, it will affect other circuits of the vehicle and easily affect the vehicle's control module. Therefore, the water flow value of the vehicle's cooling circuit can be combined when determining the expected power. Figure 3 The horizontal axis represents the water flow value (L / min) of the vehicle cooling cycle, and the vertical axis represents the expected power limit (W). For example, when the water flow value is 1L / min, the expected power limit is 1000W, and when the water flow value is 9L / min, the expected power limit is 7400W. Therefore, based on the temperature difference and the water flow value of the vehicle cooling cycle, the expected power of the heater can be determined to avoid excessive power and other safety issues.
[0084] In some embodiments, controlling heater operation based on a target power includes:
[0085] Based on the target power, the heating unit combination in the heater to be started is determined, and the operation of the heating unit combination is controlled.
[0086] The heater includes multiple heating units, and the heater power obtained by starting different heating unit combinations is different. Therefore, when starting the heating units in the heater based on the target power, the heating unit components in the heater that need to be started should be determined first. For example, the heater includes 3 heating units, the first heating unit is controlled by the first switch, the second heating unit is controlled by the second switch, and the third heating unit is controlled by the third switch. If it is determined based on the target power that only the first heating unit and the second heating unit need to be started, and the third heating unit does not need to be started, then the first switch and the second switch are controlled to be turned on, the third switch is turned off, and the heating unit combination is controlled to operate so that the heater can reach the target power.
[0087] In some other embodiments, if the ambient temperature and the coolant temperature are both relatively low in low-temperature conditions, the cabin heating will adjust the instrument panel temperature to the highest and the fan to a higher gear. At this time, the temperature difference between the water outlet temperature and the target temperature corresponding to the heating request is large, greater than the first preset temperature difference. The heater will run at maximum power and the water pump will also run at maximum flow rate, so as to adjust the temperature in a short time, quickly reduce the temperature difference, and increase the heating speed. Due to the large current temperature difference, there will be no overshoot phenomenon when adjusting the temperature with a fixed power, and it will not affect the stability of the temperature and power. Until the temperature difference is less than the first preset temperature, the control mode of the heater is adjusted to a negative feedback control algorithm, and the open-loop control is transformed into a refined closed-loop control. For example, the target power of the heater is adjusted by a proportional integral differential algorithm to make it output stably and obtain a target temperature corresponding to the heating request with less fluctuation. The use of this control method can not only ensure the heating rate of the heater, but also meet the stability requirements of the control process.
[0088] It should be noted that the embodiments of the present disclosure do not impose any specific restrictions on the structure of the heating unit. The above embodiments are only used as examples, and the specific structure and connection relationship can be selected according to actual needs.
[0089] The embodiments of the present disclosure further provide a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement the steps of the method for controlling a heater as described in any of the above embodiments.
[0090] It should be noted that examples of readable storage media include, but are not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or components, or any combination thereof. More specific examples of readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In this document, a readable storage medium may be any tangible medium containing or storing a program that may be used by or in conjunction with an instruction execution system, device or component.
[0091] The storage medium provided in the above-mentioned embodiments of the present disclosure and the heater control method provided in the embodiments of the present application are based on the same inventive concept and have the same beneficial effects as the methods adopted, run or implemented by the application programs or instructions stored therein.
[0092] The present disclosure also provides a vehicle, Figure 4 A schematic diagram of a vehicle structure provided by an embodiment of the present disclosure, referring to Figure 4 , including a memory 41 and a processor 42, wherein the memory 41 stores a computer program, and the processor 42 implements the steps of the heater control method described in any of the above embodiments when executing the computer program.
[0093] It can be understood that the memory in this embodiment can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memory. In some embodiments, the memory stores the following elements: executable units or data structures, or their subsets, or their extended sets of operating systems and applications. In the embodiment of the present disclosure, the processor executes the steps of each embodiment of the control method of the heater provided in the embodiment of the present disclosure by calling the program or instruction stored in the memory.
[0094] The control method of the heater provided in the embodiment of the present disclosure can be applied to a processor or implemented by a processor. The processor can be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware in the processor or an instruction in the form of software. The above processor can be a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc.
[0095] The steps of the control method of the heater provided in the embodiment of the present disclosure can be directly embodied as being executed by a hardware decoding processor, or can be executed by a combination of hardware and software units in the decoding processor. The software unit can be located in a mature storage medium in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in a memory, and the processor reads the information in the memory and completes the steps of the method in combination with its hardware.
[0096] The vehicle may also include a physical component, or multiple physical components, according to the instructions generated by the processor when executing the control method of the heater provided in the embodiment of the present disclosure. Different physical components can be set inside the vehicle, or outside the vehicle, such as a cloud server, etc. Each physical component cooperates with the processor and the memory to realize the functions of the vehicle in this embodiment.
[0097] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0098] The above description is only a specific embodiment of the present disclosure, so that those skilled in the art can understand or implement the present disclosure. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure will not be limited to the embodiments described herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A method for controlling a heater, characterized in that: include: Based on the heating request, obtaining a water outlet temperature of the heater and a temperature difference between the water outlet temperature and a target temperature corresponding to the heating request; Based on the temperature difference being less than a first preset temperature difference, the target temperature corresponding to the heating request is used as a closed-loop target temperature, a negative feedback control algorithm is used to determine a target power of the heater, and the heater is controlled to operate based on the target power.
2. The method for controlling a heater according to claim 1, characterized in that: Also includes: Based on the temperature difference being greater than or equal to the first preset temperature difference, the heater is controlled to operate at a first power.
3. The control method of the heater according to claim 2, characterized in that: The controlling the heater to operate at a first power based on the temperature difference being greater than or equal to the first preset temperature difference comprises: Based on the temperature difference being greater than or equal to a first preset temperature difference, a first power corresponding to the heater is determined to be a maximum power of the heater, and the heater is controlled to operate at the maximum power.
4. The method for controlling a heater according to claim 1, characterized in that: The method of determining the target power of the heater by using a negative feedback control algorithm based on the temperature difference being less than a first preset temperature difference and taking the target temperature corresponding to the heating request as a closed-loop target temperature, and controlling the operation of the heater based on the target power includes: Based on the temperature difference being less than the first preset temperature difference, the target temperature corresponding to the heating request is used as the closed-loop target temperature, a proportional-integral-differential algorithm is used to determine the target power of the heater, and the operation of the heater is controlled based on the target power.
5. The method for controlling a heater according to claim 4, characterized in that: The method of using the target temperature corresponding to the heating request as the closed-loop target temperature and using a proportional-integral-differential algorithm to determine the target power of the heater includes: Acquire a temperature difference interval corresponding to the temperature difference and a temperature interval corresponding to the target temperature; Determine the adjustment coefficient of the proportional-integral-differential algorithm based on the temperature difference interval corresponding to the temperature difference, the temperature interval corresponding to the target temperature, and the corresponding relationship between the temperature difference interval, the temperature interval and the adjustment coefficient; The target temperature corresponding to the heating request is used as the closed-loop target temperature, and based on the determined adjustment coefficient, the target power of the heater is determined by a proportional-integral-differential algorithm.
6. The method for controlling a heater according to claim 4, characterized in that: The method of using the target temperature corresponding to the heating request as the closed-loop target temperature and using a proportional-integral-differential algorithm to determine the target power of the heater includes: determining a desired power for the heater based on the temperature difference; The target temperature corresponding to the heating request is used as the closed-loop target temperature, the expected power is used as the initial power adjustment value, and a proportional-integral-differential algorithm is used to determine the target power of the heater; The temperature difference is positively correlated with the expected power.
7. The method for controlling a heater according to claim 6, characterized in that: Also includes: The expected power of the heater determined based on the temperature difference reaches an expected power upper limit, and the expected power upper limit is determined as the expected power; Wherein, the expected power upper limit is determined based on the water flow value of the vehicle cooling circulation loop; Based on the temperature difference and a water flow value of a vehicle cooling circuit, a desired power of the heater is determined.
8. The method for controlling a heater according to claim 1, characterized in that: The controlling the operation of the heater based on the target power comprises: Based on the target power, a heating unit combination in the heater to be started is determined, and the heating unit combination is controlled to operate.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, they are used to implement the control method of the heater according to any one of claims 1 to 8.
10. A vehicle, characterized in that: The method comprises a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the method according to any one of claims 1 to 8 when executing the computer program.
