CN109193878A - Charging circuit, charging method, electronic equipment and storage medium - Google Patents

Charging circuit, charging method, electronic equipment and storage medium Download PDF

Info

Publication number
CN109193878A
CN109193878A CN201811347506.4A CN201811347506A CN109193878A CN 109193878 A CN109193878 A CN 109193878A CN 201811347506 A CN201811347506 A CN 201811347506A CN 109193878 A CN109193878 A CN 109193878A
Authority
CN
China
Prior art keywords
charging
control
interface
input
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811347506.4A
Other languages
Chinese (zh)
Inventor
刘绍斌
庄小利
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Oppo Chongqing Intelligent Technology Co Ltd
Original Assignee
Oppo Chongqing Intelligent Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Oppo Chongqing Intelligent Technology Co Ltd filed Critical Oppo Chongqing Intelligent Technology Co Ltd
Priority to CN201811347506.4A priority Critical patent/CN109193878A/en
Publication of CN109193878A publication Critical patent/CN109193878A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0029Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/007Regulation of charging or discharging current or voltage

Abstract

The embodiment of the present application provides a kind of charging circuit, charging method, electronic equipment and storage medium, and kind charging circuit includes charging interface and control module;The charging interface is for connecting external recharging apparatus;The control module is connect with the charging interface, when the charging circuit is in fast charge mode, and when the charging interface exception, the control module is for generating control instruction, and the control instruction is transmitted to the external recharging apparatus by the charging interface, stop input charging signals to control the external recharging apparatus.It controls the external recharging apparatus and stops input charging signals.To stop charging.And then charging interface is protected, prevent charging interface from damaging.

Description

Charging circuit, charging method, electronic equipment and storage medium
Technical field
This application involves electronic technology field more particularly to a kind of charging circuit, charging method, electronic equipment and deposit Storage media.
Background technique
Currently, the charging interface of electronic equipment such as mobile phone has been able to integrate data transmission and charge function.It is related In technology, electronic equipment can carry out normal charging mode and the charging of fast charge mode by charging interface, under fast charge mode, by Spacing between charging interface pin is smaller and charge power is big, when charging interface has foreign matter or feed liquor body, is easy to make At micro-short circuit, and then damage charging interface and charging equipment.
Summary of the invention
The embodiment of the present application provides a kind of electronic equipment, can be under fast charge mode, and when charging interface short circuit, protection is filled Electrical interface.
The embodiment of the present application provides a kind of charging circuit comprising:
Charging interface, the charging interface is for connecting external recharging apparatus;
Control module, the control module are connect with the charging interface, when the charging circuit is in fast charge mode, and When the charging interface exception, the control instruction is passed through the charging for generating control instruction by the control module Interface is transmitted to the external recharging apparatus, stops input charging signals to control the external recharging apparatus.
The embodiment of the present application also provides a kind of charging method, it is applied to charging equipment, it is described to be charged to set Standby includes charging interface;The described method includes:
When detecting the charging interface exception, current charge mode is obtained;
When the current charge mode is fast charge mode, control instruction is generated, and the control instruction is transmitted to institute External recharging apparatus is stated, stops input charging signals to control the external recharging apparatus.
The embodiment of the present application also provides a kind of electronic equipment comprising charging circuit and battery, the charging circuit with The battery connection, charging circuit charging circuit as described above.
The embodiment of the present application also provides a kind of computer readable storage mediums, are stored thereon with computer program, described The step of charging method as described above is realized when program is executed by processor.
Charging circuit, charging method, electronic equipment and storage medium provided by the embodiments of the present application, when the charging Circuit is in fast charge mode, and when the charging interface exception, sends control instruction to external recharging apparatus, described in controlling External recharging apparatus stops input charging signals.To stop charging.And then charging interface is protected, prevent charging interface from damaging.
Detailed description of the invention
In order to more clearly explain the technical solutions in the embodiments of the present application, make required in being described below to embodiment Attached drawing is briefly described.It should be evident that the drawings in the following description are only some examples of the present application, for For those skilled in the art, without creative efforts, it can also be obtained according to these attached drawings other attached Figure.
Fig. 1 is the structural schematic diagram of the first state of electronic equipment provided by the embodiments of the present application.
Fig. 2 is another structural schematic diagram of the first state of electronic equipment provided by the embodiments of the present application.
Fig. 3 is the structural schematic diagram of the second state of electronic equipment provided by the embodiments of the present application.
Fig. 4 is another structural schematic diagram of the second state of electronic equipment provided by the embodiments of the present application.
Fig. 5 is the structural schematic diagram of charging equipment provided by the embodiments of the present application and charging unit.
Fig. 6 is another structural schematic diagram of charging equipment provided by the embodiments of the present application and charging unit.
Fig. 7 is the another structural schematic diagram of charging equipment provided by the embodiments of the present application and charging unit.
Fig. 8 is another structural schematic diagram of charging equipment provided by the embodiments of the present application and charging unit.
Fig. 9 is the flow diagram of charging method provided by the embodiments of the present application.
Figure 10 is the module frame chart schematic diagram of electronic equipment provided by the embodiments of the present application.
Specific embodiment
Schema is please referred to, wherein identical component symbol represents identical component, the principle of the application is to implement one It is illustrated in computing environment appropriate.The following description be based on illustrated by the application specific embodiment, should not be by It is considered as limitation the application other specific embodiments not detailed herein.
The embodiment of the present application provides a kind of charging circuit, charging method, electronic equipment and storage medium.It will divide below It is not described in detail.Wherein electronic equipment can be the equipment such as smart phone, tablet computer, can also be game station, AR (Augmented Reality, augmented reality) equipment, audio playing apparatus, video play device etc..
Fig. 1 is the structural schematic diagram of the first state of electronic equipment provided by the embodiments of the present application referring to FIG. 1 to FIG. 4, Fig. 2 is another structural schematic diagram of the first state of electronic equipment provided by the embodiments of the present application, and Fig. 3 mentions for the embodiment of the present application The structural schematic diagram of second state of the electronic equipment of confession, Fig. 4 are the second state of electronic equipment provided by the embodiments of the present application Another structural schematic diagram.Wherein, first state can not open the state of camera function for electronic equipment 100, such as can be Standby mode, bright screen do not open camera state.Wherein, the second state is shape when electronic equipment 100 opens camera function State.
In some embodiments, electronic equipment 100 may include display screen 12, electronic circuit board 13, battery 14, shell 15, front camera 161, rear camera 162.It should be noted that electronic equipment 100 is not limited to the above content.
In some embodiments, electronic equipment 100 can also include sliding equipment 18, and sliding equipment 18 and shell 15 connect It connects, sliding equipment 18 can be slided relative to shell.Front camera 161 and rear camera 162 are arranged on sliding equipment 18, And it is located at opposite two sides.
When electronic equipment 100 is in first state, sliding equipment 18 is in original state, i.e. sliding equipment 18 is located at shell It is interior.
When electronic equipment 100 is in the second state, i.e., when opening camera function, sliding equipment 18 skids off shell 15, sliding Motivation structure 18 is equipped with front camera 161 and rear camera 162.It is preposition to take the photograph when sliding equipment 18 does not skid off shell 15 As first 161 and rear camera 162 are hidden in shell, when electronic equipment 100 is the second state, sliding equipment 18 skids off shell 15, front camera 161 can be used and rear camera 162 is taken pictures, imaged.
Wherein, display screen 12 is mounted in shell 15.Display screen 12 is electrically connected on electronic circuit board 13, to form electronics The display surface of equipment 100.Display screen 12 can cover whole for the shape of rule, such as rectangular parallelepiped structure, display screen 12 On the display surface of a electronic equipment 100, that is, realize the full screen display of electronic equipment 100.
In some embodiments, display screen 12 can for liquid crystal display (Liquid Crystal Display, LCD) or Person's organic light-emitting diode (OLED) display screen (Organic Light-Emitting Diode, OLED).
Wherein, electronic circuit board 13 is mounted in shell 15, and electronic circuit board 13 can be the mainboard of electronic equipment 100, Motor, microphone, loudspeaker, earphone interface, Universal Serial Bus Interface, preposition camera shooting are can integrate on electronic circuit board 13 First 161, in the functional units such as rear camera 162, receiver 171, range sensor, ambient light sensor and processor One, it is two or more.It should be noted that the meaning of " plurality " is two or more in the description of the present application, remove It is non-separately to have clearly specific restriction.
In some embodiments, electronic circuit board 13 can be screwed in shell 15 by screw, can also be using buckle Mode card be fitted in shell 15.It should be noted that the embodiment of the present application electronic circuit board 13 is specifically fixed in shell 15 Mode be not limited to this, can be with other way, such as by way of buckling and screw fixes jointly.
Wherein, electronic equipment 100 can also include cover board, and cover board is installed on display screen 12, to cover display screen 12.Lid Plate can be transparent glass cover plate, so that 12 euphotic cover plate of display screen is shown.In some embodiments, cover board can be use Glass cover-plate made of the materials such as sapphire.
Wherein, shell 15 can form the exterior contour of electronic equipment 100.In some embodiments, shell 15 can be The metals such as metal shell component, such as magnesium alloy, stainless steel.It should be noted that the material of the embodiment of the present application shell 15 is simultaneously It is without being limited thereto, such as: shell 15 can be plastic casing, ceramic shell, glass shell etc..
It should be noted that the electronic equipment of the application can also only have first state, i.e. electronic equipment does not slide Mechanism 18, electronic equipment have non-display area, front camera 161, receiver 171, range sensor, ambient light sensor etc. It can be set in non-display area.
Referring to Fig. 5, Fig. 5 is the structural schematic diagram of charging equipment provided by the embodiments of the present application and charging unit.To Charging equipment 300 includes charging circuit, and charging circuit includes charging interface 310 and control module 380.Wherein, charging equipment 300 can be the electronic equipment in above-described embodiment, and details are not described herein.
Charging interface 310 is for connecting external recharging apparatus 200.Charging interface 310 can be universal serial bus (Universal Serial Bus, USB) interface.Specifically, charging interface 310 can be Micro USB interface or Type-C Interface etc., certainly, charging interface 310 or other interfaces.Charging interface 310 connects external charging by charging cable line Device 200, and electric energy is obtained from external recharging apparatus 200.External recharging apparatus 200 can be the devices such as adapter.Charging Mouth 310 includes multiple pins, including power pins VBUS.
Control module 380 is connect with charging interface 310, when charging circuit is in fast charge mode, and 310 exception of charging interface When, control module 380 is transmitted to external recharging apparatus by charging interface 310 for generating control instruction, and by control instruction 200, stop input charging signals to control external recharging apparatus 200.
Wherein, the abnormal temperature that may include charging interface 310 of charging interface 310 is more than reliability temperature threshold, charging The voltage of mouth 310 is more than safe voltage thresholds or is less than minimum voltage threshold, and the electric current of charging interface 310 is more than safe current threshold Value is less than minimum current threshold value, and the impedance of charging interface 310 is beyond safety impedance threshold value or less than in minimum impedance threshold value At least one of.When charging circuit is in fast charge mode, and charging interface 310 is abnormal, control module 380 refers to for generating control It enables, and control instruction is transmitted to external recharging apparatus 200 by charging interface 310, to control the stopping of external recharging apparatus 200 Input charging signals.External from device 200 to be charged stops providing charging signals, does not need the power supply of charging interface 310 Input pin VBUS is directly grounded, to avoid result in the input end grounding of battery 330, prevents 200 system of charging equipment whole Body power down.Both it can quickly stop charging, protect charging interface 310, and will not be grounded because of battery 330 and cause charging equipment 200 system entirety power down.
In some embodiments, charging interface 310 includes communications pins, and 380 connection communication pin of control module controls mould The control instruction that block 380 generates is transmitted to external recharging apparatus by communications pins.
Control module 380 generates control instruction according to the abnormal conditions of charging interface 310, then by control instruction from charging The communications pins of interface 310 are sent to external recharging apparatus.Wherein, Micro USB interface or Type-C interface, then communication interface It is corresponding to be generated for D+ pin and D- pin, control instruction according to usb protocol.
Referring to Fig. 6, Fig. 6 is another structural representation of charging equipment provided by the embodiments of the present application and charging unit Figure.The charging circuit further includes second switch element 375, and second switch element 375 is exported including the second input terminal 3751, second End 3752 and the second control terminal 3753, the second input terminal 3751 are connect with communications pins, and second output terminal 3752 is grounded, the second control 3753 link control module 380 of end processed, universal input/output pin (General Purpose Input of control module 380 Output, GPIO) it is connected to by the second control terminal 3753 the second input terminal 3751 of control with second output terminal 3752, to generate control System instruction.
The communications pins of charging interface 310 can also be grounded and generate control instruction, external recharging apparatus by control module 380 The data of real-time monitoring communications pins, when monitoring communications pins ground connection, i.e., communications pins are long low level, determine that the length is low Level is corresponding control instruction, which indicates that charging interface 310 is abnormal, can stop charging to device to be charged. It wherein, is normal communication before long low level, it is to be understood that just corresponding control refers to the long low level only after normal communication Enable, avoid some charging equipments by the communications pins default setting of charging interface 310 be low level caused by maloperation.
Referring to Fig. 7, Fig. 7 is the another structural representation of charging equipment provided by the embodiments of the present application and charging unit Figure.The control module 380 includes control chip 385, and control chip 385 includes communication interface 3851 and ground interface 3853, is led to Believe interface connection communication pin, ground interface ground connection, controlling in chip 385 further includes control sub-circuit 3855, controls sub-circuit 3855 connect communication interface 3851 with ground interface 3853, to generate control instruction.
The 3851 connection communication pin of communication interface of chip 385 is controlled, control chip 385 further includes ground interface 3853, By the control sub-circuit 3855 inside control chip 385, communication interface 3851 and ground interface 3853 are shorted, to will fill The communications pins of electrical interface 310 are grounded, and make the long low level of communications pins, external charging interface 310 is according to the long low level Corresponding control instruction, the control instruction indicate that charging interface 310 is abnormal, can stop charging to device to be charged, wherein long It is normal communication before low level, it is to be understood that the long low level only after normal communication just corresponds to control instruction, avoids The communications pins default setting of charging interface 310 is maloperation caused by low level by some charging equipments.
Referring to Fig. 8, Fig. 8 is another structural representation of charging equipment provided by the embodiments of the present application and charging unit Figure.The control module 380 includes first control unit 381 and first switching element 371.
First switching element 371 include first input end 3711, the first output end 3712 and the first control terminal 3713, first Input terminal 3711 is connect with the power input pin of charging interface 310, and the first output end 3712 is used to connect the input terminal of battery, When first input end 3711 and the first output end 3712 are connected, charging circuit is in fast charge mode;
When charging circuit is in fast charge mode, and charging interface 310 is abnormal, control module 380 is also used to defeated by first Enter end 3711 and second end disconnects, to exit fast charge mode.
Charging equipment 300 supports commonly to charge or fast charge both of which, external recharging apparatus 200 can also be supported commonly Charging and fast charge both of which.External recharging apparatus 200 under fast charge mode provides higher charge power, for example, can mention For than the higher voltage and or current that commonly charges.Under fast charge mode, external recharging apparatus 200 provides the first charge power Electric energy is to charging equipment 300, under normal charging mode, external recharging apparatus 200 provide the electric energy of the second charge power to Charging equipment 300, the second charge power is less than the first charge power.For example, providing 5V, 1A, charging function under normal charging mode Rate is the charging current of 5W.Under fast charge mode, provide 9V, 2A, charge power be 18W charging current, can also provide 5V, 3A, the charging current that charge power is 15W.Under fast charge mode, voltage can be only improved, electric current is only improved, improves electricity simultaneously The modes such as pressure and electric current improve charge power, and the charge power of raising reaches as high as 50W, even higher.
Wherein, charging equipment 300 can not only be charged by charging interface 310 and external recharging apparatus 200, also It can be communicated by the communications pins (D+, D-) of charging interface 310.Control module 380 can be obtained by charging interface 310 The charge information of external recharging apparatus 200 is taken, then obtains whether the external recharging apparatus 200 is supported fastly according to charge information It fills, if external recharging apparatus 200 supports fast charge, the first charging can be selected in the first charge power and the second charge power Power is as target charge power.If external recharging apparatus 200 does not support fast charge, can be filled in the first charge power and second Select the second charge power as target charge power in electrical power.After control module 380 determines target charge power, according to mesh It marks charge power and generates control information, and send control information to external recharging apparatus 200, the control information is outer for controlling Portion's charging unit 200 charges according to target charge power.That is, control module 380 is according between external recharging apparatus 200 Content of Communication, control external recharging apparatus 200 selects fast charge mode or normal charging mode.
It should be noted that the parameter of the available battery 330 of external recharging apparatus 200 is such as remaining under fast charge mode The information such as electricity, cell voltage, battery current, external recharging apparatus 200 adjust its output voltage according to the parameter of battery 330 And/or output electric current.For example, external recharging apparatus 200 exports not in the case where trickle state, constant current state or pressure constant state are different Same output voltage and/or output electric current.Under normal charging mode, the power management chip 382 in charging equipment 300 can To change the voltage and current of the input of external recharging apparatus 200, to meet the demand of battery 330.
In some embodiments, when target charge power is the first charge power, the power input of charging interface 310 is drawn Foot VBUS is directly connected to or connects battery 330 by first switching element 371;When target charge power is the second charge power When, the power input pin VBUS of charging interface 310 connects battery 330 by power management chip 382.
Wherein, when external recharging apparatus 200 and charging equipment 300 are normal charging mode, i.e., when target charging function When rate is the second charge power, the power input pin VBUS of charging interface 310 connects battery by power management chip 382 330.Power management chip 382 includes protection circuit, can be directly short by the power input pin VBUS ground connection of Type-C interface Road stops charging, realizes the temperature decline of type-C interface.The periphery of battery management chip 382 further includes inductance L1, inductance L1 One end connects power management chip 382, and the other end connects battery 330.
When external recharging apparatus 200 and charging equipment 300 are fast charge mode, i.e., when target charge power fills for first When electrical power, the power input pin VBUS connection external recharging apparatus 200 of charging interface 310, the power supply of charging interface 310 is defeated Entering pin VBUS can also be directly connected to or connect battery 330 by first switching element 371.The electricity of external recharging apparatus 200 It can directly be filled to the battery 330 of charging equipment 300, can be realized powerful fast charge.Meanwhile external recharging apparatus 200 with to Without passing through battery management chip 382 between the battery 330 of charging equipment 300, if when charging interface 310 such as Type-C interface When having foreign matter or feed liquor body, it will appear short circuit between the pin of Type-C interface, due under straight mold filling formula, charging interface 310 pin is directly electrically connected with battery 330, does not have the progress of battery management chip 382 between charging interface 310 and battery 330 Protection, it is excessive and easy by Type-C interface and charging equipment that the generation short circuit of Type-C interface will lead to electric current in a short time 300 burn.If exception occurs in Type-C interface, if the first temperature information of Type-C interface is more than reliability temperature threshold (such as 60 Degree Celsius) when, first the first input end 3711 of first switching element 371 and the first output end 3712 are disconnected, that is, first will Type-C interface and the separated of battery 330 exit fast charge, control instruction are then regenerated, for controlling external recharging apparatus 200 stop input charging signals.In this way, first exit fast charge mode, can to avoid the power pins also ground short circuit of battery 330, To make the voltage VBAT 0 of battery 330, in order to avoid the system entirety power down of charging equipment 300.
In some embodiments, which may include first switch tube 372 and second switch 374, The input terminal of first switch tube 372 is as first input end 3711, and the output end of second switch 374 is as the first output end 3712, the output end of first switch tube 372 is connect with the input terminal of second switch 374, the control terminal of first switch tube 372 with The control terminal of second switch 374 connects, and as the first control terminal 3713.
First switch tube 372 and second switch 374 can be field-effect tube or triode.By taking field-effect tube as an example, the The input terminal of one switching tube 372 is source electrode, and the output end of first switch tube 372 is drain electrode, and the control terminal of first switch tube 372 is Grid, the input terminal of second switch 374 are drain electrode, and the output end of second switch 374 is source electrode, second switch 374 Control terminal is grid.Two field-effect tube connections can prevent 330 signal of battery from flowing backward.
In some embodiments, first switching element 371 and second switch element 373 or controllable switch.
In some embodiments, control module 380 further includes the second control unit.Second control unit includes power management The power input pin of chip 382 and its peripheral circuit, charging interface 310 is connected by power management chip 382 and battery 330 It connects, power management chip 382 is adjusted according to the electric signal that the parameter of battery 330 inputs power input pin, and will be after adjustment Electric signal transmission to battery 330.
The power management chip 382 of second control unit can be according to parameter (the residue electricity of such as battery 330 of battery 330 Amount, voltage and current etc.) electric signal of power input pin input is adjusted, and by electric signal transmission adjusted to battery 330.First control unit 381 can be fast charge managing chip and its peripheral circuit.
Wherein, analog-to-digital conversion (AC-DC) module is equipped in charging unit 200, for (such as 220V to be handed over by the alternating current of alternating current Galvanic electricity) it is converted into the direct current (direct current of such as 5V) to charge to charging equipment 300.There is DC-DC in second control unit Voltage transformation module can need to adjust its output to the voltage and or current of battery 330 according to battery 330.
In some embodiments, a resistance R1 can be concatenated in charge cable 210 between power supply VBUS line and CC line, Being used to indicate external recharging apparatus (such as power supply adaptor) is a source device.It can also be in the power supply of external recharging apparatus 200 A resistance R1 is concatenated between VOUT pin and CC pin, being used to indicate external recharging apparatus (such as power supply adaptor) is that a source is set It is standby.Battery protecting plate can be equipped in the battery 330 of charging equipment 300, short circuit, overcurrent protection may be implemented in battery protecting plate Etc. functions.
In some embodiments, charging circuit further includes the third switch element 260 positioned at external recharging apparatus 200 and the Two control modules 230.
Third switch element 260 wraps fast third input terminal, third output end and third control terminal, and third input terminal is for connecting Connect power supply, third input terminal connects the power input pin of charging interface 310, third control terminal for control third input terminal and It is turned on or off between third output end;
Second control module 230 connects third control terminal, when the second control module 230 receives control instruction, by the Three input terminals and third output end disconnect.
After external recharging apparatus receives the control instruction of charging equipment transmission, disconnected by third switch element 260 Connection between power supply and the power input pin of charging interface 310, so that charging interface 310 stops charging.Charging equipment After internal control module 380 detects no charging signals input, fast charge mode is exited, stops charging the battery.
Third switch element 260 can be the elements such as field-effect tube, triode or controllable switch.
Referring to Fig. 9, Fig. 9 is the flow diagram of charging method provided by the embodiments of the present application.Extremely incorporated by reference to Fig. 5 Fig. 8, the charging method are applied to charging equipment 300, and charging equipment 300 includes charging interface 310.The juice point Reason method can specifically include:
101, when detecting charging interface exception, obtain current charge mode.
Wherein, charging interface 310 is for connecting external recharging apparatus 200.Charging interface 310 can be universal serial bus (Universal Serial Bus, USB) interface.Specifically, charging interface 310 can be Micro USB interface or Type-C Interface etc., certainly, charging interface 310 or other interfaces.Charging interface 310 connects external charging by charging cable line Device 200, and electric energy is obtained from external recharging apparatus 200.External recharging apparatus 200 can be the devices such as adapter.
Wherein, charging interface 310 includes multiple pins, including power input pin VBUS.First switching element 370 The first control terminal 3713 be turned on or off between first input end 3711 and the first output end 3712 for controlling, to realize The power input pin VBUS and the input terminal of battery 330 of charging interface 310 are turned on or off, and the power supply of charging interface 310 is defeated When entering pin and being connected with the input terminal of battery 300, the electric signal of external recharging apparatus 200 charges directly to battery 330, at this time for Fast charge mode.
Wherein, the abnormal temperature that may include charging interface 310 of charging interface 310 is more than reliability temperature threshold, charging The voltage of mouth 310 is more than safe voltage thresholds or is less than minimum voltage threshold, and the electric current of charging interface 310 is more than safe current threshold Value is less than minimum current threshold value, and the impedance of charging interface 310 is beyond safety impedance threshold value or less than in minimum impedance threshold value At least one of.
102, when current charge mode is fast charge mode, control instruction is generated, and control instruction is transmitted to outside and is filled Electric installation stops input charging signals to control external recharging apparatus.
When charging circuit is in fast charge mode, and charging interface 310 is abnormal, control instruction is generated, and by control instruction It is transmitted to external recharging apparatus 200 by charging interface 310, stops input charging signals to control external recharging apparatus 200.From The external of device 200 to be charged stops providing charging signals, does not need the power input pin VBUS of charging interface 310 is direct Ground connection, to avoid result in the input end grounding of battery 330, prevents 300 system entirety power down of charging equipment.It both can be quick Stop charging, protects charging interface 310, and 300 system entirety power down of charging equipment will not be caused because of battery ground.
In some embodiments, when current charge mode is fast charge mode, control instruction is generated, and control instruction is passed External recharging apparatus 200 is transported to, to control the step of external recharging apparatus 200 stops input charging signals, can also include:
When current charge mode is fast charge mode, fast charge mode is exited, into normal charging mode;
Control instruction is generated, and control instruction is transmitted to external recharging apparatus 200, to control external recharging apparatus 200 Stop input charging signals.
Charging equipment 300 can first exit fast charge mode and enter normal charging mode, while generate control instruction, control Instruction stops input charging signals for controlling external recharging apparatus 200.
Charging equipment 300 supports commonly to charge or fast charge both of which, external recharging apparatus 200 can also be supported commonly Charging and fast charge both of which.When external recharging apparatus 200 and charging equipment 300 are fast charge mode, charging interface 310 Power input pin VBUS connection external recharging apparatus 200, the power input pin VBUS of charging interface 310 be also directly connected to or Battery is connected by first switching element 370.The electric energy of external recharging apparatus 200 is directly filled to the battery of charging equipment 300, energy Enough realize powerful fast charge.Meanwhile without by electricity between external recharging apparatus 200 and the battery 330 of charging equipment 300 Pond managing chip 382, if when such as Type-C interface has foreign matter or feed liquor body to charging interface 310, Type-C interface It will appear short circuit between pin, since under straight mold filling formula, the power input pin VBUS of charging interface 310 is directly electrically connected with battery It connects, there is no battery management chip 382 to be protected between charging interface 310 and battery, short circuit, which occurs, for Type-C interface will lead to Electric current is excessive and easy in a short time burns Type-C interface and charging equipment 300.After exiting fast charge mode, charging The power input pin of interface 310 connects battery by battery management chip 382, is commonly charged, then by the second input End 3731 is connect with second output terminal 3732, is shorted the power input pin VBUS of charging interface 310 and ground, is stopped to realize Only charge.And then protect charging interface 310 and device to be charged 200.
In some embodiments, when detecting that charging interface 310 is abnormal it the step of, can specifically include:
The parameter value of charging interface 310 is obtained in real time, and parameter value is at least one in current value, voltage value and impedance value ?;
When parameter value exceeds the first preset range, determine that charging interface 310 is abnormal.
Wherein, the parameter value of charging interface 310 is obtained in real time, and parameter value can be in current value, voltage value and impedance value At least one of.When charging interface 310 voltage be more than safe voltage thresholds or be less than minimum voltage threshold, determine charging interface 310 is abnormal.Alternatively, determining charging when the electric current of charging interface 310 is more than safe current threshold value or is less than minimum current threshold value Mouth 310 is abnormal.Alternatively, the impedance when charging interface 310 beyond safety impedance threshold value or is less than minimum impedance threshold value, charging is determined Interface 310 is abnormal.
In some embodiments, when detecting that charging interface 310 is abnormal it the step of, can specifically include:
The first temperature value of charging interface 310 is obtained in real time;
When the first temperature value is greater than the first temperature threshold, determine that charging interface 310 is abnormal.
When the first temperature value of charging interface 310 is more than reliability temperature threshold, determine that charging interface 310 is abnormal.
The control module 380 of charging equipment 300 connect with temperature detecting element and obtains the first temperature information, controls mould Block 380 is connect with the first control terminal 3713 of first switching element 370.When charging equipment 300 passes through charging interface 310 and outer When portion's charging unit 200 is charged, it is micro- short can to judge whether charging interface 310 has according to the temperature of charging interface 310 Road will cause micro-short circuit, to make the temperature at charging interface 310 when charging interface 310 because having foreign matter or feed liquor body Rise.When the first temperature value at charging interface 310 is more than reliability temperature threshold, control module 380 determines charging interface 310 It is abnormal.
Specifically, including temperature detecting element in charging equipment 300, charging interface is obtained by temperature detecting element 310 the first temperature information.Temperature detecting element can be negative temperature coefficient resister, single thermistor, the members such as temperature sensor Device.Temperature detecting element can obtain the first temperature information of charging interface 310 in real time.For example, charging interface 310 is Type-C interface, temperature detecting element obtain the first temperature information of Type-C interface in real time.Due to the pin of Type-C interface It is more, and the limited width of Type-C interface, therefore the spacing between Type-C interface pin is smaller, feed liquor body or it is dirty when, It is be easy to cause micro-short circuit, is risen so as to cause the temperature of Type-C interface.Temperature detecting element can be according to charging interface 310 Temperature change and change its corresponding resistance value, to obtain current charging interface according to the variation of temperature detecting element resistance value 310 the first temperature information.Wherein, temperature detecting element can use negative tempperature coefficient thermistor, wherein negative temperature coefficient Thermistor (Negative Temperature Coefficient, NTC) is that can rise resistance with temperature to have exponent relation Reduce, the material of thermistor phenomenon with negative temperature coefficient.Temperature detecting element can be set in charging interface 310, Also the housing outer surface in charging interface 310 can be set.
If the first temperature information of Type-C interface is more than reliability temperature threshold (such as 60 degrees Celsius), first Type-C is connect Mouth exits fast charge with the separated of battery, and the power input pin ground short circuit of Type-C interface is then stopped charging again, real The temperature decline of existing type-C interface.In this way, can prevent under fast charge mode, the power input of Type-C interface is drawn in generation The problem of foot ground short circuit, causes the power pins of battery also ground short circuit, the system entirety power down of charging equipment 300.
Referring to Fig. 10, Figure 10 is the module frame chart schematic diagram of electronic equipment provided by the embodiments of the present application.The electronics is set Standby 100 may include control circuit, which may include storage and processing circuit 61.The storage and processing circuit 61 can To include memory, volatile memory etc., the processing circuit stored and processed in circuit 61 can be used for controlling electronic devices 100 operating.Storage and processing circuit 61 can be used for running the software in electronic equipment 100.
Electronic equipment 100 can also include input-output circuit 62.Input-output circuit 62 can be used for making electronic equipment 100 realization data are output and input, i.e. permission electronic equipment 100 allows electronic equipment from outer equipment receiving data and also 100 export data to external equipment from electronic equipment 100.Input-output circuit 62 may further include sensor 63, with And one or more displays (such as display 64).
Electronic equipment 100 can also include audio component 65 and telecommunication circuit 66.Audio component 65 can be used for for electricity Sub- equipment 100 provides audio input and output function, and telecommunication circuit 66 can be used for providing for electronic equipment 100 and external equipment The ability of communication.
Electronic equipment 100 can further include other input-output units 67.Input-output unit 67 can wrap Button is included, control stick, click wheel, scroll wheel, touch tablet, keypad, keyboard, camera, light emitting diode and other states refer to Show device etc..
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, reference can be made to the related descriptions of other embodiments.
The embodiment of the present application also provides a kind of storage medium, which is stored with computer program, when the computer When program is run on computers, so that the computer executes the charging method in any of the above-described embodiment, such as: when logical When overcharging electrical interface and being charged, the first temperature information of charging interface is obtained;When the first temperature information is more than safe temperature threshold When value, input terminal and the output end are connected the control terminal for controlling first switching element, to stop passing through the charging interface It charges.
In the embodiment of the present application, storage medium can be magnetic disk, CD, read-only memory (Read Only Memory, ) or random access memory (Random Access Memory, RAM) etc. ROM.
It should be noted that for the charging method of the embodiment of the present application, this field common test personnel can be with Understand all or part of the process for realizing the charging method of the embodiment of the present application, is that can be controlled by computer program Relevant hardware is completed, and the computer program can be stored in a computer-readable storage medium, be such as stored in electronics It in the memory of equipment, and is executed by least one processor in the electronic equipment, in the process of implementation may include such as charging The process of the embodiment of processing method.Wherein, the storage medium can be magnetic disk, CD, read-only memory, arbitrary access note Recall body etc..
It is situated between above to a kind of charging circuit, charging method provided by the embodiment of the present application, electronic equipment and storage Matter is described in detail, and specific examples are used herein to illustrate the principle and implementation manner of the present application, above The explanation of embodiment is merely used to help understand the present processes and its core concept;Meanwhile for those skilled in the art Member, according to the thought of the application, there will be changes in the specific implementation manner and application range, in conclusion this explanation Book content should not be construed as the limitation to the application.

Claims (11)

1. a kind of charging circuit characterized by comprising
Charging interface, the charging interface is for connecting external recharging apparatus;
Control module, the control module are connect with the charging interface, when the charging circuit is in fast charge mode, and it is described When charging interface exception, the control module passes through the charging interface for generating control instruction, and by the control instruction It is transmitted to the external recharging apparatus, stops input charging signals to control the external recharging apparatus.
2. charging circuit according to claim 1, which is characterized in that the charging interface includes communications pins, the control Molding block connects the communications pins, and the control instruction that the control module generates is transmitted to described outer by the communications pins Portion's charging unit.
3. charging circuit according to claim 2, which is characterized in that the charging circuit further includes second switch element, The second switch element includes the second input terminal, second output terminal and the second control terminal, and second input terminal leads to described Believe pin connection, the second output terminal ground connection, second control terminal connects the control module, and the control module passes through Second control terminal controls second input terminal and is connected to the second output terminal, to generate control instruction.
4. charging circuit according to claim 2, which is characterized in that the control module includes control chip, the control Coremaking piece includes communication interface and ground interface, and the communication interface connects the communications pins, the ground interface ground connection, institute Stating further includes control sub-circuit in control chip, and the communication interface is connect by the control sub-circuit with the ground interface, To generate control instruction.
5. charging circuit according to claim 1, which is characterized in that the control module includes first control unit and One switch element;
The first switching element includes first input end, the first output end and the first control terminal, the first input end and institute The power input pin connection of charging interface is stated, first output end is used to connect the input terminal of battery, when described first defeated When entering end and the conducting of the first output end, the charging circuit is in fast charge mode;
When the charging circuit is in fast charge mode, and when the charging interface exception, the control module is also used to will be described First input end and the second end disconnect, to exit fast charge mode.
6. charging circuit according to claim 5, which is characterized in that the first switching element include first switch tube and Second switch, the input terminal of the first switch tube as the first input end, make by the output end of the second switch For first output end, the output end of the first switch tube is connect with the input terminal of the second switch, and described first The control terminal of switching tube is connect with the control terminal of the second switch, and as first control terminal.
7. charging circuit according to claim 1, which is characterized in that the charging circuit further includes being located at the outside to fill The third switch element and the second control module of electric installation;
The fast third input terminal of the third switch element packet, third output end and third control terminal, the third input terminal are used for Power supply is connected, the third input terminal connects the power input pin of the charging interface, and the third control terminal is for controlling It is turned on or off between the third input terminal and the third output end;
Second control module connects the third control terminal, when second control module receives the control instruction When, the third input terminal and the third output end are disconnected.
8. a kind of charging method is applied to charging equipment, which is characterized in that the charging equipment includes charging Mouthful;The described method includes:
When detecting the charging interface exception, current charge mode is obtained;
When the current charge mode is fast charge mode, control instruction is generated, and the control instruction is transmitted to outside described Portion's charging unit stops input charging signals to control the external recharging apparatus.
9. charging method according to claim 8, which is characterized in that described when the current charge mode is fast charge When mode, control instruction is generated, and the control instruction is transmitted to the external recharging apparatus, to control the external charging Device stops the step of input charging signals, comprising:
When the current charge mode is fast charge mode, fast charge mode is exited, into normal charging mode, the fast charge mode Charge power be greater than the normal charging mode charge power;
Control instruction is generated, and the control instruction is transmitted to the external recharging apparatus, to control the external charging dress Set stopping input charging signals.
10. a kind of electronic equipment, which is characterized in that the electronic equipment includes charging circuit and battery, the charging circuit with The battery connection, the charging circuit charging circuit as claimed in any one of claims 1 to 6.
11. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that described program is processed The step of device realizes charging method as claimed in claim 8 or 9 when executing.
CN201811347506.4A 2018-11-13 2018-11-13 Charging circuit, charging method, electronic equipment and storage medium Pending CN109193878A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811347506.4A CN109193878A (en) 2018-11-13 2018-11-13 Charging circuit, charging method, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811347506.4A CN109193878A (en) 2018-11-13 2018-11-13 Charging circuit, charging method, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN109193878A true CN109193878A (en) 2019-01-11

Family

ID=64939643

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811347506.4A Pending CN109193878A (en) 2018-11-13 2018-11-13 Charging circuit, charging method, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109193878A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020156141A1 (en) * 2019-01-31 2020-08-06 维沃移动通信有限公司 Charging circuit and electronic device
WO2020253474A1 (en) * 2019-06-20 2020-12-24 Oppo广东移动通信有限公司 Charging circuit of electronic device, and electronic device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104810909A (en) * 2014-01-28 2015-07-29 广东欧珀移动通信有限公司 Quick charge control method and system
CN104993182A (en) * 2015-08-05 2015-10-21 青岛海信移动通信技术股份有限公司 Mobile terminal, direct charging power adapter and charging method
CN105098900A (en) * 2015-08-05 2015-11-25 青岛海信移动通信技术股份有限公司 Mobile terminal, direct charging power adapter and charging method
US20160226266A1 (en) * 2015-01-29 2016-08-04 Digipower Manufacturing Inc. Fast charging power bank

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104810909A (en) * 2014-01-28 2015-07-29 广东欧珀移动通信有限公司 Quick charge control method and system
CN106385094A (en) * 2014-01-28 2017-02-08 广东欧珀移动通信有限公司 Fast charging control method and system
US20160226266A1 (en) * 2015-01-29 2016-08-04 Digipower Manufacturing Inc. Fast charging power bank
CN104993182A (en) * 2015-08-05 2015-10-21 青岛海信移动通信技术股份有限公司 Mobile terminal, direct charging power adapter and charging method
CN105098900A (en) * 2015-08-05 2015-11-25 青岛海信移动通信技术股份有限公司 Mobile terminal, direct charging power adapter and charging method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020156141A1 (en) * 2019-01-31 2020-08-06 维沃移动通信有限公司 Charging circuit and electronic device
WO2020253474A1 (en) * 2019-06-20 2020-12-24 Oppo广东移动通信有限公司 Charging circuit of electronic device, and electronic device

Similar Documents

Publication Publication Date Title
CN109245244A (en) Charging circuit, charging method, electronic equipment and storage medium
CN109193878A (en) Charging circuit, charging method, electronic equipment and storage medium
TW200926629A (en) Mobile terminal aware of external device and control method for the same
JP2016531368A (en) Apparatus and method for changing current limit value
CN106684949A (en) Back clip-type mobile power supply with data transmission and charging and discharging integrated function
CN103491215A (en) Mobile terminal and protective sleeve thereof
CN109378877A (en) Charging circuit, charging method, electronic equipment and storage medium
CN109120029A (en) charging circuit, electronic equipment, charging management method and storage medium
CN109412234A (en) Charging circuit, charging method, electronic equipment and storage medium
CN109286219A (en) Charging circuit, charging method, electronic equipment and storage medium
CN108155623A (en) A kind of terminal USB interface guard method, terminal and external equipment
CN109067019A (en) Charge-discharge circuit, method, electronic equipment and storage medium
WO2015069534A1 (en) Battery charging device with charging profile data update facility
CN109038863A (en) Electronic equipment
CN208738925U (en) Charging circuit and electronic equipment
CN109378878B (en) Charging circuit, charging processing method, electronic device, and storage medium
CN109450023B (en) Charging circuit, charging processing method, electronic device, and storage medium
CN109286220A (en) Charging circuit, charging method, electronic equipment and storage medium
CN106463974A (en) Connector and charging system
CN109120034A (en) Charging circuit, charging method, electronic equipment and storage medium
WO2019018990A1 (en) Battery pack and electronic equipment
CN109149709A (en) Electronic equipment
CN110400982A (en) A kind of charging/discharging thereof and electronic equipment
CN109217488A (en) Charging circuit, electronic equipment, charging method and storage medium
CN211239375U (en) Back splint power supply

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