CN109510259A - 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
CN109510259A
CN109510259A CN201811378912.7A CN201811378912A CN109510259A CN 109510259 A CN109510259 A CN 109510259A CN 201811378912 A CN201811378912 A CN 201811378912A CN 109510259 A CN109510259 A CN 109510259A
Authority
CN
China
Prior art keywords
adapter
charging
temperature
interface
connecting line
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811378912.7A
Other languages
Chinese (zh)
Inventor
靳勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Oppo Chongqing Intelligent Technology Co Ltd
Original Assignee
Oppo Chongqing Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oppo Chongqing Intelligent Technology Co Ltd filed Critical Oppo Chongqing Intelligent Technology Co Ltd
Priority to CN201811378912.7A priority Critical patent/CN109510259A/en
Publication of CN109510259A publication Critical patent/CN109510259A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02HEMERGENCY PROTECTIVE CIRCUIT ARRANGEMENTS
    • H02H5/00Emergency protective circuit arrangements for automatic disconnection directly responsive to an undesired change from normal non-electric working conditions with or without subsequent reconnection
    • H02H5/04Emergency protective circuit arrangements for automatic disconnection directly responsive to an undesired change from normal non-electric working conditions with or without subsequent reconnection responsive to abnormal temperature
    • H02H5/041Emergency protective circuit arrangements for automatic disconnection directly responsive to an undesired change from normal non-electric working conditions with or without subsequent reconnection responsive to abnormal temperature additionally responsive to excess current
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0029Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • 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, kind charging circuit includes adapter, adapter includes charging interface and control chip, connecting line, connecting line is used to connect adapter by charging interface, the interface of connecting line includes detection pin, it detects pin and control chip is connected to by connecting line, adapter, one end of adapter connects connecting line, the other end connects charging equipment, temperature detecting element is set on adapter to obtain the first temperature information of adapter, chip is controlled for obtaining the first temperature information, when the first temperature information is greater than reliability temperature threshold, it controls adapter and closes power supply output.It prevents from burning out device.

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.Micro The head of USB line and Type-c USB line has no idea to be compatible with, and in order to solve this problem, can be a Micro USB and turn The head of Type-C.It can connect on Micro USB head, to be compatible with the mobile phone of Type-C.
However, short circuit may occur in charging for existing adapter so as to cause heating problem, due to that can not detect Adapter temperature will result in the problem of interface is burnt when temperature anomaly.
Summary of the invention
The embodiment of the present application provides a kind of electronic equipment, can effectively detect the temperature of adapter, and in temperature anomaly It is protected.
The embodiment of the present application provides a kind of charging circuit comprising:
Adapter, the adapter include charging interface and control chip;
Connecting line, the connecting line are used to connect the adapter, the interface of the connecting line by the charging interface Including detecting pin, the detection pin is connected to the control chip by the connecting line;
Adapter, one end of the adapter connect the connecting line, and the other end connects charging equipment, the adapter It is upper that temperature detecting element is set to obtain the first temperature information of the adapter;
The control chip is for obtaining first temperature information, when first temperature information is greater than safe temperature threshold When value, controls the adapter and close power supply output.
The embodiment of the present application also provides a kind of charging methods, are applied to charging equipment, the charging equipment Including filling adapter, connecting line and adapter, one end of the connecting line is connect with the adapter, the other end and the switching Head connection;The described method includes:
When the adapter charges to charging equipment by the adapter, the first of the adapter is obtained Temperature information;
When first temperature information is greater than reliability temperature threshold, controls the adapter and close power supply output.
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 management 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 can connect When line connecting adapter, the first temperature information of real-time monitoring adapter judges whether that short circuit occurs according to the temperature of adapter, When in circuit because having foreign matter or feed liquor body, it will cause short circuit, so that the temperature at adapter be made to rise, work as adapter When the temperature at place is more than reliability temperature threshold, controls the adapter and close power supply output, to stop charging, prevent from burning out device Part.
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 the structural schematic diagram of adapter provided by the embodiments of the present application and connecting line.
Fig. 7 is a kind of structural schematic diagram of adapter provided by the embodiments of the present application.
Fig. 8 is the flow diagram of charging method provided by the embodiments of the present application.
Fig. 9 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 carriage, and carriage is connect with shell 15, sliding Dynamic device can be slided relative to shell.Front camera 161 and rear camera 162 are arranged on carriage, and respectively Positioned 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 Device, electronic equipment have non-display area, and front camera 161, receiver 171, range sensor, ambient light sensor etc. can To be arranged 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.It fills Electric equipment 200 includes charging circuit, and charging circuit includes adapter and connecting line 210, and adapter includes charging interface and control Coremaking piece, the connecting line 210 are used to connect the adapter by the charging interface.
Wherein, charging interface is for connecting charging equipment 200.Charging interface can be universal serial bus (Universal Serial Bus, USB) interface.Specifically, charging interface can fill certainly for Micro USB interface or Type-C interface etc. Electrical interface may be other interfaces.Charging interface connects charging equipment 300 by charging connection wire.
In one embodiment, referring to Fig. 6, Fig. 6 shows for the structure of adapter provided by the embodiments of the present application and connecting line It is intended to.
In an application embodiment, the interface of connecting line 210 includes Micro USB interface, the interface packet of the connecting line Detection pin is included, the detection pin is connected to the control chip 340 by the connecting line 210.On it should be noted that Stating the pin on connecting line can also include VBUS (power supply line), D+, D- (transmission data), GND (ground line), wherein detection is drawn Foot is connected to the control chip 340 of adapter by cabling.
With continued reference to Fig. 7, Fig. 7 is a kind of structural schematic diagram of adapter provided by the embodiments of the present application.In an embodiment In, one end of the adapter 360 connects the connecting line 210, and the other end connects charging equipment 300, which includes Micro USB interface 362 and USB Type-C interface 361, wherein the Micro USB interface 362 of the adapter 360 include VBUS, D-, D+, GND and 5 pins of detection, are arranged temperature detecting element 363, the temperature at USB Type-C interface 361 Detecting element 363 is connected to the detection pin of the Micro USB interface 362 by detection line.
In the prior art, there is no thermistor on adapter, the temperature of adapter cannot be detected.If adapter or The interface feed liquor of person's mobile phone, after short circuit occurs, in charging, adapter is unable to emergency cut-off Vbus output, so as to cause device Burnout problems.
When the connecting line 210 accesses adapter 360, one end of the detection pin of the connecting line 210 and the control Coremaking piece 340 connects, and the other end is connect with the detection pin of the adapter 360.
In the description of the present application, the meaning of " plurality " is two or more, unless otherwise specifically defined.
In one embodiment, the control chip 340 is for obtaining first temperature information, when first temperature is believed When breath is greater than reliability temperature threshold, controls the adapter and close power supply output, to improve the safety of equipment.
In one embodiment, temperature detecting element 363 obtains the first temperature at the USB Type-C interface 361 of adapter Information.Temperature detecting element 363 can be negative temperature coefficient resister, single thermistor, the components such as temperature sensor.Temperature inspection The first temperature information at the USB Type-C interface 361 of adapter can be obtained in real time by surveying element 363.For example, temperature detection Element 363 obtains the first temperature information of Type-C interface in real time.Since the pin of Type-C interface is more, and Type-C interface Limited width, therefore the spacing between Type-C interface pin is smaller, feed liquor body or it is dirty when, be easy to cause micro-short circuit, from And the temperature of Type-C interface is caused to rise.
Control chip 340 connect with temperature detecting element 363 and obtains the first temperature information by connecting line 210, when the When one temperature information is greater than reliability temperature threshold, control chip 340 controls adapter and closes power supply output, to stop passing through charging Interface charges.
In one embodiment, control chip 340 is believed by the charging that the charging interface obtains the charging equipment 300 Breath, and target charge power is chosen one as in the first charge power and the second charge power according to the charge information, it is described Control chip 340 controls the adapter according to the target charge power and charges to the charging equipment, wherein institute The first charge power is stated greater than second charge power.Wherein, above-mentioned first charge power can be the fast charge function of adapter Rate, the second charge power can be the trickle charge power of adapter.
Wherein, AC-DC module is equipped in charging unit 200, for converting the alternating current (such as 220V alternating current) of alternating current At the direct current (direct current of such as 5V) to charge to charging equipment 300.It further include charge management circuit in charging equipment 300 320 and battery 330.There is DC-DC voltage transformation module in charge management circuit 320, can need to adjust according to battery 330 It is exported to the voltage and or current of battery 330.Charge management circuit 320 can be charging chip.
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.Battery protecting plate, battery protection are equipped in battery 300 The functions such as short circuit, overcurrent protection may be implemented in plate.Can also external recharging apparatus 200 power supply VBUS pin and CC pin it Between concatenate a resistance R1.
In some embodiments, temperature detecting element 363 is bonded the USB Type-C interface 361 of adapter.Temperature detection Element 363 can be directly connected to Type-C interface 361 or be connect by heat conducting element (such as thermally conductive sheet), can promptly and accurately Obtain the first temperature information of Type-C interface 361.
In some embodiments, the quantity of temperature detecting element 350 is at least 2, each temperature detecting element 363 with Chip 340 is controlled to connect.Wherein, each temperature detecting element 350 can work independently, and obtain the USB of adapter respectively First temperature information of Type-C interface 3610.Each temperature detecting element 363 is connect with control chip respectively, in this way, control Available the first temperature information of at least two of chip 340, then when any one first temperature information is more than reliability temperature threshold When, stop charging.Can also be with, when at least one first temperature information is more than reliability temperature threshold, and at least one first temperature Information is less than reliability temperature threshold, but it is smaller with the difference of reliability temperature threshold when (such as less than 10 degrees Celsius or Celsius less than 5 Degree), stop charging.Maloperation caused by prevent single temperature detecting element 363 from damaging.Wherein, reliability temperature threshold can be with For a default value, such as 50 degrees Celsius, 60 degrees Celsius, 70 degrees Celsius.
In one embodiment, charging equipment 300 can support commonly charging or fast charge both of which, charging equipment 200 It can also support commonly to charge and fast charge both of which.External recharging apparatus 200 under fast charge mode provides higher charging function Rate, for example, can provide than the higher voltage and or current that commonly charges.Under fast charge mode, charging equipment 200 provides first The electric energy of charge power is to charging equipment 300, and under normal charging mode, charging equipment 200 provides the electricity of the second charge power Charging equipment 300 can be given, the second charge power is less than the first charge power.For example, under normal charging mode, provide 5V, 1A, Charge power is the charging current of 5W.Under fast charge mode, 9V, 2A is provided, the charging current that charge power is 18W, can also mention For 5V, 3A, the charging current that charge power is 15W.Under fast charge mode, voltage can be only improved, electric current is only improved, mentions simultaneously The modes such as high voltage and electric current improve charge power, and the charge power of raising reaches as high as 50W, even higher, and the application is no longer It enumerates.
Wherein, charging equipment 300 can not only be connect with charging equipment 200 by charging interface and be charged, and may be used also To be communicated by the communications pins of charging interface (D+, D-).When not accessing adapter, control chip 340 can pass through Charging interface obtains the charge information of charging equipment 300, then obtains whether the charging equipment 300 props up according to charge information Fast charge is held, if charging equipment 300 supports fast charge, first can be selected to fill in the first charge power and the second charge power Electrical power is as target charge power.If charging equipment 300 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 controlling the determining target charge power of chip 340, according to mesh It marks charge power and generates control information, and send control information to charging equipment 200, which sets for controlling charging Standby 200 charge according to target charge power.That is, control chip 340 is according in the communication between charging equipment 300 Hold, control charging equipment 200 selects fast charge mode or normal charging mode.
It should be noted that under fast charge mode, the state of the available battery 330 of charging equipment 200, such as remaining electricity Amount, cell voltage, battery current such as lead at the information, charging equipment 200 according to its output voltage of the adjustment of the state of battery 330 and/ Or output electric current.For example, charging equipment 200 exports different output in the case where trickle state, constant current state or pressure constant state are different Voltage and/or output electric current.Under normal charging mode, the battery management circuit 320 in charging equipment 300, which can change, to be filled The voltage and current that electric equipment 200 inputs, to meet the demand of battery 330.
In the description of the present application, it is to be understood that term " first ", " second " are used for description purposes only, and cannot It is interpreted as indication or suggestion relative importance or implicitly indicates the quantity of indicated technical characteristic.Define as a result, " the One ", the feature of " second " can explicitly or implicitly include one or more feature.
In some embodiments, when target charge power is the first charge power, the charging interface other end is for direct Connect battery 330;When target charge power is the second charge power, 310 other end of charging interface passes through battery management circuit 320 connection batteries 330.
Wherein, battery management circuit 320 includes protection circuit, can directly be met the power pins VBUS of Type-C interface Ground short circuit stops charging, realizes the temperature decline of type-C interface.
Referring to Fig. 8, Fig. 8 is the flow diagram of charging method provided by the embodiments of the present application.The charging process Method is applied to charging equipment, which includes filling adapter, connecting line and adapter, one end of the connecting line with The adapter connection, the other end are connect with the adapter.The charging method can specifically include:
101, when adapter charges to charging equipment by the adapter, obtain the first temperature of adapter Information.
Wherein, charging interface is for connecting charging equipment.Charging interface can be universal serial bus (Universal Serial Bus, USB) interface.Specifically, charging interface can fill certainly for Micro USB interface or Type-C interface etc. Electrical interface may be other interfaces.Charging interface connects charging equipment by charging connection wire.
The interface of connecting line includes Micro USB interface, and the interface of the connecting line includes detection pin, and the detection is drawn Foot is connected to the control chip 340 by the connecting line 210.It should be noted that the pin on above-mentioned connecting line may be used also To include VBUS (power supply line), D+, D- (transmission data), GND (ground line), wherein detection pin is connected to adaptation by cabling The control chip of device.
Adapter includes Micro USB interface and USB Type-C interface, wherein the Micro USB interface packet of the adapter VBUS, D-, D+, GND and 5 pins of detection are included, temperature detecting element, the temperature detection are set in USB Type-C interface Element is connected to the detection pin of the Micro USB interface by detection line.
102, when the first temperature information is greater than reliability temperature threshold, control adapter closes power supply output.
In the prior art, there is no thermistor on adapter, the temperature of adapter cannot be detected.If adapter or The interface feed liquor of person's mobile phone, after short circuit occurs, in charging, adapter is unable to emergency cut-off Vbus output, so as to cause device Burnout problems.
In one embodiment, charging equipment further includes control chip, and control chip is for obtaining the first temperature information, when the When one temperature information is greater than reliability temperature threshold (such as 60 degrees Celsius), control adapter closes power supply output, to improve equipment Safety.
In one embodiment, charging equipment can be supported commonly to charge or fast charge both of which, charging equipment can also be with Support common charging and fast charge both of which.External recharging apparatus under fast charge mode provides higher charge power, for example, can To provide than the higher voltage and or current that commonly charges.Under fast charge mode, external recharging apparatus provides the first charge power Electric energy is to charging equipment, and under normal charging mode, the electric energy that external recharging apparatus provides the second charge power is set to be charged Standby, the second charge power is less than the first charge power.For example, providing 5V, 1A under normal charging mode, charge power is 5W's Charging current.Under fast charge mode, 9V, 2A is provided, the charging current that charge power is 18W, 5V, 3A, charging function can also be provided Rate is the charging current of 15W.Under fast charge mode, voltage can be only improved, electric current is only improved, improves voltage and current etc. simultaneously Mode improves charge power, and the charge power of raising reaches as high as 50W, even higher.
In some embodiments, when first temperature information is greater than reliability temperature threshold, the adapter is controlled It closes before power supply output, the method also includes:
Obtain the second temperature information in the charging equipment;
When the second temperature information is less than the first temperature threshold, the first preset temperature value is set as the safe temperature Threshold value;
When the second temperature information is greater than the first temperature threshold, the second preset temperature value is set as the safe temperature Threshold value, second preset temperature are greater than first preset temperature.
Wherein, charging equipment can also include second temperature detecting element, second temperature detecting element for detect to Temperature inside charging equipment.For example, second temperature detecting element can be used for detecting the temperature of charging equipment battery, be used for The temperature of master chip, temperature for detecting memory etc. are detected, can be used for multiple positions inside detection charging equipment Then the temperature set determines reliability temperature threshold according to the temperature inside charging equipment.Temperature inside charging equipment When higher, higher reliability temperature threshold (such as 70 degrees Celsius) are set, when the temperature inside charging equipment is lower, setting compared with Low reliability temperature threshold (such as 60 degrees Celsius).Second temperature detecting element can for one, it is two or more.If second temperature Detecting element be it is two or more, then can be averaged according to the temperature that multiple second temperature detecting elements obtain, then root Reliability temperature threshold is set according to average value.Weight can also be set at a distance from charging interface according to second temperature detecting element Value, nearlyr weighted value is bigger at a distance from charging interface, and the temperature that then each second temperature detecting element obtains is multiplied by power It averages after weight values.
Referring to Fig. 9, Fig. 9 is the module frame chart schematic diagram of electronic equipment provided by the embodiments of the present application.The electronic equipment 100 may include control circuit, which may include storage and processing circuit 61.The storage and processing circuit 61 can be with Memory, such as hard drive memory, nonvolatile memory (such as flash memory or the other electricity for being used to form solid state drive Sub- programmable read only memory etc.), volatile memory (such as either statically or dynamically random access memory etc.) etc., the application reality Apply example with no restriction.Processing circuit in storage and processing circuit 61 can be used for the operating of controlling electronic devices 100.The processing Circuit can microprocessor based on one or more, microcontroller, digital signal processor, baseband processor, power management list Member, audio codec chip, specific integrated circuit, display-driver Ics etc. are realized.
Storage and processing circuit 61 can be used for running the software in electronic equipment 100, such as the Internet browser application program, Voice over internet protocol (Voice over Internet Protocol, VOIP) call application program, Email are answered With program, media play-back application, operation system function etc..These softwares can be used for executing some control operations, for example, Image Acquisition based on camera, the ambient light measurement based on ambient light sensor, the proximity sensor based on proximity sensor Measurement, the information display function that the positioning indicators such as status indicator lamp based on light emitting diode are realized are passed based on touching The touch event of sensor detects, function associated with information show on multiple (such as layering) displays, with execution nothing The associated operation of line communication function, operation associated with collecting and generating audio signal, presses with collection and treatment button Other functions etc. in the associated control operation of event data and electronic equipment 100, the embodiment of the present application is with no restriction.
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.It passes Sensor 63 may include ambient light sensor, the proximity sensor based on light and capacitor, and touch sensor based on light (for example, touched Touch sensor and/or capacitive touch sensors, wherein touch sensor can be a part of touching display screen, can also be with Independently used as a touch sensor arrangement), acceleration transducer and other sensors etc..
Input-output circuit 62 can also include one or more displays, such as display 64.Display 64 can wrap Include liquid crystal display, organic light emitting diode display, electronic ink display, plasma display uses other display skills One or several kinds of combination in the display of art.Display 64 may include touch sensor array (that is, display 64 can be with It is touching display screen).Touch sensor can be by transparent touch sensor electrode (such as tin indium oxide (ITO) electrode) battle array The capacitive touch sensors formed are arranged, or can be the touch sensor formed using other touching techniques, such as sound wave Touch-control, pressure sensible touch, resistive touch, optical touch etc., the embodiment of the present application is with no restriction.
Electronic equipment 100 can also include audio component 65.Audio component 65 can be used for providing sound for electronic equipment 100 Frequency outputs and inputs function.Audio component 65 in electronic equipment 100 may include loudspeaker, microphone, buzzer, tone hair Raw device and other components for being used to generate and detect sound.
Telecommunication circuit 66 can be used for providing the ability with external device communication for electronic equipment 100.Telecommunication circuit 66 can To include analog- and digital- input-output interface circuit, and the radio communication circuit based on radiofrequency signal and/or optical signal.It is logical Radio communication circuit in letter circuit 66 may include radio-frequency transceiver circuitry, power amplifier circuit, low-noise amplifier, open Pass, filter and antenna.For example, the radio communication circuit in telecommunication circuit 66 may include for by transmitting and reception Near-field coupling electromagnetic signal supports the circuit of near-field communication (Near Field Communication, NFC).For example, communication Circuit 66 may include near-field communication aerial and near-field communication transceiver.Telecommunication circuit 66 can also include cellular telephone transceiver And antenna, wireless lan transceiver circuit and antenna etc..
Electronic equipment 100 can further include battery, power management circuitry and other input-output units 67.It is defeated Enter-output unit 67 may include button, control stick, click wheel, scroll wheel, touch tablet, keypad, keyboard, camera shines Diode and other positioning indicators etc..
User can input a command for the operation of controlling electronic devices 100 by input-output circuit 62, and can make Status information and other outputs from electronic equipment 100 are received with the output data of input-output circuit 62 to realize.
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 management method in any of the above-described embodiment, such as: work as institute When stating adapter and charging by the adapter to charging equipment, the first temperature information of the adapter is obtained, when When first temperature information is greater than reliability temperature threshold, controls the adapter and close power supply output.
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 management method.Wherein, the storage medium can be magnetic disk, CD, read-only memory, arbitrary access note Recall body etc..
It is situated between above to a kind of charging circuit, charging method provided by the embodiment of the present application, electronic equipment and storage Matter is described in detail, and specific examples are used herein to illustrate the principle and implementation manner of the present application, above The explanation of embodiment is merely used to help understand the present processes and its core concept;Meanwhile for those skilled in the art Member, according to the thought of the application, there will be changes in the specific implementation manner and application range, in conclusion this explanation Book content should not be construed as the limitation to the application.

Claims (11)

1. a kind of charging circuit characterized by comprising
Adapter, the adapter include charging interface and control chip;
Connecting line, the connecting line are used to connect the adapter by the charging interface, and the interface of the connecting line includes Pin is detected, the detection pin is connected to the control chip by the connecting line;
Adapter, one end of the adapter connect the connecting line, and the other end connects charging equipment, sets on the adapter Temperature detecting element is set to obtain the first temperature information of the adapter;
The control chip is for obtaining first temperature information, when first temperature information is greater than reliability temperature threshold When, it controls the adapter and closes power supply output.
2. charging circuit according to claim 1, which is characterized in that the interface of the connecting line includes that Micro USB connects Mouthful, the adapter includes Micro USB interface and USB Type-C interface.
3. charging circuit according to claim 2, which is characterized in that the temperature detecting element it is adjacent or fitting described in USB Type-C interface.
4. charging circuit according to claim 2, which is characterized in that the Micro USB interface of the adapter includes inspection Survey pin.
5. charging circuit according to claim 4, which is characterized in that when the connecting line accesses adapter, the company One end of the detection pin of wiring is connect with the control chip, and the other end is connect with the detection pin of the adapter.
6. charging circuit according to claim 1, which is characterized in that the control chip is obtained by the charging interface The charge information of the charging equipment, and one is selected in the first charge power and the second charge power according to the charge information As target charge power, the control chip controls the adapter according to the target charge power and to be charged sets to described It is standby to charge, wherein first charge power is greater than second charge power.
7. charging circuit according to claim 6, which is characterized in that when the target charge power is first charging When power, the charging interface other end is for being directly connected to battery;
When the target charge power is second charge power, the charging interface other end passes through battery management circuit Connect battery.
8. a kind of charging method is applied to charging equipment, which is characterized in that the charging equipment includes filling adapter, connecting Wiring and adapter, one end of the connecting line are connect with the adapter, and the other end is connect with the adapter;The method Include:
When the adapter charges to charging equipment by the adapter, the first temperature of the adapter is obtained Information;
When first temperature information is greater than reliability temperature threshold, controls the adapter and close power supply output.
9. charging method according to claim 8, which is characterized in that be greater than safety when first temperature information When temperature threshold, controls the adapter and close before power supply output, the method also includes:
Obtain the second temperature information in the charging equipment;
When the second temperature information is less than the first temperature threshold, the first preset temperature value is set as the safe temperature threshold Value;
When the second temperature information is greater than the first temperature threshold, the second preset temperature value is set as the safe temperature threshold Value, second preset temperature are greater than first preset temperature.
10. a kind of electronic equipment, which is characterized in that including charging circuit and battery, the charging circuit is connect with the battery, The charging circuit such as described in any item charging circuits of claim 1-7.
11. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that described program is processed The step of charging management methods as described in any item such as claim 8 to 9 are realized when device executes.
CN201811378912.7A 2018-11-19 2018-11-19 Charging circuit, charging method, electronic equipment and storage medium Pending CN109510259A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811378912.7A CN109510259A (en) 2018-11-19 2018-11-19 Charging circuit, charging method, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811378912.7A CN109510259A (en) 2018-11-19 2018-11-19 Charging circuit, charging method, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN109510259A true CN109510259A (en) 2019-03-22

Family

ID=65749144

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811378912.7A Pending CN109510259A (en) 2018-11-19 2018-11-19 Charging circuit, charging method, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109510259A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105390888A (en) * 2014-08-22 2016-03-09 三美电机株式会社 Cable with plug, control circuit and substrate
TWM526216U (en) * 2016-04-27 2016-07-21 Jess Link Products Co Ltd Connector cable with overheat protection structure
CN105981257A (en) * 2015-03-27 2016-09-28 广东欧珀移动通信有限公司 Charge control method and apparatus, and charge cable
CN107026370A (en) * 2015-10-14 2017-08-08 星电株式会社 Plug connector and adapter
CN106063076B (en) * 2014-11-11 2018-09-04 广东欧珀移动通信有限公司 Power supply adaptor, terminal and charging system
US20180254644A1 (en) * 2017-03-06 2018-09-06 Intel Corporation Techniques for charger control

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105390888A (en) * 2014-08-22 2016-03-09 三美电机株式会社 Cable with plug, control circuit and substrate
CN106063076B (en) * 2014-11-11 2018-09-04 广东欧珀移动通信有限公司 Power supply adaptor, terminal and charging system
CN105981257A (en) * 2015-03-27 2016-09-28 广东欧珀移动通信有限公司 Charge control method and apparatus, and charge cable
CN105981257B (en) * 2015-03-27 2018-07-10 广东欧珀移动通信有限公司 Control the method, apparatus and charge cable of charging
CN107026370A (en) * 2015-10-14 2017-08-08 星电株式会社 Plug connector and adapter
TWM526216U (en) * 2016-04-27 2016-07-21 Jess Link Products Co Ltd Connector cable with overheat protection structure
US20180254644A1 (en) * 2017-03-06 2018-09-06 Intel Corporation Techniques for charger control

Similar Documents

Publication Publication Date Title
CN109245244A (en) Charging circuit, charging method, electronic equipment and storage medium
CN109450023A (en) Charging circuit, charging method, electronic equipment and storage medium
CN109378878A (en) Charging circuit, charging method, electronic equipment and storage medium
EP3113298B1 (en) Connecting device and method for recognizing device
US8362910B2 (en) Digital electronic apparatus
CN108574775A (en) Detect the method for the expansion of battery and the electronic equipment using this method
CN109378877A (en) Charging circuit, charging method, electronic equipment and storage medium
KR102567412B1 (en) Shield-film including a plurality of layers and electric device using the same
CN109412234A (en) Charging circuit, charging method, electronic equipment and storage medium
KR20180014522A (en) Electronic apparatus and method for sensing a accessory
EP3428777B1 (en) Electronic device having usb type-c interface
CN109217488A (en) Charging circuit, electronic equipment, charging method and storage medium
CN109066884A (en) Charging circuit and electronic equipment
CN108710468A (en) Image acquiring method, device, storage medium and electronic equipment
CN110352532B (en) Method for detecting swelling of rechargeable battery and portable electronic equipment
CN109067019A (en) Charge-discharge circuit, method, electronic equipment and storage medium
US11476684B2 (en) Charging protection method, terminal, and charger
CN109286220A (en) Charging circuit, charging method, electronic equipment and storage medium
CN109286219A (en) Charging circuit, charging method, electronic equipment and storage medium
CN109038863A (en) Electronic equipment
CN109149697A (en) Charging circuit and electronic equipment
CN109193878A (en) Charging circuit, charging method, electronic equipment and storage medium
CN110431518A (en) A kind of method and electronic equipment exporting touching signals
CN109120033B (en) Electronic equipment and wireless charging system
CN110113484A (en) A kind of control method of screen power supplies, device, storage medium 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190322

RJ01 Rejection of invention patent application after publication