Low-power-consumption electromagnetic valve driving control method
Technical Field
The invention relates to the field of electromagnetic valves, in particular to a low-power-consumption electromagnetic valve driving control method.
Background
The electromagnetic valve is an industrial device controlled by electromagnetism, is an automatic basic element for controlling fluid, belongs to an actuator, is not limited to hydraulic pressure and pneumatics, and is used for adjusting the direction, flow rate, speed and other parameters of a medium in an industrial control system. The solenoid valve can be matched with different circuits to realize expected control, and the control precision and flexibility can be ensured. The electromagnetic valves are various, different electromagnetic valves play a role in different positions of a control system, the most common electromagnetic valves are one-way valves, safety valves, direction control valves, speed regulating valves and the like, and the electromagnetic valves need to be controlled and regulated through the control system when in use.
The existing low-power-consumption electromagnetic valve driving control method has certain defects to be improved, the existing low-power-consumption electromagnetic valve driving control method cannot stop and early warn in time when monitoring abnormal conditions, the safety of electromagnetic valve driving control is not high, the target valve opening degree of the electromagnetic valve cannot be corrected in time when being abnormal, control errors are easy to occur, and the accuracy of electromagnetic valve control is not high.
Disclosure of Invention
The technical problem to be solved by the invention is as follows: the existing low-power-consumption electromagnetic valve driving control method cannot stop and early warn in time when monitoring abnormal conditions, the safety of electromagnetic valve driving control is not high, the electromagnetic valve target valve cannot be corrected in time when the opening degree is abnormal, control errors easily occur, and the accuracy of electromagnetic valve control is not high.
The invention solves the technical problems through the following technical scheme, and provides a low-power-consumption electromagnetic valve driving control method which comprises an electromagnetic valve, a microcontroller, a driving circuit, a stop module, a lifting sensor, a pressure sensor, a confirmation module, a correction module and a storage module;
the electromagnetic valve is used as a carrier of control fluid;
the microcontroller is used for driving and controlling the low-power consumption electromagnetic valve;
the driving circuit is used for controlling a driving element for driving the electromagnetic valve;
the stopping module is used for emergency stopping when the electromagnetic valve is in a state;
the lifting sensor is used for detecting the lifting amount of the valve piece of the electromagnetic valve;
the pressure sensor is used for detecting the pressure of the electromagnetic valve pipeline;
the confirming module is used for confirming the opening degree of the target valve of the electromagnetic valve;
the correction module is used for enabling the opening degree of the target valve of the electromagnetic valve to be normal;
the storage module is used for storing control driving related data of the electromagnetic valve.
Preferably, the stopping module comprises a monitoring unit, an execution unit and an early warning unit.
Preferably, the monitoring unit and the execution unit are connected with the electromagnetic valve through circuits.
Preferably, the specific processing steps of the stopping module are as follows:
the method comprises the following steps: installing a monitoring unit in a pipeline of the electromagnetic valve, and monitoring the pressure and the flow of the pipeline of the electromagnetic valve in real time by the monitoring unit;
step two: the pressure value monitored by the pressure monitoring unit is a1, the flow value monitored by the flow monitoring unit is b1, the monitored pressure value a1 and the monitored flow value b1 are compared with the pressure preset value a and the flow preset value b respectively, and when the monitored pressure value a1 and the monitored flow value b1 do not accord with the pressure preset value a and the flow preset value c, information is fed back to the microcontroller;
step three: the microcontroller drives the valve to close through the driving circuit and timely gives corresponding early warning.
Preferably, the confirmation module and the storage module are both arranged inside the solenoid valve.
Preferably, the correction module includes a confirmation unit, a correction unit, a comparison unit, a feedback unit and an execution unit.
Preferably, the correction module specifically comprises the following processing steps:
a1, the microcontroller drives the target valve to open and close through the drive circuit;
a2, confirming the opening degree of the target valve through a confirming unit, continuously controlling the fluid flow of the electromagnetic valve when the opening degree of the target valve is consistent with a preset value, starting a correcting unit when the opening degree of the target valve is inconsistent, and correcting the opening degree of the target valve through a driving element by the correcting unit;
and A3, confirming whether the opening degree of the target valve returns to normal again, continuously controlling the fluid flow of the electromagnetic valve when the opening degree of the target valve returns to normal, and stopping the operation of the electromagnetic valve and maintaining the electromagnetic valve when the opening degree of the target valve does not return to normal.
Preferably, the low-power consumption electromagnetic valve driving control method comprises the following specific steps:
s1: connecting the electromagnetic valve with a corresponding pipeline, and controlling and adjusting the flow of the fluid pipe by the electromagnetic valve;
s2: the method comprises the steps that a monitoring unit is installed in a pipeline of the electromagnetic valve and monitors the pressure and the flow of the pipeline of the electromagnetic valve in real time, the pressure value monitored by the pressure monitoring unit is a1, the flow value monitored by the flow monitoring unit is b1, the monitored pressure value a1 and flow value b1 are compared with a pressure preset value a and a flow preset value b respectively, when the monitored pressure value a1 and flow value b1 do not accord with the pressure preset value a and the flow preset value b, information is fed back to a microcontroller, the microcontroller drives a valve to close through a driving circuit, and corresponding early warning is timely made;
s3, detecting the opening degree and the pressure of the target valve by the lifting sensor and the pressure sensor;
s4: the microcontroller drives the target valve to open and close through the driving circuit, confirms the opening degree of the target valve through the confirming unit, when the opening degree of the target valve is consistent with a preset value, the control of the electromagnetic valve on the fluid flow is continuously executed, when the opening degree of the target valve is inconsistent, the correcting unit is started, corrects the opening degree of the target valve through the driving element, confirms whether the opening degree of the target valve is normal again, when the opening degree of the target valve is normal, the control of the electromagnetic valve on the fluid flow is continuously executed, and when the opening degree of the target valve is not normal, the electromagnetic valve is stopped and maintained;
s5: the control driving data of the solenoid valve is stored by the storage module.
Compared with the prior art, the invention has the following advantages:
through setting up locking module and correction module, what can be timely when monitoring out abnormal conditions makes locking and early warning, has improved solenoid valve drive control's security, can rectify when solenoid valve target valve opening degree is unusual to can improve solenoid valve control's accuracy nature.
Drawings
FIG. 1 is a system block diagram of the present invention;
FIG. 2 is a schematic flow diagram of a calibration module of the present invention;
FIG. 3 is a system block diagram of a stopping module of the present invention.
Detailed Description
The following examples are given for the detailed implementation and specific operation of the present invention, but the scope of the present invention is not limited to the following examples.
As shown in fig. 1-3, the present embodiment provides a technical solution: a low-power-consumption electromagnetic valve driving control method comprises an electromagnetic valve, a microcontroller, a driving circuit, a stopping module, a lifting sensor, a pressure sensor, a confirming module, a correcting module and a storage module;
the electromagnetic valve is used as a carrier of control fluid;
the microcontroller is used for driving and controlling the low-power consumption electromagnetic valve;
the driving circuit is used for controlling a driving element for driving the electromagnetic valve;
the stopping module is used for emergency stopping when the electromagnetic valve is in a state;
the lifting sensor is used for detecting the lifting amount of the valve piece of the electromagnetic valve;
the pressure sensor is used for detecting the pressure of the electromagnetic valve pipeline;
the confirming module is used for confirming the opening degree of the target valve of the electromagnetic valve;
the correction module is used for enabling the opening degree of the target valve of the electromagnetic valve to be normal;
the storage module is used for storing control driving related data of the electromagnetic valve.
The stopping module comprises a monitoring unit, an execution unit and an early warning unit.
The monitoring unit and the execution unit are connected with the electromagnetic valve through circuits.
The stopping module comprises the following specific processing steps:
the method comprises the following steps: installing a monitoring unit in a pipeline of the electromagnetic valve, and monitoring the pressure and the flow of the pipeline of the electromagnetic valve in real time by the monitoring unit;
step two: the pressure value monitored by the pressure monitoring unit is a1, the flow value monitored by the flow monitoring unit is b1, the monitored pressure value a1 and the monitored flow value b1 are compared with the pressure preset value a and the flow preset value b respectively, and when the monitored pressure value a1 and the monitored flow value b1 do not accord with the pressure preset value a and the flow preset value c, information is fed back to the microcontroller;
step three: the microcontroller drives the valve to close through the driving circuit and timely gives corresponding early warning.
The confirming module and the storage module are both arranged inside the electromagnetic valve.
The correction module comprises a confirmation unit, a correction unit, a comparison unit, a feedback unit and an execution unit.
The correction module comprises the following specific processing steps:
a1, the microcontroller drives the target valve to open and close through the drive circuit;
a2, confirming the opening degree of the target valve through a confirming unit, continuously controlling the fluid flow of the electromagnetic valve when the opening degree of the target valve is consistent with a preset value, starting a correcting unit when the opening degree of the target valve is inconsistent, and correcting the opening degree of the target valve through a driving element by the correcting unit;
and A3, confirming whether the opening degree of the target valve returns to normal again, continuously controlling the fluid flow of the electromagnetic valve when the opening degree of the target valve returns to normal, and stopping the operation of the electromagnetic valve and maintaining the electromagnetic valve when the opening degree of the target valve does not return to normal.
The low-power consumption electromagnetic valve driving control method specifically comprises the following steps:
s1: connecting the electromagnetic valve with a corresponding pipeline, and controlling and adjusting the flow of the fluid pipe by the electromagnetic valve;
s2: the method comprises the steps that a monitoring unit is installed in a pipeline of the electromagnetic valve and monitors the pressure and the flow of the pipeline of the electromagnetic valve in real time, the pressure value monitored by the pressure monitoring unit is a1, the flow value monitored by the flow monitoring unit is b1, the monitored pressure value a1 and flow value b1 are compared with a pressure preset value a and a flow preset value b respectively, when the monitored pressure value a1 and flow value b1 do not accord with the pressure preset value a and the flow preset value b, information is fed back to a microcontroller, the microcontroller drives a valve to close through a driving circuit, and corresponding early warning is timely made;
s3, detecting the opening degree and the pressure of the target valve by the lifting sensor and the pressure sensor;
s4: the microcontroller drives the target valve to open and close through the driving circuit, confirms the opening degree of the target valve through the confirming unit, when the opening degree of the target valve is consistent with a preset value, the control of the electromagnetic valve on the fluid flow is continuously executed, when the opening degree of the target valve is inconsistent, the correcting unit is started, corrects the opening degree of the target valve through the driving element, confirms whether the opening degree of the target valve is normal again, when the opening degree of the target valve is normal, the control of the electromagnetic valve on the fluid flow is continuously executed, and when the opening degree of the target valve is not normal, the electromagnetic valve is stopped and maintained;
s5: the control driving data of the solenoid valve is stored by the storage module.
Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.