Double-control dimming switch
By designing a dual-control dimming switch, the brightness adjustment of LED lamps is achieved using the dimming switch trigger module and the optically coupled bidirectional control thyristor, and the dimming control accuracy is improved through the zero-crossing detection module, which solves the lamp dimming switch in the prior art The problem of poor convenience has realized intelligent lighting control and remote control functions.
Patent Information
- Application Number
- CN202420531728.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-19
- Publication Date
- 2024-12-27
- Estimated Expiration
- 2034-03-19
AI Technical Summary
The dimming switches of existing household lamps cannot be intelligent and have poor convenience, and cannot achieve switch control and dimming control at the same time. In particular, the dimming effect of LED lamps is poor and cannot meet the personalized needs of different lighting scenarios.
A dual-control dimming switch is designed, including a power withdrawal module, a zero cross detection module, a voltage conversion module, a control module and a panel control module. The brightness adjustment of the light is achieved through the dimming switch trigger module and the optically coupled bidirectional control system, and Use the zero-crossing detection module to improve the accuracy of dimming control.
It realizes intelligent dual control of lights, improves control convenience, stable signal output, reduces external interference, and can remotely control the brightness of lights through wireless communication.
Smart Images

Figure CN222263070U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of dimming switches, in particular to a double-control dimming switch. Background Art
[0002] For existing household lamp switches that can only control the on and off of the light but cannot intelligently adjust the brightness, the dimming method is not smart and convenient enough, and the switch and dimming are often separated, which is not convenient to control at the same time, and it is impossible to achieve switch control and dimming control at the same time. The dimming effect of LED lamps is poor and cannot respond to the personalized needs of different lighting scenes. Although a variety of intelligent dimming devices have appeared on the market to meet people's needs for dimming, dual control, and remote dimming through mobile phone APP, dimming is a simple and easy-to-implement control method and is often used in the control of lighting fixtures. However, conventional dimming control is difficult to meet the requirements of further improving control methods and saving costs. Utility Model Content
[0003] In view of the defects of the above-mentioned prior art, the utility model provides a dual-control dimming switch, in which the switch circuit can not only control the on or off of the LED lamp module, but also adjust the brightness of the LED lamp through the control module, thereby realizing intelligent lighting and improving the convenience of controlling the dimming of the lighting device.
[0004] To achieve the above-mentioned purpose, the present application provides a dual-control dimming switch, including: a power supply module, a zero-crossing detection module, a voltage conversion module, a control module and a panel control module.
[0005] Among them, the power supply module includes a dimmer switch trigger module and a rectifier module; the input terminal 1 of the power supply module is connected to the live wire L, the input terminal 2 of the power supply module is connected to the neutral wire N, the output terminal of the power supply module is connected to the input terminal of the rectifier module, and a dimmer switch trigger module is also connected between the input terminal 1 of the power supply module and the rectifier module.
[0006] In the present application, the live wire L is divided into two live wire input terminals L1 and L2 after passing through the relay switch.
[0007] In the present application, output terminal 1 of the rectifier module is connected to the input terminal of the zero-crossing detection module, and the output terminal 1 of the rectifier module is also connected to the input terminal of the voltage conversion module, and the output terminal 2 of the rectifier module is grounded; the control module is electrically connected to the output terminal of the voltage conversion module, the output terminal 1 of the dimming switch trigger module, and the output terminal of the zero-crossing detection module respectively; the output terminal 2 of the dimming switch trigger module is grounded.
[0008] Furthermore, the control module is also connected to one end of the panel control module, and the other end of the panel control module is grounded.
[0009] In the present application, the dimming switch trigger module includes: a live wire L1 input end, a live wire L2 input end, an optically coupled bidirectional thyristor GE1, an optically coupled thyristor GE2, a resistor R4, a resistor R5, a resistor R6, a resistor R15, a resistor R18, a resistor R19, a resistor R20, a resistor R21, a resistor R26, a bidirectional thyristor Q4, a transistor Q1, an inductor coil L4, a relay M7 and a rectifier bridge BD2; the relay M7 includes a diode D5 and a relay coil.
[0010] Furthermore, one end of the relay M7 is connected to a 12V power supply, the other end of the relay M7 is connected to the collector of the transistor Q1, the emitter of the transistor Q1 is grounded, the base of the transistor Q1 is connected to one end of the resistor R18, the other end of the resistor R18 is grounded, the base of the transistor Q1 is also connected to one end of the resistor R15, and the other end of the resistor R15 is connected to the pin 9 of the control module; the live wire L1 input end is connected to the conversion contact 1 in the relay M7, the live wire L2 input end is connected to the conversion contact 2 in the relay M7, the conversion contact 3 in the relay M7 is connected to the T1 end of the bidirectional thyristor Q4, and the T The 2nd end is connected to one end of the inductor L4, the other end of the inductor L4 is connected to the live wire L, the T2 end of the bidirectional thyristor Q4 is also connected to one end of the resistor R21, and the other end of the resistor R21 is also connected to the pin A4 of the optically coupled bidirectional thyristor GE1; the conversion contact 3 in the relay M7 is also connected to one end of the resistor R26, the other end of the resistor R26 is connected to the G end of the bidirectional thyristor Q4, the other end of the resistor R26 is also connected to the pin A3 of the optically coupled bidirectional thyristor GE1, the pin A2 of the optically coupled bidirectional thyristor GE1 is grounded, and the pin A1 of the optically coupled bidirectional thyristor GE1 is connected to the pin 1 of the control module.
[0011] In the present application, between the live wire L1 input end and the switching contact 1 in the relay M7, the live wire L1 input end is also connected to one end of the resistor R19, the other end of the resistor R19 is connected to the pin C3 of the rectifier bridge BD2, and the pin C1 of the rectifier bridge BD2 is connected to the pin B1 of the optically coupled thyristor GE2.
[0012] Between the live wire L2 input end and the switching contact 2 in the relay M7, the live wire L2 input end is also connected to one end of the resistor R20, the other end of the resistor R20 is connected to the pin C2 of the rectifier bridge BD2, and the pin C4 of the rectifier bridge BD2 is connected to the pin B2 of the optically coupled thyristor GE2.
[0013] In the present application, pin B4 of the optocoupler thyristor GE2 is connected to one end of the resistor R4, the other end of the resistor R4 is connected to a 3.3V power supply, pin B4 of the optocoupler thyristor GE2 is also connected to one end of the resistor R6, the other end of the resistor R6 is connected to pin 5 of the control module; pin B4 of the optocoupler thyristor GE2 is also connected to one end of the resistor R5, the other end of the resistor R5 is connected to pin 4 of the control module; pin B3 of the optocoupler thyristor GE2 is grounded.
[0014] In the present application, the rectifier module includes: a rectifier bridge BD1, a power switch F1, a power switch F2, a capacitor C1, a resistor R1, a diode D1, an inductor L5, a resistor R8, a diode D2 and a capacitor C11.
[0015] Further, the live wire L is connected to one end of the power switch F1, the other end of the power switch F1 is connected to the other end of the inductor L4, the other end of the power switch F1 is also connected to the pin D1 of the rectifier bridge BD1, the other end of the power switch F1 is also connected to one end of the capacitor C1, the other end of the capacitor C1 is connected to the neutral line N, the other end of the capacitor C1 is also connected to one end of the power switch F2, and the other end of the power switch F2 is connected to the pin D3 of the rectifier bridge BD1;
[0016] Pin D2 of the rectifier bridge BD1 is connected to the positive electrode of the diode D1, and the pin D2 of the rectifier bridge BD1 is also connected to one end of the resistor R1, and the other end of the resistor R1 is connected to the input end of the zero-crossing detection module; the cathode of the diode D1 is connected to one end of the inductor L5, the other end of the inductor L5 is connected to the positive electrode of the diode D2, the cathode of the diode D2 is connected to the input end of the voltage conversion module, the cathode of the diode D1 is also connected to one end of the resistor R8, the other end of the resistor R8 is connected to the other end of the inductor L1, the cathode of the diode D1 is also connected to one end of the capacitor C11, and the other end of the capacitor C11 is grounded; pin D4 of the rectifier bridge BD1 is grounded.
[0017] In the present application, the zero-crossing detection module includes: a resistor R2, a resistor R3, a capacitor C9, a capacitor C10 and a voltage stabilizing diode D3.
[0018] Furthermore, the other end of the resistor R1 is connected to one end of the capacitor C10, the other end of the capacitor C10 is connected to one end of the resistor R2, the other end of the capacitor C10 is also grounded, the other end of the resistor R2 is connected to one end of the capacitor C10, the other end of the resistor R2 is also connected to the negative electrode of the Zener diode D3, the positive electrode of the Zener diode D3 is grounded, the other end of the resistor R2 is also connected to one end of the resistor R3, the other end of the resistor R3 is connected to one end of the capacitor C9, the other end of the capacitor C9 is grounded, and the other end of the resistor R3 is connected to pin 2 of the control module.
[0019] In the present application, the voltage conversion module includes an AC-DC module; wherein the AC-DC module includes: a driving chip U2, a resistor R11, a resistor R12, an electrolytic capacitor EC1, an electrolytic capacitor EC2, a capacitor C3, an inductor L6, a diode D5 and a diode D6.
[0020] Further, pin No. 4 of the driving chip U2 is connected to the cathode of the diode D2, and pin No. 4 of the driving chip U2 is also connected to the anode of the electrolytic capacitor EC1, and the cathode of the electrolytic capacitor EC1 is grounded, pin No. 1 of the driving chip U2 is connected to the cathode of the diode D5, and the anode of the diode D5 is grounded, pin No. 1 of the driving chip U2 is also connected to one end of the capacitor C3, and the other end of the capacitor C3 is connected to pin No. 3 of the driving chip U2, and the other end of the capacitor C3 is also connected to pin No. 2 of the driving chip U2, and the other end of the capacitor C3 is also connected to the diode D 6, the anode of the diode D6 is connected to one end of the inductor L6, the anode of the diode D6 is also connected to a 12V power supply, the anode of the diode D6 is also connected to the anode of the electrolytic capacitor EC2, the negative electrode of the electrolytic capacitor EC2 is grounded, the negative electrode of the electrolytic capacitor EC2 is also connected to one end of the resistor R12, the other end of the resistor R12 is connected to the 12V power supply, the other end of the inductor L6 is connected to pin No. 1 of the drive chip U2, the other end of the inductor L6 is also connected to one end of the resistor R11, and the other end of the resistor R11 is connected to pin No. 5 of the drive chip U2.
[0021] In the present application, the voltage conversion module also includes a DC-DC module; the DC-DC module includes: a voltage stabilizing chip U4, a capacitor C2, a capacitor C4, a capacitor C5, a capacitor C9, a capacitor C12, a resistor R9, a resistor R10, a resistor R13, a resistor R14, a resistor R27 and an inductor L7.
[0022] Furthermore, pin 1 of the voltage stabilizing chip U4 is connected to one end of the capacitor C2, the other end of the capacitor C2 is connected to pin 6 of the voltage stabilizing chip U4, the other end of the capacitor C2 is also connected to one end of the inductor L7, the other end of the inductor L7 is connected to a 3.3V power supply, the other end of the inductor L7 is also connected to one end of the capacitor C12, the other end of the capacitor C12 is grounded, the other end of the capacitor C2 is also connected to one end of the capacitor C5, one end of the capacitor C5 is also connected to one end of the resistor R27, and the other end of the resistor R27 is connected to a 12V power supply.
[0023] The other end of capacitor C5 is grounded, the other end of the inductor L7 is also connected to one end of resistor R10, the other end of resistor R10 is connected to pin 3 of voltage stabilizing chip U4, the other end of resistor R10 is also connected to one end of resistor R14, the other end of resistor R14 is connected to pin 2 of voltage stabilizing chip U4, the other end of resistor R14 is also grounded, pin 5 of voltage stabilizing chip U4 is connected to one end of resistor R9, the other end of resistor R9 is connected to one end of resistor R13, the other end of resistor R13 is grounded, the other end of resistor R9 is also connected to pin 4 of voltage stabilizing chip U4, pin 5 of voltage stabilizing chip U4 is also connected to one end of capacitor C4, the other end of capacitor C4 is grounded, the other end of capacitor C4 is also connected to one end of capacitor C9, the other end of capacitor C9 is connected to pin 5 of voltage stabilizing chip U4, the other end of capacitor C9 is also connected to the 12V power supply.
[0024] In the present application, the panel control module at least includes a button module and an LED module; the button module at least includes: an on / off button module and a brightness adjustment button module.
[0025] Among them, the on / off button module includes a button SW3, one end of which is connected to pin 13 of the control module, and the other end of the button SW3 is grounded; the brightness adjustment button module includes a button SW1 and a button SW2; one end of the button SW2 is connected to one end of the resistor R29, the other end of the resistor R29 is connected to pin 7 of the control module, and the other end of the button SW2 is grounded; one end of the button SW1 is connected to pin 6 of the control module, and the other end of the button SW1 is grounded.
[0026] In the present application, the positive terminal of the LED module is connected to the control module, and the negative terminal of the LED module is grounded.
[0027] Preferably, the brightness adjustment button module includes a brightness increase button SW1 and a brightness decrease button SW2.
[0028] In the present application, the pin VCC end of the control module is connected to a 3.3V power supply, and the pin VCC end of the control module is also connected to one end of a capacitor C7, the other end of the capacitor C7 is grounded, and the other end of the capacitor C7 is also connected to the negative electrode of the electrolytic capacitor EC4, and the positive electrode of the electrolytic capacitor EC4 is connected to the pin VCC end of the control module; the pin GND end of the control module is grounded.
[0029] In this application, the panel control module mainly uses the GPIO port of the control module to detect and drive the buttons and LED modules, and controls the light status by buttons to achieve human-computer interaction. In this application, control can be achieved through a wired button function module, and a wireless communication function module can also be included to communicate with the control module, and the APP can be used to adjust the light brightness by wireless remote control.
[0030] Compared with the prior art, the present invention has the following beneficial effects:
[0031] 1. The utility model proposes a dual-control dimming switch, which realizes the dual-control switch function by adding a dimming switch trigger module at the input end of the power supply module and utilizing the control of the normally closed and normally open states in the relay switch, and also utilizes an optically coupled bidirectional thyristor to control the magnitude and direction of the current in the input power supply circuit to realize the brightness adjustment function of the light. The signal output of the dimming process is stable and is not easily interfered by external signals.
[0032] 2. The utility model proposes a dual-control dimming switch, which increases a zero-crossing detection module at the output current end of the rectifier module, detects the zero-crossing point of the output signal after rectification, and obtains a waveform diagram at the zero-crossing foot. The conduction time of the optically coupled bidirectional thyristor can be adjusted to perform voltage control, which is equivalent to providing a standard voltage adjustment basis for the realization of PWM dimming, which not only protects the stability of the circuit operation, but also improves the dimming accuracy during the dimming control process.
[0033] 3. The utility model proposes a dual-control dimming switch, which can realize the control of on, off and dimming through a wired button function module in this application, and can also include a wireless communication function module to communicate with the control module, and use a mobile phone or other device to control the APP to achieve wireless remote control of on / off, and also achieve the effect of adjusting the brightness of the light. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] Figure 1 This is a circuit structure principle diagram of a double-control dimming switch proposed by the utility model.
[0035] Figure 2 This is a circuit structure diagram of a dimming switch trigger module of a dual-control dimming switch proposed by the utility model.
[0036] Figure 3 This is a circuit structure diagram of a rectifier module of a dual-control dimming switch proposed by the utility model.
[0037] Figure 4 This is a circuit structure diagram of a zero-crossing detection module of a dual-control dimming switch proposed by the utility model.
[0038] Figure 5This is a structural diagram of an AC-DC drive circuit in a voltage conversion module of a dual-control dimming switch proposed by the utility model.
[0039] Figure 6 This is a structural diagram of a DC-DC voltage stabilizing circuit in a voltage conversion module of a dual-control dimming switch proposed by the utility model.
[0040] Figure 7 This is a circuit diagram of a control module of a dual-control dimming switch proposed by the utility model.
[0041] Figure 8 This is a circuit structure diagram of a panel control module of a dual-control dimming switch proposed by the utility model. DETAILED DESCRIPTION
[0042] In order to make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme will be clearly and completely described below in conjunction with the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0043] Embodiment 1:
[0044] As attached Figure 1 As shown, the utility model provides a dual-control dimming switch, and the principle structure of the switch circuit mainly includes: a power supply module, a zero-crossing detection module, a voltage conversion module, a control module and a panel control module.
[0045] Among them, the power supply module includes a dimmer switch trigger module and a rectifier module; the input terminal 1 of the power supply module is connected to the live wire L, the input terminal 2 of the power supply module is connected to the neutral wire N, the output terminal of the power supply module is connected to the input terminal of the rectifier module, and a dimmer switch trigger module is also connected between the input terminal 1 of the power supply module and the rectifier module.
[0046] In the present application, the live wire L is divided into two live wire input terminals L1 and L2 after passing through the relay switch.
[0047] In the present application, output terminal 1 of the rectifier module is connected to the input terminal of the zero-crossing detection module, and the output terminal 1 of the rectifier module is also connected to the input terminal of the voltage conversion module, and the output terminal 2 of the rectifier module is grounded; the control module is electrically connected to the output terminal of the voltage conversion module, the output terminal 1 of the dimming switch trigger module, and the output terminal of the zero-crossing detection module respectively; the output terminal 2 of the dimming switch trigger module is grounded.
[0048] Furthermore, the control module is also connected to one end of the panel control module, and the other end of the panel control module is grounded.
[0049] Preferably, the input end of the live wire L1 can be used as the normally closed end in the relay switch, and the input end of the live wire L2 can be used as the normally open end in the relay switch. When the normally closed end is closed, it is equivalent to the dual-control dimming switch being on; when the normally open end is closed, it is equivalent to the dual-control dimming switch being off. The present invention is not limited to this. Through the coordination of the above-mentioned functional modules, intelligent dual control of lighting is realized.
[0050] In the present application, the dimming switch trigger module includes: a live wire L1 input end, a live wire L2 input end, an optically coupled bidirectional thyristor GE1, an optically coupled thyristor GE2, a resistor R4, a resistor R5, a resistor R6, a resistor R15, a resistor R18, a resistor R19, a resistor R20, a resistor R21, a resistor R26, a bidirectional thyristor Q4, a transistor Q1, an inductor coil L4, a relay M7 and a rectifier bridge BD2; the relay M7 includes a diode D5 and a relay coil.
[0051] Preferably, resistor R15 is 500-1K ohms, resistor R19 and resistor R20 are 1M-1.5M ohms, resistor R18 is 10K-20K, resistor R21 is 100-200 ohms, resistor R26 is 1K-2K ohms, transistor Q1 can be S8050 and inductor coil L4 can be 1.0mH; the optically coupled bidirectional thyristor GE1 can be configured to include a bidirectional thyristor and a light emitting diode, but are not limited to this.
[0052] Furthermore, one end of the relay M7 is connected to a 12V power supply, the other end of the relay M7 is connected to the collector of the transistor Q1, the emitter of the transistor Q1 is grounded, the base of the transistor Q1 is connected to one end of the resistor R18, the other end of the resistor R18 is grounded, the base of the transistor Q1 is also connected to one end of the resistor R15, and the other end of the resistor R15 is connected to the pin 9 of the control module; the live wire L1 input end is connected to the conversion contact 1 in the relay M7, the live wire L2 input end is connected to the conversion contact 2 in the relay M7, the conversion contact 3 in the relay M7 is connected to the T1 end of the bidirectional thyristor Q4, and the T The 2nd end is connected to one end of the inductor L4, the other end of the inductor L4 is connected to the live wire L, the T2 end of the bidirectional thyristor Q4 is also connected to one end of the resistor R21, and the other end of the resistor R21 is also connected to the pin A4 of the optically coupled bidirectional thyristor GE1; the conversion contact 3 in the relay M7 is also connected to one end of the resistor R26, the other end of the resistor R26 is connected to the G end of the bidirectional thyristor Q4, the other end of the resistor R26 is also connected to the pin A3 of the optically coupled bidirectional thyristor GE1, the pin A2 of the optically coupled bidirectional thyristor GE1 is grounded, and the pin A1 of the optically coupled bidirectional thyristor GE1 is connected to the pin 1 of the control module.
[0053] In the present application, between the live wire L1 input end and the switching contact 1 in the relay M7, the live wire L1 input end is also connected to one end of the resistor R19, the other end of the resistor R19 is connected to the pin C3 of the rectifier bridge BD2, and the pin C1 of the rectifier bridge BD2 is connected to the pin B1 of the optically coupled thyristor GE2.
[0054] Between the live wire L2 input end and the switching contact 2 in the relay M7, the live wire L2 input end is also connected to one end of the resistor R20, the other end of the resistor R20 is connected to the pin C2 of the rectifier bridge BD2, and the pin C4 of the rectifier bridge BD2 is connected to the pin B2 of the optically coupled thyristor GE2.
[0055] In the present application, pin B4 of the optocoupler thyristor GE2 is connected to one end of the resistor R4, the other end of the resistor R4 is connected to a 3.3V power supply, pin B4 of the optocoupler thyristor GE2 is also connected to one end of the resistor R6, the other end of the resistor R6 is connected to pin 5 of the control module; pin B4 of the optocoupler thyristor GE2 is also connected to one end of the resistor R5, the other end of the resistor R5 is connected to pin 4 of the control module; pin B3 of the optocoupler thyristor GE2 is grounded.
[0056] In this application, the implementation principle of the dimming switch trigger module circuit is:
[0057] The module includes live wire input terminals L1 and L2, optocoupler isolation elements, resistors, transistors, thyristors and other components.
[0058] Among them, L1 is used as a normally closed contact, L2 is used as a normally open contact, and the switch conversion is realized through the relay M7; the optocoupler bidirectional thyristor GE1 is used for dimming control, and its light-emitting diode is controlled by the PWM signal of the control module, thereby changing the conduction angle of the thyristor to realize dimming; the optocoupler thyristor GE2 is used to detect the live wire voltage, and its output signal is connected to the control module for detecting the switch state; the transistor Q1 is used to drive the relay coil, and its conduction / cutoff is controlled by the control module signal, thereby realizing the relay attraction / release; the bidirectional thyristor Q4 is used for current limiting to prevent large current from damaging the relay; when the switch of the control lamp is turned on, the control module PWM duty cycle can be adjusted between 0 and 1. When PWM reaches 1, the optocoupler thyristor is fully turned on to achieve full brightness; when the switch of the control lamp is turned off, the control module PWM duty cycle is 0, and the optocoupler thyristor adjusts the conduction angle to achieve precise dimming.
[0059] The above module realizes the isolation control and protection of lights and is one of the key components of switch dimming.
[0060] Preferably, when the trigger switches to the light-off state, the control module adjusts the PWM duty cycle to 0 through pin 1; when the trigger switches to the light-on state, the control module adjusts the PWM duty cycle to 0 < PWM ≤ 100% through pin 1. Through optocoupler isolation and PWM technology, precise and reliable dual control of the light is achieved, and this is not limited to this.
[0061] In this application, the rectification module includes: rectifier bridge BD1, power switch F1, power switch F2, capacitor C1, resistor R1, diode D1, inductor L5, resistor R8, diode D2, and capacitor C11.
[0062] Preferably, the model of the rectifier bridge BD1 can be MB10F, the configuration of the power switch F1 is set to 2 - 10 ohms and the power is 1W, the configuration of the power switch F2 is set to 2 - 10 ohms and the power is 1W, the specification parameters of the capacitor C1 can be 224 / 400V, the resistor R1 is 500K - 820K ohms, the inductor L1 can be a 3mH with a radius of 6*8, the resistor R8 is 2K - 5.1K ohms, and the specification parameters of the capacitor C11 can be 224 / 400V, and this is not limited to this.
[0063] Further, the live wire L is connected to one end of the power switch F1, the other end of the power switch F1 is connected to the other end of the inductor coil L4, the other end of the power switch F1 is also connected to the pin D1 of the rectifier bridge BD1, the other end of the power switch F1 is also connected to one end of the capacitor C1, the other end of the capacitor C1 is connected to the neutral wire N, the other end of the capacitor C1 is also connected to one end of the power switch F2, and the other end of the power switch F2 is connected to the pin D3 of the rectifier bridge BD1;
[0064] The pin D2 of the rectifier bridge BD1 is connected to the positive electrode of the diode D1, the pin D2 of the rectifier bridge BD1 is also connected to one end of the resistor R1, and the other end of the resistor R1 is connected to the input end of the zero-crossing detection module; the negative electrode of the diode D1 is connected to one end of the inductor L1, the other end of the inductor L1 is connected to the positive electrode of the diode D2, the negative electrode of the diode D2 is connected to the input end of the voltage conversion module, the negative electrode of the diode D1 is also connected to one end of the resistor R8, the other end of the resistor R8 is connected to the other end of the inductor L1, the negative electrode of the diode D1 is also connected to one end of the capacitor C11, and the other end of the capacitor C11 is grounded; the pin D4 of the rectifier bridge BD1 is grounded. This circuit design enables the original input 100 - 120V alternating current to be converted into a unidirectional DC pulsating voltage through the rectifier bridge.
[0065] The circuit principle of this rectification module is as follows:
[0066] Rectifier bridge BD1 is used for full-wave rectification, rectifying the input 100-120VAC voltage into a pulsating positive DC voltage;
[0067] The power switches F1 and F2 are used to cut off the power supply and play a role in power-off protection; the capacitor C1 is used for filtering, and together with the inductor L1, it filters out the pulsating components after rectification and outputs a smoother DC voltage; the diode D1, the inductor L5, the resistor R8, and the capacitor C11 form a π-type filtering circuit to further filter the rectified voltage; the resistor R1 is connected to the zero-crossing detection module to perform zero-crossing detection on the rectified voltage; the diode D2 is used to isolate the rectifier module from the voltage conversion module to prevent reverse current from flowing into the rectifier module; and finally the smoothed DC voltage after filtering is output to the voltage conversion module;
[0068] The rectifier module uses a bridge full-wave rectifier circuit to convert AC power into DC power, and then filters out pulsation through a filter circuit, thereby providing a stable DC working voltage for the subsequent circuit. Preferably, full-wave bridge rectification plus double-stage π-type RC filtering can be used to achieve AC-DC rectification conversion and output a smooth DC voltage.
[0069] In the present application, the zero-crossing detection module includes: a resistor R2, a resistor R3, a capacitor C9, a capacitor C10 and a voltage stabilizing diode D3.
[0070] The principle of the zero-crossing detection module is that when the DC pulsating voltage detects the zero-crossing point, a positive cycle waveform signal diagram is obtained at pin 2 of the control module, i.e., the zero-crossing pin. The waveform signal diagram provides a cycle time to adjust the conduction time of the optically coupled bidirectional thyristor, thereby performing voltage control, which is equivalent to providing a standard voltage adjustment basis for the realization of PWM dimming.
[0071] Among them, resistor R1 and capacitor C10 form a low-pass filter to filter out high-frequency noise; resistor R2 and capacitor C10 form a differential circuit to differentiate the input signal and obtain a peak pulse output when the signal passes through the zero point; the voltage regulator diode D3 can provide an accurate reference voltage used as a comparison voltage; when the input signal rises and passes through the reference voltage, a positive pulse signal will be generated at both ends of R2; resistor R3 and capacitor C9 form a low-pass filter to filter high-frequency glitches and output a smooth pulse signal; finally, a smooth positive pulse signal is obtained at the zero-crossing detection pin of the control module. This zero-crossing pulse signal can determine the period and frequency of the input signal, and the control module can control the conduction time of the optocoupler according to the signal to achieve PWM dimming.
[0072] Preferably, the resistor R2 can be configured as 20k~47k ohms, the resistor R3 can be configured as 500~1k ohms, the specification parameters of the capacitor C9 can be 102 / 25V, the specification parameters of the capacitor C10 can be 102 / 25V and the voltage of the Zener diode D3 can be 5.6V, all of which are not limited to this.
[0073] Furthermore, the other end of the resistor R1 is connected to one end of the capacitor C10, the other end of the capacitor C10 is connected to one end of the resistor R2, the other end of the capacitor C10 is also grounded, the other end of the resistor R2 is connected to one end of the capacitor C10, the other end of the resistor R2 is also connected to the negative electrode of the Zener diode D3, the positive electrode of the Zener diode D3 is grounded, the other end of the resistor R2 is also connected to one end of the resistor R3, the other end of the resistor R3 is connected to one end of the capacitor C9, the other end of the capacitor C9 is grounded, and the other end of the resistor R3 is connected to pin 2 of the control module.
[0074] In the present application, the voltage conversion module includes an AC-DC driving module; wherein the AC-DC driving module includes: a driving chip U2, a resistor R11, a resistor R12, an electrolytic capacitor EC1, an electrolytic capacitor EC2, a capacitor C3, an inductor L6, a diode D5 and a diode D6.
[0075] The voltage conversion module includes an AC-DC drive module that converts AC voltage into a DC voltage of a step-down constant voltage drive. The output drive voltage value of this circuit is 12V.
[0076] Preferably, the model of the driving chip U2 can be BP2522F chip, the resistor R11 can be 0.47 ohms, the resistor R12 can be 10k~20k ohms, the configuration setting of the electrolytic capacitor EC1 is 6.3*11.5 4.7uF / 250V, the specification parameters of the electrolytic capacitor EC2 can be 4.7uF / 250V with a radius of 6.3*11.5, the capacitor C3 can be 1uF / 25V, the specification parameters of the inductor L3 can be 470uH with a radius of 8*10, the diode D5 can be EIJ SMAF model and the diode D6 can be EIJSOD123 model, but are not limited to this.
[0077] Further, pin No. 4 of the driving chip U2 is connected to the cathode of the diode D2, and pin No. 4 of the driving chip U2 is also connected to the anode of the electrolytic capacitor EC1, and the cathode of the electrolytic capacitor EC1 is grounded, pin No. 1 of the driving chip U2 is connected to the cathode of the diode D5, and the anode of the diode D5 is grounded, pin No. 1 of the driving chip U2 is also connected to one end of the capacitor C3, and the other end of the capacitor C3 is connected to pin No. 3 of the driving chip U2, and the other end of the capacitor C3 is also connected to pin No. 2 of the driving chip U2, and the other end of the capacitor C3 is also connected to the diode D 6, the anode of the diode D6 is connected to one end of the inductor L6, the anode of the diode D6 is also connected to a 12V power supply, the anode of the diode D6 is also connected to the anode of the electrolytic capacitor EC2, the negative electrode of the electrolytic capacitor EC2 is grounded, the negative electrode of the electrolytic capacitor EC2 is also connected to one end of the resistor R12, the other end of the resistor R12 is connected to the 12V power supply, the other end of the inductor L6 is connected to pin No. 1 of the drive chip U2, the other end of the inductor L6 is also connected to one end of the resistor R11, and the other end of the resistor R11 is connected to pin No. 5 of the drive chip U2.
[0078] In the present application, the voltage conversion module also includes a DC-DC voltage stabilizing module; the DC-DC voltage stabilizing module includes: a voltage stabilizing chip U4, a capacitor C2, a capacitor C4, a capacitor C5, a capacitor C9, a capacitor C12, a resistor R9, a resistor R10, a resistor R13, a resistor R14, a resistor R27 and an inductor L7.
[0079] The DC-DC voltage regulator module is equivalent to a voltage regulator, which outputs a DC voltage with a stable voltage value. In this circuit, the output stable voltage value is 3.3V.
[0080] Preferably, the selected model of the voltage regulator chip U4 can be RY8401 chip, the configuration of capacitor C2 can be 104 / 25V, the configuration of capacitor C4 can be 2.2uF / 25V, the configuration of capacitor C5 can be 10uF / 25V, the configuration of capacitor C9 can be 10uF / 25V, the configuration of capacitor C11 can be 10pF / 25V, the resistor R9 is 50k~100k ohms, the resistor R10 is 20k~50k ohms, the resistor R13 is 20k~50k ohms, the resistor R14 is 20k~50k ohms, and the inductor L2 can be 4.7uH, but are not limited to this.
[0081] Furthermore, pin 1 of the voltage stabilizing chip U4 is connected to one end of the capacitor C2, the other end of the capacitor C2 is connected to pin 6 of the voltage stabilizing chip U4, the other end of the capacitor C2 is also connected to one end of the inductor L7, the other end of the inductor L7 is connected to a 3.3V power supply, the other end of the inductor L7 is also connected to one end of the capacitor C12, the other end of the capacitor C12 is grounded, the other end of the capacitor C2 is also connected to one end of the capacitor C5, one end of the capacitor C5 is also connected to one end of the resistor R27, and the other end of the resistor R27 is connected to a 12V power supply.
[0082] The other end of capacitor C5 is grounded, the other end of the inductor L7 is also connected to one end of resistor R10, the other end of resistor R10 is connected to pin 3 of voltage stabilizing chip U4, the other end of resistor R10 is also connected to one end of resistor R14, the other end of resistor R14 is connected to pin 2 of voltage stabilizing chip U4, the other end of resistor R14 is also grounded, pin 5 of voltage stabilizing chip U4 is connected to one end of resistor R9, the other end of resistor R9 is connected to one end of resistor R13, the other end of resistor R13 is grounded, the other end of resistor R9 is also connected to pin 4 of voltage stabilizing chip U4, pin 5 of voltage stabilizing chip U4 is also connected to one end of capacitor C4, the other end of capacitor C4 is grounded, the other end of capacitor C4 is also connected to one end of capacitor C9, the other end of capacitor C9 is connected to pin 5 of voltage stabilizing chip U4, the other end of capacitor C9 is also connected to the 12V power supply.
[0083] Among them, inductor L6, diode D6, and capacitor C3 form a step-down conversion circuit to step down the high-voltage rectified DC voltage to 12V; diode D5 and capacitor C3 form a current cutoff circuit to quickly eliminate the inductor energy storage and improve conversion efficiency; electrolytic capacitors EC1 and EC2 are used for filtering to output a smoother 12V DC voltage; resistor R11 is used to detect the inductor current and feed it back to the control chip to realize current closed-loop control; resistor R12 is used to provide a soft start function; the control chip U2 controls the charging and discharging of the inductor L3 through PWM technology to stabilize the output voltage and realize AC-DC step-down conversion.
[0084] In the present application, the panel control module at least includes a button module and an LED module; the button module at least includes: an on / off button module and a brightness adjustment button module.
[0085] Among them, the on / off button module includes a button SW3, one end of which is connected to pin 13 of the control module, and the other end of the button SW3 is grounded; the brightness adjustment button module includes a button SW1 and a button SW2; one end of the button SW2 is connected to one end of the resistor R29, the other end of the resistor R29 is connected to pin 7 of the control module, and the other end of the button SW2 is grounded; one end of the button SW1 is connected to pin 6 of the control module, and the other end of the button SW1 is grounded.
[0086] In the present application, the positive terminal of the LED module is connected to the control module, and the negative terminal of the LED module is grounded.
[0087] Preferably, the buttons SW1, SW2 and SW3 may be common mechanical buttons, reed switches or dip switches, but are not limited thereto.
[0088] Preferably, the brightness adjustment button module includes a brightness increase button SW1 and a brightness decrease button SW2.
[0089] In the present application, the pin VCC end of the control module is connected to a 3.3V power supply, and the pin VCC end of the control module is also connected to one end of a capacitor C7, the other end of the capacitor C7 is grounded, and the other end of the capacitor C7 is also connected to the negative electrode of the electrolytic capacitor EC4, and the positive electrode of the electrolytic capacitor EC4 is connected to the pin VCC end of the control module; the pin GND end of the control module is grounded.
[0090] In this application, the circuit principle of the above panel control module is:
[0091] The switch button SW3 is directly connected to the GPIO pin of the control module to control the on / off of the switch; the dimming buttons SW1 and SW2 are connected to the GPIO pin of the control module through a unipolar button mode to control the increase and decrease of the light brightness; the resistor R29 is used to limit the current to prevent excessive impact current when the button is pressed; the LED module is directly driven by the control module to display the working status; the control module determines whether the button is pressed by detecting the GPIO level status of each button, and executes the corresponding switch or dimming control; VCC and GND are used to power the control module, and capacitors C7 and C8 are used for filtering and voltage stabilization; the module realizes human-computer interaction control through simple GPIO level detection, and the key signal is directly input into the control module to realize the control of the light.
[0092] The panel control module mainly uses the GPIO port of the control module to detect and drive the buttons and LED modules, and realizes human-computer interaction by controlling the light status through buttons.
[0093] Preferably, the model of the control module is H6008-WIFI, and the specification parameters of the capacitor C7 can be 104 / 50V, but are not limited thereto.
[0094] Preferably, on the one hand, control can be achieved through a wired button function module, and on the other hand, a wireless communication function module can be included to communicate with the control module, and the APP can be used to control the brightness of the light through wireless remote control.
[0095] In summary, the dual-control dimming switch can adjust the conduction time of the optically coupled bidirectional thyristor by adding a zero-crossing detection module to the output current end of the rectifier module, detecting the zero-crossing point of the output signal after rectification to obtain the waveform at the zero-crossing foot, thereby performing voltage control, which is equivalent to providing a standard voltage adjustment basis for the realization of PWM dimming, which not only protects the stability of the circuit operation, but also improves the accuracy of dimming during the dimming control process; through the coordinated operation of the functional modules of the above-mentioned dimming switch circuit, intelligent dual control of the light is realized. Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the utility model, rather than to limit it; although the present application is described in detail with reference to the above embodiments, ordinary technicians in this field should understand that they can still modify the technical solutions recorded in the above embodiments, or replace some of the technical features therein with equivalents; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the utility model.
Claims
1. A dual-control dimming switch, characterized in that: include: Power supply module, zero-crossing detection module, voltage conversion module, control module and panel control module; The power taking module includes a dimming switch trigger module and a rectifier module; the input terminal 1 of the power taking module is connected to the live wire L, the input terminal 2 of the power taking module is connected to the neutral wire N, the output terminal of the power taking module is connected to the input terminal of the rectifier module, and the dimming switch trigger module is also connected between the input terminal 1 of the power taking module and the rectifier module; wherein the live wire L includes a live wire L1 and a live wire L2; The output terminal 1 of the rectifier module is connected to the input terminal of the zero-crossing detection module, the output terminal 1 of the rectifier module is also connected to the input terminal of the voltage conversion module, and the output terminal 2 of the rectifier module is grounded; The control module is electrically connected to the output end of the voltage conversion module, the output end 1 of the dimming switch trigger module, and the output end of the zero-crossing detection module respectively; the output end 2 of the dimming switch trigger module is grounded; The control module is also connected to one end of the panel control module, and the other end of the panel control module is grounded.
2. A dual-control dimming switch according to claim 1, characterized in that: The dimming switch trigger module includes: a live wire L1 input end, a live wire L2 input end, an optically coupled bidirectional thyristor GE1, an optically coupled thyristor GE2, a resistor R4, a resistor R5, a resistor R6, a resistor R15, a resistor R18, a resistor R19, a resistor R20, a resistor R21, a resistor R26, a bidirectional thyristor Q4, a transistor Q1, an inductor coil L4, a relay M7 and a rectifier bridge BD2; the relay M7 includes a diode D5 and a relay coil.
3. A dual-control dimming switch according to claim 2, characterized in that: One end of the relay M7 is connected to the 12V power supply, the other end of the relay M7 is connected to the collector of the transistor Q1, the emitter of the transistor Q1 is grounded, the base of the transistor Q1 is connected to one end of the resistor R18, the other end of the resistor R18 is grounded, the base of the transistor Q1 is also connected to one end of the resistor R15, and the other end of the resistor R15 is connected to the pin 9 of the control module; The live wire L1 input end is connected to the conversion contact 1 in the relay M7, the live wire L2 input end is connected to the conversion contact 2 in the relay M7, the conversion contact 3 in the relay M7 is connected to the T1 end of the bidirectional thyristor Q4, the T2 end of the bidirectional thyristor Q4 is connected to one end of the inductor L4, the other end of the inductor L4 is connected to the live wire L, the T2 end of the bidirectional thyristor Q4 is also connected to one end of the resistor R21, and the other end of the resistor R21 is also connected to the pin A4 of the optical coupling bidirectional thyristor GE1; The conversion contact 3 in the relay M7 is also connected to one end of the resistor R26, the other end of the resistor R26 is connected to the G end of the bidirectional thyristor Q4, the other end of the resistor R26 is also connected to the pin A3 of the optical coupling bidirectional thyristor GE1, the pin A2 of the optical coupling bidirectional thyristor GE1 is grounded, and the pin A1 of the optical coupling bidirectional thyristor GE1 is connected to the pin 1 of the control module; Between the live wire L1 input end and the switching contact 1 in the relay M7, the live wire L1 input end is also connected to one end of a resistor R19, the other end of the resistor R19 is connected to a pin C3 of a rectifier bridge BD2, and the pin C1 of the rectifier bridge BD2 is connected to a pin B1 of an optically coupled thyristor GE2; Between the live wire L2 input end and the switching contact 2 in the relay M7, the live wire L2 input end is also connected to one end of the resistor R20, the other end of the resistor R20 is connected to the pin C2 of the rectifier bridge BD2, and the pin C4 of the rectifier bridge BD2 is connected to the pin B2 of the optical coupling thyristor GE2; Pin B4 of the optocoupler thyristor GE2 is connected to one end of the resistor R4, the other end of the resistor R4 is connected to a 3.3V power supply, and pin B4 of the optocoupler thyristor GE2 is also connected to one end of the resistor R6, the other end of the resistor R6 is connected to pin 5 of the control module; pin B4 of the optocoupler thyristor GE2 is also connected to one end of the resistor R5, the other end of the resistor R5 is connected to pin 4 of the control module; pin B3 of the optocoupler thyristor GE2 is grounded.
4. A dual-control dimming switch according to claim 3, characterized in that: The rectifier module includes: a rectifier bridge BD1, a power switch F1, a power switch F2, a capacitor C1, a resistor R1, a diode D1, an inductor L5, a resistor R8, a diode D2 and a capacitor C11.
5. A dual-control dimming switch according to claim 4, characterized in that: The live wire L is connected to one end of the power switch F1, the other end of the power switch F1 is connected to the other end of the inductor L4, the other end of the power switch F1 is also connected to the pin D1 of the rectifier bridge BD1, the other end of the power switch F1 is also connected to one end of the capacitor C1, the other end of the capacitor C1 is connected to the neutral wire N, the other end of the capacitor C1 is also connected to one end of the power switch F2, and the other end of the power switch F2 is connected to the pin D3 of the rectifier bridge BD1; Pin D2 of the rectifier bridge BD1 is connected to the positive electrode of the diode D1, and the pin D2 of the rectifier bridge BD1 is also connected to one end of the resistor R1, and the other end of the resistor R1 is connected to the input end of the zero-crossing detection module; the cathode of the diode D1 is connected to one end of the inductor L5, the other end of the inductor L5 is connected to the positive electrode of the diode D2, the cathode of the diode D2 is connected to the input end of the voltage conversion module, the cathode of the diode D1 is also connected to one end of the resistor R8, the other end of the resistor R8 is connected to the other end of the inductor L1, the cathode of the diode D1 is also connected to one end of the capacitor C11, and the other end of the capacitor C11 is grounded; pin D4 of the rectifier bridge BD1 is grounded.
6. A dual-control dimming switch according to claim 5, characterized in that: The zero-crossing detection module includes: a resistor R2, a resistor R3, a capacitor C9, a capacitor C10 and a voltage stabilizing diode D3; The other end of the resistor R1 is connected to one end of the capacitor C10, the other end of the capacitor C10 is connected to one end of the resistor R2, the other end of the capacitor C10 is also grounded, the other end of the resistor R2 is connected to one end of the capacitor C10, the other end of the resistor R2 is also connected to the negative electrode of the Zener diode D3, the positive electrode of the Zener diode D3 is grounded, the other end of the resistor R2 is also connected to one end of the resistor R3, the other end of the resistor R3 is connected to one end of the capacitor C9, the other end of the capacitor C9 is grounded, and the other end of the resistor R3 is connected to pin 2 of the control module.
7. The dual-control dimming switch according to claim 6, characterized in that: The voltage conversion module includes an AC-DC driving module; the AC-DC driving module includes: Driving chip U2, resistor R11, resistor R12, electrolytic capacitor EC1, electrolytic capacitor EC2, capacitor C3, inductor L6, diode D5 and diode D6; Pin 4 of the driver chip U2 is connected to the cathode of the diode D2, and pin 4 of the driver chip U2 is also connected to the anode of the electrolytic capacitor EC1, and the cathode of the electrolytic capacitor EC1 is grounded, pin 1 of the driver chip U2 is connected to the cathode of the diode D5, and the anode of the diode D5 is grounded, pin 1 of the driver chip U2 is also connected to one end of the capacitor C3, and the other end of the capacitor C3 is connected to pin 3 of the driver chip U2, and the other end of the capacitor C3 is also connected to pin 2 of the driver chip U2, and the other end of the capacitor C3 is also connected to the cathode of the diode D6. The cathode of the diode D6 is connected, the anode of the diode D6 is connected to one end of the inductor L6, the anode of the diode D6 is also connected to a 12V power supply, the anode of the diode D6 is also connected to the anode of the electrolytic capacitor EC2, the cathode of the electrolytic capacitor EC2 is grounded, the cathode of the electrolytic capacitor EC2 is also connected to one end of the resistor R12, the other end of the resistor R12 is connected to the 12V power supply, the other end of the inductor L6 is connected to pin No. 1 of the drive chip U2, the other end of the inductor L6 is also connected to one end of the resistor R11, and the other end of the resistor R11 is connected to pin No. 5 of the drive chip U2.
8. The dual-control dimming switch according to claim 7, characterized in that: The voltage conversion module also includes a DC-DC voltage stabilization module; the DC-DC voltage stabilization module includes: Voltage stabilizing chip U4, capacitor C2, capacitor C4, capacitor C5, capacitor C9, capacitor C12, resistor R9, resistor R10, resistor R13, resistor R14, resistor R27 and inductor L7; Pin No. 1 of the voltage stabilizing chip U4 is connected to one end of the capacitor C2, and the other end of the capacitor C2 is connected to pin No. 6 of the voltage stabilizing chip U4. The other end of the capacitor C2 is also connected to one end of the inductor L7, and the other end of the inductor L7 is connected to a 3.3V power supply. The other end of the inductor L7 is also connected to one end of the capacitor C12, and the other end of the capacitor C12 is grounded. The other end of the capacitor C2 is also connected to one end of the capacitor C5, and one end of the capacitor C5 is also connected to one end of the resistor R27. The other end of the resistor R27 is connected to a 12V power supply, and the other end of the capacitor C5 is grounded; The other end of the inductor L7 is also connected to one end of the resistor R10, the other end of the resistor R10 is connected to pin 3 of the voltage stabilizing chip U4, the other end of the resistor R10 is also connected to one end of the resistor R14, the other end of the resistor R14 is connected to pin 2 of the voltage stabilizing chip U4, the other end of the resistor R14 is also grounded, pin 5 of the voltage stabilizing chip U4 is connected to one end of the resistor R9, the other end of the resistor R9 is connected to one end of the resistor R13, the other end of the resistor R13 is grounded, the other end of the resistor R9 is also connected to pin 4 of the voltage stabilizing chip U4, pin 5 of the voltage stabilizing chip U4 is also connected to one end of the capacitor C4, the other end of the capacitor C4 is grounded, the other end of the capacitor C4 is also connected to one end of the capacitor C9, the other end of the capacitor C9 is connected to pin 5 of the voltage stabilizing chip U4, and the other end of the capacitor C9 is also connected to the 12V power supply.
9. The dual-control dimming switch according to claim 8, characterized in that: The panel control module at least includes a button module and an LED module; the button module at least includes: an on / off button module and a brightness adjustment button module; The on / off key module includes a key SW3, one end of the key SW3 is connected to the pin 13 of the control module, and the other end of the key SW3 is grounded; The brightness adjustment key module includes a key SW1 and a key SW2; one end of the key SW2 is connected to one end of the resistor R29, the other end of the resistor R29 is connected to the pin 7 of the control module, and the other end of the key SW2 is grounded; one end of the key SW1 is connected to the pin 6 of the control module, and the other end of the key SW1 is grounded; The positive terminal of the LED module is connected to the control module, and the negative terminal of the LED module is grounded.
10. The dual-control dimming switch according to claim 9, characterized in that: The pin VCC end of the control module is connected to a 3.3V power supply, and the pin VCC end of the control module is also connected to one end of a capacitor C7, the other end of the capacitor C7 is grounded, and the other end of the capacitor C7 is also connected to the negative electrode of the electrolytic capacitor EC4, and the positive electrode of the electrolytic capacitor EC4 is connected to the pin VCC end of the control module; the pin GND end of the control module is grounded.
