An LED controller circuit
By designing an LED controller circuit and utilizing zero-crossing signal detection and wireless module control of the relay, the instantaneous current of the relay switching was reduced, the impact of surge current on the relay was resolved, and safe and reliable wireless dimming conversion was achieved, thereby improving product reliability and market competitiveness.
Patent Information
- Application Number
- CN202423164753.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-21
- Publication Date
- 2025-11-25
- Estimated Expiration
- 2034-12-21
AI Technical Summary
When existing LED lights are switched using relays, surge currents can occur, affecting the reliability and lifespan of the relays. This also poses a risk of electric shock and a dim lighting condition, making it difficult to achieve safe and reliable switching between wireless and wired dimming.
An LED controller circuit was designed. By detecting zero-crossing signals and controlling the relay circuit with a wireless module, the switching instantaneous current is reduced by using the cooperation of MOSFET and relay, realizing the conversion of wireless dimming signals to wired dimming signals and controlling the switching state of LEDs.
It reduces the instantaneous current surge during relay switching, improves the reliability and lifespan of the relay, achieves safe and reliable wireless dimming switching function, and enhances the product's market competitiveness.
Smart Images

Figure CN223600071U_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The utility model relates to the field of LED, concretely is a kind of LED controller circuit. BACKGROUND
[0002] 0-10V dimming is a kind of wired dimming mode on luminaire, and is very widely used in luminaire market application.Although many luminaires can turn off the light of luminaire through dimming interface, but because luminaire is in standby state at this time, mains is not disconnected, and it is easy to cause electric shock when replacing luminaire;And at this time, some luminaires may appear micro-bright state (hundred uA level leakage current can make LED light up) after turning off, so it is very necessary to directly disconnect the input fire line of luminaire using relay mechanical switch.
[0003] However, when relay carries out switching operation on luminaire, because there is capacitance and inductance in LED drive, there will be surge current impact of several hundred microseconds to several milliseconds and amplitude of several hundred amperes in switching moment, as shown in the drawing. Figure 1 This surge current has great influence on reliability and life of relay, and needs to be improved. CONTENT OF UTILITY MODEL
[0004] The utility model aims at providing a kind of LED controller circuit to solve the problems raised in the above background technology.
[0005] To achieve the above-mentioned purpose, the utility model provides the following technical scheme:
[0006] A kind of LED controller circuit, comprising:
[0007] Voltage generating circuit, for converting input mains alternating current into 12V direct current, 3.3V direct current;
[0008] Zero-crossing point signal generating circuit, for detecting the signal when mains zero-crossing, output to wireless module;
[0009] Wireless module, for receiving the control of host computer, output PWM signal for PWM signal conversion dimming signal circuit;For controlling the working state of relay circuit based on the signal of zero-crossing;
[0010] PWM signal conversion dimming signal circuit, for converting PWM signal into 0-10V dimming signal, control LED lighting;
[0011] Relay circuit, for controlling whether LED works or not by whether relay works or not;
[0012] The voltage generating circuit is connected with the zero-crossing signal generating circuit, the wireless module, the PWM signal to dimming signal circuit and the relay circuit.
[0013] As a further scheme of the utility model: the zero-crossing signal generating circuit includes photoelectric coupler U5 and amplifier U4, the first end of photoelectric coupler U5 is connected with live wire L through resistance R12, resistance R10 and fuse F1 in turn, the second end of photoelectric coupler U5 is connected with neutral wire N through resistance R14 and resistance R11 in turn, the third end of photoelectric coupler U5 is grounded, the fourth end of photoelectric coupler U5 is connected with one end of resistance R13 and the non-inverting terminal of amplifier U4, the other end of resistance R13 is connected with 3.3V voltage, the non-inverting terminal of amplifier U4 is connected with one end of resistance R22 and one end of resistance R23, the other end of resistance R22 is connected with 3.3V voltage, the other end of resistance R23 is grounded, and the output terminal of amplifier U4 is connected with the wireless module.
[0014] As a further scheme of the utility model: the wireless module includes chip U3, chip U3 is a Bluetooth module, the model number is CYW20735B1, the 14th pin of chip U3 is connected with the zero-crossing signal generating module, the 8th pin of chip U3 is connected with one end of resistance R18 and one end of switch SW1, the other end of resistance R18 is connected with 3.3V voltage, the other end of switch SW1 is grounded, the 19th pin of chip U3 is connected with the PWM signal to dimming signal circuit, and the 16th pin of chip U3 is connected with the relay circuit.
[0015] As a further scheme of the utility model: the PWM signal to dimming signal circuit includes amplifier U6, the non-inverting terminal of amplifier U6 is connected with one end of resistance R16, one end of resistance R17 and one end of capacitor C11, the other end of resistance R17 is grounded, the other end of capacitor C11 is grounded, the other end of resistance R16 is connected with one end of resistance R15 and one end of capacitor C12, the other end of capacitor C12 is grounded, the other end of resistance R15 is connected with the wireless module, the inverting terminal of amplifier U6 is connected with one end of resistance R24, one end of resistance R21 and one end of capacitor C14, the other end of resistance R24 is grounded, the other end of resistance R21 is connected with the other end of capacitor C14, the output terminal of amplifier U6, the negative electrode of protection tube TVS1 and one end of capacitor C13, the positive electrode of protection tube TVS1 is grounded, and the other end of capacitor C13 is grounded.
[0016] As a further scheme of the utility model: the relay circuit includes MOS tube Q1 and relay K1, the G pole of MOS tube Q1 is connected with the wireless module through resistance R25, the S pole of MOS tube Q1 is grounded, the D pole of MOS tube Q1 is connected with one end of relay K1 and the positive electrode of diode D4, the other end of relay K1 is connected with the negative electrode of diode D4 and 12V voltage.
[0017] Compared with the prior art, the utility model discloses the relay to the lamp is in the vicinity of the commercial alternating current zero point when switching control, and switching instantaneous current greatly reduces, and the dependence on high -performance relay is reduced, and the reliability and life of relay are improved, and product has more cost performance, simple circuit realizes wireless dimming and has the function of wired dimming, and product has more market competitiveness. BRIEF DESCRIPTION OF DRAWINGS
[0018] Figure 1 It is the schematic diagram of surge current.
[0019] Figure 2 It is the circuit diagram of a LED controller circuit.
[0020] Figure 3 It is the waveform diagram of voltage signal. DETAILED DESCRIPTION
[0021] The technical solutions in the embodiments of the utility model will be clearly and completely described below with reference to the drawings in the embodiments of the utility model. Obviously, the described embodiments are only part of the embodiments of the utility model, not all the embodiments. Based on the embodiments in the utility model, all other embodiments obtained by those skilled in the art without creative labor fall within the protection scope of the utility model.
[0022] Please refer to Figure 2 A LED controller circuit, comprising:
[0023] Voltage generating circuit, for converting input commercial alternating current into 12V direct current, 3.3V direct current;
[0024] Zero-crossing point signal generating circuit, for detecting the signal when commercial zero-crossing point, output for wireless module;
[0025] Wireless module, for receiving the control of host computer, output PWM signal supplies PWM signal conversion dimming signal circuit;For controlling the working state of relay circuit based on the signal of zero-crossing point;
[0026] PWM signal conversion dimming signal circuit, for converting PWM signal into 0-10V dimming signal, control LED lighting;
[0027] Relay circuit, for controlling LED work or not whether the relay works;
[0028] The voltage generating circuit is connected with the zero-crossing signal generating circuit, the wireless module, the PWM signal to dimming signal circuit and the relay circuit.
[0029] In specific embodiments, please refer to Figure 2 In the voltage generating circuit, the rectifier BD1 is used for rectification, the capacitor C2, the capacitor C3 and the inductor L1 are used for filtering to become a stable direct current, and then the isolation flyback topology structure is used for outputting a 12V constant voltage.
[0030] In the present embodiment, please refer to Figure 2 The zero-crossing signal generating circuit comprises the optocoupler U5 and the amplifier U4, the first end of the optocoupler U5 is connected with the live wire L through the resistor R12, the resistor R10 and the fuse F1 in sequence, the second end of the optocoupler U5 is connected with the neutral wire N through the resistor R14 and the resistor R11 in sequence, the third end of the optocoupler U5 is grounded, the fourth end of the optocoupler U5 is connected with one end of the resistor R13 and the non-inverting terminal of the amplifier U4, the other end of the resistor R13 is connected with a 3.3V voltage, the inverting terminal of the amplifier U4 is connected with one end of the resistor R22 and one end of the resistor R23, the other end of the resistor R22 is connected with a 3.3V voltage, the other end of the resistor R23 is grounded, and the output terminal of the amplifier U4 is connected with the wireless module.
[0031] The resistors R10, R11, R12 and R14 are used for measuring the input AC waveform, when the AC waveform crosses zero, no current flows through the first end and the second end of the optocoupler U5, and the third end and the fourth end of the optocoupler U5 are cut off. The U5 is an AC input optocoupler. The V(out) waveform generated on the fourth pin of the optocoupler U5 is shown in the attached Figure 3
[0032] The amplifier U4 constitutes a comparison circuit, which is used for processing the zero-crossing signal, i.e. the V(out) signal on the fourth pin of the U5 into a comparison rule pulse output V(zero_det) signal, so as to facilitate the accurate reading of the digital chip in the subsequent stage, especially when the input AC is 100-277V, which reduces the signal processing abnormality caused by the device error and delay. Figure 3 In the present embodiment, V(in) is the AC power signal on the live wire L and the neutral wire N.
[0033] In the present embodiment, please refer to Figure 2 The wireless module includes a chip U3, the chip U3 is a Bluetooth module, the model is CYW20735B1, the pin 14 of the chip U3 is connected to the zero-crossing signal generation module, the pin 8 of the chip U3 is connected to one end of the resistor R18 and one end of the switch SW1, the other end of the resistor R18 is connected to a 3.3V voltage, the other end of the switch SW1 is grounded, the pin 19 of the chip U3 is connected to the PWM signal to dimming signal circuit, and the pin 16 of the chip U3 is connected to the relay circuit.
[0034] 0-10V dimming is a common wired dimming method on lamps, and is widely used in the lamp market. At present, with the development of intelligent lighting, wireless protocol modules such as Bluetooth (BLE), WIFI, ZIGBEE are commonly used on lamps to control the brightness, color temperature, switch, scene and the like of the lamps. Because the driving power of the stock lamps on the market is mostly 0-10V wired control dimming, a controller is needed to convert the wireless dimming signal into a 0-10V dimming signal.
[0035] The chip U3 is a Bluetooth (BLE) module, and can also be replaced with WIFI, ZIGBEE, MCU, DSP, FPGA and other intelligent modules. The switch SW1 is a reset switch, and the diode LED1 is a module working indicator light. The chip U3 receives the control of the upper computer (here, it is a Bluetooth module, and communication is carried out through Bluetooth. If it is a WIFI module, communication is carried out through WIFI, so based on the type of the wireless module chip and the communication method used), and the pin 19 sends a PWM signal to the PWM signal to dimming signal circuit.
[0036] In the embodiment, please refer to Figure 2 The PWM signal to dimming signal circuit includes an amplifier U6, the non-inverting input terminal of the amplifier U6 is connected to one end of the resistor R16, one end of the resistor R17 and one end of the capacitor C11, the other end of the resistor R17 is grounded, the other end of the capacitor C11 is grounded, the other end of the resistor R16 is connected to one end of the resistor R15 and one end of the capacitor C12, the other end of the capacitor C12 is grounded, the other end of the resistor R15 is connected to the wireless module, the inverting input terminal of the amplifier U6 is connected to one end of the resistor R24, one end of the resistor R21 and one end of the capacitor C14, the other end of the resistor R24 is grounded, the other end of the resistor R21 is connected to the other end of the capacitor C14, the output terminal of the amplifier U6, the negative electrode of the protection tube TVS1 and one end of the capacitor C13, the positive electrode of the protection tube TVS1 is grounded, and the other end of the capacitor C13 is grounded.
[0037] The amplifier U6 constitutes a forward input amplification circuit, the dimming signal Dim_Ctrl output by the chip U3 is a high-frequency PWM signal of several kilohertz, after being filtered by the RC filter circuit composed of the resistor R15, the resistor R16, the capacitor C12 and the capacitor C11, the signal is amplified by about 3 times to obtain an output signal with an amplitude of 0-10V to control the LED dimming.
[0038] In the embodiment, please refer to Figure 2 The relay circuit comprises a MOS tube Q1 and a relay K1, the G pole of the MOS tube Q1 is connected to the wireless module through the resistor R25, the S pole of the MOS tube Q1 is grounded, the D pole of the MOS tube Q1 is connected to one end of the relay K1 and the positive pole of the diode D4, the other end of the relay K1 is connected to the negative pole of the diode D4 and a 12V voltage.
[0039] The chip U3 outputs a switching control signal to the MOS tube Q1 to control whether the MOS tube Q1 is turned on or not, and further control whether the relay is disconnected or closed.
[0040] The relay K1 is a normally open contact relay, and the closing moment of the relay K1 is at the zero-crossing point of the alternating current phase, so that the influence of the turn-on surge current on the contact life of the relay K1 is reduced.
[0041] The working principle of the utility model is: voltage generating circuit is used for converting input commercial alternating current into 12V direct current and 3.3V direct current, zero-crossing signal generating circuit is used for detecting the signal when the commercial power zero-crossing point, and outputting to the wireless module, the wireless module is used for receiving the control of the host computer, and outputting the PWM signal to the PWM signal to dimming signal circuit, and the PWM signal to dimming signal circuit is used for converting the PWM signal into 0-10V dimming signal to control LED lighting, and the relay circuit is used for controlling the working state of the relay circuit based on the zero-crossing point signal.
[0042] It is apparent for a person skilled in the art that the present application is not restricted to the details of the exemplary embodiments described above and that it can be implemented in other concrete forms without departing from the spirit or the essential characteristics of the application. Therefore, the embodiments should be considered as exemplary only and in no way as restrictive.
[0043] In addition, it should be understood that, although the present specification is described in terms of embodiments, not every embodiment contains only one independent technical solution, and the description of the specification is only for the sake of clarity, and those skilled in the art should consider the specification as a whole, and the technical solutions in each embodiment can be appropriately combined to form other embodiments that those skilled in the art can understand.
Claims
1. An LED controller circuit, characterized by The LED controller circuit comprises: a voltage generating circuit for converting input AC power into 12V DC power and 3.3V DC power; a zero-crossing signal generating circuit for detecting a signal at a zero-crossing point of the AC power and outputting the signal to a wireless module; the wireless module for receiving control from a host computer and outputting a PWM signal to a PWM signal to dimming signal conversion circuit, and for controlling a working state of a relay circuit based on the zero-crossing signal; the PWM signal to dimming signal conversion circuit for converting the PWM signal into a 0-10V dimming signal to control LED lighting; the relay circuit for controlling the LED based on whether the relay works or not; the voltage generating circuit is connected to the zero-crossing signal generating circuit, the wireless module, the PWM signal to dimming signal conversion circuit and the relay circuit, the zero-crossing signal generating circuit is connected to the wireless module, and the wireless module is connected to the PWM signal to dimming signal conversion circuit and the relay circuit.
2. The LED controller circuit of claim 1, wherein, The zero-crossing signal generating circuit comprises an optocoupler U5 and an amplifier U4, a first end of the optocoupler U5 is connected to a live wire L through a resistor R12, a resistor R10 and a fuse F1 in sequence, a second end of the optocoupler U5 is connected to a neutral wire N through a resistor R14 and a resistor R11 in sequence, a third end of the optocoupler U5 is grounded, a fourth end of the optocoupler U5 is connected to one end of a resistor R13 and a non-inverting terminal of the amplifier U4, the other end of the resistor R13 is connected to a 3.3V voltage, an inverting terminal of the amplifier U4 is connected to one end of a resistor R22 and one end of a resistor R23, the other end of the resistor R22 is connected to the 3.3V voltage, the other end of the resistor R23 is grounded, and an output terminal of the amplifier U4 is connected to the wireless module.
3. The LED controller circuit of claim 1, wherein, The wireless module comprises a chip U3, the chip U3 is a Bluetooth module with a model number of CYW20735B1, a pin 14 of the chip U3 is connected to the zero-crossing signal generating module, one end of a resistor R18 and one end of a switch SW1 are connected to a pin 8 of the chip U3, the other end of the resistor R18 is connected to a 3.3V voltage, the other end of the switch SW1 is grounded, a pin 19 of the chip U3 is connected to the PWM signal to dimming signal conversion circuit, and a pin 16 of the chip U3 is connected to the relay circuit.
4. The LED controller circuit of claim 3, wherein, The PWM signal to dimming signal conversion circuit comprises an amplifier U6, a non-inverting terminal of the amplifier U6 is connected to one end of a resistor R16, one end of a resistor R17 and one end of a capacitor C11, the other end of the resistor R17 is grounded, the other end of the capacitor C11 is grounded, the other end of the resistor R16 is connected to one end of a resistor R15 and one end of a capacitor C12, the other end of the capacitor C12 is grounded, the other end of the resistor R15 is connected to the wireless module, an inverting terminal of the amplifier U6 is connected to one end of a resistor R24, one end of a resistor R21 and one end of a capacitor C14, the other end of the resistor R24 is grounded, the other end of the resistor R21 is connected to the other end of the capacitor C14, an output terminal of the amplifier U6, a negative electrode of a protection tube TVS1 and one end of a capacitor C13, a positive electrode of the protection tube TVS1 is grounded, and the other end of the capacitor C13 is grounded.
5. The LED controller circuit of claim 3, wherein, The relay circuit comprises a MOS tube Q1 and a relay K1, the G pole of the MOS tube Q1 is connected with the wireless module through a resistor R25, the S pole of the MOS tube Q1 is grounded, the D pole of the MOS tube Q1 is connected with one end of the relay K1 and the positive pole of a diode D4, the other end of the relay K1 is connected with the negative pole of the diode D4 and a 12V voltage.