CN115876386A - Parameter correction method and device of Hall torque sensor and storage medium - Google Patents
Parameter correction method and device of Hall torque sensor and storage medium Download PDFInfo
- Publication number
- CN115876386A CN115876386A CN202211493933.XA CN202211493933A CN115876386A CN 115876386 A CN115876386 A CN 115876386A CN 202211493933 A CN202211493933 A CN 202211493933A CN 115876386 A CN115876386 A CN 115876386A
- Authority
- CN
- China
- Prior art keywords
- voltage
- corrected
- parameter
- torque
- compensation
- 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.)
- Granted
Links
- 238000012937 correction Methods 0.000 title claims abstract description 108
- 238000000034 method Methods 0.000 title claims abstract description 59
- 230000035945 sensitivity Effects 0.000 claims description 74
- 230000004044 response Effects 0.000 claims description 11
- 230000003321 amplification Effects 0.000 claims description 5
- 238000003199 nucleic acid amplification method Methods 0.000 claims description 5
- 238000013519 translation Methods 0.000 claims description 3
- 238000005259 measurement Methods 0.000 abstract description 10
- 230000008859 change Effects 0.000 description 7
- 230000008569 process Effects 0.000 description 6
- 238000010586 diagram Methods 0.000 description 4
- 230000004907 flux Effects 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 238000012545 processing Methods 0.000 description 4
- 238000013459 approach Methods 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 239000004020 conductor Substances 0.000 description 2
- 238000013461 design Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000007670 refining Methods 0.000 description 1
Images
Landscapes
- Hall/Mr Elements (AREA)
Abstract
Description
技术领域technical field
本申请涉及传感器技术领域,特别是涉及一种霍尔扭矩传感器的参数校正方法及电子设备、存储介质。The present application relates to the technical field of sensors, in particular to a parameter calibration method of a Hall torque sensor, electronic equipment, and a storage medium.
背景技术Background technique
扭矩传感器是电动助力转向系统(Electric Power Steering,简称EPS)中重要的安全部件,EPS中扭矩传感器的测量精度及可靠性对于转向起着决定性影响,测量错误会导致电动机运行错误,转向过程失去控制,造成重大事故。The torque sensor is an important safety component in the electric power steering system (Electric Power Steering, referred to as EPS). The measurement accuracy and reliability of the torque sensor in the EPS play a decisive role in the steering. Measurement errors will cause the motor to run incorrectly, and the steering process is out of control. , causing major accidents.
目前市场上在EPS中使用的主流扭矩传感器为霍尔扭矩传感器,霍尔扭矩传感器是由一个磁环产生磁场,测量磁场变化信号的霍尔扭矩传感器与壳体固定,并且通过一个软磁导体将磁环和霍尔扭矩传感器耦合。当霍尔扭矩传感器在EPS系统中运行时,扭杆受到方向盘扭矩的作用,霍尔扭矩传感器中的磁环相对于软磁导体的位置发生改变,软磁导体的磁通量密度随之改变,霍尔扭矩传感器测量磁通量密度也会改变。这种方式是通过磁环测量磁场强度以及磁通量密度的绝对值,但由于霍尔扭矩传感器易受各种因素影响如温度影响、存在制造安装误差等,所以霍尔扭矩传感器的相关测量参数可能存在偏差,即影响到霍尔扭矩传感器测量的准确性,进而影响EPS的助力灵敏度和可靠性。At present, the mainstream torque sensor used in EPS in the market is the Hall torque sensor. The Hall torque sensor generates a magnetic field by a magnetic ring. The magnetic ring is coupled with the Hall torque sensor. When the Hall torque sensor operates in the EPS system, the torsion bar is affected by the torque of the steering wheel, the position of the magnetic ring in the Hall torque sensor relative to the soft magnetic conductor changes, and the magnetic flux density of the soft magnetic conductor changes accordingly. The torque sensor measures the magnetic flux density which will also change. This method measures the absolute value of the magnetic field strength and magnetic flux density through the magnetic ring, but because the Hall torque sensor is susceptible to various factors such as temperature, manufacturing and installation errors, etc., the relevant measurement parameters of the Hall torque sensor may exist. The deviation affects the measurement accuracy of the Hall torque sensor, which in turn affects the power assistance sensitivity and reliability of the EPS.
发明内容Contents of the invention
本申请至少提供一种霍尔扭矩传感器的参数校正方法及电子设备、存储介质,能够霍尔扭矩传感器的参数进行校正,以提高其测量的准确性和可靠性。The present application at least provides a parameter calibration method of a Hall torque sensor, electronic equipment, and a storage medium, capable of calibrating the parameters of the Hall torque sensor, so as to improve the accuracy and reliability of its measurement.
本申请第一方面提供了一种霍尔扭矩传感器的参数校正方法,该方法包括:获取霍尔扭矩传感器的待校正参数的若干实际参数值,其中,若干实际参数值为待校正参数在对应的影响因子分别处于若干不同状态下的参数值,待校正参数包括电压和扭力补偿中的至少一个,电压对应的影响因子为扭矩,扭力补偿对应的影响因子为温度;基于待校正参数的若干实际参数值以及待校正参数的标准参数值,对待校正参数进行校正。The first aspect of the present application provides a method for correcting parameters of a Hall torque sensor, the method comprising: obtaining several actual parameter values of the parameters to be corrected of the Hall torque sensor, wherein the values of the several actual parameters are in the corresponding values of the parameters to be corrected The parameter values of the influencing factors in several different states, the parameters to be corrected include at least one of voltage and torque compensation, the influencing factor corresponding to voltage is torque, and the influencing factor corresponding to torque compensation is temperature; several actual parameters based on the parameters to be corrected value and the standard parameter value of the parameter to be corrected, the parameter to be corrected is corrected.
其中,待校正参数包括电压,获取霍尔扭矩传感器的待校正参数的若干实际参数值,包括:测量霍尔扭矩传感器在不同扭矩下分别对应的实际电压值;基于待校正参数的若干实际参数值以及待校正参数的标准参数值,对待校正参数进行校正,包括:利用在不同扭矩下分别对应的实际电压值,确定当前的电压灵敏度系数,其中,当前的电压灵敏度系数为霍尔扭矩传感器在校正前的扭矩电压曲线的斜率;基于至少两个目标扭矩分别对应的实际电压值、至少两个目标扭矩分别对应的标准电压值、以及当前的电压灵敏度系数,获得经校正的电压灵敏度系数,其中,经校正的电压灵敏度系数表示校正后的扭矩电压曲线的斜率。Among them, the parameters to be corrected include voltage, and several actual parameter values of the parameters to be corrected of the Hall torque sensor are obtained, including: measuring the actual voltage values corresponding to the Hall torque sensor under different torques; several actual parameter values based on the parameters to be corrected and the standard parameter value of the parameter to be corrected, the parameter to be corrected is corrected, including: using the actual voltage values corresponding to different torques to determine the current voltage sensitivity coefficient, wherein the current voltage sensitivity coefficient is the Hall torque sensor during calibration The slope of the previous torque-voltage curve; based on the actual voltage values corresponding to at least two target torques, the standard voltage values corresponding to at least two target torques, and the current voltage sensitivity coefficient, the corrected voltage sensitivity coefficient is obtained, wherein, The corrected voltage sensitivity coefficient represents the slope of the corrected torque-voltage curve.
其中,利用在不同扭矩下分别对应的实际电压值,确定当前的电压灵敏度系数,包括:利用在不同扭矩下分别对应的实际电压值,生成校正前的扭矩电压曲线;将校正前的扭矩电压曲线的斜率作为当前的电压灵敏度系数;基于至少两个目标扭矩分别对应的实际电压值、至少两个目标扭矩分别对应的标准电压值、以及当前的电压灵敏度系数,获得经校正的电压灵敏度系数,包括:获取两个目标扭矩分别对应的标准电压值之间的第一电压差、以及两个目标扭矩分别对应的实际电压值之间的第二电压差,将第一电压差与第二电压差的比值与当前的电压灵敏度系数的乘积,作为经校正的电压灵敏度系数。Among them, using the actual voltage values corresponding to different torques to determine the current voltage sensitivity coefficient includes: using the actual voltage values corresponding to different torques to generate torque-voltage curves before correction; converting the torque-voltage curves before correction The slope of is used as the current voltage sensitivity coefficient; based on the actual voltage values corresponding to at least two target torques, the standard voltage values corresponding to at least two target torques, and the current voltage sensitivity coefficient, the corrected voltage sensitivity coefficient is obtained, including : Obtain the first voltage difference between the standard voltage values corresponding to the two target torques respectively, and the second voltage difference between the actual voltage values corresponding to the two target torques respectively, and combine the first voltage difference and the second voltage difference The product of the ratio and the current voltage sensitivity coefficient is used as the corrected voltage sensitivity coefficient.
其中,在获得经校正的电压灵敏度系数之后,方法还包括:利用中点电压的标准电压值和实际电压值之间的第三电压差,得到中点电压的校正电压值,其中,中点电压表示霍尔扭矩传感器在扭矩为零时所对应的电压,校正电压值用于表示扭矩电压曲线在校正前后的平移量。Wherein, after obtaining the corrected voltage sensitivity coefficient, the method further includes: using the third voltage difference between the standard voltage value and the actual voltage value of the midpoint voltage to obtain a corrected voltage value of the midpoint voltage, wherein the midpoint voltage Indicates the voltage corresponding to the Hall torque sensor when the torque is zero, and the correction voltage value is used to represent the translation of the torque-voltage curve before and after correction.
其中,在利用中点电压的标准电压值和实际电压值之间的差异,得到中点电压的校正电压值之后,方法还包括以下任意一个或多个步骤:响应于经校正的电压灵敏度系数满足灵敏度系数要求,将经校正的电压灵敏度系数写入霍尔扭矩传感器的存储器中;响应于中点电压的校正电压值满足中点电压要求,将中点电压的校正电压值写入霍尔扭矩传感器的存储器中;利用霍尔扭矩传感器的当前扭矩和校正后的扭矩电压曲线,得到霍尔扭矩传感器的校正后输出电压,将霍尔扭矩传感器的电源电压与基准电压之间的比值作为放大系数,利用放大系数对校正后输出电压进行放大,得到霍尔扭矩传感器的当前输出电压。Wherein, after using the difference between the standard voltage value and the actual voltage value of the midpoint voltage to obtain the corrected voltage value of the midpoint voltage, the method further includes any one or more of the following steps: in response to the corrected voltage sensitivity coefficient satisfying Sensitivity coefficient requirements, the corrected voltage sensitivity coefficient is written into the memory of the Hall torque sensor; in response to the corrected voltage value of the midpoint voltage meeting the midpoint voltage requirement, the corrected voltage value of the midpoint voltage is written into the Hall torque sensor In the memory of the Hall torque sensor; use the current torque of the Hall torque sensor and the corrected torque voltage curve to obtain the corrected output voltage of the Hall torque sensor, and use the ratio between the power supply voltage of the Hall torque sensor and the reference voltage as the amplification factor, The corrected output voltage is amplified by the amplification factor to obtain the current output voltage of the Hall torque sensor.
其中,待校正参数包括扭力补偿,获取霍尔扭矩传感器的待校正参数的若干实际参数值,包括:测量霍尔扭矩传感器在不同温度下分别对应的实际扭力补偿值;基于待校正参数的若干实际参数值以及待校正参数的标准参数值,对待校正参数进行校正,包括:获取标准扭力补偿范围;响应于存在测量得到的实际扭力补偿值超出标准扭力补偿范围,从至少一组候选补偿校正参数中选出一组目标补偿校正参数,其中,目标补偿校正参数能够使不同温度下经校正后的扭力补偿值均位于标准扭力补偿范围内,目标补偿校正参数用于对霍尔扭矩传感器在不同温度下的扭力进行补偿。Among them, the parameters to be corrected include torque compensation, obtaining several actual parameter values of the parameters to be corrected by the Hall torque sensor, including: measuring the actual torque compensation values corresponding to the Hall torque sensor at different temperatures; several actual values based on the parameters to be corrected The parameter value and the standard parameter value of the parameter to be corrected are corrected for the parameter to be corrected, including: obtaining a standard torque compensation range; responding to the fact that the measured actual torque compensation value exceeds the standard torque compensation range, selecting from at least one set of candidate compensation correction parameters Select a set of target compensation correction parameters, wherein the target compensation correction parameters can make the corrected torque compensation values at different temperatures within the standard torque compensation range, and the target compensation correction parameters are used to adjust the Hall torque sensor at different temperatures torque compensation.
其中,每组候选补偿校正参数包括第一候选校正参数和第二候选校正参数,从至少一组候选补偿校正参数中选出一组目标补偿校正参数,包括:对于每组候选补偿校正参数,获取各温度与基准温度之间的温度差,利用各温度对应的温度差、第一候选校正参数和第二候选校正参数,分别计算得到各温度下的经校正后的扭力补偿值;响应于候选补偿校正参数对应的经校正后的扭力补偿值均位于标准扭力补偿范围内,将候选补偿校正参数确定为目标补偿校正参数。Wherein, each group of candidate compensation correction parameters includes a first candidate correction parameter and a second candidate correction parameter, and selecting a set of target compensation correction parameters from at least one set of candidate compensation correction parameters includes: for each set of candidate compensation correction parameters, obtaining The temperature difference between each temperature and the reference temperature is calculated by using the temperature difference corresponding to each temperature, the first candidate correction parameter and the second candidate correction parameter to obtain the corrected torque compensation value at each temperature; in response to the candidate compensation The corrected torque compensation values corresponding to the correction parameters are all within the standard torque compensation range, and the candidate compensation correction parameters are determined as the target compensation correction parameters.
其中,在从至少一组候选补偿校正参数中选出一组目标补偿校正参数之后,方法还包括以下任意一个或多个步骤:将目标补偿校正参数写入霍尔扭矩传感器的存储器中;获取霍尔扭矩传感器所处的当前温度,获取当前温度与基准温度之间的当前温度差,利用当前温度差和目标补偿校正参数计算得到当前温度下的目标扭力补偿值,利用目标扭力补偿值对霍尔扭矩传感器的当前扭力进行补偿。Wherein, after selecting a set of target compensation correction parameters from at least one set of candidate compensation correction parameters, the method further includes any one or more of the following steps: writing the target compensation correction parameters into the memory of the Hall torque sensor; acquiring the Hall torque sensor The current temperature of the Hall torque sensor is obtained, the current temperature difference between the current temperature and the reference temperature is obtained, and the target torque compensation value at the current temperature is calculated by using the current temperature difference and the target compensation correction parameter, and the target torque compensation value is used for Hall The current torque of the torque sensor is compensated.
本申请第二方面提供了一种电子设备,包括相互耦接的存储器和处理器,处理器用于执行存储器中存储的程序指令,以实现上述第一方面任一一项的霍尔扭矩传感器的参数校正方法。The second aspect of the present application provides an electronic device, including a memory and a processor coupled to each other, and the processor is used to execute the program instructions stored in the memory, so as to realize the parameters of the Hall torque sensor in any one of the above-mentioned first aspects Calibration method.
本申请第三方面提供了一种计算机可读存储介质,其上存储有程序指令,程序指令被处理器执行时实现上述第一方面中的霍尔扭矩传感器的参数校正方法。The third aspect of the present application provides a computer-readable storage medium, on which program instructions are stored, and when the program instructions are executed by a processor, the method for calibrating the parameters of the Hall torque sensor in the first aspect above is implemented.
上述方案,以霍尔扭矩传感器的电压和/或扭力补偿作为待校正参数,利用霍尔扭矩传感器的待校正参数在对应的影响因子分别处于若干不同状态下的参数值及其标准参数值,对待校正参数的校正,由此实现霍尔扭矩传感器的电压和/或扭力补偿的校正,进而提高霍尔扭矩传感器测量的准确性和可靠性。The above scheme uses the voltage and/or torque compensation of the Hall torque sensor as the parameters to be corrected, and uses the parameter values and standard parameter values of the parameters to be corrected by the Hall torque sensor when the corresponding influencing factors are in several different states and their standard parameter values. The correction of the correction parameters, thereby realizing the correction of the voltage and/or torque compensation of the Hall torque sensor, thereby improving the accuracy and reliability of the Hall torque sensor measurement.
具体如,针对电压校正,通过测量获取霍尔扭矩传感器在不同扭矩下的实际电压值,利用不同扭矩下的实际电压值对应的标准电压值,对电压灵敏度系数进行校正,由此,可解决霍尔扭矩传感器的实际测量电压与设计电压存在偏差的问题,提高霍尔扭矩传感器测量的准确性和可靠性。针对扭力补偿校正,通过测量霍尔扭矩传感器在不同温度下的实际扭力补偿值,在不同温度下的实际扭力补偿值超出标准扭力补偿范围的情况下,确定能够使得校正后的不同温度下的实际扭力补偿值位于标准扭力补偿范围的补偿校正参数,实现对扭力补偿的校正,由此可降低温度对霍尔扭矩传感器测量的影响,提高霍尔扭矩传感器测量的准确性和可靠性。Specifically, for voltage correction, the actual voltage value of the Hall torque sensor under different torques is obtained by measurement, and the voltage sensitivity coefficient is corrected by using the standard voltage value corresponding to the actual voltage value under different torques. The problem of deviation between the actual measured voltage of the Hall torque sensor and the design voltage can be solved, and the accuracy and reliability of the Hall torque sensor can be improved. For torque compensation correction, by measuring the actual torque compensation value of the Hall torque sensor at different temperatures, when the actual torque compensation value at different temperatures exceeds the standard torque compensation range, it is determined that the corrected actual torque at different temperatures The compensation correction parameter whose torque compensation value is within the standard torque compensation range realizes the correction of torque compensation, thereby reducing the influence of temperature on the measurement of the Hall torque sensor and improving the accuracy and reliability of the measurement of the Hall torque sensor.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,而非限制本申请。It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,这些附图示出了符合本申请的实施例,并与说明书一起用于说明本申请的技术方案。The accompanying drawings here are incorporated into the specification and constitute a part of the specification. These drawings show embodiments consistent with the application, and are used together with the description to describe the technical solution of the application.
图1是本申请霍尔扭矩传感器的参数校正方法一实施例的流程示意图;Fig. 1 is a schematic flow chart of an embodiment of the parameter correction method of the Hall torque sensor of the present application;
图2是本申请霍尔扭矩传感器的电压校正方法一实施例的流程示意图;Fig. 2 is a schematic flow chart of an embodiment of the voltage correction method of the Hall torque sensor of the present application;
图3是本申请霍尔扭矩传感器的电压校正方法再一实施例的流程示意图;Fig. 3 is a schematic flow chart of another embodiment of the voltage correction method of the Hall torque sensor of the present application;
图4是本申请输出扭矩与传感器输出电压一实施例的曲线图;Fig. 4 is a graph of an embodiment of the application output torque and sensor output voltage;
图5是本申请霍尔扭矩传感器的扭力补偿校正方法一实施例的流程示意图;Fig. 5 is a schematic flow chart of an embodiment of a torque compensation correction method for a Hall torque sensor of the present application;
图6是本申请霍尔扭矩传感器的扭力补偿校正方法再一实施例的流程示意图;Fig. 6 is a schematic flowchart of another embodiment of the torque compensation correction method of the Hall torque sensor of the present application;
图7是本申请输出温度与助力增益一实施例的曲线图;Fig. 7 is a graph of an embodiment of the application output temperature and booster gain;
图8是本申请电子设备一实施例的框架示意图;Fig. 8 is a schematic frame diagram of an embodiment of the electronic device of the present application;
图9是本申请算机可读存储介质一实施例的框架示意图。Fig. 9 is a schematic diagram of an embodiment of a computer-readable storage medium of the present application.
具体实施方式Detailed ways
下面结合说明书附图,对本申请实施例的方案进行详细说明。The solutions of the embodiments of the present application will be described in detail below in conjunction with the accompanying drawings.
以下描述中,为了说明而不是为了限定,提出了诸如特定系统结构、接口、技术之类的具体细节,以便透彻理解本申请。In the following description, for purposes of illustration rather than limitation, specific details, such as specific system architectures, interfaces, and techniques, are set forth in order to provide a thorough understanding of the present application.
本文中术语“至少一种”表示多种中的任意一种或多种中的至少两种的任意组合,例如,包括A、B、C中的至少一种,可以表示包括从A、B和C构成的集合中选择的任意一个或多个元素。The term "at least one" herein means any one of a variety or any combination of at least two of a variety, for example, including at least one of A, B, and C, may mean including from A, B, and Any one or more elements selected from the set formed by C.
请参阅图1,图1是本申请霍尔扭矩传感器的参数校正方法一实施例的流程示意图。具体步骤如下:Please refer to FIG. 1 . FIG. 1 is a schematic flowchart of an embodiment of a method for calibrating parameters of a Hall torque sensor according to the present application. Specific steps are as follows:
步骤S110:获取霍尔扭矩传感器的待校正参数的若干实际参数值。Step S110: Acquiring several actual parameter values of the parameters to be corrected of the Hall torque sensor.
其中,若干实际参数值为待校正参数在对应的影响因子分别处于若干不同状态下的参数值,待校正参数包括电压和扭力补偿中的至少一个,电压对应的影响因子为扭矩,扭力补偿对应的影响因子为温度。Among them, some actual parameter values are the parameter values of the parameters to be corrected when the corresponding influence factors are in several different states, the parameters to be corrected include at least one of voltage and torque compensation, the influence factor corresponding to voltage is torque, and the corresponding to torque compensation The influencing factor is temperature.
本文中提及的霍尔扭矩传感器通常包括:扭转轴、永磁块和霍尔元件,在扭转抽上安装有一永磁块,永磁块相距一定角度的位置安装有一霍尔元件,当霍尔扭矩传感器受到一扭矩作用时,扭转轴会转动一个角度,带动永磁块发生位置变化,从而使永磁块与霍尔元件的距离发生变化,以使得霍尔元件输出的电压发生变化。在这一过程中霍尔扭矩传感器将扭矩的变化转变成了电压输出的变化,因此,霍尔扭矩传感器测量的实际电压值容易受到扭矩的影响。该霍尔扭矩传感器可应用于汽车工业领域,也可应用于石油开采和提炼过程的控制和监测等。可以理解的是,本文中的霍尔扭矩传感器的参数校正方法也可应用于多种领域,在此不作具体地限定。The Hall torque sensor mentioned in this article usually includes: a torsion shaft, a permanent magnet block and a Hall element. A permanent magnet block is installed on the torsion pump, and a Hall element is installed at a certain angle from the permanent magnet block. When the Hall When the torque sensor is subjected to a torque, the torsion shaft will rotate an angle, which will drive the position of the permanent magnet to change, so that the distance between the permanent magnet and the Hall element will change, so that the voltage output by the Hall element will change. In this process, the Hall torque sensor converts the change of torque into a change of voltage output. Therefore, the actual voltage value measured by the Hall torque sensor is easily affected by the torque. The Hall torque sensor can be used in the field of automobile industry, and can also be used in the control and monitoring of oil exploration and refining processes and the like. It can be understood that the method for calibrating the parameters of the Hall torque sensor herein can also be applied in various fields, which is not specifically limited here.
此外,霍尔扭矩传感器可根据其温度输出相应的扭力补偿信号,该扭力补偿信号将发送至伺服电机或转向电机等辅助动力设备,辅助动力设备根据该扭力补偿信号产生相应的扭力补偿值。其中,若辅助动力设备提供的实际扭力与标准扭力不相等,则其相差的扭力部分为扭力补偿值。例如,在EPS中,转向电机根据信号输出的实际扭力为5.2N·m,而该信号的标准扭力为5N·m,则0.2N·m为扭力补偿值,即助力增益值。In addition, the Hall torque sensor can output a corresponding torque compensation signal according to its temperature, and the torque compensation signal will be sent to auxiliary power equipment such as a servo motor or a steering motor, and the auxiliary power equipment will generate a corresponding torque compensation value according to the torque compensation signal. Among them, if the actual torque provided by the auxiliary power equipment is not equal to the standard torque, the difference in torque is the torque compensation value. For example, in EPS, the actual torque output by the steering motor according to the signal is 5.2N·m, and the standard torque of the signal is 5N·m, then 0.2N·m is the torque compensation value, that is, the booster gain value.
在一具体实施例中,可在霍尔扭矩传感器中设置温度传感器用于测量霍尔扭矩传感器自身的温度或是其所处环境的温度。In a specific embodiment, a temperature sensor may be provided in the Hall torque sensor to measure the temperature of the Hall torque sensor itself or the temperature of its environment.
步骤S120:基于待校正参数的若干实际参数值以及待校正参数的标准参数值,对待校正参数进行校正。Step S120: Correct the parameter to be corrected based on several actual parameter values of the parameter to be corrected and standard parameter values of the parameter to be corrected.
在一些实施例中,获取霍尔扭矩传感器在不同扭力下的实际电压值与标准电压值,以标准电压值为基准,对实际电压值进行校正,以使得实际电压值趋近于标准电压值,或是等于标准电压值。可以理解的是,对于标准电压值的选取或是设置可视具体情况而定,在此不作具体限定。In some embodiments, the actual voltage value and the standard voltage value of the Hall torque sensor under different torques are obtained, and the actual voltage value is corrected based on the standard voltage value, so that the actual voltage value approaches the standard voltage value, Or equal to the standard voltage value. It can be understood that the selection or setting of the standard voltage value may depend on specific circumstances, and is not specifically limited here.
在一些实施例中,获取霍尔扭矩传感器在不同温度下的扭力补偿信号,电机根据扭力补偿信号可计算出其对应的实际扭力补偿值,再获取对应温度下的标准扭力补偿值。以标准扭力补偿值为基准,对实际扭力补偿值进行校正,以使得实际扭力补偿值趋近于标准扭力补偿值,或是等于标准扭力补偿值。之后再根据校正后的实际扭力补偿值校正该扭力补偿信号。可以理解的是,对于标准扭力补偿值的选取或是设置可视具体情况而定,在此不作具体限定。In some embodiments, the torque compensation signals of the Hall torque sensor at different temperatures are obtained, and the motor can calculate the corresponding actual torque compensation value according to the torque compensation signal, and then obtain the standard torque compensation value at the corresponding temperature. Based on the standard torque compensation value, the actual torque compensation value is corrected so that the actual torque compensation value approaches the standard torque compensation value, or is equal to the standard torque compensation value. Then correct the torque compensation signal according to the corrected actual torque compensation value. It can be understood that the selection or setting of the standard torsion compensation value depends on specific conditions, and is not specifically limited here.
在另一些实施例中,霍尔扭矩传感器在不同温度下输出值为扭力补偿值,电机接收到扭力补偿值后,输出的实际扭力补偿值为扭力补偿值。再获取对应温度下的标准扭力补偿值。以标准扭力补偿值为基准,对实际扭力补偿值进行校正,以使得实际扭力补偿值趋近于标准扭力补偿值,或是等于标准扭力补偿值。In some other embodiments, the output value of the Hall torque sensor is a torque compensation value at different temperatures, and after the motor receives the torque compensation value, the output actual torque compensation value is the torque compensation value. Then obtain the standard torque compensation value at the corresponding temperature. Based on the standard torque compensation value, the actual torque compensation value is corrected so that the actual torque compensation value approaches the standard torque compensation value, or is equal to the standard torque compensation value.
请参阅图2,图2是本申请霍尔扭矩传感器的电压校正方法一实施例的流程示意图。具体校正步骤如下:Please refer to FIG. 2 . FIG. 2 is a schematic flowchart of an embodiment of a voltage calibration method for a Hall torque sensor of the present application. The specific calibration steps are as follows:
步骤S210:测量霍尔扭矩传感器在不同扭矩下分别对应的实际电压值。Step S210: Measure the corresponding actual voltage values of the Hall torque sensor under different torques.
在一些实施例中,可对霍尔扭矩传感器扭转轴施加一扭力,带动永磁块发生位置变化,以改变霍尔扭矩传感器的磁通量密度,从而使得霍尔扭矩传感器产生对应的实际电压值。重复施加多组不同的扭力,并记录其对应的是实际电压值,则可得到霍尔扭矩传感器在不同扭矩下分别对应的实际电压值。可以理解的是,测量霍尔扭矩传感器在不同扭矩下分别对应的实际电压值的方法可是据依情况而定,在此不作具体限定。In some embodiments, a torque can be applied to the torsion shaft of the Hall torque sensor to drive the position of the permanent magnet block to change the magnetic flux density of the Hall torque sensor, so that the Hall torque sensor can generate a corresponding actual voltage value. Repeatedly apply multiple groups of different torques and record the corresponding actual voltage values, then the actual voltage values corresponding to the Hall torque sensor under different torques can be obtained. It can be understood that the method of measuring the actual voltage values corresponding to different torques of the Hall torque sensor can be determined according to the situation, and is not specifically limited here.
步骤S220:利用在不同扭矩下分别对应的实际电压值,确定当前的电压灵敏度系数。Step S220: Using the corresponding actual voltage values under different torques, determine the current voltage sensitivity coefficient.
其中,当前的电压灵敏度系数为霍尔扭矩传感器在校正前的扭矩电压曲线的斜率。Wherein, the current voltage sensitivity coefficient is the slope of the torque-voltage curve of the Hall torque sensor before calibration.
在一些实施例中,可利用斜率的一般式计算任意两组扭矩电压数据之间的斜率,并以该斜率为这两组扭矩电压数据的电压灵敏度系数。可以理解的是,对于曲线斜率的计算方法除一般式外,也可是其他方法,在此不作具体限定。In some embodiments, the slope between any two sets of torque voltage data can be calculated using the general formula of slope, and the slope can be used as the voltage sensitivity coefficient of the two sets of torque voltage data. It can be understood that the calculation method for the slope of the curve may be other methods besides the general formula, which is not specifically limited here.
在另一些实施例中,关于电压灵敏度系数的计算方法如下:In other embodiments, the calculation method for the voltage sensitivity coefficient is as follows:
步骤S221:利用在不同扭矩下分别对应的实际电压值,生成校正前的扭矩电压曲线。Step S221: Using the corresponding actual voltage values under different torques, generate a torque-voltage curve before correction.
在一些实施例中,可将获取到的不同扭矩下分别对应的实际电压值都输入一直角坐标系中,其中,可以以扭矩为横坐标,以电压为纵坐标,从而生成校正前的扭矩电压曲线。可以理解的是,关于校正前的扭矩电压曲线的生成方法,在此不作具体限定。In some embodiments, the obtained actual voltage values corresponding to different torques can be input into the rectangular coordinate system, wherein the torque can be used as the abscissa and the voltage as the ordinate, so as to generate the torque voltage before correction curve. It can be understood that the method for generating the torque-voltage curve before correction is not specifically limited here.
步骤S222:将校正前的扭矩电压曲线的斜率作为当前的电压灵敏度系数。Step S222: Use the slope of the torque-voltage curve before correction as the current voltage sensitivity coefficient.
步骤S230:基于至少两个目标扭矩分别对应的实际电压值、至少两个目标扭矩分别对应的标准电压值、以及当前的电压灵敏度系数,获得经校正的电压灵敏度系数。Step S230: Obtain a corrected voltage sensitivity coefficient based on the actual voltage values corresponding to the at least two target torques, the standard voltage values corresponding to the at least two target torques, and the current voltage sensitivity coefficient.
其中,经校正的电压灵敏度系数表示校正后的扭矩电压曲线的斜率。Wherein, the corrected voltage sensitivity coefficient represents the slope of the corrected torque-voltage curve.
在一些实施例中,从校正前的扭矩电压曲线中选取两个目标扭矩分别对应的实际电压值,并计算出这两个目标扭矩之间的斜率,作为当前的电压灵敏度系数,从标准扭矩电压曲线中选取两个相同目标扭矩分别对应的标准电压值,利用实际电压值、标准电压值和当前的电压灵敏度系数,获得经校正的电压灵敏度系数。In some embodiments, the actual voltage values corresponding to the two target torques are selected from the torque-voltage curve before correction, and the slope between the two target torques is calculated as the current voltage sensitivity coefficient. From the standard torque voltage Two standard voltage values corresponding to the same target torque are selected from the curve, and the corrected voltage sensitivity coefficient is obtained by using the actual voltage value, the standard voltage value and the current voltage sensitivity coefficient.
具体地,获取两个目标扭矩分别对应的标准电压值之间的第一电压差、以及两个目标扭矩分别对应的实际电压值之间的第二电压差,将第一电压差与第二电压差的比值与当前的电压灵敏度系数的乘积,作为经校正的电压灵敏度系数,如公式1所述:Specifically, the first voltage difference between the standard voltage values corresponding to the two target torques and the second voltage difference between the actual voltage values corresponding to the two target torques are obtained, and the first voltage difference and the second voltage The product of the ratio of the difference and the current voltage sensitivity coefficient is used as the corrected voltage sensitivity coefficient as described in Equation 1:
其中,S′为当前的电压灵敏度系数,S为经校正的电压灵敏度系数,A[V]、B[V]为两个目标扭矩分别对应的标准电压值,A′[V]、B′[]为两个目标扭矩分别对应的实际电压值。Among them, S' is the current voltage sensitivity coefficient, S is the corrected voltage sensitivity coefficient, A[V], B[V] are the standard voltage values corresponding to the two target torques respectively, A'[V], B'[ ] are the actual voltage values corresponding to the two target torques respectively.
步骤S240:利用中点电压的标准电压值和实际电压值之间的第三电压差,得到中点电压的校正电压值。Step S240: Using the third voltage difference between the standard voltage value and the actual voltage value of the midpoint voltage to obtain a corrected voltage value of the midpoint voltage.
其中,中点电压表示所述霍尔扭矩传感器在扭矩为零时所对应的电压,校正电压值用于表示扭矩电压曲线在校正前后的平移量。Wherein, the midpoint voltage represents the voltage corresponding to the Hall torque sensor when the torque is zero, and the corrected voltage value is used to represent the translation amount of the torque-voltage curve before and after correction.
在一些实施例中,在对扭矩电压曲线的斜率完成校正后,校正后的扭矩电压曲线可能与标准扭矩电压曲线是相互平行的,为了将扭矩电压曲线校正至标准扭矩电压曲线,还需对扭矩电压曲线的中点电压进行校正。具体地,可利用公式2:In some embodiments, after correcting the slope of the torque-voltage curve, the corrected torque-voltage curve may be parallel to the standard torque-voltage curve. In order to correct the torque-voltage curve to the standard torque-voltage curve, it is necessary to adjust the torque The midpoint voltage of the voltage curve is corrected. Specifically, formula 2 can be used:
Voq=Vm′[V]+Vo′q (2)V oq =V m ′[V]+V o ′ q (2)
其中,Vo′q为中点电压实际电压值,Voq为中点电压标准电压值,Vm′[V]为校正电压值。Among them, V o ′ q is the actual voltage value of the midpoint voltage, V oq is the standard voltage value of the midpoint voltage, and V m ′[V] is the corrected voltage value.
在一些实施例中,响应于经校正的电压灵敏度系数满足灵敏度系数要求,将经校正的电压灵敏度系数写入霍尔扭矩传感器的存储器中。具体地,可对经校正的电压灵敏度系数进行验证,若符合灵敏度系数要求,则可将经校正的电压灵敏度系数写入霍尔扭矩传感器的存储器中;若不符合,则对经校正的电压灵敏度系数进行重新计算。其中,灵敏度系数要求的设置可为:计算经校正的电压灵敏度系数与标准电压灵敏度系数的相似度,若相似度达到一定阈值,则可视为经校正的电压灵敏度系数满足灵敏度系数要求。可以理解的是,关于灵敏度系数要求的设置可视具体情况而定,在此不作具体限定。In some embodiments, the corrected voltage sensitivity coefficient is written to the memory of the Hall torque sensor in response to the corrected voltage sensitivity coefficient meeting the sensitivity coefficient requirement. Specifically, the corrected voltage sensitivity coefficient can be verified. If it meets the sensitivity coefficient requirements, the corrected voltage sensitivity coefficient can be written into the memory of the Hall torque sensor; Coefficients are recalculated. Among them, the setting of the sensitivity coefficient requirement can be: calculate the similarity between the corrected voltage sensitivity coefficient and the standard voltage sensitivity coefficient, if the similarity reaches a certain threshold, it can be considered that the corrected voltage sensitivity coefficient meets the sensitivity coefficient requirement. It can be understood that the setting of the requirement for the sensitivity coefficient may depend on specific circumstances, and is not specifically limited here.
在一些实施例中,响应于中点电压的校正电压值满足中点电压要求,将中点电压的校正电压值写入霍尔扭矩传感器的存储器中。具体地,可对中点电压的校正电压值进行验证,若符合中点电压要求,则可将中点电压的校正电压值写入霍尔扭矩传感器的存储器中;若不符合,则对中点电压的校正电压值进行重新计算。其中,中点电压要求的设置可为:判断中点电压的实际电压值加上校正电压值是否等于中点电压的标准电压值。可以理解的是,关于中点电压要求的设置可视具体情况而定,在此不作具体限定。In some embodiments, the corrected voltage value for the midpoint voltage is written to a memory of the Hall torque sensor in response to the corrected voltage value for the midpoint voltage meeting the midpoint voltage requirement. Specifically, the corrected voltage value of the midpoint voltage can be verified. If it meets the requirements of the midpoint voltage, the corrected voltage value of the midpoint voltage can be written into the memory of the Hall torque sensor; The corrected voltage value of the voltage is recalculated. Wherein, the setting of the midpoint voltage requirement may be: judging whether the actual voltage value of the midpoint voltage plus the corrected voltage value is equal to the standard voltage value of the midpoint voltage. It can be understood that the setting of the requirement for the midpoint voltage may depend on specific circumstances, and is not specifically limited here.
在一些实施例中,利用霍尔扭矩传感器的当前扭矩和校正后的扭矩电压曲线,得到霍尔扭矩传感器的校正后输出电压,将霍尔扭矩传感器的电源电压与基准电压之间的比值作为放大系数,利用放大系数对校正后输出电压进行放大,得到霍尔扭矩传感器的当前输出电压。具体如公In some embodiments, the corrected output voltage of the Hall torque sensor is obtained by using the current torque of the Hall torque sensor and the corrected torque-voltage curve, and the ratio between the power supply voltage of the Hall torque sensor and the reference voltage is used as an amplified coefficient, use the amplification factor to amplify the corrected output voltage to obtain the current output voltage of the Hall torque sensor. Specific as public
式3:Formula 3:
其中,VT为霍尔扭矩传感器的当前输出电压,a为霍尔扭矩传感器经校正的电压灵敏度系数,θ为扭矩,Vi为中点电压的标准电压值,VCC为霍尔扭矩传感器的电源电压,Vref为霍尔扭矩传感器的基准电压。Among them, V T is the current output voltage of the Hall torque sensor, a is the corrected voltage sensitivity coefficient of the Hall torque sensor, θ is the torque, V i is the standard voltage value of the midpoint voltage, and V CC is the voltage value of the Hall torque sensor Supply voltage, V ref is the reference voltage of the Hall torque sensor.
在一具体应用场景中,利用霍尔扭矩传感器电压校正方法对EPS中的霍尔扭矩传感器进行校正,具体步骤请参阅图3。第一步骤:可通过方向盘对转向系统扭杆施加多组扭矩,并记录霍尔扭矩传感器产生相应的实际电压值。并将多组扭矩和其对应的实际电压值构成一扭矩电压曲线,可结合参阅图4,其中,校正后的曲线为标准的扭矩电压曲线,其横坐标为扭矩,纵坐标为电压。因霍尔传感器工作特性,电压校正可分为灵敏度系数校正与中点电压校正。In a specific application scenario, the Hall torque sensor in the EPS is calibrated by using the Hall torque sensor voltage calibration method, please refer to FIG. 3 for specific steps. Step 1: Apply multiple sets of torque to the torsion bar of the steering system through the steering wheel, and record the corresponding actual voltage value generated by the Hall torque sensor. And multiple groups of torques and their corresponding actual voltage values constitute a torque-voltage curve, which can be combined with reference to FIG. 4 , wherein the corrected curve is a standard torque-voltage curve, the abscissa is the torque, and the ordinate is the voltage. Due to the working characteristics of the Hall sensor, voltage calibration can be divided into sensitivity coefficient calibration and midpoint voltage calibration.
第二步骤:对电压灵敏度系数进行校正时,选择目标扭矩为±4.9N·m时的实际电压值,计算±4.9N·m对应的实际电压值这两点的斜率,并将该斜率作为当前电压灵敏度系数,而标准的扭矩电压曲线中这两点的电压灵敏度系数是已知的。通过公式1将当前电压灵敏度系数校正成标准的电压灵敏度系数。Step 2: When correcting the voltage sensitivity coefficient, select the actual voltage value when the target torque is ±4.9N·m, calculate the slope of the two points of the actual voltage value corresponding to ±4.9N·m, and use this slope as the current Voltage sensitivity coefficients, and the voltage sensitivity coefficients of these two points in the standard torque-voltage curve are known. Correct the current voltage sensitivity coefficient to a standard voltage sensitivity coefficient through formula 1.
其中,A[V]为4.9N·m时的标准电压值,B[V]为-4.9N·m时的标准电压值,A′[V]为4.9N·m时的实际电压值,B′[]为-4.9N·m时的实际电压值。Among them, A[V] is the standard voltage value at 4.9N·m, B[V] is the standard voltage value at -4.9N·m, A'[V] is the actual voltage value at 4.9N·m, B '[] is the actual voltage value at -4.9N·m.
第三步骤:对中点电压进行校正时,霍尔扭矩传感器空载时的电压为2.5V,即扭矩为0时的电压。通过公式2,将中点电压的实际电压值校正成标准电压值,以获得中点电压的校正电压值。Step 3: When correcting the midpoint voltage, the voltage of the Hall torque sensor is 2.5V when it is unloaded, that is, the voltage when the torque is 0. By formula 2, the actual voltage value of the midpoint voltage is corrected to the standard voltage value, so as to obtain the corrected voltage value of the midpoint voltage.
Voq=2.5V=Vm′[V]+o′q V oq =2.5V=V m ′[V]+ o ′ q
第四步骤:对经校正的电压灵敏度系数和中点电压的校正电压值进行判定。检测经校正的电压灵敏度系数是否为标准的电压灵敏度系数,检测中点电压的实际电压值加上校正电压值是否为中点电压标准电压值,若是,则将经校正的电压灵敏度系数和中点电压的校正电压值写入霍尔IC中,并将电压灵敏度系数和电压校正程序进行锁定,即完成电压校正;若电压灵敏度系数为不是,重复上述第二、三、四步骤,直至判定过程通过;若中点电压的实际电压值加上校正电压值不等于中点电压标准电压值,重复上述第三、四步骤,直至判定过程通过。The fourth step: judging the corrected voltage sensitivity coefficient and the corrected voltage value of the midpoint voltage. Detect whether the corrected voltage sensitivity coefficient is the standard voltage sensitivity coefficient, detect whether the actual voltage value plus the corrected voltage value of the midpoint voltage is the standard voltage value of the midpoint voltage, and if so, add the corrected voltage sensitivity coefficient and the midpoint The corrected voltage value of the voltage is written into the Hall IC, and the voltage sensitivity coefficient and the voltage calibration program are locked to complete the voltage calibration; if the voltage sensitivity coefficient is not, repeat the second, third, and fourth steps above until the judgment process passes ; If the actual voltage value of the midpoint voltage plus the corrected voltage value is not equal to the standard voltage value of the midpoint voltage, repeat the third and fourth steps above until the judgment process is passed.
请参阅图5,图5是本申请霍尔扭矩传感器的扭力补偿校正方法一实施例的流程示意图。扭力补偿的具体建校正步骤如下:Please refer to FIG. 5 . FIG. 5 is a schematic flowchart of an embodiment of a torque compensation correction method for a Hall torque sensor of the present application. The specific establishment and correction steps of torque compensation are as follows:
步骤S310:测量霍尔扭矩传感器在不同温度下分别对应的实际扭力补偿值。Step S310: Measuring the actual torque compensation values corresponding to the Hall torque sensor at different temperatures.
步骤S320:获取标准扭力补偿范围。Step S320: Obtain a standard torque compensation range.
在理想的状态下,霍尔扭矩传感器输出的实际扭力补偿值信号是为0。在实际使用过程中,霍尔扭矩传感器输出的实际扭力补偿值信号只会趋于0,并不会等于0。因此设置标准扭力补偿范围,当霍尔扭矩传感器输出的实际扭力补偿值信号在该标准扭力补偿范围时,则该实际扭力补偿值信号对应的扭力补偿值不会对正常使用造成影响。In an ideal state, the actual torque compensation value signal output by the Hall torque sensor is 0. In actual use, the actual torque compensation value signal output by the Hall torque sensor will only tend to 0, and will not be equal to 0. Therefore, a standard torque compensation range is set, and when the actual torque compensation value signal output by the Hall torque sensor is within the standard torque compensation range, the torque compensation value corresponding to the actual torque compensation value signal will not affect normal use.
在一些实施例中,标准扭力补偿范围可以是预先设定的或是根据经验设置的,在此处不做具体的限定。In some embodiments, the standard torsion compensation range may be preset or set according to experience, which is not specifically limited here.
步骤S330:响应于存在测量得到的实际扭力补偿值超出标准扭力补偿范围,从至少一组候选补偿校正参数中选出一组目标补偿校正参数。Step S330: Select a set of target compensation correction parameters from at least one set of candidate compensation correction parameters in response to the fact that the measured actual torque compensation value exceeds the standard torque compensation range.
其中,目标补偿校正参数能够使不同温度下经校正后的扭力补偿值均位于标准扭力补偿范围内,目标补偿校正参数用于对霍尔扭矩传感器在不同温度下的扭力进行补偿。Wherein, the target compensation correction parameters can make the corrected torque compensation values at different temperatures within the standard torque compensation range, and the target compensation correction parameters are used to compensate the torque of the Hall torque sensor at different temperatures.
在一些实施例中,霍尔扭矩传感器每个温度都分别对应有至少一组候选补偿校正参数,每个温度对应的候选补偿校正参数可以是相同的也可以是不相同的。若测量得的某个温度下的实际扭力补偿值超出标准扭力补偿范围,则从该温度下的候选补偿校正参数中选出一组目标补偿校正参数,对该温度下的实际扭力补偿值进行校正。In some embodiments, each temperature of the Hall torque sensor corresponds to at least one set of candidate compensation correction parameters, and the candidate compensation correction parameters corresponding to each temperature may be the same or different. If the measured actual torque compensation value at a certain temperature exceeds the standard torque compensation range, a set of target compensation correction parameters is selected from the candidate compensation correction parameters at this temperature to correct the actual torque compensation value at this temperature .
在另一些实施例中,霍尔扭矩传感器每个温度都共同对应着至少一组候选补偿校正参数。若测量得到某一温度下的实际扭力补偿值超出标准扭力补偿范围,则从候选补偿校正参数中选出一组目标补偿校正参数,对所有温度下的实际扭力补偿值进行校正。In other embodiments, each temperature of the Hall torque sensor corresponds to at least one set of candidate compensation correction parameters. If the measured actual torque compensation value at a certain temperature exceeds the standard torque compensation range, a set of target compensation correction parameters is selected from the candidate compensation correction parameters to correct the actual torque compensation values at all temperatures.
具体地可结合如下步骤:Specifically, the following steps can be combined:
步骤S331:对于每组候选补偿校正参数,获取各温度与基准温度之间的温度差,利用各温度对应的温度差、第一候选校正参数和第二候选校正参数,分别计算得到各温度下的经校正后的扭力补偿值。Step S331: For each group of candidate compensation correction parameters, obtain the temperature difference between each temperature and the reference temperature, and use the temperature difference corresponding to each temperature, the first candidate correction parameter and the second candidate correction parameter to calculate the Corrected torque compensation value.
在一些实施例中,获取霍尔扭矩传感器所处的当前温度,获取当前温度与基准温度之间的当前温度差,利用当前温度差和目标补偿校正参数计算得到当前温度下的目标扭力补偿值,利用目标扭力补偿值对霍尔扭矩传感器的当前扭力进行补偿。具体地,如公式4:In some embodiments, the current temperature of the Hall torque sensor is obtained, the current temperature difference between the current temperature and the reference temperature is obtained, and the target torque compensation value at the current temperature is calculated by using the current temperature difference and the target compensation correction parameter, The current torque of the Hall torque sensor is compensated by using the target torque compensation value. Specifically, as formula 4:
STC=TC1×(T-T0)+TC2×(T-T0)2 (4)S TC =TC 1 ×(TT 0 )+TC 2 ×(TT 0 ) 2 (4)
其中,STC为经校正后的扭力补偿值,TC1为第一候选校正参数,TC2为第二候选校正参数,T0为基准温度。Wherein, S TC is the corrected torque compensation value, TC 1 is the first candidate correction parameter, TC 2 is the second candidate correction parameter, and T 0 is the reference temperature.
步骤S332:响应于候选补偿校正参数对应的经校正后的扭力补偿值均位于标准扭力补偿范围内,将候选补偿校正参数确定为目标补偿校正参数。Step S332: In response to the corrected torque compensation values corresponding to the candidate compensation correction parameters are all within the standard torque compensation range, determine the candidate compensation correction parameters as target compensation correction parameters.
在一些实施例中,对目标补偿校正参数进行验证,若经校正后的扭力补偿值均位于标准扭力补偿范围内,则将改候选补偿校正参数确定为目标补偿校正参,并将目标补偿校正参数写入霍尔扭矩传感器的存储器中;若经校正后的扭力补偿值仍超出标准扭力补偿范围内,则对目标补偿校正参数进行重新计算或是选择。In some embodiments, the target compensation correction parameters are verified, and if the corrected torque compensation values are all within the standard torque compensation range, then the candidate compensation correction parameters are determined as the target compensation correction parameters, and the target compensation correction parameters Write it into the memory of the Hall torque sensor; if the corrected torque compensation value is still beyond the standard torque compensation range, recalculate or select the target compensation correction parameter.
在一具体应用场景中,利用霍尔扭矩传感器扭力补偿校正方法对EPS中的霍尔扭矩传感器进行校正,请结合参阅图6和图7。第一步骤:在保证其余工况参数不变的情况下,测得不同工作温度(高低温)下霍尔扭矩传感器的助力增益信号,根据助力增益信号得到对应的助力增益(即扭力补偿),并得到助力增益随温度变化的曲线,其中,设置助力增益的判定范围为±0.3N·m以内。In a specific application scenario, the Hall torque sensor in the EPS is calibrated using the Hall torque sensor torque compensation correction method, please refer to FIG. 6 and FIG. 7 in conjunction. The first step: under the condition that the other working condition parameters are kept unchanged, measure the booster gain signal of the Hall torque sensor at different working temperatures (high and low temperature), and obtain the corresponding booster gain (that is, torque compensation) according to the booster gain signal. And a curve of the boost gain changing with temperature is obtained, wherein the determination range of setting the boost gain is within ±0.3N·m.
第二步骤:根据助力增益(即扭力补偿值)的判定范围,本实施例中的助力增益随温度变化曲线已超出助力增益的判定范围,则需从候选补偿校正参数中选出一组目标补偿校正参数,并将该组目标补偿校正参数输入至公式4。其中,选定助力增益为0的直线为标准助力增益曲线。利用该公式4将助力增益-温度曲线校正为标准助力增益曲线,从而完成对霍尔扭矩传感器的助力增益信号的校正。The second step: according to the determination range of the booster gain (that is, the torque compensation value), the curve of the booster gain versus temperature in this embodiment has exceeded the determination range of the booster gain, and a group of target compensations needs to be selected from the candidate compensation correction parameters Correction parameters, and input this set of target compensation correction parameters into
第三步骤:对该组目标补偿校正参数进行判定,将霍尔扭矩传感器测量的助力增益再次输入待有组目标补偿校正参数的公式4中,若重新计算得出的助力增益-温度曲线在助力增益的判定范围内,则将该组目标补偿校正参数写入霍尔IC,并将对扭力补偿校正程序进行锁定;否则,重复上述步骤,直至校正后的助力增益-温度曲线在助力增益的判定范围内。The third step: judge the set of target compensation correction parameters, and input the boost gain measured by the Hall torque sensor into the
在本申请中,将霍尔扭矩传感器在不同扭矩下分别对应的实际电压值绘制成实际扭矩-电压曲线,首先将实际扭矩-电压曲线的电压灵敏度系数(即斜率)校正为标准扭矩-电压曲线的电压灵敏度系数,再通过校正实际扭矩-电压曲线的中点电压的实际电压值为标准电压值,以使得实际扭矩-电压曲线与标准扭矩-电压曲线重合,以此完成对霍尔扭矩传感器的输出电压的校正,从而提升转向系统霍尔扭矩传感器输出电压的准确性和可靠性。在对霍尔扭矩传感器的温度特性进行校正时,获取霍尔扭矩传感器在不同温度下的扭力补偿信号,根据扭力补偿信号计算出其对应的实际扭力补偿值,再获取在该温度下的标准扭力补偿值,以标准扭力补偿值为基准,对实际扭力补偿值进行校正,以使得实际扭力补偿值趋近于标准扭力补偿值,或是等于标准扭力补偿值,之后再根据校正后的实际扭力补偿值校正该扭力补偿信号,从而提升转向系统霍尔扭矩传感器温度特性。In this application, the actual voltage values corresponding to the Hall torque sensor under different torques are plotted into actual torque-voltage curves, and the voltage sensitivity coefficient (ie slope) of the actual torque-voltage curve is first corrected to the standard torque-voltage curve The voltage sensitivity coefficient, and then correct the actual voltage value of the midpoint voltage of the actual torque-voltage curve to the standard voltage value, so that the actual torque-voltage curve coincides with the standard torque-voltage curve, so as to complete the Hall torque sensor Correction of the output voltage, thereby improving the accuracy and reliability of the output voltage of the Hall torque sensor of the steering system. When correcting the temperature characteristics of the Hall torque sensor, obtain the torque compensation signal of the Hall torque sensor at different temperatures, calculate the corresponding actual torque compensation value according to the torque compensation signal, and then obtain the standard torque at the temperature The compensation value is based on the standard torque compensation value, and the actual torque compensation value is corrected so that the actual torque compensation value is close to the standard torque compensation value, or equal to the standard torque compensation value, and then compensated according to the corrected actual torque compensation value The value corrects the torque compensation signal, thereby improving the temperature characteristics of the steering system Hall torque sensor.
本领域技术人员可以理解,在具体实施方式的上述方法中,各步骤的撰写顺序并不意味着严格的执行顺序而对实施过程构成任何限定,各步骤的具体执行顺序应当以其功能和可能的内在逻辑确定。Those skilled in the art can understand that in the above method of specific implementation, the writing order of each step does not mean a strict execution order and constitutes any limitation on the implementation process. The specific execution order of each step should be based on its function and possible The inner logic is OK.
请参阅图8,图8是本申请电子设备80一实施例的框架示意图。电子设备80包括相互耦接的存储器81和处理器82,处理器82用于执行存储器81中存储的程序指令,以实现上述任一霍尔扭矩传感器的参数校正方法实施例的步骤。在一个具体的实施场景中,电子设备80可以包括但不限于:微型计算机、服务器,此外,电子设备80还可以包括笔记本电脑、平板电脑等移动设备,在此不做限定。Please refer to FIG. 8 . FIG. 8 is a schematic frame diagram of an embodiment of an
具体而言,处理器82用于控制其自身以及存储器81以实现上述任一霍尔扭矩传感器的参数校正方法实施例的步骤,或实现上述任一图像检测方法实施例中的步骤。处理器82还可以称为CPU(Central Processing Unit,中央处理单元)。处理器82可能是一种集成电路芯片,具有信号的处理能力。处理器82还可以是通用处理器、数字信号处理器(DigitalSignal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。另外,处理器82可以由集成电路芯片共同实现。Specifically, the
请参阅图9,图9为本申请计算机可读存储介质90一实施例的框架示意图。计算机可读存储介质90存储有能够被处理器运行的程序指令901,程序指令901用于实现上述任一霍尔扭矩传感器的参数校正方法实施例中的步骤。Please refer to FIG. 9 . FIG. 9 is a schematic frame diagram of an embodiment of a computer-
在一些实施例中,本公开实施例提供的装置具有的功能或包含的模块可以用于执行上文方法实施例描述的方法,其具体实现可以参照上文方法实施例的描述,为了简洁,这里不再赘述。In some embodiments, the functions or modules included in the device provided by the embodiments of the present disclosure can be used to execute the methods described in the method embodiments above, and its specific implementation can refer to the description of the method embodiments above. For brevity, here No longer.
上文对各个实施例的描述倾向于强调各个实施例之间的不同之处,其相同或相似之处可以互相参考,为了简洁,本文不再赘述。The above descriptions of the various embodiments tend to emphasize the differences between the various embodiments, the same or similar points can be referred to each other, and for the sake of brevity, details are not repeated herein.
在本申请所提供的几个实施例中,应该理解到,所揭露的方法和装置,可以通过其它的方式实现。例如,以上所描述的装置实施方式仅仅是示意性的,例如,模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性、机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed methods and devices may be implemented in other ways. For example, the device implementations described above are only illustrative. For example, the division of modules or units is only a logical function division. In actual implementation, there may be other division methods. For example, units or components can be combined or integrated. to another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(processor)执行本申请各个实施方式方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or part of the contribution to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , including several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (processor) execute all or part of the steps of the methods in various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program codes. .
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211493933.XA CN115876386B (en) | 2022-11-25 | 2022-11-25 | A parameter correction method and device for a Hall torque sensor, and a storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211493933.XA CN115876386B (en) | 2022-11-25 | 2022-11-25 | A parameter correction method and device for a Hall torque sensor, and a storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115876386A true CN115876386A (en) | 2023-03-31 |
CN115876386B CN115876386B (en) | 2025-03-21 |
Family
ID=85764116
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211493933.XA Active CN115876386B (en) | 2022-11-25 | 2022-11-25 | A parameter correction method and device for a Hall torque sensor, and a storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115876386B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118642028A (en) * | 2024-08-12 | 2024-09-13 | 陕西正泽生物技术有限公司 | A medical cyclotron magnetic Hall probe calibration method and device |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4464725A (en) * | 1981-05-19 | 1984-08-07 | Setra Systems, Inc. | Temperature compensated measuring system |
CN1034615A (en) * | 1987-12-28 | 1989-08-09 | 久保田铁工株式会社 | Torque-measuring apparatus |
US5050423A (en) * | 1989-12-04 | 1991-09-24 | Motorola, Inc. | Multi-variable sensor calibration |
CN1374750A (en) * | 2001-03-06 | 2002-10-16 | 开关磁阻驱动有限公司 | Variable voltage compensation |
CN102749125A (en) * | 2011-04-20 | 2012-10-24 | 东京计装株式会社 | Temperature compensation mechanism and temperature compensation method for torque tube type liquidometer |
CN105048901A (en) * | 2015-08-27 | 2015-11-11 | 无锡雷利电子控制技术有限公司 | Self-correction starting method based on rotor position detection for brushless motor |
CN108431370A (en) * | 2016-01-20 | 2018-08-21 | 赛峰直升机发动机公司 | Torsional moment sensor |
CN110530571A (en) * | 2019-08-30 | 2019-12-03 | 航天精工股份有限公司 | The method that a kind of pair of belt sensor threaded male fastener carries out pretightning force calibration |
CN111964619A (en) * | 2020-06-30 | 2020-11-20 | 南京航空航天大学 | A temperature difference compensation method for measuring shaft parts by displacement sensor |
CN113359032A (en) * | 2021-07-02 | 2021-09-07 | 杭州海康威视数字技术股份有限公司 | Permanent magnet synchronous motor testing method, device and equipment |
-
2022
- 2022-11-25 CN CN202211493933.XA patent/CN115876386B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4464725A (en) * | 1981-05-19 | 1984-08-07 | Setra Systems, Inc. | Temperature compensated measuring system |
CN1034615A (en) * | 1987-12-28 | 1989-08-09 | 久保田铁工株式会社 | Torque-measuring apparatus |
US5050423A (en) * | 1989-12-04 | 1991-09-24 | Motorola, Inc. | Multi-variable sensor calibration |
CN1374750A (en) * | 2001-03-06 | 2002-10-16 | 开关磁阻驱动有限公司 | Variable voltage compensation |
CN102749125A (en) * | 2011-04-20 | 2012-10-24 | 东京计装株式会社 | Temperature compensation mechanism and temperature compensation method for torque tube type liquidometer |
CN105048901A (en) * | 2015-08-27 | 2015-11-11 | 无锡雷利电子控制技术有限公司 | Self-correction starting method based on rotor position detection for brushless motor |
CN108431370A (en) * | 2016-01-20 | 2018-08-21 | 赛峰直升机发动机公司 | Torsional moment sensor |
CN110530571A (en) * | 2019-08-30 | 2019-12-03 | 航天精工股份有限公司 | The method that a kind of pair of belt sensor threaded male fastener carries out pretightning force calibration |
CN111964619A (en) * | 2020-06-30 | 2020-11-20 | 南京航空航天大学 | A temperature difference compensation method for measuring shaft parts by displacement sensor |
CN113359032A (en) * | 2021-07-02 | 2021-09-07 | 杭州海康威视数字技术股份有限公司 | Permanent magnet synchronous motor testing method, device and equipment |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118642028A (en) * | 2024-08-12 | 2024-09-13 | 陕西正泽生物技术有限公司 | A medical cyclotron magnetic Hall probe calibration method and device |
Also Published As
Publication number | Publication date |
---|---|
CN115876386B (en) | 2025-03-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101802555B (en) | Method for determining a parameter-dependent correction value approximation curve in sections and sensor arrangement | |
JP6143752B2 (en) | Manufacturing method of current sensor and current sensor | |
US20130239695A1 (en) | Sensing module | |
US8326568B2 (en) | Temperature sensor and temperature sensing method | |
WO2012070337A1 (en) | Current sensor | |
CN115876386A (en) | Parameter correction method and device of Hall torque sensor and storage medium | |
JP2006284375A (en) | Physical quantity detection method and sensor device | |
CN105571666B (en) | Flow-compensated method and compensation device, flow sensor | |
US8245562B2 (en) | Circuit and method for pressure sensor testing | |
CN113219379B (en) | Sensor, controller and method for determining magnetic field direction | |
JP2003050167A (en) | Temperature-compensating apparatus for torque sensor | |
US8868365B2 (en) | System and method of generating external parameter value for separately excited motor controller | |
US20050159868A1 (en) | Method for measuring absolute steering angle of steering shaft of vehicle | |
JP2008096213A (en) | Hall sensor and hall voltage correction method | |
CN103502775A (en) | Method for correcting the voltage measured on the terminals of the sensor | |
KR101961224B1 (en) | Method for detecting current of variable load using a temperature coefficient of shunt registor | |
JP2010216906A (en) | Automobile-use flowmeter | |
JP2004226375A (en) | Temperature compensation device for torque sensor | |
CN116558461A (en) | Altitude sensor calibration method, altitude sensor calibration device, altitude sensor calibration equipment and readable storage medium | |
US11067642B2 (en) | Device for generating a magnetic field of calibration and built-in self-calibration magnetic sensor and calibration method using the same | |
CN104977105B (en) | Torque estimation circuit of remote control servo motor and torque detection method thereof | |
CN114440866A (en) | Sensor data calibration method and calibration system | |
KR100388105B1 (en) | Apparatus and control method for steering of vehicle | |
US11561267B2 (en) | Magnetic sensor with error signaling capability | |
US20240097632A1 (en) | Integrated circuit and semiconductor 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |