Sine and cosine angle simulation system
Through the sine cosine angle simulation system, the angular signal simulation method is used to generate angle signals, which solves the problems of large size, high cost and angle error of the existing synchronous machine/solver, and achieves low-cost and stable angle output.
Patent Information
- Application Number
- CN202510111006.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-23
- Publication Date
- 2025-05-16
AI Technical Summary
The existing synchronous machines/solvers have problems such as large size, high cost, complex structure, and angular errors caused by phase movement during transmission and analysis.
A cosine angle simulation system is adopted, which includes a control unit, a signal simulation unit, a power supply unit and an angle measurement module. Through the sine cosine signal simulation method, a sine cosine signal is generated and sent to the angle measurement module through the signal simulation unit to avoid phase movement and reduce production costs.
The production cost of angle simulation is low, the angle output is stable, and the phase movement and angle error problems in the transformer design are avoided.
Smart Images

Figure CN120014916A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of signal simulation, and in particular to a sine-cosine angle simulation system. Background Art
[0002] At present, the attitude of aircraft and ships is expressed in the form of angle signals such as tilt, pitch, azimuth, and heading. After the sensors detect the angle signals, they send them out through the synchronous machine / resolver, and the receiver also uses the synchronous machine / resolver to resolve the angle. The traditional synchronous machine / resolver consists of a stator and a rotor, which is a rotating transformer. Its working principle is exactly the same as that of an ordinary transformer. Its stator winding is equivalent to the primary coil (excitation coil) of the transformer, and the rotor winding is equivalent to the secondary coil of an ordinary transformer. Through the completely consistent wiring method between the sender and the receiver, the sender's angle signal can be expressed completely consistently on the receiver, completing the transmission and analysis of angle signals such as tilt, pitch, azimuth, and heading.
[0003] The above method has several disadvantages: a. The sender and receiver must be synchronizers or resolvers, and the wiring method must be consistent.
[0004] b. Designed to send or receive via a transformer, the overall size is relatively large.
[0005] c. When sending or receiving in the form of a transformer, there is phase shift in the transmission process, which will cause angle error.
[0006] d. Traditional synchronous machines / resolvers have high production costs and complex structures, and are prone to damage. Summary of the invention
[0007] The purpose of the present invention is to overcome the deficiencies of the prior art and provide a sine-cosine angle simulation system.
[0008] The object of the present invention is achieved through the following technical solutions: A sine-cosine angle simulation system comprises a control unit, the control unit is connected to a signal simulation unit, the signal simulation unit is connected to a power supply unit and an angle measurement module; When the control unit receives the excitation signal, it simulates the sine and cosine signals using the sine and cosine signal simulation method and then sends them to the angle measurement module through the signal simulation unit.
[0009] Preferably, it also includes an excitation source and a photoelectric isolation unit, the excitation source is connected to the photoelectric isolation unit, and the photoelectric isolation unit is connected to the control unit; when the output signal of the excitation source passes through the photoelectric isolation unit and is input into the control unit, the control unit obtains the excitation signal by interrupt capture; the sine-cosine signal simulation method includes the following steps: After receiving the excitation signal, the control unit selects the phase of the output signal and simulates the sine and cosine signals through sine and cosine functions or table lookup; by controlling the output value, the phase shift in the transmission process is controlled; The sine and cosine signals output by the control unit are output as voltage signals through two digital-to-analog conversion units, simulating sine and cosine signals respectively. The analog quantities are output after being filtered by low-pass filters for noise reduction. The signals output to the synchronous machine are multiplied by jumper resistors to output a voltage function that satisfies the following functional relationship: SV S1-S3 =KV RL-RH sin(ωt +α1)sinθ, SV S3-S2 =KV RL-RH sin(ωt +α2)sin(θ +120°), SV S2-S1 =KV RL-RH sin(ωt +α3)sin(θ + 240°), Among them, SV S1-S3 is the output voltage of S1 and S3 windings; SV S3-S2 is the output voltage of S3 and S2 windings; SV S2-S1 is the output voltage of S2 and S1 windings; K is the proportionality coefficient; V RL-RH is the input voltage of the excitation winding; ω=2πf, f is the excitation signal frequency; θ is the rotor angle relative to the initial state; α1, α2, α3 represent the phase difference between the output signal of each stator winding and the excitation; t is the signal period; After the sine and cosine signals pass through the jumper resistor, the output signal is directly expanded and loaded, and the output voltage function satisfies the following functional relationship: RV S1-S3 = KV RL-RH sin(ωt +α x )sinθ, RV S4-S2 = KV RL-RH sin(ωt +α y )cosθ, Among them, RV S1-S3 is the sinusoidal winding output voltage; V S4-S2 is the cosine winding output voltage; V RL-RH is the excitation winding input voltage; α x and α y Represents the phase shift between the output signals of the two windings.
[0010] Preferably, the low-pass filter is a Butterworth low-pass filter.
[0011] Preferably, the power supply unit outputs different voltages through a power adapter and converts them into target voltages through a power conversion module; an overcurrent protection module is provided at the input end of the power supply unit.
[0012] Preferably, the angle measurement module is a synchronizer or a resolver.
[0013] The beneficial effects of the present invention are: 1) The signal simulation unit and the sine and cosine signal simulation method of the present invention are used for angle simulation, which has low production cost and stable angle output. At the same time, it can also avoid the design of transmission by transformer mode, correct the phase shift in the transmission process, and avoid the angle error. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] Figure 1 This is the principle block diagram of the sine and cosine angle simulation system; Figure 2 It is a schematic diagram of the signal transmission process of the sine and cosine signal simulation method; Figure 3 This is the schematic diagram of the +15VDC, -15VDC, +5VDC power conversion module; Figure 4 This is the schematic diagram of the +3.3VDC power conversion module; Figure 5 This is the circuit schematic diagram of the control unit; Figure 6 This is the schematic diagram of the RS485 interface circuit; Figure 7 It is a schematic diagram of the synchronous machine structure and output AC waveform; Figure 8 Schematic diagram of the solver structure and output voltage; Fig. 9 This is the schematic diagram of the signal simulation unit circuit. DETAILED DESCRIPTION
[0015] The technical solution of the present invention will be clearly and completely described below in conjunction with the embodiments. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0016] See also Figure 1-Figure 9 , the present invention provides a technical solution: a sine-cosine angle simulation system, comprising a control unit, the control unit is connected to a signal simulation unit, the signal simulation unit is connected to a power supply unit and an angle measurement module; When the control unit receives the excitation signal, it simulates the sine and cosine signals using the sine and cosine signal simulation method and then sends them to the angle measurement module through the signal simulation unit.
[0017] In this embodiment, if Figure 1 As shown, the sine-cosine angle simulation system uses a working power supply of 18VDC to 36VDC. Communication interface: RS485 serial port, baud rate: 115200, no check bit, stop bit: 1. Excitation reference input range: 0 to 115V. Used to generate 16V or 11.8V synchronous machine signals, resolver signals, module internal circuits and working power supply, RS485 interface is electrically isolated.
[0018] Power supply unit design: The power supply unit is mainly used to achieve unified management of the power supply of the system. The device outputs the required +15V, -15V, +5V, and +3.3V through a DC-DC power adapter. For power protection design, a 2A recoverable fuse is designed at the input end of the power supply to achieve overcurrent protection; for +15VDC, -15VDC, and +5VDC power supplies, a standard voltage regulator module is used for voltage conversion. By inputting a wide range of 18V to 36VDC power, the output power is continuous, stable, and reliable after voltage reduction conversion and filtering, which fully meets the design requirements. Its conversion circuit Figure 3 As shown in the figure, for +3.3VDC DC power supply, AMS1117 power chip is used to convert +5VDC power supply into +3.3VDC. The schematic diagram is as follows Figure 4 shown.
[0019] Control unit: realizes the control and management of the whole system, realizes the excitation acquisition, sine and cosine waveform generation, timing, information output and test logic control, etc. In order to ensure that the comprehensive detector has stable signal processing capabilities, the microcontroller uses a 32-bit high-performance ARM Cortex-M3 series MCU as the core controller, and its model is STM32F103RE. This controller has rich peripheral resources and stable and high-speed signal processing capabilities, which meets the requirements of the comprehensive detector to achieve high-speed, multi-channel signal acquisition and output. Its schematic diagram is as follows Figure 5 As shown; the communication between the control unit and the resistance detection unit adopts RS485 communication interface, and the RS485 communication interface chip adopts ADM2483, which has a maximum communication rate of 500kbps and allows up to 256 transceivers to be installed on the bus. It has an isolation circuit. The schematic diagram of the RS485 communication interface circuit is shown in Figure 6 shown.
[0020] The schematic diagram of the signal simulation unit circuit is as follows: Fig. 9As shown, the signal measurement unit mainly completes the simulation of the synchronous machine / resolver angle signal by analyzing and organizing the synchronous machine and the resolver. The synchronous machine (Synchro), also called the self-synchronous machine, consists of a stator and a rotor. The stator winding is generally a three-phase distributed winding. They are spaced 120° apart from each other and connected in a star shape. The rotor winding is the excitation winding, which generates excitation. A three-phase AC signal with uniform phase distribution is generated on the three-phase winding of the stator. Their carrier frequency is exactly the same as the excitation, and the signal amplitude is related to the shaft angle position of the synchronous machine. The structure of the synchronous machine and the output AC waveform are shown in the figure. Figure 7 The input and output relationship is as follows: SV S1-S3 =KV RL-RH sin(ωt +α1)sinθ ① SV S3-S2 =KV RL-RH sin(ωt +α2)sin(θ +120°) ② SV S2-S1 =KV RL-RH sin(ωt +α3)sin(θ + 240°) ③ Where SV S1-S3 ——S1 and S3 winding output voltage; SV S3-S2 ——S3 and S2 winding output voltage; SV S2-S1 ——S2 and S1 winding output voltage; K ——Proportional coefficient; V RL- RH ——Input voltage of the excitation winding; ω——ω=2πf, f is the excitation signal frequency; θ——Rotor angle relative to the initial state (°); α1, α2 and α3——Represent the phase difference between the output signal of each stator winding and the excitation, which is generally very small and can be approximately equal to zero. From equations ①, ② and ③, we can get: SV S3-S2 =KV RL-RH sin(ωt +α2)sin(θ +120°)= KV RL-RH sin(ωt +α2)(- sinθ-- ) SV S2-S1 =KV RL-RH sin(ωt +α3)sin(θ + 240°)= KV RL-RH sin(ωt +α3)(- sinθ+- ) Since α1≈α2≈α3=0 SV S1-S3 =KV RL-RH sinωtsinθ SV S3-S2 -SV S2-S1 = V RL-RH sinωtcosθ = ==>θ=tan -1 .
[0021] A resolver, also called a rotary transformer, consists of two parts: a stator and a rotor. It is a rotating transformer. Its working principle is exactly the same as that of an ordinary transformer. Its stator winding is equivalent to the primary coil (excitation coil) of the transformer, and the rotor winding is equivalent to the secondary coil of an ordinary transformer. Figure 8 In the figure, R2 and R4 are usually short-circuited.
[0022] The output functions of the two rotor windings are: RV S1-S3 = KV RL-RH sin(ωt +α x )sinθ ① RV S4-S2 = KV RL-RH sin(ωt +α y )cosθ ② Where V S1-S3 ——Sinusoidal winding output voltage; V S4-S2 ——cosine winding output voltage; K —— proportionality coefficient; V RL-RH ——Input voltage of the exciting winding; ω——ω=2πf, f is the frequency of the excitation signal; θ——rotor angle relative to the initial state; α x and α y ——Represents the phase shift of the output signals of the two windings, which is generally very small and can be approximated to zero.
[0023] From formula ① and formula ②, we can get: = ==>θ= .
[0024] In summary: no matter it is a synchronous machine or a resolver, the final angle can be expressed in the form of sine and cosine, and the angle can be expressed by the inverse tangent function. When simulating the synchronous machine and the resolver, the simulation of the synchronous machine and the resolver can be completed by simulating the corresponding sine and cosine signals according to the excitation signal.
[0025] In some embodiments, the method further includes an excitation source and a photoelectric isolation unit, wherein the excitation source is connected to the photoelectric isolation unit, and the photoelectric isolation unit is connected to the control unit; when the output signal of the excitation source passes through the photoelectric isolation unit and is input to the control unit, the control unit obtains the excitation signal by interrupt capture; the sine-cosine signal simulation method includes the following steps: After receiving the excitation signal, the control unit selects the phase of the output signal and simulates the sine and cosine signals through sine and cosine functions or table lookup; by controlling the output value, the phase shift in the transmission process is controlled; The sine and cosine signals output by the control unit are output as voltage signals through two digital-to-analog conversion units, simulating sine and cosine signals respectively. The analog quantities are output after being filtered by low-pass filters for noise reduction. The signals output to the synchronous machine are multiplied by jumper resistors to output a voltage function that satisfies the following functional relationship: SV S1-S3 =KV RL-RH sin(ωt +α1)sinθ, SV S3-S2 =KV RL-RH sin(ωt +α2)sin(θ +120°), SV S2-S1 =KV RL-RH sin(ωt +α3)sin(θ + 240°), Among them, SV S1-S3 is the output voltage of S1 and S3 windings; SV S3-S2 is the output voltage of S3 and S2 windings; SV S2-S1 is the output voltage of S2 and S1 windings; K is the proportionality coefficient; V RL-RH is the input voltage of the excitation winding; ω=2πf, f is the excitation signal frequency; θ is the rotor angle relative to the initial state; α1, α2, α3 represent the phase difference between the output signal of each stator winding and the excitation; t is the signal period; After the sine and cosine signals pass through the jumper resistor, the output signal is directly expanded and loaded, and the output voltage function satisfies the following functional relationship: RV S1-S3 = KV RL-RH sin(ωt +α x )sinθ, RV S4-S2 = KV RL-RH sin(ωt +α y )cosθ, Among them, RV S1-S3 is the sinusoidal winding output voltage; RV S4-S2 is the cosine winding output voltage; VRL-RH is the excitation winding input voltage; α x and α y Represents the phase shift between the output signals of the two windings.
[0026] In this embodiment, if Figure 2 As shown in the figure, after the excitation source is isolated by photoelectricity, the control unit captures the reference excitation signal through interruption, selects the output signal phase, simulates the sine and cosine signals through sine and cosine functions or table lookup, and controls the phase shift in the output transmission process by controlling the output value to avoid the generation of angle errors. The sine and cosine output of the MCU are output through two 16-bit high-precision AD5761RARUZ chips to output voltage signals. The signals simulate sinθ and √3 / 2cosθ respectively. The analog quantity is output after noise reduction filtering through the Butterworth low-pass cutoff frequency of 3.7KHz.
[0027] In some embodiments, the low-pass filter is a Butterworth low-pass filter.
[0028] In some embodiments, the power supply unit outputs different voltages through a power adapter and converts them into target voltages through a power conversion module; an overcurrent protection module is provided at the input end of the power supply unit.
[0029] In some embodiments, the angle measurement module is a synchro or a resolver.
[0030] The above is only a preferred embodiment of the present invention. It should be understood that the present invention is not limited to the form disclosed herein, and should not be regarded as excluding other embodiments, but can be used in various other combinations, modifications and environments, and can be modified within the scope of the concept described herein through the above teachings or the technology or knowledge of the relevant field. The changes and modifications made by those skilled in the art shall not deviate from the spirit and scope of the present invention, and shall be within the scope of protection of the claims attached to the present invention.
Claims
1. A sine-cosine angle simulation system, characterized in that: It includes a control unit, the control unit is connected to the signal simulation unit, and the signal simulation unit is connected to the power supply unit and the angle measurement module; When the control unit receives the excitation signal, it simulates the sine and cosine signals using the sine and cosine signal simulation method and then sends them to the angle measurement module through the signal simulation unit.
2. The sine-cosine angle simulation system according to claim 1, characterized in that: It also includes an excitation source and a photoelectric isolation unit, wherein the excitation source is connected to the photoelectric isolation unit, and the photoelectric isolation unit is connected to the control unit; when the output signal of the excitation source passes through the photoelectric isolation unit and is input into the control unit, the control unit obtains the excitation signal by interrupt capture; the sine-cosine signal simulation method includes the following steps: After receiving the excitation signal, the control unit selects the phase of the output signal and simulates the sine and cosine signals through sine and cosine functions or table lookup; by controlling the output value, the phase shift in the transmission process is controlled; The sine and cosine signals output by the control unit are output as voltage signals through two digital-to-analog conversion units, simulating sine and cosine signals respectively. The analog quantities are output after being filtered by low-pass filters for noise reduction. The signals output to the synchronous machine are multiplied by jumper resistors to output a voltage function that satisfies the following functional relationship: SV S1-S3 =KV RL-RHsin (ωt +α1)sinθ, SV S3-S2 =KV RL-RHsin (ωt +α2)sin(θ +120°), SV S2-S1 =KV RL-RHsin (ωt +α3)sin(θ + 240°), Among them, SV S1-S3 is the output voltage of S1 and S3 windings; SV S3-S2 is the output voltage of S3 and S2 windings; SV S2-S1 is the output voltage of S2 and S1 windings; K is the proportionality coefficient; V RL-RH is the input voltage of the excitation winding; ω=2πf, f is the excitation signal frequency; θ is the rotor angle relative to the initial state; α1, α2, α3 represent the phase difference between the output signal of each stator winding and the excitation; t is the signal period; After the sine and cosine signals pass through the jumper resistor, the output signal is directly expanded and loaded, and the output voltage function satisfies the following functional relationship: RV S1-S3 = KV RL-RHsin (ωt +α x )sinθ, RV S4-S2 = KV RL-RHsin (ωt +α y )cosθ, Among them, RV S1-S3 is the sinusoidal winding output voltage; RV S4-S2 is the cosine winding output voltage; V RL-RH is the excitation winding input voltage; α x and α y Represents the phase shift between the output signals of the two windings.
3. The sine-cosine angle simulation system according to claim 2, characterized in that: The low-pass filter is a Butterworth low-pass filter.
4. The sine-cosine angle simulation system according to claim 1, characterized in that: The power supply unit outputs different voltages through a power adapter and converts them into target voltages through a power conversion module; an overcurrent protection module is provided at the input end of the power supply unit.
5. The sine-cosine angle simulation system according to any one of claims 1 to 4, characterized in that: The angle measurement module is a synchronizer or a resolver.