A kind of double cell control circuit
Technical field
The invention belongs to battery control field more particularly to a kind of double cell control circuits.
Background technique
With the continuous development of science and technology, various Mobile terminal equipment are constantly universal, live for people's production and life
Provide great convenience.For example, intelligent patrol detection device, mobile phone, tablet computer, personal digital assistant or Intelligent bracelet etc..
Existing terminal device usually only has one piece of battery, can not work on when battery capacity is lower, when continuation of the journey
Between it is shorter, although some terminal devices can be charged by charging equipments such as charger babies, charger baby have certain body
Product and heavier-weight, are unfavorable for carrying.
Summary of the invention
In view of this, the embodiment of the invention provides a kind of double cell control circuit, it is logical to solve existing terminal device
Often only have one piece of battery, can not work on when battery capacity is lower, cruise duration shorter problem.
The embodiment of the invention provides a kind of double cell control circuits, are applied to terminal device, the double cell control electricity
Road includes that main battery, main battery control switch, main battery charge management module, secondary cell, secondary cell control switch, secondary cell fill
Electric management module, Logic control module, USB charging interface and voltage detection module;
The main battery and the main battery control switch, the main battery charge management module, the logic control mould
Block is connected with the voltage detection module, the main battery control switch and the Logic control module and the terminal device
Mainboard and load connection, the main battery charge management module connect with the USB charging interface and the mainboard, the pair
Battery is connect with the secondary cell control switch and the secondary cell charge management module, the secondary cell control switch with it is described
Logic control module, the mainboard and load connection, the secondary cell charge management module and the USB charging interface and
The mainboard connection, the Logic control module are connect with the voltage detection module and the mainboard;
The voltage detection module detects the voltage value of the main battery, described when the voltage value is lower than voltage threshold
Voltage detection module sends the first switch-over control signal to the Logic control module;The voltage value is greater than or equal to voltage threshold
When value, the voltage detection module sends the second switch-over control signal to the Logic control module;
When the main battery charge management module is by the USB charging interface external power supply, described in the mainboard triggering
Main battery charge management module is main battery charging, when the main battery charge management module is that the main battery charges,
Third switch-over control signal is sent to the Logic control module;
When the secondary cell charge management module is by the USB charging interface external power supply, described in the mainboard triggering
Secondary cell charge management module is secondary cell charging;
When the Logic control module receives first switch-over control signal, change the Logic control module and institute
The level of the connecting pin of mainboard is stated, and is controlled by the mainboard and is closed with triggering the main battery control switch, the secondary cell
Control switch is opened, to pass through the secondary cell as the mainboard and the load supplying;
When the Logic control module receives second switch-over control signal or the third switch-over control signal, change
Become the level of the connecting pin of the Logic control module and the mainboard, and is controlled by the mainboard to trigger the main battery control
System switch is opened, the secondary cell control switch is closed, to pass through the main battery as the mainboard and the load supplying.
In one embodiment, described at least one ground resistance of double cell control circuit;
When the double cell control circuit includes a ground resistance, anode and the main battery of the main battery are controlled
Switch, the main battery charge management module, the Logic control module, the voltage detection module and the ground resistance
One end connection, the other end ground connection of the ground resistance, the consequent pole ground connection of the main battery;
When the double cell control circuit includes at least two ground resistance, anode and the main battery of the main battery
Control switch, the main battery charge management module are connected with the Logic control module, at least two ground resistance according to
Secondary series connection, for the anode of the main battery also by least two ground resistance earth being sequentially connected in series, any two are mutual
The connects end altogether of the ground resistance of connection is connect with the voltage detection module.
In one embodiment, the main battery includes the first ground resistance and the second ground resistance totally two ground connection electricity
Resistance;
Anode and the main battery control switch, the main battery charge management module, the logic of the main battery
Control module is connected with one end of first ground resistance, the other end of first ground resistance and the second ground connection electricity
One end of resistance is connected with the voltage detection module, the other end ground connection of second ground resistance.
In one embodiment, the main battery is detachable, and the secondary cell is built in the terminal device and non-disconnectable
It unloads.
In one embodiment, it when the Logic control module receives first switch-over control signal, is patrolled described
The level of the connecting pin of volume control module and the mainboard is high level by low transition;
When the mainboard detects the high level, controls the Logic control module and sent out to the main battery control switch
Low level signal, Xiang Suoshu secondary cell control switch is sent to send high level signal, closed with triggering the main battery control switch,
The secondary cell control switch is opened;
It, will when the Logic control module receives second switch-over control signal or the third switch-over control signal
The level of the connecting pin of the Logic control module and the mainboard is converted to low level by high level;
When the mainboard detects the low level, controls the Logic control module and sent out to the main battery control switch
High level signal, Xiang Suoshu secondary cell control switch is sent to send low level signal, opened with triggering the main battery control switch,
The secondary cell control switch is closed.
In one embodiment, the voltage detection module includes the ADC sampling unit connecting with the main battery, described
ADC sampling unit samples the voltage signal of the main battery and is converted to digital signal, obtains the voltage value of the main battery.
In one embodiment, the secondary cell charge management module includes MTK platform management of charging and discharging circuit.
In one embodiment, the terminal device includes that intelligent patrol detection device, mobile phone, tablet computer, individual digital help
Reason or Intelligent bracelet.
In one embodiment, the load includes the touches display module connecting with the mainboard, camera assembly, sound
Component and light fixture.
In one embodiment, the voltage value is sent to the mainboard, the mainboard root by the voltage detection module
Electricity display control signal is generated according to the voltage value and is sent to the touches display module, to control the touch display group
Part shows the electricity of the main battery.
The embodiment of the present invention detects main electricity by providing a kind of double cell control circuit including main battery and secondary cell
The voltage value in pond allows the terminal device for having the circuit in main battery not enough power supply, is powered by secondary cell, in master
When battery capacity is sufficient or charges for main battery, powers again by main battery, improve the cruise duration of terminal device, avoid
The not enough power supply of terminal device can not occur the case where normal use.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art
Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention some
Embodiment for those of ordinary skill in the art without any creative labor, can also be according to these
Attached drawing obtains other attached drawings.
Fig. 1 is the structural schematic diagram for the double cell control circuit that the embodiment of the present invention one provides;
Fig. 2 is the structural schematic diagram of the main battery that the embodiment of the present invention two provides and its peripheral circuit;
Fig. 3 is the structural schematic diagram for the terminal device that the embodiment of the present invention three provides.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention
Attached drawing, technical solution in the embodiment of the present invention are explicitly described, it is clear that described embodiment is the present invention one
The embodiment divided, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not doing
Every other embodiment obtained under the premise of creative work out, should fall within the scope of the present invention.
Description and claims of this specification and term " includes " and their any deformations in above-mentioned attached drawing, meaning
Figure, which is to cover, non-exclusive includes.Such as process, method or system comprising a series of steps or units, product or equipment do not have
It is defined in listed step or unit, but optionally further comprising the step of not listing or unit, or optionally also wrap
Include the other step or units intrinsic for these process, methods, product or equipment.In addition, term " first ", " second " and
" third " etc. is for distinguishing different objects, not for description particular order.
In order to illustrate technical solutions according to the invention, the following is a description of specific embodiments.
Embodiment one
The embodiment of the present invention provides a kind of double cell control circuit, is applied to terminal device, and terminal device includes that intelligence is patrolled
Checking device, mobile phone, tablet computer, personal digital assistant or Intelligent bracelet etc., intelligent patrol detection device specifically can be Intelligent flashlight
Cylinder, intelligent camera, intelligent lighting lamp or intelligent intercom.
As shown in Figure 1, double cell control circuit 100 provided by the present embodiment is opened including main battery 10, main battery control
Close 20, main battery charge management module 30, secondary cell 40, secondary cell control switch 50, secondary cell charge management module 60, logic
Control module 70, USB charging interface 80 and voltage detection module 90.
As shown in Figure 1, in the present embodiment, main battery 10 and main battery control switch 20, main battery charge management module
30, Logic control module 70 and voltage detection module 90 connect;
The mainboard 210 and load 220 of main battery control switch 20 and Logic control module 70 and terminal device 200 connect
It connects;
Main battery charge management module 30 is connect with USB charging interface 80 and mainboard 210;
Secondary cell 40 is connect with secondary cell control switch 50 and secondary cell charge management module 60;
Secondary cell control switch 50 is connect with Logic control module 70, mainboard 210 and load 220;
Secondary cell charge management module 60 is connect with USB charging interface 80 and mainboard 220;
Logic control module 70 is connect with mainboard 210 and voltage detection module 90.
In the present embodiment, voltage detection module 90 is used to detect the voltage value of main battery 10, is lower than voltage in voltage value
When threshold value, voltage detection module 90 sends the first switch-over control signal to Logic control module 70;Voltage value is greater than or equal to electricity
When pressing threshold value, voltage detection module 90 sends the second switch-over control signal to Logic control module 70.
In one embodiment, main battery is dismountable rechargeable battery.
In a particular application, a section lithium battery can be used in main battery, and capacity is greater than or equal to 4000mAH.
In one embodiment, the voltage detection module includes the ADC sampling unit connecting with the main battery, described
ADC sampling unit samples the voltage signal of the main battery and is converted to digital signal, obtains the voltage value of the main battery.
In a particular application, ADC (Analog-to-Digital Converter, analog-digital converter) sampling unit is ADC
Converter, ADC conversion chip or ADC conversion circuit.
In a particular application, voltage detection module is specifically as follows voltage detecting circuit, chip or device, voltage threshold tool
Body can be set as 3.5V.
In a particular application, Logic control module may include logic switch control device, logic switch control circuit or
Logic switch controls chip.
In the present embodiment, when main battery charge management module 30 passes through 80 external power supply of USB charging interface, mainboard 210
Main battery charge management module 30 is triggered to charge for main battery 10, when main battery charge management module 30 is that main battery 10 charges,
Third switch-over control signal is sent to Logic control module 70.
In a particular application, main battery charge management module may include arbitrarily can be by direct current that power supply provides or friendship
Galvanic electricity pressure is converted to Charge Management device, circuit or the chip of the charging voltage suitable for main battery.
In a particular application, external power supply can be direct current or AC power source, for example, alternating current.
In a particular application, mainboard is mainly used for integrating various control circuits, mould group or chip, for being electrically connected to it
The working condition of each component connect is controlled, and to realize corresponding function, the arbitrary access that capacity is 1G can be integrated on mainboard
The read-only memory (Read-Only Memory, ROM) that memory (Random-Access Memory, RAM) and capacity are 8G,
The capacity of RAM and ROM can be configured according to actual needs.
In a particular application, mainboard can be central processing unit (Central Processing Unit, CPU), may be used also
To be other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit
(Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor
Deng.
In the present embodiment, when secondary cell charge management module 60 passes through 80 external power supply of USB charging interface, mainboard 210
Secondary cell charge management module 60 is triggered as the charging of secondary cell 40.
In a particular application, secondary cell is built in terminal device and non-dismountable, and secondary cell can specifically select a section to hold
Amount is greater than or equal to the lithium battery of 2200mAH.
In one embodiment, the secondary cell charge management module includes MTK platform management of charging and discharging circuit.
In a particular application, since secondary cell is non-dismountable and replacement, it is therefore desirable to pass through MTK platform management of charging and discharging electricity
Road is overcharged to secondary cell or Cross prevention, to extend the service life of secondary cell.
In the present embodiment, when Logic control module 70 receives the first switch-over control signal, change Logic control module
70 with the level of the connecting pin of mainboard 210, and controlled by mainboard 210 and closed with triggering main battery control switch 20, secondary cell control
It makes switch 50 to open, to be 220 power supply of mainboard 210 and load by secondary cell 40.
In a particular application, main battery control switch and secondary cell control switch include logic-based circuit, field-effect tube
Or the electronic switching device that triode is realized.
In the present embodiment, Logic control module 70 receives the second switch-over control signal or third switch-over control signal
When, change the level of the connecting pin of Logic control module 70 and mainboard 210, and controlled to trigger main battery control by mainboard 210
Switch 20 is opened, secondary cell control switch 50 is closed, to be 220 power supply of mainboard 210 and load by main battery 10.
In one embodiment, it when the Logic control module receives first switch-over control signal, is patrolled described
The level of the connecting pin of volume control module and the mainboard is high level by low transition;
When the mainboard detects the high level, controls the Logic control module and sent out to the main battery control switch
Low level signal, Xiang Suoshu secondary cell control switch is sent to send high level signal, closed with triggering the main battery control switch,
The secondary cell control switch is opened;
It, will when the Logic control module receives second switch-over control signal or the third switch-over control signal
The level of the connecting pin of the Logic control module and the mainboard is converted to low level by high level;
When the mainboard detects the low level, controls the Logic control module and sent out to the main battery control switch
High level signal, Xiang Suoshu secondary cell control switch is sent to send low level signal, opened with triggering the main battery control switch,
The secondary cell control switch is closed.
In a particular application, secondary cell is reserve battery, is used in too low (i.e. not enough power supply) Shi Qiyong of main battery voltage,
Function of supplying power is realized instead of main battery;In main battery voltage normal (electricity is sufficient) or in charging, secondary cell is switched based on
Battery is still powered by main battery.
The present embodiment detects main battery by providing a kind of double cell control circuit including main battery and secondary cell
Voltage value allows the terminal device for having the circuit in main battery not enough power supply, is powered by secondary cell, in main battery
When electricity is sufficient or charges for main battery, powers again by main battery, improve the cruise duration of terminal device, avoid terminal
The not enough power supply of equipment can not occur the case where normal use.
Embodiment two
As shown in Fig. 2, in the present embodiment, double cell control circuit 100 includes at least one ground resistance;
When double cell control circuit 100 includes a ground resistance, the anode and main battery control switch 20 of main battery 10,
Main battery charge management module 30, Logic control module 70, voltage detection module 90 are connected with one end of ground resistance, ground connection electricity
The other end of resistance is grounded, the consequent pole ground connection of main battery 10;
When double cell control circuit 100 includes at least two ground resistance, anode and the main battery control of main battery 10 are opened
It closes 20, main battery charge management module 30 and Logic control module 70 connects, at least two ground resistances are sequentially connected in series, main battery
Also by least two ground resistance earths being sequentially connected in series, any two ground resistance interconnected connects 10 anode altogether
End is connect with voltage detection module 90.
As shown in Fig. 2, illustratively showing double cell control circuit 100 includes the first ground resistance R1 in the present embodiment
With the second ground resistance R2 totally two ground resistances;
Anode and main battery control switch 20, main battery charge management module 30, the Logic control module 70 of main battery 10
It is connected with one end of the first ground resistance R1, one end and voltage of the other end of the first ground resistance R1 and the second ground resistance R2
Detection module 90 connects, the other end ground connection of the second ground resistance R2.
Embodiment three
As shown in figure 3, in the present embodiment, load 220 includes the touches display module 221 connecting with mainboard 210, camera shooting
Component 222, acoustic assembly 223 and light fixture 224.
In one embodiment, the voltage detection module is used to the voltage value being sent to the mainboard, the master
Plate generates electricity display control signal according to the voltage value and is sent to the touches display module, is shown with controlling described touch
Show that component shows the electricity of the main battery.
In one embodiment, it is integrated with wireless communication module and locating module on the mainboard, for realizing channel radio
Letter and positioning function;The terminal device and other terminal devices or cloud server wirelessly communicate, and receive other terminal devices
Or the control instruction that cloud server is sent, and current location information is obtained in real time.
In a particular application, locating module can specifically select the arbitrary device with positioning function or chip real
It is existing, for example, GPS module.
In a particular application, wireless communication module can be realized according to arbitrary wireless communication technique, for example, bluetooth skill
Art, WiFi technology, ZigBee technology, mobile communication technology, optical communication technique etc..
In one embodiment, the wireless communication module includes in WiFi module, bluetooth module or mobile communication module
It is one or more;
When the wireless communication module includes mobile communication module, the mainboard further includes being electrically connected with the mainboard
SIM (Subscriber Identification Module, subscriber identification card) card plug.
In a particular application, mobile communication module specifically includes gsm module, GPRS based on 3G, 4G or 5G communication technology
Module, EDGE module, CDMA module, TD-SCDMA module etc..
In the present embodiment, touches display module is touched for obtaining the control instruction that user is inputted by touch manner
When display component receives the display control signal of mainboard transmission, information corresponding with display control signal is shown.
In a particular application, touches display module has touch and display function, can be grasped by detecting the touch of user
Make the instruction to identify user's input, while can also show corresponding information under the control of mainboard, touches display module can
To realize by any feasible technology, such as it can be the touch display screen of a condenser type or electromagnetic type.
In a particular application, when the camera function of camera assembly is opened, touches display module can show camera assembly
The picture of captured in real-time, to realize shooting preview function.
In the present embodiment, mainboard 210 to control instruction for being parsed and being generated corresponding control signal, to touching
Touch the work shape of display component 221, camera assembly 222, acoustic assembly 223, double cell control circuit 100 or light fixture 224
State is controlled accordingly.
In the present embodiment, camera assembly 222 is used for the starting when the camera shooting for receiving the transmission of mainboard 210 controls signal
Camera function and the image or video for shooting the object being located within the scope of its camera lens.
In a particular application, the camera function of camera assembly and the function of common camera are identical, be open when, it is right
Image objects within the scope of its camera lens, and when receiving confirmation shooting signal, it is generated by imaging sensor and image processor
The image of object, video are to be continuously shot what multiple image obtained within the unit time.According to the class of the object of required shooting
The difference of type and imaging requirements can choose the camera assembly of respective type, for example, it is desired to be suitable for simultaneously on daytime and night
Image is shot, then can select infrared photography component;The farther away object of shooting distance is needed, then can select telephoto lens;Far
Nearly object requires to shoot, then can select zoom lens or standard lens.
In one embodiment, the camera assembly includes automatic focusing camera head, the autofocus lens with it is described
The utilizing camera interface of mainboard is electrically connected;
The camera lens visual angle of the autofocus lens is greater than 8,000,000 pixels, video display format greater than 70 degree, pixel of taking pictures
For 1080P, 720P or 480P.
In the present embodiment, acoustic assembly 223 is used for the acquisition when receiving the audio controls of the transmission of mainboard 210
Or play voice messaging corresponding with audio controls.
In a particular application, acoustic assembly is provided simultaneously with voice collecting and playing function, passes through control acoustic assembly acquisition
It wirelessly communicates, may be implemented and the voice communication function between other terminal devices with broadcasting voice messaging and with other terminal devices
Can, voice call function includes speech talkback function.
In a particular application, pass through control touches display module, camera assembly and acoustic assembly start work simultaneously and with
Other intelligent patrol detection devices, intelligent terminal or cloud server wireless communication, may be implemented and other intelligent patrol detection equipment or intelligence
Video call function between energy terminal.
In the present embodiment, double cell control circuit 100 is used for the confession powered for mainboard 210, and sent according to mainboard 210
Electric control signal is that touches display module 221, camera assembly 222, acoustic assembly 223 or light fixture 224 are powered.
In the present embodiment, mainboard 210 is also used to voice messaging, picture, video or location information passing to other ends
End equipment or cloud server.
In the present embodiment, light fixture can be selected any type of according to actual needs for realizing illumination functions
Illumination etc., when intelligent camera inspection device is Intelligent flashlight, light fixture can specifically include condensation light source, can irradiate
Larger distance.
In one embodiment, terminal device includes the storage card card inserting mouth connecting with mainboard, for installing storage card, with
Stored voice message, picture and video data.
In a particular application, memory card socket can be used for installing intelligent memory card (Smart Media Card, SMC),
Secure digital (Secure Digital, SD) card, the storage card of the types such as flash card (Flash Card).
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although referring to aforementioned reality
Applying example, invention is explained in detail, those skilled in the art should understand that: it still can be to aforementioned each
Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified
Or replacement, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution should all
It is included within protection scope of the present invention.