CN108649662A - A kind of SCM Based charging circuit and charging method - Google Patents

A kind of SCM Based charging circuit and charging method Download PDF

Info

Publication number
CN108649662A
CN108649662A CN201810680466.9A CN201810680466A CN108649662A CN 108649662 A CN108649662 A CN 108649662A CN 201810680466 A CN201810680466 A CN 201810680466A CN 108649662 A CN108649662 A CN 108649662A
Authority
CN
China
Prior art keywords
battery
microcontroller
charging
voltage
current
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
CN201810680466.9A
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.)
Datang Terminal Technology Co Ltd
Original Assignee
Datang Terminal 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 Datang Terminal Technology Co Ltd filed Critical Datang Terminal Technology Co Ltd
Priority to CN201810680466.9A priority Critical patent/CN108649662A/en
Publication of CN108649662A publication Critical patent/CN108649662A/en
Pending legal-status Critical Current

Links

Classifications

    • H02J7/0077

Landscapes

  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The present invention proposes a kind of SCM Based charging circuit and charging method, including:Microcontroller, first to third filter capacitor, inductance, PMOS tube, biasing resistor, NMOS tube, diode, sampling resistor, battery component;The microcontroller exports PWM waveform by the way that PWM pins are arranged, and controls the break-make of charging circuit PMOS tube, then controls the charging voltage of charger, and the voltage at the detection sampling resistor both ends obtains charging current, judges whether charging current is normal;And the temperature of battery in charging process is monitored, battery types are judged according to the detected value of the ID resistance of battery.The present invention utilizes the programmable advantage of microcontroller, the very simplified circuit of use to realize charge function, reduce Material Cost and production cost, and improve the reliability of product.

Description

A kind of SCM Based charging circuit and charging method
Technical field
The present invention relates to singlechip technology field, more particularly to a kind of SCM Based charging circuit and charging method.
Background technology
Many handheld terminals are required for seat to fill to charge, especially some intercoms, because seat fills the operation of charge ratio micro USB Get up more convenient.
Currently, dedicated charging chip can be used by realizing that seat fills, Ye You manufacturers realize that seat fills work(using microcontroller scheme Can, the two respectively has advantage and disadvantage.
(1) the use of special charging chip solution advantage is integrated level height, peripheral components are few, and design is simple, the disadvantage is that can determine Property and poor expandability processed.Such as the color definition of indicator light, special charging chip usually provide fairly simple charging instruction, Complicated LED status cannot be defined according to user demand.
(2) use microcontroller solution integration degree slightly lower, advantage is obvious, can flexibly define and fill according to the demand of user Electric appliance.Can be with the indicator light colors of rich, it can be according to the charging under the feature definitions condition of different temperatures of different batteries Electric current.The seat of majority supplier designs fills that peripheral components are extremely complex, and goods of furniture for display rather than for use area is big at present, the more reliabilities of peripheral components quantity With regard to slightly worse, production cost is high.
Invention content
The purpose of the present invention aims to solve at least one of described technological deficiency.
For this purpose, it is an object of the invention to propose a kind of SCM Based charging circuit and charging method.
To achieve the goals above, the embodiment of one aspect of the present invention provides a kind of SCM Based charging circuit, packet It includes:Microcontroller, first to third filter capacitor, inductance, PMOS tube, biasing resistor, NMOS tube, diode, sampling resistor, battery Component, wherein the PWM control terminals of the microcontroller are connect with the grid of the NMOS tube, the drain electrode of the NMOS tube with it is described The grid of PMOS tube connects, and the source electrode of the PMOS tube is connect with one end of input voltage and the first filter capacitor, and described first The other end of filter capacitor is grounded, and the drain electrode of the PMOS tube and one end of the cathode of diode and the inductance connect, described The plus earth of diode, the other end of the inductance are connect with one end of second filter capacitor, second filtered electrical Hold ground connection, the ADC input terminals of the microcontroller access RC network, and the RC network is connected to the both ends of the sampling resistor, institute The one end for stating sampling resistor is connect with second filter capacitor one end, and the other end of the sampling resistor connects the battery pack Part, the battery component include:Battery battery core, negative temperature coefficient resister, the ID resistance of battery, on the first pull-up resistor and second Pull-up resistor, the battery battery core are connect with the other end of the sampling resistor, and one end of the negative temperature coefficient resister passes through RC Network is connect with the ADC input terminals of the microcontroller and the first pull-up resistor, and one end of the ID resistance of the battery passes through RC nets Network is connect with the ADC input terminals of the microcontroller and the second pull-up resistor, and power end VCC and the third of the microcontroller are filtered Wave capacitance is connected;
The microcontroller exports PWM waveform by the way that PWM pins are arranged, and controls the break-make of charging circuit PMOS tube, then controls The charging voltage of charger processed, and the voltage at the detection sampling resistor both ends obtain charging current, judge that charging current is It is no normal;And the temperature of battery in charging process is monitored, battery types are judged according to the detected value of the ID resistance of battery.
Further, the RC network includes:4th filter capacitor and two divider resistances, the one of the 4th filter capacitor The ADC input terminals connection for terminating the microcontroller, if the voltage of sampled point has exceeded the range of ADC, two divider resistances Potential-divider network is formed, the input voltage range for adjusting ADC is allowed in the range of ADC, if the voltage of sampled point is without departing from ADC's Range then removes a divider resistance.
Further, further include:Indicating lamp device, the indicating lamp device include:First LED light, the second LED indication Lamp, the first current-limiting resistance and the second current-limiting resistance, wherein distinguish one end of first LED light and the second LED light It is connect with power end, the other end of first LED light is connect with one end of the first current-limiting resistance, and the 2nd LED refers to Show that the other end of lamp is connect with one end of the second current-limiting resistance, the other end of the first current-limiting resistance and the second current-limiting resistance connects institute State the GPIO pins of microcontroller.
The embodiment of another aspect of the present invention provides a kind of SCM Based charging method, includes the following steps:
Step S101:Microcontroller is arranged PWM pins and exports PWM waveform, controls the break-make of charging circuit PMOS tube, then controls The charging voltage of charger processed;
Step S102, the microcontroller judges battery types according to the sampled voltage of the ID resistance of battery, according to acquisition The information of battery calls corresponding charge parameter, including is not limited to charging current and float charge voltage;
Step S103, whether normal and look-up table obtains the electricity of present battery to the microcontroller monitoring cell voltage, with And the value of the voltage difference and sampling resistor Rs according to sampling resistor both ends, charging current is calculated, and judge that charging current is It is no normal;
Step S104, the microcontroller obtain the temperature of battery according to the voltage value look-up table of negative temperature coefficient resister, and Judge whether battery temperature is normal.
Further, in the step S1, the microcontroller by be arranged PWM pins export PWM waveform, duty ratio by Low gradual height-regulating, then the charging voltage raising of charger, when electric current reaches desired value, then keeps duty ratio constant, if electric current It is relatively low, then duty ratio is turned up, otherwise turns duty ratio down.
SCM Based charging circuit according to the ... of the embodiment of the present invention and charging method, it is programmable excellent using microcontroller Point, the very simplified circuit of use realize charge function, reduce Material Cost and production cost, and improve the reliable of product Property.While the performance of charging circuit provided by the invention meets charge function requirement, Material Cost and production cost are taken into account, and The goods of furniture for display rather than for use area for reducing device, improves the reliability of product.
The additional aspect of the present invention and advantage will be set forth in part in the description, and will partly become from the following description Obviously, or practice through the invention is recognized.
Description of the drawings
The above-mentioned and/or additional aspect and advantage of the present invention will become in the description from combination following accompanying drawings to embodiment Obviously and it is readily appreciated that, wherein:
Fig. 1 is the SCM Based charging circuit diagram according to the embodiment of the present invention;
Fig. 2 is the battery charging curve by taking 4.2V lithium batteries as an example according to the embodiment of the present invention;
Fig. 3 is the flow chart according to the SCM Based charging method of the embodiment of the present invention;
Fig. 4 is the glide filter algorithm concrete operations flow chart of optimization.
Specific implementation mode
The embodiment of the present invention is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached The embodiment of figure description is exemplary, it is intended to for explaining the present invention, and is not considered as limiting the invention.
Fig. 2 is the battery charging curve by taking 4.2V lithium batteries as an example according to the embodiment of the present invention.With 4.2V1500mAh lithiums Charging process under normal conditions is illustrated for battery, the concrete numerical value in example is only intuitive displaying, not to the present invention Limitation.
At ambient temperature, there is not overheat condition to following charging process in the temperature of battery body.
1. battery carries out activating charge if there is short-circuit conditions, with 0.05A;
2. when cell voltage reaches 2V or more, trickle charge, electric current 0.15A are carried out to battery;
3. when cell voltage reaches 3V or more, constant-current charge carried out to battery, electric current 1.5A, (1C is can generally achieve, It is specifically related with battery behavior);
4. when cell voltage reaches nominal full piezoelectric voltage, constant-voltage charge (also referred to as floating charge), charging voltage are carried out 4.2V;
5. voltage invariable current is gradually reduced during constant-voltage charge, when current reduction is the 1/10 of constant-current charge, i.e., It is believed that charging process terminates.
As shown in Figure 1, the SCM Based charging circuit of the embodiment of the present invention, including:Microcontroller U1, first to third Filter capacitor (C1, C2, C3), inductance L1, PMOS tube Q1, biasing resistor R1, NMOS tube Q2, diode D1, sampling resistor Rs, electricity Pond component.Wherein, energy storage inductors of the inductance L1 as Switching Power Supply.PMOS tube Q1 is used for the switch of Switching Power Supply, biasing resistor R1 is used to provide shutdown bias for PMOS tube Q1;NMOS tube Q2 is used to coordinate leading to for microcontroller U1PWM pins control PMOS tube Q1 Disconnected, diode D1 is used for during Switching Power Supply, plays afterflow when PMOS tube Q1 is turned off.
Specifically, the PWM control terminals of microcontroller U1 are connect with the grid of NMOS tube Q2, the drain electrode of NMOS tube Q2 and PMOS tube The grid of Q1 connects, and the source electrode of PMOS tube Q1 is connect with one end of input voltage and the first filter capacitor C1, the first filter capacitor The other end of C1 is grounded, and the drain electrode of PMOS tube Q1 is connect with one end of the cathode of diode D1 and inductance L1, and diode D1 is just Pole is grounded, and the other end of inductance L1 is connect with one end of the second filter capacitor C2, the second filter capacitor C2 ground connection, microcontroller U1's ADC input terminals access RC network, and RC network is connected to the both ends of sampling resistor Rs, one end of sampling resistor Rs and the second filtered electrical Hold the connection of the one end C2, the other end of sampling resistor Rs connects battery component.
Battery component includes:Battery battery core BAT1, negative temperature coefficient resister RNTC, the ID resistance RID of battery, the first pull-up Resistance R10 and the second pull-up resistor R11.Wherein, battery battery core BAT1 is the object of charging.The resistance of negative temperature coefficient resister RNTC Value can vary with temperature and change, and measuring its voltage by bleeder circuit can be with the temperature of indirect determination battery.The ID electricity of battery RID is hindered, resistance value difference represents different batteries, and present fill with pulls up the resistance, will be seen that battery by measuring its voltage Situation in place and distinguish different batteries.First pull-up resistor R10 and the second pull-up resistor R11 is used for and RNTC or RID points Pressure.
Battery battery core BAT1 is connect with the other end of sampling resistor Rs, and one end of negative temperature coefficient resister RNTC passes through RC nets Network is connect with the ADC input terminals of microcontroller U1 and the first pull-up resistor R10, and one end of the ID resistance RID of battery passes through RC network It is connect with the ADC input terminals of microcontroller U1 and the second pull-up resistor R11, power end VCC and the third filter capacitor of microcontroller U1 C3 is connected.
In one embodiment of invention, RC network includes:4th filter capacitor and two divider resistances (R30, R31), One end of 4th filter capacitor connects the ADC input terminals connection of microcontroller U1, if the voltage of sampled point has exceeded the range of ADC, Then two divider resistances form potential-divider network, and the input voltage range for adjusting ADC is allowed in the range of ADC, if sampled point Range of the voltage without departing from ADC then removes a divider resistance.If for example, range of the voltage of sampled point without departing from ADC, R31 can optionally be removed.
The present invention uses microcontroller U1 as main control chip, and microcontroller U1 needs ADC functions and PWM functions, for leading to Setting PWM pins output PWM waveform is crossed, the break-make of control charging circuit PMOS tube Q1 monitors charging voltage and charging current, and The temperature that battery in charging process can be monitored completes the whole process of charging, and can it is possible to further detect battery types Charged state is shown to user by indicator light.Square wave letter is generated by the timer or PWM dedicated pins of microcontroller U1 Number, utilize the break-make of square-wave signal control PMOS tube Q1, you can the output voltage for controlling BUCK, using the voltage to battery into Row charging.Microcontroller U1 can read the voltage of charger output by the ADC functions of itself.
Realize the charging to battery, it is far from being enough only to control voltage, it is also necessary to charging current is monitored, with Just electric current is adjusted in the different charging stages to be allowed to meet preset parameter.The monitoring of charging current is complete again by ADC functions At, by read sampling resistor Rs pressure difference, the charging current of battery can be calculated using formula I=Us/Rs.That is, by The voltage at the both ends microcontroller U1 detection sampling resistor Rs obtains charging current, judges whether charging current is normal.
In addition, for the safety of charging, it is also necessary to the temperature of monitoring battery in real time, it is corresponding according to the status adjustment of temperature Charging current.The method of sample temperature be using battery body NTC resistance characteristics --- the resistance is presented at different temperatures Different resistance values.The NTC resistance is pulled up using a pull-up resistor on circuit, then at different temperature, pull-up resistor and NTC The partial pressure of resistance is different, and microcontroller U1 reads relevant voltage by ADC pins, and NTC electricity can be calculated by the voltage of reading The resistance value of resistance recycles the specifications of NTC resistance, search the mapping table of resistance and temperature to prestore in advance can obtain it is current Battery temperature.
For the safety of charging, and the charging of different batteries is adapted to, charger needs to identify different batteries, identification Method is:Different batteries has different ID resistance, and partial pressure is read by microcontroller U1 also with the method for electric resistance partial pressure, Backwards calculation ID resistance values, you can identification battery types and corresponding parameter (including cell voltage and capacity and each temperature section The important parameters such as the charging current of permission).It is searched such as in preset program less than corresponding battery types, is then believed that The battery is Illegal Battery, is not suitable for this charger, and carry out the instruction that reports an error by indicator light.
Reading cell voltage above, charging current is all used during the ID resistance RID of battery temperature and battery The ADC functions of microcontroller U1, in order to read reliable and stable voltage value, usually many manufacturers are added more multiple in the front ends ADC Miscellaneous filter network and π nets, although the design can reach design idea, corresponding production cost can be relatively high.For solution The certainly above problem, only uses 1 fairly simple rank RC filtering on hardware of the present invention in ADC input front ends, using improving on software The methods of moving average filter obtain the voltage value more really stablized.
The embodiment of the present invention also proposes a kind of SCM Based charging method, includes the following steps:
Step S101:Microcontroller is arranged PWM pins and exports PWM waveform, controls the break-make of charging circuit PMOS tube, then controls The charging voltage of charger processed.
Specifically, microcontroller exports PWM waveform by the way that PWM pins are arranged, duty ratio is by low gradual height-regulating, then charger Charging voltage increase, when electric current reaches desired value, then keep duty ratio constant, if electric current is relatively low, duty ratio be turned up, instead Turn duty ratio down.
Step S102, microcontroller judges battery types according to the sampled voltage of the ID resistance of battery, according to the battery of acquisition Information, call corresponding charge parameter, including be not limited to charging current and float charge voltage;
Step S103, whether normal and look-up table obtains the electricity of present battery, Yi Jigen to microcontroller monitoring cell voltage According to the value of the voltage difference and sampling resistor Rs at sampling resistor both ends, charging current is calculated, and judges charging current whether just Often;
Step S104, microcontroller obtains the temperature of battery according to the voltage value look-up table of negative temperature coefficient resister, and judges Whether battery temperature is normal.
Fig. 3 is the flow chart according to the SCM Based charging method of the embodiment of the present invention.
The present invention has used the ADC functions of microcontroller, since the present invention provides better simply filter circuit, the letters of acquisition Number there can be certain fluctuation.In order to obtain more accurately voltage, using following filters solutions, as shown in Figure 4:
(1) array, length N are established in program;
(2) pass through ADC collection voltages;
(3) value of ADC is filled into array in order, when data length exceeds, the oldest number of newest data cover According to;
(3) maximum k number is removed according to (k<N);
(4) j minimum data (j of removal<N, and k+J<N)
(5) average value of remaining N-k-j data is sought;
Need to pay attention in programming, the data of N are bigger, and filter effect is better, but corresponding speed is slower simultaneously.So The practical length for choosing array properly will not be the bigger the better.
Table 3
As shown in table 3, which illustrates the relationship specific embodiment of battery ID of the present invention and battery types, specifically identifies Journey is as follows:
The ID resistance RID of battery is pulled up using a resistance, and the resistance value of the pull-up resistor and the ratio of RID are usually 0.1 Between~10, partial pressure is acquired by the ADC of microcontroller, and the RID resistance values of different batteries are different, and corresponding partial pressure is also different, this Sample can judge the type of battery according to partial pressure value.
Such as pull-up resistor 100K Ω, the voltage of pull-up is 5V, and when battery RID is 10K Ω, partial pressure is 0.5V, single Piece it is machine-readable to this voltage when, search the table being previously stored, find the battery be 4.2V 1500mAh batteries.Learn this simultaneously The charging current in corresponding each stage under the conditions of battery room temperature, it is permanent such as trickle-charge current 0.15A, constant-current charge electric current 1.5A Press charging voltage 4.2V.If the voltage and current value of monolithic machine testing and preset value are there are when larger difference in charging process, It then needs to enter the link that reports an error.
(S1) whether microcontroller is normal by ADC5 detection input voltages, such as normal, jumps to S2, otherwise jumps to S3;
(S2) setting charging indicator light is standby mode;
(S3) setting charging indicator light is abnormality, then branches to S1;
(S4) whether microcontroller is in place by ADC3 detection batteries, such as in place, jumps to S5, otherwise jumps to S1;
(S5) microcontroller judges battery types by the sampled voltage of ADC3, the specific method and steps for judging battery types It sees below;
(S6) microcontroller exports PWM waveform by the way that PWM pins are arranged, and duty ratio is by low gradual height-regulating, then charger Charging voltage increases, and when electric current reaches desired value, then keeps duty ratio constant, if electric current is relatively low, duty ratio is turned up, on the contrary Turn duty ratio down;
(S7) according to the information of the battery of acquisition, corresponding charge parameter is called, including be not limited to charging current and floating charge Voltage etc.;
(S8) judge whether cell voltage is normal by the voltage of ADC2, such as normally jump to S9, otherwise jump to S3;
(S9) by the voltage difference of ADC1 and ADC2 and the value of sampling resistor Rs, charging current is calculated, and judge Whether charging current is normal, jumps to S10 if normal, otherwise jumps to S3;
(S10) by the voltage value of ADC4, look-up table obtains the temperature of battery, and judges whether battery temperature is normal, such as It is normal then jump to S11, otherwise jump to S3;
The charging current of battery is relevant with temperature, and table 4 gives wherein 1 each temperature of type battery of the present invention Spend the constant-current charge electric current of range.The temperature acquisition of battery is similar with battery types acquisition methods, is equally to utilize electric resistance partial pressure A voltage value is obtained, according to the current resistive value for reading voltage calculating RNTC.Resistance value and temperature further according to NTC resistance are reflected The relationship of penetrating judges the temperature of battery.
Table 4
It wants the moment to detect battery temperature in charging process, and charging current is adjusted according to temperature and is reported an error.It is provided with table 2 Specific embodiment, the battery of 4.2V 1500mAh, at room temperature its constant-current charge electric current be 1.5A.
When temperature is in 0~10 DEG C, charging current need to reduce (this temperature value and permitted charging current with Battery core is related, and the manufacturer of usual battery can provide the parameter).Such as 1/5 when being reduced to 25 DEG C, i.e. 0.3A.
When temperature is in 55~60 DEG C, charging current also needs to reduce, such as 1/5 when being reduced to 25 DEG C, i.e., 0.3A。
When temperature is less than 0 DEG C, or is higher than 60 DEG C, in security consideration and protection battery life, do not allow to electricity It charges in pond.State of temperature, that is, the error status.If microcontroller detects that temperature exceeds the range for allowing charging, closing is filled Electricity Functional, and reported an error by indicator light.
(S11) by detecting the voltage of ADC2, look-up table obtains the electricity of present battery, and LED status is arranged.
(S12) judge whether full electricity, charge and terminate if full electricity, otherwise jump to S13.
(S13) whether in place by ADC3 detection batteries, S7 is jumped to if in place, otherwise jumps to S1.
SCM Based charging circuit according to the ... of the embodiment of the present invention and charging method, it is programmable excellent using microcontroller Point, the very simplified circuit of use realize charge function, reduce Material Cost and production cost, and improve the reliable of product Property.While the performance of charging circuit provided by the invention meets charge function requirement, Material Cost and production cost are taken into account, and The goods of furniture for display rather than for use area for reducing device, improves the reliability of product.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example Point is included at least one embodiment or example of the invention.In the present specification, schematic expression of the above terms are not Centainly refer to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be any One or more embodiments or example in can be combined in any suitable manner.
Although the embodiments of the present invention has been shown and described above, it is to be understood that above-described embodiment is example Property, it is not considered as limiting the invention, those skilled in the art are not departing from the principle of the present invention and objective In the case of can make changes, modifications, alterations, and variations to the above described embodiments within the scope of the invention.The scope of the present invention It is extremely equally limited by appended claims.

Claims (5)

1. a kind of SCM Based charging circuit, which is characterized in that including:Microcontroller, first to third filter capacitor, electricity Sense, PMOS tube, biasing resistor, NMOS tube, diode, sampling resistor, battery component, wherein the PWM control terminals of the microcontroller It is connect with the grid of the NMOS tube, the drain electrode of the NMOS tube is connect with the grid of the PMOS tube, the source of the PMOS tube Pole is connect with one end of input voltage and the first filter capacitor, the other end ground connection of first filter capacitor, the PMOS tube Drain electrode and diode cathode and the inductance one end connect, the plus earth of the diode, the inductance it is another End is connect with one end of second filter capacitor, the second filter capacitor ground connection, the ADC input terminals access of the microcontroller RC network, the RC network are connected to the both ends of the sampling resistor, one end of the sampling resistor and second filtered electrical Hold one end connection, the other end of the sampling resistor connects the battery component, and the battery component includes:Battery battery core is born Temperature coefficient of resistance, the ID resistance of battery, the first pull-up resistor and the second pull-up resistor, the battery battery core and sampling electricity The other end of resistance connects, and one end of the negative temperature coefficient resister passes through the ADC input terminals of RC network and the microcontroller and the One pull-up resistor connects, the ADC input terminals and second that one end of the ID resistance of the battery passes through RC network and the microcontroller Pull-up resistor connects, and the power end VCC of the microcontroller is connected with the third filter capacitor;
The microcontroller exports PWM waveform by the way that PWM pins are arranged, and controls the break-make of charging circuit PMOS tube, and then control is filled Just whether the charging voltage of electric appliance, and the voltage at the detection sampling resistor both ends obtain charging current, judge charging current Often;And the temperature of battery in charging process is monitored, battery types are judged according to the detected value of the ID resistance of battery.
2. SCM Based charging circuit as described in claim 1, which is characterized in that the RC network includes:4th filter Wave capacitance and two divider resistances, the ADC input terminals connection of a termination microcontroller of the 4th filter capacitor, if adopted The voltage of sampling point has exceeded the range of ADC, then two divider resistances form potential-divider network, and adjusting the input voltage range of ADC makes In the range of ADC, if range of the voltage of sampled point without departing from ADC, remove a divider resistance.
3. SCM Based charging circuit as described in claim 1, which is characterized in that further include:Indicating lamp device, it is described Indicating lamp device includes:First LED light, the second LED light, the first current-limiting resistance and the second current-limiting resistance, wherein institute The one end for stating the first LED light and the second LED light is connect with power end respectively, first LED light it is another End is connect with one end of the first current-limiting resistance, and the other end of second LED light is connect with one end of the second current-limiting resistance, The other end of first current-limiting resistance and the second current-limiting resistance connects the GPIO pins of the microcontroller.
4. a kind of SCM Based charging method, which is characterized in that include the following steps:
Step S101:Microcontroller is arranged PWM pins and exports PWM waveform, controls the break-make of charging circuit PMOS tube, and then control is filled The charging voltage of electric appliance;
Step S102, the microcontroller judges battery types according to the sampled voltage of the ID resistance of battery, according to the battery of acquisition Information, call corresponding charge parameter, including be not limited to charging current and float charge voltage;
Step S103, whether normal and look-up table obtains the electricity of present battery, Yi Jigen to the microcontroller monitoring cell voltage According to the value of the voltage difference and sampling resistor Rs at sampling resistor both ends, charging current is calculated, and judges charging current whether just Often;
Step S104, the microcontroller obtains the temperature of battery according to the voltage value look-up table of negative temperature coefficient resister, and judges Whether battery temperature is normal.
5. SCM Based charging method as claimed in claim 4, which is characterized in that described in the step S101 Microcontroller exports PWM waveform by the way that PWM pins are arranged, and duty ratio is increased by low gradual height-regulating, the then charging voltage of charger, It when electric current reaches desired value, then keeps duty ratio constant, if electric current is relatively low, duty ratio is turned up, otherwise turn duty ratio down.
CN201810680466.9A 2018-06-27 2018-06-27 A kind of SCM Based charging circuit and charging method Pending CN108649662A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810680466.9A CN108649662A (en) 2018-06-27 2018-06-27 A kind of SCM Based charging circuit and charging method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810680466.9A CN108649662A (en) 2018-06-27 2018-06-27 A kind of SCM Based charging circuit and charging method

Publications (1)

Publication Number Publication Date
CN108649662A true CN108649662A (en) 2018-10-12

Family

ID=63750003

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810680466.9A Pending CN108649662A (en) 2018-06-27 2018-06-27 A kind of SCM Based charging circuit and charging method

Country Status (1)

Country Link
CN (1) CN108649662A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111009942A (en) * 2019-12-10 2020-04-14 深圳供电局有限公司 Intelligent charging system and control method thereof
CN112104019A (en) * 2020-08-26 2020-12-18 济南浪潮高新科技投资发展有限公司 Battery state detection device
CN114944680A (en) * 2022-04-11 2022-08-26 深圳天溯计量检测股份有限公司 Alternating-current charging stake measurement detecting system for electric automobile
CN115857406A (en) * 2022-12-08 2023-03-28 武汉莱创德技术有限公司 Low-cost, high-precision and small-package voltage-to-current band monitoring method
CN116707091A (en) * 2023-06-26 2023-09-05 北京领创医谷科技发展有限责任公司 Intelligent charging cabin with recognition function

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08304518A (en) * 1995-04-28 1996-11-22 Toshiba Battery Co Ltd Device for discriminating kind of battery
US5945803A (en) * 1998-06-09 1999-08-31 Black & Decker Inc. Apparatus for determining battery pack temperature and identity
CN202424265U (en) * 2012-02-09 2012-09-05 广州市君盘实业有限公司 Multifunctional intelligent charger based on single chip microcomputer
CN208257482U (en) * 2018-06-27 2018-12-18 大唐终端技术有限公司 A kind of SCM Based charging circuit

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08304518A (en) * 1995-04-28 1996-11-22 Toshiba Battery Co Ltd Device for discriminating kind of battery
US5945803A (en) * 1998-06-09 1999-08-31 Black & Decker Inc. Apparatus for determining battery pack temperature and identity
CN202424265U (en) * 2012-02-09 2012-09-05 广州市君盘实业有限公司 Multifunctional intelligent charger based on single chip microcomputer
CN208257482U (en) * 2018-06-27 2018-12-18 大唐终端技术有限公司 A kind of SCM Based charging circuit

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111009942A (en) * 2019-12-10 2020-04-14 深圳供电局有限公司 Intelligent charging system and control method thereof
CN112104019A (en) * 2020-08-26 2020-12-18 济南浪潮高新科技投资发展有限公司 Battery state detection device
CN114944680A (en) * 2022-04-11 2022-08-26 深圳天溯计量检测股份有限公司 Alternating-current charging stake measurement detecting system for electric automobile
CN115857406A (en) * 2022-12-08 2023-03-28 武汉莱创德技术有限公司 Low-cost, high-precision and small-package voltage-to-current band monitoring method
CN116707091A (en) * 2023-06-26 2023-09-05 北京领创医谷科技发展有限责任公司 Intelligent charging cabin with recognition function

Similar Documents

Publication Publication Date Title
CN108649662A (en) A kind of SCM Based charging circuit and charging method
CN203482903U (en) Touch control circuit and cigarette case circuit
CN101355264B (en) Battery charger
CN203152489U (en) Electronic cigarette
CN104767260A (en) Charger, terminal device and charging system
WO2017043979A1 (en) Battery with a voltage regulation device
CN101354431B (en) Apparatus and method for recognizing battery types
CN101154821A (en) Quick charging device and method for nickel-hydrogen battery
CN204969478U (en) Electronic cigarette
CN104734281A (en) Wearable portable power source and power supply control method thereof
CN204290446U (en) Digitally controlled multifunctional charger
CN104584375A (en) Charging device
WO2018164588A1 (en) Battery with a voltage regulation device
CN208257482U (en) A kind of SCM Based charging circuit
CN109217425A (en) A kind of charger circuit and its intelligent charge control method
CN108063486A (en) The charger and its charging method, transformation of electrical energy circuit to charge suitable for multiple battery
CN102111007B (en) Battery charging circuit with protection function and seat-type charger
CN202026078U (en) Protective circuit of switching power supply
CN104836304A (en) Charging chip of lithium ion battery
CN113659685A (en) Small-size battery management system of simulation electric automobile battery charge-discharge management
CN102683762B (en) Protection method and circuit for charging and discharging of battery
CN102624950B (en) Mobile phone
CN101867207A (en) Constant-current discharging device of electric storage battery
CN110212611A (en) A kind of charge control method for food processor of accompanying
CN207664664U (en) A kind of bistable state key switch driving circuit that low pressure is automatically closed

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