CN110380471A - A kind of control circuit and its control method of double charging indicator lights - Google Patents
A kind of control circuit and its control method of double charging indicator lights Download PDFInfo
- Publication number
- CN110380471A CN110380471A CN201910599730.0A CN201910599730A CN110380471A CN 110380471 A CN110380471 A CN 110380471A CN 201910599730 A CN201910599730 A CN 201910599730A CN 110380471 A CN110380471 A CN 110380471A
- Authority
- CN
- China
- Prior art keywords
- indicator light
- resistance
- connect
- triode
- power supply
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 9
- 238000001514 detection method Methods 0.000 claims abstract description 13
- 239000003086 colorant Substances 0.000 claims abstract description 4
- 230000005611 electricity Effects 0.000 claims description 11
- 239000003990 capacitor Substances 0.000 claims description 9
- 230000002093 peripheral effect Effects 0.000 abstract description 3
- 238000003780 insertion Methods 0.000 description 2
- 230000037431 insertion Effects 0.000 description 2
- 230000003139 buffering effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 238000000465 moulding Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J7/00—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
- H02J7/0029—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits
- H02J7/0036—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits using connection detecting circuits
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J7/00—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
- H02J7/0047—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with monitoring or indicating devices or circuits
-
- H—ELECTRICITY
- H05—ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
- H05B—ELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
- H05B45/00—Circuit arrangements for operating light-emitting diodes [LED]
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J7/00—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
- H02J7/0047—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with monitoring or indicating devices or circuits
- H02J7/0048—Detection of remaining charge capacity or state of charge [SOC]
- H02J7/0049—Detection of fully charged condition
Landscapes
- Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
Abstract
The present invention provides the control circuits and its control method of a kind of double charging indicator lights, wherein control circuit includes power supply control chip, T-type snubber lattice network, the first indicator light, the second indicator light, triode, the power supply control chip includes the end VBUS_PMU at the end CHGLED and detection charger voltage, the end VBUS_PMU is connect with T-type snubber lattice network, the first indicator light, the second indicator light respectively, the T-type snubber lattice network, the first indicator light, the second indicator light and is connect respectively with triode;First indicator light is connect with the end CHGLED;First indicator light, the indicator light that the second indicator light is different colours.Control to CHGLED level state in the register of power supply control chip is cooperated by rationally building for peripheral hardware route using technical solution of the present invention, realizes the function that mono signal controls double charging indicator lights well;It is at low cost.
Description
Technical field
The invention belongs to electronic information technical field more particularly to a kind of control circuits and its control of double charging indicator lights
Method.
Background technique
Currently, generalling use power management chip control for tablet computer or the live part of intelligent and portable equipment and filling
The method of electric indicator light, the model AXP288C of common power management chip.But the chip is used to carry out charging indicator light
When control, there are the following problems or defect: when being added without hardware control lines, simple software can only go by CHGLED this
The state of a GPIO controls a charging indicator light;When terminal client needs two charging indicator lights, charge a kind of bright color,
When lighting the indicator light of another color after charging complete, depending merely on software be cannot achieve.
Summary of the invention
Against the above technical problems, the invention discloses the control circuit and its control method of a kind of double charging indicator lights,
Solve the problems, such as the light on and off for realizing double charging indicator lights how are controlled with single control signal.
In this regard, the technical solution adopted by the present invention are as follows:
A kind of control circuit of double charging indicator lights comprising power supply control chip, T-type snubber lattice network,
One indicator light, the second indicator light, triode, the power supply control chip include the end CHGLED and detection charger voltage
The end VBUS_PMU, the end VBUS_PMU is connect with T-type snubber lattice network, the first indicator light, the second indicator light respectively, described
It T-type snubber lattice network, the first indicator light, the second indicator light and is connect respectively with triode;First indicator light with
The connection of the end CHGLED;First indicator light, the indicator light that the second indicator light is different colours.
It adopts this technical solution, by building for peripheral hardware logic, in conjunction with control power supply control chip
The level state of the GPIO of CHGLED solves through single control signal and lights asking for the indicator light for indicating different charged states
Topic realizes the function that mono signal controls double charging indicator lights well.
Further, first indicator light is red LED lamp, and second indicator light is green LED lamp.
As a further improvement of the present invention, first indicator light passes through diode and T-type snubber lattice network
Connection.
As a further improvement of the present invention, the T-type snubber lattice network include resistance R180, resistance R181,
Capacitor C81, the end resistance R182, VBUS_PMU are connect with one end of resistance R180, resistance R177, resistance R178 respectively, the electricity
Resistance R177 connect with the first indicator light CR1, the resistance R178 connects with the second indicator light CR2, the first indicator light CR1 and
The anode connection at the end CHGLED-, diode D16, the other end of the resistance R180 and cathode, the resistance R181 of diode D16
One end, capacitor C81 one end connection, the capacitor C81 the other end ground connection, the other end and resistance of the resistance R181
The base stage connection of one end, triode Q6 of R182, the second indicator light CR2 are connect with the collector of triode Q6, the electricity
The emitter of the other end and triode Q6 that hinder R182 is grounded.
As a further improvement of the present invention, the power supply control chip includes main control module, battery capacity detection mould
Different codes is written by the bit 5 and bit 4 toward register 32H to control in block and register, the main control module
State.
As a further improvement of the present invention, the model AXP288C of the power supply control chip.
As a further improvement of the present invention, the main control module is controlled using following steps: when insertion is adapted to
After device, if battery capacity detection module detects the less than electricity of battery, the bit4 and bit5 of main control module toward register 32H are write
Enter 11, the first indicator light CR1 is lit, and shows that machine is in charged state;
After battery capacity detection module, which detects battery, fills with electricity, bit4 of the main control module toward register 32H
With bit5 write-in 00, triode Q6 is opened, and the second indicator light CR2 is lit, and shows that machine is in fully charged state.
The invention also discloses the control methods of the control circuit of double charging indicator lights as described above comprising following step
It is rapid:
After being inserted into adapter, if battery capacity detection module detects the less than electricity of battery, the past deposit of main control module
Bit4 and the bit5 write-in 11 of device 32H, the first indicator light CR1 is lit, and shows that machine is in charged state;
After battery capacity detection module, which detects battery, fills with electricity, bit4 of the main control module toward register 32H
With bit5 write-in 00, triode Q6 is opened, and the second indicator light CR2 is lit, and shows that machine is in fully charged state.
Compared with prior art, the invention has the benefit that
Cooperated by rationally building for peripheral hardware route to power supply control chip using technical solution of the present invention
The control of CHGLED level state in register realizes the function that mono signal controls double charging indicator lights well;In addition, will
The slow opening network of double-T shaped RC composition and being flexibly used cooperatively for diode, avoid the risk that CR2 is accidentally opened very well, adopt
With the combination of diode plus triode, hardware cost is controlled well, reduces cost convenient for consumer electronics product.
Detailed description of the invention
Fig. 1 is a kind of circuit diagram of the control circuit of double charging indicator lights of the present invention.
Specific embodiment
Preferably embodiment of the invention is described in further detail below.
As shown in Figure 1, a kind of control circuit of double charging indicator lights comprising power supply control chip, T-type snubber net
Network circuit, the first indicator light CR1, the second indicator light CR2, triode Q6, the power supply control chip include the end CHGLED- and inspection
Survey the end VBUS_PMU of charger voltage, the end VBUS_PMU respectively with T-type snubber lattice network, the first indicator light CR1, the
Two indicator light CR2 connections, the T-type snubber lattice network, the first indicator light CR1, the second indicator light CR2 with respectively with three
Pole pipe connection;The first indicator light CR1 is connect with the end CHGLED;The first indicator light CR1, the second indicator light CR2 are not
With the indicator light of color.The first indicator light CR1 is connect by diode D16 with T-type snubber lattice network.Described
One indicator light CR1 is red LED lamp, and the second indicator light CR2 is green LED lamp.Power supply described in the present embodiment controls core
The model AXP288C of piece.
The T-type snubber lattice network includes resistance R180, resistance R181, capacitor C81, resistance R182, described
The end VBUS_PMU is connect with one end of resistance R180, resistance R177, resistance R178 respectively, the resistance R177 and the first indicator light
CR1 series connection, the resistance R178 connect with the second indicator light CR2, anode and the end CHGLED, two of the first indicator light CR1
The anode connection of pole pipe D16, the other end and the cathode of diode D16, one end of resistance R181, capacitor of the resistance R180
One end of C81 connects, the other end ground connection of the capacitor C81, one end of the other end of the resistance R181 and resistance R182, three
The base stage of pole pipe Q6 connects, and the second indicator light CR2 is connect with the collector of triode Q6, the other end of the resistance R182
It is grounded with the emitter of triode Q6.
The power supply control chip includes main control module, battery capacity detection module and register, the master control molding
Different codes is written by the bit 5 and bit 4 toward register 32H come the state that controls in block.This charging circuit needs to realize
Two states: insertion adapter, when machine is charging, charging indicator light shiny red is lighted in hardware circuit figure
CR1LED;It is inserted into adapter, when charging has been expired, indicator light bright green lights the CR2LED in hardware circuit figure.
The main control module is using following steps come state of a control:
After being inserted into adapter, the VBUS in route is charger voltage 5V, at this time if battery capacity detection module is detectd
Measure the less than electricity of battery, then machine is in charged state, main control module can toward the register 32H of AXP288C bit4 and
Bit5 write-in 11, at this moment, the CHELED of AXP288C can be pulled low, and can be led from VBUS toward the route of R177, CR1 to CHG_LED-
It is logical, at this point, the red LED that position number is CR1 is lit, show that machine is in charged state;On the other hand, when detecting battery
After filling with electricity, 00, CHGLED will be written toward the bit4 and bit5 of the register 32H of AXP288C and enter high Z (high resistant
It is anti-) state, at this moment, the access of VBUS toward R177 and CR1 are blocked, and VBUS will be walked toward the direction of R178, CR2, meanwhile,
VBUS opens triode Q6, at this moment, the network of VBUS and R178, CR2, Q6 just turn on, thus position after R180 and R181
It number is lit for the green LED of CR2, shows that machine is in fully charged state.AXP288C CHGLED level control state is such as
Shown in table 1.
Table 1AXP288C CHGLED level control state table
It joined a T-type snubber network in hardware circuit, be made of R180, R181, C81, R182.The suction is added
The main there are two the effect of aspect of network is received, first is to work as to plug adapter, when machine is in charged state, due to the buffering
The presence of circuit can play the role of delay and open Q6, and within the buffer time, software has sufficient time to be arranged
The state of AXP288C 32H register avoids the occurrence of the maloperation that charging indicator light CR2 is lit, and in addition also avoids inserting
Occurring indicator light moment when pulling out adapter is lit the problem of dodging;Second aspect is the presence due to R182, can be with
To user when plugging adapter repeatedly, the access of an electric discharge is provided, avoids burning out triode Q6;In addition R181 and
R182 is connected between VBUS and the base stage of Q6, can effectively play metering function, avoids plugging the fully charged rear burning of adapter
Bad Q6.Meanwhile the access of diode D6, it can be very good cooperation T-type snubber network, when being inserted into adapter, machine
Device needs to enter charged state, and VBUS can be conducting to CHG_LED- by R180, D16 at this time, so that the anode of D16 be drawn
It is low, another guarantee for avoiding mistake from opening rear end triode Q6 is provided.Here D16 must use diode, if using electricity
Resistance, will cause after fully charged, and VBUS is connected by R177, CR1, D16, R181, Q6, has a faint electric current and flows through
LED CR1 causes CR1 to issue faint light, to show the charged state of mistake.
Using the technical solution of the present embodiment, when client needs to do on the motherboard platform of only single control charged state
Double indicator lights when indicating charged state, are added the hardware control lines, at the same by and software reasonable cooperation, can be fine
Realization charging and full electric two kinds of different conditions under, show the instruction state requirement of the rechargeable lamp of different colours.
The above content is a further detailed description of the present invention in conjunction with specific preferred embodiments, and it cannot be said that
Specific implementation of the invention is only limited to these instructions.For those of ordinary skill in the art to which the present invention belongs, exist
Under the premise of not departing from present inventive concept, a number of simple deductions or replacements can also be made, all shall be regarded as belonging to of the invention
Protection scope.
Claims (6)
1. a kind of control circuit of double charging indicator lights, it is characterised in that: it includes power supply control chip, T-type snubber net
Network circuit, the first indicator light, the second indicator light, triode, the power supply control chip include the end CHGLED and detection charger
The end VBUS_PMU of voltage, the end VBUS_PMU connect with T-type snubber lattice network, the first indicator light, the second indicator light respectively
It connects, the T-type snubber lattice network, the first indicator light, the second indicator light and is connect respectively with triode;Described first refers to
Show that lamp is connect with the end CHGLED;First indicator light, the indicator light that the second indicator light is different colours.
2. the control circuit of double charging indicator lights according to claim 1, it is characterised in that: first indicator light passes through
Diode is connect with T-type snubber lattice network.
3. the control circuit of double charging indicator lights according to claim 2, it is characterised in that: the T-type snubber net
Network circuit includes resistance R180, resistance R181, capacitor C81, resistance R182, the end VBUS_PMU respectively with resistance R180 one
End, resistance R177, resistance R178 connection, the resistance R177 connect with the first indicator light CR1, and the resistance R178 and second refers to
Show that lamp CR2 connects, the first indicator light CR1 is connect with the anode of the end CHGLED-, diode D16, and the resistance R180's is another
One end is connect with one end of the cathode of diode D16, one end of resistance R181, capacitor C81, another termination of the capacitor C81
The other end on ground, the resistance R181 is connect with the base stage of one end of resistance R182, triode Q6, the second indicator light CR2
It is connect with the collector of triode Q6, the other end of the resistance R182 and the emitter of triode Q6 are grounded.
4. the control circuit of double charging indicator lights according to claim 3, it is characterised in that: the power supply control chip packet
Main control module, battery capacity detection module and register are included, the main control module passes through 5 He of bit toward register 32H
The state that bit 4 is written different codes to control.
5. the control circuit of double charging indicator lights according to claim 4, it is characterised in that: the power supply control chip
Model AXP288C.
6. the control method of the control circuit of double charging indicator lights as described in claim 4 or 5, it is characterised in that: it includes
Following steps:
After being inserted into adapter, if battery capacity detection module detects the less than electricity of battery, main control module is toward register 32H
Bit4 and bit5 write-in 11, the first indicator light CR1 is lit, and shows that machine is in charged state;
After battery capacity detection module, which detects battery, fills with electricity, main control module toward register 32H bit4 and
Bit5 write-in 00, triode Q6 is opened, and the second indicator light CR2 is lit, and shows that machine is in fully charged state.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910599730.0A CN110380471A (en) | 2019-07-04 | 2019-07-04 | A kind of control circuit and its control method of double charging indicator lights |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910599730.0A CN110380471A (en) | 2019-07-04 | 2019-07-04 | A kind of control circuit and its control method of double charging indicator lights |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110380471A true CN110380471A (en) | 2019-10-25 |
Family
ID=68251901
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910599730.0A Pending CN110380471A (en) | 2019-07-04 | 2019-07-04 | A kind of control circuit and its control method of double charging indicator lights |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110380471A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113395803A (en) * | 2021-07-01 | 2021-09-14 | 广东朝阳电子科技股份有限公司 | Charging indicator lamp driving circuit of Bluetooth product |
CN113395804A (en) * | 2021-07-01 | 2021-09-14 | 广东朝阳电子科技股份有限公司 | Charging indicator lamp driving circuit of Bluetooth product |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105356554A (en) * | 2015-12-07 | 2016-02-24 | 广州中海达卫星导航技术股份有限公司 | Double color LED state indicating apparatus |
CN206421323U (en) * | 2016-11-28 | 2017-08-18 | 深圳市国腾盛华电子有限公司 | A kind of electric power controller and the portable computer based on the electric power controller |
CN107318196A (en) * | 2017-08-16 | 2017-11-03 | 惠州Tcl移动通信有限公司 | The indicator light circuit and its control method of a kind of mobile terminal |
CN210246344U (en) * | 2019-07-04 | 2020-04-03 | 深圳市亿道数码技术有限公司 | Hardware control circuit of double-charging indicator lamp |
-
2019
- 2019-07-04 CN CN201910599730.0A patent/CN110380471A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105356554A (en) * | 2015-12-07 | 2016-02-24 | 广州中海达卫星导航技术股份有限公司 | Double color LED state indicating apparatus |
CN206421323U (en) * | 2016-11-28 | 2017-08-18 | 深圳市国腾盛华电子有限公司 | A kind of electric power controller and the portable computer based on the electric power controller |
CN107318196A (en) * | 2017-08-16 | 2017-11-03 | 惠州Tcl移动通信有限公司 | The indicator light circuit and its control method of a kind of mobile terminal |
CN210246344U (en) * | 2019-07-04 | 2020-04-03 | 深圳市亿道数码技术有限公司 | Hardware control circuit of double-charging indicator lamp |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113395803A (en) * | 2021-07-01 | 2021-09-14 | 广东朝阳电子科技股份有限公司 | Charging indicator lamp driving circuit of Bluetooth product |
CN113395804A (en) * | 2021-07-01 | 2021-09-14 | 广东朝阳电子科技股份有限公司 | Charging indicator lamp driving circuit of Bluetooth product |
CN113395804B (en) * | 2021-07-01 | 2022-08-12 | 广东朝阳电子科技股份有限公司 | Charging indicator lamp driving circuit of Bluetooth product |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN202772364U (en) | Connector and control chip | |
CN111817373B (en) | Charging management device, one-to-many charging wire, quick charging system and management method | |
CN101383627A (en) | Device and method for terminal charger charging, USB charging and data communication | |
CN102738894A (en) | Modularized intelligent power distribution terminal based on bus port | |
CN110380471A (en) | A kind of control circuit and its control method of double charging indicator lights | |
CN107658920B (en) | OTG is realized based on external charging and the difunctional system that charges | |
CN201741275U (en) | Full-automatic M-BUS collector | |
CN109344108A (en) | A kind of Type-C interface equipment, communication means and communication system | |
CN110233512A (en) | The quick power supply of multithreading | |
CN206370052U (en) | A kind of USB interface line concentration expanding unit | |
CN205863955U (en) | A kind of USB fast charging device of main frame front interface | |
CN210246344U (en) | Hardware control circuit of double-charging indicator lamp | |
CN202474946U (en) | Multi-path power supply | |
CN207625314U (en) | A kind of double charging circuits compatible with DC USB | |
CN207994685U (en) | It is a kind of that there is the mobile power for automatically switching indicator light colors | |
CN214314637U (en) | One-to-two quick-charging data line adopting TYPE-C interface input | |
CN106502911A (en) | Multiple terminals access device | |
CN111717059B (en) | DC charging pile controller and control method thereof | |
CN206180647U (en) | Many mouthfuls of control circuit that charge and controlgear | |
CN209250604U (en) | The sub key system of capacitance type touch key | |
CN203193366U (en) | Emergency power supply special for centralized control management fire-fighting emergency lamp | |
KR101364099B1 (en) | Battery pack for portable computer and method for charging external device using the same | |
CN207098196U (en) | Socket | |
CN201440277U (en) | Card reader cluster device and card reader cluster management system | |
CN206922442U (en) | Portable power source and charge-discharge 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 | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 901, building 1, No. 9, Jinxiu Middle Road, Laokeng community, Longtian street, Pingshan District, Shenzhen City, Guangdong Province Applicant after: EMDOOR DIGITAL TECHNOLOGY Co.,Ltd. Address before: 518000 4th floor, building 5, building 2-2, building 6, building 2-2, building 6, building 4, Meisheng Huigu Science Park, 83 Dabao Road, Shanghe community, Xin'an street, Bao'an District, Shenzhen City, Guangdong Province Applicant before: EMDOOR DIGITAL TECHNOLOGY Co.,Ltd. |