CN107589699A - A kind of relay output state keeping method and solid-state relay used - Google Patents

A kind of relay output state keeping method and solid-state relay used Download PDF

Info

Publication number
CN107589699A
CN107589699A CN201710869006.6A CN201710869006A CN107589699A CN 107589699 A CN107589699 A CN 107589699A CN 201710869006 A CN201710869006 A CN 201710869006A CN 107589699 A CN107589699 A CN 107589699A
Authority
CN
China
Prior art keywords
relay
state
solid
chip microcomputer
circuit
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
Application number
CN201710869006.6A
Other languages
Chinese (zh)
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.)
Guizhou Zhenhua Qunying Electrical Appliance Co Ltd (state-Owned 891 Factory)
Original Assignee
Guizhou Zhenhua Qunying Electrical Appliance Co Ltd (state-Owned 891 Factory)
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 Guizhou Zhenhua Qunying Electrical Appliance Co Ltd (state-Owned 891 Factory) filed Critical Guizhou Zhenhua Qunying Electrical Appliance Co Ltd (state-Owned 891 Factory)
Priority to CN201710869006.6A priority Critical patent/CN107589699A/en
Publication of CN107589699A publication Critical patent/CN107589699A/en
Pending legal-status Critical Current

Links

Landscapes

  • Relay Circuits (AREA)

Abstract

The invention discloses a kind of relay output state keeping method and solid-state relay used, this method be by setting state retaining circuit, make relay remain powered off before output state, realize that state keeps function;Solid-state relay used in this method, including relay circuit(1), relay circuit(1)Pass through solid-state relay circuit input end(10)With state retaining circuit(2)Connection, the other end and out-put supply(3)Connection;The state retaining circuit(2)Including single-chip microcomputer(4), single-chip microcomputer(4)In be provided with data accumulating unit(5), single-chip microcomputer(4)With bias supply(6)With input common port(7)Connection.The solid-state relay of the present invention remains to the working condition before remaining powered off when restoring electricity after a loss of power, and there is state to keep function, can effectively reduce because accident power-off and caused by influence.

Description

A kind of relay output state keeping method and solid-state relay used
Technical field
The present invention relates to a kind of electronic device, particularly a kind of relay output state keeping method and solid relay used Device.
Background technology
Solid-state relay(Solid State Relay, abridge SSR), it is a kind of to be all made up of solid state electrical components New noncontacting switch device, it utilizes electronic component (such as semiconductor devices such as FET, switch triode, controllable silicons) The purpose of switching characteristic, with can reach contactless no-spark make-and-break contact, therefore it is otherwise known as " noncontacting switch ".
Solid-state relay is divided into the solid-state relay of no bias supply and has the solid-state relay of bias supply;Without biased electrical The solid-state relay in source(As shown in Figure 3)In application circuit, when switching K closures, relay output end is connected, when switch K breaks When opening, relay output end shut-off, stateless keeps function.
There is the solid-state relay of bias supply(As shown in Figure 4)In application circuit, normally apply bias supply, as switch K During closure, relay output end connect, when switch K disconnect when, relay output end shut-off, after bias supply powers off again on When electric, relay working condition is relevant with switch K state, and stateless keeps function.
Therefore, existing solid-state relay is when power supply recovery after power cut is powered, it is difficult to the work before remaining powered off State, do not possess state and keep function.
The content of the invention
It is an object of the present invention to provide a kind of relay output state keeping method and solid-state relay used.This hair When bright solid-state relay restores electricity after a loss of power, the working condition before remaining powered off is remained to, there is state to keep function, energy Effectively reduce because accident power-off and caused by influence.
Technical scheme:A kind of relay output state keeping method, this method are kept by setting state Circuit, make relay remain powered off before output state, realize state keep function.
In a kind of foregoing relay output state keeping method, methods described is the profit by setting state retaining circuit With the output state and output control pulse before the single-chip microcomputer meter relay power-off being located in state retaining circuit, make relay Output state before remaining powered off, realize that state keeps function.
The single-chip microcomputer, it is by data accumulating unit record in a kind of foregoing relay output state keeping method Working condition before relay power-off;By I/O-3 mouth control relay circuits, the work for being recorded relay output single-chip microcomputer Make state;Pulse is controlled by I/O-1 the and I/O-2 mouths input of single-chip microcomputer, changes the output state of relay.
Solid-state relay used in a kind of foregoing relay output state keeping method, including relay circuit, relay Device circuit is connected by solid-state relay circuit input end with state retaining circuit, and the other end is connected with out-put supply;The shape State holding circuit includes single-chip microcomputer, and data accumulating unit is provided with single-chip microcomputer, and single-chip microcomputer connects with bias supply and input common port Connect.
In foregoing solid-state relay, the single-chip microcomputer is provided with input control port and output control port, I/O-1 and I/O-2 is input control port, and I/O-3 is output control port, and to connect control terminal, I/O-2 is controlled the I/O-1 for shut-off End, single-chip microcomputer are connected by I/O-3 mouths with solid-state relay circuit input end.
In foregoing solid-state relay, the relay circuit is without bias supply solid-state relay or has bias supply to consolidate Body relay;The no bias supply solid-state relay circuit input end is that high level is effective;It is described have bias supply solid after Appliance circuit input is that high level is effective or low level is effective.
Compared with prior art, solid-state relay working power is kept for state by the bias supply of setting, connects control System and shut-off control are pulse signal, when relay is on-state, apply control pulse connecting control terminal, relay is still Remain turned on, when turning off control terminal application control pulse, relay switchs to off state by on-state;Work as relay For off state when, apply control pulse in shut-off control terminal, relay is still held off, and applies control connecting control terminal During pulse processed, relay switchs to on-state by off state;When biased electrical source recovery after power cut is powered, relay is kept Output state before power down.Realize that state keeps function.
By setting single-chip microcomputer(Also known as microcontroller, it is abbreviated as MCU), its built-in E2PROM or other has repeatable change Write, the data accumulating unit of power down holding function, as relay working condition mnemon, for writing the output of relay State, the I/O-1 mouths and I/O-2 mouths of single-chip microcomputer are used as input control pulse, and I/O-3 mouths are used to control solid-state relay to input Circuit, turn on and off solid-state relay.
When electric in biased electrical source, single-chip microcomputer first reads the value of relay supervisor's state mnemon, then according to it Value determines the working condition of relay, and controls solid-state relay circuit by I/O-3, makes solid-state relay output single-chip microcomputer institute The working condition of memory.
Relay make pulse is effective, and relay in an ON state and remembers its working condition, and make pulse recovers nothing After effect, relay remains turned on.
Relay shut-off pulse it is effective, relay is off state and remembers its working condition, shut-off pulse-recovery without After effect, relay is held off.
Above-mentioned single-chip microcomputer control function, realize, SCM program processing step is as follows by SCM program:
The first step:Initialization;
Second step:Output state data are read, output port is delivered to after processing;
3rd step:Read input control port information;
4th step:Judge whether connection control terminal is effective, control terminal is effective, and control signal is connected in output if connecting;If connect Control terminal is invalid, then judges whether shut-off control terminal is effective;If it is effective to turn off control terminal, output shut-off control signal;If close Disconnected control terminal is invalid, and return re-reads input control port information.
The solid-state relay of the present invention can be applied to the continuous works of needs such as the control of epidemic disaster, gas supply, power supply supply The field of work, can effectively reduce because accident power-off and caused by influence.
In summary, when solid-state relay of the invention restores electricity after a loss of power, the work shape before remaining powered off is remained to State, have state keep function, can effectively reduce because accident power-off and caused by influence.
Brief description of the drawings
Fig. 1 is the structural representation of the present invention;
Fig. 2 is the theory diagram of the present invention;
Fig. 3 is no bias supply solid-state relay theory diagram;
Fig. 4 is that have bias supply solid-state relay theory diagram;
Fig. 5 is single-chip microcomputer control program outline flowchart.
Mark in accompanying drawing for:1- relay circuits, 2- state retaining circuits, 3- out-put supplies, 4- single-chip microcomputers, 5- data Mnemon, 6- bias supplies, 7- input common ports, 8- connect control terminal, 9- shut-off control terminals, 10- solid-state relay circuits Input.
Embodiment
The present invention is further illustrated with reference to the accompanying drawings and examples, but be not intended as to the present invention limit according to According to.
Embodiment 1.A kind of relay output state keeping method, as depicted in figs. 1 and 2, this method is by setting shape State holding circuit, make relay remain powered off before output state, realize state keep function.
Methods described is by setting state retaining circuit, and relay is recorded using the single-chip microcomputer being located in state retaining circuit Device power-off before output state and output control pulse, make relay remain powered off before output state, realize state keep work( Energy;The single-chip microcomputer, it is the working condition before being powered off by data accumulating unit record relay;By I/O-3 mouths control after Appliance circuit, the working condition for being recorded relay output single-chip microcomputer;Control is inputted by I/O-1 the and I/O-2 mouths of single-chip microcomputer Pulse processed, change the output state of relay.
Solid-state relay used in above-mentioned relay output state keeping method, including relay circuit 1, relay circuit 1 is connected by solid-state relay circuit input end 10 with state retaining circuit 2, and the other end is connected with out-put supply 3;The state Holding circuit 2 includes single-chip microcomputer 4, and data accumulating unit 5 is provided with single-chip microcomputer 4, and single-chip microcomputer 4 and bias supply 6 and input are public The connection of end 7;The single-chip microcomputer 4 is provided with input control port and output control port, and I/O-1 and I/O-2 are input control terminal Mouthful, I/O-3 is output control port, and the I/O-1 is connects control terminal 8, and I/O-2 is shut-off control terminal 9, and single-chip microcomputer 4 passes through I/O-3 mouths are connected with solid-state relay circuit input end 10;The relay circuit 1 is without bias supply solid-state relay;Institute It is effective for high level to state solid-state relay circuit input end 10.
Embodiment 2.A kind of relay output state keeping method, this method be by setting state retaining circuit, make after Electrical equipment remain powered off before output state, realize state keep function.
Methods described is by setting state retaining circuit, and relay is recorded using the single-chip microcomputer being located in state retaining circuit Device power-off before output state and output control pulse, make relay remain powered off before output state, realize state keep work( Energy;The single-chip microcomputer, it is the working condition before being powered off by data accumulating unit record relay;By I/O-3 mouths control after Appliance circuit, the working condition for being recorded relay output single-chip microcomputer;Control is inputted by I/O-1 the and I/O-2 mouths of single-chip microcomputer Pulse processed, change the output state of relay.
Solid-state relay used in above-mentioned relay output state keeping method, including relay circuit 1, relay circuit 1 is connected by solid-state relay circuit input end 10 with state retaining circuit 2, and the other end is connected with out-put supply 3;The state Holding circuit 2 includes single-chip microcomputer 4, and data accumulating unit 5 is provided with single-chip microcomputer 4, and single-chip microcomputer 4 and bias supply 6 and input are public The connection of end 7;The single-chip microcomputer 4 is provided with input control port and output control port, and I/O-1 and I/O-2 are input control terminal Mouthful, I/O-3 is output control port, and the I/O-1 is connects control terminal 8, and I/O-2 is shut-off control terminal 9, and single-chip microcomputer 4 passes through I/O-3 mouths are connected with solid-state relay circuit input end 10;The relay circuit 1 is to have bias supply solid-state relay;Institute It is effective for high level to state solid-state relay circuit input end 10.
Embodiment 3.A kind of relay output state keeping method, this method be by setting state retaining circuit, make after Electrical equipment remain powered off before output state, realize state keep function.
Methods described is by setting state retaining circuit, and relay is recorded using the single-chip microcomputer being located in state retaining circuit Device power-off before output state and output control pulse, make relay remain powered off before output state, realize state keep work( Energy;The single-chip microcomputer, it is the working condition before being powered off by data accumulating unit record relay;By I/O-3 mouths control after Appliance circuit, the working condition for being recorded relay output single-chip microcomputer;Control is inputted by I/O-1 the and I/O-2 mouths of single-chip microcomputer Pulse processed, change the output state of relay.
Solid-state relay used in above-mentioned relay output state keeping method, including relay circuit 1, relay circuit 1 is connected by solid-state relay circuit input end 10 with state retaining circuit 2, and the other end is connected with out-put supply 3;The state Holding circuit 2 includes single-chip microcomputer 4, and data accumulating unit 5 is provided with single-chip microcomputer 4, and single-chip microcomputer 4 and bias supply 6 and input are public The connection of end 7;The single-chip microcomputer 4 is provided with input control port and output control port, and I/O-1 and I/O-2 are input control terminal Mouthful, I/O-3 is output control port, and the I/O-1 is connects control terminal 8, and I/O-2 is shut-off control terminal 9, and single-chip microcomputer 4 passes through I/O-3 mouths are connected with solid-state relay circuit input end 10;The relay circuit 1 is to have bias supply solid-state relay;Institute It is effective for low level to state solid-state relay circuit input end 10.
Operation principle:The solid-state relay of the present invention, is to integrate state retaining circuit 2 and solid-state relay SSR circuits Formed in same encapsulation, by setting single-chip microcomputer 4 and setting E in single-chip microcomputer 42PROM or other has repeatable change Write, the data accumulating unit 5 of power down holding function, as relay working condition mnemon, for writing the defeated of relay Do well, two I/O mouths of single-chip microcomputer 4 are used as input control pulse, and an I/O mouth is used to control solid-state relay circuit 1, made Solid-state relay turns on and off.
When electric on offset side, single-chip microcomputer 4 first reads the value of relay status mnemon, then according to its value determine after The working condition of electrical equipment, and solid-state relay circuit 1 is controlled by I/O-3, make what solid-state relay output single-chip microcomputer 4 was remembered Working condition.Relay make pulse is effective, and relay in an ON state and remembers its working condition, and make pulse recovers nothing After effect, relay remains turned on;Relay shut-off pulse is effective, and relay is off state and remembers its work shape State, after shut-off pulse-recovery is invalid, relay is held off.
SCM program processing step, as shown in figure 5,:
The first step:Initialization;
Second step:Output state data are read, output port is delivered to after processing;
3rd step:Read input control port information;
4th step:Judge whether connection control terminal is effective, control terminal is effective, and control signal is connected in output if connecting;If connect Control terminal is invalid, then judges whether shut-off control terminal is effective;If it is effective to turn off control terminal, output shut-off control signal;If close Disconnected control terminal is invalid, and return re-reads input control port information.

Claims (6)

  1. A kind of 1. relay output state keeping method, it is characterised in that:This method be by setting state retaining circuit, make after Electrical equipment remain powered off before output state, realize state keep function.
  2. A kind of 2. relay output state keeping method according to claim 1, it is characterised in that:Methods described is to pass through State retaining circuit is set, and the output state before being powered off using the single-chip microcomputer meter relay being located in state retaining circuit is simultaneously defeated Go out to control pulse, make relay remain powered off before output state, realize state keep function.
  3. A kind of 3. relay output state keeping method according to claim 2, it is characterised in that:The single-chip microcomputer, it is Working condition before being powered off by data accumulating unit record relay;By I/O-3 mouth control relay circuits, make relay The working condition that output single-chip microcomputer is recorded;By I/O-1 the and I/O-2 mouths input control pulse of single-chip microcomputer, change relay Output state.
  4. 4. according to consolidating used in a kind of relay output state keeping method described in claim 1,2 or 3 any claims Body relay, it is characterised in that:Including relay circuit(1), relay circuit(1)Pass through solid-state relay circuit input end (10)With state retaining circuit(2)Connection, the other end and out-put supply(3)Connection;The state retaining circuit(2)Including monolithic Machine(4), single-chip microcomputer(4)In be provided with data accumulating unit(5), single-chip microcomputer(4)With bias supply(6)With input common port(7)Even Connect.
  5. 5. solid-state relay according to claim 4, it is characterised in that:The single-chip microcomputer(4)It is provided with input control terminal Mouth and output control port, I/O-1 and I/O-2 are input control port, and I/O-3 is output control port, and the I/O-1 is to connect Logical control terminal(8), I/O-2 is shut-off control terminal(9), single-chip microcomputer(4)Pass through I/O-3 mouths and solid-state relay circuit input end (10)Connection.
  6. 6. solid-state relay according to claim 4, it is characterised in that:The relay circuit(1)For without bias supply Solid-state relay has bias supply solid-state relay;The no bias supply solid-state relay circuit input end(10)For high electricity It is flat effective;It is described to have bias supply solid-state relay circuit input end(10)It is effective or low level is effective for high level.
CN201710869006.6A 2017-09-22 2017-09-22 A kind of relay output state keeping method and solid-state relay used Pending CN107589699A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710869006.6A CN107589699A (en) 2017-09-22 2017-09-22 A kind of relay output state keeping method and solid-state relay used

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710869006.6A CN107589699A (en) 2017-09-22 2017-09-22 A kind of relay output state keeping method and solid-state relay used

Publications (1)

Publication Number Publication Date
CN107589699A true CN107589699A (en) 2018-01-16

Family

ID=61048293

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710869006.6A Pending CN107589699A (en) 2017-09-22 2017-09-22 A kind of relay output state keeping method and solid-state relay used

Country Status (1)

Country Link
CN (1) CN107589699A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10814726B2 (en) 2018-09-21 2020-10-27 Contemporary Amperex Technology Co., Limited Control apparatus and power supply system

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000350360A (en) * 1999-06-01 2000-12-15 Nec Eng Ltd Power supply control system
CN203242571U (en) * 2013-03-07 2013-10-16 杨彤 Relay control circuit and device
CN103475347A (en) * 2013-09-10 2013-12-25 贵州航天电器股份有限公司 Single-tube-type self-hold solid state relay
CN103475346A (en) * 2013-09-10 2013-12-25 贵州航天电器股份有限公司 Multi-transistor self-sustaining type solid state relay
CN103676673A (en) * 2012-08-31 2014-03-26 海尔集团公司 Cleaning device with zero standby power consumption as well as control circuit and control method thereof
KR20150050810A (en) * 2013-11-01 2015-05-11 주식회사 유라코퍼레이션 Apparatus and method for controlling power relay assembly
CN204705867U (en) * 2015-07-03 2015-10-14 梁超洪 A kind of primary, spare device intelligence converter
CN105656464A (en) * 2016-01-06 2016-06-08 魏德米勒电联接(上海)有限公司 Off-delay type relay output circuit
CN106681207A (en) * 2016-12-23 2017-05-17 浙江大学 Single-chip microcomputer power switch doubling as shifting module and control method thereof
CN207473342U (en) * 2017-09-22 2018-06-08 贵州振华群英电器有限公司(国营第八九一厂) A kind of solid-state relay that there is output state and keep

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000350360A (en) * 1999-06-01 2000-12-15 Nec Eng Ltd Power supply control system
CN103676673A (en) * 2012-08-31 2014-03-26 海尔集团公司 Cleaning device with zero standby power consumption as well as control circuit and control method thereof
CN203242571U (en) * 2013-03-07 2013-10-16 杨彤 Relay control circuit and device
CN103475347A (en) * 2013-09-10 2013-12-25 贵州航天电器股份有限公司 Single-tube-type self-hold solid state relay
CN103475346A (en) * 2013-09-10 2013-12-25 贵州航天电器股份有限公司 Multi-transistor self-sustaining type solid state relay
KR20150050810A (en) * 2013-11-01 2015-05-11 주식회사 유라코퍼레이션 Apparatus and method for controlling power relay assembly
CN204705867U (en) * 2015-07-03 2015-10-14 梁超洪 A kind of primary, spare device intelligence converter
CN105656464A (en) * 2016-01-06 2016-06-08 魏德米勒电联接(上海)有限公司 Off-delay type relay output circuit
CN106681207A (en) * 2016-12-23 2017-05-17 浙江大学 Single-chip microcomputer power switch doubling as shifting module and control method thereof
CN207473342U (en) * 2017-09-22 2018-06-08 贵州振华群英电器有限公司(国营第八九一厂) A kind of solid-state relay that there is output state and keep

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10814726B2 (en) 2018-09-21 2020-10-27 Contemporary Amperex Technology Co., Limited Control apparatus and power supply system

Similar Documents

Publication Publication Date Title
CN101719689A (en) Dual power supply switching circuit for electronic electric energy meter
CN202394070U (en) Power supply soft switching circuit device for satellite navigation receiver
CN107589699A (en) A kind of relay output state keeping method and solid-state relay used
TW201416845A (en) Motherboard
CN204883704U (en) C type USB IC interface control circuit
CN104914966B (en) A kind of single-chip microcontroller Self-disconnecting restarts circuit
CN207473342U (en) A kind of solid-state relay that there is output state and keep
CN205945008U (en) Circuit overcurrent protect device
CN104635906A (en) Hard disk energy-saving circuit
CN200990082Y (en) CMOS power supply control circuit
CN108711440B (en) Write protection circuit, write protection method, write protection device and electrical equipment
CN207652017U (en) A kind of input undervoltage power-down protection circuit
CN203520299U (en) Timer-power-on control circuit
CN101572482B (en) Power controller with adaptation power supply
CN102314209B (en) Control circuit of mainboard power supply
CN204650218U (en) A kind of single-chip microcomputer Self-disconnecting restarts circuit
CN208445568U (en) A kind of network interface card with Remote Wake Up function
CN205231704U (en) Supervisory circuits overflows
CN205158060U (en) Intelligence power management structure
CN103970074A (en) Electronic device
CN215181879U (en) Watchdog reset circuit and reset system
CN103226888B (en) A kind of infrared remote control intelligent energy-saving standby system power circuit of Based Intelligent Control
CN211151936U (en) Power switch circuit
CN215682288U (en) Two-wire circuit architecture integrating switch and communication
CN203204830U (en) Intelligent-control power circuit for infrared remote control intelligent electricity-saving standby system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination