Intelligent switch controller compatible with single-live-wire power supply and zero-live-wire power supply

By designing an intelligent switch controller that is compatible with single fire and zero fire power supply, the construction difficulty and cost of upgrading the intelligent lighting system in the renovation of old houses is solved, and compatibility with single fire wiring methods is achieved without destroying the existing decoration, ensuring stable power supply and accurate control.

CN223217798UActive Publication Date: 2025-08-12XIAMEN YADE ELECTRONICS TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202422376308.8
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-09-29
Publication Date
2025-08-12
Estimated Expiration
2034-09-29

AI Technical Summary

Technical Problem

In the renovation of old houses, due to the single fire wiring method, the intelligent switch controller cannot correctly identify the switch status or is damaged due to unstable voltage. Traditional solutions require rewiring, which is difficult to construct, high cost and affects the decoration.

Method used

Design an intelligent switch controller compatible with single-fire and zero-fire power supply, including input rectifying filter circuit, flyback circuit, output rectifying filter circuit, DCDC power supply circuit, MCU, wireless transmission module, single-fire power supply circuit and relay control circuit. Through the combination of these circuits, compatibility with different wiring methods can be achieved to ensure power supply stability and control functions.

Benefits of technology

The old house single fire lighting system can be upgraded to intelligent lighting without rewiring, ensuring power supply stability and control accuracy, and reducing construction difficulty and cost.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN223217798U_ABST
    Figure CN223217798U_ABST
Patent Text Reader

Abstract

The utility model provides an intelligent switch controller compatible with single-live-wire and zero-live-wire power supply. The intelligent switch controller comprises an input rectification filter circuit, a flyback circuit, an output rectification filter circuit, a DCDC power supply circuit, an MCU, a wireless transmission module, a single-live-wire power supply circuit and a relay control circuit. The input rectification filter circuit is connected to a commercial power supply and supplies power to the flyback circuit, the output rectification filter circuit rectifies and filters the power supply provided by the flyback circuit and then transmits the power supply to the DCDC power supply circuit, and the DCDC power supply circuit adjusts a DC power supply into power supplies with different voltage values. The output end of the switch controller is further connected with the input rectification filter circuit and used for single-fire power supply, and when the relay is disconnected, the commercial power L end supplies power to the input rectification filter circuit through the load; and the single-live-wire power supply circuit is also connected with the input end of the DCDC power supply circuit and the L-line input end of the input rectification filter circuit, so that the single-live-wire power supply circuit supplies power to the DCDC power supply circuit when the single-live-wire power supply relay is closed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to the technical field of intelligent switches, in particular to an intelligent switch controller compatible with single-fire and zero-fire power supplies. Background Art

[0002] With the rapid development of IoT technology and people's ever-increasing pursuit of a better quality of life, smart home systems have become a key trend in modern home renovation and renovation. As a core component of smart home systems, smart lighting, through functions such as remote control, timed on / off, and brightness adjustment, not only provides users with great convenience and comfort, but also enables effective energy management and conservation, significantly enhancing the living experience.

[0003] The choice of power supply method is crucial in the design and implementation of smart home lighting systems. For newly built homes, due to the greater flexibility and foresight in interior design, lighting control circuits generally utilize a neutral-live wiring method. This method, by simultaneously routing both neutral and live wires to each switch position, provides a stable and reliable power supply for the smart lighting system, facilitating direct connection and commissioning of smart switch controllers, thereby achieving efficient and stable smart lighting control.

[0004] However, in old house renovation projects, the situation is quite different. Limited by the limitations of the original building structure and electrical circuit design, most old house lighting systems use a single-live wiring method, that is, the live wire is only introduced at the lamp switch, and the neutral wire is directly connected to the lamp without passing through the switch. Although this wiring method can meet basic needs in traditional lighting control, it faces huge challenges when connecting to smart switch controllers. Since smart switch controllers require a stable voltage and current environment to work properly, and in the single-live wiring method, there is still a small current (called "leakage current") between the load (lamp) and the live wire when the switch is disconnected, which may cause the smart switch controller to be unable to correctly identify the switch state or be damaged due to unstable voltage.

[0005] Therefore, in existing home renovation projects, upgrading to smart lighting systems typically involves rewiring, converting existing single-live wiring to zero-live wiring. However, this approach is not only difficult and costly to implement, but also damages the existing home's interior, severely impacting construction progress and user experience. Utility Model Content

[0006] In order to solve the above problems, the purpose of the present utility model is to provide an intelligent switch controller that is compatible with single-fire and zero-fire power supply. Through the cooperation of the AC power supply, the single-fire power supply circuit and the input rectifier filter circuit, the switch controller can be suitable for both zero-fire input and single-fire input wiring methods, so that the single-fire lighting system of the old house can be upgraded to intelligent lighting without damaging the existing house decoration.

[0007] The utility model is achieved through the following technical solutions:

[0008] An intelligent switch controller compatible with single-fire and zero-fire power supply, comprising:

[0009] Input rectifier filter circuit, flyback circuit, output rectifier filter circuit, DCDC power supply circuit, MCU, wireless transmission module, single-fire power supply circuit, relay control circuit;

[0010] The input rectifier and filter circuit is connected to the mains power supply and is used to rectify and filter the mains power supply; the flyback circuit includes a transformer, the output end of the input rectifier and filter circuit is connected to the primary winding of the transformer, and the secondary winding of the transformer is connected to the output rectifier and filter circuit. The output rectifier and filter circuit is used to rectify and filter the power transmitted by the transformer into a DC power supply. The output end of the output rectifier and filter circuit is connected to the DCDC power supply circuit, which is used to adjust the DC power supply to a power supply with different voltage values. The MCU, the wireless transmission module and the output end of the DCDC power supply circuit are all connected in pairs;

[0011] The output end of the switch controller is respectively connected to the L end of the load and the input rectifier filter circuit, and the N end of the load is connected to the N end of the mains; the static contact of the relay control circuit is the output end of the switch controller, the single-fire power supply circuit is connected to the relay moving contact of the relay control circuit, and the relay control circuit is respectively connected to the output end of the output rectifier filter circuit and the MCU. The MCU is used to control the on and off of the relay of the relay control circuit, thereby controlling the on and off of the single-fire power supply circuit and the load;

[0012] The output end of the switch controller is also connected to the input rectifier and filter circuit, and is used for single-fire power supply and when the relay is disconnected, the mains L end supplies power to the input rectifier and filter circuit through the load; the single-fire power supply circuit is also connected to the input end of the DCDC power supply circuit and the L line input end of the input rectifier and filter circuit, and is used for when the single-fire power supply relay is closed, the single-fire power supply circuit supplies power to the DCDC power supply circuit.

[0013] Furthermore, the single-fire power supply circuit includes a second rectifier tube connected to the L line input end of the input rectifier and filter circuit, a thirteenth rectifier tube connected to the movable contact of the relay, and a rectifier tube group in which the other end of the second rectifier tube is connected to the common end of the other end of the thirteenth rectifier tube, and the other end of the rectifier tube group is connected to the input end of the DCDC power supply circuit;

[0014] It also includes a balancing component, which is respectively connected to the common end of the second rectifier tube and the L line input end of the input rectifier filter circuit and the common end of the thirteenth rectifier tube and the dynamic contact of the relay, and is used for balancing the power supply of the single-fire power supply circuit to the DCDC power supply circuit and the load power supply.

[0015] Furthermore, the balancing component includes a first switching tube whose control end is respectively connected to the L line input end and the ground end of the input rectifier and filter circuit, a fourteenth switching tube whose control end is respectively connected to the moving contact of the relay and the ground end, and a comparator whose output end is respectively connected to the control ends of the first switching tube and the fourteenth switching tube; the non-inverting input end of the comparator is connected to the thirteenth rectifier tube through a voltage-stabilizing diode, and the reverse input end of the comparator is connected to the power supply; the output end of the comparator is also connected to the control end of the thirteenth switching tube, and one electrode end of the thirteenth switching tube is grounded, and the other electrode end is connected to the reverse input end of the comparator.

[0016] Furthermore, the intelligent switch controller also includes a fifteenth capacitor and a sixty-seventh resistor respectively connected between the voltage stabilizing diode and the non-inverting input terminal of the comparator, and the other ends of the fifteenth capacitor and the sixty-seventh resistor are both grounded.

[0017] Furthermore, the relay control circuit includes a dual-coil relay, one end of the relay coil is connected to the output end of the output rectifier filter circuit, and the other end is connected to the electrode end of the switching tube, the other electrode end of the switch is grounded, and the control end of the switching tube is connected to the MCU; the moving contact end of the relay is connected to the output end of the single-fire power supply circuit.

[0018] Furthermore, the intelligent switch controller also includes a touch circuit, which includes a button and a resistor connected in series. The other end of the resistor is connected to the MCU for manually controlling the opening and closing of the relay.

[0019] Furthermore, the intelligent switch controller also includes a zero point detection circuit, which is connected between the input end of the output rectifier and filter circuit and the MCU, and is used to feed back the zero crossing point of the mains to the MCU; the zero point detection circuit includes a rectifier component, a step-down component, and a photoelectric coupler, the collector of the photoreceiver of the photoelectric coupler is connected to the output end of the DCDC power supply circuit through a resistor, the emitter is grounded, and the collector of the photoreceiver of the photoelectric coupler is connected to the MCU; after the rectifier component is connected to the mains, it rectifies the mains into a full-wave signal, the step-down component is used to step down the full-wave signal, and the photoelectric coupler is used to convert the stepped-down full-wave signal into a square wave signal and output it to the MCU.

[0020] Furthermore, the intelligent switch controller also includes an indicator light circuit connected to the MCU and the DCDC power supply circuit respectively, for indicating the background state and working state of the switch controller.

[0021] Furthermore, the intelligent switch controller also includes a proximity sensing circuit connected to the MCU, for providing proximity sensing data to the MCU.

[0022] Furthermore, the intelligent switch controller also includes an alarm circuit connected to the MCU and the DCDC power supply circuit respectively, for issuing a buzzer prompt or a vibration prompt according to the control of the MCU.

[0023] Compared with the prior art, the technical solution of the present utility model and its beneficial effects are as follows:

[0024] (1) The intelligent switch controller of the present invention is compatible with single-fire and zero-fire power supply. On the basis of conventional zero-fire power supply intelligent lighting, a single-fire power supply circuit is provided. The output end of the switch controller is respectively connected to the L end of the load and the input rectifier filter circuit, and the N end of the load is connected to the N end of the mains power. The static contact of the relay control circuit is the output end of the switch controller. The single-fire power supply circuit is connected to the relay moving contact of the relay control circuit. The relay control circuit is respectively connected to the output end of the output rectifier filter circuit and the MCU. The MCU is used to control the on and off of the relay of the relay control circuit, thereby controlling the on and off of the single-fire power supply circuit and the load. The output end of the switch controller is also connected to the input rectifier filter circuit. When the single-fire power supply is in operation and the relay is disconnected, the L end of the mains power supplies power to the input rectifier filter circuit through the load. The single-fire power supply circuit is also connected to the input end of the DCDC power supply circuit and the L line input end of the input rectifier filter circuit. When the single-fire power supply relay is closed, the single-fire power supply circuit supplies power to the DCDC power supply circuit. This achieves that the switch controller can be used to realize intelligent control of the lighting system, regardless of whether it is zero-fire wiring or single-fire wiring.

[0025] (2) The single-fire power supply circuit of the present invention can supply the power supply of the L line input end of the input rectifier filter circuit and the power supply from the AC power supply through the load to the relay moving contact to the DCDC power supply circuit after rectification when the relay is closed, thereby providing power for the MCU and the wireless transmission module. At the same time, a balancing component is also provided, which controls the grounding of the power supply from the AC power supply through the load to the relay moving contact and the distribution of the power supply to the DCDC power supply circuit through rectification by controlling the duty cycle of the pulse wave output by the control comparator, thereby providing DC power to the DCDC power supply circuit without causing the load light to flicker.

[0026] (3) The zero-point detection circuit of the present invention, after the rectifier component is connected to the mains power, rectifies the mains power into a full-wave signal, the step-down component steps down the full-wave signal, and the optocoupler converts the stepped-down full-wave signal into a square wave signal and outputs it to the MCU. The MCU controls the relay to close and open at the zero point of the mains power supply by judging the falling edge of the square wave signal, thereby delaying the life of the relay. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] Figure 1 This is a principle block diagram of an intelligent switch controller compatible with single-fire and zero-fire power supply provided by an embodiment of the utility model;

[0028] Figure 2 This is a schematic diagram of an input rectifier and filter circuit, a flyback circuit, and an output rectifier and filter circuit provided by an embodiment of the present utility model;

[0029] Figure 3 This is a schematic diagram of a DCDC power supply circuit provided by an embodiment of the present utility model;

[0030] Figure 4 This is a schematic diagram of the MCU and wireless transmission module provided by the embodiment of the utility model;

[0031] Figure 5 It is a schematic diagram of a relay control circuit provided by an embodiment of the present utility model;

[0032] Figure 6 This is a schematic diagram of a single-fire power supply circuit provided by an embodiment of the present utility model;

[0033] Figure 7 This is a schematic diagram of a zero point detection circuit provided by an embodiment of the present utility model;

[0034] Figure 8 This is a schematic diagram of an indicator light circuit provided by an embodiment of the present utility model;

[0035] Figure 9 This is a schematic diagram of a proximity sensing circuit provided by an embodiment of the present utility model;

[0036] Figure 10 This is a schematic diagram of a vibration assembly provided by an embodiment of the present utility model;

[0037] Figure 11 It is a schematic diagram of a buzzer assembly provided in an embodiment of the present utility model. DETAILED DESCRIPTION

[0038] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the embodiments described are part of the embodiments of the present invention, rather than all the embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention and are not used to limit the present invention. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0039] See Figure 1 , an intelligent switch controller compatible with single-fire and zero-fire power supply, including an input rectifier filter circuit, a flyback circuit, an output rectifier filter circuit, a DCDC power supply circuit, an MCU, a wireless transmission module, a single-fire power supply circuit, and a relay control circuit.

[0040] The input rectifier and filter circuit is connected to the mains power supply and is used to rectify and filter the mains power supply. The flyback circuit includes a transformer. The output of the input rectifier and filter circuit is connected to the primary winding of the transformer, and the secondary winding of the transformer is connected to the output rectifier and filter circuit. The output rectifier and filter circuit is used to rectify and filter the power transmitted by the transformer into a DC power supply. The output of the output rectifier and filter circuit is connected to the DCDC power supply circuit, which is used to adjust the DC power supply to power supplies of different voltage values. The MCU and the wireless transmission module are both connected to the output of the DCDC power supply circuit. The power output of the DCDC power supply circuit powers the MCU and the wireless transmission module. The wireless transmission module is used to transmit control instructions from the host computer to the MCU.

[0041] The output of the switch controller is connected to the load's L-terminal and the input rectifier and filter circuit, respectively. The load's N-terminal is connected to the mains' N-terminal. The relay control circuit's static contacts serve as the output of the switch controller, and the single-pole power supply circuit is connected to the relay's moving contacts. The relay control circuit is connected to the output of the output rectifier and filter circuit and the MCU, respectively. The MCU controls the on / off switching of the relay in the relay control circuit, thereby controlling the on / off switching of the single-pole power supply circuit and the load. The output of the switch controller is also connected to the input rectifier and filter circuit. When the single-pole power supply is in effect and the relay is disconnected, the mains' L-terminal supplies power the input rectifier and filter circuit through the load. The single-pole power supply circuit is also connected to the input of the DC-DC power supply circuit and the L-line input of the input rectifier and filter circuit. When the single-pole power supply relay is closed, the single-pole power supply circuit supplies power to the DC-DC power supply circuit.

[0042] When wiring the AC power supply to the neutral and live terminals, connect the L and N wires of the AC power supply to the corresponding L and N holes of the switch controller (the input terminals of the input rectifier and filter circuit). Connect any of the switch controller's output terminals (L1, L2, or L3) to the load's L terminal, and connect the load's N terminal to the AC power supply's N wire. The input rectifier and filter circuit rectifies and filters the AC power supply before powering the flyback circuit. The voltage output by the transformer's secondary winding passes through the output rectifier and filter circuit to output a 16V DC power supply. After being stepped down by the DC-DC power supply circuit, it generates a 3.3V power supply for the MCU and Bluetooth module.

[0043] In single-live wiring, the AC power supply L line is connected to the L terminal of the switch controller, the AC power supply N line is connected to the N terminal of the load, and any one of the switch controller output terminals L1\L2\L3 (three-way switch) is connected to the L terminal of the load. At this time, the switch controller only has the L line connected and the L line output.

[0044] When the relay is open, a power supply loop is formed, connecting the AC supply L terminal, the AC supply N terminal, the load N terminal, the load L terminal, the switch controller output terminal, and the output rectifier and filter circuit, providing power to the flyback circuit. The voltage output by the transformer's secondary winding passes through the output rectifier and filter circuit to produce a 16V DC power supply. After being stepped down by the DC-DC power supply circuit, a 3.3V power supply is generated to power the MCU and Bluetooth module. When the relay is closed, the single-stage power supply circuit rectifies the single-stage power supply and the AC supply after passing through the load, and then supplies power to the DC-DC power supply circuit. This ensures that the switch controller can effectively achieve intelligent control of the lighting system regardless of whether the wiring is single-stage or single-stage.

[0045] See Figure 2 The input rectifier filter circuit includes a fuse FR1 connected in series to the L-line access terminal, a varistor RV1 connected in parallel between the L-line and the N-line, and a safety capacitor CX1. The single-fire power supply circuit is connected to the AC power access point on the side of the fuse FR1 principle. It also includes a rectifier bridge DB1, a rectifier bridge DB2, and a half-bridge D18D19. The input end of the rectifier bridge DB1 is connected to the fuse and the N-line respectively, and an inductor L1 is also connected in series between the rectifier bridge DB1 and the fuse. The input end of the rectifier bridge DB2 is connected to the switch controller output ends L1 and L2 respectively, and the half-bridge D18D19 is connected to the switch controller output end L3. The output ends of the rectifier bridge DB1, the rectifier bridge DB2, and the half-bridge D18D19 are all connected to the input end of the flyback circuit.

[0046] Continue reading Figure 2 The output rectifier and filter circuit includes a diode D21 connected in series to the positive output terminal of the secondary winding of the transformer TR1, and an electrolytic capacitor CE1 connected in parallel between the cathode of the diode D21 and the negative output terminal of the secondary winding of the transformer TR1. The common terminal of the electrolytic capacitor CE1 and the cathode of the diode D21 is the output terminal of the output rectifier and filter circuit, which outputs 16V DC power.

[0047] See Figure 3 The DCDC power supply circuit includes a voltage drop chip U2 and an LDO chip U7. The 16V DC output by the output rectifier and filter circuit is output as a power supply VDDA after passing through the voltage drop chip U2 and the LDO chip U7. The power supply VDDA in this embodiment is 3.3V.

[0048] See Figure 4, shows a schematic diagram of the MCU and wireless transmission module. In this embodiment, the wireless transmission module is a Bluetooth module, including a Bluetooth chip CN1. Power supply VDDA powers both the MCU (chip U3) and the Bluetooth chip CN1. The MCU, internally programmed with firmware, communicates with the Bluetooth chip CN1 via a serial port, receiving control commands from the Bluetooth module. The MCU's associated I / O ports then output control signals, thereby enabling product functionality.

[0049] See Figure 5 This embodiment uses three sets of double-coil DC magnetic latching relays. One end of the relay coil is connected to the output end of the output rectifier filter circuit, the other end of the relay coil is connected to the electrode end of the switch tube, the other electrode end of the switch is grounded, and the control end of the switch tube is connected to the MCU. The MCU controls the conduction or cutoff of the switch tube, thereby controlling whether the relay coil is energized, and then controlling the opening or closing of the relay moving contact and the static contact, that is, controlling the on-off between the single-fire power supply circuit and the load. This embodiment is also provided with a touch circuit, such as Figure 4 As shown, it is composed of buttons touch1, touch2, touch3, and resistors R13, R14, and R20, which can control the closing and opening of three relays K1, K2, and K3 by manually pressing buttons.

[0050] See Figure 6 The single-fire power supply circuit includes a rectifier tube D2 connected to the L-line input terminal LS of the input rectifier and filter circuit, a rectifier tube D13 connected to the movable contact of the relay, and a rectifier tube group whose other end is connected to the common terminal of the other end of the rectifier tube D13. The other end of the rectifier tube group is connected to the input terminal of the DCDC power supply circuit. The rectifier tube can be implemented by a diode, a thyristor, a field-effect transistor, etc. In this embodiment, the rectifier tube is a diode. When the movable contact and the static contact of the relay are closed, the power supply from the L-line input terminal LS of the input rectifier and filter circuit and the power supply from the mains power supply to the movable contact (LOAD) of the relay after passing through the load are rectified by the second rectifier tube D2, the thirteenth rectifier tube D13, and the rectifier tube group D6 and D5 to provide 16V power to the DCDC power supply circuit. A balancing component is also provided to balance the power supply of the single-fire power supply circuit between the power supply of the DCDC power supply circuit and the power supply of the load.

[0051] The balancing components include NMOS transistors Q1 and Q14, comparator U6A, Zener diode DZ7, and NPN transistor Q13. The source of NMOS transistor Q1 is grounded, its drain is connected to the L-line input terminal LS, and its gate is connected to the output terminal of comparator U6A. The source of NMOS transistor Q14 is grounded, its drain is connected to the movable contact of the relay, and its gate is connected to the output terminal of comparator U6A. The non-inverting input of the comparator is connected to rectifier transistor 13 via Zener diode ZD7. The inverting input of comparator U6A is connected to the output terminal VDDA of the DC-DC power supply circuit. The output of comparator U6A is also connected to the base of NPN transistor Q13. The emitter of NPN transistor Q13 is grounded, and its collector is connected to the inverting input terminal of comparator U6A.

[0052] When relays K1, K2, and K3 are closed, the flyback circuit stops operating. The output of comparator U6A outputs a pulse waveform, controlling the on and off of NMOS transistors Q1 and Q14. When NMOS transistors Q1 and Q14 are off, the cutoff voltage is rectified by rectifiers D2, D13, D5, and D6 and converted into a 16V DC power supply. By setting an appropriate duty cycle for the output pulses of comparator U6A (by setting the values of capacitor C15 and resistor R67), the cutoff time of NMOS transistors Q1 and Q14 is controlled, thereby outputting 16V DC power to the DCDC power supply circuit without causing the load light to flicker.

[0053] See Figure 1 and Figure 7 , also includes a zero-point detection circuit, which is connected between the input terminals LS and N of the output rectifier and filter circuit and the MCU, and is used to feed back the zero-crossing point of the mains power to the MCU. Specifically, the zero-point detection circuit includes a rectifier component, a step-down component, and a photoelectric coupler. The collector of the photoelectric coupler's light receiver is connected to the output terminal of the DCDC power supply circuit via a resistor, the emitter is grounded, and the collector of the photoelectric coupler's light receiver is connected to the MCU. After receiving the mains power, the rectifier component rectifies the mains power into a full-wave signal. The step-down component is used to step down the full-wave signal. The photoelectric coupler is used to convert the stepped-down full-wave signal into a square wave signal and output it to the MCU. The MCU controls the relay to close and open at the zero point of the mains power supply by determining the falling edge of the square wave signal, thereby extending the life of the relay. The rectifier component includes a diode D4 with an anode connected to the LS terminal and a diode D9 with an anode connected to the N terminal. The cathodes of diodes D4 and D9 are connected and then connected to the step-down component through a voltage regulator diode DZ1. The step-down component includes resistors R7 and R8 connected in series.

[0054] See Figure 1 and Figure 8, also includes an indicator light circuit connected to the MCU and the DCDC power supply circuit, which is used to indicate the background status of the switch controller. Specifically, the bases of the switch tubes Q6 / Q7 / Q8 are respectively connected to the MCU, the collectors of the switch tubes Q6 / Q7 / Q8 are respectively connected to the first light-emitting diodes of the same color, the emitters are grounded, and the other ends of the light-emitting diodes are connected to the power supply VDDA. The bases of the switch tubes Q9 / Q10 / Q11 are respectively connected to the MCU, the collectors of the switch tubes Q9 / Q10 / Q11 are respectively connected to the second light-emitting diodes of the same color, the emitters are grounded, and the other ends of the light-emitting diodes are connected to the power supply VDDA. When the MCU controls a certain switch tube to turn on, the light-emitting diode corresponding to the switch tube lights up. According to the color of the light-emitting diode, it can be known whether the switch controller is operating in zero-fire power supply or single-fire power supply. The working status of the three outputs of the intelligent switch controller can be known through the light-emitting diodes with different serial numbers.

[0055] See Figure 1 and refer to Figure 9 The switch controller also includes a proximity sensing circuit connected to the MCU. The proximity sensing circuit includes a single-channel capacitive proximity / touch chip U4 for providing proximity sensing data to the MCU.

[0056] See Figure 1 、 Figure 10 and Figure 11 The switch controller also includes an alarm circuit connected to the MCU and the DCDC power supply circuit. In this embodiment, the alarm circuit includes a vibration alarm circuit and a buzzer alarm circuit. The buzzer alarm circuit includes a switch tube Q5 and a buzzer. The base of the switch tube Q5 is connected to the MCU, the emitter of the switch tube Q5 is grounded, and the collector of the switch tube Q5 is connected to the buzzer. The other end of the buzzer is connected to the power supply VDDA. When a fault occurs, the MCU controls the switch tube Q5 to conduct, thereby activating the buzzer and issuing an alarm. The vibration alarm circuit includes a switch tube Q4 and a vibrator. The base of the switch tube Q4 is connected to the MCU, the emitter of the switch tube Q4 is grounded, and the collector of the switch tube Q4 is connected to the vibrator. The other end of the buzzer is connected to the power supply VDDA. When a fault occurs, the MCU controls the switch tube Q4 to conduct, thereby activating the vibrator and issuing a vibration alarm.

[0057] The foregoing description shows and describes preferred embodiments of the present invention. It should be understood that the present invention is not limited to the form disclosed herein and should not be construed as excluding other embodiments. Rather, the present invention can be used in various other combinations, modifications, and environments and can be modified within the scope of the present invention through the above teachings or techniques or knowledge in the relevant field. Modifications and variations made by those skilled in the art that do not depart from the spirit and scope of the present invention are intended to be protected by the claims appended hereto.

Claims

1. An intelligent switch controller compatible with single-fire and zero-fire power supply, characterized in that: include: Input rectifier filter circuit, flyback circuit, output rectifier filter circuit, DCDC power supply circuit, MCU, wireless transmission module, single-fire power supply circuit, relay control circuit; The input rectifier and filter circuit is connected to the mains power supply and is used to rectify and filter the mains power supply; the flyback circuit includes a transformer, the output end of the input rectifier and filter circuit is connected to the primary winding of the transformer, and the secondary winding of the transformer is connected to the output rectifier and filter circuit. The output rectifier and filter circuit is used to rectify and filter the power transmitted by the transformer into a DC power supply. The output end of the output rectifier and filter circuit is connected to the DCDC power supply circuit, which is used to adjust the DC power supply to a power supply with different voltage values. The MCU, the wireless transmission module and the output end of the DCDC power supply circuit are all connected in pairs; The output end of the switch controller is respectively connected to the L end of the load and the input rectifier filter circuit, and the N end of the load is connected to the N end of the mains power supply; the static contact of the relay control circuit is the output end of the switch controller, the single-fire power supply circuit is connected to the relay moving contact of the relay control circuit, and the relay control circuit is respectively connected to the output end of the output rectifier filter circuit and the MCU. The MCU is used to control the on and off of the relay of the relay control circuit, thereby controlling the on and off of the single-fire power supply circuit and the load; The output end of the switch controller is also connected to the input rectifier filter circuit, and is used for single-fire power supply. When the relay is disconnected, the L end of the mains power supply supplies power to the input rectifier filter circuit through the load; The single-fire power supply circuit is also connected to the input end of the DCDC power supply circuit and the L line input end of the input rectifier filter circuit, and is used to supply power to the DCDC power supply circuit when the single-fire power supply relay is closed.

2. The intelligent switch controller compatible with single-fire and zero-fire power supply according to claim 1, characterized in that: The single-fire power supply circuit includes a second rectifier tube connected to the L line input end of the input rectifier and filter circuit, a thirteenth rectifier tube connected to the movable contact of the relay, and a rectifier tube group in which the other end of the second rectifier tube is connected to the common end of the other end of the thirteenth rectifier tube, and the other end of the rectifier tube group is connected to the input end of the DCDC power supply circuit; It also includes a balancing component, which is respectively connected to the common end of the second rectifier tube and the L line input end of the input rectifier filter circuit and the common end of the thirteenth rectifier tube and the dynamic contact of the relay, and is used for balancing the power supply of the single-fire power supply circuit to the DCDC power supply circuit and the load power supply.

3. The intelligent switch controller compatible with single-fire and zero-fire power supply according to claim 2, characterized in that: The balancing component includes a first switching tube whose control end is respectively connected to the L line input end and the ground end of the input rectifier and filter circuit, a fourteenth switching tube whose control end is respectively connected to the relay moving contact and the ground end, and a comparator whose output end is respectively connected to the control ends of the first switching tube and the fourteenth switching tube; the non-inverting input end of the comparator is connected to the thirteenth rectifier tube via a voltage-stabilizing diode, and the inverting input end of the comparator is connected to the power supply; the output end of the comparator is also connected to the control end of the thirteenth switching tube, and one electrode end of the thirteenth switching tube is grounded, and the other electrode end is connected to the inverting input end of the comparator.

4. The intelligent switch controller compatible with single-fire and zero-fire power supply according to claim 3, characterized in that: It also includes a fifteenth capacitor and a sixty-seventh resistor respectively connected between the voltage stabilizing diode and the non-inverting input terminal of the comparator, and the other ends of the fifteenth capacitor and the sixty-seventh resistor are both grounded.

5. The intelligent switch controller compatible with single-fire and zero-fire power supply according to claim 1, characterized in that: The relay control circuit includes a dual-coil relay, one end of the relay coil is connected to the output end of the output rectifier and filter circuit, and the other end is connected to the electrode end of the switch tube, the other electrode end of the switch is grounded, and the control end of the switch tube is connected to the MCU; the moving contact end of the relay is connected to the output end of the single-fire power supply circuit.

6. The intelligent switch controller compatible with single-fire and zero-fire power supply according to claim 1, characterized in that: It also includes a touch circuit, which includes a button and a resistor connected in series. The other end of the resistor is connected to the MCU for manually controlling the opening and closing of the relay.

7. The intelligent switch controller compatible with single-fire and zero-fire power supply according to claim 1, characterized in that: It also includes a zero point detection circuit, which is connected between the input end of the output rectifier and filter circuit and the MCU, and is used to feed back the zero point of the mains power to the MCU; The zero point detection circuit includes a rectifier component, a step-down component, and a photoelectric coupler. The collector of the photoreceiver of the photoelectric coupler is connected to the output end of the DCDC power supply circuit through a resistor, the emitter is grounded, and the collector of the photoreceiver of the photoelectric coupler is connected to the MCU; after the rectifier component is connected to the mains, it rectifies the mains into a full-wave signal, the step-down component is used to step down the full-wave signal, and the photoelectric coupler is used to convert the stepped-down full-wave signal into a square wave signal and output it to the MCU.

8. The intelligent switch controller compatible with single-fire and zero-fire power supply according to claim 1, characterized in that: It also includes an indicator light circuit connected to the MCU and the DCDC power supply circuit respectively, for indicating the background state and working state of the switch controller.

9. The intelligent switch controller compatible with single-fire and zero-fire power supply according to claim 1, characterized in that: The device also includes a proximity sensing circuit connected to the MCU for providing proximity sensing data to the MCU.

10. The intelligent switch controller compatible with single-fire and zero-fire power supply according to claim 1, characterized in that: It also includes an alarm circuit connected to the MCU and the DCDC power supply circuit respectively, which is used to issue a buzzer prompt or a vibration prompt according to the control of the MCU.