Decoding circuit and method of rotary transformer
By designing a rotary transformer decoding circuit integrated on a circuit board, the problem of lack of ready-made modules in the prior art is solved, high reliability and accuracy of angle measurement is achieved, user operation process is simplified, and cost and workload are reduced. , improves the performance of the servo system.
Patent Information
- Application Number
- CN202410976333.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-20
- Publication Date
- 2024-11-22
AI Technical Summary
In the prior art, the angle decoding circuit between the rotary transformer and the microcontroller lacks ready-made modules, which leads to users who need to combine chips, program and debug them by themselves, which increases the technical difficulty and workload, and brings considerable challenges to users who use the rotary transformer. .
Design a rotary transformer decoding circuit integrated into a circuit board, including a rough channel and a fine channel rotary transformer circuit, a tracking and analysis conversion circuit, an MCU module and a power supply module, and analyze and correct the collected signals through the MCU module and directly connect them to the The position sampling interface of the servo system simplifies the user's operation process.
It greatly improves the reliability and accuracy of angle measurement, reduces measurement costs and labor costs, reduces the amount of software code and operation workload, and improves the technical indicators and reliability of the servo system.
Smart Images

Figure CN118999635A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of control technology and relates to a decoding module of a rotary transformer for Angle measurement, in particular, relates to a decoding circuit and method of a rotary transformer. Background Art
[0002] Currently, there are many manufacturers of resolvers, their products are mature and there are many models. However, there are no ready-made modules for the angle decoding circuit between the resolver and the microcontroller. Users have to select several different chips to combine them, which requires programming, debugging, zeroing, error correction and other tasks. This creates certain technical barriers and brings considerable technical difficulty and workload to users of resolvers. Summary of the invention
[0003] The purpose of the present invention is to provide a resolver decoding circuit and method so as to directly connect the resolver and the position sampling interface of the servo system, so that users using the resolver can easily participate in the research of the servo system, saving research time and cost. At the same time, it can reduce the amount of software code and operating workload of the single-chip microcomputer in the servo system, reduce the operating time, and be beneficial to improve the technical indicators of the servo system and improve the reliability of the servo system.
[0004] The object of the present invention is achieved in this way. A rotary transformer decoding circuit is designed, which is characterized in that it includes: a coarse channel rotary transformer circuit, a fine channel rotary transformer circuit, a tracking and analyzing conversion circuit, an MCU module and a power supply module integrated on a circuit board, the signal output ends of the coarse channel rotary transformer circuit and the fine channel rotary transformer circuit are respectively electrically connected to the input end of the tracking and analyzing conversion circuit, the output end of the tracking and analyzing converter circuit is electrically connected to the MCU module interface, and the MCU module performs signal acquisition on the coarse channel rotary transformer circuit and the fine channel rotary transformer circuit analyzed by the tracking and analyzing converter circuit; the power supply module provides the power required for work to the coarse channel rotary transformer circuit, the fine channel rotary transformer circuit, the tracking and analyzing conversion circuit, and the power supply end of the MCU module.
[0005] The MCU module includes an MCU unit and a bus interface unit. The bus interface unit is electrically connected to the output end of the tracking and analyzing conversion circuit, and generates an output signal at the same time, which is provided to the user interface. The MCU module is used to receive the angle signal, calculate the angle signal, analyze the signal, and output it to the actuator through the bus interface unit. The MCU unit collects the coarse channel angle output and the fine channel angle output after the tracking and analyzing converter analyzes the signal, obtains the accurate angle through zero position correction, combination and error correction, and outputs it to the actuator through the bus interface unit.
[0006] The power supply module includes a DC / DC power supply unit with a DC input of 24V / 1A, a DC / AC unit with a 26V 1A, 400Hz sine wave output, and a DC / DC unit with a 12V 1A output; the DC / AC unit with a 26V 1A, 400Hz sine wave output is provided to the power supply ends of the coarse channel rotary transformer circuit and the fine channel rotary transformer circuit as the working voltage of the coarse channel rotary transformer circuit and the fine channel rotary transformer circuit.
[0007] The coarse channel rotary transformer and the fine channel rotary transformer respectively output angle excitation signals, which are transmitted to the tracking and analytical converter.
[0008] The tracking and analyzing converter collects the angular output of the coarse channel rotary transformer and completes the A / D conversion of the coarse channel angular output; the tracking and analyzing converter collects the angular output of the fine channel rotary transformer and completes the A / D conversion of the fine channel angular output. Compared with the prior art, the present invention has the following interesting technical effects: The original angle data is collected by directly connecting the tracking and analyzing converter to the coarse channel rotary transformer and the fine channel rotary transformer. The tracking and analyzing converter transmits the original data to the MCU module. The MCU module performs zeroing and error correction on the original data and outputs it to the actuator through the bus.
[0009] The rotary transformer decoding circuit greatly enhances the reliability and accuracy of angle measurement, reduces measurement costs and labor costs, and improves the accuracy of actuator movement. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] Figure 1 It is a connection schematic diagram of the present invention; Figure 2 This is the connection diagram of the MCU module; Figure 3 This is a connection diagram of the power module; Figure 4 It is the circuit diagram of the MCU unit; Figure 5 The schematic diagram of the bus unit circuit.
[0011] In the figure: 01, coarse channel rotary transformer circuit; 02, fine channel rotary transformer circuit; 03, tracking analysis conversion circuit; 04, MCU module; 05, power module; 004, MCU unit; 005, bus interface unit. DETAILED DESCRIPTION
[0012] The present invention is further described in detail below in conjunction with the accompanying drawings, which are intended to explain the present invention rather than to limit it.
[0013] like Figure 1As shown, the present invention relates to a decoding circuit and method of a rotary transformer, which is characterized in that: it includes: a coarse channel rotary transformer circuit 01, a fine channel rotary transformer circuit 02, a tracking and analyzing conversion circuit 03, an MCU module 04 and a power supply module 05 are integrated on a circuit board, the signal output ends of the coarse channel rotary transformer circuit 01 and the fine channel rotary transformer circuit 02 are respectively electrically connected to the input end of the tracking and analyzing conversion circuit 03, the output end of the tracking and analyzing converter circuit is electrically connected to the interface of the MCU module 04, and the MCU module 04 collects signals of the coarse channel rotary transformer circuit 01 and the fine channel rotary transformer circuit 02 analyzed by the tracking and analyzing converter circuit; the power supply module 05 provides the power required for work to the coarse channel rotary transformer circuit 01, the fine channel rotary transformer circuit 02, the tracking and analyzing conversion circuit 03, and the power supply end of the MCU module 04.
[0014] like Figure 1 As shown, the present invention relates to a decoding circuit and method of a rotary transformer, which is characterized by comprising: a coarse channel rotary transformer circuit 01, a fine channel rotary transformer circuit 02, a tracking and analyzing conversion circuit 03, an MCU module 04 and a power supply module 05, wherein the signal output ends of the coarse channel rotary transformer circuit 01 and the fine channel rotary transformer circuit 02 are respectively electrically connected to the input end of the tracking and analyzing conversion circuit 03, and the output end of the tracking and analyzing converter circuit is electrically connected to the interface of the MCU module 04, and the MCU module 04 performs signal acquisition on the coarse channel rotary transformer circuit 01 and the fine channel rotary transformer circuit 02 analyzed by the tracking and analyzing converter circuit; and the power supply module 05 provides the power required for work to the coarse channel rotary transformer circuit 01, the fine channel rotary transformer circuit 02, the tracking and analyzing conversion circuit 03 and the power supply end of the MCU module 04.
[0015] like Figure 2 As shown, the MCU module 04 includes an MCU unit 004 and a bus interface unit 005. The MCU unit 004 is electrically connected to the bus interface unit 005 via an IO interface. The bus interface unit 005 is electrically connected to the output end of the tracking and analysis conversion circuit 03 on the one hand, and generates an output signal at the same time to provide it to the user interface.
[0016] like Figure 3 As shown, the power supply module 05 includes a DC / DC power supply unit with a DC input of 24V / 1A, a DC / AC unit with a sine wave output of 26V1A, and a DC / DC unit with a sine wave output of 12V 1A; the DC / AC unit with a sine wave output of 26V 1A, and a sine wave output of 400Hz is provided to the power supply ends of the coarse channel rotary transformer circuit 01 and the fine channel rotary transformer circuit 02 as the working voltages of the coarse channel rotary transformer circuit 01 and the fine channel rotary transformer circuit 02.
[0017] The MCU module 04 is used to receive the angle signal, calculate the angle signal, analyze the signal, and output it to the actuator through the bus interface unit 005; The coarse channel rotary transformer 01 and the fine channel rotary transformer 02 respectively output angle excitation signals, which are transmitted to the tracking and analysis converter 03.
[0018] The tracking and analyzing converter 03 collects the angle output of the coarse channel rotary transformer 01 and completes the A / D conversion of the coarse channel angle output; The tracking and analyzing converter 03 collects the angle output of the precision channel rotary transformer 02 and completes the A / D conversion of the precision channel angle output; MCU unit 004 collects the coarse channel angle output and fine channel angle output after tracking and analysis by the analysis converter, obtains accurate angle through zero position correction, combination and error correction, and outputs to the actuator through bus interface unit 005.
[0019] In summary, the rotary transformer decoding circuit of the present invention directly connects to the coarse and fine channel rotary transformers by utilizing a tracking and analyzing converter, collects angle signals, analyzes angle signals, transmits them to the MCU module, performs zero-position correction, combination, and error correction, and obtains accurate angle quantities; and outputs them to the actuator through the bus.
[0020] The invention greatly enhances the accuracy and reliability of angle measurement, improves the efficiency of angle calibration of actuators, and effectively improves the precision of actuators.
[0021] Tracking and resolution converter 03 uses ADI's AD2S83 chip, with optional 10 / 12 / 14 / 16-bit resolution, high tracking rate, receiving the coarse and fine channel resolver angle values, and outputting the coarse and fine channel resolver angle values according to the set resolution.
[0022] like Figure 4 and Figure 5 As shown, the MCU unit 004 uses the STC32G12K128 chip of STCmicro, which is connected to the tracking and resolving converter 03 to collect the resolved coarse and fine channel resolver angle values and transmit them to the actuator through the bus.
[0023] The power supply unit 001 uses a universal AC / DC module LM50-23B24R2, which is connected to the DC / AC unit 002 and the DC / DC unit 003 to provide working voltage for each unit.
[0024] The package of the resolver decoding circuit is 100mm*50mm*10mm, 20 pins, including: signal input: coarse channel signal, fine channel signal, 26v400hz sine; the power input uses +24v DC, the signal output format is: UART, RS485, CAN format, giving the position value.
[0025] The power module 05 includes a DC / AC power module, which converts the input: 18~32v DC voltage into output: 26v 1A, 400Hz sine wave. The power module 05 occupies 4 pins. The input and output of the power module 05 are isolated. The power module 05 includes a DC / DC power module, which converts the input: 18~32V DC voltage into an output: 5V 2A DC voltage. The DC / DC power module uses isolation between input and output and occupies 4 pins.
[0026] The working principle of the resolver decoding circuit is: when the system is powered, the 400Hz power supply is added to the exciting winding of the resolver, and two sets of 400Hz sinusoidal voltages are output on the output winding. The amplitude of the two output voltages is related to the angle of the resolver rotor: the angle expression is as follows: y1=k1*v1*sin(γ); y2=k1*v1*cos(γ); y3=k2*v1*sin(θ); y4=k2*v1*cos(θ); In the formula: γ is the rotor position of the coarse rotary transformer; θ is the rotor position of the fine rotary transformer; k1 is the transformation ratio of the coarse rotary transformer; k2 is the transformation ratio of the fine rotary transformer; v1 is the 400 Hz power supply voltage; through the U1 integrated circuit AD2S83, the output quantities y1 and y2 of the coarse rotary transformer are read, and the angle of the coarse channel γ angle can be calculated.
[0027] By reading the outputs y3 and y4 of the precision rotary transformer through the U2 integrated circuit AD2S83, the angle of the precision channel θ can be calculated.
[0028] MCU unit 004 adopts 51 single-chip microcomputer, which collects the angle value of γ angle and θ angle output by U1 and U2, and then through 0-bit correction, combination and error correction, it can get the angular position of the entire rotary transformer group, and then output it through the interface.
[0029] The MCU unit 004 software is loaded and upgraded through the UART port, and system diagnosis can be performed.
[0030] The MCU unit 004 software downloads configuration parameters through the UART port. Through different configuration parameters, the system matches different resolvers and completes the use of different data output protocol formats and user docking.
[0031] The shell of the invention is divided into a base and a top cover. The base and the top cover are made of brass material. The base is formed by a milling machine and pins are welded with glass. The top cover is made of a 0.5 mm brass plate and is formed by laser.
[0032] Place the circuit board into the base of the shell, fix it firmly with red glue, and then use silver wire with a diameter of 0.1mm to connect the pins on the circuit board and the pins on the shell.
[0033] Pour in sealant, cover the top cover, and weld the top cover and the bottom shell with laser.
[0034] The top surface of the shell is ground and polished, the outside is nickel-plated, and laser engraved.
[0035] The resolver decoding circuit uses: 2 AD2S83 bare chips, 1 STC32G12K128 bare chip, a SIT3051 bare chip, a SP485 bare chip, an active crystal, 4 BAT54S diodes, about 20 0210 packaged chip capacitors, about 4 0805 packaged chip capacitors, about 20 0210 packaged chip resistors, and about 4 0805 packaged chip inductors. The above components are placed on a printed circuit board with a ceramic substrate and connected with 0.02mm diameter silver wire to make a circuit board.
[0036] Since the resolver decoding circuit of the present invention has a highly modular design, users can easily configure and expand it according to actual needs.
[0037] First, the present invention is not limited to a specific model or specification for the selection of the coarse channel rotary transformer and the fine channel rotary transformer. The user can select a suitable rotary transformer according to the accuracy requirements, measurement range, cost budget and other factors of the servo system. This flexibility allows the present invention to adapt to various application scenarios, whether it is high-precision measurement or low-cost solution.
[0038] Secondly, the MCU module is the core control part of the present invention, and its programmability and customizability provide users with a wide range of operating space. Users can write or modify the control algorithm according to actual needs to meet specific control requirements. For example, users can add additional data processing functions, such as filtering, smoothing, etc., to improve the accuracy and stability of angle measurement.
[0039] In addition, the design of the power module also fully considers the user's convenience and safety. Using a universal AC / DC module as the power supply unit, users can easily access various power supply environments without worrying about power supply adaptation issues. At the same time, the power module also has overvoltage, overcurrent and other protection functions to ensure the stable operation of the system.
[0040] Finally, the present invention also provides a rich interface and expansion function. Through the bus interface unit, the user can connect the decoding circuit with various actuators, sensors and other peripherals to achieve data transmission and control. In addition, the present invention also supports a variety of communication protocols and interface standards, such as CAN, RS485, etc., which is convenient for users to communicate with the host computer or other control systems.
[0041] In summary, the resolver decoding circuit of the present invention not only has high reliability and accuracy, but also has strong scalability and flexibility. Users can configure and expand it according to actual needs and easily cope with various application scenarios.
[0042] The above embodiments are preferred examples for implementing the present invention, and the present invention is not limited to the above embodiments. Any non-essential additions and substitutions made by those skilled in the art based on the technical features of the technical solution of the present invention shall fall within the protection scope of the present invention.
Claims
1. A decoding circuit of a rotary transformer, characterized in that: include: A coarse channel rotary transformer circuit (01), a fine channel rotary transformer circuit (02), a tracking and analyzing conversion circuit (03), an MCU module (04) and a power supply module (05) are integrated on a circuit board; the signal output ends of the coarse channel rotary transformer circuit (01) and the fine channel rotary transformer circuit (02) are respectively electrically connected to the input end of the tracking and analyzing conversion circuit (03); the output end of the tracking and analyzing converter circuit is electrically connected to the interface of the MCU module (04); the MCU module (04) collects signals of the coarse channel rotary transformer circuit (01) and the fine channel rotary transformer circuit (02) analyzed by the tracking and analyzing converter circuit; and the power supply module (05) provides power required for operation to the coarse channel rotary transformer circuit (01), the fine channel rotary transformer circuit (02), the tracking and analyzing conversion circuit (03) and the power supply end of the MCU module (04).
2. The decoding circuit of a rotary transformer according to claim 1, characterized in that: The MCU module (04) comprises an MCU unit and a bus interface unit. The bus interface unit is electrically connected to the output end of the tracking and analyzing conversion circuit (03) and generates an output signal to provide to a user interface. The MCU module (04) is used to receive an angle signal, calculate the angle signal, analyze the signal, and output it to an actuator through the bus interface unit (005). The MCU unit (004) collects the coarse channel angle output and the fine channel angle output after analysis by the tracking and analyzing converter, obtains a precise angle through zero position correction, combination, and error correction, and outputs it to the actuator through the bus interface unit (005).
3. The decoding circuit of a rotary transformer according to claim 1, characterized in that: The power supply module (05) comprises a DC / DC power supply unit with a 24V / 1A input DC, a 26V 1A, 400Hz sine wave output DC / AC unit, and a 12V 1A output DC / AC unit; the 26V 1A, 400Hz sine wave output DC / AC unit is provided to the power supply end of the coarse channel rotary transformer circuit (01) and the fine channel rotary transformer circuit (02) as the working voltage of the coarse channel rotary transformer circuit (01) and the fine channel rotary transformer circuit (02).
4. The decoding circuit of a rotary transformer according to claim 1, characterized in that: The coarse channel rotary transformer (01) and the fine channel rotary transformer (02) respectively output angle excitation signals, which are transmitted to the tracking and analytical converter (03).
5. The decoding circuit of a rotary transformer according to claim 1, characterized in that: The tracking and analyzing converter (03) collects the angular output of the coarse channel rotary transformer (01) and completes A / D conversion of the coarse channel angular output; the tracking and analyzing converter (03) collects the angular output of the fine channel rotary transformer (02) and completes A / D conversion of the fine channel angular output.
6. The decoding circuit of a rotary transformer according to claim 1, characterized in that: The tracking and resolution converter (03) uses ADI's AD2S83 chip, with optional 10 / 12 / 14 / 16-bit resolution and high tracking rate. It receives the coarse and fine channel resolver angle values and outputs the coarse and fine channel resolver angle values according to the set resolution.
7. The decoding circuit of a rotary transformer according to claim 1, characterized in that: MCU The unit (004) uses the STC32G12K128 chip of STCmicro, is connected to the tracking and resolving converter (03), collects the resolved coarse and fine channel resolver angle values, and transmits them to the actuator through the bus.
8. The decoding circuit of a rotary transformer according to claim 1, characterized in that: The power module (05) uses a universal AC / DC module LM50-23B24R2, which is connected to the DC / AC unit (002) and the DC / DC unit (003) to provide operating voltage for each unit.
9. The decoding circuit of a rotary transformer according to claim 1, characterized in that: A circuit board includes: 2 AD2S83 bare chips, 1 STC32G12K128 bare chip, a SIT3051 bare chip, a SP485 bare chip, an active crystal, 4 BAT54S diodes, about 20 0210 packaged chip capacitors, about 4 0805 packaged chip capacitors, about 20 0210 packaged chip resistors, and about 4 0805 packaged chip inductors. The above devices are placed on a printed circuit board with a ceramic substrate and connected with silver wire with a diameter of 0.02mm to make a circuit board.
10. A decoding circuit method for a rotary transformer, characterized in that: include: The coarse channel rotary transformer circuit (01), the fine channel rotary transformer circuit (02), the tracking analysis conversion circuit (03), the MCU module (04) and the power module (05) are integrated on a circuit board; when the system is powered, the 400 Hz power supply is applied to the exciting winding of the rotary transformer, and two groups of 400 Hz sinusoidal voltages are output on the output winding. The amplitude of the two output voltages is related to the angle of the rotary transformer rotor: the angle expression is as follows: y1=k1*v1*sin(γ); y2=k1*v1*cos(γ); y3=k2*v1*sin(θ); y4=k2*v1*cos(θ); Where: γ is the rotor position of the coarse resolver; θ is the rotor position of the fine resolver; k1 is the transformation ratio of the coarse resolver; k2 is the ratio of the fine rotary transformer; v1 is the 400 Hz power supply voltage; by reading the outputs y1 and y2 of the coarse rotary transformer through the U1 integrated circuit AD2S83, the angle of the coarse channel γ can be calculated; By reading the outputs y3 and y4 of the precision rotary transformer through the U2 integrated circuit AD2S83, the angle of the precision channel θ can be calculated.
