CN113163550B - Dimming high-compatibility LED driving power supply and control method thereof - Google Patents

Dimming high-compatibility LED driving power supply and control method thereof Download PDF

Info

Publication number
CN113163550B
CN113163550B CN202110412541.5A CN202110412541A CN113163550B CN 113163550 B CN113163550 B CN 113163550B CN 202110412541 A CN202110412541 A CN 202110412541A CN 113163550 B CN113163550 B CN 113163550B
Authority
CN
China
Prior art keywords
circuit
voltage
signal
output
power supply
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110412541.5A
Other languages
Chinese (zh)
Other versions
CN113163550A (en
Inventor
杨建华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Hengyao Lighting Technology Co ltd
Original Assignee
Shenzhen Hengyao Lighting Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Hengyao Lighting Technology Co ltd filed Critical Shenzhen Hengyao Lighting Technology Co ltd
Priority to CN202110412541.5A priority Critical patent/CN113163550B/en
Publication of CN113163550A publication Critical patent/CN113163550A/en
Application granted granted Critical
Publication of CN113163550B publication Critical patent/CN113163550B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B45/00Circuit arrangements for operating light-emitting diodes [LED]
    • H05B45/30Driver circuits
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B45/00Circuit arrangements for operating light-emitting diodes [LED]
    • H05B45/10Controlling the intensity of the light
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B45/00Circuit arrangements for operating light-emitting diodes [LED]
    • H05B45/30Driver circuits
    • H05B45/32Pulse-control circuits
    • H05B45/325Pulse-width modulation [PWM]
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B45/00Circuit arrangements for operating light-emitting diodes [LED]
    • H05B45/30Driver circuits
    • H05B45/34Voltage stabilisation; Maintaining constant voltage
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B45/00Circuit arrangements for operating light-emitting diodes [LED]
    • H05B45/30Driver circuits
    • H05B45/36Circuits for reducing or suppressing harmonics, ripples or electromagnetic interferences [EMI]
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B45/00Circuit arrangements for operating light-emitting diodes [LED]
    • H05B45/30Driver circuits
    • H05B45/37Converter circuits

Landscapes

  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

The application relates to a dimming high-compatibility LED driving power supply and a control method thereof, wherein the dimming high-compatibility LED driving power supply comprises an input circuit, a control circuit and a control circuit, wherein the input circuit is connected with the output end of a silicon controlled rectifier dimmer and is used for inputting a first analog signal; the rectification circuit is connected with the input circuit and is used for receiving the first analog signal, executing rectification processing on the first analog signal and outputting a second analog signal; the conversion circuit is used for receiving the second analog signal, performing analog-to-digital conversion processing and outputting a sampling signal; the output circuit is connected with the mains supply and is used for supplying power to the LED lamp; and the trimming circuit is connected with the conversion circuit and the output circuit and is used for receiving the sampling signal and controlling the power supply of the output circuit according to the sampling signal. The LED dimming control circuit has the effect of reducing the interference phenomenon of the silicon controlled rectifier dimmer on the LED load so as to improve the stability of LED dimming.

Description

Dimming high-compatibility LED driving power supply and control method thereof
Technical Field
The application relates to the field of LED driving, in particular to a dimming high-compatibility LED driving power supply and a control method thereof.
Background
Silicon controlled dimming is actually divided into two types, one is Triac dimming, also called leading edge phase-cut dimming, and the other is reverse phase control dimming (i.e., trailing edge phase-cut dimming), also called ELV dimming. The working principle of the front-edge controllable dimming TRIAC dimming is that a tangential output voltage waveform is generated after the waveform of the input voltage is cut through a conduction angle. By applying the tangential principle, the effective value of the output voltage can be reduced, so that the power of a common load (resistance load) can be reduced.
In view of the above related art, the inventors believe that although the scr dimmer can adjust the LED brightness by controlling the phase, the input waveform is easy to generate a plurality of interference signals, such as spikes, after phase cutting, which results in unstable LED brightness and even causes the defects of extinction, damage, and the like of the LED.
Disclosure of Invention
In a first aspect, in order to reduce interference phenomenon of a silicon controlled rectifier dimmer on an LED load, improve stability of LED dimming, the application provides a dimming high-compatibility LED driving power supply.
The application provides a high compatible LED drive power supply adjusts luminance adopts following technical scheme:
a dimming high-compatibility LED driving power supply comprises a dimming high-compatibility LED driving power supply,
the input circuit is connected with the output end of the silicon controlled rectifier dimmer and is used for inputting a first analog signal, and the input end of the silicon controlled rectifier dimmer is connected with the mains supply;
the rectification circuit is connected with the input circuit and is used for receiving the first analog signal, executing rectification processing on the first analog signal and outputting a second analog signal;
the conversion circuit is connected with the rectification circuit and is used for receiving the second analog signal, performing analog-to-digital conversion processing and outputting a sampling signal;
the output circuit is connected with the mains supply and is used for supplying power to the LED lamp; and
and the trimming circuit is connected with the conversion circuit and the output circuit and is used for receiving the sampling signal and controlling the power supply of the output circuit according to the sampling signal.
By adopting the technical scheme, the input circuit is connected with the mains supply through the silicon controlled rectifier dimmer, the phase of the mains supply changes after passing through the silicon controlled rectifier dimmer, the brightness of the LED lamp can be controlled by controlling the conduction angle of the input waveform, and the input waveform is disturbed by the silicon controlled rectifier; therefore, the rectification circuit rectifies the first analog signal output by the silicon controlled rectifier to obtain a second analog signal, and the conversion circuit performs analog-to-digital conversion on the second analog signal to facilitate signal processing; the trimming circuit carries out PWM dimming on the LED load according to the sampling signal, namely the signal representing the input waveform regulated by the silicon controlled rectifier dimmer, and adjusts the switching frequency of the LED load, so that the interference of the silicon controlled rectifier dimmer on the input waveform is reduced while the brightness of the LED lamp is adjusted, and the running stability of the LED lamp is further improved.
Preferably, the conversion circuit includes a first switch element, an optocoupler, a first voltage dividing resistor and a second voltage dividing resistor, wherein a connection point of the first voltage dividing resistor and the second voltage dividing resistor is connected with a control electrode of the first switch element, one end of the first voltage dividing resistor is used for receiving a second analog signal, one end of the second voltage dividing resistor is grounded, an anode and a cathode of the optocoupler are connected in series with an input end and an input end of the first switch element in the same power-on circuit, and a collector and an emitter of the optocoupler are connected with the trimming circuit for outputting sampling signals.
By adopting the technical scheme, the isolation between the strong current side and the weak current side is realized through the optocoupler, and the first voltage dividing resistor and the second voltage dividing resistor form a voltage dividing circuit, and the first voltage dividing resistor rounds the potential of the output end of the circuit, namely the second analog signal, and the first switch piece is conducted in the positive half cycle of the input waveform so that the optocoupler emits light to conduct and outputs a sampling signal, thereby detecting the input waveform after passing through the thyristor dimmer and feeding back the input waveform.
Preferably, the first switch element comprises a reference voltage stabilizer, a control electrode of the reference voltage stabilizer is connected with a connection point of the first voltage dividing resistor and the second voltage dividing resistor, an input end and an output end of the reference voltage stabilizer are respectively connected with a cathode of the optocoupler, and an anode of the optocoupler is connected with the VCC end.
By adopting the technical scheme, when the voltage of the connection point of the first voltage dividing resistor and the second voltage dividing resistor is higher than the reference voltage of the reference voltage stabilizer, the optocoupler emits light to be conducted and outputs a sampling signal, so that the accuracy of waveform detection is improved.
Preferably, the conversion circuit further includes a second switch element, a control end of the second switch element is connected to the VCC end and a collector of the optocoupler, an emitter of the optocoupler is grounded, an output end of the second switch element is grounded, an input end of the second switch element is connected to the VCC end, and an input end of the second switch element is used for outputting a sampling signal.
By adopting the technical scheme, if the sampling signal is a low-level signal, the low-level signal corresponding to the positive half cycle of the input waveform is mixed with the low-level signal generated by the power failure phenomenon due to the phenomena of circuit failure, power failure and the like, and error reporting is easy to occur; when the light coupler emits light and is conducted, the emitter of the light coupler is grounded, and the sampling signal is converted into a high-level signal through the second switch piece, so that the confusion error phenomenon is reduced.
Preferably, the trimming circuit comprises a singlechip and a control circuit, wherein an input pin of the singlechip is used for receiving the sampling signal, an output pin of the singlechip is used for outputting the PWM signal, and the control circuit receives the PWM signal to control the output circuit.
Through adopting above-mentioned technical scheme, read and handle the sampling signal through the singlechip, convert the sampling signal that obtains the detection into the PWM signal that corresponds the LED luminance that the silicon controlled rectifier light modulator will be adjusted to this control LED load reaches the ideal luminance after being close to the silicon controlled rectifier light modulator and adjusts, reduces the influence of the interference signal such as spike that produces after directly switching in the silicon controlled rectifier light modulator to LED load luminance.
Preferably, the control circuit comprises a third switch piece and a grounding resistor, wherein the output end of the third switch piece is grounded through the grounding resistor, the input end of the third switch piece is connected with the cathode of the LED load, and the control end of the third switch piece is connected with the output pin of the singlechip and is used for receiving PWM signals.
By adopting the technical scheme, the higher the duty ratio of the PWM signal is, the higher the brightness of the LED load is, and the third switch piece adjusts the flicker frequency of the LED according to the PWM signal, so that the brightness of the LED is adjusted, and the effect of adjustable brightness is achieved.
Preferably, the control circuit further comprises an NPN triode and a PNP triode, wherein the collector of the NPN triode is connected with the VCC end, the emitter of the NPN triode is connected with the collector of the PNP triode, the connection point of the emitter of the NPN triode and the collector of the PNP triode is connected with the control end of the third switch piece, the emitter of the PNP triode is grounded, and the bases of the NPN triode and the PNP triode are connected with the output pin of the singlechip and used for receiving the PWM signal.
Through adopting above-mentioned technical scheme, NPN triode and PNP triode's switching characteristic is opposite, when the base of both is input PWM signal simultaneously, one of them opens, and the other is closed simultaneously to this accurate on and off state of adjusting third switch spare improves the precision of PWM dimming.
Preferably, the rectifying circuit comprises a rectifying bridge, and the converting circuit further comprises a voltage stabilizing diode, wherein two ends of the voltage stabilizing diode are respectively connected with an anode output end and a cathode output end of the rectifying bridge.
By adopting the technical scheme, the voltage-stabilizing diode reduces interference signals such as peaks generated in the input waveform after the adjustment of the silicon controlled rectifier dimmer, filters interference and improves the detection precision of the input waveform.
Preferably, the output circuit comprises a power factor correction module, and the power factor correction module is used for connecting the commercial power and the LED load.
By adopting the technical scheme, the power factor refers to the relation between the effective power and the total power consumption, the power factor correction can improve the input power, reduce the electric energy loss and improve the overall performance of the circuit.
In a second aspect, in order to reduce the interference phenomenon of the scr dimmer on the LED load and improve the stability of LED dimming, the present application provides a control method, and adopts the following technical scheme:
a control method, which applies the dimming high-compatibility LED driving power supply, comprises the following steps,
initializing GPIO DCTIM peripheral equipment;
all interrupts are started;
detecting whether the set time is reached;
if the set time is reached, reading an AD value;
acquiring the acquisition times, and detecting whether the acquisition times reach the set times;
if the set times are reached, taking the average value of the AD values;
detecting whether the voltage is smaller than a set voltage;
if the voltage value is smaller than the set voltage, storing the voltage value, and executing Kalman filtering processing after obtaining the equal voltage of the set times;
if the voltage is greater than or equal to the set voltage, performing Kalman filtering processing;
and acquiring a preset PWM signal, updating the PWM signal according to the Kalman filtering processing result, and outputting a new PWM signal.
Through adopting above-mentioned technical scheme, carry out rectification RC through the tangential waveform of silicon controlled rectifier dimmer input and filter the back through the resistance bleeder, later carry out RC filter again, carry out AD value sampling with signal input to the singlechip to carry out PWM output according to the tangential angle of silicon controlled rectifier dimmer, and PWM signal is used for the dimming of LED load, with this interference phenomenon that reduces the silicon controlled rectifier dimmer to the LED load, promote the stability that LED was adjusted luminance.
In summary, the present application includes at least one of the following beneficial technical effects:
1. the second analog signal is subjected to analog-to-digital conversion through the conversion circuit, so that signal processing is facilitated; the trimming circuit carries out PWM dimming on the LED load according to the sampling signal, namely the signal representing the input waveform regulated by the silicon controlled rectifier dimmer, and adjusts the switching frequency of the LED load, so that the interference of the silicon controlled rectifier dimmer on the input waveform is reduced while the brightness of the LED lamp is adjusted, and the running stability of the LED lamp is further improved;
2. the first switch piece is conducted in the positive half cycle of the input waveform to enable the optocoupler to emit light and conduct and output a sampling signal, so that the input waveform after passing through the silicon controlled rectifier dimmer is detected and feedback is made;
3. when the light coupler emits light and is conducted, the emitter of the light coupler is grounded, and the sampling signal is converted into a high-level signal through the second switch piece, so that the confusion error phenomenon is reduced.
Drawings
Fig. 1 is a schematic block diagram of a dimming high-compatibility LED driving power supply according to an embodiment of the present application.
Fig. 2 is a schematic circuit diagram of a dimming high-compatibility LED driving power supply according to an embodiment of the present application, and mainly shows a rectifying circuit.
Fig. 3 is a schematic circuit diagram of a dimming high-compatibility LED driving power supply according to an embodiment of the present application, and mainly shows a conversion circuit.
Fig. 4 is a schematic circuit diagram of a dimming high-compatibility LED driving power supply according to an embodiment of the present application, and mainly shows a single chip microcomputer.
Fig. 5 is a schematic circuit diagram of a dimming high-compatibility LED driving power supply according to an embodiment of the present application, and mainly shows a control circuit.
Fig. 6 is a schematic circuit diagram of a dimming high-compatibility LED driving power supply according to an embodiment of the present application, mainly showing a filtering portion of an output circuit.
Fig. 7 is a schematic circuit diagram of a dimming high-compatibility LED driving power supply according to an embodiment of the present application, mainly showing a power factor correction module.
Fig. 8 is a schematic circuit diagram of a dimming high-compatibility LED driving power supply according to an embodiment of the present application, and mainly shows a synchronous rectification module.
Fig. 9 is a method flowchart of a control method of an embodiment of the present application.
Reference numerals illustrate: 1. an input circuit; 2. a rectifying circuit; 3. a conversion circuit; 4. an output circuit; 41. a power factor correction module; 42. a synchronous rectification module; 5. a trimming circuit; 51. a control circuit; 52. and a singlechip.
Detailed Description
The present application is described in further detail below with reference to the accompanying drawings.
The embodiment of the application discloses a dimming high-compatibility LED driving power supply. Referring to fig. 1 and 2, the dimming high-compatibility LED driving power supply includes an input circuit 1, a rectifying circuit 2, a converting circuit 3, an output circuit 4 and a trimming circuit 5, the input circuit 1 is connected with a mains supply through a silicon controlled rectifier dimmer, the mains supply inputs a sine wave signal, the silicon controlled rectifier dimmer outputs a chopped wave signal after phase cutting, namely a first analog signal, and the phase cutting at the point can be leading edge phase cutting or trailing edge phase cutting. The rectifying circuit 2 is used for rectifying the chopped signals to generate second analog signals, the converting circuit 3 is used for collecting the second analog signals and performing analog-to-digital conversion to generate corresponding sampling signals, the trimming circuit 5 controls the output circuit 4 connected with the mains supply according to the sampling signals and performs PWM dimming on the LED load connected with the output circuit 4, so that the interference of the silicon controlled rectifier dimmer on the output circuit 4 is reduced, and the stability of LED driving is improved.
The rectifying circuit 2 includes a rectifying bridge, and an input end of the rectifying bridge is connected to an output end of the scr dimmer, in this embodiment, the rectifying bridge adopts a full-bridge rectifying manner, and is used for rectifying a chopping signal output by the scr dimmer, retaining a positive half-cycle portion of the chopping signal, and converting a partial equivalent of a negative half-cycle portion into a positive half-cycle portion, so that the converting circuit is convenient for detecting an input waveform.
The conversion circuit 3 includes a first resistor R168 and a second resistor R170, where the first resistor R168 and the second resistor R170 are connected in series, one end of the first resistor R168 and one end of the second resistor R170 are respectively connected with the positive output end and the negative output end of the rectifier bridge, and the second resistor R170 is connected with a filter capacitor C131 in parallel, and the filter capacitor C131 is used to reduce interference signals such as spikes and improve the stability of the second analog signal.
Referring to fig. 1 and 3, the conversion circuit 3 further includes a first switching element U13, a second switching element Q12, an optocoupler UB2, a first voltage dividing resistor RQ3, and a second voltage dividing resistor RQ2, where the first switching element U13 adopts a reference voltage stabilizer, and the second switching element Q12 adopts an NMOS tube. The connection point of the first voltage dividing resistor RQ3 and the second voltage dividing resistor RQ2 is connected with the control electrode of the first switch element U13, and one end of the first voltage dividing resistor RQ3 is connected with the positive electrode output end of the rectifier bridge and is used for receiving the second analog signal.
One end of the second voltage dividing resistor RQ2 is grounded, the anode of the optocoupler UB2 is connected with the VCC end, the cathode of the second voltage dividing resistor RQ is connected with the output end of the first switch element U13, and the input end of the first switch element U13 is grounded. The emitter of the optocoupler UB2 is grounded, the collector thereof is connected to the gate and VCC terminal of the second switching element Q12, the source of the second switching element Q12 is grounded, and the drain thereof is connected to the VCC terminal and the trimming circuit 5, respectively, for inputting the sampling signal to the trimming circuit 5.
Referring to fig. 1 and 4, the trimming circuit 5 includes a single-chip microcomputer 52 and a control circuit 51, an input pin AD19 of the single-chip microcomputer 52 is used for receiving the sampling signal, and an output pin of the single-chip microcomputer 52 is used for outputting the control signal. And the output pin of the singlechip 52 is connected with a fourth switch element Q16, the fourth switch element Q16 adopts an NMOS tube, the gate of the fourth switch element Q16 is used for receiving a control signal, the source thereof is grounded, the drain thereof is used for outputting a PWM signal, and the control circuit 51 is used for receiving the PWM signal to control the output circuit 4.
Referring to fig. 1 and 5, the control circuit 51 includes an NPN triode Q6, a PNP triode Q5, a third switching element Q6A, and a grounding resistor R86, where the third switching element Q6A is an NMOS tube, an output end, i.e., a source electrode, of the third switching element Q6A is grounded through the grounding resistor R86, an input end, i.e., a drain electrode, of the third switching element Q6A is connected to a cathode of the LED load, a control end, i.e., a gate electrode, of the third switching element Q6 is connected to an emitter electrode of the NPN triode Q6 and a collector electrode of the PNP triode Q5, a collector electrode of the NPN triode Q6 is connected to a VCC end, an emitter electrode of the PNP triode Q5 is grounded, and base electrodes of the NPN triode Q6 and the PNP triode Q5 are all connected to an output pin of the single chip microcomputer 52, for receiving PWM signals.
Referring to fig. 1, 6 and 7, the output circuit 4 includes a power factor correction module 41 and a synchronous rectification circuit 2, where the power factor correction module 41 may adopt a PFC and HB combined controller of ICL5102 type, and is used for connecting to a mains supply to perform power factor correction on an input sine wave signal, thereby improving the power factor of the output circuit 4, reducing the influence of phase offset on the power factor by matching with an inductive load, and reducing the electric energy loss. The filtering processing part is shown in fig. 6, and the PFC part is shown in fig. 7.
Referring to fig. 1 and 8, the synchronous rectification circuit 2 includes a MPS6924 type controller, where the MPS6924 controller is a dual-path fast-turn-off intelligent rectifier for synchronous rectification of the LLC resonant converter, the NMOS transistor QA1 and the NMOS transistor QA2 are used to control the output voltage to the LED load, the NMOS transistor QA1 and the NMOS transistor QA2 are interlocked in switching state, one is turned on, the other is turned off, and at the same time, the gate voltages of the two are kept synchronous with the phase of the output voltage, so that the loss of the whole circuit is reduced, and the stability of the current is improved.
Referring to fig. 4 and 9, the present embodiment also discloses a control method, which applies the dimming high-compatibility LED driving power supply, comprising the following steps,
step S100: initializing GPIO DCTIM peripheral equipment; all interrupts are started; and detecting whether the set time is reached.
Specifically, the set time may be 200us, and 200us is determined to obtain the ADC parameter value, so that the ADC reading time interval is 200us, the error value when the single chip microcomputer 52 reads the AD value is reduced, and the stability is increased.
Step S200: if the set time is reached, the AD value is read.
Specifically, the tangential waveform input by the scr dimmer is filtered and divided and then filtered, and then input into the singlechip 52 as a sampling signal, and the sampling signal is sampled by an AD value, so that the tangential angle of the scr dimmer is obtained and is used for adjusting the final PWM output.
Step S300: acquiring the acquisition times, and detecting whether the acquisition times reach the set times;
if the set times are reached, taking the average value of the AD values;
specifically, the setting times can be 100 times, because the AD value is sampled every 200us, the time for sampling 100 times is 20 milliseconds, which is just one period of 50Hz of the mains supply, each sampling is ensured to be one period, the sampling precision is improved, and the sampling linearity is increased by taking an average value.
Step S400: detecting whether the voltage is smaller than a set voltage;
if the voltage value is smaller than the set voltage, storing the voltage value, and executing Kalman filtering processing after obtaining the equal voltage of the set times;
and if the voltage is greater than or equal to the set voltage, performing Kalman filtering processing.
Specifically, the set voltage can be 0.2V, when the sampling voltage is less than 0.2V, the phase-cut degree of the dimmer is small, interference signals are easy to generate, in order to eliminate the interference signals and increase the dimming stability, through experimental tests, the best effect can be achieved by outputting signals when the voltage is equal to six times continuously, and therefore the set times are 6 times. The Kalman filtering is an algorithm for optimally estimating the system state by utilizing a linear system state equation and inputting and outputting observation data through the system, and is similar to a filtering signal processing method, so that signal interference can be reduced, and control accuracy is improved.
Step S500: and acquiring a preset PWM signal, updating the PWM signal according to the Kalman filtering processing result, and outputting a new PWM signal.
Specifically, the new PWM signal is a control signal, the preset PWM signal refers to a signal obtained according to a quantization relationship corresponding to an adjustment gradient of the scr dimmer according to an LED dimming brightness standard, signal interference can be reduced after the PWM signal is updated, the adjustment gradient of the scr dimmer can be accurately reflected, and the LED load is accurately controlled by the updated PWM signal, so that the control precision is improved.
The implementation principle of the dimming high-compatibility LED driving power supply provided by the embodiment of the application is as follows: the sine wave signal accessed by the mains supply is converted into a first analog signal after passing through a silicon controlled rectifier dimmer, the first analog signal is converted into a second analog signal after being rectified by a rectifier bridge, and then interference signals such as peaks are filtered through a filter capacitor C131. The reference voltage stabilizer U13 receives the second analog signal, and is turned on when the voltage value of the second analog signal reaches the reference voltage, so that the cathode of the optocoupler UB2 is grounded to emit light and turned on, and the optocoupler UB2 plays a role in strong electric isolation.
When the collector and the emitter of the optocoupler UB2 are conducted, the grid electrode of the second switching element Q12 is grounded, the second switching element Q12 is turned off at the moment according to the characteristics of an NMOS tube, an input pin AD19 of the singlechip is connected with a high-level signal, namely a sampling signal, after signal processing, an output pin of the singlechip outputs a control signal, the control signal controls the fourth switching element Q16 to be conducted, PWM signals are output and used for controlling the NPN triode Q6 to be conducted or turned off with the PNP triode Q5, and accordingly the third switching element Q6A is controlled to be conducted or turned off, the LED load is further controlled to be conducted or turned off, PWM dimming is achieved, and the brightness of the LED load is conveniently adjusted.
According to the method, the chopping signals after passing through the silicon controlled rectifier dimmer are collected firstly, then the chopping signals are rectified and filtered and then used as a signal source for PWM dimming, so that signal interference caused by direct dimming of the silicon controlled rectifier dimmer is reduced, LED loads are controlled according to the phase and pulse width of the collected input waveform, dimming precision is improved, meanwhile, the front edge phase-cut dimming mode and the rear edge phase-cut dimming mode are compatible, and compatibility is improved.
The foregoing are all preferred embodiments of the present application, and are not intended to limit the scope of the present application in any way, therefore: all equivalent changes in structure, shape and principle of this application should be covered in the protection scope of this application.

Claims (4)

1. The utility model provides a high compatible LED drive power supply adjusts luminance which characterized in that: comprising the steps of (a) a step of,
the input circuit (1) is connected with the output end of the silicon controlled rectifier dimmer and is used for inputting a first analog signal, and the input end of the silicon controlled rectifier dimmer is connected with the mains supply;
the rectification circuit (2) is connected with the input circuit (1) and is used for receiving the first analog signal, performing rectification processing on the first analog signal and outputting a second analog signal;
the conversion circuit (3) is connected with the rectification circuit (2) and is used for receiving the second analog signal, performing analog-to-digital conversion processing and outputting a sampling signal;
the output circuit (4) is connected with the mains supply and is used for supplying power to the LED lamp; and
the trimming circuit (5) is connected with the conversion circuit (3) and the output circuit (4) and is used for receiving the sampling signal and controlling the power supply of the output circuit (4) according to the sampling signal;
the conversion circuit (3) comprises a first switch piece, an optocoupler, a first voltage dividing resistor and a second voltage dividing resistor, wherein the connection point of the first voltage dividing resistor and the second voltage dividing resistor is connected with the control electrode of the first switch piece, one end of the first voltage dividing resistor is used for receiving a second analog signal, one end of the second voltage dividing resistor is grounded, the anode and the cathode of the optocoupler are connected in series with the input end and the input end of the first switch piece in the same power-on circuit, and the collector and the emitter of the optocoupler are connected with the trimming circuit (5) and are used for outputting sampling signals;
the first switch piece comprises a reference voltage stabilizer, a control electrode of the reference voltage stabilizer is connected with a connection point of the first voltage dividing resistor and the second voltage dividing resistor, an input end and an output end of the reference voltage stabilizer are respectively connected with a cathode of the optocoupler, and an anode of the optocoupler is connected with a VCC end;
the conversion circuit (3) further comprises a second switch element, wherein the control end of the second switch element is respectively connected with the VCC end and the collector electrode of the optical coupler, the emitter electrode of the optical coupler is grounded, the output end of the second switch element is grounded, the input end of the second switch element is connected with the VCC end, and the input end of the second switch element is used for outputting sampling signals;
the trimming circuit (5) comprises a singlechip (52) and a control circuit (51), wherein an input pin of the singlechip (52) is used for receiving sampling signals, an output pin of the singlechip (52) is used for outputting PWM signals, and the control circuit (51) receives the PWM signals to control the output circuit (4);
the control circuit (51) comprises a third switch piece and a grounding resistor, wherein the output end of the third switch piece is grounded through the grounding resistor, the input end of the third switch piece is connected with the cathode of the LED load, and the control end of the third switch piece is connected with the output pin of the singlechip (52) and is used for receiving PWM signals;
the control circuit (51) further comprises an NPN triode and a PNP triode, wherein the collector electrode of the NPN triode is connected with the VCC end, the emitter electrode of the NPN triode is connected with the collector electrode of the PNP triode, the connection point of the emitter electrode of the NPN triode and the collector electrode of the PNP triode is connected with the control end of the third switch piece, the emitter electrode of the PNP triode is grounded, and the bases of the NPN triode and the PNP triode are connected with the output pin of the singlechip (52) and are used for receiving PWM signals.
2. The dimming high-compatibility LED driving power supply of claim 1, wherein: the rectification circuit (2) comprises a rectification bridge, the conversion circuit (3) further comprises a filter capacitor, and two ends of the filter capacitor are respectively connected with an anode output end and a cathode output end of the rectification bridge.
3. The dimming high-compatibility LED driving power supply of claim 1, wherein: the output circuit (4) comprises a power factor correction module, and the power factor correction module is used for connecting commercial power and an LED load.
4. A control method, which is realized by using the dimming high-compatibility LED driving power supply of any one of claims 1-3, and is characterized by comprising the following steps,
initializing GPIO DCTIM peripheral equipment;
all interrupts are started;
detecting whether the set time is reached;
if the set time is reached, reading an AD value;
acquiring the acquisition times, and detecting whether the acquisition times reach the set times;
if the set times are reached, taking the average value of the AD values;
detecting whether the voltage is smaller than a set voltage;
if the voltage value is smaller than the set voltage, storing the voltage value, and executing Kalman filtering processing after obtaining the equal voltage of the set times;
if the voltage is greater than or equal to the set voltage, performing Kalman filtering processing;
and acquiring a preset PWM signal, updating the PWM signal according to the Kalman filtering processing result, and outputting a new PWM signal.
CN202110412541.5A 2021-04-16 2021-04-16 Dimming high-compatibility LED driving power supply and control method thereof Active CN113163550B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110412541.5A CN113163550B (en) 2021-04-16 2021-04-16 Dimming high-compatibility LED driving power supply and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110412541.5A CN113163550B (en) 2021-04-16 2021-04-16 Dimming high-compatibility LED driving power supply and control method thereof

Publications (2)

Publication Number Publication Date
CN113163550A CN113163550A (en) 2021-07-23
CN113163550B true CN113163550B (en) 2023-05-02

Family

ID=76868402

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110412541.5A Active CN113163550B (en) 2021-04-16 2021-04-16 Dimming high-compatibility LED driving power supply and control method thereof

Country Status (1)

Country Link
CN (1) CN113163550B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114222402A (en) * 2021-12-06 2022-03-22 深圳市星之佑科技有限公司 Trinity dimmer circuit

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103139992A (en) * 2013-02-26 2013-06-05 上海大学 Light-emitting diode (LED) dimming driving system with silicon controlled bypass dimming circuit
JP2014130699A (en) * 2012-12-28 2014-07-10 Panasonic Corp Light-emitting element lighting device and luminaire
CN205912305U (en) * 2016-07-11 2017-01-25 珠海雷特科技股份有限公司 Compatible multistage of silicon controlled rectifier LED intelligence power of adjusting luminance

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103096586A (en) * 2012-12-29 2013-05-08 广东卓耐普智能技术股份有限公司 Light-dimmer driving circuit
CN204886148U (en) * 2014-12-26 2015-12-16 东莞市兴开泰电子科技有限公司 Light current switch
CN110831275B (en) * 2019-09-11 2021-08-10 上海欧切斯智能科技有限公司 LED drive circuit
CN211297065U (en) * 2019-12-11 2020-08-18 旭源电子(珠海)有限公司 PWM isolation dimming driving power circuit with NFC function

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014130699A (en) * 2012-12-28 2014-07-10 Panasonic Corp Light-emitting element lighting device and luminaire
CN103139992A (en) * 2013-02-26 2013-06-05 上海大学 Light-emitting diode (LED) dimming driving system with silicon controlled bypass dimming circuit
CN205912305U (en) * 2016-07-11 2017-01-25 珠海雷特科技股份有限公司 Compatible multistage of silicon controlled rectifier LED intelligence power of adjusting luminance

Also Published As

Publication number Publication date
CN113163550A (en) 2021-07-23

Similar Documents

Publication Publication Date Title
CN202353859U (en) Controllable silicon light regulation device and illuminating system
US10638562B2 (en) Power converter, LED driver and control method
CN103648202B (en) Active power factor correction control circuit, chip and LED (Light Emitting Diode) drive circuit
CN103503563A (en) Dimmable LED driver and method for controlling same
CN201557292U (en) High efficiency constant current LED driver
CN101668369A (en) High-efficiency constant-current LED driver
CN201813599U (en) LED (Light-Emitting Diode) dimmer power
CN102014557A (en) LED dimming power supply
CN113163550B (en) Dimming high-compatibility LED driving power supply and control method thereof
CN105934043A (en) Lamp control system
CN103582257A (en) LED driving device and method
CN103841714B (en) LED dimming driving circuit
CN104363679A (en) Dynamic voltage control-based single-stage PFC (power factor correction) flyback LED driving source
CN209182431U (en) A kind of insulating tool pressure tester
TWI448191B (en) Feedback control to reduce power consumption light-emitting diode driving device
CN218630128U (en) Zero-crossing detection circuit
CN203072213U (en) A phase detecting circuit suitable for a single-stage flyback Leading edge and trailing edge phase-cut light adjusting power supply
CN112398384B (en) Control device for direct current motor
CN105792436B (en) The controller and Switching Power Supply of Switching Power Supply
CN209497640U (en) For solving the circuit of light modulation minimum angles stroboscopic
CN113162442A (en) Synchronous rectification control circuit based on current detection
CN203072212U (en) A LED light-adjusting power supply
CN202455604U (en) Phase angle detection circuit, load driver and light source adjuster
CN112074049B (en) High-power LED structure
CN220874421U (en) Active power factor correction circuit and switching power supply

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant