Wireless ZigBee circuit for LED dimming
By using wireless ZigBee circuit in tunnel lights, the problem that existing tunnel light dimming solutions cannot effectively adjust brightness and increase wiring difficulty is solved, wireless dimming, independent control and precise dimming are achieved, and system stability and maintenance convenience are improved.
Patent Information
- Application Number
- CN202420697934.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-08
- Publication Date
- 2025-06-27
- Estimated Expiration
- 2034-04-08
AI Technical Summary
The existing tunnel light dimming scheme cannot effectively adjust the brightness, resulting in too dark or too bright conditions, and the 0–10V dimming scheme increases wiring difficulty and may affect the entire dimming circuit.
Wireless ZigBee circuit is adopted, including power supply circuit, ZigBee transceiver circuit, microcontroller circuit and driver circuit, to receive dimming commands through wireless signals, simplify wiring, and provide dynamic voltage regulation output and push-pull current through driver circuits to achieve independent control and precise dimming.
Wireless dimming is realized, the construction process is simplified, and the tunnel lights can be controlled or controlled in a single manner according to demand, so as to avoid the impact of a single lamp failure and to achieve accurate dimming, improving system stability and maintenance convenience.
Smart Images

Figure CN223040202U_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of dimming circuits, and specifically to a wireless ZigBee circuit for LED dimming. Background Art
[0002] During the use of tunnel lights, the existing dimming scheme is that the lights are on when a vehicle comes and off when the vehicle leaves; for this method, the brightness in the tunnel cannot be effectively adjusted, and it does not adapt to the ambient brightness, resulting in too dark or too bright situations; or for tunnel lights with 0–10V dimming, the existing scheme is to adjust the brightness of the tunnel lights through a 0–10V bus. In this case, the difficulty of wiring will increase, and there will be a situation where the tunnel lights will affect each other. When a dimming input interface of a certain tunnel light fails, the entire dimming circuit connected to it may be affected. Summary of the Utility Model
[0003] The purpose of this application is to provide a wireless ZigBee circuit for LED dimming to solve the technical problems raised in the above background art.
[0004] To achieve the above purpose, this application discloses the following technical solutions: A wireless ZigBee circuit for LED dimming; including a power supply circuit for bucking, a ZigBee circuit for receiving wireless signals, a single-chip microcomputer circuit for data processing and control output, and a driving circuit for converting PWM signals and amplifying the output current; the power supply circuit, ZigBee transceiver circuit, single-chip microcomputer circuit, and driving circuit are connected in sequence.
[0005] Preferably, the power supply circuit includes capacitor C8, power supply chip U3, capacitor C9, and capacitor C13;
[0006] Pin 1 of capacitor C8 is connected to the +12V power supply and the IN terminal of the power supply chip, the GND terminal of the power supply chip is connected to GND, the OUT pin of the power supply chip is simultaneously connected to pin 1 of capacitor C9 and pin 1 of capacitor C13, and pin 2 of capacitor C9 and pin 2 of capacitor C13 are simultaneously connected to GND.
[0007] Preferably, the ZigBee transceiver circuit includes ZigBee module U1, button S1, working indicator LED1, resistor R3, and capacitor C1;
[0008] The first pin of the push button S1 is connected to the 23rd pin of the ZigBee module U1, and the second pin of the push button S1 is connected to GND; the first pin of the resistor R3 is connected to +3.3V, the second pin of the resistor R3 is connected to the anode of the status indicator LED1, and the cathode of the status indicator LED1 is connected to the 27th pin of the ZigBee module; the first pin of the capacitor C1 is connected to both +3.3V and the 31st pin of the ZigBee module U1, and the 30th, 35th, and 37th pins of the ZigBee module U1 are all connected to GND; the 36th pin of the ZigBee module U1 is the antenna output pin; the 12th pin of the ZigBee module U1 is connected to the 3rd pin of the microcontroller U2 in the microcontroller circuit, the 15th pin of the ZigBee module U1 is connected to the 2nd pin of the microcontroller U2 in the microcontroller circuit, the 26th pin of the ZigBee module U1 is connected to the 17th pin of the microcontroller U2 in the microcontroller circuit, the 28th pin of the ZigBee module U1 is connected to the 16th pin of the microcontroller U2 in the microcontroller circuit, and the 29th pin of the ZigBee module U1 is connected to the 15th pin of the microcontroller U2 in the microcontroller circuit.
[0009] Preferably, the microcontroller circuit includes a microcontroller U2, a capacitor C2, a resistor R1, a resistor R2, a capacitor C4, a crystal oscillator X1, a capacitor C3, and a capacitor C5;
[0010] The first pin of the capacitor C2 is connected to GND, and the second pin of the capacitor C2 is connected to the 8th pin of the microcontroller U2; the first pin of the R1 is connected to the 6th pin of the microcontroller U2, and the second pin of the R1 is connected to the 5th pin of the microcontroller U2; the first pin of the crystal oscillator X1 is connected to the 6th pin of the microcontroller U2, and the second pin of the crystal oscillator X1 is connected to the 5th pin of the microcontroller; the first pin of the capacitor C3 is connected to the 6th pin of the microcontroller U2, and the second pin of the capacitor C3 is connected to GND; the first pin of the capacitor C5 is connected to the 5th pin of the microcontroller U2, and the second pin of the capacitor C5 is connected to GND; the first pin of the resistor R2 is connected to +3.3V, and the second pin of the resistor R2 is connected to the 4th pin of the microcontroller U2; the first pin of the capacitor C4 is connected to the 4th pin of the microcontroller U2, and the second pin of the capacitor C4 is connected to GND; the 9th pin of the microcontroller U2 is connected to +3.3V; the 7th pin of the microcontroller U2 is connected to GND.
[0011] Preferably, the drive circuit includes a DAC converter U4, a capacitor C7, a capacitor C11, a comparator U5, a capacitor C10, a triode Q1, a triode Q2, a capacitor C6, a capacitor C1, a diode D1, and a diode D2.
[0012] The 3rd pin of the DAC converter U4 is connected to the 20th pin of the microcontroller U2 in the microcontroller circuit. The 1st pin of the capacitor C11 is connected to the 4th pin of the DAC converter U4, and the 2nd pin of the C11 is connected to GND. The 1st pin of the capacitor C7 is connected to the 8th pin of the DAC converter U4. The 2nd pin of the capacitor C7 is connected to GND. The 4th pin of the DAC converter is connected to +12V, and the 5th pin of the DAC converter U4 is connected to GND. The 6th pin of the DAC converter U4 is connected to the 3rd pin of the comparator U5. The 1st pin of the capacitor C10 is connected to the 1st pin of the comparator U5, and the 2nd pin of the capacitor C10 is connected to the 2nd pin of the comparator U5. The base of the triode Q1 is connected to the base of the triode Q2, the emitter of the triode Q1 is connected to the emitter of the triode Q2, and the collector of the triode Q1 is connected to +12V and the 1st pin of the capacitor C6. The collector of the triode Q2 is connected to GND. The 2nd pin of the comparator U5 is connected to the emitter of the triode Q1. The 4th pin of the comparator U5 is connected to GND. The 8th pin of the comparator U5 is connected to +12V. The 1st pin of the capacitor C12 is connected to the collector of the triode Q2, and the 2nd pin of the capacitor C12 is connected to GND. The 1st pin of the Schottky diode D2 is connected to the 1st pin of the capacitor C12, and the 2nd pin of the Schottky diode D2 is connected to GND. The 1st pin of the Schottky diode D1 is connected to the 1st pin of the capacitor C12, and the 2nd pin of the Schottky diode D2 is connected to +12V.
[0013] Advantages: A wireless ZigBee circuit for LED dimming in this application receives wireless control data sent from a remote end through a ZigBee transceiver circuit, eliminating the need for on-site wiring. The comparator U5 and the triode Q1 in the drive circuit form a voltage follower, acting as a buffer stage, providing the ability to dynamically regulate the output voltage to adapt to different load requirements. The triode Q1 and the triode Q2 form a push-pull circuit to increase the output current, which can control a single tunnel light or a group of tunnel lights. Compared with the prior art, a wireless ZigBee circuit for LED dimming in this application simplifies the construction plan. In terms of effect, it can group-control or single-control tunnel lights according to actual needs, achieving decoupling of the entire tunnel lights. When a single light fails, it will no longer affect the operation of other lights, and at the same time, precise dimming of specific areas can be achieved. For later maintenance, when a single group of lamps or a single lamp has an abnormality, it will not affect the operation of other lamps, and the system is more stable. Maintenance is simple. When some lamps fail, what you see is what you get, and there is no need to troubleshoot the circuit. Even if there is no time for repair, the brightness can be appropriately adjusted by increasing the brightness of other lamps. Description of the Drawings
[0014] To more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are only some embodiments of the present application. For those skilled in the art, without creative efforts, other drawings can also be obtained based on these drawings.
[0015] Figure 1 It is a circuit schematic diagram of a wireless ZigBee circuit for LED dimming provided by an embodiment of the present application. Detailed implementation manners
[0016] The following will clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only some embodiments of the present application, rather than all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts belong to the scope protected by the present application.
[0017] In this article, the term "comprising" is intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such a process, method, article or device. Without further limitations, the elements defined by the statement "comprising..." do not exclude the existence of additional identical elements in the process, method, article or device including the said elements.
[0018] This embodiment discloses a wireless ZigBee circuit for LED dimming as shown in Figure 1 which includes a power supply circuit for bucking, a ZigBee circuit for receiving wireless signals, a single-chip microcomputer circuit for data processing and control output, and a driving circuit for converting PWM signals and amplifying the output current; the power supply circuit, the ZigBee transceiver circuit, the single-chip microcomputer circuit, and the driving circuit are connected in sequence.
[0019] In this embodiment, the power supply circuit includes capacitor C4, power supply chip U3, capacitor C9, and capacitor C13.
[0020] Specifically, pin 1 of capacitor C8 is connected to the +12V power supply and the IN terminal of the power supply chip as the power input terminal. Capacitor C8 is a decoupling and filtering capacitor for the power supply, which prevents the +12V power supply from being interfered and provides power for the power supply chip U3 at the same time; the GND terminal of the power supply chip is connected to GND; the OUT pin of the power supply chip is simultaneously connected to pin 1 of capacitor C9 and pin 1 of capacitor C13, and +3.3V power is output at this pin; pin 2 of capacitor C9 and pin 2 of capacitor C13 are simultaneously connected to GND, and these two capacitors are filtering capacitors.
[0021] In this embodiment, the ZigBee transceiver circuit includes a ZigBee module U1, a button S1, a working indicator LED1, a resistor R3, and a capacitor C1.
[0022] Specifically, pin 1 of the button S1 is connected to pin 23 of the ZigBee module U1, and pin 2 of the button S1 is connected to GND. Long pressing the button restores the ZigBee module to its default settings; pin 1 of the resistor R3 is connected to +3.3V, pin 2 of the resistor R3 is connected to the anode of the status indicator LED1, and the cathode of the status indicator LED1 is connected to pin 27 of the ZigBee module. The status indicator will blink alternately in the normal working mode of the ZigBee module; pin 1 of the capacitor C1 is connected to +3.3V and to pin 31 of the ZigBee module U1. Pins 30, 35, and 37 of the ZigBee module U1 are all connected to GND; pin 36 of the ZigBee module U1 is the antenna output pin and is subsequently connected to an antenna.
[0023] Specifically, the connection relationship between the ZigBee transceiver circuit and the microcontroller circuit is as follows: pin 12 of the ZigBee module U1 is connected to pin 3 of the microcontroller U2 in the microcontroller circuit, and pin 15 of the ZigBee module U1 is connected to pin 2 of the microcontroller U2 in the microcontroller circuit. These two pins are the communication pins between the ZigBee module and the microcontroller chip; pin 26 of the ZigBee module U1 is connected to pin 17 of the microcontroller U2 in the microcontroller circuit, and this pin is the response pin for module communication; pin 28 of the ZigBee module U1 is connected to pin 16 of the microcontroller U2 in the microcontroller circuit, which is the reset pin of the ZigBee module; pin 29 of the ZigBee module U1 is connected to pin 15 of the microcontroller U2 in the microcontroller circuit, which is the working status pin of the ZigBee module.
[0024] In this embodiment, the microcontroller circuit includes a microcontroller U2, a capacitor C2, a resistor R1, a resistor R2, a capacitor C4, a crystal oscillator X1, a capacitor C3, and a capacitor C5.
[0025] Specifically, pin 1 of capacitor C2 is connected to GND, and pin 2 of capacitor C2 is connected to pin 8 of microcontroller U2; pin 1 of R1 is connected to pin 6 of microcontroller U2, and pin 2 of R1 is connected to pin 5 of microcontroller U2; pin 1 of crystal oscillator X1 is connected to pin 6 of microcontroller U2, and pin 2 of crystal oscillator X1 is connected to pin 5 of the microcontroller; pin 1 of capacitor C3 is connected to pin 6 of microcontroller U2, and pin 2 of capacitor C3 is connected to GND; pin 1 of capacitor C5 is connected to pin 5 of microcontroller U2, and pin 2 of capacitor C5 is connected to GND. Resistor R1, crystal oscillator X1, capacitor C3, and capacitor C5 form the crystal oscillator circuit of the microcontroller; pin 1 of resistor R2 is connected to +3.3V, and pin 2 of resistor R2 is connected to pin 4 of microcontroller U2; pin 1 of capacitor C4 is connected to pin 4 of microcontroller U2, and pin 2 of capacitor C4 is connected to GND. Capacitor C4 and resistor R2 form the reset circuit of the microcontroller; pin 9 of microcontroller U2 is connected to +3.3V; pin 7 of microcontroller U2 is connected to GND.
[0026] Specifically, the microcontroller U2 in the microcontroller circuit outputs a PWM signal to the DAC converter U4 of the drive circuit through its 20 pins.
[0027] In this embodiment, the drive circuit includes DAC converter U4, capacitor C7, capacitor C11, comparator U5, capacitor C10, triode Q1, triode Q2, capacitor C6, capacitor C1, diode D1, and diode D2.
[0028] Specifically, pin 3 of the DAC converter U4 is connected to pin 20 of the microcontroller U2 in the microcontroller circuit to obtain the PWM signal through this pin; pin 1 of the capacitor C11 is connected to pin 4 of the DAC converter U4, and pin 2 of the capacitor C11 is connected to GND; pin 1 of the capacitor C7 is connected to pin 8 of the DAC converter U4; pin 2 of the capacitor C7 is connected to GND; pin 4 of the DAC converter U4 is connected to +12V, and pin 5 of the DAC converter U4 is connected to GND; pin 6 of the DAC converter U4 is connected to pin 3 of the comparator U5, and this pin of the DAC converter U4 outputs a 0–10V voltage to the comparator U5; pin 1 of the capacitor C10 is connected to pin 1 of the comparator U5, and pin 2 of the capacitor C10 is connected to pin 2 of the comparator U5. The capacitor C10 serves as the output frequency compensation capacitor of the comparator; the base of the triode Q1 is connected to the base of the triode Q2, and the emitter of the triode Q1 is connected to the emitter of the triode Q2, serving as the 0–10 output signal terminal. The collector of the triode Q1 is connected to +12V and is also connected to pin 1 of the capacitor C6; the collector of the triode Q2 is connected to GND; pin 2 of the comparator U5 is connected to the emitter of the triode Q1; pin 4 of the comparator U5 is connected to GND, and pin 8 of the comparator U5 is connected to +12V; pin 1 of the capacitor C12 is connected to the collector of the triode Q2, and pin 2 of the capacitor C12 is connected to GND; pin 1 of the Schottky diode D2 is connected to pin 1 of the capacitor C12, and pin 2 of the Schottky diode D2 is connected to GND. Pin 1 of the Schottky diode D1 is connected to pin 1 of the capacitor C12, and pin 2 of the Schottky diode D2 is connected to +12V. The Schottky diodes D1 and D2 are surge protection devices.
[0029] In summary, for a PWM conversion output circuit with isolation in this embodiment, the ZigBee transceiver circuit receives the wireless signal sent by the remote end and transmits the data to the microcontroller circuit; the microcontroller circuit analyzes the obtained data. If it is a dimming command, it determines whether the current brightness is the same as the newly received brightness value. When they are different, it changes the duty cycle of the output PWM; the PWM signal is transmitted to the drive circuit; in the drive circuit, the DAC converter U4 converts the PWM signal into a 0–10V signal. The comparator U5 and Q1 form a voltage follower, and the output will follow the DAC converter U4 without changing in magnitude; the triodes Q1 and Q2 form a push-pull circuit to enhance the current of the output 0–10V dimming voltage.
[0030] Finally, it should be noted that the above are only the preferred embodiments of the present application and are not used to limit the present application. Although the present application has been described in detail with reference to the foregoing embodiments, for those skilled in the art, they can still modify the technical solutions recorded in the foregoing embodiments, or perform equivalent replacements for some of the technical features. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. A wireless ZigBee circuit for LED dimming, characterized in that: It includes a power supply circuit for voltage reduction, a ZigBee circuit for receiving wireless signals, a single-chip circuit for data processing and output control, and a driving circuit for converting PWM signals and amplifying output current; the power supply circuit, ZigBee transceiver circuit, single-chip circuit, and driving circuit are connected in sequence.
2. A wireless ZigBee circuit for LED dimming according to claim 1, characterized in that: The power supply circuit includes capacitor C8, power chip U3, capacitor C9, and capacitor C13; pin 1 of the capacitor C8 is connected to the +12V power supply and the IN end of the power chip, the GND end of the power chip is connected to GND, the OUT pin of the power chip is connected to pin 1 of capacitor C9 and capacitor C13, and pin 2 of the capacitor C9 and capacitor C13 is connected to GND.
3. A wireless ZigBee circuit for LED dimming according to claim 1, characterized in that: The ZigBee transceiver circuit comprises a ZigBee module (U1), a button (S1), a working indicator light (LED1), a resistor (R3) and a capacitor (C1); Pin 1 of the button (S1) is connected to Pin 23 of the ZigBee module (U1), and Pin 2 of the button (S1) is connected to GND; Pin 1 of the resistor (R3) is connected to +3.3V, Pin 2 of the resistor (R3) is connected to the anode of the working indicator light (LED1), and the cathode of the working indicator light (LED1) is connected to Pin 27 of the ZigBee module; Pin 1 of the capacitor (C1) is connected to +3.3V and to Pin 31 of the ZigBee module (U1), and Pins 30, 35 and 37 of the ZigBee module (U1) are all connected to GND; Pin 36 of the ZigBee module (U1) is an antenna output pin; Pin 12 of the ZigBee module (U1) is connected to pin 3 of a single-chip microcomputer (U2) in a single-chip microcomputer circuit, pin 15 of the ZigBee module (U1) is connected to pin 2 of a single-chip microcomputer (U2) in a single-chip microcomputer circuit, pin 26 of the ZigBee module (U1) is connected to pin 17 of a single-chip microcomputer (U2) in a single-chip microcomputer circuit, pin 28 of the ZigBee module (U1) is connected to pin 16 of a single-chip microcomputer (U2) in a single-chip microcomputer circuit, and pin 29 of the ZigBee module (U1) is connected to pin 15 of a single-chip microcomputer (U2) in a single-chip microcomputer circuit.
4. A wireless ZigBee circuit for LED dimming according to claim 1, characterized in that: The single-chip circuit includes a single-chip U2, a capacitor C2, a resistor R1, a resistor R2, a capacitor C4, a crystal oscillator X1, a capacitor C3 and a capacitor C5; Pin 1 of the capacitor C2 is connected to GND, and Pin 2 of the capacitor C2 is connected to Pin 8 of the single-chip U2; Pin 1 of R1 is connected to Pin 6 of the single-chip U2, and Pin 2 of R1 is connected to Pin 5 of the single-chip U2; Pin 1 of the crystal oscillator X1 is connected to pin 6 of the single-chip microcomputer U2, and pin 2 of the crystal oscillator X1 is connected to pin 5 of the single-chip microcomputer; pin 1 of the capacitor C3 is connected to pin 6 of the single-chip microcomputer U2, and pin 2 of the capacitor C3 is connected to GND; pin 1 of the capacitor C5 is connected to pin 5 of the storyteller single-chip microcomputer U2, and pin 2 of the capacitor C5 is connected to GND; pin 1 of the resistor R2 is connected to +3.3V, and pin 2 of the resistor R2 is connected to pin 4 of the single-chip microcomputer U2; pin 1 of the capacitor C4 is connected to pin 4 of the single-chip microcomputer U2, and pin 2 of the capacitor C4 is connected to GND; pin 9 of the single-chip microcomputer U2 The pin is connected to +3.3V; the pin 7 of the microcontroller U2 is connected to GND.
5. A wireless ZigBee circuit for LED dimming according to claim 1, characterized in that: The driving circuit includes a DAC converter U4, a capacitor C7, a capacitor C11, a comparator U5, a capacitor C10, a transistor Q1, a transistor Q2, a capacitor C6, a capacitor C1, a Schottky diode D1 and a Schottky diode D2; the 3rd pin of the DAC converter U4 is connected to the 20th pin of the single-chip microcomputer U2 in the single-chip microcomputer circuit, the 1st pin of the capacitor C11 is connected to the 4th pin of the DAC converter U4, and the 2nd pin of C11 is connected to GND; the 1st pin of the capacitor C7 is connected to the 8th pin of the DAC converter U4; the 2nd pin of the capacitor C7 is connected to GND; Pin 4 of the DAC converter is connected to +12V, and pin 5 of the DAC converter U4 is connected to GND; pin 6 of the DAC converter U4 is connected to pin 3 of the comparator U5; pin 1 of the capacitor C10 is connected to pin 1 of the comparator U5, and pin 2 of the capacitor C10 is connected to pin 2 of the comparator U5; the base of the transistor Q1 is connected to the base of the transistor Q2, the emitter of the transistor Q1 is connected to the emitter of the transistor Q2, and the collector of the transistor Q1 is connected to + 12V is connected and connected to pin 1 of capacitor C6; the collector of transistor Q2 is connected to GND; pin 2 of comparator U5 is connected to the emitter of transistor Q1; pin 4 of comparator U5 is connected to GND; pin 8 of comparator U5 is connected to +12V; pin 1 of capacitor C12 is connected to the collector of transistor Q2, and pin 2 of capacitor C12 is connected to GND; pin 1 of Schottky diode D2 is connected to pin 1 of capacitor C12, and pin 2 of Schottky diode D2 is grounded; Pin 1 of the Schottky diode D1 is connected to pin 1 of the capacitor C12, and pin 2 of the Schottky diode D2 is connected to +12V.