[关键词]
[摘要]
针对磁编码器中各类误差导致的解码精度低的问题,在神经网络原理的基础上提出单层自适应神经网络对正余弦信号中存在的幅值不相等、相位不正交、直流偏置、谐波与噪声等误差进行补偿。采用锁相环算法对补偿后的正余弦信号进行解码。电路中采用TLE5501磁阻芯片检测角度变化,利用TL082C运放芯片对信号进行调理,最后采用STM32G431单片机验证算法的性能。通过仿真与试验验证,证明了该算法的有效性与可行性。
[Key word]
[Abstract]
Aiming at the low decoding accuracy caused by various errors in the magnetic encoder, a single-layer adaptive neural network is proposed based on the principle of neural network to compensate the errors such as amplitude inequality, phase non-orthogonality, DC bias, harmonic and noise in the sine and cosine signals. The phase-locked loop algorithm is used to decode the compensated sine and cosine signals. In the circuit, the TLE5501 magnetoresistance chip is used to detect the change of angle, the TL082C operational amplifier chip is used to adjust the signal, and the STM32G431 single chip computer is used to verify the performance of the algorithm. The effectiveness and feasibility of the algorithm are verified by simulation and experiment.
[中图分类号]
[基金项目]
上海市自然科学基金资助项目(19ZR1418600)