Summary of the invention
In order to solve the problems of the technologies described above, the object of this invention is to provide full-color LED lamp circuit a kind of with constant current control and safe isolation features, efficient, that facilitate light modulation toning.
In order to solve the problems of the technologies described above, another object of the present invention is to provide a kind of efficient, full-color LED lamp light-dimming method of facilitating light modulation toning.
The technical solution adopted in the present invention is:
A kind of safety isolation full-color LED lamp circuit, it comprises interconnected constant current driving unit and light modulation toning unit, described constant current driving unit comprises rectification filtering module, PWM controller, transformer, constant-current controller and optocoupler, described rectification filtering module is used to PWM controller that power-on signal is provided and provides power supply signal for voltage device, described transformer is used to PWM controller that normal working power signal is provided, for constant-current controller provides power supply signal and voltage loop detection signal, for light modulation toning unit provides power supply signal, the input power signal of the power supply signal that described PWM controller receives for basis and feedback signal output control signal control transformer, described constant-current controller is for according to voltage loop detection signal with from the current loop detection signal of light modulation toning unit, output feedback signal is to optocoupler, described optocoupler feeds back signal to PWM controller for transmission, LED lamp group, colour temperature by-pass cock device and brightness regulating switch device that described light modulation toning unit comprises, described LED lamp group comprises the LED lamp of two or more colors, described colour temperature by-pass cock device is controlled the switching time of each LED lamp or lamp group by the variation of switching frequency, thereby regulate whole LED lamp group colour temperature or color, described brightness regulating switch device is by the switching time of the variation control LED lamp group of switching frequency, thus the brightness of adjusting LED lamp group.
As a kind of preferred embodiment of the present invention, the output of described rectification filtering module is connected with the first input end of PWM controller and the input of transformer respectively, is used to PWM controller that power-on signal is provided and provides power supply signal for voltage device; The first output of described transformer is connected with the first input end of PWM controller, the 3rd output of described transformer is connected with the first input end of constant-current controller, be used to PWM controller that normal working power signal is provided and for constant-current controller provides power supply signal, the second output output voltage of described transformer after the 7th resistance and the 8th electric resistance partial pressure for the second input of constant-current controller provides voltage loop detection signal; The output of described constant-current controller is connected with the input of optocoupler, and the output of described optocoupler is connected with the second input of PWM controller, for the feedback signal of constant-current controller output is transferred to PWM controller; The output of described PWM controller is connected with the first input end of transformer by the first derailing switch, for according to the input voltage of feedback signal control transformer; Described LED lamp group, colour temperature by-pass cock device and brightness regulating switch device are connected successively, the input of described LED lamp group is connected with the second output of transformer, described brightness regulating switch device is connected with the 3rd input of constant-current controller, for current loop detection signal is provided.
Preferably, described LED lamp group comprises high color temperature LED lamp group and low colour temperature LED lamp group, described colour temperature by-pass cock device comprises high color temperature by-pass cock device and low colour temperature by-pass cock device, described high color temperature LED lamp group and low colour temperature LED lamp group are connected to brightness regulating switch device by high color temperature by-pass cock device and low colour temperature by-pass cock device respectively, and the other end of described high color temperature LED lamp group and low colour temperature LED lamp group is all connected to the output of transformer.
Preferably, described the first derailing switch is the first metal-oxide-semiconductor, the source electrode of described the first metal-oxide-semiconductor is connected with the 3rd input of PWM controller by the 4th resistance and by the 5th grounding through resistance, drain electrode is connected to the input of transformer, and grid is connected to the output of PWM controller; Described high color temperature derailing switch is the second metal-oxide-semiconductor, and the source electrode of described the second metal-oxide-semiconductor is connected with the negative pole of high color temperature LED lamp group, and grid is connected with high color temperature pwm signal end; Described low colour temperature derailing switch is the 3rd metal-oxide-semiconductor, and the source electrode of described the 3rd metal-oxide-semiconductor is connected with the negative pole of low colour temperature LED lamp group, and grid is connected with low colour temperature pwm signal end; Described luminance switch device is the 4th metal-oxide-semiconductor, the source electrode of described the 4th metal-oxide-semiconductor be connected with the drain electrode of the second metal-oxide-semiconductor and the 3rd metal-oxide-semiconductor respectively, grid is connected with brightness pwm signal end, the negative pole that drain electrode is connected to LED lamp group connects, grid is connected with high color temperature pwm signal end, and source electrode is connected to the 3rd input of constant-current controller and is passed through the tenth grounding through resistance by the 9th resistance.
Preferably, described PWM controller is PWM control integration chip, the first input end of described PWM controller is chip power supply supply pin, the second input of described PWM controller is feed back input pin, the 3rd input of described PWM is current detecting pin, and the output output signal of described PWM controller is subject to the control of the second input input signal and the 3rd input input signal.
Further, the overheat protector pin of described PWM control integration chip is by the second grounding through resistance, and described chip power supply supply pin is by the 3rd grounding through resistance, and the first output of described transformer is the power supply of chip power supply supply pin by the first diode.
Preferably, described transformer is multi winding transformer, described multi winding transformer comprises armature winding and multiple secondary winding, the input of described transformer is the input of armature winding, the first output of described transformer is the output of the first secondary winding, the second output of described transformer is the output of second subprime winding, the 3rd output of described transformer be for the third time level winding output.
Preferably, described rectification filtering module comprises live wire input, zero line input and rectifier bridge stack, described live wire input is connected to the first input end of rectifier bridge stack by fuse, described zero line input is connected to the second input of rectifier bridge stack, between described live wire input and zero line input, be connected with the first electric capacity, between the cathode output end of described rectifier bridge stack and cathode output end, be connected with the second electric capacity, the cathode output end of described rectifier bridge stack is connected to the input of transformer and is connected to the first input end of PWM controller by the first resistance, the cathode output end ground connection of described rectifier bridge stack.
Preferably, described constant-current controller is constant current control integration chip, the first input end of described constant-current controller is chip power supply pin, the second input of described constant-current controller is voltage control loop input pin, the 3rd input of described constant-current controller is current controlled circuit input pin, and the output of described constant-current controller is chip output pin.
Further, between the first output of described transformer and the first input end of PWM controller, forward is serially connected with the first diode, between the input of the second output of described transformer and light modulation toning unit, forward is serially connected with the second diode, and between the 3rd output of described transformer and the first input end of constant-current controller, forward is serially connected with the 3rd diode.
A light-dimming method for full-color LED lamp, it comprises step: S1, utilizes colour temperature by-pass cock device to control the switching time of each LED lamp or lamp group by the variation of switching frequency, thereby regulates whole LED lamp group colour temperature or color; S2, utilizes brightness regulating switch device by the switching time of the variation control LED lamp group of switching frequency, thereby regulates the brightness of LED lamp group.
Preferably, described colour temperature by-pass cock device and brightness regulating switch device are metal-oxide-semiconductor, and the switching frequency of described metal-oxide-semiconductor is by pwm signal control.
The invention has the beneficial effects as follows:
A kind of safety isolation of the present invention full-color LED lamp circuit is by the ingehious design of constant-current control circuit and buffer circuit, make LED lamp drive circuit realize good constant current control and safe isolation features, and by the toning of LED cleverly dimmer circuit design, realized LED lamp efficiently, the toning of light modulation easily.
In addition, the present invention is by a protective circuit safety that takes a policy at rectification filtering module; By adding diode to make related circuit signal one-way transmission at each output of transformer; Each derailing switch uses metal-oxide-semiconductor to have and is swift in response, safe and reliable and advantage cheaply.
Another beneficial effect of the present invention is:
The light-dimming method of a kind of full-color LED lamp of the present invention is by regulating the switching time of each derailing switch, thereby realization regulates colour temperature, color and the brightness of LED lamp group, and light modulation toning is efficient, convenient, and simple in structure, has good economic and social benefit.
In addition, each derailing switch uses metal-oxide-semiconductor to have to be swift in response, safe and reliable and advantage cheaply.
The present invention can be widely used in various LED circuit for lamp.
Embodiment
It should be noted that, in the situation that not conflicting, the feature in embodiment and embodiment in the application can combine mutually.
A kind of safety isolation full-color LED lamp circuit, it comprises interconnected constant current driving unit 10 and light modulation toning unit 20, described constant current driving unit 10 comprises rectification filtering module, PWM controller U1, transformer T1, constant-current controller U2 and optocoupler U3, described rectification filtering module is used to PWM controller U1 that power-on signal is provided and provides power supply signal for voltage device, described transformer T1 is used to PWM controller U1 that normal working power signal is provided, for constant-current controller U2 provides power supply signal and voltage loop detection signal, for light modulation toning unit 20 provides power supply signal, the input power signal of the power supply signal that described PWM controller U1 receives for basis and feedback signal output control signal control transformer T1, described constant-current controller U2 is for according to voltage loop detection signal with from the current loop detection signal of light modulation toning unit 20, output feedback signal is to optocoupler U3, described optocoupler U3 feeds back signal to PWM controller U1 for transmission, LED lamp group, colour temperature by-pass cock device and brightness regulating switch device that described light modulation toning unit 20 comprises, described LED lamp group comprises the LED lamp of two or more colors, described colour temperature by-pass cock device is controlled the switching time of each LED lamp or lamp group by the variation of switching frequency, thereby regulate whole LED lamp group colour temperature or color, described brightness regulating switch device is by the switching time of the variation control LED lamp group of switching frequency, thus the brightness of adjusting LED lamp group.
As shown in Figure 1, as a kind of preferred embodiment of the present invention, the output of described rectification filtering module is connected with the first input end of PWM controller U1 and the input of transformer T1 respectively, is used to PWM controller U1 that power-on signal is provided and provides power supply signal for voltage device; The first output of described transformer T1 is connected with the first input end of PWM controller U1, the 3rd output of described transformer T1 is connected with the first input end of constant-current controller U2, be used to PWM controller U1 that normal working power signal is provided and for constant-current controller U2 provides power supply signal, the second output output voltage of described transformer T1 after the 7th resistance R 7 and the 8th resistance R 8 dividing potential drops for the second input of constant-current controller U2 provides voltage loop detection signal; The output of described constant-current controller U2 is connected with the input of optocoupler U3, and the output of described optocoupler U3 is connected with the second input of PWM controller U1, for the feedback signal of constant-current controller U2 output is transferred to PWM controller U1; The output of described PWM controller U1 is connected with the first input end of transformer T1 by the first derailing switch Q1, for according to the input voltage of feedback signal control transformer T1; Described LED lamp group, colour temperature by-pass cock device and brightness regulating switch device are connected successively, the input of described LED lamp group is connected with the second output of transformer T1, described brightness regulating switch device is connected with the 3rd input of constant-current controller U2, for current loop detection signal is provided.
Preferably, described LED lamp group comprises high color temperature LED lamp group and low colour temperature LED lamp group, described colour temperature by-pass cock device comprises high color temperature by-pass cock device and low colour temperature by-pass cock device, described high color temperature LED lamp group and low colour temperature LED lamp group are connected to brightness regulating switch device by high color temperature by-pass cock device and low colour temperature by-pass cock device respectively, and the other end of described high color temperature LED lamp group and low colour temperature LED lamp group is all connected to the output of transformer T1.
Preferably, described the first derailing switch Q1 is the first metal-oxide-semiconductor, the source electrode of described the first metal-oxide-semiconductor is connected with the 3rd input of PWM controller U1 by the 4th resistance R 4 and by the 5th resistance R 5 ground connection, drain electrode is connected to the input of transformer T1, and grid is connected to the output of PWM controller U1; Described high color temperature derailing switch is the second metal-oxide-semiconductor, and the source electrode of described the second metal-oxide-semiconductor is connected with the negative pole of high color temperature LED lamp group, and grid is connected with high color temperature pwm signal end PWM_W; Described low colour temperature derailing switch is the 3rd metal-oxide-semiconductor, and the source electrode of described the 3rd metal-oxide-semiconductor is connected with the negative pole of low colour temperature LED lamp group, and grid is connected with low colour temperature pwm signal end PWM_N; Described luminance switch device is the 4th metal-oxide-semiconductor, the source electrode of described the 4th metal-oxide-semiconductor be connected with the drain electrode of the second metal-oxide-semiconductor and the 3rd metal-oxide-semiconductor respectively, grid is connected with brightness pwm signal end PWM_L, the negative pole that drain electrode is connected to LED lamp group connects, grid is connected with high color temperature pwm signal end PWM_W, and source electrode is connected to the 3rd input of constant-current controller U2 and is passed through the tenth resistance R 10 ground connection by the 9th resistance R 9.
In this embodiment, high color temperature LED lamp group comprises multiple high color temperature LED lamps such as the LED1~LEDX of series connection successively, low colour temperature LED lamp group comprises multiple low colour temperature LED lamps such as the LED2~LEDY of series connection successively, just framework in parallel after the first series connection separately of colour temperature LED lamp group.Control second switch device Q2 length switching time by high color temperature pwm signal end PWM_W, control length switching time of high color temperature LED lamp group, realize the brightness variation of controlling high color temperature LED lamp group; Control the 3rd derailing switch Q3 length switching time by low colour temperature pwm signal end PWM_N, control length switching time of low colour temperature LED lamp group, realize the brightness variation of controlling low colour temperature LED lamp group.Therefore, can realize colour temperature or adjustment of color.Control the Push And Release of the 4th derailing switch Q4 by brightness pwm signal end PWM_L, regulate the brightness of whole LED lamp group by the length that changes service time, thereby realize the brightness regulation of whole LED lamp group.
Preferably, described PWM controller U1 is PWM control integration chip (as CR6855 chip), the first input end of described PWM controller U1 is chip power supply supply pin, the second input of described PWM controller U1 is feed back input pin, the 3rd input of described PWM is current detecting pin, and the output output signal of described PWM controller U1 is subject to the control of the second input input signal and the 3rd input input signal.
Further, the overheat protector pin of described PWM control integration chip is by the second resistance R 2 ground connection, and described chip power supply supply pin is by the 3rd resistance R 3 ground connection, and the first output of described transformer T1 is the power supply of chip power supply supply pin by the first diode D1.
Preferably, described transformer T1 is multi winding transformer T1, described multi winding transformer T1 comprises armature winding and multiple secondary winding, the input of described transformer T1 is the input of armature winding, the first output of described transformer T1 is the output of the first secondary winding, the second output of described transformer T1 is the output of second subprime winding, the 3rd output of described transformer T1 be for the third time level winding output.
Preferably, described rectification filtering module comprises live wire input L, zero line input N and rectifier bridge stack U4, described live wire input L is connected to the first input end of rectifier bridge stack U4 by fuse FS1, described zero line input N is connected to the second input of rectifier bridge stack U4.Wherein fuse FS1 occurs when abnormal, can move in time and playing protective action at circuit.The first input end of rectifier bridge stack U4 and the second input are alternating current input, are that AC wave shape is rectified into DC waveform.Between described live wire input L and zero line input N, being connected with the first capacitor C 1, the first capacitor C 1 device can filtering electrical network clutter.Between the cathode output end of described rectifier bridge stack U4 and cathode output end, be connected with the second capacitor C 2, the second capacitor C 2 and use electrochemical capacitor, can be by level and smooth the voltage after rectification.The cathode output end of described rectifier bridge stack U4 is connected to the input of transformer T1 and is connected to the first input end of PWM controller U1, the cathode output end ground connection of described rectifier bridge stack U4 by the first resistance R 1.Described the first resistance R 1 is selected the resistance that resistance is larger, when making circuit start the electric current of rectification filtering module output can by and enter the first input end of PWM controller U1, when the normal work of circuit electric current not by or only have very little electric current to pass through.
Preferably, described constant-current controller U2 is constant current control integration chip (as AP4313 chip), the first input end of described constant-current controller U2 is chip power supply pin, the second input of described constant-current controller U2 is voltage control loop input pin, the 3rd input of described constant-current controller U2 is current controlled circuit input pin, and the output of described constant-current controller U2 is chip output pin.
Further, between the first input end of the first output of described transformer T1 and PWM controller U1, forward is serially connected with the first diode D1, between the input of the second output of described transformer T1 and light modulation toning unit 20, forward is serially connected with the second diode D2, and between the 3rd output of described transformer T1 and the first input end of constant-current controller U2, forward is serially connected with the 3rd diode D3.Wherein, each diode forward conducting, oppositely cut-off, can play and prevent that reverse voltage from impacting, the effect of protective circuit.
In addition, the overheat protector pin of PWM control integration chip is by the second resistance R 2 ground connection, and chip power supply supply pin is by the 3rd resistance R 3 ground connection; The first pin of described optocoupler U3 connects power supply by the 6th resistance R 6, the second pin is by connecting the output pin receiving feedback signals of constant current control integration chip, the feed back input human hair combing waste that the 3rd pin connects PWM control integration chip send feedback signal and passes through the 6th capacity earth, the 4th pin ground connection; The grid of described the second metal-oxide-semiconductor is connected to high color temperature pwm signal end PWM_W by the 11 resistance, and described the 3rd metal-oxide-semiconductor is connected to low colour temperature pwm signal end PWM_N by the 12 resistance, and the 11 resistance and the 12 resistance play metering function; The second output of described transformer T1 is by the 3rd capacitor C 3 ground connection, and the 3rd output of described transformer T1 is through the 4th capacitor C 4 ground connection, and described the 3rd capacitor C 3 and the 4th capacitor C 4 strobe; The chip power supply pin of constant current control integration chip connects power supply.
A kind of operation principle of safety isolation full-color LED lamp circuit is:
In constant current driving unit 10, in the time of circuit start, due to the first not conducting of metal-oxide-semiconductor, the voltage of rectification filtering module output is PWM controller U1 power supply by the first resistance R 1, PWM controller U1 output signal control the first metal-oxide-semiconductor conducting, thereby the voltage-drop loading of rectification filtering module output is to transformer T1 input, make the each secondary winding of transformer T1 produce coupled voltages, simultaneously, because the first resistance R 1 resistance is large, the voltage of rectification filtering module output, without the first resistance R 1, is not directly PWM controller U1 power supply.Wherein, transformer T1 the first secondary winding output voltage, to PWM controller U1, is PWM controller U1 power supply, and PWM controller U1 continues output cycle control signal to be made the first derailing switch Q1 by some cycles conducting and closes; Transformer T1 second subprime winding output voltage is to constant-current controller U2, and by after the 7th resistance R 7 and the 8th resistance R 8 dividing potential drops, for constant-current controller U2 provides a voltage loop detection signal, the second subprime winding output voltage of transformer T1 is to light modulation toning unit 20, and light modulation toning unit 20 feedback current signals provide a current loop detection signal through the 9th resistance R 9 for constant-current controller U2.In the time that constant-current controller U2 detects that voltage loop detection signal does not reach default constant pressure point, by detecting current loop detection signal, and current loop detection signal is converted to feedback signal outputs to optocoupler U3, feedback signal is transferred to PWM controller U1 by optocoupler U3, PWM controller U1 is according to the duty ratio of feedback signal regulation output waveform, thereby regulate the frequency of cut-offfing of the first derailing switch Q1, and then regulate the input voltage of transformer T1, regulate the output voltage of transformer T1; In the time that constant-current controller U2 detects that voltage loop detection signal reaches default constant pressure point, circuit enters constant voltage control model.It should be noted that, the effect of PWM controller U1 is that input direct voltage is converted to the output of HF switch waveform, and carrying out driving transformer T1 by the first derailing switch Q1, transformer T1 realizes the low pressure that high voltage direct current is converted to isolation safe, realizes the safety isolation of circuit.
In toning light modulation unit, control second switch device Q2 length switching time by high color temperature pwm signal end PWM_W, control length switching time of high color temperature LED lamp group, realize the brightness variation of controlling high color temperature LED lamp group; Control the 3rd derailing switch Q3 length switching time by low colour temperature pwm signal end PWM_N, control length switching time of low colour temperature LED lamp group, realize the brightness variation of controlling low colour temperature LED lamp group.Therefore, can realize colour temperature or adjustment of color.Control the Push And Release of the 4th derailing switch Q4 by brightness pwm signal end PWM_L, regulate the brightness of whole LED lamp group by the length that changes service time, thereby realize the brightness regulation of whole LED lamp group.
A kind of safety isolation of the present invention full-color LED lamp circuit is by the ingehious design of constant-current control circuit and buffer circuit, make LED lamp drive circuit realize good constant current control and safe isolation features, and by the toning of LED cleverly dimmer circuit design, realized LED lamp efficiently, the toning of light modulation easily.
In addition, the present invention is by a FS1 protective circuit safety that takes a policy at rectification filtering module; By adding diode to make related circuit signal one-way transmission at each output of transformer T1; Each derailing switch uses metal-oxide-semiconductor to have and is swift in response, safe and reliable and advantage cheaply.
A light-dimming method for full-color LED lamp, it comprises step: S1, utilizes colour temperature by-pass cock device to control the switching time of each LED lamp or lamp group by the variation of switching frequency, thereby regulates whole LED lamp group colour temperature or color; S2, utilizes brightness regulating switch device by the switching time of the variation control LED lamp group of switching frequency, thereby regulates the brightness of LED lamp group.
Preferably, described colour temperature by-pass cock device and brightness regulating switch device are metal-oxide-semiconductor, and the switching frequency of described metal-oxide-semiconductor is by pwm signal control.
The party's ratio juris is: utilize the each derailing switch of different pwm signals length switching time, control length switching time of each LED lamp group, realize the brightness variation of controlling each colour temperature LED lamp group or each color LED lamp group, thereby realize overall colour temperature or adjustment of color.Control the Push And Release of corresponding derailing switch by brightness pwm signal end PWM_L, regulate the brightness of whole LED lamp group by the length that changes service time, thereby realize the brightness regulation of whole LED lamp group.
The light-dimming method of a kind of full-color LED lamp of the present invention is by regulating the switching time of each derailing switch, thereby realization regulates colour temperature, color and the brightness of LED lamp group, and light modulation toning is efficient, convenient, and simple in structure, has good economic and social benefit.
In addition, each derailing switch uses metal-oxide-semiconductor to have to be swift in response, safe and reliable and advantage cheaply.
The present invention can be widely used in various LED circuit for lamp.
More than that better enforcement of the present invention is illustrated, but the invention is not limited to described embodiment, those of ordinary skill in the art also can make all equivalent variations or replacement under the prerequisite without prejudice to spirit of the present invention, and the distortion that these are equal to or replacement are all included in the application's claim limited range.