CN101834093B - Relay drive method and device for protecting relay contact - Google Patents

Relay drive method and device for protecting relay contact Download PDF

Info

Publication number
CN101834093B
CN101834093B CN200910238924A CN200910238924A CN101834093B CN 101834093 B CN101834093 B CN 101834093B CN 200910238924 A CN200910238924 A CN 200910238924A CN 200910238924 A CN200910238924 A CN 200910238924A CN 101834093 B CN101834093 B CN 101834093B
Authority
CN
China
Prior art keywords
relay
control device
resistance
external interrupt
zero passage
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.)
Expired - Fee Related
Application number
CN200910238924A
Other languages
Chinese (zh)
Other versions
CN101834093A (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.)
FOSHAN SHUNDE H&T ELECTRONIC TECHNOLOGY Co Ltd
Shenzhen H&T Intelligent Control Co Ltd
Original Assignee
FOSHAN SHUNDE H&T ELECTRONIC TECHNOLOGY Co Ltd
Shenzhen H&T Intelligent Control 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 FOSHAN SHUNDE H&T ELECTRONIC TECHNOLOGY Co Ltd, Shenzhen H&T Intelligent Control Co Ltd filed Critical FOSHAN SHUNDE H&T ELECTRONIC TECHNOLOGY Co Ltd
Priority to CN200910238924A priority Critical patent/CN101834093B/en
Publication of CN101834093A publication Critical patent/CN101834093A/en
Application granted granted Critical
Publication of CN101834093B publication Critical patent/CN101834093B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Relay Circuits (AREA)

Abstract

The invention relates to a relay drive method for protecting a relay contact, which comprises following steps of: storing output signal content controlling a relay in a set register by a control device of the relay; judging if an external interrupt port thereof is a specified level by the control device, if so, executing next step, and if not so, returning to this step; and reading and outputting the content of the set register. The invention also relates to a relay drive device for protecting a relay contact. The relay drive method and device for protecting a relay contact have the advantage that when the relay contact acts, because voltage thereof is zero or close to zero, no firing is caused to generate arc to disturb external electrical equipment.

Description

The relay drive method and the device of a kind of protection relay contact
Technical field
The present invention relates to circuit field, more particularly, relate to the relay drive method and the device of a kind of protection relay contact.
Background technology
Relay utilization in the circuit of power control is a lot, mainly is used as some power outputs of switch control.But general just have when output to open immediately and when needs are closed, close immediately in the needs load, and this control mode is easy to cause the relay contact sintering, has shortened the useful life of relay, also can produce electric arc to circuit simultaneously and disturb.Usually the method that solves can use controllable silicon to replace relay, and controllable silicon is implemented zero cross fired.But this method need make a change switch element; And in many cases; Controllable silicon replaces also can bringing some problems, and for example load-carrying ability controllable silicon just needs radiation fin when its power is big slightly, the problem that cost will increase, needs are considered puncture, EMC problem or the like.
Summary of the invention
The technical problem that the present invention will solve is; To above-mentioned relay contact easy-sintering, the higher defective of replacement scheme cost of prior art, provide a kind of can the sintering relay contact, the relay drive method and the device of lower-cost protection relay contact.
The technical solution adopted for the present invention to solve the technical problems is: construct the relay drive method of a kind of protection relay contact, comprise the steps:
A) control device of relay leaves the output signal content of control relay in the register of setting;
B) said control device judges whether its external interrupt port is specified level, in this way, carries out next step; As not, return this step;
C) content that reads said set-up register is also exported.
In driving method of the present invention, said step B) when middle control device external interrupt occurs in the ac power waveform zero passage of power supply.
In driving method of the present invention, said step C) further comprises and read said set-up register content and its control device port output in appointment.
The invention still further relates to the relay controller of a kind of protection relay contact; Comprise control device, the relay drive unit that is connected with the output port of said control device, also comprise be connected with the external interrupt input port of said control device, obtain ac power waveform and produce the zero passage detection unit that interrupts input when the said ac power waveform zero passage by said drive unit power supply.
In device of the present invention, the trailing edge that said interrupting input end mouth is set to pulse is effective, and said zero passage detection unit produces when said alternating current zero passage and makes the effective waveform of said interruption.
In device of the present invention, said zero passage detection unit comprises rectification module, division module and level switch module; Said rectification module is used for being obtained said ac power waveform and the pulsating wave after its rectification being sent to said division module by said power supply; Said division module is sent to said level switch module after said pulsating wave is adjusted to suitable voltage; Said level switch module converts its input into be suitable for said control device level and is sent to the interrupting input end mouth of said control device.
In device of the present invention, said power supply comprises transformer, and said rectification module is obtained AC wave shape by said transformer secondary output.
In device of the present invention, said zero passage detection unit comprises diode D102, resistance R 1, resistance R 2, resistance R 3, capacitor C 15 and transistor T R1; The positive pole of said diode D102 is connected the secondary of said power transformer, and its negative pole is connected with said resistance R 2 one ends, and the other end of said resistance R 2 is connected with an end of resistance R 3, the other end ground connection of resistance R 3; The other end of said resistance R 2 also is connected with the base stage of said transistor T R1, the grounded emitter of transistor T R1, and its collector electrode is connected with the interrupting input end mouth of said control device and is connected power output end through resistance R 1.
In device of the present invention, said control device comprises microprocessor; Said interrupting input end mouth comprises the external interrupt input of said microprocessor; Said appointed output terminal comprises the I/O port of said microprocessor.
The relay drive method and the device of the protection relay contact of embodiment of the present invention; Has following beneficial effect: because before output relay contact action control signal; Confirm earlier whether ac power waveform is in zero point; If be in zero point, just the control signal of output relay contact action makes this contact move; And when ac power waveform is not in zero point, then do not export above-mentioned contact control signal, therefore, in relay contact when action, be zero by on it voltage or approach zero and can sintering; Simultaneously, because most work is all accomplished in microprocessor, its cost is lower.
Description of drawings
Fig. 1 is the relay drive method and the device embodiment method flow diagram of protection relay of the present invention contact;
Fig. 2 is the logic diagram of said embodiment;
Fig. 3 is the circuit theory diagrams of said embodiment.
Embodiment
To combine accompanying drawing that the embodiment of the invention is described further below.
As shown in Figure 1, in the relay drive method and device embodiment of protection relay of the present invention contact, its method comprises the steps:
The control signal content that step S11 will drive relay writes the appointment register: usually; The control signal of relay is a level controling signal; When the level on being added to relay coil is high, have electric current to flow through on the coil, the contact of relay gets electric adhesive; When the level on being added to relay coil is low level, do not have electric current to flow through on the coil, the contact dead electricity of relay is broken off.In conjunction with the drive circuit of relay, in the present embodiment, relay contact adhesive when the level that is reflected to the relay control signal output port also is high level, and its level is when low, relay contact breaks off.In this step; When confirming to need to change the state of relay contact; The control signal content of next state (promptly hoping the state that relay contact is changed into) is written in the register of appointment, but is not that content with this control signal is sent on the output port of this control signal immediately.
Step S12 alternating current zero passage? If carry out next step; Otherwise, return this step and wait for.In this step,, judge whether zero passage of alternating current through the variation of the level on the external interrupt input port of judging control device (be microcontroller in the present embodiment) (impulse level from high to low, i.e. pulse trailing edge).In the present embodiment, the level on the said external interrupting input end mouth is through the secondary AC wave shape of the power transformer of gathering this device, and obtain through conversion.If above-mentioned level is low when pulse trailing edge (promptly) by hypermutation, then think the approximate nought state that was in of ac power waveform; Otherwise, think that ac power waveform was not in nought state.
Step S13 reads the appointment content of registers: judge ac power waveform when a last step and be in nought state; Voltage on the relay contact, electric current all approach zero; At this moment, the output relay drive control signal makes the contact of relay change state; Just can not strike sparks or arcing, naturally can be with the relay contact sintering yet.Therefore, in this step, with the content of the relay drive control signal of above-mentioned steps S11 storage by reading out in the above-mentioned register.
Step S14 is sent to designated port output with this content: in this step, the content of the above-mentioned relay drive signal that reads out is outputed to the relay drive signal output, make its output.Be used to control the variation of the contacts status of above-mentioned relay.
What deserves to be mentioned is that in the present embodiment, above-mentioned steps is not an individualism.It just during the contact action of the relay in needing control circuit, just can use.If the not contact of control relay action then can not used above-mentioned steps.More precisely, above-mentioned steps should be a function or a subprogram in the main program, supplies main program to call when needed, returns main program after the completion.
In the present embodiment, also relate to a kind of device, this device is used to drive the actuating of relay, and can use the contact of said method protection relay, and its circuit structure block diagram is as shown in Figure 2.
In Fig. 2, this device circuit comprises control device 21, relay drive unit 22, power circuit 23 and zero passage detection unit 24.In the present embodiment, above-mentioned control device 21 is microcontrollers, the promptly common MCU that says.Relay drive unit 22, zero passage detection unit 24 are connected with control device 21 respectively; Power circuit 23 has AC network to obtain alternating current; And be converted into above-mentioned each unit of direct current supply, wherein, ac power waveform is also obtained in zero passage detection unit 23 from power circuit 23; And judge its zero crossing, and the signal that obtains is sent in the control device.
Fig. 3 is this manipulated or operated apparatus in the present embodiment; In Fig. 3; The element of transformer T101, rectifier bridge DB101, circuit of three-terminal voltage-stabilizing integrated U102 and above-mentioned each components and parts periphery thereof is formed power circuit 23 jointly; This power circuit is exported two groups of direct voltage :+12V and+5V, wherein, and main apparatus for controlling of supply 21 of+5V and zero passage detection unit 24; And+12V mainly supplies with the relay coil in the relay drive unit 22.In Fig. 3, control device 21 is microprocessor U101 and peripheral element thereof, and relay drive unit 22 comprises transistor T R102, relay R Y103 and peripheral element thereof; Zero passage detection unit 24 then is divided into rectification module, division module and level switch module; Wherein, rectification module comprises diode D102, and it is used for being obtained ac power waveform and being sent to the above-mentioned division module of stating with obtaining pulsating wave after this ac power waveform rectification by power circuit 23; Division module is resistance R 2 and resistance R 3, and it is sent to level switch module after above-mentioned pulsating wave is adjusted to suitable voltage; Level switch module comprises transistor T R1, capacitor C 15 and resistance R 1, the interruptive port that it converts the pulsating wave of input the level that is suitable for above-mentioned control device 21 into and be sent to control device 21.Particularly, in Fig. 3, the positive pole of diode D102 is connected the secondary of power transformer T101, and the negative pole of diode D102 is connected with resistance R 2 one ends, and the other end of resistance R 2 is connected with an end of resistance R 3, the other end ground connection of resistance R 3; In addition, the other end of resistance R 2 also is connected with the base stage of transistor T R1, the grounded emitter of transistor T R1, its collector electrode be connected with the interruptive port of control device 21 and through resistance R 1 be connected power circuit+the 5V output.
In a word, after control device 21 powered on, chip initiation was started working; Its external interrupt is arranged to level and is changed effectively, and the each trailing edge one of zero cross signal is to making MCU produce an external interrupt, when needs unlatching or closed relay like this; Then the output control signal is opened or closed relay in interrupt routine; Voltage when zero passage is zero like this, and the contact just can not produce spark or electric arc when relay adhesive or disconnection, thereby plays the protection relay contact and prolong its useful life.After the action of accomplishing above-mentioned output relay contact control signal, control device 21 withdraws from interruption, returns main program, waits for and moves next time or carry out other actions.
The above embodiment has only expressed several kinds of execution modes of the present invention, and it describes comparatively concrete and detailed, but can not therefore be interpreted as the restriction to claim of the present invention.Should be pointed out that for the person of ordinary skill of the art under the prerequisite that does not break away from the present invention's design, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection range of patent of the present invention should be as the criterion with accompanying claims.

Claims (9)

1. the relay drive method of a protection relay contact is characterized in that, comprises the steps:
A) control device of relay leaves the output signal content of control relay in set-up register;
B) said control device judges whether its external interrupt port is specified level, in this way, carries out next step; As not, return this step;
C) content that reads said set-up register is also exported.
2. the relay drive method of protection relay according to claim 1 contact is characterized in that, said step B) when middle control device external interrupt occurs in the ac power waveform zero passage of power supply.
3. the relay drive method of protection relay according to claim 2 contact is characterized in that, said step C) further comprise read said set-up register content and with it in the output of control device port of appointment.
4. the drive unit of a protection relay contact; Comprise control device, the relay drive unit that is connected with the output port of said control device; It is characterized in that, also comprise be connected with the external interrupt input port of said control device, obtain ac power waveform and produce the zero passage detection unit that interrupts input when the said ac power waveform zero passage by said drive unit power supply.
5. drive unit according to claim 4 is characterized in that, the trailing edge that said external interrupt input port is set to pulse is effective, and said zero passage detection unit produces when said alternating current zero passage and makes the effective waveform of said interruption.
6. drive unit according to claim 5 is characterized in that, said zero passage detection unit comprises rectification module, division module and level switch module; Said rectification module is used for being obtained said ac power waveform and the pulsating wave after its rectification being sent to said division module by said power supply; Said division module is sent to said level switch module after said pulsating wave is adjusted to suitable voltage; Said level switch module converts its input into be suitable for said control device level and is sent to the external interrupt input port of said control device.
7. drive unit according to claim 6 is characterized in that said power supply comprises transformer, and said rectification module is obtained ac power waveform by said transformer secondary output.
8. drive unit according to claim 7 is characterized in that, said zero passage detection unit comprises diode D102, resistance R 1, resistance R 2, resistance R 3, capacitor C 15 and transistor T R1; The positive pole of said diode D102 is connected the secondary of said power transformer, and its negative pole is connected with said resistance R 2 one ends, and the other end of said resistance R 2 is connected with an end of resistance R 3, the other end ground connection of resistance R 3; The other end of said resistance R 2 also is connected with the base stage of said transistor T R1, the grounded emitter of transistor T R1, and its collector electrode is connected with the external interrupt input port of said control device and is connected power output end through resistance R 1.
9. according to any described drive unit of claim 4-8, it is characterized in that said control device comprises microprocessor; Said external interrupt input port comprises the external interrupt input of said microprocessor; Appointed output terminal comprises the I/O port of said microprocessor.
CN200910238924A 2009-12-29 2009-12-29 Relay drive method and device for protecting relay contact Expired - Fee Related CN101834093B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910238924A CN101834093B (en) 2009-12-29 2009-12-29 Relay drive method and device for protecting relay contact

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910238924A CN101834093B (en) 2009-12-29 2009-12-29 Relay drive method and device for protecting relay contact

Publications (2)

Publication Number Publication Date
CN101834093A CN101834093A (en) 2010-09-15
CN101834093B true CN101834093B (en) 2012-09-05

Family

ID=42718126

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910238924A Expired - Fee Related CN101834093B (en) 2009-12-29 2009-12-29 Relay drive method and device for protecting relay contact

Country Status (1)

Country Link
CN (1) CN101834093B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104701083B (en) * 2013-12-10 2018-01-05 珠海格力电器股份有限公司 relay contact control method, device and equipment
CN105974841B (en) * 2016-06-14 2018-08-31 浙江众合科技股份有限公司 A kind of output control system applied to fail-safe computer

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE4307854C1 (en) * 1993-03-12 1994-04-21 Legrand Gmbh Mains-operated clock supplied via rectifier and capacitor supply - sends interrogation signal to processor for triggering switching relay when supply voltage is above min. threshold and up=down counter, for receiving time signals, has zero contents
CN201191583Y (en) * 2008-03-13 2009-02-04 鲁鑫宝 Pulse driving circuit for electric relay
CN201233842Y (en) * 2008-04-03 2009-05-06 深圳和而泰智能控制股份有限公司 Electric relay driving circuit

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE4307854C1 (en) * 1993-03-12 1994-04-21 Legrand Gmbh Mains-operated clock supplied via rectifier and capacitor supply - sends interrogation signal to processor for triggering switching relay when supply voltage is above min. threshold and up=down counter, for receiving time signals, has zero contents
CN201191583Y (en) * 2008-03-13 2009-02-04 鲁鑫宝 Pulse driving circuit for electric relay
CN201233842Y (en) * 2008-04-03 2009-05-06 深圳和而泰智能控制股份有限公司 Electric relay driving circuit

Also Published As

Publication number Publication date
CN101834093A (en) 2010-09-15

Similar Documents

Publication Publication Date Title
CN101715265B (en) LED driving power supply control circuit and LED lamp by using same
CN102130596B (en) Switching converter with wide input voltage range
CN100517541C (en) Bistable contactor drive circuit
CN105762767B (en) Hardware protection circuit based on APFC
CN203537225U (en) Novel antisurge constant-current switching power supply
CN102594129A (en) Charging control method for direct-current bus capacitor of frequency converter and realizing circuit charging control method
CN101834093B (en) Relay drive method and device for protecting relay contact
CN203814013U (en) LED driving circuit adopting single-end zero crossing detection
CN102005806B (en) Direct current power supply device
CN215186536U (en) Motor controller and motor using same
CN202655123U (en) High-voltage power supply of flexile and stable electrostatic dust collector
CN202772791U (en) Short circuit protection circuit used for parallel connection power supply
CN207573240U (en) A kind of electric precipitator high frequency electric source
CN107634669A (en) The power circuit and its control method of position-sensor-free permagnetic synchronous motor
CN103687118A (en) IGBT drive circuit, and electromagnetic induction heating device and method
CN2684451Y (en) A high voltage bridge arm with multiple electric semiconductors in series connection with multiple windings alternately
CN111478286A (en) PFC overcurrent protection circuit, air conditioner controller and air conditioner
CN207787932U (en) The high stability argon arc welding machine of New Anti-interference
CN103138604A (en) Delay power supply
CN219513964U (en) Alternating current soft start circuit of three-level energy storage converter
CN109217273A (en) One kind turning off the power switch undelayed anti-surge circuit
CN201976021U (en) Transducer
CN208836033U (en) Low electrical noise soft start Sofe Switch electronic adjustable-speed fan device
CN203057610U (en) Programmable LED drive device
CN221042681U (en) Start power supply control circuit system of mini-tiller

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20120905

Termination date: 20211229

CF01 Termination of patent right due to non-payment of annual fee