CN115494758A - Data acquisition device and decoding method of rotary transformer - Google Patents

Data acquisition device and decoding method of rotary transformer Download PDF

Info

Publication number
CN115494758A
CN115494758A CN202211064106.9A CN202211064106A CN115494758A CN 115494758 A CN115494758 A CN 115494758A CN 202211064106 A CN202211064106 A CN 202211064106A CN 115494758 A CN115494758 A CN 115494758A
Authority
CN
China
Prior art keywords
sine
cosine
circuit
signal
differential
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.)
Pending
Application number
CN202211064106.9A
Other languages
Chinese (zh)
Inventor
郭赞
周志宇
何成昭
王超
陈孟君
周勇
彭韬
胡惇
周倞
梁文超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhuzhou National Engineering Research Center of Converters Co Ltd
Original Assignee
Zhuzhou National Engineering Research Center of Converters Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Zhuzhou National Engineering Research Center of Converters Co Ltd filed Critical Zhuzhou National Engineering Research Center of Converters Co Ltd
Priority to CN202211064106.9A priority Critical patent/CN115494758A/en
Publication of CN115494758A publication Critical patent/CN115494758A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0423Input/output
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/24Pc safety
    • G05B2219/24215Scada supervisory control and data acquisition

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Transmission And Conversion Of Sensor Element Output (AREA)

Abstract

The application provides a resolver's data acquisition device and decoding method, belongs to conversion motor control field, the device includes: the motor speed conversion circuit, the double-excitation sine and cosine differential output circuit and the double-sine and cosine differential signal input circuit. The method comprises the following steps: generating sine and cosine excitation signals; converting the sine and cosine excitation signals into sine and cosine differential signals, wherein the sine and cosine differential signals are used as the input of a rotary transformer; receiving sine and cosine differential signals generated by a rotary transformer; converting sine and cosine differential signals generated by a rotary transformer into sine and cosine response signals which can be identified by a motor speed conversion circuit; obtaining a motor angle according to the sine and cosine excitation signal and the sine and cosine response signal; and obtaining the motor speed according to the motor angle. The device replaces a special rotary transformer decoding chip, the hardware device is strong in universality, the hardware development period and cost are reduced, and the sampling precision and the calculation precision are improved.

Description

一种旋转变压器的数据采集装置以及解码方法A data acquisition device and decoding method for a resolver

技术领域technical field

本申请属于变流电机控制领域,具体涉及一种旋转变压器的数据采集装置以及解码方法。The application belongs to the field of variable current motor control, and in particular relates to a data acquisition device and a decoding method of a rotary transformer.

背景技术Background technique

旋转变压器简称旋变,是一种采集电机位置速度的传感器,也被称为编码器。旋转变压器相比光电技术的编码器而言,具有耐热、耐震动、耐冲击、耐油污耐腐蚀等恶劣环境的适应能力,在很多大型工厂变频器电机控制领域中都有广泛应用。目前针对旋转变压器信号采集都是采用国外厂家专用集成芯片或带有专用旋变解码集成的MCU接口,通过软件对专用旋变集成芯片进行寄存器配置,从而读取寄存器内速度和位置数据。这种专用的集成芯片经常断供并且价格普遍较高;目前市场上旋转变压器类型多种多样,有一对单激励差分信号输入,两对正余弦差分信号输出;也有两对双激励正余弦差分输入,两对正余弦差分信号输出;还有两对双激励正余弦差分输入,一对差分信号输出。而采用不同专用旋变解码集成芯片,会导致其硬件采集装置差异性较大,从而增加硬件的开发周期和成本,不利于硬件的通用性要求。A resolver, referred to as a resolver, is a sensor that collects the position and speed of a motor, also known as an encoder. Compared with encoders of photoelectric technology, resolvers have the ability to adapt to harsh environments such as heat resistance, vibration resistance, impact resistance, oil stain resistance and corrosion resistance, and are widely used in the field of frequency converter motor control in many large factories. At present, for resolver signal acquisition, foreign manufacturers' dedicated integrated chips or MCU interfaces with dedicated resolver decoding integration are used, and the register configuration of the dedicated resolver integrated chip is performed through software to read the speed and position data in the register. This dedicated integrated chip is often out of supply and the price is generally high; currently there are various types of resolvers on the market, there are one pair of single-excitation differential signal input, two pairs of sine-cosine differential signal output; there are also two pairs of dual-excitation sine-cosine differential input , two pairs of sine and cosine differential signal outputs; there are also two pairs of dual excitation sine and cosine differential inputs, and a pair of differential signal outputs. The use of different dedicated resolver decoding integrated chips will lead to large differences in the hardware acquisition devices, thereby increasing the development cycle and cost of the hardware, which is not conducive to the generality requirements of the hardware.

发明内容Contents of the invention

基于以上技术问题,本申请提出一种旋转变压器的数据采集装置以及解码方法。Based on the above technical problems, the present application proposes a data acquisition device and a decoding method for a resolver.

第一方面,本申请提出一种旋转变压器的数据采集装置,包括:电机速度转换电路、双激励正余弦差分输出电路、双正余弦差分信号输入电路;In the first aspect, the present application proposes a data acquisition device for a resolver, including: a motor speed conversion circuit, a dual excitation sine and cosine differential output circuit, and a dual sine and cosine differential signal input circuit;

所述电机速度转换电路的输出端与所述双激励正余弦差分输出电路的输入端相连接,所述双激励正余弦差分输出电路的输出端与旋转变压器的输入端相连接,所述旋转变压器的输出端与双正余弦差分信号输入电路的输入端相连接,所述双正余弦差分信号输入电路的输出端与电机速度转换电路的输入端相连接;The output end of the motor speed conversion circuit is connected to the input end of the dual-excitation sin-cosine differential output circuit, and the output end of the dual-excitation sin-cosine differential output circuit is connected to the input end of the resolver, and the resolver The output end of the double sine-cosine differential signal input circuit is connected to the input end, and the output end of the double sine-cosine differential signal input circuit is connected to the input end of the motor speed conversion circuit;

所述电机速度转换电路用于产生正余弦激励信号,同时接收所述双正余弦差分信号输入电路输出的正余弦响应信号,并根据所述正余弦激励信号以及正余弦响应信号,得到电机角度,根据所述电机角度得到电机速度;The motor speed conversion circuit is used to generate the sine-cosine excitation signal, and simultaneously receive the sine-cosine response signal output by the dual-sin-cosine differential signal input circuit, and obtain the motor angle according to the sine-cosine excitation signal and the sine-cosine response signal, obtain the motor speed according to the motor angle;

所述双激励正余弦差分输出电路用于将所述正余弦激励信号转换为正余弦差分信号,所述正余弦差分信号作为所述旋转变压器的输入;The dual-excitation sin-cosine differential output circuit is used to convert the sin-cosine excitation signal into a sin-cosine differential signal, and the sin-cosine differential signal is used as the input of the resolver;

所述双正余弦差分信号输入电路用于将旋转变压器输出的正余弦差分信号转换为所述电机速度转换电路能够识别的正余弦响应信号。The dual sine-cosine differential signal input circuit is used to convert the sine-cosine differential signal output by the rotary transformer into a sine-cosine response signal that can be recognized by the motor speed conversion circuit.

所述旋转变压器的数据采集装置,还包括通讯电路,用于主控制器与所述电机速度转换电路之间的通讯。The data acquisition device of the resolver further includes a communication circuit for communication between the main controller and the motor speed conversion circuit.

所述旋转变压器的数据采集装置,还包括信号隔离电路,用于在所述双激励正余弦差分输出电路与旋转变压器之间、以及所述双正余弦差分信号输入电路与旋转变压器之间进行信号隔离。The data acquisition device of the rotary transformer further includes a signal isolation circuit, which is used for performing signal isolation between the dual-excitation sin-cosine differential output circuit and the rotary transformer, and between the dual-sin-cosine differential signal input circuit and the rotary transformer. isolation.

所述双激励正余弦差分输出电路包括:数模转换电路、推挽驱动电路、单端转差分电路;The dual-excitation sin-cosine differential output circuit includes: a digital-to-analog conversion circuit, a push-pull drive circuit, and a single-ended to differential circuit;

所述数模转换电路第一输出端与所述推挽驱动电路第一输入端相连接,所述推挽驱动电路的第一输出端与所述单端转差分电路第一输入端相连接,所述数模转换电路第二输出端与所述推挽驱动电路第二输入端相连接,所述推挽驱动电路的第二输出端与所述单端转差分电路第二输入端相连接,所述单端转差分电路第一输出端、第二输出端、第三输出端以及第四输出端分别与所述信号隔离电路的第一输入端、第二输入端、第三输入端以及第四输入端相连接;The first output end of the digital-to-analog conversion circuit is connected to the first input end of the push-pull drive circuit, and the first output end of the push-pull drive circuit is connected to the first input end of the single-ended to differential circuit, The second output end of the digital-to-analog conversion circuit is connected to the second input end of the push-pull drive circuit, and the second output end of the push-pull drive circuit is connected to the second input end of the single-ended to differential circuit, The first output terminal, the second output terminal, the third output terminal and the fourth output terminal of the single-ended to differential circuit are respectively connected to the first input terminal, the second input terminal, the third input terminal and the first input terminal of the signal isolation circuit. The four input terminals are connected;

所述数模转换电路用于将所述正余弦激励信号转换为模拟信号;The digital-to-analog conversion circuit is used to convert the sine-cosine excitation signal into an analog signal;

所述推挽驱动电路用于根据旋转变压器要求将所述模拟信号放大到预定倍数,得到模拟放大信号;The push-pull drive circuit is used to amplify the analog signal to a predetermined multiple according to the requirements of the resolver to obtain an analog amplified signal;

所述单端转差分电路用于将所述模拟放大信号转换为正余弦差分信号。The single-ended-to-differential conversion circuit is used to convert the analog amplified signal into a sine-cosine differential signal.

所述双正余弦差分信号输入电路包括:差分转单端电路、运放调理电路以及模数转换电路;The dual-sine-cosine differential signal input circuit includes: a differential-to-single-ended circuit, an operational amplifier conditioning circuit, and an analog-to-digital conversion circuit;

所述差分转单端电路的第一输入端、第二输入端、第三输入端及第四输入端分别与所述信号隔离电路的第一输出端、第二输出端、第三输出端及第四输出端相连接,所述差分转单端电路第一输出端与所述运放调理电路的第一输入端相连接,所述运放调理电路的第一输出端与所述模数转换电路的第一输入端相连接,所述差分转单端电路第二输出端与所述运放调理电路的第二输入端相连接,所述运放调理电路的第二输出端与所述模数转换电路的第二输入端相连接;The first input terminal, the second input terminal, the third input terminal and the fourth input terminal of the differential-to-single-ended circuit are respectively connected to the first output terminal, the second output terminal, the third output terminal and the signal isolation circuit. The fourth output terminal is connected, the first output terminal of the differential to single-ended circuit is connected to the first input terminal of the operational amplifier conditioning circuit, the first output terminal of the operational amplifier conditioning circuit is connected to the analog-to-digital conversion The first input end of the circuit is connected, the second output end of the differential to single-ended circuit is connected to the second input end of the operational amplifier conditioning circuit, the second output end of the operational amplifier conditioning circuit is connected to the analog The second input terminal of the digital conversion circuit is connected;

所述差分转单端电路用于将所述旋转变压器输出的正余弦差分信号转换为正余弦单端信号;The differential-to-single-ended circuit is used to convert the sine-cosine differential signal output by the resolver into a sine-cosine single-ended signal;

所述运放调理电路用于根据模数转换电路的要求,将所述正余弦单端信号缩小到预定倍数,得到缩小后的正余弦单端信号;The operational amplifier conditioning circuit is used to reduce the sine-cosine single-ended signal to a predetermined multiple according to the requirements of the analog-to-digital conversion circuit, so as to obtain the reduced sine-cosine single-ended signal;

所述模数转换电路用于将所述缩小后的正余弦单端信号转换为所述正余弦响应信号。The analog-to-digital conversion circuit is used to convert the reduced sin-cos single-ended signal into the sin-cos response signal.

所述电机速度转换电路采用可编程逻辑阵列实现或可编程芯片实现。The motor speed conversion circuit is implemented by a programmable logic array or a programmable chip.

所述电机角度根据如下公式计算:The motor angle is calculated according to the following formula:

Figure BDA0003827082050000031
Figure BDA0003827082050000031

Figure BDA0003827082050000032
Figure BDA0003827082050000032

其中,EE_F为旋转变压器输出的正弦差分信号,根据双正余弦差分信号输入电路原理由正弦响应信号反推出正弦差分信号,EG_H为旋转变压器输出的余弦差分信号,根据双正余弦差分信号输入电路原理由余弦响应信号反推出余弦差分信号,EA_B为旋转变压器输入的正弦差分信号,根据双激励正余弦差分输出电路原理由正弦激励信号反推出正弦差分信号,EC_D为旋转变压器输入的余弦差分信号,根据双激励正余弦差分输出电路原理由余弦激励信号反推出余弦差分信号,θ为电机角度。Among them, E E_F is the sine differential signal output by the resolver. According to the principle of the double sine and cosine differential signal input circuit, the sine differential signal is deduced from the sine response signal. E G_H is the cosine differential signal output by the resolver. According to the double sine and cosine differential signal input The circuit principle is to deduce the cosine differential signal from the cosine response signal. E A_B is the sine differential signal input by the resolver. According to the principle of the dual-excitation sine-cosine differential output circuit, the sine differential signal is deduced from the sine excitation signal. E C_D is the cosine input from the resolver. Differential signal, according to the principle of dual excitation sine and cosine differential output circuit, the cosine differential signal is deduced from the cosine excitation signal, and θ is the motor angle.

所述电机速度根据如下公式计算:The motor speed is calculated according to the following formula:

Figure BDA0003827082050000033
Figure BDA0003827082050000033

其中,θ2为T2时刻电机角度,θ1为T1时刻电机角度。Among them, θ 2 is the motor angle at T 2 time, θ 1 is the motor angle at T 1 time.

第二方面,本申请提出一种旋转变压器的数据解码方法,采用所述的旋转变压器的数据采集装置实现,包括如下步骤:In the second aspect, the present application proposes a data decoding method of a resolver, which is realized by the data acquisition device of the resolver, and includes the following steps:

生成正余弦激励信号;Generate a sine-cosine excitation signal;

将所述正余弦激励信号转换为正余弦差分信号,所述正余弦差分信号作为旋转变压器的输入;converting the sine-cosine excitation signal into a sine-cosine differential signal, and the sine-cosine differential signal is used as an input of a resolver;

接收旋转变压器产生的正余弦差分信号;Receive the sine-cosine differential signal generated by the resolver;

将旋转变压器产生的正余弦差分信号转换为电机速度转换电路能够识别的转换为正余弦响应信号;Convert the sine-cosine differential signal generated by the resolver into a sine-cosine response signal that can be recognized by the motor speed conversion circuit;

根据所述正余弦激励信号以及正余弦响应信号,得到电机角度;Obtaining the motor angle according to the sine-cosine excitation signal and the sine-cosine response signal;

根据所述电机角度得到电机速度。The motor speed is obtained according to the motor angle.

所述旋转变压器的数据解码方法,还包括:在所述正余弦差分信号输入旋转变压器之前需要进行信号隔离处理。The data decoding method of the resolver further includes: performing signal isolation processing before the sine-cosine differential signal is input into the resolver.

所述将所述正余弦激励信号转换为正余弦差分信号,包括如下步骤:Said converting said sin-cos excitation signal into a sin-cos differential signal comprises the following steps:

将所述正余弦激励信号转换为模拟信号;converting the sine-cosine excitation signal into an analog signal;

根据所述旋转变压器要求,将所述模拟信号放大到预定倍数,得到模拟放大信号;Amplifying the analog signal to a predetermined multiple according to the requirements of the resolver to obtain an analog amplified signal;

将所述模拟放大信号转换为正余弦差分信号。converting the analog amplified signal into a sine-cosine differential signal.

所述将所述正余弦差分信号转换为正余弦响应信号,包括如下步骤:Said converting said sine-cosine differential signal into a sine-cosine response signal comprises the following steps:

将所述旋转变压器输出的正余弦差分信号转换为正余弦单端信号;converting the sine-cosine differential signal output by the resolver into a sine-cosine single-ended signal;

将所述正余弦单端信号缩小到预定倍数,得到缩小后的正余弦单端信号;reducing the sine-cosine single-ended signal to a predetermined multiple to obtain the reduced sine-cosine single-ended signal;

将所述缩小后的正余弦单端信号转换为所述正余弦响应信号。converting the reduced sin-cos single-ended signal into the sin-cos response signal.

所述根据所述电机角度得到电机速度,包括如下步骤:Described obtaining motor speed according to described motor angle, comprises the steps:

计算前一时刻与后一时刻的电机角度差值;Calculate the motor angle difference between the previous moment and the next moment;

计算前一时刻与后一时刻的时间差值;Calculate the time difference between the previous moment and the next moment;

将所述电机角度差值除以时间差值,得到电机速度。The motor speed is obtained by dividing the motor angle difference by the time difference.

所述电机角度根据如下公式计算:The motor angle is calculated according to the following formula:

Figure BDA0003827082050000041
Figure BDA0003827082050000041

Figure BDA0003827082050000042
Figure BDA0003827082050000042

其中,EE_F为旋转变压器输出的正弦差分信号,根据正余弦差分信号转换为正余弦响应信号原理由正弦响应信号反推出正弦差分信号,EG_H为旋转变压器输出的余弦差分信号,根据正余弦差分信号转换为正余弦响应信号原理由余弦响应信号反推出余弦差分信号,EA_B为旋转变压器输入的正弦差分信号,根据正余弦激励信号转换为正余弦差分信号原理由正弦激励信号反推出正弦差分信号,EC_D为旋转变压器输入的余弦差分信号,根据正余弦激励信号转换为正余弦差分信号原理由余弦激励信号反推出余弦差分信号,θ为电机角度。Among them, E E_F is the sine differential signal output by the resolver. According to the principle of converting the sine-cosine differential signal into a sine-cosine response signal, the sine differential signal is deduced from the sine response signal. E G_H is the cosine differential signal output by the resolver. According to the sine-cosine differential signal The principle of signal conversion into sine and cosine response signals is to deduce the cosine differential signal from the cosine response signal, and E A_B is the sine differential signal input by the resolver. , E C_D is the cosine differential signal input by the resolver, and the cosine differential signal is derived from the cosine excitation signal according to the principle of converting the sine-cosine excitation signal into a sine-cosine differential signal, and θ is the motor angle.

所述电机速度根据如下公式计算:The motor speed is calculated according to the following formula:

Figure BDA0003827082050000051
Figure BDA0003827082050000051

其中,θ2为T2时刻电机角度,θ1为T1时刻电机角度。Among them, θ 2 is the motor angle at T 2 time, θ 1 is the motor angle at T 1 time.

有益技术效果:Beneficial technical effects:

本申请提出一种旋转变压器的数据采集装置以及解码方法,取消了专用旋变解码芯片,采用软解码实现专用芯片硬解码功能,因此本申请能够适用绝大部分不同类型的旋转变压器信号采集,硬件装置通用性强,降低了硬件开发周期和成本。This application proposes a data acquisition device and decoding method for a resolver, cancels the dedicated resolver decoding chip, and uses soft decoding to realize the hard decoding function of the dedicated chip, so this application can be applied to most different types of resolver signal acquisition, hardware The device has strong versatility and reduces the hardware development cycle and cost.

采用FPGA实现速度位置软解码功能,提高了采样精度和计算精度,并具有编程灵活多样的优点。Using FPGA to realize the soft decoding function of speed and position improves the sampling accuracy and calculation accuracy, and has the advantages of flexible and diverse programming.

附图说明Description of drawings

图1为本申请实施例的一种旋转变压器的数据采集装置原理框图;FIG. 1 is a schematic block diagram of a data acquisition device for a resolver according to an embodiment of the present application;

图2为本申请实施例的双激励正余弦差分输出电路以及双正余弦差分信号输入电路内部原理框图;Fig. 2 is the internal functional block diagram of the dual-excitation sin-cosine differential output circuit and the dual-sin-cosine differential signal input circuit of the embodiment of the present application;

图3为本申请实施例的一种旋转变压器的数据解码方法流程图;FIG. 3 is a flow chart of a data decoding method for a resolver according to an embodiment of the present application;

图4为本申请实施例的正余弦激励信号转换为正余弦差分信号流程图;Fig. 4 is the flowchart of converting the sine and cosine excitation signal into a sine and cosine differential signal according to the embodiment of the present application;

图5为本申请实施例的正余弦差分信号转换为正余弦响应信号流程图。FIG. 5 is a flowchart of converting a sine-cosine differential signal into a sine-cosine response signal according to an embodiment of the present application.

具体实施方式detailed description

下面结合附图所示的实施例对本公开作进一步说明。The present disclosure will be further described below in conjunction with the embodiments shown in the accompanying drawings.

本实施例中所述电机速度转换电路采用可编程逻辑阵列FPGA(Field ProgramGate Way,现场可编程的门阵列)实现,同样的方法,也可以采用可编程芯片实现,但是其数据采样精度及计算精度相比FPGA来说效果会差很多。The motor speed conversion circuit described in this embodiment is realized by a programmable logic array FPGA (Field ProgramGate Way, field programmable gate array). The same method can also be realized by a programmable chip, but its data sampling accuracy and calculation accuracy Compared with FPGA, the effect will be much worse.

所述电机速度转换电路(FPGA)用于产生正余弦激励信号,所述正余弦激励信号包括:da_data(FPGA内部数字量)、da_cs_n(FPGA根据述数模转换电路中的DA(Digital toAnalog,数字转模拟)芯片驱动时序要求,产生DA片选信号)以及da_wr_n(DA写使能信号),所述数模转换电路根据所接收到的正余弦激励信号,将da_data、da_cs_n以及da_wr_n转换成了sina1(正弦激励模拟量)以及cosa1(余弦激励模拟量)。The motor speed conversion circuit (FPGA) is used to generate the sine-cosine excitation signal, and the sine-cosine excitation signal includes: da_data (FPGA internal digital quantity), da_cs_n (FPGA according to the DA (Digital to Analog, digital to analog) in the digital-to-analog conversion circuit turn analog) chip drive timing requirements, generate DA chip select signal) and da_wr_n (DA write enable signal), the digital-to-analog conversion circuit converts da_data, da_cs_n and da_wr_n into sina1 according to the received sine-cosine excitation signal (sine excitation analog quantity) and cosa1 (cosine excitation analog quantity).

所述推挽驱动电路根据所述旋转变压器要求,将接收到的sina1(正弦激励模拟量)以及cosa1(余弦激励模拟量)放大到预定倍数,得到模拟放大信号,sina2(正弦模拟放大信号)以及cosa2(余弦模拟放大信号)。According to the requirements of the resolver, the push-pull drive circuit amplifies the received sina1 (sine excitation analog quantity) and cosa1 (cosine excitation analog quantity) to a predetermined multiple to obtain an analog amplified signal, sina2 (sine analog amplified signal) and cosa2 (cosine analog amplified signal).

所述单端转差分电路将接收到的sina2(正弦模拟放大信号)以及cosa2(余弦模拟放大信号)转换为所述旋转变压器能够识别的正余弦差分信号,分别为:差分正弦信号:sina+和sina-,差分余弦信号:cosa+和cosa-。The single-ended to differential circuit converts the received sina2 (sine analog amplified signal) and cosa2 (cosine analog amplified signal) into sine-cosine differential signals that can be recognized by the resolver, respectively: differential sine signals: sina+ and sina -, differential cosine signal: cosa+ and cosa-.

为了避免采集装置受到外界浪涌等影响而遭到损坏,设置信号隔离电路,将差分正弦信号:sina+和sina-,差分余弦信号:cosa+和cosa-,分别转换为信号隔离后的差分正弦信号:Ex-sina+和Ex-sina-,差分余弦信号:Ex-cosa+和Ex-cosa-。In order to prevent the acquisition device from being damaged by external surges, etc., a signal isolation circuit is set to convert the differential sine signals: sina+ and sina-, and the differential cosine signals: cosa+ and cosa-, respectively into differential sine signals after signal isolation: Ex-sina+ and Ex-sina-, differential cosine signals: Ex-cosa+ and Ex-cosa-.

根据所述旋转变压器的输出差分正弦信号:sina+和sina-,差分余弦信号:cosa+和cosa-,经过信号隔离电路,得到差分正弦信号:sina+和sina-,差分余弦信号:cosa+和cosa-,将sina+、sina-、cosa+以及cosa-经过所述差分转单端电路转换得到正余弦单端信号:sina4(正弦单端信号)、cosa4(余弦单端信号)。根据模数转换电路的要求,采用所述运放调理电路将正余弦模拟信号:sina4、cosa4,缩小到预定倍数,得到缩小后的正余弦单端信号sina5、cosa5,所述模数转换电路接收缩小后的正余弦单端信号sina5、cosa5,通过sina2(正弦激励数字量)、cosa2(余弦激励数字量),并根据模数转换电路中AD(Analog toDigital,模拟转数字)芯片手册驱动时序产生AD片选信号(ad_cs_n),DA读使能信号(ad_rd_n),经过模数转换得到ad_data,FPGA读取ad_data数据,通过FPGA内部转换,得到最后的电机转速。According to the output differential sine signal of the rotary transformer: sina+ and sina-, differential cosine signal: cosa+ and cosa-, through the signal isolation circuit, the differential sine signal: sina+ and sina-, differential cosine signal: cosa+ and cosa-, will sina+, sina-, cosa+ and cosa- are converted by the differential-to-single-ended circuit to obtain sine-cosine single-ended signals: sina4 (sine single-ended signal), cosa4 (cosine single-ended signal). According to the requirements of the analog-to-digital conversion circuit, the sine-cosine analog signal: sina4, cosa4 is reduced to a predetermined multiple by using the operational amplifier conditioning circuit, and the reduced sine-cosine single-ended signal sina5, cosa5 is obtained, and the analog-to-digital conversion circuit receives The reduced sine-cosine single-ended signals sina5 and cosa5 are generated through sina2 (sine excitation digital quantity) and cosa2 (cosine excitation digital quantity) according to the AD (Analog to Digital, analog to digital) chip manual drive timing in the analog-to-digital conversion circuit AD chip select signal (ad_cs_n), DA read enable signal (ad_rd_n), ad_data is obtained through analog-to-digital conversion, FPGA reads ad_data data, and the final motor speed is obtained through FPGA internal conversion.

第一方面,本申请提出一种旋转变压器的数据采集装置,如图1所示,包括:电机速度转换电路、双激励正余弦差分输出电路、双正余弦差分信号输入电路;In the first aspect, the present application proposes a data acquisition device for a resolver, as shown in Figure 1, including: a motor speed conversion circuit, a dual-excitation sin-cosine differential output circuit, and a dual-sin-cosine differential signal input circuit;

所述电机速度转换电路的输出端与所述双激励正余弦差分输出电路的输入端相连接,所述双激励正余弦差分输出电路的输出端与旋转变压器的输入端相连接,所述旋转变压器的输出端与双正余弦差分信号输入电路的输入端相连接,所述双正余弦差分信号输入电路的输出端与电机速度转换电路的输入端相连接;The output end of the motor speed conversion circuit is connected to the input end of the dual-excitation sin-cosine differential output circuit, and the output end of the dual-excitation sin-cosine differential output circuit is connected to the input end of the resolver, and the resolver The output end of the double sine-cosine differential signal input circuit is connected to the input end, and the output end of the double sine-cosine differential signal input circuit is connected to the input end of the motor speed conversion circuit;

所述电机速度转换电路用于产生正余弦激励信号,同时接收所述双正余弦差分信号输入电路输出的正余弦响应信号,并根据所述正余弦激励信号以及正余弦响应信号,得到电机角度,根据所述电机角度得到电机速度;The motor speed conversion circuit is used to generate the sine-cosine excitation signal, and simultaneously receive the sine-cosine response signal output by the dual-sin-cosine differential signal input circuit, and obtain the motor angle according to the sine-cosine excitation signal and the sine-cosine response signal, obtain the motor speed according to the motor angle;

所述双激励正余弦差分输出电路用于将所述正余弦激励信号转换为正余弦差分信号,所述正余弦差分信号作为所述旋转变压器的输入;The dual-excitation sin-cosine differential output circuit is used to convert the sin-cosine excitation signal into a sin-cosine differential signal, and the sin-cosine differential signal is used as the input of the resolver;

所述双正余弦差分信号输入电路用于将旋转变压器输出的正余弦差分信号转换为所述电机速度转换电路能够识别的正余弦响应信号。The dual sine-cosine differential signal input circuit is used to convert the sine-cosine differential signal output by the rotary transformer into a sine-cosine response signal that can be recognized by the motor speed conversion circuit.

所述旋转变压器的数据采集装置,如图1所示,还包括通讯电路,用于主控制器与所述电机速度转换电路之间的通讯。旋转变压器信号采样装置与主控单元可以采用多种通讯方式,如光纤通信、485通讯、以太网通讯、直接与主控制器进行EMIF(External MemoryInterface,外部存储器接口)总线通讯等等,将FPGA计算好的速度位置信息采用合理的通讯方式将位置和速度数据传输给主控制器。以便主控制器MCU(Master Control Unit,主控制器)进行电机算法控制。The data acquisition device of the resolver, as shown in FIG. 1 , further includes a communication circuit for communication between the main controller and the motor speed conversion circuit. The resolver signal sampling device and the main control unit can use a variety of communication methods, such as optical fiber communication, 485 communication, Ethernet communication, direct EMIF (External Memory Interface, external memory interface) bus communication with the main controller, etc., and the FPGA calculation Good speed and position information uses reasonable communication methods to transmit position and speed data to the main controller. So that the master controller MCU (Master Control Unit, master controller) can perform motor algorithm control.

所述旋转变压器的数据采集装置,如图1所示,还包括信号隔离电路,用于在所述双激励正余弦差分输出电路与旋转变压器之间、以及所述双正余弦差分信号输入电路与旋转变压器之间进行信号隔离。The data acquisition device of the rotary transformer, as shown in FIG. 1 , also includes a signal isolation circuit, which is used between the dual-excitation sin-cosine differential output circuit and the rotary transformer, and between the dual-sin-cosine differential signal input circuit and the rotary transformer. Signal isolation between resolvers.

所述双激励正余弦差分输出电路,如图2所示,包括:数模转换电路、推挽驱动电路、单端转差分电路;The dual-excitation sin-cosine differential output circuit, as shown in Figure 2, includes: a digital-to-analog conversion circuit, a push-pull drive circuit, and a single-ended to differential circuit;

所述数模转换电路第一输出端与所述推挽驱动电路第一输入端相连接,所述推挽驱动电路的第一输出端与所述单端转差分电路第一输入端相连接,所述数模转换电路第二输出端与所述推挽驱动电路第二输入端相连接,所述推挽驱动电路的第二输出端与所述单端转差分电路第二输入端相连接,所述单端转差分电路第一输出端、第二输出端、第三输出端以及第四输出端分别与所述信号隔离电路的第一输入端、第二输入端、第三输入端以及第四输入端相连接;The first output end of the digital-to-analog conversion circuit is connected to the first input end of the push-pull drive circuit, and the first output end of the push-pull drive circuit is connected to the first input end of the single-ended to differential circuit, The second output end of the digital-to-analog conversion circuit is connected to the second input end of the push-pull drive circuit, and the second output end of the push-pull drive circuit is connected to the second input end of the single-ended to differential circuit, The first output terminal, the second output terminal, the third output terminal and the fourth output terminal of the single-ended to differential circuit are respectively connected to the first input terminal, the second input terminal, the third input terminal and the first input terminal of the signal isolation circuit. The four input terminals are connected;

所述数模转换电路用于将所述正余弦激励信号转换为模拟信号;所述模拟信号包括:sina1(正弦激励模拟量)以及cosa1(余弦激励模拟量)。The digital-to-analog conversion circuit is used to convert the sine-cosine excitation signal into an analog signal; the analog signal includes: sina1 (sine excitation analog quantity) and cosa1 (cosine excitation analog quantity).

所述推挽驱动电路用于根据旋转变压器要求将所述模拟信号放大到预定倍数,得到模拟放大信号;所述模拟放大信号包括:sina2(正弦模拟放大信号)以及cosa2(余弦模拟放大信号)。The push-pull drive circuit is used to amplify the analog signal to a predetermined multiple according to the requirements of the resolver to obtain an analog amplified signal; the analog amplified signal includes: sina2 (sine analog amplified signal) and cosa2 (cosine analog amplified signal).

所述单端转差分电路用于将所述模拟放大信号转换为正余弦差分信号。所述正余弦差分信号,包括:差分正弦信号:sina+和sina-,差分余弦信号:cosa+和cosa-。The single-ended-to-differential conversion circuit is used to convert the analog amplified signal into a sine-cosine differential signal. The sine-cosine differential signal includes: differential sine signals: sina+ and sina-, differential cosine signals: cosa+ and cosa-.

所述双正余弦差分信号输入电路,如图2所示,包括:差分转单端电路、运放调理电路以及模数转换电路;The dual sine and cosine differential signal input circuit, as shown in Figure 2, includes: a differential to single-ended circuit, an operational amplifier conditioning circuit and an analog-to-digital conversion circuit;

所述差分转单端电路的第一输入端、第二输入端、第三输入端及第四输入端分别与所述信号隔离电路的第一输出端、第二输出端、第三输出端及第四输出端相连接,所述差分转单端电路第一输出端与所述运放调理电路的第一输入端相连接,所述运放调理电路的第一输出端与所述模数转换电路的第一输入端相连接,所述差分转单端电路第二输出端与所述运放调理电路的第二输入端相连接,所述运放调理电路的第二输出端与所述模数转换电路的第二输入端相连接;The first input terminal, the second input terminal, the third input terminal and the fourth input terminal of the differential-to-single-ended circuit are respectively connected to the first output terminal, the second output terminal, the third output terminal and the signal isolation circuit. The fourth output terminal is connected, the first output terminal of the differential to single-ended circuit is connected to the first input terminal of the operational amplifier conditioning circuit, the first output terminal of the operational amplifier conditioning circuit is connected to the analog-to-digital conversion The first input end of the circuit is connected, the second output end of the differential to single-ended circuit is connected to the second input end of the operational amplifier conditioning circuit, the second output end of the operational amplifier conditioning circuit is connected to the analog The second input terminal of the digital conversion circuit is connected;

所述差分转单端电路用于将所述旋转变压器输出的正余弦差分信号转换为正余弦单端信号;所述旋转变压器输出的正余弦差分信号,包括:差分正弦信号:sina+和sina-,差分余弦信号:cosa+和cosa-,所述正余弦单端信号包括:sina4(正弦单端信号)、cosa4(余弦单端信号)。The differential-to-single-ended circuit is used to convert the sine-cosine differential signal output by the resolver into a sine-cosine single-end signal; the sine-cosine differential signal output by the resolver includes: differential sine signals: sina+ and sina-, Differential cosine signals: cosa+ and cosa-, the sine-cosine single-ended signals include: sina4 (sine single-ended signal), cosa4 (cosine single-ended signal).

所述运放调理电路用于根据模数转换电路的要求,将所述正余弦单端信号缩小到预定倍数,得到缩小后的正余弦单端信号,所述缩小后的正余弦单端信号包括:sina5、cosa5;The operational amplifier conditioning circuit is used to reduce the sine-cosine single-ended signal to a predetermined multiple according to the requirements of the analog-to-digital conversion circuit to obtain a reduced sine-cosine single-ended signal, and the reduced sine-cosine single-ended signal includes : sina5, cosa5;

所述模数转换电路用于将所述缩小后的正余弦单端信号转换为所述正余弦响应信号。The analog-to-digital conversion circuit is used to convert the reduced sin-cos single-ended signal into the sin-cos response signal.

所述电机速度转换电路采用可编程逻辑阵列实现或可编程芯片实现。The motor speed conversion circuit is implemented by a programmable logic array or a programmable chip.

由于FPGA具有编程灵活、丰富的IP核(IP CORE)、高效并行数据采样及数据处理运算能力,能够保障数据的计算精度和采样计算实时性,因此本申请基于FPGA器件采用软件编程的方式实现,实现步骤如下:Because FPGA has flexible programming, rich IP core (IP CORE), high-efficiency parallel data sampling and data processing and computing capabilities, and can guarantee the calculation accuracy of data and the real-time performance of sampling calculation, this application is implemented by software programming based on FPGA devices. The implementation steps are as follows:

(A)产生正余弦激励信号:依据DA采样周期及正余弦激励的周期离散化正弦信号和余弦信号,并将离散化的数字量存储于FPGA片内ROM(Read Only Memory,只读存储器)区域;驱动DA芯片并读取ROM数据传输给DA,将数字量转成正余弦激励的模拟信号;(A) Generate sine and cosine excitation signals: discretize the sine and cosine signals according to the DA sampling period and the period of the sine and cosine excitation, and store the discretized digital quantities in the FPGA on-chip ROM (Read Only Memory) area ;Drive the DA chip and read the ROM data and transmit it to the DA, converting the digital quantity into an analog signal excited by sine and cosine;

(B)模拟信号转数字量读取:通过驱动AD芯片读取正余弦激励信号及旋转变压器输出的正余弦信号,采集EE_F、EG_H、EA_B、EC_D模拟量信号;(B) Reading from analog signal to digital quantity: read the sine-cosine excitation signal and the sine-cosine signal output by the resolver by driving the AD chip, and collect E E_F , E G_H , E A_B , E C_D analog signals;

(C)数字化运算:利用FPGA编译软件中乘法IP核实现乘法运算实现EE_FEA_B、EG_ HEC_D、EE_FEC_D、EG_HEA_B,加减法运算获得Y和X;(C) Digital operation: use the multiplication IP core in the FPGA compiling software to realize the multiplication operation to realize E E_F E A_B , E G_ H E C_D , E E_F E C_D , E G_H E A_B , and obtain Y and X by addition and subtraction;

(D)电机角度计算:利用FPGA编译软件反正切IP核实现Y/X的反正切运算获得电机角度;(D) Calculation of the motor angle: use the FPGA compiler software arctangent IP core to realize the arctangent operation of Y/X to obtain the motor angle;

所述电机角度根据如下公式计算:The motor angle is calculated according to the following formula:

Figure BDA0003827082050000091
Figure BDA0003827082050000091

Figure BDA0003827082050000092
Figure BDA0003827082050000092

其中,EE_F为旋转变压器输出的正弦差分信号,根据双正余弦差分信号输入电路原理由正弦响应信号反推出正弦差分信号,EG_H为旋转变压器输出的余弦差分信号,根据双正余弦差分信号输入电路原理由余弦响应信号反推出余弦差分信号,EA_B为旋转变压器输入的正弦差分信号,根据双激励正余弦差分输出电路原理由正弦激励信号反推出正弦差分信号,EC_D为旋转变压器输入的余弦差分信号,根据双激励正余弦差分输出电路原理由余弦激励信号反推出余弦差分信号,θ为电机角度。Among them, E E_F is the sine differential signal output by the resolver. According to the principle of the double sine and cosine differential signal input circuit, the sine differential signal is deduced from the sine response signal. E G_H is the cosine differential signal output by the resolver. According to the double sine and cosine differential signal input The circuit principle is to deduce the cosine differential signal from the cosine response signal. E A_B is the sine differential signal input by the resolver. According to the principle of the dual-excitation sine-cosine differential output circuit, the sine differential signal is deduced from the sine excitation signal. E C_D is the cosine input from the resolver. Differential signal, according to the principle of dual excitation sine and cosine differential output circuit, the cosine differential signal is deduced from the cosine excitation signal, and θ is the motor angle.

(E)电机速度计算:利用电机角度的微分获取电机速度,即速度为采样周期(时间dT)内的角度变化dθ,利用FPGA编译软件除法IP核实现电机速度计算;所述电机速度根据如下公式计算:(E) motor speed calculation: utilize the differential of motor angle to obtain motor speed, that is, the speed is the angle change dθ in the sampling period (time dT), and utilize FPGA compiler software division IP core to realize motor speed calculation; described motor speed is according to the following formula calculate:

Figure BDA0003827082050000093
Figure BDA0003827082050000093

其中,θ2为T2时刻电机角度,θ1为T1时刻电机角度。Among them, θ 2 is the motor angle at T 2 time, θ 1 is the motor angle at T 1 time.

(F)FPGA与主控单元通讯:FPGA将计算完成的电机角度和位置信息通过通讯方式传输给主控制单元,提供控制算法输入源。(F) FPGA communicates with the main control unit: FPGA transmits the calculated motor angle and position information to the main control unit through communication, providing the input source of the control algorithm.

第二方面,本申请提出一种旋转变压器的数据解码方法,用所述的旋转变压器的数据采集装置实现,如图3所示,包括如下步骤:In the second aspect, the present application proposes a data decoding method of a rotary transformer, which is realized by the data acquisition device of the rotary transformer, as shown in FIG. 3 , including the following steps:

步骤S1:生成正余弦激励信号;Step S1: generating a sine-cosine excitation signal;

步骤S2:将所述正余弦激励信号转换为正余弦差分信号,所述正余弦差分信号作为旋转变压器的输入;Step S2: converting the sine-cosine excitation signal into a sine-cosine differential signal, and the sine-cosine differential signal is used as an input of a resolver;

步骤S3:接收旋转变压器产生的正余弦差分信号;Step S3: receiving the sine-cosine differential signal generated by the resolver;

步骤S4:将旋转变压器产生的正余弦差分信号转换为电机速度转换电路能够识别的转换为正余弦响应信号;Step S4: converting the sine-cosine differential signal generated by the resolver into a sine-cosine response signal that can be recognized by the motor speed conversion circuit;

步骤S5:根据所述正余弦激励信号以及正余弦响应信号,得到电机角度;Step S5: Obtain the motor angle according to the sine-cosine excitation signal and the sine-cosine response signal;

步骤S6:根据所述电机角度得到电机速度。Step S6: Obtain the motor speed according to the motor angle.

所述旋转变压器的数据解码方法,还包括:在所述正余弦差分信号输入旋转变压器之前需要进行信号隔离处理。The data decoding method of the resolver further includes: performing signal isolation processing before the sine-cosine differential signal is input into the resolver.

所述将所述正余弦激励信号转换为正余弦差分信号,如图4所示,包括如下步骤:The described sin-cosine excitation signal is converted into a sin-cosine differential signal, as shown in Figure 4, comprising the following steps:

步骤S2.1:将所述正余弦激励信号转换为模拟信号;Step S2.1: converting the sine-cosine excitation signal into an analog signal;

步骤S2.2:根据所述旋转变压器要求,将所述模拟信号放大到预定倍数,得到模拟放大信号;Step S2.2: According to the requirements of the resolver, amplify the analog signal to a predetermined multiple to obtain an analog amplified signal;

步骤S2.3:将所述模拟放大信号转换为正余弦差分信号。Step S2.3: converting the analog amplified signal into a sine-cosine differential signal.

所述将所述正余弦差分信号转换为正余弦响应信号,如图5所示,包括如下步骤:The described sine-cosine differential signal is converted into a sine-cosine response signal, as shown in Figure 5, comprising the following steps:

步骤S4.1:将所述旋转变压器输出的正余弦差分信号转换为正余弦单端信号;Step S4.1: converting the sine-cosine differential signal output by the resolver into a sine-cosine single-ended signal;

步骤S4.2:将所述正余弦单端信号缩小到预定倍数,得到缩小后的正余弦单端信号;Step S4.2: reducing the sine-cosine single-ended signal to a predetermined multiple to obtain the reduced sine-cosine single-ended signal;

步骤S4.3:将所述缩小后的正余弦单端信号转换为所述正余弦响应信号。Step S4.3: converting the reduced sin-cos single-ended signal into the sin-cos response signal.

所述根据所述电机角度得到电机速度,包括如下步骤:Described obtaining motor speed according to described motor angle, comprises the steps:

计算前一时刻与后一时刻的电机角度差值;Calculate the motor angle difference between the previous moment and the next moment;

计算前一时刻与后一时刻的时间差值;Calculate the time difference between the previous moment and the next moment;

将所述电机角度差值除以时间差值,得到电机速度。The motor speed is obtained by dividing the motor angle difference by the time difference.

所述电机角度根据如下公式计算:The motor angle is calculated according to the following formula:

Figure BDA0003827082050000101
Figure BDA0003827082050000101

Figure BDA0003827082050000102
Figure BDA0003827082050000102

其中,EE_F为旋转变压器输出的正弦差分信号,根据正余弦差分信号转换为正余弦响应信号原理由正弦响应信号反推出正弦差分信号,EG_H为旋转变压器输出的余弦差分信号,根据正余弦差分信号转换为正余弦响应信号原理由余弦响应信号反推出余弦差分信号,EA_B为旋转变压器输入的正弦差分信号,根据正余弦激励信号转换为正余弦差分信号原理由正弦激励信号反推出正弦差分信号,EC_D为旋转变压器输入的余弦差分信号,根据正余弦激励信号转换为正余弦差分信号原理由余弦激励信号反推出余弦差分信号,θ为电机角度。Among them, E E_F is the sine differential signal output by the resolver. According to the principle of converting the sine-cosine differential signal into a sine-cosine response signal, the sine differential signal is deduced from the sine response signal. E G_H is the cosine differential signal output by the resolver. According to the sine-cosine differential signal The principle of signal conversion into sine and cosine response signals is to deduce the cosine differential signal from the cosine response signal, and E A_B is the sine differential signal input by the resolver. , E C_D is the cosine differential signal input by the resolver, and the cosine differential signal is derived from the cosine excitation signal according to the principle of converting the sine-cosine excitation signal into a sine-cosine differential signal, and θ is the motor angle.

所述电机速度根据如下公式计算:The motor speed is calculated according to the following formula:

Figure BDA0003827082050000111
Figure BDA0003827082050000111

其中,θ2为T2时刻电机角度,θ1为T1时刻电机角度。Among them, θ 2 is the motor angle at T 2 time, θ 1 is the motor angle at T 1 time.

本公开中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。Each embodiment in the present disclosure is described in a progressive manner, the same and similar parts of the various embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments.

本公开的保护范围不限于上述的实施例,显然,本领域的技术人员可以对本公开进行各种改动和变形而不脱离本公开的范围和精神。倘若这些改动和变形属于本公开权利要求及其等同技术的范围,则本公开的意图也包含这些改动和变形在内。The protection scope of the present disclosure is not limited to the above-mentioned embodiments, and it is obvious that those skilled in the art can make various changes and modifications to the present disclosure without departing from the scope and spirit of the present disclosure. If these changes and modifications belong to the scope of the claims of the present disclosure and their equivalent technologies, the intent of the present disclosure is to also include these changes and modifications.

Claims (11)

1. A resolver data acquisition apparatus, comprising: the motor speed conversion circuit, the double-excitation sine and cosine differential output circuit and the double-sine and cosine differential signal input circuit;
the output end of the motor speed conversion circuit is connected with the input end of the double-excitation sine-cosine differential output circuit, the output end of the double-excitation sine-cosine differential output circuit is connected with the input end of the rotary transformer, the output end of the rotary transformer is connected with the input end of the double-sine-cosine differential signal input circuit, and the output end of the double-sine-cosine differential signal input circuit is connected with the input end of the motor speed conversion circuit;
the motor speed conversion circuit is used for generating sine and cosine excitation signals, receiving sine and cosine response signals output by the double sine and cosine differential signal input circuit at the same time, obtaining a motor angle according to the sine and cosine excitation signals and the sine and cosine response signals, and obtaining a motor speed according to the motor angle;
the double-excitation sine and cosine differential output circuit is used for converting the sine and cosine excitation signals into sine and cosine differential signals, and the sine and cosine differential signals are used as the input of the rotary transformer;
the double sine and cosine differential signal input circuit is used for converting sine and cosine differential signals output by the rotary transformer into sine and cosine response signals which can be identified by the motor speed conversion circuit.
2. The resolver data acquisition device according to claim 1, further comprising a communication circuit for communication between a main controller and the motor speed conversion circuit.
3. The resolver data acquisition device according to claim 2, further comprising a signal isolation circuit for signal isolation between the double-excitation sine-cosine differential output circuit and the resolver and between the double-sine-cosine differential signal input circuit and the resolver.
4. The resolver data collecting device according to claim 3, wherein the double-excitation sine-cosine differential output circuit comprises: the device comprises a digital-to-analog conversion circuit, a push-pull driving circuit and a single-end to differential circuit;
the first output end of the digital-to-analog conversion circuit is connected with the first input end of the push-pull driving circuit, the first output end of the push-pull driving circuit is connected with the first input end of the single-ended to differential conversion circuit, the second output end of the digital-to-analog conversion circuit is connected with the second input end of the push-pull driving circuit, the second output end of the push-pull driving circuit is connected with the second input end of the single-ended to differential conversion circuit, and the first output end, the second output end, the third output end and the fourth output end of the single-ended to differential conversion circuit are respectively connected with the first input end, the second input end, the third input end and the fourth input end of the signal isolation circuit;
the digital-to-analog conversion circuit is used for converting the sine and cosine excitation signals into analog signals;
the push-pull driving circuit is used for amplifying the analog signal to a preset multiple according to the requirement of the rotary transformer to obtain an analog amplified signal;
the single-ended to differential circuit is used for converting the analog amplification signal into a sine and cosine differential signal.
5. The resolver data acquisition device according to claim 4, wherein the double sine and cosine differential signal input circuit comprises: the circuit comprises a differential-to-single-ended circuit, an operational amplifier conditioning circuit and an analog-to-digital conversion circuit;
the first input end, the second input end, the third input end and the fourth input end of the differential-to-single-ended circuit are respectively connected with the first output end, the second output end, the third output end and the fourth output end of the signal isolation circuit, the first output end of the differential-to-single-ended circuit is connected with the first input end of the operational amplifier conditioning circuit, the first output end of the operational amplifier conditioning circuit is connected with the first input end of the analog-to-digital conversion circuit, the second output end of the differential-to-single-ended circuit is connected with the second input end of the operational amplifier conditioning circuit, and the second output end of the operational amplifier conditioning circuit is connected with the second input end of the analog-to-digital conversion circuit;
the differential-to-single-ended circuit is used for converting sine and cosine differential signals output by the rotary transformer into sine and cosine single-ended signals;
the operational amplifier conditioning circuit is used for reducing the sine and cosine single-ended signal to a preset multiple according to the requirement of the analog-to-digital conversion circuit to obtain a reduced sine and cosine single-ended signal;
the analog-to-digital conversion circuit is used for converting the reduced sine-cosine single-ended signal into the sine-cosine response signal.
6. The resolver data acquisition device according to claim 5, wherein the motor speed conversion circuit is implemented using a programmable logic array or a programmable chip.
7. A data decoding method of a rotary transformer is realized by the data acquisition device of the rotary transformer of any one of claims 1 to 6, and is characterized by comprising the following steps:
generating sine and cosine excitation signals;
converting the sine and cosine excitation signals into sine and cosine differential signals, wherein the sine and cosine differential signals are used as the input of a rotary transformer;
receiving sine and cosine differential signals generated by a rotary transformer;
converting the sine and cosine differential signals generated by the rotary transformer into sine and cosine response signals which can be identified by the motor speed conversion circuit;
obtaining a motor angle according to the sine and cosine excitation signal and the sine and cosine response signal;
and obtaining the motor speed according to the motor angle.
8. The data decoding method of a resolver according to claim 7, further comprising: and signal isolation processing is required before the sine and cosine differential signals are input into the rotary transformer.
9. The resolver data decoding method according to claim 8, wherein the converting the sin-cos excitation signal into the sin-cos differential signal includes the steps of:
converting the sine and cosine excitation signals into analog signals;
amplifying the analog signal to a preset multiple according to the requirement of the rotary transformer to obtain an analog amplified signal;
and converting the analog amplification signal into a sine and cosine differential signal.
10. The resolver data decoding method according to claim 9, wherein the converting the sine-cosine differential signal into a sine-cosine response signal comprises:
converting the sine and cosine differential signals output by the rotary transformer into sine and cosine single-ended signals;
reducing the sine and cosine single-ended signal to a preset multiple to obtain a reduced sine and cosine single-ended signal;
and converting the reduced sine and cosine single-ended signal into the sine and cosine response signal.
11. The resolver data decoding method according to claim 10, wherein the obtaining of the motor speed from the motor angle comprises the steps of:
calculating the motor angle difference between the previous moment and the next moment;
calculating the time difference between the previous moment and the next moment;
and dividing the motor angle difference value by the time difference value to obtain the motor speed.
CN202211064106.9A 2022-08-31 2022-08-31 Data acquisition device and decoding method of rotary transformer Pending CN115494758A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211064106.9A CN115494758A (en) 2022-08-31 2022-08-31 Data acquisition device and decoding method of rotary transformer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211064106.9A CN115494758A (en) 2022-08-31 2022-08-31 Data acquisition device and decoding method of rotary transformer

Publications (1)

Publication Number Publication Date
CN115494758A true CN115494758A (en) 2022-12-20

Family

ID=84468544

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211064106.9A Pending CN115494758A (en) 2022-08-31 2022-08-31 Data acquisition device and decoding method of rotary transformer

Country Status (1)

Country Link
CN (1) CN115494758A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116754002A (en) * 2023-08-16 2023-09-15 深蓝(天津)智能制造有限责任公司 Measurement error fitting method and system for rotary transformer

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100097052A1 (en) * 2008-10-16 2010-04-22 Lillestolen Kirk A Resolver interface and signal conditioner
CN103078571A (en) * 2013-01-04 2013-05-01 天津清源电动车辆有限责任公司 Rotary transformer system and control method thereof
CN203151415U (en) * 2013-01-04 2013-08-21 天津清源电动车辆有限责任公司 Rotary transformer system
CN203587123U (en) * 2013-11-30 2014-05-07 湖北三江航天红峰控制有限公司 Rotary transformer signal conditioning circuit based on rotary transformer digital converter
CN104702173A (en) * 2015-04-02 2015-06-10 奇瑞汽车股份有限公司 Detecting system and method for position of rotor of rotary transformer
CN107332480A (en) * 2017-07-25 2017-11-07 天津电气科学研究院有限公司 A kind of universal rotation based on FPGA becomes excitation and decoding circuit
CN215064572U (en) * 2021-07-05 2021-12-07 广州小鹏汽车科技有限公司 Resolver decoding circuit and car
CN114189192A (en) * 2021-12-14 2022-03-15 珠海格力电器股份有限公司 Soft decoding device of rotary transformer, motor controller and electric automobile

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100097052A1 (en) * 2008-10-16 2010-04-22 Lillestolen Kirk A Resolver interface and signal conditioner
CN103078571A (en) * 2013-01-04 2013-05-01 天津清源电动车辆有限责任公司 Rotary transformer system and control method thereof
CN203151415U (en) * 2013-01-04 2013-08-21 天津清源电动车辆有限责任公司 Rotary transformer system
CN203587123U (en) * 2013-11-30 2014-05-07 湖北三江航天红峰控制有限公司 Rotary transformer signal conditioning circuit based on rotary transformer digital converter
CN104702173A (en) * 2015-04-02 2015-06-10 奇瑞汽车股份有限公司 Detecting system and method for position of rotor of rotary transformer
CN107332480A (en) * 2017-07-25 2017-11-07 天津电气科学研究院有限公司 A kind of universal rotation based on FPGA becomes excitation and decoding circuit
CN215064572U (en) * 2021-07-05 2021-12-07 广州小鹏汽车科技有限公司 Resolver decoding circuit and car
CN114189192A (en) * 2021-12-14 2022-03-15 珠海格力电器股份有限公司 Soft decoding device of rotary transformer, motor controller and electric automobile

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116754002A (en) * 2023-08-16 2023-09-15 深蓝(天津)智能制造有限责任公司 Measurement error fitting method and system for rotary transformer
CN116754002B (en) * 2023-08-16 2023-11-14 深蓝(天津)智能制造有限责任公司 Measurement error fitting method and system for rotary transformer

Similar Documents

Publication Publication Date Title
CN102624375B (en) The signal processing apparatus of compatible with multiple encoder and resolver interface
CN108155910B (en) High-speed sine and cosine encoder decoding method based on FPGA
CN102403938B (en) Decoding device and method for rotary transformer based on single FPGA (Field Programmable Gate Array)
CN109443451B (en) Motor position speed detection device
CN103557830B (en) Angle measuring plate card compatible with various sensors
CN102435133A (en) Rotary transformer angle measurement system based on FPGA
CN115494758A (en) Data acquisition device and decoding method of rotary transformer
CN1330932C (en) Full digital addition processing circuit for incremental photoelectric shaft-position encoder
CN105651412A (en) Measurement method and measurement circuit for PT1000 temperature sensor
CN111351512A (en) An incremental photoelectric encoder signal processing device and processing method
CN101949684B (en) Movement comparison-based dual-frequency laser interferometer signal high multiple-frequency subdivision system
CN206671826U (en) Brshless DC motor AC signal real-time sampling system
CN202435329U (en) Resolver decoding processing device based on single FPGA
CN205388479U (en) Rotary encoder based on anisotropic magnetic resistance
CN111366176A (en) A multi-protocol and multi-type sine-cosine encoder signal processing device
CN202694083U (en) Signal processing apparatus compatible with a plurality of encoder and rotary transformer interface
CN105703773A (en) Rotary transformer decoding method
CN108011548B (en) A rotary transformer position detection device for motor
CN201322867Y (en) Distributed joint control circuit of anthropomorphic robot
CN201360233Y (en) Current sampling temperature compensation device
CN201917315U (en) A Circuit for Measuring Motor Rotation Angle Based on Inductive Synchronizer
CN207588743U (en) A kind of motor rotary transformer position detecting device
CN100576139C (en) A Realization Method of Digital Angle Converter
CN115342716A (en) A Communication Linear Magnetic Encoder
CN101441060B (en) Angle measuring system based on programmable logic 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