CN107546808A - One kind charging identification circuit, recognition methods and terminal device - Google Patents
One kind charging identification circuit, recognition methods and terminal device Download PDFInfo
- Publication number
- CN107546808A CN107546808A CN201710888368.XA CN201710888368A CN107546808A CN 107546808 A CN107546808 A CN 107546808A CN 201710888368 A CN201710888368 A CN 201710888368A CN 107546808 A CN107546808 A CN 107546808A
- Authority
- CN
- China
- Prior art keywords
- usb
- vbus
- audio
- dispatch
- power
- 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.)
- Granted
Links
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02B—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
- Y02B40/00—Technologies aiming at improving the efficiency of home appliances, e.g. induction cooking or efficient technologies for refrigerators, freezers or dish washers
Landscapes
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
Abstract
The invention discloses one kind charging identification circuit, recognition methods and terminal device, circuit includes USB type C sockets, USB/AUDIO switchings switch, dispatch from foreign news agency source module, power management module, CPU processor and battery;Power management module is connected with battery and CPU processor respectively, for the charge control of battery, and for CPU processor and system platform provides electric energy;USB type C sockets include VBUS ports, USB D+/D ports and grounding ports;Dispatch from foreign news agency source module is connected with VBUS ports, battery and USB/AUDIO switching switch respectively, when inserting charger for USB type C sockets, the VBUS signals from VBUS ports are received as enable signal, with voltage of the reception from battery as input power, and the working power for being used for USB/AUDIO and switching switch is conveyed for USB/AUDIO switching switches after enabled.The present invention make platform very low in cell voltage and can not hard reboot when, can also identify charger and charge normal.
Description
Technical field
The present invention relates to terminal device charging technique field, more particularly to a kind of charging identification circuit, recognition methods and end
End equipment.
Background technology
At present, end product is charged using USB type-C sockets mostly, and for data transfer, and Type-c
In the circuit structure of interface, two signal pins of USB and the shared Type-c interfaces of audio signal.In order to solve shared signal pins
The problem of, usual Type-c interfaces are provided with USB/AUDIO switching switches, for switching USB passages and voice-grade channel.
In terminal insertion charger charging, USB/AUDIO switching switches are needed before charger inserts and is detected
It is just in running order, that is, make USB channel conductives after switching.Because charging detection need to use USB D+/D- signals and
CPU processor communicates, and communication is normal just to can guarantee that charging identification is normal, and after insertion charger otherwise just occurs, charger is known
Not mistake, charging current is abnormal, causes to charge normal.
USB/AUDIO switching switches are active device, therefore need external power to power during work.Terminal device USB/ at present
The power supply of AUDIO switching switches provides by the battery of system platform.When cell voltage is relatively low, such as cell voltage 2.5V-
3.0V, now platform can not hard reboot, more cannot be started up, platform be inherently unable to out-put supply supply USB/AUDIO switch, this
When insert charger, system None- identified, and can not be charged.And when cell voltage it is relatively low, and be less than system platform
During hard reboot voltage, even if the insertion charger system also cannot be started up, it can not also export various voltages and be used for peripheral components,
Made troubles to use.
The content of the invention
It is a primary object of the present invention to propose a kind of charging identification circuit, recognition methods and terminal device, it is intended to solve
Existing terminal device is relatively low in cell voltage, and less than system platform hard reboot voltage when, even if the insertion charger system
Also it cannot be started up, and the problem of various voltages use for peripheral components can not be exported.
To achieve the above object, a kind of charging identification circuit provided by the invention, including USBtype-C sockets, USB/
AUDIO switchings switch, dispatch from foreign news agency source module, power management module, CPU processor and battery;
The power management module is connected with battery and CPU processor respectively, for the charge control of battery, Yi Jiwei
CPU processor and system platform provide electric energy;
The USB type-C sockets include VBUS ports, USB D+/D- ports and grounding ports;
The dispatch from foreign news agency source module is connected with VBUS ports, battery and USB/AUDIO switching switch respectively, for USB
When type-C sockets insert charger, the VBUS signals from VBUS ports are received as enable signal, and receive and come from battery
Voltage as input power, and be used for USB/AUDIO for USB/AUDIO switching switch conveyings after enabled and switch switch
Working power;
The USB/AUDIO switchings switch is connected with USB D+/D- ports, power management module and CPU processor respectively,
When inserting charger for USB type-C sockets, the enable signal from CPU processor is received, and USB/AUDIO switches
After switch receives the working power from dispatch from foreign news agency source module, USB/AUDIO switching switches are switched to and the electricity
The connected USB passages of source control module, now, the USB D+/D- signals of charger pass sequentially through USB Type-c sockets, USB/
AUDIO switching switches are input to power management module, and the power management module is detected after USB D+/D- signals and is transferred to
CPU processor, to start charger recognition detection;
The power management module is also connected with VBUS ports, is received after the completion of being identified for charging and comes from VBUS ports
VBUS signals, and battery is charged using the electric energy of the VBUS signals.
Preferably, the port for being used to receive the VBUS signals from VBUS ports on the dispatch from foreign news agency source module is Enable Pin
Mouthful, the described enable port is also connected with power management module.
Preferably, the USB/AUDIO switchings switch is additionally provided with the earphone passage for connecting audio process, when described
When USB type-C sockets insert earphone, the Enable Pin of the dispatch from foreign news agency source module receives the enabled letter from power management module
Number enabled, and be used for the work electricity that USB/AUDIO switches switch after enabled for USB/AUDIO switching switch conveyings
Source.
Preferably, is in series between the enable port of the dispatch from foreign news agency source module and the VBUS ports of USB type-C sockets
One diode VD1, and the first diode VD1 negative electrode is connected with the enable port;The enable port and power management module
Between be in series with the second diode VD2, and the second diode VD2 negative electrode is connected with the enable port.
Preferably, divider resistance, the partial pressure electricity are additionally provided between the anode of the first diode VD1 and VBUS ports
Resistance includes first resistor R1 and second resistance R2, and the first resistor R1 is series between the first diode VD1 and VBUS, described
Second resistance R2 one end ground connection, the second resistance R2 other end are connected with the first diode VD1 anode.
Preferably, the port for being used to receive the voltage from battery on the dispatch from foreign news agency source module is power input, described
The first filter capacitor C1 is connected between power input and ground;It is used to open to USB/AUDIO switchings on the dispatch from foreign news agency source module
The port for closing output power supply is output port of power source, and the second filter capacitor is connected between the output port of power source and ground
C2。
Preferably, the dispatch from foreign news agency source module is LDO power supplys or Buck power supplys.
To achieve the above object, present invention also offers it is a kind of charge identification circuit recognition methods, this method include with
Lower step:
S1, insertion charger, charger output voltage of VBUS signal to charge management module and dispatch from foreign news agency source module, and it is defeated
Go out USB D+/D- signals and switch switch to USB/AUDIO;
S2, external power mould receive VBUS signals and enabled, elapsed time T1, and out-put supply is opened to USB/AUDIO switchings
Close;
S3, USB/AUDIO switching switch receive the working power from dispatch from foreign news agency source module, and switch after elapsed time T2
Charge management module is conveyed to USB passages, and by USB D+/D- signals;
S4, system platform start charging since power management module receives voltage of VBUS signal after elapsed time T0
Recognition detection;
S5, judge USB/AUDIO switching switch whether start charge recognition detection before have been switched to USB passages, be then
Correct identification charger, and charge normal, charger otherwise can not be identified, and can not charge.
Preferably, the T1 is the time of dispatch from foreign news agency source module itself work and out-put supply, and the T2 cuts for USB/AUDIO
Change the time of switch switching channel, the T0 is the detection time that T0 is system platform acquiescence.
Preferably, the time T0 be more than time T1 and time T2's and.
Present invention also offers a kind of terminal device, including the charging identification circuit described in any of the above-described.
Charging identification circuit proposed by the present invention, by being switched, outside including USB type-C sockets, USB/AUDIO switchings
Power module, power management module, CPU processor and battery;The power management module respectively with battery and CPU processor phase
Even, for the charge control of battery, and for CPU processor and system platform electric energy is provided;The USB type-C sockets
Including VBUS ports, USB D+/D- ports and grounding ports;The dispatch from foreign news agency source module respectively with VBUS ports, battery and USB/
AUDIO switching switches are connected, and when inserting charger for USB type-C sockets, receive the VBUS signals from VBUS ports
As enable signal, and the voltage from battery is received as input power, and it is defeated for USB/AUDIO switching switches after enabled
Send the working power for USB/AUDIO switching switchs;USB/AUDIO switching switch respectively with USB D+/D- ends
Mouth, power management module are connected with CPU processor, when inserting charger for USB type-C sockets, receive at CPU
The enable signal of device is managed, and USB/AUDIO switchings are switched after receiving the working power from dispatch from foreign news agency source module, by described in
USB/AUDIO switching switches are switched to the USB passages being connected with the power management module, now, the USB D+/D- of charger
Signal passes sequentially through USB Type-c sockets, USB/AUDIO switching switches are input to power management module, the power management mould
Block detects after USB D+/D- signals and is transferred to CPU processor, to start charger recognition detection;The power management mould
Block is also connected with VBUS ports, the VBUS signals from VBUS ports is received after the completion of being identified for charging, and utilize and be somebody's turn to do
The electric energy of VBUS signals charges to battery.To switch so that present invention optimizes USB/AUDIO switchings, and be opened to the switching
The work schedule of the dispatch from foreign news agency source module of power supply is closed, ensureing can be correct when voltage is compared with low state and normal voltage state in battery
Charger is identified, and is correctly charged, avoids the occurrence of the phenomenon because that can not be charged when battery is in low-voltage.
The recognition methods of charging identification circuit proposed by the present invention, by including step:S1, insert charger, charger
Voltage of VBUS signal is exported to cut to USB/AUDIO to charge management module and dispatch from foreign news agency source module, and output USB D+/D- signals
Change switch;S2, external power mould receive VBUS signals and enabled, elapsed time T1, and out-put supply is opened to USB/AUDIO switchings
Close;S3, USB/AUDIO switching switch receive the working power from dispatch from foreign news agency source module, and are switched to USB after elapsed time T2
Passage, and USB D+/D- signals are conveyed to charge management module;S4, system platform receive VBUS from power management module
Voltage signal starts, and starts charging recognition detection after elapsed time T0;S5, judges whether USB/AUDIO switching switches are starting
USB passages are had been switched to before charging recognition detection, are correctly to identify charger, and are charged normal, otherwise can not identify charging
Device, and can not charge.To be switched so that present invention optimizes USB/AUDIO switchings, and the external power to switching switch power supply
The work schedule of module, ensure correctly identify charger when voltage is compared with low state and normal voltage state in battery, and
Correct charging, avoids the occurrence of the phenomenon because that can not be charged when battery is in low-voltage.
Terminal device proposed by the present invention, by including the charging identification circuit described in any of the above-described so that the present invention
USB/AUDIO switching switches, and the work schedule of the dispatch from foreign news agency source module to switching switch power supply are optimized, is ensured in battery
Charger can be correctly identified when voltage is compared with low state and normal voltage state, and is correctly charged, is avoided the occurrence of because at battery
The phenomenon that can not be charged when low-voltage.
Brief description of the drawings
Fig. 1 is the hardware architecture diagram for the mobile terminal device for realizing each embodiment of the present invention;
Fig. 2 is the wireless communication system schematic diagram of mobile terminal device as shown in Figure 1;
Fig. 3 is the system architecture diagram for the first embodiment that charger identification circuit of the present invention proposes;
Fig. 4 is the working timing figure of terminal device of the present invention;
Fig. 5 is the system architecture diagram for the second embodiment that charger identification circuit of the present invention proposes;
Fig. 6 is the system architecture diagram for the 3rd embodiment that charger identification circuit of the present invention proposes;
Fig. 7 is LDO of the present invention hardware circuit diagram;
Fig. 8 is the hardware circuit diagram of USB/AUDIO of the present invention switching switches;
Fig. 9 is the method flow diagram for the fourth embodiment that the recognition methods of present invention charging identification circuit proposes.
The realization, functional characteristics and advantage of the object of the invention will be described further referring to the drawings in conjunction with the embodiments.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In follow-up description, the suffix using such as " module ", " part " or " unit " for representing element is only
Be advantageous to the explanation of the present invention, itself there is no a specific meaning.Therefore, " module ", " part " or " unit " can mix
Ground uses.
Terminal device can be implemented in a variety of manners.For example, the terminal device described in the present invention can be included such as
Mobile phone, tablet personal computer, notebook computer, palm PC, personal digital assistant (Personal Digital Assistant,
PDA), portable media player (Portable Media Player, PMP), guider, wearable device, intelligent hand
The mobile terminal devices such as ring, pedometer, and the fixed terminal equipment such as digital TV, desktop computer.
It will be illustrated in subsequent descriptions by taking mobile terminal device as an example, it will be appreciated by those skilled in the art that except
Outside the element for being used in particular for moving purpose, construction according to the embodiment of the present invention can also apply to the end of fixed type
End equipment.
Referring to Fig. 1, it is realizes a kind of hardware architecture diagram of mobile terminal device of each embodiment of the present invention,
The mobile terminal device 100 can include:RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio are defeated
Go out unit 103, A/V (audio/video) input block 104, sensor 105, display unit 106, user input unit 107, connect
The parts such as mouth unit 108, memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that in Fig. 1
The mobile terminal device structure shown does not form the restriction to mobile terminal device, and mobile terminal device can be included than diagram
More or less parts, either combine some parts or different parts arrangement.
The all parts of mobile terminal device are specifically introduced with reference to Fig. 1:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, the reception and transmission of signal, specifically, by base station
Downlink information receive after, handled to processor 110;In addition, up data are sent to base station.Generally, radio frequency unit 101
Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrate
Frequency unit 101 can also be communicated by radio communication with network and other equipment.Above-mentioned radio communication can use any communication
Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications
System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code
Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division
Multiple Access, WCDMA), TD-SCDMA (Time Division-Synchronous Code
Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division
Duplexing-Long Term Evolution, FDD Long Term Evolution) and TDD-LTE (Time Division
Duplexing-Long Term Evolution, time division duplex Long Term Evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal device can help user to receive by WiFi module 102
Send e-mails, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and accessed.Although figure
1 shows WiFi module 102, but it is understood that, it is simultaneously not belonging to must be configured into for mobile terminal device, completely can be with
Omitted as needed in the essential scope for do not change invention.
Audio output unit 103 can be in call signal reception pattern, call mode, note in mobile terminal device 100
When under the isotypes such as record pattern, speech recognition mode, broadcast reception mode, radio frequency unit 101 or WiFi module 102 are received
Or it is sound that the voice data stored in memory 109, which is converted into audio signal and exported,.Moreover, audio output unit
103 can also provide the audio output related to the specific function that mobile terminal device 100 performs (for example, call signal receives
Sound, message sink sound etc.).Audio output unit 103 can include loudspeaker, buzzer etc..
A/V input blocks 104 are used to receive audio or video signal.A/V input blocks 104 can include graphics processor
(Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode
Or the static images or the view data of video obtained in image capture mode by image capture apparatus (such as camera) are carried out
Reason.Picture frame after processing may be displayed on display unit 106.Picture frame after the processing of graphics processor 1041 can be deposited
Storage is transmitted in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike
Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042
Quiet down sound (voice data), and can be voice data by such acoustic processing.Audio (voice) data after processing can
To be converted to the form output that mobile communication base station can be sent to via radio frequency unit 101 in the case of telephone calling model.
Microphone 1042 can implement various types of noises and eliminate (or suppression) algorithm to eliminate (or suppression) in reception and send sound
Caused noise or interference during frequency signal.
Mobile terminal device 100 also includes at least one sensor 105, for example, optical sensor, motion sensor and its
His sensor.Specifically, optical sensor includes ambient light sensor and proximity transducer, wherein, ambient light sensor can basis
The light and shade of ambient light adjusts the brightness of display panel 1061, and proximity transducer can be moved to ear in mobile terminal device 100
Bian Shi, close display panel 1061 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect each side
The size of (generally three axles) acceleration upwards, can detect that size and the direction of gravity when static, available for identification mobile phone appearance
The application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating) of state, Vibration identification correlation function (such as pedometer,
Tap) etc.;The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope,
The other sensors such as barometer, hygrometer, thermometer, infrared ray sensor, will not be repeated here.
Display unit 106 is used for the information for showing the information inputted by user or being supplied to user.Display unit 106 can wrap
Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used
Forms such as (Organic Light-Emitting Diode, OLED) configures display panel 1061.
User input unit 107 can be used for the numeral or character information for receiving input, and generation and mobile terminal device
User set and function control it is relevant key signals input.Specifically, user input unit 107 may include contact panel
1071 and other input equipments 1072.Contact panel 1071, also referred to as touch-screen, collect user's touching on or near it
Touch operation (such as user using any suitable object or annex such as finger, stylus on contact panel 1071 or in touch surface
Operation near plate 1071), and corresponding attachment means are driven according to formula set in advance.Contact panel 1071 may include to touch
Touch two parts of detection means and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch
The signal brought is operated, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus,
And contact coordinate is converted into, then processor 110 is given, and the order sent of reception processing device 110 and can be performed.This
Outside, the polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave can be used to realize contact panel 1071.Except touching
Panel 1071 is controlled, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072
Physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operation can be included but is not limited to
One or more in bar etc., are not limited specifically herein.
Further, contact panel 1071 can cover display panel 1061, detect thereon when contact panel 1071 or
After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing
The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, contact panel 1071 and display panel
1061 be the part independent as two to realize the input of mobile terminal device and output function, but in some embodiments
In, contact panel 1071 and display panel 1061 can be integrated and realize input and the output function of mobile terminal device, had
Body does not limit herein.
Interface unit 108 is connected the interface that can pass through as at least one external device (ED) with mobile terminal device 100.Example
Such as, external device (ED) can include wired or wireless head-band earphone port, external power source (or battery charger) port, You Xianhuo
Wireless data communications port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end
Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number
It is believed that breath, electric power etc.) and by the input received be transferred to one or more elements in mobile terminal device 100 or
It can be used for transmitting data between mobile terminal device 100 and external device (ED).
Memory 109 can be used for storage software program and various data.Memory 109 can mainly include storing program area
And storage data field, wherein, storing program area can storage program area, at least one function desired view (for example broadcast by sound
Playing function, image player function etc.) etc.;Storage data field can store uses created data (such as audio according to mobile phone
Data, phone directory etc.) etc..In addition, memory 109 can include high-speed random access memory, can also include non-volatile
Memory, for example, at least a disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal device, utilizes various interfaces and the whole mobile terminal of connection
The various pieces of equipment, by running or performing the software program and/or module that are stored in memory 109, and call and deposit
The data in memory 109 are stored up, perform the various functions and processing data of mobile terminal device, so as to mobile terminal device
Carry out integral monitoring.Processor 110 may include one or more processing units;Preferably, processor 110 can be integrated using processing
Device and modem processor, wherein, application processor mainly handles operating system, user interface and view etc., modulation /demodulation
Processor mainly handles radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110
In.
Mobile terminal device 100 can also include the power supply 111 (such as battery) to all parts power supply, it is preferred that electricity
Source 111 can be logically contiguous by power-supply management system and processor 110, so as to realize that management is filled by power-supply management system
The functions such as electricity, electric discharge and power managed.
Although Fig. 1 is not shown, mobile terminal device 100 can also will not be repeated here including bluetooth module etc..
For the ease of understanding the embodiment of the present invention, below to the communication network system that is based on of mobile terminal device of the present invention
System is described.
Referring to Fig. 2, Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention, the communication network system
Unite as the LTE system of universal mobile communications technology, the UE that the LTE system includes communicating connection successively (User Equipment, is used
Family equipment) 201, E-UTRAN (Evolved UMTS Terrestrial Radio Access Network, evolved UMTS lands
Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation
204。
Specifically, UE201 can be above-mentioned terminal device 100, and here is omitted.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning
Journey (backhaul) (such as X2 interface) is connected with other eNodeB2022, and eNodeB2021 is connected to EPC203,
ENodeB2021 can provide UE201 to EPC203 access.
EPC203 can include MME (Mobility Management Entity, mobility management entity) 2031, HSS
(Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way,
Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and
Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and
The control node of signaling between EPC203, there is provided carrying and connection management.HSS2032 is all to manage for providing some registers
Such as the function of attaching position register (not shown) etc, and preserve some and used about service features, data rate etc.
The special information in family.All customer data can be transmitted by SGW2034, and PGW2035 can provide UE 201 IP
Address is distributed and other functions, and PCRF2036 is strategy and the charging control strategic decision-making of business data flow and IP bearing resources
Point, it selects and provided available strategy and charging control decision-making with charge execution function unit (not shown) for strategy.
IP operation 204 can include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia
System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art it is to be understood that the present invention not only
Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with
And following new network system etc., do not limit herein.
Based on above-mentioned mobile terminal device hardware configuration and communications network system, each embodiment of the invention is proposed.
A kind of charging identification circuit proposed by the present invention, applied to terminal device (such as mobile terminal), charging identification electricity
Road include USB type-C sockets, USB/AUDIO switching switch, dispatch from foreign news agency source module, power management module, and respectively with power supply
Management module connected CPU processor and battery;The USB type-C sockets switch with USB/AUDIO switchings respectively, power supply
Management module and dispatch from foreign news agency source module electrical connection, for USB type-C sockets insert charger when be respectively that USB/AUDIO is cut
Change switch, power management module and dispatch from foreign news agency source module and VBUS signals are provided, and provided for dispatch from foreign news agency source module for battery charging
Charging voltage VBAT;USB/AUDIO switching switch respectively with USB type-C sockets, dispatch from foreign news agency source module and power management mould
Block is electrically connected, and the USB/AUDIO switchings switch receives the VBUS signals from USB type-C sockets and is used to switch and connect
USB passages between power management module, and USB/AUDIO switching switches receive the charging voltage of dispatch from foreign news agency source module
VBAT, and power management module is input to by USB passages, to be charged to battery.The USB/AUDIO switchings of the present invention are opened
Close, and dispatch from foreign news agency source module uses the VBUS signals of charger as enable signal, as long as insertion charger will be to provide
VBUS signals, input and make USB/AUDIO switchings switch and dispatch from foreign news agency source module normal work, so that the charging of terminal device
Platform no longer only relies on the signal of platform power management module output itself as enabled, though platform in itself in cell voltage very
It is low and can not hard reboot when, also can correctly identify charger and charge normal.
Embodiment one
As shown in figure 3, the system architecture diagram for the first embodiment that charger identification circuit of the present invention proposes, of the invention
Identification circuit charge compared with traditional scheme, it is to be understood that when battery is in low battery, system platform can not all open
It is dynamic, refer to that cell voltage is too low and be less than system platform hard reboot voltage, such as:When cell voltage is less than 3V, and system platform
Hard reboot required voltage is at least greater than more than 3V, then now, system platform can not hard reboot.At present, traditional charging is known
Made in other scheme using enable signal of the power supply (i.e. the output of power management module) of system platform output as external power
In battery floor voltage, existing can not hard reboot and the defects of identify charging circuit.
To solve the defects of above-mentioned middle tradition charging identification circuit, it is proposed that charging identification circuit of the invention, ensure that
Charger can be correctly identified when voltage is compared with low state and normal voltage state in battery, so as to be charged normal.
The charging identification circuit includes USB type-C sockets, USB/AUDIO switchings switch, dispatch from foreign news agency source module, power supply pipe
Manage module, CPU processor and battery;
The power management module is connected with battery and CPU processor respectively, for the charge control of battery, Yi Jiwei
CPU processor and system platform provide electric energy;
The USB type-C sockets include VBUS ports, USB D+/D- ports and grounding ports;
The dispatch from foreign news agency source module is connected with VBUS ports, battery and USB/AUDIO switching switch respectively, for USB
When type-C sockets insert charger, the VBUS signals from VBUS ports are received as enable signal, and receive and come from battery
Voltage as input power, and be used for USB/AUDIO for USB/AUDIO switching switch conveyings after enabled and switch switch
Working power;
The USB/AUDIO switchings switch is connected with USB D+/D- ports, power management module and CPU processor respectively,
When inserting charger for USB type-C sockets, the enable signal from CPU processor is received, and USB/AUDIO switches
After switch receives the working power from dispatch from foreign news agency source module, USB/AUDIO switching switches are switched to and the electricity
The connected USB passages of source control module, now, the USB D+/D- signals of charger pass sequentially through USB Type-c sockets, USB/
AUDIO switching switches are input to power management module, and the power management module is detected after USB D+/D- signals and is transferred to
CPU processor, to start charger recognition detection;
The power management module is also connected with VBUS ports, is received after the completion of being identified for charging and comes from VBUS ports
VBUS signals, and battery is charged using the electric energy of the VBUS signals.
Specifically, after USB type-C sockets insert charger, the VBUS ports of USB type-C sockets can be defeated immediately
Go out enable signal of the voltage of VBUS signal as dispatch from foreign news agency source module, while the voltage VBAT of battery inputs electricity as dispatch from foreign news agency source module
Source Vin1.It is to be understood that because dispatch from foreign news agency source module is joined directly together with battery, if battery is in low-voltage, although
System platform can not hard reboot, but the voltage of input power can be provided for dispatch from foreign news agency source module.Make when dispatch from foreign news agency source module has
Can and input power, dispatch from foreign news agency source module can horse back output voltage Vout, external power elapsed time is T1 during this, actual mistake
The time, T1 was very short in journey, according to the working characteristics of dispatch from foreign news agency source module, almost may be considered and VBUS synchronizations.
When output voltage Vout supply USB/AUDIO switching switches, as its working power, this time USB/AUDIO switchings
Switch simultaneously switches to USB passages, will be used for charger detection USB D+/D- signals and be transferred to power management module.This process
USB/AUDIO switching switch elapsed times are T2, and time T2 is switch internal switching time, and T2 is several Milliseconds.
To cause after charger inserts USB type-C sockets, power management module has detected voltage of VBUS, simultaneously
USB D+/D- signals pass to PM power management modules by USB/AUDIO switches after charger insertion, now, power management mould
Detected again with CPU processor communication according to charge protocol and charge parameter configures, after identification is normal, start normally to fill
Electricity.Herein it should be noted that power management mould communicates between CPU processor again, and how to identify, belong to prior art
Field, it is not set forth in detail herein.
As shown in figure 4, being the working timing figure of terminal device of the present invention, voltage of VBUS has been detected from power management module
Start, after reaching time T0 system platform detect and identifies charger, and time T0 is hundred Milliseconds, and T0>T1+T2,
USB passages are had been turned on before charging detection communication, i.e. the communication with charger of power management module is connected, USB D+/D- signals
Power management module is transferred to, then system can correctly identify charger, and charge normal.
The charging identification circuit of embodiment one, by including USB type-C sockets, USB/AUDIO switchings switch, dispatch from foreign news agency
Source module, power management module, CPU processor and battery;The power management module respectively with battery and CPU processor phase
Even, for the charge control of battery, and for CPU processor and system platform electric energy is provided;The USBtype-C sockets bag
Include VBUS ports, USB D+/D- ports and grounding ports;The dispatch from foreign news agency source module respectively with VBUS ports, battery and USB/
AUDIO switching switches are connected, and when inserting charger for USB type-C sockets, receive the VBUS signals from VBUS ports
As enable signal, and the voltage from battery is received as input power, and it is defeated for USB/AUDIO switching switches after enabled
Send the working power for USB/AUDIO switching switchs;USB/AUDIO switching switch respectively with USB D+/D- ends
Mouth, power management module are connected with CPU processor, when inserting charger for USB type-C sockets, receive at CPU
The enable signal of device is managed, and USB/AUDIO switchings are switched after receiving the working power from dispatch from foreign news agency source module, by described in
USB/AUDIO switching switches are switched to the USB passages being connected with the power management module, now, the USB D+/D- of charger
Signal passes sequentially through USB Type-c sockets, USB/AUDIO switching switches are input to power management module, the power management mould
Block detects after USB D+/D- signals and is transferred to CPU processor, to start charger recognition detection;The power management mould
Block is also connected with VBUS ports, the VBUS signals from VBUS ports is received after the completion of being identified for charging, and utilize and be somebody's turn to do
The electric energy of VBUS signals charges to battery.To switch so that present invention optimizes USB/AUDIO switchings, and be opened to the switching
The work schedule of the dispatch from foreign news agency source module of power supply is closed, ensureing can be correct when voltage is compared with low state and normal voltage state in battery
Charger is identified, and is correctly charged, avoids the occurrence of the phenomenon because that can not be charged when battery is in low-voltage.
Embodiment two
As shown in figure 5, the system architecture diagram for the second embodiment that charger identification circuit of the present invention proposes.Embodiment two
Substantially similar to the technical scheme of embodiment one, difference is dispatch from foreign news agency source module while the compatibility power supply of system platform in itself,
And the power supply signal of power management module output, when USB type-C sockets are not inserted into charger, dispatch from foreign news agency source module and USB/
AUDIO switching switch can also normal work, with do not influence the detection of audio accessory identification.
The charger identification circuit of embodiment two, including USB type-C sockets, USB/AUDIO switching switch, external power
Module, power management module, CPU processor and battery;
The power management module is connected with battery and CPU processor respectively, for the charge control of battery, Yi Jiwei
CPU processor and system platform provide electric energy;
The USB type-C sockets include VBUS ports, USB D+/D- ports and grounding ports;
The dispatch from foreign news agency source module is connected with VBUS ports, battery and USB/AUDIO switching switch respectively, for USB
When type-C sockets insert charger, the VBUS signals from VBUS ports are received as enable signal, and receive and come from battery
Voltage as input power, and be used for USB/AUDIO for USB/AUDIO switching switch conveyings after enabled and switch switch
Working power;
The USB/AUDIO switchings switch is connected with USB D+/D- ports, power management module and CPU processor respectively,
When inserting charger for USB type-C sockets, the enable signal from CPU processor is received, and USB/AUDIO switches
After switch receives the working power from dispatch from foreign news agency source module, USB/AUDIO switching switches are switched to and the electricity
The connected USB passages of source control module, now, the USB D+/D- signals of charger pass sequentially through USB Type-c sockets, USB/
AUDIO switching switches are input to power management module, and the power management module is detected after USB D+/D- signals and is transferred to
CPU processor, to start charger recognition detection;
The power management module is also connected with VBUS ports, is received after the completion of being identified for charging and comes from VBUS ports
VBUS signals, and battery is charged using the electric energy of the VBUS signals.
Preferably, the port for being used to receive the VBUS signals from VBUS ports on the dispatch from foreign news agency source module is Enable Pin
Mouthful, the described enable port is also connected with power management module.
Preferably, the USB/AUDIO switchings switch is additionally provided with the earphone passage for connecting audio process, when described
When USB type-C sockets insert earphone, the Enable Pin of the dispatch from foreign news agency source module receives the enabled letter from power management module
Number enabled, and be used for the work electricity that USB/AUDIO switches switch after enabled for USB/AUDIO switching switch conveyings
Source.
Preferably, is in series between the enable port of the dispatch from foreign news agency source module and the VBUS ports of USB type-C sockets
One diode VD1, and the first diode VD1 negative electrode is connected with the enable port;The enable port and power management module
Between be in series with the second diode VD2, and the second diode VD2 negative electrode is connected with the enable port, the first diode VD1 and
Second diode VD2 is used for above-mentioned two input signal for isolating the enable port, in the presence of avoiding two signals simultaneously, prevents mutually
Mutually pour in down a chimney.
Preferably, the port for being used to receive the voltage from battery on the dispatch from foreign news agency source module is power input, described
The first filter capacitor C1 is connected between power input and ground;It is used to open to USB/AUDIO switchings on the dispatch from foreign news agency source module
The port for closing output power supply is output port of power source, and the second filter capacitor is connected between the output port of power source and ground
C2。
Embodiment two not only uses the VBUS signal conducts of charger by using above-mentioned technical proposal, dispatch from foreign news agency source module
Enable signal, while the enable port is also compatible with the power supply signal of power management module offer as enable signal.So that originally fill
Electric identification circuit not only can correctly identify charger after charger is inserted, and insert audio accessory in USB type-C sockets in addition
When (earphone or headset), dispatch from foreign news agency source module uses the enable signal of fulgurite management module output, and switching switch for USB/AUDIO carries
For working power, USB/AUDIO switching switches are made to be switched to voice-grade channel, for audio output so that the charging of the present embodiment
Identification circuit, it is not limited only to USB type-C sockets and plugs charger to identify charged state, moreover it is possible in USB type-C sockets
When inserting audio accessory, simultaneously exports audio signal is identified.
Embodiment three
As shown in fig. 6, the system architecture diagram for the 3rd embodiment that charger identification circuit of the present invention proposes.Embodiment three
Substantially similar to the technical scheme of embodiment one and embodiment two, difference is VBUS signals by being accessed after divider resistance partial pressure
On the enable port of dispatch from foreign news agency source module.
The charger identification circuit of embodiment two, including USB type-C sockets, USB/AUDIO switching switch, external power
Module, power management module, CPU processor and battery;
The power management module is connected with battery and CPU processor respectively, for the charge control of battery, Yi Jiwei
CPU processor and system platform provide electric energy;
The USB type-C sockets include VBUS ports, USB D+/D- ports and grounding ports;
The dispatch from foreign news agency source module is connected with VBUS ports, battery and USB/AUDIO switching switch respectively, for USB
When type-C sockets insert charger, the VBUS signals from VBUS ports are received as enable signal, and receive and come from battery
Voltage as input power, and be used for USB/AUDIO for USB/AUDIO switching switch conveyings after enabled and switch switch
Working power;
The USB/AUDIO switchings switch is connected with USB D+/D- ports, power management module and CPU processor respectively,
When inserting charger for USB type-C sockets, the enable signal from CPU processor is received, and USB/AUDIO switches
After switch receives the working power from dispatch from foreign news agency source module, USB/AUDIO switching switches are switched to and the electricity
The connected USB passages of source control module, now, the USB D+/D- signals of charger pass sequentially through USB Type-c sockets, USB/
AUDIO switching switches are input to power management module, and the power management module is detected after USB D+/D- signals and is transferred to
CPU processor, to start charger recognition detection;
The power management module is also connected with VBUS ports, is received after the completion of being identified for charging and comes from VBUS ports
VBUS signals, and battery is charged using the electric energy of the VBUS signals.
Preferably, the port for being used to receive the VBUS signals from VBUS ports on the dispatch from foreign news agency source module is Enable Pin
Mouthful, the described enable port is also connected with power management module.
Preferably, the USB/AUDIO switchings switch is additionally provided with the earphone passage for connecting audio process, when described
When USB type-C sockets insert earphone, the Enable Pin of the dispatch from foreign news agency source module receives the enabled letter from power management module
Number enabled, and be used for the work electricity that USB/AUDIO switches switch after enabled for USB/AUDIO switching switch conveyings
Source.
Preferably, is in series between the enable port of the dispatch from foreign news agency source module and the VBUS ports of USB type-C sockets
One diode VD1, and the first diode VD1 negative electrode is connected with the enable port;The enable port and power management module
Between be in series with the second diode VD2, and the second diode VD2 negative electrode is connected with the enable port.
Preferably, divider resistance, the partial pressure electricity are additionally provided between the anode of the first diode VD1 and VBUS ports
Resistance includes first resistor R1 and second resistance R2, and the first resistor R1 is series between the first diode VD1 and VBUS, described
Second resistance R2 one end ground connection, the second resistance R2 other end is connected with the first diode VD1 anode, using divider resistance
The VBUS signal partial pressures inputted to LDO enable port, can effectively be avoided when using model QC2.0 9V and QC3.0 12V's
During charger, because exporting the too high infringement chips of VBUS.
Preferably, the resistance of reasonable selection divider resistance carries out partial pressure to voltage of VBUS, can make the charger of different model
The voltage of VBUS exported can reach the working range (Vin min~Vin max) of LDO enable signals.Filled for example with 5V
Electrical equipment, model have QC2.0 9V, and two kinds of chargers of QC3.0 12V, the voltage of VBUS that it is exported after reasonable partial pressure by that can fall
In the working range of LDO enable signals so that terminal device can correctly identify the charging of Multiple Type using the identification circuit
Device, and charge normal.
Preferably, the port for being used to receive the voltage from battery on the dispatch from foreign news agency source module is power input, described
The first filter capacitor C1 is connected between power input and ground;It is used to open to USB/AUDIO switchings on the dispatch from foreign news agency source module
The port for closing output power supply is output port of power source, and the second filter capacitor is connected between the output port of power source and ground
C2。
Preferably, the dispatch from foreign news agency source module is LDO power supplys or Buck power supplys.
Specifically, when power module is LDO power supplys, model TLV70733PDQNR, RP114K331D- of the LDO
TRB or AP7343D-33FS4-7B, certainly, LDO can also be other specifications and models of identical function.
As shown in fig. 7, it is LDO of the present invention hardware circuit diagram, for a further understanding of LDO function, referring to Fig. 7
The input/output signal of LDO each functional pin is provided, as shown in Table 1:
Table one
As shown in figure 8, it is the hardware circuit diagram of USB/AUDIO of the present invention switching switches, for a further understanding of USB/
The function of AUDIO switching switches, the input/output that each functional pin of USB/AUDIO switching switches is provided referring to Fig. 8 are believed
Number, as shown in Table 2:
Table two
Embodiment three not only uses the VBUS signal conducts of charger by using above-mentioned technical proposal, dispatch from foreign news agency source module
Enable signal, while the enable port is also compatible with the power supply signal of power management module offer as enable signal so that originally fill
Electric identification circuit not only can correctly identify charger after charger is inserted, and insert audio accessory in USB type-C sockets in addition
When (earphone or headset), dispatch from foreign news agency source module uses the enable signal of fulgurite management module output, and switching switch for USB/AUDIO carries
For working power, USB/AUDIO switching switches are made to be switched to voice-grade channel, for audio output, in addition, after insertion charger,
VBUS signals carry out the Enable Pin for carrying out partial pressure by divider resistance and being input to dispatch from foreign news agency source module so that in reasonable selection partial pressure
Intrinsic standoff ratio, the voltage of VBUS signal of the charger output of different model can fall the work model in the enable signal of outer power module
In enclosing, so that charging identification circuit correctly identifies, and charge normal.
Example IV
As shown in figure 9, the method flow diagram for the fourth embodiment that the recognition methods of present invention charging identification circuit proposes, real
Apply the method that example four is proposed and be applied to terminal device (such as mobile terminal), for identifying filling for the connection charging identification circuit
Electrical equipment, to realize the correct charging to terminal device, particularly relatively low in battery electric quantity, the system platform of terminal device can not be opened
During machine, and it can correctly identify charger and charge.
This method comprises the following steps:
Step S1, insertion charger, charger output voltage of VBUS signal to charge management module and dispatch from foreign news agency source module, with
And output USB D+/D- signals switch switch to USB/AUDIO;
Step S2, external power mould receive VBUS signals and enabled, and elapsed time T1, out-put supply is cut to USB/AUDIO
Change switch;
Step S3, USB/AUDIO switching switch receives the working power from dispatch from foreign news agency source module, and after elapsed time T2
USB passages are switched to, and USB D+/D- signals are conveyed to charge management module;
Step S4, system platform start since power management module receives voltage of VBUS signal after elapsed time T0
Charge recognition detection;
Step S5, judge USB/AUDIO switching switch whether start charge recognition detection before have been switched to USB passages,
It is correctly to identify charger, and charges normal, otherwise can not identifies charger, and can not charge.
It should be noted that, above-mentioned recognition methods is based on charging identification circuit herein, therefore, lower charging is detailed below and knows
Other circuit:
The charger identification circuit, including USB type-C sockets, USB/AUDIO switching switch, dispatch from foreign news agency source module, electricity
Source control module, CPU processor and battery;
The power management module is connected with battery and CPU processor respectively, for the charge control of battery, Yi Jiwei
CPU processor and system platform provide electric energy;
The USB type-C sockets include VBUS ports, USB D+/D- ports and grounding ports;
The dispatch from foreign news agency source module is connected with VBUS ports, battery and USB/AUDIO switching switch respectively, for USB
When type-C sockets insert charger, the VBUS signals from VBUS ports are received as enable signal, and receive and come from battery
Voltage as input power, and be used for USB/AUDIO for USB/AUDIO switching switch conveyings after enabled and switch switch
Working power;
The USB/AUDIO switchings switch is connected with USB D+/D- ports, power management module and CPU processor respectively,
When inserting charger for USB type-C sockets, the enable signal from CPU processor is received, and USB/AUDIO switches
After switch receives the working power from dispatch from foreign news agency source module, USB/AUDIO switching switches are switched to and the electricity
The connected USB passages of source control module, now, the USB D+/D- signals of charger pass sequentially through USB Type-c sockets, USB/
AUDIO switching switches are input to power management module, and the power management module is detected after USB D+/D- signals and is transferred to
CPU processor, to start charger recognition detection;
The power management module is also connected with VBUS ports, is received after the completion of being identified for charging and comes from VBUS ports
VBUS signals, and battery is charged using the electric energy of the VBUS signals.
Specifically, after USB type-C sockets insert charger, the VBUS ports of USB type-C sockets can be defeated immediately
Go out enable signal of the voltage of VBUS signal as dispatch from foreign news agency source module, while the voltage VBAT of battery inputs electricity as dispatch from foreign news agency source module
Source Vin1.It is to be understood that because dispatch from foreign news agency source module is joined directly together with battery, if battery is in low-voltage, although
System platform can not hard reboot, but the voltage of input power can be provided for dispatch from foreign news agency source module.Make when dispatch from foreign news agency source module has
Can and input power, dispatch from foreign news agency source module can horse back output voltage Vout, external power elapsed time is T1 during this, actual mistake
The time, T1 was very short in journey, according to the working characteristics of dispatch from foreign news agency source module, almost may be considered and VBUS synchronizations.
When output voltage Vout supply USB/AUDIO switching switches, as its working power, this time USB/AUDIO switchings
Switch simultaneously switches to USB passages, will be used for charger detection USB D+/D- signals and be transferred to power management module.This process
USB/AUDIO switching switch elapsed times are T2, and time T2 is switch internal switching time, and T2 is several Milliseconds.
Preferably, the time T0 be more than time T1 and time T2's and.
To cause after charger inserts USB type-C sockets, power management module has detected voltage of VBUS, simultaneously
USB D+/D- signals pass to PM power management modules by USB/AUDIO switches after charger insertion, now, power management mould
Detected again with CPU processor communication according to charge protocol and charge parameter configures, after identification is normal, start normally to fill
Electricity.Herein it should be noted that power management mould communicates between CPU processor again, and how to identify, belong to prior art
Field, it is not set forth in detail herein.
Preferably, the T1 is the time of dispatch from foreign news agency source module itself work and out-put supply, and the T2 cuts for USB/AUDIO
Change the time of switch switching channel, the T0 is the detection time that T0 is system platform acquiescence.
Preferably, the port for being used to receive the VBUS signals from VBUS ports on the dispatch from foreign news agency source module is Enable Pin
Mouthful, the described enable port is also connected with power management module.
Preferably, the USB/AUDIO switchings switch is additionally provided with the earphone passage for connecting audio process, when described
When USB type-C sockets insert earphone, the Enable Pin of the dispatch from foreign news agency source module receives the enabled letter from power management module
Number enabled, and be used for the work electricity that USB/AUDIO switches switch after enabled for USB/AUDIO switching switch conveyings
Source.
Preferably, is in series between the enable port of the dispatch from foreign news agency source module and the VBUS ports of USB type-C sockets
One diode VD1, and the first diode VD1 negative electrode is connected with the enable port;The enable port and power management module
Between be in series with the second diode VD2, and the second diode VD2 negative electrode is connected with the enable port.
Preferably, divider resistance, the partial pressure electricity are additionally provided between the anode of the first diode VD1 and VBUS ports
Resistance includes first resistor R1 and second resistance R2, and the first resistor R1 is series between the first diode VD1 and VBUS, described
Second resistance R2 one end ground connection, the second resistance R2 other end is connected with the first diode VD1 anode, using divider resistance
The VBUS signal partial pressures inputted to LDO enable port, can effectively be avoided when using model QC2.0 9V and QC3.0 12V's
During charger, because exporting the too high infringement chips of VBUS.
Preferably, the resistance of reasonable selection divider resistance carries out partial pressure to voltage of VBUS, can make the charger of different model
The voltage of VBUS exported can reach the working range (Vin min~Vin max) of LDO enable signals.Filled for example with 5V
Electrical equipment, model have QC2.0 9V, and two kinds of chargers of QC3.0 12V, the voltage of VBUS that it is exported after reasonable partial pressure by that can fall
In the working range of LDO enable signals so that terminal device can correctly identify the charging of Multiple Type using the identification circuit
Device, and charge normal.
Preferably, the port for being used to receive the voltage from battery on the dispatch from foreign news agency source module is power input, described
The first filter capacitor C1 is connected between power input and ground;It is used to open to USB/AUDIO switchings on the dispatch from foreign news agency source module
The port for closing output power supply is output port of power source, and the second filter capacitor is connected between the output port of power source and ground
C2。
Preferably, the dispatch from foreign news agency source module is LDO power supplys or Buck power supplys.
Example IV is by using above-mentioned technical proposal so that present invention optimizes USB/AUDIO switchings to switch, and gives
The work schedule of the dispatch from foreign news agency source module of switching switch power supply, when ensureing in battery in voltage compared with low state and normal voltage state
Charger can be correctly identified, and is correctly charged, avoids the occurrence of the phenomenon because that can not be charged when battery is in low-voltage.In addition,
When USB type-C sockets insert audio accessory (earphone or headset), dispatch from foreign news agency source module is made using the output of fulgurite management module
Energy signal, working power is provided for USB/AUDIO switching switches, USB/AUDIO switching switches is switched to voice-grade channel, is used for
Audio output so that the charging identification circuit of the present embodiment, be not limited only to USB type-C sockets and plug charger to fill to identify
Electricity condition, moreover it is possible to when USB type-C sockets insert audio accessory, identify simultaneously exports audio signal.
The invention also provides a kind of terminal device, the charging identification electricity described in any of the above-described embodiment of the terminal device
Road.The terminal device can be the electronic equipments such as mobile phone, notebook computer or tablet personal computer, not enumerate herein.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row
His property includes, so that process, method, article or device including a series of elements not only include those key elements, and
And also include the other element being not expressly set out, or also include for this process, method, article or device institute inherently
Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this
Other identical element also be present in the process of key element, method, article or device.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on such understanding, technical scheme is substantially done to prior art in other words
Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium
In (such as ROM/RAM, magnetic disc, CD), including some instructions to cause a station terminal equipment (can be mobile phone, computer, clothes
Be engaged in device, air conditioner, or network equipment etc.) perform method described in each embodiment of the present invention.
Embodiments of the invention are described above in conjunction with accompanying drawing, but the invention is not limited in above-mentioned specific
Embodiment, above-mentioned embodiment is only schematical, rather than restricted, one of ordinary skill in the art
Under the enlightenment of the present invention, in the case of present inventive concept and scope of the claimed protection is not departed from, it can also make a lot
Form, these are belonged within the protection of the present invention.
Claims (11)
1. one kind charging identification circuit, it is characterised in that including USB type-C sockets, USB/AUDIO switchings switch, external power
Module, power management module, CPU processor and battery;
The power management module is connected with battery and CPU processor respectively, for the charge control of battery, and is CPU
Processor and system platform provide electric energy;
The USB type-C sockets include VBUS ports, USB D+/D- ports and grounding ports;
The dispatch from foreign news agency source module is connected with VBUS ports, battery and USB/AUDIO switching switch respectively, for USB type-C
When socket inserts charger, the VBUS signals from VBUS ports are received as enable signal, and receive the voltage from battery
As input power, and the work for being used for USB/AUDIO and switching switch is conveyed for USB/AUDIO switching switches after enabled
Power supply;
USB/AUDIO switching switch is connected with USB D+/D- ports, power management module and CPU processor respectively, with
When USB type-C sockets insert charger, the enable signal from CPU processor, and USB/AUDIO switching switches are received
After receiving the working power from dispatch from foreign news agency source module, USB/AUDIO switching switches are switched to and the power supply pipe
The connected USB passages of module are managed, now, the USB D+/D- signals of charger pass sequentially through USB Type-c sockets, USB/
AUDIO switching switches are input to power management module, and the power management module is detected after USB D+/D- signals and is transferred to
CPU processor, to start charger recognition detection;
The power management module is also connected with VBUS ports, is received after the completion of being identified for charging from VBUS ports
VBUS signals, and battery is charged using the electric energy of the VBUS signals.
2. charging identification circuit according to claim 1, it is characterised in that come from the dispatch from foreign news agency source module for reception
The port of the VBUS signals of VBUS ports is enable port, and the described enable port is also connected with power management module.
3. charging identification circuit according to claim 2, it is characterised in that the USB/AUDIO switchings switch is additionally provided with
For connecting the earphone passage of audio process, when the USB type-C sockets insert earphone, the dispatch from foreign news agency source module
Enable Pin receives the enable signal from power management module and enabled, and is USB/AUDIO switching switches after enabled
Convey the working power for USB/AUDIO switching switchs.
4. charging identification circuit according to claim 2, it is characterised in that the enable port of the dispatch from foreign news agency source module with
The first diode VD1 is in series between the VBUS ports of USB type-C sockets, and the first diode VD1 negative electrode is enabled with this
Port is connected;It is in series with the second diode VD2 between the enable port and power management module, and the second diode VD2
Negative electrode is connected with the enable port.
5. charging identification circuit according to claim 4, it is characterised in that the anode of the first diode VD1 with
Divider resistance is additionally provided between VBUS ports, the divider resistance includes first resistor R1 and second resistance R2, first electricity
Resistance R1 is series between the first diode VD1 and VBUS, one end ground connection of the second resistance R2, the second resistance R2 other end
It is connected with the first diode VD1 anode.
6. charging identification circuit according to claim 5, it is characterised in that come from the dispatch from foreign news agency source module for reception
The port of the voltage of battery is power input, and the first filter capacitor C1 is connected between the power input and ground;It is described
The port for being used to switch switch output power supply to USB/AUDIO on dispatch from foreign news agency source module is output port of power source, the power supply
The second filter capacitor C2 is connected between output port and ground.
7. the charging identification circuit according to any one of claim 1 to 6, it is characterised in that the dispatch from foreign news agency source module is LDO
Power supply or Buck power supplys.
A kind of 8. recognition methods of charging identification circuit using described in any one of claim 1 to 7, it is characterised in that including
Following steps:
S1, inserts charger, and charger exports voltage of VBUS signal to charge management module and dispatch from foreign news agency source module, and output
USB D+/D- signals switch to USB/AUDIO to be switched;
S2, external power mould receive VBUS signals and enabled, elapsed time T1, and out-put supply switches to USB/AUDIO to be switched;
S3, USB/AUDIO switching switch receive the working power from dispatch from foreign news agency source module, and are switched to after elapsed time T2
USB passages, and USB D+/D- signals are conveyed to charge management module;
S4, system platform start charging identification since power management module receives voltage of VBUS signal, after elapsed time T0
Detection;
S5, judge USB/AUDIO switching switch whether start charge recognition detection before have been switched to USB passages, be then correct
Charger is identified, and is charged normal, otherwise can not identify charger, and can not charge.
9. charging recognition methods according to claim 8, it is characterised in that the T1 is that dispatch from foreign news agency source module itself works simultaneously
The time of out-put supply, the T2 are the time of USB/AUDIO switching switch switching channels, and the T0 is that T0 is that system platform is write from memory
The detection time recognized.
10. charging recognition methods according to claim 9, it is characterised in that the time T0 is more than time T1 and time
T2 sum.
11. a kind of terminal device, it is characterised in that including the charging identification circuit described in any one of claim 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710888368.XA CN107546808B (en) | 2017-09-27 | 2017-09-27 | Charging identification circuit, identification method and terminal equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710888368.XA CN107546808B (en) | 2017-09-27 | 2017-09-27 | Charging identification circuit, identification method and terminal equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107546808A true CN107546808A (en) | 2018-01-05 |
CN107546808B CN107546808B (en) | 2020-11-10 |
Family
ID=60964364
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710888368.XA Active CN107546808B (en) | 2017-09-27 | 2017-09-27 | Charging identification circuit, identification method and terminal equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107546808B (en) |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108430005A (en) * | 2018-04-26 | 2018-08-21 | 努比亚技术有限公司 | A kind of voicefrequency circuit, audio judgment method and mobile terminal |
CN108879890A (en) * | 2018-09-05 | 2018-11-23 | 苏州玻泽物联网科技有限公司 | A kind of induction charging stake |
CN108966085A (en) * | 2018-06-28 | 2018-12-07 | 努比亚技术有限公司 | adaptive audio circuit and mobile terminal |
CN109087675A (en) * | 2018-08-01 | 2018-12-25 | 灿芯半导体(上海)有限公司 | Single supply domain turns the implementation method of multi-power domain and ddr interface reference current |
CN109557994A (en) * | 2018-11-29 | 2019-04-02 | 努比亚技术有限公司 | A kind of charge fault monitoring method, equipment and computer can storage mediums |
CN110087217A (en) * | 2018-01-26 | 2019-08-02 | 创科(澳门离岸商业服务)有限公司 | Electrical equipment, electric system, electric tool, electric tool network and device for controlling power tool |
CN111130596A (en) * | 2019-11-14 | 2020-05-08 | 华为技术有限公司 | Multiplexing circuit, interface circuit system and mobile terminal |
CN113315204A (en) * | 2021-06-07 | 2021-08-27 | 华勤技术股份有限公司 | Charging circuit, charging method and earphone box |
EP3902086A4 (en) * | 2018-12-21 | 2022-01-12 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | LOAD CONTROL APPARATUS AND METHOD, AND ELECTRONIC DEVICE |
WO2023273774A1 (en) * | 2021-06-29 | 2023-01-05 | 百富计算机技术(深圳)有限公司 | Pd charging circuit and pos machine |
CN115934604A (en) * | 2023-03-10 | 2023-04-07 | 苏州浪潮智能科技有限公司 | USB circuit, switching method and device of USB controller |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101901201A (en) * | 2010-08-06 | 2010-12-01 | 中兴通讯股份有限公司 | Method and device for realizing USB OTG function on electronic equipment |
WO2012077270A1 (en) * | 2010-12-07 | 2012-06-14 | パナソニック株式会社 | Electronic device |
CN104035357A (en) * | 2014-06-27 | 2014-09-10 | 广东欧珀移动通信有限公司 | Headset, charging and OTG equipment circuit design based on USB socket |
CN105429217A (en) * | 2015-12-08 | 2016-03-23 | 深圳天珑无线科技有限公司 | System and method for identifying charger |
-
2017
- 2017-09-27 CN CN201710888368.XA patent/CN107546808B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101901201A (en) * | 2010-08-06 | 2010-12-01 | 中兴通讯股份有限公司 | Method and device for realizing USB OTG function on electronic equipment |
WO2012077270A1 (en) * | 2010-12-07 | 2012-06-14 | パナソニック株式会社 | Electronic device |
CN104035357A (en) * | 2014-06-27 | 2014-09-10 | 广东欧珀移动通信有限公司 | Headset, charging and OTG equipment circuit design based on USB socket |
CN105429217A (en) * | 2015-12-08 | 2016-03-23 | 深圳天珑无线科技有限公司 | System and method for identifying charger |
Cited By (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110087217A (en) * | 2018-01-26 | 2019-08-02 | 创科(澳门离岸商业服务)有限公司 | Electrical equipment, electric system, electric tool, electric tool network and device for controlling power tool |
CN108430005A (en) * | 2018-04-26 | 2018-08-21 | 努比亚技术有限公司 | A kind of voicefrequency circuit, audio judgment method and mobile terminal |
CN108430005B (en) * | 2018-04-26 | 2021-04-09 | 努比亚技术有限公司 | Audio circuit, audio judgment method and mobile terminal |
CN108966085B (en) * | 2018-06-28 | 2021-03-26 | 努比亚技术有限公司 | Self-adaptive audio circuit and mobile terminal |
CN108966085A (en) * | 2018-06-28 | 2018-12-07 | 努比亚技术有限公司 | adaptive audio circuit and mobile terminal |
CN109087675A (en) * | 2018-08-01 | 2018-12-25 | 灿芯半导体(上海)有限公司 | Single supply domain turns the implementation method of multi-power domain and ddr interface reference current |
CN108879890A (en) * | 2018-09-05 | 2018-11-23 | 苏州玻泽物联网科技有限公司 | A kind of induction charging stake |
CN109557994A (en) * | 2018-11-29 | 2019-04-02 | 努比亚技术有限公司 | A kind of charge fault monitoring method, equipment and computer can storage mediums |
EP3902086A4 (en) * | 2018-12-21 | 2022-01-12 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | LOAD CONTROL APPARATUS AND METHOD, AND ELECTRONIC DEVICE |
US11476680B2 (en) | 2018-12-21 | 2022-10-18 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Device and method for charging control, electronic device |
CN111130596A (en) * | 2019-11-14 | 2020-05-08 | 华为技术有限公司 | Multiplexing circuit, interface circuit system and mobile terminal |
US12273087B2 (en) | 2019-11-14 | 2025-04-08 | Honor Device Co., Ltd. | Multiplexing circuit, interface circuit system, and mobile terminal |
CN113315204A (en) * | 2021-06-07 | 2021-08-27 | 华勤技术股份有限公司 | Charging circuit, charging method and earphone box |
CN113315204B (en) * | 2021-06-07 | 2024-11-26 | 华勤技术股份有限公司 | Charging circuit, charging method and earphone box |
WO2023273774A1 (en) * | 2021-06-29 | 2023-01-05 | 百富计算机技术(深圳)有限公司 | Pd charging circuit and pos machine |
CN115934604A (en) * | 2023-03-10 | 2023-04-07 | 苏州浪潮智能科技有限公司 | USB circuit, switching method and device of USB controller |
CN115934604B (en) * | 2023-03-10 | 2023-05-23 | 苏州浪潮智能科技有限公司 | A USB circuit, USB controller switching method and device |
WO2024187824A1 (en) * | 2023-03-10 | 2024-09-19 | 苏州元脑智能科技有限公司 | Usb circuit, and switching method and apparatus for usb controller |
Also Published As
Publication number | Publication date |
---|---|
CN107546808B (en) | 2020-11-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107546808A (en) | One kind charging identification circuit, recognition methods and terminal device | |
CN109890022A (en) | Data transfer control method, mobile terminal and computer readable storage medium | |
CN109239611A (en) | Terminal battery electricity quantity calibration method, terminal and computer readable storage medium | |
CN110007816A (en) | A kind of display area determines method, terminal and computer readable storage medium | |
CN107729115A (en) | A kind of display methods, equipment and computer-readable storage medium | |
CN108874708A (en) | OTG equipment, terminal charging method, mobile terminal and computer readable storage medium | |
CN109729475A (en) | Charging bluetooth earphone method, circuit, terminal and computer readable storage medium | |
CN110086222A (en) | A kind of charging/discharging thereof, device and mobile terminal | |
CN108965071A (en) | Household terminal control method, communication processing equipment, household terminal and storage medium | |
CN108879842A (en) | Charge control method, mobile terminal and computer readable storage medium | |
CN109660973A (en) | Bluetooth control method, mobile terminal and storage medium | |
CN109901980A (en) | Serial ports log grabs circuit, method, terminal and computer readable storage medium | |
CN110096375A (en) | A kind of Application sharing data method, device and computer readable storage medium | |
CN109977040A (en) | File read-write authority control method, device, terminal and storage medium | |
CN109726156A (en) | OTG equipment, charge control method, terminal and storage medium | |
CN108009116A (en) | MicroUSB interface circuits and its mobile terminal | |
CN108322595A (en) | A kind of control method, terminal and computer readable storage medium | |
CN107220049A (en) | Notifier processes method, mobile terminal and computer-readable recording medium in a kind of informing | |
CN107645151A (en) | A kind of current foldback circuit, control method and device, terminal | |
CN110012158A (en) | A kind of charging reminding method, terminal and computer readable storage medium | |
CN107708039A (en) | Control method, mobile terminal and the computer-readable recording medium of voicefrequency circuit | |
CN107396226B (en) | A kind of earphone compatible circuit, mobile terminal and electronic system | |
CN107391593A (en) | A kind of document handling method, mobile terminal and computer-readable recording medium | |
CN107241396A (en) | Note display methods, note display device and computer-readable storage medium | |
CN108429957A (en) | TypeC earphones switching cable and wired earphone TypeC connection systems |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |