Simulation type angle encoder temperature drift testing device and method
By designing an analog angle encoder test device, using a stepper motor to drive the encoder rotation and a high-precision standard encoder, the automated temperature drift test is realized, which solves the problems of low test efficiency and inability to change the angle in the existing technology, and improves efficiency Test efficiency and accuracy.
Patent Information
- Application Number
- CN202410723244.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-05
- Publication Date
- 2024-08-23
AI Technical Summary
The existing analog angle encoder temperature drift test method is inefficient, requires a long time to cover the full range, and cannot change the angle value during the test, resulting in limited measurement efficiency and accuracy.
An analog angle encoder test device is designed, including a DC power supply device, a driver, a stepper motor, an encoder system and a temperature control system. The stepper motor drives the encoder to rotate, combined with a high-precision standard encoder and voltage detection. The system realizes automated testing and can cover the full range in one test.
It improves the efficiency and accuracy of the temperature drift test, retains the high-precision advantage of rigid connection, and at the same time can change the angle value during the test, significantly shortening the test time.
Smart Images

Figure CN118533201A
Abstract
Description
Technical Field
[0001] The invention relates to a temperature drift test, in particular to a device and a method for testing a temperature drift of an analog angle encoder. Background Art
[0002] The encoder detects the rotation of an object as a physical change through a sensor element, and finally transmits the rotation and angle information to the outside world in the form of an electrical signal. The angle encoder can measure the rotation speed and determine the direction of rotation. It is generally used in speed control or position control system detection. It has a wide range of applications in industry, agriculture, national defense and military industries, and plays a key role in the measurement and control of position and speed in various fields.
[0003] Analog angle encoders are generally divided into two categories: voltage type and current type. They convert the measured angle signal into an analog voltage or current value output. Taking voltage analog angle encoding as an example, its voltage output angle sensor has a range of 0.5V to 4.5V, and the corresponding angle range is 0° to 360°, that is, when the voltage is 0.5V, the corresponding angle is 0°, and when the voltage is 4.5V, the corresponding angle is 360°. Due to errors and temperature drift, the angle and voltage do not show an absolute linear relationship.
[0004] The characteristics of analog angle encoders are divided into dynamic characteristics and static characteristics. The static characteristics of encoders include linearity, sensitivity, repeatability, hysteresis, temperature drift, zero drift, etc. To measure whether an encoder has excellent performance, it is not enough to have a single excellent performance, but a comprehensive consideration of multiple indicators. For encoders, temperature drift is a particularly important characteristic indicator, and engineers and scientific researchers have never stopped studying it.
[0005] The traditional temperature drift test method is to set the shaft of the analog angle encoder to a certain fixed value, and then adjust the temperature of the constant temperature and humidity chamber to obtain the output value at high or low temperature, and then calculate it according to the temperature drift calculation formula. The disadvantage is that the measurement efficiency of temperature drift is low, and to cover the full range of temperature drift, the test time period is particularly long. The advantage is that the angle is fixed, only the temperature influence is left, and the system error is extremely small after the shaft is fixed, so the measurement value is very accurate. Summary of the invention
[0006] In view of the defects of the prior art, the present invention provides a device and method for testing temperature drift of an analog angle encoder.
[0007] A test device for an analog angle encoder comprises a DC power supply device, wherein the power supply device is respectively connected to a driver, a stepper motor and an encoder system device; the driver, the stepper motor and the encoder system device are connected in sequence, wherein the driver is used to drive the stepper motor to rotate according to a set instruction, the encoder system device comprises a tested encoder and a standard encoder, the stepper motor and the encoder system device are rigidly connected, and the standard encoder and the tested encoder are driven to rotate by the stepper motor; the encoder system device is electrically connected to a voltage detection system; and the device also comprises a host computer, wherein the host computer is connected to a signal generator, and the signal generator is connected to the driver.
[0008] Optionally, the measurement accuracy of the standard encoder and the encoder under test are at the same order of magnitude, but the measurement accuracy of the standard encoder is higher than that of the encoder under test; the voltage detection system further sends the detection results to the computer analysis system; the host computer converts the test instruction into a corresponding electrical signal and sends it to the signal generator, the signal generator is used to generate a trigger signal according to the above electrical signal, and send it to the driver; the driver outputs a corresponding driving voltage according to the trigger signal to drive the stepper motor to rotate, and the stepper motor drives the encoder under test and the standard encoder to rotate to generate a corresponding test signal; it also includes a temperature control system, and the temperature control system can provide the required test temperature for the encoder system device.
[0009] A testing method for an analog angle encoder testing device is characterized in that it includes the following steps: S100: connecting the testing device; S200: performing normal temperature measurement; S300: performing low temperature measurement; S400: performing high temperature measurement; S500: calculating high temperature and low temperature drift.
[0010] The step S200 includes, firstly, initializing the angle, that is, setting the voltage to 0.5V, testing 20 sets of values at room temperature, each set of values theoretically increases the angle by 0.2V, and the obtained voltage is: 0.5V+Δx0, 0.7+Δx1, 0.9+Δx2, ..., 4.5+Δx 20 , Represents the system error, where i=0, 1, 2, ... 20. In this process, the host computer outputs voltage instructions, 0.5V, 0.7V, ..., 4.5V. After the signal generator receives the voltage instruction, it converts it into a corresponding trigger signal. This trigger signal drives the stepper motor to rotate accordingly, thereby driving the encoder under test to rotate and output a voltage signal. The actual output of the encoder under test is obtained through the voltage detection system, and the difference between the actual output of the encoder under test and the voltage instruction is calculated to obtain the system error; the step S300 includes adjusting the temperature control system, changing the test environment temperature, starting low-temperature measurement, setting the voltage to 0.5V, and testing 20 sets of values at low temperature. The voltage obtained is: 0.5V+Δy0, 0.7+Δy1, 0.9+Δy2, ..., 4.5+Δy 20 ,in represents the deviation between the system measurement value and the command value, i=0, 1, 2, ... 20; the step S400 includes adjusting the temperature control system, changing the test environment temperature, starting high temperature measurement, setting the voltage to 0.5V, and testing 20 sets of values at high temperature, and the obtained voltages are: 0.5V+Δz0, 0.7+Δz1, 0.9+Δz2, ..., 4.5+Δz 20 ,in Represents the deviation between the system measurement value and the command value, i=0, 1, 2,...20.
[0011] The beneficial effects of the present invention are as follows: the present invention mainly solves the problem that the temperature drift test efficiency of the angle sensor is low and the selected calibration points cannot cover the full scale; the above-mentioned measuring device and measuring method of the present invention can realize automatic testing of analog angle encoders. During the testing process, the stepper motor and the encoder are rigidly connected, but the encoder can rotate under the drive of the stepper motor. Compared with the prior art, this not only retains the high-precision advantage of the rigid connection, but also can change the test angle value during the testing process. By being able to test the full scale range in one test, the testing efficiency is greatly improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] Figure 1 It is a structural diagram of the encoder temperature drift test device;
[0013] Figure 2 It is a flow chart of the encoder temperature drift test method. DETAILED DESCRIPTION
[0014] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the specific embodiments of the present invention are described in detail below in conjunction with the accompanying drawings, so that the above-mentioned and other objects, features and advantages of the present invention will be clearer. The same reference numerals in all the drawings indicate the same parts. The drawings are not deliberately drawn to scale, and the focus is on illustrating the subject matter of the present invention.
[0015] The invention provides a device and method for testing the temperature drift of an analog angle encoder, which can efficiently and accurately test the temperature drift of the analog angle encoder.
[0016] Temperature drift refers to the deviation of the encoder output value when the temperature changes. It is usually expressed as the percentage of the maximum output deviation to the full scale when the temperature changes by 1°C, that is,
[0017]
[0018] Where △max is the maximum output deviation; Δ T is the temperature change value; Y FS is full-scale output.
[0019] See also Figure 1 The analog angle encoder test device of the present invention includes a DC power supply device, which is connected to the driver, the stepper motor and the encoder system device respectively. The DC power supply device can use a power processing device such as a rectifier and an inverter, which can convert the commonly used 220V or 380V AC power into a DC output. The DC output voltage level can be multiple, such as the typical 5V, 12V, 24V, 36V, etc., as long as it can meet the needs of the driver, the stepper motor and the encoder.
[0020] The driver, stepper motor and encoder system are connected in sequence, where the driver is used to drive the stepper motor to rotate according to the set instructions. The encoder system includes the encoder under test and the standard encoder. The measurement accuracy of the standard encoder and the encoder under test is at the same order of magnitude, but the measurement accuracy of the standard encoder is higher than that of the encoder under test. The measurement result of the standard encoder can be used as a reference source for the actual rotation angle of the stepper motor. The stepper motor and the encoder system are rigidly connected, that is, the stepper motor can drive the standard encoder and the encoder under test to rotate.
[0021] The encoder system device is electrically connected to the voltage detection system, and the measurement (output voltage) of the standard encoder and the encoder under test can be detected by the voltage detection system. The voltage detection system can further send the detection result to, for example, a computer analysis system, so as to analyze and calculate the detection result.
[0022] The analog angle encoder test device also includes a host computer, which can be, for example, an industrial computer, a PC, etc. The host computer can have a human-machine interface, such as a keyboard, a touch screen, etc., through which test instructions can be input to the host computer.
[0023] The host computer is connected to the signal generator, and the signal generator is connected to the driver. In the present invention, the host computer converts the test instruction into a corresponding electrical signal and sends it to the signal generator. The signal generator is used to generate a trigger signal according to the electrical signal and send it to the driver. The driver outputs a corresponding driving voltage according to the trigger signal to drive the stepper motor to rotate. The stepper motor drives the encoder under test and the standard encoder to rotate to generate a corresponding test signal.
[0024] In addition, the analog angle encoder testing device of the present invention also has a temperature control system, which can provide the required constant temperature testing environment for the encoder test, including heating, cooling, and insulation control, as well as temperature, working voltage and current display, etc. It is mainly composed of a power supply, a temperature control circuit, an electric heating component, a temperature measurement and display component, etc.
[0025] Next, combine Figure 2 The testing method of the analog angle encoder testing device of the present invention is introduced in detail.
[0026] S100: Connect the test device.
[0027] according to Figure 1 The connection method shown connects the signal generator, driver, stepper motor, DC power supply device, encoder system device, host computer and voltage detection system, and places the encoder system device in the temperature control system. The encoder voltage value is output through the host computer, and a standard encoder with an accuracy equivalent to one order of magnitude of the encoder being tested is added as a reference source.
[0028] S200: Perform normal temperature measurement.
[0029] Normal temperature measurement is used to obtain the Y value of the encoder under test at normal temperature. FS Output, normal temperature is generally the normal working temperature of the encoder, for example, 25 degrees Celsius. During the test, the angle is first initialized, that is, the voltage is set to 0.5V, and 20 sets of values are tested at normal temperature. The angle of each set of values theoretically increases by 0.2V. The voltage obtained is: 0.5V+Δx0, 0.7+Δx1, 0.9+Δx2, ..., 4.5+Δx 20 , Represents the system error, where i = 0, 1, 2, ... 20. For an ideal test system, the system error is much smaller than the temperature drift and can be regarded as 0. In fact, the temperature drift cannot be ignored. In this process, the host computer outputs voltage instructions, 0.5V, 0.7V, ..., 4.5V. After the signal generator receives the voltage instruction, it converts it into a corresponding trigger signal. This trigger signal drives the stepper motor to rotate accordingly, thereby driving the encoder under test to rotate and output a voltage signal. The actual output of the encoder under test is obtained through the voltage detection system, and the difference between the actual output of the encoder under test and the voltage instruction is calculated to obtain the system error.
[0030] S300: Low temperature measurement.
[0031] Adjust the temperature control system to change the test environment temperature, for example, adjust its temperature to minus 20 degrees, so as to start low-temperature measurement. The remaining steps of low-temperature measurement are similar to step S200. After setting the voltage to 0.5V, 20 sets of values are tested at low temperature, and the obtained voltages are: 0.5V+Δy0, 0.7+Δy1, 0.9+Δy2, ..., 4.5+Δy 20 ,in Represents the deviation between the system measurement value and the command value, i=0, 1, 2,...20.
[0032] S400: High temperature measurement
[0033] Adjust the temperature control system to change the test environment temperature, for example, adjust its temperature to 80 degrees, so as to start high temperature measurement. The remaining steps of high temperature measurement are similar to step S200. After setting the voltage to 0.5V, 20 sets of values are tested at high temperature, and the obtained voltages are: 0.5V+Δz0, 0.7+Δz1, 0.9+Δz2, ..., 4.5+Δz 20 ,in Represents the deviation between the system measurement value and the command value, i=0, 1, 2,...20.
[0034] S500: Calculate temperature drift
[0035] According to the above formula (1): the temperature drift can be calculated:
[0036] At low temperatures,
[0037]
[0038] At high temperatures,
[0039]
[0040] Among them, △y max is the maximum deviation of low temperature output; △Z maxThis is the maximum deviation of low temperature output.
[0041] The above-mentioned measuring device and measuring method of the present invention can realize automatic testing of analog angle encoders. During the testing process, the stepper motor and the encoder are rigidly connected, but the encoder can rotate under the drive of the stepper motor. Compared with the prior art, this retains the high precision advantage of the rigid connection and can change the test angle value during the testing process. By being able to test the full range in one test, the testing efficiency is greatly improved.
[0042] Many specific details are described in the above description to facilitate a full understanding of the present invention. However, the above description is only a preferred embodiment of the present invention. The present invention can be implemented in many other ways different from those described herein, so the present invention is not limited to the specific implementation disclosed above. At the same time, any person familiar with the art can make many possible changes and modifications to the technical solution of the present invention using the methods and technical contents disclosed above without departing from the scope of the technical solution of the present invention, or modify it into an equivalent embodiment of equivalent changes. Any simple modification, equivalent change and modification made to the above embodiments according to the technical essence of the present invention without departing from the content of the technical solution of the present invention still falls within the scope of protection of the technical solution of the present invention.
Claims
1. An analog angle encoder test device, characterized in that: It includes a DC power supply device, which is respectively connected to a driver, a stepper motor and an encoder system device; the driver, the stepper motor and the encoder system device are connected in sequence, wherein the driver is used to drive the stepper motor to rotate according to a set instruction, the encoder system device includes a measured encoder and a standard encoder, the stepper motor and the encoder system device are rigidly connected, and the standard encoder and the measured encoder are driven to rotate by the stepper motor; the encoder system device is electrically connected to a voltage detection system; it also includes a host computer, which is connected to a signal generator, and the signal generator is connected to the driver.
2. The analog angle encoder testing device according to claim 1, characterized in that: The measurement accuracy of the standard encoder and the encoder under test are at the same order of magnitude, but the measurement accuracy of the standard encoder is higher than that of the encoder under test.
3. The analog angle encoder testing device according to claim 1, characterized in that: The voltage detection system further sends the detection result to the computer analysis system.
4. The analog angle encoder testing device according to claim 1, characterized in that: The host computer converts the test instruction into a corresponding electrical signal and sends it to the signal generator. The signal generator is used to generate a trigger signal according to the electrical signal and send it to the driver.
5. The analog angle encoder testing device according to claim 4, characterized in that: The driver outputs a corresponding driving voltage according to a trigger signal to drive the stepper motor to rotate, and the stepper motor drives the encoder under test and the standard encoder to rotate to generate a corresponding test signal.
6. The analog angle encoder testing device according to claim 1, characterized in that: A temperature control system is also included, and the temperature control system can provide the encoder system device with the required test temperature.
7. A testing method for the analog angle encoder testing device according to any one of claims 1 to 6, characterized in that: The following steps are involved: S100: Connect the test device; S2 00: Perform normal temperature measurement; S3 00: low temperature measurement; S400: high temperature measurement; S5 00: Calculate high and low temperature drift.
8. The testing method according to claim 7, characterized in that: The step S200 includes, firstly, initializing the angle, that is, setting the voltage to 0.5V, testing 20 sets of values at room temperature, and theoretically increasing the angle of each set of values by 0.2V, and the voltage obtained is: Represents the system error, where i=0, 1, 2, ..., 20. In this process, the host computer outputs voltage instructions, 0.5V, 0.7V, ..., 4.5V. After the signal generator receives the voltage instruction, it converts it into a corresponding trigger signal. This trigger signal will drive the stepper motor to rotate accordingly, thereby driving the encoder under test to rotate and output a voltage signal. The actual output of the encoder under test is obtained through the voltage detection system, and the difference between the actual output of the encoder under test and the voltage instruction is calculated to obtain the system error.
9. The testing method according to claim 7, characterized in that: The step S300 includes adjusting the temperature control system, changing the test environment temperature, starting low temperature measurement, setting the voltage to 0.5V, and testing 20 sets of values at low temperature. The voltage obtained is: in Represents the deviation between the system measurement value and the command value, i=0, 1, 2,...
20.
10. The testing method according to claim 7, characterized in that: The step S400 includes adjusting the temperature control system, changing the test environment temperature, starting high temperature measurement, setting the voltage to 0.5V, and testing 20 sets of values at high temperature. The voltage obtained is: in Represents the deviation between the system measurement value and the command value, i=0, 1, 2,...20.
