Relay control circuit and control method
Patent Information
- Application Number
- TW114119408
- Authority / Receiving Office
- TW · TW
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2024-05-30
- Filing Date
- 2025-05-23
- Publication Date
- 2026-11-11
- Estimated Expiration
- 2045-05-22
AI Technical Summary
Relays in existing technologies experience arcing and electromagnetic interference during switching due to non-zero-crossing operations, leading to reduced lifespan and circuit reliability.
A relay control circuit and method that utilizes an isolation voltage threshold acquisition module to detect the leading phase voltage, a judgment module to determine valid enable signals, and a relay drive module to control zero-crossing switching, avoiding arcing and interference.
The solution effectively extends relay lifespan, reduces electromagnetic interference, and enhances circuit reliability by ensuring zero-crossing switching without requiring a microcontroller, thus simplifying the circuit and reducing costs.
Smart Images

Figure TWG2TB001920594_001 
Figure TWG2TB001920594_002 
Figure TWG2TB001920594_003
Abstract
Description
[Technical Field]
[0001] This invention relates to the field of relay drive technology, and specifically to a relay control circuit and control method. [Previous Technology]
[0002] An electromagnetic relay is a mechanical electromagnetic switch. When the electromagnetic relay is activated, current flows through the coil to generate a magnetic field, causing the armature to make or break contact at the contact point. This process is based on mechanical principles and requires a certain amount of time to complete; this is called the operating time.
[0003] In related technologies, relays are equipped with zero-crossing detection circuits to control the relay's on / off operation at the zero-crossing point of the AC voltage waveform, thereby avoiding excessive impact on the relay during current peaks and extending its lifespan. However, due to the inherent response delay of the relay's switching or conducting operation, the contacts are not always at the zero point of the voltage waveform during operation. In this case, contact contact or disconnection may cause arcing between contacts due to sudden current changes, accelerating relay wear and shortening its lifespan. Furthermore, sudden current changes may also generate electromagnetic interference (EMI) that propagates in the circuit, affecting the normal operation of components and reducing circuit reliability. [Summary of the Invention]
[0004] Embodiments of the present invention provide a relay control circuit and control method to improve the technical problem that the relay is prone to generating electric arcs and electromagnetic interference when switching on and off, thereby shortening its service life and affecting the reliability of the circuit.
[0005] In a first aspect, embodiments of the present invention provide a relay control circuit, comprising:
[0006] Isolation voltage threshold acquisition module, used to acquire the voltage value of the leading phase of the load phase connected to the relay and output an enable signal;
[0007] The judgment module is used to receive the on / off signal and the enable signal, and to judge the enable signal. If the enable signal is a valid enable signal, the drive signal is output. The valid enable signal is the enable signal when the voltage value of the leading phase of the load phase reaches the target AC voltage threshold. If the enable signal is an invalid enable signal, the sustain signal is output.
[0008] A relay drive module is used to control the on / off state of the relay based on the drive signal and to control the operation of the relay based on the holding signal.
[0009] In some embodiments of the present invention, the target AC voltage threshold is:
[0010]
[0011] wherein, represents the on / off action time of the relay, represents the effective value of the AC voltage, and represents the target AC voltage threshold.
[0012] In some embodiments of the present invention, the relay control circuit further includes an A-phase line, a B-phase line, and a C-phase line. The load phase is the AB phase of the AC power supply, the leading phase is the CA phase of the AC power supply, the moving and stationary contacts of the relay are respectively connected to the A-phase line and the B-phase line, the input terminal of the isolation voltage threshold acquisition module is respectively connected to the A-phase line and the C-phase line, and the output terminal of the isolation voltage threshold is connected to the judgment module.
[0013] In some embodiments of the present invention, the isolation voltage threshold acquisition module includes an acquisition circuit and a buffer circuit. The acquisition circuit is signal-connected to the input terminal of the buffer circuit. The acquisition circuit is used to acquire the voltage value of the leading phase of the load phase connected to the relay and output a voltage signal. The buffer circuit is used to receive the voltage signal and process the voltage signal into an enable signal. The output terminal of the buffer circuit is signal-connected to the judgment module to output the enable signal to the judgment module.
[0014] In some embodiments of the present invention, the acquisition circuit includes a bidirectional optical coupler U3 and a filter circuit RC3. The input terminal of the bidirectional optical coupler U3 is connected to the A-phase line and the C-phase line, the output terminal of the bidirectional optical coupler U3 is connected to the filter circuit RC3, and the output terminal of the filter circuit RC3 is connected to the buffer circuit.
[0015] In some embodiments of the present invention, the conduction voltage of the bidirectional optocoupler U3 is equal to the target AC voltage threshold.
[0016] In some embodiments of the present invention, the filter circuit RC3 includes a resistor R12 and a capacitor C3. The input terminal of the resistor R12 is connected to the output terminal of the bidirectional optocoupler U3. The resistor R12 and the capacitor C3 are connected in parallel, and the parallel output terminal of the resistor R12 and the capacitor C3 is connected to the buffer circuit.
[0017] In some embodiments of the present invention, the buffer circuit includes a signal processing chip, which has three input ports, three output ports, and a set of power ports. The three input ports are respectively connected to the AB phase circuit, CA phase circuit, and BC phase circuit of the acquisition circuit, and the three output ports are connected to the judgment module.
[0018] In some embodiments of the present invention, the judgment module includes a logic chip, a clock circuit, a reset circuit, and a data circuit. The logic chip has a clock port, a reset port, and a data port. The clock port is connected to the clock circuit, the reset port is connected to the reset circuit, and the data port is connected to the data circuit.
[0019] In a second aspect, embodiments of the present invention provide a relay control method, comprising:
[0020] Acquire the voltage value of the leading phase of the load phase connected to the relay and output an enable signal;
[0021] Receive the on / off signal and the enable signal, and judge the enable signal. If the enable signal is a valid enable signal, output the drive signal. The valid enable signal is the enable signal when the voltage value of the leading phase of the load phase reaches the target AC voltage threshold. If the enable signal is an invalid enable signal, output the sustain signal.
[0022] The relay is switched on and off based on the drive signal, and the relay is maintained based on the holding signal.
[0023] In some embodiments of the present invention, before the step of acquiring the voltage value of the leading phase of the load phase connected to the relay and outputting an enable signal, the method further includes:
[0024] Obtain the operating time of the relay;
[0025] The target AC voltage threshold when the zero-point switching signal is issued is determined based on the action time and the phase difference between the load phase and the leading phase.
[0026] The beneficial effects of the embodiments of the present invention:
[0027] In the embodiments of the present invention, the leading phase voltage value of the load phase is mainly acquired by using an isolation voltage threshold acquisition module and an enable signal is output. Then, a judgment module judges the enable signal and outputs a drive signal. Finally, a relay drive module receives the drive signal and controls the relay to achieve zero-crossing switching, thereby effectively avoiding arcing during relay switching, extending the service life of the relay. Furthermore, by enabling the relay to switch at zero, the current change is made slower, the surge current is smaller, and the impact on other components in the current is reduced, thereby effectively reducing the generation of electromagnetic interference and improving the reliability and safety of the circuit. In detail, firstly, the leading phase voltage value of the load phase connected to the relay is acquired by the isolation voltage threshold acquisition module and an enable signal is output. The judgment module receives on / off signals and continuously receives enable signals. It judges the enable signal; if it is a valid enable signal (i.e., the enable signal output when the voltage value acquired by the isolation voltage threshold acquisition module reaches the target voltage threshold), the judgment module outputs a drive signal. Finally, the relay drive module controls the relay's on / off state based on the drive signal. This allows the relay to achieve zero-crossing on / off by using a leading phase to offset its own action delay, preventing arcing and effectively extending the relay's lifespan. If the enable signal received by the judgment module is invalid, it outputs a sustain signal. The relay drive module maintains its current action based on the sustain signal. If the relay is currently closed, it remains closed; if it is open, it remains open, until the enable signal becomes valid. Then, the relay drive module drives the relay to perform the on / off action based on the on / off signal and the drive signal. This effectively prevents the relay from operating before zero crossing, effectively reducing electromagnetic interference and the probability of arcing. Furthermore, this invention only requires various hardware devices and does not require a microcontroller to realize the zero-crossing switching of relays, which can effectively reduce the complexity and cost of the circuit.
Implementation Method
[0029] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention. Furthermore, it should be understood that the specific embodiments described herein are only for illustration and explanation of the present invention and are not intended to limit the present invention. In the present invention, unless otherwise stated, directional terms such as "upper" and "lower" generally refer to the upper and lower positions of the device in actual use or operation, specifically the drawing directions in the accompanying drawings; while "inner" and "outer" refer to the outline of the device.
[0030] Please refer to Figures 1 and 2. An embodiment of the present invention provides a relay control circuit, including:
[0031] Isolation voltage threshold acquisition module 101 is used to acquire the voltage value of the leading phase of the load phase connected to the relay and output an enable signal;
[0032] The judgment module 102 is used to receive the on / off signal and the enable signal, and to judge the enable signal. If the enable signal is a valid enable signal, a drive signal is output. The valid enable signal is the enable signal when the voltage value of the leading phase of the load phase reaches the target AC voltage threshold. If the enable signal is an invalid enable signal, a sustain signal is output.
[0033] The relay drive module 103 is used to control the on / off state of the relay based on the drive signal and to control the operation of the relay based on the holding signal.
[0034] The technical solution provided by this invention mainly involves using an isolation voltage threshold acquisition module 101 to acquire the leading phase voltage value of the load phase and output an enable signal. Then, a judgment module 102 judges the enable signal and outputs a drive signal. Finally, a relay drive module 103 receives the drive signal and controls the relay to achieve zero-crossing switching. This effectively avoids arcing during relay switching, extends the relay's service life, and by enabling zero-crossing switching, current changes are slower, surge current is smaller, and impact on other components in the current flow is reduced, thereby effectively reducing electromagnetic interference and improving circuit reliability and safety. Specifically, the isolation voltage threshold acquisition module 101 first acquires the leading phase voltage value of the load phase connected to the relay and outputs an enable signal. The judgment module 102 then receives the on / off signal and continuously receives the enable signal. It judges the enable signal. If the enable signal is a valid enable signal, that is, the enable signal output when the voltage value collected by the isolation voltage threshold acquisition module 101 reaches the target voltage threshold, the judgment module 102 outputs a drive signal. Finally, the relay drive module 103 controls the relay on / off based on the drive signal, so that the relay can use the leading phase to cancel its own action delay time, thereby enabling the relay to achieve zero-crossing on / off, preventing the generation of electric arc, and effectively extending the service life of the relay. If the enable signal received by module 102 is determined to be invalid, a sustain signal will be output. Based on this sustain signal, relay drive module 103 maintains its current action. If the relay is currently closed, it continues to maintain the closed state; if the relay is open, it continues to maintain the open state, until the enable signal becomes valid. Then, based on the on / off signal and the drive signal, relay drive module 103 drives the relay to perform the on / off action. This effectively prevents the relay from operating before crossing zero, effectively reducing the probability of electromagnetic interference and arcing. Furthermore, this invention only requires various hardware devices and does not require a microcontroller to achieve relay zero-crossing on / off, effectively reducing circuit complexity and cost.
[0035] It should be noted that the AC power supply includes phase A (AC_A in the figure), phase B (AC_B in the figure), and phase C (AC_C in the figure). The relay contacts are connected to phase AB, meaning the load phase is phase AB of the AC power supply, and the leading phase is phase CA, which leads phase AB by 120°. In other embodiments, the relay contacts can also be connected to other phases, such as phases BC, as long as the leading phase can lead the phase connected to the relay by 120°.
[0036] In some embodiments, referring to FIG2, the relay control circuit may further include a time acquisition module 201 and a threshold calculation module 202. The time acquisition module 201 is signal-connected to the threshold calculation module 202, the isolation voltage threshold acquisition module 101 is signal-connected to the threshold calculation module 202, the isolation voltage threshold acquisition module 101 is also signal-connected to the judgment module 102, the judgment module 102 is signal-connected to the relay drive module 103, and the relay drive module 103 is signal-connected to the relay.
[0037] The time acquisition module 201 is mainly responsible for capturing the start and end times of the relay in real time, thereby obtaining the relay's delayed action time. It also collects data from multiple actions and averages the results to obtain the relay's average delay time, i.e., the relay's action time. Real-time acquisition of the relay's action time effectively mitigates the possibility of changes in the relay's action time due to increased lifespan (as the relay's lifespan increases, its action time generally changes due to various reasons, such as mechanical wear). The action time information is directly transmitted to the threshold calculation module 202 via a signal connection. Based on the received action time data, the threshold calculation module 202 calculates the accurate time of the next zero-voltage crossover point using a preset algorithm, thereby determining the optimal relay action time. The signal connection between the time acquisition module 201 and the threshold calculation module 202 ensures that the threshold calculation module 202 can acquire the relay action time information in real time, increasing the accuracy and response speed of circuit control and avoiding the negative impact of AC voltage fluctuations on relay action. In other embodiments, the operating time of the relay can also be measured by a measuring circuit, such as an oscilloscope, a signal generator, a sensor, and a power supply.
[0038] The isolated voltage threshold acquisition module 101 is connected to both the threshold calculation module 202 and the judgment module 102. It is responsible for acquiring the voltage threshold of the load phase and converting this information into a corresponding enable signal. This conversion process is completed through a buffer circuit, ensuring the stability and reliability of the signal. The module's function is not only to provide real-time voltage threshold data to the threshold calculation module 202 to assist in calculations, but also to directly provide the critical enable signal to the judgment module 102, improving the flexibility and responsiveness of the entire control circuit.
[0039] The judgment module 102 performs a logical judgment based on the enable signal received from the isolation voltage threshold acquisition module 101 and the on / off signal provided by the threshold calculation module 202. If the judgment result indicates that the on / off condition is met (i.e., there is a valid enable signal and an on / off signal input), it outputs a command to drive the relay to the relay drive module 103. This connection ensures that the relay is driven to perform on / off operations at the correct time, reducing wear on electrical contacts and extending the service life of the relay.
[0040] The relay drive module 103 receives the drive signal from the judgment module 102 and effectively drives the relay through its internal drive circuit (such as MOSFET, light-emitting diode, etc.) to complete the on / off operation. This connection not only acts as a bridge between the judgment module 102 and the relay, but also reduces the energy loss generated during the drive process through circuit design, thereby improving the overall energy efficiency of the system.
[0041] In some embodiments, the threshold calculation module 202 calculates the target AC voltage threshold using the following formula:
[0042]
[0043] Where represents the action time, represents the effective value of AC voltage, and represents the target AC voltage threshold. The effective value of AC voltage (RMS, Root Mean Square) is a measure of the magnitude of AC voltage, equivalent to a DC voltage that produces the same thermal effect. The effective value of AC voltage is the statistical average of voltage or current in an AC circuit, reflecting the actual power transferred by electrical energy. The formula for calculating the effective value is the square root of the average of the squares of the time-varying functions of voltage or current; the specific calculation formula is an existing formula and will not be elaborated here. In sinusoidal AC current, the effective voltage is approximately 0.707 times the peak voltage.
[0044] In some embodiments, the load phase is the B phase line of the AC power supply, the leading phase is the C phase line of the AC power supply, the power supply line of the AC power supply is the A phase line, the moving and stationary contacts of the relay are respectively connected to the A phase line and the B phase line, the input terminal of the isolation voltage threshold acquisition module 101 is respectively connected to the A phase line and the C phase line, and the output terminal of the isolation voltage threshold is connected to the judgment module 102.
[0045] In some embodiments, the isolation voltage threshold acquisition module 101 includes an acquisition circuit and a buffer circuit. The acquisition circuit is signal-connected to the input terminal of the buffer circuit. The acquisition circuit is used to acquire the voltage value of the leading phase of the load phase connected to the relay, and outputs a voltage signal when the acquired voltage value reaches the target AC voltage threshold. The buffer circuit is used to receive the voltage signal and process it into a valid enable signal. The output terminal of the buffer circuit is signal-connected to the judgment module 102 to output the valid enable signal to the judgment module 102. The acquisition circuit and the buffer circuit are connected by a signal to ensure that the voltage information obtained from the acquisition circuit can be smoothly and accurately transmitted to the buffer circuit. The enable signal processed by the buffer circuit is transmitted to the judgment module 102 through its output terminal.
[0046] The main task of the acquisition circuit is to detect and acquire the voltage on the load phase, especially the voltage value near the relay operating time. Specifically, this is done by measuring the transient voltage at various moments in the AC circuit and then selecting the corresponding voltage threshold based on the operating time. By directly measuring the load voltage and capturing the voltage threshold at an accurate time, the acquisition circuit ensures the accuracy of the obtained signal. Furthermore, as the relay operating characteristics change (e.g., performance degradation due to aging or environmental changes), the acquisition circuit can update the voltage threshold information near the operating time in real time. This means the system can adapt itself and maintain optimized relay operation, even under conditions of device aging or changing environmental conditions.
[0047] The function of the buffer circuit is to receive the voltage signal output by the acquisition circuit and perform necessary processing on the signal, such as signal amplification, filtering, or conversion, to generate the correct enable signal. The buffer circuit not only ensures stable signal transmission and avoids signal errors due to load fluctuations, but also provides necessary signal conditioning functions, such as removing noise through filters and boosting signal strength through amplifiers, thereby ensuring that the enable signal output to the judgment module 102 is stable and reliable.
[0048] In some embodiments, the judgment module 102 mainly determines whether an enable signal and an on / off signal are input simultaneously, and whether the enable signal is a valid enable signal or an invalid enable signal, and then outputs the corresponding judgment result. Specifically, if the judgment module 102 receives both an on / off signal and a valid enable signal, it outputs a drive signal; otherwise, the judgment module 102 outputs a sustaining signal to prevent the relay from operating.
[0049] It should also be noted that the effective enable signal refers to the signal output when the voltage threshold of the load phase is equal to the target AC voltage threshold. The voltage threshold of the load phase refers to the voltage value measured directly from the load phase by the isolation voltage threshold acquisition module 101 through its acquisition circuit. This voltage value changes instantaneously with the periodic fluctuations of the grid voltage. The target AC voltage threshold refers to a preset voltage value, calculated by the threshold calculation module 202 according to a specific algorithm (taking into account parameters such as relay operating time). This threshold aims to determine the optimal relay switching time to ensure that the relay operation is performed close to the zero voltage point of the AC voltage waveform. By ensuring that the effective enable signal is output only when the voltage threshold of the load phase is equal to the set target AC voltage threshold, this scheme can precisely control the switching time of the relay, making it close to the zero point of the voltage waveform, which helps to minimize the arc generated during switching operations and reduce damage to the relay contacts.
[0050] In some embodiments, the control circuit further includes a calibration module 203. The calibration module 203 is connected to the time acquisition module 201 and is used to calibrate the relay's operating time. This calibration module 203 is primarily designed to address the issue that after a relay has been used for a period of time, especially after a long service life, hardware wear may occur due to the relay's switching operation, leading to a significant error between the operating time specified in the relay parameters and the actual operating time. The calibration module 203 is used to detect whether the relay's operating time matches its specified operating time. If they do not match, the calibration module 203 will use the actual operating time of the relay as the calculation time for the subsequent target AC voltage threshold, ensuring that the relay can eliminate inaccurate zero-point switching caused by prolonged use and numerous uses, and always maintain the relay's ability to operate at zero point.
[0051] In some embodiments, referring to FIG3, the isolation voltage threshold acquisition module 101 includes an A-phase circuit (circuit marked A in FIG3 with the A-phase line as the power input), a B-phase circuit (circuit marked B in FIG3 with the B-phase line as the power input), and a C-phase circuit (circuit marked C in FIG3 with the C-phase line as the power input) connected to each other, and also includes bidirectional optocouplers U3, U2, and U1, and filter circuits RC3, RC2, and RC1. The input terminal of the bidirectional optocoupler U3 is connected to the A-phase line and the C-phase line, the output terminal of the bidirectional optocoupler U3 is connected to the filter circuit RC3, and the output terminal (VCA_A) of the filter circuit RC3 is connected to the buffer circuit. The input terminal of the bidirectional optocoupler U2 is connected to the B-phase line and the C-phase line, the output terminal of the bidirectional optocoupler U2 is connected to the filter circuit RC2, and the output terminal (VBC_A) of the filter circuit RC2 is connected to the buffer circuit. The input terminal of the bidirectional optocoupler U1 is connected to the A-phase line and the B-phase line, and the output terminal of the bidirectional optocoupler U1 is connected to the filter circuit RC1. The output terminal (VAB_A) of the filter circuit RC1 is connected to the buffer circuit. In the three-phase circuit, phases A, B, and C represent three sinusoidal AC voltages with a 120° phase difference. The A-phase circuit, B-phase circuit, and C-phase circuit are connected to the corresponding three-phase loads for monitoring the corresponding voltages. Optocouplers are devices that use optical signals for electrical isolation, enabling circuits to transmit signals between different potentials without interference. In the module, bidirectional optocouplers U1, U2, and U3 are responsible for isolating signals between phases A and B, phases B and C, and phases C and A, respectively. This design using optocouplers not only provides a channel for signal transmission but also ensures safe isolation between the control circuit (low-voltage side) and the high-voltage side 301 (Figure 3 includes the high-voltage side 301 and the low-voltage side 302). The function of the filter circuit is to filter out noise from the signal transmitted from the optocoupler, remove possible interference, and stabilize the output signal, thereby further improving the signal quality and reliability. In some embodiments, multiple relays may be included. Taking the control circuit in Figure 3 as an example, at least one relay can be connected to each of phases AB, AC, and BC, and the control circuit controls the relays connected to phases AB, AC, and BC respectively.
[0052] Further, the bidirectional optocouplers U1, U2, and U3 have the same structure, and the filter circuits RC1, RC2, and RC3 have the same structure. The bidirectional optocouplers primarily serve as a medium between sensing signals and control signals, allowing signals to cross electrical isolation boundaries while preventing direct electrical connections between circuits, thus ensuring the safety of equipment and users. The filter current RC3 includes a resistor R12 and a capacitor C3. The input terminal of resistor R12 is connected to the output terminal of the bidirectional optocoupler U3. Resistor R12 and capacitor C3 are connected in parallel, and the parallel output terminal of resistor R12 and capacitor C3 is connected to the buffer circuit, effectively removing high-frequency noise generated by external interference, power fluctuations, or signal transmission.
[0053] Furthermore, the output terminals of bidirectional optical couplers U1, U2 and U3 are all provided with reserved terminals to increase the connection ports of the bidirectional optical couplers and improve the circuit compatibility of the bidirectional optical couplers.
[0054] It should be noted that the conduction voltage of the bidirectional optocoupler U3 is equal to the target AC voltage threshold, thereby ensuring that the condition for the isolation voltage threshold acquisition module 101 to be turned on is that the acquired voltage value is equal to the target AC voltage threshold. This enables the determination of the relationship between the acquired voltage and the target AC voltage threshold without the need for the microcontroller to regulate the voltage, thereby outputting an effective enable signal that allows the relay to switch on and off at zero crossing.
[0055] In some embodiments, please refer to FIG4. The buffer circuit includes a signal processing chip. The signal processing chip has three input ports (1A, 2A, 3A) and three output ports (1Y, 2Y, 3Y) and a set of power supply ports VCC. The three input ports are respectively connected to the output terminals of the acquisition circuit (VAB_A, VBC_A, VCA_A in FIG3). The three output ports (VAB_Y, VBC_Y, VCA_Y in FIG4) are connected to the judgment module 102.
[0056] In some embodiments, referring to FIG5, the determination module 102 includes a logic chip, a clock circuit, a reset circuit, and a data circuit. The logic chip has a clock port (CLK), a reset port (CLR), and a data port (D). The clock port is connected to the clock circuit, the reset port is connected to the reset circuit, and the data port is connected to the data circuit. The logic chip is the core of the determination module 102, used to process input signals and generate an output (HEAT3_Q). These input signals typically include a clock signal, a reset signal, and a data signal from the data circuit. Based on these inputs, the logic chip performs a preset logic operation to determine whether to output a signal to drive the relay. The clock circuit provides a continuous clock signal (pulse sequence) to ensure that the operation of the determination module 102 can be synchronized according to regular time intervals. The reset circuit can initialize the state of the logic chip, that is, reset the output of the logic chip to the initial state when the power is turned on or under specific conditions, preventing erroneous operation of the logic chip due to unexpected circuit fluctuations or abnormalities. The data circuit provides input data to the logic chip. This data comes from the circuitry in the previous stage (HEAT 3), such as the filter circuit in the isolation voltage threshold acquisition module 101. This data carries information about the system status, such as whether the voltage threshold has been reached, whether the relay should be on or off, etc. The logic chip will make judgments and output corresponding control signals based on this data.
[0057] It should be noted that the clock circuit includes resistors R17 and R20, and capacitor C6. Resistor R17 is connected in parallel with both resistor R20 and capacitor C6, and resistor R20 is also connected in parallel with capacitor C6. The two ends of the clock circuit are connected to the output terminal (VBC_Y) of the buffer circuit and the clock circuit terminal (CLK) of the logic chip, respectively. The reset circuit includes resistor R18 and capacitor C7, with resistor R18 and capacitor C7 connected in parallel. The data circuit includes resistors R16 and R19, with resistor R16 and resistor R19 connected in parallel.
[0058] It should also be noted that the judgment module 102 is connected to a three-phase power supply. Therefore, the logic chip, clock circuit, reset circuit, and data circuit in the judgment module 102 are all provided in each phase, and their structures are all the same. For example, in this embodiment, the judgment module 102 includes the logic chip, clock circuit, reset circuit, and data circuit for phase C, as well as the logic chip, clock circuit, reset circuit, and data circuit for phase A and phase B. The structures of the logic chip, clock circuit, reset circuit, and data circuit for phases A, B, and C are all the same.
[0059] In some embodiments, please refer to FIG6 (including high voltage side 301 and low voltage side 302), the relay drive module 103 includes a relay K1, a light-emitting diode D2, a Schottky diode D1 and a MOSFET Q1. The relay K1, the light-emitting diode D2 and the Schottky diode D1 are connected in parallel with each other. The source of the MOSFET Q1 is grounded. The drain of the MOSFET Q1 is connected to the parallel output terminal of the relay K1, the light-emitting diode D2 and the Schottky diode D1. The gate of the MOSFET Q1 is connected to the output terminal (HEAT3_Q) of the judgment module 102.
[0060] Among them, relay K1 is the core of the entire drive module. It closes or opens the circuit according to the control signal, thereby driving the corresponding equipment to be powered on or off. In this embodiment, because the vacuum pump needs to be heated during operation to avoid condensation and deposition of the finished product or other adverse consequences, the relay and relay control circuit in this embodiment are mainly used in the switching control of the heating device of the vacuum pump. By setting a relay control circuit that can switch on and off at zero crossing, it is beneficial to avoid the generation of electric arcs due to the switching on and off of the relay in a high-voltage environment, which would affect the service life of the relay, and the generation of surge current and electromagnetic interference due to the switching on and off of the relay, which would have an adverse effect on the entire vacuum pump control system.
[0061] In the relay drive module 103, the parallel-connected light-emitting diode D2 (LED) serves as an indicator. When the relay K1 is driven (i.e., the MOSFET Q1 is turned on), D2 lights up, providing the operator with an intuitive indication of the working status.
[0062] The Schottky diode D1 has the characteristics of low forward voltage drop and fast switching. In this drive module, the Schottky diode D1 is connected in parallel with relays K1 and D2, mainly to prevent damage to the drive transistor or other sensitive components caused by the reverse potential released by the relay coil when the MOSFET Q1 is turned off.
[0063] MOSFET Q1, as the switching element of the drive module, is responsible for directly driving relay K1 according to the output control signal of judgment module 102. When Q1 is turned on, current flows through relay K1, light-emitting diode D2 and Schottky diode D1, causing relay K1 to be energized and the status indicator LED to light up.
[0064] Relay K1, LED D2, and Schottky diode D1 are connected in parallel. This parallel connection ensures that when MOSFET Q1 is turned on, current can simultaneously flow through relay K1, LED D2, and Schottky diode D1. Schottky diode D1 provides a freewheeling path when the relay coil is de-energized, and LED D2 provides an operation indication.
[0065] Please refer to Figure 7. An embodiment of the present invention also provides a relay zero-point switch control method, applied to the relay control circuit described in any of the foregoing embodiments. The control method includes:
[0066] S1. Collect the voltage value of the leading phase of the load phase connected to the relay and output an enable signal;
[0067] S2. Receive the on / off signal and the enable signal, and judge the enable signal. If the enable signal is a valid enable signal, output the drive signal. The valid enable signal is the enable signal when the voltage value of the leading phase of the load phase reaches the target AC voltage threshold. If the enable signal is an invalid enable signal, output the sustain signal.
[0068] S3. Control the on / off state of the relay based on the drive signal, and control the operation of the relay based on the holding signal.
[0069] In the step of acquiring the voltage value of the leading phase of the load phase connected to the relay and outputting an enable signal, the acquisition of the voltage value and the output of the enable signal are continuous, that is, the acquisition of the voltage value and the output of the enable signal are continuous. It should be noted that the output enable signal will be different depending on the voltage value. Specifically, the enable signal output when the acquired voltage value reaches the target AC voltage threshold is the valid enable signal, and the other enable signals are invalid enable signals.
[0070] In the step of outputting a drive signal based on the received on / off signal and enable signal, the judgment module 102 will output a result based on the signals it receives. If the judgment module 102 receives both an on / off signal and a valid enable signal, the judgment module 102 will output a positive judgment result, i.e., output a drive signal. If only an on / off signal or an invalid enable signal is received, or neither an on / off signal nor an invalid enable signal is received, a holding signal will be output to control the relay not to operate and continue to maintain its original state. If the relay is in the energized state, it will continue to remain in the energized state; if the relay is in the de-energized state, it will continue to remain in the de-energized state.
[0071] In some embodiments, prior to step S1, the control method may further include:
[0072] Obtain the relay's operating time;
[0073] The target AC voltage threshold when the zero-point switching signal is issued is determined based on the action time and the phase difference between the load phase and the leading phase.
[0074] In the step of obtaining the relay's operating time, the system first needs to determine the time required for the relay to actually operate (i.e., the contacts close or open) from receiving the on / off signal. This time can be obtained through testing or based on the relay's specifications.
[0075] In the step of determining the target AC voltage threshold at which the zero-point on / off signal is issued based on the action time and the phase difference between the load phase and the leading phase, it is necessary to calculate the required target AC voltage threshold based on the current grid frequency, action time, and load phase. This value indicates that an on / off signal, i.e., a zero-point on / off signal, is issued when a specific voltage threshold is reached, so that the relay action is synchronized with the AC voltage zero point.
[0076] In some embodiments, the step of determining the target AC voltage threshold at the time the zero-point switching signal is issued based on the action time and the phase difference between the load phase and the leading phase includes:
[0077] The load phase is acquired, and a phase line leading the load phase by 120° is determined as the relay's enable signal reference phase. In a three-phase AC system, the load phase refers to the specific phase line (e.g., phase A, phase B, or phase C) to which the relay is connected. In this embodiment, another phase line leading the load phase by 120° is used as the reference phase. Since the phase lines of a three-phase system are themselves offset from each other by 120°, selecting a reference phase leading by 120° means that a forward-looking enable signal can be provided using this reference phase to ensure accurate control of the load phase.
[0078] The time when the relay operates on the enable signal reference phase and the corresponding angle are calculated based on the phase difference of the alternating current and the operating time. The time when the relay operates on the reference phase is calculated based on the phase difference of the alternating current and the relay operating time. This time is calculated based on the frequency of the power grid and the physical characteristics of the relay operating time. The corresponding angle value is also calculated, because in an AC circuit, time can be converted into a frequency-dependent angle on the voltage waveform.
[0079] Obtain the effective value of the AC voltage, and calculate the target AC voltage threshold based on the effective value of the AC voltage and the time and angle of the enable signal reference phase operation. The system needs to obtain the effective value (i.e., RMS value) of the AC voltage. This is a fixed value, usually determined according to the power grid standard (e.g., 220V RMS). Based on the obtained effective value of the AC voltage and the calculated time and angle of the enable signal reference phase operation, the target AC voltage threshold is then calculated. This threshold is the voltage level that needs to be considered when the on / off signal is issued. By calculating this threshold, it is ensured that the AC voltage is passing through zero when the relay contacts operate.
[0080] It should be noted that the formula for calculating the time of operation of the enable signal reference phase is as follows:
[0081]
[0082] Where, the action time refers to the time when the enable signal reference phase operates.
[0083] The formula for calculating the angle corresponding to the operation of the enable signal reference phase is:
[0084]
[0085] The formula for calculating the target AC voltage threshold is:
[0086]
[0087] wherein, represents the effective value of AC voltage, and represents the target AC voltage threshold.
[0088] In some embodiments, the step of acquiring the voltage value of the leading phase of the load phase connected to the relay and outputting an enable signal includes:
[0089] The system acquires the voltage threshold of the load phase and outputs a voltage signal based on the voltage threshold. The system continuously acquires the instantaneous voltage of the load phase through a monitoring circuit and compares the acquired voltage value with a predetermined voltage threshold. If the acquired voltage value falls within the range of the target AC voltage threshold, the acquired voltage value is output as a voltage signal. The purpose of this comparison process is to determine whether the current grid voltage has reached a specific level, which is calculated based on the actual application conditions and the characteristics of the relay. Ideally, it should be as close as possible to the zero-voltage crossover point.
[0090] The system outputs a corresponding valid enable signal based on the voltage signal. After the system generates a voltage signal, it needs to convert this signal into a valid enable signal. The generation of the valid enable signal usually relies on a series of electronic circuit operations, including logic judgment and signal conversion. These operations ensure that the output of the enable signal strictly corresponds to the voltage signal, guaranteeing that the voltage is in an ideal state, i.e., zero or close to zero, when the actual on / off operation is performed.
[0091] In some embodiments, the step of determining the enabled signal based on the received on / off signal and enabled signal, and outputting a drive signal if the enabled signal is a valid enabled signal (the valid enabled signal being the enabled signal when the voltage value of the leading phase of the load phase reaches the target AC voltage threshold), and outputting a sustaining signal if the enabled signal is an invalid enabled signal, includes:
[0092] When the judgment module 102 receives both an on / off signal and an enable signal, and the enable signal is a valid enable signal, it outputs a judgment result to drive the relay to operate. The judgment module 102 only outputs a drive signal when it receives both an on / off signal and a valid enable signal. If the judgment module 102 only receives an on / off signal and not an enable signal, or receives both an on / off signal and an enable signal, but the enable signal is determined to be invalid, the judgment module 102 will output a sustaining signal to maintain the relay in its current state until a valid enable signal is received. This ensures that the relay can achieve zero-point on / off, and the entire judgment process does not require a microcontroller, making the control circuit simpler. A valid enable signal means that it reflects that the voltage threshold of the load phase has matched the preset target AC voltage threshold, that is, if the relay operates at this time, the relay operation time will be at zero point.
[0093] Based on the above control method and control circuit, the present invention provides an experiment on the zero-crossing switching of a relay, as shown in Figure 8. Figure 8 is a schematic diagram of the relay zero-point test provided in an embodiment of the present invention.
[0094] The embodiments of the present invention have been described in detail above. Specific examples have been used to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only for the purpose of helping to understand the method and core ideas of the present invention. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of the present invention. Therefore, the content of this specification should not be construed as a limitation of the present invention. [Simplified Explanation of the Diagram]
[0028] To more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort. [Figure 1] is a connection diagram of a relay control circuit provided in an embodiment of the present invention; [Figure 2] is a structural diagram of a relay control circuit provided in an embodiment of the present invention; [Figure 3] is a circuit diagram of the acquisition circuit in the isolation voltage threshold acquisition module provided in an embodiment of the present invention; [Figure 4] is a circuit diagram of the buffer circuit provided in an embodiment of the present invention; [Figure 5] is a circuit diagram of one phase of the judgment module provided in an embodiment of the present invention; [Figure 6] is a circuit diagram of one phase of the relay drive module provided in an embodiment of the present invention; [Figure 7] is a flowchart of the relay zero-point switch control method provided in an embodiment of the present invention; [Figure 8] is a data diagram of the relay zero-point test provided in an embodiment of the present invention.
Claims
1. A relay control circuit, wherein, include: The isolation voltage threshold acquisition module is used to acquire the voltage value of the leading phase of the load phase connected to the relay and output an enable signal. A judgment module is used to receive the on / off signal and the enable signal, and to judge the enable signal. If the enable signal is a valid enable signal, a drive signal is output. The valid enable signal is the enable signal when the voltage value of the leading phase of the load phase reaches the target AC voltage threshold. If the enable signal is an invalid enable signal, a state maintenance signal is output. A relay drive module is used to control the on / off state of the relay based on the drive signal, and to control the relay to maintain its current on or off state based on the state maintenance signal. The relay control circuit further includes phase A, phase B, and phase C. The load phase is phases A and B of the AC power supply, the leading phase is phase CA of the AC power supply, the moving and stationary contacts of the relay are connected to phase A and phase B respectively, the input terminal of the isolation voltage threshold acquisition module is connected to phase A and phase C respectively, and the output terminal of the isolation voltage threshold is connected to the judgment module. The acquisition circuit is connected to the input of the buffer circuit. The acquisition circuit is used to acquire the voltage value of the leading phase of the load phase connected to the relay and output a voltage signal. The buffer circuit is used to receive the voltage signal and process it into an enable signal. The output of the buffer circuit is connected to the judgment module to output the enable signal to the judgment module. The acquisition circuit includes a bidirectional optocoupler U3 and a filter circuit RC3. The input of the bidirectional optocoupler U3 is connected to the A-phase line and the C-phase line. The output of the bidirectional optocoupler U3 is connected to the filter circuit RC3. The output of the filter circuit RC3 is connected to the buffer circuit.
2. The relay control circuit as described in claim 1, wherein, The target AC voltage threshold is: where represents the on / off action time of the relay, represents the effective value of the AC voltage, and represents the target AC voltage threshold.
3. The relay control circuit as described in claim 1, wherein, The conduction voltage of the bidirectional optocoupler U3 is equal to the target AC voltage threshold.
4. The relay control circuit as described in claim 1, wherein, The filter circuit RC3 includes a resistor R12 and a capacitor C3. The input terminal of the resistor R12 is connected to the output terminal of the bidirectional optocoupler U3. The resistor R12 and the capacitor C3 are connected in parallel, and the parallel output terminal of the resistor R12 and the capacitor C3 is connected to the buffer circuit.
5. The relay control circuit as described in claim 1, wherein, The buffer circuit includes a signal processing chip, which has three input ports, three output ports, and a set of power ports. The three input ports are respectively connected to the AB phase circuit, CA phase circuit, and BC phase circuit of the acquisition circuit, and the three output ports are connected to the judgment module.
6. The relay control circuit as described in any one of claims 1 to 5, wherein, The judgment module includes a logic chip, a clock circuit, a reset circuit, and a data circuit. The logic chip has a clock port, a reset port, and a data port. The clock port is connected to the clock circuit, the reset port is connected to the reset circuit, and the data port is connected to the data circuit.
7. A relay control method applied to a relay control circuit as described in any one of claims 1 to 6, wherein, The relay control method includes: acquiring the voltage value of the leading phase of the load phase connected to the relay and outputting an enable signal; receiving an on / off signal and the enable signal, and judging the enable signal; if the enable signal is a valid enable signal, outputting a drive signal, wherein the valid enable signal is the enable signal when the voltage value of the leading phase of the load phase reaches a target AC voltage threshold; if the enable signal is an invalid enable signal, outputting a state maintenance signal; controlling the on / off state of the relay based on the drive signal, and controlling the relay to maintain its current on or off state based on the state maintenance signal.
8. The relay control method as described in claim 7, wherein, Before the step of acquiring the voltage value of the leading phase of the load phase connected to the relay and outputting an enable signal, the method further includes: acquiring the operating time of the relay; and determining the target AC voltage threshold when the zero-point on / off signal is issued based on the operating time and the phase difference between the load phase and the leading phase.
Citation Information
Patent Citations
Alternating-current intelligent zero relay control circuit
CN115332012A
Self-adjusting zero-crossing control circuit for electromagnetic?relay
CN202917398U
Relay zero switch control circuit
CN213936050U
Controller and method for controlling relay
TW201501164A
Control circuit of diode contact protection combination switch and relay control method
US20160148768A1
