CN109286219A - 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
CN109286219A
CN109286219A CN201811348738.1A CN201811348738A CN109286219A CN 109286219 A CN109286219 A CN 109286219A CN 201811348738 A CN201811348738 A CN 201811348738A CN 109286219 A CN109286219 A CN 109286219A
Authority
CN
China
Prior art keywords
charging
charging interface
interface
temperature
mode
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
Application number
CN201811348738.1A
Other languages
Chinese (zh)
Other versions
CN109286219B (en
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 CN201811348738.1A priority Critical patent/CN109286219B/en
Publication of CN109286219A publication Critical patent/CN109286219A/en
Application granted granted Critical
Publication of CN109286219B publication Critical patent/CN109286219B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • H02J7/0086
    • H02J7/0091

Abstract

It includes charging interface, detection module and control module, the state of detection module real-time detection charging interface that the embodiment of the present application, which provides a kind of charging circuit, charging method, electronic equipment and storage medium, charging circuit,;Control module obtains the state of charging interface by detection module;When charging circuit is in fast charge mode, and charging interface is abnormality, control module controls charging circuit from fast charge pattern switching to normal charging mode, to reduce the charge power by charging interface;When charging circuit is in normal charging mode, and charging interface is normal condition, control module controls charging circuit and is switched to fast charge mode from normal charging mode, to increase the charge power by charging interface.It prevents charging interface from damaging, while the charge power by reducing power removes the sundries entered, after sundries removal, the charging circuit is switched to the fast charge mode from the normal charging mode, to increase the charge power for passing through the charging interface.

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 charging circuit, charging method, electronic equipment and storage medium, can be fast Under mold filling formula, when charging interface short circuit, charging interface is protected.
The embodiment of the present application provides a kind of charging circuit comprising:
Charging interface, the charging interface is for connecting external recharging apparatus;
Detection module, the state of charging interface described in the detection module real-time detection;
Control module, the charging interface and the detection module are connect with the control module, the control module The state of the charging interface is obtained by the detection module;
Wherein, when the charging circuit is in fast charge mode, and the charging interface is abnormality, the control mould Block controls the charging circuit from the fast charge pattern switching to normal charging mode, to reduce filling by the charging interface Electrical power;
When the charging circuit is in the normal charging mode, and the charging interface is normal condition, the control Molding block controls the charging circuit and is switched to the fast charge mode from the normal charging mode, passes through the charging to increase The charge power of interface.
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:
Obtain the state of charging interface described in current charge mode and real-time detection;
When the current charge mode is fast charge mode, and the state of the charging interface is abnormality, from described Fast charge pattern switching is to normal charging mode, to reduce the charge power for passing through the charging interface;
When the current charge mode is normal charging mode, and the state of the charging interface is normal condition, from The normal charging mode is switched to the fast charge mode, to increase the charge power for passing through the charging interface.
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, by charging circuit from the fast charge pattern switching to common charging Mode prevents charging interface from damaging, while the charging by reducing power to reduce the charge power for passing through the charging interface Power makes the sundries entered removal, after sundries removal, the charging circuit is switched to from the normal charging mode described fast Mold filling formula, to increase the charge power for passing through the charging interface.
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 the structural representation of the control module and temperature detecting element of charging equipment provided by the embodiments of the present application Figure.
Fig. 9 is the charging interface of charging equipment provided by the embodiments of the present application and the structural representation of temperature detecting element Figure.
Figure 10 is the structural representation of the charging interface and moisture detection device of charging equipment provided by the embodiments of the present application Figure.
Figure 11 is the flow diagram of charging method provided by the embodiments of the present application.
Figure 12 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, detection module 360 and control module 380.Its In, 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.
The state of 360 real-time detection charging interface 310 of detection module.Detection module 360 can be by detecting charging interface 310 temperature or humidity judges the state of charging interface 310, can also pass through electric current, the electricity of charging interface 310 by detecting The impedance of pressure or charging interface 310 judges the state of charging interface 310.
Charging interface 310 and detection module 360 are connect with control module 380, and control module 380 passes through detection module 360 obtain the state of charging interface 310.
Wherein, when charging circuit is in fast charge mode, and charging interface 310 is abnormality, control module 380 is controlled Charging circuit is from fast charge pattern switching to normal charging mode, to reduce the charge power for passing through charging interface 310;It prevents from charging The damage of interface 310, while the charge power by reducing power removes the sundries entered, after sundries removal, detects to work as and fill Circuit is in normal charging mode, and when charging interface 310 is normal condition, and control module 380 controls charging circuit from general Logical charge mode is switched to fast charge mode, to increase the charge power for passing through charging interface 310.Fast charge mode is reentered, fastly Speed charging.
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.Charging circuit further includes temperature control modules 365, and temperature control modules 365 are connect with control module 380;Work as charging circuit In fast charge mode, and when 310 exception of charging interface, control module 380 also controls temperature control modules 365 and increases charging interface Temperature in 310.
When charging circuit is in fast charge mode, and charging interface 310 is abnormal, control module 380 is not only by charging circuit From fast charge pattern switching to normal charging mode, meanwhile, also control temperature control modules 365 increase the temperature in charging interface 310 Degree.Accelerate the evaporation and diffusion to feed liquor.
In some embodiments, temperature control modules 365 include current control module (not shown), control module 380 control current control module increases pass through the electric current of charging interface 310, to increase the temperature in charging interface 310.
Pass through the electric current of charging interface 310 by increasing, increases the temperature in charging interface 310.Specifically, can send Control instruction reduces it by charging voltage to external recharging apparatus, increases charging current.Also it can change charging interface 310 Impedance, to increase the electric current for passing through charging interface 310.
In some embodiments, temperature control modules 365 include heating module (not shown), and heating module setting exists In charging interface 310, control module 380 controls heating module fever, to increase the temperature in charging interface 310.
One heating module, such as resistance wire are directly set in charging interface 310, generated heat by the heating module, is increased Temperature in charging interface 310.In some other embodiment, when being heated by heating module, it can stop charging, so may be used Greatly to protect charging interface 310.
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 charging circuit includes first switching element 371.
First switching element 371 includes first input end 3711, the first output end 3712 and the first control terminal 3713.This One switch element 371 can be a switching tube.The first switching element 371 also may include first switch tube 372 and second Switching tube 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 output end of one output end 3712, first switch tube 372 is connect with the input terminal of second switch 374, first switch tube 372 Control terminal is connect with the control terminal of second switch 374, 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 the signal VBAT of battery 330 from flowing backward.
In some embodiments, first switching element 371 or controllable switch.
In some embodiments, control module 380 includes first control unit 381 and the second control unit, the first control First control terminal 3713 of the connection first switching element 371 of unit 381.Second control unit include power management chip 382 with And its peripheral circuit, the power input pin of charging interface 310 are connect by power management chip 382 with battery 330, power supply pipe Reason chip 382 is adjusted according to the electric signal that the parameter of battery 330 inputs power input pin, and electric signal adjusted is passed It is defeated by battery 330.Peripheral circuit includes inductance L1, and the one end inductance L1 connects power management chip 382, and the other end connects battery 330。
First control unit 381 is for controlling first switching element 371.The power management chip 382 of second control unit The electricity that can be inputted power input pin according to the parameter (such as remaining capacity of battery 330, voltage and current) of battery 330 Signal adjustment, and by electric signal transmission adjusted to battery 330.First control unit 381 can for fast charge managing chip, with And its peripheral circuit.
In some embodiments, analog-to-digital conversion (AC-DC) module is equipped in charging unit 200, for by the exchange of alternating current Electric (such as 220V alternating current) is converted into the direct current (direct current of such as 5V) to charge to charging equipment 300.Second control unit It is interior that there is DC-DC voltage transformation module, it can need to adjust its output to the voltage and/or electricity of battery 330 according to battery 330 Stream.
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.It may include the 4th switch element 260, the input terminal of the 4th switch element 260 in external recharging apparatus 200 Connect the output end of AC-DC module, the power input pin of the output end connection charging interface 310 of the 4th switch element 260 The control terminal of VBUS, the 4th switch element 260 connect the second control module 230.The 4th switch member of second control module 230 control The input terminal and output end of part 260 are turned on or off.
Incorporated by reference to Fig. 8 and Fig. 9, Fig. 8 is the control module and temperature detection of charging equipment provided by the embodiments of the present application The structural schematic diagram of element, Fig. 9 are the charging interface and temperature detecting element of charging equipment provided by the embodiments of the present application Structural schematic diagram.Detection module 360 include temperature detecting unit 361, temperature detecting unit 361 it is adjacent with charging interface 310 or Fitting setting, temperature detecting unit 361 obtain the temperature value of charging interface 310 in real time, and according to temperature value and safe temperature value Range determines that charging interface 310 is in normal condition or abnormality.
Wherein, temperature detecting unit 361 can change its corresponding resistance according to the temperature change of charging interface 310 Value, so that the variation according to 361 resistance value of temperature detecting unit obtains the first temperature information of current charging interface 310.Show in figure The pinouts of charging interface 310 is gone out.Wherein, temperature detecting unit 361 can use negative tempperature coefficient thermistor, wherein Negative tempperature coefficient thermistor (Negative Temperature Coefficient, NTC) is that can rise resistance with temperature Have exponent relation the material of reduction, thermistor phenomenon with negative temperature coefficient.
Specifically, temperature detecting unit 361 can be set on 310 periphery of charging interface, also can be set in charging interface In 310, it can also be fitted in the outer surface of charging interface 310, to obtain the temperature value of charging interface 310.When the temperature value When within the scope of safe temperature value, determine that charging interface 310 is in normal condition.When the temperature value exceeds safe temperature value range When, determine that charging interface 310 is in abnormality.Wherein, safe temperature value may range from 10 degrees Celsius to 60 degrees Celsius, It can be -10 degrees Celsius to 50 degrees Celsius.Safe temperature value may range from current environmental temperature to 60 degrees Celsius etc..Work as front ring Border temperature can be obtained by setting in charging equipment environment temperature detection unit 361.Wherein, when 310 feed liquor of charging interface Or when infiltrating foreign matter, the short circuit in charging interface 310 is caused, so that temperature in charging interface 310 be made to rise, passes through lower-wattage Charging, not only can protect charging interface 310 and be not burned, but can by the temperature to the foreign matters such as feed liquor, dust carry out shadow It rings, timely and effectively carries out foreign matter cleaning.The charge mode of charging circuit is finally switched back into fast charge mode, quick charge again. The temperature detecting unit 361 can be negative temperature coefficient resister, single thermistor, the components such as temperature sensor.
In some embodiments, the quantity of temperature detecting unit 361 is at least 2, each temperature detecting unit 361 with One detection pin of control module 380 connects.
Each temperature detecting unit 361 can work independently, and obtain the temperature value of charging interface 310 respectively.Each temperature Degree detection unit 361 is connect with a detection pin of control module 380 respectively, in this way, control module 380 is available at least 2 temperature values, then when any one temperature value exceeds safe temperature value range, from fast charge pattern switching to common charging mould Formula.It can also be with when at least one temperature value exceeds safe temperature value range, and at least one temperature value is without departing from safe temperature When being worth range, but it is smaller with the difference of the maximum value of safe temperature value range when (such as less than 10 degrees Celsius or less than 5 degrees Celsius), From fast charge pattern switching to normal charging mode.Maloperation caused by prevent single temperature detecting unit 361 from damaging.
In some embodiments, detection pin, the Yi Jitong of one end link control module 380 of temperature detecting unit 361 Cross first resistor R2 or R3 connection power vd D, the other end ground connection of temperature detecting unit 361.Temperature detecting unit 361 can temperature Quick resistance RT1 or RT2.
Wherein, power vd D can be the power supply improved inside charging equipment 300, such as 5V.It should be noted that control The detection pin of molding block 380 can be analog-to-digital conversion (Analog-to-Digital Converter, an ADC) pin.
Incorporated by reference to Figure 10, Figure 10 is the charging interface and moisture detection device of charging equipment provided by the embodiments of the present application Structural schematic diagram.Detection module 360 includes humidity detection unit 362, and humidity detection unit 362 is arranged in charging interface 310 Interior, humidity detection unit 362 obtains the humidity value of charging interface 310 in real time, and true according to humidity value and safe moistness value range Determine charging interface 310 and is in normal condition or abnormality.
Specifically, determining that charging interface 310 is in normal condition when the humidity value is in safe moistness value range.When When the humidity value exceeds safe moistness value range, determine that charging interface 310 is in abnormality.When the humidity value is wet beyond safety When angle value range, illustrate to be likely to feed liquor in current charging interface 310, at this point, protecting charging by reducing charge power Mouth 310, while persistently being charged with lower charge power, it can both continue to charge to charging equipment, charging can also be improved Temperature in interface 310, so that feed liquor evaporation and diffusion is timely and effectively carried out foreign matter cleaning.
In some embodiments, charging equipment 300 supports commonly charging or fast charge both of which, external recharging apparatus 200 can also support commonly to charge and fast charge both of which.External recharging apparatus 200 under fast charge mode provides higher charging Power, for example, can provide than the higher voltage and or current that commonly charges.Under fast charge mode, external recharging apparatus 200 is mentioned For the first charge power electric energy to charging equipment 300, under normal charging mode, external recharging apparatus 200 provides second and fills The electric energy of electrical power is to charging equipment 300, and the second charge power is less than the first charge power.For example, under normal charging mode, There is provided 5V, 1A, the charging current that charge power is 5W.Under fast charge mode, 9V, 2A is provided, the charging electricity that charge power is 18W Stream can also provide 5V, 3A, the charging current that charge power is 15W.Under fast charge mode, it can only improve voltage, only improve Electric current, improving the modes such as voltage and current improves charge power simultaneously, 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.
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 the temperature value of Type-C interface beyond safe temperature value range constantly, first by Type-C interface and battery 330 it It is separated to exit fast charge, into normal charging mode.
Figure 11 is please referred to, Figure 11 is the flow diagram of charging method provided by the embodiments of the present application.Incorporated by reference to Fig. 5 To Figure 10, which is applied to charging equipment 300, and charging equipment 300 includes charging interface 310, the charging Processing method can specifically include:
101, obtain the state of current charge mode and real-time detection charging interface.
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.
102, when current charge mode is fast charge mode, and the state of charging interface is abnormality, from fast charge mode It is switched to normal charging mode, to reduce the charge power by charging interface.
Prevent charging interface 310 from damaging, while the charge power by reducing power removes the sundries entered.
103, when current charge mode is normal charging mode, and the state of charging interface is normal condition, from common Charge mode is switched to fast charge mode, to increase the charge power by charging interface.
After sundries removal, detect when charging circuit be in normal charging mode, and charging interface 310 is normal condition When, control module 380 controls charging circuit and is switched to fast charge mode from normal charging mode, passes through charging interface 310 to increase Charge power.Reenter fast charge mode, quick charge.
In some embodiments, the state of acquisition real-time detection charging interface 310 may include:
Obtain the temperature value of real-time detection charging interface 310;
When temperature value is within the scope of safe temperature value, determine that the state of charging interface 310 is normal condition;
When temperature value exceeds safe temperature value range, determine that the state of charging interface 310 is abnormality.
Specifically, the short circuit in charging interface 310 is caused, to make to fill when 310 feed liquor of charging interface or when infiltrating foreign matter Temperature rises in electrical interface 310, by the charging of lower-wattage, not only can protect charging interface 310 and has not been burned, but also can lead to Crossing the temperature influences the foreign matters such as feed liquor, dust, timely and effectively carries out foreign matter cleaning.Last filling charging circuit again Power mode switches back into fast charge mode, quick charge.
In some embodiments, the state of acquisition real-time detection charging interface 310 includes:
Obtain the humidity value of real-time detection charging interface 310;
When humidity value is in safe moistness value range, determine that the state of charging interface 310 is normal condition;
When humidity value exceeds safe moistness value range, determine that the state of charging interface 310 is abnormality.
Specifically, illustrating to be likely to feed liquor in current charging interface 310 when the humidity value exceeds safe moistness value range , at this point, protecting charging interface 310 by reducing charge power, while persistently being charged with lower charge power, it both can be after Continue and charge to charging equipment, the temperature in charging interface 310 can also be improved, thus by feed liquor evaporation and diffusion, it is timely and effective Carry out foreign matter cleaning.
In some embodiments, after from fast charge pattern switching to normal charging mode, further includes:
Increase the temperature in charging interface 310, to remove the liquid in charging interface 310;
When the humidity value in charging interface 310 is restored in safe moistness value range, the state of charging interface 310 is determined For normal condition, and fast charge mode is switched to from normal charging mode.
When charging circuit is in fast charge mode, and charging interface 310 is abnormal, control module 380 is not only by charging circuit From fast charge pattern switching to normal charging mode, meanwhile, also control temperature control modules 365 increase the temperature in charging interface 310 Degree.Accelerate the evaporation and diffusion to feed liquor.
In some embodiments, after from fast charge pattern switching to normal charging mode, further includes:
The temperature value in charging interface 310 is obtained in real time;
When temperature value is within the scope of safe temperature value, increase the temperature in charging interface 310, to remove charging interface Liquid in 310;
When temperature value exceeds safe temperature value range, the temperature in charging interface 310 is reduced.
When charging circuit is in fast charge mode, and charging interface 310 is abnormal, control module 380 is not only by charging circuit From fast charge pattern switching to normal charging mode, meanwhile, also control temperature control modules 365 increase the temperature in charging interface 310 Degree.Accelerate the evaporation and diffusion to feed liquor.Wherein, the temperature value of charging interface 310 increases when within the scope of safe temperature value Temperature in charging interface 310, to remove the liquid in charging interface 310, when temperature value exceeds safe temperature value range, drop Temperature in low charging interface 310.Can be by stopping the temperature reducing in charging interface 310 that charges, it can also be with discontinuous Charging reduces the temperature in charging interface 310.
Figure 12 is please referred to, Figure 12 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: it obtains Current charge mode, and obtain the state of charging interface described in real-time detection;When the current charge mode be fast charge mode, And the state of the charging interface be abnormality when, from the fast charge pattern switching to normal charging mode, with reduce pass through The charge power of the charging interface;When the current charge mode is normal charging mode, and the state of the charging interface When for normal condition, it is switched to the fast charge mode from the normal charging mode, to increase filling by the charging interface Electrical power.
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 (13)

1. a kind of charging circuit characterized by comprising
Charging interface, the charging interface is for connecting external recharging apparatus;
Detection module, the state of charging interface described in the detection module real-time detection;
Control module, the charging interface and the detection module are connect with the control module, and the control module passes through The detection module obtains the state of the charging interface;
Wherein, when the charging circuit is in fast charge mode, and the charging interface is abnormality, the control module control The charging circuit is made from the fast charge pattern switching to normal charging mode, to reduce the charging function by the charging interface Rate;
When the charging circuit is in the normal charging mode, and the charging interface is normal condition, the control mould Block controls the charging circuit and is switched to the fast charge mode from the normal charging mode, passes through the charging interface to increase Charge power.
2. charging circuit according to claim 1, which is characterized in that the detection module includes temperature detecting unit, institute State that temperature detecting unit is adjacent with the charging interface or fitting setting, the temperature detecting unit obtains the charging in real time The temperature value of mouth, and determine that the charging interface is in normal condition or exception according to the temperature value and safe temperature value range State.
3. charging circuit according to claim 1, which is characterized in that the detection module includes humidity detection unit, institute It states humidity detection unit to be arranged in the charging interface, the humidity detection unit obtains the humidity of the charging interface in real time Value, and determine that the charging interface is in normal condition or abnormality according to the humidity value and safe moistness value range.
4. charging circuit according to claim 3, which is characterized in that the charging circuit further includes temperature control modules, The temperature control modules are connect with the control module,
When the charging circuit is in fast charge mode, and when the charging interface exception, the control module also controls the temperature Degree control module increases the temperature in the charging interface.
5. charging circuit according to claim 4, which is characterized in that the temperature control modules include current control mould Block, the control module controls the electric current that the current control module increase passes through the charging interface, to increase the charging Temperature in interface.
6. charging circuit according to claim 4, which is characterized in that the temperature control modules include heating module, institute It states heating module to be arranged in the charging interface, the control module controls the heating module fever, to fill described in increase Temperature in electrical interface.
7. 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:
Obtain the state of charging interface described in current charge mode and real-time detection;
When the current charge mode is fast charge mode, and the state of the charging interface is abnormality, from the fast charge Pattern switching is to normal charging mode, to reduce the charge power for passing through the charging interface;
When the current charge mode is normal charging mode, and the state of the charging interface is normal condition, from described Normal charging mode is switched to the fast charge mode, to increase the charge power for passing through the charging interface.
8. charging method according to claim 7, which is characterized in that charging interface described in the acquisition real-time detection State include:
Obtain the temperature value of charging interface described in real-time detection;
When the temperature value is within the scope of safe temperature value, determine that the state of the charging interface is normal condition;
When the temperature value exceeds the safe temperature value range, determine that the state of the charging interface is abnormality.
9. charging method according to claim 7, which is characterized in that charging interface described in the acquisition real-time detection State include:
Obtain the humidity value of charging interface described in real-time detection;
When the humidity value is in safe moistness value range, determine that the state of the charging interface is normal condition;
When the humidity value exceeds the safe moistness value range, determine that the state of the charging interface is abnormality.
10. charging method according to claim 9, which is characterized in that described from the fast charge pattern switching to general After logical charge mode, further includes:
Increase the temperature in the charging interface, to remove the liquid in the charging interface;
When the humidity value in the charging interface is restored in the safe moistness value range, the shape of the charging interface is determined State is normal condition, and is switched to the fast charge mode from the normal charging mode.
11. charging method according to claim 9, which is characterized in that described from the fast charge pattern switching to general After logical charge mode, further includes:
The temperature value in the charging interface is obtained in real time;
When the temperature value is within the scope of safe temperature value, increase the temperature in the charging interface, to remove the charging Liquid in interface;
When the temperature value exceeds safe temperature value range, the temperature in the charging interface is reduced.
12. 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.
13. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that described program is processed When device executes, realize such as the step of claim 7-11 described in any item charging methods.
CN201811348738.1A 2018-11-13 2018-11-13 Charging circuit, charging processing method, electronic device, and storage medium Active CN109286219B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811348738.1A CN109286219B (en) 2018-11-13 2018-11-13 Charging circuit, charging processing method, electronic device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811348738.1A CN109286219B (en) 2018-11-13 2018-11-13 Charging circuit, charging processing method, electronic device, and storage medium

Publications (2)

Publication Number Publication Date
CN109286219A true CN109286219A (en) 2019-01-29
CN109286219B CN109286219B (en) 2020-11-03

Family

ID=65175720

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811348738.1A Active CN109286219B (en) 2018-11-13 2018-11-13 Charging circuit, charging processing method, electronic device, and storage medium

Country Status (1)

Country Link
CN (1) CN109286219B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109980721A (en) * 2019-03-19 2019-07-05 努比亚技术有限公司 A kind of quick charge detection circuit, method and computer storage medium
CN111430824A (en) * 2020-03-31 2020-07-17 联想(北京)有限公司 Charging method and device and electronic equipment
CN112383125A (en) * 2021-01-15 2021-02-19 珠海智融科技有限公司 Active overcharge prevention device and method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202268557U (en) * 2011-08-08 2012-06-06 浙江理工大学 Patch board
CN106654424A (en) * 2016-11-30 2017-05-10 努比亚技术有限公司 Charging method and terminal
CN106786871A (en) * 2016-12-19 2017-05-31 北京小米移动软件有限公司 Charge control method, apparatus and system
WO2018058402A1 (en) * 2016-09-29 2018-04-05 深圳市柔宇科技有限公司 Fast charging control method, fast charging control system, and terminal device
CN108390117A (en) * 2018-03-14 2018-08-10 维沃移动通信有限公司 Charging method and mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202268557U (en) * 2011-08-08 2012-06-06 浙江理工大学 Patch board
WO2018058402A1 (en) * 2016-09-29 2018-04-05 深圳市柔宇科技有限公司 Fast charging control method, fast charging control system, and terminal device
CN106654424A (en) * 2016-11-30 2017-05-10 努比亚技术有限公司 Charging method and terminal
CN106786871A (en) * 2016-12-19 2017-05-31 北京小米移动软件有限公司 Charge control method, apparatus and system
CN108390117A (en) * 2018-03-14 2018-08-10 维沃移动通信有限公司 Charging method and mobile terminal

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109980721A (en) * 2019-03-19 2019-07-05 努比亚技术有限公司 A kind of quick charge detection circuit, method and computer storage medium
CN109980721B (en) * 2019-03-19 2021-11-16 努比亚技术有限公司 Quick charge detection circuit and method and computer storage medium
CN111430824A (en) * 2020-03-31 2020-07-17 联想(北京)有限公司 Charging method and device and electronic equipment
CN111430824B (en) * 2020-03-31 2021-12-24 联想(北京)有限公司 Charging method and device and electronic equipment
CN112383125A (en) * 2021-01-15 2021-02-19 珠海智融科技有限公司 Active overcharge prevention device and method
CN112383125B (en) * 2021-01-15 2021-04-27 珠海智融科技有限公司 Active overcharge prevention device and method

Also Published As

Publication number Publication date
CN109286219B (en) 2020-11-03

Similar Documents

Publication Publication Date Title
CN109245244A (en) Charging circuit, charging method, electronic equipment and storage medium
CN109378877A (en) Charging circuit, charging method, electronic equipment and storage medium
CN109412234A (en) Charging circuit, charging method, electronic equipment and storage medium
CN208738925U (en) Charging circuit and electronic equipment
JP6176497B2 (en) Control device for switching current and electronic device
CN109286219A (en) Charging circuit, charging method, electronic equipment and storage medium
CN109378878A (en) Charging circuit, charging method, electronic equipment and storage medium
CN109217488A (en) Charging circuit, electronic equipment, charging method and storage medium
CN109120029A (en) charging circuit, electronic equipment, charging management method and storage medium
CN109286220A (en) Charging circuit, charging method, electronic equipment and storage medium
CN109450023A (en) Charging circuit, charging method, electronic equipment and storage medium
TWI334235B (en) Device of battery power management having universal serial bus connector
CN107332208B (en) A kind of protection circuit, mainboard guard method and terminal
TW200926629A (en) Mobile terminal aware of external device and control method for the same
CN208890404U (en) Electronic equipment
CN110474387A (en) Charge control method, electronic equipment and computer storage medium
WO2019018990A1 (en) Battery pack and electronic equipment
CN109193878A (en) Charging circuit, charging method, electronic equipment and storage medium
CN110492563A (en) Battery management method, device, equipment and medium
US20140173309A1 (en) Information processing apparatus, and control method for information processing apparatus
CN109038863A (en) Electronic equipment
CN113422410A (en) Charging device and mobile terminal
CN212543392U (en) Circuit structure capable of realizing normal charging during quick charging of one-to-three data lines
CN109194788A (en) Electronic equipment and electronic equipment charging method
CN109217489A (en) Charging circuit, charging method, electronic equipment and storage medium

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