CN109586363A - A kind of charging circuit - Google Patents

A kind of charging circuit Download PDF

Info

Publication number
CN109586363A
CN109586363A CN201811358364.1A CN201811358364A CN109586363A CN 109586363 A CN109586363 A CN 109586363A CN 201811358364 A CN201811358364 A CN 201811358364A CN 109586363 A CN109586363 A CN 109586363A
Authority
CN
China
Prior art keywords
charging
voltage
power supply
base band
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201811358364.1A
Other languages
Chinese (zh)
Other versions
CN109586363B (en
Inventor
马金来
安勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Quectel Wireless Solutions Co Ltd
Original Assignee
Quectel Wireless Solutions 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 Quectel Wireless Solutions Co Ltd filed Critical Quectel Wireless Solutions Co Ltd
Priority to CN201811358364.1A priority Critical patent/CN109586363B/en
Publication of CN109586363A publication Critical patent/CN109586363A/en
Application granted granted Critical
Publication of CN109586363B publication Critical patent/CN109586363B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • H02J7/0068Battery or charger load switching, e.g. concurrent charging and load supply
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/007Regulation of charging or discharging current or voltage
    • H02J7/0071Regulation of charging or discharging current or voltage with a programmable schedule
    • H02J7/0077
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/10Energy storage using batteries

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The present embodiments relate to electronic technology fields, disclose a kind of charging circuit.Charging circuit includes base band managing chip, charging control circuit, microcontroller, rechargeable battery, external power supply and printer;The voltage input end of base band managing chip is electrically connected with external power supply, the energization input of base band managing chip is electrically connected with the power supply output end of charging control circuit, the charging output end of base band managing chip is electrically connected with the test side of charging control circuit, and the control terminal of base band managing chip is electrically connected with the first control signal of microcontroller;The energization input of charging control circuit is electrically connected with rechargeable battery, the voltage output end of charging control circuit is electrically connected with the voltage input end of printer, the control terminal of charging control circuit is electrically connected with the control output end of microcontroller, and the second control signal of microcontroller is electrically connected with the control terminal of printer.For guaranteeing printer and base band managing chip while working normally, POS machine automatic shutdown is not made.

Description

A kind of charging circuit
Technical field
The present embodiments relate to electronic technology field, in particular to a kind of charging circuit.
Background technique
Point of sale information control system (Point of sales, POS) abbreviation POS machine is a kind of equipped with bar codes technique Multi-functional terminal end reader, it be mounted on the franchised business of credit card and accepted in site be unified into network with computer, just It is able to achieve electronic funds to transfer accounts automatically, has the function of to support consumption, pre-authorization, inquiry into balance, account transfer and printing strip etc..At present Traditional POS machine is developed based on 2G cell phone platform, and the existing implementation of charging system has following three kinds: external charge Power supply;Increase additional charging management chip;Directly using the charhing unit of original base band managing chip in 2G cell phone platform.
At least there are the following problems in the prior art for inventor's discovery: no matter using external charge power supply, or increase volume Outer charging management chip can all increase cost, cause unnecessary waste.If directly using original in 2G cell phone platform The charhing unit of base band managing chip, to realize this charge function, it is necessary to the power supply foot of base band managing chip, with power supply electricity The anode in pond is connected directly.But the POS machine based on the exploitation of 2G cell phone platform also includes print circuit, the print circuit is in work The electricity of the supplying cell of POS machine can be largely consumed when making.Therefore, it in the case where the electricity of supplying cell is slightly lower, will lead to POS machine automatic shutdown and can not normal use.For example, output voltage can be rapid when supplying cell is there are also when 80% electricity Fall, at this point, the voltage of the supply pin of base band managing chip is lower than the threshold value of hardware shutdown voltage, to cause POS machine Main control unit is automatically closed, and makes POS machine can not normal use.
Summary of the invention
Embodiment of the present invention is designed to provide a kind of charging circuit, makes it possible to be developed based on 2G cell phone platform POS machine automatic charging, and printer work normally when, still be able to guarantee POS machine main control unit can normal work Make, does not influence the use of POS machine.
In order to solve the above technical problems, embodiments of the present invention provide a kind of charging circuit, specifically include: base band pipe Manage chip, charging control circuit, microcontroller, rechargeable battery, external power supply and printer;Base band managing chip includes that voltage is defeated Enter end, control terminal, energization input and charging output end, charging control circuit includes power supply output end, voltage output end, control End, test side and energization input;The voltage input end of base band managing chip is electrically connected with external power supply, base band managing chip Energization input is electrically connected with the power supply output end of charging control circuit, the charging output end and charge control of base band managing chip The test side of circuit is electrically connected, and the control terminal of base band managing chip is electrically connected with the first control signal of microcontroller;Charging The energization input of control circuit is electrically connected with rechargeable battery, and the voltage output end of charging control circuit and the voltage of printer are defeated Enter end electrical connection, the control terminal of charging control circuit is electrically connected with the control output end of microcontroller, the second control of microcontroller Input terminal processed is electrically connected with the control terminal of printer;
Base band managing chip judges whether rechargeable battery needs to charge for the voltage according to charging output end, and according to Judging result generates charging control signal, and charging control signal is switched to charged state for controlling charging control circuit;
Microcontroller is controlled for generating power supplying control signal when detecting that printer is in running order according to charging Signal processed, control charging control circuit are switched to charged state, or, controlling charging control circuit switching according to power supplying control signal To power supply state;
Rechargeable battery is printer power supply for the voltage output end by charging control circuit, and passes through charge control The power supply output end of circuit is the power supply of base band managing chip.
Embodiment of the present invention in terms of existing technologies, provides a kind of charging circuit, by utilizing charging electricity The voltage of the charging output end of base band managing chip in road, to determine whether needing to charge to rechargeable battery, in power supply state Under, it is powered by rechargeable battery to base band managing chip and printer;In the charge state, by base band managing chip to charging Battery charging, avoids leading to POS machine automatic shutdown because printer power consumption is larger, so that not increasing additional charging In the case where managing chip, it still is able to charge to rechargeable battery, saves cost, avoid unnecessary waste, and protect Having demonstrate,proved POS machine will not automatic shutdown.
In addition, charging control circuit includes: charging switching control module and power supply Voltage stabilizing module;Charge switching control module Including first end, control signal input, control signal output and second end, Voltage stabilizing module of powering includes first voltage output End, second voltage output end, control signal input and voltage input end;Rechargeable battery be connected on charging switching control module and Between power supply Voltage stabilizing module;The first end of charging switching control module is electrically connected with rechargeable battery, charging switching control module Control signal input is electrically connected with the control output end of microcontroller, the second end and base band management of the switching control module that charges The charging output end of chip is electrically connected;The first voltage output end of power supply Voltage stabilizing module and the voltage input end of printer are electrically connected It connects, the second voltage output end for Voltage stabilizing module of powering is electrically connected with the energization input of base band managing chip, Voltage stabilizing module of powering Control signal input with charging switching control module control signal output be electrically connected, the voltage for Voltage stabilizing module of powering is defeated Enter end to be electrically connected with rechargeable battery;
Charge switching control module, for charged state being switched to, micro- when microcontroller inputs charging control signal When controller inputs power supplying control signal, it is switched to power supply state;Power supply Voltage stabilizing module, inputs for steady pressure treatment rechargeable battery Voltage, obtain the first pressure stabilizing output voltage, under power supply state, export the first pressure stabilizing output voltage give printer power supply;With And under power supply state, steady pressure treatment the first pressure stabilizing output voltage obtains the second pressure stabilizing output voltage, output the second pressure stabilizing output Voltage is powered to base band managing chip.
In which, which is switched to by charged state or power supply state by charging switching control module, is being powered Under state, power supply Voltage stabilizing module is powered to the energization input of base band managing chip, in the charge state, passes through base band pipe Chip is managed to charge to rechargeable battery.By the switching of different circuit states, guarantee base band managing chip in the normal work of printer It can also be worked normally when making, avoid causes the charging output end voltage of base band managing chip fast because the power consumption of printer is big Speed is fallen, so that the problem of base band managing chip reaches hardware shutdown voltage thresholding and automatic shutdown.
In addition, base band managing chip includes: the charging detecting model being sequentially connected electrically and supply input module;Charging detection Module judges whether to need to charge to rechargeable battery, however, it is determined that the electricity for the output end that charges for the voltage according to charging output end It forces down in the first preset threshold, then generates charging control signal, export charging control signal to microcontroller.
In addition, charging switching control module is used for: in the charge state, control base band managing chip is filled to rechargeable battery Electricity, and under power supply state, control rechargeable battery is powered to printer and base band managing chip.
In addition, power supply Voltage stabilizing module includes the first power supply Voltage stabilizing module being sequentially connected electrically and the second power supply Voltage stabilizing module; First power supply Voltage stabilizing module obtains the first pressure stabilizing output voltage for the voltage of steady pressure treatment rechargeable battery input, in power supply shape It under state, exports the first pressure stabilizing output voltage and powers to printer, while exporting the first pressure stabilizing output voltage to the second power supply pressure stabilizing Module;Second power supply Voltage stabilizing module is obtained for the first pressure stabilizing output voltage of the power supply Voltage stabilizing module input of steady pressure treatment first Second pressure stabilizing output voltage exports the second pressure stabilizing output voltage and powers to base band managing chip under power supply state.
In which, the voltage inputted by steady pressure treatment guarantees output to the voltage of printer and base band managing chip The high voltage requirements of printer and the low-voltage demand of base band managing chip can be met respectively.
In addition, the first pressure stabilizing output voltage is higher than the voltage of rechargeable battery input.
In addition, charging switching control module is used for: if it is determined that input power supplying control signal, then according to control signal output Voltage and the second preset threshold, determine charging switching control module second end voltage.
In which, pass through power supplying control signal, it is determined whether need to control base band managing chip and carry out to rechargeable battery Charging, avoid because printer power consumption is big make base band managing chip voltage fall sharply automatic shutdown the case where.
In addition, charging detecting model is used for: if it is determined that the voltage of the charging output end of base band managing chip is pre- lower than third If threshold values, then the shutdown of base band managing chip is controlled.
In addition, base band managing chip further includes independent current source input processing module, independent current source input processing module is used for External power supply is connected, the voltage that the external power supply provides is converted into electric current, in the charge state, giving the charging electricity It charges in pond.
Detailed description of the invention
One or more embodiments are illustrated by the picture in corresponding attached drawing, these exemplary theorys The bright restriction not constituted to embodiment, the element in attached drawing with same reference numbers label are expressed as similar element, remove Non- to have special statement, composition does not limit the figure in attached drawing.
Fig. 1 is the charging circuit configuration block diagram in first embodiment according to the present invention;
Fig. 2 is the charging control circuit structural block diagram in first embodiment according to the present invention;
Fig. 3 is the structural block diagram of the power supply Voltage stabilizing module in first embodiment according to the present invention;
Fig. 4 is the structural block diagram of the base band managing chip in second embodiment according to the present invention;
Fig. 5 is the practical circuit diagram of the charging circuit in third embodiment according to the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with attached drawing to the present invention Each embodiment be explained in detail.However, it will be understood by those skilled in the art that in each embodiment party of the present invention In formula, in order to make the reader understand this application better, many technical details are proposed.But even if without these technical details And various changes and modifications based on the following respective embodiments, the application technical solution claimed also may be implemented.
The first embodiment of the present invention is related to a kind of charging circuits, for the POS machine to be developed based on 2G cell phone platform Automatic charging, and when guaranteeing that printer works normally, POS machine not automatic shutdown.Below to the charging circuit in present embodiment Realization details be specifically described, the following contents only understands the realization details of this programme for convenience, not implements this programme It is necessary.
Fig. 1 show the structure chart of the charging circuit in present embodiment, specifically includes: base band managing chip 101, charging Control circuit 102, microcontroller 106, rechargeable battery 103, external power supply 105 and printer 104;
Base band managing chip 101 includes voltage input end, control terminal, energization input and charging output end, charge control Circuit 102 includes power supply output end, voltage output end, control terminal, test side and energization input;Base band managing chip 101 Voltage input end is electrically connected with external power supply 105, energization input and the charging control circuit 102 of base band managing chip 101 Output end of powering is electrically connected, and the charging output end of base band managing chip 101 is electrically connected with the test side of charging control circuit 102, The control terminal of base band managing chip 101 is electrically connected with the first control signal of microcontroller 106;Charging control circuit 102 Energization input is electrically connected with rechargeable battery 103, and the voltage of the voltage output end and printer 104 of charging control circuit 102 is defeated Enter end electrical connection, the control terminal of charging control circuit 102 is electrically connected with the control output end of microcontroller 106, microcontroller 106 The second control signal be electrically connected with the control terminal of printer 104.
Base band managing chip 101 judges whether rechargeable battery 103 needs to charge for the voltage according to charging output end, And charging control signal is generated according to judging result, charging control signal is switched to charging for controlling charging control circuit 102 State.
Microcontroller 106 is for generating power supplying control signal when detecting that printer 104 is in running order, according to filling Electric control signal, control charging control circuit 102 is switched to charged state, or, controlling charge control according to power supplying control signal Circuit 102 switches to power supply state.
Rechargeable battery 103 is used to through the voltage output end of charging control circuit 102 be the power supply of printer 104, and passes through The power supply output end of charging control circuit 102 is the power supply of base band managing chip 101.
It should be noted that external power supply 105 passes through base band managing chip 101 when rechargeable battery 103 needs to charge Charging output end to charging control circuit 102, exports voltage output again by charging control circuit 102 to rechargeable battery 103 It charges.Wherein, the voltage of the voltage input end of base band managing chip 101 is the voltage that external power supply 105 inputs.
At one in the specific implementation, the specific structure of charging control circuit 102 is as shown in Figure 2, wherein charging control circuit 102 include: charging switching control module 202 and power supply Voltage stabilizing module 201;The switching control module 202 that charges includes first end, control Signal input part, control signal output and second end processed, power supply Voltage stabilizing module 201 include first voltage output end, the second electricity Press output end, control signal input and voltage input end;Rechargeable battery 103 is connected on charging switching control module 202 and supplies Between electric Voltage stabilizing module 201;The first end of charging switching control module 202 is electrically connected with rechargeable battery 103, switching control of charging The control signal input of module 202 is electrically connected with the control output end of microcontroller 106, charging switching control module 202 Second end is electrically connected with the charging output end of base band managing chip 101;Power Voltage stabilizing module 201 first voltage output end and beat The voltage input end of print machine 104 is electrically connected, second voltage output end and the base band managing chip 101 of Voltage stabilizing module 201 of powering The control of energization input electrical connection, the control signal input and charging switching control module 202 of Voltage stabilizing module 201 of powering is believed The voltage input end of the electrical connection of number output end, power supply Voltage stabilizing module 201 is electrically connected with rechargeable battery 103;
The switching control module 202 that charges is used to be switched to charging shape when microcontroller 106 inputs charging control signal State is switched to power supply state when microcontroller 106 inputs power supplying control signal;
Voltage stabilizing module 201 of powering is used for the voltage that steady pressure treatment rechargeable battery 103 inputs, and obtains the first pressure stabilizing output electricity Pressure exports the first pressure stabilizing output voltage and powers to printer 104 under power supply state;And under power supply state, steady pressure treatment First pressure stabilizing output voltage obtains the second pressure stabilizing output voltage, exports the second pressure stabilizing output voltage and supplies to base band managing chip 101 Electricity.
It should be noted that power supply Voltage stabilizing module 201 can be any other electronics member device that voltage stabilizing function may be implemented Part is realized, it is not limited to specific implementation in the present embodiment.Charging control circuit 102 in the embodiment is not intended to limit The specific manifestation form of power supply Voltage stabilizing module 201 and the switching control module 202 that charges may include two above module and come specifically It realizes the function of the charging control circuit 102, the charging control only can also be implemented by charging switching control module 202 The function of circuit 102 processed can also be that other are able to detect that any electronic component whether rechargeable battery 103 needs to charge comes Realize the function of the charging control circuit 102.
Wherein, the specific structure is shown in FIG. 3 for power supply Voltage stabilizing module 201, comprising: the first power supply pressure stabilizing being sequentially connected electrically Module 301 and the second power supply Voltage stabilizing module 302;What the first power supply Voltage stabilizing module 301 was inputted for steady pressure treatment rechargeable battery 103 Voltage obtains the first pressure stabilizing output voltage, under power supply state, exports the first pressure stabilizing output voltage and powers to printer 104, together When export the first pressure stabilizing output voltage to second power supply Voltage stabilizing module;Second power supply Voltage stabilizing module 302 is used for steady pressure treatment first The first pressure stabilizing output voltage that Voltage stabilizing module 301 of powering inputs, obtains the second pressure stabilizing output voltage, under power supply state, output Second pressure stabilizing output voltage is powered to base band managing chip 101.
Wherein, the first pressure stabilizing output voltage is higher than the voltage that rechargeable battery 103 inputs.
It should be noted that the first pressure stabilizing output voltage is higher than the voltage that rechargeable battery 103 inputs.It is implemented at one In, the first power supply Voltage stabilizing module 301 can realize that the switch DC booster circuit is realized using switch DC booster circuit The voltage that rechargeable battery inputs is raised, for powering to printer 104.Second power supply Voltage stabilizing module 302 can use low pressure Difference linear constant voltage regulator realizes that the low pressure difference linear voltage regulator realizes the conversion of different direct current source value, and ensure that The voltage value that base band managing chip 101 inputs is to prevent from influencing base band pipe because of the fluctuation of input voltage by steady pressure treatment Manage the performance of chip 101.
Wherein, charging switching control module 202 is used for: in the charge state, control base band managing chip 101 gives charging electricity Pond 103 is charged, and under power supply state, and control rechargeable battery 103 is powered to printer 104 and base band managing chip 101.
Wherein, charging switching control module 202 is used for: if it is determined that input is power supplying control signal, then being believed according to control The voltage and the second preset threshold of number output end determine the voltage of the second end of charging switching control module 202.
At one in the specific implementation, pressure between the positive electrode and negative electrode that the second preset threshold can be set as a diode The pressure drop of depreciation, diode is needed at 0.3 volt or less.If it is determined that input is power supplying control signal, then charge switching control mould The voltage of the second end of block 202, the voltage equal to the control signal output of charging switching control module 202 subtract 0.3 volt.This When charging switching control module 202 second end voltage, different from input charging control signal when calculation method, in order to Guarantee that base band managing chip 101 can still work normally without shutting down when printer 104 works.
In the embodiment, under power supply state, rechargeable battery 103 passes through the voltage output end of charging control circuit 102 It is powered for printer 104, and is that base band managing chip 101 is supplied by the energization input of charging control circuit 102 Electricity.In the charge state, charging control circuit 102 controls base band managing chip according to the charging control signal that microcontroller inputs 101 charge for rechargeable battery 103.Enable the POS machine automatic charging based on the exploitation of 2G cell phone platform, and is printing When machine works normally, it still is able to guarantee that the base band managing chip of POS machine can work normally, does not influence the use of POS machine.
Second embodiment of the present invention is related to a kind of charging circuit, and the second embodiment and first embodiment are substantially Identical, be in place of the main distinction: base band managing chip 101 includes charging detecting model 502, supply input module 501 and solely Vertical power input processing module 503.
Wherein, the specific structure of base band managing chip 101 is as shown in Figure 4, comprising: the charging detecting model being sequentially connected electrically 502 and supply input module 501;Charging detecting model 502 is used for the voltage according to charging output end, judges whether to need to filling Battery 103 charges, however, it is determined that the voltage for the output end that charges is lower than the first preset threshold, then generates charging control signal, exports Charging control signal is to microcontroller 106.
At one in the specific implementation, the base band managing chip 101 can be using the base band core developed based on 2G cell phone platform Piece, wherein supply input module 501 can be a power supply pipe of the baseband chip based on the exploitation of 2G cell phone platform Foot, charging detecting model 502 can be a detection pin of the baseband chip based on the exploitation of 2G cell phone platform, and the inspection Test tube foot is also charging output end simultaneously, in the charge state, charging to rechargeable battery 103.
Wherein, charging detecting model 502 is used for: if it is determined that the voltage of the charging output end of base band managing chip 101 is lower than Third preset threshold then controls the shutdown of base band managing chip 101.
At one in the specific implementation, third predetermined threshold value may be defined as hardware shutdown voltage threshold value, for example, in practical reality Now, the hardware shutdown voltage threshold value can be set as 3.2 volts.If the detection for the baseband chip that should be developed based on 2G cell phone platform The voltage of pin is lower than hardware shutdown voltage threshold value, then should be based on the baseband chip that 2G cell phone platform is developed with regard to automatic shutdown.
At one in the specific implementation, base band managing chip 101 further includes independent current source input processing module 503, independent electrical The voltage that external power supply 105 provides is converted into electric current, is used for by source input processing module 503 for connecting external power supply 105 Under charged state, charge to rechargeable battery 103.
It should be noted that the external power supply 105 is not limited to specific implementation form, circumscribed USB interface can be used Power supply is realized, can also be realized using any other electronic device that can provide power supply, is just not listed one by one herein.
Third embodiment of the present invention is related to a kind of charging circuit, which is based on first or second embodiment party The physical circuit of formula realizes that physical circuit figure is as shown in Figure 5:
2G platform baseband chip in the circuit indicates the base band managing chip 101 in first embodiment, in the circuit Rechargeable battery indicate the rechargeable battery 103 in first embodiment, the printer in the circuit indicates in first embodiment Printer 104, low pressure difference linear voltage regulator (low dropout regulator, LDO), switch DC liter in the circuit Charging control circuit 102 in volt circuit (Boost), switch S1 and diode D1 composition first embodiment.Wherein, the circuit In LDO and Boost composition first embodiment in power supply Voltage stabilizing module 201, the switch DC booster circuit in the circuit (Boost) indicate that the first power supply Voltage stabilizing module 301 in first embodiment, the LDO in the circuit indicate first embodiment In the second power supply Voltage stabilizing module 302, filling in the switch S1 and diode D1 composition expression first embodiment in the circuit Cutting changes control module 202.The power supply pin (V-Battery, VBAT) of 2G platform baseband chip in the circuit indicates Supply input module 501 in second embodiment, detection pin (BATSNS) table of the 2G platform baseband chip in the circuit Show the charging detecting model 502 in second embodiment, the external power supply input pin of the 2G platform baseband chip in the circuit (VCHG) the independent current source input processing module 503 in second embodiment is indicated, the USB interface charging in the circuit indicates the External power supply 105 in two embodiments.
It should be noted that the VBAT pin in 2G platform baseband chip is the power supply pipe of the 2G platform baseband chip Foot.BATSNS pin in 2G platform baseband chip is the detection pin of the 2G platform baseband chip, this BATSNS pin can be with For detecting the voltage of rechargeable battery, the voltage that can also be used to when charging as the 2G platform baseband chip to rechargeable battery is defeated Pin out, while being also used to detect whether the 2G platform baseband chip needs automatic shutdown, if the 2G platform baseband chip BATSNS pin voltage is lower than hardware shutdown voltage threshold value, then the 2G platform baseband chip shuts down immediately;Wherein, hardware shuts down Voltage threshold indicates the third predetermined threshold value in second embodiment.VCHG pin in 2G platform baseband chip is the 2G flat The external power supply input terminal of stylobate microarray strip, for being charged by USB interface power supply to rechargeable battery;Wherein, external power supply Electric current is exported by the detection pin of the 2G platform baseband chip to rechargeable battery.The circuit diagram is not drawn into microcontroller, but real Border includes microcontroller when realizing, which is used to handle the power supplying control signal and 2G platform base band core of printer input The charging control signal of piece input, and the power supplying control signal or the charging control signal are exported to switch S1, for controlling out Close being opened or closed for S1.
In the circuit diagram, according to judging whether to need to be charged with 2G platform baseband chip to rechargeable battery, by this The overall work state demarcation of circuit is following three states: general standby mode, charged state and print state.
Under general standby mode, POS machine is normally opened, microcontroller control switch S1 is in closed state at this time, if This switch S1 realizes that then metal-oxide-semiconductor is in the conductive state at this time using metal-oxide-semiconductor, is now in normal Standby working condition.Because of switch S1 is in closed state, and the voltage value of the node 2 marked in the charging circuit is equal to the voltage value of node 1, i.e. rechargeable battery Cathode voltage value.
When the voltage value of the BATSNS pin of 2G platform baseband chip is lower than the voltage value of node 3, the i.e. output voltage of LDO When value, 2G platform baseband chip needs to be alerted to microcontroller.For example, setting the output voltage values of LDO in actual use It is 3.5 volts, if the voltage value of the BATSNS pin of 2G platform baseband chip is lower than 3.5 volts, which needs It is alerted to microcontroller, or closes LDO output, otherwise diode D1 will be connected, and rechargeable battery is caused to be discharged completely. The charging circuit is in charged state at this time.
In the charge state, microcontroller control switch S1 is in closed state, and 2G platform baseband chip is managed by VCHG Foot obtains the voltage of circumscribed USB power supply, and the voltage which provides external power supply is converted into electric current, passes through Electric current after the conversion is exported and is charged to rechargeable battery by BATSNS pin.
If user is collected money using POS machine, printer is needed to print voucher item.The circuit is in print state at this time.
Under print state, microcontroller control switch S1 is in an off state, and does not need detection rechargeable battery at this time Cathode voltage, but need to detect the voltage value of the VBAT pin of 2G platform baseband chip.Because of BATSNS pin and VBAT pin Between there are diode D1, and switch S1 is in an off state, therefore also can detecte the voltage value of BATSNS pin, and then is obtained The voltage value of the VBAT pin.It ensure that the voltage value of BATSNS pin not less than hardware shutdown electricity by the conducting of diode D1 Pressure gate limit value, by the conducting of D1 diode, is protected for example, setting the hardware shutdown voltage threshold value in actual use as 3.2 volts The voltage value for demonstrate,proving BATSNS pin is greater than 3.2 volts, ensure that baseband chip not automatic shutdown.
It should be noted that rechargeable battery is done the voltage of rechargeable battery at boosting by Boost under the print state After reason, power to printer, meanwhile, rechargeable battery also passes through Boost and the voltage of rechargeable battery is done boosting processing, using After LDO steady pressure treatment, it is powered to 2G platform baseband chip.
It will be understood by those skilled in the art that the respective embodiments described above are to realize specific embodiments of the present invention, And in practical applications, can to it, various changes can be made in the form and details, without departing from the spirit and scope of the present invention.

Claims (9)

1. a kind of charging circuit characterized by comprising base band managing chip, charging control circuit, microcontroller, charging electricity Pond, external power supply and printer;
The base band managing chip includes voltage input end, control terminal, energization input and charging output end, the charge control Circuit includes power supply output end, voltage output end, control terminal, test side and energization input;
The voltage input end of the base band managing chip is electrically connected with the external power supply, and the power supply of the base band managing chip is defeated Enter end to be electrically connected with the power supply output end of the charging control circuit, the charging output end of the base band managing chip is filled with described The test side of electric control circuit is electrically connected, and the control terminal of the base band managing chip and the first control of the microcontroller input End electrical connection;
The energization input of the charging control circuit is electrically connected with the rechargeable battery, and the voltage of the charging control circuit is defeated Outlet is electrically connected with the voltage input end of the printer, the control of the control terminal of the charging control circuit and the microcontroller Output end electrical connection processed, the second control signal of the microcontroller are electrically connected with the control terminal of the printer;
The base band managing chip judges whether the rechargeable battery needs to fill for the voltage according to the charging output end Electricity, and charging control signal is generated according to judging result, the charging control signal is cut for controlling the charging control circuit Change to charged state;
The microcontroller, for generating power supplying control signal when detecting that the printer is in running order, according to institute Charging control signal is stated, the charging control circuit is controlled and is switched to charged state, or, being controlled according to the power supplying control signal The charging control circuit switches to power supply state;
The rechargeable battery is printer power supply for the voltage output end by the charging control circuit, and passes through The power supply output end of the charging control circuit is base band managing chip power supply.
2. charging circuit according to claim 1, which is characterized in that the charging control circuit includes: charging switching control Molding block and power supply Voltage stabilizing module;
The charging switching control module includes first end, control signal input, control signal output and second end, described Voltage stabilizing module of powering includes first voltage output end, second voltage output end, control signal input and voltage input end;
The rechargeable battery is connected between the charging switching control module and the power supply Voltage stabilizing module;
The first end of the charging switching control module is electrically connected with the rechargeable battery, the control of the charging switching control module Signal input part processed is electrically connected with the control output end of the microcontroller, the second end of the charging switching control module and institute State the charging output end electrical connection of base band managing chip;
The first voltage output end of the power supply Voltage stabilizing module is electrically connected with the voltage input end of the printer, and the power supply is steady The second voltage output end of die block is electrically connected with the energization input of the base band managing chip, the power supply Voltage stabilizing module Control signal input is electrically connected with the control signal output of the charging switching control module, the power supply Voltage stabilizing module Voltage input end is electrically connected with the rechargeable battery;
The charging switching control module, for being switched to described when the microcontroller inputs the charging control signal Charged state is switched to the power supply state when the microcontroller inputs the power supplying control signal;
The power supply Voltage stabilizing module obtains the first pressure stabilizing output voltage for the voltage of the input of rechargeable battery described in steady pressure treatment, Under the power supply state, exports the first pressure stabilizing output voltage and power to the printer;And in the power supply state Under, the first pressure stabilizing output voltage described in steady pressure treatment obtains the second pressure stabilizing output voltage, exports the second pressure stabilizing output voltage It powers to the base band managing chip.
3. charging circuit according to claim 1, which is characterized in that the base band managing chip includes: to be sequentially connected electrically Charging detecting model and supply input module;
The charging detecting model judges whether to need to the rechargeable battery for the voltage according to the charging output end Charging, however, it is determined that the voltage of the charging output end is lower than the first preset threshold, then generates the charging control signal, export institute Charging control signal is stated to the microcontroller.
4. charging circuit according to claim 2, which is characterized in that the charging switching control module is used for:
Under the charged state, controls the base band managing chip and charge to the rechargeable battery, and in the power supply shape Under state, controls the rechargeable battery and power to the printer and the base band managing chip.
5. charging circuit according to claim 2, which is characterized in that the power supply Voltage stabilizing module includes being sequentially connected electrically First power supply Voltage stabilizing module and the second power supply Voltage stabilizing module;
The first power supply Voltage stabilizing module obtains the first pressure stabilizing output for the voltage of the input of rechargeable battery described in steady pressure treatment Voltage exports the first pressure stabilizing output voltage and gives printer power supply, while exporting described the under the power supply state One pressure stabilizing output voltage is to the second power supply Voltage stabilizing module;
The second power supply Voltage stabilizing module, the first pressure stabilizing for the first power supply Voltage stabilizing module input described in steady pressure treatment export electricity Pressure, obtains the second pressure stabilizing output voltage, under the power supply state, exports the second pressure stabilizing output voltage to the base band pipe Manage chip power supply.
6. charging circuit according to claim 5, which is characterized in that the first pressure stabilizing output voltage is higher than the charging The voltage of battery input.
7. charging circuit according to claim 2, which is characterized in that the charging switching control module is used for:
If it is determined that input the power supplying control signal, then according to the voltage of the control signal output and the second preset threshold, Determine the voltage of the second end of the charging switching control module.
8. charging circuit according to claim 3, which is characterized in that the charging detecting model is used for:
If it is determined that the voltage of the charging output end of the base band managing chip is lower than third preset threshold, then the base band pipe is controlled Manage chip shutdown.
9. charging circuit according to claim 3, which is characterized in that the base band managing chip further include: independent current source Input processing module,
The voltage that the external power supply provides is converted by the independent current source input processing module for connecting external power supply Electric current, in the charge state, charging to the rechargeable battery.
CN201811358364.1A 2018-11-15 2018-11-15 Charging circuit Active CN109586363B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811358364.1A CN109586363B (en) 2018-11-15 2018-11-15 Charging circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811358364.1A CN109586363B (en) 2018-11-15 2018-11-15 Charging circuit

Publications (2)

Publication Number Publication Date
CN109586363A true CN109586363A (en) 2019-04-05
CN109586363B CN109586363B (en) 2022-06-07

Family

ID=65922698

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811358364.1A Active CN109586363B (en) 2018-11-15 2018-11-15 Charging circuit

Country Status (1)

Country Link
CN (1) CN109586363B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114312038A (en) * 2021-04-13 2022-04-12 上海商米科技集团股份有限公司 Power supply control system and method, printing equipment and power supply control method thereof

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102222942A (en) * 2010-04-16 2011-10-19 联芯科技有限公司 Power supply circuit and charging method for electronic equipment
CN202616820U (en) * 2012-05-04 2012-12-19 无锡中星微电子有限公司 Charging management circuit
JP2013020516A (en) * 2011-07-13 2013-01-31 Toshiba Tec Corp Electronic apparatus
US20130229150A1 (en) * 2012-03-05 2013-09-05 Toshiba Tec Kabushiki Kaisha Pos terminal and method used for a pos terminal
CN204145000U (en) * 2014-09-18 2015-02-04 青岛海信智能商用系统有限公司 The adjustable charging circuit of charging current and there is the electronic product of this charging circuit
CN107910909A (en) * 2017-11-01 2018-04-13 福建新大陆支付技术有限公司 A kind of POS electric power systems and its electric quantity managing method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102222942A (en) * 2010-04-16 2011-10-19 联芯科技有限公司 Power supply circuit and charging method for electronic equipment
JP2013020516A (en) * 2011-07-13 2013-01-31 Toshiba Tec Corp Electronic apparatus
US20130229150A1 (en) * 2012-03-05 2013-09-05 Toshiba Tec Kabushiki Kaisha Pos terminal and method used for a pos terminal
CN202616820U (en) * 2012-05-04 2012-12-19 无锡中星微电子有限公司 Charging management circuit
CN204145000U (en) * 2014-09-18 2015-02-04 青岛海信智能商用系统有限公司 The adjustable charging circuit of charging current and there is the electronic product of this charging circuit
CN107910909A (en) * 2017-11-01 2018-04-13 福建新大陆支付技术有限公司 A kind of POS electric power systems and its electric quantity managing method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
余涛: "移动POS电源管理设计", 《通讯世界》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114312038A (en) * 2021-04-13 2022-04-12 上海商米科技集团股份有限公司 Power supply control system and method, printing equipment and power supply control method thereof

Also Published As

Publication number Publication date
CN109586363B (en) 2022-06-07

Similar Documents

Publication Publication Date Title
US9985454B2 (en) Power source device having standby power-cutoff function, and method for controlling same
CN103107569B (en) The method of executive system power management and device
CN107196369B (en) Multi-interface quick charging power supply
CN103682491B (en) The charging method of electric room, charging circuit and electronic equipment
CN110063001A (en) Quickly charging battery system
CN101882864A (en) Electrifying startup circuit and electrifying startup method thereof
CN103119777B (en) Electric power is provided to parts
CN103699201A (en) Multifunctional power-on circuit and Bluetooth product
CN101187828A (en) Current control in rechargeable electronic devices
CN109586363A (en) A kind of charging circuit
CN107204705B (en) The control method of DC-DC adjuster and its soft start, controller
CN108811279A (en) The driving method and electronic equipment of flash lamp
CN108365749A (en) A kind of direct current ATX power supplys
US10481576B2 (en) Method and device for implementing connection control
CN102438065B (en) Mobile terminal and charge control method thereof
CN202260572U (en) Hand-held device for stably supplying power to batteries of second-generation identity card reader
US10056763B2 (en) Autonomous battery charging system and related methods
CN208164785U (en) A kind of solar energy alternating-current charging pile for capableing of auto switching electric source
CN112711320A (en) Power switching system and method, computer readable storage medium and processor
CN111628551A (en) Power supply circuit, power supply system and power supply method
CN206819457U (en) A kind of vending machine control circuit
CN110289758A (en) A kind of low-power consumption power supply circuit and electronic equipment
CN109591653A (en) The charging equipment and control method of electric car
CN117492549B (en) Power supply system, computing board card and server
CN212659972U (en) Isolation feedback circuit, charging control circuit, circuit assembly and charging adapter

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