CN115913008A - Dual control system applied to electric vacuum regulating valve and control method thereof - Google Patents
Dual control system applied to electric vacuum regulating valve and control method thereof Download PDFInfo
- Publication number
- CN115913008A CN115913008A CN202211519059.2A CN202211519059A CN115913008A CN 115913008 A CN115913008 A CN 115913008A CN 202211519059 A CN202211519059 A CN 202211519059A CN 115913008 A CN115913008 A CN 115913008A
- Authority
- CN
- China
- Prior art keywords
- control
- encoder
- control board
- algorithm
- regulating valve
- 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.)
- Pending
Links
Images
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Safety Devices In Control Systems (AREA)
Abstract
The invention discloses a dual control system applied to an electric vacuum regulating valve and a control method thereof. The dual control system comprises an industrial control board, an encoder, a limit switch, a motor drive board and an upper computer. The dual control system can set two working modes of open loop and closed loop in a remote communication mode and automatically switch. The default mode of the control method is a closed-loop mode, and the high-precision control of the stepping motor is realized by feeding back position information through an encoder. When the encoder breaks down, the encoder is automatically switched to the open-loop mode, the related position is automatically calibrated by matching the limit switch with the industrial control board, the position precision of the stepping motor is ensured, and the adjusting precision of the vacuum adjusting valve is further ensured.
Description
Technical Field
The invention relates to the technical field of product automation, in particular to a dual control system applied to an electric vacuum regulating valve and a control method thereof.
Background
The electric vacuum regulating valve is used for realizing accurate and automatic control of material flow or pressure in a vacuum chemical process pipeline, so that the operation condition of the vacuum separation equipment is ensured to be in a rated state. At present, an actuating mechanism of a part of electric vacuum regulating valves generally adopts a stepping motor as a driving device, and the stepping motor is divided into an open loop and a closed loop. The open-loop stepping motor cannot feed back a real position due to lack of a position encoder, and the phenomena of step loss, step loss and the like can occur in the long-term operation process, so that the control precision is reduced. Closed loop step motor forms position feedback through introducing position encoder, has solved and has lost step, step out scheduling problem, nevertheless because the encoder has certain fault rate, leads to encoder trouble back electronic vacuum valve unable work, seriously influences vacuum separation equipment's operating condition, causes economic loss.
Disclosure of Invention
The invention aims to provide a dual control system applied to an electric vacuum regulating valve, aiming at the technical defects that the open-loop stepping motor is not accurately controlled and the closed-loop stepping motor is easy to fail in the prior art.
The technical scheme adopted for realizing the purpose of the invention is as follows:
a dual control system applied to an electric vacuum regulating valve comprises an industrial control board, an encoder, a limit switch, a motor drive board and an upper computer;
the encoder and the limit switch are arranged on the vacuum regulating valve to detect signals of the vacuum regulating valve; the encoder and the limit switch are respectively in communication connection with the input end of the industrial control board so as to transmit the detected signal of the vacuum regulating valve to the industrial control board;
the motor driving board is in communication connection with the output end of the industrial control board so as to convert a motor driving signal output by the industrial control board and further control the operation of the stepping motor;
the upper computer is in communication connection with the industrial personal computer;
the dual control system defaults to a closed loop working mode;
under a closed-loop working mode, the industrial control board receives a set position value set by the upper computer; the encoder feeds back the actual step number position to the industrial control board; the industrial control board analyzes and calculates the received set position value and the actual step number position and outputs a motor driving signal; the motor driving board receives the motor driving signal and then carries out conversion and controls the operation of the stepping motor, so that the stepping motor reaches a set position;
the industrial control board monitors whether the encoder fails in real time; when the encoder breaks down, the industrial control board automatically switches to an open-loop working mode;
in the open-loop working mode, when the vacuum regulating valve operates to the in-place opening position or the in-place closing position, the limit switch transmits the in-place opening information or the in-place closing information to the industrial control board; the industrial control board automatically calibrates according to the received opening position information or closing position information, eliminates accumulated errors and ensures the adjustment precision of the vacuum adjusting valve.
In the technical scheme, the signals of the vacuum regulating valve detected by the encoder and the limit switch are conditioned and collected by the signal conditioning circuit board and then are transmitted to the industrial control board.
In the technical scheme, the upper computer is in communication connection with the industrial personal computer through a communication control panel.
In the above technical solution, the dual control system further comprises a digital display tube; the digital display tube is in communication connection with the industrial control panel.
In the above technical solution, the dual control system further comprises a vacuum pressure gauge installed in the vacuum regulating valve system.
In the technical scheme, a control algorithm main program and a control algorithm interrupt program are written in the industrial control board so as to realize double control of the vacuum regulating valve.
In the above technical solution, the main program of the control algorithm includes:
s1: start of
Starting a program, and entering a main program inlet of a control algorithm;
s2: system initialization
Initializing the system, and finishing the initialization work of a system peripheral clock, a watchdog, an IO port and an interrupt vector table;
s3: register configuration
Configuring a timer, a serial port register, an AD register, an encoder register and an interrupt register, and enabling a related interrupt function;
s4: parameter initialization
Initializing a position parameter, a pressure parameter, a serial port communication parameter, a network communication parameter and an analog digital quantity acquisition parameter;
s5: wait cyclically
Entering a main cycle, executing system communication and display functions, and waiting for the occurrence of timer interruption;
s6: execute interrupt program and return
And executing the control algorithm interrupt program, returning to the control algorithm main program after the control algorithm interrupt program is completed, and circularly waiting.
In the above technical solution, a position control algorithm is written in the industrial control board.
In the above technical solution, the control algorithm interrupt routine includes:
s1: timer interrupt start
Timing interruption occurs, and a timer interruption program is entered;
s2: input signal acquisition
Collecting signals of the vacuum regulating valve, and performing corresponding calculation control;
s3: encoder fault determination
Selecting a working mode according to whether the encoder fails, if the encoder fails, entering open-loop operation, otherwise, keeping closed-loop operation;
s4: mode algorithm selection implementation
Respectively executing a closed-loop control algorithm and an open-loop control algorithm according to the working mode;
s5: function control
Executing a position control algorithm to realize the position control function of the electric regulating valve;
s6: drive control
Calculating corresponding motor pulse step length information according to the position control function of the electric regulating valve, executing a motor drive control algorithm, controlling the operation of the stepping motor, and monitoring fault information in the operation process;
s7: interrupt completion return to main program
And the functional control of the vacuum regulating valve of the interrupt program is realized, and the interrupt is completed and the program returns to the main program.
In the above technical solution, a stroke self-checking algorithm is written in the industrial control board.
In the above technical solution, it is characterized in that: and a stroke self-checking step is also included between the S2 and the S3:
judging whether stroke self-checking is carried out or not, and entering an S3 encoder fault judgment step if the stroke self-checking is finished; and if not, performing stroke self-checking, and then executing S6 driving control step.
In the technical scheme, a pressure self-adjusting algorithm is written in the industrial control board.
In the technical scheme, in the S5 function control step, a pressure self-adjusting algorithm is executed, and the pressure control function of the vacuum valve is realized.
Compared with the prior art, the invention has the beneficial effects that:
the dual-control system provided by the invention can set two working modes of open loop and closed loop in a remote communication mode and automatically switch. The default mode is a closed-loop mode, and the high-precision control of the stepping motor is realized by feeding back position information through the encoder. When the encoder breaks down, the encoder is automatically switched to an open-loop mode, the relevant position is automatically calibrated by matching the limit switch with the industrial control panel, the position precision of the stepping motor is ensured, and the adjusting precision of the vacuum adjusting valve is further ensured.
Drawings
FIG. 1 is a schematic diagram of a dual control system;
FIG. 2 is a flow chart of a main routine of a control algorithm for an electric vacuum regulator valve;
FIG. 3 is a flowchart of an electric vacuum regulator valve control algorithm interrupt routine.
In the figure: 1-industrial control board, 2-encoder, 3-limit switch, 4-motor drive board, 5-upper computer, 6-signal conditioning circuit board, 7-communication control board, 8-digital display tube and 9-vacuum pressure gauge.
Detailed Description
The present invention will be described in further detail with reference to specific examples. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Example 1
A dual control system applied to an electric vacuum regulating valve is shown in figure 1 and comprises an industrial control board 1, an encoder 2, a limit switch 3, a motor drive board 4 and an upper computer 5;
the industrial control board 1 is an embedded industrial control board and is the core of the dual control system. The method is mainly used for collecting and analyzing signals of the vacuum regulating valve, switching working modes and outputting motor driving signals.
The encoder 2 and the limit switch 3 are installed on the vacuum regulating valve and used for detecting signals of the vacuum regulating valve. The encoder 2 is mounted on an output shaft of the stepping motor and used for detecting the step number position of the stepping motor. The limit switch 3 comprises an open-position range limit switch and an off-position range limit switch and is used for detecting whether the vacuum regulating valve is opened in place or closed in place.
And the signals of the vacuum regulating valve detected by the encoder 2 and the limit switch 3 are conditioned and collected by a signal conditioning circuit board 6 and then are transmitted to the industrial control board 1. The conditioning acquisition refers to the isolation, level conversion, filtering and the like of acquired signals.
The motor driving board 4 is in communication connection with the industrial control board 1 on one hand, and is connected with the stepping motor on the other hand, and converts a motor driving signal output by the industrial control board 1, so that the operation of the stepping motor is controlled.
The upper computer 5 is in communication connection with the industrial personal computer 1 through a communication control panel 7 so as to realize remote monitoring.
The dual control system also comprises a digital display tube 8 for displaying the real-time position and fault information of the vacuum regulating valve. The fault information protection comprises communication, overtravel, locked rotor, pressure fault, encoder and the like.
Example 2
In this embodiment, a dual control method is described based on embodiment 1.
The dual control system defaults to a closed loop mode of operation.
Under the closed-loop working mode, the industrial control board 1 receives a set position value set by the upper computer 5 through the communication control board 7. And the signal conditioning circuit 6 carries out level conversion on the actual step number position fed back by the encoder 2 and then transmits the actual step number position to the industrial control board 1. The industrial control board 1 compares and analyzes the received set position value with the actual step number position fed back by the encoder 2, calculates deviation, then plans an operation curve according to the rotating speed of the motor to output a motor driving signal, and the motor driving board 4 receives the motor driving signal and then carries out conversion and controls the operation of the stepping motor so that the stepping motor reaches the set position.
The industrial control board 1 monitors whether the encoder 2 fails in real time. When the encoder 2 has a fault, the open-loop working mode is automatically switched. Under the open-loop working mode, when the vacuum regulating valve operates to the in-place opening position or the in-place closing position, the limit switch sends the in-place opening information or the in-place closing information to the industrial control board 1 after conditioning and acquisition by the signal conditioning circuit 6. The industrial control board 1 carries out automatic calibration according to the received opening position information or closing position information, eliminates accumulated errors and ensures the adjustment precision of the vacuum adjusting valve.
Example 3
In this embodiment, the pressure control of the vacuum regulator valve is described based on embodiment 1.
The dual control system also includes a vacuum manometer 9 mounted in the vacuum regulating valve system. The pressure signal collected by the vacuum pressure gauge 9 is conditioned and collected by the signal conditioning circuit 6 and then is transmitted to the industrial control board 1. The industrial control board 1 receives the standard pressure value set by the upper computer 5 through the communication control board 7. The industrial control board 1 calculates the deviation between the pressure signal and the standard pressure value, adjusts the position of the vacuum adjusting valve, ensures that the position of the vacuum adjusting valve changes along with the pressure, and meets the requirement that the pressure is within a set precision range.
Example 4
This example is based on the description of the internal programs and algorithms of examples 1 to 3.
A main control algorithm program and an interruption control algorithm program are written in the industrial control board 1, so that double control of the vacuum regulating valve is realized.
And a position control algorithm, a stroke self-checking algorithm and a pressure self-adjusting algorithm are written in the industrial control board.
The position control algorithm is capable of automatically adjusting the motor to reach a set value according to a set position reference value to realize valve position tracking, and comprises an open-loop control algorithm and a closed-loop control algorithm.
The flow chart of the main program of the control algorithm is shown in fig. 2, and is used for initializing operation of the system. The specific implementation mode is as follows:
s1: start of
Starting a program, and entering a main program inlet of a control algorithm;
s2: system initialization
Initializing the system, and finishing the initialization work of a system peripheral clock, a watchdog, an IO port and an interrupt vector table;
s3: register configuration
Configuring a timer, a serial port register, an AD register, an encoder register and an interrupt register, and enabling a related interrupt function;
s4: parameter initialization
Initializing a position parameter, a pressure parameter, a serial port communication parameter, a network communication parameter and an analog digital quantity acquisition parameter;
s5: wait cyclically
Entering a main cycle, executing system communication and display functions, and waiting for the occurrence of timer interruption;
s6: execute interrupt program and return
And executing the control algorithm interrupt program, returning to the control algorithm main program after the control algorithm interrupt program is completed, and circularly waiting.
The flow chart of the control algorithm interrupt routine is shown in fig. 3, and is used for executing a closed-loop control algorithm and an open-loop control algorithm to realize a position control function algorithm. The specific implementation mode is as follows:
s1: timer interrupt start
Timing interruption occurs, and a timer interruption program is entered;
s2: input signal acquisition
Collecting signals of a vacuum regulating valve and pressure signals, and performing corresponding calculation control;
s3: stroke self-checking
Judging whether stroke self-checking is carried out or not, and entering an S4 encoder fault judgment step if the stroke self-checking is finished; if not, performing stroke self-checking, and then executing S7 drive control step;
s4: encoder fault determination
Selecting a working mode according to whether the encoder fails, if the encoder fails, entering open-loop operation, otherwise, keeping closed-loop operation;
s5: mode algorithm selection implementation
Respectively executing a closed-loop control algorithm and an open-loop control algorithm according to the working mode;
the closed-loop control algorithm is that if the encoder has no fault, the encoder signal is used for position calculation, feedback, control and position recording.
The open-loop control algorithm is that if the encoder fails, the pulse signal is used for position calculation, feedback, control and recording.
S6: function control
Executing a position control algorithm and a pressure self-adjusting algorithm to realize the position control function of the electric adjusting valve;
s7: drive control
Calculating corresponding motor pulse step length information according to the position control function of the electric regulating valve, executing a motor driving control algorithm, controlling the operation of the stepping motor, and monitoring fault information in the operation process;
s8: interrupt completion return to main program
The function control of the vacuum regulating valve of the current interrupt program is realized, and the interruption is completed and the return to the main program is realized.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.
Claims (13)
1. The utility model provides a be applied to electronic vacuum control valve's dual control system which characterized in that: the device comprises an industrial control board, an encoder, a limit switch, a motor driving board and an upper computer;
the encoder and the limit switch are arranged on the vacuum regulating valve to detect signals of the vacuum regulating valve; the encoder and the limit switch are respectively in communication connection with the input end of the industrial control board so as to transmit the detected signal of the vacuum regulating valve to the industrial control board;
the motor driving board is in communication connection with the output end of the industrial control board so as to convert a motor driving signal output by the industrial control board and further control the operation of the stepping motor;
the upper computer is in communication connection with the industrial personal computer;
the dual control system defaults to a closed loop working mode;
under a closed-loop working mode, the industrial control board receives a set position value set by the upper computer; the encoder feeds back the actual step number position to the industrial control board; the industrial control board analyzes and calculates the received set position value and the actual step number position, and outputs a motor driving signal; the motor driving board receives the motor driving signal and then converts the motor driving signal and controls the operation of the stepping motor so that the stepping motor reaches a set position;
the industrial control board monitors whether the encoder fails in real time; when the encoder fails, the industrial control board automatically switches to an open-loop working mode;
in the open-loop working mode, when the vacuum regulating valve operates to the in-place opening position or the in-place closing position, the limit switch transmits the in-place opening information or the in-place closing information to the industrial control board; the industrial control board carries out automatic calibration according to the received opening position information or closing position information, eliminates accumulated errors and ensures the adjustment precision of the vacuum adjusting valve.
2. The dual control system of claim 1, wherein: signals of the encoder and the vacuum regulating valve detected by the limit switch are conditioned and collected by a signal conditioning circuit board and then are transmitted to the industrial control board.
3. The dual control system of claim 1, wherein: the upper computer is in communication connection with the industrial personal computer through a communication control panel.
4. The dual control system of claim 1, wherein: the dual control system also comprises a digital display tube; the digital display tube is in communication connection with the industrial control board.
5. The dual control system of claim 1, wherein: the dual control system also includes a vacuum gauge mounted in the vacuum regulating valve system.
6. The dual control system of claim 5, wherein: and a control algorithm main program and a control algorithm interrupt program are written in the industrial control board so as to realize the dual control of the vacuum regulating valve.
7. The dual control system of claim 6, wherein: the main program of the control algorithm comprises the following steps:
s1: start of
Starting a program, and entering a main program inlet of a control algorithm;
s2: system initialization
Initializing the system, and finishing the initialization work of a system peripheral clock, a watchdog, an IO port and an interrupt vector table;
s3: register configuration
Configuring a timer, a serial port register, an AD register, an encoder register and an interrupt register, and enabling a related interrupt function;
s4: parameter initialization
Initializing a position parameter, a pressure parameter, a serial port communication parameter, a network communication parameter and an analog digital quantity acquisition parameter;
s5: wait circularly
Entering a main cycle, executing system communication and display functions, and waiting for the occurrence of timer interruption;
s6: execute interrupt program and return
And executing the control algorithm interrupt program, returning to the control algorithm main program after the control algorithm interrupt program is completed, and circularly waiting.
8. The dual control system of claim 6, wherein: and a position control algorithm is written in the industrial control board.
9. The dual control system of claim 8, wherein: the control algorithm interrupt routine includes:
s1: timer interrupt start
Timing interruption occurs, and a timer interruption program is entered;
s2: input signal acquisition
Collecting signals of the vacuum regulating valve, and performing corresponding calculation control;
s3: encoder fault determination
Selecting a working mode according to whether the encoder fails, if the encoder fails, entering open-loop operation, otherwise, keeping closed-loop operation;
s4: mode algorithm selection implementation
Respectively executing a closed-loop control algorithm and an open-loop control algorithm according to the working mode;
s5: function control
Executing a position control algorithm to realize the position control function of the electric regulating valve;
s6: drive control
Calculating corresponding motor pulse step length information according to the position control function of the electric regulating valve, executing a motor drive control algorithm, controlling the operation of the stepping motor, and monitoring fault information in the operation process;
s7: interrupt completion return to main program
The function control of the vacuum regulating valve of the current interrupt program is realized, and the interruption is completed and the return to the main program is realized.
10. The dual control system of claim 9, wherein: and a stroke self-checking algorithm is written in the industrial control board.
11. The dual control system of claim 10, wherein: and a stroke self-checking step is also included between the S2 and the S3:
judging whether stroke self-checking is carried out or not, and if so, entering an S3 encoder fault judgment step; and if not, performing stroke self-checking, and then executing S6 driving control step.
12. The dual control system of claim 9, wherein: and a pressure self-adjusting algorithm is written in the industrial control board.
13. The dual control system of claim 12, wherein: and in the S5 function control step, a pressure self-adjusting algorithm is executed to realize the pressure control function of the vacuum valve.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211519059.2A CN115913008A (en) | 2022-11-30 | 2022-11-30 | Dual control system applied to electric vacuum regulating valve and control method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211519059.2A CN115913008A (en) | 2022-11-30 | 2022-11-30 | Dual control system applied to electric vacuum regulating valve and control method thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115913008A true CN115913008A (en) | 2023-04-04 |
Family
ID=86470716
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211519059.2A Pending CN115913008A (en) | 2022-11-30 | 2022-11-30 | Dual control system applied to electric vacuum regulating valve and control method thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115913008A (en) |
-
2022
- 2022-11-30 CN CN202211519059.2A patent/CN115913008A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102080735B (en) | Piezoelectric switch type valve positioner control system | |
CN102797906B (en) | Electromagnetic valve type valve positioning machine and a control method thereof | |
CN102878635B (en) | Intelligent energy-saving control system of combined air conditioner and control program thereof | |
CN101750504B (en) | Liquid temperature controlling system and method of biochemistry analyzer | |
CN201225439Y (en) | Program control electric high pressure regulation valve | |
CN101751056A (en) | Vacuum system constant voltage constant current regulator and control method thereof | |
CN202708299U (en) | Electromagnetic valve type valve positioner | |
CN101591596B (en) | System and method for controlling beer fermentation based on DCS | |
CN201066831Y (en) | Frequency conversion execution mechanism for DC brushless servo electromotor | |
CN101782094A (en) | Method and electronic device for finding the opening point for a regulated electropneumatic valve of a pneumatic actuating drive | |
CN115913008A (en) | Dual control system applied to electric vacuum regulating valve and control method thereof | |
CN106444495A (en) | Multifunctional intelligent control terminal system used for centralized heat supply | |
CN204154516U (en) | A kind of wall-hung boiler Auto-Test System | |
CN110645395B (en) | Intelligent valve positioner control system and control method | |
CN208528061U (en) | A kind of intelligence mode transfer system and die casting machine | |
CN110985747A (en) | Piezoelectric valve positioner and rapid positioning method thereof | |
CN205748896U (en) | Control valve return circuit testing device | |
CN201672139U (en) | Intelligent valve positioner | |
CN212362530U (en) | Intelligent refrigerant filling control system | |
CN216112456U (en) | Intelligent valve positioner with multi-parameter detection function | |
CN100385116C (en) | Air compressor using variable frequency speed-pressure regulation | |
CN112558552A (en) | Open-loop stepping servo controller, servo control system and servo control method | |
CN201973349U (en) | Intelligent valve locater | |
CN203070122U (en) | Numerical control gas supply control device for testing gas water heater | |
CN206209327U (en) | A kind of Multifunctional intelligent control terminal system for central heating |
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 |