CN108194679B - Metering instrument valve control method and system - Google Patents

Metering instrument valve control method and system Download PDF

Info

Publication number
CN108194679B
CN108194679B CN201711430958.4A CN201711430958A CN108194679B CN 108194679 B CN108194679 B CN 108194679B CN 201711430958 A CN201711430958 A CN 201711430958A CN 108194679 B CN108194679 B CN 108194679B
Authority
CN
China
Prior art keywords
valve
hall
action
place
state
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
CN201711430958.4A
Other languages
Chinese (zh)
Other versions
CN108194679A (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 CN201711430958.4A priority Critical patent/CN108194679B/en
Publication of CN108194679A publication Critical patent/CN108194679A/en
Application granted granted Critical
Publication of CN108194679B publication Critical patent/CN108194679B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • 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
    • F16K37/00Special means in or on valves or other cut-off apparatus for indicating or recording operation thereof, or for enabling an alarm to be given
    • F16K37/0025Electrical or magnetic means
    • F16K37/0041Electrical or magnetic means for measuring valve parameters

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Indication Of The Valve Opening Or Closing Status (AREA)
  • Electrically Driven Valve-Operating Means (AREA)

Abstract

The invention aims to provide a metering instrument valve control method and a metering instrument valve control system, which are used for solving the problem that misjudgment is easy to occur when Hall detection is interfered in the prior art. The method comprises the following steps: responding to the valve action instruction, detecting the Hall state before the valve action, and controlling the valve action by different valve opening and closing logics according to the valve action instruction and the Hall state; detecting a Hall interruption in a first set time period after the valve starts to act; judging the valve in-place condition according to the valve action instruction, the Hall state and the Hall interruption, and if the valve is in place, controlling the valve to stop action; and setting a Hall detection shielding time, and prohibiting detection of the Hall signal in the set shielding time. The invention also designs a corresponding system. The following beneficial technical effects can be achieved by implementing the invention: the accuracy of in-place detection is improved, the probability of failure of valve control is reduced, and the accuracy, reliability and stability of valve control are improved.

Description

Metering instrument valve control method and system
Technical Field
The invention relates to the field of meters, in particular to a metering device valve control method and a metering device valve control system.
Background
The valve with the in-place signal in the market at present is mainly a Hall valve, namely the Hall signal is used for detecting whether the valve is in place or not. The control logic is that when the control signal triggers the valve opening, the master control singlechip control signal controls the valve driving circuit to drive the valve to open, and in the valve opening process, the singlechip obtains a corresponding valve opening in-place signal according to the detected Hall signal, and stops the valve driving circuit to control after obtaining the corresponding valve opening signal, thereby completing the whole valve opening process. When the control signal triggers valve closing, the master control singlechip controls the valve driving circuit to drive the valve to open, and in the valve opening process, the singlechip obtains a corresponding valve closing in-place signal according to the detected Hall signal, and stops the valve driving circuit to control after obtaining the corresponding valve closing in-place signal, thereby completing the whole valve opening and closing process
The defects are that: when the Hall detection is disturbed, if the valve opening or closing is directly judged to be in place by the Hall signal according to the prior art, the problem of valve control failure is easily caused.
Disclosure of Invention
The invention aims to provide a metering instrument valve control method and a metering instrument valve control system, which are used for solving the problem that misjudgment is easy to occur when Hall detection is interfered in the prior art.
In order to achieve the purpose, the metering device valve control method comprises the following steps:
responding to the valve action command, detecting the Hall state before the valve action, and controlling the valve action by different valve opening and closing logics according to the valve action command and the Hall state;
Detecting a Hall interruption in a first set time period after the valve starts to act;
And judging the valve in-place condition according to the valve action instruction, the Hall state and the Hall interruption, and if the valve is in place, controlling the valve to stop action.
In the above metering valve control method, the logic control of the valve action with different switch valve according to the valve action command and the hall state includes:
If the valve action instruction is a valve opening instruction and the Hall state is a high level, controlling the valve to open;
If the valve action command is a valve opening command and the Hall state is low level, controlling the valve to close and then open;
if the valve action command is a valve closing command and the Hall state is high level, controlling the valve to be opened first and then closed;
if the valve actuation command is a valve closing command and the hall state is low, the valve is controlled to close.
In the above metering device valve control method, the judging the valve in place condition according to the valve action instruction, the hall state and the hall interruption includes:
if the valve action instruction is a valve opening instruction, the Hall state is a high level and one falling edge Hall interruption occurs in a first set time period, judging that the valve is in place;
if the valve action instruction is a valve opening instruction, the Hall state is low level, and one rising edge Hall interruption and one falling edge Hall interruption occur in sequence in a first set time period, judging that the valve is in place;
if the valve action instruction is a valve closing instruction, the Hall state is a high level, and a falling edge Hall interruption and a rising edge Hall interruption occur in sequence in a first set time period, judging that the valve is in place;
if the valve action command is a valve closing command, the Hall state is a low level and a rising edge Hall interrupt occurs in a first set time period, the valve is judged to be in place.
In the above metering valve control method, the hall interruption is shielded in a second set time period after the valve starts to act, and the second set time period is earlier than the first set time period.
In the method and the system for controlling the valve of the metering device, when the start point of the second set time period is the start point of the first set time period, the end point of the second set time period is the start point of the valve.
In the above metering device valve control method, the second set time period when the valve acts as the valve opening action is slightly less than the time when the valve moves from the valve opening starting point to the Hall sensing area; the second set time period when the valve acts as the valve closing action is slightly less than the time from the starting point of closing the valve to the departure of the Hall sensing area.
In the above metering device valve control method, if the valve is not judged to be in place in the first set time period after the detection valve starts to act, the Hall device is judged to be abnormal, and the valve inversion is executed and the current blocking detection is performed in place; if the locked-rotor current signal is detected within the preset time period, judging that the valve is in place and controlling the valve to stop acting; and if the locked-rotor current signal is not detected within the preset time period, judging that the valve works abnormally.
In the metering instrument valve control method, after the valve action instruction is detected, the power supply port of the Hall detection device is opened, and when the valve action is finished, the power supply port of the Hall detection device is closed.
In another aspect of the invention, a metering valve control system comprises a control module, a valve driving circuit and a Hall detection module for detecting the position of a valve;
The control module is configured to: responding to the valve action command, detecting the Hall state before the valve action, and controlling the valve action by different valve opening and closing logics according to the valve action command and the Hall state; the Hall interruption detection module is controlled to detect the Hall interruption in a first set time period after the valve starts to act; judging the valve in-place condition according to the valve action instruction, the Hall state and the Hall interruption, and controlling the valve driving module to control the valve to stop action if the valve is in place.
In the metering instrument valve control system, the system further comprises a locked-rotor current detection module for detecting the valve in place; the control module is configured to: and if the valve is not judged to be in place in the first set time period after the valve starts to act, controlling the locked-rotor current detection module to detect that the locked-rotor current is in place.
The following beneficial technical effects can be achieved by implementing the invention:
1. different valve opening logics are executed according to the valve action instructions and the Hall states, the different valve opening logics enable the Hall interruption logics after the valve action to be different, whether the valve is in place or not is judged according to the valve action instructions, the Hall states before the valve action and the Hall interruption after the valve action, and therefore accuracy of in-place detection is improved, probability of failure of valve control is reduced, and accuracy, reliability and stability of valve control are improved.
2. The Hall interruption shielding time is set, so that the filtering of interference signals is realized, and the accuracy, reliability and stability of valve control are further improved.
3. Through cooperation with locked rotor current in-place detection, stable control of valve action and filtering of interference signals are achieved by means of a current signal and Hall signal double-signal detection mechanism, and anti-interference capacity in the valve action process is improved.
4. The power supply end of the valve Hall device is controlled, so that damage to the Hall device in an industrial field is reduced, and meanwhile, the power consumption of the whole metering instrument is reduced.
Drawings
FIG. 1 is a flow chart of the method of example 1;
Fig. 2 is a flowchart when a valve opening command is detected in embodiment 2;
FIG. 3 is a flow chart showing the detection of a valve closing command in example 2;
FIG. 4 is a system connection diagram of example 3;
Fig. 5 is a valve action process diagram.
Detailed Description
The invention will be further described in conjunction with the following specific examples, which are intended to facilitate an understanding of those skilled in the art:
example 1:
The metering valve control method, as shown in fig. 1, comprises the following steps:
step S1: responding to the valve action command, detecting the Hall state before the valve action, and controlling the valve action by different valve opening and closing logics according to the valve action command and the Hall state;
Step S2: detecting a Hall interruption in a first set time period after the valve starts to act;
step S3: and judging the valve in-place condition according to the valve action instruction, the Hall state and the Hall interruption, and if the valve is in place, controlling the valve to stop action.
In this embodiment, different valve opening logic is executed according to the valve action instruction and the hall state, and the different valve opening logic makes the hall interrupt logic after the valve action different, and whether the valve is in place is judged according to the valve action instruction, the hall state before the valve action and the hall interrupt after the valve action, so that the accuracy of in-place detection is improved, and the accuracy, reliability and stability of valve control are improved.
It should be noted that the first set period of time in this embodiment may be set as required so as to satisfy the time when the hall interruption (the hall interruption caused by the valve position variation) occurs; wherein the hall interrupt is when the hall state changes from high to low or from low to high.
In this embodiment, the valve action command and hall state to execute different on-off valve logic may be: judging whether the current state of the valve is a valve closing state or a valve opening state according to the Hall state, if the valve action instruction is consistent with the current state of the valve (if the current state of the valve is the valve opening state, the valve action instruction is the valve opening instruction, namely the valve action instruction is consistent with the current state of the valve), executing the reverse instruction and the positive instruction of the valve action instruction in sequence (if the current state of the valve is the valve opening state judged according to the Hall state, the valve action instruction is the valve opening instruction, executing the valve closing instruction firstly and then executing the valve opening instruction); if the valve action instruction is inconsistent with the current state of the valve, executing a positive instruction of the valve action instruction; the logic of the switch valve is different, so that the corresponding Hall interruption condition is different; namely, when the switch valve is in place, the valve action instruction, the Hall state before the valve action and the Hall interruption after the valve action have corresponding relations, and whether the valve is in place or not can be accurately judged according to the corresponding relations, so that the judgment accuracy is ensured.
In one embodiment, the controlling the valve action according to the valve action command and the hall state comprises:
If the valve action instruction is a valve opening instruction and the Hall state is a high level, controlling the valve to open;
If the valve action command is a valve opening command and the Hall state is low level, controlling the valve to close and then open;
if the valve action command is a valve closing command and the Hall state is high level, controlling the valve to be opened first and then closed;
if the valve actuation command is a valve closing command and the hall state is low, the valve is controlled to close.
In one embodiment, the judging the valve in place according to the valve action command, the hall state and the hall interruption includes:
If the valve action instruction is a valve opening instruction, the Hall state is a high level and a falling edge Hall interruption occurs within a first set time period, judging that the valve (valve opening) is in place;
if the valve action instruction is a valve opening instruction, the Hall state is low level, and one rising edge Hall interruption and one falling edge Hall interruption occur in sequence in a first set time period, judging that the valve (valve opening) is in place;
If the valve action command is a valve closing command, the Hall state is a high level, and a falling edge Hall interruption and a rising edge Hall interruption occur in sequence in a first set time period, judging that the valve (valve closing) is in place;
If the valve action command is a valve closing command, the hall state is a low level, and a rising edge hall interrupt occurs in a first set period of time, the valve (valve closing) is judged to be in place.
In one embodiment, the hall interruption is masked for a second set period of time after the valve has been actuated, the second set period of time being earlier than the first set period of time. The filtering of the interference signals is realized by setting up Hall interruption detection shielding time; the stability of valve control is improved.
In one embodiment, when the start point of the second set time period is the start point of the first set time period, the end point of the second set time period is the start point of the valve. Can play a better role in shielding.
In a preferred embodiment, the second set period of time when the valve action is an open valve action and the second set period of time when the valve action is a closed valve action may be different; the second set time period when the valve acts as the valve opening action is smaller than the time when the valve moves from the valve opening starting point to the Hall sensing area; the second set time period of the valve action as the valve closing action is less than the time from the start point of closing the valve to the departure of the Hall sensing region. In another preferred embodiment, the second set period of time when the valve is operated as a valve opening operation is slightly less than the time when the valve moves from the valve opening starting point to the hall sensing region; the second set time period when the valve acts as the valve closing action is slightly less than the time from the starting point of closing the valve to the departure of the Hall sensing area. The ratio of the second set time period when the valve moves as the valve opening movement to the time when the valve moves from the valve opening starting point to the Hall sensing area is more than 0.8 and less than 1, or the difference value between the time when the valve moves from the valve opening starting point to the Hall sensing area and the second set time period is less than 2 seconds, the second set time period can be considered to be slightly less than the time when the valve moves from the valve opening starting point to the Hall sensing area; when the valve action is a valve closing action, the ratio of the second set time period to the time from the valve closing starting point to the time from the valve leaving the Hall sensing area is more than 0.8 and less than 1, or the difference between the time from the valve closing starting point to the time from the valve leaving the Hall sensing area and the second set time period is less than 2 seconds, the second set time period can be considered to be slightly less than the time from the valve closing starting point to the time from the valve leaving the Hall sensing area. The shielding effect can be obtained maximally, meanwhile, reliable in-place judgment can be obtained, and the anti-interference capability in the valve action process is enhanced.
In order to facilitate understanding, the relationship between the starting point of valve opening, the Hall sensing area, the valve opening in place, the starting point of valve closing and the valve closing in place is shown as a valve action is shown in fig. 5, the time from the starting point of valve opening to the valve opening in place is T5, the time from the starting point of valve opening to the Hall sensing area is T6, the Hall shielding time set by a program is set by taking T6 as a reference, a value T7 slightly smaller than T6 is taken as the Hall shielding time, so that the time of magnetic attack in the whole valve opening process is reduced to the greatest extent, and normal Hall valve opening in place detection is ensured not to be influenced. The time from the valve closing starting point to the valve closing in place is T8, the time from the valve closing starting point to the valve closing starting point is T9, the Hall shielding time set by a program is set by taking T9 as a reference, and a value T10 slightly smaller than T9 is taken as the Hall shielding time, so that the time of magnetic attack in the whole valve closing process is reduced to the greatest extent, and the normal Hall valve closing in place detection is ensured not to be influenced.
In one embodiment, if the valve is not judged to be in place within a first set time period after the detection valve starts to act, judging that the Hall device is abnormal, and executing valve reversal (the valve is controlled to move to a valve closing state by a motor) and simultaneously executing locked-rotor current in-place detection; if the locked-rotor current signal is detected within the preset time period, judging that the valve is in place and controlling the valve to stop acting; and if the locked-rotor current signal is not detected within the preset time period, judging that the valve works abnormally. The real-time monitoring of the valve action state is enhanced, the control precision of the valve is improved, and the anti-interference capability in the valve action process is enhanced. After the Hall device is judged to be abnormal, the valve is controlled to be in a valve closing state, so that the safety can be improved.
In one embodiment, the power supply port of the Hall detection device is opened after the valve action command is detected, and the power supply port of the Hall detection device is closed when the valve action is finished. The power supply end of the valve Hall device is used for controlling power supply, so that the damage of the industrial site to the Hall device is reduced, and meanwhile, the power consumption of the whole gas meter is reduced.
Example 2:
As shown in fig. 2 and 3, the metering valve control method includes:
the valve operation command is detected, and if a valve opening command is detected, the process proceeds to step 11, and if a valve closing command is detected, the process proceeds to step 21.
Step 11: starting a Hall power supply port, detecting a Hall state, primarily judging the initial position of the valve according to the Hall state, and controlling the valve to act according to the initial position of the valve; (if the valve initial position is judged to be in a valve closing state, the valve is controlled to be opened, and if the valve initial position is judged to be in a valve opening state, the valve is controlled to be closed firstly and then opened).
Step 12: waiting for whether the set hall mask time t1 has arrived (hall mask time t1 is the second set period of time in embodiment 1); forbidding valve Hall interruption detection in t1 time; if the hall mask time t1 arrives, step 13 is entered.
Step 13: the hall detection timeout period t2 is cleared (hall detection timeout period t2 is the first set period in embodiment 1).
Step 14: waiting for Hall interruption to occur; if the Hall interruption occurs, the step 15 is entered; if no Hall interruption has occurred, step 16 is entered.
Step 15: judging whether the valve is in place or not according to the Hall interruption and the Hall state recorded before the valve is opened:
If the Hall is in a high level state before the valve is opened, if a falling edge interrupt is detected in t2, the valve is in place, and the step 18 is entered;
If the Hall is in a low level state before the valve is opened, if the rising edge is detected once, and the falling edge is detected once again, the valve is in place, and the step 18 is entered;
otherwise, the valve is not in place, and the step 16 is carried out;
step 16: judging whether the Hall detection timeout time t2 is reached; if so, go to step 17, if not, go to step 14;
Step 17, judging that the Hall is abnormal and performing locked rotor current in-place detection, judging whether the locked rotor current is detected within the current detection timeout time t3, if the locked rotor current is detected, entering step 18, and if the locked rotor current is not detected, entering step 19;
Step 18: the valve is in place, the valve driving circuit is closed, and the Hall power supply port is closed;
step 19: the valve is abnormal, the valve driving circuit is closed, and the Hall power supply port is closed.
Step 21: starting a Hall power supply port, detecting a Hall state, primarily judging the initial position of the valve according to the Hall state, and controlling the valve to act according to the initial position of the valve; (if the valve initial position is judged to be in a valve closing state, the valve is controlled to be opened first and then closed, and if the valve initial position is judged to be in a valve opening state, the valve is controlled to be closed).
Step 22: waiting for whether the set hall mask time t1 has arrived (hall mask time t1 is the second set period of time in embodiment 1); forbidding valve Hall interruption detection in t1 time; if the hall mask time t1 arrives, step 23 is entered.
Step 23: the hall detection timeout period t2 is cleared (hall detection timeout period t2 is the first set period in embodiment 1).
Step 24: waiting for Hall interruption to occur; if a Hall interruption occurs, step 25 is entered; if no Hall interruption has occurred, step 26 is entered.
Step 25: judging whether the valve is in place or not according to the Hall interruption and the Hall state recorded before the valve is opened:
if the Hall is in a low level state before the valve is opened, if a rising edge interrupt is detected in t2, the valve is in place, and the step 28 is entered;
If the Hall is in a high level state before the valve is opened, if the falling edge interruption is detected once, and the rising edge interruption is detected once again, the valve is in place, and the step 28 is entered;
otherwise, the valve is not in place, and the step 26 is carried out;
Step 26: judging whether the Hall detection timeout time t2 is reached; if so, go to step 27, if not, go to step 24;
Step 27, judging that the Hall is abnormal and performing locked rotor current in-place detection, judging whether the locked rotor current is detected within the current detection timeout time t3, if the locked rotor current is detected, entering step 18, and if the locked rotor current is not detected, entering step 29;
Step 28: the valve is in place, the valve driving circuit is closed, and the Hall power supply port is closed;
step 29: the valve is abnormal, the valve driving circuit is closed, and the Hall power supply port is closed.
In one embodiment, the current AD is sampled once at a frequency t4 during a current detection timeout period t 3. t1 corresponds to the second period in embodiment 1; t2 corresponds to the first period in example 2; on the premise that t1 is used for shielding the Hall interruption, t2 is used for detecting the Hall interruption and t3 bit current detection timeout time is known, the field should know how to set t1, t2 and t3 according to actual situations, and this embodiment will not be described in detail.
Example 3:
the metering valve control system comprises a control module 1, a valve driving circuit 2 and a Hall detection module 3 for detecting the position of a valve as shown in fig. 4;
The control module is configured to: responding to the valve action command, detecting the Hall state before the valve action, and controlling the valve action by different valve opening and closing logics according to the valve action command and the Hall state; the Hall interruption detection module is controlled to detect the Hall interruption in a first set time period after the valve starts to act; judging the valve in-place condition according to the valve action instruction, the Hall state and the Hall interruption, and controlling the valve driving module to control the valve to stop action if the valve is in place.
In one embodiment, the logic control valve action with different on-off valve according to valve action command and hall state comprises:
If the valve action instruction is a valve opening instruction and the Hall state is a high level, controlling the valve to open;
If the valve action command is a valve opening command and the Hall state is low level, controlling the valve to close and then open;
if the valve action command is a valve closing command and the Hall state is high level, controlling the valve to be opened first and then closed;
if the valve actuation command is a valve closing command and the hall state is low, the valve is controlled to close.
In one embodiment, the judging the valve in place according to the valve action command, the hall state and the hall interruption includes:
if the valve action instruction is a valve opening instruction, the Hall state is a high level and one falling edge Hall interruption occurs in a first set time period, judging that the valve is in place;
if the valve action instruction is a valve opening instruction, the Hall state is low level, and one rising edge Hall interruption and one falling edge Hall interruption occur in sequence in a first set time period, judging that the valve is in place;
if the valve action instruction is a valve closing instruction, the Hall state is a high level, and a falling edge Hall interruption and a rising edge Hall interruption occur in sequence in a first set time period, judging that the valve is in place;
if the valve action command is a valve closing command, the Hall state is a low level and a rising edge Hall interrupt occurs in a first set time period, the valve is judged to be in place.
In one embodiment, the hall interruption is masked for a second set period of time after the valve begins to operate, the second set period of time being earlier than the first set period of time; when the start point of the second set time period is the start point of the first set time period, the end point of the second set time period is the start point of the first set time period.
In one embodiment, the second set period of time when the valve is actuated as an open valve is slightly less than the time the valve moves from the open valve start to the hall sensing region; the second set time period when the valve acts as the valve closing action is slightly less than the time from the starting point of closing the valve to the departure of the Hall sensing area.
In one embodiment, the system includes a stall current detection module 4 for detecting that a valve is in place; the control module is configured to: and if the valve is not judged to be in place in the first set time period after the valve starts to act, controlling the locked-rotor current detection module to detect that the locked-rotor current is in place.
It is noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. The metering valve control method is characterized by comprising the following steps:
responding to the valve action command, detecting the Hall state before the valve action, and controlling the valve action by different valve opening and closing logics according to the valve action command and the Hall state;
Detecting a Hall interruption in a first set time period after the valve starts to act;
Judging the valve in-place condition according to the valve action instruction, the Hall state and the Hall interruption, and if the valve is in place, controlling the valve to stop action;
Judging whether the current state of the valve is a valve closing state or a valve opening state according to the Hall state, if the valve action instruction is consistent with the current state of the valve, executing the reverse instruction and the positive instruction of the valve action in sequence, and if the valve action instruction is inconsistent with the current state of the valve, executing the positive instruction of the valve action; and judging whether the valve is in place according to the corresponding relation among the valve action instruction, the Hall state before the valve action and the Hall interruption after the valve action when the switch valve is in place.
2. The metering valve control method of claim 1, wherein the controlling the valve action with different on-off valve logic according to the valve action command and the hall state comprises:
If the valve action instruction is a valve opening instruction and the Hall state is a high level, controlling the valve to open;
If the valve action command is a valve opening command and the Hall state is low level, controlling the valve to close and then open;
if the valve action command is a valve closing command and the Hall state is high level, controlling the valve to be opened first and then closed;
if the valve actuation command is a valve closing command and the hall state is low, the valve is controlled to close.
3. The method for controlling a valve of a metering device according to claim 1, wherein the judging of the valve in place according to the valve action command, the Hall state and the Hall interruption comprises:
if the valve action instruction is a valve opening instruction, the Hall state is a high level and one falling edge Hall interruption occurs in a first set time period, judging that the valve is in place;
if the valve action instruction is a valve opening instruction, the Hall state is low level, and one rising edge Hall interruption and one falling edge Hall interruption occur in sequence in a first set time period, judging that the valve is in place;
if the valve action instruction is a valve closing instruction, the Hall state is a high level, and a falling edge Hall interruption and a rising edge Hall interruption occur in sequence in a first set time period, judging that the valve is in place;
if the valve action command is a valve closing command, the Hall state is a low level and a rising edge Hall interrupt occurs in a first set time period, the valve is judged to be in place.
4. The method of controlling a valve of a metering device according to claim 1, wherein the Hall interruption is masked for a second set period of time after the valve is started, the second set period of time being earlier than the first set period of time.
5. The method of controlling a valve of a metering device according to claim 4, wherein the start point of the second set time period is the start point of the first set time period when the valve starts to operate.
6. The method of controlling a valve of a metering device according to claim 5, wherein the second set time period when the valve is operated as the valve opening operation is slightly shorter than the time when the valve is moved from the valve opening start point to the Hall sensing region; the second set time period when the valve acts as the valve closing action is slightly less than the time from the starting point of closing the valve to the departure of the Hall sensing area.
7. The method for controlling a valve of a metering device according to claim 1, wherein if the valve is not judged to be in place within a first set time period after the start of the operation of the detection valve, the Hall device is judged to be abnormal, and the valve inversion is performed while the locked-rotor current detection is performed; if the locked-rotor current signal is detected within the preset time period, judging that the valve is in place and controlling the valve to stop acting; and if the locked-rotor current signal is not detected within the preset time period, judging that the valve works abnormally.
8. The method for controlling a valve of a measuring instrument according to any one of claims 1 to 7, wherein the power supply port to the Hall sensor is opened after the valve operation command is detected, and the power supply port to the Hall sensor is closed when the valve operation is completed.
9. Metering device valve control system, its characterized in that: the valve comprises a control module, a valve driving circuit and a Hall detection module for detecting the position of the valve;
The control module is configured to: responding to the valve action command, detecting the Hall state before the valve action, and controlling the valve action by different valve opening and closing logics according to the valve action command and the Hall state; the Hall interruption detection module is controlled to detect the Hall interruption in a first set time period after the valve starts to act; judging the valve in-place condition according to the valve action instruction, the Hall state and the Hall interruption, and controlling the valve driving module to control the valve to stop action if the valve is in place.
10. The metering valve control system of claim 9, wherein: the system also comprises a locked rotor current detection module for detecting the valve in place; the control module is configured to: and if the valve is not judged to be in place in the first set time period after the valve starts to act, controlling the locked-rotor current detection module to detect that the locked-rotor current is in place.
CN201711430958.4A 2017-12-26 2017-12-26 Metering instrument valve control method and system Active CN108194679B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711430958.4A CN108194679B (en) 2017-12-26 2017-12-26 Metering instrument valve control method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711430958.4A CN108194679B (en) 2017-12-26 2017-12-26 Metering instrument valve control method and system

Publications (2)

Publication Number Publication Date
CN108194679A CN108194679A (en) 2018-06-22
CN108194679B true CN108194679B (en) 2024-06-04

Family

ID=62584082

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711430958.4A Active CN108194679B (en) 2017-12-26 2017-12-26 Metering instrument valve control method and system

Country Status (1)

Country Link
CN (1) CN108194679B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111110004B (en) * 2018-10-31 2021-10-08 佛山市顺德区美的电热电器制造有限公司 Operation control method and device of blanking motor, cooking utensil and storage medium
CN109186049A (en) * 2018-11-18 2019-01-11 湖南同能机电科技有限公司 A kind of motor-driven valve flexible controller
CN109781198B (en) * 2018-12-07 2023-10-20 金卡智能集团股份有限公司 Method for detecting uncontrolled flow of metering instrument
CN109510524B (en) * 2018-12-19 2021-02-02 北京经纬恒润科技股份有限公司 Motor position information storage method and device
CN115517546A (en) * 2020-04-24 2022-12-27 杭州九阳小家电有限公司 Control method of food processing machine
CN112684746A (en) * 2020-12-31 2021-04-20 金卡智能集团股份有限公司 Gas meter valve control method, system and computer readable storage medium
CN115311823A (en) * 2022-08-11 2022-11-08 重庆宇泽森智能装备有限公司 Gas pipeline monitoring and early warning system and method and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6304077B1 (en) * 1998-01-23 2001-10-16 Metso Paper Automation, Inc. Method and apparatus for defining the position of an actuator utilizing parts of pulse intervals
CN102494729A (en) * 2011-11-25 2012-06-13 杭州先锋电子技术股份有限公司 Intelligent gas meter metering device and signal processing system
CN103644364A (en) * 2013-11-29 2014-03-19 浙江盾安自控科技有限公司 Heat supply metering monitoring system
CN107289188A (en) * 2017-07-17 2017-10-24 金卡智能集团股份有限公司 Meter valve state detection method and system based on fusion of multi-sensor information

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1024267A3 (en) * 1999-01-29 2003-08-06 AB Elektronik GmbH Throttle valve rotation angle sensor
US7882852B2 (en) * 2004-05-04 2011-02-08 Woodward Hrt, Inc. Direct drive servovalve device with redundant position sensing and methods for making the same

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6304077B1 (en) * 1998-01-23 2001-10-16 Metso Paper Automation, Inc. Method and apparatus for defining the position of an actuator utilizing parts of pulse intervals
CN102494729A (en) * 2011-11-25 2012-06-13 杭州先锋电子技术股份有限公司 Intelligent gas meter metering device and signal processing system
CN103644364A (en) * 2013-11-29 2014-03-19 浙江盾安自控科技有限公司 Heat supply metering monitoring system
CN107289188A (en) * 2017-07-17 2017-10-24 金卡智能集团股份有限公司 Meter valve state detection method and system based on fusion of multi-sensor information

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
一种带冗余限位的智能阀位变送器设计;燕聪;邱静;白晨光;;电子质量(第12期);第41-44页 *

Also Published As

Publication number Publication date
CN108194679A (en) 2018-06-22

Similar Documents

Publication Publication Date Title
CN108194679B (en) Metering instrument valve control method and system
CA1264802A (en) Motor control method and apparatus therefor
CA2806862C (en) Method and apparatus for controlling gas flow via a gas shut-off valve assembly
US8604743B2 (en) Method for operating an electric window lift of a convertible
US20120323370A1 (en) Opening-and-closing member control device
EP3083473A1 (en) Detection method for elevator brake moment
US9109924B2 (en) Method for determining the set position of an adjustment part
EP4001570A1 (en) Pinch detection based on motor current increase
WO2019034376A1 (en) Method and monitoring device for monitoring an operation of an elevator door arrangement
CN104876102A (en) System and method for door motor control based on position verification
CN108107401B (en) Cover opening detection method based on smart meter and smart meter
US9543755B2 (en) Automotive electrically-actuated device end-of-travel detection
CN112220423B (en) Dish washing machine water inlet control method and dish washing machine
US7283887B2 (en) Method for determining a change in direction of rotation of a motor
CN107023242A (en) Can open and close member control device
CN108061195B (en) Method for accurately detecting switching speed of high-frequency quick-switching valve in VPSA process
CN111691785B (en) Open/close body control device, vehicle, open/close body control method, and recording medium
JP2014189992A (en) Opening/closing member control device
US10577847B2 (en) Method for operating a closing device, and closing device
JP3974485B2 (en) Power window drive control device
JP2019210784A (en) Window open/close position detection device and window open/close position detection method
KR101140058B1 (en) No rotation detector for water drain pump
JPH07212963A (en) Safety device for automatic switching apparatus
JP2009228254A (en) Drive control unit for opening/closing body
CN104743421A (en) Elevator powering-down position anomaly detection method and system

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