The invention discloses a calibration method of magnetic angle sensor based on discrete cosine transform. The calibration method includes: first, select N points evenly distributed on the circumference, [n] = 2 pi n/N, n = 0,1,2,... N, 1 as a reference point of view; the rotating magnetic field to angle alpha [n], according to the measurements of x[n] and y[n] value to the angle theta [n] and error e[n] = [n] theta alpha [n]; BX, by, K estimate and beta value; the calibration parameters of BX, by, K and beta in storage the sensor chip nonvolatile memory (NVM); the second step, according to the parameters of front angle sensing element of the original X and Y corrected output signal. The method of discrete cosine transform can effectively estimate the DC offset error, the amplitude mismatch error, the quadrature phase error and the nonlinear error in the original signal, and correct the original signal, so as to achieve the purpose of improving the accuracy of the angle.
【技术实现步骤摘要】
基于离散正余弦变换的磁性角度传感器校准方法
本专利技术属于磁性角度传感器
,涉及一种磁性角度传感器校准方法,尤其涉及一种基于离散正余弦变换的磁性角度传感器校准方法。
技术介绍
磁性角度传感器广泛应用于工业、汽车、家电、机器人等领域,可以用来检测各种机械结构(如汽车的方向盘、电机中的转子等)转动的角度信息。磁性角度传感器的感应元件主要有霍尔式、磁阻式、电磁感应式等几大类。无论是哪种感应元件,它们在检测到旋转的磁场时输出的信号均为两路正交的正余弦信号,如公式(1)所示。其中,α为待检测的角度,x和y为两路输出信号(注:为简化公式,此处信号的幅值已进行了归一化处理)。
技术实现思路
本专利技术所要解决的技术问题是:提供一种基于离散正余弦变换的磁性角度传感器校准方法,可提高角度检测的精度。为解决上述技术问题,本专利技术采用如下技术方案:一种基于离散正余弦变换的磁性角度传感器校准方法,所述校准方法包括:首先,选择均匀分布在圆周上的N个点α[n]=2πn/N,n=0,1,2,…,N-1作为基准角度点;转动磁场至角度α[n],根据测量的x[n]和y[n]值计算此处的角度θ[n ...
【技术保护点】
一种基于离散正余弦变换的磁性角度传感器校准方法,其特征在于,所述校准方法包括:首先,选择均匀分布在圆周上的N个点α[n]=2πn/N,n=0,1,2,…,N‑1作为基准角度点;转动磁场至角度α[n],根据测量的x[n]和y[n]值计算此处的角度θ[n]和误差e[n]=θ[n]‑α[n];按照下面的公式估算出bx、by、k和β的值;
【技术特征摘要】
2017.04.24 CN 20171027163061.一种基于离散正余弦变换的磁性角度传感器校准方法,其特征在于,所述校准方法包括:首先,选择均匀分布在圆周上的N个点α[n]=2πn/N,n=0,1,2,…,N-1作为基准角度点;转动磁场至角度α[n],根据测量的x[n]和y[n]值计算此处的角度θ[n]和误差e[n]=θ[n]-α[n];按照下面的公式估算出bx、by、k和β的值;第二步,根据前面的得到的参数对角度感应...
【专利技术属性】
技术研发人员:朱剑宇,
申请(专利权)人:上海麦歌恩微电子股份有限公司,
类型:发明
国别省市:上海,31
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。