CN117906645A - Temperature compensation method for vehicle-gauge Hall element - Google Patents

Temperature compensation method for vehicle-gauge Hall element Download PDF

Info

Publication number
CN117906645A
CN117906645A CN202410111661.5A CN202410111661A CN117906645A CN 117906645 A CN117906645 A CN 117906645A CN 202410111661 A CN202410111661 A CN 202410111661A CN 117906645 A CN117906645 A CN 117906645A
Authority
CN
China
Prior art keywords
hall element
real
temperature compensation
temperature
filtering
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
CN202410111661.5A
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.)
Xiamen Ocean Vocational College
Original Assignee
Xiamen Ocean Vocational College
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 Xiamen Ocean Vocational College filed Critical Xiamen Ocean Vocational College
Priority to CN202410111661.5A priority Critical patent/CN117906645A/en
Publication of CN117906645A publication Critical patent/CN117906645A/en
Pending legal-status Critical Current

Links

Landscapes

  • Measuring Magnetic Variables (AREA)
  • Indication And Recording Devices For Special Purposes And Tariff Metering Devices (AREA)

Abstract

The invention discloses a temperature compensation method of a vehicle-gauge Hall element, which comprises the following steps: real-time monitoring real-time working temperature data and real-time working current data of the Hall element, filtering and amplifying the real-time working temperature data and the real-time working current data, converting the processed data into signals, analyzing and processing the data after the signal conversion by utilizing a singlechip, and performing temperature compensation by adopting a synchronous compensation mode of an input end and an output end; the invention monitors the real-time working temperature data and the real-time working current data of the Hall element and carries out filtering amplification treatment, thereby removing data noise, enhancing data signals, being clearer, reducing data errors, improving data precision in the whole temperature compensation process, and carrying out temperature compensation on the input end and the output end of the Hall element in a synchronous compensation mode.

Description

Temperature compensation method for vehicle-gauge Hall element
Technical Field
The invention relates to the technical field of Hall elements, in particular to a temperature compensation method of a vehicle-gauge Hall element.
Background
The hall effect is one of the magneto-electric effects, the hall element is a magnetic field sensor made according to the hall effect, the hall element is also called hall effect sensor, which is a transducer, converting a changing magnetic field into a change of the output voltage, the hall element is firstly practical for measuring the magnetic field, and furthermore it is possible to measure physical quantities which produce and influence the magnetic field, for example for proximity switches, angle measurement, position measurement, rotation speed measurement and current measurement devices, in its simplest form the sensor is used as an analog transducer, returning directly a voltage, at a known magnetic field its distance from the hall element can be set, the hall effect sensor is usually used for measuring the speed of wheels and axles, for example on an internal combustion engine ignition timing or tachometer.
In the automobile industry, the Hall element is widely applied to the monitoring and control of an automobile electrical system, so the Hall element is called as an automobile-standard Hall element, has the characteristics of high-precision measurement, wide working temperature range, high reliability, small size and the like, is particularly applied to an engine control system, a vehicle body control system, a charging system and a braking system in an automobile, provides reliable technical support for the monitoring and control of the automobile electrical system, and also makes an important contribution to the development of the automobile industry.
The material for manufacturing the Hall element is generally a semiconductor material, which leads the output linearity of the Hall element to be greatly influenced by temperature, and the typical temperature variation range in an automobile is mostly between-40 ℃ and 125 ℃, and providing accurate current measurement in such a large span range is a great challenge for the electronic technology.
Disclosure of Invention
The invention aims to solve the problems that the conventional temperature compensation method of the Hall element is complex in flow and high in cost, and data signals transmitted in the temperature compensation process are not subjected to corresponding data enhancement processing, so that certain errors exist in the data signals, the temperature compensation precision is low, and the measurement precision of the Hall element is adversely affected.
In order to achieve the purpose of the invention, the invention is realized by the following technical scheme: a temperature compensation method of a vehicle-gauge Hall element comprises the following steps:
Step one: attaching a temperature sensor on the surface of the Hall element, monitoring the real-time working temperature of the Hall element in real time by adopting the temperature sensor in the working process of the Hall element, filtering and preprocessing the monitored real-time working temperature data signal, and outputting the filtered and preprocessed real-time working temperature data signal to an amplifier for signal amplification;
Step two: the method comprises the steps of electrically connecting a Hall element with a current sensor, monitoring real-time working current of the Hall element in real time by using the current sensor in the working process of the Hall element, performing filtering pretreatment on a real-time working current data signal obtained by monitoring, and outputting the data signal to an amplifier for signal amplification treatment;
Step three: the temperature data signals and the current data signals amplified by the amplifiers in the first step and the second step are respectively subjected to signal conversion by utilizing an A/D conversion chip and sent to a singlechip for analysis and processing;
Step four: after the singlechip receives the temperature data signal and the current data signal after signal conversion, a two-dimensional regression analysis method is adopted to establish a functional relation among the working current of the Hall element, the working voltage of the Hall element and the working temperature of the Hall element;
Step five: storing the established functional relation in a singlechip, comparing with a preset temperature compensation limit threshold value to carry out temperature compensation judgment, and carrying out automatic real-time temperature compensation on the Hall element by adopting a synchronous compensation mode of an input end and an output end by combining a peripheral temperature compensation circuit.
The further improvement is that: in the first step, the real-time working temperature data signal is filtered and preprocessed by adopting an SG filtering algorithm or a T1 wavelet filtering algorithm, and the amplifier is selected from one of an operational amplifier chip and a differential amplifier chip.
The further improvement is that: the specific steps of filtering pretreatment for the real-time working temperature data signal by adopting the SG filtering algorithm are as follows: fitting the local data segments by using a least square method, and estimating the value of each data point by using a fitted function to realize smooth noise reduction and filtering of the signals.
The further improvement is that: the specific steps of adopting the T1 wavelet filtering algorithm to carry out filtering pretreatment on the real-time working temperature data signal are as follows: the signal is decomposed into wavelet coefficients with different scales, and noise is removed by carrying out threshold processing on the wavelet coefficients, so that the filtering and noise reduction of the signal are realized.
The further improvement is that: in the second step, the real-time working current data signal is filtered and preprocessed by adopting an SG filtering algorithm or a T1 wavelet filtering algorithm, and the amplifier is selected from one of an operational amplifier chip and a differential amplifier chip.
The further improvement is that: the specific steps of filtering pretreatment for the real-time working current data signal by adopting the SG filtering algorithm are as follows: fitting the local data segments by using a least square method, and estimating the value of each data point by using a fitted function to realize smooth noise reduction and filtering of the signals.
The further improvement is that: the specific steps of adopting the T1 wavelet filtering algorithm to carry out filtering pretreatment on the real-time working current data signal are as follows: the signal is decomposed into wavelet coefficients with different scales, and noise is removed by carrying out threshold processing on the wavelet coefficients, so that the filtering and noise reduction of the signal are realized.
The further improvement is that: in the third step, the a/D conversion chip converts the digital signals of the temperature data signals and the current data signals amplified by the amplifier into analog signals suitable for processing and analysis of a singlechip, and the singlechip is pre-stored with a temperature compensation limiting threshold value.
The further improvement is that: in the fourth step, the principle of establishing the functional relationship by adopting a two-dimensional regression analysis method is as follows: and establishing a corresponding relation between the measured target parameter and the output quantity of the Hall element by a two-dimensional regression equation, calculating coefficients in the regression equation under the condition of minimum mean square error according to a least square method, and finally calculating corresponding input measured target parameters by the two-dimensional regression equation with known coefficients.
The further improvement is that: in the fifth step, the temperature compensation circuit is arranged at the periphery of the hall element, and when temperature compensation is determined, if the operating temperature value of the hall element in the functional relationship exceeds the temperature compensation limiting threshold value, the hall element is determined to need to be subjected to temperature compensation.
The beneficial effects of the invention are as follows: the invention monitors the real-time working temperature data and the real-time working current data of the Hall element and carries out filtering amplification treatment, thereby removing data noise, enhancing data signals, being clearer, reducing data errors, improving the data precision in the whole temperature compensation process, carrying out temperature compensation on the Hall element by synchronously compensating the input end and the output end of the Hall element, having simpler temperature compensation method and better compensation effect, improving the temperature characteristic of the Hall element to a certain extent, improving the environment adaptability of the Hall element and ensuring the measurement precision of the Hall element.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic flow chart of a temperature compensation method of a vehicle-gauge hall element according to the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Example 1
Referring to fig. 1, the embodiment provides a temperature compensation method of a vehicle-gauge hall element, which includes the following steps:
Step one: the method comprises the following specific steps that a temperature sensor is attached to the surface of a Hall element, the real-time working temperature of the Hall element is monitored in real time by adopting the temperature sensor in the working process of the Hall element, then, the monitored real-time working temperature data signal is subjected to filtering pretreatment by adopting an SG filtering algorithm and is output to an operational amplifier chip for signal amplification treatment, and the real-time working temperature data signal is subjected to filtering pretreatment by adopting the SG filtering algorithm: fitting a local data segment by using a least square method, estimating the value of each data point by using a fitted function to realize smooth noise reduction and filtering of signals, and monitoring, filtering and amplifying real-time working temperature data of a Hall element to remove data noise, so that the data signals are clearer, and the data precision is improved to facilitate subsequent analysis and processing;
Step two: the method comprises the specific steps of electrically connecting a Hall element with a current sensor, monitoring real-time working current of the Hall element in real time by using the current sensor in the working process of the Hall element, performing filtering pretreatment on a real-time working current data signal obtained by monitoring by adopting a T1 wavelet filtering algorithm, outputting the real-time working current data signal to a differential amplifier chip for signal amplification treatment, and performing filtering pretreatment on the real-time working current data signal by adopting the T1 wavelet filtering algorithm: decomposing the signal into wavelet coefficients with different scales, removing noise by carrying out threshold processing on the wavelet coefficients, realizing filtering and noise reduction on the signal, and monitoring and filtering and amplifying real-time working current data of the Hall element, thereby removing data noise, enabling the data signal to be clearer, improving the data precision and facilitating subsequent analysis and processing;
Step three: the temperature data signals and the current data signals amplified by the amplifiers in the first step and the second step are respectively subjected to signal conversion by utilizing the A/D conversion chip and are sent to the singlechip for analysis, wherein the A/D conversion chip converts the temperature data signals and the current data signals amplified by the amplifiers into analog signals suitable for the processing and the analysis of the singlechip, a temperature compensation limiting threshold value is prestored in the singlechip, and the singlechip can perform high-efficiency analysis and treatment on the data signals through the conversion of the data signals, so that the temperature compensation efficiency of the Hall element is improved to a certain extent;
Step four: after the singlechip receives the temperature data signal and the current data signal after signal conversion, a two-dimensional regression analysis method is adopted to establish a functional relation among the working current of the Hall element, the working voltage of the Hall element and the working temperature of the Hall element, wherein the working voltage is calculated by the working current, and the specific principle is as follows: establishing a corresponding relation between a measured target parameter and the output quantity of the Hall element by a two-dimensional regression equation, calculating coefficients in the regression equation under the condition of minimum mean square error according to a least square method, finally calculating corresponding input measured target parameters by a two-dimensional regression equation with known coefficients, and establishing a functional relation among working current, working voltage and working temperature so as to compare preset temperature compensation limiting thresholds and carry out temperature compensation judgment;
Step five: the built functional relation is stored in the singlechip and is compared with a preset temperature compensation limiting threshold value to carry out temperature compensation judgment, and then the peripheral temperature compensation circuit is combined to carry out automatic real-time temperature compensation on the Hall element in a synchronous compensation mode of an input end and an output end, wherein the temperature compensation circuit is arranged on the periphery of the Hall element to carry out temperature compensation judgment, if the working temperature value of the Hall element in the functional relation exceeds the temperature compensation limiting threshold value, the Hall element is judged to need to carry out temperature compensation, and the input end and the output end of the Hall element are synchronously compensated to carry out temperature compensation.
Example two
Referring to fig. 1, the embodiment provides a temperature compensation method of a vehicle-gauge hall element, which includes the following steps:
step one: the method comprises the following specific steps that a temperature sensor is attached to the surface of a Hall element, the real-time working temperature of the Hall element is monitored in real time by adopting the temperature sensor in the working process of the Hall element, then a T1 wavelet filtering algorithm is adopted to carry out filtering pretreatment on a real-time working temperature data signal obtained by monitoring and output the real-time working temperature data signal to a differential amplifier chip for signal amplification treatment, and the T1 wavelet filtering algorithm is adopted to carry out filtering pretreatment on the real-time working temperature data signal: decomposing the signal into wavelet coefficients with different scales, removing noise by carrying out threshold processing on the wavelet coefficients, realizing filtering and noise reduction on the signal, and monitoring and filtering and amplifying real-time working temperature data of the Hall element to remove data noise, so that the data signal is clearer, and the data precision is improved to facilitate subsequent analysis and processing;
Step two: the method comprises the specific steps of electrically connecting a Hall element with a current sensor, monitoring the real-time working current of the Hall element in real time by using the current sensor in the working process of the Hall element, carrying out filtering pretreatment on a real-time working current data signal obtained by monitoring by adopting an SG filtering algorithm, outputting the real-time working current data signal to an operational amplifier chip for signal amplification treatment, and carrying out filtering pretreatment on the real-time working current data signal by adopting the SG filtering algorithm: fitting a local data segment by using a least square method, estimating the value of each data point by using a fitted function to realize smooth noise reduction and filtering of signals, and monitoring, filtering and amplifying real-time working current data of a Hall element to remove data noise, so that the data signals are clearer, and the data precision is improved to facilitate subsequent analysis and processing;
Step three: the temperature data signals and the current data signals amplified by the amplifiers in the first step and the second step are respectively subjected to signal conversion by utilizing the A/D conversion chip and are sent to the singlechip for analysis, wherein the A/D conversion chip converts the temperature data signals and the current data signals amplified by the amplifiers into analog signals suitable for the processing and the analysis of the singlechip, a temperature compensation limiting threshold value is prestored in the singlechip, and the singlechip can perform high-efficiency analysis and treatment on the data signals through the conversion of the data signals, so that the temperature compensation efficiency of the Hall element is improved to a certain extent;
Step four: after the singlechip receives the temperature data signal and the current data signal after signal conversion, a two-dimensional regression analysis method is adopted to establish a functional relation among the working current of the Hall element, the working voltage of the Hall element and the working temperature of the Hall element, wherein the working voltage is calculated by the working current, and the specific principle is as follows: establishing a corresponding relation between a measured target parameter and the output quantity of the Hall element by a two-dimensional regression equation, calculating coefficients in the regression equation under the condition of minimum mean square error according to a least square method, finally calculating corresponding input measured target parameters by a two-dimensional regression equation with known coefficients, and establishing a functional relation among working current, working voltage and working temperature so as to compare preset temperature compensation limiting thresholds and carry out temperature compensation judgment;
Step five: the built functional relation is stored in the singlechip and is compared with a preset temperature compensation limiting threshold value to carry out temperature compensation judgment, and then the peripheral temperature compensation circuit is combined to carry out automatic real-time temperature compensation on the Hall element in a synchronous compensation mode of an input end and an output end, wherein the temperature compensation circuit is arranged on the periphery of the Hall element to carry out temperature compensation judgment, if the working temperature value of the Hall element in the functional relation exceeds the temperature compensation limiting threshold value, the Hall element is judged to need to carry out temperature compensation, and the input end and the output end of the Hall element are synchronously compensated to carry out temperature compensation.
The foregoing description of the preferred embodiments of the invention is not intended to be limiting, but rather is intended to cover all modifications, equivalents, alternatives, and improvements that fall within the spirit and scope of the invention.

Claims (10)

1. The temperature compensation method of the vehicle-gauge Hall element is characterized by comprising the following steps of:
Step one: attaching a temperature sensor on the surface of the Hall element, monitoring the real-time working temperature of the Hall element in real time by adopting the temperature sensor in the working process of the Hall element, filtering and preprocessing the monitored real-time working temperature data signal, and outputting the filtered and preprocessed real-time working temperature data signal to an amplifier for signal amplification;
Step two: the method comprises the steps of electrically connecting a Hall element with a current sensor, monitoring real-time working current of the Hall element in real time by using the current sensor in the working process of the Hall element, performing filtering pretreatment on a real-time working current data signal obtained by monitoring, and outputting the data signal to an amplifier for signal amplification treatment;
Step three: the temperature data signals and the current data signals amplified by the amplifiers in the first step and the second step are respectively subjected to signal conversion by utilizing an A/D conversion chip and sent to a singlechip for analysis and processing;
Step four: after the singlechip receives the temperature data signal and the current data signal after signal conversion, a two-dimensional regression analysis method is adopted to establish a functional relation among the working current of the Hall element, the working voltage of the Hall element and the working temperature of the Hall element;
Step five: storing the established functional relation in a singlechip, comparing with a preset temperature compensation limit threshold value to carry out temperature compensation judgment, and carrying out automatic real-time temperature compensation on the Hall element by adopting a synchronous compensation mode of an input end and an output end by combining a peripheral temperature compensation circuit.
2. The method for temperature compensation of a vehicle-gauge hall element according to claim 1, wherein: in the first step, the real-time working temperature data signal is filtered and preprocessed by adopting an SG filtering algorithm or a T1 wavelet filtering algorithm, and the amplifier is selected from one of an operational amplifier chip and a differential amplifier chip.
3. The method for temperature compensation of a vehicle-gauge hall element according to claim 2, wherein: the specific steps of filtering pretreatment for the real-time working temperature data signal by adopting the SG filtering algorithm are as follows: fitting the local data segments by using a least square method, and estimating the value of each data point by using a fitted function to realize smooth noise reduction and filtering of the signals.
4. The method for temperature compensation of a vehicle-gauge hall element according to claim 2, wherein: the specific steps of adopting the T1 wavelet filtering algorithm to carry out filtering pretreatment on the real-time working temperature data signal are as follows: the signal is decomposed into wavelet coefficients with different scales, and noise is removed by carrying out threshold processing on the wavelet coefficients, so that the filtering and noise reduction of the signal are realized.
5. The method for temperature compensation of a vehicle-gauge hall element according to claim 1, wherein: in the second step, the real-time working current data signal is filtered and preprocessed by adopting an SG filtering algorithm or a T1 wavelet filtering algorithm, and the amplifier is selected from one of an operational amplifier chip and a differential amplifier chip.
6. The method for temperature compensation of a vehicle-gauge hall element according to claim 5, wherein: the specific steps of filtering pretreatment for the real-time working current data signal by adopting the SG filtering algorithm are as follows: fitting the local data segments by using a least square method, and estimating the value of each data point by using a fitted function to realize smooth noise reduction and filtering of the signals.
7. The method for temperature compensation of a vehicle-gauge hall element according to claim 5, wherein: the specific steps of adopting the T1 wavelet filtering algorithm to carry out filtering pretreatment on the real-time working current data signal are as follows: the signal is decomposed into wavelet coefficients with different scales, and noise is removed by carrying out threshold processing on the wavelet coefficients, so that the filtering and noise reduction of the signal are realized.
8. The method for temperature compensation of a vehicle-gauge hall element according to claim 1, wherein: in the third step, the a/D conversion chip converts the digital signals of the temperature data signals and the current data signals amplified by the amplifier into analog signals suitable for processing and analysis of a singlechip, and the singlechip is pre-stored with a temperature compensation limiting threshold value.
9. The method for temperature compensation of a vehicle-gauge hall element according to claim 1, wherein: in the fourth step, the principle of establishing the functional relationship by adopting a two-dimensional regression analysis method is as follows: and establishing a corresponding relation between the measured target parameter and the output quantity of the Hall element by a two-dimensional regression equation, calculating coefficients in the regression equation under the condition of minimum mean square error according to a least square method, and finally calculating corresponding input measured target parameters by the two-dimensional regression equation with known coefficients.
10. The method for temperature compensation of a vehicle-gauge hall element according to claim 1, wherein: in the fifth step, the temperature compensation circuit is arranged at the periphery of the hall element, and when temperature compensation is determined, if the operating temperature value of the hall element in the functional relationship exceeds the temperature compensation limiting threshold value, the hall element is determined to need to be subjected to temperature compensation.
CN202410111661.5A 2024-01-26 2024-01-26 Temperature compensation method for vehicle-gauge Hall element Pending CN117906645A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410111661.5A CN117906645A (en) 2024-01-26 2024-01-26 Temperature compensation method for vehicle-gauge Hall element

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410111661.5A CN117906645A (en) 2024-01-26 2024-01-26 Temperature compensation method for vehicle-gauge Hall element

Publications (1)

Publication Number Publication Date
CN117906645A true CN117906645A (en) 2024-04-19

Family

ID=90681821

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410111661.5A Pending CN117906645A (en) 2024-01-26 2024-01-26 Temperature compensation method for vehicle-gauge Hall element

Country Status (1)

Country Link
CN (1) CN117906645A (en)

Similar Documents

Publication Publication Date Title
KR102305128B1 (en) Device for detecting residual braking torque in a vehicle with disc brakes
CN1869615A (en) Temp. compensation device of electronic signal
Reverter et al. Interfacing differential resistive sensors to microcontrollers: A direct approach
CN110426552A (en) A method of current sample precision is improved by numerically controlled temperature-compensating
CN113252960A (en) External magnetic field interference suppression method suitable for direct-current power distribution network current sensor
CN111623698B (en) Eddy current displacement sensor circuit with nonlinear correction function
CN112213092A (en) Measuring method for testing internal force increment of arch bridge suspender by adopting inertia method
EP1024348B1 (en) Low-frequency noise removing method and a related CMOS sensing circuit
CN112730963A (en) Automobile-level Hall current sensor with temperature compensation and compensation method thereof
CN114440756B (en) Method for on-chip wheel spacing identification of magnetoresistive sensor
CN107340488A (en) A kind of multiple spot multicarrier correction system and bearing calibration
CN117906645A (en) Temperature compensation method for vehicle-gauge Hall element
CN108680616B (en) Humidity sensing device and method for digital processing
US10724881B2 (en) Thermal air flow meter with adjustment of pulsation correction function
CN114624642A (en) Digital correction algorithm to improve battery voltage measurement accuracy
CN103080754B (en) Current sensor
CN106054088B (en) It is a kind of improve magnetic flux transducer dynamic output range from zero amplifying circuit
CN113607329B (en) Pressure sensor signal temperature compensation method and pressure sensor
CN115901562A (en) High-precision magnetic plug type abrasive particle sensor
CN113340369B (en) Signal processing method and device for turbine fuel mass flowmeter
WO2024036836A1 (en) Ultrasonic vibration fusion adaptive conditioning circuit and flexible module
CN111198348B (en) Calibration method for noise test system of magnetic sensor
CN111208346B (en) Small signal voltage measuring device and method
CN115102275A (en) Self-adaptive adjustment method and device for data acquisition channel of power system
JP2007248061A (en) Abnormality diagnosis device and abnormality diagnosis method

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