Simulation system of multi-channel rotary transformer

By using a multi-channel rotary transformer simulation system, high-fidelity signals are generated through a main control computing unit and a field-programmable gate array, solving the problems of high cost and poor flexibility in rotary transformer testing, and achieving efficient and flexible testing.

CN121877079APending Publication Date: 2026-04-17XIAN ACTIONPOWER ELECTRIC
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-11-27
Publication Date
2026-04-17

AI Technical Summary

Technical Problem

Existing rotary transformer testing relies on physical test benches, resulting in high costs, sensor wear and tear, and poor testing flexibility.

Method used

A simulation system for a multi-channel resolver is provided, including a main control computing unit, a field-programmable gate array, and multiple resolver channels. It generates high-fidelity sine and cosine signals through software definition, replacing the easily worn physical resolver sensors and complex test benches.

Benefits of technology

It eliminates mechanical wear and bench maintenance costs, greatly improves testing efficiency and flexibility, and enables accurate reproduction of high-fidelity rotary transformers under various operating conditions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121877079A_ABST
    Figure CN121877079A_ABST
Patent Text Reader

Abstract

The invention provides a simulation system of a multi-channel rotary transformer, and relates to the technical field of rotary transformer signal simulation, the simulation system comprises a main control calculation unit, a field programmable gate array and a plurality of rotary transformer channels, the main control calculation unit receives rotary transformer parameters and sends the parameters to the field programmable gate array, and the field programmable gate array sends the parameters to the multi-channel rotary transformer channels; the resolver channels send collected excitation signals to the field programmable gate array, the field programmable gate array comprises a plurality of motor models and a plurality of resolver calculation modules, the motor models and the resolver calculation modules are in one-to-one correspondence with the resolver channels, the motor models generate rotating speed phase signals of a simulation motor corresponding to resolver parameters, and the rotating speed phase signals of the simulation motor correspond to the resolver parameters. The resolver calculation module generates a sinusoidal signal and a cosine signal according to the rotating speed phase signal and the excitation signal, and the resolver channel outputs the sinusoidal signal and the cosine signal; according to the invention, the field programmable gate array is used for replacing an easily-worn physical rotary transformer sensor and a complex rack, the output of a real rotary transformer under various working conditions is simulated, and the test efficiency and flexibility are greatly improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of resolver signal simulation technology, and more specifically, to a simulation system for a multi-channel resolver. Background Technology

[0002] In the field of new energy vehicles, the motor controller, as a core component, faces increasingly stringent requirements for performance and reliability. The motor controller is responsible for precisely controlling the motor's speed, torque, and position, while the resolver, as a critical position sensor, directly affects the motor's control performance through the accuracy of its signal acquisition and decoding. Therefore, accurate and reliable resolver testing of the motor controller is crucial during the development process.

[0003] Related technologies primarily rely on physical test benches containing actual motors, mechanical loads, and physical resolver sensors for resolver testing. This testing method has significant drawbacks: First, mechanical resolvers experience physical wear during continuous operation, leading to a shortened lifespan in long-term durability testing and requiring frequent replacement, thus increasing maintenance costs and the risk of test interruptions. Second, the purchase, construction, and maintenance costs of the entire physical test bench are extremely high. Furthermore, such testing systems occupy a large space, have cumbersome testing procedures, and struggle to achieve rapid switching and flexible reproduction of test conditions, nor can they efficiently conduct multi-station parallel testing, severely restricting development efficiency. Summary of the Invention

[0004] The problem solved by this invention is that existing resolver testing relies on physical test benches, which leads to high costs, easy sensor wear, and poor testing flexibility.

[0005] To address the above problems, this invention provides a simulation system for a multi-channel rotary transformer.

[0006] In a first aspect, the present invention provides a simulation system for a multi-channel resolver, comprising: a main control computing unit, a field-programmable gate array (FPGA), and multiple resolver channels, wherein the main control computing unit and the FPGA are communicatively connected. The main control computing unit is used to receive resolver parameters, process the resolver parameters, and send them to the field programmable gate array; the resolver parameters are the parameters of the rotary transformer used for simulation. The resolver channel is used to acquire excitation signals and send the excitation signals to the field-programmable gate array; The field-programmable gate array includes at least multiple motor models and multiple resolver calculation modules, and the motor models, resolver calculation modules and resolver channels correspond one-to-one. The motor model is used to generate a rotational speed phase signal corresponding to the resolver parameters based on the resolver parameters; The resolver calculation module is used to generate sine and cosine signals based on the speed phase signal generated by the corresponding motor model and the excitation signal collected by the corresponding resolver channel, and output them to the corresponding resolver channel. The resolver channel is also used to output the sine and cosine signals, which are used to simulate the output signals of the resolver.

[0007] Optionally, the field-programmable gate array further includes: multiple amplitude and frequency acquisition modules and multiple direct digital frequency synthesizers, wherein the amplitude and frequency acquisition modules, direct digital frequency synthesizers and resolver channels correspond one-to-one; The amplitude and frequency acquisition module is used to acquire the amplitude and frequency information of the excitation signal acquired by the corresponding resolver channel, and send the acquired amplitude and frequency information to the main control computing unit; the main control computing unit processes the amplitude and frequency information and sends it to the corresponding direct digital frequency synthesizer. The direct digital frequency synthesizer is used to generate a new excitation signal based on the amplitude information and frequency information, and output the new excitation signal to the corresponding resolver calculation module.

[0008] Optionally, the resolver channel includes: an analog-to-digital acquisition circuit, a digital-to-analog output circuit, and an operational amplifier circuit; The analog-to-digital acquisition circuit is used to acquire the excitation signal, convert the excitation signal into a digital signal, and output it to the field-programmable gate array. The digital-to-analog output circuit is used to receive the sine and cosine signals output by the field-programmable gate array, and convert the sine and cosine signals into analog signals before outputting them to the operational amplifier circuit; The operational amplifier circuit is used to output the sine and cosine signals.

[0009] Optionally, the main control computing unit is further configured to receive a first control instruction and send the first control instruction to the field programmable gate array; the first control instruction is used to indicate one resolver channel corresponding to the current resolver parameters.

[0010] Optionally, the simulation system for the rotary transformer further includes: multiple position sensor channels; The main control computing unit is also used to receive position sensing parameters, calculate the frequency information and duty cycle information of the PWM signal corresponding to the position sensing parameters, and send the frequency information and duty cycle information of the PWM signal to the field programmable gate array; the position sensing parameters are parameters of a simulated position sensor; The field-programmable gate array is also used to output a corresponding PWM signal to the position sensor channel according to the frequency information and duty cycle information of the PWM signal; The position sensor channel is used to output the PWM signal, which is used to simulate the output signal of the position sensor.

[0011] Optionally, the position sensing parameters include at least: frequency parameters, displacement distance, and total displacement distance; the calculation of the frequency information and duty cycle information of the PWM signal corresponding to the position sensing parameters includes: The frequency information of the PWM signal is obtained by dividing the fundamental frequency of the field-programmable gate array by the frequency parameter in the position sensing parameters. The duty cycle information of the PWM signal is obtained by multiplying the displacement distance by the frequency information of the PWM signal and then dividing by the total displacement distance.

[0012] Optionally, the main control computing unit is further configured to receive a second control instruction and send the second control instruction to the field programmable gate array; the second control instruction is used to indicate a position sensor channel corresponding to the current position sensing parameters.

[0013] Optionally, the main control computing unit is an ARM processor, and the field-programmable gate array includes an FMC interface; The field-programmable gate array (FMC) is connected to the ARM processor via the FMC interface.

[0014] Optionally, the main control computing unit is a motor simulator, and the field-programmable gate array includes a fiber optic interface; The field-programmable gate array is connected to the motor simulator via the fiber optic interface.

[0015] Optionally, the motor simulator is further configured to output photoelectric encoder parameters to the field-programmable gate array; the position sensing parameters are the parameters of the photoelectric encoder used for simulation. The field-programmable gate array also includes a photoelectric encoder module, which is used to output quadrature pulse signals and zero-position reference signals according to the parameters of the photoelectric encoder; the quadrature pulse signals and zero-position reference signals are used to simulate the output signals of the photoelectric encoder.

[0016] The beneficial effects of the multi-channel resolver simulation system of the present invention are as follows: The resolver simulation system includes a main control computing unit, a field-programmable gate array (FPGA), and multiple resolver channels. The main control computing unit and the FPGA are communicatively connected. The main control computing unit receives resolver parameters, processes them, and sends them to the FPGA. The resolver parameters are those of the resolver used for simulation. The main control computing unit transmits the resolver parameters to the FPGA to complete the parameter distribution. The resolver channels are used to acquire excitation signals and send them to the FPGA to complete the transmission of the acquired excitation signals. The field-programmable gate array (FPGA) includes multiple motor models and multiple resolver calculation modules. Each motor model, resolver calculation module, and resolver channel corresponds to a specific resolver channel. The motor model generates the simulated motor's speed and phase signals based on the resolver parameters. The resolver calculation modules generate sine and cosine signals based on the speed and phase signals and the excitation signal, and output them to the corresponding resolver channels. The resolver channels output sine and cosine signals. By running the motor models and resolver calculation modules through the FPGA, the easily worn physical resolver sensors and complex test benches are replaced. Furthermore, based on the issued resolver parameters and the acquired excitation signal, high-fidelity sine and cosine signals are dynamically generated, accurately reproducing the output of a real resolver under various operating conditions. This not only eliminates mechanical wear and bench maintenance costs but also significantly improves testing efficiency and flexibility through the software-defined resolver parameters. Attached Figure Description

[0017] Figure 1 This is a schematic diagram of the structure of a simulation system for a multi-channel rotary transformer according to an embodiment of the present invention; Figure 2 This is a schematic diagram of a multi-channel rotary transformer simulation system for simulating a position sensor, according to one embodiment. Figure 3 This is a schematic diagram of the specific structure of a simulation system for a multi-channel rotary transformer according to one embodiment; Figure 4 This is a control structure diagram of a multi-channel rotary transformer simulation system to implement the rotary transformer simulation function in one embodiment. Figure 5 A control structure diagram for implementing the rotary transformer simulation function in a multi-channel rotary transformer simulation system according to another embodiment; Figure 6 This is a control structure diagram illustrating the position sensor simulation function of a simulation system for a multi-channel rotary transformer, according to one embodiment. Detailed Implementation

[0018] To make the above-mentioned objects, features, and advantages of the present invention more apparent and understandable, specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings. Although some embodiments of the present invention are shown in the drawings, it should be understood that the present invention can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of the present invention. It should be understood that the accompanying drawings and embodiments of the present invention are for illustrative purposes only and are not intended to limit the scope of protection of the present invention.

[0019] It should be understood that the various steps described in the method embodiments of the present invention may be performed in different orders and / or in parallel. Furthermore, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present invention is not limited in this respect.

[0020] The term "comprising" and its variations as used herein are open-ended, meaning "including but not limited to"; the term "based on" means "at least partially based on"; the term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments"; and the term "optionally" means "optional embodiments". Definitions of other terms will be given in the following description. It should be noted that the concepts of "first," "second," etc., mentioned in this invention are used only to distinguish different devices, modules, or units, and are not intended to limit the order of functions performed by these devices, modules, or units or their interdependencies.

[0021] It should be noted that the terms "one" and "more" used in this invention are illustrative rather than restrictive. Those skilled in the art should understand that, unless otherwise expressly indicated in the context, they should be understood as "one or more".

[0022] The names of the messages or information exchanged between the multiple devices in the embodiments of the present invention are for illustrative purposes only and are not intended to limit the scope of these messages or information.

[0023] This invention provides a simulation system for a multi-channel rotary transformer, such as... Figure 1 As shown, it includes: a main control computing unit 110, a field-programmable gate array (FPGA) 120 and a multi-channel resolver 130, with the main control computing unit 110 and the field-programmable gate array (FPGA) 120 being communicatively connected.

[0024] The main control computing unit 110 is used to receive resolver parameters, process the resolver parameters and send them to the field programmable gate array 120; the resolver parameters are the parameters of the rotary transformer used for simulation.

[0025] Specifically, the resolver parameters can be output to the main control computing unit 110 via a host computer, or transmitted to the main control computing unit 110 via other means (such as a 485 interface). The resolver parameters are parameters of a simulated real resolver, and may include parameters such as the number of pole pairs, initial angle, output waveform amplitude, and rotational speed.

[0026] In some embodiments, the main control computing unit 110 may also receive a first control instruction, which is used to indicate a resolver channel corresponding to the current resolver parameter, and send the first control instruction to the field programmable gate array 120 to associate the current resolver parameter with a resolver channel.

[0027] The resolver channel 130 is used to acquire the excitation signal and send the excitation signal to the field programmable gate array 120.

[0028] Specifically, the resolver channel 130 is multi-channel, and the multiple resolver channels 130 are independent of each other, and can independently correspond to different resolver parameters to realize the parallel simulation of multiple real resolvers.

[0029] Specifically, the excitation signal acquired by the resolver channel 130 comes from the motor controller under test and is a high-frequency AC reference signal used to drive the resolver. For example, it can be an AC signal in the shape of a sine wave or a cosine wave.

[0030] The field programmable gate array 120 includes at least multiple motor models 121 and multiple resolver calculation modules 122. The motor models 121, resolver calculation modules 122 and resolver channels 130 correspond one-to-one, that is, each resolver channel 130 corresponds to one motor model 121 and one resolver calculation module 122.

[0031] Specifically, the main control computing unit 110 sends the processed resolver parameters to the corresponding motor model 121 in the field-programmable gate array 120. The motor model 121 generates a speed phase signal corresponding to the resolver parameters. The motor model 121 is a mathematical algorithm running in the field-programmable gate array 120. Based on the input parameters (such as target speed and load), it calculates in real time the precise rotor position and speed information that the motor should have under the current conditions. The motor model 121, based on the received resolver parameters (such as pole pair number, preset speed curve, acceleration, load torque, etc.), uses a built-in high-precision mathematical algorithm to calculate in real time and generate a speed phase signal corresponding to the resolver parameters. The speed phase signal includes both a speed signal and a phase signal.

[0032] The resolver calculation module 122 is used to generate sine and cosine signals based on the speed phase signal generated by the corresponding motor model 121 and the excitation signal collected by the corresponding resolver channel 130, and output them to the corresponding resolver channel 130.

[0033] Specifically, the resolver calculation module 122 receives the rotational speed phase signal from the corresponding motor model 121 and the excitation signal collected by the corresponding resolver channel 130. It uses the rotational speed phase signal as a modulation signal and the collected excitation signal as a high-frequency carrier wave. A digital modulation algorithm (typically a sine-cosine multiplier) is used to precisely modulate the amplitude of this carrier wave to simulate the modulation of the primary excitation magnetic field by the rotor position in a real resolver, thereby inducing a position-related signal in the secondary winding. The resolver calculation module 122 outputs two high-frequency modulated signals that are orthogonal in phase and whose amplitudes are proportional to the sine and cosine values ​​of the rotor angle, respectively: a sine signal and a cosine signal.

[0034] The resolver channel 130 is also used to output the sine and cosine signals sent by the resolver calculation module 122 to the motor controller. The sine and cosine signals are used to simulate the output signals of a real resolver, so that the motor controller can demodulate accurate motor position and speed information as if connected to a real resolver.

[0035] In this embodiment, the simulation system for the multi-channel resolver includes a main control computing unit, a field-programmable gate array (FPGA), and multiple resolver channels. The main control computing unit and the FPGA are communicatively connected. The main control computing unit receives resolver parameters, processes them, and sends them to the FPGA. These resolver parameters are the parameters of the resolver used for simulation. The transmission of resolver parameters from the main control computing unit to the FPGA completes the parameter distribution. The resolver channels are used to acquire excitation signals and send them to the FPGA to complete the transmission of the acquired excitation signals. The field-programmable gate array (FPGA) includes multiple motor models and multiple resolver calculation modules. Each motor model, resolver calculation module, and resolver channel corresponds to a specific resolver channel. The motor model generates the simulated motor's speed and phase signals based on the resolver parameters. The resolver calculation modules generate sine and cosine signals based on the speed and phase signals and the excitation signal, and output them to the resolver channel. The resolver channel outputs sine and cosine signals. By running the motor models and resolver calculation modules through the FPGA, the easily worn physical resolver sensors and complex test benches are replaced. Furthermore, based on the issued resolver parameters and the acquired excitation signal, high-fidelity sine and cosine signals are dynamically generated, accurately reproducing the output of a real resolver under various operating conditions. This not only eliminates mechanical wear and bench maintenance costs but also significantly improves testing efficiency and flexibility through the software-defined resolver parameters.

[0036] Optionally, such as Figure 2As shown, the simulation system for the multi-channel rotary transformer also includes multiple position sensor channels 210. Specifically, the position sensor channels 210 are multiple, and each channel is independent, capable of independently corresponding to different position sensing parameters, thus enabling parallel simulation of multiple real position sensors. Specifically, in the case of implementing the function of a simulated position sensor: The main control computing unit 110 receives position sensing parameters from the host computer, calculates the frequency information and duty cycle information of the PWM signal corresponding to the position sensing parameters, and sends the frequency information and duty cycle information of the PWM signal to the field programmable gate array 120; wherein, the position sensing parameters are parameters used to simulate a real position sensor, including at least: frequency parameters, total displacement distance and displacement distance.

[0037] In some embodiments, the main control computing unit 110 may also receive a second control instruction, which is used to indicate a position sensor channel 210 corresponding to the current position sensing parameters, and send the second control instruction to the field programmable gate array 120 to correspond the current position sensing parameters with a position sensor channel 210.

[0038] In some embodiments, calculating the frequency information and duty cycle information of the PWM signal corresponding to the position sensing parameters includes: dividing the fundamental frequency of the field programmable gate array 120 by the frequency parameter in the position sensing parameters to obtain the frequency information of the PWM signal; and dividing the product of the displacement distance and the frequency information of the PWM signal by the total displacement distance to obtain the duty cycle information of the PWM signal.

[0039] Specifically, the frequency and duty cycle information of the PWM signal can be obtained from the following expression: ; ; in, This is the base frequency of the Field Programmable Gate Array 120. This refers to the frequency parameter in the position sensing parameters. This refers to the frequency information of the PWM signal. This refers to the displacement distance in the position sensing parameters. This refers to the total displacement distance in the position sensing parameters. This refers to the duty cycle information of the PWM signal.

[0040] The field-programmable gate array 120 outputs a corresponding PWM signal to the position sensor channel 210 based on the frequency and duty cycle information of the PWM signal. The position sensor channel 210 outputs a PWM signal to the motor controller. The PWM signal is used to simulate the output signal of a real position sensor.

[0041] In this optional embodiment, the main control computing unit 110 sends different position sensing parameters to the field programmable gate array 120. The field programmable gate array 120 outputs a PWM signal to simulate the output of a real position sensor based on the position sensing parameters, thereby realizing the testing of the position sensor. No physical position sensor is required, eliminating mechanical wear and replacement costs. Furthermore, different position parameters and PWM modes can be achieved through different position sensing parameters, greatly enhancing the flexibility and efficiency of the test.

[0042] The hardware structure of the simulation system for the rotary transformer is described below.

[0043] Optionally, such as Figure 3 As shown, the simulation system of the multi-channel resolver includes a core board 310, a baseboard 320, and an expansion board 330. The main control computing unit 110 can be an ARM processor. The core board 310 includes an ARM processor 111, a field-programmable gate array (FPGA) 120, an Ethernet interface 312, and an optical fiber interface 313. The ARM processor 111 and the host computer are connected via the Ethernet interface 312. The baseboard 320 includes resolver channel 1 (130), position sensor channel 1 (210), position sensor channel 2 (210), and a 485 interface 321. The expansion board 330 includes resolver channel 2 (130), resolver channel 3 (130), and resolver channel 4 (130).

[0044] like Figure 4 As shown, Figure 4 A schematic diagram of the structure of an analog system for a resolver channel 130 is shown. The resolver channel 130 includes an analog-to-digital acquisition circuit 131, a digital-to-analog output circuit 132, and an operational amplifier circuit 133. The analog-to-digital acquisition circuit 131 is used to acquire the excitation signal, convert the excitation signal into a digital signal, and output it to the field-programmable gate array 120. The digital-to-analog output circuit 132 is used to receive the sine and cosine signals output by the field-programmable gate array 120, convert the sine and cosine signals into analog signals, and output them to the operational amplifier circuit 133. The operational amplifier circuit 133 is used to output the analog sine and cosine signals. The field-programmable gate array 120 also includes: an amplitude and frequency acquisition module 123, a direct digital frequency synthesizer (DDS) 124, and an FMC interface 125. The amplitude and frequency acquisition module 123 is used to acquire the amplitude and frequency information of the excitation signal and send the acquired amplitude and frequency information to the ARM processor 111. The ARM processor 111 processes the amplitude and frequency information and sends it to the direct digital frequency synthesizer 124 of the field-programmable gate array 120. The direct digital frequency synthesizer 124 generates a new excitation signal based on the amplitude and frequency information and outputs the new excitation signal to the resolver calculation module 122 for subsequent calculations.

[0045] For a resolver channel, the process of implementing the resolver simulation function in the resolver simulation system is as follows: The ARM processor 111 receives resolver parameters from the host computer, processes the resolver parameters, and sends them to the field-programmable gate array 120 via the FMC interface 125. The analog-to-digital acquisition circuit 131 of the resolver channel 130 acquires the excitation signal, converts the excitation signal into a digital signal through the analog-to-digital driver module 126, and outputs it to the amplitude and frequency acquisition module 123 of the field-programmable gate array 120. The amplitude and frequency acquisition module 123 acquires the amplitude and frequency information of the excitation signal, and sends the acquired amplitude and frequency information to the ARM processor 111 via the FMC interface 125. After processing the amplitude and frequency information, the M processor 111 sends the data to the direct digital frequency synthesizer 124 of the field programmable gate array 120. The direct digital frequency synthesizer 124 generates a new excitation signal based on the amplitude and frequency information and outputs the new excitation signal to the resolver calculation module 122. The resolver calculation module 122 generates sine and cosine signals based on the rotational speed phase signal and the new excitation signal, and outputs them to the digital-to-analog output circuit 132 of the resolver channel 130 through the digital-to-analog drive module 127. The digital-to-analog output circuit 132 converts the sine and cosine signals into analog signals and outputs them to the operational amplifier circuit 133. The operational amplifier circuit 133 is used to output the sine and cosine signals of the analog signal.

[0046] In this optional embodiment, the simulation function of the resolver is realized by combining the ARM processor 111 and the field programmable gate array 120.

[0047] Optionally, such as Figure 5 As shown, Figure 5This diagram illustrates the structure of a simulation system for a resolver channel 130 corresponding to a resolver when communicating via fiber optic interface 313. In this embodiment, when communicating via fiber optic interface 313, the main control computing unit 110 can also be a motor simulator 112. The process for simulating the resolver is as follows: the motor simulator 112 outputs a speed phase signal based on the resolver parameters and sends it to the field-programmable gate array 120 via fiber optic interface 313. The analog-to-digital acquisition circuit 131 of the resolver channel 130 acquires the excitation signal and converts it into a digital signal via the analog-to-digital driver module 126, then outputs it to the amplitude and frequency acquisition module 123 of the field-programmable gate array 120. The amplitude and frequency acquisition module 123 acquires the amplitude and frequency information of the excitation signal and outputs the acquired signal... Amplitude and frequency information are sent to motor simulator 112 via fiber optic interface 313. Motor simulator 112 processes the amplitude and frequency information and sends it to direct digital frequency synthesizer 124 of field programmable gate array 120. Direct digital frequency synthesizer 124 generates a new excitation signal based on amplitude and frequency information and outputs the new excitation signal to resolver calculation module 122. Resolver calculation module 122 generates sine and cosine signals based on speed phase signal and new excitation signal, and outputs them to digital-to-analog output circuit 132 of resolver channel 130 via digital-to-analog drive module 127. Digital-to-analog output circuit 132 converts sine and cosine signals into analog signals and outputs them to operational amplifier circuit 133. Operational amplifier circuit 133 is used to output sine and cosine signals of analog signals.

[0048] In this optional embodiment, the simulation function of the rotary transformer is realized by combining the motor simulator 112 and the field programmable gate array 120.

[0049] Optionally, when communicating via fiber optic interface 313 and the main control computing unit 110 is a motor simulator 112, the rotary transformer simulation system provided in this embodiment of the invention can also realize the photoelectric encoder simulation function. The specific process is as follows: the motor simulator 112 outputs photoelectric encoder parameters to the field programmable gate array 120. The field programmable gate array 120 includes a photoelectric encoder module. The photoelectric encoder module is used to output quadrature pulse signals and zero-position reference signals (A, B, Z signals) according to the photoelectric encoder parameters. The quadrature pulse signals and zero-position reference signals are used to simulate the output signal of the photoelectric encoder.

[0050] In this optional embodiment, the simulation function of the photoelectric encoder is realized by combining the motor simulator 112 and the field programmable gate array 120.

[0051] Optionally, such as Figure 6As shown, the process of implementing the position sensor simulation function in the simulation system of the multi-channel rotary transformer is as follows: The ARM processor 111 receives the position sensing parameters from the host computer through the Ethernet interface 312, calculates the frequency information and duty cycle information of the PWM signal corresponding to the position sensing parameters, and sends the frequency information and duty cycle information of the PWM signal to the position sensor data judgment module 128 of the field programmable gate array 120 through the FMC interface 125. The position sensor data judgment module 128 outputs the corresponding PWM signal to the position sensor channel 210 according to the frequency information and duty cycle information of the PWM signal. The position sensor channel 210 outputs the PWM signal to the motor controller.

[0052] In this optional embodiment, the analog function of the photoelectric encoder is realized by combining the ARM processor 111 and the field programmable gate array 120.

[0053] While the present invention has been disclosed above, its scope of protection is not limited thereto. Those skilled in the art can make various changes and modifications without departing from the spirit and scope of the present invention, and all such changes and modifications will fall within the scope of protection of the present invention.

Claims

1. An analog system for a multi-channel resolver, characterized by, include: The system includes a main control computing unit, a field-programmable gate array (FPGA), and a multi-channel resolver. The main control computing unit and the FPGA are communicatively connected. The main control computing unit is used to receive resolver parameters, process the resolver parameters, and send them to the field programmable gate array; the resolver parameters are the parameters of the rotary transformer used for simulation. The resolver channel is used to acquire excitation signals and send the excitation signals to the field-programmable gate array; The field-programmable gate array includes at least multiple motor models and multiple resolver calculation modules, and the motor models, resolver calculation modules and resolver channels correspond one-to-one. The motor model is used to generate a rotational speed phase signal corresponding to the resolver parameters based on the resolver parameters; The resolver calculation module is used to generate sine and cosine signals based on the speed phase signal generated by the corresponding motor model and the excitation signal collected by the corresponding resolver channel, and output them to the corresponding resolver channel. The resolver channel is also used to output the sine and cosine signals, which are used to simulate the output signals of the resolver.

2. The analog system of a multi-channel rotary transformer of claim 1, wherein, The field-programmable gate array further includes: multiple amplitude and frequency acquisition modules and multiple direct digital frequency synthesizers, wherein the amplitude and frequency acquisition modules, direct digital frequency synthesizers and resolver channels correspond one-to-one; The amplitude and frequency acquisition module is used to acquire the amplitude and frequency information of the excitation signal acquired by the corresponding resolver channel, and send the acquired amplitude and frequency information to the main control computing unit; the main control computing unit is used to process the amplitude and frequency information and send it to the corresponding direct digital frequency synthesizer. The direct digital frequency synthesizer is used to generate a new excitation signal based on the processed amplitude and frequency information, and output the new excitation signal to the corresponding resolver calculation module.

3. The simulation system for a multi-channel rotary transformer according to claim 1, characterized in that, The resolver channel includes: an analog-to-digital acquisition circuit, a digital-to-analog output circuit, and an operational amplifier circuit; The analog-to-digital acquisition circuit is used to acquire the excitation signal, convert the excitation signal into a digital signal, and output it to the field-programmable gate array. The digital-to-analog output circuit is used to receive the sine and cosine signals output by the field-programmable gate array, and convert the sine and cosine signals into analog signals before outputting them to the operational amplifier circuit; The operational amplifier circuit is used to output the sine and cosine signals.

4. The simulation system for a multi-channel rotary transformer according to claim 1, characterized in that, The main control computing unit is also used to receive a first control command and send the first control command to the field programmable gate array; the first control command is used to indicate one resolver channel corresponding to the current resolver parameters.

5. The simulation system for a multi-channel rotary transformer according to claim 1, characterized in that, The simulation system for the rotary transformer also includes: multiple position sensor channels; The main control computing unit is also used to receive position sensing parameters, calculate the frequency information and duty cycle information of the PWM signal corresponding to the position sensing parameters, and send the frequency information and duty cycle information of the PWM signal to the field programmable gate array; the position sensing parameters are parameters of a simulated position sensor; The field-programmable gate array is also used to output a corresponding PWM signal to the position sensor channel according to the frequency information and duty cycle information of the PWM signal; The position sensor channel is used to output the PWM signal, which is used to simulate the output signal of the position sensor.

6. The simulation system for a multi-channel rotary transformer according to claim 5, characterized in that, The position sensing parameters include at least: frequency parameters, displacement distance, and total displacement distance; the calculation of the frequency information and duty cycle information of the PWM signal corresponding to the position sensing parameters includes: The frequency information of the PWM signal is obtained by dividing the fundamental frequency of the field-programmable gate array by the frequency parameter in the position sensing parameters. The duty cycle information of the PWM signal is obtained by multiplying the displacement distance by the frequency information of the PWM signal and then dividing by the total displacement distance.

7. The simulation system for a multi-channel rotary transformer according to claim 5, characterized in that, The main control computing unit is also used to receive a second control command and send the second control command to the field programmable gate array; the second control command is used to indicate a position sensor channel corresponding to the current position sensing parameters.

8. The simulation system for a multi-channel rotary transformer according to any one of claims 1 to 7, characterized in that, The main control computing unit is an ARM processor, and the field-programmable gate array includes an FMC interface; The field-programmable gate array (FMC) is connected to the ARM processor via the FMC interface.

9. The simulation system for a multi-channel rotary transformer according to any one of claims 1 to 7, characterized in that, The main control computing unit is a motor simulator, and the field-programmable gate array includes a fiber optic interface; The field-programmable gate array is connected to the motor simulator via the fiber optic interface.

10. The simulation system for a multi-channel rotary transformer according to claim 9, characterized in that, The motor simulator is also used to output photoelectric encoder parameters to the field-programmable gate array; the position sensing parameters are the parameters of the photoelectric encoder used for simulation. The field-programmable gate array also includes a photoelectric encoder module, which is used to output quadrature pulse signals and zero-position reference signals according to the parameters of the photoelectric encoder; the quadrature pulse signals and zero-position reference signals are used to simulate the output signals of the photoelectric encoder.