Control method, control system and electric valve
By acquiring and calibrating the position mapping curve of the electric valve, and correcting the actual set parameter position curve, the flow error problem of the electric valve was solved, and higher control accuracy was achieved.
Patent Information
- Application Number
- CN202110469833.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-04-28
- Publication Date
- 2025-11-11
- Estimated Expiration
- 2041-04-28
Smart Images

Figure CN115247720B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of control, and in particular to control methods, control systems and electric valves. Background Technology
[0002] During the operation of the electric valve, if the position control range required by the user and the actual position control range of the electric valve are inconsistent, the actual position of the electric valve under the flow rate corresponding to the position required by the user will be obtained based on the position mapping curve, and the electric valve will be controlled to operate to that actual position.
[0003] Due to limitations in the manufacturing process and assembly precision of the stepper motor's rotor and stator, as well as deviations in the magnetic field generated by the rotor and the fit between the rotor and stator, the flow rate at the actual position of the electric valve differs from the flow rate at the required position when the electric valve is controlled to move to the required position. This fails to meet the user's needs. If a separate position mapping curve is developed for each electric valve that does not meet the user's needs, it would increase manpower and material resources and would not be conducive to mass production.
[0004] The discrepancy between the actual flow rate and the required flow rate results in low control accuracy of the electric valve, failing to meet user needs. This is a technical problem that needs improvement. Summary of the Invention
[0005] This application provides a control method, a control system, and an electric valve, which helps to reduce the error between the flow rate at the actual location and the flow rate at the required location, and improves the control accuracy of the electric valve.
[0006] To achieve the above objectives, the following technical solution is adopted:
[0007] A control method applied to an electric valve, the control method comprising: acquiring a position mapping curve; acquiring an actual set parameter position curve based on the position mapping curve; acquiring a calibration value of the actual set parameter position curve based on the actual set parameter position curve; acquiring a corrected actual set parameter position curve based on the calibration value; and controlling the operation of the electric valve based on the corrected actual set parameter position curve.
[0008] A control method applied to an electric valve, the control method comprising:
[0009] The required position of the electric valve is obtained by setting parameters according to demand and the actual set parameter required position curve. The actual corrected position of the electric valve is obtained by mapping the required position of the electric valve and the corrected position curve.
[0010] The electric valve is controlled to move towards its actual corrected position. The corrected position mapping curve and the actual set parameter requirement position curve are pre-stored in the control system controlling the operation of the electric valve. Obtaining the corrected position mapping curve includes: obtaining the position mapping curve; obtaining the actual set parameter position curve based on the position mapping curve, wherein the actual set parameter position curve includes the actual set parameter requirement position curve and the actual set parameter actual position curve; obtaining a calibration value for the actual set parameter position curve based on the actual set parameter position curve; and obtaining a corrected actual set parameter position curve based on the calibration value, wherein the corrected actual set parameter position curve includes the corrected actual set parameter actual position curve.
[0011] The corrected position mapping curve is obtained by fitting the actual position curve of the corrected actual setting parameters and the required position curve of the actual setting parameters. The difference between the setting parameters corresponding to the horizontal and vertical coordinates of the points on the corrected position mapping curve is less than the set difference.
[0012] A control system applied to an electric valve, the control system comprising:
[0013] The acquisition module is used to acquire the position mapping curve and, based on the position mapping curve, acquire the actual set parameter position curve.
[0014] The calibration module is used to obtain the calibration value of the actual set parameter position curve based on the actual set parameter position curve.
[0015] The control module is used to obtain the corrected actual setting parameter position curve based on the calibration value, and to control the operation of the electric valve based on the corrected actual setting parameter position curve.
[0016] A control system applied to an electric valve, the control system comprising:
[0017] The acquisition module is used to obtain the required position of the electric valve based on the required parameters and the actual set parameter required position curve, and to obtain the actual position of the electric valve based on the required position of the electric valve and the corrected position mapping curve.
[0018] The control module is used to control the electric valve to move to the actual corrected position of the electric valve;
[0019] A storage module is used to store the corrected position mapping curve and the actual set parameter requirement position curve. Obtaining the corrected position mapping curve includes: obtaining the position mapping curve; obtaining the actual set parameter position curve based on the position mapping curve, wherein the actual set parameter position curve includes the actual set parameter requirement position curve and the actual set parameter actual position curve; obtaining a calibration value for the actual set parameter position curve based on the actual set parameter position curve; and obtaining a corrected actual set parameter position curve based on the calibration value, wherein the corrected actual set parameter position curve includes a corrected actual set parameter actual position curve.
[0020] The corrected position mapping curve is obtained by fitting the actual position curve of the corrected actual setting parameters and the required position curve of the actual setting parameters. The difference between the setting parameters corresponding to the horizontal and vertical coordinates of the points on the corrected position mapping curve is less than the set difference.
[0021] An electric valve includes a stator assembly, a rotor assembly, a valve core, and a circuit board assembly. The stator assembly includes a coil, and the rotor assembly includes a permanent magnet. The coil is electrically or signal-connected to the circuit board assembly. When the coil is energized, it generates an excitation magnetic field. The rotor assembly rotates in the excitation magnetic field. The position of the valve core is the position of the electric valve. The electric valve is configured to perform the control method described in the above technical solution.
[0022] The control method of this application obtains a position mapping curve, obtains an actual set parameter position curve based on the position mapping curve, obtains a calibration value of the actual set parameter position curve based on the actual set parameter position curve, obtains a corrected actual set parameter position curve based on the calibration value, and controls the operation of the electric valve based on the corrected actual set parameter position curve. This method helps to reduce the difference between the flow rate at the actual position and the flow rate at the required position, improves the control accuracy of the electric valve, and meets the user's needs. Therefore, based on the actual set parameter position curve, a flow calibration value at a certain position is obtained, and the actual set parameter position curve is shifted based on the calibration value to eliminate the error between the flow rate at the actual position and the flow rate at the required position, thereby improving the control accuracy of the electric valve. Attached Figure Description
[0023] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings:
[0024] Figure 1 This is a flowchart of a control method according to an embodiment of this application;
[0025] Figure 2This is a flowchart illustrating the acquisition of a position mapping curve according to an embodiment of this application;
[0026] Figure 3 This is a schematic diagram of the actual setting parameter position curve according to the embodiments of this application;
[0027] Figure 4 This is a schematic diagram of the actual setting parameter position curve according to the modified embodiment of this application;
[0028] Figure 5 This is a structural block diagram of the control system according to an embodiment of this application;
[0029] Figure 6 This is a structural block diagram of another control system according to an embodiment of this application;
[0030] Figure 7 This is a flowchart of another control method according to an embodiment of this application. Detailed Implementation
[0031] To make the objectives, technical solutions, and advantages of this application clearer, the application is described and illustrated below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the application. All other embodiments obtained by those skilled in the art based on the embodiments provided in this application without inventive effort are within the scope of protection of this application. Furthermore, it is understood that although the efforts made in such a development process may be complex and lengthy, for those skilled in the art related to the content disclosed in this application, modifications to design, manufacturing, or production based on the technical content disclosed in this application are merely conventional technical means and should not be construed as insufficient disclosure of the content of this application.
[0032] In this application, the reference to "embodiment" means that a specific feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment that is mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described in this application may be combined with other embodiments without conflict.
[0033] Unless otherwise defined, the technical or scientific terms used in this application shall have the ordinary meaning understood by one of ordinary skill in the art to which this application pertains. The terms “a,” “an,” “an,” “the,” and similar words used in this application do not indicate quantity limitation and may indicate singular or plural. The terms “comprising,” “including,” “having,” and any variations thereof used in this application are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or device that includes a series of steps or modules (units) is not limited to the listed steps or units, but may also include steps or units not listed, or may include other steps or units inherent to these processes, methods, products, or devices. The terms “connected,” “linked,” “coupled,” and similar words used in this application are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. “Multiple” used in this application means two or more. “And / or” describes the relationship between related objects, indicating that three relationships may exist; for example, “A and / or B” can represent: A alone, A and B simultaneously, and B alone. The terms “first,” “second,” “third,” etc., used in this application are merely to distinguish similar objects and do not represent a specific ordering of the objects.
[0034] This embodiment provides a first control method. Figure 1 This is a flowchart of a control method according to an embodiment of this application. This control method can be applied to scenarios requiring control of an electric valve and can be executed by the electric valve's control system, which can be implemented using software and / or hardware. Figure 1 As shown, the method includes the following steps:
[0035] Step S101: Obtain the position mapping curve and obtain the actual set parameter position curve based on the position mapping curve. The actual set parameter position curve includes the actual set parameter required position curve and the actual set parameter actual position curve. In this embodiment, when the user's required position control range for the electric valve is inconsistent with the actual position control range of the electric valve, according to the principle of consistent flow, the actual position of the electric valve under the flow rate corresponding to the required position of the electric valve is taken as the position mapping curve. The flow rate curve test of the electric valve is performed based on the position mapping curve to obtain the flow rate corresponding to each position of the actual position of the electric valve, which is the actual set parameter position curve.
[0036] Step S102: Based on the actual set parameter position curve, obtain the calibration value of the actual set parameter position curve, and based on the calibration value, obtain the corrected actual set parameter position curve. For example, taking an electric valve with a stepper motor as an example, the number of microsteps of the stepper motor can characterize the position of the electric valve. According to the actual set parameter position curve, when the required position of the electric valve is 525 steps, the corresponding actual position of the electric valve is 118 steps, and the actual flow rate is 12.6 kg / h. However, the user has a special requirement for the flow rate at the required position of 525 steps, which needs to meet the requirement of a flow rate of 16.4 ± 2 kg / h. Therefore, it is necessary to perform flow rate calibration at the required position of 525 steps, and shift the entire actual set parameter position curve according to the calibration value to obtain the corrected actual set parameter position curve.
[0037] Step S103: Control the operation of the electric valve according to the corrected actual set parameter position curve. In this embodiment, due to differences in manufacturing process and assembly of the electric valve rotor, the actual set parameter position curve does not meet the user's requirements. Therefore, it is necessary to control the operation of the electric valve according to the calibrated actual set parameter position curve to meet the user's specific flow requirements at a certain position.
[0038] Through steps S101 to S103, a position mapping curve is obtained, and an actual set parameter position curve is obtained based on the position mapping curve. A calibration value for the actual set parameter position curve is obtained based on the actual set parameter position curve, and a calibrated actual set parameter position curve is obtained based on the calibration value. The electric valve is then controlled based on the calibrated actual set parameter position curve. This solves the problem that errors exist in flow curve testing based on the position mapping curve due to limitations in the manufacturing process and assembly precision of the electric valve's rotor and stator, as well as deviations in the magnetic field generated by the rotor and the fit between the rotor and stator. This results in a difference between the actual flow rate and the required flow rate, leading to low control precision of the electric valve and inability to meet user needs. Therefore, based on the actual set parameter position curve, a flow calibration value for a certain position is obtained. Based on the calibration value, the actual set parameter position curve is shifted to eliminate the error between the actual flow rate and the required flow rate, thereby improving the control precision of the electric valve.
[0039] In some of these embodiments, Figure 2 This is a flowchart of obtaining a position mapping curve according to an embodiment of this application, such as... Figure 2 As shown, obtaining the location mapping curve includes the following steps:
[0040] Step S201: Obtain the actual measured setting parameter curve, wherein the actual measured setting parameter curve includes the correspondence between the actual position of the electric valve and the actual setting parameters; wherein the electric valve includes an electronic expansion valve, the electronic expansion valve includes a stepper controller, a motor and a valve core, the controller sends a drive signal to the stepper motor to control the stepper motor to rotate, the stepper motor drives the valve core of the electric valve to move relative to the valve port, so that the valve port reaches the corresponding opening degree, the position of the electric valve can be understood as the position of the valve core of the electric valve, and the position of the valve core of the electric valve, the opening area of the electric valve port and the number of microsteps of the stepper motor are all linearly related, so the position of the electric valve can be characterized by the position of the valve core of the electric valve or the number of microsteps of the stepper motor, the setting parameters include flow rate, therefore, the actual measured setting parameter curve may also include the correspondence between the microstep value of the motor and the flow rate;
[0041] Step S202: Obtain the required setting parameter curve, wherein the required setting parameter curve includes the correspondence between the required position of the electric valve and the required setting parameters; the required setting parameter curve includes the correspondence between the microstep value of the motor and the flow rate.
[0042] Step S203: Fit the actual measured set parameter curve and the required set parameter curve to obtain the position mapping curve; wherein, the position mapping curve includes the correspondence between the actual position of the electric valve and the required position of the electric valve, and the difference between the required set parameter and the actual set parameter corresponding to the horizontal and vertical coordinates of each node on the position mapping curve is less than the set difference. Table 1 below can be obtained based on the position mapping curve.
[0043] Table 1. Demand position of electric valve and actual position of electric valve under the corresponding flow rate.
[0044]
[0045] Obtaining the actual setting parameter position curve based on the position mapping curve includes: performing flow curve testing on the electric valve based on the position mapping curve, obtaining the test setting parameters corresponding to the actual position of the electric valve, and obtaining the actual setting parameter position curve based on the position mapping curve and the test setting parameters. The actual setting parameter position curve includes the actual setting parameter required position curve and the actual setting parameter actual position curve. Figure 3 This is a schematic diagram of the actual setting parameter position curve according to the embodiments of this application, such as... Figure 3 As shown, the horizontal axis represents the position of the electric valve, the vertical axis represents the flow rate, curve a is the actual position curve with the actual set parameters, and curve b is the required position curve with the actual set parameters. Figure 3 The following table, Table 2, can be obtained.
[0046] Table 2. Correspondence between demand location, actual location, and actual traffic volume
[0047]
[0048] Based on the actual set parameter position curve, the calibration values of the actual set parameter position curve are obtained, including:
[0049] The first and second setting parameters on the actual setting parameter position curve are obtained according to the preset setting parameters, wherein the difference between the first setting parameter and the second setting parameter and the preset setting parameter is less than the preset difference.
[0050] Based on the first set parameter and the position of the electric valve corresponding to the first set parameter, and the second set parameter and the position of the electric valve corresponding to the second set parameter, the first parameter value and the second parameter value are obtained through linear interpolation. The position of the electric valve includes the actual position of the electric valve or the required position of the electric valve. Based on the preset set parameter, the first parameter value and the second parameter value, the calibration value of the actual set parameter position curve is obtained.
[0051] When the position of the electric valve is the actual position of the electric valve, the first set parameter and the second set parameter are parameter points on the actual position curve of the actual set parameter. Then, the position of the electric valve corresponding to the first set parameter and the second set parameter is the actual position of the electric valve. For example, the preset set parameter is 16.4 kg / h, that is, when the user requires the position to be 525 steps, the corresponding actual flow rate is 16.4 kg / h. Two sets of data with actual flow rates around 16.4 kg / h are selected from Table 2, as shown in Table 3 below:
[0052] Table 3. Two sets of data for actual flow rates around 16.4 kg / h
[0053]
[0054] In this system, the actual flow rate of 12.6 kg / h is the first set parameter, and the actual flow rate of 16 kg / h is the second set parameter. 16.4 kg / h - 12.6 kg / h = 3.8 kg / h, 16.4 kg / h - 16 kg / h = 0.4 kg / h. If the preset difference is 4 kg / h, then the differences between the first and second set parameters and the preset parameters are both less than the preset difference. Linear interpolation is used to obtain the actual position corresponding to an actual flow rate of 16.4 kg / h. That is, assuming a linear equation in two variables Yb = k1*Xb + b1, substituting the actual flow rate Yb of step 118 (actual position Xb = 12.6 kg / h) and step 133 (actual position Xb = 16 kg / h) into the linear equation in two variables, we obtain the first parameter value k1 = 0.227 and the second parameter value b1 = 14.186. Therefore, the linear equation in two variables is as shown in Formula 1 below:
[0055] Yb=0.227*Xb-14.186 Formula 1
[0056] According to Formula 1, the actual position Xb when the actual flow rate Yb is 16.4 kg / h is calculated to be 135 steps. The user's required position Xa is 525 steps, meaning the actual position Xb must be 118 steps to achieve a flow rate of 16.4 kg / h. However, the calculated actual position Xb for a flow rate of 16.4 kg / h is 135 steps. Therefore, the calibration value of the position curve is set to 17. To obtain an accurate flow rate of 16.4 kg / h, the actual position Xb corresponding to the required position Xa (525 steps) must be shifted 17 steps along the X-axis.
[0057] In another embodiment, when the position of the electric valve is the required position of the electric valve, the first setting parameter and the second setting parameter are parameter points on the actual setting parameter required position curve. Then, the position of the electric valve corresponding to the first setting parameter and the second setting parameter is the required position of the electric valve. For example, the preset setting parameter is 16.4 kg / h, that is, when the user requires the required position to be 525 steps, the corresponding actual flow rate is 16.4 kg / h. Two sets of data with actual flow rates around 16.4 kg / h are selected from Table 2, as shown in Table 3 above.
[0058] The first set parameter is an actual flow rate of 12.6 kg / h, and the second set parameter is an actual flow rate of 16 kg / h. 16.4 kg / h - 12.6 kg / h = 3.8 kg / h, 16.4 kg / h - 16 kg / h = 0.4 kg / h. If the preset difference is 4 kg / h, then the differences between the first and second set parameters and the preset parameters are both less than the preset difference. Linear interpolation is used to obtain the actual location corresponding to an actual flow rate of 16.4 kg / h. That is, assuming a linear equation in two variables Yb = k2*Xa + b2, substituting the actual flow rate Yb of 12.6 kg / h at the required location Xa at step 525 and 16 kg / h at the required location Xa at step 550 into the linear equation in two variables, we obtain the first parameter value k2 = 0.136 and the second parameter value b2 = -58.8. Therefore, the linear equation in two variables is as shown in Formula 2 below:
[0059] Yb=0.136*Xa-58.8 Formula 2
[0060] According to Formula 2, the required location Xa when the actual flow rate Yb is 16.4 kg / h is calculated to be 553 steps. Since the user requires 525 steps for location Xa, the flow rate must be 16.4 kg / h. The actual calculated location Xa when the flow rate is 16.4 kg / h is 553 steps. The corresponding actual location Xb when location Xa is 553 steps is obtained using Formula 3.
[0061] Formula 3: Xa = k3 * Xb + b3
[0062] Substituting the steps Xa=525, Xb=118, and Xa=550, Xb=133 into Formula 3, we get k3=1.667 and b3=328.3. Substituting the values of k3 and b3 into Formula 3, we obtain the following Formula 4:
[0063] Xa=1.667*Xb+328.3Formula 4
[0064] Substituting Xa = 553 steps into Formula 4, we get the actual position Xb ≈ 135 steps. When the required position Xa is 525 steps, the actual position is 118 steps, and the actual flow rate is 12.6 kg / h. However, the user requires that when the required position Xa is 525 steps, the flow rate must be 16.4 kg / h. The actual calculated required position for a flow rate of 16.4 kg / h is 532 steps, while the actual position corresponding to a required position of 553 steps is 135 steps. Therefore, the calibration value of the actual set parameter position curve is 17. Only by shifting the actual position Xb along the X-axis by 17 steps can the accurate flow rate of 16.4 kg / h be obtained.
[0065] In some embodiments, obtaining the corrected actual setting parameter position curve based on the calibration value includes: maintaining the maximum and minimum positions of the electric valve's actual position on the actual setting parameter position curve unchanged, and obtaining the corrected actual setting parameter position curve based on the calibration value. In this embodiment, Figure 4 This is a schematic diagram of the actual setting parameter position curve according to the modified embodiment of this application, such as... Figure 4 As shown, the horizontal axis represents the actual position, the vertical axis represents the flow rate, curve d represents the actual position curve of the actual set parameter before calibration, and curve c represents the actual position curve of the actual set parameter after calibration. In this embodiment, the first coordinate point is the minimum position of the actual position of the electric valve, and the seventh coordinate point is the maximum position of the actual position of the electric valve. If the calibration value is 17, the maximum and minimum positions of the actual position of the electric valve are kept unchanged on the actual set parameter position curve. The actual position curve of the actual set parameter before calibration is shifted 17 steps along the X-axis to obtain the corrected actual position curve of the actual set parameter.
[0066] It should be noted that the steps shown in the above process or in the flowchart of the accompanying figures can be executed in a computer system such as a set of computer-executable instructions, and although a logical order is shown in the flowchart, in some cases the steps shown or described may be executed in a different order than that shown here.
[0067] This embodiment also provides a control system for implementing the above embodiments and preferred embodiments, and details already described will not be repeated. As used below, the terms "module," "unit," "subunit," etc., can refer to a combination of software and / or hardware that performs a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.
[0068] Figure 5 This is a structural block diagram of the control system according to an embodiment of this application, such as... Figure 5 As shown, the system includes an acquisition module 51, a calibration module 52, and a control module 53.
[0069] The acquisition module 51 is used to acquire the position mapping curve and obtain the actual set parameter position curve based on the position mapping curve; the calibration module 52 is used to acquire the calibration value of the actual set parameter position curve based on the actual set parameter position curve; the control module 53 is used to acquire the corrected actual set parameter position curve based on the calibration value and control the operation of the electric valve based on the corrected actual set parameter position curve. This solves the problem of low control accuracy of the electric valve due to the difference between the flow rate at the actual position and the flow rate at the required position caused by the limitations of the manufacturing process and assembly accuracy of the rotor and stator of the electric valve. Therefore, based on the actual set parameter position curve, the flow calibration value at a certain position is acquired, and the actual set parameter position curve is shifted according to the calibration value to eliminate the error between the flow rate at the actual position and the flow rate at the required position, thereby improving the control accuracy of the electric valve.
[0070] In some of these embodiments, Figure 6 This is a structural block diagram of another control system according to an embodiment of this application, such as... Figure 6 As shown, the control system also includes a sending module 61. After the calibration module 52 obtains the calibration value of the actual set parameter position curve, the sending module 61 sends the calibration value to the electric valve.
[0071] For example, the above algorithm can be made into a small program and placed on a comprehensive performance test bench. By measuring each electric valve, a calibration value is obtained, and then the calibration value is written into the electric valve by sending the calibration value to the electric valve via the LIN (Local Interconnect Network) bus. Since the electric valve does not allow frame information other than those specified, a locking command frame can also be added to the electric valve. Once locked, it will no longer respond to the two commands of writing calibration value and locking.
[0072] The second implementation of the control method is applied to an electric valve. Figure 7 This is a flowchart of another control method according to an embodiment of this application, such as... Figure 7 As shown, the control method includes the following steps:
[0073] Step S701: Obtain the required position of the electric valve based on the required parameters and the actual set parameter required position curve. Obtain the actual corrected position of the electric valve based on the required position of the electric valve and the corrected position mapping curve. In this embodiment, if the required set parameter is 16.4 kg / h, the required position of the electric valve is 525 steps according to the actual set parameter required position curve. According to the position mapping curve, when the required position of the electric valve is 525 steps, the corresponding actual position of the electric valve is 118 steps. As can be seen from Formula 1 in the first control method, when the required position is 525 steps and the corresponding actual position of the electric valve is 118 steps, the actual flow rate is 12.6 kg / h, which does not meet the required set parameter of 16.4 kg / h. Therefore, it is necessary to obtain the actual corrected position of the electric valve based on the corrected position mapping curve to improve the control accuracy of the electric valve. According to the corrected position mapping curve, when the required position of the electric valve is 525 steps, the corresponding actual corrected position of the electric valve is 135 steps.
[0074] Step S702: Control the electric valve to move towards its actual corrected position. The corrected position mapping curve and the actual set parameter required position curve are pre-stored in the control system controlling the electric valve's operation. Obtaining the corrected position mapping curve includes: obtaining the position mapping curve; obtaining the actual set parameter position curve based on the position mapping curve, wherein the actual set parameter position curve includes the actual set parameter required position curve and the actual set parameter actual position curve; obtaining the calibration value of the actual set parameter position curve based on the actual set parameter position curve; and obtaining the corrected actual set parameter position curve based on the calibration value, wherein the corrected actual set parameter position curve includes the corrected actual set parameter actual position. The curve is obtained by fitting the actual position curve of the actual set parameter and the required position curve of the actual set parameter. The difference between the set parameter corresponding to the horizontal and vertical coordinates of the points on the corrected position mapping curve is less than the set difference. In this embodiment, when the required set parameter is 16.4 kg / h, the electric valve is controlled to run 135 steps towards the actual corrected position of the electric valve to obtain the actual flow rate of 16.4 kg / h. By obtaining the actual corrected position of the electric valve according to the required position and the corrected position mapping curve, and controlling the electric valve to run towards the actual corrected position, the error between the flow rate at the actual position and the flow rate at the required position is eliminated, and the control accuracy of the electric valve is improved.
[0075] Compared to the first control method, the main difference in the second control method is that the corrected position mapping curve, obtained by fitting the corrected actual set parameter position curve and the actual set parameter required position curve, is pre-stored in the control system controlling the operation of the electric valve. This eliminates the need for the process of acquiring the corrected actual set parameter position curve as in the first control method, which is beneficial for mass production. This control method is simpler, requires less space in the control system, and allows for online or offline adjustments to the corrected actual set parameter position curve if it changes.
[0076] This invention also provides a second control system applied to an electric valve. The control system includes an acquisition module, a control module, and a storage module. The acquisition module acquires the required position of the electric valve based on required parameters and the actual set parameter required position curve, and acquires the actual corrected position of the electric valve based on the required position and a corrected position mapping curve. The control module controls the electric valve to move towards the actual corrected position. The storage module stores the corrected position mapping curve and the actual set parameter required position curve. Acquiring the corrected position mapping curve includes: acquiring the position mapping curve; acquiring the actual set parameter position curve based on the position mapping curve, wherein the actual set parameter position curve includes the actual set parameter required position curve and the actual set parameter actual position curve; acquiring the calibration value of the actual set parameter position curve based on the actual set parameter position curve; and acquiring the corrected actual set parameter position curve based on the calibration value, wherein the corrected actual set parameter position curve includes the corrected actual set parameter actual position curve.
[0077] The corrected position mapping curve is obtained by fitting the actual position curve of the actual set parameters and the required position curve of the actual set parameters. The difference between the set parameters corresponding to the x-coordinate and y-coordinate of the points on the corrected position mapping curve is less than the set difference.
[0078] Compared to the first control system implementation, the main difference in the second control system implementation is that the corrected position mapping curve, obtained by fitting the corrected actual set parameter position curve and the actual set parameter required position curve, is pre-stored in the control system controlling the operation of the electric valve. This eliminates the need for the process of acquiring the corrected actual set parameter position curve as in the first control method, which is beneficial for mass production. This control method is simpler, requires less space in the control system, and allows for online or offline modification of the corrected actual set parameter position curve if it changes.
[0079] It should be noted that the above modules can be functional modules or program modules, and can be implemented through software or hardware. For modules implemented through hardware, the above modules can reside in the same processor; or the above modules can be located in different processors in any combination.
[0080] This embodiment also provides an electric valve, including a stator assembly, a rotor assembly, a valve core, and a circuit board assembly. The stator assembly includes a coil, and the rotor assembly includes a permanent magnet. The coil is electrically or signal-connected to the circuit board assembly. When the coil is energized, it generates an excitation magnetic field. The rotor assembly rotates in the excitation magnetic field. The position of the valve core is the position of the electric valve. The electric valve is configured to perform the steps in any of the above method embodiments.
[0081] Furthermore, in conjunction with the control methods described in the above embodiments, this application embodiment can provide a storage medium for implementation. This storage medium stores a computer program; when executed by a processor, the computer program implements any of the control methods described in the above embodiments.
[0082] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. This computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments of the above methods. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
[0083] Those skilled in the art should understand that the technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments have been described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0084] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the invention patent. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this patent application should be determined by the appended claims.
Claims
1. A control method applied to an electric valve, characterized in that, The control method includes: Obtain a location mapping curve, and obtain an actual setting parameter location curve based on the location mapping curve, wherein the actual setting parameter location curve includes an actual setting parameter demand location curve and an actual setting parameter actual location curve, and the setting parameter includes flow rate; Based on the actual set parameter position curve, obtain the calibration value of the actual set parameter position curve, and based on the calibration value, obtain the corrected actual set parameter position curve; The electric valve is controlled to operate according to the corrected actual setting parameter position curve; The process of obtaining the calibration value of the actual setting parameter position curve based on the actual setting parameter position curve includes: obtaining a first setting parameter and a second setting parameter on the actual setting parameter position curve based on preset setting parameters, wherein the difference between the first setting parameter and the second setting parameter and the preset setting parameter is less than a preset difference. Based on the first set parameter and the position of the electric valve corresponding to the first set parameter, and based on the second set parameter and the position of the electric valve corresponding to the second set parameter, the first parameter value and the second parameter value are obtained by linear interpolation, wherein the position of the electric valve includes the actual position of the electric valve or the required position of the electric valve; Based on the preset setting parameters, the first parameter value, and the second parameter value, the calibration value of the actual setting parameter position curve is obtained.
2. The method according to claim 1, characterized in that, The obtained location mapping curve includes: Obtain the actual measured setting parameter curve, wherein the actual measured setting parameter curve includes the correspondence between the actual position of the electric valve and the actual setting parameters; Obtain the required setting parameter curve, wherein the required setting parameter curve includes the correspondence between the required position of the electric valve and the required setting parameters; The position mapping curve is obtained by fitting the actual measured set parameter curve and the required set parameter curve; wherein, the position mapping curve includes the correspondence between the actual position of the electric valve and the required position of the electric valve, and the difference between the required set parameter and the actual set parameter corresponding to the horizontal and vertical coordinates of each node on the position mapping curve is less than the set difference.
3. The method according to claim 1, characterized in that, The actual set parameter position curve obtained based on the position mapping curve includes: Perform flow curve testing on the electric valve to obtain the test setting parameters corresponding to the actual position of the electric valve; The actual setting parameter position curve is obtained based on the position mapping curve and the test setting parameters.
4. The method according to claim 1, characterized in that, Based on the calibration value, the corrected actual setting parameter position curve is obtained as follows: The maximum and minimum positions of the actual position of the electric valve are kept constant on the actual set parameter position curve, and the corrected actual set parameter position curve is obtained based on the calibration value.
5. A control method applied to an electric valve, characterized in that, The control method includes: The required position of the electric valve is obtained by setting parameters according to demand and the actual set parameter required position curve. The actual corrected position of the electric valve is obtained by mapping the required position of the electric valve and the corrected position curve. The set parameters include flow rate. The electric valve is controlled to move towards its actual corrected position. The corrected position mapping curve and the actual set parameter requirement position curve are pre-stored in the control system controlling the operation of the electric valve. Obtaining the corrected position mapping curve includes: obtaining the position mapping curve; obtaining the actual set parameter position curve based on the position mapping curve, wherein the actual set parameter position curve includes the actual set parameter requirement position curve and the actual set parameter actual position curve; obtaining a calibration value for the actual set parameter position curve based on the actual set parameter position curve; and obtaining a corrected actual set parameter position curve based on the calibration value, wherein the corrected actual set parameter position curve includes the corrected actual set parameter actual position curve. The corrected position mapping curve is obtained by fitting the actual position curve of the corrected actual setting parameter and the required position curve of the actual setting parameter. The difference between the setting parameter corresponding to the horizontal and vertical coordinates of the points on the corrected position mapping curve is less than the set difference. The process of obtaining the calibration value of the actual setting parameter position curve based on the actual setting parameter position curve includes: obtaining a first setting parameter and a second setting parameter on the actual setting parameter position curve based on preset setting parameters, wherein the difference between the first setting parameter and the second setting parameter and the preset setting parameter is less than a preset difference. Based on the first set parameter and the position of the electric valve corresponding to the first set parameter, and based on the second set parameter and the position of the electric valve corresponding to the second set parameter, the first parameter value and the second parameter value are obtained by linear interpolation, wherein the position of the electric valve includes the actual position of the electric valve or the required position of the electric valve; Based on the preset setting parameters, the first parameter value, and the second parameter value, the calibration value of the actual setting parameter position curve is obtained.
6. A control system applied to an electric valve, characterized in that, The control system includes: The acquisition module is used to acquire the position mapping curve and, based on the position mapping curve, acquire the actual set parameter position curve. The calibration module is used to obtain the calibration value of the actual set parameter position curve based on the actual set parameter position curve. The control module is used to obtain the corrected actual setting parameter position curve based on the calibration value, and control the operation of the electric valve based on the corrected actual setting parameter position curve. When the calibration module obtains the calibration value of the actual set parameter position curve based on the actual set parameter position curve, it is used for: The first setting parameter and the second setting parameter on the actual setting parameter position curve are obtained according to the preset setting parameters, wherein the difference between the first setting parameter and the second setting parameter and the preset setting parameter is less than the preset difference, and the setting parameter includes flow rate; Based on the first set parameter and the position of the electric valve corresponding to the first set parameter, and based on the second set parameter and the position of the electric valve corresponding to the second set parameter, the first parameter value and the second parameter value are obtained by linear interpolation, wherein the position of the electric valve includes the actual position of the electric valve or the required position of the electric valve; Based on the preset setting parameters, the first parameter value, and the second parameter value, the calibration value of the actual setting parameter position curve is obtained.
7. The control system according to claim 6, characterized in that, The control system also includes a transmitting module: After the calibration module obtains the calibration value of the actual set parameter position curve, the sending module sends the calibration value to the electric valve.
8. A control system applied to an electric valve, characterized in that, The control system includes: The acquisition module is used to obtain the required position of the electric valve based on the required parameters and the actual set parameter required position curve, and to obtain the actual corrected position of the electric valve based on the required position and corrected position mapping curve of the electric valve. The set parameters include flow rate. The control module is used to control the electric valve to move to the actual corrected position of the electric valve; A storage module is used to store the corrected position mapping curve and the actual set parameter requirement position curve. Obtaining the corrected position mapping curve includes: obtaining the position mapping curve; obtaining the actual set parameter position curve based on the position mapping curve, wherein the actual set parameter position curve includes the actual set parameter requirement position curve and the actual set parameter actual position curve; obtaining a calibration value for the actual set parameter position curve based on the actual set parameter position curve; and obtaining a corrected actual set parameter position curve based on the calibration value, wherein the corrected actual set parameter position curve includes a corrected actual set parameter actual position curve. The corrected position mapping curve is obtained by fitting the actual position curve of the corrected actual setting parameter and the required position curve of the actual setting parameter. The difference between the setting parameter corresponding to the horizontal and vertical coordinates of the points on the corrected position mapping curve is less than the set difference. When the storage module obtains the calibration value of the actual set parameter position curve based on the actual set parameter position curve, it is used for: The first setting parameter and the second setting parameter on the actual setting parameter position curve are obtained according to the preset setting parameters, wherein the difference between the first setting parameter and the second setting parameter and the preset setting parameter is less than the preset difference. Based on the first set parameter and the position of the electric valve corresponding to the first set parameter, and based on the second set parameter and the position of the electric valve corresponding to the second set parameter, the first parameter value and the second parameter value are obtained by linear interpolation, wherein the position of the electric valve includes the actual position of the electric valve or the required position of the electric valve; Based on the preset setting parameters, the first parameter value, and the second parameter value, the calibration value of the actual setting parameter position curve is obtained.
9. An electric valve, comprising a stator assembly, a rotor assembly, a valve core, and a circuit board assembly, wherein the stator assembly includes a coil, the rotor assembly includes a permanent magnet, the coil is electrically or signal-connected to the circuit board assembly, and the coil generates an excitation magnetic field when energized, and the rotor assembly rotates in the excitation magnetic field, characterized in that... The position of the valve core is the position of the electric valve, and the electric valve is configured to perform the control method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Control method, control system and electric valve
CN112944007A