Hall sensor chip temperature compensation method for automobile

文档序号:584595 发布日期:2021-05-25 浏览:11次 中文

阅读说明:本技术 一种用于汽车的霍尔传感器芯片温度补偿方法 (Hall sensor chip temperature compensation method for automobile ) 是由 邓焕 于 2021-01-06 设计创作,主要内容包括:本发明属于传感芯片温度补偿技术领域,尤其为一种用于汽车的霍尔传感器芯片温度补偿方法,包括以下步骤:步骤S1、采用二维回归分析法建立起被测电流、霍尔电流传感器输出电压和其工作温度之间的函数关系并进行数据融合处理,建立训练数据库;步骤S2、接收被测信号;步骤S3、将被测信号与相应设定的阈值进行分析;步骤S4、根据训练数据库计算所得的标准值进行温度效应补偿;步骤S5、输出经过温度补偿后的被测电流。本发明能够实现对霍尔电流传感器的实时温度补偿,无需在工作过程中由于温度变化导致需要对采集到的数据进行重新计算分析,具有处理速度快、稳定可靠的特点,同时具有良好的自适应性,满足实际测量需求。(The invention belongs to the technical field of temperature compensation of a sensing chip, and particularly relates to a temperature compensation method for a Hall sensor chip of an automobile, which comprises the following steps: step S1, establishing a functional relation among the current to be measured, the output voltage of the Hall current sensor and the working temperature thereof by adopting a two-dimensional regression analysis method, performing data fusion processing, and establishing a training database; step S2, receiving a detected signal; step S3, analyzing the detected signal and a corresponding set threshold value; step S4, performing temperature effect compensation according to the standard value calculated by the training database; and step S5, outputting the measured current subjected to temperature compensation. The invention can realize real-time temperature compensation of the Hall current sensor, does not need to recalculate and analyze the acquired data due to temperature change in the working process, has the characteristics of high processing speed, stability and reliability, has good self-adaptability and meets the actual measurement requirement.)

1. A temperature compensation method for a Hall sensor chip of an automobile is characterized by comprising the following steps: the method comprises the following steps:

step S1, establishing a functional relation among the current to be measured, the output voltage of the Hall current sensor and the working temperature thereof by adopting a two-dimensional regression analysis method, performing data fusion processing, and establishing a training database;

step S2, receiving different test currents applied to the Hall current sensor, output voltage signals and Hall current sensor working temperature signals detected by the temperature sensor;

step S3, analyzing the measured test current, output voltage and working temperature value and the corresponding set threshold value;

step S4, when the measured test current, the output voltage and the working temperature value are within the threshold value set by the set threshold value, the temperature effect compensation is carried out according to the standard value calculated by the training database;

and step S5, outputting the measured current subjected to temperature compensation.

2. The hall sensor chip temperature compensation method for the automobile according to claim 1, wherein: the Hall current sensor is applied with different test currents in a constant temperature field.

3. The hall sensor chip temperature compensation method for the automobile according to claim 1, wherein: the temperature compensation ranges from-40 ℃ to +125 ℃.

4. The hall sensor chip temperature compensation method for the automobile according to claim 1, wherein: when the training database is established, a two-dimensional regression analysis method is stored in the single chip microcomputer, the current is tested through the HB-CD1000 type Hall current sensor, the working temperature of the Hall current sensor is tested through the LM35 type temperature sensor, the functional relation among the tested current, the output voltage of the Hall current sensor and the working temperature of the Hall current sensor is established by the two-dimensional regression analysis method according to the monitoring result, data fusion processing is carried out, a large amount of training data are adopted, the corresponding processing result is obtained, and the training database is established on the basis of the corresponding processing result.

Technical Field

The invention relates to the technical field of temperature compensation of a sensing chip, in particular to a temperature compensation method for a Hall sensor chip of an automobile.

Background

The hall current sensor is greatly affected by temperature, so that the sensor needs to be temperature compensated. In the measuring experiment process, different testing currents are usually applied to the Hall current sensor in a constant temperature field, the working temperature of the Hall current sensor is monitored by the temperature sensor, the measured current is established by adopting a two-dimensional regression analysis method according to the monitoring result, the functional relation between the output voltage of the Hall current sensor and the working temperature of the Hall current sensor is subjected to data fusion processing, and the interference of the temperature to the current sensor is weakened. The fusion result shows that the measurement precision of the current sensor is improved by 1-2 orders of magnitude after compensation compared with that before compensation, the algorithm is stored in the single chip microcomputer, and the real-time processing of the data acquired by the two sensors is realized through a hardware circuit, so that the sensing test system has certain self-adaptive capacity. Compared with the prior method, the software compensation method can better meet the requirement of actual measurement.

In the actual application process of the existing software temperature compensation method on the automobile, because the working temperature of the Hall current sensor changes, the temperature value acquired by the temperature sensor changes along with the change of the working temperature of the Hall current sensor, therefore, the software temperature compensation method needs to continuously adopt a two-dimensional regression equation to calculate corresponding input measured target parameters when carrying out temperature compensation on the Hall current sensor, the singlechip has large calculation amount and heavier burden, the reaction speed is influenced by a large amount of complex calculation, and the temperature compensation processing efficiency is lower.

Disclosure of Invention

Technical problem to be solved

Aiming at the defects of the prior art, the invention provides a temperature compensation method for a Hall sensor chip of an automobile, which solves the problems that the existing two-dimensional regression analysis method software temperature compensation method needs to continuously adopt a two-dimensional regression equation to calculate corresponding input measured target parameters when the Hall current sensor is subjected to temperature compensation, a single chip microcomputer is large in calculation amount and heavy in burden, the reaction speed is influenced by a large amount of complex calculation, and the temperature compensation processing efficiency is low.

(II) technical scheme

In order to achieve the purpose, the invention provides the following technical scheme: a temperature compensation method for a Hall sensor chip of an automobile comprises the following steps:

step S1, establishing a functional relation among the current to be measured, the output voltage of the Hall current sensor and the working temperature thereof by adopting a two-dimensional regression analysis method, performing data fusion processing, and establishing a training database;

step S2, receiving different test currents applied to the Hall current sensor, output voltage signals and Hall current sensor working temperature signals detected by the temperature sensor;

step S3, analyzing the measured test current, output voltage and working temperature value and the corresponding set threshold value;

step S4, when the measured test current, the output voltage and the working temperature value are within the threshold value set by the set threshold value, the temperature effect compensation is carried out according to the standard value calculated by the training database;

and step S5, outputting the measured current subjected to temperature compensation.

In a preferred embodiment of the present invention, the hall current sensor is applied with different test currents in a constant temperature field.

As a preferable technical scheme of the invention, the temperature compensation range is in the range of-40 ℃ to +125 ℃.

As a preferred technical scheme of the invention, when the training database is established, a two-dimensional regression analysis method is stored in a single chip microcomputer, the current is tested through an HB-CD1000 type Hall current sensor, the working temperature of the Hall current sensor is tested through an LM35 type temperature sensor, the functional relation among the tested current, the output voltage of the Hall current sensor and the working temperature is established by the two-dimensional regression analysis method according to the monitoring result, the data fusion processing is carried out, a large amount of training data is adopted, the corresponding processing result is obtained, and the training database is established on the basis of the corresponding processing result.

(III) advantageous effects

Compared with the prior art, the invention provides a temperature compensation method for a Hall sensor chip of an automobile, which has the following beneficial effects:

the method for compensating the temperature of the Hall sensor chip for the automobile is characterized in that a training database is established based on a two-dimensional regression analysis method, corresponding input measured target parameters can be calculated only by measuring the measured current and the working temperature value of the Hall current sensor in the actual process, then real-time temperature compensation of the Hall current sensor is realized, recalculation and analysis of collected data are not needed due to temperature change in the working process, and the method has the characteristics of high processing speed, stability and reliability, and good adaptability and meets the actual measurement requirements.

Drawings

FIG. 1 is a schematic structural diagram of the present invention.

Detailed Description

The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.

Examples

Referring to fig. 1, the present invention provides the following technical solutions: a temperature compensation method for a Hall sensor chip of an automobile comprises the following steps:

step S1, establishing a functional relation among the current to be measured, the output voltage of the Hall current sensor and the working temperature thereof by adopting a two-dimensional regression analysis method, performing data fusion processing, and establishing a training database;

step S2, receiving different test currents applied to the Hall current sensor, output voltage signals and Hall current sensor working temperature signals detected by the temperature sensor;

step S3, analyzing the measured test current, output voltage and working temperature value and the corresponding set threshold value;

step S4, when the measured test current, the output voltage and the working temperature value are within the threshold value set by the set threshold value, the temperature effect compensation is carried out according to the standard value calculated by the training database;

and step S5, outputting the measured current subjected to temperature compensation.

Specifically, the hall current sensor is applied with different test currents in a constant temperature field.

Specifically, the temperature compensation range is in the range of-40 ℃ to +125 ℃.

Specifically, when the training database is established, a two-dimensional regression analysis method is stored in the single chip microcomputer, the current is tested through the HB-CD1000 type Hall current sensor, the working temperature of the Hall current sensor is tested through the LM35 type temperature sensor, the function relation among the tested current, the output voltage of the Hall current sensor and the working temperature of the Hall current sensor is established by the two-dimensional regression analysis method according to the monitoring result, data fusion processing is carried out, a large amount of training data are adopted, a corresponding processing result is obtained, and the training database is established on the basis of the corresponding processing result.

In the embodiment, due to the establishment of the training database, in the practical application process, the current to be measured and the working temperature data of the Hall current sensor are detected only by the Hall current sensor and the temperature sensor, the data can be compared and analyzed with a set threshold value, when the current value and the temperature value are within the set threshold value, the corresponding compensated measured current can be directly output, the value collected by the Hall current sensor can be corrected according to the temperature change, thereby realizing the real-time temperature compensation of the Hall current sensor without recalculating and analyzing the acquired data caused by the temperature change in the working process, the temperature compensation method has the characteristics of high processing speed, stability and reliability, and good self-adaptability, and can better meet the actual measurement requirements.

The working principle and the using process of the invention are as follows: firstly, establishing a functional relation among the measured current, the output voltage of the Hall current sensor and the working temperature of the Hall current sensor by adopting a two-dimensional regression analysis method, carrying out data fusion processing, carrying out training by a large amount of training data, establishing a training database, calculating and outputting a corresponding compensated measured current value according to the functional relation among the measured current, the output voltage of the Hall current sensor and the working temperature of the Hall current sensor, wherein the training database comprises various preset real-time measured current threshold values, Hall current sensor output voltage threshold values and Hall current sensor working temperature threshold values; different test currents are applied to the Hall current sensor to measure a current value to be measured and an output voltage value, meanwhile, the working temperature of the Hall current sensor is detected through the temperature sensor, the signals are received through the single chip microcomputer, the measured test current, the measured output voltage and the measured working temperature value are analyzed with corresponding set thresholds, and when the current value and the temperature value are within the set thresholds, the compensation current value is output according to the output compensated measured current value corresponding to the corresponding threshold, so that real-time temperature compensation of the Hall current sensor is achieved, the need of recalculation and analysis of collected data due to temperature changes in the working process is avoided, and the method is stable, reliable and efficient.

Finally, it should be noted that: although the present invention has been described in detail with reference to the foregoing embodiments, it will be apparent to those skilled in the art that changes may be made in the embodiments and/or equivalents thereof without departing from the spirit and scope of the invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

6页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种学生宿舍违规使用调压插座的检测方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!