CN109286220A - Charging circuit, charging method, electronic equipment and storage medium - Google Patents
Charging circuit, charging method, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN109286220A CN109286220A CN201811348739.6A CN201811348739A CN109286220A CN 109286220 A CN109286220 A CN 109286220A CN 201811348739 A CN201811348739 A CN 201811348739A CN 109286220 A CN109286220 A CN 109286220A
- Authority
- CN
- China
- Prior art keywords
- charging
- humidity
- control module
- module
- charging interface
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 28
- 238000004590 computer program Methods 0.000 claims description 5
- 238000009434 installation Methods 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 18
- 238000004891 communication Methods 0.000 description 8
- 238000001514 detection method Methods 0.000 description 8
- 230000006870 function Effects 0.000 description 8
- 230000005611 electricity Effects 0.000 description 6
- 230000008569 process Effects 0.000 description 5
- 230000008859 change Effects 0.000 description 3
- 230000005669 field effect Effects 0.000 description 3
- 239000011521 glass Substances 0.000 description 3
- 239000000463 material Substances 0.000 description 3
- 230000002093 peripheral effect Effects 0.000 description 3
- 230000003190 augmentative effect Effects 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000010438 heat treatment Methods 0.000 description 2
- 239000007788 liquid Substances 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 229910052751 metal Inorganic materials 0.000 description 2
- 239000002184 metal Substances 0.000 description 2
- 238000000465 moulding Methods 0.000 description 2
- 238000003672 processing method Methods 0.000 description 2
- 229910000861 Mg alloy Inorganic materials 0.000 description 1
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000005856 abnormality Effects 0.000 description 1
- 210000001367 artery Anatomy 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 239000000919 ceramic Substances 0.000 description 1
- 238000004140 cleaning Methods 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 239000000428 dust Substances 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 150000002739 metals Chemical class 0.000 description 1
- 230000008450 motivation Effects 0.000 description 1
- 238000011897 real-time detection Methods 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 229910052594 sapphire Inorganic materials 0.000 description 1
- 239000010980 sapphire Substances 0.000 description 1
- 230000008054 signal transmission Effects 0.000 description 1
- 239000010935 stainless steel Substances 0.000 description 1
- 229910001220 stainless steel Inorganic materials 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
- 210000003462 vein Anatomy 0.000 description 1
Classifications
-
- H02J7/0086—
-
- H02J7/0091—
Landscapes
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
Abstract
The embodiment of the present application provides a kind of charging circuit, charging method, electronic equipment and storage medium, and charging circuit includes that charging interface, humidity obtain module and control module, and charging interface is for connecting external recharging apparatus;Humidity obtains module and is arranged in the charging interface, and the humidity obtains module and obtains the humidity value in the charging interface;Charging interface and the humidity obtain module and connect with the control module, the control module obtains module by the humidity and obtains the humidity value, when the humidity value exceeds safe moistness value range, the control module, which controls the external recharging apparatus, reduces charge power, prevent charging interface from damaging, remove the sundries entered by reducing the charge power of power simultaneously, after sundries removal, the control module controls the external recharging apparatus and increases charge power.
Description
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 charge
Interface has foreign matter or feed liquor body, and when charging, protects charging 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;
Humidity obtains module, and the humidity obtains module and is arranged in the charging interface, and the humidity obtains module and obtains
Take the humidity value in the charging interface;
Control module, the charging interface and the humidity obtain module and connect with the control module, the control
Module obtains module by the humidity and obtains the humidity value, described when the humidity value exceeds safe moistness value range
Control module, which controls the external recharging apparatus, reduces charge power, when the humidity value is restored in safe moistness value range
When, the control module controls the external recharging apparatus and increases charge power.
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 humidity value of the charging interface;
When the humidity value exceeds safe moistness value range, the control module controls the external recharging apparatus and reduces
Charge power;
When the humidity value is restored in safe moistness value range, the control module controls the external recharging apparatus
Increase charge power.
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 charging process, and the humidity value of the charging interface exceed safe moistness value range when, send control instruction extremely
External recharging apparatus reduces charge power to control the external recharging apparatus, so that charging interface is protected, when the humidity
When value is restored in safe moistness value range, i.e., charging interface it is normal after, the control module controls the external recharging apparatus
Increase charge power, shortens the charging time.
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 structural representation of the control module and temperature detecting element of charging equipment provided by the embodiments of the present application
Figure.
Fig. 8 is the charging interface of charging equipment provided by the embodiments of the present application and the structural representation of temperature detecting element
Figure.
Fig. 9 is the another structural schematic diagram of charging equipment provided by the embodiments of the present application and charging unit.
Figure 10 is the flow diagram of charging method provided by the embodiments of the present application.
Figure 11 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, humidity acquisition module 362 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.
Humidity obtains module 362 and is arranged in charging interface 310, and humidity obtains module 362 and obtains in charging interface 310
Humidity value.
Charging interface 310 and humidity obtain module 362 and connect with control module 380, and control module 380 is obtained by humidity
Modulus block 362 obtains humidity value, and when humidity value exceeds safe moistness value range, control module 380 controls external recharging apparatus
Charge power is reduced, to prevent charging interface 310 from damaging, while the charge power by reducing power removes the sundries entered
It removes, such as enters the liquid of charging interface 310.After sundries removal, detect when humidity value is restored in safe moistness value range
When, control module 380 controls external recharging apparatus and increases charge power, and the charging time is shortened in quick charge.
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, charging interface 310 can for Micro USB interface or
Type-C interface, then communication interface is corresponding generates 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.Charging circuit further includes temperature acquisition module 361, and temperature acquisition module 361 is adjacent or fitting charging interface 310 is arranged, temperature
Degree obtains the temperature value that module 361 obtains charging interface 310;When temperature value is greater than the first temperature threshold, control module 380 is controlled
Humidity value or control module 380 in humidity acquisition module 362 acquisition charging interface 310 processed obtain module 362 by humidity and obtain
Take humidity value.
The temperature value of the 361 real-time detection charging interface 310 of temperature acquisition module of charging circuit, when the temperature value is greater than the
When one temperature threshold, control module 380 just goes to obtain the humidity value that humidity detecting module detects.It can also be with when the temperature
When value is greater than the first temperature threshold, control module 380 starts the humidity value of humidity detecting module detection charging interface 310.
Wherein, temperature acquisition module 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 acquisition module obtains the first temperature information of current charging interface 310.
Specifically, Fig. 7 is the control module and temperature of charging equipment provided by the embodiments of the present application in conjunction with Fig. 7 and Fig. 8
The structural schematic diagram of detecting element, Fig. 8 are the charging interface and temperature detection member of charging equipment provided by the embodiments of the present application
The structural schematic diagram of part.Temperature acquisition module 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 obtain module 361 in charging equipment environment temperature by setting and obtain.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 acquisition module 361 can be negative temperature coefficient resister, single thermistor, the components such as temperature sensor.
Wherein, the pinouts of charging interface 310 is shown in figure.Wherein, temperature acquisition module 361 can use negative temperature
Coefficient resistance, wherein negative tempperature coefficient thermistor (Negative Temperature Coefficient, NTC) is
The material that resistance have exponent relation reduction, thermistor phenomenon with negative temperature coefficient can be risen with temperature.
In some embodiments, the quantity of temperature acquisition module 361 is at least 2, each temperature acquisition module 361 with
One detection pin of control module 380 connects.
Each temperature acquisition module 361 can work independently, and obtain the temperature value of charging interface 310 respectively.Each temperature
Degree obtains module 361 and connect respectively with a detection pin of control module 380, 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 acquisition module 361 from damaging.
In some embodiments, detection pin, the Yi Jitong of one end link control module 380 of temperature acquisition module 361
Cross first resistor R2 or R3 connection power vd D, the other end ground connection of temperature acquisition module 361.Temperature acquisition module 361 can be
Thermo-sensitive resistor 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.
Referring to Fig. 9, Fig. 9 is the another structural representation of charging equipment provided by the embodiments of the present application and charging unit
Figure.When temperature value exceeds the first temperature threshold, control module 380 controls charging circuit from fast charge pattern switching to common charging
Mode.
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.
In some embodiments, which includes first switching element 371.First switching element 371 includes first
Input terminal 3711, the first output end 3712 and the first control terminal 3713.The first switching element 371 can be a switching tube.
The first switching element 371 also may include first switch tube 372 and second switch 374, the input terminal of first switch tube 372
As first input end 3711, the output end of second switch 374 as the first output end 3712, first switch tube 372 it is defeated
Outlet is connect with the input terminal of second switch 374, the control terminal of first switch tube 372 and the control terminal of second switch 374
Connection, 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, when temperature value exceeds the first temperature threshold, control module 380 generates control instruction, and
Control instruction is transmitted to external recharging apparatus by charging interface 310, to control external recharging apparatus from fast charge pattern switching
To normal charging mode.
The charge power that 200 side of external recharging apparatus will be imparted to device 300 to be charged reduces, i.e., from fast charge pattern switching
To normal charging mode.
In some embodiments, when temperature value exceeds second temperature threshold value, control module 380 generates control instruction, and
Control instruction is transmitted to external recharging apparatus by charging interface 310, stops output charging letter to control external recharging apparatus
Number, wherein second temperature threshold value is greater than the first temperature threshold.
When the temperature value of charging interface 310 is greater than second temperature threshold value, illustrate that current charging interface 310 is abnormally dangerous,
It is easy to burn out, at this point, control external recharging apparatus stops output charging signals.Specifically, control instruction can be sent to outside
Charging unit stops output charging signals, the power input pin VBUS of charging interface 310 can also be grounded, to make outside
Charging unit overcurrent protection, to stop charging.
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.
It may include the 4th switch element 260, the input of the 4th switch element 260 in external recharging apparatus 200
The output end of end connection 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, can be disconnected by the input terminal and output end that control the 4th switch element 260
It opens, to realize stopping charging.
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 second control module 230 positioned at external recharging apparatus;Second control
Molding block 230 connects charging interface 310, and the second control module 230 extremely charges the output of charging signals interruption according to control instruction
Interface 310.
Charging signals can be interrupted output valve charging interface 310 by the second control module 230, and charging signals are such as become arteries and veins
Signal is rushed, thus foreign matter can intermittently be heated, be avoided continuous heating and line is caused to burn.Become pulse signal
Afterwards, can also the voltage of pulse signal be reduced or is reduced the duty ratio of pulse signal, protect charging interface 310.
Referring to Fig. 10, Figure 10 is the flow diagram of charging method provided by the embodiments of the present application.Incorporated by reference to Fig. 5
To Fig. 9, 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 humidity value of 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.
It can be with the humidity value of real time charging interface 310.Specifically, can be by the humidity that is arranged in charging interface 310
The humidity value of the acquisition charging interface 310 of detection module 362.
102, when humidity value exceeds safe moistness value range, control module, which controls external recharging apparatus, reduces charging function
Rate.
To prevent charging interface from damaging, while the charge power by reducing power removes the sundries entered.Such as into
Enter the liquid etc. of charging interface 310.
103, when humidity value is restored in safe moistness value range, control module controls external recharging apparatus increase charging
Power.
After sundries removal, detect that control module 380 controls outside when humidity value is restored in safe moistness value range
Charging unit increases charge power, and the charging time is shortened in quick charge.
In some embodiments, before the humidity value for obtaining charging interface, further includes: charging interface 310 can also be obtained
Temperature value, when temperature value be greater than the first temperature threshold when, control humidity obtain module 362 obtain charging interface 310 in it is wet
Angle value, or module 362 is obtained by humidity and obtains humidity value.
When the temperature value is greater than the first temperature threshold, control module 380 just goes acquisition humidity detecting module to detect to obtain
Humidity value.It can also be with when the temperature value is greater than the first temperature threshold, control module 380 starts humidity detecting module detection
The humidity value of charging interface 310.
In some embodiments, after the temperature value for obtaining charging interface 310, further includes: when temperature value is beyond the first temperature
When spending threshold value, charging circuit is controlled from fast charge pattern switching to normal charging mode.
In some embodiments, after the temperature value for obtaining charging interface 310, further includes: when temperature value is beyond the first temperature
When spending threshold value, control instruction is generated, and control instruction is transmitted to external recharging apparatus by charging interface 310, it is outer to control
Portion's charging unit is from fast charge pattern switching to normal charging mode.
The charge power that 200 side of external recharging apparatus will be imparted to device 300 to be charged reduces, i.e., from fast charge pattern switching
To normal charging mode.
In some embodiments, after the temperature value for obtaining charging interface 310, further includes: when temperature value is beyond the second temperature
When spending threshold value, control instruction is generated, and control instruction is transmitted to external recharging apparatus by charging interface 310, it is outer to control
Portion's charging unit stops output charging signals, wherein second temperature threshold value is greater than the first temperature threshold.
When the temperature value of charging interface 310 is greater than second temperature threshold value, illustrate that current charging interface 310 is abnormally dangerous,
It is easy to burn out, at this point, control external recharging apparatus stops output charging signals.Specifically, control instruction can be sent to outside
Charging unit stops output charging signals, the power input pin VBUS of charging interface 310 can also be grounded, to make outside
Charging unit overcurrent protection, to stop charging.
In some embodiments, method further include:, will according to control instruction after external recharging apparatus receives control instruction
Charging signals interruption output is to charging interface, to reduce charge power.
Charging signals can be interrupted output valve charging interface 310 by external recharging apparatus, and charging signals are such as become pulse
Signal thus can intermittently heat foreign matter, avoid continuous heating and line be caused to burn.Become pulse signal
Afterwards, can also the voltage of pulse signal be reduced or is reduced the duty ratio of pulse signal, protect charging interface 310.
Figure 11 is please referred to, Figure 11 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
The humidity value of the charging interface;When the humidity value exceeds safe moistness value range, the control module control is described outer
Portion's charging unit reduces charge power;When the humidity value is restored in safe moistness value range, the control module control
The external recharging apparatus increases charge 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 (10)
1. a kind of charging circuit characterized by comprising
Charging interface, the charging interface is for connecting external recharging apparatus;
Humidity obtains module, and the humidity obtains module and is arranged in the charging interface, and the humidity obtains module and obtains institute
State the humidity value in charging interface;
Control module, the charging interface and the humidity obtain module and connect with the control module, the control module
Module, which is obtained, by the humidity obtains the humidity value, when the humidity value exceeds safe moistness value range, the control
Module, which controls the external recharging apparatus, reduces charge power, when the humidity value is restored in safe moistness value range, institute
It states control module and controls the external recharging apparatus increase charge power.
2. charging circuit according to claim 1, which is characterized in that the charging circuit further includes temperature acquisition module,
The temperature acquisition module is adjacent or the fitting charging interface setting, the temperature acquisition module obtain the charging interface
Temperature value;
When the temperature value exceeds the first temperature threshold, the control module controls the humidity and obtains fills described in module acquisition
Humidity value or the control module in electrical interface obtain module by the humidity and obtain the humidity value.
3. charging circuit according to claim 1, which is characterized in that when the temperature value is greater than the first temperature threshold,
The control module controls the charging circuit from fast charge pattern switching to normal charging mode.
4. charging circuit according to claim 1, which is characterized in that when the temperature value is greater than the first temperature threshold,
The control module generates control instruction, and the control instruction is transmitted to the external charging by the charging interface and is filled
It sets, to control the external recharging apparatus from fast charge pattern switching to normal charging mode.
5. charging circuit according to claim 1, which is characterized in that when the temperature value is greater than second temperature threshold value,
The control module generates control instruction, and the control instruction is transmitted to the external charging by the charging interface and is filled
It sets, stops output charging signals to control the external recharging apparatus, wherein the second temperature threshold value is greater than first temperature
Spend threshold value.
6. charging circuit according to claim 1, which is characterized in that the charging circuit further includes being located at the outside to fill
Second control module of electric installation;
Second control module connects the charging interface, and second control module believes charging according to the control instruction
Number interruption output is to the charging 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 humidity value of the charging interface;
When the humidity value exceeds safe moistness value range, the control module, which controls the external recharging apparatus, reduces charging
Power;
When the humidity value is restored in safe moistness value range, the control module controls the external recharging apparatus and increases
Charge power.
8. charging method according to claim 7, which is characterized in that the method also includes:
After the external recharging apparatus receives control instruction, charging signals interruption is exported to described according to the control instruction
Charging interface, to reduce charge power.
9. a kind of electronic equipment, which is characterized in that the electronic equipment includes charging circuit and battery, the charging circuit and institute
State battery connection, the charging circuit charging circuit as claimed in any one of claims 1 to 6.
10. 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, the step of realizing charging method as claimed in claim 7 or 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811348739.6A CN109286220B (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 |
---|---|---|---|
CN201811348739.6A CN109286220B (en) | 2018-11-13 | 2018-11-13 | Charging circuit, charging processing method, electronic device, and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109286220A true CN109286220A (en) | 2019-01-29 |
CN109286220B CN109286220B (en) | 2021-05-07 |
Family
ID=65175718
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811348739.6A Active CN109286220B (en) | 2018-11-13 | 2018-11-13 | Charging circuit, charging processing method, electronic device, and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109286220B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111469710A (en) * | 2020-04-02 | 2020-07-31 | 雷锡社 | Battery management system and method |
CN113766614A (en) * | 2021-06-10 | 2021-12-07 | 荣耀终端有限公司 | Method for reducing power consumption of terminal equipment and terminal equipment |
CN117200403A (en) * | 2023-11-03 | 2023-12-08 | 武汉星纪魅族科技有限公司 | Charging control method, electronic device, power adapter and readable storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106537719A (en) * | 2016-08-15 | 2017-03-22 | 北京小米移动软件有限公司 | Electronic device, charger, charging system, and charging method |
CN106786871A (en) * | 2016-12-19 | 2017-05-31 | 北京小米移动软件有限公司 | Charge control method, apparatus and system |
CN107431351A (en) * | 2015-03-20 | 2017-12-01 | 戴洛格半导体公司 | To the soft short-circuit overvoltage protection of the data wire in fast charge USB charger |
CN108321858A (en) * | 2017-01-16 | 2018-07-24 | 华硕电脑股份有限公司 | Charge protection device and its method |
CN108411310A (en) * | 2018-02-02 | 2018-08-17 | 广东欧珀移动通信有限公司 | Interface circuit and electronic device |
-
2018
- 2018-11-13 CN CN201811348739.6A patent/CN109286220B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107431351A (en) * | 2015-03-20 | 2017-12-01 | 戴洛格半导体公司 | To the soft short-circuit overvoltage protection of the data wire in fast charge USB charger |
CN106537719A (en) * | 2016-08-15 | 2017-03-22 | 北京小米移动软件有限公司 | Electronic device, charger, charging system, and charging method |
CN106786871A (en) * | 2016-12-19 | 2017-05-31 | 北京小米移动软件有限公司 | Charge control method, apparatus and system |
CN108321858A (en) * | 2017-01-16 | 2018-07-24 | 华硕电脑股份有限公司 | Charge protection device and its method |
CN108411310A (en) * | 2018-02-02 | 2018-08-17 | 广东欧珀移动通信有限公司 | Interface circuit and electronic device |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111469710A (en) * | 2020-04-02 | 2020-07-31 | 雷锡社 | Battery management system and method |
CN113766614A (en) * | 2021-06-10 | 2021-12-07 | 荣耀终端有限公司 | Method for reducing power consumption of terminal equipment and terminal equipment |
CN113766614B (en) * | 2021-06-10 | 2023-04-18 | 荣耀终端有限公司 | Method for reducing power consumption of terminal equipment and terminal equipment |
CN117200403A (en) * | 2023-11-03 | 2023-12-08 | 武汉星纪魅族科技有限公司 | Charging control method, electronic device, power adapter and readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN109286220B (en) | 2021-05-07 |
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 | |
CN109378878A (en) | Charging circuit, charging method, electronic equipment and storage medium | |
CN109217488A (en) | Charging circuit, electronic equipment, charging method and storage medium | |
CN109286220A (en) | Charging circuit, charging method, electronic equipment and storage medium | |
CN109120029A (en) | charging circuit, electronic equipment, charging management method and storage medium | |
CN109450023A (en) | Charging circuit, charging method, electronic equipment and storage medium | |
CN109286219A (en) | Charging circuit, charging method, electronic equipment and storage medium | |
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 | |
CN109066884A (en) | Charging circuit and electronic equipment | |
CN111464674B (en) | Electronic equipment and temperature control method thereof during charging | |
US9509358B1 (en) | Behavior adaptive battery control system for mobile device case | |
CN110474387A (en) | Charge control method, electronic equipment and computer storage medium | |
CN109149697B (en) | Charging circuit and electronic device | |
WO2024007687A1 (en) | Multi-battery power supply, charging/discharging method, and electronic device | |
CN109067019A (en) | Charge-discharge circuit, method, electronic equipment and storage medium | |
CN114844182B (en) | Charging circuit, charging method and electronic equipment | |
CN109120034A (en) | Charging circuit, charging method, electronic equipment and storage medium | |
CN106451693B (en) | Treasured charges and OTG data line | |
CN109217487A (en) | Charging circuit and electronic equipment | |
CN109193878A (en) | Charging circuit, charging method, electronic equipment and storage medium | |
WO2019018990A1 (en) | Battery pack and electronic equipment |
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 |