CN107479001B - Battery electric quantity detection device and lamp - Google Patents

Battery electric quantity detection device and lamp Download PDF

Info

Publication number
CN107479001B
CN107479001B CN201710743349.8A CN201710743349A CN107479001B CN 107479001 B CN107479001 B CN 107479001B CN 201710743349 A CN201710743349 A CN 201710743349A CN 107479001 B CN107479001 B CN 107479001B
Authority
CN
China
Prior art keywords
resistor
module
battery
operational amplifier
voltage
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.)
Active
Application number
CN201710743349.8A
Other languages
Chinese (zh)
Other versions
CN107479001A (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.)
Shenzhen Jinsdon Lighting Technology Co ltd
Original Assignee
Shenzhen Jinsdon Lighting Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Jinsdon Lighting Technology Co ltd filed Critical Shenzhen Jinsdon Lighting Technology Co ltd
Priority to CN201710743349.8A priority Critical patent/CN107479001B/en
Publication of CN107479001A publication Critical patent/CN107479001A/en
Application granted granted Critical
Publication of CN107479001B publication Critical patent/CN107479001B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/36Arrangements for testing, measuring or monitoring the electrical condition of accumulators or electric batteries, e.g. capacity or state of charge [SoC]
    • G01R31/3644Constructional arrangements
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/175Controlling the light source by remote control
    • H05B47/19Controlling the light source by remote control via wireless transmission
    • 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

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Secondary Cells (AREA)
  • Measurement Of Current Or Voltage (AREA)

Abstract

The invention belongs to the field of electric quantity detection, and particularly relates to a battery electric quantity detection device and a lamp, which comprise a calibration module, a voltage detection module and a power supply module, wherein the calibration module is connected with an external power supply and is used for calibrating a power supply voltage into a battery reference voltage; the acquisition module is connected with the calibration module, acquires voltages at two ends of the battery and performs voltage division processing on the battery voltage; the amplification module is connected with the acquisition module and is used for amplifying the voltage output by the acquisition module; and the display module is connected with the amplification module and the calibration module, performs voltage compensation processing on the voltage output by the amplification module, and displays the electric quantity of the battery. The battery power detection device and the lamp improve the accuracy and stability of voltage detection of the lithium iron phosphate battery.

Description

Battery electric quantity detection device and lamp
Technical Field
The invention belongs to the field of electric quantity detection, and particularly relates to a battery electric quantity detection device and a lamp.
Background
In a traditional battery power detection device, the voltage of lithium iron phosphate batteries is 2.5V-3.65V, but the voltage of most lithium iron phosphate batteries is concentrated in 3.21-3.26V and only has a voltage range of 0.06V, so that the voltage detection of a lamp powered by the lithium iron phosphate batteries is not accurate enough, for example: the lamp is turned on when the power reaches 6W, the voltage of the battery can be reduced to about 3.2, the single chip microcomputer can detect the electric quantity of the battery by mistake, and the accuracy of the detection of the electric quantity of the battery is very low.
Generally, the voltage value of the battery power of the existing lamp directly depends on the value parameters of the single chip microcomputer, and is not subjected to stable processing, so that the power is unstable when the battery power is detected.
Disclosure of Invention
In view of this, the embodiment of the invention provides a battery power detection device and a lamp, aiming at improving the accuracy and stability of voltage detection of a lithium iron phosphate battery.
A first aspect of an embodiment of the present invention provides a battery power detection apparatus, including:
the calibration module is connected with an external power supply and calibrates the power supply voltage into a battery reference voltage;
the acquisition module is connected with the calibration module, acquires voltages at two ends of the battery and performs voltage division processing on the battery voltage;
the amplification module is connected with the acquisition module and is used for amplifying the voltage output by the acquisition module;
and the display module is connected with the amplification module and the calibration module, performs voltage compensation processing on the voltage output by the amplification module, and displays the electric quantity of the battery.
Optionally, the calibration module includes: and the input end of the reference voltage source is connected with an external power supply, and the output end of the reference voltage source is electrically connected with the acquisition module.
Optionally, the calibration module further includes: a first resistor, a second resistor and a first operational amplifier;
the first end of the first resistor is connected with the output end of the reference voltage source, and the second end of the first resistor is connected with the second resistor; the other end of the second resistor is grounded;
the positive phase input end of the first operational amplifier is connected with the second end of the first resistor, the negative phase input end of the first operational amplifier is connected with the output end of the first operational amplifier, and the output end of the first operational amplifier is further electrically connected with the acquisition module.
Optionally, the acquisition module includes: a second operational amplifier, a third resistor and a fourth resistor;
the negative phase input end of the second operational amplifier is connected with the output end of the calibration module, the positive phase input end of the second operational amplifier is connected with the battery through the third resistor, the output end of the second operational amplifier is connected with the input end of the amplification module, and the output end of the second operational amplifier is electrically connected with the negative phase input end of the second operational amplifier;
one end of the fourth resistor is connected with the positive phase input end of the second operational amplifier, and the other end of the fourth resistor is grounded.
Optionally, the acquisition module further includes:
one end of the fifth resistor is connected with the output end of the second operational amplifier, and the other end of the fifth resistor is connected with the negative phase input end of the second operational amplifier;
and the negative phase input end of the second operational amplifier is electrically connected with the output end of the second operational amplifier through the fifth resistor.
Optionally, the voltage amplifying module includes: a third operational amplifier, a sixth resistor and a seventh resistor;
and the positive phase input end of the third operational amplifier is connected with the output end of the acquisition module, the negative phase input end of the third operational amplifier is grounded through the seventh resistor, and the output end of the third operational amplifier is connected with the negative phase input end of the third operational amplifier through the sixth resistor.
Optionally, the display module includes an STM8S105K4 chip;
an AIN0/PB0 pin of the STM8S105K4 chip is electrically connected with an output end of the amplification module; a VSS pin, a VCAP pin, a VDD pin, a VDDIO pin and a VSSA pin of the STM8S105K4 chip are all grounded, and a VDDA pin of the STM8S105K4 chip is connected with an output end of the calibration module; the VDD pin and the VDDIO pin are further adapted to be connected to an external power source.
Optionally, the display module further includes: the circuit comprises a first capacitor, a second capacitor, a third capacitor, a first inductor and a second inductor;
the positive electrode of the first capacitor is connected with the VCAP pin, the negative electrode of the first capacitor is connected with the negative electrode of the second capacitor, and the negative electrode of the first capacitor is grounded;
the positive electrode of the second capacitor is connected with the common end of the VDD pin and the VDDIO pin;
the first end of the first inductor is connected with the output end of the calibration module, and the second end of the first inductor is connected with the VDDA pin;
the first end of the second inductor is connected with the VSSA pin, and the second end of the second inductor is grounded;
and the positive electrode of the third capacitor is connected with the second end of the first inductor, and the negative electrode of the third capacitor is connected with the first end of the second inductor.
Optionally, the battery power detection apparatus further includes: an eighth resistor and a fourth capacitor;
the first end of the eighth resistor is connected with the output end of the amplifying module, and the second end of the eighth resistor is connected with the input end of the display module;
and the positive electrode of the fourth capacitor is connected with the second end of the eighth resistor, and the negative electrode of the fourth capacitor is grounded.
A second aspect of an embodiment of the present invention provides a lamp, which includes a bluetooth lamp and a battery, and the battery power detection apparatus according to any one of the first aspect of the embodiment, connected to the bluetooth lamp and the battery.
Compared with the prior art, the battery power detection device and the lamp in the embodiment of the invention have the beneficial effects that: in this embodiment, the calibration module calibrates the power supply voltage to the battery reference voltage; the acquisition module acquires voltages at two ends of the battery and performs voltage division processing on the battery voltage; the amplification module amplifies the voltage output by the acquisition module; the display module is connected with the amplification module and the calibration module and used for performing voltage compensation processing on the voltage output by the amplification module. Through the calibration module, the power supply voltage is calibrated to be the battery reference voltage, and meanwhile, the display module compensates the detected battery voltage, so that the accuracy and the stability of the detection of the battery electric quantity are improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required to be used in the embodiments or the prior art description will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings may be obtained according to these drawings without inventive labor.
Fig. 1 is a schematic structural diagram of a battery power detection apparatus according to an embodiment of the present invention;
fig. 2 is a schematic circuit diagram of a battery power detection apparatus according to an embodiment of the present invention;
fig. 3 is a schematic circuit diagram of a reference voltage source according to an embodiment of the invention;
fig. 4 is a schematic circuit structure diagram of an STM8S105K4 chip according to an embodiment of the present invention;
fig. 5 is a schematic flow chart illustrating an implementation process of detecting battery power by the battery power detection apparatus according to the embodiment of the present invention.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
In order to illustrate the technical means of the present invention, the following description is given by way of specific examples.
Example one
Referring to fig. 1, a battery power detection apparatus according to an embodiment of the present invention includes a calibration module 100, an acquisition module 200, an amplification module 300, and a display module 400.
The calibration module 100 is connected to an external power source and calibrates a power voltage to a battery reference voltage.
And the acquisition module 200 is connected with the calibration module 100, acquires voltages at two ends of the battery, and performs voltage division processing on the voltage of the battery.
And the amplifying module 300 is connected with the collecting module 200 and amplifies the voltage output by the collecting module 200.
And a display module 400 connected to the amplification module 300 and the calibration module 100, for performing voltage compensation processing on the voltage output by the amplification module 300 and displaying the battery power.
In the above battery power detection apparatus, the calibration module 100 calibrates the power voltage to the battery reference voltage, the collection module 200 collects the voltages at the two ends of the battery and divides the voltage of the battery, the amplification module 300 amplifies the voltage output by the collection module 200, and the display module 400 performs voltage compensation processing on the voltage output by the amplification module 300. Through the calibration module, the power supply voltage is calibrated to be the battery reference voltage, and meanwhile, the display module compensates the detected battery voltage, so that the accuracy and the stability of the detection of the battery electric quantity are improved.
Referring to fig. 2 and 3, in one embodiment, the calibration module 100 may include a reference voltage source U11. The input end of the reference voltage source U11 is connected with an external power supply, and the output end is electrically connected with the acquisition module 200. Specifically, referring to fig. 3, which is a schematic circuit diagram of a reference voltage source U11 according to an embodiment of the present invention, a VIN pin and an EN pin of the reference voltage source U11 are connected to an external power source of 5.5V, and are connected to an anode of a capacitor C30. The negative electrode of the capacitor C30 is connected with the GND pin of the reference voltage source U11, and the negative electrode of the capacitor C30 is grounded. And a Vref pin of the reference voltage source U11 is electrically connected with the acquisition module 200 and is also connected with the positive electrode of a capacitor C31, and the negative electrode of the capacitor C31 is grounded.
Further, the calibration module 100 may further include a first resistor R36, a second resistor R41, and a first operational amplifier U7A. Specifically, a first end of the first resistor R36 is connected to the output end of the reference voltage source U11, and a second end of the first resistor R36 is connected to the second resistor R41. The other end of the second resistor R41 is grounded. The positive phase input end of the first operational amplifier U7A is connected to the second end of the first resistor R36, the negative phase input end of the first operational amplifier U7A is connected to the output end of the first operational amplifier U7A, and the output end of the first operational amplifier U7A is further electrically connected to the acquisition module 200.
The first resistor R36 and the second resistor R41 have a voltage reduction function, and the voltage of the reference voltage source U11 is reduced to a reference voltage of the battery. Specifically, after the 3.3V voltage of the reference voltage source U11 passes through the first resistor R36 and the second resistor R41, the output voltage is the reference voltage of the battery. Preferably, the reference voltage of the battery in this embodiment is 2.5V.
Referring to fig. 2, in one embodiment, the acquisition module 200 may include a second operational amplifier U7B, a third resistor R40, and a fourth resistor R42.
Specifically, the negative phase input end of the second operational amplifier U7B is connected to the output end of the calibration module 100, the positive phase input end is connected to the battery through the third resistor R40, the output end is connected to the input end of the amplification module 300, and the output end of the second operational amplifier U7B is electrically connected to the negative phase input end of the second operational amplifier U7B. One end of the fourth resistor R42 is connected to the non-inverting input terminal of the second operational amplifier U7B, and the other end is grounded. The third resistor R40 and the fourth resistor R42 have a voltage division function, and divide the acquired battery voltage.
Further, the acquisition module 200 may further include: a fifth resistor R31 and a resistor R37.
Specifically, one end of the fifth resistor R31 is connected to the output end of the second operational amplifier U7B, and the other end is connected to the negative-phase input end of the second operational amplifier U7B. The negative phase input end of the second operational amplifier U7B is electrically connected to the output end of the second operational amplifier U7B through the fifth resistor R31. One end of the resistor R37 is electrically connected to the calibration module 100, and the other end is connected to the negative phase input end of the second operational amplifier U7B.
Referring to fig. 2, in one embodiment, the amplification module 300 may include: a third operational amplifier U7D, a sixth resistor R32, and a seventh resistor R34.
Specifically, a positive phase input end of the third operational amplifier U7D is connected to the output end of the acquisition module 200, a negative phase input end of the third operational amplifier U7D is grounded through the seventh resistor R34, and an output end of the third operational amplifier U7D is connected to a negative phase input end of the third operational amplifier U7D through the sixth resistor R32. In addition, the amplifying module 300 may further include a resistor R39, where one end of the resistor R39 is connected to the output end of the acquiring module 200, and the other end of the resistor R39 is connected to the non-inverting input end of the third operational amplifier U7D.
The sixth resistor R32 and the seventh resistor R34 amplify the battery voltage output by the acquisition module 200. The amplification module 300 amplifies the battery voltage output by the collection module 200 in a positive proportion, and amplifies the battery voltage output by the collection module 200 through a sixth resistor R32 and a seventh resistor R34, preferably, the amplification ratio is (R32/R34) +1.
In one embodiment, the display module 400 may include an STM8S105K4 chip.
Specifically, referring to fig. 4, a schematic circuit structure diagram of an STM8S105K4 chip according to an embodiment of the present invention is provided. And an AIN0/PB0 pin of the STM8S105K4 chip is electrically connected with the output end of the amplification module 300. The VSS pin, the VCAP pin, the VDD pin, the VDDIO pin and the VSSA pin of the STM8S105K4 chip are all grounded, and the VDDA pin of the STM8S105K4 chip is connected with the output end of the calibration module 100. The VDD pin and the VDDIO pin are further adapted to be connected to an external power source.
Further, the display module 400 may further include a first capacitor C4, a second capacitor C6, a third capacitor C7, a first inductor L2, and a second inductor L3.
Specifically, the positive electrode of the first capacitor C4 is connected to a VCAP pin of the STM8S105K4 chip, the negative electrode of the first capacitor C4 is connected to the negative electrode of the second capacitor C6, and the negative electrode of the first capacitor C4 is grounded. And the anode of the second capacitor C6 is connected with the common end of a VDD pin and a VDDIO pin of the STM8S105K4 chip. The first end of the first inductor L2 is connected with the output end of the acquisition module 200, and the second end is connected with the VDDA pin of the STM8S105K4 chip. And the first end of the second inductor L3 is connected with the VSSA pin, and the second end of the second inductor L3 is grounded. And the anode of the third capacitor C7 is connected with the second end of the first inductor L2, and the cathode of the third capacitor C7 is connected with the first end of the second inductor L3.
Optionally, in this embodiment, the value of the first capacitor C4 is 1uF, the value of the second capacitor C6 is 0.1uF, the value of the third capacitor C7 is 0.1uF, the value of the first inductor L2 is 10mH, and the value of the second inductor L3 is 10mH.
Further, the battery level detecting device may further include an eighth resistor R38 and a fourth capacitor C24. A first end of the eighth resistor R38 is connected to the output end of the amplifying module 300, and a second end of the eighth resistor R38 is connected to the input end of the display module 400. The positive electrode of the fourth capacitor C24 is connected to the second end of the eighth resistor R38, and the negative electrode is grounded.
The following describes a specific process of the battery level detection apparatus for detecting the battery level, which is detailed as follows:
s501, the calibration module 100 calibrates the 3.3V voltage of the reference voltage U11 to a battery reference voltage 2.5V, and inputs the battery reference voltage to the acquisition module 200.
The reference voltage U11 is 3.3V and is connected to an external power source, and the voltage drops the reference voltage to the battery reference voltage through the first resistor R36 and the second resistor R41. For example, the voltage range of the lithium iron phosphate battery is 2.5V-3.65V, and the reference voltage is 2.5V, that is, the calibration module 100 drops the reference voltage to the battery reference voltage of 2.5V, and the stability of the detection voltage is determined by the reference voltage.
S502, the collecting module 200 collects the battery voltage, divides the battery voltage according to the third resistor R40 and the fourth resistor R42, and inputs the divided battery voltage to the amplifying module 300.
The battery reference voltage output by the calibration module 100 enters the acquisition module 200 through the resistor R37, and the acquisition module 200 acquires the voltage across the battery. The acquisition module 200 divides the acquired battery voltage through the third resistor R40 and the fourth resistor R42 to stabilize the battery voltage. The acquisition module 200 inputs the battery reference voltage and the battery voltage after voltage division into the second operational amplifier U7B, and the second operational amplifier U7B outputs the voltage to the amplification module 300.
S503, the amplifying module 300 amplifies the battery voltage output by the collecting module 200 according to the resistances of the sixth resistor R32 and the seventh resistor R34, and inputs the amplified battery voltage to the display module 400.
The amplifying module 300 receives the voltage output by the collecting module 200. The amplification module 300 amplifies the battery voltage output by the collection module 200 in a positive proportion, and amplifies the battery voltage output by the collection module 200 through a sixth resistor R32 and a seventh resistor R34, preferably, the amplification ratio is (R32/R34) +1. The battery voltage is amplified to 2.5-3.65V by the amplification processing of the amplification module 300.
S504, the display module 400 performs voltage compensation processing on the battery voltage output by the amplifying module 300 according to the battery reference voltage of the calibration module 100, and displays the detected battery power.
The voltage subjected to the amplification process by the amplification module 300 enters the display module 400 through R38. The STM8S105K4 chip of the display module 400 converts continuously variable analog voltage signals to discrete digital voltage signals. The calibration module 100 is connected with the battery reference voltage, the STM8S105K4 chip performs voltage compensation on the received amplified battery voltage according to the battery reference voltage, the detected battery electric quantity is displayed, and the accuracy of battery electric quantity detection is improved.
In this embodiment, the calibration module is the battery reference voltage with mains voltage calibration, and collection module gathers battery both ends voltage to carry out the partial pressure to battery voltage and handle, it is right that the amplifier module is right the voltage of collection module output is enlargied and is handled, display module with the amplifier module is connected, still with the calibration module is connected, adopts STM8S105K4 chip, is used for right the voltage of amplifier module output carries out voltage compensation and handles, has realized improving battery power detection' S accuracy and stability.
Example two
The embodiment provides a lamp, which comprises a bluetooth lamp, a battery and any battery power detection device connected with the bluetooth lamp and the battery as in the first embodiment, and has the beneficial effects of the battery power detection device.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit may be implemented in the form of hardware, or may also be implemented in the form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments described above may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U.S. disk, removable hard disk, magnetic diskette, optical disk, computer Memory, read-Only Memory (ROM), random Access Memory (RAM), electrical carrier wave signal, telecommunications signal, and software distribution medium, etc. It should be noted that the computer readable medium may contain other components which may be suitably increased or decreased as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media which may not include electrical carrier signals and telecommunications signals in accordance with legislation and patent practice.
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.

Claims (8)

1. A battery level detection apparatus, comprising:
the calibration module is connected with an external power supply and calibrates the power supply voltage into a battery reference voltage;
the acquisition module is connected with the calibration module, acquires voltages at two ends of the battery and performs voltage division processing on the battery voltage;
the amplification module is connected with the acquisition module and is used for amplifying the voltage output by the acquisition module;
the display module is connected with the amplification module and the calibration module, performs voltage compensation processing on the voltage output by the amplification module, and displays the electric quantity of the battery;
the calibration module includes: the input end of the reference voltage source is connected with an external power supply, and the output end of the reference voltage source is electrically connected with the acquisition module;
the acquisition module comprises: a second operational amplifier, a third resistor and a fourth resistor;
the negative phase input end of the second operational amplifier is connected with the output end of the calibration module, the positive phase input end of the second operational amplifier is connected with the battery through the third resistor, the output end of the second operational amplifier is connected with the input end of the amplification module, and the output end of the second operational amplifier is also electrically connected with the negative phase input end of the second operational amplifier;
one end of the fourth resistor is connected with the positive phase input end of the second operational amplifier, and the other end of the fourth resistor is grounded.
2. The battery level detection apparatus of claim 1, wherein the calibration module further comprises: a first resistor, a second resistor and a first operational amplifier;
the first end of the first resistor is connected with the output end of the reference voltage source, and the second end of the first resistor is connected with one end of the second resistor;
the other end of the second resistor is grounded;
the positive phase input end of the first operational amplifier is connected with the second end of the first resistor, the negative phase input end of the first operational amplifier is connected with the output end of the first operational amplifier, and the output end of the first operational amplifier is further electrically connected with the acquisition module.
3. The battery power level detection apparatus of claim 1, wherein the acquisition module further comprises:
one end of the fifth resistor is connected with the output end of the second operational amplifier, and the other end of the fifth resistor is connected with the negative phase input end of the second operational amplifier;
and the negative phase input end of the second operational amplifier is electrically connected with the output end of the second operational amplifier through the fifth resistor.
4. The battery level detection apparatus of claim 1, wherein the amplification module comprises: a third operational amplifier, a sixth resistor and a seventh resistor;
and the positive phase input end of the third operational amplifier is connected with the output end of the acquisition module, the negative phase input end of the third operational amplifier is grounded through the seventh resistor, and the output end of the third operational amplifier is connected with the negative phase input end of the third operational amplifier through the sixth resistor.
5. The battery level detection apparatus of claim 1, wherein the display module comprises an STM8S105K4 chip;
an AIN0/PB0 pin of the STM8S105K4 chip is electrically connected with an output end of the amplification module; a VSS pin, a VCAP pin, a VDD pin, a VDDIO pin and a VSSA pin of the STM8S105K4 chip are all grounded, and a VDDA pin of the STM8S105K4 chip is connected with an output end of the calibration module; the VDD pin and the VDDIO pin are further adapted to connect with an external power source.
6. The battery power level detecting apparatus of claim 5, wherein the display module further comprises: the circuit comprises a first capacitor, a second capacitor, a third capacitor, a first inductor and a second inductor;
the positive electrode of the first capacitor is connected with the VCAP pin, the negative electrode of the first capacitor is connected with the negative electrode of the second capacitor, and the negative electrode of the first capacitor is grounded;
the anode of the second capacitor is connected with the common end of the VDD pin and the VDDIO pin;
the first end of the first inductor is connected with the output end of the calibration module, and the second end of the first inductor is connected with the VDDA pin;
the first end of the second inductor is connected with the VSSA pin, and the second end of the second inductor is grounded;
and the positive electrode of the third capacitor is connected with the second end of the first inductor, and the negative electrode of the third capacitor is connected with the first end of the second inductor.
7. The battery charge level detection apparatus according to any one of claims 1 to 6, further comprising: an eighth resistor and a fourth capacitor;
the first end of the eighth resistor is connected with the output end of the amplifying module, and the second end of the eighth resistor is connected with the input end of the display module;
and the positive electrode of the fourth capacitor is connected with the second end of the eighth resistor, and the negative electrode of the fourth capacitor is grounded.
8. A light fixture comprising a bluetooth light and a battery, and the battery level detection device of any one of claims 1 to 7 connected to the bluetooth light and the battery.
CN201710743349.8A 2017-08-25 2017-08-25 Battery electric quantity detection device and lamp Active CN107479001B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710743349.8A CN107479001B (en) 2017-08-25 2017-08-25 Battery electric quantity detection device and lamp

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710743349.8A CN107479001B (en) 2017-08-25 2017-08-25 Battery electric quantity detection device and lamp

Publications (2)

Publication Number Publication Date
CN107479001A CN107479001A (en) 2017-12-15
CN107479001B true CN107479001B (en) 2023-04-04

Family

ID=60602552

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710743349.8A Active CN107479001B (en) 2017-08-25 2017-08-25 Battery electric quantity detection device and lamp

Country Status (1)

Country Link
CN (1) CN107479001B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108169686A (en) * 2017-12-19 2018-06-15 深圳市赛尔美电子科技有限公司 Battery electric quantity detection circuit and method
WO2023108540A1 (en) * 2021-12-16 2023-06-22 宁德时代新能源科技股份有限公司 Voltage measurement circuit and method, and circuit board and control module
CN115113089A (en) * 2022-06-30 2022-09-27 苏州浪潮智能科技有限公司 Electric quantity monitoring device, power supply and server

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101806867A (en) * 2010-03-12 2010-08-18 中兴通讯股份有限公司 Method and device for measuring electric quantity of mobile phone battery
JPWO2013001682A1 (en) * 2011-06-30 2015-02-23 パナソニック株式会社 Analog measurement data detection system, battery voltage detection system
CN102809729B (en) * 2012-05-11 2016-01-13 武汉中原电子集团有限公司 A kind of electrokinetic cell electric quantity metering device
CN103852726A (en) * 2012-11-29 2014-06-11 海洋王(东莞)照明科技有限公司 Battery electric quantity detection device
CN103197111B (en) * 2013-01-06 2015-09-09 浙江中碳科技有限公司 The comprehensive detection method of quantity of electricity of three-phase alternating current and testing circuit
CN103792489B (en) * 2013-11-22 2017-03-22 广州视源电子科技股份有限公司 Improved method for measuring and calculating system battery capacity
CN207440254U (en) * 2017-08-25 2018-06-01 深圳金仕盾照明科技有限公司 Battery electric quantity checking device and lamps and lanterns

Also Published As

Publication number Publication date
CN107479001A (en) 2017-12-15

Similar Documents

Publication Publication Date Title
CN107479001B (en) Battery electric quantity detection device and lamp
US20120316817A1 (en) Measurement circuit for measuring direct current resistance of inductor
CN107181300A (en) Charge protector, the method and apparatus for calibrating charging equipment
CN102755161A (en) Lead drop detection device and method for electrocardio monitoring
CN113489466B (en) Circuit for eliminating signal offset of charge amplifier
CN207946465U (en) A kind of electronic signal detection device
CN106911311A (en) For the signal amplification circuit of water quality monitoring
CN204989290U (en) Wide dynamic range's high -pressure side current detection circuit
CN210225354U (en) Isolated sampling circuit
CN211697923U (en) High-precision constant-resistance analog load adjusted through program-controlled digital potentiometer
CN104267262B (en) A kind of high-precision loop resistance intelligent tester
CN110346731B (en) Battery current detection circuit for communication
CN210514568U (en) Sine excitation source for UPS storage battery detection system
CN203242183U (en) Remote teaching system based on biological signal
CN106469501A (en) Acoustic emission detector Multichannel data acquisition module
CN104485914A (en) Detection and processing circuit for biological weak signal
CN210405235U (en) Signal amplification circuit of four-quadrant detector
WO2017148044A1 (en) Sampling device compensating for operational amplifier offset voltage by increasing operational amplifier input voltage
CN207440254U (en) Battery electric quantity checking device and lamps and lanterns
CN204272046U (en) A kind of biological Detection of Weak Signals and treatment circuit
CN107219392B (en) Real-time current signal data processing system
CN203554417U (en) SAR ADC (Successive Approximation Register Analog to Digital Converter) circuit and electronic equipment
CN216117782U (en) Small voltage signal sampling circuit
CN215768763U (en) Voltage detection sampling circuit
CN214101314U (en) Micro signal conditioning circuit

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