The content of the invention
The utility model is in order to solve technical problem existing for above-mentioned prior art, there is provided a kind of preliminary filling indicator lamp control electricity
Road includes charging indicator light LED100, resistance R100, R102, switch Mos pipe Q100, diode D100, D103;The diode
D100 positive pole meets 5V charge power supplies end VCHG, and negative pole is sequentially connected in series charging indicator light LED100 and resistance R100 is followed by switching
Mos pipes Q100 D poles, switch Mos pipes Q100 S poles ground connection;A resistance R102 termination 5V charge power supplies end VCHG, the other end
Diode D103 positive pole is connect, diode D103 negative pole connects the G poles of switch Mos pipes.
On the basis of the above, in addition to switch Mos pipe Q101, diode D102, resistance R101;The switch Mos pipes
Between Q101 D poles connecting resistance R102 and diode D103 positive pole, switch Mos pipes Q101 S poles ground connection, switch Mos pipes
Q101 G poles meet the GPIO interface LED_EN_2 of electronic product mainboard chip, and diode D102 positive pole connects electronic product mainboard
The GPIO interface LED_EN_1 of chip, diode D102 negative pole be connected on diode D103 negative pole and switch Mos pipes G poles it
Between, then be grounded by resistance R101.
Further comprise diode D101, diode D101 positive pole meets power end VBAT, and negative pole is connected on diode
Between D100 negative pole and charging indicator light LED100.
Circuit structure of the invention is simple, cost is low and function-stable, passes through 2 grades of control circuits, indication LED, current limliting electricity
Resistance, diode forward turning circuit, to realize switching.It can not only realize that preliminary filling indicates bright light, and can meet normally to fill
In the case of electric and uncharged, indicator lamp works as usual.
Embodiment
The utility model is further illustrated below in conjunction with the accompanying drawings.
As shown in figure 1, the preliminary filling indicating lamp control circuit that an embodiment of the present utility model proposes, including charging indicator light
LED100, resistance R100, R101, R102, switch Mos pipe Q100, Q101, diode D100, D101, D102, D103.
Wherein, 5V charge power supplies end VCHG is charged by the straight charging source either USB interface such as computer, charger baby, 5V
The tunnels of charge power supply end VCHG mono- connect diode D100 positive pole, and diode D100 negative pole is sequentially connected in series charging indicator light LED100
It is followed by switching Mos pipes Q100 D poles, switch Mos pipes Q100 S poles ground connection with resistance R100.5V charge power supplies end VCHG is another
After the connecting resistance R102 of road, diode D103 positive pole is connect, diode D103 negative pole connects the G poles of switch Mos pipes.Switch Mos pipes
Between Q101 D poles connecting resistance R102 and diode D103 positive pole, switch Mos pipes Q101 S poles ground connection, switch Mos pipes
The GPIO interface LED_EN_2 of Q101 G poles catcher owner's board chip, diode D102 positive pole catcher owner's board chip
GPIO interface LED_EN_1, diode D102 negative pole are connected between diode D103 negative pole and the G poles of switch Mos pipes, then
It is grounded by resistance R101, diode D101 positive pole meets power end VBAT, and negative pole is connected on diode D100 negative pole and charging
Between indicator lamp LED100.
In the present embodiment, switch Mos pipes Q100, Q101 model CJ4153, the diode D100, D101,
D102, D103 model B1045WS, the model A-SP194GHC-C01-3T of the charging indicator light LED100.
Charging stage, because of mobile phone brownout, system can not get up, and all of the port of cell phone mainboard chip can not all be controlled
System, it can only be controlled by partial circuit of the present utility model to realize.After mobile phone is connected to charger or computer by USB line,
5V voltages by diode D100 supply charging indicator light LED100, through current-limiting resistance R100 to switch mos pipes Q100 D poles,
Another routing resistance R102 of 5V voltages, after diode D103 and resistance R101 partial pressures, supply switch Mos pipes Q100 G poles,
Metal-oxide-semiconductor Q100 conductings are now switched, charging indicator light LED100 is lighted, and realizes that preliminary filling indicates.In such a mode, Mos pipes are switched
Q101, diode D102 are low because of control port Default.All it is off.Diode D101 is also because cathode voltage is higher than
VBAT and reversely end.
When charging normal, the mainboard chip of mobile phone can normally export corresponding voltage.When mobile phone is connected by USB line
After being connected to charger or computer, 5V voltages are supplied to switch Mos pipes Q101 D poles through diode D100, resistance R102 all the way, together
When cell phone mainboard chip GPIO interface LED_EN_2 output high level to switch Mos pipes Q101 G poles, switch Mos pipes Q101
Conducting.The path of 5V power supplys supply switch Mos pipe Q100 G pole tensions is switched on and off Mos pipes Q101 and dragged down, and have turned off by electric before
The controlling switch that road is formed.The another way of 5V voltages supplies charging indicator light LED100 by diode D100, through current-limiting resistance
R100 is to switch Mos pipes Q100 D poles, while cell phone mainboard chip GPIO interface LED_EN_1 outputs high point is put down, through diode
D102 is supplied to switch Mos pipe Q100 G poles, the Q100 conductings of switch Mos pipes, and charging indicator light LED100 is lighted.When system detectio arrives
After battery is full of, mainboard chip GPIO interface LED_EN_1 is changed into low level from high point is flat, and charging indicator light LED100 is closed.It is real
The control of existing normal charging process indicator lamp.In such a mode, diode D101 is also reversely cut because cathode voltage is higher than VBAT
Only.
During missed call information reminding, in a charging situation, provide 5V voltages by charger or computer and be given to 5V charging electricity
The tunnels of source VCHG, 5V charge power supply end VCHG mono- are supplied to switch Mos pipes Q101 D poles, while mainboard chip through resistance R102
GPIO interface LED_EN_2 exports high level to switch Mos pipes Q101 G poles, the Q101 conductings of switch Mos pipes.5V charge power supplies
The path of end VCHG supply switch Mos pipe Q100 G pole tensions is switched on and off Mos pipes Q101 and dragged down, and have turned off original circuit control
Switch.5V charge power supplies end VCHG another way supplies charging indicator light LED100 by diode D100, through current-limiting resistance
R100 is to switch Mos pipes Q100 D poles, while mainboard chip GPIO interface LED_EN_1 outputs high point is put down, through diode D102
Switch Mos pipe Q100 G poles, the Q100 conductings of switch Mos pipes are supplied to, charging indicator light LED100 is lighted.When there is missed call or not
After the fresh information of processing, mainboard chip GPIO interface LED_EN_1 is changed into pulse mode from output high point is flat, and 1 second height, 1 second low.
Controlling switch Mos pipes Q100 is turned on and off, and is realized that charging indicator light LED100 flashes, is prompted user to have unprocessed information.
Under this pattern, diode D101 also reversely ends because cathode voltage is higher than power end VBAT.
In the case of uncharged, 5V charge power supplies end VCHG does not have voltage, and switch Mos pipes Q100 does not power and ended.
Charging indicator light is powered by power end VBAT, and power end VBAT supplies charging indicator light LED100 by diode D100, through limit
Leakage resistance R100 is to switch Mos pipes Q100 D poles, while mainboard chip GPIO interface LED_EN_1 outputs high point is put down, through two poles
Pipe D102 is supplied to switch Mos pipe Q100 G poles, the Q100 conductings of switch Mos pipes, and charging indicator light LED100 is lighted.Do not fetched when having
After electric or untreated fresh information, mainboard chip GPIO interface LED_EN_1 is put down from output high point is changed into pulse mode, 1 second height, and 1
Second is low.Controlling switch Mos pipes Q100 is turned on and off, and realizes that charging indicator light LED100 flashes.Prompting user has untreated letter
Breath.In such a mode, diode D100 also reversely ends because cathode voltage is higher than power end VBAT.
Only to illustrate design of the present utility model, one of ordinary skill in the art's specific embodiment above exists
Various deformation and change can be made under design of the present utility model, these deformations and change are included in guarantor of the present utility model
Within the scope of shield.