CN118129586B - Serial detection method for acquiring linear absolute position by adopting array reluctance Hall - Google Patents
Serial detection method for acquiring linear absolute position by adopting array reluctance Hall Download PDFInfo
- Publication number
- CN118129586B CN118129586B CN202410544787.1A CN202410544787A CN118129586B CN 118129586 B CN118129586 B CN 118129586B CN 202410544787 A CN202410544787 A CN 202410544787A CN 118129586 B CN118129586 B CN 118129586B
- Authority
- CN
- China
- Prior art keywords
- hall
- magnetic
- linear
- detection method
- digital signal
- 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.)
- Active
Links
- 238000001514 detection method Methods 0.000 title claims abstract description 26
- 238000006243 chemical reaction Methods 0.000 claims abstract description 5
- 238000001914 filtration Methods 0.000 claims description 14
- 238000005070 sampling Methods 0.000 claims description 9
- 238000004364 calculation method Methods 0.000 claims description 8
- 238000000034 method Methods 0.000 claims description 8
- 238000003491 array Methods 0.000 claims description 6
- 230000008569 process Effects 0.000 claims description 4
- 230000008859 change Effects 0.000 claims description 3
- 239000000725 suspension Substances 0.000 abstract description 3
- 238000010586 diagram Methods 0.000 description 7
- 238000005516 engineering process Methods 0.000 description 7
- 230000006698 induction Effects 0.000 description 4
- 230000008901 benefit Effects 0.000 description 3
- 101001121408 Homo sapiens L-amino-acid oxidase Proteins 0.000 description 1
- 101000827703 Homo sapiens Polyphosphoinositide phosphatase Proteins 0.000 description 1
- 102100026388 L-amino-acid oxidase Human genes 0.000 description 1
- 102100023591 Polyphosphoinositide phosphatase Human genes 0.000 description 1
- 101100012902 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) FIG2 gene Proteins 0.000 description 1
- 101100233916 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) KAR5 gene Proteins 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000000737 periodic effect Effects 0.000 description 1
- 230000004043 responsiveness Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01B—MEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
- G01B7/00—Measuring arrangements characterised by the use of electric or magnetic techniques
- G01B7/003—Measuring arrangements characterised by the use of electric or magnetic techniques for measuring position, not involving coordinate determination
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01B—MEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
- G01B7/00—Measuring arrangements characterised by the use of electric or magnetic techniques
- G01B7/30—Measuring arrangements characterised by the use of electric or magnetic techniques for measuring angles or tapers; for testing the alignment of axes
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Transmission And Conversion Of Sensor Element Output (AREA)
Abstract
Description
技术领域Technical Field
本发明涉及磁悬浮技术领域,具体为一种采用阵列磁阻霍尔获取直线绝对位置的串行检测方法。The invention relates to the field of magnetic suspension technology, in particular to a serial detection method for obtaining the absolute position of a straight line by using array magnetoresistive Hall.
背景技术Background technique
随着工业自动化程度的提高,对直线运输技术的响应性、精度、可靠性、带载能力要求越来越高。比如在高精度机床上使用的直线电机模组和高速高柔性运输线使用的磁悬浮输送装置,这些直线运输技术和设备都离不开伺服电机与位置反馈传感器,尤其是位置反馈传感器更是决定直线运输技术的精度和稳定性;With the improvement of industrial automation, the requirements for the responsiveness, accuracy, reliability and load capacity of linear transportation technology are getting higher and higher. For example, the linear motor modules used in high-precision machine tools and the magnetic suspension conveyor used in high-speed and high-flexibility transportation lines, these linear transportation technologies and equipment are inseparable from servo motors and position feedback sensors, especially position feedback sensors, which determine the accuracy and stability of linear transportation technology.
目前直线电机方案在直线输送技术中的运用已经比较成熟,尤其是永磁同步直线电机更是由于结构简单,体积小、效率高、功率因数高等优点成为主流。但是无论是传统的动圈式直线电机还是当前越来越流行的动磁式柔性拼接直线电机,其基本原理都是通过位置传感器的反馈和数字处理器计算,精确的控制电机线圈产生矢量磁场,从而与永磁铁作用控制物体移动;At present, the application of linear motor solutions in linear conveying technology has become relatively mature, especially permanent magnet synchronous linear motors have become mainstream due to their simple structure, small size, high efficiency, high power factor and other advantages. However, whether it is the traditional moving coil linear motor or the increasingly popular moving magnet flexible splicing linear motor, its basic principle is to accurately control the motor coil to generate a vector magnetic field through the feedback of the position sensor and the calculation of the digital processor, thereby interacting with the permanent magnet to control the movement of the object;
现有技术中采用的是阵列AMR磁阻传感器的并行采集方案,每个AMR磁阻传感器都需要配备多路高精度模数转换传感器,该类型传感器价格较贵,而且同时还要高性能的数字处理器同步进行数据处理,因此成本高、器件多、体积大。另一种是采用两个AMR磁阻传感器的方案,这种方案虽然成本较低,但是该方法没法做到设备一上电就可以直接读取位置,必须通过外加不间断电源或者每次上电人工校准才行;The existing technology uses a parallel acquisition solution of array AMR magnetoresistive sensors. Each AMR magnetoresistive sensor needs to be equipped with multiple high-precision analog-to-digital conversion sensors. This type of sensor is expensive, and a high-performance digital processor is also required to process data synchronously. Therefore, the cost is high, the number of components is large, and the volume is large. Another solution is to use two AMR magnetoresistive sensors. Although this solution is low-cost, this method cannot directly read the position as soon as the device is powered on. It must be calibrated manually by an external uninterruptible power supply or each time it is powered on.
综上所述,现有技术存在的缺点如下:In summary, the shortcomings of the prior art are as follows:
(1)当前使用的线性霍尔和接近开关虽然成本较低,但是精度不高而且极易丢失位置,无法做到绝对位置读取;(1) Although the current linear Hall and proximity switches are low-cost, they are not very accurate and are very easy to lose their position, making it impossible to achieve absolute position reading;
(2)当前使用的两点式AMR磁阻传感器精度不高,而且无法做到绝对位置读取;(2) The two-point AMR magnetoresistive sensors currently used are not accurate and cannot read absolute positions;
(3)当前使用的阵列,虽然成本低,但无法上电后直接读取当前动子位置,每次上电都需要人工对所有动子进行特殊操作,流程复杂操作难度高;(3) The array currently used, although low-cost, cannot directly read the current position of the mover after power-on. Each power-on requires manual special operations on all movers, which is complex and difficult to operate.
(4)当前使用的磁珊或光栅成本高,且必须工作在清洁环境中,对环境要求较高。(4) The magnetic gratings or optical gratings currently used are expensive and must work in a clean environment, which places high demands on the environment.
因此一款成本较低、性能优良、体积较小的位置传感器是决定直线电机性能的关键。Therefore, a low-cost, high-performance, and small-sized position sensor is the key to determining the performance of the linear motor.
发明内容Summary of the invention
本发明的目的在于提供一种采用阵列磁阻霍尔获取直线绝对位置的串行检测方法,以解决上述背景技术中提出的问题。The object of the present invention is to provide a serial detection method for obtaining the absolute position of a straight line by using array magnetoresistive Hall to solve the problems raised in the above background technology.
为实现上述目的,本发明提供如下技术方案:一种采用阵列磁阻霍尔获取直线绝对位置的串行检测方法,通过阵列的12个磁性霍尔检测磁场的变化,并通过对磁场信号的解算得到磁极的具体位置,从而判断出带磁极物体的绝对位置,具体包括以下步骤:To achieve the above object, the present invention provides the following technical solution: a serial detection method for obtaining the absolute position of a straight line using an array magnetoresistive Hall, detecting the change of the magnetic field through 12 magnetic Hall sensors in the array, and obtaining the specific position of the magnetic pole by solving the magnetic field signal, thereby determining the absolute position of the object with the magnetic pole, which specifically includes the following steps:
步骤一、首先在高速串行数据采集模块,12个磁性霍尔将磁场信号转换为电信号,并通过高速开关进行选通,高速开关选通到对应的传感器后,获取该传感器的磁场->电压转换信号,并将电压信号进行滤波和解调处理;Step 1: First, in the high-speed serial data acquisition module, 12 magnetic Hall sensors convert the magnetic field signal into an electrical signal and select it through a high-speed switch. After the high-speed switch selects the corresponding sensor, the magnetic field -> voltage conversion signal of the sensor is obtained, and the voltage signal is filtered and demodulated;
步骤二、在原始信号处理模块,将解调得到的电压信号转换为标准的正余弦信号,对每个磁性霍尔传感器的正余弦信号进行反正切运算得出相应的角度,并对正余弦信号进行平方和运算从而评估其线性度;Step 2: In the original signal processing module, the demodulated voltage signal is converted into a standard sine and cosine signal, an arc tangent operation is performed on the sine and cosine signals of each magnetic Hall sensor to obtain the corresponding angle, and a square sum operation is performed on the sine and cosine signals to evaluate their linearity;
步骤三、在位置解算模块,一方面通过线性区判断当前磁极所处的大致区域,另一方面根据每个磁性霍尔当前的具体角度值判断细分的位置区域,最后将线性区数据和细分位置数据进行融合,从而得到磁极的具体位置。Step 3: In the position calculation module, on the one hand, the approximate area where the current magnetic pole is located is determined by the linear area, and on the other hand, the subdivided position area is determined according to the current specific angle value of each magnetic Hall. Finally, the linear area data and the subdivided position data are merged to obtain the specific position of the magnetic pole.
优选的,所述高速串行数据采集模块的具体作用如下:Preferably, the specific functions of the high-speed serial data acquisition module are as follows:
磁性霍尔采用磁阻传感器AMR3001或者线性霍尔传感器TMR2151,12个阵列的磁性霍尔的数据输出通道通过2个高速的选择开关TMR2415进行切换,从而能够在高达12MHZ的频率下串行的进行数据的采集。The magnetic Hall uses magnetoresistive sensor AMR3001 or linear Hall sensor TMR2151. The data output channels of the 12 arrays of magnetic Hall are switched through 2 high-speed selection switches TMR2415, so that data can be collected serially at a frequency of up to 12MHZ.
通过高速选择开关选通后,磁性霍尔能够与模数转换器进行连接,从而周期性的将磁场信号转换为能够处理的数字信号;After being selected by a high-speed selection switch, the magnetic Hall can be connected to an analog-to-digital converter to periodically convert the magnetic field signal into a processable digital signal;
采集完成数字信号后,一方面需要对数字信号进行滤波和调制处理,另一方面需要根据存储设备中的校准数据对数字信号进行校准。After the digital signal is acquired, it is necessary to filter and modulate the digital signal on the one hand, and calibrate the digital signal according to the calibration data in the storage device on the other hand.
优选的,滤波和调试处理采用一阶滤波算法,降低了算法复杂度: 式中:ωc表示滤波截止角频率,Ts表示采样时间,Y(n)表示本次滤波值,Y(n-1)表示上次滤波值为, X(n)表示本次采样值;Preferably, the filtering and debugging process adopts a first-order filtering algorithm to reduce the algorithm complexity: Where: ω c represents the filter cutoff angular frequency, T s represents the sampling time, Y (n) represents the current filtering value, Y (n-1) represents the last filtering value, and X (n) represents the current sampling value;
数字信号的校准是通过将预先存储在存储设备中的校准值读取并采集当前的实时供电电压后,将这两个数据加入到传感器的数字信号中,以此修正数字信号的偏差。The calibration of the digital signal is to read the calibration value pre-stored in the storage device and collect the current real-time power supply voltage, and then add these two data to the digital signal of the sensor to correct the deviation of the digital signal.
优选的,所述阵列磁性霍尔的数量与感应磁极的数量均为12个,间距相等均为12mm,高速选择开关一端与磁性霍尔连接,一端与ADC模数传感器连接,用于将磁场信号串行的转变为数字信号,ADC模式传感器将数字信号传入带有存储功能的数字处理器,完成数字信号的后续处理。Preferably, the number of magnetic Halls in the array and the number of induction poles are both 12, and the spacing is equal to 12 mm. One end of the high-speed selection switch is connected to the magnetic Hall, and the other end is connected to the ADC analog-to-digital sensor, which is used to convert the magnetic field signal into a digital signal in series. The ADC mode sensor transmits the digital signal to a digital processor with a storage function to complete the subsequent processing of the digital signal.
优选的,所述原始信号处理模块的具体作用如下:Preferably, the specific functions of the original signal processing module are as follows:
经过高速串行数据采集模块后会得到可用于数字处理器处理的数字信号,直接转换而来的数字信号呈现的是正余弦的分布;After passing through the high-speed serial data acquisition module, a digital signal that can be processed by a digital processor is obtained. The directly converted digital signal presents a sine and cosine distribution.
将正余弦分布的数字信号进行反正切运算,可以获取每个磁性霍尔对应磁极的角度值,该角度值可以反映每个磁极相对霍尔的位置:式中:Sinθ表示从高速串行数据采集模块获取的正弦分布的数字信号,Cosθ表示从高速串行数据采集模块获取的余弦分布的数字信号,θ表示最终通过反正切得到的具体角度值。By performing an inverse tangent operation on the digital signal of the sine and cosine distribution, the angle value of each magnetic pole corresponding to the Hall can be obtained. This angle value can reflect the position of each magnetic pole relative to the Hall: Wherein: Sinθ represents the digital signal of sine distribution obtained from the high-speed serial data acquisition module, Cosθ represents the digital signal of cosine distribution obtained from the high-speed serial data acquisition module, and θ represents the specific angle value finally obtained by the inverse tangent.
优选的,通过平方和运算的方式来检测磁极所处位置的线性度:式中:R表示线性度,Sin(θ)表示从高速串行数据采集模块获取的正弦分布的数字信号,Cos(θ)表示从高速串行数据采集模块获取的余弦分布的数字信号;Preferably, the linearity of the magnetic pole position is detected by a square sum operation: Where: R represents linearity, Sin(θ) represents the digital signal of sinusoidal distribution obtained from the high-speed serial data acquisition module, and Cos(θ) represents the digital signal of cosine distribution obtained from the high-speed serial data acquisition module;
当R值在接近1附近的时候,表示磁性霍尔检测到有效磁极,此时该数字信号有效用于进一步的处理。When the R value is close to 1, it means that the magnetic Hall sensor detects a valid magnetic pole, and the digital signal is valid for further processing.
优选的,所述位置解算模块的具体作用如下:Preferably, the specific functions of the position solution module are as follows:
将12个阵列的磁性霍尔的线性度值与标准线性度值作差进行比较,如绝对值在阈值范围以内,表面有磁极进入磁性霍尔的线性检测范围,并记录每个磁性霍尔的线性区标志:式中:SH(n)表示磁性霍尔的线性区标志数据;1:处于线性区 ,0:不处于线性区,R(n)表示当前计算出得线性度数据,Rstd表示标准的线性度数据;Compare the linearity values of the 12 arrays of magnetic Hall with the standard linearity values. If the absolute value is within the threshold range, the surface has a magnetic pole that enters the linear detection range of the magnetic Hall, and record the linear area mark of each magnetic Hall: Where: SH(n) represents the linear region mark data of the magnetic Hall; 1: in the linear region, 0: not in the linear region, R(n) represents the currently calculated linearity data, and Rstd represents the standard linearity data;
获取每个霍尔的线性区标志后,将12个霍尔的线性区按照权重的方式进行组合,得到一个综合的线性区判断数据:式中:SHA表示12个磁性霍尔线性标志组合后的数据,SH(0)...SH(n)-表示12个磁性霍尔的线性标志。After obtaining the linear region mark of each Hall, the linear regions of the 12 Halls are combined in a weighted manner to obtain a comprehensive linear region judgment data: Wherein: SHA represents the data after the combination of 12 magnetic Hall linear signs, SH(0)...SH(n)-represents the linear signs of 12 magnetic Halls.
优选的,为了得到更加精确的位置通过反正切计算得到细分角度,进行最终位置的拟合;其中:FinalPos表示最终拟合后的绝对位置,FineAngle表示反正切得到的细分角度,Ln表示通过线性区判断得到的初步位置。Preferably, in order to obtain a more accurate position, the subdivision angle is obtained by arc tangent calculation, and the final position is fitted; Among them: FinalPos represents the absolute position after the final fitting, FineAngle represents the subdivision angle obtained by inverse tangent, and Ln represents the preliminary position obtained by judging the linear region.
本发明提出的一种采用阵列磁阻霍尔获取直线绝对位置的串行检测方法,有益效果在于:The present invention proposes a serial detection method using array magnetoresistive Hall to obtain the absolute position of a straight line, which has the following beneficial effects:
1.阵列的磁性霍尔通过高速选择开关实现串行采样,因此可以在保证采样速度足够的情况下节省采样器件的成本;1. The magnetic Hall array realizes serial sampling through high-speed selection switches, thus saving the cost of sampling devices while ensuring sufficient sampling speed;
2.通过数字处理器和存储器件,可以预先将校准值存入,并且在进行数字信号处理的时候读出并对数字信号进行校准;2. Through the digital processor and storage device, the calibration value can be stored in advance, and the digital signal can be read out and calibrated during digital signal processing;
3.通过阵列的磁性霍尔进行位置拟合,上电无需任何特殊操作即可直接获取绝对位置;3. Position fitting is performed through the magnetic Hall of the array, and the absolute position can be directly obtained without any special operation after power-on;
4.本方法所选择的磁性霍尔类型具有抗干扰能力强,检测范围广的优点,因此对环境适应性强。4. The magnetic Hall type selected by this method has the advantages of strong anti-interference ability and wide detection range, so it has strong adaptability to the environment.
综上所述,本发明采用阵列的磁性霍尔,每个磁性霍尔都可以检测磁极的位置,通过高速切换开关串行采集每个磁性霍尔所检测到的磁极位置,再通过数字处理器对所有数据进行融合,则可以在低成本、小体积、高速度的条件下获取装载有磁极的移动物体的绝对位置。In summary, the present invention adopts an array of magnetic Hall sensors, each of which can detect the position of a magnetic pole. The magnetic pole position detected by each magnetic Hall sensor is serially acquired through a high-speed switching switch, and all data is then integrated through a digital processor. The absolute position of a moving object equipped with a magnetic pole can be obtained under low cost, small size, and high speed conditions.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1为本发明阵列磁性霍尔绝对位置串行检测流程图;FIG1 is a flowchart of the array magnetic Hall absolute position serial detection of the present invention;
图2为本发明位置检测装置结构以及与感应磁极位置关系图;FIG2 is a diagram showing the structure of the position detection device of the present invention and its relationship with the position of the induction magnetic pole;
图3为本发明呈正余弦分布的转换数字信号的示意图;FIG3 is a schematic diagram of a converted digital signal showing a sine-cosine distribution according to the present invention;
图4为本发明反正切处理模块的示意图;FIG4 is a schematic diagram of an inverse tangent processing module of the present invention;
图5为本发明反正切数据图;Fig. 5 is an inverse tangent data diagram of the present invention;
图6为本发明原始信号处理的模块运算图。FIG. 6 is a module operation diagram of original signal processing of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
实施例,请参阅图1-6,本发明提供一种技术方案:一种采用阵列磁阻霍尔获取直线绝对位置的串行检测方法,通过阵列的12个磁性霍尔检测磁场的变化,并通过对磁场信号的解算得到磁极的具体位置,从而判断出带磁极物体的绝对位置,具体包括以下步骤:Embodiment, please refer to Figures 1-6, the present invention provides a technical solution: a serial detection method for obtaining the absolute position of a straight line using an array magnetoresistive Hall, detecting the change of the magnetic field through 12 magnetic Halls of the array, and obtaining the specific position of the magnetic pole by solving the magnetic field signal, thereby determining the absolute position of the object with the magnetic pole, specifically comprising the following steps:
步骤一、首先在高速串行数据采集模块,12个磁性霍尔将磁场信号转换为电信号,并通过高速开关进行选通,高速开关选通到对应的传感器后,获取该传感器的磁场->电压转换信号,并将电压信号进行滤波和解调处理;Step 1: First, in the high-speed serial data acquisition module, 12 magnetic Hall sensors convert the magnetic field signal into an electrical signal and select it through a high-speed switch. After the high-speed switch selects the corresponding sensor, the magnetic field -> voltage conversion signal of the sensor is obtained, and the voltage signal is filtered and demodulated;
步骤二、在原始信号处理模块,将解调得到的电压信号转换为标准的正余弦信号,对每个磁性霍尔传感器的正余弦信号进行反正切运算得出相应的角度,并对正余弦信号进行平方和运算从而评估其线性度;Step 2: In the original signal processing module, the demodulated voltage signal is converted into a standard sine and cosine signal, an arc tangent operation is performed on the sine and cosine signals of each magnetic Hall sensor to obtain the corresponding angle, and a square sum operation is performed on the sine and cosine signals to evaluate their linearity;
步骤三、在位置解算模块,一方面通过线性区判断当前磁极所处的大致区域,另一方面根据每个磁性霍尔当前的具体角度值判断细分的位置区域,最后将线性区数据和细分位置数据进行融合,从而得到磁极的具体位置。Step 3: In the position calculation module, on the one hand, the approximate area where the current magnetic pole is located is determined by the linear area, and on the other hand, the subdivided position area is determined according to the current specific angle value of each magnetic Hall. Finally, the linear area data and the subdivided position data are merged to obtain the specific position of the magnetic pole.
所述高速串行数据采集模块的具体作用如下:The specific functions of the high-speed serial data acquisition module are as follows:
磁性霍尔采用磁阻传感器AMR3001或者线性霍尔传感器TMR2151,12个阵列的磁性霍尔的数据输出通道通过2个高速的选择开关TMR2415进行切换,从而能够在高达12MHZ的频率下串行的进行数据的采集。The magnetic Hall uses magnetoresistive sensor AMR3001 or linear Hall sensor TMR2151. The data output channels of the 12 arrays of magnetic Hall are switched through 2 high-speed selection switches TMR2415, so that data can be collected serially at a frequency of up to 12MHZ.
通过高速选择开关选通后,磁性霍尔能够与模数转换器进行连接,从而周期性的将磁场信号转换为能够处理的数字信号,由于是周期性的串行处理,因此只需要一个8通道的模数转换器,保持了低成本的方案优势;After being selected by a high-speed selection switch, the magnetic Hall can be connected to the analog-to-digital converter, thereby periodically converting the magnetic field signal into a processable digital signal. Due to the periodic serial processing, only an 8-channel analog-to-digital converter is required, maintaining the low-cost solution advantage;
采集完成数字信号后,一方面需要对数字信号进行滤波和调制处理,另一方面需要根据存储设备中的校准数据对数字信号进行校准。After the digital signal is acquired, it is necessary to filter and modulate the digital signal on the one hand, and calibrate the digital signal according to the calibration data in the storage device on the other hand.
滤波和调试处理采用一阶滤波算法,降低了算法复杂度: 式中:ωc表示滤波截止角频率,Ts表示采样时间,Y(n)表示本次滤波值,Y(n-1)表示上次滤波值为, X(n)表示本次采样值;The filtering and debugging process uses a first-order filtering algorithm to reduce the algorithm complexity: Where: ω c represents the filter cutoff angular frequency, T s represents the sampling time, Y (n) represents the current filtering value, Y (n-1) represents the last filtering value, and X (n) represents the current sampling value;
数字信号的校准是通过将预先存储在存储设备中的校准值读取并采集当前的实时供电电压后,将这两个数据加入到传感器的数字信号中,以此修正数字信号的偏差。The calibration of the digital signal is to read the calibration value pre-stored in the storage device and collect the current real-time power supply voltage, and then add these two data to the digital signal of the sensor to correct the deviation of the digital signal.
如图2所示,集成了阵列磁性霍尔、高速选择开关、ADC模数传感器、数字处理器的位置检测装置结构图以及与感应磁极的位置关系图;所述阵列磁性霍尔的数量与感应磁极的数量均为12个,间距相等均为12mm,高速选择开关一端与磁性霍尔连接,一端与ADC模数传感器连接,用于将磁场信号串行的转变为数字信号,ADC模式传感器将数字信号传入带有存储功能的数字处理器,完成数字信号的后续处理。As shown in Figure 2, the structure diagram of the position detection device integrating the array magnetic Hall, high-speed selection switch, ADC analog-to-digital sensor, and digital processor, as well as the position relationship diagram with the induction magnetic pole; the number of the array magnetic Hall and the number of the induction magnetic poles are both 12, and the spacing is equal to 12mm. One end of the high-speed selection switch is connected to the magnetic Hall, and the other end is connected to the ADC analog-to-digital sensor, which is used to convert the magnetic field signal into a digital signal in series. The ADC mode sensor transmits the digital signal to the digital processor with storage function to complete the subsequent processing of the digital signal.
所述原始信号处理模块的具体作用如下:The specific functions of the original signal processing module are as follows:
如图3所示:经过高速串行数据采集模块后会得到可用于数字处理器处理的数字信号,直接转换而来的数字信号呈现的是正余弦的分布;As shown in Figure 3: After passing through the high-speed serial data acquisition module, a digital signal that can be processed by a digital processor is obtained. The directly converted digital signal presents a sine and cosine distribution;
将正余弦分布的数字信号进行反正切运算,可以获取每个磁性霍尔对应磁极的角度值,该角度值可以反映每个磁极相对霍尔的位置:式中:Sinθ表示从高速串行数据采集模块获取的正弦分布的数字信号,Cosθ表示从高速串行数据采集模块获取的余弦分布的数字信号,θ表示最终通过反正切得到的具体角度值。By performing an inverse tangent operation on the digital signal of the sine and cosine distribution, the angle value of each magnetic pole corresponding to the Hall can be obtained. This angle value can reflect the position of each magnetic pole relative to the Hall: Wherein: Sinθ represents the digital signal of sine distribution obtained from the high-speed serial data acquisition module, Cosθ represents the digital signal of cosine distribution obtained from the high-speed serial data acquisition module, and θ represents the specific angle value finally obtained by the inverse tangent.
为了准确的判断磁极是否处于磁性霍尔的线性范围,需要对获取数字信号的正余弦度进行检测,只有当磁极的线性度达到一定要求,通过反正切运算获取的磁极角度和磁极位置信息才是有效的;通过平方和运算的方式来检测磁极所处位置的线性度:式中:R表示线性度,Sin(θ)表示从高速串行数据采集模块获取的正弦分布的数字信号,Cos(θ)表示从高速串行数据采集模块获取的余弦分布的数字信号;In order to accurately determine whether the magnetic pole is in the linear range of the magnetic Hall, it is necessary to detect the sine and cosine of the acquired digital signal. Only when the linearity of the magnetic pole meets certain requirements, the magnetic pole angle and magnetic pole position information obtained by the inverse tangent operation are valid; the linearity of the magnetic pole position is detected by the square sum operation: Where: R represents linearity, Sin(θ) represents the digital signal with sinusoidal distribution obtained from the high-speed serial data acquisition module, and Cos(θ) represents the digital signal with cosine distribution obtained from the high-speed serial data acquisition module;
当R值在接近1附近的时候,表示磁性霍尔检测到有效磁极,此时该数字信号有效用于进一步的处理。When the R value is close to 1, it means that the magnetic Hall sensor detects a valid magnetic pole, and the digital signal is valid for further processing.
所述位置解算模块的具体作用如下:The specific functions of the position solution module are as follows:
将12个阵列的磁性霍尔的线性度值与标准线性度值作差进行比较,如绝对值在阈值范围以内,表面有磁极进入磁性霍尔的线性检测范围,并记录每个磁性霍尔的线性区标志:式中:SH(n)表示磁性霍尔的线性区标志数据;1:处于线性区 ,0:不处于线性区,R(n)表示当前计算出得线性度数据,Rstd表示标准的线性度数据;Compare the linearity values of the 12 arrays of magnetic Hall with the standard linearity values. If the absolute value is within the threshold range, the surface has a magnetic pole that enters the linear detection range of the magnetic Hall, and record the linear area mark of each magnetic Hall: Where: SH(n) represents the linear region mark data of the magnetic Hall; 1: in the linear region, 0: not in the linear region, R(n) represents the currently calculated linearity data, and Rstd represents the standard linearity data;
获取每个霍尔的线性区标志后,将12个霍尔的线性区按照权重的方式进行组合,得到一个综合的线性区判断数据:式中:SHA表示12个磁性霍尔线性标志组合后的数据,SH(0)...SH(n)-表示12个磁性霍尔的线性标志;After obtaining the linear region mark of each Hall, the linear regions of the 12 Halls are combined in a weighted manner to obtain a comprehensive linear region judgment data: Where: SHA represents the data after the combination of 12 magnetic Hall linear signs, SH(0)...SH(n)- represents the linear signs of 12 magnetic Halls;
通过对综合后的线性区数据进行查表后,即可得到当前磁极所处的初步范围。下表是线性区判断数据对应的磁极初步位置:By looking up the integrated linear region data, the preliminary range of the current magnetic pole can be obtained. The following table shows the preliminary magnetic pole position corresponding to the linear region judgment data:
磁极定位参考表:Magnetic pole positioning reference table:
通过线性度处理得到的磁极初步位置能够大致的判断出磁极处于12个磁性霍尔哪个部分,但是无法得到更加精确的位置,为了得到更加精确的位置通过反正切计算得到细分角度,进行最终位置的拟合;其中:FinalPos表示最终拟合后的绝对位置,FineAngle表示反正切得到的细分角度,Ln表示通过线性区判断得到的初步位置。The preliminary position of the magnetic pole obtained through linear processing can roughly determine which part of the 12 magnetic Halls the magnetic pole is in, but it cannot get a more accurate position. In order to get a more accurate position, the arc tangent calculation is used to get the subdivision angle and fit the final position. Among them: FinalPos represents the absolute position after the final fitting, FineAngle represents the subdivision angle obtained by inverse tangent, and Ln represents the preliminary position obtained by judging the linear region.
尽管已经示出和描述了本发明的实施例,对于本领域的普通技术人员而言,可以理解在不脱离本发明的原理和精神的情况下可以对这些实施例进行多种变化、修改、替换和变型,本发明的范围由所附权利要求及其等同物限定。Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.
Claims (7)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410544787.1A CN118129586B (en) | 2024-05-06 | 2024-05-06 | Serial detection method for acquiring linear absolute position by adopting array reluctance Hall |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410544787.1A CN118129586B (en) | 2024-05-06 | 2024-05-06 | Serial detection method for acquiring linear absolute position by adopting array reluctance Hall |
Publications (2)
Publication Number | Publication Date |
---|---|
CN118129586A CN118129586A (en) | 2024-06-04 |
CN118129586B true CN118129586B (en) | 2024-08-06 |
Family
ID=91238069
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202410544787.1A Active CN118129586B (en) | 2024-05-06 | 2024-05-06 | Serial detection method for acquiring linear absolute position by adopting array reluctance Hall |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN118129586B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN119231846A (en) * | 2024-12-03 | 2024-12-31 | 苏州元磁智控科技有限公司 | A multi-point linear displacement device detection method based on serial polling sampling |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111750904A (en) * | 2020-07-08 | 2020-10-09 | 南京航空航天大学 | A long-stroke position detection device and method |
CN115473459A (en) * | 2022-09-01 | 2022-12-13 | 东南大学 | Permanent magnet synchronous linear motor position detection method based on linear Hall |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20060114516A (en) * | 2005-05-02 | 2006-11-07 | 현대모비스 주식회사 | Absolute position acquiring device of motor |
US7215112B1 (en) * | 2005-11-07 | 2007-05-08 | Delphi Technologies, Inc. | Non-contact linear absolute position sensor |
CN202855523U (en) * | 2012-08-27 | 2013-04-03 | 日本精工株式会社 | Rotary transformer device, direct drive motor system and angle position detection device |
JP6477933B2 (en) * | 2017-04-25 | 2019-03-06 | 日本精工株式会社 | Rotation angle detection device and rotation angle detection method |
CN115523823A (en) * | 2022-09-15 | 2022-12-27 | 苏州博古特智造有限公司 | Position detection method for single-point Hall ruler |
CN116232162B (en) * | 2023-04-26 | 2023-07-11 | 苏州元磁智控科技有限公司 | Combined absolute position Hall encoder detection method |
CN117606339A (en) * | 2023-12-01 | 2024-02-27 | 湖南凌翔电气科技有限公司 | Rotor absolute position detection system for magnetic suspension loop line |
-
2024
- 2024-05-06 CN CN202410544787.1A patent/CN118129586B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111750904A (en) * | 2020-07-08 | 2020-10-09 | 南京航空航天大学 | A long-stroke position detection device and method |
CN115473459A (en) * | 2022-09-01 | 2022-12-13 | 东南大学 | Permanent magnet synchronous linear motor position detection method based on linear Hall |
Also Published As
Publication number | Publication date |
---|---|
CN118129586A (en) | 2024-06-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN118129586B (en) | Serial detection method for acquiring linear absolute position by adopting array reluctance Hall | |
CN111457953A (en) | Automatic calibration detection system and method for rotary encoder | |
CN111750904B (en) | A long-stroke position detection device and method | |
CN102043083B (en) | Giant magnetoresistance array current sensor | |
CN110044388B (en) | Application method of non-contact absolute angle position sensor of rotating body | |
CN103322896B (en) | A kind of brshless DC motor Hall element installation site detection method and system | |
CN116232162B (en) | Combined absolute position Hall encoder detection method | |
CN110345976B (en) | Magneto-optical hybrid encoder system | |
CN112857405B (en) | Moving-magnet type absolute position detection device | |
CN112117079B (en) | Encoder magnet structure, encoder, motor, electrical equipment and vehicle | |
CN106092150A (en) | The location information acquisition method of rotary transformer, system and electronic equipment | |
US6515471B1 (en) | Absolute position hall string sensor | |
KR102159697B1 (en) | Method and apparatus for error correction in linear position sensing system using magnetic sensors | |
CN118758158A (en) | A position detection method for a two-point AMR Hall linear displacement ruler | |
CN110243401B (en) | Photoelectric cell of optical encoder and decoding device of optical magnetic encoder | |
CN101226064A (en) | Inductive rotor position sensor | |
CN106197254A (en) | Hall-type angular transducer based on radial magnetizing | |
CN112986608B (en) | Micro-nano satellite reaction flywheel speed measurement method based on linear Hall | |
CN107529384B (en) | Micro- flywheel speed-measuring method and device based on linear hall element | |
CN209877990U (en) | Non-contact absolute angle position sensor of rotating body | |
CN111982164A (en) | Multi-track sector positioning off-axis absolute encoder | |
CN218822420U (en) | Encoder, motor and automatic system | |
CN113008276B (en) | Battery type magnetic encoder | |
CN1218162C (en) | Magnetic photoelectric encoder used for servo system | |
CN212340274U (en) | Magnetoelectric encoder |
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 | ||
TR01 | Transfer of patent right |
Effective date of registration: 20250122 Address after: Room 801-8, Building A1, No. 118 Wangting Street, Wangting Town, Xiangcheng District, Suzhou City, Jiangsu Province, 215000 Patentee after: Suzhou Yuanci Intelligent Control Technology Co.,Ltd. Country or region after: China Patentee after: SUZHOU JIUJUN INTELLIGENT EQUIPMENT Co.,Ltd. Address before: Room 801-8, Building A1, No. 118 Wangting Street, Wangting Town, Xiangcheng District, Suzhou City, Jiangsu Province, 215000 Patentee before: Suzhou Yuanci Intelligent Control Technology Co.,Ltd. Country or region before: China |
|
TR01 | Transfer of patent right |