Rotary transformer simulator and detection method thereof

By designing a dual-excitation resolver simulator, and utilizing components such as DSP modules and DAC chips, efficient simulation and fault injection of resolver signals were achieved. This solved the problem that existing technologies could not simulate temperature testing, thereby improving the R&D efficiency of new energy vehicles and reducing costs.

CN121643536APending Publication Date: 2026-03-10SUZHOU DEYI AUTOMOTIVE ELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511895977.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-12-16
Publication Date
2026-03-10

AI Technical Summary

Technical Problem

The lack of a dedicated dual-excitation resolver simulator in the current technology makes it impossible to efficiently and cost-effectively complete the resolver signal transmission, reception and decoding functions, and also makes it impossible to simulate temperature testing, which affects the R&D efficiency and cost of new energy vehicles.

Method used

Design a dual-excitation resolver simulator, including a DSP module, a DAC chip, a hardware arithmetic unit, a display screen, a communication module, a PWM module, and a power supply circuit module. The DSP module processes the signal, the DAC chip simulates temperature changes, the hardware arithmetic unit performs multiplication operations, the PWM module adjusts the pulse width, and the signal modulation circuit module modulates the signal to realize the simulation of dual-excitation resolver signals and fault injection.

Benefits of technology

It achieves fast, low-latency, and high-precision resolver signal simulation testing, which can simulate motor temperature changes and fault injection, improving the development efficiency of new energy vehicles and reducing R&D costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121643536A_ABST
    Figure CN121643536A_ABST
Patent Text Reader

Abstract

The rotary transformer simulator receives double excitation signals from a motor controller, and comprises a DSP (Digital Signal Processor) module, a DAC (Digital-to-Analog Converter) chip, a hardware arithmetic unit, a display screen, a communication module, a PWM (Pulse-Width Modulation) module, a signal modulation circuit module and a power supply circuit module; s1, connecting the motor controller and the rotary transformer simulator by adopting a serial communication protocol; s2, the DSP board card receives the excitation signal; s3, four paths of analog trigonometric function signals are generated through an orthogonal modulation circuit on the signal modulation module; s4, a DAC chip is arranged in the resolver simulator to simulate motor temperature values under different working conditions according to user input; and S5, configuring the rotating speed, the angle, the acceleration and the fault injection amplitude by adopting a communication module. The double-excitation rotary transformer simulator has the advantages of high simulation test speed, low time delay and high precision, and achieves the purpose of detecting the working robustness of the motor controller under different working conditions and abnormal working conditions.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of dual-excitation resolver signal simulation and detection technology, specifically to a resolver simulator and its detection method. Background Technology

[0002] New energy vehicles are one of the important development directions of the future automotive industry. Among them, motors and their control are a crucial link. A resolver is an induction micromotor whose output voltage and rotor angle maintain a certain functional relationship. In the automotive field, control information such as motor speed and position is generally obtained by using a resolver. At the same time, the research, development, production and testing of the controller all rely on resolver signals to input motor speed and angle signals to the motor controller in order to test the resolver signal decoding function of the motor controller.

[0003] Since the resolver signal is a signal that needs to be processed with the excitation signal before being output, most signal generators cannot currently perform this function. The principle of dual-excitation resolvers is different from that of single-excitation resolvers. Single-excitation resolvers measure motor speed and angle by modulating the amplitude of the signal, while dual-excitation signals measure motor speed and angle by modulating the phase of the signal. There are currently no dedicated simulation devices for dual-excitation resolvers on the market.

[0004] Therefore, there is a need to provide a dedicated dual-excitation resolver simulator that can comprehensively, efficiently, and cost-effectively complete resolver signal transmission, reception, and decoding functions, as well as implement fault injection and simulated temperature testing, in order to improve the development efficiency of new energy vehicles and reduce R&D costs. Summary of the Invention

[0005] The purpose of this invention is to provide a resolver simulator and its detection method, thereby filling the current technological gap of not having a dual-excitation resolver simulator.

[0006] The objective of this invention can be achieved through the following technical solution: a dual-excitation resolver simulator that receives dual excitation signals from a motor controller, including a DSP module, a DAC chip, a hardware arithmetic unit, a display screen, a communication module, a PWM module, a signal modulation circuit module, and a power supply circuit module;

[0007] The DSP module is used to process and control the DAC chip, PWM module and the operating logic of each module in the dual-excitation resolver simulator to generate simulated motor speed and angle signals.

[0008] The DAC chip is used to establish an accurate temperature-to-electrical signal conversion model, convert the digital signal generated by the DSP board into an analog signal, and integrate a temperature analog output circuit on the DAC chip to simulate the corresponding temperature changes of a high-speed rotating dual-excitation rotary transformer.

[0009] The hardware arithmetic unit uses a multiplier to perform multiplication operations on the PWM waveform signal generated by the DSP board and the excitation signal provided by the motor controller;

[0010] The PWM module, based on the PWM wave signal value calculated by the DSP and combined with the power supply circuit, simulates the output of a PWM wave by adjusting the pulse width of the signal.

[0011] The signal modulation circuit module modulates the signal obtained by the hardware calculation module through the calculation of two different excitation signals and the PWM module using an orthogonal method, and outputs the waveform of the dual-excitation resolver.

[0012] Furthermore, the temperature-to-electrical signal conversion model is optimized to simulate the temperature changes of the motor in real time, providing the analog signal from the temperature sensor to the motor controller. Given that the output voltage is proportional to the absolute temperature, the calculation formula for the temperature-to-electrical signal conversion model is as follows: In the formula, This is the conversion factor between temperature and voltage. To simulate the detection temperature value, As an excitation signal, For sensing signals, This is the temperature compensation constant, typically 16℃ / 25℃.

[0013] Furthermore, according to the temperature-to-electrical signal conversion model, different voltage values ​​can be input to simulate different temperature states of the motor during operation, and the output is sent to the motor controller, which then combines the motor speed and other conditions to handle different operating conditions.

[0014] Further optimized, the PWM module, the signal modulation circuit module, and the PWM module utilize trigonometric functions for adjustment calculations to derive the rotational speed and angle of the rotating object. The rotational speed algorithm formula is as follows: , In the formula, The velocity value in the Y-axis direction. To control the amplitude of vibration, These are the input angle values ​​used to calculate the angles in the sine and cosine functions. To correct the constant, The velocity value is in the Z-axis direction; the angle calculation formula is: , In the formula, The angle value in the Y-axis direction. These are the input angle calibration parameters used to calculate the Y and Z angles. The angle value in the Y-axis direction. To control the amplitude of vibration, This is a correction constant used to implement basic simulation detection functions and fault injection functions.

[0015] Furthermore, the communication module includes a serial communication protocol, a TTL interface, and hardware circuitry for communicating with the motor controller and enabling signal input and output between various modules within the resolver simulator. The serial communication protocol also includes a CAN signal control interface and an RS232 signal control interface. The motor controller and resolver simulator support a CAN signal control interface, providing a control DBC, support for the RS232 signal control interface in the Modbus communication protocol, and support for a network communication interface.

[0016] In a further optimized form, the communication protocol connects to the display screen via a TTL interface, converting the PWM signal processed by the DSP board into a digital signal, then into a TTL signal, and transmitting it to the display screen.

[0017] The display screen is used to receive TTL signals and display the operating status of the angular displacement and angular velocity, temperature parameters, and debugging information of the dual-excitation resolver simulator;

[0018] The PWM module generates six independent output signal channels based on preset signal amplitude and speed. Each channel simulates a trigonometric function signal, and the formula for the simulated trigonometric function is: , In the formula, , All are specific times The value, For amplitude, For frequency, For time variables, For phase;

[0019] The power supply circuit module provides power to the DSP board, DAC chip, hardware arithmetic unit, and other modules inside the resolver simulator.

[0020] A refractive index simulator detection method includes the following steps:

[0021] S1: The motor controller and resolver simulator are connected using a serial communication protocol. The resolver simulator obtains the excitation signal output by the resolver circuit in the motor controller and converts it into the corresponding sine and cosine signals.

[0022] S2: The DSP board receives the excitation signal, directly calculates and synthesizes it into a PWM waveform through the integrated circuits on the board, and outputs it as a PWM waveform. The multiplier then calculates and processes the rotation speed and angle and transmits it to the signal modulation module.

[0023] S3: Four analog trigonometric function signals are generated by the quadrature modulation circuit on the signal modulation module, and the waveform of the dual-excitation resolver signal is displayed on the display screen connected to the TTL interface on the DSP board.

[0024] S4: At the same time, the resolver simulator has a built-in DAC chip to simulate motor temperature values ​​under different operating conditions based on user input;

[0025] S5: By using the PWM module on the DSP board and the communication module to configure the speed, angle, acceleration, fault injection amplitude, and fault injection configuration information parameters, basic simulation detection and fault injection functions can be realized.

[0026] In a further optimized step S2, the integrated circuits deployed on the DSP board include a power supply circuit, which is controlled by a power supply circuit module. The power supply circuit includes a chopper circuit and a conversion circuit, which are connected in series. A grounding wire with several series capacitors is deployed between the chopper circuit and the conversion circuit to stabilize the voltage and ensure that the internal structural modules of the entire rotary transformer simulator can work normally.

[0027] In a further optimized step S4, the integrated circuit on the DAC chip includes a temperature simulation circuit. Six identical temperature simulation outputs are pre-integrated in the resolver simulator to convert the voltage signal received by the DAC chip into temperature.

[0028] In a further optimized step S5, the integrated circuit on the signal modulation circuit module includes a signal modulation circuit. Two sets of four identical resolver signal generators are pre-integrated in the resolver simulator. The PWM signal and excitation voltage generated by the DSP are processed by the multiplier, and the base frequency signal connected to the motor controller is modulated by the analog trigonometric function signal and the quadrature modulation circuit to form two resolver signals to ground and output them.

[0029] Beneficial effects

[0030] 1. This invention, by setting up a DSP board, DAC chip, multiplier, and PWM module and signal modulation module in the dual-excitation resolver simulator, not only simulates the operating state of the motor's angular velocity and angular displacement, but also simulates the real-time temperature changes during the motor's operation. This makes the dual-excitation resolver simulator have the effects of fast simulation test speed, low delay, and high accuracy.

[0031] 2. This invention achieves fault injection by setting up a PWM module and a signal modulation circuit module. Furthermore, by injecting the parameters of the modulation signal into the resolver simulator, the excitation signal transmitted from the receiving motor controller is subjected to negative feedback control of the resolver signal, thereby achieving the purpose of detecting the robustness of the motor controller under different working conditions and abnormal working conditions. Attached Figure Description

[0032] Figure 1 This is a block diagram of the dual-excitation resolver simulator of the present invention;

[0033] Figure 2 This is a flowchart of the dual-excitation resolver simulation detection method of the present invention;

[0034] Figure 3 This is a diagram showing the peripheral circuit structure of the DSP module of the present invention.

[0035] Figure 4 This is a circuit diagram of the signal modulation module of the present invention;

[0036] Figure 5 This is a schematic diagram of the normal simulated dual-excitation output angle waveform of the present invention. Detailed Implementation

[0037] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0038] Example 1

[0039] like Figure 1 As shown, the present invention is a dual-excitation resolver simulator that connects to a motor controller via a communication protocol, including a DSP board, a DAC chip, a hardware computing module, a display screen, a communication module, a PWM module, a signal modulation circuit module, and a power supply circuit module.

[0040] The resolver simulator used in this invention embodiment is designed for motor controllers used in new energy vehicles. It simulates and tests the motor controller by collecting resolver signals generated by the rotor and stator in the resolver circuit within the motor. Specifically, the resolver rotor is mounted on the motor shaft, rotates synchronously with the motor, and induces position information in the stator coils, which is then transmitted to test the performance of the motor controller. Currently, there is no publicly available dual-excitation resolver simulator. This invention embodiment designs the internal system structure hardware and circuitry on the chip of the resolver simulator, and performs comparative analysis of verification and fault injection based on trigonometric function calculations for signal input and output from the motor controller. Data is promptly fed back via TTL signals and results are recorded to improve the overall effectiveness of testing the motor controller's functionality.

[0041] The DSP board is the core of the resolver simulator. It receives analog signals, converts them into digital signals in binary form, and performs high-speed real-time processing. It handles and controls the DAC chip, hardware arithmetic unit, and the operational logic of various modules within the resolver simulator. By acquiring the excitation signal from the motor controller, it generates simulated motor signals based on the input parameters to measure the angular displacement and angular velocity of the rotating object. The signals generated by the DSP are processed by the integrated circuits on the board, then multiplied, and finally modulated by the signal modulation module to generate dual-excitation resolver analog signals used to simulate the angular velocity, positional motion state, and characteristics of the motor. This includes: assuming the excitation signal is... And the angle between the excitation coil of the resolver and the horizontal is... Then, combining the signal in the excitation coil, the signals in the rotor and stator induction coils can be obtained; among them, the formula for passing a high-frequency sinusoidal signal to the rotor is: The formula for the induced signal in the secondary coil where the stator is located is: The input sine and cosine excitation signals are then represented discretely as 0 and 1 respectively, and the digital signal is equivalently replaced by the analog signal to output a PWM waveform using the pulse width modulation method.

[0042] The steps for a DSP board to process analog signals are as follows:

[0043] The DSP module acquires input excitation signals from the motor controller via an input interface through communication established with the motor controller. The excitation signal contains the driving signal or control signal of the rotating object;

[0044] Data conversion: The acquired analog signals need to be directly processed by the DSP board through the signal circuit on the board for further digital signal processing, without going through the ADC digital-to-analog conversion process;

[0045] Digital signal processing: DSP boards use their onboard digital signal processors to perform signal processing, typically employing algorithms including Kalman filtering and wavelet transform to filter, denoise, and perform spectral analysis on the signals.

[0046] Angular displacement calculation, through this digital signal processing, calculates the angle information of the rotating object based on continuously sampled data or using the principle of a differential converter, and then uses the initial angle information... and end point Perform angular displacement Calculation, i.e. ;

[0047] Angular velocity is calculated using the results of angular displacement calculation and the sampling time interval. That is, to calculate the angular velocity of the rotating object. The formula for calculating angular velocity is .

[0048] The DAC chip establishes an accurate temperature-to-electrical signal conversion model, converting the digital signal generated by the DSP board into an analog signal, that is, into an analog voltage signal. Combined with the high precision and adjustable output capability of the DAC chip, and integrating 6 temperature analog output circuits on the DAC chip, it can simulate the corresponding temperature changes of a high-speed rotating motor.

[0049] The temperature-to-electrical-signal conversion model converts the acquired electrical signal into a corresponding temperature value to provide more accurate temperature data. This data is used for real-time acquisition, analysis, and monitoring of temperature changes inside the rotary transformer to determine its operating status and performance. Given that the output voltage is proportional to the absolute temperature, the calculation formula for the temperature-to-electrical-signal conversion model is as follows: In the formula, This is the conversion factor between temperature and voltage. To simulate the detection temperature value, As an excitation signal, For sensing signals, This is the temperature compensation constant, typically 16℃ / 25℃.

[0050] In addition, in this embodiment of the invention, a temperature-to-electrical signal conversion model is established to simulate different temperature conditions during motor operation, so as to test the safety of the motor controller under different temperature conditions. At the same time, the temperature data is recorded, stored and linearly analyzed for subsequent data processing, trend analysis, fault injection diagnosis, etc.

[0051] The electrical signals acquired by the temperature simulation circuit and the temperature values ​​converted by the established temperature-electrical signal conversion model are recorded. A linear regression algorithm is used to calculate the motor operating efficiency, temperature, and voltage to analyze the trend of motor operation, thereby accurately and efficiently controlling the motor's operating state with negative feedback modulation parameters. The linear regression algorithm uses regression analysis in mathematical statistics to determine the quantitative relationship of interdependence among motor operating efficiency, temperature, and voltage.

[0052] The hardware arithmetic unit uses a multiplier to perform multiplication operations on the PWM waveform signal output from the DSP board after processing the excitation signal. This includes calculating the motor's speed, power, number of pole pairs, signal delay, and temperature. The calculation formulas are as follows: Speed In the formula, To calibrate the proportional constant between the rotational speed and the excitation signal, Excitation signal; power In the formula, As an excitation signal, For input power, Input power; number of pole pairs In the formula, For motor frequency, Rotational speed; signal delay In the formula, For motor response time, Simulator sampling period.

[0053] The multiplier unit features high-speed operation, high accuracy, resource saving, simplified programming, and power efficiency. Furthermore, in the resolver simulator, it operates based on excitation signals. Calculate the motor speed using motor parameters. ,power and temperature By establishing the proportional relationship between the excitation signal and the speed, power, and temperature, and applying it to the multiplication operation in the simulator, the speed change, power demand / output, and temperature change of the motor under different excitation signals can be simulated.

[0054] The PWM module, an external device located on the DSP board and connected to the power supply circuit, outputs a simulated PWM signal by adjusting the pulse width of the signal, which is used to precisely control the speed and power of the motor.

[0055] The PWM module has several independent PWM output channels, and each channel can generate a PWM signal independently; it supports adjusting the pulse width of each PWM channel and controls the amplitude or duty cycle of the output signal by changing the pulse width; it can adjust the frequency of the output PWM signal by adjusting the period of the PWM signal; and it can provide an interrupt mechanism so that when a specific condition or count value is reached, the motor is triggered to interrupt the event, thereby achieving more precise control and processing.

[0056] The signal modulation circuit module modulates or demodulates the baseband signal received by the signal modulation circuit to form amplitude modulation (AM), frequency modulation (FM), and phase modulation (PM) signals. These signals are used to modulate the baseband signal input to the motor controller using analog trigonometric function signals, or to demodulate and recover the modulated signal using inverse trigonometric function signals to obtain the original baseband signal.

[0057] The modulation steps of the signal modulation circuit module are as follows:

[0058] Obtain the baseband signal source, connect the input terminal of the signal modulation circuit to the output terminal of the signal conversion circuit, and receive the baseband signal output by the signal conversion circuit as the input signal source for modulation;

[0059] The modulation signal source combines the configuration information parameters of the motor controller, such as speed, angle, acceleration, fault injection amplitude, and fault injection phase deviation, and uses the trigonometric function signal to be modulated as the modulation signal source.

[0060] In the signal modulation circuit module, the signal modulation circuit is used to perform amplitude modulation (AM), frequency modulation (FM), or phase modulation (PM) on the baseband signal.

[0061] The modulation output sends the modulated signal through the communication module to the motor controller or signal generation module for reception and processing.

[0062] In this embodiment of the invention, the PWM module, the signal modulation circuit module, and the communication module receive the configuration speed, angle, acceleration, fault injection amplitude, and fault injection phase deviation information parameters output by the resolver simulator, and use trigonometric functions to perform adjustment calculations to obtain the rotation speed and angle of the rotating object, so as to realize the basic functions of simulation detection and fault injection. The fault injection is the output after abnormal deformation of some signals in the basic function.

[0063] The formula for calculating rotational speed is: , In the formula, The velocity value in the Y-axis direction. To control the amplitude of vibration, These are the input angle values ​​used to calculate the angles in the sine and cosine functions. To correct the constant, The velocity value in the Z-axis direction;

[0064] The angle algorithm formula is:

[0065] , In the formula, The angle value in the Y-axis direction. These are the input angle calibration parameters used to calculate the Y and Z angles. The angle value in the Y-axis direction. To control the amplitude of vibration, This is a correction constant.

[0066] In this embodiment of the invention, the communication module includes a serial communication protocol, a TTL interface, and hardware circuitry, used to communicate with the motor controller and enable communication between various modules within the resolver simulator to receive and send control commands and feedback information. The serial communication protocol further includes a CAN signal control interface and an RS232 signal control interface. The motor controller and the resolver simulator support the CAN signal control interface, providing a control DBC that allows data information communicated via the CAN bus to be read using a DBC file. It also supports the RS232 signal control interface in the Modbus communication protocol and a network control interface.

[0067] In this embodiment of the invention, the TTL interface is connected to the display screen. The excitation signal processed by the DSP board is converted into a digital signal and then into a TTL signal and transmitted to the liquid crystal panel display. Specifically, the process involves converting and adapting high-level logic signals to low-level logic signals.

[0068] The LCD panel display receives TTL signals and displays the operating status of the angular displacement and angular velocity of the resolver simulator, temperature parameters, and debugging information.

[0069] The signal generation module generates four independent output signal channels based on preset signal amplitude and rotational speed. Each channel simulates a trigonometric function signal, and the simulated trigonometric function formula is: , In the formula, , All are specific times The value, For amplitude, For frequency, For phase; the signal generation module presets the signal amplitude and speed, first presets the voltage value of the motor controller to represent the signal amplitude, and then sets the configuration parameters of frequency and period to preset the speed.

[0070] The power supply circuit module provides power to the DSP board, DAC chip, hardware arithmetic unit, and other modules inside the resolver simulator.

[0071] Example 2

[0072] like Figure 2-4 As shown, the present invention is a method for detecting a resolver simulator, which further discloses the method of using the resolver simulator in Embodiment 1, including the following steps:

[0073] S1. A serial communication protocol is used to connect the motor controller and the resolver simulator. The resolver simulator obtains the excitation signal output by the resolver circuit in the motor controller and converts it into the corresponding sine and cosine signals.

[0074] The S2.DSP board receives the excitation signal, directly calculates and synthesizes it into a PWM waveform through the integrated circuits on the board, and then processes the rotation speed and angle through the multiplier and transmits it to the signal modulation module.

[0075] S3. The signal amplitude and rotation speed preset on the signal modulation module generate four analog trigonometric function signals, and the waveform of the resolver signal is displayed on the LCD panel connected to the TTL interface on the DSP board.

[0076] S4. At the same time, the resolver simulator has a built-in DAC chip to detect the operating temperature of the resolver, outputs a simulated temperature signal in the form of current and voltage output, and outputs the simulated temperature value on the LCD panel display.

[0077] S5. By using an external PWM module on the DSP board and employing a signal modulation circuit module and a communication module, configuration information parameters such as rotational speed, angle, acceleration, fault injection amplitude, and fault injection phase deviation are configured to achieve basic analog detection and fault injection functions.

[0078] In this embodiment of the invention, in step S2, the integrated circuits deployed on the DSP board include a power supply circuit, which is controlled by a power supply circuit module. The power supply circuit includes a chopper circuit and a conversion circuit, which are connected in series. A grounding wire with several series capacitors is deployed between the chopper circuit and the conversion circuit to stabilize the voltage and ensure that the internal structural modules of the entire rotary transformer simulator can work normally. Specifically, when the motor controller is connected to the power supply, a transformer is used to convert 220V AC to 15V AC. When the motor starts running and transmits voltage to the rotary transformer simulator, the chopper circuit is used to convert the AC to DC. After ballast treatment, a 15V DC voltage is obtained, which is then processed by the conversion circuit to obtain a working voltage of 3.3V and 1.9V.

[0079] In this embodiment of the invention, in step S4, the integrated circuit deployed on the DAC chip includes a temperature simulation circuit. Six identical temperature simulation outputs are pre-integrated in the resolver simulator to convert the voltage signal received by the DAC chip into temperature.

[0080] In this embodiment of the invention, in step S5, the integrated circuit deployed on the signal modulation circuit module includes a signal modulation circuit. Three sets of six identical resolver signal generators are pre-integrated in the resolver simulator. The number of resolver signal generators is not limited, and the preset parameters are set by those skilled in the art according to the actual situation. The PWM signal and excitation voltage generated by the DSP are processed by the multiplier, and the base frequency signal connected to the motor controller is modulated by the analog trigonometric function signal to form two resolver signals to ground and output them.

[0081] In the several embodiments provided by the present invention, it should be understood that the disclosed system can be implemented in other ways; for example, the embodiments of the invention described above are merely illustrative, for example, the division of modules is merely a logical functional division, and there may be other division methods in actual implementation.

[0082] The modules described as separate components may or may not be physically separate. The components shown as modules may or may not be physical modules. That is, they may be located in one place or distributed across multiple network modules. Some or all of the modules may be selected to achieve the purpose of this embodiment according to actual needs.

[0083] In addition, the functional modules in the various embodiments of the present invention can be integrated into one processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The integrated module can be implemented in hardware or in the form of hardware plus software functional modules.

[0084] The single-excitation resolver measures motor speed and angle by modulating the amplitude of the signal. By setting the PWM module and the signal modulation circuit module, the fault injection function is realized. Furthermore, by injecting the parameters of the modulation signal into the resolver simulator, the excitation signal transmitted from the motor controller is subjected to negative feedback control of the resolver signal, thereby achieving the purpose of testing the robustness of the motor controller under different working conditions and abnormal working conditions.

[0085] The resolver simulator and its detection method proposed in this invention, by setting up a DSP board, DAC chip, multiplier, and PWM module and signal modulation module in the dual-excitation resolver simulator, not only simulates the operating state of the motor angular velocity and angular displacement, but also simulates the real-time temperature change of the motor during operation. This makes the dual-excitation resolver simulator have the effects of fast simulation test speed, low delay and high accuracy.

[0086] By configuring the PWM module and signal modulation circuit module, fault injection functionality was achieved. Furthermore, by injecting modulation signal parameters into the resolver simulator, the excitation signal received from the motor controller was subjected to negative feedback control of the resolver signal. This achieved the goal of testing the robustness of the motor controller under different operating conditions and abnormal conditions.

[0087] It will be apparent to those skilled in the art that the present invention is not limited to the details of the above exemplary embodiments, and that the present invention can be implemented in other specific forms without departing from the basic characteristics of the present invention. Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and not to limit it. Although the present invention has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions can be made to the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention.

Claims

1. A rotary transformer simulator, characterized by: Receive double excitation signal from motor controller, including DSP module, DAC chip, hardware operator, display screen, communication module, PWM module, signal modulation circuit module and power supply circuit module; The DSP module is used for processing and controlling the DAC chip, PWM module and the operation logic of each module in the double excitation rotary transformer simulator, and generating simulated motor speed and angle signals. The DAC chip is used for establishing an accurate temperature-signal conversion model, converting the digital signal generated by the DSP board into an analog signal, and integrating a temperature analog output circuit on the DAC chip to simulate the corresponding temperature change of the high-speed rotating double excitation rotary transformer. The hardware operator uses a multiplication operator to multiply the PWM waveform signal generated by the DSP board and the excitation signal provided by the motor controller. The PWM module simulates the output of the PWM wave by adjusting the pulse width of the signal according to the PWM wave signal value calculated by the DSP, in combination with the power supply circuit. The signal modulation circuit module modulates the signals output by the hardware operation module after the two different excitation signals are operated with the PWM module using the orthogonal method.

2. A rotary union simulator according to claim 1, wherein: The temperature-electric signal conversion model is used for simulating temperature change of the motor in real time, and provides an analog signal of the temperature sensor to the motor controller. Since the output voltage is proportional to the absolute temperature, the calculation formula of the temperature-electric signal conversion model is as follows: , wherein, is a conversion coefficient of temperature and voltage, is an analog detected temperature value, is an excitation signal, is an induction signal, is a temperature compensation constant, and is generally 16 ℃ / 25 ℃.

3. A rotary union simulator as defined in claim 2, wherein: According to the temperature-signal conversion model, different voltage values can be input to simulate different temperature states of the motor during operation, and output to the motor controller for processing different working conditions in combination with the motor speed and other conditions.

4. A rotary union simulator as defined in claim 1, wherein: The PWM module, the signal modulation circuit module and the PWM module utilize trigonometric functions for adjustment calculation to obtain the rotation speed and angle of the measured rotating object, wherein the rotation speed algorithm formula is: , , wherein, is the speed value in the Y-axis direction, is the amplitude of the controlled vibration, is the input angle value parameter for calculating the angle in the sine function and the cosine function, is the correction constant, is the speed value in the Z-axis direction; the angle algorithm formula is: , , wherein, is the angle value in the Y-axis direction, is the input angle calibration parameter for calculating the angle when calculating the Y angle and the Z angle, is the angle value in the Y-axis direction, is the amplitude of the controlled vibration, is the correction constant, used for realizing the analog detection basic function and the fault injection function.

5. A rotary union simulator as defined in claim 1, wherein: The communication module includes a serial communication protocol, a TTL interface and a hardware circuit, which is used for communication with the motor controller and signal input and output between the modules in the rotary transformer simulator.

6. A rotary union simulator as defined in claim 1, wherein: The communication protocol includes CAN signal control interface and RS232 signal control interface, and supports CAN signal control interface between motor controller and rotary transformer simulator, provides control DBC, supports RS232 signal control interface in Modbus communication protocol, and supports network communication interface. The communication protocol connects the display screen through the TTL interface, converts the PWM signal processed by the DSP board into a digital signal and then into a TTL signal, and transmits it to the display screen. The PWM module is based on preset signal amplitude and rotating speed, generates six independent output signal channels, each channel simulates a trigonometric function signal, and the simulated trigonometric function formula is , , wherein 、 are values at specific times, , is an amplitude, is a frequency, is a time variable, is a phase; The display screen is used to receive TTL signals and display the running state of the double excitation rotary transformer simulator, including angular displacement and angular velocity, temperature parameters and debugging information.

7. A rotary transformer simulator detection method, applied to the rotary transformer simulator of any one of claims 1-7, characterized in that: The power supply circuit module supplies power to the DSP board, DAC chip, hardware operator and modules in the rotary transformer simulator. The steps are as follows: S1: Connect the motor controller and the rotary transformer simulator using the serial communication protocol, and the rotary transformer simulator obtains the excitation signal output by the rotary transformer circuit in the motor controller and converts it into corresponding sine and cosine signals; S2: The DSP board receives the excitation signal and directly operates and synthesizes it into a PWM waveform through the integrated circuit on the board, and transmits it to the signal modulation module after calculating and processing the speed and angle by the multiplication operator; S3: The signal modulation module generates four analog triangular function signals through the quadrature modulation circuit, and displays the waveform of the double excitation rotary transformer signal through the display screen connected by the TTL interface on the DSP board. S4: At the same time, the DAC chip in the rotary transformer simulator simulates the motor temperature value under different working conditions according to the user input; S5: The PWM module on the DSP board card is used to configure the rotating speed, angle, acceleration, fault injection amplitude and fault injection configuration information parameters by using the communication module, so as to realize the basic simulation detection function and the fault injection function.

8. The rotary transducer analog detection method of claim 7, wherein: In the step S2, the integrated circuit arranged on the DSP board card includes a power supply circuit, and the power supply circuit is controlled by a power supply circuit module; the power supply circuit further includes a chopper circuit and a conversion circuit, and the chopper circuit and the conversion circuit are connected in series; a plurality of grounding lines of series capacitors are arranged between the chopper circuit and the conversion circuit, and are used to stabilize the voltage to ensure that the internal structure modules of the rotary transformer simulator can work normally.

9. The rotary transducer analog detection method of claim 7, wherein: In the step S4, the integrated circuit arranged on the DAC chip includes a temperature simulation circuit, and six same temperature simulation outputs are integrated in the rotary transformer simulator; the voltage electric signal received by the DAC chip is converted into temperature.

10. The rotary transducer analog detection method of claim 7, wherein: In the step S5, the integrated circuit arranged on the signal modulation circuit module includes a signal modulation circuit; two groups of four same rotary transformer signal generators are integrated in the rotary transformer simulator; the PWM signal and the excitation voltage generated by the DSP are processed by a multiplier; the base frequency signal inputted by the motor controller is modulated by combining the analog trigonometric function signal and the quadrature modulation circuit, so as to form two rotary transformer signals to ground and output.