CN110618380A - Hall switch valve detection circuitry that targets in place - Google Patents
Hall switch valve detection circuitry that targets in place Download PDFInfo
- Publication number
- CN110618380A CN110618380A CN201910794686.9A CN201910794686A CN110618380A CN 110618380 A CN110618380 A CN 110618380A CN 201910794686 A CN201910794686 A CN 201910794686A CN 110618380 A CN110618380 A CN 110618380A
- Authority
- CN
- China
- Prior art keywords
- hall sensor
- circuit
- microprocessor
- hall
- valve
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000001514 detection method Methods 0.000 title claims abstract description 47
- 229910000831 Steel Inorganic materials 0.000 claims abstract description 13
- 230000006978 adaptation Effects 0.000 claims abstract description 13
- 239000010959 steel Substances 0.000 claims abstract description 13
- 238000006243 chemical reaction Methods 0.000 claims description 34
- 239000003990 capacitor Substances 0.000 claims description 30
- 230000009286 beneficial effect Effects 0.000 abstract description 2
- 239000007789 gas Substances 0.000 description 16
- 238000000034 method Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 238000012545 processing Methods 0.000 description 5
- 230000009471 action Effects 0.000 description 4
- 230000006698 induction Effects 0.000 description 4
- VNWKTOKETHGBQD-UHFFFAOYSA-N methane Chemical compound C VNWKTOKETHGBQD-UHFFFAOYSA-N 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 238000013461 design Methods 0.000 description 3
- 238000004519 manufacturing process Methods 0.000 description 3
- 230000005389 magnetism Effects 0.000 description 2
- 239000003345 natural gas Substances 0.000 description 2
- 230000002035 prolonged effect Effects 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 229920006395 saturated elastomer Polymers 0.000 description 2
- 230000035945 sensitivity Effects 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 238000007792 addition Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002441 reversible effect Effects 0.000 description 1
Classifications
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F16—ENGINEERING ELEMENTS AND UNITS; GENERAL MEASURES FOR PRODUCING AND MAINTAINING EFFECTIVE FUNCTIONING OF MACHINES OR INSTALLATIONS; THERMAL INSULATION IN GENERAL
- F16K—VALVES; TAPS; COCKS; ACTUATING-FLOATS; DEVICES FOR VENTING OR AERATING
- F16K37/00—Special 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/0025—Electrical or magnetic means
- F16K37/0041—Electrical or magnetic means for measuring valve parameters
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/327—Testing of circuit interrupters, switches or circuit-breakers
- G01R31/3277—Testing of circuit interrupters, switches or circuit-breakers of low voltage devices, e.g. domestic or industrial devices, such as motor protections, relays, rotation switches
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Mechanical Engineering (AREA)
- Transmission And Conversion Of Sensor Element Output (AREA)
Abstract
The invention relates to the field of intelligent gas meters, in particular to a Hall switch valve in-place detection circuit, which comprises: the Hall sensor is used for detecting a magnetic signal sent by magnetic steel arranged on the valve and outputting an in-place signal according to the detected magnetic signal; the microprocessor is connected with the Hall sensor circuit and used for sending a valve opening driving signal or a valve closing driving signal to drive the valve to move, receiving an in-place signal sent by the Hall sensor and judging whether the valve is in place or not according to the in-place judging signal; and the power supply adaptation circuit is connected with the microprocessor and the Hall sensor circuit and is used for receiving a valve opening driving signal or a valve closing driving signal sent by the microprocessor, and the microprocessor supplies power to the Hall sensor through the power supply adaptation circuit and provides reference ground connection for the Hall sensor circuit. The invention has the following beneficial effects: the detection of the valve opening in place and the valve closing in place of the valve is realized; the circuit structure is simple, and the cost of the product is reduced.
Description
Technical Field
The invention relates to the field of intelligent gas meters, in particular to a Hall switch valve in-place detection circuit.
Background
Along with the improvement of the living standard and the living quality of people, the intelligent product requirements required by modern families can promote the intelligent gas meter to develop towards the directions of safety, reliability and intelligent convenience. At present, the domestic intelligent gas meters mainly comprise IC card intelligent gas meters, CPU card intelligent gas meters, radio frequency card intelligent gas meters, wired remote meters, wireless remote meters, Internet of things intelligent gas meters and the like. The intelligent application of the gas meter is not only a single chip, a wired and wireless communication module, but also a key part, namely a 'gas meter motor valve'. The intelligent gas meter can remotely control the opening or closing of the valve of the intelligent gas meter to remotely control the opening and closing of the household natural gas of an abnormal user, so that the safe and reasonable use of the natural gas is ensured.
In order to improve the safety and reliability of the intelligent gas meter, the method is of great importance for detecting the opening or closing in-place signal of a motor valve of the gas meter. If the valve is not closed, the air leakage can be caused, and great loss is brought to the state and the property of people; the valve is not opened in place, which can cause that the normal use of the family of the user can not be satisfied. Therefore, whether the valve of the intelligent gas meter is opened or closed in place or not directly influences the product performance and quality of the intelligent gas meter.
The in-place detection device and the electronic circuit Hall sensor circuit used by the current industrial, commercial and household gas meters are mostly integrated with a motor valve so as to ensure the accuracy and timeliness of detection. The Hall switch valve that uses at present arrives a bit detection circuit, drives magnet steel assembly motion on the connecting rod together when using motor valve operation, when magnet steel operation to Hall sensor's magnetism operation operating point (BOP), triggers Hall sensor output low level signal and feeds back to the singlechip and handles to judge that motor valve closes the valve and targets in place, and can't realize that the open valve of valve targets in place and detect. In addition, the power supply and the reference ground used by the existing Hall sensor circuit are connected with the main control circuit board by using independent wires, and 5 wires are used in addition to one signal wire output by the Hall sensor and two control wires of the motor valve switch valve. The motor valve is connected with the main control circuit board through a wire harness, a driving signal wire of the motor valve and the sensor detection circuit are separately designed from the main control circuit board, and the motor valve and the main control circuit board are connected through a plurality of external wires and perform data interaction; for electronic products, the more the number of signal lines connected and interacted by the external lead is, the more variable factors causing product failure will be increased; for mass production products, the more connecting wires, the more the connector is, the more the cost of the connector is increased, so that the production cost is increased, and meanwhile, the production efficiency of the product is also reduced.
Disclosure of Invention
In order to solve the problems, the invention provides an in-place detection circuit of a Hall switch valve, which is used for realizing in-place detection of valve closing and valve opening of the valve, and is few in connecting wires and low in cost.
A Hall switch valve detection circuit that targets in place includes:
the Hall sensor is used for detecting a magnetic signal sent by magnetic steel arranged on the valve and outputting an in-place signal according to the detected magnetic signal;
the microprocessor is connected with the Hall sensor circuit and used for sending a valve opening driving signal or a valve closing driving signal to drive the valve to move, receiving an in-place signal sent by the Hall sensor and judging whether the valve is in place or not according to the in-place judging signal;
and the power supply adaptation circuit is connected with the microprocessor and the Hall sensor circuit and is used for receiving a valve opening driving signal or a valve closing driving signal sent by the microprocessor, and the microprocessor supplies power to the Hall sensor through the power supply adaptation circuit and provides reference ground connection for the Hall sensor circuit.
Preferably, the power adapter circuit includes: a triode Q1, a Q2, a diode D1, a diode D2,
the base of triode Q1 connects microprocessor, and microprocessor is connected to triode Q1's projecting pole, and reference ground is connected to triode Q1's collecting electrode, microprocessor is connected to triode Q2's base, and microprocessor is connected to triode Q2's projecting pole, and reference ground is connected to triode Q2's collecting electrode, microprocessor is connected to diode D1's positive pole, and reference ground and hall sensor circuit's power input are connected to diode D1's negative pole, microprocessor is connected to diode D2's positive pole, and reference ground and hall sensor circuit's power input are connected to diode D2's negative pole.
Preferably, the power adapter circuit further includes: resistors R1, R2, R3,
the one end of resistance R1 connects microprocessor, and triode Q1's base is connected to resistance R1's the other end, microprocessor is connected to resistance R2's one end, and triode Q2's base is connected to resistance R2's the other end, diode D1's negative pole and diode D2's negative pole are connected to resistance R3's one end, and the other end of resistance R3 connects the Hall sensor circuit.
Preferably, the hall sensor circuit includes: a hall sensor and a capacitor C1,
the power input end of the Hall sensor is connected with the output end of the power adapter circuit, the grounding end of the Hall sensor is connected with a reference ground, the output end of the Hall sensor is connected with the microprocessor, one end of the capacitor C1 is connected with the power input end of the Hall sensor, and the other end of the capacitor C1 is connected with the grounding end of the Hall sensor.
Preferably, the hall sensor circuit includes: at least two Hall sensors arranged in different directions and the same number of capacitors as the Hall sensors,
the power input end of the Hall sensor is connected with the output end of the power adapter circuit, the grounding end of the Hall sensor is connected with a reference ground, the output end of the Hall sensor is connected with the microprocessor, and a capacitor is connected between the power input end of the Hall sensor and the grounding end of the Hall sensor.
Preferably, the method further comprises the following steps: and the level conversion module is connected to the output end of the Hall sensor circuit and is used for level conversion of the in-place signal output by the Hall sensor circuit, and the output end of the level conversion module is connected with the microprocessor.
Preferably, the level shift module includes: the first level conversion circuits are connected to the output ends of the Hall sensors and used for level conversion of in-place signals output by the Hall sensors, and the output ends of the first level conversion circuits are connected with the microprocessor.
Preferably, the first level shift circuit includes: a resistor R4 and a diode D3,
one end of the resistor R4 is connected with a power supply end, the other end of the resistor R4 is connected with the microprocessor and the anode of the diode D3, and the cathode of the diode D3 is connected with the output end of the Hall sensor.
Preferably, the level shift module includes: the second level switching circuit is connected with the output end of the Hall sensor and is used for level switching of the Hall sensor output in-place signals, the output end of the second level switching circuit is connected with the microprocessor,
the second level shift circuit includes: the LED driving circuit comprises diodes D4 and D5 and a resistor R5, wherein the cathode of the diode D4 is connected with the output end of the Hall sensor, the anode of the diode D5 is connected with the microprocessor, one end of the resistor R5 and the anode of the diode D5, the other end of the resistor R5 is connected with a power supply end, and the cathode of the diode D5 is connected with the output end of the Hall sensor.
Preferably, the method further comprises the following steps: the same output circuit with hall sensor quantity, output circuit connects at hall sensor's output, includes: a resistor R6 and a capacitor C2,
one end of the resistor R6 is connected with the output end of the Hall sensor, the other end of the resistor R6 is connected with the microprocessor and one end of the capacitor C2, and the other end of the capacitor C2 is connected with the reference ground.
The invention has the following beneficial effects:
1. the circuit operation is safe and reliable, the number of connecting wires between the Hall sensor and the main control board is reduced, only two driving signal wires are needed, and after the Hall sensor is opened and closed in place with the valve, the Hall sensor detects one output signal wire output and is connected into the microprocessor for signal processing, the VCC power line and the GND reference ground wire do not need to be connected into the main control board independently, the product failure variable factor is reduced, and the product cost is reduced. Meanwhile, the floating ground design is used, so that the access of interference signals on the main control board is inhibited, and the anti-interference performance of the circuit is improved.
2. Independent detection can be realized for the valve opening and valve closing in place, and a high-level signal always conducts a forward diode in the process of high-level and low-level conversion of a driving signal output by a microprocessor, so that a power supply is provided for a later Hall sensor circuit to enable the later Hall sensor circuit to work;
3. the Hall sensor circuit directly takes the high level voltage of the power supply adapting circuit to supply power for working, so that the action response time of the Hall sensor can be ensured, meanwhile, when no driving signal exists, the Hall sensor does not have a working power supply, and the static power consumption of the Hall switch valve in-place detection circuit is zero power consumption, so that the service life is prolonged;
4. the Hall sensors are additionally arranged in the Hall sensor circuit and are arranged in different directions to realize the detection of the magnetism of the magnetic steel, the detection sensitivity is improved by the detection of a plurality of spatial directions, and the judgment of an in-place signal for opening or closing the long-stroke valve can be realized;
5. the second level conversion circuit judges the signal output by the Hall sensor circuit for multiple times so as to realize twice judgment of the valve in-place signal and prevent misjudgment.
Drawings
The present invention will be described in further detail with reference to the accompanying drawings and specific embodiments.
FIG. 1 is a schematic diagram of a module connection of a Hall switch valve in-place detection circuit according to an embodiment of the invention;
FIG. 2 is a schematic circuit diagram of a power adapter circuit and a Hall sensor circuit in a Hall switch valve in-place detection circuit according to an embodiment of the invention;
FIG. 3 is a schematic circuit diagram of a Hall switch valve in-place detection circuit according to a second embodiment of the present invention;
FIG. 4 is a schematic circuit diagram of a Hall switch valve in-place detection circuit according to a third embodiment of the invention;
FIG. 5 is a schematic circuit diagram of a Hall switch valve in-place detection circuit according to a fourth embodiment of the invention;
fig. 6 is a schematic circuit diagram of a five hall switching valve in-place detection circuit according to an embodiment of the present invention.
Detailed Description
The technical solutions of the present invention will be further described below with reference to the accompanying drawings, but the present invention is not limited to these embodiments.
Example one
The basic idea of the first embodiment of the invention is that a power supply adaptation circuit provides power supply and reference ground connection for a Hall sensor circuit, and only 3 leads corresponding to a first driving signal, a second driving signal and a Hall sensor circuit output signal output by a microprocessor are reserved, so that the failure variable factor of a product is reduced, and the cost of the product is reduced; in the process of high-low level conversion of a driving signal output by the microprocessor, a high-level signal is always conducted on the forward diode to provide a power supply for a later Hall sensor circuit to enable the Hall sensor circuit to work, and therefore independent detection can be achieved for opening and closing of a valve.
Based on the above idea, an embodiment of the present invention provides a hall switching valve to position detection circuit, as shown in fig. 1, including: the Hall sensor is used for detecting a magnetic signal sent by magnetic steel arranged on the valve and outputting an in-place signal according to the detected magnetic signal; the microprocessor is connected with the Hall sensor circuit and used for sending a valve opening driving signal or a valve closing driving signal to drive the valve to move, receiving an in-place signal sent by the Hall sensor and judging whether the valve is in place or not according to the in-place judging signal; and the power supply adaptation circuit is connected with the microprocessor and the Hall sensor circuit and is used for receiving a valve opening driving signal or a valve closing driving signal sent by the microprocessor, and the microprocessor supplies power to the Hall sensor through the power supply adaptation circuit and provides reference ground connection for the Hall sensor circuit.
When the valve needs to be opened or closed, the microprocessor sends a driving signal for opening or closing the valve to the power supply adaptation circuit; the power supply adaptation circuit receives a driving signal sent by the microprocessor, takes the level voltage of the driving signal as a power supply of the Hall sensor, and provides reference ground connection for the Hall sensor circuit; the Hall sensor circuit directly uses the level voltage of the on or off driving signal output by the power adapter circuit as a power supply; when the valve moves to the magnetic field capable of sensing the magnetic steel and reaches the magnetic working point of the Hall sensor, the Hall sensor circuit outputs an in-place signal and feeds the signal back to the microprocessor for processing, the microprocessor judges whether the valve is in place or closed according to the in-place signal, and meanwhile the microprocessor stops sending a valve opening or closing instruction to the power supply adaptation circuit, so that the driving signal disappears, the opening or closing action of the valve stops, and finally the in-place detection work of the valve opening or closing is completed.
The hall sensor circuit and the power adapter circuit will be described in detail with reference to fig. 2.
The power supply adaptation circuit includes: triodes Q1, Q2, diodes D1, D2, resistors R1, R2 and R3. The base of the triode Q1 is connected with one end of the resistor R1, the other end of the resistor R1 is connected with the first driving signal FA _ ON output by the microprocessor, the emitter of the triode Q1 is connected with the second driving signal FA _ OFF output by the microprocessor, and the collector of the triode Q1 is connected with the ground GND. The base of the transistor Q2 is connected to one end of the resistor R2, the other end of the resistor R2 is connected to the second driving signal FA _ OFF output by the processor, the emitter of the transistor Q2 is connected to the first driving signal FA _ ON output by the processor, and the collector of the transistor Q2 is connected to the ground GND. The positive electrode of the diode D1 is connected to the first driving signal FA _ ON output by the processor, the negative electrode of the diode D1 is connected to one end of the resistor R3, and the other end of the resistor R3 is connected to the hall sensor circuit. The positive electrode of the diode D2 is connected to the second driving signal FA _ OFF output by the processor, and the negative electrode of the diode D2 is connected to one end of the resistor R3.
The Hall sensor circuit comprises a Hall sensor U1 and a capacitor C1. The power supply input end VCC of the Hall sensor U1 is connected with the output end of the resistor R3, the grounding end GND of the Hall sensor is connected with the reference ground GND, and the output end Vout of the Hall sensor U1 is connected with the microprocessor. One end of the capacitor C1 is connected with the power input end of the Hall sensor, and the other end of the capacitor C1 is connected with the grounding end of the Hall sensor and used for filtering.
When the microprocessor outputs a valve opening driving signal: the output of the first driving signal FA _ ON is high level, and is connected to the base electrode of the triode Q1 through the current limiting resistor R1; the second driving signal FA _ OFF is low, so the transistor Q1 emits a low signal; when the first driving signal FA _ ON is at a high level, the diode D1 is turned ON, the first driving signal FA _ ON is continuously connected to the ground GND through the current-limiting resistor R3 and the filter capacitor C1 and is connected to the collector of the triode Q1, and at this time, the voltage signal of the collector of the triode Q1 is lower than the voltage value of the base of the triode Q1 but higher than the voltage value of the emitter of the triode Q1 due to the conduction voltage drop of the first driving signal FA _ ON high level signal when passing through the diode D1, so that the triode Q1 is in a saturated conduction state; the transistor Q2 is turned OFF because the voltage at the emitter of the transistor Q2 is a high signal due to the first driving signal FA _ ON and the voltage at the base of the transistor Q2 is a low signal due to the second driving signal FA _ OFF. Therefore, when the first driving signal FA _ ON network is at a high level and the second driving signal FA _ OFF network is at a low level, the diode D1 is turned ON, the diode D2 is turned OFF, and the high level signal also supplies power to the hall sensor U1 through the current limiting resistor R3 and the filter capacitor C1. If the valve does not operate, when the magnetic field of the induction magnetic steel reaches the magnetic working point of the Hall sensor U1, a high level signal is output by the Hall sensor U1; if the valve is operated to reach the magnetic working point of the Hall sensor U1 due to the induction of the magnetic steel field, the Hall sensor U1 outputs a low level signal, namely an in-place signal, and the microprocessor judges whether the valve is in place or not according to the signal output by the Hall sensor U1 and controls the sending of a driving signal.
Conversely, when the microprocessor outputs a valve-closing drive signal: the difference from when the microprocessor outputs a valve opening drive signal is that: the first driving signal FA _ ON is outputted at a low level, and the second driving signal FA _ OFF is outputted at a high level, so that the transistor Q1 is turned OFF, and the transistor Q2 is in saturated conduction; the diode D1 is cut off, the diode D2 is conducted in the forward direction and supplies power to the subsequent circuit, and after signal processing is carried out by the microprocessor, valve closing in-place signal judgment and control work are carried out.
The circuit design of the Hall switch valve in-place detection circuit is simple, the circuit operation is safe and reliable, the number of connecting wires between the Hall switch valve in-place detection circuit and a main control board is reduced, only two driving signal lines of a first driving signal FA _ ON and a second driving signal FA _ OFF are needed, and after the Hall switch valve is opened and closed in place, one output signal line detected by the Hall sensor U1 is connected into a microprocessor for signal processing, and a VCC power line and a GND reference ground wire do not need to be independently connected into the main control board, so that the product failure variable factor is reduced, and the product cost is reduced. Meanwhile, the floating ground design is used, so that the access of interference signals on the main control board is inhibited, and the anti-interference performance of the circuit is improved.
The hall switching valve to position detection circuit of the embodiment can realize independent detection of valve opening and valve closing actions of the valve according to the first driving signal FA _ ON and the second driving signal FA _ OFF, and in the high-low level conversion of the first driving signal FA _ ON and the second driving signal FA _ OFF, a high-level signal always conducts the forward diode to provide power for a subsequent hall sensor circuit to work.
The Hall sensor circuit in the Hall switch valve in-place detection circuit can ensure the action response time of the Hall sensor because the Hall sensor circuit directly takes the high level voltage of the power adapter circuit to supply power for working. Meanwhile, when no driving signal exists, the Hall sensor U1 has no working power supply, and the static power consumption of the Hall switch valve in-place detection circuit is zero power consumption, so that the service life is prolonged.
Example two
In the second embodiment, a plurality of hall sensors are added to the hall sensor circuit based on the first embodiment. The Hall sensor is arranged in different directions to realize the magnetic detection of the magnetic steel, and the detection sensitivity is improved from the detection of a plurality of spatial directions. In addition, aiming at the condition that the long-stroke valve has longer opening and closing strokes and exceeds the detection range of the magnetic characteristic working point of the Hall sensor, at least two Hall sensors can be arranged at the beginning, the end and the like of the full stroke of the valve, and finally the judgment of the in-place signal of the opening or the closing of the long-stroke valve is realized.
In the present embodiment, a hall sensor circuit including two hall sensors is described as an example. As shown in fig. 3, the hall sensor circuit includes: the two Hall sensors are arranged on the Hall sensors U1 and U1 'in different directions, and capacitors C1 and C1' with the same quantity as the Hall sensors, power input ends VCC of the Hall sensors U1 and U1 'are connected with the output end of the power adapter circuit, grounding ends GND of the Hall sensors U1 and U1' are connected with a reference ground, output ends Vout of the Hall sensors are connected with the microprocessor, and capacitors are connected between the power input ends VCC of the Hall sensors and the grounding ends GND of the Hall sensors.
For other contents not described in this embodiment, reference may be made to the first embodiment described above.
EXAMPLE III
In the third embodiment, on the basis of the second embodiment, a level conversion module for level conversion of the hall sensor circuit output bit signal is connected to the output end of the hall sensor circuit, and the output end of the level conversion module is connected to the microprocessor. The level conversion module includes: the first level conversion circuits are connected to the output ends of the Hall sensors and used for level conversion of in-place signals output by the Hall sensors, and the output ends of the first level conversion circuits are connected with the microprocessor. The output end of the Hall sensor is designed with a level conversion circuit, and the level conversion circuit can be directly applied to a circuit with a valve driving signal voltage value different from the working voltage of the microprocessor, so that the application range is expanded.
As shown in fig. 4, a first level shift circuit includes: the circuit comprises a resistor R4 and a diode D3, wherein one end of the resistor R4 is connected with a power supply end, the other end of the resistor R4 is connected with a microprocessor and the anode of a diode D3, and the cathode of the diode D3 is connected with the output end of the Hall sensor. Another first level shifter circuit includes: the circuit comprises a resistor R4 'and a diode D3', wherein one end of the resistor R4 'is connected with a power supply end, the other end of the resistor R4' is connected with a microprocessor and the anode of the diode D3 ', and the cathode of the diode D3' is connected with the output end of the Hall sensor.
When the microprocessor outputs a valve opening driving signal: if the valve does not operate, when the magnetic field of the induction magnetic steel reaches the magnetic working point of the Hall sensor U1, the high level signal output by the Hall sensor U1 is cut off in the reverse direction of the diode D3, but the power supply end VCC uses the resistor R3 to pull up, so the level switching circuit outputs the high level signal and inputs the high level signal to the microprocessor; if the valve runs to, when the magnetic working point of the Hall sensor U1 is reached due to the induction of the magnetic field of the magnetic steel, the diode D3 is conducted by the low level signal output by the Hall sensor U1, so that the low level signal is output by the level conversion circuit and is input to the microprocessor, and the microprocessor processes the signal and makes a valve opening in-place judgment signal and controls the work.
When the microprocessor outputs the valve turn-off driving signal, the output signal of the level conversion circuit is opposite to the signal output when the microprocessor outputs the valve turn-on driving signal, and the specific working process is not repeated.
For other contents not described in this embodiment, reference may be made to the second embodiment described above.
Example four
And the output end of the level conversion module is connected with the microprocessor. The level conversion module includes: and the second level conversion circuit is connected to the output end of the Hall sensor and is used for level conversion of the Hall sensor output in-place signal, and the output end of the second level conversion circuit is connected with the microprocessor.
As shown in fig. 5, the second level shift circuit includes: the circuit comprises diodes D4 and D5 and a resistor R5, wherein the cathode of the diode D4 is connected with the output end of the Hall sensor U1, the anode of the diode D5 is connected with the microprocessor, one end of the resistor R5 and the anode of the diode D5, the other end of the resistor R5 is connected with a power supply end, and the cathode of the diode D5 is connected with the output end of the Hall sensor U1'.
In this embodiment, the second level shift circuit performs two determinations on the signals output by the hall sensor circuit, that is, the signals output by the hall sensors U1 and U1' are respectively determined, so as to perform two determinations on the valve in-place signal, so as to prevent erroneous determination.
For other contents not described in this embodiment, reference may be made to the second embodiment described above.
EXAMPLE five
In the fifth embodiment, an output circuit is connected to an output terminal of the hall sensor circuit based on the second embodiment. The number of the output circuits is the same as that of the Hall sensors. In this embodiment, a level shift circuit is not used, and the detection signals output by the plurality of groups of hall sensors are directly input to the microprocessor for signal processing through a filter circuit composed of the resistor R6 and the capacitor C2.
As shown in fig. 6, an output circuit is connected to the output terminal of the hall sensor U1, and includes: one end of the resistor R6 and the other end of the capacitor C2 are connected with the output end of the Hall sensor U1, the other end of the resistor R6 is connected with one end of the microprocessor and one end of the capacitor C2, and the other end of the capacitor C2 is connected with the ground reference GND; the other output circuit is connected to the output end of the Hall sensor U1', and comprises: the circuit comprises a resistor R6 ' and a capacitor C2 ', wherein one end of the resistor R6 ' is connected with the output end of the Hall sensor U1 ', the other end of the resistor R1 ' is connected with a microprocessor and one end of the capacitor C2 ', and the other end of the capacitor C2 ' is connected with the ground GND.
For other contents not described in this embodiment, reference may be made to the second embodiment described above.
Various modifications or additions may be made to the described embodiments or alternatives may be employed by those skilled in the art without departing from the spirit or ambit of the invention as defined in the appended claims.
Claims (10)
1. A Hall switch valve arrives at bit detection circuit characterized by, includes:
the Hall sensor is used for detecting a magnetic signal sent by magnetic steel arranged on the valve and outputting an in-place signal according to the detected magnetic signal;
the microprocessor is connected with the Hall sensor circuit and used for sending a valve opening driving signal or a valve closing driving signal to drive the valve to move, receiving an in-place signal sent by the Hall sensor and judging whether the valve is opened in place or closed in place according to the in-place signal;
and the power supply adaptation circuit is connected with the microprocessor and the Hall sensor circuit and is used for receiving a valve opening driving signal or a valve closing driving signal sent by the microprocessor, and the microprocessor supplies power to the Hall sensor through the power supply adaptation circuit and provides reference ground connection for the Hall sensor circuit.
2. The Hall switch valve-to-position detection circuit of claim 1, wherein the power adapter circuit comprises: a triode Q1, a Q2, a diode D1, a diode D2,
the base of triode Q1 connects microprocessor, and microprocessor is connected to triode Q1's projecting pole, and reference ground is connected to triode Q1's collecting electrode, microprocessor is connected to triode Q2's base, and microprocessor is connected to triode Q2's projecting pole, and reference ground is connected to triode Q2's collecting electrode, microprocessor is connected to diode D1's positive pole, and reference ground and hall sensor circuit's power input are connected to diode D1's negative pole, microprocessor is connected to diode D2's positive pole, and reference ground and hall sensor circuit's power input are connected to diode D2's negative pole.
3. The hall switch valve-to-position detection circuit of claim 2, wherein the power adapter circuit further comprises: resistors R1, R2, R3,
the one end of resistance R1 connects microprocessor, and triode Q1's base is connected to resistance R1's the other end, microprocessor is connected to resistance R2's one end, and triode Q2's base is connected to resistance R2's the other end, diode D1's negative pole and diode D2's negative pole are connected to resistance R3's one end, and the other end of resistance R3 connects the Hall sensor circuit.
4. The hall switch valve-to-position detection circuit of claim 1, wherein the hall sensor circuit comprises: a hall sensor and a capacitor C1,
the power input end of the Hall sensor is connected with the output end of the power adapter circuit, the grounding end of the Hall sensor is connected with a reference ground, the output end of the Hall sensor is connected with the microprocessor, one end of the capacitor C1 is connected with the power input end of the Hall sensor, and the other end of the capacitor C1 is connected with the grounding end of the Hall sensor.
5. The hall switch valve-to-position detection circuit of claim 1, wherein the hall sensor circuit comprises: at least two Hall sensors arranged in different directions and the same number of capacitors as the Hall sensors,
the power input end of the Hall sensor is connected with the output end of the power adapter circuit, the grounding end of the Hall sensor is connected with a reference ground, the output end of the Hall sensor is connected with the microprocessor, and a capacitor is connected between the power input end of the Hall sensor and the grounding end of the Hall sensor.
6. The Hall switch valve-to-position detection circuit according to claim 4 or 5, further comprising: and the level conversion module is connected to the output end of the Hall sensor circuit and is used for level conversion of the in-place signal output by the Hall sensor circuit, and the output end of the level conversion module is connected with the microprocessor.
7. The Hall switch valve-to-position detection circuit according to claim 6, wherein the level conversion module comprises: the first level conversion circuits are connected to the output ends of the Hall sensors and used for level conversion of in-place signals output by the Hall sensors, and the output ends of the first level conversion circuits are connected with the microprocessor.
8. The Hall switch valve-to-position detection circuit of claim 7, wherein the first level shift circuit comprises: a resistor R4 and a diode D3,
one end of the resistor R4 is connected with a power supply end, the other end of the resistor R4 is connected with the microprocessor and the anode of the diode D3, and the cathode of the diode D3 is connected with the output end of the Hall sensor.
9. The Hall switch valve-to-position detection circuit according to claim 6, wherein the level conversion module comprises: the second level switching circuit is connected with the output end of the Hall sensor and is used for level switching of the Hall sensor output in-place signals, the output end of the second level switching circuit is connected with the microprocessor,
the second level shift circuit includes: the LED driving circuit comprises diodes D4 and D5 and a resistor R5, wherein the cathode of the diode D4 is connected with the output end of the Hall sensor, the anode of the diode D5 is connected with the microprocessor, one end of the resistor R5 and the anode of the diode D5, the other end of the resistor R5 is connected with a power supply end, and the cathode of the diode D5 is connected with the output end of the Hall sensor.
10. The Hall switch valve-to-position detection circuit according to claim 4 or 5, further comprising: the same output circuit with hall sensor quantity, output circuit connects at hall sensor's output, includes: a resistor R6 and a capacitor C2,
one end of the resistor R6 is connected with the output end of the Hall sensor, the other end of the resistor R6 is connected with the microprocessor and one end of the capacitor C2, and the other end of the capacitor C2 is connected with the reference ground.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910794686.9A CN110618380A (en) | 2019-08-27 | 2019-08-27 | Hall switch valve detection circuitry that targets in place |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910794686.9A CN110618380A (en) | 2019-08-27 | 2019-08-27 | Hall switch valve detection circuitry that targets in place |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110618380A true CN110618380A (en) | 2019-12-27 |
Family
ID=68922065
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910794686.9A Pending CN110618380A (en) | 2019-08-27 | 2019-08-27 | Hall switch valve detection circuitry that targets in place |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110618380A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113176496A (en) * | 2021-04-16 | 2021-07-27 | 廊坊科森电器有限公司 | Non-contact key switch detection method |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2240746Y (en) * | 1995-03-22 | 1996-11-20 | 昆明七五零高新技术公司 | Electricity disc (IC disc) gas fee controller |
JP2010226844A (en) * | 2009-03-23 | 2010-10-07 | Mitsuba Corp | Hall sensor abnormality detector and motor drive |
CN202280930U (en) * | 2011-11-02 | 2012-06-20 | 北京京仪海福尔自动化仪表有限公司 | Hall type valve position measuring device |
US20160341571A1 (en) * | 2014-08-08 | 2016-11-24 | Johnson Electric S.A. | Electronic device and magnetic sensor integrated circuit |
CN107221924A (en) * | 2017-07-31 | 2017-09-29 | 江苏省电力试验研究院有限公司 | A kind of primary cut-out fracture induced voltage suppression circuit, method and test system |
CN210863962U (en) * | 2019-08-27 | 2020-06-26 | 金卡智能集团股份有限公司 | Hall switch valve detection circuitry that targets in place |
-
2019
- 2019-08-27 CN CN201910794686.9A patent/CN110618380A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2240746Y (en) * | 1995-03-22 | 1996-11-20 | 昆明七五零高新技术公司 | Electricity disc (IC disc) gas fee controller |
JP2010226844A (en) * | 2009-03-23 | 2010-10-07 | Mitsuba Corp | Hall sensor abnormality detector and motor drive |
CN202280930U (en) * | 2011-11-02 | 2012-06-20 | 北京京仪海福尔自动化仪表有限公司 | Hall type valve position measuring device |
US20160341571A1 (en) * | 2014-08-08 | 2016-11-24 | Johnson Electric S.A. | Electronic device and magnetic sensor integrated circuit |
CN107221924A (en) * | 2017-07-31 | 2017-09-29 | 江苏省电力试验研究院有限公司 | A kind of primary cut-out fracture induced voltage suppression circuit, method and test system |
CN210863962U (en) * | 2019-08-27 | 2020-06-26 | 金卡智能集团股份有限公司 | Hall switch valve detection circuitry that targets in place |
Non-Patent Citations (1)
Title |
---|
汪洋,谢宗宝: "霍尔元件在阀门阀位监测中的运用", 化工管理, no. 2017, 31 July 2017 (2017-07-31), pages 192 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113176496A (en) * | 2021-04-16 | 2021-07-27 | 廊坊科森电器有限公司 | Non-contact key switch detection method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN210863962U (en) | Hall switch valve detection circuitry that targets in place | |
CN103472752B (en) | A kind of infrared many gears gesture identification switch and gesture identification method | |
CN103929169A (en) | Sensor output level isolation and conversion circuit, level isolation and conversion circuit and device | |
CN104122814B (en) | Switch acquisition transition detection circuitry and detection method thereof | |
CN110618380A (en) | Hall switch valve detection circuitry that targets in place | |
CN209980071U (en) | Small-size intelligent correlation photoelectric switch circuit | |
CN208635285U (en) | A kind of intelligent air condition | |
CN203275595U (en) | Switch state inspection circuit | |
CN109406862B (en) | Switching value detection circuit compatible with high and low effective levels | |
CN209590617U (en) | Universal valve intelligent controller | |
CN203535410U (en) | Infrared multiple-gear hand gesture recognition switch | |
CN209877285U (en) | Circuit for judging running state of compressor | |
CN201444065U (en) | Liquid level temperature sensor | |
CN209723902U (en) | A kind of intelligent door lock circuit | |
CN109391255B (en) | Normally open normally closed integrated two-wire proximity switch circuit | |
CN203178498U (en) | AC/DC capacitive sensor | |
CN201490092U (en) | Electronic pressure switch for digital display microprocessor | |
CN206683790U (en) | Temperature sensor detects circuit and air conditioner | |
CN219800285U (en) | Remote controller circuit and remote controller | |
CN201408014Y (en) | Hall gear sensor | |
CN105675025A (en) | Multifunctional hall sensor module | |
CN110260906A (en) | A kind of code device signal detection circuit of compatible with multiple encoder type | |
JP4007956B2 (en) | Detection switch | |
CN205584164U (en) | Hall proximity switch circuit | |
CN203930411U (en) | A kind of switch acquisition change-over circuit |
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 |