CN109905942A - A kind of LED dim signal control circuit and system - Google Patents
A kind of LED dim signal control circuit and system Download PDFInfo
- Publication number
- CN109905942A CN109905942A CN201910241284.6A CN201910241284A CN109905942A CN 109905942 A CN109905942 A CN 109905942A CN 201910241284 A CN201910241284 A CN 201910241284A CN 109905942 A CN109905942 A CN 109905942A
- Authority
- CN
- China
- Prior art keywords
- signal
- resistance
- module
- dim signal
- dim
- 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.)
- Granted
Links
Landscapes
- Circuit Arrangement For Electric Light Sources In General (AREA)
Abstract
The invention discloses a kind of LED dim signal control circuit and systems, the LED dim signal control circuit is connect with constant-current drive circuit, including key detection module, control module and signal processing module, the key detection module detect it is external it is corresponding by key pressing when export corresponding detection signal to control module, the control module exports dim signal to signal processing module, and the first preset value is set for the first parameter value of the dim signal according to the detection signal, and signal processing module is output control signals to according to the detection signal;Second parameter value of the dim signal is switched to the second preset value according to the control signal by the signal processing module, and the dim signal is exported to constant-current drive circuit, realize the flexible setting for exchanging optical signal parameters, enable the constant-current drive circuit to obtain required dim signal in backlight debugging, improves the efficiency of research and development of product.
Description
Technical field
The present invention relates to LED light regulating technology field, in particular to a kind of LED dim signal control circuit and system.
Background technique
As technology rapidly develops, consumer electronics product competition is increasing, the development cycle and problem to product point
The requirement of analysis ability is also higher and higher.Currently available technology only issues dim signal by mainboard and is adjusted, but cannot
It is enough that the parameters of the dim signal are flexibly arranged;For the different mainboard side in LED television backlight constant current part
The dim signal characteristic requirements that case is supported are different, and backlight constant current itself is used as by control, itself can not provide such adjustment signal,
Necessary external adjustment signal, is unfavorable for the demand of product development analysis and progress, influences the development efficiency of product.
Thus the prior art could be improved and improve.
Summary of the invention
Place in view of above-mentioned deficiencies of the prior art, the purpose of the present invention is to provide a kind of LED dim signal control electricity
Road and system indirectly obtain the information that user exchanges optical signal parameters setting by detecting the working condition of external key, real
Now to the flexible setting of dim signal parameters, and then required dim signal in backlight debugging process can be obtained, improved
The efficiency of research and development of product.
In order to achieve the above object, this invention takes following technical schemes:
A kind of LED dim signal control circuit, connect with constant-current drive circuit, including key detection module, control module and
Signal processing module, the key detection module detect it is external it is corresponding by key pressing when export corresponding detection signal to control
Molding block, the control module export dim signal to signal processing module, and according to corresponding detection signal by the light modulation
First parameter value of signal is set as the first preset value, and outputs control signals to signal processing according to corresponding detection signal
Module;Second parameter value of the dim signal is switched to second according to the control signal and preset by the signal processing module
Value, and the dim signal is exported to constant-current drive circuit.
The LED dim signal control circuit, further includes sampling module and display module, the sampling module is to constant current
Driving circuit exports sample rate current and sampled voltage to control module after being sampled, the control module is by the sampled voltage
Output display module is shown after carrying out analog-to-digital conversion with sample rate current.
In the LED dim signal control circuit, the signal processing module includes the first signal processing unit, second
Signal processing unit and dim signal input-output unit, first signal processing unit keep closing according to the control signal
It is disconnected, and the second signal processing unit is held on according to the control signal, so that the dim signal input and output list
Second parameter value of the dim signal of member output is the second preset value.
In the LED dim signal control circuit, the sampling module includes current sampling unit and voltage sample list
Member, after the electric current that the current sampling unit exports constant-current drive circuit samples output sample rate current to control module,
The voltage that the voltage sampling unit exports constant-current drive circuit exports sampled voltage to control module after sampling.
In the LED dim signal control circuit, first signal processing unit includes first resistor, the second electricity
Resistance, 3rd resistor, the 4th resistance, first diode, the second diode, the first metal-oxide-semiconductor and the first triode, the first resistor
One end and the source electrode of the first metal-oxide-semiconductor be all connected with 3.3V power end, the other end and first diode of the first resistor are just
Pole is all connected with one end of the second resistance, and the other end of the second resistance connects the collector of first triode, institute
One end of the emitter and the 4th resistance of stating the first triode is grounded, the other end of the 4th resistance and the first triode
Base stage connects one end of the 3rd resistor, and the other end of the 3rd resistor connects the cathode of two diode, and described
The anode connection 3.3VON signal end of two diodes;The cathode of the first diode connects the grid of first metal-oxide-semiconductor, institute
The drain electrode for stating the first metal-oxide-semiconductor connects the IO_AMP signal end.
In the LED dim signal control circuit, the second signal processing unit includes the 5th resistance, the 6th electricity
Resistance, the 7th resistance, the 8th resistance, third diode, the 4th diode, the second metal-oxide-semiconductor and the second triode, the 5th resistance
One end and the source electrode of the second metal-oxide-semiconductor be all connected with 5V power end, the other end of the 5th resistance and the anode of third diode
It is all connected with one end of the 6th resistance, the other end of the 6th resistance connects the collector of second triode, described
One end of the emitter of second triode and the 8th resistance is grounded, the other end of the 8th resistance and the base of the second triode
Pole connects one end of the 7th resistance, and the other end of the 7th resistance connects the cathode of four diode, and the described 4th
The anode connection 5VON signal end of diode;The cathode of 4th diode connects the grid of second metal-oxide-semiconductor, and described
The drain electrode of two metal-oxide-semiconductors connects IO_AMP signal end.
In the LED dim signal control circuit, the dim signal input-output unit includes the 9th resistance, the tenth
One end of resistance, eleventh resistor, twelfth resistor, third transistor and the 4th triode, the 9th resistance connects IO_
The other end of AMP signal end, the 9th resistance connects the collector and ENA signal end of the third transistor, the third
The base stage of triode connects the ENA0 signal end by the tenth resistance;The transmitting terminal of the third transistor is grounded;Described
One end of 11 resistance connects IO_AMP signal end, and the other end of the eleventh resistor connects the current collection of the 4th triode
The base stage at pole and pwm signal end, the 4th triode connects the PWM0 signal end by twelfth resistor;Described 4th 3
The transmitting terminal of pole pipe is grounded.
In the LED dim signal control circuit, the current sampling unit includes the first operational amplifier, the 13rd
Resistance, the 14th resistance and the 15th resistance, the cathode power supply end of first operational amplifier connect 5V power end, and described the
The negative power supply end of one operational amplifier is grounded, and the normal phase input end of first operational amplifier is connected by thirteenth resistor
IS signal end, the inverting input terminal of first operational amplifier connect one end of the 15th resistance, the 15th resistance
Other end ground connection;The output end of first operational amplifier connects one end and the ADC1 signal end of the 14th resistance, institute
The other end for stating the 14th resistance connects one end of the 15th resistance.
In the LED dim signal control circuit, the voltage sampling unit includes second operational amplifier, the 16th
Resistance, the 17th resistance and the 18th resistance, the cathode power supply end of the second operational amplifier connect 5V power end, and described the
The negative power supply end of two operational amplifiers is grounded, and the normal phase input end of the second operational amplifier is connected by the 16th resistance
VS signal end, the inverting input terminal of the second operational amplifier connect one end of the 18th resistance, the 18th resistance
Other end ground connection;The output end of the second operational amplifier connects one end and the ADC0 signal end of the 17th resistance, institute
The other end for stating the 17th resistance connects one end of the 18th resistance.
A kind of LED dim signal control system, including LED dim signal control circuit as described above.
Compared to the prior art, LED dim signal control circuit and system provided by the invention, the LED dim signal
Control circuit is connect with constant-current drive circuit, including key detection module, control module and signal processing module, the key inspection
Survey module detect it is external it is corresponding by key pressing when export corresponding detection signal to control module, the control module exports
Dim signal sets first for the first parameter value of the dim signal according to the detection signal to signal processing module
Preset value, and signal processing module is output control signals to according to the detection signal;The signal processing module is according to institute
It states control signal and the second parameter value of the dim signal is switched into the second preset value, and the dim signal is exported to perseverance
Driving circuit is flowed, the flexible setting for exchanging optical signal parameters is realized, enables the constant-current drive circuit in backlight debugging
It is enough to obtain required dim signal, improve the efficiency of research and development of product.
Detailed description of the invention
Fig. 1 is the structural block diagram of LED dim signal control circuit and constant-current drive circuit provided by the invention;
Fig. 2 is the circuit theory of signal processing module in LED dim signal control circuit provided by the invention
Figure;
Fig. 3 is the circuit theory of current sampling unit in LED dim signal control circuit provided by the invention
Figure;
Fig. 4 is the circuit theory of voltage sampling unit in LED dim signal control circuit provided by the invention
Figure;
Fig. 5 is the circuit of the first key detection unit in LED dim signal control circuit provided by the invention
Schematic diagram;
Fig. 6 is the circuit of the second key detection unit in LED dim signal control circuit provided by the invention
Schematic diagram;
Fig. 7 is the circuit of third key detection unit in LED dim signal control circuit provided by the invention
Schematic diagram;
Fig. 8 is the circuit of the 4th key detection unit in LED dim signal control circuit provided by the invention
Schematic diagram;
Fig. 9 is the circuit diagram of control module in LED dim signal control circuit provided by the invention;
Figure 10 is the circuit theory of the first power supply unit in LED dim signal control circuit provided by the invention
Figure;
Figure 11 is the circuit theory of the second power supply unit in LED dim signal control circuit provided by the invention
Figure;
Figure 12 is the circuit diagram of display module in LED dim signal control circuit provided by the invention;
Figure 13 is the circuit diagram of output interface in LED dim signal control circuit provided by the invention;
Figure 14 is the flow chart of the Signal Regulation of LED dim signal control circuit provided by the invention.
Specific embodiment
The present invention provides a kind of LED dim signal control circuit and system, by detecting the working condition of external key,
The acquisition user connect exchanges the information of optical signal parameters setting, realizes the flexible setting to dim signal parameters, Jin Erke
Required dim signal in backlight debugging process is obtained, the efficiency of research and development of product is improved.
To make the purpose of the present invention, technical solution and effect clearer, clear and definite, right as follows in conjunction with drawings and embodiments
The present invention is further described.It should be appreciated that described herein, specific examples are only used to explain the present invention, is not used to
Limit the present invention.
LED dim signal control circuit provided by the invention is suitable for outside the constant-current circuits such as backlight of television, illumination, may be used also
To apply in fields such as the adjusting of program-controlled voltage source voltage, DC motor speed-regulating controls.
Referring to Fig. 1, LED dim signal control circuit 20 provided by the invention is connect with constant-current drive circuit 10, it is described
LED dim signal control circuit 20 includes key detection module 210, control module 220, signal processing module 230 and power supply mould
Block 240, the key detection module 210 are connect with control module 220, and the control module 220 connects with signal processing module 230
It connects, the signal processing module 230 is drivingly connected with constant current, and the power supply module 240 connects the control module 220, key
Detection module 210 and signal processing module 230;The key detection module 210 detect it is external it is corresponding by key pressing when it is defeated
Corresponding detection signal is to control module 220 out, and the control module 220 exports dim signal to signal processing module 230, and
The first preset value is set by the first parameter value of the dim signal according to the detection signal, and is believed according to the detection
Number output control signals to signal processing module 230;The signal processing module 230 is according to the control signal by the light modulation
Second parameter value of signal switches to the second preset value, and the dim signal is exported to constant-current drive circuit 10, realizes
The flexible setting for exchanging optical signal parameters enables the constant-current drive circuit 10 to obtain required light modulation in backlight debugging
Signal improves the efficiency of research and development of product, it is preferable that dim signal described in the present embodiment is pwm signal.
It is the key detection module 210, control module 220 and signal by the power supply module 240 in the present embodiment
It manages module 230 and work energy, the key detection module 210, control module 220 and the normal work of signal processing module 230 is provided
Make, normally output dim signal is to signal processing module 230 for the control module 220, by signal processing module 230 by the tune
Optical signal is exported to constant-current drive circuit 10, and the parameter value for the dim signal that the signal processing module 230 exports at this time is
Default value.When the key detection module 210 detect it is external it is corresponding by key pressing when, then corresponding output detects signal extremely
Control module 220, the control module 220 outputs control signals to signal processing module 230 according to the detection signal, by described
The second parameter value to the second preset value of the dim signal according to control Signal Regulation of signal processing module 230, corresponding institute
The first parameter value that control module 220 also can adjust the dim signal according to the detection module is stated to the first preset value, is made
Required dim signal can be obtained when backlight is debugged by obtaining the constant-current drive circuit 10, improve the efficiency of research and development of product.It is excellent
Selection of land, first parameter include frequency, duty ratio and dim signal and the interval time of enable signal of dim signal, and right
First preset value answered is adjusted according to actual needs for user and is obtained, and second parameter includes the signal width of dim signal
Degree, and second preset value is the signal amplitude of 5V.
Further, the LED dim signal control circuit 20 further includes sampling module 250 and display module 260, described
Sampling module 250 connects constant-current drive circuit 10 and control module 220, the display module 260 connect the control module
220;The sampling module 250 exports sample rate current and sampled voltage to control module after sampling to constant-current drive circuit 10
220, output display module 260 carries out after the sampled voltage and sample rate current are carried out analog-to-digital conversion by the control module 220
Display;After the control module 220 and signal processing module 230 complete the adjusting to the parameter value of dim signal, by
The signal processing module 230 exports the dim signal to constant-current drive circuit 10, can cause the constant-current drive circuit
The variation of 10 corresponding voltage and currents, the number specifically changed, then can carry out sampling acquisition to it by the sampling module 250
Sample rate current and sampled voltage are to control module 220, then carry out modulus to sample rate current and sampled voltage by control module 220 and turn
Output to display module 260 is shown after changing, and then the change of voltage and current can be intuitively observed by display module 260
Change.In addition, the control module 220 is corresponding to export the parameter value of the dim signal to display module 260, by showing
Module 260 is shown, and the parameter value of dim signal is intuitively obtained with people.
Further, referring to Figure 2 together, the signal processing module 230 includes the first signal processing unit 231, the
Binary signal processing unit 232 and dim signal input-output unit 233, second letter of the connection of the first signal processing unit 231
Number processing unit 232, control module 220 and dim signal input-output unit 233, the second signal output unit connection control
Molding block 220 and dim signal input-output unit 233, the dim signal input-output unit 233 are also connected with the control
Module 220 and constant-current drive circuit 10;First signal processing unit 231 is held off according to the control signal, and institute
It states second signal processing unit 232 to be held on according to the control signal, so that the dim signal input-output unit 233
Second parameter value of the dim signal of output is the second preset value;Corresponding detection signal is exported after external key is pressed extremely
Control module 220, the control module 220 outputs control signals to the first signal processing unit 231 and second signal processing is single
Member 232 controls first signal processing unit 231 and is held off, and the second signal processing unit 232 is held on
State, so that the second parameter value of the dim signal of the dim signal input-output unit 233 output is second default
Value, second parameter are the signal amplitude of dim signal, namely the signal amplitude value of the dim signal exported is 5V, Jin Ertong
Cross the signal processing module 230 can the signal amplitude to the dim signal effectively adjusted.
Further, also referring to Fig. 3 and Fig. 4, the sampling module 250 includes current sampling unit 251 and voltage
Sampling unit 252, the current sampling unit 251 connect the control module 220 and constant-current drive circuit 10, and the voltage is adopted
Sample unit 252 connects the control module 220 and constant-current drive circuit 10;The current sampling unit 251 drives electricity to constant current
Output sample rate current to control module 220, the voltage sampling unit 252 drives constant current after the electric current that road 10 exports is sampled
Output sampled voltage passes through the current sampling unit 251 to control module 220 after the voltage that dynamic circuit 10 exports is sampled
It is sampled with output electric current and output voltage of the voltage sampling unit 252 to the constant-current drive circuit 10, convenient for score
The variation of the constant current drive current voltage and electric current is analysed, and then convenient for accurately debugging required for the constant-current drive circuit 10
Dim signal.
When it is implemented, first signal processing unit 231 includes first resistor R1, the second electricity please continue to refer to Fig. 2
Hinder R2,3rd resistor R3, the 4th resistance R4, first diode D1, the second diode D2, the first metal-oxide-semiconductor M1 and the first triode
The source electrode of Q1, one end of the first resistor R1 and the first metal-oxide-semiconductor M1 are all connected with 3.3V power end, and the first resistor R1's is another
The anode of one end and first diode D1 are all connected with one end of the second resistance R2, the other end connection of the second resistance R2
The collector of the first triode Q1, the emitter of the first triode Q1 and one end of the 4th resistance R4 are grounded, institute
The base stage of the other end and the first triode Q1 of stating the 4th resistance R4 connects one end of the 3rd resistor R3, the 3rd resistor
The other end of R3 connects the cathode of two diode, the anode connection 3.3VON signal end of the second diode D2;It is described
The cathode of first diode D1 connects the grid of the first metal-oxide-semiconductor M1, and the drain electrode of the first metal-oxide-semiconductor M1 connects the IO_
AMP signal end.
When outside is corresponding presses key pressing, the output of the key detection module 210 detection signal, it is preferable that the detection
Signal is low level signal, and the control module 220 outputs control signals to 3.3VON letter according to the low level signal at this time
Number end, control the 3.3VON signal end by high level and be converted to low level so that the first metal-oxide-semiconductor M1 end.
Further, the second signal processing unit 232 include the 5th resistance R5, the 6th resistance R6, the 7th resistance R7,
8th resistance R8, third diode D3, the 4th diode D4, the second metal-oxide-semiconductor M2 and the second triode Q2, the 5th resistance R5
One end and the source electrode of the second metal-oxide-semiconductor M2 be all connected with 5V power end, the other end and third diode D3 of the 5th resistance R5
Anode be all connected with one end of the 6th resistance R6, the other end of the 6th resistance R6 connects the second triode Q2's
Collector, the emitter of the second triode Q2 and one end of the 8th resistance R8 are grounded, and the 8th resistance R8's is another
End connects one end of the 7th resistance R7 with the base stage of the second triode Q2, described in the other end of the 7th resistance R7 connects
The cathode of 4th diode D4, the anode connection 5VON signal end of the 4th diode D4;The 4th diode D4's is negative
Pole connects the grid of the second metal-oxide-semiconductor M2, and the drain electrode of the second metal-oxide-semiconductor M2 connects IO_AMP signal end.
When outside is corresponding presses key pressing, the output of the key detection module 210 detection signal, it is preferable that the detection
Signal is low level signal, and the control module 220 outputs control signals to 5VON signal according to the low level signal at this time
End, controlling the 5VON signal end by low transition is high level, so that the second metal-oxide-semiconductor M2 is connected, so that institute
The signal amplitude IO_AMP for stating dim signal is 5V.And when external key is not pressed normally, the key detection at this time
It is high level signal that module 210, which accordingly exports, and the 3.3VON is high level state at this time, the first metal-oxide-semiconductor M1 conducting,
The 5VON is low level state, and the second metal-oxide-semiconductor M2 shutdown, the signal amplitude IO_AMP of the dim signal is at this time
3.3V detects external key working condition by key detection module 210, it can be achieved that the signal amplitude to dim signal carries out
Effectively adjust.
Further, the dim signal input-output unit 233 includes the 9th resistance R9, the tenth resistance R10, the 11st
One end of resistance R11, twelfth resistor R12, third transistor Q3 and the 4th triode Q4, the 9th resistance R9 connect IO_
The other end of AMP signal end, the 9th resistance R9 connects the collector and ENA signal end of the third transistor Q3, described
The base stage of third transistor Q3 passes through the tenth resistance R10 connection ENA0Signal end;The transmitting terminal of the third transistor Q3
Ground connection;One end of the eleventh resistor R11 connects IO_AMP signal end, and the other end of the eleventh resistor R11 connects institute
Collector and the pwm signal end of the 4th triode Q4 are stated, the base stage of the 4th triode Q4 is connected by twelfth resistor R12
The PWM0 signal end;The transmitting terminal of the 4th triode Q4 is grounded, and is received by the adjustment signal input-output unit
The dim signal and enable signal that the control module 220 exports, and the dim signal for setting up parameters information is exported
To constant-current drive circuit 10.
Further, please continue to refer to Fig. 3, the current sampling unit 251 includes the first operational amplifier U1, the 13rd
Resistance R13, the 14th resistance R14 and the 15th resistance R15, the cathode power supply end connection 5V electricity of the first operational amplifier U1
Source, the negative power supply end ground connection of the first operational amplifier U1, the normal phase input end of the first operational amplifier U1 are logical
Thirteenth resistor R13 connection IS signal end is crossed, the inverting input terminal of the first operational amplifier U1 connects the 15th resistance R15
One end, the 15th resistance R15 the other end ground connection;The output end connection the described tenth of the first operational amplifier U1
The other end of one end of four resistance R14 and ADC1 signal end, the 14th resistance R14 connects the 15th resistance R15's
One end is put the current signal that constant-current drive circuit 10 exports through second operational amplifier U2 by the voltage sampling unit 252
Output sample rate current is transmitted to the progress of display module 260 to control module 220 after the analog-to-digital conversion of control module 220 after big
Real-time display.
Further, please continue to refer to Fig. 4, the voltage sampling unit 252 includes second operational amplifier U2, the 16th
Resistance R16, the 17th resistance R17 and the 18th resistance R18, the cathode power supply end connection 5V electricity of the second operational amplifier U2
Source, the negative power supply end ground connection of the second operational amplifier U2, the normal phase input end of the second operational amplifier U2 are logical
The 16th resistance R16 connection IS signal end is crossed, the inverting input terminal of the second operational amplifier U2 connects the 18th resistance R18
One end, the 18th resistance R18 the other end ground connection;The output end connection the described tenth of the second operational amplifier U2
The other end of one end of seven resistance R17 and ADC0 signal end, the 17th resistance R17 connects the 18th resistance R18's
One end is put the voltage signal that constant-current drive circuit 10 exports through second operational amplifier U2 by the voltage sampling unit 252
Output sampled voltage is transmitted to the progress of display module 260 to control module 220 after the analog-to-digital conversion of control module 220 after big
Real-time display.
Further, also referring to Fig. 5, Fig. 6, Fig. 7 and Fig. 8, the key detection module 210 includes several keys
Detection unit, the independent output detection information of each key detection unit to control module 220, and each key detect
Unit includes an independent key, a pull-up resistor and a debounce capacitor.Preferably, key described in the present embodiment
Detection module 210 includes the first key detection unit 211, the second key detection unit 212, third key detection unit 213, the
Four key detection units 214, the 5th key detection unit and the 6th key detection unit.
Preferably, the first key detection unit 211 includes the first key S1, the 19th resistance R19 and first capacitor
C1, the 1st foot, the 2nd foot of the first key S1 and the 5th foot of the first key S1 of the first key S1 are grounded, and described first
The 3rd foot of key S1 and the 4th foot of the first key S1 connect the end and the one end first capacitor C1 of the 19th resistance R19, institute
The other end ground connection of first capacitor C1 is stated, the other end of the 19th resistance R19 connects 3.3V power end;Wherein described first
Key detection unit 211 can be used for adjusting the signal amplitude of the dim signal, described after the first key S1 is pressed
First key detection unit 211 then exports corresponding detection signal i.e. low level signal to control module 220, the control module
220 can output control signals to respectively the 3.3VON signal end and second of the first signal processing unit 231 according to detection signal
The 5VON signal end of signal processing unit 232, so that the 3.3VON signal end becomes low level, the 5VON letter from high level
Number end is high level by low transition, the first metal-oxide-semiconductor M1 shutdown at this time, and the second metal-oxide-semiconductor M2 is connected, Jin Ersuo
The signal amplitude IO_AMP for stating dim signal is 5V, and then realizes and carry out flexible setting to the signal amplitude that dim signal exports.
Preferably, the second key detection unit 212 includes the second key S2, the 20th resistance R20 and the second capacitor
C2, the 1st foot, the 2nd foot of the second key S2 and the 5th foot of the second key S2 of the second key S2 are grounded, and described second
The 3rd foot of key S2 and the 4th foot of the second key S2 connect the end and second one end capacitor C2 of the 20th resistance R20, institute
The other end ground connection of the second capacitor C2 is stated, the other end of the 20th resistance R20 connects 3.3V power end;Wherein described second
Key detection unit 212 is used to that dim signal to be arranged and enable signal exports successive interval time, as the second key S2
After pressing, the second key detection unit 212 then exports corresponding detection signal i.e. low level signal to control module
220, the interval time of dim signal and enable signal output can be then arranged automatically in the control module 220 according to detection signal,
And then realize that the interval time exported to dim signal and enable signal carries out flexible setting.
Preferably, the third key detection unit 213 includes third key S3, the 21st resistance R21 and third electricity
Holding C3, the 1st foot, the 2nd foot of third key S3 and the 5th foot of third key S3 of the third key S3 be grounded, and described the
The 3rd foot of three key S3 connects end and the third capacitor C3 mono- of the 21st resistance R21 with the 4th foot of third key S3
End, the other end ground connection of the third capacitor C3, the other end of the 21st resistance R21 connect 3.3V power end;Wherein
The third key detection unit 213 can be used for adjusting the frequency of dim signal, can be touched by the control to third key S3
Sending out control module 220 described is arranged the frequency values of dim signal, and then exports for required dim signal for debugging.
It is further preferred that the 4th key detection unit 214 include the 4th key S4, the 22nd resistance R22 and
4th capacitor C4, the 1st foot, the 2nd foot of the 4th key S4 and the 5th foot of the 4th key S4 of the 4th key S4 are grounded,
The 3rd foot of the 4th key S4 and the 4th foot of the 4th key S4 connect end and the 4th capacitor of the 22nd resistance R22
The one end C4, the other end ground connection of the 4th capacitor C4, the other end of the 22nd resistance R22 connect 3.3V power end;
Wherein the 4th key detection unit 214 can be used for adjusting the duty ratio of dim signal, that is, pass through the control to the 4th key S4
System can trigger the frequency values that dim signal is arranged in the control module 220, so export for required dim signal with
For debugging.
Further, also referring to Fig. 9, the control module 220 includes control chip U3, the control chip U3's
7th foot connects the 5VON signal end, and the 8th foot of the control chip U3 connects the 3.3VON signal end, the control core
The 11st foot of piece U3 connects the PWM012nd foot of signal end, the control chip U3 connects the ADC0 signal end, described
The 13rd foot for controlling chip U3 connects the ADC1 signal end, and the 14th foot of the control chip U3 connects the ENA0Signal
End, the 16th foot of the control chip U3 connect the 3rd foot and the 4th foot of the first key S1, and the of the control chip U3
17 feet connect the 3rd foot and the 4th foot of the second key S2, and the 18th foot of the control chip U3 connects the third key S3
The 3rd foot and the 4th foot, the 19th foot of the control chip U3 connects the 3rd foot and the 4th foot of the 4th key S4;The control
Coremaking piece U3 combines control chip U3 to be internally integrated RC oscillator according to the detection signal of each key, carries multichannel analog-to-digital conversion
Optical signal frequency, duty ratio and the setting with the enable signal output gap time are exchanged in device and PWM timer etc., completion;Simultaneously
It is also integrated with band Electrically Erasable Programmable Read-Only Memory in the control chip U3 and carrys out storing data, it can be achieved that current after power down
Data are kept, and are powered on next time and are directly transferred previous setting data information, and then are improved the reliability of circuit and set
The flexibility set.Preferably, the model STC12C5A60S2 of the control chip U3 certainly in other embodiments can also
Using other control chip U3 with the same function, this is not limited by the present invention.
Further, also referring to Figure 10 and Figure 11, the power supply module 240 includes the first power supply unit 241 and the
Two power supply units 242, first power supply unit 241 accesses circuit by USB5V direct current supply, by USB socket interface, for institute
It states voltage sampling unit 252, current sampling unit 251, control chip U3 and signal processing module 230 and 5V power supply is provided;By institute
Stating the second power supply unit 242 is that the signal processing module 230 and key detection module 210 provide 3.3V power supply, and then guarantee
The stability and reliability that the LED dim signal control circuit 20 works.
Preferably, first power supply unit 241 includes USB interface J1 and the 5th capacitor C5, the 5th capacitor C5's
One end connects the 4th foot and ground terminal of the USB interface J1, and the other end of the 5th capacitor C5 connects the USB interface J1
The 1st foot and 5V power end.
Preferably, second power supply unit 242 includes voltage stabilizing chip U4, the 6th capacitor C6 and the 7th capacitor C7, described
The 3rd foot of voltage stabilizing chip U4 and one end of the 6th capacitor C6 are all connected with the input terminal of the 3.3V power end, the 6th capacitor
The other end of C6 is grounded, the 1st foot ground connection of the voltage stabilizing chip U4, the 4th foot of the voltage stabilizing chip U4 and the 7th capacitor C7's
One end is all connected with the output end of the 3.3V power end, the other end ground connection of the 7th capacitor C7.Preferably, the pressure stabilizing core
Other voltage stabilizing chip U4 with the same function can also be used certainly in other embodiments in the model AS1117L of piece U4,
This is not limited by the present invention.
It is further preferred that please referring to Figure 12, the display module 260 includes display chip U5 and the 23rd resistance
R23, the 1st foot of the display chip U5 connect the 2nd foot of the control chip U3, the 2nd foot connection of the display chip U5
The 3rd foot of the control chip U3, the 3rd foot of the display chip U5 connect the 4th foot of the control chip U3, the display
The 4th foot of chip U5 connects the 5th foot of the control chip U3, and the 5th foot of the display chip U5 connects the control chip
6th foot of the 6th foot of U3, the display chip U5 connects the 8th foot of the display chip U5 by the 22nd resistance R22,
The 7th connection 5V power end of the display module 260, can intuitively show light modulation by the display module 260
Parameters value, sampled voltage and the sampled current value of signal, and then convenient for for carrying out data adjusting.Preferably, described aobvious
Show the model NOKIA5110 of chip U5, certainly in other embodiments, other display chips with the same function can also be used
U5, this is not limited by the present invention, and the display chip U5 used in the present embodiment may make the display module 260 to show 4 rows
Chinese character, and logical choosing is carried out by serial line interface and the control chip U3.
Further, Figure 13 is please referred to, the LED dim signal control circuit 20 further includes output interface 270, described
1st foot of output interface 270 connects the pwm signal end, and the 2nd foot, the 4th foot and the 6th foot of the output interface 270 connect
Ground, the 3rd foot of the output interface 270 connect ENA signal end, and the 5th foot of the output interface 270 connects the VS signal
7th end at end, the output interface 270 connects the IS signal end;By the output port by the signal processing module
230 dim signal is exported to constant-current drive circuit 10;And the electricity for being exported constant-current drive circuit 10 by the output port
Pressure and circuit output realize output and the voltage of dim signal to voltage sampling unit 252 and current sampling unit 251
The sampling operation of signal and current signal.
The working principle of the LED dim signal control circuit provided for a better understanding of the invention, also referring to Figure 14,
It is described in detail according to the course of work of the Application Example to LED dim signal control circuit provided by the invention, i.e., it is described
The dim signal regulating step of LED dim signal control circuit is as follows:
S10, control chip initiation;
S11, default settings;
S12, judge whether the second key is pressed, if so then execute step S13, then follow the steps S14 if not;
S13, setting dim signal and enable signal successive interval time;
S14, judge whether the first key is pressed, if so then execute step S15, then follow the steps S16 if not;
S15, setting signal amplitude are 5V;
S16, judge whether third key is pressed, it is no to then follow the steps S18 if so then execute step S17;
S17, the frequency for adjusting dim signal;
S18, judge whether the 4th key is pressed, it is no to then follow the steps S20 if so then execute step S19;
S19, the duty ratio for adjusting dim signal;
S20, dim signal is exported with default parameters;
The parameters value of S21, the current dim signal of storage.
After powering on into working condition, the control chip carries out just the LED dim signal control circuit
Beginningization, control the principal function and each key detection unit in chip subfunction it is corresponding initialized, it is described at this time
The parameters of dim signal are default value output;Judge whether second key is pressed by control module later, i.e., it is described
Whether control chip receives the corresponding detection signal of the second key detection unit, if then defeated to dim signal and enable signal
Successive interval time is configured out, then judges whether first key is pressed again;Conversely, then directly by control chip
Judge whether first case is pressed, i.e., whether the described control chip receives the detection letter of the second key detection unit output
Number, if then the 3.3V that the signal amplitude of dim signal is defaulted is switched to 5V by the corresponding control signal processing module, and
Judge whether the third key is pressed again afterwards;Conversely, then directly judge whether the 4th key is pressed by control chip, if
It is, as accounting for for control chip dim signal according to the detection Signal Regulation that the 4th key detection unit exports
Empty ratio, default parameter value output dim signal on the contrary then with setting are exported by output port to constant-current drive circuit, and by
The parameters value of the dim signal of the control chip storage current setting, realizes and exchanges flexibly setting for optical signal parameters
It sets, enables the constant-current drive circuit to obtain required dim signal in backlight debugging, improve the efficiency of research and development of product.
The present invention also provides a kind of LED dim signal control system, the LED dim signal control system includes as above
The LED dim signal control circuit, since the LED dim signal control circuit being described in detail above, herein
It repeats no more.
In conclusion it is provided by the invention the invention discloses a kind of LED dim signal control circuit and system, it is described
LED dim signal control circuit is connect with constant-current drive circuit, including key detection module, control module and signal processing mould
Block, the key detection module detect it is external it is corresponding by key pressing when export corresponding detection signal to control module, institute
It states control module and exports dim signal to signal processing module, and according to the detection signal by the first ginseng of the dim signal
Numerical value is set as the first preset value, and outputs control signals to signal processing module according to the detection signal;The signal
Second parameter value of the dim signal is switched to the second preset value according to the control signal by processing module, and by the tune
Optical signal is exported to constant-current drive circuit, realizes the flexible setting for exchanging optical signal parameters, so that the constant-current drive circuit
Required dim signal can be obtained in backlight debugging, improves the efficiency of research and development of product.
It, can according to the technique and scheme of the present invention and its hair it is understood that for those of ordinary skills
Bright design is subject to equivalent substitution or change, and all these changes or replacement all should belong to the guarantor of appended claims of the invention
Protect range.
Claims (10)
1. a kind of LED dim signal control circuit, connect with constant-current drive circuit, which is characterized in that detect mould including key
Block, control module and signal processing module, the key detection module detect external corresponding by output correspondence when key pressing
Detection signal to control module, the control module exports dim signal to signal processing module, and according to corresponding detection
The first parameter value of the dim signal is set the first preset value by signal, and is exported and controlled according to corresponding detection signal
Signal is to signal processing module;The signal processing module is according to the control signal by the second parameter value of the dim signal
The second preset value is switched to, and the dim signal is exported to constant-current drive circuit.
2. LED dim signal control circuit according to claim 1, which is characterized in that further include sampling module and display
Module, the sampling module export sample rate current and sampled voltage to control module, institute after sampling to constant-current drive circuit
Output display module after the sampled voltage and sample rate current are carried out analog-to-digital conversion by control module is stated to show.
3. LED dim signal control circuit according to claim 1, which is characterized in that the signal processing module includes
First signal processing unit, second signal processing unit and dim signal input-output unit, first signal processing unit
It is held off according to the control signal, and the second signal processing unit is held on according to the control signal, so that
Second parameter value of the dim signal of the dim signal input-output unit output is the second preset value.
4. LED dim signal control circuit according to claim 2, which is characterized in that the sampling module includes electric current
Sampling unit and voltage sampling unit, the electric current that the current sampling unit exports constant-current drive circuit export after sampling
For sample rate current to control module, the voltage that the voltage sampling unit exports constant-current drive circuit exports sampling after sampling
Voltage is to control module.
5. LED dim signal control circuit according to claim 3, which is characterized in that first signal processing unit
Including first resistor, second resistance, 3rd resistor, the 4th resistance, first diode, the second diode, the first metal-oxide-semiconductor and first
The source electrode of triode, one end of the first resistor and the first metal-oxide-semiconductor is all connected with 3.3V power end, the first resistor it is another
The anode of end and first diode is all connected with one end of the second resistance, the other end connection described first of the second resistance
The collector of triode, the emitter of first triode and one end of the 4th resistance are grounded, the 4th resistance it is another
One end connects one end of the 3rd resistor, the other end connection described 22 of the 3rd resistor with the base stage of the first triode
The cathode of pole pipe, the anode connection 3.3VON signal end of second diode;Described in the cathode connection of the first diode
The drain electrode of the grid of first metal-oxide-semiconductor, first metal-oxide-semiconductor connects the IO_AMP signal end.
6. LED dim signal control circuit according to claim 3, which is characterized in that the second signal processing unit
Including the 5th resistance, the 6th resistance, the 7th resistance, the 8th resistance, third diode, the 4th diode, the second metal-oxide-semiconductor and second
Triode, one end of the 5th resistance and the source electrode of the second metal-oxide-semiconductor are all connected with 5V power end, the other end of the 5th resistance
One end of the 6th resistance, the other end connection the described 2nd 3 of the 6th resistance are all connected with the anode of third diode
The collector of pole pipe, the emitter of second triode and one end of the 8th resistance are grounded, the 8th resistance it is another
End connects one end of the 7th resistance, the other end connection the described 4th 2 of the 7th resistance with the base stage of the second triode
The cathode of pole pipe, the anode connection 5VON signal end of the 4th diode;The cathode connection described the of 4th diode
The drain electrode of the grid of two metal-oxide-semiconductors, second metal-oxide-semiconductor connects IO_AMP signal end.
7. LED dim signal control circuit according to claim 3, which is characterized in that the dim signal input and output
Unit includes the 9th resistance, the tenth resistance, eleventh resistor, twelfth resistor, third transistor and the 4th triode, and described the
One end of nine resistance connects IO_AMP signal end, the other end of the 9th resistance connect the third transistor collector and
The base stage of ENA signal end, the third transistor connects the ENA by the tenth resistance0Signal end;The third transistor
Transmitting terminal ground connection;One end of the eleventh resistor connects IO_AMP signal end, and the other end of the eleventh resistor connects institute
Collector and the pwm signal end of the 4th triode are stated, the base stage of the 4th triode passes through described in twelfth resistor connection
PWM0Signal end;The transmitting terminal of 4th triode is grounded.
8. LED dim signal control circuit according to claim 4, which is characterized in that the current sampling unit includes
First operational amplifier, thirteenth resistor, the 14th resistance and the 15th resistance, the cathode power supply of first operational amplifier
End connection 5V power end, the negative power supply end ground connection of first operational amplifier, the positive of first operational amplifier are defeated
Enter end and IS signal end is connected by thirteenth resistor, the inverting input terminal of first operational amplifier connects the 15th resistance
One end, the other end ground connection of the 15th resistance;The output end of first operational amplifier connects the 14th resistance
One end and ADC1 signal end, the other end of the 14th resistance connect one end of the 15th resistance.
9. LED dim signal control circuit according to claim 4, which is characterized in that the voltage sampling unit includes
Second operational amplifier, the 16th resistance, the 17th resistance and the 18th resistance, the cathode power supply of the second operational amplifier
End connection 5V power end, the negative power supply end ground connection of the second operational amplifier, the positive of the second operational amplifier are defeated
Enter end and IS signal end is connected by the 16th resistance, the inverting input terminal of the second operational amplifier connects the 18th resistance
One end, the other end ground connection of the 18th resistance;The output end of the second operational amplifier connects the 17th resistance
One end and ADC0 signal end, the other end of the 17th resistance connect one end of the 18th resistance.
10. a kind of LED dim signal control system, which is characterized in that including LED as described in any one of claims 1-9
Dim signal control circuit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910241284.6A CN109905942B (en) | 2019-03-28 | 2019-03-28 | LED dimming signal control circuit and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910241284.6A CN109905942B (en) | 2019-03-28 | 2019-03-28 | LED dimming signal control circuit and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109905942A true CN109905942A (en) | 2019-06-18 |
CN109905942B CN109905942B (en) | 2021-05-18 |
Family
ID=66953616
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910241284.6A Active CN109905942B (en) | 2019-03-28 | 2019-03-28 | LED dimming signal control circuit and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109905942B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110461059A (en) * | 2019-07-29 | 2019-11-15 | 深圳市明微电子股份有限公司 | A kind of digital dimming control chip, digital dimming control circuit and control method |
CN112437516A (en) * | 2020-12-08 | 2021-03-02 | 宁波恒达高智能科技股份有限公司 | Digital timing dimmer control circuit |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1577194A (en) * | 2003-07-29 | 2005-02-09 | 珠海爱圣特电子科技有限公司 | Programmable lamp controller |
CN203015241U (en) * | 2013-01-21 | 2013-06-19 | 浙江我芯我能科技有限公司 | Stroboflash-free LED desk lamp having storage function |
CN203279262U (en) * | 2013-04-16 | 2013-11-06 | 天津津亚电子有限公司 | Intelligent dimmer switch |
US20160203705A1 (en) * | 2013-08-19 | 2016-07-14 | Automatice Technology (Australia) Pty Ltd | Remote control device and controller |
CN207099382U (en) * | 2017-07-28 | 2018-03-13 | 东莞科视自动化科技有限公司 | A kind of light-source brightness automatic compensating controller |
CN207638953U (en) * | 2017-10-25 | 2018-07-20 | 上海海梵控制系统有限公司 | A kind of lamp dimmer based on DMX512 agreements and Art-Net agreements |
CN108601153A (en) * | 2018-06-12 | 2018-09-28 | 常州信息职业技术学院 | Tetra- color LED mixed light control methods of RGBW |
-
2019
- 2019-03-28 CN CN201910241284.6A patent/CN109905942B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1577194A (en) * | 2003-07-29 | 2005-02-09 | 珠海爱圣特电子科技有限公司 | Programmable lamp controller |
CN203015241U (en) * | 2013-01-21 | 2013-06-19 | 浙江我芯我能科技有限公司 | Stroboflash-free LED desk lamp having storage function |
CN203279262U (en) * | 2013-04-16 | 2013-11-06 | 天津津亚电子有限公司 | Intelligent dimmer switch |
US20160203705A1 (en) * | 2013-08-19 | 2016-07-14 | Automatice Technology (Australia) Pty Ltd | Remote control device and controller |
CN207099382U (en) * | 2017-07-28 | 2018-03-13 | 东莞科视自动化科技有限公司 | A kind of light-source brightness automatic compensating controller |
CN207638953U (en) * | 2017-10-25 | 2018-07-20 | 上海海梵控制系统有限公司 | A kind of lamp dimmer based on DMX512 agreements and Art-Net agreements |
CN108601153A (en) * | 2018-06-12 | 2018-09-28 | 常州信息职业技术学院 | Tetra- color LED mixed light control methods of RGBW |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110461059A (en) * | 2019-07-29 | 2019-11-15 | 深圳市明微电子股份有限公司 | A kind of digital dimming control chip, digital dimming control circuit and control method |
CN112437516A (en) * | 2020-12-08 | 2021-03-02 | 宁波恒达高智能科技股份有限公司 | Digital timing dimmer control circuit |
Also Published As
Publication number | Publication date |
---|---|
CN109905942B (en) | 2021-05-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN201550318U (en) | Digitized high-performance LED drive power supply | |
CN101459993A (en) | Background lamp apparatus for control panel and control apparatus thereof | |
CN104427699B (en) | LED signal lamp and its LED drive circuit | |
CN109905942A (en) | A kind of LED dim signal control circuit and system | |
CN102695319A (en) | LED stepless light regulating circuit | |
CN208539785U (en) | A kind of negative voltage regulator circuit | |
CN105898926A (en) | LED (Light Emitting Diode) power system and LED driving device thereof | |
CN106354075A (en) | Remote controller control circuit with backlight screen | |
CN201142031Y (en) | Programmable constant-current source output device controlled by single-chip | |
CN201063915Y (en) | LED driving terminal | |
CN105262183A (en) | Power-saving type USB charging structure | |
CN104955251A (en) | Voltage detecting circuit and lamp | |
CN107561991A (en) | A kind of switching on and shutting down management circuit and terminal | |
CN217904258U (en) | OLED power supply circuit | |
CN204559954U (en) | Automobile room lamp | |
CN108879889A (en) | A kind of solar battery MPPT battery charge controller and its charging system | |
CN109951921A (en) | A kind of knob lamp operating circuit and hand-held lamp | |
CN102695320B (en) | Constant-current drive circuit | |
CN212413478U (en) | Control circuit for EMS | |
CN208364451U (en) | A kind of light-adjusting and speed-adjusting circuit and case fan light-adjusting and speed-adjusting system | |
CN103209524B (en) | Lighting control device for LED (Light Emitting Diode) lamp | |
CN110267388A (en) | A kind of high-power intrinsic safety device and explosion-proof lamp | |
CN218830723U (en) | Intelligent control circuit for industrial camera light source | |
CN207678051U (en) | A kind of constant-current dimming protection circuit, constant current driving device and television set | |
CN202930007U (en) | Debugging apparatus for liquid crystal module group backlight system |
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 |