Intelligent ultra-low power consumption relay
Through the design of intelligent ultra-low power relays, the relay status is controlled by the processor, widen the input voltage range and reduce power consumption, the problems of limited application range and high power consumption of existing relays are solved, and the reliability of relays is improved. Diagnostic function.
Patent Information
- Application Number
- CN202420299349.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-19
- Publication Date
- 2024-11-26
- Estimated Expiration
- 2034-02-19
AI Technical Summary
The application range of existing relays is limited to power supply systems of 5 to 30V, and cannot adapt to systems with lower voltages of 3V or higher voltages of 30V or higher voltages of 30V, and has a large power consumption, especially in the absence of operation, which consumes high energy consumption.
An intelligent ultra-low power relay is designed, including a relay body, processor and input control circuit. The state of the relay is controlled through the processor and is in the working state when the external device inputs signals, otherwise it is in a dormant state, using closed-loop control and redundant. Driven by double ports, widen the input voltage range and reduce power consumption.
It realizes the application of relays in a wider voltage range, reduces energy consumption without operation, improves the reliability and diagnostic functions of relays, adapts to a variety of power systems, and improves reliability through redundant drives.
Smart Images

Figure CN222071799U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of electric control isolation devices, in particular to an intelligent ultra-low power consumption relay. Background Art
[0002] Relay is an automatic switch element with isolation function, widely used in remote control, telemetry, communication, automatic control, mechatronics and automation instrumentation, and is one of the most important control elements. As a bistable relay, magnetic latching relay is widely used for its advantages of low power consumption, small size and large load capacity.
[0003] On the one hand, the application method of relays is to connect the relays directly to the circuit or to connect the relays to the circuit through the driving circuit. During the use of the relays, the relays need to be powered continuously, which consumes a lot of power. On the other hand, the power supply requirement of the relay driving circuit is 5 to 30V, and the application range is relatively narrow. It cannot adapt to the power supply system with a lower voltage of 3V or a higher voltage of more than 30V, so the application range of the relays is limited. Utility Model Content
[0004] The utility model provides an intelligent ultra-low power consumption relay, which can widen the input voltage of the relay and expand the application range of the relay.
[0005] In the first aspect, the utility model provides an intelligent ultra-low power consumption relay, which includes a relay body, a processor and an input control circuit; the input end of the input control circuit is connected to an external device, and the output end is connected to the input port of the processor; the output end of the processor is connected to the drive coil of the relay body; the output end of the relay body is connected to the controlled device; when the external device input relay control signal changes, the intelligent ultra-low power consumption relay is in a working state, causing the relay body to perform corresponding actions; when there is no input signal change of the external device, the intelligent ultra-low power consumption relay is in a dormant state.
[0006] In a possible implementation, the output end of the processor includes a first port, a second port, a third port and a fourth port; the first port and the second port are connected to the first end of the drive coil; the third port and the fourth port are connected to the second end of the drive coil.
[0007] In a possible implementation, the input control circuit includes a first branch and / or a second branch; the first branch is connected to a first input port of the processor; the second branch is connected to a second input port of the processor; the first branch receives a relay control signal of a first external device; the second branch receives a relay control signal of a second external device. The input control circuit is responsible for the conversion between external input and internal level.
[0008] In a possible implementation, the first branch includes a first resistor, a second resistor and a first switch tube. The first end of the first resistor is connected to a first external device, the second end of the first resistor is connected to the gate of the first switch tube, the source of the first switch tube is connected to the first end of the second resistor, and the second end of the second resistor is connected to VCC; the drain of the first switch tube is grounded; the source of the first switch tube is connected to the first input port; the second branch includes a third resistor, a fourth resistor and a second switch tube. The first end of the third resistor is connected to the gate of the first switch tube and then connected to the second external device, the second end of the third resistor is connected to the drain of the first switch tube, the source of the first switch tube is connected to the first end of the fourth resistor, and the second end of the fourth resistor is connected to VCC; the source of the first switch tube is connected to the second input port.
[0009] In one possible implementation, the processor also includes a mode input port, which is connected to a mode setting circuit, or the mode input port is connected to an external setting device; the mode input port receives a mode setting signal, and the mode setting signal is used to limit the logical relationship between the received signal of the signal input port of the processor and the output state of the processor.
[0010] In a possible implementation, the mode setting circuit may include a seventh resistor, a first switch, an eighth resistor, and a second switch; wherein the first end of the seventh resistor is connected to VCC, the second end of the seventh resistor is connected to the first end of the first switch, and the second end of the first switch is grounded; the second end of the seventh resistor is connected to the mode setting port; the first end of the eighth resistor is connected to VCC, the second end of the eighth resistor is connected to the first end of the second switch, and the second end of the second switch is grounded; the second end of the eighth resistor is connected to the mode setting port.
[0011] In a possible implementation, the intelligent ultra-low power consumption relay also includes a power supply circuit; the power supply circuit includes a DC power supply, a first diode and a first capacitor; the anode of the first diode is connected to the DC power supply; the cathode of the first diode is connected to the first end of the first capacitor and then connected to VCC; the second end of the first capacitor is grounded.
[0012] In a possible implementation, the capacitance value of the first capacitor is greater than or equal to C;
[0013]
[0014] Wherein, t is the action time of the magnetic latching relay, P is the action power of the magnetic latching relay, U1 is the voltage of the first capacitor before the magnetic latching relay is actuated, and U2 is the voltage of the first capacitor after the magnetic latching relay is actuated.
[0015] In one possible implementation, the intelligent ultra-low power consumption relay also includes a power-off detection circuit; illustratively, the power-off detection circuit includes a fifth resistor, a sixth resistor and a second diode; the first end of the fifth resistor is connected to the DC power supply and VDD; the second end of the fifth resistor is connected to the first end of the sixth resistor and the anode of the second diode; the second end of the sixth resistor is connected to the power-off detection port of the processor; and the cathode of the second diode is connected to VCC.
[0016] In a possible implementation, the processor is further provided with a status output port; the status output port is connected with an indicator light to indicate the working status of the relay, such as a normal state, a pre-fault state, and a fault state.
[0017] In a possible implementation, the states of the intelligent ultra-low power relay include a working state, a sleeping state, and an interrupt state; in the interrupt state, the output modes of the processor include a strong push mode, a weak pull mode, and an ADC sampling mode.
[0018] In a possible implementation, in the interrupt state, inside the processor, the first port is connected to VCC through the ninth resistor, the second port is connected to the first ADC port, the third port is connected to the second ADC port, and the fourth port is grounded.
[0019] The utility model provides an intelligent ultra-low power consumption relay. The utility model sets the relay body, processor and input control circuit as an integrated relay, connects with external equipment through the input control circuit, expands the input voltage of the relay, and expands the application range of the relay. On this basis, the utility model controls the state of the relay through the processor, and the relay is in a working state when the external equipment input relay control signal changes, and the relay is in a dormant state when the external equipment has no input signal change, thereby reducing the energy consumption of the relay when it is not in action and reducing the power consumption of the relay. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0021] Figure 1 This is a structural diagram of an intelligent ultra-low power consumption relay provided by an embodiment of the utility model;
[0022] Figure 2 It is a schematic diagram of the structure of two input control circuits provided by the embodiment of the utility model;
[0023] Figure 3is a structural schematic diagram of a mode setting circuit provided by an embodiment of the present invention;
[0024] Figure 4 is a schematic diagram of the internal structure of a processor provided by an embodiment of the present invention;
[0025] Figure 5 is a structural schematic diagram of another intelligent ultra-low power consumption relay provided by an embodiment of the present invention;
[0026] Figure 6 It is a schematic diagram of the structure of a status output circuit provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0027] In the following description, specific details such as specific system structures and technologies are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present invention. However, it should be clear to those skilled in the art that the present invention can also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to avoid unnecessary details that hinder the description of the present invention.
[0028] In the description of the present utility model, unless otherwise specified, " / " means "or", for example, A / B can mean A or B. The "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, "at least one" and "plurality" refer to two or more. The words "first", "second", etc. do not limit the quantity and execution order, and the words "first", "second", etc. do not limit them to be different.
[0029] In the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a concrete way for easy understanding.
[0030] In addition, the terms "including" and "having" and any variations thereof mentioned in the description of this application are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or modules is not limited to the listed steps or modules, but may optionally include other steps or modules that are not listed, or may optionally include other steps or modules that are inherent to these processes, methods, products or devices.
[0031] In order to make the purpose, technical solutions and advantages of the present invention more clear, the present invention will be described below through specific embodiments in conjunction with the accompanying drawings.
[0032] As described in the background technology, magnetic latching relay driver chips, such as KY8023 of KEYSEMI and LT8023 of Lingchen Technology, are easy to use and have low driving power consumption, but there are also some problems. For example, each relay driving IO requires two logics to cooperate, and multi-channel relays require more IOs, and the control logic is complicated; the driving circuit power supply requires 5 to 30V, which cannot adapt to the 3V lower voltage power supply system; relays are often key control components, and their failure is very important. This type of chip uses non-closed-loop control and cannot obtain the relay failure state; in addition, when using magnetic latching relay control, the previous relay energized state will be maintained when the power is off, and this state may not be suitable for the control logic of the controlled device at this time, etc.
[0033] To solve the above technical problems, Figure 1 As shown, an embodiment of the present invention provides an intelligent ultra-low power consumption relay. The relay includes a relay body 10, a processor 20 and an input control circuit 30.
[0034] In the embodiment of the present application, the input end of the input control circuit 30 is connected to an external device, and the output end is connected to the input port of the processor 20; the output end of the processor 20 is connected to the drive coil of the relay body 10; and the output end of the relay body 10 is connected to the controlled device.
[0035] In the embodiment of the present application, when the external device inputs a relay control signal, the intelligent ultra-low power consumption relay is in a working state; when the external device has no input signal, the intelligent ultra-low power consumption relay is in a dormant state.
[0036] In some embodiments, the relay body 10 in the present invention may be a magnetic latching relay.
[0037] The driving circuit of the intelligent ultra-low power consumption relay provided by the embodiment of the present invention can be applied to a variety of power supply ranges of 2 to 40V DC, and can be well compatible with more power supply systems; only one control IO is needed to realize the action of the magnetic latching relay, which is the same as the conventional relay control method; the magnetic latching relay control adopts closed-loop control, and has a diagnostic function of detecting whether the magnetic latching relay fails, such as open circuit and short circuit of the driving coil; the control logic and power-off reset state of the relay can be flexibly set.
[0038] Optionally, the output end of the processor 20 includes a first port OUT1, a second port OUT2, a third port OUT3 and a fourth port OUT4; the first port OUT1 and the second port OUT2 are connected to the first end of the driving coil; the third port OUT3 and the fourth port OUT4 are connected to the second end of the driving coil.
[0039] Exemplarily, the first port OUT1 , the second port OUT2 , the third port OUT3 , and the fourth port OUT4 may be configured as redundant port drivers.
[0040] For example, the processor 20 can control the relay to operate through the first port OUT1 and the third port OUT3. The second port OUT2 and the fourth port OUT4 are redundant ports, and control the relay to operate when the first port OUT1 and the third port OUT3 fail.
[0041] For another example, the processor 20 can control the relay to operate through the first port OUT1 and the fourth port OUT4. The second port OUT2 and the third port OUT3 are redundant ports, and control the relay to operate when the first port OUT1 and the fourth port OUT4 fail.
[0042] In this way, the embodiment of the present invention can form a port drive redundancy setting through multiple ports to improve the reliability of the relay.
[0043] Optional, such as Figure 2 As shown, the input control circuit 30 includes a first branch and / or a second branch; the first branch is connected to the first input port of the processor 20; the second branch is connected to the second input port of the processor 20; the first branch receives a relay control signal of a first external device; and the second branch receives a relay control signal of a second external device.
[0044] Exemplarily, the first branch includes a first resistor R1, a second resistor R2 and a first switch tube T1. The first end of the first resistor R1 is connected to the first external device, the second end of the first resistor R1 is connected to the gate of the first switch tube T1, the source of the first switch tube T1 is connected to the first end of the second resistor R2, and the second end of the second resistor R2 is connected to VCC; the drain of the first switch tube T1 is grounded; and the source of the first switch tube T1 is connected to the first input port.
[0045] Exemplarily, the second branch includes a third resistor R3, a fourth resistor R4, and a second switch tube T2. The first end of the third resistor R3 is connected to the gate of the second switch tube T2 and then connected to the second external device, the second end of the third resistor R3 is connected to the drain of the second switch tube T2, the source of the second switch tube T2 is connected to the first end of the fourth resistor R4, and the second end of the fourth resistor R4 is connected to VCC; the source of the first switch tube T1 is connected to the second input port.
[0046] Optionally, the processor 20 further includes a mode input port SET_IN, and the mode input port SET_IN is connected to the mode setting circuit 60, or the mode input port is connected to an external setting device.
[0047] It should be noted that the mode input port SET_IN receives a mode setting signal, and the mode setting signal is used to define the logical relationship between the received signal of the signal input port of the processor and the output state of the processor 20 .
[0048] For example, Figure 3 As shown, the mode setting port SET_IN is connected to a mode setting circuit 60. The mode setting circuit 60 may include a seventh resistor R7, a first switch S1, an eighth resistor R8 and a second switch S2.
[0049] The first end of the seventh resistor R7 is connected to VCC, the second end of the seventh resistor R7 is connected to the first end of the first switch S1, the second end of the first switch S1 is grounded; the second end of the seventh resistor R7 is connected to the mode setting port P1.
[0050] A first end of the eighth resistor R8 is connected to VCC, a second end of the eighth resistor R8 is connected to a first end of the second switch S2, a second end of the second switch S2 is grounded; and a second end of the eighth resistor R8 is connected to the mode setting port P2.
[0051] Exemplarily, the mode input port SET_IN can also be connected to an external setting device such as a host computer through RS485 or RS232 to communicate with the external setting device. After the processor 20 receives the mode setting signal, it sets the logical relationship between the received signal of the signal input port and the output state of the processor 20 based on the mode setting signal.
[0052] Optionally, the intelligent ultra-low power consumption relay further includes a power supply circuit 40 .
[0053] In some embodiments, Figure 1 As shown, the power supply circuit 40 includes a DC power supply, a first diode D1 and a first capacitor C1; the anode of the first diode D1 is connected to the DC power supply; the cathode of the first diode D1 is connected to the first end of the first capacitor C1 and then connected to VCC; the second end of the first capacitor C1 is grounded.
[0054] It should be noted that the first capacitor C1 is an energy storage capacitor. When the magnetic latching relay needs to be activated, the energy stored in the first capacitor C1 can smooth out instantaneous energy consumption fluctuations; when the external power is off, it can ensure that the processor 20 has enough energy to work until the power-off signal is detected and processed.
[0055] Exemplarily, the capacitance value of the first capacitor C1 is greater than or equal to C;
[0056]
[0057] Wherein, t is the action time of the magnetic latching relay, P is the action power of the magnetic latching relay, U1 is the voltage of the first capacitor before the magnetic latching relay is actuated, and U2 is the voltage of the first capacitor after the magnetic latching relay is actuated.
[0058] Exemplarily, the action power of the magnetic latching relay selected in the embodiment of the present invention is approximately P=50mw, and the action time t≤2ms. In order to ensure the stability of the system operating voltage, assuming that the voltage on the first capacitor C1 before and after the relay executes the action is set to U1=3.3V and U2=3V respectively, then, the first capacitor C1≥2*t*P / (U1^2-U2^2)=105uF. In order to ensure a reliable safety margin, the first capacitor C1 can be selected to be 330uF / 10V.
[0059] The power supply is a low-power DC-DC conversion power supply, and the logic control circuit is a conversion circuit that converts an external control level into an internal logic level, which can accept a wider power supply and logic control input voltage input to adapt to a wider range of working conditions.
[0060] Optionally, the intelligent ultra-low power consumption relay further includes a power failure detection circuit 50 .
[0061] In some embodiments, Figure 1 As shown, the power-off detection circuit 50 includes a fifth resistor R5, a sixth resistor R6 and a second diode D2; the first end of the fifth resistor R5 is connected to the DC power supply and VDD; the second end of the fifth resistor R5 is connected to the first end of the sixth resistor R6 and the anode of the second diode D2; the second end of the sixth resistor R6 is connected to the power-off detection port INT0 of the processor 20; and the cathode of the second diode D2 is connected to VCC.
[0062] In the embodiment of the present invention, the power supply supplies power to the processor 20 and related circuits. The processor 20 detects the states of the control input port INT1 and the power-off detection port INT0, and controls the magnetic latching relay to perform corresponding actions after judging the logical relationship preset by the mode input port SET_IN.
[0063] The signal input port is connected to the input control circuit 30, which is responsible for the conversion between the external input logic and the internal logic level. The magnetic latching relay consumes low power, and the action direction is realized by the voltage polarity at both ends of the driving coil. After the action, the driving coil loses power and continues to maintain the original state.
[0064] Optionally, the states of the intelligent ultra-low power relay include a working state, a sleeping state and an interruption state.
[0065] In the interrupt state, the output modes of the processor 20 include a strong push mode, a weak pull mode and an ADC sampling mode.
[0066] Exemplarily, a timer is provided inside the processor 20, and when the timing duration of the timer reaches a set period, the relay 20 is in a timing interruption state.
[0067] like Figure 4 As shown, the first port inside the processor 20 is connected to VCC through a ninth resistor, the second port is connected to the first ADC port, the third port is connected to the second ADC port, and the fourth port is grounded.
[0068] Processor 20 is a processor with multiple modes such as IO strong drive mode, weak pull mode and ADC multiplexing function. The two sets of multi-function mode drive IOs of processor 20 are directly connected to the drive coil control end of the magnetic latching relay. The different level polarities of the two sets of IOs control the action direction of the magnetic latching relay. Each set of IO can be composed of two IOs or multiple IOs.
[0069] The mode input port SET_IN is the IO level logic control setting mode of the processor 20, and can also be a communication interface. The control logic relationship parameters are set through the mode input port to determine the action logic relationship between the magnetic latching relay and the external input signal.
[0070] It should be noted that if Figure 4 As shown, the first contact OUT1 is set to a weak pull-up mode with a resistor, and the pull-up resistor, that is, the ninth resistor, is about 4.7k. The fourth contact OUT4 is a quasi-bidirectional IO low level, so that the pull-up resistor R3 and the coil of the relay are connected in series as the load of the two IOs OUT1 and OUT4. The second contact OUT2 and the third contact OUT3 are set to ADC mode. The voltage division judgment of R3 and the load of the coil can be used to diagnose whether the relay is in a failed state; by changing the combination state of OUT1~OUT4, the performance of the processor IO or the diagnosis of welding quality can also be judged.
[0071] Exemplarily, if the relay works normally, the control processor 20 enters the sleep mode.
[0072] As another example, if a relay fails, determine the output port that is in a working state and the output port that is in a standby state before the relay fails; switch the output port of the relay in the standby state to a working state, and switch the output port in the working state to a standby state; and control the relay action based on the output port after switching.
[0073] Correspondingly, such as Figure 5As shown, the output end of the processor 20 can be connected to two relay bodies to control the actions of the two relays. Exemplarily, the processor 20 can include a fifth port OUTB1, a sixth port OUTB2, a seventh port OUTB3 and an eighth port OUTB4.
[0074] The first port OUT1 , the second port OUT2 , the third port OUT3 and the fourth port OUT4 control the first relay body 101 to operate. The fifth port OUTB1 , the sixth port OUTB2 , the seventh port OUTB3 and the eighth port OUTB4 control the second relay body 102 to operate.
[0075] Optionally, the processor 20 is further provided with a status output port; the status output port is connected to an indicator light to indicate the working status of the relay.
[0076] For example, Figure 6 As shown, the state output port of the processor 20 is connected to the first end of the tenth resistor R10, the second end of the tenth resistor R10 is connected to the cathode of the indicator light DL, and the anode of the indicator light DL is connected to VCC. The state output port of the processor 20 is also connected to an external device, such as a host computer, to transmit the state of the relay to the host computer.
[0077] As a possible implementation manner, the embodiment of the present invention may determine the output state of the state output port based on whether the relay fails.
[0078] The utility model provides an intelligent ultra-low power consumption relay. The utility model sets the relay body, processor and input control circuit as an integrated relay, connects with external devices through the input control circuit, widens the input voltage of the relay, and widens the application range of the relay. On this basis, the utility model controls the state of the relay through the processor. When the external device inputs the relay control signal, the relay is in a working state. When the external device has no input signal, the relay is in a dormant state, which reduces the energy consumption of the relay when it is not in action and reduces the power consumption of the relay. In addition, the relay provided by the present invention also has a diagnostic failure function, and adopts a dual-port redundant drive to improve the reliability of the relay.
[0079] The embodiments described above are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the protection scope of the present invention.
Claims
1. An intelligent ultra-low power relay, It is characterized in that include: Relay body, processor and input control circuit; The input end of the input control circuit is connected to an external device, and the output end is connected to an input port of the processor; The output end of the processor is connected to the driving coil of the relay body; the output end of the relay body is connected to the controlled device; When the external device input relay control signal changes, the intelligent ultra-low power consumption relay is in a working state, causing the relay body to perform corresponding actions; when the external device has no input signal changes, the intelligent ultra-low power consumption relay is in a dormant state.
2. The intelligent ultra-low power consumption relay according to claim 1, It is characterized in that The output end of the processor includes a first port, a second port, a third port and a fourth port; The first port and the second port are connected to the first end of the driving coil; the third port and the fourth port are connected to the second end of the driving coil.
3. The intelligent ultra-low power consumption relay according to claim 1, It is characterized in that The input control circuit includes a first branch and / or a second branch; the first branch is connected to a first input port of the processor; the second branch is connected to a second input port of the processor; the first branch receives a relay control signal of a first external device; The second branch receives a relay control signal of a second external device.
4. The intelligent ultra-low power consumption relay according to claim 3, It is characterized in that The first branch includes a first resistor, a second resistor and a first switch tube; wherein the first end of the first resistor is connected to the first external device, the second end of the first resistor is connected to the gate of the first switch tube, the source of the first switch tube is connected to the first end of the second resistor, and the second end of the second resistor is connected to VCC; the drain of the first switch tube is grounded; and the source of the first switch tube is connected to the first input port; The second branch includes a third resistor, a fourth resistor and a second switch tube; wherein, the first end of the third resistor is connected to the gate of the first switch tube and then connected to the second external device, the second end of the third resistor is connected to the drain of the first switch tube, the source of the first switch tube is connected to the first end of the fourth resistor, and the second end of the fourth resistor is connected to VCC; the source of the first switch tube is connected to the second input port.
5. The intelligent ultra-low power consumption relay according to claim 1, It is characterized in that The processor further comprises a mode input port, wherein the mode input port is connected to a mode setting circuit, or the mode input port is connected to an external setting device; The mode input port receives a mode setting signal, and the mode setting signal is used to define a logical relationship between a received signal of a signal input port of the processor and an output state of the processor.
6. The intelligent ultra-low power consumption relay according to claim 5, It is characterized in that The mode setting circuit may include a seventh resistor, a first switch, an eighth resistor, and a second switch; wherein a first end of the seventh resistor is connected to VCC, a second end of the seventh resistor is connected to a first end of the first switch, and a second end of the first switch is grounded; a second end of the seventh resistor is connected to a mode setting port; a first end of the eighth resistor is connected to VCC, a second end of the eighth resistor is connected to a first end of the second switch, and a second end of the second switch is grounded; and a second end of the eighth resistor is connected to the mode setting port.
7. The intelligent ultra-low power consumption relay according to claim 1, It is characterized in that The intelligent ultra-low power consumption relay also includes a power supply circuit; The power supply circuit includes a DC power supply, a first diode and a first capacitor; the anode of the first diode is connected to the DC power supply; the cathode of the first diode is connected to the first end of the first capacitor and then connected to VCC; the second end of the first capacitor is grounded.
8. The intelligent ultra-low power consumption relay according to claim 7, It is characterized in that The capacitance value of the first capacitor is greater than or equal to C; Wherein, t is the action time of the magnetic latching relay, P is the action power of the magnetic latching relay, U1 is the voltage of the first capacitor before the magnetic latching relay is actuated, and U2 is the voltage of the first capacitor after the magnetic latching relay is actuated.
9. The intelligent ultra-low power consumption relay according to claim 1, It is characterized in that The intelligent ultra-low power consumption relay also includes a power-off detection circuit; the power-off detection circuit includes a fifth resistor, a sixth resistor and a second diode; the first end of the fifth resistor is connected to a DC power supply and VDD; the second end of the fifth resistor is connected to the first end of the sixth resistor and the anode of the second diode; the second end of the sixth resistor is connected to a power-off detection port of a processor; and the cathode of the second diode is connected to VCC.
10. The intelligent ultra-low power consumption relay according to claim 1, It is characterized in that The processor is also provided with a status output port; the status output port is connected to an indicator light to indicate the working status of the relay.
