Practical skills | Relay principle characteristics and relay drive circuit design skills
EEWorld
Sharp interpretation of electronic information
Technical content updated daily
A relay is an electronic control device that has a control system (also called an input circuit) and a controlled system (also called an output circuit). It is usually used in automatic control circuits. It is actually an "automatic switch" that uses a smaller current to control a larger current. Therefore, it plays the role of automatic regulation, safety protection, and circuit conversion in the circuit.
When the input signal x of the relay increases continuously from zero to the action value xx when the armature begins to attract, the output signal of the relay immediately jumps from y=0 to y=ym, that is, the normally open contact changes from off to on. Once the contact is closed, the input quantity x continues to increase, and the output signal y will no longer change. When the input quantity x drops from a value greater than xx to xf, the relay begins to release and the normally open contact is disconnected. We call this characteristic of the relay the relay characteristic, also known as the input-output characteristic of the relay.
1. Working principle and characteristics of relay
1. Working principle and characteristics of electromagnetic relay
Electromagnetic relays are generally composed of an iron core, a coil, an armature, and a contact spring. As long as a certain voltage is applied to both ends of the coil, a certain current will flow through the coil, thereby generating an electromagnetic effect. The armature will overcome the pulling force of the return spring under the action of electromagnetic attraction and be attracted to the iron core, thereby driving the moving contact of the armature and the static contact (normally open contact) to close. When the coil is powered off, the electromagnetic attraction disappears, and the armature will return to the normal position under the reaction force of the spring.
Return to the original position, so that the moving contact and the original static contact (normally closed contact) are released. In this way, the attraction and release achieve the purpose of conduction and disconnection in the circuit. The "normally open and normally closed" contacts of the relay can be distinguished as follows: the static contact in the disconnected state when the relay coil is not energized is called the "normally open contact"; the static contact in the connected state is called the "normally closed contact".
2. Circuit principle
A relay is a device whose contacts (or circuits) connect or disconnect small-capacity AC or DC control circuits when the input quantity changes to a certain value.
The permanent magnet maintains the released state. When the working voltage is applied, electromagnetic induction causes the armature and the permanent magnet to produce attraction and repulsion torques, resulting in downward movement, and finally reaching the attracted state.
3. Transistor drive circuit
When the transistor is used to drive the relay, it is recommended to use an NPN transistor. The specific circuit is as follows:
When the input is high level, transistor T1 is saturated and turned on, the relay coil is energized, and the contacts are closed.
When the input is low level, transistor T1 is cut off, the relay coil is de-energized, and the contacts are opened.
The functions of each component in the circuit: Transistor T1 is the control switch; resistor R1 mainly plays a current limiting role to reduce the power consumption of transistor T1; resistor R2 makes transistor T1 reliably cut off; diode D1 reverses the current and provides a discharge path for the relay coil when the transistor turns from on to off, and clamps its voltage at +12V.
4. Integrated circuit drive circuit
At present, integrated circuits with multiple driving transistors are used, which can simplify the design process of printed circuit boards that drive multiple relays. The integrated circuits that our company uses to drive relays are mainly TD62003AP.
When the input terminal of 2003 is at a high level, the corresponding output port outputs a low level, the two ends of the relay coil are energized, and the relay contacts are closed;
When the input terminal of 2003 is at a low level, the corresponding output port is in a high impedance state, the power is cut off at both ends of the relay coil, and the relay contacts are disconnected.
24V relay drive circuit
Relay series RC circuit: This form is mainly used in circuits where the rated working voltage of the relay is lower than the power supply voltage. When the circuit is closed, the relay coil will generate an electromotive force due to the self-inductance phenomenon, which hinders the increase of the current in the coil, thereby prolonging the pull-in time. After the RC circuit is connected in series, the pull-in time can be shortened. The principle is that at the moment the circuit is closed, the voltage across the capacitor C cannot change suddenly and can be regarded as a short circuit. In this way, a power supply voltage higher than the rated working voltage of the relay coil is added to the coil, thereby accelerating the speed of the current increase in the coil and causing the relay to close quickly. After the power supply is stable, the capacitor C does not work, and the resistor R plays a current limiting role.
The rated working voltage of the relay is the most important technical parameter of the relay. When using the relay, the working voltage of the circuit (that is, the circuit where the relay coil is located) should be considered first. The rated working voltage of the relay should be equal to the working voltage of the circuit.
Generally, the working voltage of the circuit is 0.86 of the rated working voltage of the relay. Note that the working voltage of the circuit must not exceed the rated working voltage of the relay, otherwise the relay coil will burn out easily. In addition, some integrated circuits, such as NE555 circuits, can directly drive the relay to work, while some integrated circuits, such as COMS circuits, have a small output current and need to add a transistor amplifier circuit to drive the relay. In this case, it should be considered that the transistor output current should be greater than the rated working current of the relay.
1. Transistor drive circuit
When a transistor is used to drive a relay, the emitter of the transistor must be grounded. The specific circuit is as follows:
2. Principle Introduction
When driving NPN transistor: When a high level is input to the base of transistor T1, the transistor is saturated and turned on, and the collector becomes a low level, so the relay coil is energized and the contact RL1 is closed. When a low level is input to the base of transistor T1, the transistor is cut off, the relay coil is de-energized, and the contact RL1 is disconnected.
Summary: This article introduces the working principle of the relay and the driving circuit of the relay. The design of the driving circuit should be based on the pull-in voltage and current of the relay coil used. It must be greater than the pull-in current of the relay in order for the relay to work reliably.
Recommended Reading
Useful Information | What is the difference between VCC, VDD, VEE, and VSS in a circuit?
Useful Tips | Teach you how to DIY a mouse that automatically controls the power switch
Practical Information | How to Characterize Noise in Operational Amplifier Circuits?
Practical Knowledge | EMC Design Experience in the Early Stage of Electronic Product Design
Practical information | Analyzing CAN communication on STM32 from head to toe
Useful Information | DC motor drive circuit and design ideas experience sharing
Practical knowledge | A collection of circuit diagrams that electronic engineers must master
The following WeChat public accounts belong to
EEWorld (www.eeworld.com.cn)
Welcome to long press the QR code to follow us!
EEWorld Subscription Account: Electronic Engineering World
EEWorld Service Account: Electronic Engineering World Welfare Club