A kind of accumulator internal resistance Multi-frequency measuring device for multi and method
Technical field
The invention belongs to battery technology fields, and in particular to a kind of accumulator internal resistance Multi-frequency measuring device for multi and method.
Background technique
Nowadays, the application field of battery is more and more wider, and the behaviour in service of battery is also more and more concerned.It is not working
In battery can measure the residual capacity of battery by ampere-hour method and open circuit voltage method, but the battery in floating charge
Remaining battery capacity can only be obtained by way of measuring its internal resistance.Since different batteries are to the sine of identical measurement frequency
Wave impedance reaction is different, and the factor for influencing battery impedance is more, so existing single-measurement frequency accumulator internal resistance is surveyed
Amount instrument has that measurement accuracy is not high.
Summary of the invention
It is an object of the invention to improve the accuracy of accumulator internal resistance measurement, a kind of multifrequency accumulator internal resistance measurement is proposed
Device and method realizes accumulator internal resistance measurement, solves the low technical problem of accumulator internal resistance accuracy of measurement.
The present invention adopts the following technical scheme that, a kind of accumulator internal resistance Multi-frequency measuring device for multi, including controller, Direct Digital
Formula frequency synthesizer (Direct Digital Synthesizer, DDS) module, sampler, partiting dc circuit, amplifying circuit,
Selecting module, bandwidth-limited circuit, peak detection circuit, liquid crystal display, voltage sampling circuit, measurement end and excitation end;
The controller is electric with DDS module, selecting module, voltage sampling circuit, liquid crystal display and peak detection respectively
Road is connected, and for controlling DDS module and selecting module, the voltage signal for receiving voltage sampling circuit output handles to obtain battery
Open-circuit voltage values receive the signal that peak detection circuit is sent and are handled to obtain accumulator internal resistance value, and by accumulator internal resistance
Value is sent to liquid crystal display;
The DDS module is used to receive the control signal of controller, generates the sinusoidal test signal of multichannel different frequency, defeated
Enter sampler, and battery is inputted by excitation end and constitutes circuit;
The sampler is sampling resistor, is connected by excitation end with battery;
The partiting dc circuit is high-pass filtering circuit, and input terminal is connected with sampler both ends and measurement end both ends respectively,
For isolated DC signal;
The input amplifier is connected with the output end of isolated DC circuit, for amplifying voltage signal;
The selecting module is connected with bandwidth-limited circuit input terminal and amplification circuit output end, is controlled by controller
The switch in channel between bandwidth-limited circuit and amplifying circuit, the sinusoidal test signal frequency for being generated according to DDS module
Select bandwidth-limited circuit;
The bandwidth-limited circuit includes the unlimited gain bandpass filter of multiple and different centre frequencies, is selected by selecting module
Unlimited gain bandpass filter is selected to be connected with amplification circuit output end;
The peak detection circuit is connected with bandwidth-limited circuit output end, for detecting sinusoidal crest value;
The voltage sampling circuit is connected with measurement end both ends, is used for collection voltages signal, former based on series resistance partial pressure
Reason detection battery open-circuit voltage;
The measurement end, is connected with accumulator anode and cathode;
The excitation end, is connected with accumulator anode and cathode.
Preferably, the amplifying circuit is second order amplifying circuit.
It preferably, further include that the electronics formula of erasing can make carbon copies read-only storage (English: Electrically-Erasable
Programmable Read-Only Memory, EEPROM) module, the EEPROM memory module is connected with controller, is used for
Read and write measurement data.
Preferably, the controller handles signal using extreme learning machine algorithm neural network based and is stored
Internal resistance of cell value.
A kind of accumulator internal resistance multifrequency measurement method, comprising the following steps:
1) end and test lead is motivated to pass through conducting wire respectively and access accumulator anode and cathode;
2) controller control DDS module is sequentially generated a variety of different frequency sinusoidal test signal input sample devices, and passes through
End input battery is motivated to constitute circuit;
3) controller sends control signals to selecting module, selecting module control according to the sinusoidal test signal of different frequency
The switch in channel between corresponding bandwidth-limited circuit and amplifying circuit;
4) the sine wave pressure drop at sampler both ends and test lead both ends pass sequentially through respectively partiting dc circuit, amplifying circuit,
The output signal of selecting module, bandwidth-limited circuit and peak detection circuit, peak detection circuit is transmitted to controller;
5) voltage signal at voltage sampling circuit collecting test end, and voltage signal is transmitted to controller;
6) output of peak detection circuit is believed under the voltage signal and different frequency that controller acquires voltage sampling circuit
It number is calculated, obtains the open-circuit voltage values and internal resistance value of battery;
7) controller shows the internal resistance value of battery on liquid crystal display.
Preferably, in the step 2), a variety of different frequencies be five kinds of frequencies, frequency size be followed successively by 1000hz,
1200hz, 1400hz, 1600hz, 1800hz and 2000hz.
Preferably, the amplifying circuit is second order amplifying circuit.
Preferably, the internal resistance value that controller obtains battery in the step 6) specifically utilizes the limit neural network based
Learning machine algorithm:
x1、x2、x3、x4Respectively sinusoidal test signal frequency values, battery open-circuit voltage, peak detection circuit export
The sinusoidal crest value at sampler both ends and the sinusoidal crest value at battery both ends, X indicate input value, X=[x1,x2,x3,x4]T, Wi
Indicate the connection weight of input layer and i-th of neuron of hidden layer, wI, jIt indicates j-th of neuron of input layer and implies
The connection weight of i-th of neuron of layer, j=1,2 ..., 4, Wi=[wi,1,wi,2,wi,3,wi,4]T, βiIndicate i-th of mind of hidden layer
Connection weight through member with output layer neuron, y is output valve, i.e. the internal resistance value of battery, Neural Networks Representation are as follows:
Wherein, g (x) is activation primitive, biIt is the biasing of i-th of neuron of hidden layer;
By repeatedly measuring to obtain training set, the input of training set includes sinusoidal test signal frequency values, battery pack open circuit
Voltage, peak detection circuit output sampler both ends sinusoidal crest value and battery both ends sinusoidal crest value, export and be
Accumulator internal resistance value is trained extreme learning machine algorithm neural network based by training set, obtains relevant parameter;
Using trained extreme learning machine algorithm neural network based to the knot under different sinusoidal test signal frequencies
Fruit is repeatedly calculated, and calculated result is then compared, and selects the smallest calculated value as last as a result, i.e. accumulator internal resistance
Value.
Preferably, further includes: 8) controller stores the internal resistance value of battery to EEPROM memory module
It invents achieved the utility model has the advantages that the present invention proposes a kind of multifrequency accumulator internal resistance measuring device and method, realizes
Accumulator internal resistance measurement, solves the low technical problem of accumulator internal resistance accuracy of measurement;Controller of the invention is to DDS mould
Block carries out rate-adaptive pacemaker control, can produce a variety of different frequency sinusoidal signals, measuring device signal is single to ask to solve
Topic solves identical battery under the optimum measurement signal frequency difference and varying environment of different batteries under identical environment
The problem of measurement result inaccuracy caused by optimum measurement signal frequency is different;Controller module is to the measurement under channelized frequencies
As a result optimal processing is done, optimal accumulator internal resistance is obtained using extreme learning machine algorithm neural network based, improves electric power storage
The reliability of pond internal resistance measurement has the characteristics that measurement accuracy is high, operation is convenient.
Detailed description of the invention
Fig. 1 is the structural schematic diagram of the embodiment of the present invention;
Fig. 2 is measuring method flow chart of the embodiment of the present invention;
Fig. 3 is unlimited gain band pass filter circuit figure in the embodiment of the present invention;
Fig. 4 is peak detection circuit figure in the embodiment of the present invention;
Fig. 5 is voltage sampling circuit schematic illustration in the embodiment of the present invention;
Fig. 6 is extreme learning machine algorithm structure figure in the embodiment of the present invention.
Specific embodiment
Below according to attached drawing and technical solution of the present invention is further elaborated in conjunction with the embodiments.
Embodiment 1
A kind of accumulator internal resistance Multi-frequency measuring device for multi is as shown in Figure 1, include controller, DDS module, sampler, stopping direct current
Circuit, amplifying circuit, selecting module, bandwidth-limited circuit, peak detection circuit, liquid crystal display, voltage sampling circuit, measurement
End and excitation end;The excitation end and the separated design of test lead can reduce conductor resistance and contact resistance to the shadow of measurement accuracy
It rings;
The controller use STM32F103RC chip, respectively with DDS module, selecting module, voltage sampling circuit, liquid
Crystal display screen is connected with peak detection circuit, for controlling DDS module and selecting module, receives the electricity of voltage sampling circuit output
Pressure signal processing obtains battery open-circuit voltage value, receives the signal that peak detection circuit is sent and is handled to obtain in battery
Resistance value, and accumulator internal resistance value is sent to liquid crystal display;
The DDS module uses ICL8038 chip, for receiving the control signal of controller, generates multichannel different frequency
Sinusoidal test signal, input sample device, and by excitation end input battery constitute circuit;
The sampler is sampling resistor, is connected by excitation end with battery composition;
The partiting dc circuit is high-pass filtering circuit, and input terminal is connected with sampler both ends and measurement end both ends respectively,
For isolated DC signal;Avoid influence of the direct current signal to measuring circuit;
The input amplifier is connected with the output end of isolated DC circuit, passes through partiting dc circuit for amplifying
Weak Sinusoidal Signal fall voltage signal on sampler and battery;
The selecting module uses CD4051 multiway analog switch, defeated with bandwidth-limited circuit input terminal and amplifying circuit
Outlet is connected, and the switch in channel between bandwidth-limited circuit and amplifying circuit is controlled by controller, for according to DDS module
The sinusoidal test signal frequency of generation selects bandwidth-limited circuit;Improve measurement result precision;
The bandwidth-limited circuit includes the unlimited gain band logical filter of multiple different center frequencies being made of OP07 chip
Wave device selects unlimited gain bandpass filter to be connected with amplification circuit output end by selecting module;It is interfered for cancelling noise;
The peak detection circuit uses TLO82 chip, is connected with bandwidth-limited circuit output end, for detecting sine wave
Peak value;
The voltage sampling circuit is connected with measurement end both ends, is used for collection voltages signal, former based on series resistance partial pressure
Reason detection battery open-circuit voltage;
The measurement end, is connected with accumulator anode and cathode;
The excitation end, is connected with accumulator anode and cathode.
Embodiment 2:
A kind of accumulator internal resistance multifrequency measurement method, as shown in Figure 2, comprising the following steps:
1) end and test lead is motivated to pass through conducting wire respectively and access accumulator anode and cathode;
2) controller control DDS module is sequentially generated a variety of different frequency sinusoidal test signal input sample devices, and passes through
End input battery is motivated to constitute circuit;
3) controller sends control signals to selecting module, selecting module control according to the sinusoidal test signal of different frequency
The switch in channel between corresponding bandwidth-limited circuit and amplifying circuit;
4) the sine wave pressure drop at sampler both ends and test lead both ends pass sequentially through respectively partiting dc circuit, amplifying circuit,
The output signal of selecting module, bandwidth-limited circuit and peak detection circuit, peak detection circuit is transmitted to controller;
5) voltage signal at voltage sampling circuit collecting test end, and voltage signal is transmitted to controller;
6) output of peak detection circuit is believed under the voltage signal and different frequency that controller acquires voltage sampling circuit
It number is calculated, obtains the open-circuit voltage values and internal resistance value of battery;
7) controller shows the internal resistance value of battery on liquid crystal display.
Embodiment 3
On the basis of embodiment 1 or 2, sampler is 10 milliohm resistance;
A kind of implementation of bandpass filter is as shown in Figure 3;
The bandwidth-limited circuit constitutes the unlimited gain bandpass filtering of 5 tunnel different center frequencies using 5 pieces of OP07 chips
Device is interfered for cancelling noise;
Vin and Vout is respectively the input terminal and output end of unlimited gain bandpass filter, unlimited gain bandpass filter
Input terminal connection selecting module output end, bandwidth calculation resistance R1 as needed, resistance R2, resistance R3, capacitor C1 and
The value of capacitor C2;
A kind of implementation of peak detection circuit is as shown in Figure 4;
The peak detection circuit, using TLO82 chip, for detecting sinusoidal crest value;
IN and OUT is respectively the input terminal and output end of peak detection circuit, the input terminal connecting band of peak detection circuit
The output end of bandpass filter circuit when peak detection circuit works, starts to charge to capacitor C, if signal to be detected is slightly less than current
Capacitor C keeps voltage, and the output of amplifier A can be swung to negative potential, and diode D1 is connected at this time, into closed loop states, thus
Realize the holding of peak value;Peak detection reset signal is controlled by controller, and after a peak value measurement, lower minor peaks are adopted
Before sample, controller issues peak detection reset signal, so that triode Q1 is connected, capacitor electric discharge, to realize peak detection
It resets;
R1, R2, R3, R4, R5 are protective resistance, prevent electric current excessive, damage device;
Amplifier B plays output buffer function;
Current reflux when D2 prevents capacitor from discharging.
A kind of implementation of voltage sampling circuit is as shown in figure 5, utilize series resistance RaRbThe principle of partial pressure acquires Rb's
Voltage signal is exported to controller.
As a kind of preferred embodiment, the amplifying circuit is second order amplifying circuit;It can avoid single order amplifying circuit to put
The case where being distorted when multiple is higher greatly;
It further include EEPROM memory module as a kind of preferred embodiment, using AT24C02 chip, the EEPROM
Memory module is connected with controller, for reading and writing measurement data, convenient for repeatedly measuring and checking;
As a kind of preferred embodiment, the controller is using extreme learning machine algorithm neural network based to signal
It is handled to obtain accumulator internal resistance value.
As a kind of preferred embodiment, a variety of different frequencies be five kinds of frequencies, frequency size be followed successively by 1000hz,
1200hz,1400hz,1600hz,1800hz,2000hz.Theoretically the sine wave freuqency results that measure more accurate more, but frequency
Rate is more, and subsequent processing circuit needs to accordingly increase if bandpass filter, leads to the increase of product cost, selects five
Kind frequency can control product cost under the premise of meeting precision.
According to more than the Feature Selection of battery electrochemical impedance spectroscopy 5 kinds of frequencies, the electric power storage that the range of this 5 kinds of frequencies measures
Pond internal resistance value is influenced smaller by external environment, and the imaginary part of complex impedance is also closest to being zero.
As a kind of preferred embodiment, shown in Fig. 6, controller obtains the internal resistance value of battery specifically using based on nerve
The extreme learning machine algorithm of network:
x1、x2、x3、x4Respectively sinusoidal test signal frequency values, battery open-circuit voltage, peak detection circuit export
The sinusoidal crest value at sampler both ends and the sinusoidal crest value at battery both ends, X indicate input value, X=[x1,x2,x3,x4], Wi
Indicate the connection weight of input layer and i-th of neuron of hidden layer, wI, jIt indicates j-th of neuron of input layer and implies
The connection weight of i-th of neuron of layer, j=1,2 ..., 4, Wi=[wi,1,wi,2,wi,3,wi,4]T, βiIndicate i-th of mind of hidden layer
Connection weight through member with output layer neuron, y is output valve, i.e. the internal resistance value of battery, Neural Networks Representation are as follows:
Wherein, g (x) is activation primitive, biIt is the biasing of i-th of neuron of hidden layer.
By repeatedly measuring to obtain training set, the input of training set includes sinusoidal test signal frequency values, battery pack open circuit
Voltage, peak detection circuit output sampler both ends sinusoidal crest value and battery both ends sinusoidal crest value, export and be
Accumulator internal resistance value is trained extreme learning machine algorithm neural network based by training set, obtains relevant parameter.Benefit
5 calculating (5 sinusoidal test signal frequencies) are carried out with trained extreme learning machine algorithm algorithm neural network based, so
After compare calculated result, according to the electrochemical impedance spectroscopy of lead-acid accumulator it is found that minimum value at this time closest to imaginary part be zero
Complex impedance, therefore the smallest calculated value is selected as last as a result, i.e. accumulator internal resistance value.
As a kind of preferred embodiment, a kind of accumulator internal resistance multifrequency measurement method further include: controller is by battery
Internal resistance value store to EEPROM memory module.
The power supply of chip comes from rechargeable cell in the present invention, and positive and negative 15V and 3.3V DC power supply is each core
Piece provides power supply.
In the embodiment above, partiting dc circuit includes two high-pass filtering circuits, i.e. high-pass filtering circuit one and high pass
Filter circuit two, one input terminal of high-pass filtering circuit and sampler both ends, two input terminal of high-pass filtering circuit and measurement end both ends
It is connected;Amplifying circuit includes two operational amplification circuits, i.e. operational amplification circuit one and operational amplification circuit two, high-pass filtering electricity
The output of road one to operational amplification circuit one, high-pass filtering circuit two is exported to operational amplification circuit two;Selecting module includes two
The selection circuit of CD4051 chip composition, i.e. selection circuit one and selection circuit two, the output of amplifying circuit one to selection circuit one,
Amplifying circuit two is exported to selection circuit two;Bandwidth-limited circuit includes 5 different center frequencies being made of OP07 chip
Unlimited gain bandpass filter, the output of selection circuit one and selection circuit two are connected with bandwidth-limited circuit, pass through control
The time of device control selections module conducting, if control selections circuit one is first connected, i.e., the pressure drop signal on sampler first passes through nothing
Gain bandpass filter is limited, selection circuit two is first connected, i.e., passes through unlimited gain bandpass filtering after the pressure drop signal on battery
Device;Peak detection circuit includes peak detection circuit one and peak detection circuit two, bandwidth-limited circuit output access peak value inspection
The output end of the input terminal of slowdown monitoring circuit one and peak detection circuit two, peak detection circuit one and peak detection circuit two connects respectively
Enter in the different port of controller, setting controller first receives the signal of peak detection circuit one, then by peak detection circuit
One resets, and the signal of peak detection circuit two is received in reseting procedure, thus reads the sinusoidal crest value of two signals, simultaneously
Accelerate read access time.
Those skilled in the art can understand that unless otherwise defined, all terms used herein (including skill
Art term and scientific term) there is meaning identical with the general understanding of those of ordinary skill in fields of the present invention.Also
It should be understood that those terms such as defined in the general dictionary should be understood that have in the context of the prior art
The consistent meaning of meaning will not be explained in an idealized or overly formal meaning and unless defined as here.
Above-described specific embodiment has carried out further the purpose of the present invention, technical scheme and beneficial effects
It is described in detail, it should be understood that being not limited to this hair the foregoing is merely a specific embodiment of the invention
Bright, all within the spirits and principles of the present invention, any modification, equivalent substitution, improvement and etc. done should be included in the present invention
Protection scope within.