Method and system for testing reliability of encoder

By controlling encoder rotation using stepper motors and signal generators in an encoder test environment, calculating angle errors and repeatability errors, the rapid accuracy of encoder reliability tests is solved, reducing costs and improving test results accuracy.

CN118913342APending Publication Date: 2024-11-08HUNAN AEROSPACE MAGNET & MAGNETO
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202411230874.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-04
Publication Date
2024-11-08

AI Technical Summary

Technical Problem

The prior art is difficult to quickly and accurately conduct reliability testing of encoders, which affects product quality and maintenance costs.

Method used

By building a test environment, the encoder is controlled to rotate to multiple test points using stepper motors and signal generators, the angle value is read, the angle error and accuracy are calculated, the fitting curve is drawn, the repetitive error is calculated, and the reliability of the encoder is judged.

Benefits of technology

It realizes fast and accurate encoder performance testing, reduces equipment and labor costs, simulates the actual working environment, avoids the influence of external factors, and improves the accuracy of test results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118913342A_ABST
    Figure CN118913342A_ABST
Patent Text Reader

Abstract

The invention discloses a method for testing the reliability of an encoder, and the method comprises the following steps: constructing a test environment of a to-be-tested encoder, and initializing the to-be-tested encoder; setting a plurality of test points, controlling the stepping motor to rotate to each test point at a fixed speed, reading the angle value of the to-be-tested encoder at each test point, and repeating the operation; calculating the angle error and angle precision of each test point according to the angle value of each test point of the to-be-tested encoder; and drawing a fitting curve according to the angle value of the to-be-tested encoder at each test point, carrying out linear fitting on a measured value and a theoretical value, and calculating a repeatability error of each test point. The invention also discloses a system for testing the reliability of the encoder. According to the invention, the technical problem of how to accurately and quickly carry out reliability test on the encoder performance and output the result is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of encoders, and in particular to a reliability testing method and system for encoders. Background Art

[0002] An encoder is a device that converts physical quantities, including angular displacement, linear displacement, and speed, into measurable and recognizable electrical signals. It has a wide range of applications in industrial automation, robotics, and CNC machine tools. Since encoders play a key role in these systems, their reliability is crucial to the accuracy and stability of the entire system. Through reliability testing, encoders with excellent performance can be screened out, thereby improving the overall quality of the product, timely discovering potential problems of the encoder, reducing later maintenance costs, and extending the service life of the equipment. The patent document with application number 202011344036.3 discloses a test system and test method for comprehensively evaluating the control performance of a frequency converter, including a voltage regulator, a test frequency converter, a test asynchronous motor, a motor shaft encoder, a coupling, a torque and speed sensor, a test frequency converter, a test asynchronous motor, a display touch screen, and a power quality analyzer. The test asynchronous motor and the test asynchronous motor driven by the test frequency converter have the same shaft diameter and shaft center height, and the two motors are connected by a torque and speed sensor and a coupling. The present invention measures and stores the input and output electric energy data, the shaft speed of the driven motor, and the torque data of the inverter during startup and steady-state operation in real time, analyzes the inverter speed and torque control accuracy and dynamic response speed, energy conversion efficiency, and loss, and generates a test evaluation report, thereby achieving a comprehensive and objective evaluation of the control algorithm and product performance, guiding the inverter development process, and improving the production quality level. Therefore, it is urgent to propose a reliability test method and system for encoders to solve the technical problem of how to accurately and quickly perform reliability tests on encoder performance and output the results. Summary of the invention

[0003] The main purpose of the present invention is to propose a reliability testing method and system for an encoder, aiming to solve the technical problem of how to accurately and quickly perform reliability testing on encoder performance and output the results.

[0004] To achieve the above object, the present invention provides a reliability testing method for an encoder, wherein the reliability testing method for an electric encoder comprises the following steps:

[0005] S1. Build a test environment for the encoder to be tested and initialize the encoder to be tested;

[0006] S2. Set several test points, control the stepper motor to rotate to each test point at a fixed speed, read the angle value of the encoder to be tested at each test point, and repeat the above operation;

[0007] S3. Calculate the angle error and angle accuracy of each test point according to the angle value of each test point of the encoder to be tested;

[0008] S4. Draw a fitting curve according to the angle value of the encoder to be tested at each test point, perform linear fitting between the measured value and the theoretical value, and calculate the repeatability error of each test point.

[0009] In one of the preferred solutions, the test environment of the encoder to be tested is constructed in step S1, specifically:

[0010] The encoder to be tested is installed in the environmental test box, the encoder to be tested is rigidly connected to the stepper motor, and the stepper motor is driven by a signal generator; the encoder to be tested is connected to an auxiliary test unit, and the operating data of the encoder to be tested is obtained through the auxiliary test unit.

[0011] In one of the preferred solutions, the step S1 further comprises:

[0012] Setting test parameters of the environmental test chamber; the test parameters include temperature range, temperature change rate and test time;

[0013] Set the operating frequency and test time of the signal generator;

[0014] Preset the collection interval of the auxiliary test unit.

[0015] One of the preferred solutions, after step S1, further includes:

[0016] Place the encoder to be tested at the initial angle position and record the angle value of the initial angle position.

[0017] In one of the preferred solutions, step S2 is specifically:

[0018] Set several test points, control the stepper motor to rotate forward to each test point at a fixed speed, and read the angle value of each test point of the encoder to be tested in turn; control the stepper motor to rotate reversely to each test point at a fixed speed, and read the angle value of each test point of the encoder to be tested in turn.

[0019] In one of the preferred solutions, the angular error of the encoder to be tested is:

[0020] Δ 1 =|Eencoder-Estandard|

[0021] Among them, Δ 1 is the angle error of the encoder to be tested, Eencoder is the angle value of the encoder to be tested, and Estandard is the actual physical position of the encoder to be tested. The actual physical position of the encoder to be tested is obtained by controlling the actual rotation angle of the stepper motor through a signal generator.

[0022] In one of the preferred solutions, the angular accuracy of the encoder to be tested is:

[0023] PE=|Δ 1 Estandard|×100%

[0024] Where PE is the angular accuracy of the encoder to be tested.

[0025] In one of the preferred solutions, the repeatability error of each test point is:

[0026]

[0027] Among them, LinErr is the repeatability error of each test point of the encoder to be tested, Δ 2 is the difference between the angle value corresponding to each test point on the fitting curve and the theoretical value, Δ 2 LinErr abs_max is the maximum absolute value error of each test point of the encoder to be tested.

[0028] One of the preferred solutions, after step S4, further includes:

[0029] Get the angle error range and repeatability error range of the encoder at normal temperature;

[0030] According to the angle error and repeatability error of the encoder to be tested, the reliability of the encoder to be tested is judged; specifically:

[0031] If the angle error and repeatability are both within the angle error interval and repeatability error interval respectively, then it is determined that the encoder to be tested meets the reliability requirement; otherwise, it does not meet the reliability requirement.

[0032] A system including the reliability test method of an encoder includes: an encoder to be tested, an auxiliary test unit, an environmental test box, a stepper motor and a signal generator; the stepper motor and the encoder to be tested are respectively installed on the base of the auxiliary test unit through fixed side plates, the stepper motor is coaxially rigidly connected to the encoder to be tested through a coupling, the encoder to be tested is connected to the auxiliary test unit, and the signal generator is connected to the stepper motor through a driver.

[0033] In the above technical scheme of the present invention, the reliability test method of the encoder includes the following steps: constructing a test environment for the encoder to be tested, initializing the encoder to be tested; setting a number of test points, controlling the stepper motor to rotate to each test point at a fixed speed, reading the angle value of the encoder to be tested at each test point, and repeating the above operation; calculating the angle error and angle accuracy of each test point according to the angle value of each test point of the encoder to be tested; drawing a fitting curve according to the angle value of the encoder to be tested at each test point, linearly fitting the measured value with the theoretical value, and calculating the repeatability error of each test point. The present invention solves the technical problem of how to accurately and quickly perform reliability testing on encoder performance and output the results.

[0034] In the present invention, the reliability data of the encoder to be tested is quickly obtained through an auxiliary test unit, and combined with multi-parameter monitoring, the accuracy error of the encoder can be quickly obtained in a relatively short time, thereby evaluating the performance of the encoder to be tested, reducing equipment and labor costs. At the same time, the operation of the encoder in the actual working environment is fully simulated through the environmental test box, a real test environment is built, and the environmental test box can prevent external factors from affecting the test results. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the structures shown in these drawings without paying any creative work.

[0036] Figure 1 A schematic diagram of a reliability testing method for an encoder according to an embodiment of the present invention;

[0037] Figure 2 The figure is a schematic diagram of a reliability testing system for an encoder according to an embodiment of the present invention.

[0038] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with the implementation methods and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0039] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0040] It should be noted that all directional indications (such as up, down, etc.) in the embodiments of the present invention are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.

[0041] In addition, in the present invention, the descriptions such as "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" or "second" may explicitly or implicitly include at least one of the features.

[0042] Furthermore, the technical solutions between the various embodiments of the present invention may be combined with each other, but this must be based on the fact that they can be implemented by ordinary technicians in the field. When the combination of technical solutions is mutually contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by the present invention.

[0043] See also Figure 1 According to one aspect of the present invention, the present invention provides a reliability testing method for an encoder, wherein the reliability testing method for an electric encoder comprises the following steps:

[0044] S1. Build a test environment for the encoder to be tested and initialize the encoder to be tested;

[0045] S2. Set several test points, control the stepper motor to rotate to each test point at a fixed speed, read the angle value of the encoder to be tested at each test point, and repeat the above operation;

[0046] S3. Calculate the angle error and angle accuracy of each test point according to the angle value of each test point of the encoder to be tested;

[0047] S4. Draw a fitting curve according to the angle value of the encoder to be tested at each test point, perform linear fitting between the measured value and the theoretical value, and calculate the repeatability error of each test point.

[0048] Specifically, in this embodiment, the step S1 is specifically as follows: installing the encoder to be tested in an environmental test box, rigidly connecting the encoder to be tested to a stepper motor, and driving the stepper motor through a signal generator; connecting the encoder to be tested to an auxiliary test unit, and obtaining the operating data of the encoder to be tested through the auxiliary test unit; and at the same time, calibrating and initializing the encoder to be tested to ensure the accuracy of the test results.

[0049] Specifically, in this embodiment, step S1 further includes:

[0050] The test parameters of the environmental test box are set through the industrial computer; the test parameters include temperature range, temperature change rate and test time; ensure that the test parameters can fully simulate the operation of the encoder in the actual working environment for testing;

[0051] Set the operating frequency and test time of the signal generator to rotate the encoder to be tested at a fixed speed;

[0052] Preset the collection interval of the auxiliary test unit.

[0053] Specifically, in this embodiment, after step S1, the following steps are further included:

[0054] The encoder to be tested is placed at an initial angle position, and the angle value of the initial angle position is recorded; the initial angle position is a known angle position.

[0055] Specifically, in this embodiment, step S2 is specifically:

[0056] Set several test points, control the stepper motor to rotate forward to each test point at a fixed speed, and read the angle value of each test point of the encoder to be tested in turn; control the stepper motor to rotate reversely to each test point at a fixed speed, and read the angle value of each test point of the encoder to be tested in turn; reread the above operation CircNum Lr Second-rate.

[0057] Specifically, in this embodiment, the angular error of the encoder to be tested is:

[0058] Δ 1 =|Eencoder-Estandard|

[0059] Among them, Δ 1 is the angle error of the encoder to be tested, Eencoder is the angle value of the encoder to be tested, and Estandard is the actual physical position of the encoder to be tested. The actual physical position of the encoder to be tested is obtained by controlling the actual rotation angle of the stepper motor by a signal generator; the angle error is the difference between the position value displayed by the encoder to be tested and the actual physical position; in order to quantify the angle accuracy of the encoder to be tested, it can be quantified by calculating the ratio of the angle error to the actual physical position. The angle accuracy of the encoder to be tested is:

[0060] PE=|Δ 1 Estandard|×100%

[0061] Where PE is the angular accuracy of the encoder to be tested.

[0062] Specifically, in this embodiment, according to the actual curve and the theoretical curve of the encoder to be tested, a fitting curve of the encoder to be tested is drawn, and the sampling point parameter SamNumLr and the linearity test cycle number parameter CircNum Lr , linearly fit the measured angle value with the theoretical value to obtain the difference Δ of each test point on the fitting curve 2 , where Δ 2 LinErr abs_max is the maximum absolute value error of each test point of the encoder to be tested; the repeatability error of each test point is:

[0063]

[0064] Among them, LinErr is the repeatability error of each test point of the encoder to be tested, Δ 2 is the difference between the angle value corresponding to each test point on the fitting curve and the theoretical value, Δ 2 LinErr abs_max is the maximum absolute value error of each test point of the encoder to be tested.

[0065] Specifically, in this embodiment, after step S4, the following steps are further included:

[0066] Get the angle error range and repeatability error range of the encoder at normal temperature;

[0067] According to the angle error and repeatability error of the encoder to be tested, the reliability of the encoder to be tested is judged; specifically:

[0068] If the angle error and repeatability are both within the angle error interval and repeatability error interval respectively, then it is determined that the encoder to be tested meets the reliability requirement; otherwise, it does not meet the reliability requirement.

[0069] See also Figure 2 According to another aspect of the present invention, the present invention provides a reliability test system for an encoder, wherein the reliability test system for the encoder comprises: an encoder to be tested, an auxiliary test unit, an environmental test box, a stepper motor and a signal generator; the stepper motor and the encoder to be tested are respectively mounted on a base of the auxiliary test unit through fixed side plates, the stepper motor is coaxially rigidly connected to the encoder to be tested through a coupling, the encoder to be tested is connected to the auxiliary test unit, and the signal generator is connected to the stepper motor through a driver.

[0070] Specifically, in this embodiment, the encoder to be tested is connected in parallel with the auxiliary test unit through a signal line port and is connected to the PC end at the same time. The encoder to be tested is placed in the environmental test box. According to the test requirements, the industrial computer sets corresponding test parameters. The test parameters include temperature range, temperature change rate and test time, etc., to ensure that the test parameters can fully simulate the operation of the encoder to be tested in the actual working environment. At the same time, according to the characteristics and application requirements of the encoder, reasonable test conditions and standards are set. The corresponding temperature range and temperature change rate of the environmental test box are set by the industrial computer, which can be used to evaluate the performance stability and reliability of the encoder to be tested under different temperature environments. The encoder to be tested is placed in the environmental test box. Since the test environment has good sealing and stability, the influence of external factors on the test results is avoided.

[0071] Specifically, in this embodiment, the test equipment is started and the encoder is subjected to high and low stability tests according to the set test parameters. During the test, the auxiliary test unit will automatically record the position information and temperature changes of the encoder to be tested, and calculate the accuracy error value in real time, monitor the stability and safety of the test environment, and ensure the safe progress of the test process.

[0072] Specifically, in this embodiment, the auxiliary test unit includes a data acquisition module, a data analysis module, a reliability data calculation module, a data recording module and an output module; the data acquisition module is used for the position information of the encoder to be tested, the data analysis module is used to perform base conversion according to the position information of the encoder to be tested, and obtain the second angle series of the encoder to be tested, the reliability data calculation module is used to calculate the accuracy error value of the encoder to be tested, and evaluate the reliability of the encoder to be tested according to the accuracy error value, the data recording module is used to record the position information of the encoder to be tested, and the output module is used to output the reliability performance evaluation result of the encoder to be tested.

[0073] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. All equivalent structural changes made using the contents of the present invention's specification and drawings, or directly / indirectly applied in other related technical fields, are included in the patent protection scope of the present invention.

Claims

1. A reliability testing method for an encoder, characterized in that: The following steps are involved: S1. Build a test environment for the encoder to be tested and initialize the encoder to be tested; S2. Set several test points, control the stepper motor to rotate to each test point at a fixed speed, read the angle value of the encoder to be tested at each test point, and repeat the above operation; S3. Calculate the angle error and angle accuracy of each test point according to the angle value of each test point of the encoder to be tested; S4. Draw a fitting curve according to the angle value of the encoder to be tested at each test point, perform linear fitting between the measured value and the theoretical value, and calculate the repeatability error of each test point.

2. The reliability testing method of an encoder according to claim 1, characterized in that: The test environment of the encoder to be tested is constructed in step S1, specifically: The encoder to be tested is installed in the environmental test box, the encoder to be tested is rigidly connected to the stepper motor, and the stepper motor is driven by a signal generator; the encoder to be tested is connected to an auxiliary test unit, and the operating data of the encoder to be tested is obtained through the auxiliary test unit.

3. The reliability testing method of an encoder according to claim 2, characterized in that: The step S1 further comprises: Setting test parameters of the environmental test chamber; the test parameters include temperature range, temperature change rate and test time; Set the operating frequency and test time of the signal generator; Preset the collection interval of the auxiliary test unit.

4. A reliability testing method for an encoder according to any one of claims 1 to 3, characterized in that: After step S1, the method further includes: Place the encoder to be tested at the initial angle position and record the angle value of the initial angle position.

5. A reliability testing method for an encoder according to any one of claims 1 to 3, characterized in that: The step S2 is specifically: Set several test points, control the stepper motor to rotate forward to each test point at a fixed speed, and read the angle value of each test point of the encoder to be tested in turn; control the stepper motor to rotate reversely to each test point at a fixed speed, and read the angle value of each test point of the encoder to be tested in turn.

6. A reliability testing method for an encoder according to any one of claims 1 to 3, characterized in that: The angular error of the encoder to be tested is: Δ1=|Eencoder-Estandard| Among them, Δ1 is the angle error of the encoder to be tested, Eencoder is the angle value of the encoder to be tested, and Estandard is the actual physical position of the encoder to be tested. The actual physical position of the encoder to be tested is obtained by controlling the actual rotation angle of the stepper motor through a signal generator.

7. The reliability testing method of an encoder according to claim 6, characterized in that: The angular accuracy of the encoder to be tested is: PE=|Δ1Estandard|×100% Where PE is the angular accuracy of the encoder to be tested.

8. A reliability testing method for an encoder according to any one of claims 1 to 3, characterized in that: The repeatability error of each test point is: Among them, LinErr is the repeatability error of each test point of the encoder to be tested, Δ2 is the difference between the angle value corresponding to each test point on the fitting curve and the theoretical value, Δ2LinErr abs_max is the maximum absolute value error of each test point of the encoder to be tested.

9. A reliability testing method for an encoder according to any one of claims 1 to 4, characterized in that: After step S4, the method further includes: Get the angle error range and repeatability error range of the encoder at normal temperature; According to the angle error and repeatability error of the encoder to be tested, the reliability of the encoder to be tested is judged; specifically: If the angle error and repeatability are both within the angle error interval and repeatability error interval respectively, then it is determined that the encoder to be tested meets the reliability requirement; otherwise, it does not meet the reliability requirement.

10. A system comprising the reliability testing method of an encoder according to any one of claims 1 to 9, characterized in that: include: An encoder to be tested, an auxiliary test unit, an environmental test box, a stepper motor and a signal generator; the stepper motor and the encoder to be tested are respectively mounted on a base of the auxiliary test unit through fixed side panels, the stepper motor is coaxially rigidly connected to the encoder to be tested through a coupling, the encoder to be tested is connected to the auxiliary test unit, and the signal generator is connected to the stepper motor through a driver.

Citation Information

Cited By

  • Device and method for automatically testing functions of photoelectric encoder

    CN119594901A

  • Absolute value encoder operation error analysis method and system

    CN119880017A