Methods, devices, equipment, and media for determining the output duty cycle
By determining the target PID parameters and output duty cycle of the electronically controlled silicone oil fan, the problem of the electronically controlled silicone oil fan failing to meet the engine's cooling requirements was solved, avoiding integral saturation of the PID regulator and ensuring normal engine operation and cooling performance.
Patent Information
- Application Number
- CN202410125459.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-29
- Publication Date
- 2026-11-17
- Estimated Expiration
- 2044-01-29
AI Technical Summary
The output duty cycle of the electronically controlled silicone oil fan cannot meet the actual cooling requirements of the engine, causing the PID controller to enter integral saturation, which affects the engine's performance and cooling effect.
By acquiring the engine's first operating speed and the fan's target set speed, the target PID parameters of the fan are determined. When the engine's first operating speed exceeds the idle speed, the target enable flag is determined based on the target set speed and the preset fan speed. Finally, the target output duty cycle is determined from the duty cycle lookup table.
It effectively solves the problem that the duty cycle of the electronically controlled silicone oil fan output cannot meet the engine's heat dissipation requirements, avoids the PID regulator from entering integral saturation, and ensures the normal operation and heat dissipation effect of the engine.
Smart Images

Figure CN117988964B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of engine accessory control, and more particularly to a method, apparatus, device, and medium for determining the output duty cycle. Background Technology
[0002] With the continuous development of the automotive industry, the requirements for the heat dissipation performance of engine cooling systems are becoming increasingly stringent. As a core component of the engine cooling system, the electronically controlled silicone oil fan is crucial for the normal operation of the engine. By employing PWM signals, this fan can precisely control the valve opening of the driven plate's oil inlet, thereby finely adjusting the fan speed and ensuring the engine's normal operating temperature.
[0003] However, existing electronically controlled silicone oil fans still face some challenges in practical applications. Due to the fluidity of silicone oil and the characteristics of mechanical transmission, there is a certain lag in clutch engagement. This lag results in insufficiently fast and precise fan speed regulation, thus affecting the fan's output duty cycle. When the engine needs to increase or decrease cooling, the fan speed cannot respond in time, leading to inaccurate adjustment of the fan's output duty cycle, thereby affecting engine performance and cooling efficiency. Furthermore, due to mechanical characteristics and external conditions, the fan requires a certain amount of time to transition from fully engaged to disengaged, resulting in prolonged fan speed deviation. This speed deviation may cause the PID control to enter integral saturation, further affecting the fan's output duty cycle.
[0004] Therefore, how to solve the problem that the output duty cycle of the electronically controlled silicone oil fan cannot meet the actual cooling requirements of the engine, and further solve the problem that the PID regulator enters integral saturation state due to the speed deviation of the electronically controlled silicone oil fan. Summary of the Invention
[0005] This application provides a method, apparatus, device, and medium for determining the output duty cycle, which is used to solve the problem that the output duty cycle of the electronically controlled silicone oil fan cannot meet the actual heat dissipation requirements of the engine, thereby further solving the problem that the PID controller enters integral saturation state due to the speed deviation of the electronically controlled silicone oil fan.
[0006] Firstly, this application provides a method for determining the output duty cycle, comprising:
[0007] Obtain the first operating speed of the engine and the target set speed of the fan;
[0008] Based on the first operating speed and the target set speed, the target PID parameters of the fan are determined, and the number of parameters of the target PID parameters is not unique.
[0009] Determine whether the first operating speed exceeds the engine's idle speed;
[0010] When the first operating speed exceeds the idle speed, the target enable flag corresponding to the target PID parameter is determined based on the target set speed and the first preset fan speed.
[0011] The target output duty cycle of the fan is determined based on the target enable flag and duty cycle lookup table.
[0012] Optionally, the target PID parameters include: a target proportional parameter, a target integral parameter, and a target derivative parameter. Determining the target PID parameters of the fan based on the first operating speed and the target set speed includes:
[0013] Obtain the second operating speed of the fan;
[0014] The target speed deviation of the fan is determined based on the target set speed and the second operating speed;
[0015] The target proportional parameter, target integral parameter, and target derivative parameter are determined based on the target speed deviation, the first operating speed, and the target set speed.
[0016] Optionally, determining the target proportional parameter, target integral parameter, and target derivative parameter based on the target speed deviation, the first operating speed, and the target set speed includes:
[0017] Obtain a parameter lookup table, which includes: multiple candidate proportional parameters, multiple candidate integral parameters, and multiple candidate differential parameters;
[0018] Determine whether the target speed deviation is greater than a first preset speed deviation, wherein the first preset speed deviation has a first correlation with the proportional parameter;
[0019] If so, then based on the first operating speed and the target set speed, a first candidate proportional parameter is determined from the plurality of candidate proportional parameters, and the first candidate proportional parameter is determined as the target proportional parameter;
[0020] and / or;
[0021] Determine whether the target speed deviation is greater than a second preset speed deviation, wherein the second preset speed deviation has a second correlation with the integral parameter;
[0022] If so, then based on the first operating speed and the target set speed, a first candidate integral parameter is determined from the plurality of candidate integral parameters, and the first candidate integral parameter is determined as the target integral parameter;
[0023] and / or;
[0024] The target differential parameter is determined from the plurality of candidate differential parameters based on the first operating speed and the target set speed.
[0025] Optionally, determining the target enable flag corresponding to the target PID parameter based on the target set speed and the first preset fan speed includes:
[0026] Obtain an enable flag table, wherein the enable flag table includes: multiple candidate enable flag bits;
[0027] Determine whether the target set speed exceeds the first preset fan speed;
[0028] If not, then the target enable flag is determined from the plurality of candidate enable flags based on the integral parameter and the first preset integral parameter;
[0029] If so, the target enable flag is determined from the plurality of candidate enable flags based on the target set speed and the second preset fan speed.
[0030] Optionally, determining the target enable flag from the plurality of candidate enable flags based on the integration parameter and the first preset integration parameter includes:
[0031] Determine whether the integral parameter is greater than the first preset integral parameter;
[0032] If so, the first candidate enable flag among the plurality of candidate enable flags is determined as the target enable flag;
[0033] If not, then the second candidate enable flag among the plurality of candidate enable flags is determined as the target enable flag.
[0034] Optionally, determining the target enable flag bit from the plurality of candidate enable flag bits based on the target set speed and the second preset fan speed includes:
[0035] Determine whether the target set speed is greater than the second preset speed;
[0036] If so, the third candidate enable flag among the plurality of candidate enable flags is determined as the target enable flag;
[0037] If not, the first candidate enable flag among the plurality of candidate enable flags is determined as the target enable flag.
[0038] Optionally, after determining the target enable flag corresponding to the target PID parameter based on the target set speed and the first preset fan speed, the method further includes:
[0039] Determine whether the target enable flag is a preset enable flag, wherein the preset enable flag is used to indicate that the working state of the PID controller is integral saturation.
[0040] If not, the integral controller is controlled to execute a reset instruction, which is used to reset the integral parameter of the PID controller to zero.
[0041] Secondly, this application provides an apparatus for determining the output duty cycle, comprising:
[0042] The acquisition module is used to acquire the first operating speed of the engine and the target set speed of the fan;
[0043] The determination module is used to determine the target PID parameters of the fan based on the first operating speed and the target set speed, wherein the number of parameters of the target PID parameters is not unique.
[0044] The judgment module is used to determine whether the first operating speed exceeds the idle speed of the engine;
[0045] The determining module is further configured to determine a target enable flag corresponding to the target PID parameter based on the target set speed and the first preset fan speed when the first operating speed exceeds the idle speed;
[0046] The determining module is also used to determine the target output duty cycle of the fan based on the target enable flag and the duty cycle lookup table.
[0047] Optionally, the acquisition module is further configured to acquire the second operating speed of the fan;
[0048] The determining module is further configured to determine the target speed deviation of the fan based on the target set speed and the second operating speed;
[0049] The determining module is specifically used to determine the target proportional parameter, the target integral parameter, and the target differential parameter based on the target speed deviation, the first operating speed, and the target set speed.
[0050] Optionally, the acquisition module is further configured to acquire a parameter lookup table, which includes: multiple candidate proportional parameters, multiple candidate integral parameters, and multiple candidate differential parameters;
[0051] The judgment module is further configured to determine whether the target speed deviation is greater than a first preset speed deviation, wherein the first preset speed deviation has a first correlation with the proportional parameter;
[0052] The determining module is further configured to, when the target speed deviation is greater than the first preset speed deviation, determine a first candidate proportional parameter from the plurality of candidate proportional parameters based on the first working speed and the target set speed, and determine the first candidate proportional parameter as the target proportional parameter;
[0053] and / or;
[0054] The judgment module is also used to determine whether the target speed deviation is greater than the second preset speed deviation, wherein the second preset speed deviation has a second correlation with the integral parameter;
[0055] The determining module is further configured to, when the target speed deviation is greater than the second preset speed deviation, determine a first candidate integral parameter from the plurality of candidate integral parameters based on the first operating speed and the target set speed, and determine the first candidate integral parameter as the target integral parameter;
[0056] and / or;
[0057] The determining module is further configured to determine the target differential parameter from the plurality of candidate differential parameters based on the first operating speed and the target set speed.
[0058] Optionally, the acquisition module is further configured to acquire an enable flag table, the enable flag table including: multiple candidate enable flag bits;
[0059] The judgment module is also used to determine whether the target set speed exceeds the first preset fan speed;
[0060] The determining module is further configured to, when the target set speed does not exceed the first preset fan speed, determine the target enable flag bit from the plurality of candidate enable flag bits according to the integral parameter and the first preset integral parameter;
[0061] The determining module is further configured to, when the target set speed exceeds the first preset fan speed, determine the target enable flag bit from the plurality of candidate enable flag bits according to the target set speed and the second preset fan speed.
[0062] Optionally, the judging module is further configured to judge whether the integral parameter is greater than the first preset integral parameter;
[0063] The determining module is further configured to determine the first candidate enable flag bit among the plurality of candidate enable flag bits as the target enable flag bit when the integral parameter is greater than the first preset integral parameter;
[0064] The determining module is further configured to determine the second candidate enable flag bit among the plurality of candidate enable flag bits as the target enable flag bit when the integral parameter is not greater than the first preset integral parameter.
[0065] Optionally, the judgment module is further configured to determine whether the target set speed is greater than the second preset speed;
[0066] The determining module is further configured to determine the third candidate enable flag bit among the plurality of candidate enable flag bits as the target enable flag bit when the target set speed is greater than the second preset speed;
[0067] The determining module is further configured to determine the first candidate enable flag bit among the plurality of candidate enable flag bits as the target enable flag bit when the target set speed is not greater than the second preset speed.
[0068] Optionally, the judgment module is further configured to determine whether the target enable flag is a preset enable flag, wherein the preset enable flag is used to indicate that the working state of the PID regulator is integral saturation.
[0069] The device further includes: a control module;
[0070] The control module is further configured to, when the target enable flag is not a preset enable flag, control the integral controller to execute a clear instruction, the clear instruction being used to reset the integral parameter of the PID controller to zero.
[0071] Thirdly, this application provides a device for determining the output duty cycle, comprising:
[0072] Memory;
[0073] processor;
[0074] The memory stores computer-executed instructions;
[0075] The processor executes computer execution instructions stored in the memory to implement the method for determining the output duty cycle as described in the first aspect and various possible implementations of the first aspect above.
[0076] Fourthly, this application provides a computer storage medium storing computer execution instructions thereon, which are executed by a processor to implement the method for determining the output duty cycle as described in the first aspect and various possible implementations of the first aspect above.
[0077] The method for determining the output duty cycle provided in this application, after obtaining the engine's first operating speed and the fan's target set speed, firstly determines the target PID parameters of the fan based on the engine's first operating speed and the fan's target set speed. Then, when it is determined that the engine's first operating speed exceeds the engine's idle speed, it determines the target enable flag corresponding to the target PID parameters based on the fan's target set speed and the first preset fan speed. Finally, it determines the target output duty cycle corresponding to the target enable flag from a duty cycle lookup table. This method effectively solves the problem that the output duty cycle of the electronically controlled silicone oil fan cannot meet the actual cooling requirements of the engine, thereby avoiding the problem of the PID controller entering integral saturation, thus providing a strong guarantee for the normal operation of the engine. Attached Figure Description
[0078] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.
[0079] Figure 1 This application provides a flowchart of the method for determining the output duty cycle. Figure 1 ;
[0080] Figure 2 This application provides a flowchart of the method for determining the output duty cycle. Figure 2 ;
[0081] Figure 3 This application provides a flowchart of the method for determining the output duty cycle. Figure 3 ;
[0082] Figure 4 This is a schematic diagram of the structure of the output duty cycle determination device provided in this application;
[0083] Figure 5 This is a schematic diagram of the structure of the device for determining the output duty cycle provided in this application.
[0084] The accompanying drawings illustrate specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to particular embodiments. Detailed Implementation
[0085] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0086] The terms "first," "second," "third," "fourth," etc. (if present) in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that embodiments of the invention described herein can be implemented, for example, in orders other than those illustrated or described herein.
[0087] In this application, the terms "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described as "exemplary" or "for example" in this application should not be construed as being more preferred or advantageous than other embodiments or designs. Specifically, the use of terms such as "exemplary" or "for example" is intended to present the relevant concepts in a specific manner.
[0088] With the continuous advancement of the automotive industry, the heat dissipation performance of engine cooling systems has become a crucial technical requirement. As a core component of the engine cooling system, the electronically controlled silicone oil fan plays an irreplaceable role in the normal operation of the engine due to its precise control capabilities.
[0089] Traditional engine cooling systems use mechanical fans with a fixed speed, which cannot be dynamically adjusted according to the engine's actual cooling needs. However, with continuous technological innovation and development, the emergence of electronically controlled silicone oil fans has brought new possibilities to engine cooling systems.
[0090] The electronically controlled silicone oil fan employs advanced PWM signal control technology, enabling precise regulation of the valve opening at the oil inlet of the driven plate. By adjusting the valve opening, the fan speed can be finely adjusted, thus achieving real-time response to the engine's cooling needs. This regulation method not only improves the engine's cooling performance but also effectively reduces the engine's operating temperature, ensuring normal engine operation.
[0091] However, existing electronically controlled silicone oil fans still face some challenges in practical applications. Due to the fluidity of silicone oil and the characteristics of mechanical transmission, there is a certain lag in clutch engagement. This lag results in insufficiently fast and precise fan speed regulation, thus affecting the fan's output duty cycle. When the engine needs to increase or decrease cooling, the fan speed cannot respond in time, leading to inaccurate adjustment of the fan's output duty cycle, thereby affecting engine performance and cooling efficiency. Furthermore, due to mechanical characteristics and external conditions, the fan requires a certain amount of time to transition from fully engaged to disengaged, resulting in prolonged fan speed deviation. This speed deviation may cause the PID control to enter integral saturation, further affecting the fan's output duty cycle.
[0092] Therefore, how to solve the problem that the output duty cycle of the electronically controlled silicone oil fan cannot meet the actual cooling requirements of the engine, and further solve the problem that the PID regulator enters integral saturation state due to the speed deviation of the electronically controlled silicone oil fan.
[0093] To address the aforementioned problems, this application provides a method for determining the output duty cycle. After obtaining the engine's first operating speed and the fan's target set speed, the method first determines the target PID parameters of the fan based on these parameters. Then, when the engine's first operating speed exceeds the engine's idle speed, the method determines the target enable flag corresponding to the target PID parameters based on the fan's target set speed and a first preset fan speed. Finally, the method determines the target output duty cycle corresponding to the target enable flag from a duty cycle lookup table. This method effectively solves the problem that the output duty cycle of the electronically controlled silicone oil fan cannot meet the engine's actual cooling requirements, thereby avoiding the problem of the PID controller entering integral saturation and providing a strong guarantee for the normal operation of the engine.
[0094] The technical solution of this application and how the technical solution of this application solves the above-mentioned technical problems are described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of this application will now be described with reference to the accompanying drawings.
[0095] Figure 1 The flowchart of the method for determining the output duty cycle provided in the embodiments of this application Figure 1 It is applied to target vehicles, including those with engines and electronically controlled silicone oil fans. For example... Figure 1 As shown, the method for determining the output duty cycle provided in this embodiment includes:
[0096] S101: Obtain the first operating speed of the engine and the target set speed of the fan.
[0097] The engine's first operating speed is used to indicate the engine speed when it is in operation.
[0098] The target speed setting of the electronically controlled silicone oil fan refers to the desired fan speed achieved by controlling the engagement degree of the silicone oil clutch. This speed is set according to the actual operating conditions and cooling requirements of the target vehicle, aiming to meet the engine's cooling needs while maintaining the engine's normal operating temperature.
[0099] Understandably, this is because the engine generates different amounts of heat under different driving conditions. For example, during acceleration or climbing, the engine requires more fuel and air, thus generating more heat. To maintain an appropriate temperature, the speed of the electronically controlled silicone oil fan needs to be increased accordingly to enhance heat dissipation. Conversely, at high speeds or when the coolant temperature is low, the speed of the electronically controlled silicone oil fan may be reduced to save energy.
[0100] Furthermore, vehicle condition can also affect fan speed. For example, if the target vehicle has insufficient coolant or a leak, the engine temperature will rise, causing the electronically controlled silicone oil fan to run at an increased speed. If the target vehicle operates in a high-temperature environment for an extended period, the electronically controlled silicone oil fan will also run at an increased speed to maintain the engine's normal operating temperature.
[0101] Therefore, in order to adapt to different working conditions and vehicle conditions, the target set speed of the electronically controlled silicone oil fan must be variable rather than fixed. This not only ensures that the engine temperature is kept at the most suitable level, but also extends the engine's service life, thereby improving the performance of the target vehicle.
[0102] Different acquisition methods are required for different acquisition targets. When the target is the engine's first operating speed, the acquisition method can be, for example, through a speed sensor or through the vehicle's communication equipment.
[0103] When the target is the set speed of the electronically controlled silicone oil fan, the speed can be obtained, for example, by reading it from the vehicle's control unit.
[0104] By obtaining the engine's initial operating speed and the target set speed of the electronically controlled silicone oil fan, it means that the engine's operating speed and the fan's target rotation speed can be obtained when the target vehicle is in motion under the current vehicle conditions.
[0105] For example, suppose the engine operates at 2000 rpm while the car is in motion, and the target speed of the electronically controlled silicone oil fan is set to 3000 rpm. By obtaining these two data points, we can know that under the current vehicle conditions, the engine is operating at a high speed, and the fan speed is correspondingly set to a higher value to meet the engine's cooling needs.
[0106] S102: Determine the target PID parameters of the fan based on the first operating speed and the target set speed. The number of parameters in the target PID parameters is not unique.
[0107] During engine operation, the engine speed constantly changes, while the fan's set speed is determined based on the engine's cooling requirements. Furthermore, due to the mechanical connection between the engine and fan, the engine's initial operating speed and the fan's target set speed influence each other. Therefore, to ensure the fan can better follow the engine speed changes and achieve the desired set speed, it is necessary to comprehensively consider both the engine's initial operating speed and the fan's target set speed to determine the target PID parameters.
[0108] Understandably, the engine's operating speed varies under different vehicle conditions (such as different temperatures, pressures, humidity, and other environmental conditions), thus affecting the target speed setting of the electronically controlled silicone oil fan. Therefore, by comprehensively considering both the engine's initial operating speed and the target speed setting of the electronically controlled silicone oil fan, suitable target PID parameters for the current vehicle conditions can be obtained.
[0109] For example, on a hot summer day, a car is driving on the road, and the engine's operating temperature gradually rises. To ensure the engine operates normally and prevent overheating, the electronically controlled silicone oil fan needs to be activated for cooling. Therefore, under the current vehicle conditions, it is necessary to determine the appropriate target PID parameters, such as the proportional coefficient, integral time, and derivative time, based on the engine's operating speed (e.g., 2000 rpm / min) and the target set speed of the electronically controlled silicone oil fan (e.g., 2500 rpm / min).
[0110] S103: Determine whether the first operating speed exceeds the engine's idle speed.
[0111] The engine's idle speed refers to the speed at which the engine operates under no load, meaning it only needs to overcome the frictional resistance of its internal components and does not output power externally. In this state, with the accelerator pedal fully released, the engine only maintains its own operation, and the lowest speed at which it operates is the idle speed. An engine's idle speed can be, for example, 500 rpm.
[0112] The purpose of determining whether the engine's initial operating speed exceeds its idle speed is to determine whether the engine is in the starting state.
[0113] Understandably, idle speed is typically used to measure engine performance and operating conditions; it represents the stable operating speed of the engine under no-load conditions. When the engine's operating speed reaches idle speed, it indicates that the engine is already running. At this point, the engine's driveshaft transmits power, causing the fan to rotate. To ensure the fan responds quickly and reaches the appropriate speed, the target enable flag needs to be set to precisely adjust the fan speed. Conversely, if the engine's initial operating speed has not yet reached idle speed, it means the engine has not yet started, so the fan will not rotate, and therefore, there is no need to adjust the fan speed.
[0114] Therefore, by comparing the engine's initial operating speed and idle speed, it is possible to accurately determine whether the engine is in the starting state, thereby determining whether the fan speed needs to be adjusted.
[0115] If the engine's first operating speed exceeds the engine's idle speed, it indicates that the engine is already in the start-up state. At this time, the target enable flag corresponding to the target PID parameter is determined based on the target set speed of the fan and the first preset fan speed.
[0116] If the engine's first operating speed does not exceed the engine's idle speed, it indicates that the engine is not yet in the start-up state. At this time, the enable flag table can be obtained, and the target enable flag bit can be determined from the enable flag table.
[0117] S104: When the first operating speed exceeds the idle speed, determine the target enable flag corresponding to the target PID parameter based on the target set speed and the first preset fan speed.
[0118] The first preset fan speed can be, for example, 200 rpm. The target enable flag is a bit flag used to control the operating mode of the PID controller.
[0119] Once the engine's initial operating speed exceeds its idle speed, it signifies that the engine has successfully overcome internal frictional resistance and begun normal operation, outputting power to the outside. At this point, to ensure timely engine cooling, it is necessary to comprehensively consider the target set speed and the first preset speed value of the fan, as well as the engine's actual operating conditions.
[0120] Understandably, by combining the target set fan speed with the first preset fan speed value, a suitable target enable flag for the current operating conditions can be determined. This flag not only determines whether the PID controller needs to be enabled, but also helps in adjusting the fan's output duty cycle.
[0121] S105: Determine the target output duty cycle of the fan according to the target enable flag and duty cycle lookup table.
[0122] The target output duty cycle of the fan refers to the duty cycle during which the fan controller adjusts the input voltage of the fan motor, that is, the proportion of the energized time relative to the total time within one pulse cycle.
[0123] The duty cycle lookup table includes: multiple candidate enable flags, and the candidate output duty cycle corresponding to each candidate enable flag.
[0124] After obtaining the target enable flag suitable for the current operating conditions, in order to ensure that the fan speed can meet the engine's heat dissipation requirements, it is necessary to determine the target output duty cycle of the fan according to the target enable flag and duty cycle lookup table, so as to ensure that the engine is always within a suitable temperature range.
[0125] Understandably, the output duty cycle directly determines the fan speed. A higher output duty cycle results in a faster fan speed, leading to better engine cooling; conversely, a lower output duty cycle results in a slower fan speed, resulting in poor engine cooling. Therefore, to ensure the fan speed meets the engine's cooling requirements under different vehicle conditions, a target output duty cycle for the fan needs to be determined. This ensures the fan operates at an appropriate speed, preventing engine overheating.
[0126] In this step, since the duty cycle lookup table includes multiple candidate enable flags and the candidate output duty cycle corresponding to each candidate enable flag, when the target enable flag is determined, the candidate enable flag corresponding to the target enable flag can be determined from the duty cycle lookup table first, and then the candidate output duty cycle corresponding to the candidate enable flag can be determined as the target output duty cycle of the fan.
[0127] The method for determining the output duty cycle provided in this embodiment first determines the target PID parameters of the fan by using the first operating speed of the engine and the target set speed of the fan. Then, it compares the first operating speed of the engine with the engine's idle speed. When it is determined that the first operating speed of the engine exceeds the engine idle speed, it determines the target enable flag corresponding to the target PID parameters based on the target set speed of the fan and the first preset fan speed. Finally, it determines the target output duty cycle corresponding to the target enable flag from a duty cycle lookup table. This method effectively solves the problem that the output duty cycle of the electronically controlled silicone oil fan cannot meet the actual heat dissipation requirements of the engine by using the first operating speed of the engine and the target set speed of the fan, thereby avoiding the problem of PID control entering integral saturation and improving the overall efficiency of the engine cooling system, thus providing a strong guarantee for the normal operation of the engine. This method uses the first operating speed of the engine and the target set speed of the fan to determine the PID parameters and enable flag, effectively solving the problem of mismatch between the output duty cycle of the electronically controlled silicone oil fan and the engine's heat dissipation requirements, and avoiding the problem of PID control entering integral saturation.
[0128] Figure 2 The flowchart of the method for determining the output duty cycle provided in the embodiments of this application Figure 2 The target PID parameters include: target proportional parameter, target integral parameter, and target derivative parameter. For example... Figure 2 As shown, this embodiment is... Figure 1 Based on the embodiments, the method for determining the output duty cycle is described in detail. The method for determining the output duty cycle provided in this embodiment includes:
[0129] S201: Obtain the first operating speed of the engine and the target set speed of the fan.
[0130] The explanation of step S201 is similar to that of step S101 above, and will not be repeated here.
[0131] S202: Obtain the second operating speed of the fan.
[0132] The second operating speed of the fan is used to indicate the rotational speed of the fan when it is in operation.
[0133] By obtaining the second rotational speed of the fan, it means that the actual rotational speed of the fan can be obtained under the current vehicle conditions when the car is moving.
[0134] Understandably, the fan's operating speed may vary depending on the vehicle's condition. For example, at high speeds, the fan may need to rotate at a higher speed for better heat dissipation; while at low speeds or when the vehicle is stationary, the fan speed may be lower or off. Therefore, to understand the actual operating status of the fan, it is necessary to obtain the fan's rotational speed when it is in operation, so that the fan's operating speed can be adjusted in a timely manner according to the current vehicle conditions.
[0135] The second operating speed of the fan can be obtained, for example, by reading it from the vehicle's control unit, by obtaining it from the vehicle's monitoring system, or by obtaining it from the vehicle's display device. This application does not impose any special limitations on this.
[0136] S203: Determine the target speed deviation of the fan based on the target set speed and the second operating speed.
[0137] The target speed setting for the fan is set based on the vehicle's actual operating conditions and cooling requirements, while the second operating speed is the speed the fan reaches during actual operation. Therefore, by comparing the target speed setting and the actual operating speed, it can be determined whether the fan has achieved the expected operating state.
[0138] Understandably, by comparing the target set speed with the actual operating speed, it can be determined whether the fan has reached the expected working state. If the actual speed is close to or the same as the target speed, it indicates that the fan is working normally; if there is a large difference, it may mean that the fan performance is poor. In this case, in order to ensure the stable operation of the fan control system and good heat dissipation, it is necessary to determine the target speed deviation of the fan based on the target set speed and the second operating speed of the fan, so as to make precise adjustments to the fan speed according to the determined target speed deviation.
[0139] S204: Determine the target proportional parameter, target integral parameter, and target derivative parameter based on the target speed deviation, the first operating speed, and the target set speed.
[0140] Specifically, by using the target proportional parameter, target integral parameter, and target derivative parameter, the target PID parameters suitable for the PID controller to adjust the current vehicle condition can be obtained. This allows the PID controller to adjust the fan speed according to the target PID parameters, thereby ensuring that the fan meets the engine's cooling requirements.
[0141] Understandably, the first operating speed is the engine's operating speed under the current vehicle conditions, the target set speed of the fan is the speed set under the current vehicle conditions based on the engine's cooling requirements and system performance, and the target speed deviation is the difference between the fan's current operating speed and the target set speed. Therefore, by reasonably determining these parameters, the fan's operating speed can be effectively adjusted to meet the engine's cooling requirements.
[0142] S205: Determine whether the first operating speed exceeds the engine's idle speed; if yes, proceed to step 207; if no, proceed to step 206.
[0143] The explanation of step S205 is similar to that of step S103 above, and will not be repeated here.
[0144] S206: Obtain the enable flag table and determine the target enable flag bit from the enable flag table.
[0145] In this process, obtaining the enable flag table means that multiple candidate enable flags can be obtained, and the target enable flag that meets the condition that the engine's first operating speed does not exceed the idle speed can be selected from the multiple candidate enable flags.
[0146] Understandably, when the engine's initial operating speed is below idle speed, it usually indicates that the engine's cooling requirements are low. Therefore, in this situation, measures can be taken to disengage the fan and adjust the target enable flag of the control system accordingly to achieve more efficient energy utilization and reduce noise levels.
[0147] The methods for obtaining the enable flag include, but are not limited to, obtaining it from the target vehicle's data management database.
[0148] S207: Obtain the enable flag table, which includes multiple candidate enable flag bits.
[0149] The enable flag table includes: multiple candidate enable flags, and the fan requirement corresponding to each candidate enable flag.
[0150] Understandably, multiple candidate enable flags can be, for example, a first candidate enable flag (marked as "2"), a second candidate enable flag (marked as "0"), and a third candidate enable flag (marked as "1").
[0151] Since different candidate enable flags correspond to different fan requirements, when the candidate enable flag is the first candidate enable flag, it can be assumed that the fan's output duty cycle is affected by PID control, and adjustments need to be made according to the PID strategy. When the candidate enable flag is the second candidate enable flag, it can be assumed that the fan's duty cycle is not affected by PID adjustment, and the fan can quickly disengage. When the candidate enable flag is the third candidate enable flag, it can be assumed that the fan's output duty cycle will quickly increase to 100%, and there is no need to gradually adjust the fan's output duty cycle through the PID controller.
[0152] When the engine's initial operating speed exceeds its idle speed, it signifies that the engine has entered its normal operating range. In this state, the engine requires stable cooling to maintain normal operation. Therefore, by obtaining the enable flag table, the fan speed can be adjusted more precisely to meet the engine's cooling needs.
[0153] Understandably, when an engine enters idling mode, a precise control strategy is needed to adjust the fan speed in order to maintain normal operation and ensure proper cooling. Therefore, by acquiring the enable flag table and adjusting the fan speed accordingly, it is possible to ensure that the engine always operates within the appropriate temperature range, thereby improving its reliability and extending its service life.
[0154] S208: Determine whether the target set speed exceeds the first preset fan speed; if yes, proceed to step S210; if no, proceed to step S209.
[0155] The first preset fan speed can be, for example, 200 rpm.
[0156] The purpose of determining whether the target fan speed exceeds the first preset fan speed is to determine whether the engine cooling demand is high.
[0157] If the target set speed of the fan does not exceed the first preset fan speed, it indicates that the engine's cooling demand is not high. In this case, the target enable flag can be determined from multiple candidate enable flags based on the integral parameters and the first preset integral parameters.
[0158] If the target set speed of the fan exceeds the first preset fan speed, it indicates that the engine has a high cooling demand. At this time, the target enable flag is determined from multiple candidate enable flags based on the target set speed of the fan and the second preset fan speed.
[0159] Understandably, when cooling demand is low, a suitable enable flag can be determined to meet the current needs by comparing the integral parameter with the first preset integral parameter. This dynamic adjustment ensures that the fan control system provides precise and efficient fan speed control under various conditions, thereby optimizing engine cooling and improving the efficiency of the entire system.
[0160] When the heat dissipation demand is high, by setting the target fan speed and the second preset fan speed, the most suitable flag bit for the current heat dissipation demand can be selected from multiple candidate enable flag bits as the target enable flag bit, thereby achieving precise control of the fan speed.
[0161] S209: Determine the target enable flag bit from the plurality of candidate enable flag bits according to the integral parameter and the first preset integral parameter.
[0162] The first preset integration parameter can be, for example, 0.
[0163] Since the integral parameter is used in the control system to adjust the fan speed to meet the engine's cooling requirements, by comprehensively considering the integral parameter and the first preset integral parameter, it can be determined whether a PID controller is still needed to adjust the fan speed.
[0164] Understandably, once it's determined that the target fan speed doesn't exceed the first preset fan speed, the degree of matching between the fan speed and cooling requirements can be assessed by comprehensively considering the integral parameters and the first preset integral parameters. If the accumulated integral parameters deviate significantly from the first preset integral parameters, a PID controller may be needed to further adjust the fan speed to meet the engine's cooling needs.
[0165] Optionally, the specific implementation process of determining the target enable flag from the plurality of candidate enable flags based on the integral parameter and the first preset integral parameter can be, for example, as follows: determine whether the integral parameter is greater than the first preset integral parameter; if yes, then determine the first candidate enable flag among the plurality of candidate enable flags as the target enable flag; if no, then determine the second candidate enable flag among the plurality of candidate enable flags as the target enable flag.
[0166] The first preset integration parameter can be, for example, 0.
[0167] The purpose of determining whether the integral parameter is greater than the first preset integral parameter is to determine whether the fan speed is controlled by the PID controller.
[0168] If the integral parameter is greater than the first preset integral parameter, it indicates that the fan speed is controlled by the PID controller. In this case, the first candidate enable flag among multiple candidate enable flags can be determined as the target enable flag.
[0169] If the integral parameter is not greater than the first preset integral parameter, it indicates that the fan speed is not controlled by the PID controller. In this case, the second candidate enable flag among multiple candidate enable flags can be determined as the target enable flag.
[0170] Understandably, assuming the first candidate enable flag is 2 and the second candidate enable flag is 0, when the integral parameter is determined to be greater than the first preset integral parameter, a PID controller is needed to change the fan speed in order to adjust the fan speed in a timely manner. However, when the integral parameter is determined to be no greater than the first preset integral parameter, in order to improve the stability of the fan control system, it is not necessary to use a PID controller to change the fan speed. At this time, the fan can be in a disengaged state.
[0171] S210: Determine the target enable flag bit from the plurality of candidate enable flag bits according to the target set speed and the second preset fan speed.
[0172] The second preset fan speed can be, for example, 2000 rpm.
[0173] By comprehensively considering the target set speed and the second preset speed of the fan, it can be determined whether the fan is operating at high speed, and thus whether a PID controller is needed to adjust the fan speed.
[0174] Understandably, the target set speed is the fan speed desired by the fan control system. The second preset speed is used to more accurately determine the fan's operating state. Therefore, by comprehensively considering both the target set speed and the second preset speed, the fan's operating state can be determined, and it can be determined whether a PID controller is needed to adjust the fan speed. This operating state-based judgment ensures that the fan control system provides accurate and efficient fan speed control under various operating conditions, thereby optimizing system performance and stability.
[0175] Optionally, the specific implementation process of determining the target enable flag from the plurality of candidate enable flags based on the integral parameter and the first preset integral parameter can be, for example, as follows: determine whether the target set speed is greater than the second preset speed; if yes, then determine the third candidate enable flag from the plurality of candidate enable flags as the target enable flag; if no, then determine the first candidate enable flag from the plurality of candidate enable flags as the target enable flag.
[0176] The purpose of determining whether the target set speed is greater than the second preset speed is to: determine whether the fan is in a high-speed rotation state, and also to determine whether it is necessary to use a PID controller to adjust the fan speed.
[0177] If the target set speed is greater than the second preset speed, it indicates that the fan is in a high-speed rotation state. At the same time, it can be determined that there is no need to use the PID controller to adjust the fan speed. In this case, the third candidate enable flag among multiple candidate enable flags can be determined as the target enable flag.
[0178] Understandably, since the third candidate enable flag usually assumes that the fan needs to quickly reach full engagement, if the speed is slow when adjusted by PID, setting the duty cycle directly to 100% will greatly reduce the time for the fan speed to increase. Therefore, when the target speed is determined to be greater than the second preset speed, it is not necessary to gradually adjust the fan's output duty cycle through the PID controller.
[0179] If the target set speed is not greater than the second preset speed, it indicates that the fan is not in a high-speed rotation state. At the same time, it can be determined that the PID controller needs to be used to adjust the fan speed. In this case, the first candidate enable flag among multiple candidate enable flags can be determined as the target enable flag.
[0180] Understandably, since the first candidate enable flag is usually considered to be affected by the fan's output duty cycle, in order to improve the efficiency of the PID controller, it is necessary to control the PID controller to adjust according to the target PID parameters when the target speed is determined to be no greater than the second preset speed.
[0181] S211: Determine whether the target enable flag is a preset enable flag; if yes, execute step S211; if no, execute step S212.
[0182] The preset enable flag indicates that the PID controller is operating in integral saturation mode. For example, the preset enable flag can be 0.
[0183] Once the target enable flag is determined, in order to determine whether the PID controller is in integral saturation state, the target enable flag needs to be compared with the preset enable flag.
[0184] Understandably, when a PID controller reaches integral saturation, it means that the PID controller's output has reached the preset upper or lower limit, or that the system performance indicators have deviated from the set value for an extended period. In this situation, the PID controller cannot reduce the deviation using conventional adjustment methods, potentially leading to decreased system performance or instability. Therefore, to ensure stable operation of the PID controller, it is necessary to determine whether the target enable flag is greater than the preset enable flag.
[0185] If the target enable flag is the preset enable flag, it indicates that the PID controller is in integral saturation mode. At this time, the integral controller of the target vehicle can be controlled to execute the zeroing command.
[0186] If the target enable flag is not the preset enable flag, it indicates that the PID controller is not in integral saturation. In this case, the PID controller can be controlled according to the target enable flag.
[0187] S212: Control the integral controller to execute a zeroing command, which is used to reset the integral parameter of the PID controller to zero.
[0188] The integral controller and the PID controller are related.
[0189] Understandably, a PID controller adjusts the deviation of a fan control system through multiple components, including proportional, integral, and derivative parameters. The integral component corresponds to the integral controller. When a large deviation occurs in the system, to prevent the PID controller from entering integral saturation, the integral controller can be controlled to execute commands, thereby eliminating the steady-state error of the fan control system and improving its accuracy.
[0190] By controlling the integral controller of the target vehicle to execute the zeroing command, the accumulation of errors caused by integral accumulation can be avoided, and the system response delay can be reduced, thereby improving the system's response speed and dynamic performance.
[0191] Optionally, the method of controlling the integral controller of the target vehicle to execute the reset command includes, but is not limited to, the above method. For example, the integral controller can also be controlled to execute the reset command in the following way: determine whether the target set speed is greater than the third preset fan speed; if so, obtain the historical cumulative integral parameter of the PID controller and determine whether the historical cumulative integral parameter is a preset cumulative parameter; if not, determine whether the target speed deviation reaches the third preset speed deviation; if so, determine whether the output duty cycle is a preset duty cycle.
[0192] The third preset speed can be, for example, 350 rpm. The historical cumulative integral parameter indicates the integral value of the accumulated deviation signal over a historical period. The preset cumulative parameter can be, for example, -45. The third preset speed deviation can be, for example, 100 rpm. The preset duty cycle can be, for example, 0.
[0193] When the target set speed is greater than the third preset fan speed, the historical cumulative integral parameter reaches the preset cumulative parameter, the target speed deviation reaches the third preset speed deviation, and the output duty cycle is the preset duty cycle, in order to prevent the ID regulator from entering the integral saturation state, it is necessary to control the integral controller of the target vehicle to execute the zeroing command.
[0194] Understandably, since the function of the third preset speed deviation is to measure the fan speed fluctuation, when the target set speed is determined to be greater than the third preset fan speed, it means that the fan speed fluctuation expected by the fan control system is large. Therefore, to determine the cause of the large fan speed fluctuation, it is necessary to further judge whether the historical cumulative integral parameter has reached the preset cumulative parameter.
[0195] Once it is determined that the historical cumulative integral parameter has reached the preset cumulative parameter, it indicates that the fan's current execution capability is poor. At this point, in order to accurately find the source of the problem affecting the integral controller, it is also necessary to compare the deviation between the fan's actual speed and the system's expected speed with the preset deviation.
[0196] If a large discrepancy is found between these two, it indicates that the fan's current operating status is not ideal. In this case, in order to further determine the source of the problem affecting the fan, it is also necessary to determine whether the fan's current operating status meets the actual needs.
[0197] Ultimately, if it is determined that the current operating state of the fan cannot meet the actual needs, it is also determined that the current operating state of the fan is disconnected. At this time, in order to prevent the PID controller from entering the integral saturation state, it is necessary to control the integral controller of the target vehicle to execute the zeroing command.
[0198] S213: Determine the target output duty cycle of the fan according to the target enable flag and duty cycle lookup table.
[0199] The explanation of step S213 is similar to that of step S105 above, and will not be repeated here.
[0200] The output duty cycle determination method provided in this embodiment firstly, after obtaining the engine's first operating speed and the fan's target set speed, and then obtaining the fan's second operating speed, firstly, the target speed deviation of the fan is determined based on the target set speed and the second operating speed. Then, based on the fan's target speed deviation, the engine's first operating speed, and the fan's target set speed, the target proportional parameter, target integral parameter, and target derivative parameter are jointly determined. Secondly, when it is determined that the engine's first operating speed exceeds the engine's idle speed, an enable flag table is obtained, and multiple target enable flag bits under different conditions are determined based on the fan's target set speed and a first preset fan speed. Next, when the target enable flag bit is determined to be a preset enable flag bit, the integral controller is controlled to execute a zeroing command. Finally, the fan's output duty cycle is determined based on the target enable flag bit and the duty cycle lookup table. This method effectively solves the problem that the output duty cycle of the electronically controlled silicone oil fan cannot meet the engine's actual heat dissipation requirements by using the engine's first operating speed and the fan's target set speed, thereby avoiding the problem of the PID controller entering integral saturation, thus improving the overall efficiency of the engine cooling system and providing a strong guarantee for the normal operation of the engine.
[0201] Figure 3 The flowchart of the method for determining the output duty cycle provided in the embodiments of this application Figure 3 .like Figure 3 As shown, this embodiment is... Figure 2 Based on the embodiments, this paper details the specific implementation process of determining the target proportional parameter, target integral parameter, and target derivative parameter according to the target speed deviation, the first operating speed, and the target set speed. The method for determining the output duty cycle provided in this embodiment includes:
[0202] S301: Obtain a parameter lookup table, which includes: multiple candidate proportional parameters, multiple candidate integral parameters, and multiple candidate differential parameters.
[0203] In this case, obtaining the parameter benchmark table means that the PID regulator parameters that meet the current vehicle cooling requirements can be obtained.
[0204] This is understandable, as the parameter lookup table includes multiple candidate target proportional parameters, target integral parameters, and target derivative parameters. These parameters are essential for controlling the behavior of the PID controller. Therefore, obtaining the parameter lookup table means that appropriate parameter values can be selected based on the actual cooling requirements of the current vehicle condition. These selected parameter values can then be used to adjust the behavior of the PID controller, thereby regulating the fan speed.
[0205] S302: Determine whether the target speed deviation is greater than the first preset speed deviation. If yes, proceed to step S305; if no, proceed to step S307.
[0206] The first preset speed deviation has a first correlation with the proportional parameter. The first preset speed deviation can be, for example, 20 rpm.
[0207] The purpose of determining whether the fan's target speed deviation is greater than the first preset speed deviation is to determine whether there is a significant difference between the fan's actual speed and the target speed.
[0208] If the target speed deviation of the fan is greater than the first preset speed deviation, it indicates that there is a large gap between the actual speed of the fan and the target set speed. In this case, the first candidate proportional parameter can be determined from the plurality of candidate proportional parameters based on the first operating speed and the target set speed.
[0209] If the target speed deviation of the fan is not greater than the first preset speed deviation, it indicates that there is no significant difference between the actual speed of the fan and the target set speed. In this case, a second candidate proportional parameter can be determined from the plurality of candidate proportional parameters based on the first operating speed and the target set speed.
[0210] Understandably, when the target fan speed deviation is greater than the first preset speed deviation, it indicates a significant difference between the actual fan speed and the target set speed. In this case, it may be necessary to select a larger proportional parameter to speed up the regulator's response and reduce the deviation more quickly.
[0211] When the target fan speed deviation is no greater than the first preset speed deviation, it indicates that the actual fan speed is close to the target set speed, with a small deviation. In this case, it may be necessary to select a smaller proportional parameter to reduce the regulator's response speed to avoid problems such as over-regulation or system oscillation.
[0212] S303: Determine whether the target speed deviation is greater than the second preset speed deviation. If yes, proceed to step S309; if no, proceed to step S311.
[0213] The second preset speed deviation has a second correlation with the integral parameter. The second preset speed deviation can be, for example, 30 rpm. The second preset speed deviation can be the same as or different from the first preset speed deviation.
[0214] The purpose of determining whether the fan's target speed deviation is greater than the second preset speed deviation is to determine whether there is a significant difference between the fan's actual speed and the target speed.
[0215] If the target speed deviation of the fan is greater than the second preset speed deviation, it indicates that there is a large gap between the actual speed of the fan and the target set speed. In this case, the first candidate integral parameter can be determined from the plurality of candidate integral parameters based on the first operating speed and the target set speed.
[0216] If the target speed deviation of the fan is not greater than the second preset speed deviation, it indicates that there is no significant difference between the actual speed of the fan and the target set speed. In this case, the second candidate integral parameter can be determined from the plurality of candidate integral parameters based on the first operating speed and the target set speed.
[0217] Understandably, when the target fan speed deviation is greater than the second preset speed deviation, it indicates a significant difference between the actual fan speed and the target set speed. In this case, it may be necessary to select a larger integral parameter to speed up the response of the PID controller and reduce the deviation more quickly.
[0218] When the fan's target speed deviation is no greater than the second preset speed deviation, it indicates that the fan's actual speed is close to the target speed, with a small deviation. In this case, it may be necessary to select a smaller integral parameter to reduce the PID controller's response speed to avoid problems such as over-regulation or system oscillation.
[0219] S304: Determine the target differential parameter from the plurality of candidate differential parameters based on the first operating speed and the target set speed.
[0220] By comprehensively considering the engine's first operating speed and the fan's target set speed, as well as the reference parameter comparison table, it means that the differential parameters corresponding to the engine's actual cooling requirements can be selected from the parameter comparison table.
[0221] Understandably, since the engine's initial operating speed and the fan's target set speed provide crucial information about the engine's cooling requirements, and the engine's cooling requirements are usually related to changes in differential parameters related to fan speed, it is necessary to rationally select differential parameters from the parameter comparison table in order to meet the engine's cooling requirements in a timely manner when the fan speed deviation is determined.
[0222] S305: Based on the first operating speed and the target set speed, determine a first candidate proportional parameter from the plurality of candidate proportional parameters, and determine the first candidate proportional parameter as the target proportional parameter.
[0223] When it is determined that the target speed deviation of the fan is greater than the first preset speed deviation, it means that a larger proportional parameter needs to be selected. Therefore, by combining the engine's first operating speed and the fan's target set speed, and referring to the parameter comparison table, it means that the proportional parameter corresponding to the engine's actual cooling requirements can be selected from the parameter comparison table.
[0224] Understandably, choosing a larger proportional parameter is to speed up the response of the PID controller, allowing the fan to approach the target speed more quickly. Therefore, by appropriately selecting the proportional parameter, a better balance can be struck between the control accuracy of the fan speed and the dynamic response of the system, thus meeting the actual cooling requirements of the engine.
[0225] S306: The first candidate ratio parameter is determined as the target ratio parameter.
[0226] S307: Determine a second candidate proportional parameter from the plurality of candidate proportional parameters based on the first operating speed and the target set speed.
[0227] In this case, when it is determined that the target speed deviation of the fan is not greater than the first preset speed deviation, it means that a smaller proportional parameter needs to be selected. Therefore, by combining the engine's first operating speed and the fan's target set speed, and referring to the parameter comparison table, it means that the proportional parameter corresponding to the engine's actual cooling requirements can be selected from the parameter comparison table.
[0228] Understandably, selecting a smaller proportional parameter means that the proportional element amplifies the deviation signal less during fan speed regulation, thus reducing the need for rapid control of the fan motor. This helps prevent drastic fluctuations in fan speed, allowing the fan to reach the target speed more smoothly.
[0229] S308: The second candidate scaling parameter is determined as the target scaling parameter.
[0230] S309: Determine a first candidate integral parameter from the plurality of candidate integral parameters based on the first operating speed and the target set speed.
[0231] When the target speed deviation of the fan is determined to be greater than the second preset speed deviation, it means that a larger integral parameter needs to be selected. Therefore, by comprehensively considering the first operating speed of the engine and the target set speed of the fan, the integral parameter that matches the actual cooling requirements of the engine can be determined more accurately.
[0232] Understandably, a larger integral parameter means that the fan control system is more sensitive to the accumulation of speed error. Therefore, selecting a larger integral parameter is to reduce the fan speed deviation more quickly, so that the fan speed can approach the target speed more quickly, thereby meeting the actual cooling needs of the engine.
[0233] S310: The first candidate integration parameter is determined as the target integration parameter.
[0234] S311: Determine the second candidate integral parameter from the plurality of candidate integral parameters based on the first operating speed and the target set speed.
[0235] In this case, when it is determined that the target speed deviation of the fan is not greater than the second preset speed deviation, it means that a smaller integral parameter needs to be selected. Therefore, by comprehensively considering the first operating speed of the engine and the target set speed of the fan, the integral parameter that matches the actual cooling requirements of the engine can be determined more accurately.
[0236] Understandably, by selecting a smaller integral parameter, the growth rate of the integral term can be made relatively slow, so that when there is a large deviation, the output of the PID controller can gradually approach the set value, thus avoiding integral saturation.
[0237] S312: The second candidate integral parameter is determined as the target integral parameter.
[0238] The output duty cycle determination method provided in this embodiment, after determining the target fan speed deviation, firstly obtains a parameter comparison table with multiple candidate proportional parameters, candidate integral parameters, and candidate derivative parameters; then, it compares the target speed deviation with a first preset speed deviation that is correlated with the target proportional parameter, and simultaneously compares the target speed deviation with a first preset speed deviation that is correlated with the target integral parameter; finally, it determines the target proportional parameter, target integral parameter, and target derivative parameter based on the multiple candidate proportional parameters, candidate integral parameters, and candidate derivative parameters, respectively. This method, by reasonably selecting proportional, integral, and derivative parameters, can not only improve the control accuracy of the fan speed but also ensure a balanced dynamic response performance of the system, thereby better meeting the actual cooling needs of the engine.
[0239] Figure 4 A schematic diagram of the structure of the device for determining the output duty cycle provided in this application. Figure 4 As shown, this application provides an output duty cycle determining device 400, which includes:
[0240] The acquisition module 401 is used to acquire the first operating speed of the engine and the target set speed of the fan;
[0241] The determining module 402 is used to determine the target PID parameters of the fan based on the first operating speed and the target set speed, wherein the number of parameters of the target PID parameters is not unique.
[0242] The judgment module 403 is used to determine whether the first operating speed exceeds the idle speed of the engine;
[0243] The determining module 402 is further configured to determine a target enable flag corresponding to the target PID parameter based on the target set speed and the first preset fan speed when the first operating speed exceeds the idle speed;
[0244] The determining module 402 is further configured to determine the target output duty cycle of the fan based on the target enable flag and the duty cycle lookup table.
[0245] Optionally, the acquisition module 401 is further configured to acquire the second operating speed of the fan;
[0246] The determining module 402 is further configured to determine the target speed deviation of the fan based on the target set speed and the second operating speed;
[0247] The determining module 402 is specifically used to determine the target proportional parameter, the target integral parameter, and the target differential parameter based on the target speed deviation, the first operating speed, and the target set speed.
[0248] Optionally, the acquisition module 401 is further configured to acquire a parameter lookup table, which includes: multiple candidate proportional parameters, multiple candidate integral parameters, and multiple candidate differential parameters;
[0249] The judgment module 403 is further configured to determine whether the target speed deviation is greater than a first preset speed deviation, wherein the first preset speed deviation has a first correlation relationship with the proportional parameter;
[0250] The determining module 402 is further configured to, when the target speed deviation is greater than the first preset speed deviation, determine a first candidate proportional parameter from the plurality of candidate proportional parameters according to the first working speed and the target set speed, and determine the first candidate proportional parameter as the target proportional parameter;
[0251] and / or;
[0252] The judgment module 403 is further used to determine whether the target speed deviation is greater than the second preset speed deviation, wherein the second preset speed deviation has a second correlation with the integral parameter;
[0253] The determining module 402 is further configured to, when the target speed deviation is greater than the second preset speed deviation, determine a first candidate integral parameter from the plurality of candidate integral parameters based on the first working speed and the target set speed, and determine the first candidate integral parameter as the target integral parameter;
[0254] and / or;
[0255] The determining module 402 is further configured to determine the target differential parameter from the plurality of candidate differential parameters based on the first operating speed and the target set speed.
[0256] Optionally, the acquisition module 401 is further configured to acquire an enable flag table, the enable flag table including: multiple candidate enable flag bits;
[0257] The judgment module 403 is also used to determine whether the target set speed exceeds the first preset fan speed;
[0258] The determining module 402 is further configured to determine the target enable flag bit from the plurality of candidate enable flag bits according to the integral parameter and the first preset integral parameter when the target set speed does not exceed the first preset fan speed;
[0259] The determining module 402 is further configured to, when the target set speed exceeds the first preset fan speed, determine the target enable flag bit from the plurality of candidate enable flag bits according to the target set speed and the second preset fan speed.
[0260] Optionally, the judgment module 403 is further configured to determine whether the integral parameter is greater than the first preset integral parameter;
[0261] The determining module 402 is further configured to determine the first candidate enable flag bit among the plurality of candidate enable flag bits as the target enable flag bit when the integral parameter is greater than the first preset integral parameter;
[0262] The determining module 402 is further configured to determine the second candidate enable flag bit among the plurality of candidate enable flag bits as the target enable flag bit when the integral parameter is not greater than the first preset integral parameter.
[0263] Optionally, the judgment module 403 is further configured to determine whether the target set speed is greater than the second preset speed;
[0264] The determining module 402 is further configured to determine the third candidate enable flag bit among the plurality of candidate enable flag bits as the target enable flag bit when the target set speed is greater than the second preset speed;
[0265] The determining module 402 is further configured to determine the first candidate enable flag bit among the plurality of candidate enable flag bits as the target enable flag bit when the target set speed is not greater than the second preset speed.
[0266] Optionally, the judgment module 403 is further configured to determine whether the target enable flag is a preset enable flag, wherein the preset enable flag is used to indicate that the working state of the PID regulator is integral saturation.
[0267] The device further includes: a control module 404;
[0268] The control module 404 is further configured to, when the target enable flag is not a preset enable flag, control the integral controller to execute a clear instruction, the clear instruction being used to reset the integral parameter of the PID controller to zero.
[0269] Figure 5 A schematic diagram of the device for determining the output duty cycle provided in this application. (See attached diagram.) Figure 5 As shown, this application provides an output duty cycle determination device 500, which includes: a receiver 501, a transmitter 502, a processor 503, and a memory 504.
[0270] Receiver 501 is used to receive instructions and data;
[0271] Transmitter 502 is used to send commands and data;
[0272] Memory 504 is used to store instructions executed by the computer;
[0273] The processor 503 is used to execute computer execution instructions stored in the memory 504 to implement the various steps performed by the multimodal pre-trained model training method in the above embodiments. For details, please refer to the relevant descriptions in the foregoing embodiments of the multimodal pre-trained model training method.
[0274] Alternatively, the memory 504 can be either standalone or integrated with the processor 503.
[0275] When the memory 504 is set up independently, the electronic device also includes a bus for connecting the memory 504 and the processor 503.
[0276] This application also provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the training method of the multimodal pre-trained model as described above, executed by the training device for the multimodal pre-trained model.
[0277] It will be understood by those skilled in the art that all or some of the steps, systems, or apparatuses disclosed above, and their functional modules / units, can be implemented as software, firmware, hardware, or suitable combinations thereof. In hardware implementations, the division between functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed collaboratively by several physical components. Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit (ASIC). Such software may be distributed on a computer-readable medium, which may include computer storage media (or non-transitory media) and communication media (or transient media). As is known to those skilled in the art, the term computer storage media includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disc (DVD) or other optical disc storage, magnetic cartridges, magnetic tape, disk storage or other magnetic storage devices, or any other medium that can be used to store desired information and can be accessed by a computer. Furthermore, it is well known to those skilled in the art that communication media typically contain computer-readable instructions, data structures, program modules, or other data in modulated data signals such as carrier waves or other transmission mechanisms, and may include any information delivery medium.
[0278] The technical solutions of this application have been described above with reference to the preferred embodiments shown in the accompanying drawings. However, it is readily understood by those skilled in the art that the scope of protection of this application is obviously not limited to these specific embodiments. The above embodiments are only used to illustrate the technical solutions of this application and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features therein. These modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.
Claims
1. A method of determining an output duty cycle, characterized by, Applied to a target vehicle, the target vehicle including: an engine and an electronically controlled silicone oil fan, the method includes: Obtain the first operating speed of the engine and the target set speed of the fan; Based on the first operating speed and the target set speed, the target PID parameters of the fan are determined, and the number of parameters of the target PID parameters is not unique; Determine whether the first operating speed exceeds the engine's idle speed; When the first operating speed exceeds the idle speed, the target enable flag corresponding to the target PID parameter is determined based on the target set speed and the first preset fan speed. The target output duty cycle of the fan is determined based on the target enable flag and duty cycle lookup table.
2. The method of claim 1, wherein, The target PID parameters include: target proportional parameter, target integral parameter, and target derivative parameter. Determining the target PID parameters of the fan based on the first operating speed and the target set speed includes: Obtain the second operating speed of the fan; The target speed deviation of the fan is determined based on the target set speed and the second operating speed; The target proportional parameter, target integral parameter, and target derivative parameter are determined based on the target speed deviation, the first operating speed, and the target set speed.
3. The method according to claim 2, characterized in that, The step of determining the target proportional parameter, target integral parameter, and target derivative parameter based on the target speed deviation, the first operating speed, and the target set speed includes: Obtain a parameter lookup table, which includes: multiple candidate proportional parameters, multiple candidate integral parameters, and multiple candidate differential parameters; Determine whether the target speed deviation is greater than a first preset speed deviation, wherein the first preset speed deviation has a first correlation with the proportional parameter; If so, then based on the first operating speed and the target set speed, a first candidate proportional parameter is determined from the plurality of candidate proportional parameters, and the first candidate proportional parameter is determined as the target proportional parameter; and / or; Determine whether the target speed deviation is greater than a second preset speed deviation, wherein the second preset speed deviation has a second correlation with the integral parameter; If so, then based on the first operating speed and the target set speed, a first candidate integral parameter is determined from the plurality of candidate integral parameters, and the first candidate integral parameter is determined as the target integral parameter; and / or; The target differential parameter is determined from the plurality of candidate differential parameters based on the first operating speed and the target set speed.
4. The method according to claim 3, characterized in that, The step of determining the target enable flag corresponding to the target PID parameters based on the target set speed and the first preset fan speed includes: Obtain an enable flag table, wherein the enable flag table includes: multiple candidate enable flag bits; Determine whether the target set speed exceeds the first preset fan speed; If not, then the target enable flag is determined from the plurality of candidate enable flags based on the integral parameter and the first preset integral parameter; If so, the target enable flag is determined from the plurality of candidate enable flags based on the target set speed and the second preset fan speed.
5. The method according to claim 4, characterized in that, The step of determining the target enable flag from the plurality of candidate enable flags based on the integral parameter and the first preset integral parameter includes: Determine whether the integral parameter is greater than the first preset integral parameter; If so, the first candidate enable flag among the plurality of candidate enable flags is determined as the target enable flag; If not, then the second candidate enable flag among the plurality of candidate enable flags is determined as the target enable flag.
6. The method according to claim 4, characterized in that, The step of determining the target enable flag bit from the plurality of candidate enable flag bits based on the target set speed and the second preset fan speed includes: Determine whether the target set speed is greater than the second preset speed; If so, the third candidate enable flag among the plurality of candidate enable flags is determined as the target enable flag; If not, the first candidate enable flag among the plurality of candidate enable flags is determined as the target enable flag.
7. The method according to claim 1, characterized in that, After determining the target enable flag corresponding to the target PID parameters based on the target set speed and the first preset fan speed, the method further includes: Determine whether the target enable flag is a preset enable flag, wherein the preset enable flag is used to indicate that the working state of the PID controller is integral saturation. If not, the integral controller is controlled to execute a reset instruction, which is used to reset the integral parameter of the PID controller to zero.
8. A device for determining the output duty cycle, characterized in that, Applied to a target vehicle, the target vehicle including: an engine and an electronically controlled silicone oil fan, including: The acquisition module is used to acquire the first operating speed of the engine and the target set speed of the fan; The determination module is used to determine the target PID parameters of the fan based on the first operating speed and the target set speed, wherein the number of parameters of the target PID parameters is not unique; The judgment module is used to determine whether the first operating speed exceeds the idle speed of the engine; The determining module is further configured to determine a target enable flag corresponding to the target PID parameter based on the target set speed and the first preset fan speed when the first operating speed exceeds the idle speed; The determining module is also used to determine the target output duty cycle of the fan based on the target enable flag and the duty cycle lookup table.
9. A device for determining the output duty cycle, characterized in that, include: Memory; processor; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory to implement the method for determining the output duty cycle as described in any one of claims 1-7.
10. A computer storage medium, characterized in that, The computer storage medium stores computer execution instructions, which, when executed by a processor, are used to implement the method for determining the output duty cycle as described in any one of claims 1-7.
Citation Information
Patent Citations
EGR valve and throttle valve coupling control method
CN109469567A
Method for controlling automobile oil pump motor, vehicle and storage medium
CN112943591A
