Mode switching control method for electronic multi-way water valve
By fitting the rotation curve of the water valve and switching the control mode, the power-on time of the water valve is calculated, which solves the problems of motor blockage and inaccurate position control in the existing technology, and improves the mode switching accuracy and stability of the multi-pass water valve .
Patent Information
- Application Number
- CN202410995865.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-24
- Publication Date
- 2024-11-29
AI Technical Summary
In the existing electronic multi-pass water valve control method, open-loop control causes motor blockage and temperature increase, closed-loop control causes on-off time due to fluctuations in position feedback signal, resulting in untimely on-off time, and position adjustment overshoot, high-frequency oscillation and other problems. And the accuracy is not high.
By collecting data on the acceleration, uniform speed and deceleration stage of the water valve, fit the curves of time and rotational distance, switch long or short stroke modes, calculate the power-on time of the water valve, avoid the impact of real-time position detection, and ensure the power-on and off time of the motor accuracy.
It effectively avoids the problems of motor blockage and inadequate position control, improves the accuracy and stability of mode switching, reduces high-frequency oscillation and overshoot, and ensures the accuracy of water valve in place.
Smart Images

Figure CN119045308A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of electronic equipment control, and in particular to a mode switching control method for an electronic multi-way water valve. Background Art
[0002] With the popularization of automotive thermal management integrated modules, the application of multi-way water valves has become common. The concept of multi-way water valves is proposed relative to the original 3-way or 4-way water valves. The naming of multi-way water valves is generally based on the number of valve ports. For example, an 8-way water valve refers to a valve with 8 independent external interfaces. Generally, every two independent interfaces form a flow path to allow coolant to flow into and out of the water valve. In order to meet the needs of vehicle thermal management, multi-way water valves need to quickly connect or disconnect the specified coolant flow path as required in different scenarios. This places high demands on the water valve mode switching time and positioning accuracy.
[0003] Under the existing technology, two control methods are commonly used for electronic multi-way water valve control. One is an open-loop control method, that is, the water valve actuator does not have a position detection device. This control method is as follows: when the water valve switches modes, the water valve is first driven to an initial mode, which is generally a limit point under the physical structure. After the valve core in the water valve hits the limit point, the current suddenly increases, and the system determines that it has reached the initial mode. Then the controller gives the power-on time based on the difference between the target position and the initial position, so that the actuator drives the valve core to rotate to the target position. The other is a closed-loop control method, that is, the water valve actuator is equipped with a position detection device. This control method is as follows: the position of the water valve core can be detected in real time. When the target position command is issued, the actuator is continuously powered on until it is detected that the valve core has reached the target position, and then the power is stopped.
[0004] When open-loop control is used, the water valve will frequently hit the limit point. During the process of hitting the limit point, the drive motor in the actuator will be blocked for a short time. The motor blocking will instantly cause the temperature inside the motor to rise and sparks will appear on the carbon brush commutator, affecting the service life of the motor. At the same time, under open-loop control, the accuracy of the position is limited to the initial calibration value at the factory, and the actual situation cannot be confirmed after the position is in place.
[0005] With closed-loop control, the power-on time and power-off command of the water valve actuator drive motor are determined by the position feedback signal. During this process, when the position feedback signal fluctuates or the position detection input voltage fluctuates, it will directly affect the power-on and power-off time of the drive motor, which will cause the actuator to be powered on and off in time and the position control to be inadequate. In special cases, when the target position is close to the actual position, under the influence of the above factors, problems such as position adjustment overshoot, repeated adjustment back and forth, and high-frequency oscillation are very likely to occur. Summary of the invention
[0006] In order to solve the above technical problems, the present invention provides an electronic multi-way water valve mode switching control method, comprising the following steps:
[0007] Step S1: Power on the water valve, collect data in the acceleration stage, the uniform speed stage and the deceleration stage, and fit the curves of time and the water valve rotation distance and time and the water valve rotation speed;
[0008] Step S2: Analyze the fitting curve obtained in step S1 according to the target position that the water valve needs to reach, and switch the control mode to the long stroke mode or the short stroke mode;
[0009] The long stroke mode includes an acceleration phase, a constant speed phase and a deceleration phase;
[0010] The short stroke mode includes an acceleration phase and a deceleration phase;
[0011] Step S3: According to the control mode, the water valve power-on time is obtained.
[0012] Preferably, quadratic regression is used for fitting in the acceleration stage, linear regression is used for fitting in the uniform speed stage, and quadratic regression is used for fitting in the deceleration stage.
[0013] Preferably, the fitting expression in the acceleration stage is:
[0014]
[0015] The fitting expression of the uniform speed stage is:
[0016] S = vt;
[0017] The fitting expression of the deceleration stage is:
[0018]
[0019] In the formula, S represents displacement, a represents acceleration, t represents time, v represents speed in uniform speed state, and v0 represents the initial speed when entering deceleration state.
[0020] Preferably, after the water valve performs step S2 and step S3 for n complete times, step S1 is re-executed to perform curve fitting.
[0021] Preferably, a 3D Hall sensor is used in the implementation of the water valve.
[0022] Preferably, the judgment condition for switching the control mode in step S2 is: when the stroke from the current position to the target position is greater than the motor acceleration stroke plus the motor deceleration stroke after power failure, it switches to the long stroke mode, otherwise it switches to the short stroke mode.
[0023] Preferably, the expression for calculating the power-on time in the long travel mode is:
[0024] t all =t1+t2;
[0025]
[0026] a1t1=V;
[0027] -a2t2=V;
[0028] Where, t all represents the power-on time, a1 represents the acceleration after power-on; t1 represents the acceleration time after power-on; t3 represents the uniform rotation time; t2 represents the deceleration time after power-off; a2 represents the acceleration after power-off; S represents the target stroke; V represents the uniform rotation speed.
[0029] Preferably, the expression for calculating the power-on time in the long travel mode is:
[0030] t all =t1+t2;
[0031]
[0032] a1t1=V;
[0033] -a2t2=V.
[0034] The beneficial effects of the present invention include at least: compared with the traditional closed-loop control, the actuator motor power-on time of the present invention is confirmed by calculation, and does not need to be calculated in real time with the position detection result, which can effectively avoid the problems of inadequate control, overshoot, high-frequency oscillation, etc. caused by the fluctuation of real-time detection data. At the same time, it avoids the motor in the actuator under open-loop control from stalling, and avoids various problems that may occur due to the motor stalling. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Figure 1 A schematic diagram of a method flow of an embodiment of the present invention;
[0036] Figure 2 A schematic diagram of data collection according to an embodiment of the present invention;
[0037] Figure 3 A curve fitting schematic diagram of an embodiment of the present invention;
[0038] Figure 4 A schematic diagram of calculating the power-on time in a long-travel mode according to an embodiment of the present invention;
[0039] Figure 5 Schematic diagram of short-trip mode power-on time calculation according to an embodiment of the present invention. DETAILED DESCRIPTION
[0040] The following is a clear and complete description of the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work belong to the protection scope of the present invention.
[0041] like Figure 1 As shown, an embodiment of the present invention provides an electronic multi-way water valve mode switching control method, comprising the following steps:
[0042] Step S1: Power on the water valve, collect data in the acceleration stage, the uniform speed stage and the deceleration stage, and fit to obtain a curve of time and water valve rotation distance, and a curve of time and water valve rotation speed.
[0043] In the embodiment of the present invention, a 3D Hall sensor is used in the water valve actuator to detect the valve core position in real time with high precision. A typical 3D Hall chip is MT6511 from Melexis.
[0044] Specifically, the results of data collection are as follows: Figure 2 As shown, in the embodiment of the present invention, the curve of the time after power-on and the rotation distance (TS) and the curve of the time after power-on and the speed (TV) are fitted. The algorithm used to fit the above curves according to the data points adopts regression analysis, wherein for the acceleration stage after power-on, quadratic regression is used, and the regression equation model can be For the uniform speed stage after stable operation, a first-order regression is used, and the regression equation model can be S=vt. For the deceleration stage after the motor stops powering off, a second-order regression is used, and the regression equation model can be The curve after fitting is as follows Figure 3 shown.
[0045] Step S2: Analyze the fitting curve obtained in step S1 according to the target position that the water valve needs to reach, and switch the control mode to the long stroke mode or the short stroke mode;
[0046] The long-stroke mode includes an acceleration phase, a constant-speed phase, and a deceleration phase;
[0047] The short stroke mode includes an acceleration phase and a deceleration phase.
[0048] Specifically, in the embodiment of the present invention, the driving modes are divided into two types, long stroke mode and short stroke mode. When the stroke from the current position to the target position is greater than the motor acceleration stroke plus the motor deceleration stroke after power failure, it is defined as the long stroke mode, otherwise it is defined as the short stroke mode.
[0049] Step S3: Obtain the water valve power-on time according to the control mode.
[0050] Specifically, under the long stroke strategy, in order to drive the valve core into position, the valve core must go through the acceleration stage, the uniform speed stage, and the deceleration stage during its rotation. At the same time, the uniform speed V of the valve core is obtained through the ST curve, and the power-on time (t1+t2) required by the actuator is obtained through the following equation. After the calculation, the valve core can be driven into position by giving the corresponding power-on time of the actuator.
[0051] t all =t1+t2;
[0052]
[0053] a1t1=V;
[0054] -a2t2=V;
[0055] Where: t all represents the power-on time, a1 represents the acceleration after power-on; t1 represents the acceleration time after power-on; t3 represents the uniform rotation time; t2 represents the deceleration time after power-off; a2 represents the acceleration after power-off; S represents the target stroke; V represents the uniform rotation speed. a1, a2, S and V can all be obtained by fitting the curve in step S1. A long stroke example is Figure 4 shown.
[0056] In the short stroke mode, the valve core only undergoes acceleration and deceleration during rotation. The power-on time required for the actuator can be calculated using the following equation. After the calculation, the valve core can be driven into place by simply giving the actuator the corresponding power-on time.
[0057] t all =t1+t2;
[0058]
[0059] a1t1=V;
[0060] -a2t2=V.
[0061] A short trip example Figure 5 shown.
[0062] Finally, after the actuator completes the execution according to the above strategy, it can drive the valve core to rotate to the corresponding position. At the same time, the position detection mechanism confirms whether the current position is the target position to avoid partial electrical or hardware failures that cause the valve core to not rotate to the right position. At the same time, the position detection mechanism records the current position to prepare for the next mode switch.
[0063] During the entire life cycle of the electronic water valve, the increase or decrease in working time and mode switching times will affect the internal resistance of the water valve, thereby affecting the mode switching speed and switching time under a given voltage. Therefore, in an embodiment of the present invention, a self-learning mode is set in the water valve actuator, and the status of the water valve product is monitored through a defined self-learning strategy. Specifically, given a fixed voltage of 8V, the actuator drives the valve core to rotate, while monitoring the position of the valve core in real time and making records. After each 500 times of water valve mode switching, the self-learning strategy is entered to adjust the fitting curve.
[0064] The technical features of the above embodiments can be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. Only the preferred embodiments of the present invention are expressed. The description is more specific and detailed, but it cannot be understood as limiting the scope of the patent of the present invention. As long as there is no contradiction in the combination of these technical features, they should be considered as the scope recorded in this specification.
[0065] It should be noted that, for those skilled in the art, several modifications and improvements can be made without departing from the concept of the present invention, and these modifications and improvements all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.
Claims
1. A method for controlling mode switching of an electronic multi-way water valve, characterized in that: The following steps are involved: Step S1: Power on the water valve, collect data in the acceleration stage, the uniform speed stage and the deceleration stage, and fit the curves of time and the water valve rotation distance, and the curves of time and the water valve rotation speed; Step S2: Analyze the fitting curve obtained in step S1 according to the target position that the water valve needs to reach, and switch the control mode to the long stroke mode or the short stroke mode; The long stroke mode includes an acceleration phase, a constant speed phase and a deceleration phase; The short stroke mode includes an acceleration phase and a deceleration phase; Step S3: According to the control mode, the water valve power-on time is obtained.
2. The electronic multi-way water valve mode switching control method according to claim 1, characterized in that: Step S1 includes: using quadratic regression to perform fitting in the acceleration stage, using linear regression to perform fitting in the uniform speed stage, and using quadratic regression to perform fitting in the deceleration stage.
3. The electronic multi-way water valve mode switching control method according to claim 2, characterized in that: The fitting expression of the acceleration stage is: The fitting expression of the uniform speed stage is: S = vt; The fitting expression of the deceleration stage is: In the formula, S represents displacement, a represents acceleration, t represents time, v represents speed in uniform speed state, and v0 represents the initial speed when entering deceleration state.
4. The electronic multi-way water valve mode switching control method according to claim 1, characterized in that: After the water valve performs step S2 and step S3 for n complete times, step S1 is executed again to fit the curve.
5. The electronic multi-way water valve mode switching control method according to claim 1, characterized in that: The water valve is implemented using a 3D Hall sensor.
6. The electronic multi-way water valve mode switching control method according to claim 1, characterized in that: The judgment condition for switching the control mode in step S2 is: when the stroke from the current position to the target position is greater than the motor acceleration stroke plus the motor deceleration stroke after power failure, it switches to the long stroke mode, otherwise it switches to the short stroke mode.
7. The electronic multi-way water valve mode switching control method according to claim 6, characterized in that: The expression for calculating the power-on time in the long travel mode is: t all =t1+t2; a1t1=V; -a2t2=V; Where, t all represents the power-on time, a1 represents the acceleration after power-on; t1 represents the acceleration time after power-on; t3 represents the uniform rotation time; t2 represents the deceleration time after power-off; a2 represents the acceleration after power-off; S represents the target stroke; V represents the uniform rotation speed.
8. The electronic multi-way water valve mode switching control method according to claim 7, characterized in that: The expression for calculating the power-on time in the short-stroke mode is: t all =t1+t2; a1t1=V; -a2t2=V.
