CN201075704Y - Detection circuit of electrical equipment and mobile phone having the circuit - Google Patents
Detection circuit of electrical equipment and mobile phone having the circuit Download PDFInfo
- Publication number
- CN201075704Y CN201075704Y CNU2007200255260U CN200720025526U CN201075704Y CN 201075704 Y CN201075704 Y CN 201075704Y CN U2007200255260 U CNU2007200255260 U CN U2007200255260U CN 200720025526 U CN200720025526 U CN 200720025526U CN 201075704 Y CN201075704 Y CN 201075704Y
- Authority
- CN
- China
- Prior art keywords
- data
- data transmission
- circuit
- power supply
- transmission interface
- 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.)
- Expired - Lifetime
Links
Images
Landscapes
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
Abstract
The utility model discloses a charging detecting circuit used for an electrical equipment and a mobile phone with the circuit; a data transmission interface is arranged on the electrical equipment, the power supply terminal thereof is connected with the power supply circuit inside the electrical equipment and a data signal terminal is connected with a data transmission loop inside the electrical equipment; the data transmission interface contains at least two data signal terminals, each of which is connected with a data signal wire, a voltage pull-up branch is connected with one of the two data signal wires, and the other data signal wire is connected with the input port of a processor; the processor generates a charge-typed detecting signal according to the potential state at the input port and transfers the charge-typed detecting signal to the power supply circuit, and then the input current of the power supply terminal in the data transmission interface is limited by the power supply circuit. The technical proposal of the utility model can detect the external equipment types accurately, thus effectively limiting the input current.
Description
Technical field
The utility model belongs to charging detection technique field, specifically, relate to a kind ofly utilize that available data coffret on the equipment is multiplexing makes common charger interface, and the charging that the charging type is detected detects control circuit and detection method.
Background technology
Handheld communication devices is when function is perfect day by day, and miniaturization also is consistent development trend.Increasing mobile phone all has the usb data transfer function, and can use the USB power supply of PC to replace charger that mobile phone is charged by USB interface.From saving the pcb board space and saving the cost angle and consider, the interface that many handheld communication devices are used it for the transmission usb data is also used as common charger interface, thereby has realized the charge function of charger to handheld communication devices under the prerequisite that does not increase the additional charge interface.And the USB electric power outputting current specification of general PC is 500mA, and the output current of charger then can reach 800mA even higher, and this electric current generally is to be controlled by the power management chip of mobile phone inside, limits with the current value to outside input power supply.If used the electric current of 800mA when selecting the USB power source charges for use, then may bring damage to the PC mainboard; If common charger also uses the charging current less than 500mA, then the charging interval can be prolonged again.Under the increasing situation of battery capacity, the charging interval may the president to unacceptable stage, therefore, external power source is judged in the time of need be to charging, to limit input current accurately.With regard to situation in the market, the output voltage of general USB power supply and common charger all is about 5.2V, from magnitude of voltage, can't accurately judge it is which kind of power supply, therefore, need to adopt a kind of new design to finish judgement, to satisfy quick, the safe charging requirement of handheld communication devices.
The utility model content
The purpose of this utility model is to provide a kind of charging testing circuit of electric equipment, to realize the detection to the charging type.
For solving the problems of the technologies described above, the utility model is achieved by the following technical solutions:
A kind of charging testing circuit of electric equipment, described electric equipment is provided with data transmission interface, the power circuit of its power supply terminal connecting circuit device interior, the data transmission loop of data-signal terminal connecting circuit device interior; In described data transmission interface, include two data-signal terminals at least, connect a data signal line separately, be connected with on data signal line therein and draw branch road on the voltage, the input port of another data signal line connecting circuit device interior processor; Described processor transfers to power circuit according to the potential state generation charging type detection signal of its input port, and then limits the size of power supply terminal input current in the described data transmission interface by described power circuit.
Further, described data transmission interface can be the interface of transmission usb data, and described two data signal lines are differential data signals line D+, D-.Wherein, be connected with on the described voltage on described differential data signals line D+ and draw branch road, differential data signals line D-connects the input port of described processor.
In order to cut down the consumption of energy, on described voltage, draw to include pull-up resistor, DC power supply and switching circuit in the branch road; The on off state of described switching circuit is controlled by described processor, and when processor had detected equipment and is inserted on the described data transmission interface, the control switch circuit operation made described DC power supply affact on the corresponding data signal line by pull-up resistor.
Wherein, the plug detection port of described processor connects the power supply terminal of described data transmission interface, has been judged to be external equipment and inserts when having detected the high level signal input.Described DC power supply is provided by described electric equipment interior power supply circuit.
Further again, in described power circuit, include a power management chip, its control signal termination is received the charging type detection signal that from processor sends, the power input mouth connects the power supply terminal of described data transmission interface, and then limits the size of its power input mouth input current according to described charging type detection signal.
The utility model provides a kind of mobile phone with described charging testing circuit simultaneously again; by the usb data transmission interface circuit on the mobile phone is improved; connect on the voltage on differential signal line therein and draw branch road; and the potential state of another differential signal line detected; thereby realized the accurate detection of mobile phone to external device type; both played the purpose of protection PC mainboard; the long problem of charging interval that has caused owing to the too much restriction to charging current when effectively having avoided again adopting the charger charging helps the lifting of mobile phone complete machine quality.
Compared with prior art, advantage of the present utility model and good effect are: the utility model is by improving the data transmission interface in the existing electric equipment, connect on the voltage on data signal line therein and draw branch road, utilize the characteristic of charger interface internal data terminal short circuit, on the data transmission interface of electric equipment during the grafting charger, whether keep high level by the potential state that detects another data signal line and can learn whether the outside has inserted charger, thereby realized accurate detection to the charging type, limit the size of input current with this, be decided to be little electric current input in the grafting external signal source device time limit, come the guard signal source device with this; And when inserting charger, allow big electric current input, to shorten the charging interval of electric equipment.
After reading the detailed description of the utility model execution mode in conjunction with the accompanying drawings, other characteristics of the present utility model and advantage will become clearer.
Description of drawings
Fig. 1 is the circuit theory diagrams of a kind of embodiment of data transmission interface in the charging testing circuit that proposes of the utility model;
Fig. 2 is the circuit theory diagrams of a kind of embodiment of processor and power circuit;
Fig. 3 is the process chart of a kind of embodiment of method for measuring charged.
Embodiment
Below in conjunction with accompanying drawing execution mode of the present utility model is described in detail.
The utility model utilizes that original data transmission interface is also used as charging inlet on the electric equipment, is connected with external charger, to realize the charging to battery in the electric equipment.In described data transmission interface, the power circuit of power supply terminal connecting circuit device interior, the data-signal terminal also is also used as charging type detecting unit, to realize the accurate detection to the external connection apparatus type except the data transmission loop with electric equipment inside is connected.
Its general configuration is: include two data-signal terminals in described data transmission interface at least, connect a data signal line separately, connect on the voltage on data signal line therein and draw branch road, the input port of another data signal line connecting circuit device interior processor.Described processor transfers to power circuit according to the potential state generation charging type detection signal of its input port, and then limits the size of power supply terminal input current in the described data transmission interface by described power circuit.
Embodiment one, present embodiment is with a kind of hand-held mobile communication equipment---and mobile phone is that example is specifically addressed design concept of the present utility model, described data transmission interface selects usb data coffret common on the present mobile phone to realize, can certainly adopt data transmission interface other type, that include two data-signal terminals at least to realize that the utility model is not limited thereto.Described usb data coffret can be at present conventional USB interface, can also adopt as shown in Figure 15 needle interface XP1 or electric equipment on be used to transmit other form of usb data interface realize.
Referring to shown in Figure 1,1 pin of interface XP1 is a power supply terminal, connects the power circuit of mobile phone inside on the one hand, is used for DC charging, specifically connects the power input Vin of power management chip N2 in the power circuit; The plug detection port that connects mobile phone internal processor N1 on the other hand such as the I/O1 mouth, is used to judge whether that external equipment inserts.2,3 pin of interface XP1 are respectively the differential data signals terminal, connect the data transmission loop of mobile phone inside, to realize the data communication of mobile phone and external equipment.4 pin of interface XP1 are unsettled, 5 pin ground connection.In order to keep the stable of input voltage, with power line that described power supply terminal 1 pin is connected on be connected with the voltage stabilizing didoe MAZS3600M of ground connection.For fear of electrostatic influence, with differential data signals line that described differential data signals terminal is connected on be connected with the diode PESD of one tunnel ground connection on D+, the D-respectively, to realize the static bleed off.When mobile phone is desired and external equipment, when carrying out data communication, utilize the interface XP1 on the usb data line one end connection mobile phone such as PC, the other end connects the USB interface of external equipment, to realize the transport communication of USB differential data.Meanwhile, the USB power supply of PC replaces charger that mobile phone is charged, and its input current amplitude is limited to 500mA, to avoid that the PC mainboard is brought damage.
In order to discern the charging type, promptly judge it is PC charging or charger charging, present embodiment improves the usb circuit of mobile phone, connect on the voltage on differential data line therein and draw branch road, with differential data line D+ is example, connect DC power supply VDDUSB by pull-up resistor R1, the current potential of described DC power supply VDDUSB is generally+3.3V, is provided by the power circuit of mobile phone inside; And another differential data line D-connects wherein one road input port of mobile phone internal processor N1, concrete optional ADC port realization with processor N1, as shown in Figure 2.When handset port XP1 links to each other with outer PC by the usb data line, because differential data line D+, D-is not connected each other, therefore, the ADC port of processor N1 detects less than stable 3.3V high level, at this moment, what processor N1 thought handset port XP1 connection is PC, so export charging type detection signal to the control signal end CON1 of power management chip N2 by one road output port (such as the I/O2 port), N2 is the PC charging at this moment with the notice power management chip, thereby limits its power input Vin electric current less than 500mA by power management chip N2.And when handset port XP1 connects external charger by the usb data line, because have the charger of USB interface at present, two differential data terminals of its USB interface inside all are short circuits, therefore, D+ by on draw after, D-is last just to detect stable 3.3V high level.After the ADC port detection identification of this stable high level signal by handset processes device N1, think and be the charger charging this moment, and then pass through its described output port I/O2 to the control signal end CON1 of power management chip N2 output charger charging detection signal, the electric current that improves its power input Vin with control power management chip N2 limits amplitude, the charging current that promptly allows to import by 1 pin of XP1 interface is greater than 500mA, to shorten the charging interval.
In order to reach energy saving purposes, described DC power supply VDDUSB only when having external equipment to insert, handset port XP1 is connected with differential data line D+, in the present embodiment, by power circuit output+the 3.3V DC power supply connects described VDDUSB by a switching circuit, when the I/O1 of processor N1 port receives high level signal, think that have external equipment to be inserted on the interface XP1 this moment, and then by its I/O3 port output switch control signal, control described switching circuit action, make the VDDUSB place be the 3.3V high potential, draw effect in the realization.In the present embodiment, described switching circuit can adopt circuit structure as shown in Figure 2 to realize, comprise a NPN type triode V1, the I/O3 port of its base stage connection processing device N1, grounded emitter, collector electrode passes through resistance R 2 connection power circuits+3.3V voltage output end on the one hand, connects described VDDUSB on the other hand.When the I/O1 of processor N1 port was low level, processor is thought did not have external equipment to insert this moment, and by its I/O3 port output high level, control triode V1 conducting makes the current potential at VDDUSB place be pulled down to ground.And when the I/O1 of processor N1 port detects high level signal, show on the interface XP1 and be inserted with external equipment, at this moment, it is electronegative potential that processor N1 puts its I/O3 port, triode V1 is ended, + 3.3V direct voltage affacts VDDUSB by resistance R 2, and then draws branch road when having external equipment to insert and on the pull-up resistor R1 formation voltage, affacts on the differential data line D+.Certainly, described switching circuit also can adopt other switching device or combinational circuit with on-off action such as relay, switch chip to realize that the utility model is not limited thereto.
By employing foregoing circuit structure, and cooperate the simple software program in processor N1, can judge the mobile phone external equipment is PC or charger, charges to select suitable current.Certainly, above-mentioned circuit structure can also be applied to generally adopt USB interface to carry out in the electronic equipments such as the MP3 of data communication, MP4, digital camera at present, can play the accurately purpose of identification of charging type equally.
It should be noted that: if USB differential data line D+, when open circuit conditions appears in D-; perhaps the D+ of charger inside, when D-opens circuit, mobile phone can't determine that outside what connect is PC or charger, at this moment; all, avoid damaging with protection PC mainboard with current charges less than 500mA.
The utility model provides a kind of charging type detection method again simultaneously, as shown in Figure 3, may further comprise the steps:
301, on wherein data signal line of the data transmission interface that is also used as charging inlet, connect on the voltage and draw branch road;
302, the potential state to another data signal line detects;
303, judge the type of external equipment according to described potential state;
304, during continually and steadily at high level state, enter the charger charge mode when detecting described potential state in setting-up time, this moment, input current allowed greater than 500mA; Otherwise, entering the PC charge mode, the higher limit that limit described power supply terminal input current this moment is 500mA.
The accurate enforcement of this method for measuring charged depends on the setting of charger interface circuit, the data-signal terminal in the charger interface need be carried out short circuit.Fortunately, for the charger that has USB interface at present, its inner D+, D-terminal all are short circuits, therefore, adopt USB interface to be connected the electric equipment that charges with charger for those, need not change charger construction can realize charging effective detection of type.
Certainly; above-mentioned explanation is not to be to restriction of the present utility model; the utility model also is not limited in above-mentioned giving an example, and modification, distortion, interpolation or replacement that those skilled in the art are made in essential scope of the present utility model also should belong to protection range of the present utility model.
Claims (10)
1. the charging testing circuit of an electric equipment, described electric equipment is provided with data transmission interface, it is characterized in that: the power circuit of the power supply terminal connecting circuit device interior of described data transmission interface, the data transmission loop of data-signal terminal connecting circuit device interior; In described data transmission interface, include two data-signal terminals at least, connect a data signal line separately, be connected with on data signal line therein and draw branch road on the voltage, the input port of another data signal line connecting circuit device interior processor; Described processor transfers to power circuit according to the potential state generation charging type detection signal of its input port, and then limits the size of power supply terminal input current in the described data transmission interface by described power circuit.
2. charging testing circuit according to claim 1 is characterized in that: described data transmission interface is the interface of transmission usb data, and described two data signal lines are differential data signals line D+, D-.
3. charging testing circuit according to claim 2 is characterized in that: be connected with on the described voltage on described differential data signals line D+ and draw branch road, differential data signals line D-connects the input port of described processor.
4. according to each described charging testing circuit in the claim 1 to 3, it is characterized in that: on described voltage, draw to include pull-up resistor, DC power supply and switching circuit in the branch road; The on off state of described switching circuit is controlled by described processor, and when processor had detected equipment and is inserted on the described data transmission interface, the control switch circuit operation made described DC power supply affact on the corresponding data signal line by pull-up resistor.
5. charging testing circuit according to claim 4 is characterized in that: the plug detection port of described processor connects the power supply terminal of described data transmission interface, has been judged to be external equipment and inserts when having detected the high level signal input.
6. charging testing circuit according to claim 1 and 2, it is characterized in that: in described power circuit, include a power management chip, its control signal termination is received the charging type detection signal that from processor sends, the power input mouth connects the power supply terminal of described data transmission interface, and then limits the size of its power input mouth input current according to described charging type detection signal.
7. charging testing circuit according to claim 4 is characterized in that: described DC power supply is provided by described power circuit.
One kind have the charging testing circuit mobile phone, described mobile phone is provided with data transmission interface, it is characterized in that: the power supply terminal of described data transmission interface connects the power circuit of mobile phone inside, and the data-signal terminal connects the data transmission loop of mobile phone inside; At least include two data-signal terminals in described data transmission interface, connect a data signal line separately, be connected with on data signal line therein and draw branch road on the voltage, another data signal line connects the input port of mobile phone internal processor; Described processor transfers to power circuit according to the potential state generation charging type detection signal of its input port, and then limits the size of power supply terminal input current in the described data transmission interface by described power circuit.
9. mobile phone according to claim 8 is characterized in that: described data transmission interface is the interface of transmission usb data, and described two data signal lines are differential data signals line D+, D-.
10. according to Claim 8 or 9 described mobile phones, it is characterized in that: in described power circuit, include a power management chip, its control signal termination is received the charging type detection signal that from processor sends, the power input mouth connects the power supply terminal of described data transmission interface, and then limits the size of its power input mouth input current according to described charging type detection signal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNU2007200255260U CN201075704Y (en) | 2007-07-17 | 2007-07-17 | Detection circuit of electrical equipment and mobile phone having the circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNU2007200255260U CN201075704Y (en) | 2007-07-17 | 2007-07-17 | Detection circuit of electrical equipment and mobile phone having the circuit |
Publications (1)
Publication Number | Publication Date |
---|---|
CN201075704Y true CN201075704Y (en) | 2008-06-18 |
Family
ID=39520961
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNU2007200255260U Expired - Lifetime CN201075704Y (en) | 2007-07-17 | 2007-07-17 | Detection circuit of electrical equipment and mobile phone having the circuit |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN201075704Y (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102265552A (en) * | 2011-06-24 | 2011-11-30 | 华为终端有限公司 | A power supplying method of a wireless net connection terminal and the wireless net connection terminal |
CN102636709A (en) * | 2012-03-28 | 2012-08-15 | 广东欧珀移动通信有限公司 | Circuit capable of fast recognizing types of chargers and recognizing method for circuit |
CN103024195A (en) * | 2012-12-27 | 2013-04-03 | 青岛海信移动通信技术股份有限公司 | Smart mobile terminal and implementation method of charging of smart mobile terminal |
CN103698640A (en) * | 2013-12-31 | 2014-04-02 | 青岛歌尔声学科技有限公司 | Intelligent charging detection circuit and movable power supply |
CN104796011A (en) * | 2014-01-21 | 2015-07-22 | 中兴通讯股份有限公司 | Charging method, AC adapter, charging managing device and terminal |
CN108829621A (en) * | 2018-07-17 | 2018-11-16 | 天津瑞发科半导体技术有限公司 | A kind of usb expansion function device |
CN109490684A (en) * | 2017-09-12 | 2019-03-19 | 三星电子株式会社 | The device and method for detecting the leakage current Production conditions in USB interface |
CN114442529A (en) * | 2022-01-18 | 2022-05-06 | 深圳市显控科技股份有限公司 | I/O port expansion circuit and industrial control system |
-
2007
- 2007-07-17 CN CNU2007200255260U patent/CN201075704Y/en not_active Expired - Lifetime
Cited By (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2011150888A3 (en) * | 2011-06-24 | 2012-05-24 | 华为终端有限公司 | Method for supplying power to wireless network terminal and wireless network terminal |
US9402005B2 (en) | 2011-06-24 | 2016-07-26 | Huawei Device Co., Ltd. | Power supplying method for wireless network terminal and wireless network terminal |
CN102265552A (en) * | 2011-06-24 | 2011-11-30 | 华为终端有限公司 | A power supplying method of a wireless net connection terminal and the wireless net connection terminal |
CN102636709A (en) * | 2012-03-28 | 2012-08-15 | 广东欧珀移动通信有限公司 | Circuit capable of fast recognizing types of chargers and recognizing method for circuit |
CN102636709B (en) * | 2012-03-28 | 2015-07-08 | 广东欧珀移动通信有限公司 | Circuit capable of fast recognizing types of chargers and recognizing method for circuit |
CN103024195A (en) * | 2012-12-27 | 2013-04-03 | 青岛海信移动通信技术股份有限公司 | Smart mobile terminal and implementation method of charging of smart mobile terminal |
CN103024195B (en) * | 2012-12-27 | 2014-10-29 | 青岛海信移动通信技术股份有限公司 | Smart mobile terminal and implementation method of charging of smart mobile terminal |
CN103698640B (en) * | 2013-12-31 | 2016-04-27 | 青岛歌尔声学科技有限公司 | A kind of intelligent charge testing circuit and portable power source |
CN103698640A (en) * | 2013-12-31 | 2014-04-02 | 青岛歌尔声学科技有限公司 | Intelligent charging detection circuit and movable power supply |
WO2015109718A1 (en) * | 2014-01-21 | 2015-07-30 | 中兴通讯股份有限公司 | Charging method, alternating current adaptor, charging management device and terminal |
CN104796011A (en) * | 2014-01-21 | 2015-07-22 | 中兴通讯股份有限公司 | Charging method, AC adapter, charging managing device and terminal |
CN109490684A (en) * | 2017-09-12 | 2019-03-19 | 三星电子株式会社 | The device and method for detecting the leakage current Production conditions in USB interface |
CN109490684B (en) * | 2017-09-12 | 2022-08-23 | 三星电子株式会社 | Apparatus and method for detecting leakage current generation condition in USB interface |
US11573275B2 (en) | 2017-09-12 | 2023-02-07 | Samsung Electronics Co., Ltd. | Device and method of detecting leakage current generation condition in USB interface |
CN108829621A (en) * | 2018-07-17 | 2018-11-16 | 天津瑞发科半导体技术有限公司 | A kind of usb expansion function device |
CN114442529A (en) * | 2022-01-18 | 2022-05-06 | 深圳市显控科技股份有限公司 | I/O port expansion circuit and industrial control system |
CN114442529B (en) * | 2022-01-18 | 2024-05-24 | 深圳市显控科技股份有限公司 | I/O port expansion circuit and industrial control system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101102119B (en) | A charging detection circuit of appliance device and charging detection method | |
CN201075704Y (en) | Detection circuit of electrical equipment and mobile phone having the circuit | |
CN201359725Y (en) | USB interface circuit and portable hand-held device provided with the circuit | |
US8756358B2 (en) | Method and device for identifying universal serial bus (USB) insertion or charger insertion of mobile terminal | |
CN101355259B (en) | Portable communication device and method for charging through discernment of charging cable | |
CN101841586B (en) | Method for expanding earphone interface of mobile phone into serial communication interface | |
CN202797874U (en) | Over-voltage protection circuit and mobile terminal | |
CN101951421B (en) | Expansion use method for cell phone earphone interface | |
EP2863652A1 (en) | Audio interface self-adaptation device | |
CN104035357A (en) | Headset, charging and OTG equipment circuit design based on USB socket | |
CN201509235U (en) | Headphone detection circuit of mobile terminal and mobile terminal thereof | |
CN106787026A (en) | Charge mode switching circuit and method | |
CN110417085B (en) | System and method for detecting insertion of apple equipment | |
CN102156681B (en) | Mobile terminal and USB interface connection control device thereof | |
CN103151658B (en) | Data connecting line, for the control method of data connecting line and device | |
CN107658916A (en) | Cue circuit and electronic equipment | |
CN105071484A (en) | Charging method and apparatus of terminal having data exchange function | |
CN202153645U (en) | Electric device based on OTG interface charging | |
CN105048018A (en) | Charging method and device for terminal having on-the-go (OTG) function | |
CN103197199B (en) | Interrupt detection apparatus and method | |
CN108683236A (en) | A kind of mobile terminal OTG charging methods and device | |
CN103491412A (en) | MHL equipment identification circuit with standby charging function | |
CN104393459B (en) | Interface circuit, interface switching method and electronic equipment | |
CN203368124U (en) | Power source switching circuit and Dock device | |
CN107706977B (en) | Charging current detection method and charging device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
AV01 | Patent right actively abandoned |
Granted publication date: 20080618 Effective date of abandoning: 20070717 |