Disclosure of Invention
In view of this, an embodiment of the present invention provides a dual battery control circuit to solve the problem that the conventional terminal device usually has only one battery, cannot continue to operate when the battery power is low, and has a short endurance time.
The embodiment of the invention provides a double-battery control circuit, which is applied to terminal equipment and comprises a main battery, a main battery control switch, a main battery charging management module, an auxiliary battery control switch, an auxiliary battery charging management module, a logic control module, a USB charging interface and a voltage detection module;
the main battery is connected with the main battery control switch, the main battery charging management module, the logic control module and the voltage detection module, the main battery control switch is connected with the logic control module and a mainboard and a load of the terminal equipment, the main battery charging management module is connected with the USB charging interface and the mainboard, the auxiliary battery is connected with the auxiliary battery control switch and the auxiliary battery charging management module, the auxiliary battery control switch is connected with the logic control module, the mainboard and the load, the auxiliary battery charging management module is connected with the USB charging interface and the mainboard, and the logic control module is connected with the voltage detection module and the mainboard;
the voltage detection module detects a voltage value of the main battery, and when the voltage value is lower than a voltage threshold value, the voltage detection module sends a first switching control signal to the logic control module; when the voltage value is greater than or equal to the voltage threshold value, the voltage detection module sends a second switching control signal to the logic control module;
when the main battery charging management module is externally connected with a power supply through the USB charging interface, the main board triggers the main battery charging management module to charge the main battery, and when the main battery charging management module charges the main battery, a third switching control signal is sent to the logic control module;
when the auxiliary battery charging management module is externally connected with a power supply through the USB charging interface, the main board triggers the auxiliary battery charging management module to charge the auxiliary battery;
when the logic control module receives the first switching control signal, the level of a connecting end of the logic control module and the mainboard is changed, and the logic control module is controlled by the mainboard to trigger the main battery control switch to be turned off and the auxiliary battery control switch to be turned on so as to supply power to the mainboard and the load through the auxiliary battery;
and when the logic control module receives the second switching control signal or the third switching control signal, the logic control module changes the level of a connecting end of the logic control module and the mainboard, and is controlled by the mainboard to trigger the main battery control switch to be turned on and the auxiliary battery control switch to be turned off so as to supply power to the mainboard and the load through the main battery.
In one embodiment, the dual battery control circuit has at least one ground resistor;
when the double-battery control circuit comprises a grounding resistor, the positive electrode of the main battery is connected with one end of the main battery control switch, the main battery charging management module, the logic control module, the voltage detection module and the grounding resistor, the other end of the grounding resistor is grounded, and the auxiliary electrode of the main battery is grounded;
when the double-battery control circuit comprises at least two grounding resistors, the positive pole of the main battery is connected with the main battery control switch, the main battery charging management module and the logic control module, the at least two grounding resistors are sequentially connected in series, the positive pole of the main battery is grounded through the at least two grounding resistors sequentially connected in series, and the common end of any two mutually connected grounding resistors is connected with the voltage detection module.
In one embodiment, the main battery includes two ground resistors, a first ground resistor and a second ground resistor;
the positive pole of the main battery is connected with the main battery control switch, the main battery charging management module, the logic control module and one end of the first grounding resistor, the other end of the first grounding resistor is connected with one end of the second grounding resistor and the voltage detection module, and the other end of the second grounding resistor is grounded.
In one embodiment, the main battery is detachable, and the auxiliary battery is built in the terminal device and is not detachable.
In one embodiment, when receiving the first switching control signal, the logic control module converts the level of the connection end of the logic control module and the main board from a low level to a high level;
when the mainboard detects the high level, the logic control module is controlled to send a low level signal to the main battery control switch and send a high level signal to the auxiliary battery control switch so as to trigger the main battery control switch to be closed and the auxiliary battery control switch to be opened;
when the logic control module receives the second switching control signal or the third switching control signal, the level of a connecting end of the logic control module and the mainboard is converted from a high level to a low level;
when the main board detects the low level, the logic control module is controlled to send a high level signal to the main battery control switch and send a low level signal to the auxiliary battery control switch so as to trigger the main battery control switch to be turned on and the auxiliary battery control switch to be turned off.
In one embodiment, the voltage detection module includes an ADC sampling unit connected to the main battery, and the ADC sampling unit samples a voltage signal of the main battery and converts the voltage signal into a digital signal to obtain a voltage value of the main battery.
In one embodiment, the secondary battery charging management module includes MTK platform charging and discharging management circuitry.
In one embodiment, the terminal device comprises a smart inspection device, a mobile phone, a tablet computer, a personal digital assistant or a smart bracelet.
In one embodiment, the load includes a touch display assembly, a camera assembly, a sound assembly, and a lighting assembly connected to the main board.
In one embodiment, the voltage detection module sends the voltage value to the motherboard, and the motherboard generates an electric quantity display control signal according to the voltage value and sends the electric quantity display control signal to the touch display assembly to control the touch display assembly to display the electric quantity of the main battery.
The embodiment of the invention provides the double-battery control circuit comprising the main battery and the auxiliary battery, and detects the voltage value of the main battery, so that the terminal equipment with the circuit can supply power through the auxiliary battery when the electric quantity of the main battery is insufficient, and supply power through the main battery again when the electric quantity of the main battery is sufficient or the main battery is charged, thereby improving the endurance time of the terminal equipment and avoiding the condition that the terminal equipment cannot be normally used due to insufficient electric quantity.
Detailed Description
In order to make the technical solutions of the present invention better understood by those skilled in the art, the technical solutions in the embodiments of the present invention will be clearly described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some embodiments of the present invention, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "comprises" and "comprising," and any variations thereof, in the description and claims of this invention and the above-described drawings are intended to cover non-exclusive inclusions. For example, a process, method, or system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus. Furthermore, the terms "first," "second," and "third," etc. are used to distinguish between different objects and are not used to describe a particular order.
In order to explain the technical means of the present invention, the following description will be given by way of specific examples.
Example one
The embodiment of the invention provides a double-battery control circuit which is applied to terminal equipment, wherein the terminal equipment comprises an intelligent inspection device, a mobile phone, a tablet personal computer, a personal digital assistant or an intelligent bracelet and the like, and the intelligent inspection device can be an intelligent flashlight, an intelligent camera, an intelligent illuminating lamp or an intelligent interphone.
As shown in fig. 1, the dual battery control circuit 100 provided in this embodiment includes a main battery 10, a main battery control switch 20, a main battery charging management module 30, a sub-battery 40, a sub-battery control switch 50, a sub-battery charging management module 60, a logic control module 70, a USB charging interface 80, and a voltage detection module 90.
As shown in fig. 1, in the present embodiment, a main battery 10 is connected to a main battery control switch 20, a main battery charging management module 30, a logic control module 70, and a voltage detection module 90;
the main battery control switch 20 is connected to the logic control module 70, and the main board 210 and the load 220 of the terminal device 200;
the main battery charging management module 30 is connected with the USB charging interface 80 and the main board 210;
the sub-battery 40 is connected with the sub-battery control switch 50 and the sub-battery charging management module 60;
the auxiliary battery control switch 50 is connected with the logic control module 70, the main board 210 and the load 220;
the secondary battery charging management module 60 is connected with the USB charging interface 80 and the main board 220;
the logic control module 70 is connected to the main board 210 and the voltage detection module 90.
In this embodiment, the voltage detection module 90 is configured to detect a voltage value of the main battery 10, and when the voltage value is lower than a voltage threshold, the voltage detection module 90 sends a first switching control signal to the logic control module 70; when the voltage value is greater than or equal to the voltage threshold, the voltage detection module 90 sends a second switching control signal to the logic control module 70.
In one embodiment, the main battery is a removable rechargeable battery.
In specific application, the main battery can adopt a lithium battery with the capacity of more than or equal to 4000 mAH.
In one embodiment, the voltage detection module includes an ADC sampling unit connected to the main battery, and the ADC sampling unit samples a voltage signal of the main battery and converts the voltage signal into a digital signal to obtain a voltage value of the main battery.
In a specific application, the ADC (Analog-to-Digital Converter) sampling unit is an ADC Converter, an ADC conversion chip or an ADC conversion circuit.
In a specific application, the voltage detection module may specifically be a voltage detection circuit, a chip, or a device, and the voltage threshold may specifically be set to 3.5V.
In a specific application, the logic control module may include a logic switching control device, a logic switching control circuit, or a logic switching control chip.
In this embodiment, when the main battery charging management module 30 is externally connected to the power supply through the USB charging interface 80, the main board 210 triggers the main battery charging management module 30 to charge the main battery 10, and when the main battery charging management module 30 charges the main battery 10, the third switching control signal is sent to the logic control module 70.
In a specific application, the main battery charging management module may include any charging management device, circuit or chip capable of converting a dc or ac voltage provided by a power supply into a charging voltage suitable for the main battery.
In a specific application, the external power source may be a dc or ac power source, such as a commercial power source.
In specific application, a main board is mainly used for integrating various control circuits, modules or chips and controlling the working states of components electrically connected with the main board so as to realize corresponding functions, a Random-Access Memory (RAM) with the capacity of 1G and a Read-Only Memory (ROM) with the capacity of 8G can be integrated on the main board, and the capacities of the RAM and the ROM can be set according to actual needs.
In a Specific Application, the main board may be a Central Processing Unit (CPU), or may be other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, a discrete hardware component, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
In this embodiment, when the secondary battery charging management module 60 is externally connected to the power supply through the USB charging interface 80, the main board 210 triggers the secondary battery charging management module 60 to charge the secondary battery 40.
In a specific application, the secondary battery is embedded in the terminal device and is not detachable, and a lithium battery with the capacity of more than or equal to 2200mAH can be selected as the secondary battery.
In one embodiment, the secondary battery charging management module includes MTK platform charging and discharging management circuitry.
In a specific application, because the secondary battery cannot be detached and replaced, the secondary battery needs to be overcharged or overdischarged protected through the MTK platform charging and discharging management circuit, so that the service life of the secondary battery is prolonged.
In this embodiment, when the logic control module 70 receives the first switching control signal, the level of the connection end of the logic control module 70 and the main board 210 is changed, and the main battery control switch 20 is turned off and the sub-battery control switch 50 is turned on under the control of the main board 210, so as to supply power to the main board 210 and the load 220 through the sub-battery 40.
In a specific application, the main battery control switch and the auxiliary battery control switch comprise electronic switching devices implemented based on logic circuits, field effect transistors or triodes.
In this embodiment, when the logic control module 70 receives the second switching control signal or the third switching control signal, the level of the connection end of the logic control module 70 and the main board 210 is changed, and the logic control module is controlled by the main board 210 to trigger the main battery control switch 20 to be turned on and the sub-battery control switch 50 to be turned off, so as to supply power to the main board 210 and the load 220 through the main battery 10.
In one embodiment, when receiving the first switching control signal, the logic control module converts the level of the connection end of the logic control module and the main board from a low level to a high level;
when the mainboard detects the high level, the logic control module is controlled to send a low level signal to the main battery control switch and send a high level signal to the auxiliary battery control switch so as to trigger the main battery control switch to be closed and the auxiliary battery control switch to be opened;
when the logic control module receives the second switching control signal or the third switching control signal, the level of a connecting end of the logic control module and the mainboard is converted from a high level to a low level;
when the main board detects the low level, the logic control module is controlled to send a high level signal to the main battery control switch and send a low level signal to the auxiliary battery control switch so as to trigger the main battery control switch to be turned on and the auxiliary battery control switch to be turned off.
In specific application, the auxiliary battery is a standby battery and is used for starting when the voltage of the main battery is too low (namely the electric quantity is insufficient) to replace the main battery to realize a power supply function; when the voltage of the main battery is normal (the electric quantity is sufficient) or when the main battery is charged, the auxiliary battery is switched into the main battery and is still powered by the main battery.
This embodiment is through providing a bi-cell control circuit including main battery and auxiliary battery to detect the voltage value of main battery, make the terminal equipment who possesses this circuit can be when the main battery electric quantity is not enough, through the auxiliary battery power supply, when the main battery electric quantity is sufficient or charge for the main battery, through the main battery power supply once more, improved terminal equipment's time of endurance, the unable normal use's of avoiding terminal equipment's electric quantity to take place.
Example two
As shown in fig. 2, in the present embodiment, the dual cell control circuit 100 includes at least one ground resistor;
when the dual battery control circuit 100 includes a ground resistor, the positive electrode of the main battery 10 is connected to the main battery control switch 20, the main battery charging management module 30, the logic control module 70, the voltage detection module 90 and one end of the ground resistor, the other end of the ground resistor is grounded, and the auxiliary electrode of the main battery 10 is grounded;
when the dual battery control circuit 100 includes at least two ground resistors, the positive electrode of the main battery 10 is connected to the main battery control switch 20, the main battery charging management module 30 and the logic control module 70, the at least two ground resistors are sequentially connected in series, the positive electrode of the main battery 10 is further grounded through the at least two ground resistors sequentially connected in series, and the common connection end of any two ground resistors connected to each other is connected to the voltage detection module 90.
As shown in fig. 2, in the present embodiment, the dual battery control circuit 100 is exemplarily shown to include two ground resistors, i.e., a first ground resistor R1 and a second ground resistor R2;
the positive pole of the main battery 10 is connected with one end of the main battery control switch 20, the main battery charging management module 30, the logic control module 70 and the first grounding resistor R1, the other end of the first grounding resistor R1 is connected with one end of the second grounding resistor R2 and the voltage detection module 90, and the other end of the second grounding resistor R2 is grounded.
EXAMPLE III
As shown in fig. 3, in the present embodiment, the load 220 includes a touch display module 221, a camera module 222, a sound module 223, and an illumination module 224, which are connected to the main board 210.
In one embodiment, the voltage detection module is configured to send the voltage value to the motherboard, and the motherboard generates an electric quantity display control signal according to the voltage value and sends the electric quantity display control signal to the touch display module, so as to control the touch display module to display the electric quantity of the main battery.
In one embodiment, a wireless communication module and a positioning module are integrated on the main board to realize wireless communication and positioning functions; the terminal device is in wireless communication with other terminal devices or the cloud server, receives control instructions sent by the other terminal devices or the cloud server, and acquires current position information in real time.
In a specific application, the positioning module may be implemented by using any device or chip having a positioning function, for example, a GPS module.
In a specific application, the wireless communication module may be implemented according to any wireless communication technology, for example, bluetooth technology, WiFi technology, ZigBee technology, mobile communication technology, optical communication technology, and the like.
In one embodiment, the wireless communication module comprises one or more of a WiFi module, a bluetooth module, or a mobile communication module;
when the wireless communication Module comprises a mobile communication Module, the main board further comprises a Subscriber Identity Module (SIM) card socket electrically connected with the main board.
In a specific application, the mobile communication module specifically includes a GSM module, a GPRS module, an EDGE module, a CDMA module, a TD-SCDMA module, etc. based on 3G, 4G or 5G communication technology.
In this embodiment, the touch display component is configured to obtain a control instruction input by a user in a touch manner, and when receiving a display control signal sent by the motherboard, the touch display component displays information corresponding to the display control signal.
In a specific application, the touch display component has touch and display functions, can recognize an instruction input by a user by detecting a touch operation of the user, and can display corresponding information under the control of the main board.
In specific application, when the camera shooting function of the camera shooting assembly is started, the touch display assembly can display a picture shot by the camera shooting assembly in real time so as to realize the shooting preview function.
In this embodiment, the main board 210 is configured to analyze the control instruction and generate a corresponding control signal, so as to correspondingly control the operating state of the touch display module 221, the camera module 222, the sound module 223, the dual battery control circuit 100, or the lighting module 224.
In the present embodiment, the image capturing component 222 is configured to start an image capturing function and capture an image or video of an object located within a lens range thereof upon receiving an image capturing control signal transmitted by the main board 210.
In a specific application, the image pickup function of the image pickup assembly is the same as that of a common camera, and the image pickup assembly images an object in the lens range when being started, and generates an image of the object through an image sensor and an image processor when receiving a shooting confirmation signal, wherein the video is obtained by continuously shooting multiple frames of images in unit time. According to the type of the object to be shot and the difference of imaging requirements, the corresponding type of camera shooting component can be selected, for example, if the camera shooting component is suitable for shooting images in the daytime and at night, the infrared camera shooting component can be selected; if an object with a longer distance needs to be shot, a telephoto lens can be selected; the far and near objects need to be shot, and a zoom lens or a standard lens can be selected.
In one embodiment, the camera assembly comprises an auto-focus camera, and the auto-focus lens is electrically connected with a camera interface of the main board;
the automatic focusing lens is provided with a lens visual angle larger than 70 degrees, a photographing pixel larger than 800 ten thousand pixels and a video display format of 1080P, 720P or 480P.
In this embodiment, the sound component 223 is configured to collect or play the voice information corresponding to the voice control signal when receiving the voice control signal sent by the main board 210.
In concrete application, the sound assembly has the functions of voice collection and playing, voice information is collected and played through the sound assembly and is wirelessly communicated with other terminal equipment, the function of voice communication between other terminal equipment can be achieved, and the function of voice communication comprises a voice talkback function.
In concrete application, the touch display assembly, the camera shooting assembly and the sound assembly are controlled to be started simultaneously, and the intelligent inspection device is in wireless communication with other intelligent inspection devices, intelligent terminals or cloud servers, so that the video call function between other intelligent inspection devices or intelligent terminals can be realized.
In this embodiment, the dual battery control circuit 100 is configured to supply power to the main board 210, and supply power to the touch display module 221, the camera module 222, the sound module 223, or the lighting module 224 according to a power supply control signal sent by the main board 210.
In this embodiment, the main board 210 is further configured to transmit the voice information, the picture, the video, or the position information to other terminal devices or a cloud server.
In this embodiment, lighting assembly is used for realizing the illumination function, can choose the illumination of arbitrary type etc. according to actual need for use, and when intelligent camera inspection device was intelligent flashlight, lighting assembly specifically can include spotlight source, can shine far away distance.
In one embodiment, the terminal device includes a memory card socket connected to the main board for mounting a memory card for storing voice information, pictures, and video data.
In particular applications, the memory Card socket may be used to mount a Smart Media Card (SMC), Secure Digital (SD) Card, Flash memory Card (Flash Card), and the like type of memory Card.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.