CN104955193B - A kind of LED lamp circuit - Google Patents
A kind of LED lamp circuit Download PDFInfo
- Publication number
- CN104955193B CN104955193B CN201410113929.5A CN201410113929A CN104955193B CN 104955193 B CN104955193 B CN 104955193B CN 201410113929 A CN201410113929 A CN 201410113929A CN 104955193 B CN104955193 B CN 104955193B
- Authority
- CN
- China
- Prior art keywords
- triode
- control chip
- divider resistance
- voltage
- led light
- 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
Links
Landscapes
- Circuit Arrangement For Electric Light Sources In General (AREA)
Abstract
The embodiment of the invention discloses a kind of LED lamp circuits, it include: control chip, at least two driving circuits and respectively LED light corresponding at least two driving circuit, the driving circuit includes the first triode, first divider resistance, second triode, second divider resistance and field-effect tube, wherein, the end PWM of control chip is connected with the base stage of the first triode, the collector of first triode is connected with the base stage of one end of the first divider resistance and the second triode, the collector of second triode is connected with the drain electrode of one end of the second divider resistance and field-effect tube, the drain electrode of field-effect tube is connected with the cathode of LED light, the other end of first divider resistance, the emitter of second triode and the anode of LED light access positive pole, the emitter of first triode, second divider resistance it is another The source electrode of end and field-effect tube accesses power cathode.Using the present invention, may be implemented to switch over control to multiple LED light.
Description
Technical field
The present invention relates to field of circuit control more particularly to a kind of LED lamp circuits.
Background technique
The illumination intensity that some small-power luminaires (such as flashlight) provide at present is relatively simple, i.e., only passes through one
The LED light of rated power provides illumination, whether the then electricity abundance of equipment of itself, can only all provide a kind of intensity of illumination,
The switching of a variety of intensities of illumination cannot be realized according to the demand of user, for example, when user passes through the equipment in dark environment
Thing need to be looked for, it is brighter that user may want to intensity of illumination;For another example, when equipment is under low battery state, if there is still a need for make
When with the equipment, user may want to the LED light lower using rated power, so as to extend light application time.
Summary of the invention
The present invention provides a kind of LED lamp circuit, may be implemented to switch over multiple LED light control, and has and shine
Constant feature.
The embodiment of the invention provides a kind of LED lamp circuits, including control chip, at least two driving circuits and difference
LED light corresponding at least two driving circuit, the control chip at least two driving circuit by sending
Pwm pulse signal to control the light on and off of corresponding LED light,
The driving circuit includes the first triode, the first divider resistance, the second triode, the second divider resistance and field
Effect pipe, wherein the end PWM of the control chip is connected with the base stage of first triode, the collection of first triode
Electrode is connected with the base stage of one end of first divider resistance and second triode, the current collection of second triode
Pole is connected with the drain electrode of one end of second divider resistance and field-effect tube, the drain electrode of the field-effect tube and the LED
The cathode of lamp is connected, the anode of the other end of first divider resistance, the emitter of second triode and the LED light
Access positive pole, the emitter of first triode, the other end of second divider resistance and the field-effect tube
Source electrode access power cathode.
Optionally, the circuit further includes key, and one end of the key is connected with the input terminal of the control chip, institute
State the other end access power cathode of key.
Wherein, when the key is pressed, the input terminal of the control chip receives low level, and then the control
The end PWM of chip exports pwm pulse signal, in which:
When the pwm pulse signal is in low level, the cut-off of first triode, the hair of second triode
The voltage of emitter-base bandgap grading is higher than the voltage of base stage, and then second triode ON, the voltage of the grid of the field-effect tube reach
Turn-on condition, so that the field-effect tube is connected, LED light shines;
When the pwm pulse signal is in high level, the conducting of first triode, the hair of second triode
The voltage of emitter-base bandgap grading is lower than the voltage of base stage, and then second triode ends, the no-voltage of the grid of the field-effect tube, from
And the field-effect tube cut-off, LED light are extinguished.
Optionally, the circuit further includes sampling resistor, and the source electrode of the field-effect tube is accessed by the sampling resistor
Power cathode, the source electrode of the field-effect tube are connected with the sampling end of the control chip.
Wherein, the duty ratio of the pwm pulse signal is higher, then flows through the electric current of the LED light and the sampling resistor
It is smaller, and then the voltage of the sampling end of the control chip is smaller, presets when the voltage of the sampling end of the control chip is lower than
When voltage threshold, the end PWM of the control chip will reduce the duty ratio of the pwm pulse signal of output;
The duty ratio of the pwm pulse signal is lower, then the electric current for flowing through the LED light and the sampling resistor is bigger,
And then the voltage of the sampling end of the control chip is bigger, when the voltage of the sampling end of the control chip is higher than predeterminated voltage threshold
When value, the end PWM of the control chip will increase the duty ratio of the pwm pulse signal of output.
Optionally, the circuit further includes third divider resistance and the 4th piezoresistance, one end of the third divider resistance
Positive pole is accessed, the other end of the 4th divider resistance is connected with one end of the 5th divider resistance, and described 5th point
The other end of piezoresistance accesses power cathode, test side phase of the other end of the 4th divider resistance also with the control chip
Even.
Wherein, if the output electric current of the power supply is less than predetermined current threshold, the electricity of the test side of the control chip
It forces down in the second predetermined voltage threshold, the end PWM of the control chip will export preset pwm pulse signal.
Optionally, the power supply includes battery.
Optionally, the circuit further includes diode, and the cathode of the diode is connected with the anode of the battery, institute
The anode for stating diode is connected with the anode of external power supply, and the cathode of the battery is connected with the cathode of the external power supply,
The electric current of the external power supply passes through the charging of battery described in the diode pair.
It, can be by sending pwm pulse signal at least two driving circuit to control pair in the embodiment of the present invention
The light on and off for the LED light answered switch over control to multiple LED light to realize;Further, the electricity of sampling end can be passed through
The duty ratio of voltage-controlled pwm pulse signal processed, and then it is constant so that LED light is shone;It further, can be with when electric quantity of power supply is too low
It controls the end PWM and exports preset pulse signal, LED light is made to issue standby signal, to issue the user with low battery prompting.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
It obtains other drawings based on these drawings.
Fig. 1 is a kind of circuit diagram of LED lamp circuit provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
Referring to Fig. 1, Fig. 1 is a kind of circuit diagram of LED lamp circuit provided in an embodiment of the present invention.The present invention is implemented
The LED lamp circuit that example provides may be implemented on the low power luminaire such as such as flashlight.The present invention is implemented as shown in Figure 1
LED lamp circuit in example may include control chip, at least two driving circuits and drive electricity with described at least two respectively
The corresponding LED light in road, the control chip is by sending pwm pulse signal at least two driving circuit to control correspondence
LED light light on and off,
The driving circuit includes the first triode, the first divider resistance, the second triode, the second divider resistance and field
Effect pipe, wherein the end PWM of the control chip is connected with the base stage of first triode, the collection of first triode
Electrode is connected with the base stage of one end of first divider resistance and second triode, the current collection of second triode
Pole is connected with the drain electrode of one end of second divider resistance and field-effect tube, the drain electrode of the field-effect tube and the LED
The cathode of lamp is connected, the anode of the other end of first divider resistance, the emitter of second triode and the LED light
Access positive pole, the emitter of first triode, the other end of second divider resistance and the field-effect tube
Source electrode access power cathode.
Optionally, the circuit includes the first driving circuit and corresponding first LED light, the second driving circuit and right
The second LED light answered, wherein first LED light is not identical as the rated power of the second LED light, each specific volume of LED light
Determine power can according to the actual situation depending on.
Optionally, the driving circuit can also include the 5th divider resistance and the 6th divider resistance, wherein the 5th point
Piezoresistance is connected with the collector of the first triode, and the other end of the 5th divider resistance is connected with the base stage of the second triode, the
One end of six divider resistances is connected with the collector of the second triode, the other end of the 6th divider resistance and the grid of field-effect tube
It is connected.
Optionally, the driving circuit can also include filter resistance and filter capacitor, wherein one end of filter resistance with
The end PWM for controlling chip is connected, and the other end of filter resistance and one end of filter capacitor are connected with the base stage of the first triode,
The other end of filter capacitor is grounded, and the filter resistance and filter capacitor form filter circuit, can reduce circuit interference.
Optionally, the circuit further includes key, and one end of the key is connected with the input terminal of the control chip, institute
State the other end access power cathode of key.
Optionally, the circuit further includes sampling resistor, and the source electrode of the field-effect tube is accessed by the sampling resistor
Power cathode, the source electrode of the field-effect tube are connected with the sampling end of the control chip.
Optionally, the circuit further includes third divider resistance and the 4th piezoresistance, one end of the third divider resistance
Positive pole is accessed, the other end of the 4th divider resistance is connected with one end of the 5th divider resistance, and described 5th point
The other end of piezoresistance accesses power cathode, test side phase of the other end of the 4th divider resistance also with the control chip
Even.
Optionally, the circuit further includes voltage stabilizing chip, for providing burning voltage, the voltage stabilizing chip to control chip
Input terminal be connected with the anode of power supply, the output end of the voltage stabilizing chip is connected with the power end of control chip, voltage stabilizing chip
Ground terminal ground connection.
Optionally, the power supply includes battery.
Further, the circuit further includes diode, and the cathode of the diode is connected with the anode of the battery,
The anode of the diode is connected with the anode of external power supply, the cathode phase of the cathode of the battery and the external power supply
Even.
Correspondingly, the electric current of the external power supply passes through the charging of battery described in the diode pair.
Referring to Fig. 1, control chip is U1, and the end PWM is respectively No. 5 pins (PB0) and No. 6 in the embodiment of the present invention
Pin (PB1), input terminal are No. 7 pins (PB2), and test side is No. 2 pins (PB3), and sampling end is respectively No. 3 pins
(PB4) with No. 1 pin (PB5).
First LED light is D2, and the second LED light is D3, and the first driving circuit and the second driving circuit are first point corresponding
Piezoresistance is respectively R3 and R9, and the second divider resistance is respectively R5 and R11, and the first triode is respectively Q1 and Q4, the two or three pole
Pipe is respectively Q2 and Q5, and field-effect tube is respectively Q3 and Q6, and sampling resistor is respectively R6 and R12, and the 5th divider resistance is respectively
R2 and R8, the 6th divider resistance are respectively R4 and R10, and filter resistance is respectively R1 and R7, and filter capacitor is respectively C1 and C2,
In, the first triode is NPN pipe, and the second triode is PNP pipe, and field-effect tube is NMOS tube.
Key is S1, voltage stabilizing chip U2, input terminal Vin, and output end Vout, third divider resistance is R13, the
Four divider resistances are R14, power supply BT, and wherein BT can provide the voltage of 7.4V, and diode D1, diode D1 are for preventing
Current flowing backwards when only charging.
Particularly, the model for controlling chip U1 can be ATtiny13, and the model of voltage stabilizing chip U2 can be LM7805, two
The model of pole pipe can be 1N4148, and power supply BT can be battery.
During specific implementation, when pressing the button S1, the input terminal PB2 of the control chip U1 receives low level,
And then the end PB1 of the control chip exports PWM1 pulse signal, in which:
When the PWM1 pulse signal is in low level, the base stage of the first triode Q1 is cut because of low level
Only, so that the voltage of the emitter of the second triode Q2 is higher than the voltage of base stage, and then the second triode Q2 is connected,
After the second divider resistance R5 partial pressure, the voltage of the grid of the field-effect tube Q3 reaches turn-on condition, so that the field is imitated
Should pipe Q3 conducting, the first LED light D2 shine;
When pressing the button S1 again, the end PB0 of the control chip exports PWM2 pulse signal, the pulse of the end PB1 output
Signal is 0, and the first LED light is extinguished, in which:
When the PWM2 pulse signal is in low level, the base stage of the first triode Q4 is cut because of low level
Only, so that the voltage of the emitter of the second triode Q5 is higher than the voltage of base stage, and then the second triode Q5 is connected,
After the second divider resistance R11 partial pressure, the voltage of the grid of the field-effect tube Q6 reaches turn-on condition, so that the field is imitated
Should pipe Q6 conducting, the second LED light D3 shine;
When pressing the button S1 again, the end PB0 of the control chip and the pulse signal of the end PB1 output are 0, therefore the
Two LED light D3 and the first LED light D2 extinguish.
It should be pointed out that in embodiments of the present invention, press the button D2 for the first time and shine, D2 when pressing the button for the second time
Extinguish, while D3 shines, D3 extinguishes when pressing the button for the third time, and in other embodiments, the luminous sequence of LED light can be it
His sequence, for example, the end PB0 issues PWM2 pulse signal, therefore D3 shines for the first time when pressing the button;It presses the button for the second time
When, the end PB1 issues PWM1 pulse signal, and the pulse signal that PB0 is sent is 0, therefore D2 shines, while D3 extinguishing, etc..
Current constant control implements process are as follows:
The duty ratio of the pwm pulse signal is higher, then the electric current for flowing through the LED light and the sampling resistor is smaller,
And then the voltage of the sampling end of the control chip is smaller, when the voltage of the sampling end of the control chip presets electricity lower than first
When pressing threshold value, the end PWM of the control chip will reduce the duty ratio of the pwm pulse signal of output;
The duty ratio of the pwm pulse signal is lower, then the electric current for flowing through the LED light and the sampling resistor is bigger,
And then the voltage of the sampling end of the control chip is bigger, when the voltage of the sampling end of the control chip is higher than the first default electricity
When pressing threshold value, the end PWM of the control chip will increase the duty ratio of the pwm pulse signal of output.
Low capacity prompt implements process are as follows:
The cathode voltage of internal battery BT exports sample after third divider resistance R13 and the 4th divider resistance R14 partial pressure
The test side PB3/ADC3 of voltage, control chip U1 acquires the sample voltage through third divider resistance R13, in which:
If the output electric current of the power supply is less than predetermined current threshold, test side PB3/ADC3 is through third divider resistance
Sample voltage after R13 acquisition is lower than the second predetermined voltage threshold, then the end PWM for controlling chip exports preset pwm pulse letter
Number, pwm pulse signal is preset by this and controls the luminance of LED light, so that user be prompted to replace battery or right in time in time
Battery charging.
Optionally, which can control LED light flashing, is flashed by LED light and user is reminded to fill in time
Electricity.
It, can be by sending pwm pulse signal at least two driving circuit to control pair in the embodiment of the present invention
The light on and off for the LED light answered switch over control to multiple LED light to realize;Further, the electricity of sampling end can be passed through
The duty ratio of voltage-controlled pwm pulse signal processed, and then it is constant so that LED light is shone;It further, can be with when electric quantity of power supply is too low
It controls the end PWM and exports preset pulse signal, LED light is made to issue standby signal, to issue the user with low battery prompting.
The above disclosure is only the preferred embodiments of the present invention, cannot limit the right model of the present invention with this certainly
It encloses, therefore equivalent changes made in accordance with the claims of the present invention, is still within the scope of the present invention.
Claims (9)
1. a kind of LED lamp circuit, which is characterized in that the circuit includes control chip, at least two driving circuits and difference
LED light corresponding at least two driving circuit, the control chip at least two driving circuit by sending
For pwm pulse signal to control the light on and off of corresponding LED light, the control chip controls institute according to the received sample voltage in test side
LED light luminance is stated to carry out low capacity prompt;
The driving circuit includes the first triode, the first divider resistance, the second triode, the second divider resistance, third partial pressure
Resistance, the 4th divider resistance and field-effect tube, wherein the end PWM of the control chip and the base stage of first triode
It is connected, the collector of first triode and one end of first divider resistance and the base stage phase of second triode
Even, the collector of second triode is connected with the drain electrode of one end of second divider resistance and field-effect tube, described
The drain electrode of field-effect tube is connected with the cathode of the LED light, the other end of first divider resistance, second triode
Emitter and the anode of the LED light access positive pole, the emitter of first triode, second divider resistance
The other end and the source electrode of the field-effect tube access power cathode, and positive pole is accessed in one end of the third divider resistance,
The other end of the third divider resistance is connected with one end of the 4th divider resistance, the other end of the 4th divider resistance
Power cathode is accessed, the other end of the 4th divider resistance is also connected with the test side.
2. circuit as described in claim 1, which is characterized in that the circuit further includes key, one end of the key and institute
The input terminal for stating control chip is connected, and the other end of the key accesses power cathode.
3. circuit as claimed in claim 2, which is characterized in that when the key is pressed, the input of the control chip
Termination receives low level, and then the end PWM of the control chip exports pwm pulse signal, in which:
When the pwm pulse signal is in low level, the cut-off of first triode, the emitter of second triode
Voltage be higher than the voltage of base stage, and then second triode ON, the voltage of the grid of the field-effect tube reach conducting
Condition, so that the field-effect tube is connected, LED light shines;
When the pwm pulse signal is in high level, the conducting of first triode, the emitter of second triode
Voltage be lower than base stage voltage, and then second triode end, the no-voltage of the grid of the field-effect tube, thus institute
Field-effect tube cut-off is stated, LED light is extinguished.
4. circuit as claimed in claim 3, which is characterized in that the circuit further includes sampling resistor, the field-effect tube
Source electrode accesses power cathode, the sampling end phase of the source electrode of the field-effect tube and the control chip by the sampling resistor
Even.
5. circuit as claimed in claim 4, which is characterized in that
The duty ratio of the pwm pulse signal is higher, then the electric current for flowing through the LED light and the sampling resistor is smaller, in turn
The voltage of the sampling end of the control chip is smaller, when the voltage of the sampling end of the control chip is lower than the first predeterminated voltage threshold
When value, the end PWM of the control chip will reduce the duty ratio of the pwm pulse signal of output;
The duty ratio of the pwm pulse signal is lower, then the electric current for flowing through the LED light and the sampling resistor is bigger, in turn
The voltage of the sampling end of the control chip is bigger, when the voltage of the sampling end of the control chip is higher than the first predeterminated voltage threshold
When value, the end PWM of the control chip will increase the duty ratio of the pwm pulse signal of output.
6. circuit as described in claim 1, which is characterized in that if the output electric current of the power supply is less than predetermined current threshold,
Then the voltage of the test side of the control chip is lower than the second predetermined voltage threshold, and the end PWM of the control chip will export pre-
If pwm pulse signal.
7. circuit as described in claim 1, which is characterized in that the power supply includes battery.
8. circuit as claimed in claim 7, which is characterized in that the circuit further includes diode, the cathode of the diode
It is connected with the anode of the battery, the anode of the diode is connected with the anode of external power supply, the cathode of the battery
It is connected with the cathode of the external power supply.
9. circuit as claimed in claim 8, which is characterized in that the electric current of the external power supply passes through described in the diode pair
Battery charging.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410113929.5A CN104955193B (en) | 2014-03-25 | 2014-03-25 | A kind of LED lamp circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410113929.5A CN104955193B (en) | 2014-03-25 | 2014-03-25 | A kind of LED lamp circuit |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104955193A CN104955193A (en) | 2015-09-30 |
CN104955193B true CN104955193B (en) | 2019-04-12 |
Family
ID=54169444
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410113929.5A Active CN104955193B (en) | 2014-03-25 | 2014-03-25 | A kind of LED lamp circuit |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104955193B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106454677A (en) * | 2016-10-09 | 2017-02-22 | 青岛海信电器股份有限公司 | Signal circuit control method and display device |
CN107426864A (en) * | 2017-07-05 | 2017-12-01 | 佛山杰致信息科技有限公司 | LED control circuit |
CN107205300A (en) * | 2017-07-05 | 2017-09-26 | 佛山杰致信息科技有限公司 | Led lamp circuit |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103607006A (en) * | 2013-11-15 | 2014-02-26 | 中科恒源科技股份有限公司 | A charging and discharging reuse circuit |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101305687B1 (en) * | 2011-10-28 | 2013-09-09 | 엘지이노텍 주식회사 | LED Protection Circuit |
-
2014
- 2014-03-25 CN CN201410113929.5A patent/CN104955193B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103607006A (en) * | 2013-11-15 | 2014-02-26 | 中科恒源科技股份有限公司 | A charging and discharging reuse circuit |
Also Published As
Publication number | Publication date |
---|---|
CN104955193A (en) | 2015-09-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101778510B (en) | LED signal indicator light and multipath LED drive circuits thereof | |
CN105338690B (en) | A kind of LED dimming power sources | |
CN104955193B (en) | A kind of LED lamp circuit | |
CN104066237A (en) | LED driving circuit and driving method | |
CN203136242U (en) | LED constant-current circuit with PWM light modulation | |
CN205093002U (en) | LED drive circuit | |
CN204906820U (en) | Automatic constant current drive device and LED lamps and lanterns of balanced LED lamp cross luma degree | |
CN202759635U (en) | Indicating lamp control circuit and television set | |
CN203934047U (en) | A kind of LED drive circuit | |
CN105392247A (en) | LED drive circuit | |
CN207039977U (en) | The control circuit of one key switching seven-color LED lamp effect | |
CN202435015U (en) | Power supply system | |
CN109327934A (en) | A kind of capacitor quick discharging circuit and its implementation | |
CN106027020B (en) | A kind of intelligent double-control switch on wall | |
CN212910120U (en) | LED power supply dimming circuit | |
CN201680198U (en) | LED lamp capable of changing color temperature | |
CN105098878B (en) | The driving circuit of changeable trial mode and normal mode | |
CN104427686A (en) | Lamp and control circuit thereof | |
CN207560409U (en) | A kind of LED light modulating devices | |
CN202750306U (en) | Reference adjustability-based LED constant-current dimming circuit | |
CN206790732U (en) | A kind of new light adjusting circuit of adjustable dim light electric current | |
CN204887608U (en) | LED lamp is extinguish in time delay | |
CN105163436A (en) | Linear constant-current driving device for brightness equilibrium of light emitting diode (LED) string and driving method of the linear constant-current driving device | |
CN207399574U (en) | A kind of constant current LED drive circuit | |
CN102843818A (en) | Residual light circuit of light-emitting diode |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | 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 |