An eddy current simulation device and test system
By using an eddy current simulation device and testing system, digital voltage signals of eddy currents corresponding to the fault type are generated and converted into eddy current waveform signals, which solves the problem of blind spots in motor controller testing and realizes comprehensive testing and fault diagnosis support for motor controllers.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- SUZHOU YINGTEMO AUTOMOBILE TECH CO LTD
- Filing Date
- 2026-01-30
- Publication Date
- 2026-05-29
AI Technical Summary
Existing eddy current position sensors cannot simulate motor signals for various motor operating conditions, resulting in blind spots in the fault tolerance and robustness testing of motor controllers.
An eddy current simulation device and testing system are provided. The main control unit generates eddy current digital voltage signals corresponding to the fault type, and the digital-to-analog converter generates eddy current waveform signals to realize the simulation of various fault types.
It fills the gap in the testing coverage of motor controllers and is suitable for functional verification, fault diagnosis algorithm testing and testable design optimization of motor controllers, thereby improving the robustness verification and fault diagnosis capabilities of motor controllers.
Smart Images

Figure CN121595925B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of test simulation technology, specifically to an eddy current simulation device and test system. Background Technology
[0002] In the field of motor testing and simulation technology, speed signal simulation is the core link in motor control system debugging, speed sensor performance verification and motor fault analysis. Among them, resolver waveforms and eddy current waveforms are the two most widely used speed signal carriers, which are adapted to the testing needs of different types of motors such as synchronous motors and asynchronous motors.
[0003] Against the backdrop of the rapid development of the new energy vehicle industry, motor controllers, as core components, are experiencing continuous increases in functional complexity and integration, leading to an increasingly urgent need for improved testing efficiency and coverage. Eddy current position sensors, as key sensing elements in motor closed-loop control, are responsible for real-time output of core signals such as speed and angle; the accuracy of these signals directly determines the motor control precision and system reliability.
[0004] However, when existing eddy current position sensors simulate motor signals for motor control system verification scenarios, they can only simulate basic signals and cannot be applied to the simulation of various motor operating conditions, resulting in blind spots in the fault tolerance and robustness testing of motor controllers. Summary of the Invention
[0005] The purpose of this invention is to provide an eddy current simulation device and testing system, which can simulate eddy current waveforms of one or more fault types by adjusting the eddy current parameters, filling the test coverage blind spot of motor controllers. It is applicable to functional verification, fault diagnosis algorithm testing and testability design optimization of motor controllers, and provides comprehensive support for robustness verification and fault diagnosis algorithm testing of motor controllers.
[0006] To achieve the above objectives, the present invention provides an eddy current simulation device comprising: a main control unit and a digital-to-analog converter; the main control unit is used to generate an eddy current digital voltage signal corresponding to the fault type indicated by the received eddy current parameters, wherein the eddy current parameters include: fault type information to be simulated; the digital-to-analog converter is further used to perform digital-to-analog conversion on the received eddy current digital voltage signal to obtain the eddy current waveform signal to be simulated.
[0007] The present invention also provides a testing system, comprising: a host computer, a motor controller under test, and the aforementioned eddy current simulation device; the host computer is used to send eddy current parameters to the eddy current simulation device; the eddy current simulation device is used to output eddy current waveform signals to the motor controller based on the eddy current parameters.
[0008] In one embodiment,
[0009] The main control unit determines the following eddy current digital voltage signal when the fault type is a fault-free mode:
[0010] ;
[0011] ;
[0012] ;
[0013] ;
[0014] Among them, EC SINP EC represents the positive voltage of the sinusoidal differential component in the eddy current digital voltage signal. SINN EC represents the negative voltage of the sinusoidal differential component in the eddy current digital voltage signal. COSP EC represents the positive cosine wave signal in the eddy current digital voltage signal. COSP EC represents the negative component of the cosine wave signal in the eddy current digital voltage signal. spd EC represents the rotational speed of the eddy current waveform in the eddy current parameters. peak EC represents the peak-to-peak value of the single-ended waveform of the eddy current in the eddy current parameters. offset EC represents the single-end waveform offset value of the eddy current in the eddy current parameters. PP The number of pole pairs of the eddy current waveform in the eddy current digital voltage signal is represented by t, where t represents the current time.
[0015] In one embodiment, the eddy current parameters further include: the phase difference of the eddy current waveform;
[0016] The main control unit determines the following eddy current digital voltage signal when the fault type is eddy current waveform phase difference:
[0017] ;
[0018] ;
[0019] ;
[0020] ;
[0021] Among them, EC SINP EC represents the positive voltage of the sinusoidal differential component in the eddy current digital voltage signal. SINN EC represents the negative voltage of the sinusoidal differential component in the eddy current digital voltage signal. COSPEC represents the positive voltage of the cosine differential component in the eddy current digital voltage signal. COSP EC represents the negative voltage of the cosine differential component in the eddy current digital voltage signal. spd EC represents the rotational speed of the eddy current waveform in the eddy current parameters. peak EC represents the peak-to-peak value of the single-ended waveform of the eddy current in the eddy current parameters. offset EC represents the single-end waveform offset value of the eddy current in the eddy current parameters. PP The value represents the number of pole pairs of the eddy current waveform in the eddy current digital voltage signal, t represents the current time, and Delta represents the phase difference of the eddy current waveform.
[0022] In one embodiment, the eddy current parameters further include: the amplitude coefficient at the sinusoidal end of the eddy current waveform and the amplitude coefficient at the cosine end of the eddy current waveform;
[0023] The main control unit is used to determine, when the fault type is eddy current waveform amplitude distortion, the eddy current digital voltage signal includes:
[0024] ;
[0025] ;
[0026] ;
[0027] ;
[0028] Among them, EC SINP EC represents the positive voltage of the sinusoidal differential component in the eddy current digital voltage signal. SINN EC represents the negative voltage of the sinusoidal differential component in the eddy current digital voltage signal. COSP EC represents the positive voltage of the cosine differential component in the eddy current digital voltage signal. COSP EC represents the negative voltage of the cosine differential component in the eddy current digital voltage signal. spd EC represents the rotational speed of the eddy current waveform in the eddy current parameters. peak EC represents the peak-to-peak value of the single-ended waveform of the eddy current in the eddy current parameters. offset EC represents the single-end waveform offset value of the eddy current in the eddy current parameters. PP The number of pole pairs of the eddy current waveform in the eddy current digital voltage signal is represented by t, which represents the current time. SINMagFactor represents the amplitude coefficient of the sine wave of the eddy current waveform, and COSMagFactor represents the amplitude coefficient of the cosine wave of the eddy current waveform.
[0029] In one embodiment, the eddy current parameters further include: the frequency of the spike interference pulse and the amplitude of the spike interference pulse;
[0030] The main control unit is used to determine, when the fault type is spike pulse interference, the eddy current digital voltage signal includes:
[0031] ;
[0032] ;
[0033] ;
[0034] ;
[0035] Among them, EC SINP EC represents the positive voltage of the sinusoidal differential component in the eddy current digital voltage signal. SINN EC represents the negative voltage of the sinusoidal differential component in the eddy current digital voltage signal. COSP EC represents the positive voltage of the cosine differential component in the eddy current digital voltage signal. COSP EC represents the negative voltage of the cosine differential component in the eddy current digital voltage signal. spd EC represents the rotational speed of the eddy current waveform in the eddy current parameters. peak EC represents the peak-to-peak value of the single-ended waveform of the eddy current in the eddy current parameters. offset EC represents the single-end waveform offset value of the eddy current in the eddy current parameters. PP The number of eddy current waveform pole pairs in the eddy current digital voltage signal represents the current time, EC. spile This represents the spike pulse waveform obtained based on the spike interference pulse frequency and the spike interference pulse amplitude.
[0036] In one embodiment, the main control unit is used for:
[0037] When the fault type is a short circuit to ground in the forward voltage of the sinusoidal differential portion, the output eddy current digital voltage signal is determined to include: EC SINP =0;
[0038] When the fault type is a short circuit between the forward voltage of the sinusoidal differential portion and the power supply, the output eddy current digital voltage signal is determined to include: EC SINP =5V;
[0039] Among them, EC SINP This represents the positive sinusoidal signal in the eddy current digital voltage signal.
[0040] In one embodiment, the main control unit is used for:
[0041] When the fault type is a short circuit to ground in the negative voltage of the sinusoidal differential portion, the output eddy current digital voltage signal is determined to include: EC SINN =0;
[0042] When the fault type is a short circuit to the power supply due to the negative voltage of the sinusoidal differential portion, the output eddy current digital voltage signal is determined to include: EC SINN =5V;
[0043] Among them, EC SINN This represents the negative voltage of the sinusoidal differential component in the eddy current digital voltage signal.
[0044] In one embodiment, the main control unit is used for:
[0045] When the fault type is a short circuit to ground in the forward voltage of the cosine differential portion, the output eddy current digital voltage signal is determined to include: EC COSP =0;
[0046] When the fault type is a short circuit between the forward voltage of the cosine differential portion and the power supply, the output eddy current digital voltage signal is determined to include: EC COSP =5V;
[0047] Among them, EC COSP This represents the positive voltage of the cosine differential component in the eddy current digital voltage signal.
[0048] In one embodiment, the main control unit is used for:
[0049] When the fault type is a short circuit to ground in the negative voltage of the cosine differential portion, the output eddy current digital voltage signal is determined to include: EC COSN =0;
[0050] When the fault type is a short circuit to the power supply due to the negative voltage of the cosine differential portion, the output eddy current digital voltage signal is determined to include: EC COSN =5V;
[0051] Among them, EC COSN This represents the negative voltage of the cosine differential component in the eddy current digital voltage signal. Attached Figure Description
[0052] Figure 1 This is a schematic diagram of the eddy current simulation device in the first embodiment of the present invention;
[0053] Figure 2 This is a schematic diagram of the eddy current waveform signal of the eddy current simulation device in the fault-free mode according to the first embodiment of the present invention.
[0054] Figure 3 This is a schematic diagram of the eddy current waveform signal of the eddy current simulation device in the first embodiment of the present invention when the fault type is eddy current waveform phase difference.
[0055] Figure 4 This is a schematic diagram of the eddy current waveform signal of the eddy current simulation device in the first embodiment of the present invention when the fault type is eddy current waveform amplitude distortion.
[0056] Figure 5 This is a schematic diagram of the eddy current waveform signal of the eddy current simulation device in the first embodiment of the present invention when the fault type is spike pulse interference. Detailed Implementation
[0057] The embodiments of the present invention will be described in detail below with reference to the accompanying drawings to provide a clearer understanding of the purpose, features, and advantages of the present invention. It should be understood that the embodiments shown in the drawings are not intended to limit the scope of the present invention, but are merely illustrative of the essential spirit of the technical solution of the present invention.
[0058] In the following description, certain specific details are set forth for the purpose of illustrating various disclosed embodiments in order to provide a thorough understanding of the various disclosed embodiments. However, those skilled in the art will recognize that embodiments may be practiced without one or more of these specific details. In other instances, well-known apparatuses, structures, and techniques associated with this application may not have been shown or described in detail to avoid unnecessarily obscuring the description of the embodiments.
[0059] Unless the context requires otherwise, throughout the specification and claims, the word “comprising” and its variations, such as “including” and “having”, shall be understood to have an open, inclusive meaning, that is, to be interpreted as “including, but not limited to”.
[0060] Throughout this specification, references to "an embodiment" or "an embodiment" indicate that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment. Therefore, the appearance of "in an embodiment" or "an embodiment" in various places throughout the specification does not necessarily refer to the same embodiment. Furthermore, a particular feature, structure, or characteristic may be combined in any manner in one or more embodiments.
[0061] The singular forms “a” and “” used in this specification and the appended claims include plural references unless otherwise expressly stated herein. It should be noted that the term “or” is generally used to mean “or / and” unless otherwise expressly stated herein.
[0062] In the following description, in order to clearly demonstrate the structure and working method of the present invention, a number of directional terms will be used. However, terms such as "front", "back", "left", "right", "outside", "inside", "outward", "inward", "up", and "down" should be understood as convenient terms and not as limiting terms.
[0063] The first embodiment of the present invention relates to an eddy current simulation device for measuring motor measurement signals obtained by an eddy current sensor, including: speed information and angle information of motor rotation; the motor measurement signals simulated by the eddy current simulation device can be used to test the motor controller, and the test items are, for example, the test of the motor controller performing various control functions on the motor; it is applicable to rotating machinery test scenarios such as steam turbine units and industrial robots equipped with eddy current position sensors.
[0064] Please refer to Figure 1 The eddy current simulation device 10 includes a main control unit 1 and a digital-to-analog converter 2 connected by communication. The main control unit 1 is, for example, a chip with processing capabilities such as a DSP digital signal processing chip or an FPGA chip. Furthermore, when testing the motor controller, the main control unit 1 is connected to a host computer 20 (e.g., an electronic device such as a server or desktop computer), and the digital-to-analog converter 2 is connected to an external motor controller 30.
[0065] The host computer 20 and the main control unit 1 can communicate via at least one communication method such as CAN bus, Ethernet, or serial port. During testing, the host computer 20 sends eddy current parameters to the main control unit 1. The eddy current parameters include: eddy current signal speed EC. spd eddy current signal pole pair number EC PP eddy current single-ended waveform peak EC peak And information on the fault types to be simulated; in addition, the eddy current parameters also include the eddy current single-end waveform offset value EC. offset The fault type information includes the fault parameters of the fault type that needs to be simulated. In other words, the fault type information indicates the fault type. If the fault type information does not contain any fault parameters (e.g., all fault parameters are 0 or empty), then the current mode is determined to be fault-free.
[0066] The main control unit 1 generates an eddy current digital voltage signal corresponding to the fault type indicated by the received eddy current parameters. Specifically, based on the fault type to be simulated and fixed eddy current parameters (including: eddy current signal rotation speed, eddy current signal pole pair number, and eddy current single-ended waveform), the main control unit 1 calculates the voltage of the sinusoidal differential component and the voltage of the cosine differential component of the eddy current digital voltage signal in real time at preset time intervals. The preset time interval represents the time interval at which the main control unit 1 calculates the voltage value in the eddy current digital voltage signal, such as 1 microsecond, 2 microseconds, etc. Subsequently, the eddy current digital voltage signal is sent to the digital-to-analog converter 2.
[0067] When the fault type is fault-free mode, the eddy current digital voltage signal determined by the main control unit 1 includes:
[0068] ;
[0069] ;
[0070] ;
[0071] ;
[0072] Among them, EC SINP EC represents the positive voltage of the sinusoidal differential component in the eddy current digital voltage signal. SINN EC represents the negative voltage of the sinusoidal differential component in the eddy current digital voltage signal. COSP EC represents the positive cosine wave signal in the eddy current digital voltage signal. COSP EC represents the negative component of the cosine wave signal in the eddy current digital voltage signal. spd EC represents the rotational speed of the eddy current waveform in the eddy current parameters. peak EC represents the peak-to-peak value of the single-ended waveform of the eddy current in the eddy current parameters. offset EC represents the single-end waveform offset value of the eddy current in the eddy current parameters. PP The value represents the number of pole pairs of the eddy current waveform in the digital voltage signal, and t represents the current time. Additionally, pi represents π, which will not be discussed further.
[0073] The digital-to-analog converter 2 is used to convert the received eddy current digital voltage signal into an analog signal to obtain the required simulated eddy current waveform signal. Specifically, the digital-to-analog converter 2 acts as a signal generation module, converting the voltage value of the eddy current digital voltage signal into an eddy current waveform signal, which includes a sine differential waveform signal and a cosine differential waveform signal, and then sending the eddy current waveform signal to the external motor controller 30.
[0074] Based on the above, in fault-free mode, the positive voltage EC of the sinusoidal differential portion of the eddy current digital voltage signal calculated by the main control unit 1 is... SINP Negative voltage EC SINN And the forward voltage EC of the cosine differential part COSP Negative voltage EC COSN The eddy current digital voltage signal is converted from digital to analog by digital-to-analog converter 2 to obtain the eddy current waveform signal. Please refer to [reference needed]. Figure 2 The eddy current waveform signal includes: a sinusoidal differential waveform signal and a cosine differential waveform signal. The sinusoidal differential waveform signal includes a positive portion SIN+ and a negative portion SIN-, and the cosine differential waveform signal includes a positive portion COS+ and a negative portion COS-. The positive voltage EC... SINP After digital-to-analog conversion, the positive component SIN+ and the negative voltage EC are formed. SINN After digital-to-analog conversion, the negative component SIN- and the positive voltage EC are generated. COSP After digital-to-analog conversion, a positive voltage COS+ and a negative voltage EC are generated. COSN After digital-to-analog conversion, the negative part COS- is formed.
[0075] In this embodiment, the eddy current parameters received by the main control unit include fault type information to be simulated. This fault type information indicates the type of fault to be simulated. The main control unit can generate an eddy current digital voltage signal corresponding to the fault type based on the eddy current parameters. Then, the digital-to-analog converter 2 performs digital-to-analog conversion on this eddy current digital voltage signal to obtain the required eddy current waveform signal. Therefore, by adjusting the eddy current parameters, eddy current waveform simulation for one or more fault types can be achieved, filling the test coverage blind spot of the motor controller. This is suitable for functional verification, fault diagnosis algorithm testing, and testability design optimization of the motor controller, providing comprehensive support for robustness verification and fault diagnosis algorithm testing of the motor controller.
[0076] Furthermore, this embodiment only requires a main control unit and a digital-to-analog converter chip (digital-to-analog converter 2) to simulate various eddy current signals, which greatly reduces the cost of core hardware.
[0077] The following sections provide explanations for various fault types:
[0078] 1. When the fault type is eddy current waveform phase difference, the eddy current parameter also includes: eddy current waveform phase difference Delta. At this time, the phase shift scenario caused by interference in the signal transmission link of the eddy current position sensor or aging of the core components can be simulated.
[0079] The eddy current digital voltage signal determined by the main control unit 1 includes:
[0080] ;
[0081] ;
[0082] ;
[0083] ;
[0084] Among them, EC SINP EC represents the positive voltage of the sinusoidal differential component in the eddy current digital voltage signal. SINN EC represents the negative voltage of the sinusoidal differential component in the eddy current digital voltage signal. COSP EC represents the positive voltage of the cosine differential component in the eddy current digital voltage signal. COSP EC represents the negative voltage of the cosine differential component in the eddy current digital voltage signal. spd EC represents the rotational speed of the eddy current waveform in the eddy current parameters. peak EC represents the peak-to-peak value of the single-ended waveform of the eddy current in the eddy current parameters. offset EC represents the single-end waveform offset value of the eddy current in the eddy current parameters. PP The value represents the number of pole pairs of the eddy current waveform in the eddy current digital voltage signal, t represents the current time, and Delta represents the phase difference of the eddy current waveform.
[0085] Among them, due to the peak-to-peak value of the single-ended waveform of the eddy current EC peak It is adjustable, thus enabling flexible adjustment of the amplitude of the eddy current signal, and can adapt to dynamic amplitude adjustment under different testing requirements.
[0086] Under the fault type of eddy current waveform phase difference, the eddy current digital voltage signal calculated by the main control unit 1 is converted from digital to analog by the digital-to-analog converter 2, resulting in the eddy current waveform signal as follows: Figure 3 As shown, the sinusoidal differential waveform signal of the eddy current waveform signal includes a positive part SIN+ and a negative part SIN-, and the cosine differential waveform signal includes a positive part COS+ and a negative part COS-. There is a 20° phase difference between the sinusoidal differential waveform signal and the cosine differential waveform signal.
[0087] 2. When the fault type is eddy current waveform amplitude distortion, the eddy current parameters also include: the amplitude coefficient SINMagFactor at the sine end of the eddy current waveform and the amplitude coefficient COSMagFactor at the cosine end of the eddy current waveform. At this time, the amplitude asymmetry caused by the dynamic change of the eddy current position sensor signal detection gap or the loss of internal components can be simulated.
[0088] The eddy current digital voltage signal determined by the main control unit 1 includes:
[0089] ;
[0090] ;
[0091] ;
[0092] ;
[0093] Among them, EC SINP EC represents the positive voltage of the sinusoidal differential component in the eddy current digital voltage signal. SINN EC represents the negative voltage of the sinusoidal differential component in the eddy current digital voltage signal. COSP EC represents the positive voltage of the cosine differential component in the eddy current digital voltage signal. COSP EC represents the negative voltage of the cosine differential component in the eddy current digital voltage signal. spd EC represents the rotational speed of the eddy current waveform in the eddy current parameters. peak EC represents the peak-to-peak value of the single-ended waveform of the eddy current in the eddy current parameters. offset EC represents the single-end waveform offset value of the eddy current in the eddy current parameters. PP The number of pole pairs of the eddy current waveform in the eddy current digital voltage signal is represented by t, which represents the current time. SINMagFactor represents the amplitude coefficient of the sine wave of the eddy current waveform, and COSMagFactor represents the amplitude coefficient of the cosine wave of the eddy current waveform.
[0094] Under fault conditions involving eddy current waveform amplitude distortion, the eddy current digital voltage signal calculated by the main control unit 1 is converted from a digital-to-analog converter 2 to obtain the eddy current waveform signal; for example, please refer to... Figure 3 The diagram shows a sinusoidal differential waveform signal of an eddy current waveform signal, including a positive portion SIN+ and a negative portion SIN- (waveform amplitude undistorted), and a cosine differential waveform signal, including a distorted positive portion COS+ and a distorted negative portion COS- after waveform amplitude distortion.
[0095] 3. When the fault type is spike pulse interference, the eddy current parameters further include: spike interference pulse frequency and spike interference pulse amplitude. In this case, the spike pulse waveform EC can be obtained based on the spike interference pulse frequency and the spike interference pulse amplitude. spile It can simulate signal interference scenarios caused by instantaneous electromagnetic pulses or power supply system fluctuations in motor equipment;
[0096] The eddy current digital voltage signal determined by the main control unit 1 includes:
[0097] ;
[0098] ;
[0099] ;
[0100] ;
[0101] Among them, EC SINP EC represents the positive voltage of the sinusoidal differential component in the eddy current digital voltage signal. SINN EC represents the negative voltage of the sinusoidal differential component in the eddy current digital voltage signal. COSP EC represents the positive voltage of the cosine differential component in the eddy current digital voltage signal. COSP EC represents the negative voltage of the cosine differential component in the eddy current digital voltage signal. spd EC represents the rotational speed of the eddy current waveform in the eddy current parameters. peak EC represents the peak-to-peak value of the single-ended waveform of the eddy current in the eddy current parameters. offset EC represents the single-end waveform offset value of the eddy current in the eddy current parameters. PP The number of eddy current waveform pole pairs in the eddy current digital voltage signal represents the current time, EC. spile This represents the spike pulse waveform obtained based on the spike interference pulse frequency and the spike interference pulse amplitude.
[0102] For example, the spike pulse waveform EC spile The calculation formula is as follows:
[0103]
[0104] Among them, SP freq SP represents the frequency of the spike interference pulse. amp SP represents the amplitude of the spike interference pulse. ts To SP ts +SP to This indicates the time period during which spike pulse interference exists.
[0105] Under the fault type of spike pulse interference, the eddy current digital voltage signal calculated by the main control unit 1 is converted from digital to analog by the digital-to-analog converter 2, resulting in the eddy current waveform signal after the original eddy current waveform and the spike pulse interference are superimposed; please refer to Figure 4 The diagram illustrates the positive portion SIN+ of the sinusoidal differential waveform signal in the eddy current waveform signal.
[0106] 4. When the fault type is a short circuit to ground in the forward voltage of the sinusoidal differential portion, the main control unit 1 determines that the output eddy current digital voltage signal includes: EC SINP =0;
[0107] When the fault type is a short circuit to the power supply in the forward voltage of the sinusoidal differential portion, the main control unit 1 determines that the output eddy current digital voltage signal includes: EC SINP =5V;
[0108] Among them, EC SINP This represents the positive voltage of the sinusoidal differential component in the eddy current digital voltage signal.
[0109] For the negative voltage EC of the sinusoidal differential component of the eddy current digital voltage signal SINN The forward voltage EC of the cosine differential component COSP Negative voltage EC COSN The procedures are the same as in the no-fault mode, and can be referred to the above content, so they will not be elaborated here.
[0110] 5. When the fault type is a short circuit to ground in the negative voltage of the sinusoidal differential portion, the main control unit 1 determines that the output eddy current digital voltage signal includes: EC SINN =0;
[0111] When the fault type is a short circuit to the power supply due to the negative voltage of the sinusoidal differential portion, the main control unit 1 determines that the output eddy current digital voltage signal includes: EC SINN =5V;
[0112] Among them, EC SINN This represents the negative voltage of the sinusoidal differential component in the eddy current digital voltage signal.
[0113] For the positive voltage EC of the sinusoidal differential component included in the eddy current digital voltage signal SINP The forward voltage EC of the cosine differential component COSP Negative voltage EC COSN The procedures are the same as in the no-fault mode, and can be referred to the above content, so they will not be elaborated here.
[0114] 6. When the fault type is a short circuit to ground in the forward voltage of the cosine differential portion, the main control unit 1 determines that the output eddy current digital voltage signal includes: EC COSP =0;
[0115] When the fault type is a short circuit of the forward voltage of the cosine differential portion to the power supply, the main control unit 1 determines that the output eddy current digital voltage signal includes: EC COSP =5V;
[0116] Among them, ECCOSP This represents the positive voltage of the cosine differential component in the eddy current digital voltage signal.
[0117] For the positive voltage EC of the sinusoidal differential component included in the eddy current digital voltage signal SINP Negative voltage EC SINN The negative voltage EC of the cosine differential component COSN The procedures are the same as in the no-fault mode, and can be referred to the above content, so they will not be elaborated here.
[0118] 7. When the fault type is a short circuit to ground in the negative voltage of the cosine differential portion, the main control unit 1 determines that the output eddy current digital voltage signal includes: EC COSN =0;
[0119] When the fault type is a short circuit of the power supply due to the negative voltage of the cosine differential portion, the main control unit 1 determines that the output eddy current digital voltage signal includes: EC COSN =5V;
[0120] Among them, EC COSN This represents the negative voltage of the cosine differential component in the eddy current digital voltage signal.
[0121] For the positive voltage EC of the sinusoidal differential component included in the eddy current digital voltage signal SINP Negative voltage EC SINN The forward voltage EC of the cosine differential component COSP The procedures are the same as in the no-fault mode, and can be referred to the above content, so they will not be elaborated here.
[0122] The eddy current simulation device can simulate eddy current waveform signals of one or more of the above-mentioned fault types. It can reproduce typical faults such as sine / cosine signal short circuit, phase abnormality, amplitude imbalance and spike interference, which facilitates the verification of the fault diagnosis capability of the motor controller during testing.
[0123] The second embodiment of the present invention relates to a testing system for testing a motor controller. Please refer to [reference needed]. Figure 1 The testing system includes: an eddy current simulation device 10 as described in the first embodiment, a host computer 20, and a motor controller 30 under test. The eddy current simulation device 10 is communicatively connected to both the host computer 20 and the motor controller 30 under test. The motor measurement signals simulated by the eddy current simulation device 10 can be used to test the motor controller 30. Test items include, for example, testing the motor controller 30's various control functions on the motor. This system is suitable for testing rotating machinery equipped with eddy current position sensors, such as steam turbine units and industrial robots.
[0124] The host computer 20 and the main control unit 1 can communicate via at least one communication method such as CAN bus, Ethernet, or serial port. During testing, the host computer 20 sends eddy current parameters to the main control unit 1. The eddy current parameters include: eddy current signal speed EC. spd eddy current signal pole pair number EC PP eddy current single-ended waveform peak EC peak And information on the fault types to be simulated; in addition, the eddy current parameters also include the eddy current single-end waveform offset value EC. offset The fault type information includes the fault parameters of the fault type that needs to be simulated. In other words, the fault type information indicates the fault type. If the fault type information does not contain any fault parameters (e.g., all fault parameters are 0 or empty), then the current mode is determined to be fault-free.
[0125] The eddy current simulation device 10 is used to output eddy current waveform signals to the motor controller 30 based on the eddy current parameters, so as to test the motor controller 30. The test items are, for example, the test of the motor controller performing various control functions on the motor; wherein the eddy current waveform signal contains the speed information and angle information of the simulated motor rotation.
[0126] Since the first embodiment corresponds to this embodiment, this embodiment can be implemented in conjunction with the first embodiment. The relevant technical details mentioned in the first embodiment remain valid in this embodiment, and the technical effects achievable in the first embodiment can also be achieved in this embodiment. To reduce repetition, they will not be repeated here. Correspondingly, the relevant technical details mentioned in this embodiment can also be applied to the first embodiment.
[0127] The preferred embodiments of the present invention have been described in detail above, but it should be understood that, if necessary, aspects of the embodiments can be modified to utilize aspects, features, and concepts from various patents, applications, and publications to provide other embodiments.
[0128] In light of the detailed description above, these and other changes can be made to the embodiments. Generally, the terminology used in the claims should not be considered limited to the specific embodiments disclosed in the specification and claims, but should be understood to include all possible embodiments together with the full scope of equivalents enjoyed by these claims.
Claims
1. An eddy current simulation device, characterized in that, include: Main control unit and digital-to-analog converter; The main control unit is used to generate an eddy current digital voltage signal corresponding to the fault type based on the fault type indicated by the received eddy current parameters. The eddy current parameters include: fault type information to be simulated. The digital-to-analog converter is also used to convert the received eddy current digital voltage signal into an analog signal to obtain the required simulated eddy current waveform signal. The fault types include: fault-free mode; the fault types also include at least one of the following: eddy current waveform phase difference, eddy current waveform amplitude distortion, spike pulse interference, short circuit to ground and short circuit to power supply of the positive and negative voltages of the sinusoidal differential part, and short circuit to ground and short circuit to power supply of the positive and negative voltages of the cosine differential part. The main control unit determines the following eddy current digital voltage signal when the fault type is a fault-free mode: ; ; ; ; Among them, EC SINP EC represents the positive voltage of the sinusoidal differential component in the eddy current digital voltage signal. SINN EC represents the negative voltage of the sinusoidal differential component in the eddy current digital voltage signal. COSP EC represents the positive cosine wave signal in the eddy current digital voltage signal. COSN EC represents the negative component of the cosine wave signal in the eddy current digital voltage signal. spd EC represents the rotational speed of the eddy current waveform in the eddy current parameters. peak EC represents the peak-to-peak value of the single-ended waveform of the eddy current in the eddy current parameters. offset EC represents the single-end waveform offset value of the eddy current in the eddy current parameters. PP The number of pole pairs of the eddy current waveform in the eddy current digital voltage signal is represented by t, where t represents the current time.
2. The eddy current simulation device according to claim 1, characterized in that, The eddy current parameters also include: the phase difference of the eddy current waveform; The main control unit determines the following eddy current digital voltage signal when the fault type is eddy current waveform phase difference: ; ; ; ; Among them, EC SINP EC represents the positive voltage of the sinusoidal differential component in the eddy current digital voltage signal. SINN EC represents the negative voltage of the sinusoidal differential component in the eddy current digital voltage signal. COSP EC represents the positive voltage of the cosine differential component in the eddy current digital voltage signal. COSN EC represents the negative voltage of the cosine differential component in the eddy current digital voltage signal. spd EC represents the rotational speed of the eddy current waveform in the eddy current parameters. peak EC represents the peak-to-peak value of the single-ended waveform of the eddy current in the eddy current parameters. offset EC represents the single-end waveform offset value of the eddy current in the eddy current parameters. PP The value represents the number of pole pairs of the eddy current waveform in the eddy current digital voltage signal, t represents the current time, and Delta represents the phase difference of the eddy current waveform.
3. The eddy current simulation device according to claim 1, characterized in that, The eddy current parameters also include: the amplitude coefficient at the sinusoidal end of the eddy current waveform and the amplitude coefficient at the cosine end of the eddy current waveform; The main control unit is used to determine, when the fault type is eddy current waveform amplitude distortion, the eddy current digital voltage signal includes: ; ; ; ; Among them, EC SINP EC represents the positive voltage of the sinusoidal differential component in the eddy current digital voltage signal. SINN EC represents the negative voltage of the sinusoidal differential component in the eddy current digital voltage signal. COSP EC represents the positive voltage of the cosine differential component in the eddy current digital voltage signal. COSN EC represents the negative voltage of the cosine differential component in the eddy current digital voltage signal. spd EC represents the rotational speed of the eddy current waveform in the eddy current parameters. peak EC represents the peak-to-peak value of the single-ended waveform of the eddy current in the eddy current parameters. offset EC represents the single-end waveform offset value of the eddy current in the eddy current parameters. PP The number of pole pairs of the eddy current waveform in the eddy current digital voltage signal is represented by t, which represents the current time. SINMagFactor represents the amplitude coefficient of the sine wave of the eddy current waveform, and COSMagFactor represents the amplitude coefficient of the cosine wave of the eddy current waveform.
4. The eddy current simulation device according to claim 1, characterized in that, The eddy current parameters also include: the frequency of the spike interference pulse and the amplitude of the spike interference pulse; The main control unit is used to determine, when the fault type is spike pulse interference, the eddy current digital voltage signal includes: ; ; ; ; Among them, EC SINP EC represents the positive voltage of the sinusoidal differential component in the eddy current digital voltage signal. SINN EC represents the negative voltage of the sinusoidal differential component in the eddy current digital voltage signal. COSP EC represents the positive voltage of the cosine differential component in the eddy current digital voltage signal. COSN EC represents the negative voltage of the cosine differential component in the eddy current digital voltage signal. spd EC represents the rotational speed of the eddy current waveform in the eddy current parameters. peak EC represents the peak-to-peak value of the single-ended waveform of the eddy current in the eddy current parameters. offset EC represents the single-end waveform offset value of the eddy current in the eddy current parameters. PP The number of eddy current waveform pole pairs in the eddy current digital voltage signal represents the current time, EC. spile This represents the spike pulse waveform obtained based on the spike interference pulse frequency and the spike interference pulse amplitude.
5. The eddy current simulation device according to claim 1, characterized in that, The main control unit is used for: When the fault type is a short circuit to ground in the forward voltage of the sinusoidal differential portion, the output eddy current digital voltage signal is determined to include: EC SINP =0; When the fault type is a short circuit to the power supply in the forward voltage of the sinusoidal differential portion, the output eddy current digital voltage signal is determined to include: EC SINP =5V; Among them, EC SINP This represents the positive sinusoidal signal in the eddy current digital voltage signal.
6. The eddy current simulation device according to claim 1, characterized in that, The main control unit is used for: When the fault type is a short circuit to ground in the negative voltage of the sinusoidal differential portion, the output eddy current digital voltage signal is determined to include: EC SINN =0; When the fault type is a short circuit to the power supply due to the negative voltage of the sinusoidal differential portion, the output eddy current digital voltage signal is determined to include: EC SINN =5V; Among them, EC SINN This represents the negative voltage of the sinusoidal differential component in the eddy current digital voltage signal.
7. The eddy current simulation device according to claim 1, characterized in that, The main control unit is used for: When the fault type is a short circuit to ground in the forward voltage of the cosine differential portion, the output eddy current digital voltage signal is determined to include: EC COSP =0; When the fault type is a short circuit between the forward voltage of the cosine differential portion and the power supply, the output eddy current digital voltage signal is determined to include: EC COSP =5V; Among them, EC COSP This represents the positive voltage of the cosine differential component in the eddy current digital voltage signal.
8. The eddy current simulation device according to claim 1, characterized in that, The main control unit is used for: When the fault type is a short circuit to ground in the negative voltage of the cosine differential portion, the output eddy current digital voltage signal is determined to include: EC COSN =0; When the fault type is a short circuit to the power supply due to the negative voltage of the cosine differential portion, the output eddy current digital voltage signal is determined to include: EC COSN =5V; Among them, EC COSN This represents the negative voltage of the cosine differential component in the eddy current digital voltage signal.
9. A testing system, characterized in that, include: The host computer, the controller of the motor under test, and the eddy current simulation device according to any one of claims 1 to 8; The host computer is used to send eddy current parameters to the eddy current simulation device; The eddy current simulation device is used to output eddy current waveform signals to the motor controller based on the eddy current parameters.