CN102636194B - Orthogonal sine and cosine axial angle encoder signal detecting and converting circuit - Google Patents
Orthogonal sine and cosine axial angle encoder signal detecting and converting circuit Download PDFInfo
- Publication number
- CN102636194B CN102636194B CN201210122979.0A CN201210122979A CN102636194B CN 102636194 B CN102636194 B CN 102636194B CN 201210122979 A CN201210122979 A CN 201210122979A CN 102636194 B CN102636194 B CN 102636194B
- Authority
- CN
- China
- Prior art keywords
- resistor
- diode
- pin
- chip
- voltage comparison
- 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.)
- Expired - Fee Related
Links
- 238000001514 detection method Methods 0.000 claims abstract description 19
- 238000006243 chemical reaction Methods 0.000 claims abstract description 13
- 239000003990 capacitor Substances 0.000 claims description 12
- 230000002093 peripheral effect Effects 0.000 claims description 6
- 238000012886 linear function Methods 0.000 abstract description 8
- 238000000034 method Methods 0.000 abstract description 8
- 238000004364 calculation method Methods 0.000 abstract description 5
- 238000010586 diagram Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 4
- 230000009131 signaling function Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Landscapes
- Transmission And Conversion Of Sensor Element Output (AREA)
- Measurement Of Resistance Or Impedance (AREA)
Abstract
本发明的正交正、余弦轴角编码器信号检测和转换电路包括:单片机模块、区间判别电路和编码器。该电路能够将编码器输出的正交正、余弦波轴角信号值转换为可以用于计算电机转速、位置的脉冲列信号。单片机模块根据编码器的信号幅值和区间判别电路输出的信号,计算角度值,如果计算出来的角度值位于方波脉冲信号周期前半部分,则输出高电平,相反位于后半周期则输出低电平,从而形成和正、余弦信号相对应的正交脉冲列。角度的计算采用在误差允许范围内的直线线性函数近似法计算。本电路适用于伺服系统的电机运行速度和位置信息反馈和采集,具有占用的计算资源少,硬件成本低,检测和转换速度快、精度高的特点。
The signal detection and conversion circuit of the quadrature positive and cosine shaft angle encoders of the present invention includes: a single-chip microcomputer module, an interval discrimination circuit and an encoder. The circuit can convert the quadrature positive and cosine wave shaft angle signal values output by the encoder into pulse train signals that can be used to calculate the motor speed and position. The single-chip microcomputer module calculates the angle value according to the signal amplitude of the encoder and the signal output by the interval discrimination circuit. If the calculated angle value is in the first half of the square wave pulse signal cycle, it will output a high level. On the contrary, it will output a low level in the second half cycle. level, thus forming an orthogonal pulse train corresponding to the sine and cosine signals. The calculation of the angle is calculated by the linear function approximation method within the allowable range of the error. This circuit is suitable for feedback and collection of motor running speed and position information in a servo system. It has the characteristics of less computing resources occupied, low hardware cost, fast detection and conversion speed, and high precision.
Description
技术领域 technical field
本发明涉及一种正交正、余弦轴角编码器信号检测和转换电路,属于伺服电机控制技术领域。The invention relates to a signal detection and conversion circuit of an orthogonal positive and cosine shaft angle encoder, which belongs to the technical field of servo motor control.
背景技术 Background technique
伺服系统又称为随动系统,需要实时检测电机转子以及转子和定子的相对位置及其变化,转子位置的检测精度决定了伺服电动机控制性能。近年来,正、余弦波信号编码器以其成本相对低廉且能取得高精度的速度和位置检测精度的优势在高精度伺服系统的应用逐渐增多。通常情况下,该类编码器的信号通过光学狭缝或采用霍尔磁元件得到,其原始信号是转子角位置的正、余弦函数,正、余弦之间相位差90度,通过使用脉冲计数器测量正弦或余弦波数量得到角度值,但是电机每转一圈只能获得和正弦波波数相等的脉冲数,因而检测精度较低。为提高正弦信号编码器的速度和位置检测精度,使其适合应用于高性能伺服系统,许多检测和转换电路和方法得以应用,但一般以DSP、FPGA为控制核心,外围还需配置较大存储单元,硬件成本高,计算量大。The servo system, also known as the servo system, needs to detect the relative position and change of the motor rotor and the rotor and stator in real time. The detection accuracy of the rotor position determines the control performance of the servo motor. In recent years, the application of sine and cosine wave signal encoders in high-precision servo systems has gradually increased due to their relatively low cost and the advantages of high-precision speed and position detection accuracy. Usually, the signal of this type of encoder is obtained through an optical slit or using a Hall magnetic element. The original signal is the sine and cosine function of the rotor angular position, and the phase difference between the sine and cosine is 90 degrees. It is measured by using a pulse counter The number of sine or cosine waves can get the angle value, but the motor can only get the number of pulses equal to the number of sine waves per revolution, so the detection accuracy is low. In order to improve the speed and position detection accuracy of the sinusoidal signal encoder, making it suitable for high-performance servo systems, many detection and conversion circuits and methods have been applied, but generally DSP and FPGA are used as the control core, and large storage is required in the periphery. unit, the hardware cost is high, and the calculation amount is large.
发明内容 Contents of the invention
本发明的目的是提供一种适用于伺服系统、价格低廉、性价比高、检测和转换速度快、精度高的正交正、余弦轴角编码器信号检测和转换电路。The purpose of the present invention is to provide a signal detection and conversion circuit for quadrature and cosine shaft angle encoders suitable for servo systems, low in price, high in cost performance, fast in detection and conversion speed and high in precision.
本发明的正交正、余弦轴角编码器信号检测和转换电路,包括:单片机模块、区间判别电路和编码器;区间判别电路由正弦信号区间判别电路和余弦信号区间判别电路组成,编码器输出的正弦信号分别与单片机模块的第一输入输出I/O口和正弦信号区间判别电路的信号输入端相连,编码器输出的余弦信号分别与单片机模块的第二输入输出I/O口和余弦信号区间判别电路的信号输入端相连;正弦信号区间判别电路输出的区间信号与单片机模块的第三输入输出I/O口相连,余弦信号区间判别电路输出的区间信号与单片机模块的第四输入输出I/O口相连,单片机模块的第五输入输出I/O口为正交脉冲列的输出端;The signal detection and conversion circuit of the orthogonal positive and cosine shaft angle encoders of the present invention includes: a single-chip microcomputer module, an interval discrimination circuit and an encoder; the interval discrimination circuit is composed of a sine signal interval discrimination circuit and a cosine signal interval discrimination circuit, and the encoder outputs The sine signal is connected with the first input and output I/O port of the single-chip microcomputer module and the signal input end of the sine signal interval discrimination circuit, and the cosine signal output by the encoder is connected with the second input and output I/O port and the cosine signal of the single-chip microcomputer module respectively. The signal input end of interval discrimination circuit is connected; The interval signal of sine signal interval discrimination circuit output is connected with the third input and output I/O port of single-chip microcomputer module, and the interval signal of cosine signal interval discrimination circuit output is connected with the fourth input and output I of single-chip microcomputer module. The /O port is connected, and the fifth input and output I/O port of the single-chip microcomputer module is the output end of the orthogonal pulse train;
上述的正弦信号区间判别电路包括第一运算放大芯片、第一电压比较芯片及相应的外围元件;第一运算放大芯片的2脚与电阻R1、电阻R2和电阻R101的一端共连,第一运算放大芯片的3脚与电阻R3的一端相连,电阻R3的另一端与电容C1的一端相连并接地,电容C1的另一端与电阻R1的另一端相连,该连接点为正弦信号区间判别电路的信号输入端;电阻R101的另一端连接直流偏置电压VB,电阻R2另一端与第一运算放大芯片的1脚以及二极管D1的正极、二极管D2的负极、电阻R7的一端、电阻R14和电阻R9的一端共相连,第一运算放大芯片的4、11脚分别连至+15V、-15V电压,二极管D1的负极与电阻R8的一端和直流电压VCC相连,二极管D2的正极和地相连,电阻R8的另一端与电阻R12的一端及第一电压比较芯片的7脚相连,电阻R12的另一端与电阻R11的一端及第一电压比较芯片的5脚相连,电阻R11的另一端与电阻R13的一端及第一电压比较芯片的9脚相连,电阻R13的另一端和地相连,电阻R7的另一端与第一电压比较芯片的6脚和电阻R4的一端相连,电阻R4的另一端与二极管D3的正极相连,二极管D3的负极与第一电压比较芯片的1脚、电阻R5的一端及电阻R6的一端相连,电阻R5的另一端连至+15V电压,电阻R6的另一端与二极管D5的正极及二极管D4的负极相连,该连接点与单片机模块的第三输入输出I/O口相连;电阻R9的另一端与第一电压比较芯片的4脚和电阻R15的一端相连,电阻R15的另一端与二极管D6的正极相连,二极管D6的负极与第一电压比较芯片的2脚、电阻R16的一端及电阻R17的一端相连,电阻R16的另一端连至+15V电压,电阻R17的另一端与二极管D7的正极及二极管D8的负极相连,该连接点与单片机模块的第三输入输出I/O口相连;电阻R14的另一端与第一电压比较芯片的8脚和电阻R10的一端相连,电阻R10的另一端与二极管D9的正极相连,二极管D9的负极与第一电压比较芯片的14脚、电阻R18的一端及电阻R19的一端相连,电阻R18的另一端连至+15V电压,电阻R19的另一端与二极管D10的正极及二极管D11的负极相连,该连接点与单片机模块的第三输入输出I/O口相连;第一电压比较芯片的3、12脚分别连至+15V、-15V电压;The above-mentioned sinusoidal signal interval discrimination circuit comprises the first operational amplifier chip, the first voltage comparison chip and corresponding peripheral components; 2 pins of the first operational amplifier chip are connected in total with one end of the resistor R1, the resistor R2 and the resistor R101, and the first computing Pin 3 of the amplifier chip is connected to one end of resistor R3, the other end of resistor R3 is connected to one end of capacitor C1 and grounded, the other end of capacitor C1 is connected to the other end of resistor R1, and this connection point is the signal of the sine signal interval discrimination circuit Input terminal; the other end of the resistor R101 is connected to the DC bias voltage VB, the other end of the resistor R2 is connected to pin 1 of the first operational amplifier chip, the positive pole of the diode D1, the negative pole of the diode D2, one end of the resistor R7, the resistor R14 and the resistor R9 One end is connected together, pins 4 and 11 of the first operational amplifier chip are respectively connected to +15V and -15V voltages, the cathode of diode D1 is connected to one end of resistor R8 and DC voltage VCC, the anode of diode D2 is connected to ground, and the cathode of resistor R8 The other end is connected with one end of the resistor R12 and pin 7 of the first voltage comparison chip, the other end of the resistor R12 is connected with one end of the resistor R11 and pin 5 of the first voltage comparison chip, and the other end of the resistor R11 is connected with one end of the resistor R13 and The pin 9 of the first voltage comparison chip is connected, the other end of the resistor R13 is connected to the ground, the other end of the resistor R7 is connected to the pin 6 of the first voltage comparison chip and one end of the resistor R4, and the other end of the resistor R4 is connected to the anode of the diode D3 Connected, the cathode of diode D3 is connected to pin 1 of the first voltage comparison chip, one end of resistor R5 and one end of resistor R6, the other end of resistor R5 is connected to +15V voltage, the other end of resistor R6 is connected to the positive electrode of diode D5 and the diode The negative pole of D4 is connected, and this connection point is connected with the third input and output I/O port of the single-chip microcomputer module; the other end of the resistor R9 is connected with the pin 4 of the first voltage comparison chip and one end of the resistor R15, and the other end of the resistor R15 is connected with the diode The positive pole of D6 is connected, the negative pole of diode D6 is connected with pin 2 of the first voltage comparison chip, one end of resistor R16 and one end of resistor R17, the other end of resistor R16 is connected to +15V voltage, the other end of resistor R17 is connected with the diode D7 The positive pole is connected to the negative pole of the diode D8, and this connection point is connected to the third input and output I/O port of the single-chip microcomputer module; the other end of the resistor R14 is connected to pin 8 of the first voltage comparison chip and one end of the resistor R10, and the other end of the resistor R10 One end is connected to the positive pole of diode D9, the negative pole of diode D9 is connected to pin 14 of the first voltage comparison chip, one end of resistor R18 and one end of resistor R19, the other end of resistor R18 is connected to +15V voltage, the other end of resistor R19 is connected to The positive pole of the diode D10 is connected to the negative pole of the diode D11, and this connection point is connected to the third input and output I/O port of the single-chip microcomputer module; pins 3 and 12 of the first voltage comparison chip are respectively connected to +15V and -15V voltages;
上述的余弦信号区间判别电路包括第二运算放大芯片、第二电压比较芯片及相应的外围元件;第二运算放大芯片的2脚与电阻R1′、电阻R2′和电阻R101′的一端共连,第二运算放大芯片的3脚与电阻R3′的一端相连,电阻R3′的另一端与电容C1′的一端相连并接地,电容C1′的另一端与电阻R1′的另一端相连,该连接点为余弦信号区间判别电路的信号输入端;电阻R101′的另一端连接直流偏置电压VB,电阻R2′另一端与第二运算放大芯片的1脚以及二极管D1′的正极、二极管D2′的负极、电阻R7′的一端、电阻R14′和电阻R9′的一端共相连,第二运算放大芯片的4、11脚分别连至+15V、-15V电压,二极管D1′的负极与电阻R8′的一端和直流电压VCC相连,二极管D2′的正极和地相连,电阻R8′的另一端与电阻R12′的一端及第二电压比较芯片的7脚相连,电阻R12′的另一端与电阻R11′的一端及第二电压比较芯片的5脚相连,电阻R11′的另一端与电阻R13′的一端及第二电压比较芯片的9脚相连,电阻R13′的另一端和地相连,电阻R7′的另一端与第二电压比较芯片的6脚和电阻R4′的一端相连,电阻R4′的另一端与二极管D3′的正极相连,二极管D3′的负极与第二电压比较芯片的1脚、电阻R5′的一端及电阻R6′的一端相连,电阻R5′的另一端连至+15V电压,电阻R6′的另一端与二极管D5′的正极及二极管D4′的负极相连,该连接点与单片机模块的第四输入输出I/O口相连;电阻R9′的另一端与第二电压比较芯片的4脚和电阻R15′的一端相连,电阻R15′的另一端与二极管D6′的正极相连,二极管D6′的负极与第二电压比较芯片的2脚、电阻R16′的一端及电阻R17′的一端相连,电阻R16′的另一端连至+15V电压,电阻R17′的另一端与二极管D7′的正极及二极管D8′的负极相连,该连接点与单片机模块的第四输入输出I/O口相连;电阻R14′的另一端与第二电压比较芯片的8脚和电阻R10′的一端相连,电阻R10′的另一端与二极管D9′的正极相连,二极管D9′的负极与第二电压比较芯片的14脚、电阻R18′的一端及电阻R19′的一端相连,电阻R18′的另一端连至+15V电压,电阻R19′的另一端与二极管D10′的正极及二极管D11′的负极相连,该连接点与单片机模块的第四输入输出I/O口相连;第二电压比较芯片的3、12脚分别连至+15V、-15V电压。The above-mentioned cosine signal interval discrimination circuit comprises a second operational amplifier chip, a second voltage comparison chip and corresponding peripheral components; 2 pins of the second operational amplifier chip are connected in total with one end of the resistor R1 ', the resistor R2 ' and the resistor R101 ', Pin 3 of the second operational amplifier chip is connected to one end of the resistor R3', the other end of the resistor R3' is connected to one end of the capacitor C1' and grounded, and the other end of the capacitor C1' is connected to the other end of the resistor R1'. It is the signal input end of the cosine signal interval discrimination circuit; the other end of the resistor R101' is connected to the DC bias voltage VB, the other end of the resistor R2' is connected to pin 1 of the second operational amplifier chip, the positive pole of the diode D1', and the negative pole of the diode D2' 1, one end of resistor R7', one end of resistor R14' and one end of resistor R9' are connected together, pins 4 and 11 of the second operational amplifier chip are respectively connected to +15V, -15V voltage, the negative pole of diode D1' is connected to one end of resistor R8' It is connected to the DC voltage VCC, the anode of the diode D2' is connected to the ground, the other end of the resistor R8' is connected to one end of the resistor R12' and pin 7 of the second voltage comparison chip, and the other end of the resistor R12' is connected to one end of the resistor R11' The other end of the resistor R11' is connected to one end of the resistor R13' and the pin 9 of the second voltage comparison chip, the other end of the resistor R13' is connected to the ground, and the other end of the resistor R7' It is connected to pin 6 of the second voltage comparison chip and one end of resistor R4', the other end of resistor R4' is connected to the positive pole of diode D3', and the negative pole of diode D3' is connected to pin 1 of the second voltage comparison chip and resistor R5'. One end is connected to one end of resistor R6', the other end of resistor R5' is connected to +15V voltage, the other end of resistor R6' is connected to the positive pole of diode D5' and the negative pole of diode D4', this connection point is connected to the fourth The input and output I/O ports are connected; the other end of the resistor R9' is connected to the pin 4 of the second voltage comparison chip and one end of the resistor R15', the other end of the resistor R15' is connected to the positive pole of the diode D6', and the negative pole of the diode D6' Connect to pin 2 of the second voltage comparison chip, one end of resistor R16' and one end of resistor R17', the other end of resistor R16' is connected to +15V voltage, the other end of resistor R17' is connected to the anode of diode D7' and diode D8 ’, the connection point is connected to the fourth input and output I/O port of the single chip microcomputer module; the other end of the resistor R14’ is connected to the pin 8 of the second voltage comparison chip and one end of the resistor R10’, and the other end of the resistor R10’ One end is connected to the positive pole of diode D9', the negative pole of diode D9' is connected to pin 14 of the second voltage comparison chip, one end of resistor R18' and one end of resistor R19', the other end of resistor R18' is connected to +15V voltage, and the resistor The other end of R19' is connected to the positive pole of diode D10' and the negative pole of diode D11', and this connection point is connected to the fourth input and output I/O port of the single-chip microcomputer module; pins 3 and 12 of the second voltage comparison chip are respectively connected to +15V, -15V voltage.
本发明中的区间判别电路是将正、余弦波信号放大和调整后,按每个区间的角度宽度π/4将每个正、余弦波周期[0,2π]分为8个区间,并输出可用于判别区间的高低电平信号。单片机模块将宽度为π/4的区间分为N等分(N是一个正整数,每个等分为一个方波脉冲信号周期),再根据编码器的信号幅值和区间判别电路输出的信号,计算相应的角度值。如果计算出来的角度值位于方波脉冲信号周期前半部分,则输出高电平,相反后位于半周期则输出低电平,从而形成和正、余弦信号相对应的脉冲列。角度的计算采用在误差允许范围内的直线线性函数近似法。The section discriminant circuit in the present invention divides each sine wave period [0, 2π] into 8 sections according to the angle width π/4 of each section after the sine wave signal is amplified and adjusted, and outputs It can be used to judge the high and low level signals of the interval. The single-chip microcomputer module divides the interval with a width of π/4 into N equal parts (N is a positive integer, each equal is divided into a square wave pulse signal period), and then judges the output signal of the circuit according to the signal amplitude of the encoder and the interval , to calculate the corresponding angle value. If the calculated angle value is in the first half of the square wave pulse signal cycle, it will output a high level, and on the contrary, it will output a low level in the half cycle, thereby forming a pulse train corresponding to the sine and cosine signals. The calculation of the angle adopts the linear function approximation method within the allowable range of the error.
本发明有益效果在于:The beneficial effects of the present invention are:
本发明的正交正、余弦轴角编码器信号检测和转换电路硬件成本低,占用计算资源少,检测和转换速度快、精度高,可以方便用于估算带正、余弦轴角编码器的电机转子的运行位置,旋转方向和运动速度,适用于绝大多数的伺服系统。特别适用于对速度精度检测要求较高的伺服系统,如高精度数控机床工作台伺服进给系统、雷达天线自动跟踪系统、光电精密跟踪系统、低速伺服系统等。The orthogonal positive and cosine shaft angle encoder signal detection and conversion circuit of the present invention has low hardware cost, occupies less computing resources, has fast detection and conversion speed and high precision, and can be conveniently used for estimating motors with positive and cosine shaft angle encoders The operating position, direction of rotation and speed of movement of the rotor are applicable to most servo systems. It is especially suitable for servo systems that require high speed accuracy detection, such as high-precision CNC machine tool table servo feed system, radar antenna automatic tracking system, photoelectric precision tracking system, low-speed servo system, etc.
附图说明 Description of drawings
图1是正交正、余弦轴角编码器信号检测和转换电路的构成示意图。Figure 1 is a schematic diagram of the signal detection and conversion circuit of the quadrature positive and cosine shaft-angle encoders.
图2是正弦信号区间判别电路图。Fig. 2 is a circuit diagram of a sinusoidal signal interval discrimination.
图3是余弦信号区间判别电路图。Fig. 3 is a circuit diagram of cosine signal interval discrimination.
图4单片机模块图。Figure 4 SCM module diagram.
图5正、余弦函数对应区间分布图。Figure 5 is the corresponding interval distribution diagram of sine and cosine functions.
图6正交脉冲列A、B输出示意图,其中:a)图为脉冲列A,b)图为脉冲列B。Fig. 6 is a schematic diagram of the output of orthogonal pulse trains A and B, wherein: a) the picture shows the pulse train A, and b) the picture shows the pulse train B.
具体实施方式 Detailed ways
下面结合实例和附图对本发明实现方法和原理进一步说明。The implementation method and principle of the present invention will be further described below in conjunction with examples and accompanying drawings.
参照图1,本发明的正交正、余弦轴角编码器信号检测和转换电路包括:单片机模块1、区间判别电路2和编码器3;区间判别电路2由正弦信号区间判别电路2-1和余弦信号区间判别电路2-2组成,编码器3输出的正弦信号Y1分别与单片机模块1的第一输入输出I/O口和正弦信号区间判别电路2-1的信号输入端相连,编码器3输出的余弦信号Y2分别与单片机模块1的第二输入输出I/O口和余弦信号区间判别电路2-2的信号输入端相连;正弦信号区间判别电路2-1输出的区间信号与单片机模块1的第三输入输出I/O口相连,余弦信号区间判别电路2-2输出的区间信号与单片机模块1的第四输入输出I/O口相连,单片机模块1的第五输入输出I/O口为正交脉冲列A、B的输出端。With reference to Fig. 1, quadrature positive of the present invention, cosine axis angle encoder signal detection and conversion circuit comprise: single-chip microcomputer module 1, interval discrimination circuit 2 and encoder 3; Interval discrimination circuit 2 is made of sine signal interval discrimination circuit 2-1 and The cosine signal interval discrimination circuit 2-2 is formed, and the sine signal Y1 output by the encoder 3 is connected with the first input and output I/O port of the single-chip microcomputer module 1 and the signal input end of the sine signal interval discrimination circuit 2-1, and the encoder 3 The output cosine signal Y2 is connected with the signal input end of the second input and output I/O port of the single-chip microcomputer module 1 and the signal input end of the cosine signal interval discrimination circuit 2-2 respectively; The third input and output I/O port of the single-chip microcomputer module 1 is connected to each other, and the interval signal output by the cosine signal interval discrimination circuit 2-2 is connected to the fourth input and output I/O port of the single-chip microcomputer module 1, and the fifth input and output I/O port of the single-chip microcomputer module 1 It is the output terminal of orthogonal pulse train A and B.
单片机模块采用Cygnal公司的C8051F330/1单片机(见图4),该单片机具有17个输入/输出I/O管脚,每个管脚可以被配置为模拟或数字输入/输出I/O口,1个16位计数器,1个10位模/数转换器ADC。本实例中第一输入输出I/O口由单片机的P1.7管脚组成;第二输入输出I/O口由单片机的P1.6管脚组成;第三输入输出I/O口由单片机的P1.0、P1.1、P1.2管脚组成;第四输入输出I/O口由单片机的P1.3、P1.4、P1.5管脚组成;第五输入输出I/O口由单片机的P0.4、P0.5管脚组成。The single-chip microcomputer module adopts the C8051F330/1 single-chip microcomputer of Cygnal Company (see Figure 4), the single-chip microcomputer has 17 input/output I/O pins, and each pin can be configured as an analog or digital input/output I/O port, 1 A 16-bit counter, a 10-bit analog/digital converter ADC. In this example, the first input and output I/O port is composed of the P1.7 pin of the microcontroller; the second input and output I/O port is composed of the P1.6 pin of the microcontroller; the third input and output I/O port is composed of the single chip microcomputer P1.0, P1.1, P1.2 pins; the fourth input and output I/O port is composed of P1.3, P1.4, P1.5 pins of the microcontroller; the fifth input and output I/O port is composed of Composed of P0.4 and P0.5 pins of the microcontroller.
正弦信号区间判别电路如图2所示,包括第一运算放大芯片U1、第一电压比较芯片U2及相应的外围元件;第一运算放大芯片U1的2脚与电阻R1、电阻R2和电阻R101的一端共连,第一运算放大芯片U1的3脚与电阻R3的一端相连,电阻R3的另一端与电容C1的一端相连并接地,电容C1的另一端与电阻R1的另一端相连,该连接点为正弦信号区间判别电路的信号输入端;电阻R101的另一端连接直流偏置电压VB,电阻R2另一端与第一运算放大芯片U1的1脚以及二极管D1的正极、二极管D2的负极、电阻R7的一端、电阻R14和电阻R9的一端共相连,第一运算放大芯片U1的4、11脚分别连至+15V、-15V电压,二极管D1的负极与电阻R8的一端和直流电压VCC相连,二极管D2的正极和地相连,电阻R8的另一端与电阻R12的一端及第一电压比较芯片U2的7脚相连,电阻R12的另一端与电阻R11的一端及第一电压比较芯片U2的5脚相连,电阻R11的另一端与电阻R13的一端及第一电压比较芯片U2的9脚相连,电阻R13的另一端和地相连,电阻R7的另一端与第一电压比较芯片U2的6脚和电阻R4的一端相连,电阻R4的另一端与二极管D3的正极相连,二极管D3的负极与第一电压比较芯片U2的1脚、电阻R5的一端及电阻R6的一端相连,电阻R5的另一端连至+15V电压,电阻R6的另一端与二极管D5的正极及二极管D4的负极相连,该连接点S1与单片机模块的第三输入输出I/O口相连;电阻R9的另一端与第一电压比较芯片U2的4脚和电阻R15的一端相连,电阻R15的另一端与二极管D6的正极相连,二极管D6的负极与第一电压比较芯片U2的2脚、电阻R16的一端及电阻R17的一端相连,电阻R16的另一端连至+15V电压,电阻R17的另一端与二极管D7的正极及二极管D8的负极相连,该连接点S2与单片机模块的第三输入输出I/O口相连;电阻R14的另一端与第一电压比较芯片U2的8脚和电阻R10的一端相连,电阻R10的另一端与二极管D9的正极相连,二极管D9的负极与第一电压比较芯片U2的14脚、电阻R18的一端及电阻R19的一端相连,电阻R18的另一端连至+15V电压,电阻R19的另一端与二极管D10的正极及二极管D11的负极相连,该连接点S3与单片机模块的第三输入输出I/O口相连;第一电压比较芯片U2的3、12脚分别连至+15V、-15V电压。The sinusoidal signal interval discrimination circuit is shown in Figure 2, comprising the first operational amplifier chip U1, the first voltage comparison chip U2 and corresponding peripheral components; the 2 pins of the first operational amplifier chip U1 and the resistor R1, resistor R2 and resistor R101 One end is connected together, pin 3 of the first operational amplifier chip U1 is connected to one end of the resistor R3, the other end of the resistor R3 is connected to one end of the capacitor C1 and grounded, and the other end of the capacitor C1 is connected to the other end of the resistor R1. It is the signal input end of the sinusoidal signal interval discrimination circuit; the other end of the resistor R101 is connected to the DC bias voltage VB, the other end of the resistor R2 is connected to pin 1 of the first operational amplifier chip U1, the positive pole of the diode D1, the negative pole of the diode D2, and the resistor R7 One end of the resistor R14 and one end of the resistor R9 are connected together, pins 4 and 11 of the first operational amplifier chip U1 are respectively connected to +15V and -15V voltages, the cathode of the diode D1 is connected to one end of the resistor R8 and the DC voltage VCC, and the diode The positive pole of D2 is connected to ground, the other end of resistor R8 is connected to one end of resistor R12 and pin 7 of the first voltage comparison chip U2, and the other end of resistor R12 is connected to one end of resistor R11 and pin 5 of the first voltage comparison chip U2 , the other end of the resistor R11 is connected to one end of the resistor R13 and pin 9 of the first voltage comparison chip U2, the other end of the resistor R13 is connected to the ground, the other end of the resistor R7 is connected to the pin 6 of the first voltage comparison chip U2 and the resistor R4 One end of the resistor R4 is connected to the positive pole of the diode D3, the negative pole of the diode D3 is connected to pin 1 of the first voltage comparison chip U2, one end of the resistor R5 and one end of the resistor R6, and the other end of the resistor R5 is connected to + 15V voltage, the other end of the resistor R6 is connected to the positive pole of the diode D5 and the negative pole of the diode D4, and the connection point S1 is connected to the third input and output I/O port of the single-chip microcomputer module; the other end of the resistor R9 is connected to the first voltage comparison chip U2 Pin 4 of the resistor R15 is connected to one end of the resistor R15, the other end of the resistor R15 is connected to the positive pole of the diode D6, the negative pole of the diode D6 is connected to the pin 2 of the first voltage comparison chip U2, one end of the resistor R16 and one end of the resistor R17, and the resistor R16 The other end of the resistor R17 is connected to the +15V voltage, the other end of the resistor R17 is connected to the positive pole of the diode D7 and the negative pole of the diode D8, and the connection point S2 is connected to the third input and output I/O port of the microcontroller module; the other end of the resistor R14 is connected to the Pin 8 of the first voltage comparison chip U2 is connected to one end of the resistor R10, the other end of the resistor R10 is connected to the positive pole of the diode D9, and the negative pole of the diode D9 is connected to pin 14 of the first voltage comparison chip U2, one end of the resistor R18 and the resistor R19 One end of the resistor R18 is connected to the +15V voltage, the other end of the resistor R19 is connected to the positive pole of the diode D10 and the negative pole of the diode D11, and the connection point S3 is connected to the third input and output I/O port of the single-chip microcomputer module; Pins 3 and 12 of the first voltage comparison chip U2 are respectively connected to voltages of +15V and -15V.
余弦信号区间判别电路如图3所示,包括第二运算放大芯片U1′、第二电压比较芯片U2′及相应的外围元件;第二运算放大芯片U1′的2脚与电阻R1′、电阻R2′和电阻R101′的一端共连,第二运算放大芯片U1′的3脚与电阻R3′的一端相连,电阻R3′的另一端与电容C1′的一端相连并接地,电容C1′的另一端与电阻R1′的另一端相连,该连接点为余弦信号区间判别电路的信号输入端;电阻R101′的另一端连接直流偏置电压VB,电阻R2′另一端与第二运算放大芯片U1′的1脚以及二极管D1′的正极、二极管D2′的负极、电阻R7′的一端、电阻R14′和电阻R9′的一端共相连,第二运算放大芯片U1′的4、11脚分别连至+15V、-15V电压,二极管D1′的负极与电阻R8′的一端和直流电压VCC相连,二极管D2′的正极和地相连,电阻R8′的另一端与电阻R12′的一端及第二电压比较芯片U2′的7脚相连,电阻R12′的另一端与电阻R11′的一端及第二电压比较芯片U2′的5脚相连,电阻R11′的另一端与电阻R13′的一端及第二电压比较芯片U2′的9脚相连,电阻R13′的另一端和地相连,电阻R7′的另一端与第二电压比较芯片U2′的6脚和电阻R4′的一端相连,电阻R4′的另一端与二极管D3′的正极相连,二极管D3′的负极与第二电压比较芯片U2′的1脚、电阻R5′的一端及电阻R6′的一端相连,电阻R5′的另一端连至+15V电压,电阻R6′的另一端与二极管D5′的正极及二极管D4′的负极相连,该连接点S1′与单片机模块的第四输入输出I/O口相连;电阻R9′的另一端与第二电压比较芯片U2′的4脚和电阻R15′的一端相连,电阻R15′的另一端与二极管D6′的正极相连,二极管D6′的负极与第二电压比较芯片U2′的2脚、电阻R16′的一端及电阻R17′的一端相连,电阻R16′的另一端连至+15V电压,电阻R17′的另一端与二极管D7′的正极及二极管D8′的负极相连,该连接点S2′与单片机模块的第四输入输出I/O口相连;电阻R14′的另一端与第二电压比较芯片U2′的8脚和电阻R10′的一端相连,电阻R10′的另一端与二极管D9′的正极相连,二极管D9′的负极与第二电压比较芯片U2′的14脚、电阻R18′的一端及电阻R19′的一端相连,电阻R18′的另一端连至+15V电压,电阻R19′的另一端与二极管D10′的正极及二极管D11′的负极相连,该连接点S3′与单片机模块的第四输入输出I/O口相连;第二电压比较芯片U2′的3、12脚分别连至+15V、-15V电压。The cosine signal interval discrimination circuit is shown in Figure 3, including the second operational amplifier chip U1', the second voltage comparison chip U2' and corresponding peripheral components; the 2 pins of the second operational amplifier chip U1' and the resistor R1', the resistor R2 ' and one end of the resistor R101' are connected together, the pin 3 of the second operational amplifier chip U1' is connected to one end of the resistor R3', the other end of the resistor R3' is connected to one end of the capacitor C1' and grounded, and the other end of the capacitor C1' Connect to the other end of the resistor R1', which is the signal input end of the cosine signal interval discrimination circuit; the other end of the resistor R101' is connected to the DC bias voltage VB, and the other end of the resistor R2' is connected to the second operational amplifier chip U1' Pin 1, the positive pole of diode D1', the negative pole of diode D2', one end of resistor R7', one end of resistor R14' and one end of resistor R9' are connected together, and pins 4 and 11 of the second operational amplifier chip U1' are respectively connected to +15V , -15V voltage, the cathode of the diode D1' is connected to one end of the resistor R8' and the DC voltage VCC, the anode of the diode D2' is connected to the ground, the other end of the resistor R8' is connected to one end of the resistor R12' and the second voltage comparison chip U2 ’, the other end of the resistor R12’ is connected to one end of the resistor R11’ and the 5 pin of the second voltage comparison chip U2’, the other end of the resistor R11’ is connected to one end of the resistor R13’ and the second voltage comparison chip U2 ’, the other end of the resistor R13’ is connected to the ground, the other end of the resistor R7’ is connected to the 6 pin of the second voltage comparison chip U2’ and one end of the resistor R4’, and the other end of the resistor R4’ is connected to the diode D3 ' is connected to the positive pole, the negative pole of the diode D3' is connected to pin 1 of the second voltage comparison chip U2', one end of the resistor R5' and one end of the resistor R6', the other end of the resistor R5' is connected to +15V voltage, and the resistor R6' The other end of the resistor R9' is connected to the positive pole of the diode D5' and the negative pole of the diode D4', and the connection point S1' is connected to the fourth input and output I/O port of the single-chip microcomputer module; the other end of the resistor R9' is connected to the second voltage comparison chip U2' Pin 4 of the resistor R15' is connected to one end of the resistor R15', the other end of the resistor R15' is connected to the positive pole of the diode D6', the negative pole of the diode D6' is connected to pin 2 of the second voltage comparison chip U2', one end of the resistor R16' and the resistor R17 ', the other end of the resistor R16' is connected to +15V voltage, the other end of the resistor R17' is connected to the positive pole of the diode D7' and the negative pole of the diode D8', and the connection point S2' is connected to the fourth input and output of the single-chip microcomputer module The I/O port is connected; the other end of the resistor R14' is connected to the pin 8 of the second voltage comparison chip U2' and one end of the resistor R10', the other end of the resistor R10' is connected to the positive pole of the diode D9', and the negative pole of the diode D9' Connect with pin 14 of the second voltage comparison chip U2', one end of the resistor R18' and one end of the resistor R19', the other end of the resistor R18' is connected to +15V voltage, the other end of the resistor R19' is connected to the anode of the diode D10' and two The negative electrode of the pole tube D11' is connected, and the connection point S3' is connected with the fourth input and output I/O port of the single-chip microcomputer module; pins 3 and 12 of the second voltage comparison chip U2' are respectively connected to +15V and -15V voltages.
正弦信号区间判别电路中的第一运算放大芯片和余弦信号区间判别电路中的第二运算放大芯片均采用TL084芯片,正弦信号区间判别电路中的第一电压比较芯片和余弦信号区间判别电路中的第二电压比较芯片均采用LM339芯片,The first operational amplifier chip in the sine signal interval discrimination circuit and the second operational amplifier chip in the cosine signal interval discrimination circuit all adopt TL084 chip, the first voltage comparison chip in the sine signal interval discrimination circuit and the cosine signal interval discrimination circuit in the first voltage comparison chip The second voltage comparison chips all use LM339 chips,
正/余弦信号区间判别电路的电压阀值由电阻分压得到,电路中的二极管起限幅和保护作用。区间判别电路根据正、余弦信号幅值的大小输出高低电平组合信号,并输入单片机。The voltage threshold of the sine/cosine signal interval discrimination circuit is obtained by dividing the voltage of the resistor, and the diode in the circuit plays the role of limiter and protection. The interval discrimination circuit outputs high and low level combination signals according to the magnitude of the sine and cosine signals, and inputs them into the single-chip microcomputer.
区间判别电路工作原理(参见表1):每个正、余弦波周期[0,2π]可分为8个区间(如图5所示),每个区间的宽度为π/4。表1中第1-4行为正、余弦信号y1,y2值与区间号及角度的对应关系。编码器输出的正交正、余弦信号值经运算电路后调整为Y1=(VCC/2)sinθ+VCC/2和Y2=(VCC/2)cosθ+VCC/2。电压比较芯片的阀值分别设为对应图2中为a、b、c三点和图3中为a′、b′、c′三点,(其中a为电阻R8、与电阻R12及第一电压比较芯片U2的7脚连接点,b为电阻R11与电阻R12及第一电压比较芯片U2的5脚连接点,c为电阻R11与电阻R13及第一电压比较芯片U2的9脚连接点;a′为电阻R8′与电阻R12′及第二电压比较芯片U2′的7脚连接点,b′为电阻R11′与电阻R12′及第二电压比较芯片U2′的5脚连接点,c′为电阻R11′与电阻R13′及第二电压比较芯片U2′的9脚连接点)。a、b、c三点对应表1中y1的数值分别为a′、b′、c′三点对应表1中y2的数值分别为当信号值超过阀值时,所对应的电压比较芯片输出低电平,信号值不超过阀值时,电压比较芯片输出高电平。表1第5、第6行为区间判别电路输出电平与区间号的对应关系,表中“1”表示高电平,“0”表示低电平。The working principle of the interval discrimination circuit (see Table 1): each sine wave cycle [0, 2π] can be divided into 8 intervals (as shown in Figure 5), and the width of each interval is π/4. Lines 1-4 in Table 1 correspond to the values of sine and cosine signals y 1 , y 2 and interval numbers and angles. The quadrature positive and cosine signal values output by the encoder are adjusted to Y 1 =(VCC/2)sinθ+VCC/2 and Y 2 =(VCC/2)cosθ+VCC/2 after being adjusted by the arithmetic circuit. The threshold value of the voltage comparison chip is respectively set to Corresponding to three points of a, b, c in Fig. 2 and three points of a', b', c' in Fig. 3, (wherein a is the 7-pin connection point of resistor R8, resistor R12 and first voltage comparison chip U2 , b is the connection point between resistor R11 and resistor R12 and the pin 5 of the first voltage comparison chip U2, c is the connection point between resistor R11 and resistor R13 and the pin 9 of the first voltage comparison chip U2; a' is the connection point between resistor R8' and resistor R12 'and the 7-pin connection point of the second voltage comparison chip U2', b' is the 5-pin connection point of the resistance R11' and the resistance R12' and the second voltage comparison chip U2', c' is the resistance R11' and the resistance R13' and The second voltage is compared to the 9-pin connection point of the chip U2'). The values of a, b, and c corresponding to y1 in Table 1 are respectively The values of y2 in Table 1 corresponding to a', b' and c' are respectively When the signal value exceeds the threshold value, the corresponding voltage comparison chip outputs a low level, and when the signal value does not exceed the threshold value, the voltage comparison chip outputs a high level. The fifth and sixth lines in Table 1 correspond to the output level of the interval discrimination circuit and the interval number. In the table, "1" means high level, and "0" means low level.
表1区间判别电路原理Table 1 Interval discrimination circuit principle
单片机模块工作原理如下:The working principle of the single chip microcomputer module is as follows:
电机旋转时,编码器输出正交正、余弦信号,单片机C8051F330/1中A/D转换器对信号进行实时采样,将采样到信号函数值When the motor rotates, the encoder outputs quadrature positive and cosine signals, and the A/D converter in the single-chip microcomputer C8051F330/1 samples the signal in real time, and the sampled signal function value
其中A为编码器输出信号幅值,B为偏移量,经标幺化计算后得到Among them, A is the amplitude of the encoder output signal, and B is the offset, which is obtained after per unit calculation
根据区间判断电路的区间号,从正、余弦波信号中选取图5中粗黑线所示的曲线段作为信号转换的源值。如图6所示,将区间[0,π/4]分为N等分(N是一个正整数),每个等分为一个方波脉冲周期,根据表2对应的线性函数计算出来的角度值位于周期前半部分,则输出高电平,相反后半周期为低电平,从而形成脉冲列A(见图6a))。假设由信号值计算出来的角度为θm,令M=8Nθm/π,对M取整,若结果为0或偶数则输出高电平,若为奇数则输出低电平。而对于脉冲列B(见图6b)),只需将A脉冲所对应的周期区间前移1/4脉冲周期即可,即取M1=M+0.5,然后对M1取整,同样结果为0或偶数则输出高电平,若M1为奇数则输出低电平。According to the interval number of the interval judgment circuit, select the curve segment shown by the thick black line in Figure 5 from the sine and cosine wave signals as the source value of the signal conversion. As shown in Figure 6, the interval [0, π/4] is divided into N equal parts (N is a positive integer), each equal is divided into a square wave pulse period, and the angle calculated according to the corresponding linear function in Table 2 If the value is in the first half of the cycle, the output is high level, and on the contrary, the second half cycle is low level, thus forming pulse train A (see Figure 6a)). Assuming that the angle calculated from the signal value is θ m , set M=8Nθ m /π, round M, if the result is 0 or an even number, output a high level, and if it is an odd number, output a low level. For pulse train B (see Figure 6b)), it is only necessary to move forward the period interval corresponding to pulse A by 1/4 of the pulse period, that is, take M 1 =M+0.5, and then round M 1 to an integer, the same result If it is 0 or an even number, it will output a high level, if M 1 is an odd number, it will output a low level.
表2区间与对应的线性函数Table 2 Intervals and corresponding linear functions
线性函数如下:The linear function is as follows:
y=kθ (1)y=kθ (1)
y=-k(θ--π/2) (2)y=-k(θ--π/2) (2)
y=-k(θ-π) (3)y=-k(θ-π) (3)
y=k(θ-3π/2) (4)y=k(θ-3π/2) (4)
y=k(θ-2π) (5)y=k(θ-2π) (5)
角度值计算采用由表2对应的采用线性函数近似法,下面对近似的误差做下分析。图6中正弦信号函数为y1=sin θ,直线函数y=kθ,k=si n(π/4)/(π/4)0.9002,令Δy=y1-y,在θ=[0,π/4]区间,Δy最大值为0.02988,此时θ=0.4504弧度,y1=0.4352,y=0.4054。在此,令y=y1=0.4352,代入公式y=kθ中可以算出对应的角度为0.4834弧度,也就是说在θ=[0,π/4]区间用将正、余弦函数用线性直线函数y近似的话最大会产生0.03弧度的误差,只需取N≤(π/4)/0.03≈26.2的正整数,近似产生的误差就在一个脉冲信号的周期范围内,也就是误差小于整个传感器的检测精度,可以忽略不计,但采用线性直线函数计算角度方法极大简化算法。根据上面的方法,设电机转子转一圈编码器输出的正、余弦波信号波数为K,则该算法一圈内可以输出8*KN个数的方波脉冲信号。一般编码器的K在100~1000之间,电路输出的脉冲列可达20800~208000脉冲数每转,完全能够满足高精度伺服系统的检测要求。The calculation of the angle value adopts the linear function approximation method corresponding to Table 2, and the error of the approximation is analyzed below. In Fig. 6, the sinusoidal signal function is y 1 =sin θ, the linear function y=kθ, k=sin(π/4)/(π/4)0.9002, let Δy=y 1 -y, at θ=[0, π/4] interval, the maximum value of Δy is 0.02988, at this time θ=0.4504 radians, y 1 =0.4352, y=0.4054. Here, let y=y 1 =0.4352, substituting it into the formula y=kθ can calculate the corresponding angle as 0.4834 radians, that is to say, in the interval of θ=[0, π/4], the positive and cosine functions can be used as linear linear functions If y is approximated, a maximum error of 0.03 radians will be generated. Just take a positive integer of N≤(π/4)/0.03≈26.2, and the error generated by the approximation is within the period of a pulse signal, that is, the error is smaller than that of the entire sensor. The detection accuracy is negligible, but the method of calculating the angle with a linear straight line function greatly simplifies the algorithm. According to the above method, assuming that the number of sine and cosine wave signals output by the encoder is K for one revolution of the motor rotor, the algorithm can output 8*KN square wave pulse signals within one revolution. Generally, the K of the encoder is between 100 and 1000, and the pulse train output by the circuit can reach 20800 to 208000 pulses per revolution, which can fully meet the detection requirements of the high-precision servo system.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210122979.0A CN102636194B (en) | 2012-04-24 | 2012-04-24 | Orthogonal sine and cosine axial angle encoder signal detecting and converting circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210122979.0A CN102636194B (en) | 2012-04-24 | 2012-04-24 | Orthogonal sine and cosine axial angle encoder signal detecting and converting circuit |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102636194A CN102636194A (en) | 2012-08-15 |
CN102636194B true CN102636194B (en) | 2014-09-03 |
Family
ID=46620680
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210122979.0A Expired - Fee Related CN102636194B (en) | 2012-04-24 | 2012-04-24 | Orthogonal sine and cosine axial angle encoder signal detecting and converting circuit |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102636194B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108599772B (en) * | 2015-07-29 | 2021-08-24 | 中工科安科技有限公司 | Encoder signal digital transmission method |
CN107659224B (en) * | 2017-08-18 | 2020-03-06 | 天津大学 | Device and method for rotary transformer shaft angle conversion based on square wave excitation signal |
CN113359025A (en) * | 2020-03-06 | 2021-09-07 | 比亚迪股份有限公司 | Motor parameter diagnosis device and motor parameter diagnosis system |
CN113359026A (en) | 2020-03-06 | 2021-09-07 | 比亚迪股份有限公司 | Motor parameter diagnosis device and system |
CN112268501B (en) * | 2020-09-03 | 2022-03-04 | 西安铁路信号有限责任公司 | Detection method applicable to linear displacement or corner position of object |
CN112461110B (en) * | 2020-11-16 | 2022-05-24 | 苏州朗高电机有限公司 | Testing tool of SSI encoder |
CN113206628B (en) * | 2021-06-10 | 2023-09-05 | 大连法斯特尔机电有限责任公司 | Device for precisely controlling rotating speed of alternating current servo motor and control method thereof |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6590500B1 (en) * | 2002-03-19 | 2003-07-08 | Eaton Corporation | Method of linearizing a sine and cosine signal |
CN1667356A (en) * | 2004-03-11 | 2005-09-14 | 财团法人工业技术研究院 | Fine segmentation device and measurement system using the fine segmentation device |
CN102111158A (en) * | 2010-11-23 | 2011-06-29 | 广州数控设备有限公司 | Device for subdividing sine signal and cosine signal of position sensor and coding data, and implementation method thereof |
CN202547664U (en) * | 2012-04-24 | 2012-11-21 | 浙江大学 | Quadrature sine-cosine shaft angle encoder signal detection and conversion circuit |
-
2012
- 2012-04-24 CN CN201210122979.0A patent/CN102636194B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6590500B1 (en) * | 2002-03-19 | 2003-07-08 | Eaton Corporation | Method of linearizing a sine and cosine signal |
CN1667356A (en) * | 2004-03-11 | 2005-09-14 | 财团法人工业技术研究院 | Fine segmentation device and measurement system using the fine segmentation device |
CN102111158A (en) * | 2010-11-23 | 2011-06-29 | 广州数控设备有限公司 | Device for subdividing sine signal and cosine signal of position sensor and coding data, and implementation method thereof |
CN202547664U (en) * | 2012-04-24 | 2012-11-21 | 浙江大学 | Quadrature sine-cosine shaft angle encoder signal detection and conversion circuit |
Non-Patent Citations (7)
Title |
---|
Mohieddine Benammar.etc.A Novel Converterfor Sinusoidal Encoders.《SENSORS》.2006,(第5期),第1415-1418页. * |
一种新型实现高倍编码器细分的软件设计;贺传敏等;《电子测量技术-微处理器应用》;20080831;第31卷(第8期);第143-146页 * |
周雪连等.正余弦编码器细分技术研究.《现代电子技术》.2012,第35卷(第3期),第164-166页. |
基于单片机的磁性编码器信号细分系统的设计;张名波;《集成电路与元器件》;20040630(第6期);21-22页 * |
张名波.基于单片机的磁性编码器信号细分系统的设计.《集成电路与元器件》.2004,(第6期),第21-22页. |
正余弦编码器细分技术研究;周雪连等;《现代电子技术》;20120201;第35卷(第3期);164-166页 * |
贺传敏等.一种新型实现高倍编码器细分的软件设计.《电子测量技术-微处理器应用》.2008,第31卷(第8期),第143-146页. |
Also Published As
Publication number | Publication date |
---|---|
CN102636194A (en) | 2012-08-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102636194B (en) | Orthogonal sine and cosine axial angle encoder signal detecting and converting circuit | |
CN101521480B (en) | Resolution method and resolver for signals of rotating transformer | |
CN106152932B (en) | A kind of rotating angle measurement apparatus and measurement method | |
Hao et al. | Study on a novel absolute magnetic encoder | |
CN109443451B (en) | Motor position speed detection device | |
CN108196213A (en) | Zero-bit angle test device, the method and system of a kind of rotary transformer | |
CN116232162B (en) | Combined absolute position Hall encoder detection method | |
CN110044388B (en) | Application method of non-contact absolute angle position sensor of rotating body | |
CN107659224A (en) | The device and method of rotary transformer axes-angle conversion based on square wave excitation signal | |
CN110022097B (en) | Resolver angular position calculating device and method for rotary transformer | |
CN207780217U (en) | A kind of zero-bit angle test device of rotary transformer | |
CN102629845A (en) | Position detection circuit of three-phase motor rotor based on rotary transformer | |
CN106803758B (en) | Pretreatment method for incremental sine and cosine encoder signals | |
CN118758158A (en) | A position detection method for a two-point AMR Hall linear displacement ruler | |
CN202547664U (en) | Quadrature sine-cosine shaft angle encoder signal detection and conversion circuit | |
CN106788440B (en) | Preprocessing circuit of incremental sine and cosine encoder signal | |
CN104655003B (en) | High temperature resistant magnetic resistance angle position sensor driver and sensing system | |
CN119354016A (en) | A single-chip resolver/LVDT signal-to-digital conversion method and circuit | |
CN105703773A (en) | Rotary transformer decoding method | |
CN209877990U (en) | Non-contact absolute angle position sensor of rotating body | |
Reddy et al. | Inverse tangent based resolver to digital converter-A software approach | |
CN103175559B (en) | Method for measuring relative position of two rotors of double-salient type double-rotor motor | |
CN105953721B (en) | A kind of bias capacitive angular sensor structure and its application method | |
CN112485460A (en) | Signal acquisition and compensation method for rotary transformer | |
Wang et al. | Study on high precision magnetic encoder based on PMSM sensorless control |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20140903 |
|
CF01 | Termination of patent right due to non-payment of annual fee |