A solenoid 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 drive current of the solenoid valve coil, the problem of erroneous judgment caused by single-dimensional data in traditional solenoid valve control is solved, thereby improving the overall control performance of the solenoid valve.

CN121007240BActive Publication Date: 2025-12-26SMC ASIA GAS SYST CO LTD CHENGDU
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202511544220.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-10-28
Publication Date
2025-12-26
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 real-time operating data of the solenoid valve, the control response accuracy, energy loss rate, and control mode matching degree are calculated, a global optimization strategy is formulated, and the drive current of the solenoid valve coil is adjusted.

Benefits of technology

This enables the shift from adjusting single data points to multi-data collaborative optimization, thereby improving the overall control performance of the solenoid valve.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121007240B_ABST
    Figure CN121007240B_ABST
Patent Text Reader

Abstract

The application is suitable for the technical field of hydraulic valve body control, and particularly relates to a solenoid valve bidirectional control system and method, which comprises the following steps: obtaining real-time operation data reflecting parameter information corresponding to a working condition; obtaining control response accuracy based on the real-time operation data; obtaining energy loss rate based on pressure change values and flow fluctuation amplitudes at each moment in the parameter information corresponding to the working condition; obtaining control mode matching degrees corresponding to the solenoid valve to be adjusted based on a theoretical action curve of the solenoid valve to be adjusted and an actual action curve under the parameter information corresponding to the working condition; and obtaining a control optimization strategy of 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 degrees. The solenoid valve bidirectional control method provided by the application can solve the problem that in the control process of a traditional solenoid valve, a single-dimensional data is usually focused on, and an error judgment is easily generated, thereby affecting the overall control performance of the solenoid valve.
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 valve core, which is widely used in industry, civil and automobile 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 way 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 embodiment of the application provides 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 embodiment of the application provides a solenoid valve bidirectional control method, comprising:

[0006] 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;

[0007] 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;

[0008] Based on the pressure change value and the flow fluctuation amplitude of 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;

[0009] obtain a control mode matching degree corresponding to the electromagnetic valve based on the theoretical action curve of the electromagnetic valve to be adjusted and an actual action curve in the working condition corresponding to the parameter information; wherein the theoretical action curve of the electromagnetic valve to be adjusted is used to describe an ideal action rule that the electromagnetic valve should present under the action of a preset control instruction; the actual action rule in the working condition corresponding to the parameter information is an actual action rule drawn according to the real-time operation data; the control mode matching is determined according to a local deviation degree corresponding to a deviation amount between key data points of the theoretical action curve and the actual action curve, a deviation change rate, and an importance weight of the key data points; the deviation change rate is used to correct the local deviation degree; and the key data points are inflection points or extreme points or stage end points of the theoretical action curve;

[0010] obtain a control optimization strategy of the electromagnetic valve to be adjusted based on at least two of the control response accuracy, the energy loss rate, and the control mode matching degree;

[0011] adjust a driving current of the electromagnetic valve coil according to the control optimization strategy of the electromagnetic valve to be adjusted.

[0012] The technical solutions described above in the embodiments of the present application have at least the following technical effects:

[0013] The electromagnetic valve bidirectional control method provided in the present application obtains real-time operation data reflecting a working condition corresponding to parameter information of an electromagnetic valve to be adjusted according to the parameter information carried in a preset control instruction; obtains a control response accuracy of the electromagnetic valve to be adjusted in an actual working condition based on the real-time operation data; obtains an energy loss rate corresponding to the electromagnetic valve to be adjusted based on a pressure change value and a flow fluctuation amplitude at each moment in the working condition corresponding to the parameter information; obtains a control mode matching degree corresponding to the electromagnetic valve to be adjusted based on a theoretical action curve of the electromagnetic valve to be adjusted and an actual action curve in the working condition corresponding to the parameter information; obtains a control optimization strategy of the electromagnetic valve to be adjusted based on at least two of the control response accuracy, the energy loss rate, and the control mode matching degree; and adjusts a driving current of the electromagnetic valve coil according to the control optimization strategy of the electromagnetic valve to be adjusted, so as to formulate a global control optimization strategy in combination with at least two of the control response accuracy, the energy loss rate, and the control mode matching degree, thereby realizing a change from single and isolated data adjustment to multi-data collaborative optimization, and compared with the traditional focus on single-dimensional data, the method of the present application can be beneficial to improving the overall control performance of the electromagnetic valve.

[0014] In a second aspect, the embodiments of the present application provide an electromagnetic valve bidirectional control system applied to an electromagnetic valve control device and used to implement the electromagnetic valve bidirectional control method in any of the first aspect, and the electromagnetic valve bidirectional control system comprises:

[0015] The acquisition unit is configured to acquire real-time operation data reflecting a working condition corresponding to parameter information of the electromagnetic valve to be adjusted according to the parameter information carried in the preset control instruction.

[0016] The generation unit is configured to obtain a control response precision of the electromagnetic valve to be adjusted in an actual working condition based on the real-time operation data.

[0017] The calculation unit is configured to obtain an energy loss rate corresponding to the electromagnetic valve to be adjusted based on a pressure change value and a flow fluctuation amplitude at each moment in the working condition corresponding to the parameter information.

[0018] The determination unit is configured to obtain a control mode matching degree corresponding to the electromagnetic valve to be adjusted based on a theoretical action curve of the electromagnetic valve to be adjusted and an actual action curve in the working condition corresponding to the parameter information.

[0019] The control unit is configured to obtain a control optimization strategy of the electromagnetic valve to be adjusted based on at least two of the control response precision, the energy loss rate, and the control mode matching degree.

[0020] The adjustment unit is configured to adjust a driving current of a coil of the electromagnetic valve according to the control optimization strategy of the electromagnetic valve to be adjusted.

[0021] In a third aspect, an embodiment of the present application provides an electromagnetic valve bidirectional control device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the electromagnetic valve bidirectional control method in any of the first aspect.

[0022] It can be understood that the beneficial effects of the second aspect to the third aspect can be referred to the related description in the first aspect, which will not be repeated here. BRIEF DESCRIPTION OF DRAWINGS

[0023] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings needed to be used in the embodiments or prior art description. Obviously, the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can also be obtained without creative labor.

[0024] Figure 1 is a flowchart of the electromagnetic valve bidirectional control method provided by an embodiment of the present application;

[0025] Figure 2 is a curve diagram of the standardized loss value in the electromagnetic valve bidirectional control method provided by an embodiment of the present application;

[0026] Figure 3 is a schematic diagram of a theoretical action curve and an actual action curve in a two-way control method of an electromagnetic valve provided by an embodiment of the present application;

[0027] Figure 4 is a structural schematic diagram of a two-way control system of an electromagnetic valve provided by an embodiment of the present application;

[0028] Figure 5 is a structural schematic diagram of a two-way control device of an electromagnetic valve provided by an embodiment of the present application. DETAILED DESCRIPTION

[0029] In the following description, for the purposes of explanation and not limitation, specific details are set forth, such as particular system configurations, techniques, etc., in order to provide a thorough understanding of the embodiments of the present application. However, it will be apparent to those skilled in the art that the present application can be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.

[0030] It should be understood that the term “includes” when used in the specification and the appended claims herein, specifies the presence of stated features, integers, steps, operations, elements, and / or components but does not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or groups thereof.

[0031] It should also be understood that the term “and / or” when used in the specification and the appended claims herein, means any one and / or all possible combinations of one or more of the associated listed items.

[0032] As used in the description of the application and the appended claims herein, the term “if’ can be interpreted as meaning “when” or “upon” or “in response to a determination” or “in response to a detection” depending on the context. Similarly, the phrase “if it is determined” or “if a described condition or event is detected” can be interpreted as meaning “upon a determination” or “in response to a determination” or “upon a detection of the described condition or event” or “in response to a detection of the described condition or event” depending on the context.

[0033] In addition, in the description of the application and the appended claims herein, the terms “first”, “second”, “third”, etc. are used only to distinguish descriptions, and cannot be understood as indicating or implying relative importance.

[0034] Reference within the specification of this application to "one embodiment" or "some embodiments" means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment of the application. The appearances of the phrase "in one embodiment" or "in some embodiments" in various places within specified descriptions in this specification are not necessarily all referring to the same embodiment, however, but can refer to one or more but not all embodiments. The terms "including," "comprising," "carrying," "having," "containing," and variations thereof do not exclude the presence of additional items or materials while the terms "a" and "an" do not exclude a plurality or multitude of such items or materials. Furthermore, as used herein, the term "exemplary" or "for example" does not indicate a recommendation as preferred over other embodiments.

[0035] In the related art, in the control process of the traditional electromagnetic valve, usually focusing on single-dimensional data (such as pressure or flow), it is easy to produce false judgment, affecting the overall control performance of the electromagnetic valve.

[0036] For example, the previous control process may only focus on a single target, such as increasing the driving power in order to improve the response speed, but this leads to an increase in energy consumption and impact. Or slow down the action in order to save energy, but it affects the system response speed. This single-target-only approach cannot achieve optimal overall control performance.

[0037] To solve the above problems, the embodiments of the present application provide an electromagnetic valve bidirectional control method and system.

[0038] In the method, according to the parameter information of the electromagnetic valve to be adjusted 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 accuracy of the electromagnetic valve to be adjusted in the actual working condition is obtained; 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 electromagnetic valve to be adjusted is obtained; based on the theoretical action curve of the electromagnetic valve to be adjusted and the actual action curve in the working condition corresponding to the parameter information, the control mode matching degree corresponding to the electromagnetic valve to be adjusted is obtained; and based on at least two of the control response accuracy, the energy loss rate, and the control mode matching degree, the control optimization strategy of the electromagnetic valve to be adjusted is obtained. Thus, by combining at least two of the control response accuracy, the energy loss rate, and the control mode matching degree, a global control optimization strategy is formulated, realizing the transition from single and isolated data adjustment to multi-data collaborative optimization. Compared with the traditional focus on single-dimensional data, the method of the present application can be beneficial to improve the overall control performance of the electromagnetic valve.

[0039] The electromagnetic valve bidirectional control method provided by the embodiments of the present application can be applied to an electromagnetic valve bidirectional control device, at which time the electromagnetic valve bidirectional control device is the execution subject of the electromagnetic valve bidirectional control method provided by the embodiments of the present application, and the specific type of the electromagnetic valve bidirectional control device is not limited by the embodiments of the present application.

[0040] For example, the electromagnetic valve bidirectional control device can be a microcontroller, a PWM controller, a PLC, etc., for realizing the on-off or driving (such as adjusting the coil current or voltage) of the coil inside the electromagnetic valve according to a control optimization strategy (such as a PLC or a command issued remotely) to complete the opening and closing or adjustment action.

[0041] In order to better understand the electromagnetic valve bidirectional control method provided by the embodiments of the present application, the specific implementation process of the electromagnetic valve bidirectional control method provided by the embodiments of the present application is exemplarily introduced below.

[0042] Figure 1 A schematic flowchart of the electromagnetic valve bidirectional control method provided by the embodiments of the present application is shown, and the electromagnetic valve bidirectional control method comprises:

[0043] S100, acquiring real-time running data reflecting a working condition corresponding to parameter information of a to-be-adjusted electromagnetic valve according to the parameter information carried in a preset control instruction.

[0044] It can be understood that the preset control instruction refers to a pre-set instruction signal for adjusting the action of the electromagnetic valve. The to-be-adjusted electromagnetic valve refers to an electromagnetic valve that needs to be controlled and optimized, which can have problems such as a large deviation between actual action and preset control instruction, high energy consumption, or mismatched control mode (for example, an electromagnetic valve that frequently appears to be stuck, an electromagnetic valve that is in a high-load working condition for a long time, or a newly connected electromagnetic valve can be selected as a to-be-adjusted electromagnetic valve). The parameter information can be a key parameter for indicating the working state of the electromagnetic valve, such as a pressure range, a target flow interval, a response time, etc. The parameter information corresponding to the working condition refers to the actual working scene matching the parameter information in the preset control instruction. The real-time running data refers to data that can reflect the dynamic running of the electromagnetic valve under the current working condition, which can be collected by pressure sensors, flow sensors, etc. installed at the inlet and outlet of the electromagnetic valve.

[0045] For example, if the preset control instruction is "adjust the electromagnetic valve from full-closed state to 50% opening in 3 seconds, and the target flow is 20 L / min", the parameter information of the to-be-adjusted electromagnetic valve includes nominal diameter DN25, rated pressure 1.0 MPa, the corresponding working condition is back pressure 0.3 MPa and medium temperature 40℃, and the instantaneous flow (such as 12 L / min, 18 L / min, 20 L / min) in 3 seconds, the real-time opening of the valve core (such as 20%, 35%, 50%) and the change of the inlet and outlet pressure (such as inlet 0.95 MPa→0.9 MPa, outlet 0.2 MPa→0.3 MPa) are collected in real time by sensors, which are used as the basis for subsequent analysis.

[0046] S200, obtain the control response accuracy of the to-be-adjusted electromagnetic valve in the actual working condition based on the real-time running data. The control response accuracy is used to indicate the degree of coincidence between the actual action and the preset control instruction of the to-be-adjusted electromagnetic valve.

[0047] It can be understood that the control response accuracy is an index for measuring the control effect of the electromagnetic valve, and the higher the value of the control response accuracy is, the smaller the deviation between the actual action (such as the opening speed of the valve core and the flow regulation amount) and the preset control instruction is.

[0048] Specifically, for the opening degree regulation instruction: if the instruction target is to reach the opening degree K at the t moment, the actual opening degree K' at the t moment is extracted from the real-time running data, the deviation rate δ = |K'-K| / K×100% is calculated, and the smaller the deviation rate δ is, the higher the control response accuracy is. For example, the target opening degree is 50%, and the actual opening degree is 48%, then δ = 4%. For the action time instruction: if the instruction requires that the upper limit of the action time is T, the smaller the ratio of the actual action time t' to T t' / T is, the higher the control response accuracy is. For example, the instruction requires that the valve be opened within 3 seconds, and the actual time is 2.8 seconds, then the accuracy is 2.8 / 3×100%≈93.3%. Further, the weighted average method can be used to calculate the overall control response accuracy by comprehensively considering the multi-dimensional deviation. If the opening degree deviation rate is 4% and the time deviation rate is 6.7%, the overall accuracy = (1-4%)×0.6+ (1-6.7%)×0.4≈95.3%. When the accuracy is greater than or equal to 90%, it is considered that the degree of coincidence is good; when it is less than 70%, it is determined that the response is lagging or overshooting.

[0049] In one possible implementation, S200, based on the real-time running data, the control response accuracy of the to-be-adjusted electromagnetic valve in the actual working condition is obtained, including:

[0050] S210, performing feature extraction processing on the real-time running data to obtain a feature parameter sequence. The parameters reflecting the response meeting the standard and the parameters reflecting the response not meeting the standard in the feature parameter sequence have different characteristic values.

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

[0052] For example, the characteristic value is used to distinguish whether the parameter meets the standard: for example, set "target opening 50%, allowable deviation ±5%", the actual opening in the range of 45%-55% is marked as "up-to-standard characteristic value 1", and the out-of-range is marked as "non-up-to-standard characteristic value 0"; for the action time, "instruction requirement ≤3 seconds", the actual time ≤3 seconds is marked as "up-to-standard characteristic value 1", and the overtime is marked as "non-up-to-standard characteristic value 0".

[0053] 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), wherein "1" indicates that the parameter at this time meets the standard, and "0" indicates that the parameter at this time does not meet the standard due to flow overshoot.

[0054] S220, selecting at least one target parameter from the target parameter section in the characteristic parameter sequence. Wherein, the target parameter section is the parameter section in the characteristic parameter sequence reflecting the parameter information of the working condition.

[0055] It can be understood that the target parameter section refers to the continuous data section in the characteristic parameter sequence directly related to the parameter information of the working condition of the electromagnetic valve to be adjusted. The target parameter is a key characteristic parameter selected from the target parameter section and plays a decisive role in the control response accuracy.

[0056] For example, if the working condition requires "the opening at the adjustment stage end point (3 seconds) to reach 50%", the "actual opening characteristic value at 3 seconds" is selected as the target parameter; if the working condition requires "the flow fluctuation in the stable stage (3-4 seconds) to be ≤±2 L / min", the "average value of the flow fluctuation characteristic value sequence within 3-4 seconds" is selected as the target parameter. In actual application, multiple target parameters can be selected, such as "adjustment end point opening", "stable stage maximum deviation", "action overshoot time", etc., to comprehensively reflect the response accuracy.

[0057] S230, determining the parameter range of each target parameter in the characteristic parameter sequence.

[0058] It can be understood that the parameter range refers to a local parameter set for analyzing the response characteristics around the target parameter, which is defined in the characteristic parameter sequence with the target parameter as the center.

[0059] For example, for the timing feature parameter, the time point corresponding to the target parameter is taken as the center to expand a certain time window forward / backward, for example, if the target parameter is the 50th parameter in the sequence (corresponding to time t=500 ms), the parameter range is the 45th~55th parameter. For the working condition fluctuation, the time point corresponding to the target parameter is taken as the center, the parameter range can be expanded in the working condition section with severe flow fluctuation (±8 data sections), and the parameter range can be reduced in the stable working condition section (±3 data sections). The range can also be determined according to the feature value similarity, for example, the parameters with a feature value difference of less than or equal to 0.1 from the target parameter are included in the parameter range.

[0060] S240, according to the feature values of each parameter in the parameter range of each target parameter in the feature parameter sequence, determining the control response accuracy of the electromagnetic valve to be adjusted in the actual working condition.

[0061] It can be understood that for all parameters in the parameter range of the target parameter, the accuracy value of the target parameter is calculated, for example, the accuracy value=(the number of qualified feature values / the total number of feature values in the parameter range) x 100%, and the accuracy values of multiple target parameters are combined to calculate the control response accuracy of the electromagnetic valve to be adjusted in the actual working condition, for example, according to the representative weight of the target parameter, for example: the parameter range weight in the stable working condition stage is higher (such as 0.2); the parameter range weight in the working condition switching stage is lower (such as 0.1); the accuracy values of each parameter range are multiplied by the corresponding weight and summed to obtain the quantitative value of the control response accuracy (range 0~1, the value closer to 1 indicates higher response accuracy). For example, the accuracy values of 5 target parameters are 0.9, 0.85, 0.92, 0.88, and 0.95, and the corresponding weights are all 0.2, then the control response accuracy=(0.9+0.85+0.92+0.88+0.95) x 0.2=0.88, that is, 88%.

[0062] In this way, by analyzing the feature values of each parameter in the parameter range of each target parameter in the feature parameter sequence, false judgments caused by accidental qualification or non-qualification of a single data point can be avoided, and the running ability of the electromagnetic valve in the actual working condition can be more accurately reflected, thereby providing data support for subsequent control optimization.

[0063] In one possible implementation, the feature value of the parameter reflecting the response qualification in the feature parameter sequence is the target feature value, S240, according to the feature values of each parameter in the parameter range of each target parameter in the feature parameter sequence, determining the control response accuracy of the electromagnetic valve to be adjusted in the actual working condition, comprising:

[0064] S241, according to the proportion of the parameters with the target feature value in the parameter range of each target parameter in the feature parameter sequence, determining the response attribute corresponding to each target parameter. The response attribute is a qualification response attribute or a non-qualification response attribute.

[0065] It can be understood that the target characteristic value is a pre-defined characteristic value for identifying "parameter response compliance", which is an identification for distinguishing whether the parameter meets the requirements of the control instruction. Its value can be set to a specific numerical value or symbol according to the type of the parameter, and is significantly distinguished from the characteristic value representing "response non-compliance".

[0066] Exemplarily, for each target parameter, the number of parameters whose characteristic values in the parameter range (such as the time range or the numerical range described above) are equal to the target characteristic value is counted, and then the proportion of the target characteristic value in the total number of parameters in the parameter range is calculated, i.e. target characteristic value proportion = (number of parameters whose characteristic values in the parameter range are equal to the target characteristic value / total number of parameters in the parameter range) x 100%.

[0067] Example: If the target parameter is the opening at 3 seconds, the parameter range is 2.8-3.2 seconds (a total of 40 parameters, 10 ms / sampling point), and 36 parameters have a characteristic value of 1 (compliance) and 4 parameters have a characteristic value of 0 (non-compliance), then the target characteristic value proportion = 36 / 40 x 100% = 90%. According to the comparison result of the target characteristic value proportion and the threshold value, the response attribute of the target parameter is determined: if the target characteristic value proportion ≥ threshold value (such as 90% ≥ 80%), the response attribute corresponding to the target parameter is a compliance response attribute, indicating that the target parameter as a whole meets the response requirements in the parameter range; if the target characteristic value proportion < threshold value (such as 75% < 80%), the response attribute is a non-compliance response attribute, indicating that there are many non-compliance situations in the parameter range, and the overall response is unstable. The threshold value can be adjusted according to the severity of the working condition: for example, the threshold value can be increased to 90% for high-precision working conditions, and can be set to 80% for general working conditions.

[0068] S242, according to the number of target parameters with compliance response attribute and the number of target parameters with non-compliance response attribute, determine the control response precision of the electromagnetic valve in the actual working condition.

[0069] It can be understood that the total number of target parameters is M (such as 5 target parameters are selected), the number of compliance response attributes is M1 (such as 3), and the number of non-compliance response attributes is M2 (such as 2), which satisfies M1+M2=M. Then the control response precision = 3 / 5 x 100% = 60%.

[0070] In this way, the statistical result of the local response attribute can be converted into a quantitative value of the overall control response precision, which can intuitively reflect the degree of coincidence between the actual action of the electromagnetic valve and the preset control instruction, and can comprehensively reflect the overall response performance of the electromagnetic valve on the key indicators, avoiding the excessive influence of single parameter deviation on the precision evaluation.

[0071] S300, based on the parameter information corresponding to the pressure change value and the flow fluctuation amplitude of each time in the working condition, obtain the energy loss rate corresponding to the electromagnetic valve to be adjusted.

[0072] It can be understood that the pressure change value refers to the change amount of the inlet and outlet pressure of the electromagnetic valve per unit time. The flow fluctuation amplitude refers to the deviation amplitude of the actual flow and the target flow. Both are key factors affecting the energy loss of the electromagnetic valve. For example, excessive pressure change will lead to increased fluid impact loss, and excessive flow fluctuation amplitude will lead to waste of pump output power. The energy loss rate is the ratio of energy loss per unit time to theoretical input energy, which is used to quantify the energy loss of the electromagnetic valve during the adjustment process. For example, η = ∑ [ΔP(t) × Q real(t) × (1 + ΔQ(t) / 100) × Δt] ÷ ∑ [P in(t) × Q target × Δt] × 100%, wherein ΔP is the pressure change value, Q real is the actual flow, ΔQ is the flow fluctuation amplitude, P in is the inlet pressure of the electromagnetic valve, and Q target is the target flow.

[0073] In one possible implementation, S300, based on the parameter information corresponding to the pressure change value and the flow fluctuation amplitude of each time in the working condition, obtain the energy loss rate corresponding to the electromagnetic valve to be adjusted, comprising:

[0074] S310, based on the parameter information corresponding to the pressure change value and the flow fluctuation amplitude of each time in the working condition, determine the instantaneous energy loss value at each time.

[0075] It can be understood that the pressure change value refers to the pressure difference of the inlet and outlet of the electromagnetic valve per unit time. The flow fluctuation amplitude refers to the deviation proportion of the actual flow Q real(t) and the target flow Q target at t time, which is used to represent the instantaneous instability of the flow. The instantaneous energy loss value refers to the immediate energy loss of the electromagnetic valve at t time due to pressure loss and flow fluctuation. For example, the instantaneous energy loss value = ΔP(t) × Q real(t) × (1 + ΔQ(t) / 100), wherein ΔQ is the flow fluctuation amplitude, ΔP(t) × Q real(t) is the energy loss caused by the basic pressure loss, and (1 + ΔQ(t) / 100) is the correction coefficient of the flow fluctuation, which is 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).

[0076] S320, according to the instantaneous energy loss value at each time, obtain the energy loss spectrum corresponding to the electromagnetic valve to be adjusted. The energy loss spectrum carries the sampling points for indicating the parameter information corresponding to each time in the working condition. The value corresponding to the sampling point is determined according to the instantaneous energy loss value at the corresponding time.

[0077] It can be understood that the energy loss map is a visual chart showing the trend of energy loss of the electromagnetic valve in the entire working condition cycle. The time can be taken as the horizontal axis (unit: s), the instantaneous energy loss value can be taken as the vertical axis (unit: W), and a dynamic curve can be formed by connecting the continuous sampling points. The sampling point refers to the discrete data point corresponding to the instantaneous energy loss value collected at a fixed time interval. The sampling interval needs to be set according to the dynamic characteristics of the working condition: if the working condition is a rapid adjustment process (such as completing the action within 3 seconds), a 10 ms interval (that is, 100 sampling points per second) can be used; if it is a stable running process, it can be relaxed to 100 ms interval. The value of each sampling point directly corresponds to the instantaneous energy loss value E(t) at that time, for example, E(t)=150 W at t=0.1 s, and the sampling point coordinate is (0.1, 150). All sampling points are marked in the coordinate system in time sequence, and a continuous curve is formed by connecting the broken lines.

[0078] S330, based on the energy loss map corresponding to the electromagnetic valve to be adjusted, obtaining the energy loss rate corresponding to the electromagnetic valve to be adjusted.

[0079] It can be understood that the energy loss rate refers to the ratio of the total energy loss in the working condition cycle to the theoretical total input energy, which is used to quantify the energy efficiency level of the electromagnetic valve.

[0080] Exemplarily, the total energy loss is the integral of the instantaneous energy loss value of all sampling points in the map (that is, the area surrounded by the curve and the horizontal axis), and the calculation formula is: total energy loss Etotal =∑[E(ti)×Δt], wherein E(ti) is the instantaneous energy loss value of the ith sampling point, Δt is the sampling interval (such as 0.01 s), and ∑ is the sum of all sampling points. The theoretical total input energy refers to the energy input in the ideal lossless state, which is calculated based on the target flow and the inlet pressure: theoretical total input energy Eideal =∑[Pin(t_i)×Qtarget×Δt], wherein Pin(t_i) is the inlet pressure at t_i, and Qtarget is the target flow. The energy loss rate is: η=(Etotal / Eideal)×100%.

[0081] In this way, a quantifiable and comparable energy efficiency index can be given, which facilitates the evaluation of the real energy consumption performance under different control strategies or working conditions, and enables the subsequent optimization strategy to make a reasonable trade-off between “guaranteeing control performance” and “reducing energy consumption”, avoiding the problem of focusing on a single dimension data (such as pressure or flow) in the traditional scheme, which may lead to incorrect judgment and affect the overall control performance of the electromagnetic valve.

[0082] In one possible implementation, S330, based on the energy loss map corresponding to the electromagnetic valve to be adjusted, obtaining the energy loss rate corresponding to the electromagnetic valve to be adjusted, includes:

[0083] S331, at least one target sampling point is obtained from the sampling points of the energy loss map.

[0084] It can be understood that the target sampling point refers to a typical data point selected from all sampling points of the energy loss map, which can represent the energy loss characteristics of the key stage of the working condition. The selection needs to be combined with the dynamic characteristics of the working condition (such as the adjustment stage, the stable stage, the mutation stage, etc.), so as to comprehensively reflect the overall energy loss trend.

[0085] For example, in the adjustment stage, the starting point (such as 0s, the time when the electromagnetic valve starts to act), the peak point (the time when the loss value is the highest, such as 2s, the loss reaches 300W), and the end point (such as 3s, the time when the adjustment is completed) are selected; in the stable stage, the midpoint (such as 6.5s, the middle time of the stable period) and the fluctuation critical point (such as 8s, the time when the flow fluctuation first exceeds 10%) are selected; in the special working condition, if there is an abnormal mutation (such as a sudden increase in pressure at 5s leading to a sudden increase in loss), the sampling points before and after the mutation (such as 4.9s and 5.1s) need to be additionally selected.

[0086] S332, determining the time range of each target sampling point in the energy loss map.

[0087] It can be understood that the time range refers to a fixed time window extending forward and backward with the target sampling point as the center, which is used to cover the continuous sampling points around the target sampling point, and the purpose is to avoid the influence of accidental values of single sampling points, so as to reflect the loss characteristics of the stage. The size of the time range is set according to the dynamics of the working condition stage where the target sampling point is located.

[0088] For example, in the adjustment stage (dynamic change is severe), the time range is small (such as ±0.1s), so as to focus on the instantaneous change. For example, the time range of t=2s (loss peak point) is 1.9~2.1s, which contains 20 sampling points (10ms / point); in the stable stage (change is gentle), the time range is large (such as ±0.5s), so as to reflect the continuous stability. For example, the time range of t=6.5s (stable midpoint) is 6.0~7.0s, which contains 100 sampling points; in the mutation point, the time range needs to cover the transition process before and after the mutation (such as ±0.2s). For example, the time range of t=5s (mutation point) is 4.8~5.2s, which contains 40 sampling points.

[0089] S333, determining the target loss value of each target sampling point according to the values of each sampling point in the time range of each target sampling point.

[0090] 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 in the time range of the target sampling point, which is used to quantify the overall loss level in the time range. The target loss value can be obtained according to the working condition stage where the target sampling point is located and the values of each sampling point in the time range of the target sampling point.

[0091] Exemplarily, for the adjustment stage, the coefficient of the target sampling point can be set to 2, the coefficients of the remaining sampling points can be set to 1, and then the target loss value = (target sampling point value x 2 + sum of values of other points in the time range) / (2 + number of other points in the time range), for example, the time range (1.9-2.1 s) of t=2s (center value 300W) contains 20 points, and the sum of the other 19 points is 5510W, and then the target loss value = (300x2+5510) / (2+19) = 6110 / 21≈291W. For the stable stage, the sum of the instantaneous energy loss values of all sampling points in the time range is divided by the number of sampling points in the time range to obtain the target loss value. For the mutation point, the maximum instantaneous loss value in the time range is directly taken as the target loss value.

[0092] S334, according to the target loss value of each target sampling point in the energy loss map, determine the energy loss rate corresponding to the electromagnetic valve to be adjusted.

[0093] It can be understood that the target loss values of the target sampling points can be integrated to calculate the total energy loss in the working condition period, and then combined with the theoretical input energy to obtain the final energy loss rate. Exemplarily, the total energy loss of each target sampling point in the time range = target loss value x time range length (i.e. the number of seconds in the time range, Δt).

[0094] In this way, by selectively selecting typical points such as adjustment stage, stable stage, and mutation stage and calculating representative loss values, the energy consumption characteristics of each key stage can be accurately reflected, facilitating phased diagnosis and targeted optimization, and avoiding the problem that the traditional scheme directly uses instantaneous values or full integral, which is easily disturbed by noise and abnormal points, leading to misjudgment.

[0095] In one possible implementation, the electromagnetic valve bidirectional control method further comprises:

[0096] S335, transforming the instantaneous energy loss value at each time point into a standard range to obtain a standardized loss value corresponding to each time point.

[0097] It can be understood that the instantaneous energy loss value is affected by the electromagnetic valve model, working condition parameters (such as pressure / flow target value), fluid medium, etc., and its original value range differs greatly (for example, the instantaneous loss of a small-diameter electromagnetic valve can be 5-20W, and the instantaneous loss of a large-diameter electromagnetic valve can be 50-200W). The purpose of transforming it into a "standard range" is to eliminate the dimensional difference and unify the evaluation scale. The standard range is a pre-defined numerical range, which can be [0, 1].

[0098] For example, the normalized 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 of all instantaneous energy loss values in the working condition cycle; and E_max is the maximum value of all instantaneous energy loss values in the working condition cycle.

[0099] In one possible implementation, S335, the instantaneous energy loss value at each time is transformed into a standard range to obtain a normalized loss value corresponding to each time, including:

[0100] S3351, filtering processing is performed on the instantaneous energy loss value at each time to obtain a processed loss value at each time. The filtering processing is used to reduce the sudden change between the instantaneous energy loss values corresponding to different times.

[0101] It can be understood that the instantaneous energy loss value is calculated based on the real-time collected pressure and flow data, and abnormal values may be generated due to sensor instantaneous noise (such as pressure jump caused by electromagnetic interference) or medium turbulence (such as flow sudden change when the valve core is opened and closed), and abnormal fluctuations are easy to occur, which is manifested as that the loss value at a certain time suddenly deviates from the normal range (for example, the normal stable loss is 50 W, and the loss suddenly increases to 120 W and then instantaneously falls back). Such fluctuations are not the real energy consumption characteristics of the electromagnetic valve, and if directly used for subsequent processing, it will cause distortion of the energy loss map and deviation of the loss rate calculation, so the interference needs to be removed through filtering processing to retain the real energy consumption trend. After filtering processing, the processed loss value retains the overall trend of the instantaneous energy loss value, while the isolated abnormal fluctuations are removed, which is closer to the real energy consumption change law of the electromagnetic valve.

[0102] For example, for high-frequency small-amplitude noise (such as fluctuation amplitude ≤ 5% and duration ≤ 3 sampling points). The instantaneous energy loss values of the current time and the N sampling points (N is an odd number, such as 5) before and after the current time are taken to calculate the average value, which is taken as the processed loss value at the current time. For low-frequency large-amplitude abnormal values (such as occasional sudden increase / decrease, lasting for 1-2 sampling points). The values of the current time and the 3 sampling points before and after the current time are sorted according to the size, and the middle value is taken as the processed loss value at the current time.

[0103] S3352, the processed loss value at each time is normalized to a standard range to obtain a normalized loss value at each time.

[0104] It can be understood that the method of step S335 can be used to normalize the processed loss value at each time to a standard range to obtain a normalized loss value at each time.

[0105] S3353, the normalized loss value at each time is subjected to precision adjustment processing to obtain a normalized loss value corresponding to each time.

[0106] It can be understood that the normalized loss value can have too many decimal places due to floating point operations in the calculation process, which is not convenient for atlas labeling and data reading. Therefore, the decimal places of the normalized loss value can be truncated or rounded, eliminating meaningless small fluctuations, making the atlas curve easier to interpret.

[0107] In this way, noise and outliers can be suppressed, and sensor noise, transient interference and isolated spikes caused by medium turbulence can be effectively removed, avoiding considering non-representative transients as real energy consumption of the system, and ensuring that subsequent statistics and decisions are based on data closer to the real working condition.

[0108] S336, taking the normalized loss value corresponding to each time as the value of each sampling point corresponding to each time, to obtain the energy loss atlas corresponding to the electromagnetic valve to be adjusted. Wherein, each sampling point in the energy loss atlas is arranged according to the time sequence of the corresponding time in the parameter information corresponding working condition.

[0109] It can be understood that the sampling points are arranged from left to right according to the time sequence of the parameter information corresponding working condition, the origin is the starting time of the working condition, and the end is the ending time of the working condition (horizontal axis). The vertical axis is consistent with the standard range. The sampling points of adjacent time are connected in sequence by straight lines to form a continuous curve.

[0110] For example, a 10-second working condition contains 1000 sampling points (10ms per point), and the normalized value range is 0~1. In the atlas, the curve of the 0~3s adjustment stage rises from 0.1 (50W) to 0.8 (250W), and the curve of the 3~10s stable stage fluctuates in the interval of 0.6~0.7 (200~225W), clearly showing the characteristics of "loss rising in adjustment stage and loss stable in stable stage".

[0111] In this way, through standardization processing, even if the original loss order of magnitude of different working conditions is large, the loss trend can also be compared and analyzed in the same atlas, providing a unified benchmark for energy loss evaluation across working conditions.

[0112] S400, based on the theoretical action curve of the electromagnetic valve to be adjusted and the actual action curve under the parameter information corresponding working condition, to obtain the control mode matching degree corresponding to the electromagnetic valve to be adjusted. Wherein, the theoretical action curve of the electromagnetic valve to be adjusted is used to describe the ideal action law that the electromagnetic valve should present under the action of the preset control instruction. The actual action curve under the parameter information corresponding working condition is the actual action law drawn according to the real-time running data. The control mode matching is determined according to the local deviation degree corresponding to the deviation amount between the key data points of the theoretical action curve and the actual action curve, the deviation change rate and the importance weight of the key data points. The deviation change rate is used to correct the local deviation degree. The key data points are the inflection points or extreme points or stage endpoints of the theoretical action curve.

[0113] 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.

[0114] 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.

[0115] 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:

[0116] S410, determine the target feature point that matches each of the first feature points from a plurality of second feature points.

[0117] 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.

[0118] 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.

[0119] Exemplarily, if a certain first feature point has no direct corresponding time point in the actual motion curve (e.g., there is a feature point at theoretical t=5s, but no actual sampling at this time), 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 interpolation point is taken as the target feature point corresponding to the first feature point.

[0120] In S420, a deviation parameter between the first feature point and the corresponding target feature point is determined according to the parameter value of the first feature point and the parameter value of the corresponding target feature point. The deviation parameter includes a deviation amount and a deviation change rate.

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

[0122] Exemplarily, at t1=1.5s, the opening Videal=25%, and the target feature point Vactual=23%, then the absolute deviation amount AV1=|25%-43%|=2%. At t2=3s, the opening Videal=50%, and the target feature point Vactual=48%, then the absolute deviation amount AV2=|50%-48%|=2%. Then the deviation change rate k=(2%-2%) / (3s-1.5s)=0% / s, indicating that the deviation amount remains stable; if AV2=3% at t2, then k=(3%-2%) / 1.5s≈0.67% / s, indicating that the deviation is increasing.

[0123] In S430, the goodness of fit between the theoretical motion curve and the actual motion curve is determined according to the deviation amount and the deviation change rate between each first feature point and the corresponding target feature point.

[0124] It can be understood that the goodness of fit is a quantitative evaluation of the overall consistency of the theoretical curve and the actual curve after synthesizing the deviation parameters of all feature points, and the value range is 0-100% (the higher the value, the better the consistency).

[0125] Exemplarily, 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 value of the corrected local deviation degree of all feature points (e.g., the importance weight of key data points can be set according to the importance of the feature points, such as adjusting the weight of the end point to 0.3, and the remaining points are evenly distributed to the remaining weight) is taken to obtain the final goodness of fit.

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

[0127] In this way, the limitations of a single static indicator can be avoided (for example, in the traditional scheme, the deviation at a certain time (such as the opening degree deviation at a stable time) is calculated, but whether the deviation increases over time (such as the opening stage deviation increasing from 1% to 5%) is not considered, which may cause potential risks to be covered up), and the adaptability of the control mode can be more comprehensively reflected (for example, even if the deviation is small at a certain time, but the deviation increases rapidly, it can also be identified as a potential problem), providing data support for subsequent optimization.

[0128] S440, determining the control mode matching degree of the to-be-adjusted solenoid valve according to the goodness of fit.

[0129] It can be understood that if the goodness of fit S ≥ 90%, the control mode matching degree = S (such as S = 97.5% → matching degree 97.5%), it is determined as “highly matched”; if 70% ≤ S < 90%, the control mode matching degree = S × 0.9 (such as S = 80% → matching degree 72%), it is determined as “basically matched”; if S < 70%, the control mode matching degree = S × 0.7 (such as S = 60% → matching degree 42%), it is determined as “not matched”.

[0130] In this way, the “key feature points” of the theoretical curve are selected to calculate the local deviation degree, and then the local results are corrected according to the deviation change rate, and finally the modified results of all feature points are weighted and averaged to obtain the global goodness of fit, which can avoid the problem that in the traditional method, the whole period curves of the theory and the actual are compared as a whole (such as calculating the area difference under the curve), but the key differences of the solenoid valve action are often concentrated in a certain stage (such as the opening moment and the closing end point), and the whole period comparison may dilute the key information, which is helpful for targeted analysis of the key action stage (such as the opening end point and the stable running point) which has the greatest impact on the control performance, so that the subsequent optimization is more targeted.

[0131] S500, obtaining a control optimization strategy of the to-be-adjusted solenoid valve based on at least two of the control response accuracy, the energy loss rate, and the control mode matching degree.

[0132] It can be understood that the control optimization strategy refers to the adjustment scheme for the opening and closing process of the electromagnetic valve. For example, adjusting the coil driving current, optimizing the PID parameters, etc. The determination of the strategy needs to combine at least two indexes to balance the control accuracy, energy consumption and stability.

[0133] For example, if the control response accuracy < 80% and the matching degree < 80%, it is determined that the control parameters are mismatched, and the optimization strategy is to correct the proportional coefficient in the preset control instruction (such as adjusting the PID proportional gain from 0.5 to 0.7), and compensate for the action delay (such as sending the instruction 5 ms in advance); if the energy loss rate > 30% and the flow fluctuation amplitude > 15%, it is determined that the energy consumption is too high, and the optimization strategy is to adopt a segmented regulation mode (such as starting at a low speed to avoid pressure impact, increasing the speed in the middle to improve the response, and fine-tuning the flow at the end).

[0134] In one possible implementation, S500, based on at least two of the control response accuracy, the energy loss rate and the control mode matching degree, the control optimization strategy of the electromagnetic valve to be adjusted is obtained, including:

[0135] In the case where 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 needs to adjust the control parameters of the electromagnetic valve to be adjusted.

[0136] It can be understood that in the case where 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 driving voltage can be adjusted to speed up the response speed, and at the same time, the proportional coefficient in the preset control instruction is corrected to reduce the pressure or flow fluctuation and reduce the energy consumption. That is, an optimization strategy is generated that needs to adjust the control parameters of the electromagnetic valve to be adjusted.

[0137] For example, when the three indicators are not up to standard at the same time, the control parameters of the opening and closing processes of the electromagnetic valve can be optimized simultaneously to improve response accuracy, reduce energy consumption, and improve mode matching. For example, a certain servo electromagnetic valve (precision threshold 90%, loss threshold 15%, matching threshold 85%, actual precision 82%, loss 20%, matching 72%) : Adjust the opening valve process parameter. The opening valve is the starting link of the electromagnetic valve response command. In the opening valve process, the opening valve peak driving current can be increased from 1.2A to 1.4A (to increase the electromagnetic thrust and shorten the valve core startup time), and the high-power duration can be shortened from 20ms to 15ms (to avoid excessive energy consumption); and the proportional coefficient (Kp) of the opening valve PID controller is increased from 0.5 to 0.6 (to enhance proportional adjustment and speed up response), and the integral time (Ti) is reduced from 0.3s to 0.2s (to accelerate the elimination of static error). Adjust the closing valve process parameter. The closing valve is the end link of the electromagnetic valve action. In the closing valve process, the closing valve holding voltage can be reduced from 12V to 10V (to reduce the energy consumption in the closing valve maintenance stage), and the closing valve trigger advance can be increased from 8ms to 10ms (to enter the closing valve process in advance and avoid invalid energy consumption due to delay); and the differential coefficient (Td) of the closing valve PID controller is increased from 0.1s to 0.2s (to enhance the differential adjustment and suppress the pressure / flow fluctuation during closing, so that the actual curve is closer to the theoretical curve), and the proportional coefficient (Kp) is reduced from 0.5 to 0.4 (to avoid secondary adjustment loss caused by closing overshoot).

[0138] For example, if the opening valve peak current is increased by 16.7% (from 1.2A to 1.4A), the closing valve holding voltage is reduced by 16.7% (from 12V to 10V) in proportion to ensure that the total energy consumption increase does not exceed 5% of the original scheme; according to the deviation between the actual action curve and the theoretical curve (such as the time difference of opening valve to 50% opening is 2ms, and the position difference of closing valve completion is 2% opening), the opening valve startup delay (2ms) and the closing valve buffer duration (2ms) are compensated to make the actual action closer to the theoretical expectation.

[0139] S600, according to the control optimization strategy of the electromagnetic valve to be adjusted, adjusting the driving current of the electromagnetic valve coil.

[0140] It can be understood that the opening valve current adjustment amplitude and the opening valve current adjustment amplitude are extracted from the control optimization strategy, and the opening valve current adjustment amplitude and the opening valve current adjustment amplitude are converted into electrical signals to adjust the current of the coil inside the electromagnetic valve by the electromagnetic valve bidirectional control device to complete the adjustment action.

[0141] In this way, at least two of the control response accuracy, the energy loss rate and the control mode matching degree can be combined to formulate a global control optimization strategy, and a transition from single and isolated data adjustment to multi-data collaborative optimization is realized. Compared with the traditional single-dimensional data, the method can improve the overall control performance of the electromagnetic valve.

[0142] It should be understood that the size of the serial number of each step in the above embodiment does not mean the order of execution, and the execution order of each process should be determined according to its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the application.

[0143] Corresponding to the electromagnetic valve bidirectional control method described in the above embodiment, the embodiments of the application also provide an electromagnetic valve bidirectional control system, and each unit of the system can realize each step of the electromagnetic valve bidirectional control method. Figure 4 The structure block diagram of the electromagnetic valve bidirectional control system provided by the embodiments of the application is shown, and only the parts related to the embodiments of the application are shown for ease of illustration.

[0144] Reference Figure 4 , the electromagnetic valve bidirectional control system comprises:

[0145] The acquisition unit is configured to acquire real-time running data reflecting a working condition corresponding to the parameter information according to the parameter information of the electromagnetic valve to be adjusted carried in the preset control instruction.

[0146] The generation unit is configured to obtain the control response accuracy of the electromagnetic valve to be adjusted in the actual working condition based on the real-time running data. The control response accuracy is used to indicate the degree of coincidence between the actual action of the electromagnetic valve to be adjusted and the preset control instruction.

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

[0148] The determination unit is configured to obtain the control mode matching degree of the electromagnetic valve to be adjusted based on the theoretical action curve of the electromagnetic valve to be adjusted and the actual action curve in the working condition corresponding to the parameter information. The theoretical action curve of the electromagnetic valve to be adjusted is used to describe the ideal action law that the electromagnetic valve should present under the action of the preset control instruction. The actual action curve in the working condition corresponding to the parameter information is an actual action law drawn according to the real-time running data. The control mode matching is determined according to the local deviation degree corresponding to the deviation amount between the key data points of the theoretical action curve and the actual action curve, the deviation change rate and the importance weight of the key data points. 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.

[0149] The control unit is configured to obtain a control optimization strategy of the electromagnetic valve to be adjusted based on at least two of control response accuracy, energy loss rate, and control mode matching degree.

[0150] The adjustment unit is configured to adjust the drive current of the electromagnetic valve coil according to the control optimization strategy of the electromagnetic valve to be adjusted.

[0151] 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 the present application, and the specific functions and technical effects brought by the above systems / units can be referred to the method embodiments part, which will not be repeated here.

[0152] Those skilled in the art can clearly understand that, for the convenience and brevity of description, only the division of the above functional units is taken as an example, and in actual application, the above functions can be completed by different functional units according to needs, that is, the internal structure of the system is divided into different functional units to complete all or part of the above described functions. Each functional unit in the embodiment can be integrated in one processing unit, or each unit can exist physically, or two or more units can be integrated in one unit. The integrated unit can be realized in the form of hardware or in the form of software functional unit. In addition, the specific name of each functional unit is only for easy distinction, and does not limit the protection scope of the present application. The specific working process of the unit in the system can refer to the corresponding process in the foregoing method embodiments, which will not be repeated here.

[0153] The present application also provides an electromagnetic valve bidirectional control device, Figure 5 The structure diagram of the electromagnetic valve bidirectional control device provided by an embodiment of the present application is shown in the figure. Figure 5 As shown in the figure, the electromagnetic valve bidirectional control device 6 of the embodiment includes at least one processor 60 (only one is shown in the figure), at least one memory 61 (only one is shown in the figure), and a computer program 62 stored in the at least one memory 61 and executable on the at least one processor 60. When the processor 60 executes the computer program 62, the electromagnetic valve bidirectional control device 6 realizes the steps in any of the above electromagnetic valve bidirectional control method embodiments, or the electromagnetic valve bidirectional control device 6 realizes the functions of the units in the above system embodiments. Figure 5 Figure 5

[0154] ​​Exemplarily, the computer program 62 can be divided into one or more units, which are stored in the memory 61 and executed by the processor 60 to complete the present application. The one or more units can be a series of computer program instruction segments capable of completing a specific function, which are used to describe the execution process of the computer program 62 in the electromagnetic valve bidirectional control device 6.

[0155] The electromagnetic valve bidirectional control device 6 can be a microcontroller, a PWM controller, a PLC, etc., which is used to realize the on-off or driving (such as adjusting the coil current or voltage) of the coil inside the electromagnetic valve according to the control optimization strategy (such as a PLC or a remotely issued command), so as to complete the opening and closing or adjusting action. The electromagnetic valve bidirectional control device 6 can include, but is not limited to, the processor 60 and the memory 61. Those skilled in the art can understand that the electromagnetic valve bidirectional control device 6 can include more or fewer components than those shown in the figure, or combine certain components, or different components, for example, it can also include an input and output device, a network access device, a bus, etc. Figure 5 The electromagnetic valve bidirectional control device 6 is only an example and does not constitute a limitation on the electromagnetic valve bidirectional control device 6, and can include more or fewer components than those shown in the figure, or combine certain components, or different components, for example, it can also include an input and output device, a network access device, a bus, etc.

[0156] The processor 60 can be a central processing unit (CPU), and the processor 60 can also 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 gates or transistor logic components, discrete hardware components, etc. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor.

[0157] The memory 61 can be an internal storage unit of the electromagnetic valve bidirectional control device 6 in some embodiments, for example, a hard disk or a memory of the electromagnetic valve bidirectional control device 6. The memory 61 can also be an external storage device of the electromagnetic valve bidirectional control device 6 in other embodiments, for example, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) card, a Flash Card, etc. equipped on the electromagnetic valve bidirectional control device 6. Further, the memory 61 can include both the internal storage unit and the external storage device of the electromagnetic valve bidirectional control device 6. The memory 61 is used to store an operating system, an application program, a BootLoader, data, and other programs, for example, program codes of the computer program, etc. The memory 61 can also be used to temporarily store data that has been output or will be output.

[0158] The computer readable storage medium stores the computer program, and the computer program is executed by the processor to implement the steps in any of the method embodiments.

[0159] The computer program product makes the electromagnetic valve bidirectional control device implement the steps in any of the method embodiments when the computer program product runs on the electromagnetic valve bidirectional control device.

[0160] The integrated unit, if implemented in the form of a software function unit and sold or used as an independent product, can be stored in a computer readable storage medium. Based on such understanding, the present application can implement all or part of the processes in the above-mentioned embodiments by a computer program to instruct related hardware to complete, and the computer program can be stored in a computer readable storage medium. The computer program is executed by the processor to implement the steps of each method embodiment. The computer program includes computer program code, which can be in the form of source code, object code, executable file, or some intermediate form. The computer readable medium at least includes any entity or device capable of carrying the computer program code to the electromagnetic valve bidirectional control device, recording medium, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signal, telecommunication signal, and software distribution medium. For example, U disk, mobile hard disk, magnetic disk or optical disk, etc.

[0161] In the above embodiments, the description of each embodiment focuses on different aspects, and the parts not described in detail or recorded in a certain embodiment can be referred to the relevant description of other embodiments.

[0162] Those skilled in the art can understand that the units and algorithm steps of each example described in combination with the embodiments disclosed herein can be realized by electronic hardware or a combination of computer software and electronic hardware. Whether the functions are realized in hardware or software depends on the specific application and design constraints of the technical solution. The skilled person can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present application.

[0163] In the embodiments provided in the present application, it should be understood that the disclosed electromagnetic valve bidirectional control device, electromagnetic valve bidirectional control system and electromagnetic valve bidirectional control method can be implemented in other ways. For example, the above-described electromagnetic valve bidirectional control device, electromagnetic valve bidirectional control system embodiments are merely illustrative. For example, the division of the units is only a logical function division, and there can be another division manner in actual implementation. For example, a plurality of units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the units shown or discussed can be indirect coupling or communication connection through some interface, device or unit, and can be electrical, mechanical or other forms.

[0164] The units described as separate components can or can not be physically separate, and the components shown as units can or can not be physical units, i.e. they can be located in one place or distributed on multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the embodiments.

[0165] The above-described embodiments are only used to illustrate the technical solutions of the present application, but not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that the technical solutions recorded in the foregoing embodiments can be modified, or some technical features can be replaced by equivalent; and these modifications or replacements do not make the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in the protection scope of the present application.

Claims

1. A method of bidirectional control of a solenoid valve, characterized by, The method comprises: According to the parameter information of the electromagnetic valve to be adjusted 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 accuracy of the electromagnetic valve to be adjusted in the actual working condition is obtained; wherein the control response accuracy is used to indicate the degree of coincidence between the actual action of the electromagnetic valve to be adjusted 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 electromagnetic valve to be adjusted is obtained; Based on the theoretical action curve of the electromagnetic valve to be adjusted and the actual action curve in the working condition corresponding to the parameter information, the control mode matching degree corresponding to the electromagnetic valve to be adjusted is obtained; wherein the theoretical action curve of the electromagnetic valve to be adjusted is used to describe the ideal action law that the electromagnetic valve should present under the action of the preset control instruction; the actual action curve in the working condition corresponding to the parameter information is the actual action law drawn according to the real-time running data; the control mode matching is determined according to the local deviation degree corresponding to the deviation amount between the key data points of the theoretical action curve and the actual action curve, the deviation change rate and the importance weight of the key data points; the deviation change rate is used to correct the local deviation degree; the key data points are inflection points or 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, the control optimization strategy of the electromagnetic valve to be adjusted is obtained; According to the control optimization strategy of the electromagnetic valve to be adjusted, the driving current of the electromagnetic valve coil is adjusted.

2. The electromagnetic valve bidirectional control method according to claim 1, characterized by, The control response accuracy of the electromagnetic valve to be adjusted in the actual working condition is obtained based on the real-time running data, comprising: The feature extraction processing is performed on the real-time running data to obtain a feature parameter sequence; wherein the parameters reflecting the response meeting the standard and the parameters reflecting the response not meeting the standard in the feature parameter sequence have different feature values; At least one target parameter is selected from a target parameter segment in the feature parameter sequence; wherein the target parameter segment is a parameter segment reflecting the working condition corresponding to the parameter information in the feature parameter sequence; The parameter range of each target parameter in the feature parameter sequence is determined; According to the feature values of each parameter in the parameter range of each target parameter in the feature parameter sequence, the control response accuracy of the electromagnetic valve to be adjusted in the actual working condition is determined.

3. The electromagnetic valve bidirectional control method according to claim 2, wherein The feature value of the parameter reflecting the response meeting the standard in the feature parameter sequence is a target feature value; according to the feature values of each parameter in the parameter range of each target parameter in the feature parameter sequence, the control response accuracy of the electromagnetic valve to be adjusted in the actual working condition is determined, comprising: According to the proportion of the parameters with target feature values in 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 meeting standard response attribute or a non-meeting standard response attribute; According to the number of target parameters of the on-target response attribute and the number of target parameters of the off-target response attribute, the control response accuracy of the to-be-adjusted electromagnetic valve in the actual working condition is determined.

4. The electromagnetic valve bidirectional control method according to claim 1, wherein The energy loss rate of the to-be-adjusted electromagnetic valve is obtained based on the pressure change value and the flow fluctuation amplitude of each time in the corresponding working condition of the parameter information, including: The instantaneous energy loss value of each time is determined based on the pressure change value and the flow fluctuation amplitude of each time in the corresponding working condition of the parameter information; According to the instantaneous energy loss value of each time, the energy loss spectrum corresponding to the to-be-adjusted electromagnetic valve is obtained; wherein the energy loss spectrum carries a sampling point for indicating each time in the corresponding working condition of the parameter information; the value corresponding to the sampling point is determined according to the instantaneous energy loss value of the corresponding time; The energy loss rate corresponding to the to-be-adjusted electromagnetic valve is obtained based on the energy loss spectrum corresponding to the to-be-adjusted electromagnetic valve.

5. The electromagnetic valve bidirectional control method according to claim 4, wherein The energy loss rate corresponding to the to-be-adjusted electromagnetic valve is obtained based on the energy loss spectrum corresponding to the to-be-adjusted electromagnetic valve, including: At least one target sampling point is obtained from the sampling points of the energy loss spectrum; The time range of each target sampling point in the energy loss spectrum is determined; The target loss value of each target sampling point is determined according to the value of each sampling point in the time range of each target sampling point; The energy loss rate corresponding to the to-be-adjusted electromagnetic valve is determined according to the target loss value of each target sampling point in the energy loss spectrum.

6. The electromagnetic valve bidirectional control method according to claim 4, wherein The method further includes: The instantaneous energy loss value of each time is transformed into a standard range to obtain the standardized loss value corresponding to each time; The energy loss spectrum corresponding to the to-be-adjusted electromagnetic valve is obtained by taking the standardized loss value corresponding to each time as the value of the sampling point corresponding to each time; wherein each sampling point in the energy loss spectrum is set according to the time sequence in the corresponding working condition of the parameter information.

7. The electromagnetic valve bidirectional control method according to claim 6, wherein The instantaneous energy loss value of each time is transformed into a standard range to obtain the standardized loss value corresponding to each time, including: The instantaneous energy loss value of each time is filtered to obtain the processing loss value of each time; wherein the filtering processing is used to reduce the mutation between the instantaneous energy loss values corresponding to different times; Each time processing loss value is normalized to a standard range to obtain a normalized loss value of each time; The accuracy of each time normalized loss value is adjusted to obtain the standardized loss value corresponding to each time.

8. The electromagnetic valve bidirectional control method according to claim 1, wherein The theoretical action curve of the to-be-adjusted electromagnetic valve includes parameter values corresponding to a plurality of first feature points, and the actual action curve in the parameter information corresponding working condition includes parameter values corresponding to a plurality of second feature points; the control mode matching degree corresponding to the to-be-adjusted electromagnetic valve is obtained based on the theoretical action curve of the to-be-adjusted electromagnetic valve and the actual action curve in the parameter information corresponding working condition, including: From the plurality of second feature points, a target feature point corresponding to each first feature point is determined; According to the parameter value of the first feature point and the parameter value of 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; According to the deviation amount and the deviation change rate between each of the first feature points and the corresponding target feature points, the degree of fit between the theoretical action curve and the actual action curve is determined; According to the degree of fit, the control mode matching degree corresponding to the electromagnetic valve to be adjusted is determined.

9. The electromagnetic valve bidirectional control method according to claim 1, wherein The control optimization strategy of the electromagnetic 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: In the case that 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 of adjusting the control parameters of the electromagnetic valve to be adjusted is generated.

10. A solenoid valve bidirectional control system, characterized by, Applied to an electromagnetic valve control device, for realizing the electromagnetic valve bidirectional control method as claimed in any one of claims 1 to 9, the electromagnetic valve bidirectional control system comprises: An acquisition unit is configured to acquire real-time running data reflecting a working condition corresponding to parameter information of an electromagnetic valve to be adjusted according to the parameter information carried in a preset control instruction; A generation unit is configured to obtain a control response accuracy of the electromagnetic valve to be adjusted in an actual working condition based on the real-time running data; wherein the control response accuracy is used to indicate the degree of fit between actual action of the electromagnetic valve to be adjusted and a preset control instruction; A calculation unit is configured to obtain an energy loss rate corresponding to the electromagnetic valve to be adjusted based on pressure change values and flow fluctuation amplitudes at each time in the working condition corresponding to the parameter information; A determination unit is configured to obtain a control mode matching degree corresponding to the electromagnetic valve to be adjusted based on a theoretical action curve of the electromagnetic valve to be adjusted and an actual action curve in the working condition corresponding to the parameter information; wherein the theoretical action curve of the electromagnetic valve to be adjusted is used to describe an ideal action law of the electromagnetic valve under the action of a preset control instruction; the actual action curve in the working condition corresponding to the parameter information is an actual action law drawn according to the real-time running data; the control mode matching is determined according to a local deviation degree corresponding to a deviation amount between key data points of the theoretical action curve and the actual action curve, a deviation change rate and an importance weight of the key data points; the deviation change rate is used to correct the local deviation degree; the key data points are inflection points, extreme points or stage end points of the theoretical action curve; A control unit is configured to obtain a control optimization strategy of the electromagnetic valve to be adjusted based on at least two of the control response accuracy, the energy loss rate and the control mode matching degree; An adjustment unit is configured to adjust a drive current of a solenoid of the electromagnetic valve according to the control optimization strategy of the electromagnetic 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