CN110426552A - A method of current sample precision is improved by numerically controlled temperature-compensating - Google Patents

A method of current sample precision is improved by numerically controlled temperature-compensating Download PDF

Info

Publication number
CN110426552A
CN110426552A CN201910687918.0A CN201910687918A CN110426552A CN 110426552 A CN110426552 A CN 110426552A CN 201910687918 A CN201910687918 A CN 201910687918A CN 110426552 A CN110426552 A CN 110426552A
Authority
CN
China
Prior art keywords
module
current
temperature
electric current
numerically controlled
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
CN201910687918.0A
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.)
Guizhou Hengxin Microelectronics Technology Co Ltd
Original Assignee
Guizhou Hengxin Microelectronics 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 Guizhou Hengxin Microelectronics Technology Co Ltd filed Critical Guizhou Hengxin Microelectronics Technology Co Ltd
Priority to CN201910687918.0A priority Critical patent/CN110426552A/en
Publication of CN110426552A publication Critical patent/CN110426552A/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

Abstract

The invention discloses a kind of methods for improving current sample precision by numerically controlled temperature-compensating, by obtaining real current Ireal in laboratory stage, current detection module institute output electric current measure Vh(is after ADC is converted into voltage output), the detected temperature Vntc(of temperature detecting module is after ADC is converted by voltage output) relational expression that is fitted according to experimental data between three, real-time monitoring current detection module exports detection electric current and environment temperature again, output electric current is adjusted and is calibrated, effectively improve the accuracy of true output current signal Ireal, improve the subsequent accuracy using electric current signal system module as input, greatly enhance the reliability of entire motor controller system, simultaneously because having coefficient amplification, sampling apparatus module area can be reduced.

Description

A method of current sample precision is improved by numerically controlled temperature-compensating
Technical field
The present invention relates to electronic circuit technologies, particularly relate to a kind of by numerically controlled temperature-compensating raising electricity Flow the method for sampling precision.
Background technique
In electric machine controller, since the working environment of motor is more harsh, local environment temperature change is variable, and existing The current sample mode such as modes such as resistance sampling, Hall current sensor and current transformer, the resistance value of resistance, sensor, mutually The measurement accuracy of sensor will receive the influence of temperature, so that the accuracy of sampling is reduced, while the electric current of phase line is current-carrying capacity, The temperature that can influence controller for electric vehicle in turn needs to sample phase current and calibrate output thus to realize more accurately Control.
It is a kind of by numerically controlled temperature-compensating improve current sample precision method optimized to system architecture While, the reliability of electric machine controller total system more can be improved, optimize area occupied by electric machine controller total system, fit Trend that should be high in contemporary electric machine controller reliability requirement.
Summary of the invention
In order to overcome the shortcomings of that above-mentioned technology, the present invention provide one kind and adopt by numerically controlled temperature-compensating raising electric current The method of sample precision, the method that temperature-compensating proposed in technical solution of the present invention improves current sample precision, it can By obtaining real current Ireal, current detection module institute output electric current measure Vh(after ADC is converted in laboratory stage By voltage output), temperature detecting module detect temperature Vntc(after ADC is converted as voltage output) between three according to experiment The relational expression that data are fitted, then real-time monitoring current detection module export detection electric current and environment temperature, to output electricity Stream is adjusted and calibrates, and effectively improves the accuracy of true output current signal Ireal, improves subsequent using current signal The accuracy of system module as input greatly enhances the reliability of entire motor controller system, while because having coefficient Amplification can reduce sampling apparatus module area.
The technical scheme adopted by the invention is as follows:
Current sampling device module, temperature acquisition apparatus module, current signal conditioning module, temperature signal regulation module, electric current ADC module, temperature ADC module, digital processing module;
Wherein, the current sampling device module is used to collect exported electric current Imeasure,
The temperature acquisition apparatus module is used to collect environment temperature Temp,
Electric current, temperature signal regulation module are used for measurement by magnification electric current Imeasure, Temp signal,
Electric current, temperature ADC module are transferred to digital processing for the electric current being collected into, temperature signal to be converted to binary representation Module,
Digital processing module is used to handle the data received,
Specifically, the electric current Imeasure that the acquisition of current sampling device module exports is improved as input and output to current signal Module, temperature acquisition apparatus module collection environment temperature Temp give temperature signal regulation module, electric current, temperature as input and output Signal conditioning module is using amplified electric current, temperature signal Imeasure_m, Temp_m as input and output to electric current, temperature ADC module, electric current, temperature ADC module are using Vh, Vntc after conversion as input and output to digital processing module, digital processing After module receives aforementioned modules input data, real current signal Ireal is exported
Wherein the modes such as resistance sampling, Hall current sensor and current transformer can be used to realize for current sampling device module, Wherein resistance sampling generally uses low side sampling, high-end sampling, sampling resistor above load, and amplifier power ground is suspended in load First-class mode is realized.
Temperature acquisition apparatus module detection mode includes expansion principle method, pressure and temp principle method, fuel factor method, thermoelectricity The methods of principle method and heat radiation principle method are hindered, can be realized for modes such as thermistor, thermoelectricity occasionally temperature sampling chip.
Electric current, the effect of temperature signal regulation module are to amplify collected faint or lesser current signal, amplification factor With specific implementation method depending on demand.
Electric current, temperature ADC module bit requirements view total system speed, required precision are determined.
MCU microprocessor module or ASIC special digital processing circuit module can be used in digital processing module, and inside it Containing the relational expression Ireal=f (Vh, Vntc) being fitted between Ireal and Vh, Vntc or established tables of data, used MCU model, performance and ASIC special digital processing circuit module clock frequency, circuit scale etc. are according to needed for total system Reason speed, processing accuracy etc. are determined.
The beneficial effects of the present invention are: need to be sampled to phase current in electric machine controller to realize more accurate control System.Existing current sample mode will receive the influence of temperature, make from the obtained data sampling precision of current sampling device module It reduces, digital processing module is added thus, in advance to the electric current collected by laboratory testing current sampling device module Imeasure(is indicated with Vh), temperature acquisition apparatus module collection to environment temperature Temp(indicated with Vntc) and practical electricity The true phase current signal Ireal of machine carries out data fitting, establishes the relational expression or tables of data between three, digital processing module connects After receiving Vh and Vntc signal, calculates or table look-up by formula, more accurate real current Ireal can be obtained.
This method gathers all data in laboratory stage simultaneously, has been fitted formula or has been stored in number after establishing tables of data Word processing module has subtracted the module or device that actual phase current is detected in real electrical machinery controller, and because there is digital processing mould Block can zoom in or out equation coefficients, and required electric current, temperature acquisition apparatus area can greatly reduce that (electric current, temperature are adopted Sampling device is bigger, and institute's detection data can be bigger), the small-signal that need to only will test can be reduced to true by coefficient amplification Value.
Detailed description of the invention
It is a kind of original of method that current sample precision is improved by numerically controlled temperature-compensating of the invention shown in Fig. 1 Reason figure.
Fig. 2 show signal relation exemplary diagram of the present invention.
Fig. 3 show signal relation sample table of the present invention.
Specific embodiment
With reference to the accompanying drawings and examples, the technical schemes of the invention are described in detail:
It is as shown in Figure 1 a kind of schematic diagram of method that current sample precision is improved by numerically controlled temperature-compensating, specifically Include current sampling device module, temperature acquisition apparatus module, current signal conditioning module, temperature signal regulation module, electric current ADC module, temperature ADC module, digital processing module;
The concrete operating principle of this example are as follows:
When initial, in laboratory stage, current sampling device module output current Imeasure, temperature acquisition apparatus module are measured Aforementioned signal is carried out conditioning amplification through overcurrent, temperature signal regulation module and is sent into electric current, temperature by output environment temperature Temp ADC module obtains the binary code represented by voltage Vh, Vntc to digital processing module, while measuring not by temperature shadow The true phase current signal Ireal detected under the mode of sound, fits the relational expression between three:
Ireal=f(Vh,Vntc)
Signal relation exemplary diagram as shown in Figure 2 can be obtained, or directly establishes the tables of data between three, can be obtained as shown in Figure 3 Signal relation sample table.
Used current sampling device is Hall current inductive pick-up, and temperature acquisition apparatus is temperature sensor, finally The data obtained fit correlation is as follows:
Ireal=A*Vh+B*Vntc
Wherein A, B are constant, i.e., in this case, it is linear relationships between Ireal, Vh, Vntc three.
If digital processing module is realized using MCU microprocessor module, core code (C language) are as follows:
int a=A;
int b=B;
int Ireal;int Vh;int Vntc;
int Function(int Vh,int Vntc,int a,int b)
{
return a*Vh+b*Vntc;
}
Ireal=Function(Vh,Vntc,a,b);
If digital processing module is realized using ASIC special digital processing circuit module, core code (Verilog) are as follows:
input [y-1 : 0] Vh,Vntc;
input [z-1 : 0] a,b;
output [x-1 : 0] Ireal;
always @ (posedge clk or negedge rst_n)
begin
if ( rst_n == 1’b0) begin
Ireal <=x’b0000…0000;
else begin
Ireal <=Vh*a+Vntc*b;
end
end
Wherein x, y, z represents parameters digit, and specific digit need to require to determine according to the required accuracy, and digit is closed between three System should be matched with relational expression.This example can also optimize multiplier and adder simultaneously, call different multiplication, addition Device.
In actual use, after digital processing module receives electric current, the output of temperature ADC module Vh, Vntc, at number The relational expression or tables of data that reason inside modules fit in advance are calculated or are tabled look-up by algorithm, directly obtain true phase current Ireal value.
Institute it should be noted that electric current, temperature acquisition apparatus itself precision the higher the better, precision is higher, digital processing module institute The relational expression or tables of data of fitting are more accurate, adjust dynamics to the calibration of subsequent real current Ireal output valve and accuracy is got over Greatly.
Approximating method used in digital processing module is unlimited, and storage result can be relational expression, can be tables of data, number It need to be selected according to testing current precision according to bit wide.It need to be adopted simultaneously according to required precision and current sampling device module, temperature Sampling device module accuracy data points influence, the digital processing element that internal storage space need to be selected to match.
If using the mode for establishing tables of data, no matter MCU, ASIC are realized, each entry value can be stored using memory in advance Data recycle addressing of address mode to obtain desirable value, are illustrated in figure 3 signal relation sample table of the present invention.
It is understood that the present invention is not limited to the accurate configuration being illustrated above and components.Claims are not being departed from Protection scope on the basis of, can be to method and structure above the step of sequence, details and operation make various modifications, change and Optimization.

Claims (10)

1. a kind of method for improving current sample precision by numerically controlled temperature-compensating, it is characterised in that: this method passes through Real current Ireal, current detection module institute output electric current measure Vh(are obtained after ADC is converted in laboratory stage as voltage Output), the detected temperature Vntc(of temperature detecting module be voltage output after ADC is converted) between three according to experimental data institute The relational expression of fitting, then real-time monitoring current detection module export detection electric current and environment temperature, carry out to output electric current Adjustment and calibration, effectively improve the accuracy of true output current signal Ireal, improve subsequent use electric current signal system and make For the accuracy of the module of input, the reliability of entire motor controller system is greatly enhanced, while because having coefficient amplification to make With sampling apparatus module area can be reduced.
2. a kind of method for improving current sample precision by numerically controlled temperature-compensating according to claim 1, special Sign is: including current sampling device module, temperature acquisition apparatus module, current signal conditioning module, temperature signal regulation mould Block, electric current ADC module, temperature ADC module and digital processing module;
Wherein, the current sampling device module is used to collect exported electric current Imeasure,
The temperature acquisition apparatus module is used to collect environment temperature Temp,
Electric current, temperature signal regulation module are used for measurement by magnification electric current Imeasure, Temp signal,
Electric current, temperature ADC module are transferred to digital processing for the electric current being collected into, temperature signal to be converted to binary representation Module,
Digital processing module is used to handle the data received,
Specifically, the electric current Imeasure that the acquisition of current sampling device module exports is improved as input and output to current signal Module, temperature acquisition apparatus module collection environment temperature Temp give temperature signal regulation module, electric current, temperature as input and output Signal conditioning module is using amplified electric current, temperature signal Imeasure_m, Temp_m as input and output to electric current, temperature ADC module, electric current, temperature ADC module are using Vh, Vntc after conversion as input and output to digital processing module, digital processing After module receives aforementioned modules input data, real current signal Ireal is exported.
3. a kind of method that current sample precision is improved by numerically controlled temperature-compensating according to claim 2, Be characterized in that: current sampling device module uses the modes such as resistance sampling, Hall current sensor and current transformer to realize, For middle resistance sampling using low side sampling, high-end sampling, sampling resistor above load, amplifier power ground is suspended in load upper type It realizes.
4. a kind of method that current sample precision is improved by numerically controlled temperature-compensating according to claim 2, Be characterized in that: temperature acquisition apparatus module detection mode includes expansion principle method, pressure and temp principle method, fuel factor method, heat Resistance principle method and heat radiation principle method can be realized for modes such as thermistor, thermoelectricity occasionally temperature sampling chip.
5. a kind of method that current sample precision is improved by numerically controlled temperature-compensating according to claim 2, Be characterized in that: the effect of current signal conditioning module is to amplify collected faint or lesser current signal, amplification factor and tool Body implementation method is depending on demand.
6. a kind of method that current sample precision is improved by numerically controlled temperature-compensating according to claim 2, Be characterized in that: the effect of temperature signal regulation module is to amplify collected faint or lesser temperature signal, amplification factor and tool Body implementation method is depending on demand.
7. a kind of method that current sample precision is improved by numerically controlled temperature-compensating according to claim 2, Be characterized in that: electric current, temperature ADC module bit requirements view total system speed, required precision are determined.
8. a kind of method that current sample precision is improved by numerically controlled temperature-compensating according to claim 2, Be characterized in that: digital processing module uses MCU microprocessor module or ASIC special digital processing circuit module.
9. a kind of method that current sample precision is improved by numerically controlled temperature-compensating according to claim 2, It is characterized in that: containing the relational expression Ireal=f (Vh, Vntc) being fitted between Ireal and Vh, Vntc inside digital processing module Or established tables of data.
10. a kind of method that current sample precision is improved by numerically controlled temperature-compensating according to claim 2, It is characterized in that: when digital processing module uses MCU microprocessor module or ASIC special digital processing circuit module.
CN201910687918.0A 2019-07-29 2019-07-29 A method of current sample precision is improved by numerically controlled temperature-compensating Pending CN110426552A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910687918.0A CN110426552A (en) 2019-07-29 2019-07-29 A method of current sample precision is improved by numerically controlled temperature-compensating

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910687918.0A CN110426552A (en) 2019-07-29 2019-07-29 A method of current sample precision is improved by numerically controlled temperature-compensating

Publications (1)

Publication Number Publication Date
CN110426552A true CN110426552A (en) 2019-11-08

Family

ID=68411055

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910687918.0A Pending CN110426552A (en) 2019-07-29 2019-07-29 A method of current sample precision is improved by numerically controlled temperature-compensating

Country Status (1)

Country Link
CN (1) CN110426552A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112730963A (en) * 2020-12-22 2021-04-30 唐新颖 Automobile-level Hall current sensor with temperature compensation and compensation method thereof
CN113156192A (en) * 2021-02-26 2021-07-23 苏州优赛思电子科技有限公司 Current sampling device of high-voltage system of new energy vehicle
CN114070163A (en) * 2021-12-01 2022-02-18 深圳市优必选科技股份有限公司 Motor control method, motor control device and motor control module
CN115236391A (en) * 2020-06-03 2022-10-25 珠海多创科技有限公司 Magnetic sensing chip and closed-loop feedback current sensor

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060103409A1 (en) * 2004-11-04 2006-05-18 Hitachi, Ltd. Current sensing method and current sensing device, power conversion device using this current sensing device, and vehicle using this power conversions device
CN103217570A (en) * 2013-03-21 2013-07-24 无锡凌湖科技有限公司 Tunneling magneto resistive (TMR) self-temperature-compensation digital current sensor
US20150349634A1 (en) * 2014-05-27 2015-12-03 Infineon Technologies Austria Ag Inductor current measurement compensation for switching voltage regulators
CN107728094A (en) * 2017-10-23 2018-02-23 宁德时代新能源科技股份有限公司 Current calibration coefficient measuring device and method, and current detecting device and method
CN109541291A (en) * 2018-11-30 2019-03-29 重庆嘉陵华光光电科技有限公司 Wide temperature high-precision multichannel current acquisition system
CN109633255A (en) * 2019-01-25 2019-04-16 常州索维尔电子科技有限公司 Current measuring device and current measuring method based on current divider

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060103409A1 (en) * 2004-11-04 2006-05-18 Hitachi, Ltd. Current sensing method and current sensing device, power conversion device using this current sensing device, and vehicle using this power conversions device
CN103217570A (en) * 2013-03-21 2013-07-24 无锡凌湖科技有限公司 Tunneling magneto resistive (TMR) self-temperature-compensation digital current sensor
US20150349634A1 (en) * 2014-05-27 2015-12-03 Infineon Technologies Austria Ag Inductor current measurement compensation for switching voltage regulators
CN107728094A (en) * 2017-10-23 2018-02-23 宁德时代新能源科技股份有限公司 Current calibration coefficient measuring device and method, and current detecting device and method
CN109541291A (en) * 2018-11-30 2019-03-29 重庆嘉陵华光光电科技有限公司 Wide temperature high-precision multichannel current acquisition system
CN109633255A (en) * 2019-01-25 2019-04-16 常州索维尔电子科技有限公司 Current measuring device and current measuring method based on current divider

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115236391A (en) * 2020-06-03 2022-10-25 珠海多创科技有限公司 Magnetic sensing chip and closed-loop feedback current sensor
CN112730963A (en) * 2020-12-22 2021-04-30 唐新颖 Automobile-level Hall current sensor with temperature compensation and compensation method thereof
CN113156192A (en) * 2021-02-26 2021-07-23 苏州优赛思电子科技有限公司 Current sampling device of high-voltage system of new energy vehicle
CN114070163A (en) * 2021-12-01 2022-02-18 深圳市优必选科技股份有限公司 Motor control method, motor control device and motor control module

Similar Documents

Publication Publication Date Title
CN110426552A (en) A method of current sample precision is improved by numerically controlled temperature-compensating
CN107941417A (en) The output calibrating installation and method of a kind of pressure sensor
CN110687347A (en) Hall current sensor with temperature compensation and temperature compensation method thereof
CN103837253B (en) A kind of CMOS temperature transmitter
CN1869615A (en) Temp. compensation device of electronic signal
CN103185832A (en) Hall sensor temperature compensation method in automobile and relevant hall sensor
CN112688687B (en) Method and device for acquiring physical information to be tested, computer equipment and storage medium
CN109884377A (en) The hall signal measuring device and method of detection range automatic adjustment
CN112098916A (en) System and method for superposing ripples on direct current loop in direct current electric energy detection device
CN107037489A (en) A kind of automatic compensation device of induction logging directly coupling signal
CN112946554B (en) Calibration method of current sensor
CN102445608A (en) Monitoring device and calibration method for electric energy quality
CN111983316A (en) ISO detection method and device
CN115856560A (en) Method and device for measuring parasitic parameters of source electrode and drain current of power device
CN211206616U (en) Hall current sensor with temperature compensation
CN111208346B (en) Small signal voltage measuring device and method
CN105571590A (en) Fusion compensation method
CN114624642A (en) Digital correction algorithm to improve battery voltage measurement accuracy
CN106526304A (en) Shunting type digital current sensor for new energy electric vehicle
CN113406550A (en) Current detection calibration method and system
CN111751612A (en) High-frequency power measuring device and method
CN206161730U (en) New forms of energy electric motor car shunting digit current sensor
CN104639053A (en) High-precision weak signal amplification and measurement method
CN212540524U (en) Current measurement circuit and equipment applying same
CN212433262U (en) High-frequency power measuring device

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