Summary of the invention
The present invention provides a kind of flash lamp module and terminal, to reduce flashlight driving circuit system complexity and at
This.
The embodiment of the present invention provides a kind of flash lamp module, comprising: the drive of the first flash lamp, driving first flash lamp
Dynamic chip;
First input pin of the driving chip is electrically connected with the power bus VBUS of terminal, and the of the driving chip
One output pin is electrically connected with first flash lamp;
The driving chip is used for the output by controlling the voltage of VBUS to control the work of first flash lamp.
Optionally, the first output pin of the driving chip is electrically connected with the anode of first flash lamp;
The absorption pin of the driving chip is electrically connected with the cathode of first flash lamp.
Optionally, further includes: the second flash lamp and control switch;
The anode of second flash lamp is electrically connected by the control switch with the battery circuit of the terminal;
The cathode of second flash lamp is electrically connected with the absorption pin of the driving chip.
Optionally, the control terminal of the control switch is electrically connected with the first input pin of the driving chip, the control
The first end of system switch is electrically connected with the battery circuit, and the second end of the control switch is electrically connected with second flash lamp
It connects;
The control switch, for controlling the battery circuit and described second according to the state of first input pin
Connected state between flash lamp.
Optionally, the cathode of the cathode of first flash lamp and second flash lamp and the driving chip is same
A absorption pin electrical connection.
Optionally, first flash lamp is N number of;N is the positive integer greater than 1;N number of first flash lamp respectively with institute
State N number of absorption pin electrical connection;
Second flash lamp is M;M is the positive integer greater than 1;The M the second flash lamps are inhaled with described M respectively
The electrical connection of spasm foot.
Optionally, the driving chip further include:
For receiving the control pin of control signal;
The driving chip is also used to control first flash lamp and/or second flash of light according to the control signal
The operating mode of lamp.
Optionally, further includes:
First resistor be electrically connected with the first of the driving chip the setting pin, for be arranged first flash lamp with
Maximum operating currenbt when the second flash lamp continuous illumination;
Second resistance be electrically connected with the second of the driving chip the setting pin, for be arranged first flash lamp with
Maximum operating currenbt when the second flash lamp flashing.
Optionally, the driving chip further include:
Third input pin, the third input pin and the end cell circuit connection, for being the driving core
Piece power supply.
Optionally, first flash lamp is postposition flash lamp, and second flash lamp is preposition flash lamp.
The embodiment of the present invention provides a kind of terminal, comprising: flash lamp module as described in any one of the above embodiments.
To sum up, the embodiment of the present invention provides a kind of flash lamp module and terminal, wherein flash lamp module includes: the first sudden strain of a muscle
Light lamp, the driving chip for driving the first flash lamp;First input pin of driving chip and the power bus VBUS of terminal are electrically connected
It connects, the first output pin of driving chip is electrically connected with the first flash lamp;Driving chip is used for through the defeated of control voltage of VBUS
The work of the first flash lamp is controlled out.Terminal voltage of VBUS is higher compared to cell voltage, and size can satisfy the first sudden strain of a muscle
First input pin of requirement of the light lamp to driving voltage, driving chip is electrically connected with terminal VBUS, can directly utilize terminal
VBUS provides sufficiently high voltage of VBUS for flash lamp to drive the first flash lamp operation, and passes through booster circuit in the prior art
The scheme for boosting to reach requirement of first flash lamp to driving voltage for cell voltage is compared, provided in an embodiment of the present invention
Flash lamp module does not need additional booster circuit, so that circuit structure is more simplified, cost is cheaper.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention make into
It is described in detail to one step, it is clear that the described embodiments are only some of the embodiments of the present invention, rather than whole implementation
Example.Based on the embodiments of the present invention, obtained by those of ordinary skill in the art without making creative efforts
All other embodiment, shall fall within the protection scope of the present invention.
Fig. 2 is that a kind of flash lamp provided in an embodiment of the present invention drives modular structure schematic diagram, as shown in Figure 2, comprising: the
One flash lamp 2, the driving chip 1 for driving the first flash lamp 2;First input pin 11 of driving chip 1 and the power supply of terminal are total
First output pin 12 of line VBUS electrical connection, driving chip 1 is connect with the first flash lamp electricity 1;Driving chip 1 is for passing through control
Voltage of VBUS processed exports to control the work of the first flash lamp 2.In specific implementation process, driving chip 1 can be existing sudden strain of a muscle
Commonly it is also possible to real according to the present invention with the driving chip of control function such as chip AP3267 in light lamp drive circuit
Special chip provided by example or practical application scene is applied, effect is that the first flash of light is controlled by the control to output voltage
The work of lamp 2.First flash lamp 2 above can be the flash of light of camera, mobile phone, computer, camera etc. electric terminal in application
Lamp, generally Light-Emitting Diode (Light-Emitting Diode, LED).It should be understood that the first flash lamp 2 is grounded only table in Fig. 2
Show the flow direction of 2 operating current of the first flash lamp, specific earthing mode either the first flash lamp 2 is directly grounded,
It is also possible to the first flash lamp 2 and connects driving chip 1, is grounded by the earthed circuit in driving chip 1.It is normal in driving chip 1
When driving chip, the first input pin 11 can be switch control pin (SW), and the first output pin 12 can be output
Voltage pin (VOUT).
Terminal voltage of VBUS is higher compared to cell voltage, and size can satisfy the first flash lamp and want to driving voltage
It asks, the first input pin of driving chip is electrically connected with terminal VBUS, directly can provide foot using terminal VBUS for flash lamp
Enough high voltage of VBUS to drive the first flash lamp operation, in the prior art by booster circuit be cell voltage boosting to
The scheme for reaching requirement of first flash lamp to driving voltage is compared, and flash lamp module provided in an embodiment of the present invention does not need volume
Outer booster circuit, so that circuit structure is more simplified, cost is cheaper.
More specifically, as shown in Fig. 2, driving chip 1 and the first flash lamp 2 can connect in the following manner in flash lamp module
Connect: the first output pin 12 of driving chip 1 is electrically connected with the anode of the first flash lamp 2;The absorption pin D of driving chip 1 with
The cathode of first flash lamp 2 is electrically connected.
With the development of terminal technology, more and more terminals support portable (On The Go, OTG) function, OTG skill
Art is primarily referred to as in the case where no host, realizes the technology of the data transmission of equipment room.Such as pass through OTG technology, connection
The USB interface of digital camera and printer, digital camera is directly connected on printer, and the photograph taken is printed immediately
Come;In another example being sent the data in digital camera on mobile hard disk, field operation is just not necessarily to by OTG technology
Carry expensive storage card, or one portable computer of back.Due to there is no host, the terminal of OTG function is supported to exist
Has the function of a VBUS exclusively for OTG power supply in its OTG functional module more.Applicant by lot of experiments find,
VBUS output voltage with higher in OTG functional module, or even up to 30V, select suitable VBUS output voltage big
The small requirement that can directly meet the first flash lamp of terminal 2 to driving voltage.
Therefore, in embodiments of the present invention, the first input pin 11 of driving chip 1 is electrically connected with terminal VBUS, can be with
It is directly that the first flash lamp 2 provides sufficiently high voltage of VBUS to drive the first flash lamp 2 to work using terminal VBUS, and it is existing
It is boosted for cell voltage to reach the scheme phase of requirement of first flash lamp 2 to driving voltage in technology by booster circuit
Than, flash lamp module provided in an embodiment of the present invention does not need additional booster circuit, so that circuit structure is more simplified, cost
It is cheaper.
In existing terminal device, often there is a kind of flash lamp incessantly, phones with mobile telephone Ru common, generally with preceding flash of light
With two kinds of flash lamps of rear flash lamp.Therefore, optionally, flash lamp module provided by the embodiment of the present invention further include: second dodges
Light lamp and control switch.Fig. 3 is a kind of second flash lamp provided in an embodiment of the present invention and control switch attachment structure schematic diagram,
As shown in figure 3, the anode of the second flash lamp 3 is electrically connected by control switch 4 with the battery circuit of terminal, wherein VBAT is terminal
Cell voltage;The cathode of second flash lamp 3 is electrically connected with the absorption pin D of driving chip 1.In specific implementation process, second
Flash lamp 3 is flash lamp lower to driving voltage requirement, can directly being driven by VBAT.
Optionally, the first flash lamp 2 is postposition flash lamp, and the second flash lamp 3 is preposition flash lamp.Generally terminal is preposition
Flash lamp driving voltage is required it is lower, can be directly by VBAT driving, and postposition flash lamp is to the more demanding of driving voltage,
It can be driven by voltage of VBUS.Certainly, the preposition flash lamp of adjustment and postposition flash lamp can be corresponded to for the terminal of special designing
Position in flash lamp module.
Flash lamp module provided by the embodiment of the present invention is just realized by a driving chip to two flash lamps
Driving.In the prior art, to use flashlight driving circuit drive the work of two flash lamps or use it is special
Two-way flash lamp driving chip or in addition increase by one driving the second flash lamp driving chip, no matter any all bands
The problem of having carried out increased costs.And to use a driving chip while driving two flash lamps, it needs to switch using switching
Carry out the switching of two flash lamp branches, such way needs external addition two-way switching switch, but also need it is external into
Row control.It can be seen that compared with prior art, not only structure is simpler for flash lamp module disclosed in the embodiment of the present invention
Single, cost is also cheaper.
On the basis of flash lamp module shown in Fig. 3, the embodiment of the present invention further provides a kind of control switch
Feasible implementation.Fig. 4 is a kind of control switch attachment structure schematic diagram provided in an embodiment of the present invention, as shown in figure 4, dodging
The control terminal 41 of control switch 4 is electrically connected with the first input pin 11 of driving chip 1 in light lamp mould group, and the of control switch 4
One end 42 is electrically connected with battery circuit, and the second end 43 of control switch is electrically connected with the second flash lamp 3;Control switch 4 is used for root
The connected state between battery circuit and the second flash lamp 3 is controlled according to the state of the first input pin 11.When the first input pin
When 11 input voltage of VBUS, illustrate that the first flash lamp 2 is working, at this point, shape of the control switch 4 according to the first input pin 11
State disconnects the connection between battery circuit and the second flash lamp 3, makes the second flash lamp 3 that can not shine.When the first input pin 11
When not inputting voltage of VBUS, illustrate that the first flash lamp 2 is not working, at this point, shape of the control switch 4 according to the first input pin 11
State makes to be connected between battery circuit and the second flash lamp 3, and then the second flash lamp 3 is enable to issue in the control of driving chip 1
Light.It can be shone simultaneously to avoid the first flash lamp 2 and the second flash lamp 3 using control switch 4 provided by the embodiment of the present invention
The case where, it is suitable for the routine use habit of user.
Optionally, the same absorption pin electricity of the cathode and driving chip of the cathode of the first flash lamp and the second flash lamp
Connection.Fig. 4 is a kind of absorption pin connected mode schematic diagram provided in an embodiment of the present invention, as shown in figure 4, the first flash lamp 2
Cathode and the cathode of the second flash lamp 3 and the same absorption pin D of driving chip 1 be electrically connected, flash lamp module passes through drive
The Power Groud pin (PGND) and simulation ground pin (AGND) of dynamic chip 1 are grounded.Absorb the negative electricity that pin D receives flash lamp
Stream, operating current of the driving chip by cathodal current control flash lamp, the electricity so that flash lamp works as defined in the driving chip
It flows down luminous.In the flash lamp module provided by the embodiment of the present invention, the first flash lamp 2 and the second flash lamp 3 will not be simultaneously
It shines, therefore, the operating current that pin D controls the first flash lamp 2 and the second flash lamp 3 simultaneously can be absorbed by one, from
And save pin occupancy.
In the specific implementation process, the intensity that a flash lamp individually shines may be unable to reach use demand.Therefore, exist
On the basis of flash lamp module shown in Fig. 4, optionally, the first flash lamp is N number of;N is the positive integer greater than 1;N number of first dodges
Light lamp is electrically connected with N number of absorption pin respectively;Second flash lamp is M;M is the positive integer greater than 1;M the second flash lamps point
It is not electrically connected with M absorption pin.Fig. 5 is provided in an embodiment of the present invention a kind of with multiple first flash lamps and the second flash of light
The flash lamp module structural schematic diagram of lamp, as shown in figure 5, the first flash lamp 2 has 3 in flash lamp module, cathode respectively with
Absorb pin D1, D2 and D3 electrical connection;There are two second flash lamps 3, and cathode is electrically connected with absorption pin D2 and D3 respectively.
In the flash lamp module provided by the embodiment of the present invention, driving chip controls the first flash lamp and the second flash lamp
Work.Optionally, driving chip further include: for receiving the control pin of control signal;Driving chip is also used to according to control
Signal processed controls the operating mode of the first flash lamp and/or the second flash lamp.Generally, the operating mode of a flash lamp is generally
Continuous illumination and flashing can be divided into, it certainly, can also be to the work of flash lamp according to luminous intensity and scintillation time interval
Operation mode further segments.A kind of feasible implementation, the control pin of driving chip include that flash mode enables pin
(ENF) it being enabled two kinds of pin (ENM) with torch mode, ENF pin receives the control signal of control flash lamp flashing,
ENM pin receives the control signal of control flash lamp continuous illumination.When ENF input voltage is high level, ENM input voltage is low
When level, flash lamp flashing;When ENF input voltage is low level, and ENM input voltage is high level, flash lamp is lasting
It shines.It further, can also be by adjusting for the flash lamp module with multiple first flash lamps and the second flash lamp
It controls signal and realizes the light on and off for controlling single flash lamp, such as flash lamp module shown in fig. 5, it is assumed that control switch at this time
4 disconnect, if inputting 010 signal in the ENF pin of driving chip 1 in Fixed Time Interval, the in three the first flash lamps 2
Two the first flash lamps 2 shine.
It optionally, further include first resistor and second resistance in flash lamp module provided by the embodiment of the present invention.Its
In, first resistor is electrically connected with the first setting pin of driving chip, continues for the first flash lamp and the second flash lamp to be arranged
Maximum operating currenbt when shining;Second resistance is electrically connected, for the first flash of light to be arranged with the second setting pin of driving chip
Maximum operating currenbt when lamp and the second flash lamp flashing.In specific implementation process, when the absorption received flash lamp of pin
When cathodal current is higher than the maximum operating currenbt that first resistor or second resistance are arranged, driving chip, which automatically controls, reduces flash lamp
Operating current size is to realize the protection to flash lamp module.
Optionally, in flash lamp module provided by the embodiment of the present invention, driving chip further include: third input pin,
Third input pin and end cell circuit connection, for powering for driving chip.It, can be with moreover, powered using battery circuit
Ensure only use driving chip when end cell is in place.
In order to more further illustrate that flash lamp module provided by the embodiment of the present invention, the embodiment of the present invention also provide following
A kind of possible implementation.It should be understood that a kind of following possible realization invention is only to illustrate the embodiment of the present invention, do not represent
The embodiment of the present invention is only applicable in or only includes a kind of following situation.
A kind of possible implementation
Fig. 6 is that a kind of flash lamp module provided in an embodiment of the present invention realizes structural schematic diagram, as shown in fig. 6, flash lamp
For the first flash lamp to dodge after terminal, the first input pin of driving chip is SW pin in mould group, is electrically connected, drives with the VBUS of terminal
First output pin of dynamic chip is VOUT pin, is connect with rear lightning.Wherein, SW pin is two, it is possible to increase driving chip
Conveyance capacity, pin is usually served as using two SW pins and is used, VOUT pin also there are two, also for increasing
The conveyance capacity of big driving chip generally acts as a pin and uses.
In flash lamp module shown in Fig. 6, the second flash lamp is dodges before terminal, totally two, control switch is transistor
Q1.The anode of preceding sudden strain of a muscle is electrically connected by Q1 with end cell circuit, and cathode is electrically connected with absorption pin D1, D2 of driving chip.
Control switch Q1 is PNP transistor, and grid is electrically connected with the SW pin of driving chip, and source electrode is electrically connected with battery circuit, leakage
Pole is electrically connected with the anode of preceding sudden strain of a muscle.When SW pin inputs VBUS signal, Q1 grid is high voltage, Q1 cut-off, so that battery is electric
Lu Yuqian dodges connection and disconnects;When SW stop input VBUS signal when, Q1 grid be low-voltage, Q1 conducting so that battery circuit with
Preceding sudden strain of a muscle connection.
In flash lamp module shown in Fig. 6, rear dodge also is two, and rear dodge occupies two absorption pins with preceding sudden strain of a muscle altogether,
It absorbs pin D1 and is electrically connected with the cathode dodged before one is dodged after one of them, dodged before absorbing pin D2 and dodging one after one of them
Cathode electrical connection.
It further include control pin ENF and ENM, for receiving control signal in flash lamp module shown in Fig. 6.
In flash lamp module shown in Fig. 6, the first setting pin is that pin (RSETM) is arranged in torch mode electric current,
First resistor is RSETM, the second setting pin is that pin (RSETF) is arranged in flash mode electric current, second resistance RSETF。
In flash lamp module shown in Fig. 6, the third pin of driving chip is Vin pin, with end cell circuit
Electrical connection, for powering for driving chip.
It further include multiple filter capacitors, for the direct current in flash lamp module in flash lamp module shown in Fig. 6
It is filtered.
Based on the same technical idea, the embodiment of the present invention also provides a kind of terminal, which includes any of the above-described implementation
Flash lamp module provided by example.Its specific implementation can refer to above-described embodiment, and the application no longer repeats this one by one.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic
Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as
It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to include these modifications and variations.