[go: up one dir, main page]

CN109298339A - A kind of voltage detecting circuit, battery capacity prompt system and voltage detection method - Google Patents

A kind of voltage detecting circuit, battery capacity prompt system and voltage detection method Download PDF

Info

Publication number
CN109298339A
CN109298339A CN201811211038.8A CN201811211038A CN109298339A CN 109298339 A CN109298339 A CN 109298339A CN 201811211038 A CN201811211038 A CN 201811211038A CN 109298339 A CN109298339 A CN 109298339A
Authority
CN
China
Prior art keywords
circuit
voltage
digital
output
signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811211038.8A
Other languages
Chinese (zh)
Inventor
王海
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Boon Electronic Co Ltd
Original Assignee
Hangzhou Boon Electronic 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 Hangzhou Boon Electronic Co Ltd filed Critical Hangzhou Boon Electronic Co Ltd
Priority to CN201811211038.8A priority Critical patent/CN109298339A/en
Publication of CN109298339A publication Critical patent/CN109298339A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R19/00Arrangements for measuring currents or voltages or for indicating presence or sign thereof
    • G01R19/25Arrangements for measuring currents or voltages or for indicating presence or sign thereof using digital measurement techniques
    • G01R19/2503Arrangements for measuring currents or voltages or for indicating presence or sign thereof using digital measurement techniques for measuring voltage only, e.g. digital volt meters (DVM's)

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Secondary Cells (AREA)

Abstract

The present invention provides a kind of voltage detecting circuit, battery capacity prompt system and voltage detection method.Voltage detecting circuit based on digital circuit, including digital circuit, conversion circuit and comparison circuit.Wherein digital circuit has the first output end, an input terminal and second output terminal, the first output end output digit signals;First output end of the input terminal coupling digital circuit of conversion circuit;The first input end of comparison circuit receives the voltage signal for characterizing voltage to be detected, the output end of the second input terminal coupling conversion circuit of comparison circuit, the input terminal of the output end coupling digital circuit of comparison circuit;Wherein digital circuit obtains voltage level to be detected based on the output signal of comparison circuit, and provides control signal in the second output terminal of digital circuit, wherein control signal is generated based on voltage level to be detected.Voltage detecting circuit in above-described embodiment, battery capacity prompt system and voltage detection method, two pins that detection has only taken up digital circuit can be realized, and be conducive to the extension of the other functions of digital circuit.The complexity, volume and cost for reducing system simultaneously, are conducive to the system integration, improve the reliability of the more severe portable power tool of working environment.

Description

A kind of voltage detecting circuit, battery capacity prompt system and voltage detection method
Technical field
The present invention relates to electronic circuits, and in particular to voltage detecting circuit, battery capacity prompt system and voltage detecting side Method.
Background technique
To electric tool, because may there is no a mains supply in a few thing occasion, or using power supply line to work belt come Inconvenience, therefore the portable power tool of internal battery has great advantages.However, unexpected not enough of battery capacity can be given Work causes to perplex.Therefore, the instruction of battery charge level is also most important in order to charge, prevent to power off suddenly in time 's.
In a kind of circuit control of portable power tool, in order to reduce research and development cost, facilitate expansion control function, adopt With digit chip.Fig. 1 shows the battery capacity detection scheme based on digit chip in a kind of correlation technique.In the program In, digital circuit exports the digital signal of the different reference quantities of multiple instructions, using multiple digital-to-analogues (A/D) converter, by multiple numbers Word signal is converted into analog, then believes multiple analogs with the voltage of indicating battery electric quantity level respectively Number Vs is compared, then multiple comparison signals are inputted digital circuit, carries out the judgement of battery capacity.
In this fashion, digital circuit needs to provide multiple digital reference signals, and receives multiple comparison signals and come in fact The detection of existing electricity, occupies the more pin of digit chip.When the required precision of detection improves, the pin of digit chip is very It cannot extremely meet the requirements again.And occupy the expansion that excessive pin also interferes the other functions of digit chip.In addition, program volume Multiple A/D converters and multiple comparators are used outside, considerably increase the volume and cost of system.
Summary of the invention
An object of the present invention is to provide one kind can eliminate in correlation technique one or more defects based on number The voltage detecting circuit of circuit, battery capacity prompt system and voltage detection method.
One aspect of the present invention proposes a kind of voltage detecting circuit based on digital circuit, comprising:
Digital circuit has the first output end, an input terminal and second output terminal, wherein the first output end output number letter Number;
Conversion circuit has input terminal and output end, the first output end of the input terminal coupling digital circuit of conversion circuit;
Comparison circuit has first input end, the second input terminal and output end, and wherein the first input end of comparison circuit connects Receive the voltage signal for characterizing voltage to be detected, the output end of the second input terminal coupling conversion circuit of comparison circuit, comparison circuit Output end coupling digital circuit input terminal;
Wherein digital circuit obtains voltage level to be detected based on the output signal of comparison circuit, and the of digital circuit Two output ends provide control signal, wherein control signal is generated based on the level of voltage to be detected.
In one embodiment, digital circuit includes micro-control unit (MCU).
In one embodiment, wherein digital circuit is produced on microcontroller chip, conversion circuit and comparison circuit production On simulated wafer, microcontroller chip and simulated wafer are located in a chip package.
In one embodiment, the digital signal of the first output end of digital circuit output provides difference by adjusting duty ratio The reference voltage of threshold value.
In one embodiment, digital circuit exports the number letter of different duty at times in a detection cycle Number, detection cycle is followed bad.
In one embodiment, conversion circuit includes differential circuit.
In one embodiment, conversion circuit includes:
Resistance has a first end and a second end, the first output end of the first end coupling digital circuit of resistance;And
Capacitor has a first end and a second end, wherein the second end of the first end coupling resistance of capacitor and comparison circuit The second end of second input terminal, capacitor couples ground terminal.
In one embodiment, control signal is input to the input terminal of illumination driving circuit, control the frequency of signal with to Detection voltage level is inversely related.
In one embodiment, voltage to be detected characterizes battery dump energy.
Another aspect of the present invention proposes a kind of battery capacity prompt system, comprising:
Voltage detecting circuit described in any embodiment as above, wherein voltage to be detected is the output voltage of battery;And
Illumination driving circuit has input terminal and output end, and wherein the input terminal of illumination driving circuit couples digital circuit Second output terminal, the output end of illumination driving circuit couples LED light.
In one embodiment, in operation, when the output voltage of battery is higher than first threshold, LED light is always on;Work as electricity When the output voltage in pond is lower than first threshold, LED light is flashed with first frequency;When the output voltage of battery is lower than second threshold When, LED light is flashed with second frequency, and wherein first threshold is greater than second threshold, and first frequency is lower than second frequency.
An additional aspect of the present invention proposes a kind of voltage detection method based on digital circuit, comprising:
The digital signal of different duty is provided at times;
Digital signal is filtered acquisition filtering signal;
Voltage signal to be detected is compared with filtering signal;
Voltage level to be detected is obtained based on comparative result.
Voltage detecting circuit in above-described embodiment, battery capacity prompt system and voltage detection method, detection only account for It can be realized with two pins of digital circuit, be conducive to the extension of the other functions of digital circuit.System is reduced simultaneously Complexity, volume and cost are conducive to the system integration, and the frequency control signal of digital circuit output is conducive to through an illumination Device realizes illumination and capacity prompt multiplexing simultaneously, reduces the quantity of external illuminating device, reduces electric leakage probability, improve The reliability of the more severe portable power tool of working environment.
Detailed description of the invention
Fig. 1 shows the battery capacity detection scheme based on digit chip in a kind of correlation technique;
Fig. 2 shows the according to an embodiment of the invention voltage detecting circuit schematic diagram based on digital circuit;
Fig. 3 shows battery capacity prompt system schematic diagram according to an embodiment of the invention;
Fig. 4 shows operation waveform diagram according to an embodiment of the invention;
Fig. 5 shows the schematic diagram of portable power tool according to an embodiment of the invention;
Fig. 6 shows the voltage detection method flow diagram according to an embodiment of the invention based on digital circuit.
Identical label represents the same or similar component or composition in different schematic diagrames.
Specific embodiment
For a further understanding of the present invention, the preferred embodiment of the invention is described below with reference to embodiment, still It should be appreciated that these descriptions are only further explanation the features and advantages of the present invention, rather than to the claims in the present invention Limitation.
The description of the part is just for several typical embodiments, and the invention is not limited to the ranges of embodiment description. Some technical characteristics in same or similar prior art means and embodiment be replaced mutually also in present invention description and In the range of protection.
" coupling " in specification includes to be directly connected to, also comprising being indirectly connected with, as by electrically-conducting medi such as conductor Connection, wherein the electrically-conducting medi can contain parasitic inductance or parasitic capacitance.It may additionally include achievable same or similar function By the connection of other active devices or passive device on the basis of purpose, such as by switching, following circuit circuit or component Connection.
Fig. 2 shows the according to an embodiment of the invention voltage detecting circuit schematic diagram based on digital circuit.Voltage inspection Slowdown monitoring circuit includes digital circuit 21, conversion circuit 22 and comparison circuit 23, for detecting the voltage level of voltage to be detected.Wherein Conversion circuit 22 and comparison circuit 23 are analog circuit.Digital circuit 21 has the first output end do1, an input terminal din and the Two output end Ctrl, wherein the first output end exports a digital signal do1.In one embodiment, the first output end exports Digital signal do1 by adjust duty ratio the reference voltage of different threshold values is provided.In a specific embodiment, number electricity The digital signal do1 for exporting different duty in Lu Yi detection cycle at times, for providing different threshold values at times Reference voltage, then circulating repetition detection cycle, signal do1 shown in Figure 4 will be described in detail later.
Conversion circuit 22 has input terminal and output end, wherein the of the input terminal coupling digital circuit 21 of conversion circuit 22 One output end do1, the output end of conversion circuit 22 provide conversion voltage Vf, are analog.Analog Vf's Voltage level corresponds to the reference voltage level that the digital signal do1 of the offer of digital circuit 21 is represented.In one embodiment, it converts Circuit includes filter circuit, and analog Vf is proportional to the duty ratio of digital signal do1.Certainly, due to digital signal do1 Duty ratio change in a detection cycle to provide multiple and different duty ratios, analog Vf is also a variation Value, and analog Vf can have certain hesitation with the duty ratio of digital signal do1.
In one embodiment, conversion circuit 22 includes filter circuit, for exporting filtering voltage Vf.In one embodiment In, filter circuit includes differential circuit.In the illustrated embodiment, conversion circuit includes resistance R and capacitor C.Wherein resistance R has There are first end and second end, the first output end do1 of the first end coupling digital circuit 21 of resistance R.Capacitor C have first end and Second end, wherein the second input terminal of the second end of the first end coupling resistance R of capacitor C and comparison circuit 23, the second of capacitor C End coupling ground terminal.
Certainly, any other applicable structure also can be used in conversion circuit 22, for digital signal do1 to be converted into simulating Signal Vf.In one embodiment, analog Vf is controlled by the duty ratio of digital signal do1, it is preferable that reference signal Vf is proportional to the duty ratio of do1.
Comparison circuit 23 has first input end, the second input terminal and output end, wherein the first input of comparison circuit 23 End receives the voltage signal Vs for characterizing voltage to be detected, the output of the second input terminal coupling conversion circuit 22 of comparison circuit 23 End, the input terminal din of the output end coupling digital circuit 21 of comparison circuit 23.Output of the digital circuit 21 based on comparison circuit 23 Signal din obtains the level of signal Vs, to obtain the level of voltage to be detected, and in the second output terminal of digital circuit 21 Ctrl provides control signal, wherein control signal Ctrl is generated based on the level of voltage to be detected.In one embodiment, it controls The duty ratio of signal Ctrl is proportional to the voltage signal Vs for characterizing voltage to be detected.
In the illustrated embodiment, the first input end of comparison circuit 23 be inverting input terminal, the second of comparison circuit 23 Input terminal is non-inverting input terminal, and when voltage signal Vs is lower than analog Vf, comparator exports high level.Pass through variation Analog Vf correspond to the output situation of comparison circuit 23 again, digital circuit 21 can get the level of voltage to be detected. Certainly, in another embodiment, the first input end for the voltage signal Vs that the reception of comparison circuit characterizes voltage to be detected can The second input terminal for non-inverting input terminal, comparison circuit is inverting input terminal, by accordingly changing the judgement mark in digital circuit Identical detection can be realized in standard.
In one embodiment, voltage to be detected characterizes battery dump energy.In one embodiment, signal Ctrl is controlled It is input to the input terminal of illumination driving circuit, the level of electricity is indicated by control signal Ctrl.In one embodiment, it controls The frequency of signal Ctrl is inversely related with voltage level to be detected, i.e., voltage to be detected is lower, the flicker frequency of illuminating device It is faster, it prompts battery capacity fewer, has given the intuitive capacity prompt of user.
In one embodiment, digital circuit 21 includes micro-control unit (MCU).In some embodiments, digital circuit It can be CPLD (Complex Programmable Logic Device) chip or ARM (Advanced RISC Microprocessor) chip or DSP (digital singnalprocessor) chip or FPGA (Field- Programmable GateArray) chip.
Detection mode and detection structure in this way are believed by providing different references based on a digital signal at times Number, and the output state by detecting comparison circuit 23 at times obtains the level of voltage to be detected, has only taken up digital electricity Two pins on road 21 can be realized, and be conducive to the extension of the other functions of digital circuit.And without additional digital-to-analogue conversion Chip reduces the complexity, volume and cost of system, is conducive to the system integration, favorably without multiple comparison circuits are used In improving relatively severe such as moist, the such tool of vibration the reliability of this working environment of portable power tool, it is suitable for Among electric tool.
In one embodiment, digital circuit 21 is produced on a microcontroller chip, conversion circuit 22 and comparison circuit 23 It is produced on a simulated wafer, microcontroller chip and simulated wafer are made in a chip package by multi-die package technique. In this way, circuit system system can be realized by an encapsulation chip, the integrated level of system is improved, portable electric is improved and starts building The circuit reliability of tool, is suitable for the application of among electric tool.
Fig. 3 shows battery capacity prompt system schematic diagram according to an embodiment of the invention.Battery capacity prompt system System includes voltage detecting circuit and illumination driving circuit 34.The battery 31 of voltage detecting circuit detection characterization battery dump energy Output voltage Vbat, and control signal Ctrl is provided for driving illuminating device 35 to carry out according to the output voltage Vbat of battery 31 The prompt of battery capacity, wherein voltage to be detected is the output voltage Vbat of battery 31.Voltage detecting circuit includes digital circuit 21, conversion circuit 22 and comparison circuit 23, specifically can refer to other positions in the corresponding embodiment of Fig. 2 and the application about electricity Press the description of detection circuit.
Voltage detecting circuit can also further comprise sample circuit 32, for receiving the output voltage Vbat of battery 31, obtain Obtain sampled signal Vs.In this way, signal Vs can characterize voltage Vbat to be detected.In one embodiment, sample circuit includes voltage Bleeder circuit, digital circuit can accordingly control the duty ratio of digital signal do1 according to the dividing ratios of voltage branch circuit, be used for Accurately obtain the voltage level of voltage Vbat to be detected.
Voltage detecting circuit can also further comprise voltage conversion circuit, for becoming the output voltage Vbat of battery into mistake It changes, the supply voltage for being suitble to driving digital circuit 21 is provided.
The signal that digital circuit 21 can be exported according to comparison circuit 23, the digital signal exported in conjunction with digital circuit itself Do1 judges the level of voltage Vbat to be detected, and further according to the water of the voltage Vbat to be detected of reflection battery dump energy It puts down to export illumination drive signal Ctrl.In a preferred embodiment, illumination drive signal Ctrl prompts electricity by frequency The electricity in pond, electricity is lower, and warning light flicker frequency is faster.
Illumination driving circuit 34 has input terminal and output end, wherein the input terminal coupling number electricity of illumination driving circuit 34 The second output terminal Ctrl on road 21, output end coupling light emitting diode (LED) of illumination driving circuit 34 is for driving LED light 35。
Illumination driving circuit 34 includes transistor Q, wherein the second output of the control terminal coupling digital circuit 21 of transistor Q The cathode of first end coupling LED light 35 of the end for receiving control signal Ctrl, transistor Q, the anode of transistor Q couple battery Output end for receiving supply voltage Vbat.The second end coupling ground terminal of transistor Q or other reference voltage terminals.In this way, The turn-on and turn-off of LED light 35 are corresponding with the control signal Ctrl that the second output terminal of digital circuit 21 exports.When control is believed When number Ctrl is high level, transistor Q conducting, LED light is lighted.When controlling signal Ctrl is low level, transistor Q shutdown, LED light is extinguished.By the frequency of control control signal Ctrl, the flicker frequency of LED light can be accordingly adjusted.
Illumination driving circuit 34 can also further comprise the bleeder circuit as shown in the figure being made of two resistance or other Circuit provide the control terminal voltage for being suitable for driving transistor Q for converting the amplitude of digital signal Ctrl.Illumination Driving circuit 34 can also further comprise that other circuits such as protect circuit, because being associated with system with the present application theme less, this In repeat no more.
In one embodiment, the frequency for controlling signal Ctrl is inversely related with voltage level Vbat or Vs to be detected, I.e. with the reduction of voltage level Vbat to be detected, LED light flicker frequency increases.When voltage Vbat is higher than first threshold voltage When, LED holding is always on, and when voltage Vbat is lower than first threshold voltage, LED light starts to flash, as voltage Vbat is further When falling below second threshold voltage, LED flicker frequency is accelerated, and wherein second threshold voltage is lower than first threshold voltage, the Normal voltage of one threshold voltage lower than cell voltage Vbat is horizontal.LED flicker frequency can be multi gear, with cell voltage Vbat Reduction and increase flicker frequency.In this way, LED can be used as illumination and battery capacity indication multiplexing lamp is only used for mentioning when electricity is normal For illumination;When electricity is lower, for prompting charge level, user is charged in time, it is ensured that work normally.This Kind illumination and battery capacity indication multiplexing lamp are added by an only lamp instead of a headlamp commonly used in the prior art outside More lamp schemes of the battery capacity indication lamp of a instruction charge level.
Certainly, when voltage Vbat is higher than first threshold voltage, LED light can also keep state of often going out, and be only used for prompting Charge level.In another embodiment, it when voltage Vbat is higher than first threshold voltage, can be controlled by an external switch Whether LED is to be always on or often go out, for selecting LED light as illumination and battery capacity indication multiplexing lamp.
Be analog circuit other than digital circuit 21 in battery capacity prompt system, facilitate by the analog circuit with just Other analog circuits in portable electric tool circuit system are produced on together in a chip, in this way, portable power tool is electric Road system only includes two chips.In one embodiment, portable power tool circuit system includes a general digital chip Intend chip with a custom mold.Portable power tool circuit system can also further comprise an illumination and battery capacity indication multiplexing lamp And other a small amount of function elements, reduce the number of chips of system and electric conductor that needs connect, reduces the complexity of system Degree, is conducive to the raising of system reliability, and the sealing for being also beneficial to circuit connection point reduces electric leakage probability.Exist for possible application For humidity, high temperature, the electric tool in vibration environment, the simplification of circuit system has very big meaning.
Fig. 4 shows waveform diagram according to an embodiment of the invention.The number of the first output end of digital circuit output Signal do1 Ts in each detection cycle exports multiple pulses at times, so that digital signal do1 has multiple and different duties Than.The digital signal do1 of diagram duty ratio in a detection cycle Ts successively increases, the ginseng constantly risen for providing amplitude Examine signal.Certainly, in other examples, digital signal do1 duty ratio in a detection cycle Ts can also successively drop It is low.In the illustrated embodiment, in a detection cycle Ts, corresponding duty ratio the accounting for than previous pulse of each pulse Sky is than high.It certainly, in other embodiments, can also be with every two or the duty of multiple pulses in a detection cycle Ts Than identical, but it is higher than the duty ratio of previous group pulse.Digital signal do1 can repeat a upper detection in next detection cycle Digital signal waveform in period, repetitive cycling.Certainly, difference can also be presented in digital signal do1 in multiple detection cycles Waveform.
Referring to situation 41, when the duty ratio of digital signal do1 successively increases, the analog of conversion circuit output Vf gradually rises, and is higher than the voltage signal Vs for characterizing voltage to be detected, comparison circuit output in time t1, analog Vf Signal din by the first level conversion be second electrical level.The signal din of diagram is when being transformed to high level by low level, to obtain The time point t1 needed.Certainly in other examples, it can be that low level is transformed to by high level in din, obtain needs Time point.Digital circuit receive signal din, according to signal din by the first level conversion be second electrical level time t1, determine t1 The duty ratio of corresponding digital signal do1, so that it is determined that voltage Vs is horizontal.And according to voltage Vs level in each detection cycle ts End exports corresponding frequency control signal Ctrl.In the illustrated embodiment, control signal Ctrl is at each end detection cycle ts It is adjusted and exports according to the testing result of the detection cycle.Certainly, in other embodiments, control signal Ctrl can also Using detect input signal din by the first level conversion as the time t1 of second electrical level after be adjusted immediately.In diagram In embodiment, control signal Ctrl has first frequency f1.
Referring to situation 42, when voltage signal Vs is further decreased, signal din is second electrical level by the first level conversion In a detection cycle in advance, corresponding digital signal do1 duty ratio reduces time t2 at this time, Digital Circuit Control output Controlling signal Ctrl has second frequency f2, and wherein second frequency f2 is higher than first frequency f1.
Referring to situation 43, when the voltage signal Vs for characterizing voltage to be detected is further decreased, signal din is by the first level The corresponding digital signal do1 duty ratio of time t3 for being converted to second electrical level also further decreases, and controls the frequency of signal Ctrl Further increase.
Electric quantity prompt system as shown in connection with fig. 3 can obtain in the waveform diagram shown in Fig. 4 embodiment, when the table detected The signal Vs for levying electricity is lower, and LED light flicker frequency is faster, gives user intuitive charge level prompt.
If voltage signal Vs is greater than or equal to the corresponding analog of maximum duty cycle in maximum do1 signal, controllably System exports the control signal Ctrl of permanent high level, is always on for controlling LED light.In this way, exterior only can by a lamp come Illumination and battery capacity indication multiplexing are realized simultaneously.
Certainly, in another embodiment, if voltage signal Vs is greater than or equal to maximum duty cycle pair in maximum do1 signal The analog answered can control the permanent low level control signal Ctrl of output, often go out for controlling LED light.
The pulse width and frequency of signal do1 and Ctrl shown in Fig. 4 are given for example only.In practical applications, it controls The frequency of signal Ctrl can be far below the frequency of digital signal do1.
In other examples, control signal Ctrl can also prompt the charge level of battery using other modes. For example, the time of LED light single shutdown is longer, when electricity is lower to carry out the prompt of electricity.Which can also be in low battery When electric quantity prompt system occupy few electric energy as far as possible, improve system battery utilization rate.
Digital circuit exports the digital signal of different duty at times in a detection cycle Ts, and detection cycle Ts is followed It is bad.In this manner it is achieved that the continual detection of voltage to be detected.
Fig. 5 shows the schematic diagram of portable power tool according to an embodiment of the invention.As shown, portable electric Energy 50 front end of tool is multiplexed lamp 51 comprising an illumination and battery capacity indication, the electricity for illuminating for providing operation simultaneously and indicating battery Amount is horizontal.Preferably, electric power tools include that one and only one illumination and battery capacity indication are multiplexed lamp 51, are illuminated without others Lamp or battery capacity indication lamp.The illumination and battery capacity indication multiplexing lamp 31 have flashing function, are used to indicate the level of electricity.At one In embodiment, the frequency of flashing corresponds to indicating battery electric quantity level, and with the reduction of electricity, the frequency of flashing is accelerated.It is logical It crosses a lamp while the function of illumination and battery capacity indication being provided, a piece electric wire of setting is only needed between lamp and circuit module, is avoided Multiple LED light are set outside portable power tool in the prior art and are respectively used to guidance lighting and charge level to just The defect that more electric wires are arranged in tool interior is taken, the circuit for improving system is simply spent and reliability, and convenient for setting sealing knot Structure efficiently avoids the possibility such as electric leakage, is suitable for portable power tool and uses.
Fig. 6 shows the voltage detection method flow diagram according to an embodiment of the invention based on digital circuit.It should Voltage detection method is included in first step 601, provides the digital signal of different duty at times.In one embodiment, Digital circuit provides the digital signal that duty ratio gradually rises at times.Voltage detection method is included in second step 602, will count Word signal is filtered acquisition filtering signal, converts digital signals into analog signal.Voltage detection method is included in third step Rapid 603, voltage signal to be detected is compared with filtering signal.The voltage detection method is included in four steps 604, is based on Comparison result obtains voltage level to be detected.In one embodiment, according to comparison result by scheduled first level conversion at The duty ratio of corresponding digital signal determines the level of voltage to be detected when second electrical level.Voltage detecting based on digital circuit Method is for details, reference can be made to the explanation of Fig. 2-Fig. 4 corresponding embodiment, and details are not described herein.
The above description of the embodiment is only used to help understand the method for the present invention and its core ideas.It should be pointed out that pair For those skilled in the art, without departing from the principle of the present invention, the present invention can also be carried out Some improvements and modifications, these improvements and modifications also fall within the scope of protection of the claims of the present invention.

Claims (11)

1. a kind of voltage detecting circuit based on digital circuit, comprising:
Digital circuit has the first output end, input terminal and second output terminal, wherein the first output end output digit signals;
Conversion circuit has input terminal and output end, the first output end of the input terminal coupling digital circuit of conversion circuit;
Comparison circuit has first input end, the second input terminal and output end, and wherein the first input end of comparison circuit receives table Levy the voltage signal of voltage to be detected, the output end of the second input terminal coupling conversion circuit of comparison circuit, comparison circuit it is defeated The input terminal of outlet coupling digital circuit;
Wherein digital circuit obtains voltage level to be detected based on the output signal of comparison circuit, and second in digital circuit is defeated Outlet provides control signal, wherein control signal is based on voltage level to be detected and generates.
2. voltage detecting circuit according to claim 1, wherein digital circuit is produced on microcontroller chip, conversion circuit It is produced on simulated wafer with comparison circuit, microcontroller chip and simulated wafer are located in a chip package.
3. voltage detecting circuit according to claim 1, wherein digital signal provides different threshold values by adjusting duty ratio Reference voltage.
4. voltage detecting circuit according to claim 3, wherein digital circuit exports at times in a detection cycle The digital signal of different duty, detection cycle are followed bad.
5. voltage detecting circuit according to claim 1, wherein conversion circuit includes differential circuit.
6. voltage detecting circuit according to claim 1, wherein conversion circuit includes:
Resistance has a first end and a second end, the first output end of the first end coupling digital circuit of resistance;And
Capacitor has a first end and a second end, wherein the second of the second end of the first end coupling resistance of capacitor and comparison circuit The second end of input terminal, capacitor couples ground terminal.
7. voltage detecting circuit according to claim 1, wherein control signal is input to the input terminal of illumination driving circuit, The frequency of control signal is inversely related with voltage level to be detected.
8. voltage detecting circuit according to claim 1, wherein voltage to be detected characterizes battery dump energy.
9. a kind of battery capacity prompt system, comprising:
Such as the described in any item voltage detecting circuits of claim 1-8, wherein voltage to be detected is the output voltage of battery;And
Illumination driving circuit has input terminal and output end, wherein the of the input terminal coupling digital circuit of illumination driving circuit The output end of two output ends, illumination driving circuit couples LED light.
10. battery capacity prompt system according to claim 9, wherein in operation, when the output voltage of battery is higher than When first threshold, LED light is always on;When the output voltage of battery is lower than first threshold, LED light is flashed with first frequency;Work as electricity The output voltage in pond be lower than second threshold when, LED light is flashed with second frequency, wherein first threshold be greater than second threshold, first Frequency is lower than second frequency.
11. a kind of voltage detection method based on digital circuit, comprising:
The digital signal of different duty is provided at times;
Digital signal is filtered acquisition filtering signal;
Voltage signal to be detected is compared with filtering signal;
Voltage level to be detected is obtained based on comparative result.
CN201811211038.8A 2018-10-17 2018-10-17 A kind of voltage detecting circuit, battery capacity prompt system and voltage detection method Pending CN109298339A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811211038.8A CN109298339A (en) 2018-10-17 2018-10-17 A kind of voltage detecting circuit, battery capacity prompt system and voltage detection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811211038.8A CN109298339A (en) 2018-10-17 2018-10-17 A kind of voltage detecting circuit, battery capacity prompt system and voltage detection method

Publications (1)

Publication Number Publication Date
CN109298339A true CN109298339A (en) 2019-02-01

Family

ID=65157140

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811211038.8A Pending CN109298339A (en) 2018-10-17 2018-10-17 A kind of voltage detecting circuit, battery capacity prompt system and voltage detection method

Country Status (1)

Country Link
CN (1) CN109298339A (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1979207A (en) * 2005-11-02 2007-06-13 美国凹凸微系有限公司 Battery fuel gauge circuit
US20090066293A1 (en) * 2007-09-12 2009-03-12 Rohm Co., Ltd. Voltage comparison circuit
JP2011112882A (en) * 2009-11-27 2011-06-09 Renesas Electronics Corp Led control device and led control method
CN102279366A (en) * 2010-06-11 2011-12-14 南京德朔实业有限公司 Electric quantity display for electrical tool
CN102890243A (en) * 2011-07-20 2013-01-23 海洋王照明科技股份有限公司 Measuring circuit and measuring device for battery capacity as well as battery capacity meter
CN103138761A (en) * 2011-11-25 2013-06-05 海洋王照明科技股份有限公司 Analog-digital conversion circuit and battery voltage detection circuit
CN103197249A (en) * 2012-01-06 2013-07-10 安凯(广州)微电子技术有限公司 Low power consumption detection circuit for battery power
CN104955197A (en) * 2014-03-25 2015-09-30 深圳市海洋王照明工程有限公司 Voltage detecting circuit and lamp
CN205484725U (en) * 2015-12-30 2016-08-17 Tcl通力电子(惠州)有限公司 Battery low power indicating circuit and portable electronic equipment
CN209264929U (en) * 2018-10-17 2019-08-16 杭州百隆电子有限公司 A voltage detection circuit and battery power prompt system

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1979207A (en) * 2005-11-02 2007-06-13 美国凹凸微系有限公司 Battery fuel gauge circuit
US20090066293A1 (en) * 2007-09-12 2009-03-12 Rohm Co., Ltd. Voltage comparison circuit
JP2011112882A (en) * 2009-11-27 2011-06-09 Renesas Electronics Corp Led control device and led control method
CN102279366A (en) * 2010-06-11 2011-12-14 南京德朔实业有限公司 Electric quantity display for electrical tool
CN102890243A (en) * 2011-07-20 2013-01-23 海洋王照明科技股份有限公司 Measuring circuit and measuring device for battery capacity as well as battery capacity meter
CN103138761A (en) * 2011-11-25 2013-06-05 海洋王照明科技股份有限公司 Analog-digital conversion circuit and battery voltage detection circuit
CN103197249A (en) * 2012-01-06 2013-07-10 安凯(广州)微电子技术有限公司 Low power consumption detection circuit for battery power
CN104955197A (en) * 2014-03-25 2015-09-30 深圳市海洋王照明工程有限公司 Voltage detecting circuit and lamp
CN205484725U (en) * 2015-12-30 2016-08-17 Tcl通力电子(惠州)有限公司 Battery low power indicating circuit and portable electronic equipment
CN209264929U (en) * 2018-10-17 2019-08-16 杭州百隆电子有限公司 A voltage detection circuit and battery power prompt system

Similar Documents

Publication Publication Date Title
CA2472548C (en) Solar panel having visual indicator
CN102256417B (en) Light-emitting diode (LED) lamp controller based on digital pulse-width modulation (PWM) control technology
CN109246885A (en) A kind of phase-cut dimming device of LED
CN110381637B (en) Over-temperature protection circuit and LED lamp
CN110492184A (en) Storage battery maintainer, method and electronic equipment
CN204259209U (en) Circuit for driving LED lighting equipment and controller thereof
CN209356652U (en) A kind of light intensity signal collection device
CN101453815A (en) Constant current outputting adaptive LED lamp controller
CN103852735B (en) Lamp fixture discharge timing circuit
CN213126552U (en) Light emitting diode control circuit and display device
CN109298339A (en) A kind of voltage detecting circuit, battery capacity prompt system and voltage detection method
CN101509627A (en) Capacitance type fire-fighting emergency headlamp
CN209264929U (en) A voltage detection circuit and battery power prompt system
CN216052107U (en) Pulse xenon lamp test equipment
CN212970200U (en) LED photovoltaic street lamp control system
CN205643632U (en) Battery simulating circuit
CN114364091A (en) LED drive control circuit, LED drive control method and LED drive system
CN113966052A (en) Intelligent control circuit
CN222073433U (en) Battery cell electric quantity indicating circuit and printed circuit board
CN113922478A (en) Control method of voltage-reducing flash integrated controller
CN108957316B (en) Hydroelectric generator generating capacity real-time detection circuit and detection method thereof
CN222319104U (en) Virtual electricity detection device of portable mobile power source
CN219893481U (en) Position lamp PWM dimming circuit
CN220040716U (en) Set-top box USB on-off detection tool
CN213244422U (en) Amusement hand lamp boost control 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