Electromagnetic valve bidirectional control system and method

By acquiring real-time operating data of the solenoid valve, calculating control response accuracy and energy loss rate, formulating a global optimization strategy, and adjusting the coil current, the problem of erroneous judgment caused by single-dimensional data in traditional solenoid valve control is solved, and the overall control performance is improved.

CN121007240AActive Publication Date: 2025-11-25SMC ASIA GAS SYST CO LTD CHENGDU
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202511544220.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-10-28
Publication Date
2025-11-25
Estimated Expiration
2045-10-28

AI Technical Summary

Technical Problem

In the control process of traditional solenoid valves, the focus is on a single dimension of data, which leads to incorrect judgments and affects the overall control performance.

Method used

By acquiring parameter information from preset control commands, obtaining real-time operating data, calculating control response accuracy, energy loss rate, and control mode matching degree, formulating global optimization strategies, and adjusting the drive current of the solenoid valve coil.

Benefits of technology

This has enabled a shift from adjusting single data to optimizing multiple data sources collaboratively, thereby improving the overall control performance of the solenoid valve.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121007240A_ABST
    Figure CN121007240A_ABST
Patent Text Reader

Abstract

The invention is suitable for the technical field of hydraulic valve body control, and particularly relates to an electromagnetic valve two-way control system and method.The method comprises the steps that real-time operation data reflecting working conditions corresponding to parameter information are obtained; based on the real-time operation data, control response precision is obtained; obtaining an energy loss rate based on the pressure change value and the flow fluctuation amplitude of each moment in the working condition corresponding to the parameter information; obtaining a control mode matching degree corresponding to the to-be-adjusted solenoid valve based on a theoretical action curve of the to-be-adjusted solenoid valve and an actual action curve under a working condition corresponding to the parameter information; and obtaining a control optimization strategy of the to-be-adjusted solenoid valve based on at least two of the control response precision, the energy loss rate and the control mode matching degree. According to the electromagnetic valve two-way control method, the problems that in the control process of a traditional electromagnetic valve, single-dimension data are usually focused, misjudgment is likely to be generated, and the overall control performance of the electromagnetic valve is affected can be solved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The application belongs to the technical field of hydraulic valve body control, and particularly relates to a solenoid valve bidirectional control system and method. BACKGROUND

[0002] The solenoid valve is a kind of electromechanical element for controlling fluid by using solenoid to drive the valve core, which is widely used in industrial, civil and automotive fields due to its compact structure, fast response speed, easy electrical and automatic integration.

[0003] In the control process of the traditional solenoid valve, usually focus on single dimension data (for example, the control process in the past may only focus on a single target, such as increasing the driving power in order to improve the response speed, but this leads to the increase of energy consumption and impact. Or slow down the action in order to save energy, but it also affects the system response speed. This single-target-focused approach cannot achieve the optimal overall control performance), which is easy to produce false judgment and affect the overall control performance of the solenoid valve. SUMMARY

[0004] The embodiments of the application provide a solenoid valve bidirectional control system and method, which can solve the problem that in the control process of the traditional solenoid valve, usually focus on single dimension data, which is easy to produce false judgment and affect the overall control performance of the solenoid valve.

[0005] In a first aspect, the embodiments of the application provide a solenoid valve bidirectional control method, comprising: According to the parameter information of the to-be-adjusted solenoid valve carried in the preset control instruction, real-time running data reflecting the working condition corresponding to the parameter information is obtained; Based on the real-time running data, the control response precision of the to-be-adjusted solenoid valve in the actual working condition is obtained; wherein the control response precision is used to indicate the degree of coincidence between the actual action of the to-be-adjusted solenoid valve and the preset control instruction; Based on the pressure change value and the flow fluctuation amplitude at each moment in the working condition corresponding to the parameter information, the energy loss rate corresponding to the to-be-adjusted solenoid valve is obtained; Based on the theoretical action curve of the solenoid valve to be adjusted and the actual action curve under the corresponding operating conditions of the parameter information, the control mode matching degree of the solenoid valve to be adjusted is obtained; wherein, the theoretical action curve of the solenoid valve to be adjusted is used to describe the ideal action law that the solenoid valve should exhibit under the action of the preset control command; the actual action curve under the corresponding operating conditions of the parameter information is the actual action law drawn based on the real-time operation data; the control mode matching is determined based on the local deviation degree, the deviation change rate, and the importance weight of the key data points corresponding to the deviation between the theoretical action curve and the actual action curve; the deviation change rate is used to correct the local deviation degree; the key data points are the inflection points, extreme points, or stage endpoints of the theoretical action curve. Based on at least two of the control response accuracy, the energy loss rate, and the control mode matching degree, a control optimization strategy for the solenoid valve to be adjusted is obtained. According to the control optimization strategy of the solenoid valve to be adjusted, the drive current of the solenoid valve coil is adjusted.

[0006] The technical solutions described in this application embodiment have at least the following technical effects: The bidirectional control method for solenoid valves provided in this application acquires real-time operating data reflecting the corresponding operating conditions based on the parameter information of the solenoid valve to be adjusted carried in the preset control command; based on the real-time operating data, the control response accuracy of the solenoid valve to be adjusted in the actual operating conditions is obtained; based on the pressure change value and flow fluctuation amplitude at each moment in the operating conditions corresponding to the parameter information, the energy loss rate corresponding to the solenoid valve to be adjusted is obtained; based on the theoretical action curve of the solenoid valve to be adjusted and the actual action curve under the operating conditions corresponding to the parameter information, the control mode matching degree corresponding to the solenoid valve to be adjusted is obtained; based on at least two of the control response accuracy, energy loss rate, and control mode matching degree, the control optimization strategy of the solenoid valve to be adjusted is obtained; according to the control optimization strategy of the solenoid valve to be adjusted, the driving current of the solenoid valve coil is adjusted, thereby combining at least two of the control response accuracy, energy loss rate, and control mode matching degree to formulate a global control optimization strategy, realizing the transformation from single, isolated data adjustment to multi-data collaborative optimization. Compared with the traditional focus on single-dimensional data, the method of this application can help improve the overall control performance of the solenoid valve.

[0007] Secondly, embodiments of this application provide a bidirectional control system for a solenoid valve, applied to a solenoid valve control device, for implementing the bidirectional control method for a solenoid valve as described in any one of the first aspects above. The bidirectional control system for the solenoid valve includes: The acquisition unit is used to acquire real-time operating data reflecting the operating conditions corresponding to the parameter information of the solenoid valve to be adjusted, based on the parameter information of the solenoid valve carried in the preset control command. The generation unit is used to obtain the control response accuracy of the solenoid valve to be adjusted under actual working conditions based on the real-time operating data; wherein, the control response accuracy is used to indicate the degree of conformity between the actual action of the solenoid valve to be adjusted and the preset control command. The calculation unit is used to obtain the energy loss rate of the solenoid valve to be adjusted based on the pressure change value and flow fluctuation amplitude at each moment in the corresponding working condition of the parameter information. The determining unit is used to obtain the control mode matching degree of the solenoid valve to be adjusted based on the theoretical action curve of the solenoid valve to be adjusted and the actual action curve under the corresponding working conditions of the parameter information. The control unit is used to obtain a control optimization strategy for the solenoid valve to be adjusted based on at least two of the control response accuracy, the energy loss rate and the control mode matching degree. The adjustment unit is used to adjust the drive current of the solenoid valve coil according to the control optimization strategy of the solenoid valve to be adjusted.

[0008] Thirdly, embodiments of this application provide a bidirectional control device for a solenoid valve, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the bidirectional control method for a solenoid valve as described in any of the first aspects above.

[0009] It is understood that the beneficial effects of the second and third aspects mentioned above can be found in the relevant descriptions in the first aspect mentioned above, and will not be repeated here. Attached Figure Description

[0010] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0011] Figure 1 This is a schematic flowchart of a bidirectional control method for a solenoid valve provided in an embodiment of this application; Figure 2 This is a graph of standardized loss values ​​in a bidirectional control method for a solenoid valve provided in an embodiment of this application; Figure 3 This is a schematic diagram of the theoretical and actual action curves in a bidirectional control method for a solenoid valve provided in an embodiment of this application; Figure 4 This is a schematic diagram of the structure of the bidirectional control system for the solenoid valve provided in the embodiments of this application; Figure 5This is a schematic diagram of the structure of the bidirectional control device for the solenoid valve provided in the embodiments of this application. Detailed Implementation

[0012] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that this application may also be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods have been omitted so as not to obscure the description of this application with unnecessary detail.

[0013] It should be understood that, when used in this application specification and the appended claims, the term "comprising" indicates the presence of the described features, integrals, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or a collection thereof.

[0014] It should also be understood that the term “and / or” as used in this application specification and the appended claims means any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.

[0015] As used in this application specification and the appended claims, the term "if" may be interpreted, depending on the context, as "when," "once," "in response to determination," or "in response to detection." Similarly, the phrase "if determined" or "if the described condition or event is detected" may be interpreted, depending on the context, as "once determined," "in response to determination," "once the described condition or event is detected," or "in response to the detection of the described condition or event."

[0016] Furthermore, in the description of this application and the appended claims, the terms "first," "second," "third," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.

[0017] References to "one embodiment" or "some embodiments" as described in this specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.

[0018] In related technologies, the control process of traditional solenoid valves usually focuses on single-dimensional data (such as pressure or flow), which can easily lead to incorrect judgments and affect the overall control performance of the solenoid valve.

[0019] For example, traditional control processes might focus on a single objective, such as increasing drive power to improve response speed, but this leads to increased energy consumption and impact. Or, slowing down the action to save energy would affect the system's response speed. This approach, which focuses on a single objective, cannot achieve optimal overall control performance.

[0020] To address the aforementioned issues, this application provides a method and system for bidirectional control of a solenoid valve.

[0021] This method involves obtaining real-time operating data reflecting the corresponding operating conditions based on the parameter information of the solenoid valve to be adjusted carried in the preset control command; obtaining the control response accuracy of the solenoid valve under actual operating conditions based on the real-time operating data; obtaining the energy loss rate of the solenoid valve based on the pressure change value and flow fluctuation amplitude at each moment in the operating conditions corresponding to the parameter information; obtaining the control mode matching degree of the solenoid valve based on the theoretical action curve of the solenoid valve and the actual action curve under the operating conditions corresponding to the parameter information; and obtaining the control optimization strategy of the solenoid valve based on at least two of the control response accuracy, energy loss rate, and control mode matching degree. This method combines at least two of the control response accuracy, energy loss rate, and control mode matching degree to formulate a global control optimization strategy, realizing a shift from single, isolated data adjustment to multi-data collaborative optimization. Compared to the traditional method focusing on a single dimension of data, this method can improve the overall control performance of the solenoid valve.

[0022] The bidirectional control method for solenoid valves provided in this application can be applied to a bidirectional control device for solenoid valves. In this case, the bidirectional control device for solenoid valves is the executing entity of the bidirectional control method for solenoid valves provided in this application. This application does not impose any restrictions on the specific type of bidirectional control device for solenoid valves.

[0023] For example, a bidirectional control device for a solenoid valve can be a microcontroller, PWM controller, PLC, etc., used to control the opening and closing or drive of the coil inside the solenoid valve (such as adjusting the coil current or voltage) according to a control optimization strategy (such as a command issued by the PLC or remotely) to complete the opening, closing or regulation action.

[0024] To better understand the bidirectional control method for solenoid valves provided in the embodiments of this application, the specific implementation process of the bidirectional control method for solenoid valves provided in the embodiments of this application will be described by way of example below.

[0025] Figure 1A schematic flowchart of a bidirectional control method for a solenoid valve provided in an embodiment of this application is shown. The bidirectional control method for a solenoid valve includes: S100 obtains real-time operating data reflecting the corresponding operating conditions of the solenoid valve to be adjusted based on the parameter information of the solenoid valve carried in the preset control command.

[0026] It can be understood that preset control commands refer to pre-set command signals used to regulate the action of the solenoid valve. The solenoid valve to be regulated refers to a solenoid valve that requires control optimization, which may have problems such as excessive deviation between its actual action and the preset control commands, excessive energy consumption, or mismatched control modes (for example, solenoid valves that frequently experience action lag, solenoid valves that operate under high load for extended periods, or newly connected solenoid valves can be selected as the solenoid valves to be regulated). Parameter information can be key parameters used to indicate the operating status of the solenoid valve, such as pressure range, target flow range, and response time. The operating condition corresponding to the parameter information refers to the actual working scenario that matches the parameter information in the preset control commands. Real-time operating data refers to data that reflects the dynamic operation of the solenoid valve under the current operating conditions, and can be collected through components such as pressure sensors and flow sensors installed at the inlet and outlet of the solenoid valve.

[0027] For example, if the preset control command is "adjust the solenoid valve from fully closed to 50% opening within 3 seconds, with a target flow rate of 20L / min", the parameter information of the solenoid valve to be adjusted includes nominal diameter DN25, rated pressure 1.0MPa, corresponding to back pressure of 0.3MPa and medium temperature of 40℃. The instantaneous flow rate (e.g., 12L / min, 18L / min, 20L / min), real-time valve core opening (e.g., 20%, 35%, 50%), and inlet and outlet pressure changes (e.g., inlet 0.95MPa→0.9MPa, outlet 0.2MPa→0.3MPa) within 3 seconds are collected in real time by sensors as the basis for subsequent analysis.

[0028] S200, based on real-time operating data, obtains the control response accuracy of the solenoid valve to be adjusted under actual operating conditions. The control response accuracy indicates the degree of conformity between the actual action of the solenoid valve and the preset control command.

[0029] It is understandable that control response accuracy is an indicator of the control effect of a solenoid valve. The higher the value of control response accuracy, the smaller the deviation between the actual action (such as valve core opening speed and flow regulation) and the preset control command.

[0030] Specifically, for valve opening adjustment commands: if the command target is to reach valve opening K at time t, then the actual valve opening K' at time t is extracted from the real-time operating data, and the deviation rate δ = |K' - K| / K × 100% is calculated. The smaller the deviation rate δ, the higher the control response accuracy. For example, if the target valve opening is 50% and the actual valve opening is 48%, then δ = 4%. For action time commands: if the command requires an upper limit of time T for completing the action, then the smaller the ratio t' / T of the actual action time t' to T, the higher the control response accuracy. For example, if the command requires the valve to open within 3 seconds, and the actual time is 2.8 seconds, then the accuracy is 2.8 / 3 × 100% ≈ 93.3%. Furthermore, a weighted average method can be used to comprehensively calculate the overall control response accuracy by integrating multi-dimensional deviations. Setting the weight of the valve opening deviation to 0.6 and the weight of the time deviation to 0.4, if the valve opening deviation rate is 4% and the time deviation rate is 6.7%, then the overall accuracy = (1-4%) × 0.6 + (1-6.7%) × 0.4 ≈ 95.3%. When the accuracy is ≥90%, the match is considered good; when it is below 70%, it is judged as response lag or overshoot.

[0031] In one possible implementation, S200, based on real-time operating data, obtains the control response accuracy of the solenoid valve to be adjusted under actual operating conditions, including: S210, perform feature extraction processing on the real-time running data to obtain a feature parameter sequence. Among them, the parameters in the feature parameter sequence that reflect the success of the response and the parameters that reflect the failure of the response have different feature values.

[0032] It is understandable that feature extraction processing can remove noise from real-time running data through filtering (such as Kalman filtering), and then extract key feature parameters (such as response delay time, overshoot, and steady-state error). The extracted features are then arranged in chronological order to form a feature parameter sequence.

[0033] For example, characteristic values ​​are used to distinguish whether a parameter meets the standard: for instance, if the target opening is set to "50%, with an allowable deviation of ±5%", then parameters with an actual opening within the range of 45% to 55% are marked as "compliant characteristic value 1", and those exceeding the range are marked as "non-compliant characteristic value 0"; for action time, if the instruction requires ≤3 seconds, then those with an actual time of ≤3 seconds are marked as "compliant characteristic value 1", and those exceeding the time limit are marked as "non-compliant characteristic value 0".

[0034] For example, the characteristic parameter sequence of a certain 3-second adjustment process can be: [1,1,1,0,1,...,1] (a total of 300 values), where "1" indicates that the parameter meets the standard at that moment, and "0" indicates that the parameter does not meet the standard at a certain moment due to flow overshoot.

[0035] S220, select at least one target parameter from the target parameter segment in the characteristic parameter sequence. The target parameter segment is a parameter segment in the characteristic parameter sequence that reflects the corresponding working condition of the parameter information.

[0036] It can be understood that the target parameter segment refers to a continuous data segment in the characteristic parameter sequence that is directly related to the operating conditions corresponding to the parameter information of the solenoid valve to be adjusted. The target parameter is a key characteristic parameter selected from the target parameter segment that plays a decisive role in the control response accuracy.

[0037] For example, if the operating condition requires that "the opening degree must reach 50% at the end of the adjustment phase (3 seconds)," then "the actual opening degree characteristic value at 3 seconds" is selected as the target parameter. If the operating condition requires that "the flow fluctuation during the steady phase (3-4 seconds) ≤ ±2L / min," then "the mean of the flow fluctuation characteristic value sequence within 3-4 seconds" is selected as the target parameter. In practical applications, multiple target parameters can be selected, such as simultaneously selecting "the opening degree at the end of the adjustment phase," "the maximum deviation during the steady phase," and "the overshoot time," to comprehensively reflect the response accuracy.

[0038] S230, determine the parameter range of each target parameter in the feature parameter sequence.

[0039] It can be understood that the parameter range refers to the set of local parameters defined in the sequence of characteristic parameters, centered on the target parameter, and used to analyze the response characteristics around the target parameter.

[0040] For example, for time-series feature parameters, a certain time window can be extended forward or backward, centered on the time point corresponding to the target parameter. For instance, if the target parameter is the 50th parameter in the sequence (corresponding to time t=500ms), then its parameter range is the 45th to 55th parameter. For fluctuations in operating conditions, the parameter range can be expanded (±8 data segments) during periods of drastic flow fluctuations, and narrowed (±3 data segments) during periods of stable operating conditions. Alternatively, the range can be defined based on the similarity of feature values; for example, parameters with a feature value difference ≤0.1 from the target parameter can be included in the parameter range.

[0041] S240, based on the characteristic values ​​of each parameter within the parameter range of each target parameter in the characteristic parameter sequence, determine the control response accuracy of the solenoid valve to be adjusted under actual working conditions.

[0042] It can be understood that for all parameters within the target parameter range, the accuracy value of that target parameter is calculated. For example, the accuracy value = (number of compliant characteristic values ​​ / total number of characteristic values ​​within the parameter range) × 100%. The control response accuracy of the solenoid valve under actual operating conditions is calculated by combining the accuracy values ​​of multiple target parameters. For example, weights are assigned based on the representativeness of the target parameters; for instance, parameter ranges in the stable operating phase have higher weights (e.g., 0.2), while parameter ranges in the operating phase transition have lower weights (e.g., 0.1). The accuracy value of each parameter range is multiplied by its corresponding weight and then summed to obtain the quantified value of the control response accuracy (range 0~1, the closer the value is to 1, the higher the response accuracy). For example, if the accuracy values ​​of the five target parameters are 0.9, 0.85, 0.92, 0.88, and 0.95, respectively, and each has a weight of 0.2, then the control response accuracy = (0.9 + 0.85 + 0.92 + 0.88 + 0.95) × 0.2 = 0.88, or 88%.

[0043] This setup, by analyzing the characteristic values ​​of each parameter within the parameter range of each target parameter in the characteristic parameter sequence, can avoid misjudgments caused by the accidental achievement or failure of a single data point, and more accurately reflect the operating capability of the solenoid valve under actual working conditions, providing data support for subsequent control optimization.

[0044] In one possible implementation, the characteristic values ​​of the parameters in the characteristic parameter sequence that reflect the achievement of the response target are target characteristic values. S240, based on the characteristic values ​​of each parameter within the parameter range of each target parameter in the characteristic parameter sequence, the control response accuracy of the solenoid valve to be adjusted under actual operating conditions is determined, including: S241, based on the proportion of parameters whose feature values ​​are the target feature values ​​within the parameter range of each target parameter in the feature parameter sequence, determine the response attribute corresponding to each target parameter. The response attribute is either a compliant response attribute or a non-compliant response attribute.

[0045] It can be understood that the target characteristic value is a predefined characteristic value used to identify whether the parameter response meets the requirements, and it is an identifier to distinguish whether the parameter meets the requirements of the control command. Its value can be set to a specific numerical value or symbol according to the parameter type, and it is significantly distinguishable from the characteristic value that indicates "response failure".

[0046] For example, for each target parameter, count the number of parameters whose eigenvalues ​​are equal to the target eigenvalue among all parameters within its parameter range (such as the time range or numerical range mentioned above), and then calculate the proportion of the target eigenvalue to the total number of parameters within the parameter range. That is: Target eigenvalue proportion = (Number of parameters within the parameter range whose eigenvalue is the target eigenvalue / Total number of parameters within the parameter range) × 100% Example: If the target parameter is the opening degree at 3 seconds, and its parameter range is 2.8~3.2 seconds (40 parameters in total, 10ms / sampling point), with 36 parameters having a target feature value of 1 (meeting the standard) and 4 having a value of 0 (not meeting the standard), then the target feature value percentage = 36 / 40 × 100% = 90%. Based on the comparison between the target feature value percentage and the threshold, the response attribute of the target parameter is determined: if the target feature value percentage ≥ the threshold (e.g., 90% ≥ 80%), then the response attribute corresponding to the target parameter is a compliant response attribute, indicating that the target parameter generally meets the response requirements within the parameter range; if the target feature value percentage < the threshold (e.g., 75% < 80%), then the response attribute is a non-compliant response attribute, indicating that the target parameter has many non-compliant situations within the parameter range, and the overall response is unstable. The threshold setting can be adjusted according to the severity of the working conditions: for example, in high-precision working conditions, the threshold can be increased to 90%, while in general working conditions it can be set to 80%.

[0047] S242, determine the control response accuracy of the solenoid valve to be adjusted in actual working conditions based on the number of target parameters of the compliant response attributes and the number of target parameters of the non-compliant response attributes.

[0048] It can be understood that, let the total number of target parameters be M (e.g., 5 target parameters are selected), where the number of compliant response attributes is M1 (e.g., 3), and the number of non-compliant response attributes is M2 (e.g., 2), satisfying M1 + M2 = M. Then the control response accuracy = 3 / 5 × 100% = 60%.

[0049] This setting can transform the statistical results of local response attributes into a quantitative value of the overall control response accuracy, intuitively reflecting the degree of conformity between the actual action of the solenoid valve and the preset control command. It can comprehensively reflect the overall response performance of the solenoid valve on key indicators and avoid the excessive influence of single parameter deviation on accuracy evaluation.

[0050] S300, based on the pressure change value and flow fluctuation amplitude at each moment in the corresponding working condition, obtains the energy loss rate of the solenoid valve to be adjusted.

[0051] As can be understood, pressure change refers to the change in inlet and outlet pressure of the solenoid valve per unit time. Flow fluctuation amplitude refers to the deviation between the actual flow rate and the target flow rate. Both are key factors affecting the energy loss of the solenoid valve. For example, excessive pressure change leads to increased fluid impact loss, and excessive flow fluctuation amplitude leads to wasted pump power. The energy loss rate is the ratio of energy loss per unit time to theoretical input energy, used to quantify the energy loss of the solenoid valve during regulation. For example, η = Σ[ΔP(t) × Qactual(t) × (1 + ΔQ(t) / 100) × Δt] ÷ Σ[Pinlet(t) × Qtarget × Δt] × 100%, where ΔP is the pressure change, Qactual is the actual flow rate, ΔQ is the flow fluctuation amplitude, Pinlet is the inlet pressure of the solenoid valve, and Qtarget is the target flow rate.

[0052] In one possible implementation, S300, based on the pressure change value and flow fluctuation amplitude at each moment in the corresponding operating condition, obtains the energy loss rate corresponding to the solenoid valve to be adjusted, including: S310 determines the instantaneous energy loss value at each moment based on the pressure change value and flow fluctuation amplitude at each moment in the corresponding working condition according to the parameter information.

[0053] As can be understood, the pressure change value refers to the pressure difference between the inlet and outlet of the solenoid valve per unit time. The flow fluctuation amplitude refers to the deviation ratio between the actual flow rate Qactual(t) and the target flow rate Qtarget at time t, used to characterize the instantaneous instability of the flow. The instantaneous energy loss value refers to the immediate energy loss of the solenoid valve at time t due to pressure loss and flow fluctuation. For example, the instantaneous energy loss value = ΔP(t) × Qactual(t) × (1 + ΔQ(t) / 100), where ΔQ is the flow fluctuation amplitude, ΔP(t) × Qactual(t) is the energy loss caused by the basic pressure loss, and (1 + ΔQ(t) / 100) is the correction coefficient for the flow fluctuation, used to quantify the additional loss caused by the fluctuation (when the fluctuation amplitude is 10%, the correction coefficient is 1.1, that is, an additional 10% loss).

[0054] S320: Based on the instantaneous energy loss values ​​at each moment, an energy loss spectrum corresponding to the solenoid valve to be adjusted is obtained. This energy loss spectrum carries sampling points at each moment in the corresponding operating condition, used to indicate parameter information. The values ​​corresponding to these sampling points are determined based on the instantaneous energy loss values ​​at that specific moment.

[0055] An energy loss graph is a visual chart that shows the trend of energy loss changes of a solenoid valve throughout its entire operating cycle. It can be plotted with time (in seconds) on the horizontal axis and instantaneous energy loss value (in W) on the vertical axis, forming a dynamic curve by connecting continuous sampling points. A sampling point is a discrete data point corresponding to the instantaneous energy loss value collected at fixed time intervals. The sampling interval needs to be set according to the dynamic characteristics of the operating condition: if the operating condition is a rapid adjustment process (e.g., completing the action within 3 seconds), a 10ms interval (i.e., 100 sampling points per second) can be used; if it is a stable operation process, the interval can be relaxed to 100ms. The value of each sampling point directly corresponds to the instantaneous energy loss value E(t) at that moment. For example, if E(t) = 150W at t = 0.1s, then the coordinates of that sampling point are (0.1, 150). All sampling points are marked in chronological order on the coordinate system and connected by a line to form a continuous curve.

[0056] S330, based on the energy loss spectrum of the solenoid valve to be adjusted, obtain the energy loss rate of the solenoid valve to be adjusted.

[0057] As can be understood, the energy loss rate refers to the ratio of total energy loss to theoretical total input energy during the operating cycle, and is used to quantify the energy efficiency level of a solenoid valve.

[0058] For example, the total energy loss is the integral of the instantaneous energy loss values ​​at all sampling points in the spectrum (i.e., the area enclosed by the curve and the horizontal axis), calculated as: Total energy loss Etotal = Σ[E(t_i) × Δt], where E(t_i) is the instantaneous energy loss value at the i-th sampling point, Δt is the sampling interval (e.g., 0.01s), and Σ is the summation over all sampling points. The theoretical total input energy refers to the energy input under ideal lossless conditions, calculated based on the target flow rate and inlet pressure: Theoretical total input energy Etheoretical = Σ[Pinlet(t_i) × Qtarget × Δt], where Pinlet(t_i) is the inlet pressure at time t_i, and Qtarget is the target flow rate. The energy loss rate is: η = (Etotal / Etheoretical) × 100%.

[0059] This setup provides a quantifiable and comparable energy efficiency index, facilitating the evaluation of real energy consumption under different control strategies or operating conditions. It allows subsequent optimization strategies to make informed trade-offs between "ensuring control performance" and "reducing energy consumption," avoiding the problem of focusing on a single dimension of data (such as pressure or flow) in traditional solutions, which can lead to incorrect judgments and affect the overall control performance of the solenoid valve.

[0060] In one possible implementation, S330, based on the energy loss spectrum corresponding to the solenoid valve to be adjusted, obtains the energy loss rate corresponding to the solenoid valve to be adjusted, including: S331, Obtain at least one target sampling point from the sampling points of the energy loss spectrum.

[0061] It is understandable that the target sampling point refers to the typical data point selected from all sampling points in the energy loss spectrum that can represent the energy loss characteristics of the key stage of the operating condition. Its selection needs to be combined with the dynamic characteristics of the operating condition (such as the adjustment stage, the stable stage, the sudden change stage, etc.) in order to comprehensively reflect the overall energy loss trend.

[0062] For example, during the adjustment phase: select the starting point (e.g., 0s, the moment when the solenoid valve starts to operate), the peak point (the moment when the loss value is the highest, e.g., the loss reaches 300W at 2s), and the end point (e.g., 3s, the moment when the adjustment is completed); during the stabilization phase: select the midpoint (e.g., 6.5s, the middle moment of the stabilization period) and the fluctuation critical point (e.g., 8s, the moment when the flow fluctuation first exceeds 10%); for special operating conditions: if there is an abnormal sudden change (e.g., a sudden increase in pressure at 5s leading to a sudden increase in loss), additional sampling points before and after the sudden change need to be selected (e.g., 4.9s and 5.1s).

[0063] S332, determine the time range of each target sampling point in the energy loss spectrum.

[0064] As can be understood, the time range refers to a fixed time window extending forward and backward from the target sampling point. It is used to cover continuous sampling points around the target sampling point, with the aim of avoiding the influence of random values ​​from a single sampling point and reflecting the loss characteristics of that stage. The size of the time range is set according to the dynamics of the operating condition stage in which the target sampling point is located.

[0065] For example, the adjustment phase (rapid dynamic changes): has a smaller time range (e.g., ±0.1s) to focus on instantaneous changes. For example, the time range for t=2s (peak loss point) is 1.9~2.1s, containing 20 sampling points (10ms / point); the stabilization phase (gradual changes): has a larger time range (e.g., ±0.5s) to reflect sustained stability. For example, the time range for t=6.5s (midpoint of stability) is 6.0~7.0s, containing 100 sampling points; the abrupt change point: the time range needs to cover the transition process before and after the abrupt change (e.g., ±0.2s), for example, the time range for t=5s (abrupt change point) is 4.8~5.2s, containing 40 sampling points.

[0066] S333, determine the target loss value for each target sampling point based on the values ​​of each sampling point within the time range of each target sampling point.

[0067] It can be understood that the target loss value is a representative value obtained by statistically processing the instantaneous energy loss values ​​of all sampling points within the time range of the target sampling point. It is used to quantify the overall loss level within that time range. The target loss value can be obtained based on the operating condition stage of the target sampling point and the values ​​of each sampling point within the time range of the target sampling point.

[0068] For example, during the adjustment phase, the coefficient of the target sampling point can be set to 2, and the coefficients of the remaining sampling points can be weighted to 1. Then, the target loss value = (target sampling point value × 2 + sum of other point values ​​within the time range) / (2 + number of other points within the time range). For instance, in a time range (1.9~2.1s) with t=2s (center value 300W), there are 20 points, and the sum of the other 19 points is 5510W. Therefore, the target loss value = (300 × 2 + 5510) / (2 + 19) = 6110 / 21 ≈ 291W. During the stable phase, the target loss value can be obtained by dividing the sum of the instantaneous energy loss values ​​of all sampling points within the time range by the number of sampling points within the time range. For abrupt changes, the maximum instantaneous loss value within the time range is directly taken as the target loss value.

[0069] S334, determine the energy loss rate corresponding to the solenoid valve to be adjusted based on the target loss value of each target sampling point in the energy loss spectrum.

[0070] It is understandable that the total energy loss within the operating cycle can be calculated by combining the target loss values ​​of each target sampling point, and then combined with the theoretical input energy to obtain the final energy loss rate. For example, the total energy loss over the time range of each target sampling point = target loss value × time range length (i.e., the number of seconds in the time range, Δt).

[0071] This setup, by selectively choosing typical points such as the adjustment phase, steady-state phase, and sudden change phase and calculating representative loss values, can accurately reflect the energy consumption characteristics of each key phase. This facilitates phased diagnosis and targeted optimization, avoiding the problem of misjudgment caused by noise and anomalies when using instantaneous values ​​or full integration directly in traditional schemes.

[0072] In one possible implementation, the bidirectional control method for the solenoid valve further includes: S335 transforms the instantaneous energy loss value at each moment to a standard range, obtaining the standardized loss value corresponding to each moment.

[0073] It is understandable that the instantaneous energy loss value is affected by the solenoid valve model, operating parameters (such as target pressure / flow rate), fluid medium, etc., and its original numerical range varies greatly (for example, the instantaneous loss of a small-diameter solenoid valve may be 5-20W, while that of a large-diameter solenoid valve may be 50-200W). The purpose of transforming it to the "standard range" is to eliminate dimensional differences and unify the evaluation scale. The standard range is a predefined numerical range, which can be [0,1].

[0074] For example, the standardized loss value S(t) = [E(t) - E_min] / [E_max - E_min], where E(t) is the instantaneous energy loss value (original value) at time t; E_min is the minimum value among all instantaneous energy loss values ​​within the operating cycle; and E_max is the maximum value among all instantaneous energy loss values ​​within the operating cycle.

[0075] In one possible implementation, S335 transforms the instantaneous energy loss value at each moment to a standard range to obtain the standardized loss value corresponding to each moment, including: S3351 filters the instantaneous energy loss values ​​at each time step to obtain the processed energy loss value at each time step. The filtering process is used to reduce abrupt changes in the instantaneous energy loss values ​​at different times.

[0076] It is understandable that instantaneous energy loss values ​​are calculated based on real-time collected pressure and flow data. These values ​​may be abnormal due to sensor noise (such as pressure jumps caused by electromagnetic interference) or medium turbulence (such as sudden flow changes during valve opening and closing), easily resulting in "abnormal fluctuations." This manifests as a sudden deviation of the loss value from the normal range at a certain moment (e.g., a normal stable loss of 50W suddenly increases to 120W and then instantly drops back). Such fluctuations do not represent the true energy consumption characteristics of the solenoid valve. If directly used for subsequent processing, it will lead to distortion of the energy loss graph and deviations in loss rate calculation. Therefore, "filtering" is necessary to remove interference and retain the true energy consumption trend. After filtering, the processed loss value retains the overall trend of instantaneous energy loss while eliminating isolated abnormal fluctuations, making it closer to the true energy consumption variation pattern of the solenoid valve.

[0077] For example, for high-frequency, low-amplitude noise (e.g., fluctuation amplitude ≤ 5% and duration ≤ 3 sampling points), the average of the instantaneous energy loss values ​​at the current moment and the preceding and following N sampling points (N is an odd number, such as 5) is calculated as the processing loss value at the current moment. For low-frequency, large-amplitude abnormal values ​​(e.g., occasional sudden increases / decreases lasting 1-2 sampling points), the values ​​at the current moment and the preceding and following 3 sampling points are sorted by size, and the median value is taken as the processing loss value at the current moment.

[0078] S3352 normalizes the processing loss value at each time step to the standard range to obtain the normalized loss value at each time step.

[0079] It is understandable that the processing loss value at each time step can be normalized to the standard range using the method in step S335 to obtain the normalized loss value at each time step.

[0080] S3353 performs precision adjustment on the normalized loss value at each time step to obtain the standardized loss value corresponding to each time step.

[0081] It is understandable that the normalized loss value may have too many decimal places due to floating-point operations in the calculation process, which is not convenient for graph annotation and data reading. Therefore, the decimal places of the normalized loss value can be truncated or rounded to eliminate meaningless small fluctuations and make the graph curve easier to interpret.

[0082] This setting can suppress noise and eliminate anomalies, effectively removing isolated spikes caused by sensor noise, transient interference, and medium turbulence, avoiding the misinterpretation of non-representative transients as the true energy consumption of the system, and ensuring that subsequent statistics and decisions are based on data that are closer to the actual operating conditions.

[0083] S336 uses the standardized loss value at each moment as the value of the sampling point at each moment to obtain the energy loss spectrum of the solenoid valve to be adjusted. Each sampling point in the energy loss spectrum is set according to the time sequence of the corresponding moment in the parameter information's operating conditions.

[0084] As can be understood, the parameters are arranged from left to right according to the time sequence of the corresponding operating conditions, with the origin representing the start time of the operating condition and the endpoint representing the end time of the operating condition (horizontal axis). The vertical axis is consistent with the standard range. Sampling points of adjacent times are connected sequentially by straight lines to form a continuous curve.

[0085] For example, a 10-second test case contains 1000 sampling points (10ms / point), and the standardized values ​​range from 0 to 1. In the graph, the curve for the 0-3s adjustment phase rises from 0.1 (50W) to 0.8 (250W), while the curve for the 3-10s steady-state phase fluctuates between 0.6 and 0.7 (200-225W), clearly demonstrating the characteristic of "increased loss during the adjustment phase and stable loss during the steady-state phase".

[0086] With this setup, through standardized processing, even if the original loss magnitudes differ significantly under different operating conditions, loss trends can be compared and analyzed in the same graph, providing a unified benchmark for energy loss assessment across operating conditions.

[0087] S400, based on the theoretical operating curve of the solenoid valve to be adjusted and the actual operating curve under the corresponding operating conditions, obtains the control mode matching degree of the solenoid valve to be adjusted. The theoretical operating curve of the solenoid valve to be adjusted describes the ideal operating behavior that the solenoid valve should exhibit under the action of preset control commands. The actual operating curve under the corresponding operating conditions is the actual operating behavior plotted based on real-time operating data. Control mode matching is determined based on the local deviation degree, deviation change rate, and importance weight of the key data points corresponding to the deviation between the theoretical and actual operating curves. The deviation change rate is used to correct the local deviation degree. Key data points are the inflection points, extreme points, or stage endpoints of the theoretical operating curve.

[0088] It is understandable that the theoretical operating curve of the solenoid valve to be adjusted is used to describe the ideal operating law that the solenoid valve should exhibit under the action of preset control commands (such as the curve of opening degree change over time Ktheoretical(t) and the curve of flow rate change over time Qtheoretical(t)). The actual operating curve is the actual operating law plotted through real-time operating data. The control mode matching degree is used to measure the degree of agreement between the theoretical operating curve and the actual operating curve; the higher the value, the better the current control data is adapted to the current operating conditions.

[0089] For example, sampling is performed on the theoretical curve and the actual curve to obtain two sets of discrete data points: {(t1,Kthen1),(t2,Kthen2),...,(tn,Kthen)} and {(t1,Kactual1),(t2,Kactual2),...,(tn,Kactualn)}. The deviation between individual data points in the key data points is calculated, and the local deviation degree is calculated based on the deviation amount. Then, the local deviation degree is corrected according to the deviation change rate k. Finally, the weighted average of the corrected local deviation degrees of all data points is taken (the weights are set according to the importance of the feature points, such as adjusting the weight of the endpoint to 0.3, and distributing the remaining weights evenly among the remaining points) to obtain the final control mode matching degree. The closer the value is to 100%, the better the actual action matches the theoretical model.

[0090] In one possible implementation, the theoretical operating curve of the solenoid valve to be adjusted includes parameter values ​​corresponding to multiple first feature points, and the actual operating curve under the corresponding operating conditions includes parameter values ​​corresponding to multiple second feature points. S400, based on the theoretical operating curve and the actual operating curve under the corresponding operating conditions, the control mode matching degree of the solenoid valve to be adjusted is obtained, including: S410, determine the target feature point that matches each of the first feature points from a plurality of second feature points.

[0091] It can be understood that the first feature point is a key data point on the theoretical motion curve, used to characterize the core features of the curve (such as inflection points, extreme points, stage endpoints, etc.). Each first feature point contains two elements: a time coordinate and a parameter value. The second feature point is a key data point on the actual motion curve that corresponds one-to-one with the time coordinate of the first feature point, and it also contains a time coordinate and a measured parameter value.

[0092] For example, the corresponding target feature point refers to the second feature point in the actual motion curve that corresponds one-to-one with the first feature point in the theoretical motion curve on the time coordinate. That is, based on the same time node, the theoretical expected value is associated with the actual measured value.

[0093] For example, if a certain first feature point does not have a direct corresponding time point in the actual action curve (e.g., there is a feature point in theory at t=5s, but it is not actually sampled at that time), then the actual parameter value at t=5s is calculated by linear interpolation (e.g., estimated based on the measured values ​​at t=4.9s and t=5.1s), and the interpolated point is used as the target feature point that matches the first feature point.

[0094] S420, based on the parameter values ​​of the first feature point and the corresponding target feature point, determine the deviation parameter between the first feature point and the corresponding target feature point. The deviation parameter includes the deviation amount and the rate of change of the deviation.

[0095] It can be understood that the deviation is the absolute or relative difference between the parameter value of the first feature point and the parameter value of the target feature point that matches the first feature point, reflecting the static deviation at a certain moment. The deviation change rate is the rate of change of the deviation between two adjacent first feature points over time, reflecting the dynamic trend of the deviation.

[0096] For example, at t1=1.5s, the opening Videal=25%, and the target feature point Vactual=23%, then the absolute deviation ΔV1=|25%-43%|=2%. At t2=3s, the opening Videal=50%, and the target feature point Vactual=48%, then the absolute deviation ΔV2=|50%-48%|=2%. Therefore, the rate of change of deviation k=(2%-2%) / (3s-1.5s)=0% / s, indicating that the deviation remains stable; if at t2 ΔV2=3%, then k=(3%-2%) / 1.5s≈0.67% / s, indicating that the deviation is increasing.

[0097] S430, determine the degree of agreement between the theoretical motion curve and the actual motion curve based on the deviation amount and the rate of change of deviation between each first feature point and the corresponding target feature point.

[0098] It is understandable that the degree of agreement is a quantitative assessment of the overall consistency between the theoretical curve and the actual curve after considering the deviation parameters of all feature points. The value ranges from 0 to 100% (the higher the value, the better the consistency).

[0099] For example, the local deviation is calculated based on the deviation amount. Then, the local deviation is corrected according to the deviation change rate k. Finally, the corrected local deviations for all feature points are averaged (the importance weights of key data points can be set according to the importance of the feature points, such as adjusting the endpoint weight to 0.3 and distributing the remaining weights evenly among the other points) to obtain the final fit.

[0100] For example, the local deviation Sᵢ = 100% - ΔV%ᵢ (when ΔV%ᵢ ≤ 100%); if ΔV%ᵢ > 100%, then Sᵢ = 0%. Example: For a target feature point, ΔV% = 4%, then Sᵢ = 96%; if ΔV% = 120% (actual value far exceeds theoretical value), then Sᵢ = 0%. If the deviation change rate k ≤ 0 (deviation not increasing), the correction coefficient α = 1.0 (no deduction); if 0 < deviation change rate k ≤ 1% / s (deviation slowly increasing), the correction coefficient α = 0.9 (deduct 10%); if the deviation change rate k > 1% / s (deviation rapidly increasing), the correction coefficient α = 0.7 (deduct 30%). The corrected local deviation S'ᵢ = Sᵢ × α. The degree of fit S = Σ(S'ᵢ×ωᵢ), where ωᵢ is the weight of the i-th feature point, and Σωᵢ = 1.

[0101] This setting avoids the limitations of a single static indicator (for example, traditional schemes calculate the deviation at a certain moment (such as the opening deviation at a stable time), but do not consider whether the deviation increases over time (such as the deviation increasing from 1% to 5% during the opening phase), which may lead to the masking of potential risks), and can more comprehensively reflect the adaptability of the control mode (for example, even if the deviation is small at a certain moment, but the deviation increases rapidly, it can be identified as a potential problem), providing data support for subsequent optimization.

[0102] S440, based on the degree of fit, determine the matching degree of the control mode corresponding to the solenoid valve to be adjusted.

[0103] It is understandable that if the fit S ≥ 90%, the control pattern fit is equal to S (e.g., S = 97.5% → fit 97.5%), and it is judged as "highly matched"; if 70% ≤ S < 90%, the control pattern fit is equal to S × 0.9 (e.g., S = 80% → fit 72%), and it is judged as "basically matched"; if S < 70%, the control pattern fit is equal to S × 0.7 (e.g., S = 60% → fit 42%), and it is judged as "not matched".

[0104] This setup selects "key feature points" of the theoretical curve to calculate local deviations, then corrects the local results based on the rate of change of deviation, and finally performs a weighted average of the corrected results for all feature points to obtain the global fit. This avoids the need for a holistic comparison of the theoretical and actual full-cycle curves in traditional methods (such as calculating the area difference under the curve). However, the key differences in solenoid valve action are often concentrated in specific stages (such as the instant of opening and the end point of closing). Full-cycle comparison would dilute key information. This approach helps to conduct targeted analysis of the key action stages that have the greatest impact on control performance (such as the end point of opening and the stable operating point), making subsequent optimization more targeted.

[0105] S500, based on at least two of the following: control response accuracy, energy loss rate, and control mode matching degree, obtains the control optimization strategy for the solenoid valve to be adjusted.

[0106] As can be understood, control optimization strategies refer to adjustment schemes for the opening and closing processes of solenoid valves. Examples include adjusting the coil drive current and optimizing PID parameters. Determining the strategy requires considering at least two indicators to balance control accuracy, energy consumption, and stability.

[0107] For example, if the control response accuracy is less than 80% and the matching degree is less than 80%, it is determined that the control parameters are mismatched. The optimization strategy is to correct the proportional coefficient in the preset control command (such as adjusting the PID proportional gain from 0.5 to 0.7) and compensate for the action delay (such as sending the command 5ms in advance). If the energy loss rate is greater than 30% and the flow fluctuation amplitude is greater than 15%, it is determined that the energy consumption is too high. The optimization strategy is to adopt a segmented adjustment mode (such as low speed at the beginning to avoid pressure shock, high speed in the middle to improve response, and fine adjustment to stabilize the flow at the end).

[0108] In one possible implementation, S500, based on at least two of control response accuracy, energy loss rate, and control mode matching degree, obtains a control optimization strategy for the solenoid valve to be adjusted, including: When the control response accuracy is lower than the preset accuracy, the energy loss rate is higher than the preset loss rate, and the control mode matching degree is lower than the preset matching degree, an optimization strategy is generated that requires adjustment of the control parameters of the solenoid valve to be regulated.

[0109] It is understandable that when the control response accuracy is lower than the preset accuracy, the energy loss rate is higher than the preset loss rate, and the control mode matching degree is lower than the preset matching degree, the drive voltage can be adjusted to speed up the response. At the same time, the proportional coefficient in the preset control command can be corrected to reduce pressure or flow fluctuations and reduce energy consumption. That is, an optimized strategy is generated that requires adjustment of the control parameters of the solenoid valve to be regulated.

[0110] For example, when all three indicators fail to meet the standards simultaneously, the control parameters of the solenoid valve's opening and closing processes can be optimized collaboratively to simultaneously improve response accuracy, reduce energy consumption, and improve mode matching. Taking a servo solenoid valve (accuracy threshold 90%, loss threshold 15%, matching threshold 85%, actual measured accuracy 82%, loss 20%, matching degree 72%) as an example: Valve opening process parameter adjustment. Valve opening is the initiation stage of the solenoid valve's response command. During the valve opening process, the peak drive current can be increased from 1.2A to 1.4A (enhancing electromagnetic thrust and shortening valve core start-up time), while the high-power duration is shortened from 20ms to 15ms (avoiding excessive energy consumption); and the proportional coefficient (Kp) of the valve opening PID controller is increased from 0.5 to 0.6 (enhancing proportional regulation and accelerating response speed), and the integral time (Ti) is shortened from 0.3s to 0.2s (accelerating the elimination of static errors). Valve Closing Process Parameter Adjustment: Valve closing is the final stage of the solenoid valve's operation. During the valve closing process, the valve holding voltage can be reduced from 12V to 10V (reducing energy loss during the valve closing holding phase). At the same time, the valve closing trigger advance can be increased from 8ms to 10ms (entering the valve closing process earlier to avoid ineffective energy consumption due to delay). Furthermore, the derivative coefficient (Td) of the valve closing PID controller can be increased from 0.1s to 0.2s (enhancing the derivative regulation effect, suppressing pressure / flow fluctuations during valve closing, and making the actual curve closer to the theoretical curve), and the proportional coefficient (Kp) can be reduced from 0.5 to 0.4 (avoiding secondary adjustment losses caused by valve closing overshoot).

[0111] For example, if the peak current of valve opening increases by 16.7% (from 1.2A to 1.4A), the valve closing holding voltage will be reduced by 16.7% proportionally (from 12V to 10V) to ensure that the total energy consumption increase does not exceed 5% of the original plan. Based on the deviation between the actual action curve and the theoretical curve (e.g., the time difference from valve opening to 50% opening is 2ms, and the position difference of valve closing is 2% opening), compensation will be made for the valve opening start delay (reduced by 2ms) and the valve closing buffer time (added by 2ms) to make the actual action more in line with the theoretical expectation.

[0112] S600 adjusts the drive current of the solenoid valve coil according to the control optimization strategy of the solenoid valve to be adjusted.

[0113] It is understandable that the valve opening current adjustment range and the valve opening current adjustment range are extracted from the control optimization strategy, and converted into electrical signals so that the solenoid valve bidirectional control device can adjust the current of the coil inside the solenoid valve to complete the adjustment action.

[0114] This setup allows for the formulation of a global control optimization strategy by combining at least two of the following: control response accuracy, energy loss rate, and control mode matching degree. It enables a shift from single, isolated data adjustment to multi-data collaborative optimization. Compared to the traditional approach that focuses on a single dimension of data, the method described in this application can help improve the overall control performance of the solenoid valve.

[0115] It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.

[0116] Corresponding to the bidirectional control method for solenoid valves described in the above embodiments, this application also provides a bidirectional control system for solenoid valves, wherein each unit of the system can implement each step of the bidirectional control method for solenoid valves. Figure 4 A structural block diagram of the bidirectional control system for a solenoid valve provided in an embodiment of this application is shown. For ease of explanation, only the parts related to the embodiment of this application are shown.

[0117] Reference Figure 4 The solenoid valve bidirectional control system includes: The acquisition unit is used to acquire real-time operating data reflecting the corresponding operating conditions of the solenoid valve to be adjusted, based on the parameter information of the solenoid valve carried in the preset control command.

[0118] The generation unit is used to obtain the control response accuracy of the solenoid valve to be adjusted under actual operating conditions based on real-time operating data. The control response accuracy indicates the degree of conformity between the actual action of the solenoid valve and the preset control command.

[0119] The calculation unit is used to obtain the energy loss rate of the solenoid valve to be adjusted based on the pressure change value and flow fluctuation amplitude at each moment in the corresponding working condition according to the parameter information.

[0120] The determination unit is used to obtain the control mode matching degree of the solenoid valve to be adjusted based on the theoretical action curve and the actual action curve under the corresponding operating conditions of the parameter information. The theoretical action curve of the solenoid valve describes the ideal action law that the solenoid valve should exhibit under the action of preset control commands. The actual action curve under the corresponding operating conditions is the actual action law plotted based on real-time operating data. The control mode matching is determined based on the local deviation degree, the deviation change rate, and the importance weight of the key data points corresponding to the deviation between the theoretical and actual action curves. The deviation change rate is used to correct the local deviation degree. Key data points are the inflection points, extreme points, or stage endpoints of the theoretical action curve.

[0121] The control unit is used to obtain a control optimization strategy for the solenoid valve to be adjusted based on at least two of the following: control response accuracy, energy loss rate, and control mode matching degree.

[0122] The adjustment unit is used to adjust the drive current of the solenoid valve coil according to the control optimization strategy of the solenoid valve to be adjusted.

[0123] It should be noted that the information interaction and execution process between the above systems / units are based on the same concept as the method embodiments of this application. For details on their specific functions and technical effects, please refer to the method embodiments section, and they will not be repeated here.

[0124] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units is merely an example. In practical applications, the above functions can be assigned to different functional units as needed, that is, the internal structure of the system can be divided into different functional units to complete all or part of the functions described above. The functional units in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. Furthermore, the specific names of the functional units are only for easy differentiation and are not intended to limit the scope of protection of this application. The specific working process of the units in the above system can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.

[0125] This application also provides a bidirectional control device for a solenoid valve. Figure 5 This is a schematic diagram of the structure of a bidirectional control device for a solenoid valve provided in an embodiment of this application. Figure 5 As shown, the solenoid valve bidirectional control device 6 of this embodiment includes: at least one processor 60 ( Figure 5 Only one is shown in the image), at least one memory 61 ( Figure 5 (Only one is shown in the image) and a computer program 62 stored in the at least one memory 61 and executable on the at least one processor 60, wherein when the processor 60 executes the computer program 62, it causes the solenoid valve bidirectional control device 6 to perform the steps in any of the above embodiments of the solenoid valve bidirectional control method, or causes the solenoid valve bidirectional control device 6 to perform the functions of each unit in the above embodiments of the system.

[0126] For example, the computer program 62 may be divided into one or more units, which are stored in the memory 61 and executed by the processor 60 to complete this application. The one or more units may be a series of computer program instruction segments capable of performing a specific function, which describe the execution process of the computer program 62 in the solenoid valve bidirectional control device 6.

[0127] The bidirectional control device 6 for the solenoid valve can be a microcontroller, PWM controller, PLC, etc., used to control the on / off state or drive (e.g., adjust coil current or voltage) of the coil inside the solenoid valve according to a control optimization strategy (such as commands issued by the PLC or remotely), thereby completing the opening / closing or regulating action. The bidirectional control device 6 for the solenoid valve may include, but is not limited to, a processor 60 and a memory 61. Those skilled in the art will understand that... Figure 5 This is merely an example of the solenoid valve bidirectional control device 6 and does not constitute a limitation on the solenoid valve bidirectional control device 6. It may include more or fewer components than shown, or combine certain components, or different components, such as input / output devices, network access devices, buses, etc.

[0128] The processor 60 can be a Central Processing Unit (CPU), or it can be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or any conventional processor.

[0129] In some embodiments, the memory 61 may be an internal storage unit of the solenoid valve bidirectional control device 6, such as a hard disk or memory of the solenoid valve bidirectional control device 6. In other embodiments, the memory 61 may be an external storage device of the solenoid valve bidirectional control device 6, such as a plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, etc., equipped on the solenoid valve bidirectional control device 6. Further, the memory 61 may include both internal storage units and external storage devices of the solenoid valve bidirectional control device 6. The memory 61 is used to store operating systems, applications, bootloaders, data, and other programs, such as the program code of computer programs. The memory 61 can also be used to temporarily store data that has been output or will be output.

[0130] This application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps in any of the above method embodiments.

[0131] This application provides a computer program product that, when run on a solenoid valve bidirectional control device, enables the solenoid valve bidirectional control device to implement the steps in any of the above method embodiments.

[0132] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include at least: any entity or device capable of carrying computer program code to a solenoid valve bidirectional control device, a recording medium, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electrical carrier signal, a telecommunication signal, and a software distribution medium, such as a USB flash drive, a portable hard drive, a magnetic disk, or an optical disk.

[0133] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.

[0134] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0135] In the embodiments provided in this application, it should be understood that the disclosed bidirectional solenoid valve control device, bidirectional solenoid valve control system, and bidirectional solenoid valve control method can be implemented in other ways. For example, the embodiments of the bidirectional solenoid valve control device and bidirectional solenoid valve control system described above are merely illustrative. For instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interfaces, devices, or units, and may be electrical, mechanical, or other forms.

[0136] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0137] The above-described 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 of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.

Claims

1. A method for bidirectional control of a solenoid valve, characterized in that, The method includes: Based on the parameter information of the solenoid valve to be adjusted carried in the preset control command, real-time operating data reflecting the corresponding operating conditions of the parameter information is obtained; Based on the real-time operating data, the control response accuracy of the solenoid valve to be adjusted in actual working conditions is obtained; wherein, the control response accuracy is used to indicate the degree of conformity between the actual action of the solenoid valve to be adjusted and the preset control command. Based on the pressure change value and flow fluctuation amplitude at each moment in the corresponding working condition, the energy loss rate of the solenoid valve to be adjusted is obtained. Based on the theoretical action curve of the solenoid valve to be adjusted and the actual action curve under the corresponding operating conditions of the parameter information, the control mode matching degree of the solenoid valve to be adjusted is obtained; wherein, the theoretical action curve of the solenoid valve to be adjusted is used to describe the ideal action law that the solenoid valve should exhibit under the action of the preset control command; the actual action curve under the corresponding operating conditions of the parameter information is the actual action law drawn based on the real-time operation data; the control mode matching is determined based on the local deviation degree, the deviation change rate, and the importance weight of the key data points corresponding to the deviation between the theoretical action curve and the actual action curve; the deviation change rate is used to correct the local deviation degree; the key data points are the inflection points, extreme points, or stage endpoints of the theoretical action curve. Based on at least two of the control response accuracy, the energy loss rate, and the control mode matching degree, a control optimization strategy for the solenoid valve to be adjusted is obtained. According to the control optimization strategy of the solenoid valve to be adjusted, the drive current of the solenoid valve coil is adjusted.

2. The bidirectional control method for a solenoid valve as described in claim 1, characterized in that, The process of obtaining the control response accuracy of the solenoid valve to be adjusted under actual operating conditions based on the real-time operating data includes: The real-time running data is subjected to feature extraction processing to obtain a feature parameter sequence; wherein, the parameters in the feature parameter sequence that reflect the compliance of the response and the parameters that reflect the failure of the response have different feature values; At least one target parameter is selected from the target parameter segments in the feature parameter sequence; wherein, the target parameter segment is a parameter segment in the feature parameter sequence that reflects the working condition corresponding to the parameter information; Determine the parameter range for each target parameter in the feature parameter sequence; Based on the characteristic values ​​of each parameter within the parameter range of each target parameter in the characteristic parameter sequence, the control response accuracy of the solenoid valve to be adjusted in actual working conditions is determined.

3. The bidirectional control method for a solenoid valve as described in claim 2, characterized in that, The characteristic values ​​of the parameters in the characteristic parameter sequence that reflect the achievement of the response target are target characteristic values; the step of determining the control response accuracy of the solenoid valve to be adjusted in actual working conditions based on the characteristic values ​​of each parameter within the parameter range of each target parameter in the characteristic parameter sequence includes: Based on the proportion of parameters whose feature values ​​are target feature values ​​within the parameter range of each target parameter in the feature parameter sequence, the response attribute corresponding to each target parameter is determined; wherein, the response attribute is a qualified response attribute or a non-qualified response attribute; The control response accuracy of the solenoid valve to be adjusted in actual working conditions is determined based on the number of target parameters of the compliant response attributes and the number of target parameters of the non-compliant response attributes.

4. The bidirectional control method for a solenoid valve as described in claim 1, characterized in that, The process of obtaining the energy loss rate of the solenoid valve to be adjusted based on the pressure change value and flow fluctuation amplitude at each moment in the corresponding operating condition, based on the parameter information, includes: Based on the pressure change value and flow fluctuation amplitude at each moment in the corresponding working condition, the instantaneous energy loss value at each moment is determined. Based on the instantaneous energy loss values ​​at each moment, an energy loss spectrum corresponding to the solenoid valve to be adjusted is obtained; wherein, the energy loss spectrum carries sampling points for indicating the operating conditions corresponding to the parameter information at each moment; the value corresponding to the sampling point is determined based on the instantaneous energy loss value at the corresponding moment; Based on the energy loss spectrum corresponding to the solenoid valve to be adjusted, the energy loss rate corresponding to the solenoid valve to be adjusted is obtained.

5. The bidirectional control method for a solenoid valve as described in claim 4, characterized in that, The step of obtaining the energy loss rate of the solenoid valve to be adjusted based on the energy loss spectrum of the solenoid valve to be adjusted includes: Obtain at least one target sampling point from the sampling points of the energy loss spectrum; Determine the time range for each target sampling point in the energy loss spectrum; Based on the values ​​of each sampling point within the time range of each target sampling point, determine the target loss value of each target sampling point; Based on the target loss value of each target sampling point in the energy loss spectrum, the energy loss rate corresponding to the solenoid valve to be adjusted is determined.

6. The bidirectional control method for a solenoid valve as described in claim 4, characterized in that, The method further includes: The instantaneous energy loss value at each moment is transformed to a standard range to obtain the standardized loss value corresponding to each moment; The standardized loss value at each moment is used as the value of the sampling point at each moment to obtain the energy loss spectrum of the solenoid valve to be adjusted; wherein, each sampling point in the energy loss spectrum is set according to the time sequence of the corresponding moment in the corresponding working condition of the parameter information.

7. The bidirectional control method for a solenoid valve as described in claim 6, characterized in that, The process of transforming the instantaneous energy loss value at each moment to a standard range to obtain the standardized loss value corresponding to each moment includes: The instantaneous energy loss values ​​at each time point are filtered to obtain the processed energy loss values ​​at each time point; wherein, the filtering process is used to reduce the abrupt changes between the instantaneous energy loss values ​​corresponding to different time points. The processing loss value at each time step is normalized to the standard range to obtain the normalized loss value at each time step. The normalized loss value at each time step is adjusted for precision to obtain the standardized loss value at each time step.

8. The bidirectional control method for a solenoid valve as described in claim 1, characterized in that, The theoretical operating curve of the solenoid valve to be adjusted includes parameter values ​​corresponding to multiple first feature points, and the actual operating curve under the corresponding operating conditions includes parameter values ​​corresponding to multiple second feature points; the control mode matching degree corresponding to the solenoid valve to be adjusted is obtained based on the theoretical operating curve of the solenoid valve to be adjusted and the actual operating curve under the corresponding operating conditions, including: From the plurality of second feature points, determine the target feature point that matches each of the first feature points; Based on the parameter values ​​of the first feature point and the corresponding target feature point, a deviation parameter between the first feature point and the corresponding target feature point is determined; wherein, the deviation parameter includes the deviation amount and the deviation change rate; The degree of agreement between the theoretical motion curve and the actual motion curve is determined based on the deviation between each first feature point and the corresponding target feature point and the deviation change rate. Based on the degree of fit, the control mode matching degree corresponding to the solenoid valve to be adjusted is determined.

9. The bidirectional control method for a solenoid valve as described in claim 1, characterized in that, The control optimization strategy for the solenoid valve to be adjusted is obtained based on at least two of the control response accuracy, the energy loss rate, and the control mode matching degree, including: When the control response accuracy is lower than the preset accuracy, the energy loss rate is higher than the preset loss rate, and the control mode matching degree is lower than the preset matching degree, an optimization strategy is generated that requires adjustment of the control parameters of the solenoid valve to be adjusted.

10. A bidirectional control system for a solenoid valve, characterized in that, An application to a solenoid valve control device, used to implement the bidirectional control method for a solenoid valve as described in any one of claims 1 to 9, wherein the bidirectional control system for the solenoid valve includes: The acquisition unit is used to acquire real-time operating data reflecting the operating conditions corresponding to the parameter information of the solenoid valve to be adjusted, based on the parameter information of the solenoid valve carried in the preset control command. The generation unit is used to obtain the control response accuracy of the solenoid valve to be adjusted under actual working conditions based on the real-time operating data; wherein, the control response accuracy is used to indicate the degree of conformity between the actual action of the solenoid valve to be adjusted and the preset control command. The calculation unit is used to obtain the energy loss rate of the solenoid valve to be adjusted based on the pressure change value and flow fluctuation amplitude at each moment in the corresponding working condition of the parameter information. The determining unit is used to obtain the control mode matching degree of the solenoid valve to be adjusted based on the theoretical action curve of the solenoid valve to be adjusted and the actual action curve under the corresponding operating conditions of the parameter information; wherein, the theoretical action curve of the solenoid valve to be adjusted is used to describe the ideal action law that the solenoid valve should exhibit under the action of the preset control command; the actual action curve under the corresponding operating conditions of the parameter information is the actual action law drawn based on the real-time operation data; the control mode matching is determined based on the local deviation degree, the deviation change rate, and the importance weight of the key data points corresponding to the deviation between the theoretical action curve and the actual action curve; the deviation change rate is used to correct the local deviation degree; the key data points are the inflection points, extreme points, or stage endpoints of the theoretical action curve. The control unit is used to obtain a control optimization strategy for the solenoid valve to be adjusted based on at least two of the control response accuracy, the energy loss rate and the control mode matching degree. The adjustment unit is used to adjust the drive current of the solenoid valve coil according to the control optimization strategy of the solenoid valve to be adjusted.

Citation Information

Patent Citations

  • Bistable electromagnetic valve for EMB and control method of bistable electromagnetic valve

    CN116729341A

  • Electromagnetic valve accurate control method based on flow dynamic adjustment

    CN119244805A

  • Intelligent adjusting method of pneumatic electromagnetic valve control system

    CN120523100A

  • Bidirectional control solenoid valve

    KR1020140083662A

  • Spacer for cable tray

    KR102225868B1