CN112628451B - Driving method and device of electromagnetic valve, storage medium and equipment - Google Patents

Driving method and device of electromagnetic valve, storage medium and equipment Download PDF

Info

Publication number
CN112628451B
CN112628451B CN202011559445.5A CN202011559445A CN112628451B CN 112628451 B CN112628451 B CN 112628451B CN 202011559445 A CN202011559445 A CN 202011559445A CN 112628451 B CN112628451 B CN 112628451B
Authority
CN
China
Prior art keywords
current
driving
power supply
limit value
driving power
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011559445.5A
Other languages
Chinese (zh)
Other versions
CN112628451A (en
Inventor
宋国梁
胡永慧
王立国
付文杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Weichai Power Co Ltd
Original Assignee
Weichai Power Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Weichai Power Co Ltd filed Critical Weichai Power Co Ltd
Priority to CN202011559445.5A priority Critical patent/CN112628451B/en
Publication of CN112628451A publication Critical patent/CN112628451A/en
Application granted granted Critical
Publication of CN112628451B publication Critical patent/CN112628451B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F16ENGINEERING ELEMENTS AND UNITS; GENERAL MEASURES FOR PRODUCING AND MAINTAINING EFFECTIVE FUNCTIONING OF MACHINES OR INSTALLATIONS; THERMAL INSULATION IN GENERAL
    • F16KVALVES; TAPS; COCKS; ACTUATING-FLOATS; DEVICES FOR VENTING OR AERATING
    • F16K31/00Actuating devices; Operating means; Releasing devices
    • F16K31/02Actuating devices; Operating means; Releasing devices electric; magnetic
    • F16K31/06Actuating devices; Operating means; Releasing devices electric; magnetic using a magnet, e.g. diaphragm valves, cutting off by means of a liquid
    • F16K31/0675Electromagnet aspects, e.g. electric supply therefor

Abstract

The application provides a driving method, a driving device, a storage medium and equipment of an electromagnetic valve, wherein the method comprises the following steps: calculating to obtain a current upper limit value and a current lower limit value according to the rated voltage of the driving power supply, the resistance of the electromagnetic valve, the set driving period and the set current; controlling the driving power supply to be switched on and off according to the current upper limit value, the current lower limit value and a preset current control strategy; the current control strategy comprises that when the instantaneous current of the electromagnetic valve is larger than or equal to the current upper limit value, the driving power supply is closed; and when the instantaneous current of the electromagnetic valve is less than or equal to the current lower limit value, the driving power supply is started. The scheme controls the switch of the driving power supply based on the current upper limit value and the current lower limit value, even if the actual voltage of the driving power supply deviates from the instantaneous voltage for a short time, the scheme can also ensure that the peak value of the driving current of the electromagnetic valve is consistent with the current upper limit value and the valley value of the driving current is consistent with the current lower limit value, and therefore the deviation of the average driving current from the set current is avoided.

Description

Driving method and device of electromagnetic valve, storage medium and equipment
Technical Field
The invention relates to the technical field of automatic control, in particular to a driving method and device of an electromagnetic valve, a storage medium and equipment.
Background
The solenoid valve is a common valve device, and the valve opening of the solenoid valve can be adjusted by adjusting the average driving current of the solenoid valve (i.e. the average value of the driving current flowing through the solenoid valve within a certain time). At present, the driving of the solenoid valve and the adjustment of the driving current are generally realized by adopting a Pulse Width Modulation (PWM) technology.
The pulse width modulator is connected to a constant-voltage driving power supply, so that a pulse driving signal output by the pulse width modulator can be obtained, the pulse driving signal is input into the electromagnetic valve to drive the electromagnetic valve to work, the average driving current passing through the electromagnetic valve can be changed by adjusting the pulse width of the pulse driving signal, and the opening degree of the valve is further changed.
The driving method based on the PWM technique has a problem in that a voltage fluctuation of the driving power source (which means that the voltage of the driving power source deviates from a rated voltage in a short time) causes a similar fluctuation in the peak value of the driving current of the solenoid valve, and the average driving current actually passing through the solenoid valve deviates from the set current. That is, in the driving method based on the PWM technique, the opening degree of the electromagnetic valve is easily affected by the fluctuation of the output voltage of the driving power source, and it is difficult to continuously maintain the opening degree of the electromagnetic valve at the set opening degree.
Disclosure of Invention
In view of the above-mentioned problems of the prior art, the present application provides a driving method, apparatus, storage medium, and device of a solenoid valve to provide attenuation of the influence of voltage fluctuation of a driving power supply on the opening degree of the solenoid valve.
A first aspect of the present application provides a method of driving a solenoid valve, including:
calculating to obtain a current upper limit value and a current lower limit value according to the rated voltage of the driving power supply, the resistance of the electromagnetic valve, the set driving period and the set current; the driving power supply is used for driving the electromagnetic valve;
controlling the driving power supply to be turned on and off according to the current upper limit value, the current lower limit value and a preset current control strategy; wherein the current control strategy comprises turning off the driving power supply when the instantaneous current of the solenoid valve is greater than or equal to the current upper limit value; and when the instantaneous current of the electromagnetic valve is less than or equal to the current lower limit value, the driving power supply is started.
Optionally, the calculating according to the rated voltage of the driving power supply, the resistance of the electromagnetic valve, the set driving period, and the set current to obtain the current upper limit value and the current lower limit value includes:
calculating to obtain the theoretical opening time of the driving power supply in the set driving period according to the rated voltage of the driving power supply, the resistance of the electromagnetic valve, the set driving period and the set current;
calculating to obtain a first attenuation factor when the driving power supply is started and a second attenuation factor when the driving power supply is closed according to the theoretical starting time, the set driving period and the resistance and inductance of the electromagnetic valve;
and calculating to obtain a current upper limit value and a current lower limit value according to the first attenuation factor, the second attenuation factor, the rated voltage and the resistance of the electromagnetic valve.
A second aspect of the present application provides a driving apparatus of a solenoid valve, including:
the calculating unit is used for calculating to obtain a current upper limit value and a current lower limit value according to the rated voltage of the driving power supply, the resistance of the electromagnetic valve, the set driving period and the set current; the driving power supply is used for driving the electromagnetic valve;
the control unit is used for controlling the driving power supply to be switched on and switched off according to the current upper limit value, the current lower limit value and a preset current control strategy; wherein the current control strategy comprises turning off the driving power supply when the instantaneous current of the solenoid valve is greater than or equal to the current upper limit value; and when the instantaneous current of the electromagnetic valve is less than or equal to the current lower limit value, the driving power supply is started.
Optionally, when the calculating unit calculates the current upper limit value and the current lower limit value according to the rated voltage of the driving power supply, the resistance of the electromagnetic valve, the set driving period, and the set current, the calculating unit is specifically configured to:
calculating to obtain the theoretical opening time of the driving power supply in the set driving period according to the rated voltage of the driving power supply, the resistance of the electromagnetic valve, the set driving period and the set current;
calculating to obtain a first attenuation factor when the driving power supply is started and a second attenuation factor when the driving power supply is closed according to the theoretical starting time, the set driving period and the resistance and inductance of the electromagnetic valve;
and calculating to obtain a current upper limit value and a current lower limit value according to the first attenuation factor, the second attenuation factor, the rated voltage and the resistance of the electromagnetic valve.
A third aspect of the present application provides a computer storage medium for storing a computer program, which when executed, is particularly adapted to implement the method of driving a solenoid valve provided in any one of the first aspects of the present application.
A fourth aspect of the present application provides an electronic device comprising a memory and a processor;
wherein the memory is for storing a computer program;
the processor is configured to execute the computer program, and is specifically configured to implement the method for driving the solenoid valve provided in any one of the first aspects of the present application.
The application provides a driving method, a driving device, a storage medium and equipment of an electromagnetic valve, wherein the method comprises the following steps: calculating to obtain a current upper limit value and a current lower limit value according to the rated voltage of the driving power supply, the resistance of the electromagnetic valve, the set driving period and the set current; controlling the driving power supply to be switched on and off according to the current upper limit value, the current lower limit value and a preset current control strategy; the current control strategy comprises that when the instantaneous current of the electromagnetic valve is larger than or equal to the current upper limit value, the driving power supply is closed; and when the instantaneous current of the electromagnetic valve is less than or equal to the current lower limit value, the driving power supply is started. The scheme controls the switch of the driving power supply based on the current upper limit value and the current lower limit value, even if the actual voltage of the driving power supply deviates from the instantaneous voltage for a short time, the scheme can also ensure that the peak value of the driving current of the electromagnetic valve is consistent with the current upper limit value and the valley value of the driving current is consistent with the current lower limit value, and therefore the deviation of the average driving current from the set current is avoided.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a driving circuit to which a driving method of an electromagnetic valve provided in an embodiment of the present application is applied;
FIG. 2 is a flow chart of a method for driving a solenoid valve according to an embodiment of the present disclosure;
FIG. 3 is a schematic diagram of a current waveform provided by an embodiment of the present application;
FIG. 4 is a schematic diagram of another current waveform provided by an embodiment of the present application;
fig. 5 is a schematic structural diagram of a driving device of a solenoid valve according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The driving of the solenoid valve usually adopts a PWM mode, and the control of the driving current is realized by adjusting the pulse width input to the solenoid valve. Meanwhile, in order to ensure the dynamic response and the control precision of the battery valve, a specific driving period needs to be set, the pulse width of a driving signal is obtained through calculation, and the conduction time is determined. In practical application, under the influence of the instantaneous voltage of the driving power supply, under the condition of the same driving period and duty ratio, the driving current has deviation, so that the actuator is abnormally fluctuated. Meanwhile, in a driving period, the driving pulse width cannot be adjusted for many times, and the response is slow under a dynamic working condition.
The patent discloses a switch control mode, maximum current and minimum current are calculated through a physical model according to parameters such as a set period, actual resistance and inductance, and when the actual current is smaller than or equal to the minimum current, a driving circuit is controlled to be switched on; when the actual current is larger than or equal to the maximum current, controlling the driving circuit to be opened; the driving state is kept unchanged at the rest of the time. And the influence of the battery voltage on the driving current is avoided by controlling the limit value, and the system response is accelerated. The maximum and minimum values are obtained through physical model calculation, the driving period can be ensured to be the same as the set period, and the requirement of dynamic response is met.
A method for driving a solenoid valve according to an embodiment of the present invention is applied to a drive circuit for a solenoid valve shown in fig. 1, and a configuration of the drive circuit for the solenoid valve applied to the embodiment of the present invention will be briefly described below with reference to fig. 1.
As shown in fig. 1, the driving circuit of this embodiment is provided with a driving power supply (i.e. V + shown in the figure), the driving power supply is connected with the source of a triode through a diode, the drain of the triode is grounded, a solenoid valve and a current detector are connected in series to form a solenoid valve branch, the current detector is used for detecting the instantaneous current passing through the solenoid valve on the solenoid valve branch, i.e. detecting the instantaneous value of the driving current of the solenoid valve, the solenoid valve branch is connected in parallel with the diode, the instantaneous currents output by the current detector are respectively input to the negative input end of a comparator 1 and the positive input end of a comparator 2, the lower current limit output by an ECU (Electronic Control Unit) is output to the positive input end of the comparator 1, the upper current limit output by the ECU is output to the negative input end of the comparator 2, the output end of the comparator 1 is connected to the S end of a latch, the output end of the comparator 2 is connected to the R end of the latch, the output end Q of the latch is connected to the drain electrode of the triode, and the level output by the output end Q of the latch can control the on-off of the triode so as to control the start and the close of the driving power supply.
In the driving circuit shown in fig. 1, when the comparator 1 determines that the instantaneous current is smaller than the current lower limit, the triode is controlled to be conducted through the latch, so that the driving power supply is started, the driving power supply supplies power to the electromagnetic valve, the instantaneous current passing through the electromagnetic valve is gradually increased during the period, when the instantaneous current is increased to be larger than the current upper limit, the comparator 2 controls the triode to be disconnected, so that the driving power supply is closed, during the period that the driving power supply is closed, the instantaneous current passing through the electromagnetic valve is gradually reduced, until the instantaneous current is reduced to be lower than the current lower limit, the driving power supply is started again, and the next period is entered.
With reference to fig. 2, an embodiment of the present application provides a method for driving a solenoid valve, which includes the following steps:
s201, calculating according to the rated voltage of the driving power supply, the resistance of the electromagnetic valve, the set driving period and the set current to obtain an upper current limit value and a lower current limit value.
Wherein, the driving power supply is used for driving the electromagnetic valve.
In the electrical system of the vehicle, the solenoid valve is usually driven by using a constant voltage power supply having a constant voltage, and the driving power supply in step S201 is the constant voltage power supply, and the rated voltage is the voltage that the driving power supply outputs constantly in a normal state, for example, if the rated voltage of the driving power supply is 5V, it is explained that the driving power supply outputs 5V stably in a normal starting state.
When the driving power supply is actually used, due to the problems of external environment interference, aging of a device of the driving power supply and the like, the output instantaneous voltage of the driving power supply may deviate from the rated voltage, and the actually output voltage of the driving power supply is lower than the rated voltage within a period of time after the deviation occurs.
The set driving period is a predetermined value, denoted as T.
The set current is an average value of the designated solenoid valve driving currents, namely, a preset average driving current, and specifically, when the opening degree of the solenoid valve needs to be adjusted to a target opening degree, a current value corresponding to the target opening degree can be determined according to a mapping relation between the opening degree of the solenoid valve and the current, and the current value is determined as the average driving current.
S202, controlling the driving power supply to be turned on and off according to the current upper limit value, the current lower limit value and a preset current control strategy.
The current control strategy comprises that when the instantaneous current of the electromagnetic valve is larger than or equal to the current upper limit value, the driving power supply is closed; and when the instantaneous current of the electromagnetic valve is less than or equal to the current lower limit value, the driving power supply is started.
As shown in the driving circuit of fig. 1, after calculating the current upper limit value and the current lower limit value, the ECU inputs the current lower limit value and the current upper limit value into the comparator 1 and the comparator 2, respectively, so that when the instantaneous current of the solenoid valve is less than or equal to the current lower limit value, the comparator 1 can control the driving power supply to be turned on through the latch, so that the instantaneous current of the solenoid valve is increased, and when the instantaneous current of the solenoid valve is greater than or equal to the current upper limit value, the comparator 2 can control the driving power supply to be turned off through the latch, so that the instantaneous current of the solenoid valve is decreased.
Therefore, no matter how the voltage instantaneously output by the driving power supply changes, the driving method provided by the embodiment can control the instantaneous current of the solenoid valve to change between the current upper limit value and the current lower limit value calculated in step S201, always keep the peak value of the instantaneous current of the solenoid valve (i.e. the maximum value of the instantaneous current passing through the solenoid valve) equal to the current upper limit value and keep the valley value of the instantaneous current of the solenoid valve (i.e. the minimum value of the instantaneous current passing through the solenoid valve) equal to the current lower limit value, thereby preventing the average value of the driving current actually passing through the solenoid valve from deviating from the set current in step S201, and avoiding the influence of the fluctuation of the voltage of the driving power supply on the opening degree of the solenoid valve.
In the above driving method, in step S201, the upper current limit and the lower current limit are calculated according to the rated voltage of the driving power supply, the resistance of the solenoid valve, the set driving period, and the set current, and the specific implementation process may include:
calculating the theoretical opening time of the driving power supply in the set driving period according to the rated voltage of the driving power supply, the resistance of the electromagnetic valve, the set driving period and the set current;
calculating according to the theoretical opening duration, the set driving period and the resistance and inductance of the electromagnetic valve to obtain a first attenuation factor when the driving power supply is opened and a second attenuation factor when the driving power supply is closed;
and calculating to obtain a current upper limit value and a current lower limit value according to the first attenuation factor, the second attenuation factor, the rated voltage and the resistance of the electromagnetic valve.
The above calculation process can be understood in conjunction with the following formula:
firstly, the theoretical opening time t1 of the driving power supply in the set driving period is calculated according to the rated voltage, the resistance of the electromagnetic valve, the set driving period and the set current of the driving power supply by using the following formula (1).
Formula (1):
Figure BDA0002859933690000061
in the formula (1), T is the set drive period, I is the set current, R is the resistance of the solenoid valve itself, U is the rated voltage of the drive power supply, and du is the voltage drop of the diode connected in parallel with the solenoid valve in the drive current shown in fig. 1.
Subsequently, a first attenuation factor a when the driving power supply is turned on and a second attenuation factor B when the driving power supply is turned off are calculated from the theoretical on-period, the set driving period, and the resistance and inductance of the solenoid valve using the following equations (2) and (3).
Formula (2):
A=e -t1×R/L
in the above formula (2), e is a natural constant, L is an inductance of the solenoid valve, and the first attenuation factor a is an attenuation factor when the driving power supply is turned on.
Formula (3):
B=e -(T-t1)×R/L
the meaning of each parameter in formula (3) is the same as the aforementioned formula, and is not described in detail.
The first attenuation factor A is used for representing the increasing rate of the instantaneous current of the electromagnetic valve after the driving power supply is turned on, and the second attenuation factor B is used for representing the decreasing rate of the instantaneous current of the electromagnetic valve after the driving power supply is turned off.
Finally, the current upper limit value and the current lower limit value are calculated according to the first attenuation factor, the second attenuation factor, the rated voltage and the resistance of the electromagnetic valve by using the following formula (4) and formula (5), and the current upper limit value Imax and the current lower limit value Imin can be calculated.
Formula (4):
Figure BDA0002859933690000071
formula (5):
Figure BDA0002859933690000072
the meaning of each parameter in formula (4) and formula (5) is consistent with the aforementioned formula and will not be described in detail.
The driving method of the electromagnetic valve provided by the embodiment of the application has the key points that:
on the basis of constructing the driving circuit shown in fig. 1, calculation formulas of the current upper limit value and the current lower limit value are determined according to a physical model of the driving circuit, the current upper limit value and the current lower limit value are calculated by using the calculation formulas, and the driving power supply is controlled to be turned on and turned off through the current upper limit value and the current lower limit value. And the set driving period and the voltage drop of a diode in the circuit are combined for calculation, so that the switching period of the driving power supply is consistent with the set driving period when the driving power supply normally operates, the accuracy of a calculation result (an upper current limit value and a lower current limit value) is improved, the peak value of the real instantaneous current of the electromagnetic valve is consistent with the upper current limit value, and the valley value of the real instantaneous current is consistent with the lower current limit value.
The driving method of the electromagnetic valve provided by the embodiment of the application has the following beneficial effects:
in a first aspect, referring to fig. 3, the method for driving the solenoid valve provided in this embodiment can avoid the influence of the instantaneous output voltage fluctuation of the driving power supply on the average driving current of the solenoid valve, and further avoid the instantaneous output voltage fluctuation of the driving power supply from changing the opening of the solenoid valve.
The upper curve of fig. 3 is a graph of the instantaneous voltage (ordinate of the curve) of the driving power supply as a function of time (abscissa of the curve), and the lower curve is a graph of the instantaneous current (ordinate of the curve) of the solenoid valve as a function of time (abscissa of the curve) when operated under the driving method provided in this embodiment. When the driving power supply normally operates, the instantaneous voltage of the driving power supply should be fixed to the rated voltage, and the corresponding upper curve should be a horizontal straight line, and as can be seen from fig. 3, the instantaneous voltage of the driving power supply suddenly deviates from the rated voltage (i.e. the voltage corresponding to the horizontal straight line part in the curve) in the middle section of the curve, specifically, the instantaneous voltage suddenly drops to a value lower than the rated voltage at a certain moment, and then suddenly returns to the rated voltage after a period of time.
When the electromagnetic valve is driven by the pulse width modulation method, the fluctuation of the instantaneous voltage shown in fig. 3 can cause the peak value of the instantaneous current flowing through the electromagnetic valve to be significantly reduced in the period of the fluctuation, and after the instantaneous voltage of the driving power supply is restored to the rated voltage, the peak value of the instantaneous current can be restored to the original peak value.
In contrast, as shown in fig. 3, when the solenoid valve is driven by using the driving method of this embodiment, the variation of the instantaneous voltage of the driving power supply does not affect the magnitude of the current upper limit value pre-calculated in the ECU, and in the time period of decreasing the instantaneous voltage in fig. 3, the driving method provided by this embodiment can make the peak value of the instantaneous current of the solenoid valve still reach the set current upper limit value by prolonging the time period of opening the driving power supply, without decreasing due to the decrease of the instantaneous voltage, and finally, as can be seen from the curve of the instantaneous current in fig. 3, the waveform of the instantaneous current of the solenoid valve in the time period of decreasing the instantaneous voltage is substantially consistent with the waveform of the instantaneous current of the solenoid valve when the instantaneous voltage is equal to the rated voltage, and the average driving current of the corresponding solenoid valve does not deviate from the set current I.
In summary, the driving method provided by this embodiment can keep the average driving current of the solenoid valve unchanged when the instantaneous voltage of the driving power supply fluctuates, and further keep the opening degree of the solenoid valve unchanged, that is, improve the robustness of the solenoid valve.
In a second aspect, referring to fig. 4, the method for driving the solenoid valve provided in this embodiment can quickly adjust the average driving current of the solenoid valve from one setting current to another setting current.
The upper graph of fig. 4 shows the set current (ordinate of the graph) as a function of time (abscissa of the graph), and the lower graph is the instantaneous current (ordinate of the graph) of the solenoid valve as a function of time (abscissa of the graph) when operated under the driving method provided in this embodiment.
In the driving method of the PWM-based solenoid valve, the width of the pulse (pulse width for short) cannot be adjusted many times in a short time due to the limitation of the pulse generator for generating the pulse current, and the amplitude of each adjustment cannot be excessively large. Therefore, in the driving method of the PWM-based solenoid valve, if the average driving current of the solenoid valve needs to be changed from the setting current I1 to the setting current I2, the pulse width may need to be adjusted several times, and after each adjustment, it is generally necessary to wait for one or two setting driving cycles before the adjustment is performed again, and the final adjustment often requires more than two setting driving cycles (i.e., the time for completing the adjustment may be more than 2T).
In the driving method provided in this embodiment, according to the variation curve of the set current in fig. 4, when the set current is changed from a small value at the left side of the curve (current value corresponding to the horizontal line at the lower position) to a large value at the right side of the curve (current value corresponding to the horizontal line at the upper position). Firstly, a new current upper limit value Imax ' and a new current lower limit value Imin ' can be obtained through calculation according to the changed set current, then, if the driving power supply is in the on state at the current moment, the on state of the driving power supply can be kept until the instantaneous current is increased to the new current upper limit value Imax ', then the driving power supply is closed, if the driving power supply is in the off state at the current moment, the driving power supply is started in advance when the instantaneous current is decreased to the new current lower limit value Imin ' without waiting for the instantaneous current to be decreased to the current lower limit value before updating, and the instantaneous current is gradually increased to the new current upper limit value Imax '.
In the instantaneous current curve of fig. 4, the left-hand curve is the waveform of the instantaneous current before the set current is changed, and the right-hand curve is the waveform of the instantaneous current after the set current is changed.
As can be seen from the instantaneous current curve in fig. 4, in the driving method provided in this embodiment, when the average driving current of the solenoid valve needs to be adjusted from the setting current 1 to the setting current 2, the driving method provided in this embodiment can regulate and control the driving circuit within a setting driving period, so that the waveform of the instantaneous current of the solenoid valve can be changed to a waveform matching the changed setting current within a setting driving period, and the average driving current of the corresponding solenoid valve can be changed to the setting current 2 within a setting driving period.
In summary, compared with the existing driving method based on PWM, the driving method provided in this embodiment can more quickly drive the solenoid valve to respond to the change of the value of the set current, and accordingly, the opening degree of the solenoid valve can be more quickly adjusted, that is, the dynamic response speed of the solenoid valve is improved.
In the third aspect, limited by various components in the circuit, the frequency of the instantaneous current of the general solenoid valve should be kept within a frequency range, and cannot be too large or too small.
With reference to fig. 5, the apparatus may include the following units:
and the calculating unit 501 is configured to calculate an upper current limit and a lower current limit according to the rated voltage of the driving power supply, the resistance of the electromagnetic valve, the set driving period, and the set current.
Wherein, the driving power supply is used for driving the electromagnetic valve.
The control unit 502 is configured to control the driving power to be turned on and off according to the current upper limit value, the current lower limit value, and a preset current control strategy.
The current control strategy comprises that when the instantaneous current of the electromagnetic valve is larger than or equal to the current upper limit value, the driving power supply is closed; and when the instantaneous current of the electromagnetic valve is less than or equal to the current lower limit value, the driving power supply is started.
Optionally, when the calculating unit calculates the current upper limit value and the current lower limit value according to the rated voltage of the driving power supply, the resistance of the electromagnetic valve, the set driving period, and the set current, the calculating unit is specifically configured to:
calculating the theoretical opening time of the driving power supply in the set driving period according to the rated voltage of the driving power supply, the resistance of the electromagnetic valve, the set driving period and the set current;
calculating to obtain a first attenuation factor when the driving power supply is started and a second attenuation factor when the driving power supply is closed according to the theoretical starting time, the set driving period and the resistance and inductance of the electromagnetic valve;
and calculating to obtain a current upper limit value and a current lower limit value according to the first attenuation factor, the second attenuation factor, the rated voltage and the resistance of the electromagnetic valve.
The specific working principle of the driving device for the solenoid valve provided by the embodiment of the present application may refer to the relevant steps of the driving method for the solenoid valve provided by the embodiment of the present application, and details are not described here.
The application provides a driving device of an electromagnetic valve, wherein a calculating unit 501 calculates an upper current limit value and a lower current limit value according to a rated voltage of a driving power supply, an electromagnetic valve resistance, a set driving period and a set current; the control unit 502 controls the driving power supply to be turned on and off according to the current upper limit value, the current lower limit value and a preset current control strategy; the current control strategy comprises that when the instantaneous current of the electromagnetic valve is larger than or equal to the current upper limit value, the driving power supply is closed; and when the instantaneous current of the electromagnetic valve is less than or equal to the current lower limit value, the driving power supply is started. The scheme controls the switch of the driving power supply based on the current upper limit value and the current lower limit value, even if the actual voltage of the driving power supply deviates from the instantaneous voltage for a short time, the scheme can also ensure that the peak value of the driving current of the electromagnetic valve is consistent with the current upper limit value and the valley value of the driving current is consistent with the current lower limit value, and therefore the deviation of the average driving current from the set current is avoided.
The embodiment of the application provides a computer storage medium for storing a computer program, and the computer program is used for realizing the driving method of the electromagnetic valve provided by the embodiment of the application when being executed.
An electronic device according to an embodiment of the present application is provided, please refer to fig. 6, and the electronic device includes a memory 601 and a processor 602.
The memory 601 is used for storing computer programs.
The processor 602 is configured to execute the above computer program, and is specifically configured to implement the method for driving the solenoid valve provided in the embodiment of the present application.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
It should be noted that the terms "first", "second", and the like in the present invention are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
Those skilled in the art can make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (4)

1. A method of driving a solenoid valve, comprising:
calculating to obtain the theoretical opening time of the driving power supply in the set driving period according to the rated voltage of the driving power supply, the resistance of the electromagnetic valve, the set driving period and the set current; the driving power supply is used for driving the electromagnetic valve;
calculating to obtain a first attenuation factor when the driving power supply is started and a second attenuation factor when the driving power supply is closed according to the theoretical starting time, the set driving period and the resistance and inductance of the electromagnetic valve;
calculating to obtain a current upper limit value and a current lower limit value according to the first attenuation factor, the second attenuation factor, the rated voltage and the resistance of the electromagnetic valve;
controlling the driving power supply to be turned on and off according to the current upper limit value, the current lower limit value and a preset current control strategy; wherein the current control strategy comprises turning off the driving power supply when the instantaneous current of the solenoid valve is greater than or equal to the current upper limit value; and when the instantaneous current of the electromagnetic valve is less than or equal to the current lower limit value, the driving power supply is started.
2. A drive device of a solenoid valve, characterized by comprising:
the calculation unit is used for calculating the theoretical opening time of the driving power supply in a set driving period according to the rated voltage of the driving power supply, the resistance of the electromagnetic valve, the set driving period and the set current; the driving power supply is used for driving the electromagnetic valve; calculating a first attenuation factor when the driving power supply is started and a second attenuation factor when the driving power supply is closed according to the theoretical starting time, the set driving period and the resistance and inductance of the electromagnetic valve; finally, calculating according to the first attenuation factor, the second attenuation factor, the rated voltage and the resistance of the electromagnetic valve to obtain a current upper limit value and a current lower limit value;
the control unit is used for controlling the driving power supply to be switched on and switched off according to the current upper limit value, the current lower limit value and a preset current control strategy; wherein the current control strategy comprises turning off the driving power supply when the instantaneous current of the solenoid valve is greater than or equal to the current upper limit value; and when the instantaneous current of the electromagnetic valve is less than or equal to the current lower limit value, the driving power supply is started.
3. A computer storage medium for storing a computer program which, when executed, is particularly adapted to implement the method of driving a solenoid valve according to claim 1.
4. An electronic device comprising a memory and a processor;
wherein the memory is for storing a computer program;
the processor is configured to execute the computer program, in particular to implement the method of driving the solenoid valve as claimed in claim 1.
CN202011559445.5A 2020-12-25 2020-12-25 Driving method and device of electromagnetic valve, storage medium and equipment Active CN112628451B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011559445.5A CN112628451B (en) 2020-12-25 2020-12-25 Driving method and device of electromagnetic valve, storage medium and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011559445.5A CN112628451B (en) 2020-12-25 2020-12-25 Driving method and device of electromagnetic valve, storage medium and equipment

Publications (2)

Publication Number Publication Date
CN112628451A CN112628451A (en) 2021-04-09
CN112628451B true CN112628451B (en) 2022-08-02

Family

ID=75324781

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011559445.5A Active CN112628451B (en) 2020-12-25 2020-12-25 Driving method and device of electromagnetic valve, storage medium and equipment

Country Status (1)

Country Link
CN (1) CN112628451B (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5347419A (en) * 1992-12-22 1994-09-13 Eaton Corporation Current limiting solenoid driver
DE102004010914A1 (en) * 2004-03-05 2005-09-29 Infineon Technologies Ag Method and device for controlling a current flowing through an inductive load
JP4802262B2 (en) * 2009-02-17 2011-10-26 ジヤトコ株式会社 Hydraulic control device
JP5486954B2 (en) * 2010-02-19 2014-05-07 株式会社東芝 Switching power supply
CN101975301B (en) * 2010-09-30 2011-11-30 北京理工大学 FPGA-based solenoid valve driving module
CN111810697B (en) * 2020-01-07 2022-02-08 浙江工业大学 High-dynamic control system and method for electromagnetic valve based on voltage pulse width modulation technology

Also Published As

Publication number Publication date
CN112628451A (en) 2021-04-09

Similar Documents

Publication Publication Date Title
CN103650315B (en) Switched-mode power supply unit, operational approach and switched-mode power supply unit purposes in a computer
US6975087B1 (en) Closed-loop control system
Saoudi et al. Design and implementation of closed-loop control system for buck converter using different techniques
CN105518985A (en) Adaptive dual stage identification control method for power stage of power converter
CN112628451B (en) Driving method and device of electromagnetic valve, storage medium and equipment
DE102004010914A1 (en) Method and device for controlling a current flowing through an inductive load
JP2017153250A (en) Interconnection controller
CN107666244B (en) Control method and device of resonant converter
EP3203620B1 (en) Dc-dc converter including dynamically adjusted duty cycle limit
US20220158547A1 (en) Method and system for controlling the power factor of a power converter
Shayeghi et al. Implementation of PD-PI controller for boost converter using GWO algorithm
CA2578364C (en) Method and apparatus for welding with voltage control
US6958593B2 (en) Power supply apparatus
Malik et al. Transient Response Improvement of DC to DC Converter by Using Auto-tuned PID Controller
CN114070049B (en) BOOST converter power switching control method
CN116566199B (en) Fixed-time second-order sliding mode control method of direct-current buck converter
US11960250B2 (en) Electric power conversion apparatus having a controller that switches a control scheme of a main circuit
KR100309737B1 (en) Apparatus and method for controlling fan motor speed for air conditioner
CN112583239B (en) Converter control mode switching method and storage medium
CN116388545B (en) LLC topology current limiting circuit
Pushpavalli et al. Performance of fuzzy controlled negative KY boost converter
CN115609111B (en) Control method for self-adaptive adjustment of temperature of pulse welding power supply and pulse welding power supply
Makinde et al. Data-Driven Control of DC-DC Power Converters Using Levenberg-Marquardt Backpropagation Algorithm
US20220413450A1 (en) Electric power conversion apparatus
CN114609900A (en) Electromagnetic valve driving method and driving system based on PID control

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant