Test method and related test system
Through real-time simulator, the accuracy and dynamic response test of the rotary transformer decoder is solved, and the problems of installation deviation and response delay are realized, and the high-precision rotary transformer decoder testing is achieved, which simplifies the test process and improves the accuracy of the test results. .
Patent Information
- Application Number
- CN201810132261.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2018-02-09
- Publication Date
- 2024-12-10
- Estimated Expiration
- 2038-02-09
AI Technical Summary
In the prior art, when testing a rotary transformer decoder, installation deviation and response delay lead to inaccurate decoding results, especially in high-speed situations, it is difficult to simulate ideal speed changes, affecting the testing of first-step speed and ramp speed.
The peripheral circuit of the rotary transformer decoder is tested using real-time simulator and dynamic response test of the decoder to digital converter. The ideal speed change is simulated through the real-time simulator, eliminate installation deviations, and use the Matlab decoding algorithm to judge the accuracy of the decoder. Spend.
It realizes the high-precision testing of the settings and decoding results of the rotation transformer decoder without the need for physical rotation transformer installation, avoiding the problems of installation deviation and response delay, and improving the convenience and accuracy of the test.
Smart Images

Figure CN110133392B_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a testing method and a related testing system, and in particular to a real-time simulation testing method and a related testing system. [Background technology]
[0002] When designing a resolver decoder for a resolver, it is necessary to test the correctness of the resolver decoder setting and the accuracy of the decoding result. The prior art usually directly couples the decoder to the actual resolver for testing. At this time, the resolver needs to be installed on the motor to test the resolver decoder. However, the existing test method for testing the resolver decoder has the following disadvantages. First, the installation deviation generated when a resolver is installed on a motor will affect the decoding result of the resolver decoder; secondly, when testing at high speed, the accuracy of the resolver decoder conversion result is required, and the resolver decoder must also be in a high-speed rotation situation. Therefore, the speed requirement for the towing stand of the motor test bench is also increased accordingly; in addition, even if the towing stand of the motor test bench can simulate a high-speed environment for a resolver on the motor, when the motor has a large response delay to the towing stand of the motor test bench, it is impossible to provide an ideal test environment to test a step velocity (Step Velocity) and a ramp velocity (Ramp Velocity) of the resolver decoder. Therefore, the existing test method for the resolver decoder does need to be improved. [Summary of the invention]
[0003] Therefore, the present invention provides a test method for a resolver decoder and a related test system thereof, which can more accurately and conveniently test the correctness of the resolver decoder setting and the accuracy of the decoding result in a real-time simulation manner.
[0004] The present invention discloses a testing method for a resolver decoder, comprising performing an accuracy test on a peripheral circuit setting of the resolver decoder to generate a first test result; performing a resolver to digital converter (RDC) dynamic response test on the resolver decoder to generate a second test result; and judging whether the resolver decoder passes the test according to the first test result and the second test result.
[0005] The present invention also discloses a test system, comprising a resolver decoder; and a real-time simulator, used to perform an accuracy test on a peripheral circuit setting of the resolver decoder to generate a first test result, and to perform a resolver-to-digital converter dynamic response test on the resolver decoder to generate a second test result, and to determine whether the resolver decoder passes the test based on the first test result and the second test result; and an oscilloscope, used to record multiple signals generated by the real-time simulator simulating the resolver decoder at a specified speed.
Brief Description of the Drawings
[0006] Figure 1 is a schematic diagram of a test system according to an embodiment of the present invention;
[0007] Figure 2 A schematic diagram of a test process according to an embodiment of the present invention;
[0008] Figure 3 A schematic diagram of an accuracy test process of the present invention;
[0009] Figure 4 is a schematic diagram of a resolver signal according to an embodiment of the present invention;
[0010] Figure 5 A schematic diagram of an accuracy test of a peripheral circuit arrangement according to an embodiment of the present invention;
[0011] Figure 6 It is a schematic diagram of a dynamic response test process of the present invention.
[0012] Reference numerals:
[0013] 10 - test system, 102 - real-time simulator, 104 - resolver decoder, 20, 30, 60 - process, 202, 204, 206, 208, 210, 302, 304, 306, 308, 310, 602, 604, 606, 608, 610 - steps. [Specific implementation method]
[0014] Please refer to Figure 1 , Figure 11 is a schematic diagram of a test system 10 according to an embodiment of the present invention. The test system 10 includes a real-time simulator 102, a resolver decoder 104 and an oscilloscope (not shown). The real-time simulator 102 is used to perform an accuracy test on a peripheral circuit setting of the resolver decoder 104 to generate a first test result, and to perform a resolver to digital converter (RDC) dynamic response test on the resolver decoder 104 to generate a second test result, and to determine whether the resolver decoder 104 passes the test based on the first test result and the second test result. The oscilloscope is used to record multiple signals generated by the real-time simulator 102 simulating the resolver decoder 104 at a rotation speed. In one embodiment, the real-time simulator 102 can test the accuracy of the rotary transformer decoder 104 to eliminate the error caused by the installation accuracy problem of a rotary transformer on a motor test bench, and the real-time simulator 102 can output an ideal rotary signal to simulate a speed change condition of an ideal step motor test bench, thereby testing the dynamic response of the rotary transformer decoder 104. For example, the real-time simulator 102 can simulate the actual speed accuracy and dynamic response parameters of the rotary transformer decoder 104 when the dragging rack on the motor test bench is 15,000 to 18,000 revolutions per minute (Revolution Per Minute, RPM). Then, the test system 10 determines whether the rotary transformer decoder 104 passes the test based on the results of the accuracy test and the dynamic response. In this way, the test system 10 of the present invention does not need to install the rotary transformer decoder 104 on a physical rotary transformer to test the rotary transformer decoder.
[0015] Please continue to refer to Figure 2 , Figure 2 FIG. 2 is a schematic diagram of a test process 20 according to an embodiment of the present invention. The test process 20 is applied to the test system 10 and includes the following steps:
[0016] Step 202: Start.
[0017] Step 204: Perform an accuracy test on the peripheral circuit settings of resolver decoder 104 to generate a first test result.
[0018] Step 206 : Perform a resolver-to-digital converter dynamic response test on the resolver decoder 104 to generate a second test result.
[0019] Step 208: Determine whether resolver decoder 104 passes the test according to the first test result and the second test result.
[0020] Step 210: End.
[0021] As can be seen from the above, according to the test process 20, the test system 10 can test the resolver decoder 104 without installing the resolver decoder 104 on a physical resolver. In one embodiment, in step 204, the accuracy test is first performed on the peripheral circuit setting of the resolver decoder 104 to generate a first test result. Then, in step 206, the resolver-to-digital converter dynamic response test is performed on the resolver decoder 104 to generate a second test result. Finally, in step 208, based on the above-mentioned first test result and the second test result, it is determined whether the resolver decoder 104 passes the test.
[0022] For the accuracy test of the peripheral circuit setting of the resolver decoder 104, please refer to Figure 3 , Figure 3 Schematic diagram of an accuracy test process 30 according to an embodiment of the present invention. The accuracy test process 30 includes the following steps:
[0023] Step 302: Start.
[0024] Step 304 : Determine a plurality of peripheral circuit parameters of resolver decoder 104 .
[0025] Step 306 : The real-time simulator 102 simulates a plurality of signals generated by the resolver decoder 104 at a specified rotation speed according to the peripheral circuit parameters.
[0026] Step 308: The real-time simulator 102 determines whether the resolver decoder is within an error range according to the generated signal.
[0027] Step 310: End.
[0028] According to the accuracy test process 30, the test system 10 can determine whether the resolver decoder 104 passes the first test result. First, in step 304, the peripheral circuit parameters of the resolver decoder 104 are determined (for example, the number of pole pairs is 2, and the conversion ratio is 0.286). Then, in step 306, the real-time simulator 102 simulates the signal generated by the resolver decoder 104 at a specified speed according to the determined peripheral circuit parameters, for example, the resolver signal sin, cos (i.e., a sine signal and a cosine signal) generated at a speed of 15,000 to 18,000 revolutions per minute, and uses an oscilloscope to store the generated resolver signal sin, cos as a comma-separated values (CSV) file. Finally, in step 308, the real-time simulator 102 determines whether the resolver decoder 104 is within the error range (for example, within plus or minus 10RPM) according to the generated signal. Specifically, the CSV file of the resolver signal sin and cos recorded by the oscilloscope can be used as the input value of a resolver-to-digital converter algorithm of Matlab, so that Matlab decodes an angle value and a speed value according to the resolver signal sin and cos, and judges whether the resolver decoder 104 is within the error range. Among them, the resolver-to-digital converter algorithm is based on an angle locking tracking algorithm and the resolver signal sin and cos to judge whether the resolver decoder 104 passes the test. In this case, when the calculation result of the peripheral circuit setting accuracy of the resolver decoder 104 is within the error range (i.e., plus or minus 10RPM), it means that the resolver decoder 104 meets the requirements of the first test result.
[0029] In one embodiment, the real-time simulator 102 can be implemented by a LabCAR real-time simulator, and connected to a rotary transformer of a motor controller to perform a real-time simulation test of hardware-in-the-loop (HIL). Among them, the LabCAR real-time simulator includes a rotary position sensor and a signal connection line, and the rotary transformer decoder 104 can be implemented by a rotary signal conversion chip AU6805, wherein the rotary signal conversion chip AU6805 also includes a signal conditioning circuit (Signal Conditioning Circuit) for converting the rotary signal sin and cos from the rotary position sensor, and converting the rotary signal sin and cos into a motor rotor (Motor Rotor) position angle value. Therefore, in this example, the signal conditioning circuit is the peripheral circuit of the rotary transformer decoder 104, and the oscilloscope is used to collect and store the rotary signal sin and cos of the rotary signal conversion chip AU6805, and then decode the angle value and speed value according to the rotary signal sin and cos through the resolver to digital converter algorithm in Matlab. In this case, when the rotation speed deviation decoded by the resolver signal conversion chip AU6805 and the error of the LabCAR real-time simulator are within plus or minus 10RPM, it is determined that the resolver signal conditioning circuit of the resolver decoder 104 is correctly set.
[0030] In another embodiment, please refer to Figure 4 and Figure 5 , Figure 4 Schematic diagram of resolver signals sin and cos according to an embodiment of the present invention, Figure 5 Schematic diagram of the accuracy test of the peripheral circuit of the embodiment of the present invention. Figure 4 As shown in the figure, the oscilloscope can measure the resolver signal sin and cos generated by the resolver signal conversion chip AU6805 and store its waveform, and then convert the resolver signal sin and cos into angle values through the Matlab resolver to digital converter algorithm. Figure 5 It can be found that the speed error of the simulation result is within plus or minus 5 RPM, that is, the peripheral circuit of the resolver decoder 104 meets the requirements of the accuracy test.
[0031] On the other hand, for the dynamic response test of the resolver-to-digital converter of the rotary transformer decoder 104, please refer to Figure 6 , Figure 6 FIG. 6 is a schematic diagram of a dynamic response test process 60 according to an embodiment of the present invention. The dynamic response test process 60 includes the following steps:
[0032] Step 602: Start.
[0033] Step 604 : Determine a plurality of internal parameters of resolver decoder 104 .
[0034] Step 606 : The real-time simulator 102 simulates the resolver decoder 104 at a specified speed according to the internal parameters to generate a simulation result.
[0035] Step 608: The real-time simulator 102 determines whether the resolver decoder 104 satisfies the dynamic response at the specified speed according to the simulation result.
[0036] Step 610: End.
[0037] As can be seen from the above, according to the dynamic response test process 60, the test system 10 can determine whether the resolver decoder 104 passes the second test result. First, in step 604, the internal parameters of the resolver decoder 104 are determined, then, in step 606, the real-time simulator 102 simulates the resolver decoder 104 at a specified speed to generate a simulation result, and finally, in step 608, it is determined whether the simulation result of the resolver decoder 104 at the specified speed meets the dynamic response. In one embodiment, the real-time simulator 102 can be implemented by a LabCAR real-time simulator, and the LabCAR real-time simulator can include an input / output board. The input / output board outputs an output signal to the motor test bench at a specified speed as a time synchronization signal, and uses an array to record the result of the conversion speed, thereby analyzing an actual speed, and judging whether the resolver decoder 104 meets the dynamic response at the specified speed.
[0038] In summary, the present invention provides a test method for a rotary transformer decoder and a related test system thereof, which eliminate the error caused by the installation accuracy problem of the rotary transformer on the physical motor in a real-time simulation manner. When testing the dynamic response of the rotary transformer decoder, there is no need to rely on the dragging stand of the motor test bench to avoid delays, and creatively applies Matlab simulation to the test process of the rotary transformer decoder to determine the accuracy of the peripheral conditioning circuit of the rotary transformer decoder, so that the test method and the related test system of the present invention can test the correctness of the setting of the rotary transformer decoder and the accuracy of the decoding result in a more accurate and convenient way.
[0039] The above description is only a preferred embodiment of the present invention. All equivalent changes and modifications made according to the scope of the patent application of the present invention should fall within the scope of the present invention.
Claims
1. A test method for a rotary transformer decoder, include: Performing an accuracy test on a peripheral circuit setting of the resolver decoder to generate a first test result; Performing a resolver to digital converter (RDC) dynamic response test on the rotary transformer decoder to generate a second test result; as well as According to the first test result and the second test result, determining whether the resolver decoder passes the test; The step of performing the accuracy test on the peripheral circuit setting of the resolver decoder comprises: Determining a plurality of peripheral circuit parameters of the resolver decoder, the peripheral circuit parameters including the number of pole pairs and the conversion ratio; A real-time simulator simulates a plurality of signals generated by the resolver decoder at a specified speed according to the plurality of peripheral circuit parameters, the plurality of signals comprising a sine signal and a cosine signal; and The real-time simulator determines whether the resolver decoder is within an error range according to the multiple signals, including: the real-time simulator determines whether the resolver decoder is within the error range according to a resolver-to-digital converter algorithm of Matlab and an angle value and a speed value decoded from the multiple signals; The step of performing the resolver-to-digital converter dynamic response test on the resolver decoder to generate a second test result includes: Determining a plurality of internal parameters of the resolver decoder; A real-time simulator simulates the resolver decoder at a specified speed to generate a simulation result according to the plurality of internal parameters; The real-time simulator determines, based on the simulation result, whether the resolver decoder satisfies a dynamic response at the specified speed, including: the real-time simulator analyzes an actual speed of the resolver decoder based on a time synchronization signal, and determines, based on the actual speed, whether the resolver decoder satisfies the dynamic response at the specified speed.
2. The test method according to claim 1, It is characterized in that The specified rotation speed is 15000 to 18000 revolutions per minute (RPM).
3. The test method of claim 1, wherein the resolver-to-digital converter algorithm determines whether the resolver decoder passes the test based on an angle lock tracking algorithm and the plurality of signals.
4. The testing method according to claim 1, wherein the real-time simulator is a LabCAR real-time simulator.
5. The test method according to claim 4, wherein the LabCAR real-time simulator include: An input / output board (Input / Output Board), the input / output board generates a time synchronization signal at the specified speed to analyze an actual speed of the resolver decoder and determine whether the resolver decoder meets the dynamic response at the specified speed.
6. A test system, include: A resolver decoder; as well as A real-time simulator is used to execute a test process, the test process comprising the following steps: Performing an accuracy test on a peripheral circuit setting of the resolver decoder to generate a first test result; Performing a resolver-to-digital converter dynamic response test on the rotary transformer decoder to generate a second test result; and According to the first test result and the second test result, determining whether the resolver decoder passes the test; and an oscilloscope, used to record a plurality of signals generated by the real-time simulator simulating the rotary transformer decoder at a specified speed; The step of performing an accuracy test on a peripheral circuit setting of the resolver decoder to generate a first test result includes: The real-time simulator determines a plurality of peripheral circuit parameters of the resolver decoder, the peripheral circuit parameters including the number of pole pairs and the conversion ratio; The real-time simulator simulates a plurality of signals generated by the resolver decoder at a certain speed according to the plurality of peripheral circuit parameters, the plurality of signals comprising a sine signal and a cosine signal; and The real-time simulator determines whether the resolver decoder is within an error range according to the multiple signals, including: the real-time simulator determines whether the resolver decoder is within the error range according to a resolver-to-digital converter algorithm of Matlab and an angle value and a speed value decoded from the multiple signals; The step of performing the resolver-to-digital converter dynamic response test on the resolver decoder to generate a second test result includes: Determining a plurality of internal parameters of the resolver decoder; A real-time simulator simulates the resolver decoder at a specified speed to generate a simulation result according to the plurality of internal parameters; The real-time simulator determines, based on the simulation result, whether the resolver decoder satisfies a dynamic response at the specified speed, including: the real-time simulator analyzes an actual speed of the resolver decoder based on a time synchronization signal, and determines, based on the actual speed, whether the resolver decoder satisfies the dynamic response at the specified speed.
7. The test system according to claim 6, It is characterized in that The specified rotation speed is 15000 to 18000 revolutions per minute (RPM).
8. The test system of claim 6, wherein the resolver-to-digital converter algorithm determines whether the resolver decoder passes the test based on an angle lock tracking algorithm and the plurality of signals.
9. The testing system according to claim 6, wherein the real-time simulator is a LabCAR real-time simulator.
10. The test system according to claim 9, wherein the LabCAR real-time simulator include: An input-output board generates a time synchronization signal at the specified speed to analyze an actual speed of the resolver decoder and determine whether the resolver decoder satisfies the dynamic response at the specified speed.
Citation Information
Patent Citations
Axial angle conversion testing system based on programmable DRC
CN103884370A
Resolver demodulation module performance tester
CN104483569A
