[go: up one dir, main page]

CN106051292B - A kind of electromagnetic valve work condition detection method - Google Patents

A kind of electromagnetic valve work condition detection method Download PDF

Info

Publication number
CN106051292B
CN106051292B CN201610607588.6A CN201610607588A CN106051292B CN 106051292 B CN106051292 B CN 106051292B CN 201610607588 A CN201610607588 A CN 201610607588A CN 106051292 B CN106051292 B CN 106051292B
Authority
CN
China
Prior art keywords
valve
state
chip microcomputer
nominal data
detection
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
CN201610607588.6A
Other languages
Chinese (zh)
Other versions
CN106051292A (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.)
Hebei Qinhan Electronic Technology Co Ltd
Original Assignee
Hebei Qinhan Electronic Technology 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 Hebei Qinhan Electronic Technology Co Ltd filed Critical Hebei Qinhan Electronic Technology Co Ltd
Publication of CN106051292A publication Critical patent/CN106051292A/en
Application granted granted Critical
Publication of CN106051292B publication Critical patent/CN106051292B/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
    • 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)
  • Magnetically Actuated Valves (AREA)

Abstract

The invention discloses a kind of electromagnetic valve work condition detection method, the working condition of magnetic valve is detected in real time using electromagnetic valve work condition checkout gear, the detection means includes power supply unit, single-chip microcomputer, detection unit, human-machine interface unit and security control unit.First, start power-up, single-chip microcomputer complete initialization;Access magnetic valve, the alternating current that single-chip microcomputer is fixed by I/O interfaces output frequency;State detection signal is input to the A/D interfaces of single-chip microcomputer by on-line checking, detection unit, then compared with nominal data;State instruction, magnetic valve is judged to close valve or valve opening state according to comparative result, and indicated.The present invention utilizes in the state of magnetic valve on and off inductance value to change to be out or closed state to detect magnetic valve, and inductance shows different reactance under alternating current, utilize electric resistance partial pressure principle, judge that magnetic valve is on or off state by the change of analysis voltage, realize the accurate detection to electromagnetic valve work state.

Description

A kind of electromagnetic valve work condition detection method
Technical field
The present invention relates to a kind of detection method, more particularly to a kind of electromagnetic valve work condition detection method.
Background technology
Magnetic valve is a kind of electric control valve switch, generally comprises the electromagnet for being wound with coil, when being powered up to coil both ends, Electromagnet produces electromagnetic force and center moving assembly is lifted from valve seat, and valve is opened;During power-off, electromagnetic force disappears, and spring is again Center moving assembly is pressed on valve seat, valve is closed.The working condition of magnetic valve mainly just refer to magnetic valve it is this open and Off status.
In actual applications, it is necessary to carry out real-time online detection to the working condition of magnetic valve, this detection can not influence The normal work of magnetic valve, at the same will also detection is come the real work situation of effective monitoring magnetic valve by this in real time, with true Protect the job security of magnetic valve.
In the prior art, a kind of method detected to combustion gas with the working condition of emergency cut-off magnetic valve is in magnetic valve One detection magnet is installed on the moving assembly of center, and a tongue tube is installed on non-moving component, is opened when magnetic valve is in Or close state when, detection the distance between magnet and tongue tube can change, thus tongue tube will appear from and off two Kind state.This detection method has the disadvantage that:When can be because inertia problem when moving assembly translational speed is too fast, detection Magnet is often shifted over, and so detection is just inaccurate;Second, when gas or liquid with pressure are passed through in magnetic valve, it is mobile Not completely in place, such tongue tube is not easy to adhesive to component;Third, the center moving assembly of magnetic valve inherently carries one Very big electromagnet, when magnetic field caused by electromagnet energization can also make tongue tube produce malfunction;Fourth, detection magnet by Temperature is influenceed it is obvious that magnet is often ineffective in high temperature environments so that detection is inaccurate.
For these reasons, it is necessary to a kind of detection method for electromagnetic valve work state is provided, thus, it is possible to The magnetic valve of line work detects its working condition, while does not influence the normal work of the magnetic valve again, moreover it is possible to is electromagnetic valve work Safety guarantee, the degree of accuracy, not influenced by ambient temperature, man-machine interface and cost of implementation in detection etc. is provided with bright Aobvious advantage.
The content of the invention
The present invention solves the technical problem of a kind of detection method for electromagnetic valve work state is provided, solve existing The working condition for having the magnetic valve in technology to working online, which detects, is forbidden, lacks the problems such as safeguard protection.
In order to solve the above technical problems, one aspect of the present invention is:A kind of electromagnetic valve work state is provided Detection method, the working condition of magnetic valve is detected in real time using electromagnetic valve work condition checkout gear, electromagnetic valve work Condition checkout gear includes power supply unit, single-chip microcomputer, detection unit, human-machine interface unit, and detecting step includes:The first step, open Machine powers up, and by the power supply unit incoming transport civil power of the detection means, direct current is exported after converted, for the list of the detection means Each built-up circuit power supply of piece machine, detection unit, human-machine interface unit, the single-chip microcomputer complete initialization;Second step, access electromagnetism Valve, an I/O interface of the single-chip microcomputer access the inspection of magnetic valve to be detected by the detection divider resistance in the detection unit End is surveyed, the I/O interfaces produce the alternating current that the frequency for detecting the magnetic valve is fixed;3rd step, on-line checking, the single-chip microcomputer The nominal data in flash is read first, if the nominal data is sky, the nominal data is obtained by state scaling method, If the nominal data is existing, the alternating current fixed to the detection unit incoming frequency, the detection unit is by the magnetic valve two The state detection signal that the voltage detection signal at end obtains after handling after filtering, it is input to the A/D interfaces of the single-chip microcomputer, the list Piece machine passes through A/D processing, state-detection data is converted to, then compared with the nominal data;4th step, state instruction, The nominal data include valve opening nominal data and close valve nominal data, if the state-detection data it is identical with valve opening nominal data or It is close, then show that the working condition of the magnetic valve is valve opening by the display output circuit in the human-machine interface unit, if the shape State detects data and pass valve nominal data is same or like, then the working condition of the magnetic valve is shown by the display output circuit To close valve.
In another embodiment of electromagnetic valve work condition detection method of the present invention, the power supply unit includes power supply electricity Road, single-chip microcomputer stand-by power supply circuit, solenoid-driven stand-by power supply circuit, the first bleeder circuit, the second bleeder circuit and transformation Module, the electromagnetic valve work condition checkout gear also include security control unit, and the single-chip microcomputer passes through A/D interfaces detection in real time the The voltage of two bleeder circuits, when monolithic machine testing the second bleeder circuit normal power supply, the single-chip microcomputer is through the security control list Member controls the magnetic valve to be measured to access the detection unit, when monolithic machine testing the second bleeder circuit power down, is waited through delay, The single-chip microcomputer controls the magnetic valve to be measured to disconnect the electrical connection with the detection unit through the security control unit, while controls the electricity Magnet valve driving stand-by power supply circuit accesses the magnetic valve so that the magnetic valve is in close valve state.
In another embodiment of electromagnetic valve work condition detection method of the present invention, the delay is 8 seconds.
In another embodiment of electromagnetic valve work condition detection method of the present invention, the human-machine interface unit includes button Input circuit and display output circuit, the button inputting circuits include button 1, button 2 and button 3, when the single-chip microcomputer judges to be somebody's turn to do When button 3 is pressed, the security control unit controls the magnetic valve to be measured to disconnect the electrical connection with the detection unit, while controls and be somebody's turn to do Solenoid-driven stand-by power supply circuit accesses the magnetic valve so that the magnetic valve is in close valve state.
In another embodiment of electromagnetic valve work condition detection method of the present invention, the method for state demarcation is:It is first First, the button 1 in the button inputting circuits in the human-machine interface unit is pressed, into demarcation state;Then, 2 are pushed button, Setting magnetic valve is close valve state, the alternating current that the single-chip microcomputer is fixed to the detection unit incoming frequency, detection unit output State detection signal corresponding to the valve of magnetic valve pass, is input to the A/D interfaces of the single-chip microcomputer, by A/D processing, is converted to the electromagnetism The pass valve nominal data of valve, by the pass valve nominal data storage into the flash of the single-chip microcomputer;Then, button 2 is unclamped, is set Magnetic valve is valve opening state, the alternating current that the single-chip microcomputer is fixed to the detection unit incoming frequency, detection unit output electromagnetism State detection signal corresponding to valve valve opening, the A/D interfaces of the single-chip microcomputer are input to, by A/D processing, are converted to the magnetic valve Valve opening nominal data, by valve opening nominal data storage into the flash of the single-chip microcomputer;Finally, button 1 is unclamped, exits demarcation State.
Also include calculating in another embodiment of electromagnetic valve work condition detection method of the present invention, in the scaling method Difference between the pass valve nominal data and the valve opening nominal data.
In another embodiment of electromagnetic valve work condition detection method of the present invention, in the 4th step state instruction step Further comprise:If the state-detection data are current close valve state data, the pass valve nominal data and the valve opening are utilized Difference between nominal data, calculate current valve opening state data;If the state-detection data are current valve opening state data, Using the difference between the pass valve nominal data and the valve opening nominal data, current close valve state data are calculated, then, should Preceding close valve state data and current valve opening state data, replaced respectively as new pass valve nominal data and valve opening nominal data Some pass valve nominal data and valve opening nominal data, and store into the flash of the single-chip microcomputer.
In another embodiment of electromagnetic valve work condition detection method of the present invention, frequency is also included in the scaling method The frequency selection step of fixed alternating current:The frequency range for the alternating current that the frequency is fixed is 1kHz~4kHz, is selected respectively The alternating current that three different frequencies f1, f2 and f3 frequency are fixed is demarcated respectively, the friendship for selecting frequency f1 frequency to fix When flowing electric, the absolute value for obtaining the corresponding difference for closing valve nominal data and valve opening nominal data is FK1, selects frequency f2 frequency During fixed alternating current, obtain corresponding to close the absolute value of valve nominal data and the difference of valve opening nominal data be FK2, selection frequency During the alternating current that f3 frequency is fixed, the absolute value for obtaining the corresponding difference for closing valve nominal data and valve opening nominal data is FK3, Then, it is determined that the maximum in FK1, FK2, FK3, using closed corresponding to the maximum valve nominal data and valve opening nominal data as The pass valve nominal data and valve opening nominal data being ultimately stored in single-chip microcomputer flash, and with frequency corresponding to the maximum The frequency for the alternating current that rate is fixed as the frequency.
In another embodiment of electromagnetic valve work condition detection method of the present invention, three different frequencies f1, the f2 and F3 is 1kHz, 2kHz and 4kHz respectively.
The beneficial effects of the invention are as follows:The working condition of magnetic valve is carried out using electromagnetic valve work condition checkout gear real When detect, the detection means includes power supply unit, single-chip microcomputer, detection unit, human-machine interface unit and security control unit.It is first First, start power-up, single-chip microcomputer complete initialization;Access magnetic valve, the exchange that single-chip microcomputer is fixed by I/O interfaces output frequency Electricity;State detection signal is input to the A/D interfaces of single-chip microcomputer by on-line checking, detection unit, then compared with nominal data; State instruction, magnetic valve is judged to close valve or valve opening state according to comparative result, and indicated.The present invention is opened using magnetic valve Be out or closed state to detect magnetic valve with inductance value change in the state of pass, and inductance shown under alternating current it is different Reactance, using electric resistance partial pressure principle, judge that magnetic valve is on or off state by the change of analysis voltage, realize to electricity The accurate detection of magnet valve working condition, convenient use, the degree of accuracy, influenced by ambient temperature, man-machine interface and reality in measurement Ready-made etc. has a clear superiority.
Brief description of the drawings
Fig. 1 is the composition figure of the embodiment of electromagnetic valve work condition checkout gear one;
Fig. 2 is the composition figure of another embodiment of electromagnetic valve work condition checkout gear;
Fig. 3 is the composition figure of another embodiment of electromagnetic valve work condition checkout gear;
Fig. 4 is the composition figure of another embodiment of electromagnetic valve work condition checkout gear;
Fig. 5 is the power circuit composition figure in the embodiment of electromagnetic valve work condition checkout gear shown in Fig. 4;
Fig. 6 is the stand-by circuit composition figure in the embodiment of electromagnetic valve work condition checkout gear shown in Fig. 4;
Fig. 7 is the bleeder circuit composition figure in the embodiment of electromagnetic valve work condition checkout gear shown in Fig. 4;
Fig. 8 is the flow chart of the embodiment of electromagnetic valve work condition detection method one of the present invention;
Fig. 9 is the flow chart of another embodiment of electromagnetic valve work condition detection method of the present invention.
Embodiment
For the ease of understanding the present invention, below in conjunction with the accompanying drawings and specific embodiment, the present invention will be described in more detail. The preferred embodiment of the present invention is given in accompanying drawing.But the present invention can realize in many different forms, and it is unlimited In the embodiment described by this specification.On the contrary, the purpose for providing these embodiments makes to the disclosure Understand more thorough and comprehensive.
It should be noted that unless otherwise defined, all technologies and scientific terminology are with belonging to used in this specification The implication that the those skilled in the art of the present invention are generally understood that is identical.Used term in the description of the invention It is to describe the purpose of specific embodiment, is not intended to the limitation present invention.Term "and/or" bag used in this specification Include the arbitrary and all combination of the Listed Items of one or more correlations.
Below in conjunction with the accompanying drawings, various embodiments of the present invention are described in detail.
Fig. 1 is the composition figure of the embodiment of electromagnetic valve work condition checkout gear one.In Fig. 1, electromagnetic valve work state is examined On-line checking can be carried out to magnetic valve 12 by surveying device 11.Electromagnetic valve work condition checkout gear 11 includes power supply unit 111, uses In electric main to be converted to the direct current needed for electromagnetic valve work condition checkout gear 11.It is single that detection means 11 also includes control Member 112 and detection unit 113, control unit 112 is to the input AC detection signal of magnetic valve 12 to be detected, detection unit 113 The voltage detection signal at detection magnetic valve 12 both ends in real time, and obtain state-detection after voltage detection signal is handled after filtering Signal, the state detection signal are input to control unit 112 again, and processing point is carried out to state detection signal by control unit 112 Analysis, thus judge the working condition of the magnetic valve 12.
Compared with prior art, shape is being opened and closed when embodiment illustrated in fig. 1 is mainly worked online using magnetic valve Under state, the inductance value of magnetic valve changes determines that magnetic valve is in opening or closed mode to detect.This is due to magnetic valve Under on and off, the position of its center magnetic pole changes, and center magnetic pole corresponds to coil after changing and shown The inductance value come also changes.The induction reactance that inductance shows under AC signal effect also differs, and recycles resistance point Press principle, detection unit 113 gather the voltage detection signal at magnetic valve 12 both ends as judge the working condition of magnetic valve 12 according to According to.This detection method is taken, the voltage that can have both been gathered by detecting magnetic valve 12 to open and close under two states is examined Survey signal actual value compared with pre-stored values carry out condition adjudgement, can also by under two states voltage detection signal it is relative Changing value is judged, therefore the use to the detection means has flexibility, while also improves the accuracy of detection.
It is further preferred that control unit 11 shown in Fig. 1 is single-chip microcomputer, the alternating-current detection signal that control unit 11 exports is The alternating current that the frequency of the I/O interfaces output of the single-chip microcomputer is fixed, and state detection signal is input to the A/D of the single-chip microcomputer Interface.Because the function that single-chip microcomputer integrates is more and more, also there is unique advantage in the ratio of performance to price, can be as independent control Unit processed uses.The alternating current that frequency is fixed can be pulse-width signal PWM, and I/O (input/output) interface of single-chip microcomputer can To export the alternating current of different frequency and dutycycle.The A/D interfaces of single-chip microcomputer refer to be integrated with analog/digital conversion in single-chip microcomputer Interface, state detection signal is directly inputted to the A/D interfaces of single-chip microcomputer, analog-to-digital conversion is completed by single-chip microcomputer, obtains single-chip microcomputer Recognizable Digital Detecting value.Thus, it is not necessary to the external A/D converter of single-chip microcomputer, improve the integrated level of detection means.This reality Apply in example, the port for the alternating current that output frequency is fixed can be the PWM port of single-chip microcomputer.
After the ac signal of frequency fixation is passed through to magnetic valve, magnetic valve valve opening and close valve return signal difference can be with There are 100mv voltage magnitudes, and the minimum level that single-chip microcomputer can distinguish voltage is 5mv, so being passed through using embodiment illustrated in fig. 1 Single-chip microcomputer, which produces the alternating current that frequency is fixed, which carries out detection to the on off state of magnetic valve, has higher precision.
In addition, in order to strengthen the applicability to the detection of all kinds of magnetic valves, the frequency for the alternating current that can be fixed to frequency is entered Row is set.This is due to different types of magnetic valve, and its coil turn, magnetic core medium can be different, so to different frequency Exchange electroresponse it is different.Preferably, the alternating current dutycycle that frequency is fixed is 50%, and frequency range is preferably 1kHz-4kHz.
Fig. 2 is the composition figure of another embodiment of electromagnetic valve work condition checkout gear.In fig. 2, except power supply unit 111st, outside as the single-chip microcomputer 212 of control unit, the built-up circuit of detection unit in Fig. 1 113 is further limited, the detection Unit includes detection divider resistance 1131, detection diode 1132, filter resistance 1133 and filter capacitor 1134.As can be seen that The output end of detection divider resistance 1131 electrically connects with the test side of magnetic valve 12 to be detected, detects the defeated of divider resistance 1131 The I/O interfaces for entering the single-chip microcomputer 212 for the alternating current that end is fixed with exporting the frequency electrically connect, and detect the positive pole of diode 1132 Electrically connected with the test side of magnetic valve 12, detect diode 1132 negative pole respectively with filter resistance 1133 and filter capacitor 1134 Electrical connection, and also electrically connect single-chip microcomputer 212 A/D interfaces, filter resistance 1133, filter capacitor 1134 the other end with electricity The earth terminal of magnet valve 12 is altogether.Also include human-machine interface unit 214 in Fig. 2, human-machine interface unit 214 further comprises that button is defeated Enter circuit and display output circuit, the button inputting circuits and display output circuit are respectively connected to the different I/O of the single-chip microcomputer Interface.Preferably, button inputting circuits include button 1, button 2 and button 3 totally 3 buttons, and display output circuit is included at least Two Light-Emitting Diodes, for indicating the on off state of magnetic valve to be measured.
Preferably, it is 240 ohm, the resistance 51k of filter resistance 1133 to detect the resistance of divider resistance 1131, filter capacitor 1134 Capacitance be 10uf, detection the type selecting of diode 1132 be IN4007.
By embodiment illustrated in fig. 2 as can be seen that by detection divider resistance 1131, detection diode 1132, filter resistance 1133 and the detection unit that forms of filter capacitor 1134 can realize detection function to the on off state of magnetic valve 12, detect circuit Cost is low, it is easy to accomplish.
Fig. 3 is the composition figure of another embodiment of electromagnetic valve work condition checkout gear.Compared with Fig. 2, detection dress shown in Fig. 3 Putting embodiment also includes security control unit 215.Preferably, the one end of security control unit 215 connection power supply unit 111, it is another End is accessed magnetic valve 12 under the control of single-chip microcomputer 212I/O interfaces, to detection unit 113 and is controlled.Thus, magnetic valve 12 Input in the presence of security control unit 215, detection unit 113 and power supply unit 111 can be respectively connected to, not only may be used To detect the working condition of magnetic valve 12, safeguard protection can also be provided for magnetic valve.
The circuit composition and the course of work of security control unit 215 are further illustrated below in conjunction with Fig. 4.In Fig. 2, Fig. 3 institute On the basis of showing embodiment, Fig. 4 further provides the preferred embodiment of security control unit 215, and to power supply unit Inside composition is defined.Fig. 4 repeats no more with identical built-up circuit in Fig. 2.As can be seen that partial pressure electricity is detected in Fig. 4 The I/O interfaces of the single-chip microcomputer 212 for the alternating current that the input of resistance 1131 is fixed with exporting the frequency do not electrically connect directly, and It is to be controlled by security control unit between the output end of the detection divider resistance and the test side of the magnetic valve to be detected The break-make of electrical connection.
The security control unit in detection means embodiment in Fig. 4 includes peace control circuit and peace control relay 2155, peace One end of the first peace control resistance 2151 in control circuit electrically connects with the I/O interfaces of single-chip microcomputer 212, the first peace control resistance 2151 The other end electrically connects with the base stage of the second peace control resistance 2153 and peace control triode 2152, the other end of the second peace control resistance 2153 Altogether, the colelctor electrode connection peace for pacifying control triode 2152 controls the low-voltage of relay 2155 to the emitter stage for controlling triode 2152 with peace Control terminal, peace control relay 2155 high voltage control termination 5V voltage VCC, peace control relay 2155 low-voltage control terminal and A peace control diode 2154, the low-voltage control terminal connection peace control diode of peace control relay are also concatenated between high voltage control terminal 2154 positive pole, the negative pole of the high voltage control terminal connection peace control diode 2154 of peace control relay, peace control relay 2155 Common 2155C electrically connects the test side of magnetic valve 12, the normally-closed contact 2155B electrical connection detections point of peace control relay 2155 The output end of piezoresistance 1131, the normally opened contact 2155A electrical connection solenoid-driven stand-by power supply circuits of peace control relay 2155 1114 output end, after single-chip microcomputer 212 detects that power supply unit has a power failure, control peace control circuit disconnection detection divider resistance 1131 Output end and magnetic valve 12 electrical connection, be also turned on the output end and magnetic valve of solenoid-driven stand-by power supply circuit 1114 12 electrical connection, powered from solenoid-driven stand-by power supply circuit 1114 to magnetic valve 12 so that magnetic valve 12, which enters, closes shape State.
Further, the power supply unit in Fig. 4 includes power circuit 1111, and power circuit 1111 changes 220V alternating currents For 24V direct currents.It is standby that the output end of power circuit 1111 is electrically connected single-chip microcomputer stand-by power supply circuit 1112, solenoid-driven The bleeder circuit 1113 of power circuit 1114 and first, the output end of single-chip microcomputer stand-by power supply circuit 1112 electrical connection voltage changing module 1116 With the second bleeder circuit 1115, voltage changing module 1116 is that single-chip microcomputer 212 is powered, the first bleeder circuit 1113 and the second bleeder circuit 1115 are electrically connected the A/D interfaces of single-chip microcomputer 212.
The detection means embodiment can not only detect to the working condition of magnetic valve, can also be in the situation of power down Solenoid-driven stand-by power supply circuit 1114 is linked into by magnetic valve 12 to be measured by security control unit down, so as to ensure power down Magnetic valve is in close valve state afterwards.Process work is as follows:Power circuit 1111 is by the second bleeder circuit 1115 by voltage shape State be sent into single-chip microcomputer 212 A/D interfaces, single-chip microcomputer 212 by preset program judge power circuit 1111 whether power down, after power down Powered to single-chip microcomputer 212 and peace control relay 2155 by single-chip microcomputer stand-by power supply circuit 1112, and connect by the I/O of single-chip microcomputer 212 The normally opened contact 2155A closures of mouth output signal control peace control relay 2155, by solenoid-driven stand-by power supply circuit 1114 Electric energy be released to magnetic valve 12 and make its adhesive.
In addition, button 1, button 2 and button 3 connect single-chip microcomputer 212 by I/O interfaces in button inputting circuits, by by Key operation and the operation program of single-chip microcomputer 212, can be after button be pressed, the I/O interface output signals control peace control of single-chip microcomputer 212 The normally opened contact 2155A closures of relay 2155, magnetic valve is released to by the electric energy of solenoid-driven stand-by power supply circuit 1114 12 make its adhesive.Thus, it is possible to data acquisition is carried out to the inductance value of magnetic valve in closed state.
Preferably, Fig. 5 shows a preferred embodiment of power circuit 1111 in Fig. 4.The power circuit includes insurance Silk 3111-1, the adjustable resistance 3111-2 and transformer 3111-3 being serially connected between the live wire and ground wire of AC220V alternating currents, lead to The rectification circuit being made up of 4 diode 3111-4, then the RC filter circuits being made up of resistance 3111-5 and electric capacity 3111-6 are crossed, Export 24V DC voltage.
Preferably, Fig. 6 shows single-chip microcomputer stand-by power supply circuit 1112 and solenoid-driven stand-by power supply circuit in Fig. 4 1114 preferred embodiment.The two stand-by power supply circuits are straight using identical circuit composition structure, the 24V of power circuit Flow voltage output end electrical connection diode 3112-1 positive pole, diode 3112-1 negative pole difference two idle capacities in parallel 3112-1,3112-2, the two electric capacity 3112-1,3112-2 other end are altogether.Diode 3112-1 negative pole is also that this is standby Just relay 2155 is controlled with the output end of the output end of circuit, such as solenoid-driven stand-by power supply circuit 1114 with peace in Fig. 4 Normally opened contact 2155A electrical connection.Preferably, two idle capacities 3112-1,3112-2 are unipolarity electric capacity, and electric capacity is nominal It is worth for 2200uf/50v.
Preferably, Fig. 7 shows that one of the first bleeder circuit 1113 and the second bleeder circuit 1115 in Fig. 4 is preferable to carry out Example.The two bleeder circuits are using identical circuit composition structure, the 24V DC voltage output ends either monolithic of power circuit The 24V DC voltages of machine stand-by power supply circuit output pass through electric capacity 3113-4 grounding shunts, series connection divider resistance 3113-1 one end 24V, another terminating resistor 3113-3 and resistance 3113-2 are met, resistance 3113-3 other end ground connection, resistance 3113-2's is another Hold the output end as the bleeder circuit.Preferably, resistance 3113-1 resistance is 82k, and resistance 3113-3 resistance is 9k, electricity The resistance for hindering 3113-2 is 1k.
Based on same design, present invention also offers a kind of electromagnetic valve work condition detection method.
Fig. 8 shows the flow chart of the embodiment of electromagnetic valve work condition detection method one of the present invention.The detection method is implemented Example is mainly detected in real time using electromagnetic valve work condition checkout gear shown in Fig. 2 to the working condition of magnetic valve.
In Fig. 8, first step S801, start power-up, by power circuit incoming transport civil power, direct current is exported after converted, For each built-up circuit power supply in single-chip microcomputer, detection unit, human-machine interface unit, single-chip microcomputer completes initialization;Second step S802, Magnetic valve is accessed, an I/O interface of single-chip microcomputer accesses magnetic valve to be detected by the detection divider resistance in detection unit Test side, the I/O interfaces output frequency fix alternating current;3rd step S803, on-line checking, single-chip microcomputer are read first Nominal data in flash, if nominal data is sky, nominal data is obtained by state scaling method, if nominal data is In the presence of the alternating current then fixed to detection unit incoming frequency, detection unit passes through the voltage detection signal at magnetic valve both ends The state detection signal obtained after filtering process, is input to the A/D interfaces of single-chip microcomputer, and single-chip microcomputer passes through A/D processing, is converted to shape State detects data, then compared with nominal data;4th step S804, state instruction, nominal data include valve opening demarcation number According to close valve nominal data, if state-detection data and valve opening nominal data are same or like, by human-machine interface unit Display output circuit show that the working condition of magnetic valve be valve opening, if state-detection data are with pass, valve nominal data is identical or phase Closely, then show that the working condition of magnetic valve is pass valve by display output circuit.
Further, the working condition of magnetic valve is carried out using the electromagnetic valve work condition checkout gear shown in Fig. 4 real When detecting, single-chip microcomputer is by the voltage of A/D interfaces the second bleeder circuit of detection in real time, when the bleeder circuit of monolithic machine testing second During normal power supply, single-chip microcomputer controls magnetic valve to be measured to access detection unit through security control unit, when monolithic machine testing second divides During volt circuit power down, waited through delay, such as be preferably delay 8 seconds, single-chip microcomputer controls magnetic valve to be measured through security control unit The electrical connection with detection unit is disconnected, while controls solenoid-driven stand-by power supply circuit to access magnetic valve so that at magnetic valve In close valve state.
Preferably, after single-chip microcomputer is except detection power down, control solenoid-driven stand-by power supply circuit access magnetic valve makes Obtain magnetic valve and be in close valve state, can also be by the way that by key control, control solenoid-driven stand-by power supply circuit be accessed into electromagnetism Valve.For example, when single-chip microcomputer judges that button 3 is pressed, security control unit controls magnetic valve to be measured to disconnect the electricity with detection unit Connection, while control solenoid-driven stand-by power supply circuit to access magnetic valve so that the magnetic valve is in close valve state.
Further, Fig. 9 shows a preferred embodiment flow chart of state scaling method in Fig. 8.In Fig. 9, first S901, the button 1 in the button inputting circuits in human-machine interface unit is pressed, into demarcation state;Then S902, push button 2, setting magnetic valve is close valve state, the alternating current that single-chip microcomputer is fixed to detection unit incoming frequency, detection unit output electromagnetism Valve close valve corresponding to state detection signal, be input to the A/D interfaces of single-chip microcomputer, by A/D processing, be converted to the pass valve of magnetic valve Nominal data, the storage of valve nominal data will be closed into the flash of single-chip microcomputer;Then S903, unclamps button 2, and setting magnetic valve is Valve opening state, the alternating current that single-chip microcomputer is fixed to detection unit incoming frequency, shape corresponding to detection unit output solenoid valve valve opening State detection signal, the A/D interfaces of single-chip microcomputer are input to, by A/D processing, are converted to the valve opening nominal data of magnetic valve, will open Valve nominal data is stored into the flash of the single-chip microcomputer;Last S904, button 1 is unclamped, exits demarcation state.
In actual applications, because the alternating current that the frequency of electromagnetic valve switch state-detection is fixed is really DC pulse, With one-way.This detection pulse is passed through for a long time solenoid valve shaft magnet steel can be made just to give birth to magnetize or demagnetization effects, it may occur that The problem of A/D values skew of state detection signal.Corresponding moving tracks are that the A/D of state detection signal corresponding to valve opening is absolute Value changes, and the A/D absolute values for closing state detection signal corresponding to valve also change, and the relative value of the two values is substantially not It can change.It is preferred, therefore, that also include calculating closing between valve nominal data and valve opening nominal data in above-mentioned scaling method Difference, the difference generally remain constant.
It is further preferred that further comprise in the 4th step S804 state instruction steps shown in Fig. 8:If state-detection number According to for current close valve state data, then using the difference between above-mentioned pass valve nominal data and valve opening nominal data, calculate current Valve opening state data;If state-detection data are current valve opening state data, number is demarcated with valve opening using valve nominal data is closed Difference between, current close valve state data are calculated, then, by current close valve state data and current valve opening state data, Existing pass valve nominal data and valve opening nominal data are replaced respectively as new pass valve nominal data and valve opening nominal data, and In the flash for storing the single-chip microcomputer.
Thus, the following the drift of magnetic valve of dynamic is updated and closes valve nominal data and valve opening nominal data, as The a reference value of magnetic valve state is judged next time.
There is a problem to merit attention in practical application, be exactly alternating current of the magnetic valve to different frequency of different model The induction reactance of presentation is different.When the change of induction reactance directly results in magnetic valve valve opening or closes valve, the pass valve that monolithic function detects is demarcated Difference between data and valve opening nominal data is different, and the difference show to close the difference of valve and valve opening more greatly it is more obvious, can be with Improve accuracy of detection.Can is passed through the alternating current of the frequency fixation of different frequency to magnetic valve when so state is demarcated, and chooses The frequency corresponding to the maximum value in difference between valve nominal data and valve opening nominal data is wherein closed to fix as the frequency Alternating current detection frequency.
Preferably, the frequency selection step for the alternating current that frequency is fixed also is included in state scaling method:What frequency was fixed The frequency range of alternating current is 1kHz~4kHz, the alternating current for selecting three different frequencies f1, f2 and f3 frequency to fix respectively Demarcated respectively, when selecting the frequency f1 alternating current of frequency fixation, obtain corresponding valve nominal data of closing and demarcated with valve opening The absolute value of the difference of data is FK1, during the alternating current for selecting frequency f2 frequency to fix, obtain corresponding to close valve nominal data with The absolute value of the difference of valve opening nominal data is FK2, when selecting the frequency f3 alternating current of frequency fixation, obtains corresponding pass valve mark The absolute value of the difference of fixed number evidence and valve opening nominal data is FK3, then, it is determined that the maximum in FK1, FK2, FK3, with the maximum Valve nominal data is closed corresponding to value with valve opening nominal data as the pass valve demarcation number being ultimately stored in the single-chip microcomputer flash According to valve opening nominal data, and the frequency for the alternating current fixed using frequency corresponding to the maximum as the frequency.
For example, valve opening corresponding to the exchange electro-detection that A classes magnetic valve is fixed to 1kHz frequency and the nominal data of pass valve Difference the exchange electro-detection fixed for 10, A classes magnetic valve to 2kHz frequency of absolute value corresponding to valve opening and pass valve demarcation The absolute value of the difference of data is 20, then selects demarcation and detection frequency of the alternating current that 2kHz frequency is fixed as A class magnetic valves The ac frequency that rate is fixed.In contrast, valve opening corresponding to the exchange electro-detection that B classes magnetic valve is fixed to 1kHz frequency and The absolute value for closing the difference of the nominal data of valve is 20, A classes magnetic valve to being opened corresponding to the exchange electro-detection of 2kHz frequency fixation The absolute value of the difference of the nominal data of valve and pass valve is 10, then selects the alternating current that 1kHz frequency is fixed as B class magnetic valves Demarcation and output frequency fix alternating current frequency.
Preferably, above three different frequency f1, f2 and f3 are 1kHz, 2kHz and 4kHz respectively.
Based on above example, the working condition of magnetic valve is examined in real time using electromagnetic valve work condition checkout gear Survey, the detection means includes power supply unit, single-chip microcomputer, detection unit, human-machine interface unit and security control unit.First, open Machine powers up, and single-chip microcomputer completes initialization;Access magnetic valve, the alternating current that single-chip microcomputer is fixed by I/O interfaces output frequency;Online State detection signal is input to the A/D interfaces of single-chip microcomputer by detection, detection unit, then compared with nominal data;State refers to Show, magnetic valve is judged to close valve or valve opening state according to comparative result, and indicated.The present invention is realized to electromagnetic valve work The accurate detection of state, convenient use, degree of accuracy, influenced by ambient temperature, man-machine interface and cost of implementation in measurement etc. Aspect has a clear superiority.
Embodiments of the invention are the foregoing is only, are not intended to limit the scope of the invention, it is every to utilize this hair The equivalent structure transformation that bright specification and accompanying drawing content are made, or other related technical areas are directly or indirectly used in, It is included within the scope of the present invention.

Claims (9)

1. a kind of electromagnetic valve work condition detection method, it is characterised in that using electromagnetic valve work condition checkout gear to electromagnetism The working condition of valve is detected in real time, electromagnetic valve work condition checkout gear include power supply unit, single-chip microcomputer, detection unit, Human-machine interface unit, detecting step include:
The first step, start power-up, by the power supply unit incoming transport civil power of the detection means, direct current is exported after converted, Powered for each built-up circuit of the single-chip microcomputer of the detection means, detection unit, human-machine interface unit, the single-chip microcomputer is completed just Beginningization;
Second step, accesses magnetic valve, and an I/O interface of the single-chip microcomputer passes through the detection divider resistance in the detection unit Access the test side of magnetic valve to be detected, the alternating current that the I/O interfaces output frequency is fixed;
3rd step, on-line checking, the single-chip microcomputer read the nominal data in flash first, if the nominal data is sky, The nominal data is obtained by state scaling method, if the nominal data is existing, frequency is inputted to the detection unit The alternating current that rate is fixed, what the detection unit obtained after the voltage detection signal at the magnetic valve both ends is handled after filtering State detection signal, is input to the A/D interfaces of the single-chip microcomputer, and the single-chip microcomputer passes through A/D processing, is converted to state-detection number According to then compared with the nominal data;
4th step, state instruction, the nominal data includes valve opening nominal data and closes valve nominal data, if the state-detection Data and valve opening nominal data are same or like, then show the electricity by the display output circuit in the human-machine interface unit The working condition of magnet valve is valve opening, if the state-detection data are same or like with closing valve nominal data, by described aobvious Show that output circuit shows that the working condition of the magnetic valve is pass valve.
2. electromagnetic valve work condition detection method according to claim 1, it is characterised in that said supply unit includes electricity Source circuit, single-chip microcomputer stand-by power supply circuit, solenoid-driven stand-by power supply circuit, the first bleeder circuit, the second bleeder circuit and Voltage changing module, the electromagnetic valve work condition checkout gear also include security control unit, and the single-chip microcomputer is real by A/D interfaces When detect the voltage of the second bleeder circuit, when the second bleeder circuit of monolithic machine testing normal power supply, the single-chip microcomputer warp The security control unit control magnetic valve to be measured accesses the detection unit, when the partial pressure of monolithic machine testing second electricity During the power down of road, waited through delay, the single-chip microcomputer through the security control unit control magnetic valve to be measured disconnect with it is described The electrical connection of detection unit, while control the solenoid-driven stand-by power supply circuit to access the magnetic valve so that the electricity Magnet valve is in close valve state.
3. electromagnetic valve work condition detection method according to claim 2, it is characterised in that the delay is 8 seconds.
4. the electromagnetic valve work condition detection method according to Claims 2 or 3, it is characterised in that the man-machine interface list Member includes button inputting circuits and display output circuit, and the button inputting circuits include button 1, button 2 and button 3, work as institute When stating single-chip microcomputer and judging that the button 3 is pressed, the single-chip microcomputer controls the magnetic valve to be measured to break through the security control unit The electrical connection with the detection unit is opened, while controls the solenoid-driven stand-by power supply circuit to access the magnetic valve, is made Obtain the magnetic valve and be in close valve state.
5. electromagnetic valve work condition detection method according to claim 4, it is characterised in that the method for the state demarcation It is:
First, the button 1 in the button inputting circuits in the human-machine interface unit is pressed, into demarcation state;
Then, 2 are pushed button, setting magnetic valve is close valve state, and the single-chip microcomputer is fixed to the detection unit incoming frequency Alternating current, the detection unit output solenoid valve closes state detection signal corresponding to valve, and the A/D for being input to the single-chip microcomputer connects Mouthful, by A/D processing, the pass valve nominal data of the magnetic valve is converted to, the list is arrived into the pass valve nominal data storage In the flash of piece machine;
Then, button 2 is unclamped, setting magnetic valve is valve opening state, and the single-chip microcomputer is fixed to the detection unit incoming frequency Alternating current, state detection signal corresponding to the detection unit output solenoid valve valve opening, the A/D for being input to the single-chip microcomputer connects Mouthful, by A/D processing, the valve opening nominal data of the magnetic valve is converted to, the list is arrived into valve opening nominal data storage In the flash of piece machine;
Finally, button 1 is unclamped, exits demarcation state.
6. electromagnetic valve work condition detection method according to claim 5, it is characterised in that also wrapped in the scaling method Include and calculate the difference closed between valve nominal data and the valve opening nominal data.
7. electromagnetic valve work condition detection method according to claim 6, it is characterised in that refer in the 4th step state Show that step further comprises:If the state-detection data are current close valve state data, the pass valve demarcation number is utilized According to the difference between the valve opening nominal data, current valve opening state data are calculated;If the state-detection data are current Valve opening state data, then using the difference between the pass valve nominal data and the valve opening nominal data, calculate current pass valve Status data, then, by the current close valve state data and current valve opening state data, number is demarcated respectively as new pass valve Existing pass valve nominal data and valve opening nominal data are replaced according to valve opening nominal data, and is stored to the single-chip microcomputer In flash.
8. the electromagnetic valve work condition detection method according to any one of claim 5 to 7, it is characterised in that the mark Determine the frequency selection step for also including the alternating current that frequency is fixed in method:The frequency range for the alternating current that the frequency is fixed is 1kHz~4kHz, the alternating current for selecting three different frequencies f1, f2 and f3 frequency to fix respectively are demarcated respectively, selection frequency During the alternating current that rate f1 frequency is fixed, the absolute value for obtaining the corresponding difference for closing valve nominal data and valve opening nominal data is FK1, when selecting the frequency f2 alternating current of frequency fixation, obtain the corresponding difference for closing valve nominal data and valve opening nominal data Absolute value is FK2, when selecting the frequency f3 alternating current of frequency fixation, obtains corresponding pass valve nominal data and valve opening demarcation number Absolute value according to its difference is FK3, then, it is determined that the maximum in FK1, FK2, FK3, to close valve demarcation corresponding to the maximum Data are demarcated with valve opening nominal data as the pass valve nominal data being ultimately stored in the single-chip microcomputer flash and valve opening Data, and the frequency for the alternating current fixed using frequency corresponding to the maximum as the frequency.
9. electromagnetic valve work condition detection method according to claim 8, it is characterised in that three different frequencies F1, f2 and f3 are 1kHz, 2kHz and 4kHz respectively.
CN201610607588.6A 2016-07-27 2016-07-29 A kind of electromagnetic valve work condition detection method Active CN106051292B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2016105966402 2016-07-27
CN201610596640 2016-07-27

Publications (2)

Publication Number Publication Date
CN106051292A CN106051292A (en) 2016-10-26
CN106051292B true CN106051292B (en) 2018-02-09

Family

ID=57196301

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610607588.6A Active CN106051292B (en) 2016-07-27 2016-07-29 A kind of electromagnetic valve work condition detection method

Country Status (1)

Country Link
CN (1) CN106051292B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107191658A (en) * 2017-06-09 2017-09-22 北京万世明科技发展有限公司 Two-wire system realizes the method and device of solenoid valve control and state-detection
CN107654715B (en) * 2017-10-12 2023-11-24 深圳市东震实业有限公司 Solenoid valve control circuit and solenoid valve on-off state detection method
CN108646176A (en) * 2018-06-27 2018-10-12 深圳秦汉发展有限公司 Detection circuit for electromagnetic valve and its device
CN110657279A (en) * 2019-10-12 2020-01-07 深圳市凌宝电子有限公司 Solenoid valve capable of identifying on-off state
CN114719070B (en) * 2021-01-04 2025-05-27 金卡智能集团股份有限公司 Gas shut-off valve detection system
CN113848468B (en) * 2021-09-22 2024-10-18 华帝股份有限公司 Solenoid valve state detection method based on unit impulse function and solenoid valve

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102829240A (en) * 2011-06-15 2012-12-19 伊顿公司 Solenoid-operated valve and method of monitoring same
CN103195975A (en) * 2013-04-12 2013-07-10 合肥工业大学 Method for controlling piezoelectric valve positioner capable of changing PWM (pulse-width modulation) duty ratio
CN204225913U (en) * 2014-10-14 2015-03-25 广州日滨科技发展有限公司 Electromagnetic valve driver
US9134107B2 (en) * 2012-03-26 2015-09-15 Buerkert Werke Gmbh Solenoid valve having a condition monitoring unit, and a method of condition monitoring a solenoid valve

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8000909B2 (en) * 2009-05-27 2011-08-16 Dresser, Inc. System and method for monitoring and controlling pressure relief valve performance

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102829240A (en) * 2011-06-15 2012-12-19 伊顿公司 Solenoid-operated valve and method of monitoring same
US9134107B2 (en) * 2012-03-26 2015-09-15 Buerkert Werke Gmbh Solenoid valve having a condition monitoring unit, and a method of condition monitoring a solenoid valve
CN103195975A (en) * 2013-04-12 2013-07-10 合肥工业大学 Method for controlling piezoelectric valve positioner capable of changing PWM (pulse-width modulation) duty ratio
CN204225913U (en) * 2014-10-14 2015-03-25 广州日滨科技发展有限公司 Electromagnetic valve driver

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
基于电感模型的高压比例电磁阀无传感器位置检测;蔡胜年;《中国测试》;20160331;第42卷(第3期);59-63 *
比例电磁阀PWM驱动器中阀线圈电流检测技术;邓世建;《机床与液压》;20131130;第41卷(第22期);110-112 *

Also Published As

Publication number Publication date
CN106051292A (en) 2016-10-26

Similar Documents

Publication Publication Date Title
CN106051292B (en) A kind of electromagnetic valve work condition detection method
CN106153086B (en) A kind of electromagnetic valve work condition checkout gear
CN201532590U (en) Temperature and humidity controller
EP4024057B1 (en) Residual current detection method based on magnetic core working state switching
CN205808433U (en) A kind of electromagnetic valve work condition checkout gear
CN1215160A (en) Method and device for testing armature position in magnetic resistance type electromagnet actuator
US20160027600A1 (en) Drive circuit for dc latching devices
US8035528B2 (en) Fast detection of contact status with AC wetting voltage using ratiometric approach
CN207303983U (en) A kind of multrirange current detection circuit based on intelligent electric meter
CN207232324U (en) A kind of fault diagnosis circuit of low side driving
CN107167694B (en) A kind of solenoid valve earth fault detection circuit of automobile outer control variable displacement compressor
CN209557770U (en) A kind of Antiexplosive electromagnetic valve coil presence detection device
CN106026806A (en) Stepping motor control system based on programmable controller
CN1987498A (en) Method and device for lack of zero detection for three phase circuit
CN207866881U (en) The phase current sensing of permanent magnet synchronous motor protects circuit
CN105973274B (en) A kind of signal deteching circuit and device
CN105606999B (en) A kind of multichannel intermediate relay calibration equipment
CN204925350U (en) Permanent magnetism on -off mechanism functional test platform
US20120185207A1 (en) Three wire transformer position sensor, signal processing circuitry, and temperature compensation circuitry therefor
CN207923316U (en) A kind of NTC temperature sensor signals detection circuit
JP2002182704A (en) Method and device for conrolling electrical load
CN216117953U (en) Secondary side fault detection device of voltage transformer
CN105914723A (en) Switching device of residual current circuit breaker
CN206557547U (en) Relay actuation time test circuit
EP4133289B1 (en) Energy metering and surge current detection

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant