Utility model content
In view of in place of above-mentioned the deficiencies in the prior art, the purpose of this utility model is to provide a kind of flash lamp control electricity
Road, it is intended to solve existing electric current of flash lamp regulation inconvenience, the problem of cost is high.
In order to achieve the above object, the utility model takes following technical scheme:
A kind of flash control circuit, wherein, including:
LED flash;
First resistor for adjusting LED flash electric current changes module;
Regulating filtering module for carrying out voltage regulation filtering to supply voltage;
The second resistance change module for obtaining control electric current is adjusted for the output current to universal input output end;
Flash of light lamp control module for controlling LED flash electric current according to control electric current correspondence;
The anode of the LED flash changes module by first resistor and connects power voltage terminal, the LED flash
Anode also passes sequentially through first resistor change module and regulating filtering module ground connection;The negative electrode of the LED flash is passed sequentially through
Glisten lamp control module and second resistance change module connection universal input/output terminal;The negative electrode of the LED flash also passes through
The lamp control module that glistens is grounded.
Described flash control circuit, wherein, the flash of light lamp control module includes:Triode and pull down resistor;Institute
The colelctor electrode for stating triode connects the negative electrode of LED flash;The grounded emitter of the triode;The base stage of the triode is led to
Cross second resistance change module connection universal input/output terminal;The base stage of the triode is also grounded by pull down resistor.
Described flash control circuit, wherein, the triode is NPN triode.
Described flash control circuit, wherein, the first resistor change module includes:First changes in resistance;It is described
One end of first changes in resistance connects the anode of LED flash, other end connection power voltage terminal.
Described flash control circuit, wherein, the second resistance change module includes:First resistor change unit and
Second resistance change unit;One end connection flash of light lamp control module of the first resistor change unit, other end connection first
General input/output port;One end connection flash of light lamp control module of the second resistance change unit, other end connection second is led to
Use input/output port.
Described flash control circuit, wherein, the first resistor change unit includes the second changes in resistance;Described
One end connection flash of light lamp control module of two changes in resistance, the other end connects the first general input/output port.
Described flash control circuit, wherein, the second resistance change unit includes the 3rd changes in resistance;Described
One end connection flash of light lamp control module of three changes in resistance, the other end connects the second general input/output port.
Described flash control circuit, wherein, the regulating filtering module includes voltage regulation unit and filter unit;It is described
One end of voltage regulation unit changes the anode that module connects LED flash, other end ground connection by first resistor;The filter unit
One end pass through first resistor change module connect LED flash anode, the other end ground connection.
Described flash control circuit, wherein, the voltage regulation unit includes the first electric capacity;One end of first electric capacity
Connect power voltage terminal, other end ground connection.
Described flash control circuit, wherein, the filter unit includes the second electric capacity;One end of second electric capacity
Connect power voltage terminal, other end ground connection.
A kind of flash control circuit provided compared to prior art, the utility model, efficiently solves existing sudden strain of a muscle
The regulation of light lamp current is inconvenient, the problem of cost is high, including:LED flash;The first electricity for adjusting LED flash electric current
Resistive module;Regulating filtering module for carrying out voltage regulation filtering to supply voltage;For to the defeated of universal input output end
Go out electric current and the second resistance change module for obtaining control electric current is adjusted;For according to control electric current correspondence control LED
The flash of light lamp control module of electric current of flash lamp;The anode of the LED flash changes module by first resistor and connects power supply electricity
Pressure side, the anode of the LED flash also passes sequentially through first resistor change module and regulating filtering module ground connection;The LED
The negative electrode of flash lamp passes sequentially through flash of light lamp control module and second resistance change module connection universal input/output terminal;It is described
The negative electrode of LED flash is also grounded by the lamp control module that glistens;Module and second resistance changing pattern are changed by first resistor
Block can adjust the electric current of LED flash, realize the flexible modulation to LED flash electric current, very convenient, and need not use
Integrated IC, greatlys save cost, brings and greatly facilitates, with larger application prospect.
Embodiment
The utility model provides a kind of flash control circuit, to make the purpose of this utility model, technical scheme and effect
Clearer, clear and definite, the utility model is further described the embodiment that develops simultaneously referring to the drawings.It should be appreciated that herein
Described specific embodiment only to explain the utility model, is not used to limit the utility model.
Referring to Fig. 1, Fig. 1 is the circuit diagram of the utility model flash control circuit preferred embodiment.As schemed
Show, the flash control circuit, including:LED flash 110;First resistor for adjusting the electric current of LED flash 110 becomes
Change module 120;Regulating filtering module 130 for carrying out voltage regulation filtering to supply voltage;For to universal input output end
The second resistance change module 140 for obtaining control electric current is adjusted in output current;For being controlled according to control electric current correspondence
The flash of light lamp control module 150 of the electric current of LED flash 110 processed;
The anode of the LED flash 110 is described by the first resistor change connection power voltage terminal of module 120 VBAT
The anode of LED flash 110 also passes sequentially through first resistor change module 120 and regulating filtering module 130 is grounded;The LED
The negative electrode of flash lamp 110 passes sequentially through flash of light lamp control module 150 and the second resistance change connection universal input and output of module 140
End(FLASH3_EN and FLASH1_EN shown in Fig. 1, that is, GPIO mouthfuls);The negative electrode of the LED flash 110 also passes through
Flash of light lamp control module 150 is grounded.
Specifically, the supply voltage is provided by power voltage terminal VBAT, the power supply electricity of consumer electronics product
Pressure is generally 5V or 12V, that is, the voltage that battery is provided.Preferably, VBAT networks cabling is more than 15MIL, is so provided
Electric current just enough LED flash use.And universal input output end, i.e. GPIO mouthful, this is connecing for the CPU of consumer electronics
Mouthful, in the prior art, when user will use LED flash, sending the corresponding LED flash that outputs current to by GPIO mouthfuls enters
Row is controlled, and LED flash has multiple mode of operations, for example Flash Mode or torch mode.
As shown in figure 1, the output signal of the power voltage terminal VBAT carries out voltage stabilizing filter by regulating filtering module 130
Ripple, also flows through LED flash 110 after first resistor change module 120 and flash of light lamp control module 150 is grounded, then,
When adjusting the resistance of first resistor change module 120, then the electric current of LED flash 110 can be corresponded to and changed, that is to say, that passed through and adjusted
The resistance size for saving first resistor change module 120 can adjust the electric current of LED flash, and this is a kind of regulation of the present utility model
Mode.On the other hand, flash lamp is entered after the output current of universal input output end changes module 140 through second resistance and controls mould
Block 150, and the correspondence connection LED flash 110 of lamp control module 150 that glistens, so, module are changed by adjusting second resistance
140 resistance size, just can correspond to the electric current for adjusting LED flash 110, this is second of regulative mode of the present utility model.
In practical application, first resistor change module 120 and second resistance change module 140 can use variable resistor, swept resistance
Change in resistance is realized etc. mode.
The flash control circuit that the utility model is provided, does not use integrated IC to control LED, using above-mentioned control circuit
Easy to adjust to control the electric current of LED flash, flexibly, control effect is good;And due to not using integrated IC, cause cost big
Big reduction, and when using torch mode, can be by adjusting resistance so that electronic product temperature rise is controllable;Glistened using LED
During lamp, current range is wide, when can reach LED normal works more than current value, thus flash effect is good, it is to avoid flash lamp vacation is dodged
Phenomenon is produced, and is brought and is greatly facilitated to user.
Please continue to refer to Fig. 1, it is preferable that the flash of light lamp control module 150 includes:Triode Q1 and pull down resistor R4;
The colelctor electrode of the triode Q1 connects the negative electrode of LED flash 11;The grounded emitter of the triode Q1;The triode
Q1 base stage changes the connection universal input/output terminal of module 140 by second resistance;The base stage of the triode Q1 is also under
Pull-up resistor R4 is grounded.In practical application, the flash of light lamp control module is triode, pass through the ON-OFF work(of triode
Can, regulation second resistance can be achieved and changes the change in resistance of module 140, that is, the size of control electric current is adjusted, realize that LED dodges
Shut-off or conducting between the negative electrode and ground of light lamp 110, that is, realize the switching function of LED flash.Further, it is described
Triode Q1 also has enlarging function, changes the resistance of module 140 by adjusting second resistance, can be by the moon of LED flash 110
Current amplifier between pole and ground, that is, cause the Current amplifier of LED flash, realize the electric current to LED flash 110
Regulation, it is to avoid the false sudden strain of a muscle situation of flash lamp occurs, here it is the switching function and current control work(of flash of light lamp control module 150
Energy.Preferably, the triode is NPN triode.In practical application, triode uses MMBT2222AWT1G, band is put
Big function.Certainly in practical application, three poles in the utility model can also be replaced using PNP triode and metal-oxide-semiconductor etc.
Pipe, is according to cost consideration, using triode herein.Other realize that the circuit devcie of said function is replaced and deformed all in this reality
Within new protection domain.
Preferably, the first resistor change module 120 includes:First changes in resistance R1;The first changes in resistance R1
One end connect the anode of LED flash 110, other end connection power voltage terminal VBAT.Specifically, first resistor changing pattern
The resistance of block 120 is adjustable, can be realized using the first transformation resistance R1, during practical application, can using corresponding swept resistance or
A variety of circuit modes such as variable resistor are realized.
Preferably, the second resistance change module 140 includes:First resistor change unit 141 and second resistance change
Unit 142;One end connection flash of light lamp control module 150 of the first resistor change unit 141, other end connection first is general
Input/output port FLASH3_EN;One end connection flash of light lamp control module 150 of the second resistance change unit 142, the other end
Connect the second general input/output port FLASH1_EN.Specifically, in the control electric current of regulation flash of light lamp control module 150,
It is exactly triode Q1 base current aspect, can be adjusted using one GPIO mouthfuls of output current, can also uses two
GPIO mouthfuls of output current is adjusted, this be in order to realize the control to LED flash multiple-working mode, just using two
Individual GPIO mouthfuls output current, the different flash lamp operation pattern of different GPIO mouths correspondence associations.It is corresponding, in each GPIO
All it is in series with resistance variations unit to adjust the electric current of respective circuit on the circuit of the output current of mouth, finally collects and be input to sudden strain of a muscle
Light lamp control module 150.In practical application, the output current on GPIO can also be adjusted by hardware adjustments by software
Section.
Further, the first resistor change unit 141 includes the second changes in resistance R2;The second changes in resistance R2
One end connection flash of light lamp control module 150, the other end connect the first general input/output port FLASH3_EN.Specifically,
It is the second changes in resistance R2 one end connecting triode Q1 base stage, the other end connects GPIO mouthfuls.
Further, the second resistance change unit 142 includes the 3rd changes in resistance R3;The 3rd changes in resistance R3
One end connection flash of light lamp control module 150, the other end connect the second general input/output port FLASH1_EN.Specifically,
Three changes in resistance R3 and the second changes in resistance R2 are similar.It is equal on above three resistance transformable changes in resistance R1, R2 and R3
It can be realized using a variety of circuit modes.
Preferably, the regulating filtering module 130 includes voltage regulation unit 131 and filter unit 132;The voltage regulation unit
131 one end changes the anode that module 120 connects LED flash 110, other end ground connection by first resistor;The filtering is single
One end of member 132 changes the anode that module 120 connects LED flash 110, other end ground connection by first resistor.Specifically,
What voltage regulation unit 131 was played is pressure stabilization function, and it is filter action that filter unit 132, which is played, and this is both for supply voltage
Signal carries out voltage regulation filtering, in practical application, both of which has a variety of circuit implementations.
Preferably, in order to reduce cost, the voltage regulation unit 131 includes the first electric capacity C1;The one of the first electric capacity C1
End connection power voltage terminal VBAT, other end ground connection.Similarly, further, the filter unit 132 includes the second electric capacity C2;
One end connection power voltage terminal VBAT of the second electric capacity C2, other end ground connection.
Please continue to refer to Fig. 1, the utility model is described in detail with Application Example below as follows.
Power voltage terminal VBAT connects battery-end, and the first electric capacity C1 primarily serves pressure stabilization function, and the second electric capacity C2 can basis
Corresponding small capacitances are needed to use to play a part of filtering.First changes in resistance R1 is current-limiting resistance, can be somebody's turn to do by regulation
The big minor adjustment flash lamp LED of resistance of resistance electric current.Triode uses MMBT2222AWT1G, with enlarging function;And
Second changes in resistance R2, the 3rd changes in resistance R3 is current-limiting resistance, can make three poles by adjusting the two resistance sizes
The input of pipe(Namely base stage)Curent change, so as to control triode multiplication factor.Pull down resistor R4 resistance is 100K,
It transistor base is in low level state by default, be closed triode, then corresponding
Flash lamp LED is closed.And FLASH1_EN preferably connects with the two ports of FLASH3_EN and supports 4/8/12/16mA's
GPIO mouthfuls, so exportable current range is than being easy to software adjustment if larger.
Please continue to refer to Fig. 1, R1 is pasted into 0 Europe(Namely turn on, then R1 is approximately wire), R2 sky patches(Namely disconnect,
Then the circuit where R2 disconnects), under the conditions of GPIO mouthfuls of output currents are 8mA, with the change transistor collector electricity of R3 resistances
Ic, base current Ib, triode multiplication factor β respective values are flowed as shown in Fig. 2 Fig. 2 is the utility model flash control circuit
Corresponding transistor parameter graph of a relation when resistance is adjusted in Application Example.Circuit of the present utility model can make flash lamp take pictures
When electric current reach 500MA, and adjustable, preflashing electric current can also be adjusted.
Like this, if fixed R1 pastes 0 Europe(Namely R1 is turned on, and is similar to wire), GPIO mouthfuls of output currents are 8mA bars
Part, can adjust the electric current of flash lamp by changing R2 with R3 resistance respectively, it is also possible to be passed through by mounting hardware soft
The mode that part adjusts GPIO mouthfuls of output current controls output current, so as to adjust the electric current of flash lamp.
In practical application, being controlled by software design patterns under torch mode using FLASH3_EN paths, in preflashing mould
Controlled under formula with path FLASH1_EN.It should be noted that when enabling for one GPIO mouthfuls, another GPIO mouthfuls must be configured to
High-impedance state.So, even if without using expensive integrated IC, output 530MA or so electric current can be also reached, while can also be very square
Just the electric current of regulation Flash Mode;The pattern of temperature rise is tested for driving flashlight, flashlight electric current can be suitably adjusted, from
And temperature rise is controlled, that is, complete machine temperature rise during control long-time opening flash lamp.
In summary, a kind of flash control circuit that the utility model is provided, including:LED flash;For adjusting
The first resistor change module of LED flash electric current;Regulating filtering module for carrying out voltage regulation filtering to supply voltage;For
The output current of universal input output end is adjusted and obtains the second resistance of control electric current and changes module;For according to described
The flash of light lamp control module of control electric current correspondence control LED flash electric current;The anode of the LED flash passes through first resistor
Change module connection power voltage terminal, the anode of the LED flash also passes sequentially through first resistor change module and voltage stabilizing filter
Ripple module ground;The negative electrode of the LED flash passes sequentially through flash of light lamp control module and second resistance change module connection is logical
Use input/output terminal;The negative electrode of the LED flash is also grounded by the lamp control module that glistens;Module is changed by first resistor
And second resistance change module can adjust the electric current of LED flash, realize the flexible modulation to LED flash electric current, ten
Divide convenient, and integrated IC need not be used, greatly save cost, bring and greatly facilitate, with larger application prospect.
It is understood that for those of ordinary skills, can according to the technical solution of the utility model and
The design of its utility model is subject to equivalent substitution or change, and all these changes or replacement should all belong to appended by the utility model
Scope of the claims.