CN108869835B - Open-close control method and open-close control system for meter stepping motor control valve - Google Patents

Open-close control method and open-close control system for meter stepping motor control valve Download PDF

Info

Publication number
CN108869835B
CN108869835B CN201810595274.8A CN201810595274A CN108869835B CN 108869835 B CN108869835 B CN 108869835B CN 201810595274 A CN201810595274 A CN 201810595274A CN 108869835 B CN108869835 B CN 108869835B
Authority
CN
China
Prior art keywords
valve
stepping motor
stage
opening
closing
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
CN201810595274.8A
Other languages
Chinese (zh)
Other versions
CN108869835A (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.)
Goldcard Smart Group Co Ltd
Original Assignee
Goldcard Smart Group 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 Goldcard Smart Group Co Ltd filed Critical Goldcard Smart Group Co Ltd
Priority to CN201810595274.8A priority Critical patent/CN108869835B/en
Publication of CN108869835A publication Critical patent/CN108869835A/en
Application granted granted Critical
Publication of CN108869835B publication Critical patent/CN108869835B/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/04Actuating devices; Operating means; Releasing devices electric; magnetic using a motor
    • F16K31/046Actuating devices; Operating means; Releasing devices electric; magnetic using a motor with electric means, e.g. electric switches, to control the motor or to control a clutch between the valve and the motor

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Electrically Driven Valve-Operating Means (AREA)
  • Control Of Stepping Motors (AREA)

Abstract

The invention discloses an open-close control method and an open-close control system of a meter stepping motor control valve, belonging to the technical field of meters and solving the problems of air leakage, deformation and the like of the valve caused by unstable open-close control of the existing meter stepping motor control valve. Starting the stepping motor to execute the opening and closing program of the valve; detecting the running steps of the stepping motor and the locked-rotor current of the stepping motor in the opening and closing program; and judging the valve opening and closing in place according to the detection result of the running steps of the stepping motor and the detection result of the locked-rotor current: if both the two conditions meet the preset condition that the valve is opened and closed in place, the valve is judged to be opened and closed in place, and the opening and closing procedure is ended; if the two conditions do not meet the preset condition for the valve to be opened and closed in place or one of the two conditions does not meet the preset condition for the valve to be opened and closed in place, judging that the valve is not opened and closed in place, and continuously executing the opening and closing program.

Description

Open-close control method and open-close control system for meter stepping motor control valve
[ technical field ] A method for producing a semiconductor device
The invention relates to the technical field of meters, in particular to an opening and closing control method and an opening and closing control system for a control valve of a stepping motor of a meter.
[ background of the invention ]
With the continuous development of the gas metering technology, the industrial gas metering technology is also increasingly innovated. The industrial gas meter can be divided into an external valve and an internal valve in the form of valve installation, and the internal valve of the stepping motor is taken as a type of internal valve which is recently developed, so that the internal valve has the advantages of large starting torque and accurate stroke control, and the influence of the large torque output by the motor on a transmission structure during rotation blockage is effectively reduced or even avoided. However, due to certain differences in the structures and sizes of the valves, the switching paths of the valves of the same type are different even under the control of the same program, so that in the actual application of the industrial gas meter, the danger of air leakage due to the fact that part of the valves are not in place can be caused, or the valves continue to move after being in place, and the valves are deformed.
The technical scheme is that a valve in-place detection technology is added on the basis of the control mode to improve the situation, the technical scheme has a good effect under the conventional application working condition, when static electricity exists in the application field of the industrial gas meter, due to static electricity interference, the situation that the valve is not in place and the locked-rotor current is detected can occur, the valve stops moving, the problem can be caused, and if a function module for filtering the static electricity is added aiming at the problem of the static electricity interference, the valve cost can be correspondingly increased. In view of this, there is a need to improve the existing valve opening and closing control technology to make the valve opening and closing control more stable and reliable.
[ summary of the invention ]
The invention aims to overcome the defects of the prior art and provide a method for controlling the opening and closing of a stepping motor control valve of a meter.
In order to solve the technical problems, the invention adopts the following technical scheme:
the open-close control method of the gauge stepping motor control valve comprises a valve and a stepping motor for driving the valve to open and close, and comprises the following steps:
starting the stepping motor to execute the opening and closing program of the valve;
detecting the running steps of the stepping motor and the locked-rotor current of the stepping motor in the opening and closing program;
and judging the valve opening and closing in place according to the detection result of the running steps of the stepping motor and the detection result of the locked-rotor current: if the two conditions meet the preset condition that the valve is opened and closed in place, the valve is judged to be opened and closed in place, and the opening and closing program is ended; if the two conditions do not meet the preset condition for the valve to be opened and closed in place or one of the two conditions does not meet the preset condition for the valve to be opened and closed in place, judging that the valve is not opened and closed in place, and continuously executing the opening and closing program.
In the method for controlling the opening and closing of the stepping motor control valve of the meter, the valve opening and closing program comprises a rotating speed rising stage, a rotating speed maintaining stage and a rotating speed descending stage, wherein the rotating speed rising stage controls the stepping motor to run at an accelerated speed, the rotating speed maintaining stage controls the stepping motor to run at a uniform speed, and the rotating speed descending stage controls the stepping motor to run at a decelerated speed.
In the method for controlling the opening and closing of the control valve of the stepping motor of the meter, the rotation speed increasing stage comprises a plurality of accelerating sections accelerating section by section, each accelerating section of the stepping motor is provided with a corresponding preset step number a, and the step number a is accumulated when the nth accelerating section is completedAdding=a1+a2+a3+……anJudging the accumulated step number aAddingWhether the preset total step number a of the rotating speed rising stage is reachedGeneral assemblyIf a isAdding≥aGeneral assemblyEntering a rotating speed maintaining stage, if aAdding<aGeneral assemblyThen the n +1 th acceleration segment is entered.
In the method for controlling the opening and closing of the control valve of the stepping motor of the meter, the step number b of the real-time operation of the stepping motor is judged in the rotating speed maintaining stageFruit of Chinese wolfberryWhether the preset total step number b of the rotating speed maintaining stage is reachedGeneral assemblyIf b isFruit of Chinese wolfberry≥bGeneral assemblyEntering the speed reduction stage, if bFruit of Chinese wolfberry<bGeneral assemblyThen, the rotation speed holding phase is maintained.
In the method for controlling the opening and closing of the control valve of the stepping motor of the meter, the rotating speed reduction stage comprises a plurality of speed reduction sections for reducing speed section by section, the stepping motor is provided with a corresponding preset step number c in each speed reduction section, and the step number c is accumulated when the nth speed reduction section is completedAdding=c1+c2+c3+……cnJudging the accumulated step number cAddingWhether the preset total step number c of the rotating speed reduction stage is reachedGeneral assemblyIf c is aAdding≥cGeneral assemblyThe speed reduction phase ends if cAdding<cGeneral assemblyThen the n +1 speed reduction stage is entered.
In the method for controlling the opening and closing of the control valve of the stepping motor of the meter, the detection result of the running step number of the stepping motor meets the requirement of the detection result of the running step number of the stepping motorThe preset conditions for the valve to be opened and closed in place are as follows: n is a radical ofmin≤NGeneral assembly≤NmaxWherein N isGeneral assemblyFor the number of operating steps of the stepping motor, NminIs the lower limit of the step number threshold range of the opening and closing program, NmaxAnd the upper limit of the step number threshold range of the opening and closing program is set.
In the method for controlling the opening and closing of the stepping motor control valve of the meter, the detection result of the locked-rotor current meets the preset condition that the valve is opened and closed in place: i isPlug>IThreshold(s)And I isPlugThe variation amount within the set time T tends to 0, wherein IPlugA locked-rotor current collected for said locked-rotor current detection, IThreshold(s)And detecting the locked rotor current by using the current threshold value.
The invention also provides an opening and closing control system of the meter stepping motor control valve, the stepping motor control valve comprises a valve and a stepping motor for driving the valve to open and close, the opening and closing control system comprises a control unit, a power supply unit and a valve driving unit, the control unit controls the power supply unit to supply power to the valve driving unit so as to control the operation of the stepping motor through the valve driving unit, the control unit detects the operation steps of the stepping motor according to the output pulse signal, and the control unit detects the locked-rotor current of the stepping motor according to the locked-rotor current signal fed back by the valve driving unit.
In the switching control system of above-mentioned strapping table step motor control valve, power supply unit is including the power supply control circuit who is used for power supply input control and the power conversion circuit who is used for voltage conversion, power supply control circuit's input connect respectively with the control unit, power conversion circuit connects power supply control circuit's output with between the valve drive unit.
In the opening and closing control system of the step motor control valve of the gauge, the control unit comprises a single chip microcomputer and an RC (resistor-capacitor) filter circuit, an I/O (input/output) port of the single chip microcomputer outputs pulse signals to the valve driving unit, and the locked-rotor current signals are fed back to the single chip microcomputer through the filter processing of the RC filter circuit.
The invention has the beneficial effects that:
the invention discloses a method for controlling the opening and closing of a gauge stepper motor control valve, which comprises a valve and a stepper motor for driving the valve to open and close, and comprises the following steps: starting the stepping motor to execute the opening and closing program of the valve; detecting the running steps of the stepping motor and the locked-rotor current of the stepping motor in the opening and closing program; and judging the valve opening and closing in place according to the detection result of the running steps of the stepping motor and the detection result of the locked-rotor current: if both the two conditions meet the preset condition that the valve is opened and closed in place, judging that the valve is opened and closed in place, and ending the opening and closing program; if the two conditions do not meet the preset condition for the valve to be opened and closed in place or one of the two conditions does not meet the preset condition for the valve to be opened and closed in place, judging that the valve is not opened and closed in place, and continuously executing the opening and closing program.
The open-close control method of the invention adopts a mode of combining the detection of the running steps of the stepping motor and the detection of the locked-rotor current to judge the in-place open-close of the valve, and only if the detection result of the running steps of the stepping motor and the detection result of the locked-rotor current both meet the preset condition of the in-place open-close of the valve, the in-place open-close of the valve is judged, wherein: the problem of inaccurate opening and closing judgment caused by different valve differences in step number control can be solved by detecting the locked-rotor current of the stepping motor; the step motor running step number detection method can avoid the condition that the valve stops advancing due to the fact that locked-rotor current is detected under the condition that the valve is not opened and closed, can make up the detection defects of each other by adopting a mode of combining the step motor running step number detection and the locked-rotor current detection, solves the electrostatic interference, reduces the protection cost, can accurately control the opening and closing actions of the step motor control valve, enables the valve control to be more stable and reliable, can reliably realize the opening and closing of the valve on the conventional working condition and industrial application site, and enhances the adaptability of the meter to the environment.
Furthermore, the valve opening and closing program comprises a rotation speed increasing stage, a rotation speed maintaining stage and a rotation speed decreasing stage, wherein the rotation speed increasing stage controls the stepping motor to operate at an accelerated speed, the rotation speed maintaining stage controls the stepping motor to operate at a uniform speed, and the rotation speed decreasing stage controls the stepping motor to operate at a decelerated speed. The method comprises the following steps of controlling a stepping motor to operate in an accelerating mode in a rotating speed increasing stage, so that the stepping motor provides a larger torque at the initial operation stage of a valve, and the valve can be started successfully; the stepping motor is controlled to run at a constant speed in the rotation speed maintaining stage, so that the running time of the valve can be reduced, and the power consumption is reduced; the stepping motor is controlled to operate in a speed reduction stage, so that the stepping motor provides larger torque when the valve is close to the in-place state, and the closure of the valve in the opening and closing in-place state is ensured; the design of different rotational speeds of the stepping motor in the rotational speed rising stage, the rotational speed keeping stage and the rotational speed descending stage is used for controlling the stepping motor to output different torques, so that the problem that the valve is blocked because of foreign matters can be effectively prevented, the maintenance cost is reduced, the service life is prolonged, the opening and closing time of the valve can be shortened, and the valve is more practical.
Furthermore, the rotation speed increasing stage comprises a plurality of accelerating sections accelerating section by section, each accelerating section of the stepping motor is provided with a corresponding preset step number a, and the step number a is accumulated when the nth accelerating section is completedAdding=a1+a2+a3+……anJudging the accumulated step number aAddingWhether the preset total step number a of the rotating speed rising stage is reachedGeneral assemblyIf a isAdding≥aGeneral assemblyEntering a rotating speed maintaining stage, if aAdding<aGeneral assemblyThen the n +1 th acceleration segment is entered. The step-type acceleration mode is adopted in the rotation speed rising stage, so that the rotation speed of the stepping motor is gradually increased according to a set scheme, the sudden change of locked-rotor current is effectively prevented, and a certain protection effect is realized on the stability of a control system.
Furthermore, the rotation speed reduction stage comprises a plurality of speed reduction sections for reducing speed section by section, the stepping motor is provided with a corresponding preset step number c in each speed reduction section, and the step number c is accumulated when the nth speed reduction section is completedAdding=c1+c2+c3+……cnJudging the accumulated step number cAddingWhether the speed reduction phase is reachedPresetting total step number cGeneral assemblyIf c is aAdding≥cGeneral assemblyThe speed reduction phase ends if cAdding<cGeneral assemblyThen the n +1 speed reduction stage is entered. The rotating speed reduction stage adopts a stepped speed reduction mode, so that the rotating speed of the stepping motor is gradually reduced according to a set scheme, the sudden change of locked-rotor current is effectively prevented, and a certain protection effect is realized on the stability of a control system.
Further, the detection result of the running step number of the stepping motor meets the preset condition that the valve is opened and closed in place: n is a radical ofmin≤NGeneral assembly≤NmaxWherein N isGeneral assemblyFor the number of operating steps of the stepping motor, NminIs the lower limit of the step number threshold range of the opening and closing program, NmaxAnd the upper limit of the step number threshold range of the opening and closing program is set. The in-place condition of the running step number of the stepping motor is set to be an interval range, so that the step number control is allowed to have a certain fault-tolerant range, the precision requirement on the step number control of the stepping motor is reduced, and the control method has better practicability.
Further, the detection result of the locked-rotor current meets the preset condition that the valve is opened and closed in place: i isPlug>IThreshold(s)And I isPlugThe variation amount within the set time T tends to 0, wherein IPlugA locked-rotor current collected for said locked-rotor current detection, IThreshold(s)And detecting the locked rotor current by using the current threshold value. The preset conditions are set for the locked-rotor current detection, the locked-rotor current can be effectively distinguished when the valve is started and when the valve is in place, the accuracy of the locked-rotor current detection is improved, and the reliability of the valve opening and closing in-place judgment is prevented from being influenced by the false detection of the locked-rotor current.
In the switching control system of strapping table step motor control valve, the control unit includes singlechip and RC filter circuit, the IO mouth of singlechip to valve drive unit output pulse signal, stalling current signal passes through RC filter circuit's filtering treatment feeds back to the singlechip. The single chip microcomputer can control the positive and negative rotation, the rotation angle and the rotation speed of the stepping motor only by 1I/O port, so that the use of the I/O ports is saved; the RC filter circuit is arranged, so that the filtering effect on interference signals can be enhanced, the accuracy of locked-rotor current detection is improved, and the reliability of in-place judgment of the opening and closing of the valve is further ensured.
These features and advantages of the present invention will be disclosed in more detail in the following detailed description and the accompanying drawings.
[ description of the drawings ]
The invention is further described below with reference to the accompanying drawings:
FIG. 1 is a schematic block diagram of an open/close control system of a meter stepper motor control valve in an embodiment of the present invention;
fig. 2 is a flow chart of an open-close control method of a meter stepper motor control valve in the embodiment of the invention.
Reference numerals:
100 single-chip microcomputer;
200 power supply units, 210 power supply control circuits and 220 power supply conversion circuits;
300 a valve driving unit;
400 step motor.
[ detailed description ] embodiments
The technical solutions of the embodiments of the present invention are explained and illustrated below with reference to the drawings of the embodiments of the present invention, but the following embodiments are only preferred embodiments of the present invention, and not all embodiments. Based on the embodiments in the implementation, other embodiments obtained by those skilled in the art without any creative effort belong to the protection scope of the present invention.
In the description of the present invention, it is to be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "clockwise", "counterclockwise", and the like, indicate orientations and positional relationships based on those shown in the drawings, and are used only for convenience of description and simplicity of description, and do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, are not to be considered as limiting the present invention.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the present invention, unless otherwise specified, "a plurality" means two or more unless explicitly defined otherwise.
In the present invention, unless otherwise expressly specified or limited, the terms "mounted," "connected," "secured," and the like are to be construed broadly and can, for example, be fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
In the present invention, unless otherwise expressly stated or limited, "above" or "below" a first feature means that the first and second features are in direct contact, or that the first and second features are not in direct contact but are in contact with each other via another feature therebetween. Also, the first feature being "on," "above" and "over" the second feature includes the first feature being directly on and obliquely above the second feature, or merely indicating that the first feature is at a higher level than the second feature. A first feature being "under," "below," and "beneath" a second feature includes the first feature being directly under and obliquely below the second feature, or simply meaning that the first feature is at a lesser elevation than the second feature.
Referring to fig. 1, an embodiment of the present invention provides an opening and closing control system for a meter stepper motor control valve, wherein: the stepping motor control valve comprises a valve and a stepping motor 400 for driving the valve to open and close; the opening and closing control system comprises a control unit, a power supply unit 200 and a valve driving unit 300, wherein the control unit controls the power supply unit 200 to supply power to the valve driving unit 300 so as to control the operation of the stepping motor 400 through the valve driving unit 300, the control unit detects the operation steps of the stepping motor 400 according to an output pulse signal, and the control unit detects the locked rotor current of the stepping motor 400 according to a locked rotor current signal fed back by the valve driving unit 300.
According to the opening and closing control system of the present embodiment, the power supply unit 200 includes a power supply control circuit 210 for power supply input control and a power conversion circuit 220 for voltage conversion, the input terminal of the power supply control circuit 210 is connected to the power supply and the control unit, respectively, and the power conversion circuit 220 is connected between the output terminal of the power supply control circuit 210 and the valve driving unit 300. The power supply is usually a lithium battery, the control unit realizes the input control of the lithium battery to the power supply control circuit 210, and the power conversion circuit 220 is used for voltage reduction and voltage stabilization processing of the input original voltage component and outputting a driving voltage conforming to the valve driving unit 300. The control unit of this embodiment includes singlechip 100, the IO mouth of singlechip 100 is to valve drive unit 300 output pulse signal, step motor's rotational speed control is realized through adjusting the pulse number, the step number of deciding step motor is the pulse number, in this embodiment, through the pulse frequency of singlechip 100 control output, and then control step motor 400's rotational speed and moment of torsion, reduce the damage to the valve, and singlechip 100 only needs 1 IO mouth can control step motor 400 just reversing, rotation angle and rotational speed, save IO mouthful use.
According to the switching control system, the single chip microcomputer 100 detects the running steps of the stepping motor 400 according to the output pulse signal, the single chip microcomputer 100 also detects the locked-rotor current of the stepping motor 400 according to the locked-rotor current signal fed back by the valve driving unit 300, further, an RC filter circuit is arranged in the switching control system, the locked-rotor current signal is fed back to the single chip microcomputer through the filtering processing of the RC filter circuit, the RC filter circuit can enhance the filtering effect on interference signals, the accuracy of locked-rotor current detection is improved, and the reliability of valve switching in-place judgment is further ensured.
Referring to fig. 2, the open/close control system according to the present embodiment includes the following steps:
starting a stepping motor to execute the opening and closing program of the valve;
detecting the running step number of the stepping motor and the locked-rotor current of the stepping motor in the opening and closing program;
and judging the valve opening and closing in place according to the detection result of the running steps of the stepping motor and the detection result of the locked-rotor current: if both the two conditions meet the preset condition that the valve is opened and closed in place, the valve is judged to be opened and closed in place, and the opening and closing procedure is ended; if the two conditions do not meet the preset condition for the valve to be opened and closed in place or one of the two conditions does not meet the preset condition for the valve to be opened and closed in place, the valve is judged not to be opened and closed in place, and the opening and closing program is continuously executed. The opening and closing procedure described here is applied to opening and closing of a valve, and therefore the opening and closing control method described above is used for both opening control and closing control of the valve.
According to the opening and closing control method of the embodiment, the valve opening and closing program comprises a rotating speed increasing stage, a rotating speed maintaining stage and a rotating speed decreasing stage, wherein the rotating speed increasing stage controls the stepping motor to run in an accelerating mode, so that the stepping motor provides a larger torque at the initial running stage of the valve to ensure that the valve can be started successfully; the step motor is controlled to run at a constant speed in the rotation speed maintaining stage, so that the running time of the valve can be reduced, and the power consumption is reduced; the rotating speed reduction stage controls the stepping motor to operate in a speed reduction mode, so that the stepping motor provides larger torque when the valve is close to the in-place position, and the sealing performance of the valve when the valve is opened and closed in the in-place position is guaranteed; the design of different rotational speeds of the stepping motor in the rotational speed rising stage, the rotational speed keeping stage and the rotational speed descending stage is used for controlling the stepping motor to output different torques, so that the problem that the valve is blocked because of foreign matters can be effectively prevented, the maintenance cost is reduced, the service life is prolonged, the opening and closing time of the valve can be shortened, and the valve is more practical.
Preferably: the rotation speed increasing stage comprises a plurality of accelerating sections accelerating section by section, each accelerating section of the stepping motor is provided with a corresponding preset step number a, and the step number a is accumulated when the nth accelerating section is completedAdding=a1+a2+a3+……anJudging the accumulated step number aAddingWhether the preset total step number a of the rotation speed increasing stage is reachedGeneral assemblyIf a isAdding≥aGeneral assemblyEntering a rotating speed maintaining stage, if aAdding<aGeneral assemblyThen the n +1 th acceleration segment is entered. Specifically, the method comprises the following steps: the rotating speed of the stepping motor in a single acceleration section is kept unchanged, but the rotating speeds of the stepping motors in two adjacent acceleration sections are increased; setting the initial rotating speed and the final rotating speed in the rotating speed increasing stage according to the operating characteristics of the stepping motor, and obtaining the preset total step number a in the rotating speed increasing stageIn the aggregate of the above-mentioned processes,the rotating speed of the stepping motor of each acceleration section is also set, correspondingly, the stepping motor is provided with corresponding preset step numbers a in each acceleration section, the preset step numbers a of the multiple acceleration sections are usually consistent, and under the conditions that the preset step numbers a are consistent and the rotating speed is increased, the completion time of the multiple acceleration sections is changed in a descending manner, so that the running time of the rotating speed increasing stage can be saved. The following are exemplary: the preset total step number a of the rotation speed rising stageGeneral assemblyThe number of the preset steps a of the acceleration section is 100 steps for 1000 steps, and then 10 acceleration sections are required to be completed in the rotation speed increasing stage according to the stepped acceleration mode, and the rotation speed maintaining stage is performed after the 10 th acceleration section is completed. The design can effectively prevent the locked-rotor current from suddenly changing in the rotation speed rising stage, and plays a certain protection role in the stability of the control system.
Preferably: in the rotating speed maintaining stage, the final rotating speed in the rotating speed increasing stage is kept to run at a constant speed, and because the final rotating speed in the rotating speed increasing stage is higher, the locked-rotor current in the rotating speed maintaining stage is smaller, so that the valve motion can be accelerated, the valve running time is reduced, and the power consumption is reduced. In the rotating speed maintaining stage, the real-time operation step number b of the stepping motor is judgedFruit of Chinese wolfberryWhether the preset total step number b of the rotating speed maintaining stage is reachedGeneral assemblyIf b isFruit of Chinese wolfberry≥bGeneral assemblyEntering the speed reduction stage, if bFruit of Chinese wolfberry<bGeneral assemblyThen, the rotation speed holding stage is maintained.
Preferably: the speed reduction stage comprises a plurality of speed reduction sections for reducing speed section by section, the stepping motor is provided with a corresponding preset step number c in each speed reduction section, and the accumulated step number c is obtained when the nth speed reduction section is completedAdding=c1+c2+c3+……cnJudgment of accumulationNumber of steps cAddingWhether the preset total step number c of the rotating speed reduction stage is reachedGeneral assemblyIf c is aAdding≥cGeneral assemblyThe speed reduction phase is ended, if cAdding<cGeneral assemblyThen the n +1 speed reduction stage is entered. Specifically, the method comprises the following steps: the rotating speed of the stepping motor in a single speed reduction section is kept unchanged, but the rotating speeds of the stepping motors in two adjacent speed reduction sections are changed in a descending manner; according to the operating characteristics of the stepping motor, the initial rotation speed (namely the motor rotation speed in the rotation speed maintaining stage) and the final rotation speed in the rotation speed reduction stage are set, so that the preset total step number c in the rotation speed reduction stage can be obtainedGeneral assemblyCorrespondingly, the stepping motor is provided with corresponding preset step numbers c in each deceleration section, the preset step numbers c of the plurality of deceleration sections are generally consistent, and the completion time of the plurality of deceleration sections is increased and changed under the conditions that the preset step numbers a are consistent and the rotation speed is decreased, so that a larger and stable torque can be provided near the valve in-place state to ensure the sealing performance of the valve. The following are exemplary: preset total step number c in speed reduction phaseGeneral assemblyThe number of the preset steps a of the deceleration section is 500, and is 100, then according to the above-mentioned stepped deceleration manner, 5 deceleration sections need to be completed in the rotation speed reduction stage, and after the 5 th deceleration section is completed, the rotation speed reduction stage is ended. The design can effectively prevent the locked-rotor current from suddenly changing in the rotating speed reduction stage, and plays a certain role in protecting the stability of the control system.
The following steps are known from the above-described rotation speed increasing stage, rotation speed maintaining stage, and rotation speed decreasing stage: running step number N of stepping motor in opening and closing procedureGeneral assembly=aAdding+bFruit of Chinese wolfberry+cAddingIn this embodiment, the preset condition that the detection result of the number of operation steps of the stepping motor satisfies the in-place opening and closing of the valve is as follows: n is a radical ofmin≤NGeneral assembly≤Nmax,NminLower limit of threshold range of step number for opening and closing program, NmaxSetting the in-place condition of the running step number of the stepping motor as an interval range for the upper limit of the step number threshold range of the opening and closing program as long as the running step number N of the stepping motor in the opening and closing programGeneral assemblyIn Nmin~NmaxWithin a limited range, the step is determinedThe detection result of the running step number of the stepping motor meets the preset condition that the valve is opened and closed in place, so that the step number control is allowed to have a certain fault-tolerant range, the accuracy requirement on the step number control of the stepping motor is reduced, and the control method has better practicability.
In the embodiment of the invention, the preset condition that the detection result of the locked-rotor current meets the in-place opening and closing of the valve is as follows: i isPlug>IThreshold(s)And I isPlugThe variation in the set time T tends to 0, where I is the locked-rotor current collected by locked-rotor current detection, and I is the current threshold of locked-rotor current detection. According to the opening and closing control system described above, it is known that: the single chip microcomputer detects locked-rotor current of the stepping motor according to a locked-rotor current signal fed back by the valve driving unit, the locked-rotor current is actually detected by converting the locked-rotor current into locked-rotor voltage through a conversion circuit, the single chip microcomputer acquires the locked-rotor voltage value in real time, and the locked-rotor voltage presents an opposite change trend along with the change of the rotating speed of the stepping motor, namely the rotating speed of the stepping motor is increased and the locked-rotor voltage is reduced; the step motor rotational speed descends, then the locked-rotor voltage rises, compares according to the locked-rotor voltage value of gathering at present and the locked-rotor voltage value of gathering N times before in the singlechip, therefore the testing result of above-mentioned locked-rotor current satisfies the valve switching preset condition that targets in place: i isPlug>IThreshold(s)And I isPlugThe amount of change in the set time T tends to 0, which can also be understood as: u shapePlug>UThreshold(s)And U isPlugThe variable quantity in the set time T tends to 0, and although the locked-rotor current when the valve starts is great, nevertheless along with the step motor rotational speed accelerates, the locked-rotor current can reduce gradually, consequently, above-mentioned preset condition the condition only can appear in rotational speed decline stage later stage, sets for such preset condition to locked-rotor current detection, can effectively distinguish the locked-rotor current when the valve starts and the valve targets in place, improves locked-rotor current detection's rate of accuracy, prevents that locked-rotor current false retrieval and influence valve switching from targeting in the reliability of judgement.
To sum up, the detection result of the running step number of the stepping motor meets the preset condition that the valve is opened and closed in place: n is a radical ofmin≤NGeneral assembly≤Nmax(ii) a The detection result of the locked-rotor current meets the requirement of valve openingThe preset conditions for closing in place are as follows: i isPlug>IThreshold(s)And I isPlugIf the amount of change in the set time T tends to 0, then, according to the opening and closing control method of the embodiment of the present invention, if N is Nmin≤NGeneral assembly≤NmaxAnd I isPlug>IThreshold(s),IPlugIf the variation in the set time T is close to 0, namely both the variation and the variation both meet respective preset conditions, the valve is judged to be in place to be opened and closed, and the opening and closing program is ended; if the two conditions do not meet the preset condition for the valve to be opened and closed in place, or one of the two conditions does not meet the preset condition for the valve to be opened and closed in place, the valve is judged not to be opened and closed in place, and the opening and closing program is continuously executed until the two conditions meet the respective preset conditions. After the switching program is finished, the switching control system can enter a low power consumption mode to reduce energy consumption.
In the opening and closing control method provided by the embodiment of the invention, the problem of inaccurate opening and closing judgment caused by the difference of different valves in step number control can be solved by detecting the locked-rotor current of the stepping motor; and to the detection of step number of step motor operation, can avoid the valve to open and close under the out-of-position condition because detect the circumstances that the locked-rotor current made the valve stop advancing, adopt the step number of step motor operation to detect and the mode that locked-rotor current detected to combine together can compensate each other's detection defect, electrostatic interference has been solved, the protection cost is reduced, thereby can the accurate open and close action of control valve of step motor, make valve control more reliable and more stable, can both reliably realize opening the valve and closing the valve of valve in normal operating mode and industrial application scene, the adaptability of strapping table to the environment has been strengthened.
The embodiment of the invention is mainly applied to gas meters and can also be applied to other fluid meters such as water meters and the like.
While the invention has been described with reference to specific embodiments thereof, it will be understood by those skilled in the art that the invention is not limited thereto, and may be embodied in many different forms without departing from the spirit and scope of the invention as set forth in the following claims. Any modification which does not depart from the functional and structural principles of the present invention is intended to be included within the scope of the claims.

Claims (10)

1. The open-close control method of the gauge stepping motor control valve comprises a valve and a stepping motor for driving the valve to open and close, and is characterized by comprising the following steps:
starting the stepping motor to execute the opening and closing program of the valve;
detecting the running steps of the stepping motor and the locked-rotor current of the stepping motor in the opening and closing program;
and judging the valve opening and closing in place according to the detection result of the running steps of the stepping motor and the detection result of the locked-rotor current: if the two conditions meet the preset condition that the valve is opened and closed in place, the valve is judged to be opened and closed in place, and the opening and closing program is ended; if the two conditions do not meet the preset condition for the valve to be opened and closed in place or one of the two conditions does not meet the preset condition for the valve to be opened and closed in place, judging that the valve is not opened and closed in place, and continuously executing the opening and closing program.
2. The method for controlling the opening and closing of the control valve of the stepping motor of the meter according to claim 1, wherein the valve opening and closing program comprises a rotation speed increasing stage, a rotation speed maintaining stage and a rotation speed decreasing stage, wherein the rotation speed increasing stage controls the stepping motor to run at an accelerated speed, the rotation speed maintaining stage controls the stepping motor to run at a uniform speed, and the rotation speed decreasing stage controls the stepping motor to run at a decelerated speed.
3. The method for controlling the opening and closing of the control valve of the stepping motor of the meter as claimed in claim 2, wherein the rotation speed increasing stage comprises a plurality of accelerating stages for accelerating step by step, the stepping motor is provided with a corresponding preset step number a in each accelerating stage, and the accumulated step number a is obtained when the nth accelerating stage is completedAdding=a1+a2+a3+……anJudging the accumulated step number aAddingWhether the preset total step number a of the rotating speed rising stage is reachedGeneral assemblyIf a isAdding≥aGeneral assemblyEntering a rotating speed maintaining stage, if aAdding<aGeneral assemblyThen the n +1 th acceleration segment is entered.
4. The method for controlling the opening and closing of the control valve of the stepping motor of the meter as claimed in claim 2, wherein in the rotation speed maintaining stage, the number b of real-time operation steps of the stepping motor is judgedFruit of Chinese wolfberryWhether the preset total step number b of the rotating speed maintaining stage is reachedGeneral assemblyIf b isFruit of Chinese wolfberry≥bGeneral assemblyEntering the speed reduction stage, if bFruit of Chinese wolfberry<bGeneral assemblyThen, the rotation speed holding phase is maintained.
5. The method for controlling the opening and closing of the control valve of the stepping motor of the meter as claimed in claim 2, wherein the rotation speed reduction stage comprises a plurality of deceleration stages for decelerating stage by stage, the stepping motor is provided with a corresponding preset step number c in each deceleration stage, and the step number c is accumulated when the nth deceleration stage is completedAdding=c1+c2+c3+……cnJudging the accumulated step number cAddingWhether the preset total step number c of the rotating speed reduction stage is reachedGeneral assemblyIf c is aAdding≥cGeneral assemblyThe speed reduction phase ends if cAdding<cGeneral assemblyThen the n +1 speed reduction stage is entered.
6. The method for controlling the opening and closing of the stepping motor control valve of the meter according to any one of claims 1 to 5, wherein the detection result of the running step number of the stepping motor meets the preset condition that the valve is opened and closed in place: n is a radical ofmin≤NGeneral assembly≤NmaxWherein N isGeneral assemblyFor the number of operating steps of the stepping motor, NminIs the lower limit of the step number threshold range of the opening and closing program, NmaxAnd the upper limit of the step number threshold range of the opening and closing program is set.
7. The method for controlling the opening and closing of the stepping motor control valve of the meter as claimed in any one of claims 1 to 5, wherein the detection result of the locked-rotor current satisfies the preset condition that the valve is opened and closed in place:IPlug>IThreshold(s)And I isPlugThe variation amount within the set time T tends to 0, wherein IPlugA locked-rotor current collected for said locked-rotor current detection, IThreshold(s)And detecting the locked rotor current by using the current threshold value.
8. Open-close control system of strapping table step motor control valve, step motor control valve includes the valve and is used for the drive the step motor of valve switching, its characterized in that, open-close control system includes the control unit, power supply unit and valve drive unit, the control unit control the power supply unit does the valve drive unit power supply, with passing through the valve drive unit control step motor's operation, the control unit detects according to the pulse signal of output step motor's operation step number, the control unit basis the locked rotor current signal of valve drive unit feedback detects step motor's locked rotor current, the control unit basis the test result of step motor operation step number with the test result of locked rotor current carries out the valve switching and targets in place and judges.
9. The open/close control system of the meter stepping motor control valve as claimed in claim 8, wherein the power supply unit comprises a power supply control circuit for power supply input control and a power conversion circuit for voltage conversion, the input end of the power supply control circuit is connected with a power supply and the control unit respectively, and the power conversion circuit is connected between the output end of the power supply control circuit and the valve driving unit.
10. The open/close control system of the meter stepper motor control valve as claimed in claim 8, wherein the control unit comprises a single chip microcomputer and an RC filter circuit, the I/O port of the single chip microcomputer outputs a pulse signal to the valve driving unit, and the locked-rotor current signal is fed back to the single chip microcomputer through the filtering processing of the RC filter circuit.
CN201810595274.8A 2018-06-11 2018-06-11 Open-close control method and open-close control system for meter stepping motor control valve Active CN108869835B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810595274.8A CN108869835B (en) 2018-06-11 2018-06-11 Open-close control method and open-close control system for meter stepping motor control valve

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810595274.8A CN108869835B (en) 2018-06-11 2018-06-11 Open-close control method and open-close control system for meter stepping motor control valve

Publications (2)

Publication Number Publication Date
CN108869835A CN108869835A (en) 2018-11-23
CN108869835B true CN108869835B (en) 2020-01-21

Family

ID=64337659

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810595274.8A Active CN108869835B (en) 2018-06-11 2018-06-11 Open-close control method and open-close control system for meter stepping motor control valve

Country Status (1)

Country Link
CN (1) CN108869835B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111609199B (en) * 2019-02-25 2022-05-24 青岛经济技术开发区海尔热水器有限公司 Adjusting method of proportional valve and proportional valve
CN110927922A (en) * 2019-12-19 2020-03-27 中国科学院长春光学精密机械与物理研究所 Device and method for rapidly switching multiplying power of optical system
CN111464090B (en) * 2020-04-08 2022-02-11 成都极米科技股份有限公司 Control method and control device of shift motor and projection system
CN112709855B (en) * 2020-12-22 2023-01-31 金卡智能集团股份有限公司 Valve controller, valve control method and gas meter

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103968132A (en) * 2013-02-04 2014-08-06 杭州三花研究院有限公司 Control method for electronic expansion valve and control equipment
CN104135200A (en) * 2014-07-14 2014-11-05 广东美的集团芜湖制冷设备有限公司 Control method and control system of stepping motor
CN104802617A (en) * 2015-05-22 2015-07-29 上海加冷松芝汽车空调股份有限公司 Control method for preventing rotation clogging and step loss of stepping motor
CN105182238A (en) * 2015-10-09 2015-12-23 天津市英贝特航天科技有限公司 Stepping motor stalling detection device and detection method
CN107606300A (en) * 2017-09-22 2018-01-19 九阳股份有限公司 A kind of plasma discharge rotary valve control method of food processor

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2363622B1 (en) * 2010-02-25 2018-04-18 Honeywell Technologies Sarl Method for operating a valve having a stepper motor as actuator

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103968132A (en) * 2013-02-04 2014-08-06 杭州三花研究院有限公司 Control method for electronic expansion valve and control equipment
CN104135200A (en) * 2014-07-14 2014-11-05 广东美的集团芜湖制冷设备有限公司 Control method and control system of stepping motor
CN104802617A (en) * 2015-05-22 2015-07-29 上海加冷松芝汽车空调股份有限公司 Control method for preventing rotation clogging and step loss of stepping motor
CN105182238A (en) * 2015-10-09 2015-12-23 天津市英贝特航天科技有限公司 Stepping motor stalling detection device and detection method
CN107606300A (en) * 2017-09-22 2018-01-19 九阳股份有限公司 A kind of plasma discharge rotary valve control method of food processor

Also Published As

Publication number Publication date
CN108869835A (en) 2018-11-23

Similar Documents

Publication Publication Date Title
CN108869835B (en) Open-close control method and open-close control system for meter stepping motor control valve
CN102782294B (en) Control device for internal combustion engine
CN102762864B (en) Dosing pump unit
CN101131127B (en) Intake manifold tuning valve fuzzy logic diagnostic
EP1653067A2 (en) Abnormality diagnosis apparatus and method for water temperature sensor
US20140137552A1 (en) Control device and control method for an internal combustion engine
EP2357347B1 (en) Control device for internal combustion engine
JP2009180162A (en) Turbocharger control system for internal combustion engine
JP5826323B2 (en) Throttle control device for internal combustion engine and throttle control method for internal combustion engine
US7527027B2 (en) Abnormality determination apparatus for intake amount control mechanism
CN113594493B (en) Control method and device for fuel cell cooling system and storage medium
JP3846463B2 (en) Electric supercharger
CN107339495B (en) Regulating valve control method, device and air-conditioning
CN116428070A (en) Variable valve timing mechanism fault abnormality processing method, system and vehicle
CN107476888B (en) Method and system for controlling turbocharger of vehicle
CN104314687A (en) Control algorithm for self-cleaning function of engine VVT oil passage
JP2006316759A (en) Compression device
CN105525596B (en) Automatically adjust multistage weir
CN202791271U (en) Control system for flow-variable oil pump
JPS59160057A (en) Idle revolution number control device for engine
US20040011329A1 (en) Method and arrangement for determining an impact-free extremal actuating position of an actuating member of an internal combustion engine
CN117090716B (en) Variable pulse conversion valve, control method thereof and engine
CN110553076A (en) Control method of electronic water valve
CN102536761B (en) Engineering machinery as well as power control system and power control method of non-electrically-controlled hydraulic pump
JPH02308942A (en) Idle rotating speed control device

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