Modular test system and method for magnetic encoder

Through the modular test system and automated control, the problems of low test efficiency and waste of resources of traditional magnetic encoders are solved, the compatibility of automated tests and multiple types of magnetic encoders is realized, and the test efficiency and accuracy are improved.

CN118583206APending Publication Date: 2024-09-03GUIZHOU ZHENHUA FENGGUANG SEMICON
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410670397.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-28
Publication Date
2024-09-03

AI Technical Summary

Technical Problem

Traditional magnetic encoder testing is inefficient and wastes resources. Different test fixtures and solutions need to be designed according to different types of encoders, and the testing is manual.

Method used

Adopts a modular test system to realize automated testing through components such as a three-axis base, motor and Gaussmeter probe, supports magnetic encoders with different packaging forms and interface types, and uses a motor rotation recording device to record rotation angle and number of turns information for automatic control Rotation of a magnet or magnetic code disk for testing.

Benefits of technology

It realizes automated testing of magnetic encoders, improves testing efficiency, reduces resource waste, supports the compatibility of multiple types of magnetic encoders, saves manual judgment time, and ensures the accuracy of test results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118583206A
    Figure CN118583206A
Patent Text Reader

Abstract

The invention discloses a modular test system and method for a magnetic encoder, and the system comprises a test machine which is provided with a three-axis base and an upper computer switching interface; the magnetic encoder test board is detachably arranged on the three-axis base; the testing bracket is fixed on the testing machine table; the support transverse shaft is rotatably arranged on the test support; one end of the bracket longitudinal shaft is connected with the bracket transverse shaft; the magnetic code disc fixing device is rotatably arranged at the other end of the longitudinal shaft of the bracket; and the magnet mounting head is fixed at the bottom of the magnetic code disc fixing device. The method is applied to the system, testing of the magnetic encoders in different working modes is achieved by replacing corresponding modules, and the technical problem that existing magnetic encoder testing equipment is low in testing efficiency is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of magnetic encoder testing, and in particular relates to a modular testing system and method for a magnetic encoder. Background Art

[0002] As magnetic encoders are increasingly used, various packaging forms and interface types of magnetic encoders that are suitable for different scenarios have emerged. Traditional magnetic encoder testing is achieved by installing different test fixtures. Different test fixtures need to be designed according to different types of encoders, and different test plans need to be formulated. At the same time, the current magnetic encoder test fixture is a manual test, which not only has low test efficiency, but also causes resource waste due to different test fixture designs. Summary of the invention

[0003] In order to solve the above problems, the present invention provides a modular testing system and method for a magnetic encoder, which realizes the testing of magnetic encoders in different working modes by replacing corresponding modules, thereby solving the technical problem of low testing efficiency of existing magnetic encoder testing equipment.

[0004] The technical solution adopted by the present invention is:

[0005] In a first aspect, the present invention discloses a modular testing system for a magnetic encoder, comprising:

[0006] The test machine is provided with a three-axis base and a host computer transfer interface;

[0007] A magnetic encoder test board is detachably mounted on the three-axis base;

[0008] A test bracket, fixed on the test machine;

[0009] A bracket transverse axis, rotatably disposed on the test bracket;

[0010] A longitudinal axis of the support, one end of which is connected to the transverse axis of the support;

[0011] A magnetic code disk fixing device is rotatably arranged at the other end of the longitudinal axis of the bracket;

[0012] The magnet mounting head is fixed to the bottom of the magnetic code disk fixing device.

[0013] As an optional technical solution, the horizontal axis of the bracket is rotatably disposed on the test bracket through a first motor; and the magnetic code disk fixing device is rotatably disposed at one end of the longitudinal axis of the bracket through a second motor.

[0014] As an optional technical solution, the system further includes: a motor rotation recording device for recording when the second motor rotation angle is less than 360 0When the rotation angle of the second motor is greater than or equal to 360 0 When the motor rotates, the rotation angle information and the number of turns of the second motor are recorded; the motor rotation recording device is arranged on the top of the second motor and is communicatively connected with the upper computer transfer interface.

[0015] As an optional technical solution, the motor rotation recording device includes but is not limited to an optical encoder.

[0016] As an optional technical solution, the three-axis base includes: a positioning plate; a Y-axis sliding plate slidably arranged on the positioning plate along the Y-axis; an X-axis sliding plate slidably arranged on the Y-axis sliding plate along the X-axis; a Z-axis base fixed on the X-axis sliding plate; a Z-axis slide slidably arranged on the Z-axis base along the Z-axis; and the magnetic encoder test plate is fixedly connected to the Z-axis slide.

[0017] As an optional technical solution, the system also includes: a Gaussmeter probe, which is used to measure the magnetic induction intensity generated by the magnetic code disk installed on the magnetic code disk fixing device, and is also used to measure the magnetic induction intensity generated by the magnet installed on the magnet mounting head; the Gaussmeter probe is arranged on the top of the three-axis base and is communicatively connected to the upper computer interface.

[0018] As an optional technical solution, the system also includes: a magnetic encoder test socket, used to install a coaxial magnetic encoder to be tested or an off-axis magnetic encoder to be tested; the magnetic encoder test socket is detachably arranged on the magnetic encoder test board; wherein, the magnetic encoder to be tested is communicatively connected to the host computer conversion interface.

[0019] In a second aspect, the present invention discloses a test method for a magnetic encoder, which is applied to a modular test system, wherein the modular test system comprises: a magnetic encoder test board for mounting a magnetic encoder to be tested; a magnet or a magnetic code disk for emitting a magnetic field to the magnetic encoder to be tested; a Gauss meter probe for measuring the magnetic induction intensity of the magnetic field; a first motor for controlling the magnet or the magnetic code disk to rotate along a first central axis; a second motor for controlling the magnet or the magnetic code disk to rotate along a second central axis; a motor rotation recording device for recording rotation data of the second motor; and a host computer connected to the magnetic encoder to be tested through a host computer transfer interface; wherein the Gauss meter probe, the first motor, the second motor and the motor rotation recording device are all connected to the host computer through the host computer interface; the first central axis refers to the central axis of the first motor, and the second central axis refers to the central axis of the magnet or the magnetic code disk; the method comprises:

[0020] Sending a first control signal to the first motor, wherein the first control signal is used to control the magnet or the magnetic code disk to rotate away from the magnetic encoder test board;

[0021] Install the magnetic encoder to be tested to the magnetic encoder test board;

[0022] Start the test step, the test step includes:

[0023] Obtaining a power-on signal of the magnetic encoder to be tested, and determining whether the magnetic encoder to be tested is powered on normally according to the power-on signal, if so, proceeding to the next step, otherwise, obtaining the power-on signal again until the determination result is that the magnetic encoder to be tested is powered on normally;

[0024] Sending a second control signal to the first motor, wherein the second control signal is used to control the magnet or the magnetic code disk to reset to a specified test position;

[0025] Sending a third control signal to the second motor, wherein the third control signal is used to control the magnet or the magnetic code disk to rotate along the second central axis to generate a rotating magnetic field for the magnetic encoder to be tested located relative to the specified test position;

[0026] Receiving test data of the magnetic encoder to be tested;

[0027] Determine whether the various performance indicators of the magnetic encoder to be tested are normal based on the test data, and display the test results.

[0028] As an optional technical solution, after displaying the test results, the following steps are also included:

[0029] sending a fourth control signal to the second motor, wherein the fourth control signal is used to control the second motor to stop working;

[0030] Sending the first control signal to the first motor again, and after the magnet or the magnetic code disk rotates away from the magnetic encoder test board, removing the magnetic encoder to be tested that has completed the test;

[0031] Install another magnetic encoder to be tested to the magnetic encoder test board and repeat the test steps.

[0032] As an optional technical solution, the determining whether various performance indicators of the magnetic encoder to be tested are normal according to the test data includes:

[0033] Compare the first type of data in the test data with the rotation information recorded by the motor rotation recording device, and compare the second type of data in the test data with the pre-stored threshold data, if both the first type of data and the second type of data are within the error range, then determine that they are normal, otherwise, determine that they are abnormal;

[0034] The first type of data includes the rotation angle and number of rotations measured by the magnetic encoder, and the second type of data includes the noise, integral nonlinear error INL, and differential nonlinear error DNL of the magnetic encoder obtained by calculation.

[0035] The beneficial effects of the present invention are:

[0036] 1. In the present application, the automatic test of the magnetic encoder is realized by controlling the rotation of two motors on the test bracket. When the magnetic encoder is taken and placed, the first motor controls the bracket to rotate a certain angle on the horizontal axis, so that the magnet or magnetic code disk is away from the magnetic encoder test board, which is convenient for the taking and placing of the magnetic encoder. After the placement of the magnetic encoder is completed, the first motor controls the bracket to return to the specified test position on the horizontal axis, and the second motor drives the magnet or magnetic code disk to rotate, thereby realizing the automatic test of the magnetic encoder, eliminating the manual operation link and improving the test efficiency.

[0037] 2. Use the magnetic encoder test socket to install the coaxial magnetic encoder to be tested or the off-axis magnetic encoder to be tested, and the magnetic encoder test socket can be detachably arranged on the magnetic encoder test board; when it is coaxial, install the magnetic encoder test socket matching the coaxial type on the magnetic encoder test board, and install the magnet on the magnet mounting head for testing; when it is off-axis, install the magnetic encoder test socket matching the off-axis type on the magnetic encoder test board, and install the magnetic code disk on the magnetic code disk fixture for testing; for more other packaging forms and interface types of magnetic encoders to be tested, it is only necessary to replace the matching magnetic encoder test board; this modular integrated test system has stronger compatibility for the testing of various magnetic encoders, which greatly saves resources. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] Figure 1 FIG. 1 is a schematic diagram of a modular test system for a magnetic encoder in an exemplary embodiment when testing a coaxial magnetic encoder.

[0039] Figure 2 FIG. 1 is a schematic diagram of a modular test system for a magnetic encoder in an example embodiment when testing an off-axis magnetic encoder.

[0040] Figure 3 Schematic diagram of the structure of a three-axis base in an exemplary embodiment.

[0041] Figure 4 Schematic diagram of Gaussmeter probe placement points in an example embodiment.

[0042] Figure 5 Schematic diagram of the installation of a magnetic encoder test socket in an exemplary embodiment.

[0043] Figure 6Schematic diagram of a flow chart of a method for testing a magnetic encoder in an exemplary embodiment. DETAILED DESCRIPTION

[0044] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all of the embodiments. The components of the embodiments of the present invention generally described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present invention provided in the drawings is not intended to limit the scope of the claimed invention, but merely represents selected embodiments of the present invention. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0045] The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments.

[0046] Example

[0047] like Figure 1 and Figure 2 As shown, this embodiment provides a modular testing system for a magnetic encoder, including:

[0048] The test machine 10 is provided with a three-axis base 60 and a host computer transfer interface 90;

[0049] A magnetic encoder test board 50 is detachably mounted on the three-axis base 60;

[0050] A test bracket 20, fixed on the test platform 10;

[0051] A bracket transverse axis 201 is rotatably disposed on the test bracket 20;

[0052] A bracket longitudinal axis 202, one end of which is connected to the bracket transverse axis 201;

[0053] The magnetic code disk fixing device 40 is rotatably disposed at the other end of the bracket longitudinal axis 202;

[0054] The magnet mounting head 30 is fixed to the bottom of the magnetic code disk fixing device 40 .

[0055] As an optional embodiment, the bracket transverse axis 201 is rotatably arranged on the test bracket 20 through a first motor; the magnetic code disk fixing device 40 is rotatably arranged at one end of the bracket longitudinal axis 202 through a second motor. The test bracket 20 has a first cavity inside, and the first motor is arranged in the first cavity. When the first motor rotates, the bracket transverse axis 201 can be driven to rotate around the test bracket 20; the bracket longitudinal axis 202 has a second cavity, and the second motor is arranged in the second cavity. When the second motor rotates, the magnetic code disk fixing device 40 and the magnet mounting head 30 can be driven to rotate; Figure 1 As shown, when testing the coaxial magnetic encoder c, a magnet is installed on the magnet mounting head 30, as shown in FIG. Figure 2 As shown, when testing the off-axis magnetic encoder b, the magnetic code disk a is installed on the magnetic code disk fixing device 40, and when the second motor rotates, the magnet or the magnetic code disk can be driven to rotate.

[0056] As an optional implementation, Figure 2 As shown, the modular test system further includes: a motor rotation recording device 203 for recording when the second motor rotation angle is less than 360 0 When the rotation angle of the second motor is greater than or equal to 360 0 When the second motor is rotated, the rotation angle information and the number of turns of the second motor are recorded; the motor rotation recording device 203 is arranged on the top of the second motor and is communicatively connected with the host computer transfer interface 90.

[0057] The existing magnetic encoder test system cannot distinguish between the test of single-turn and multi-turn magnetic encoders, that is, the system lacks the function of recording the absolute position, angle and number of turns of the device. In this embodiment, a motor rotation recording device 203 is additionally provided on the top of the second motor, and the motor rotation recording device 203 records the position, angle and number of turns of the motor rotation, etc. Specifically:

[0058] When the rotation range is within 360°, that is, when measuring a single-turn magnetic encoder, it is only necessary to record the rotation angle information of the second motor and transmit it to the host computer;

[0059] When it is necessary to measure a rotation greater than or equal to 360°, that is, when measuring a multi-turn magnetic encoder, it is necessary to record information such as the position, angle, and number of turns of the second motor and transmit it to the host computer.

[0060] As an optional implementation, the motor rotation recording device 203 includes but is not limited to an optical encoder.

[0061] As an optional implementation, Figure 3As shown, the three-axis base 60 includes: a positioning plate 601; a Y-axis sliding plate 602 slidably arranged on the positioning plate 601 along the Y axis; an X-axis sliding plate 603 slidably arranged on the Y-axis sliding plate 602 along the X axis; a Z-axis base 604 fixed on the X-axis sliding plate 603; a Z-axis slide 605 slidably arranged on the Z-axis base 604 along the Z axis; the magnetic encoder test board 50 is fixedly connected to the Z-axis slide 605, specifically, a test board mounting seat 606 is provided on the Z-axis slide 605, and the magnetic encoder test board 50 is detachably fixed on the test board mounting seat 606. By sliding the Y-axis sliding plate 602 on the positioning plate 601, the X-axis sliding plate 603 on the Y-axis sliding plate 602, and the Z-axis slide 605 on the Z-axis base 604, the spatial position of the magnetic encoder test board 50 fixedly connected to the Z-axis slide 605 can be adjusted.

[0062] As an optional embodiment, the modular test system further includes: a Gauss meter probe, which is used to measure the magnetic induction intensity generated by the magnetic code disk a installed on the magnetic code disk fixing device 40, and is also used to measure the magnetic induction intensity generated by the magnet installed on the magnet mounting head 30; the Gauss meter probe is arranged on the top of the three-axis base 60, specifically arranged as follows Figure 4 The Gauss meter probe is placed at the top of the triaxial base 60 shown in the figure, and is connected to the host computer transfer interface 90 for communication. More specifically, the Gauss meter probe is set at Figure 3 Between the top of the test board mounting base 606 and the magnetic encoder test board 50 (not shown in the figure).

[0063] The existing magnetic encoder test system lacks the function of testing the magnetic induction intensity. In this embodiment, a Gaussmeter probe is placed at the Gaussmeter probe placement point. Before the test, the magnetic induction intensity of the magnet or the magnetic code disk is sensed by the Gaussmeter probe and displayed on the host computer. The Gaussmeter probe is located at the symmetrical center of the magnetic encoder to be tested installed on the magnetic encoder test board 50.

[0064] As an optional implementation, Figure 5As shown, the modular test system also includes: a magnetic encoder test seat 501, which is used to install a coaxial magnetic encoder c to be tested or an off-axis magnetic encoder b to be tested; the magnetic encoder test seat 501 is detachably arranged on the magnetic encoder test board 50; wherein the magnetic encoder to be tested is communicatively connected with the host computer switching interface. When it is necessary to test the coaxial magnetic encoder c to be tested, the original magnetic encoder test seat 501 on the magnetic encoder test board 50 is removed, and another magnetic encoder test seat 501 matching the coaxial magnetic encoder c to be tested is re-placed, and then the coaxial magnetic encoder to be tested is installed on the matching magnetic encoder test seat 501, and then the test is started. By replacing the detachable magnetic encoder test seat 501 after the test is completed, the replacement time of the magnetic encoder between two tests is shortened, and the test efficiency of the magnetic encoder can be improved.

[0065] In order to better understand the present application, the test process when using the above-mentioned modular test system for testing is further explained below.

[0066] like Figure 1 As shown, when using a magnet and a coaxial magnetic encoder for testing, first install the magnet on the magnet mounting head 30, and then perform the test according to the following steps:

[0067] 1. Adjust the distance between the magnet and the magnetic encoder test board 50 to meet the test requirements, which can be adjusted by the three-axis base 60;

[0068] 2. After confirmation, press the switch 70 to control the first motor to rotate the bracket horizontal axis 201 to a certain angle so that the magnet leaves the top of the magnetic encoder test board 50;

[0069] 3. After placing the coaxial magnetic encoder c to be tested on the magnetic encoder test board 50, press the switch 70 again;

[0070] 4. The magnetic encoder test board 50 is powered on, and the coaxial magnetic encoder c is powered on normally and the status is displayed by the indicator light 80;

[0071] 5. The first motor controls the bracket horizontal axis 201 to return to the specified test position, and the second motor drives the magnet installed on the magnet mounting head 30 to rotate;

[0072] 6. The test data signal of the coaxial magnetic encoder c is transmitted to the host computer through the host computer transfer interface 90. The host computer compares the test data with the rotation information recorded by the motor rotation recording device 203 and the pre-stored threshold data. If the test data is within the error range, it is determined to be normal. Otherwise, it is determined to be abnormal and the test result is displayed.

[0073] Specifically, the first type of data in the test data is compared with the rotation information recorded by the motor rotation recording device 203, and the second type of data in the test data is compared with the pre-stored threshold data. If both the first type of data and the second type of data are within the error range, it is determined to be normal, otherwise, it is determined to be abnormal; wherein the first type of data includes the rotation angle and number of rotations measured by the magnetic encoder, and the second type of data includes the noise, integral nonlinear error INL, and differential nonlinear error DNL of the magnetic encoder obtained by calculation;

[0074] 7. After the test is finished, the second motor stops rotating, and the first motor controls the magnet to deviate from the magnetic encoder test board 50;

[0075] 8. Take out the tested coaxial magnetic encoder c from the magnetic encoder test board 50, put another coaxial magnetic encoder c to be tested back in, and repeat steps 3 to 7 to complete the test of the other coaxial magnetic encoder c.

[0076] like Figure 2 As shown, when using the magnetic code disk and off-axis magnetic encoder b for testing, perform the test in the following steps:

[0077] 1. Install a magnetic code disk a that meets the size requirements on the magnetic code disk fixture 40, and adjust the distance between the magnetic code disk a and the matching off-axis magnetic encoder test board 50 to meet the test requirements, which can be adjusted through the three-axis base 60;

[0078] 2. After confirmation, press the switch 70 to control the first motor to rotate the bracket horizontal axis 201 to a certain angle, so that the magnetic code disk a leaves the top of the magnetic encoder test board 50;

[0079] 3. After placing the off-axis magnetic encoder b to be tested on the magnetic encoder test board 50, press the switch 70 again;

[0080] 4. The magnetic encoder test board 50 is powered on, and the off-axis magnetic encoder b is powered on normally and the status is displayed by the indicator light 80;

[0081] 5. The first motor controls the bracket horizontal axis 201 to return to the specified test position, and the second motor drives the magnetic code disk a to rotate;

[0082] 6. The test data signal of the off-axis magnetic encoder b is transmitted to the host computer through the host computer transfer interface 90. The host computer compares the test data with the rotation information recorded by the motor rotation recording device 203 and the pre-stored threshold data. If the test data is within the error range, it is determined to be normal. Otherwise, it is determined to be abnormal and the test result is displayed on the host computer.

[0083] Specifically, the first type of data in the test data is compared with the rotation information recorded by the motor rotation recording device 203, and the second type of data in the test data is compared with the pre-stored threshold data. If both the first type of data and the second type of data are within the error range, it is determined to be normal, otherwise, it is determined to be abnormal; wherein the first type of data includes the rotation angle and number of rotations measured by the magnetic encoder, and the second type of data includes the noise, integral nonlinear error INL, and differential nonlinear error DNL of the magnetic encoder obtained by calculation;

[0084] 7. After the off-axis magnetic encoder b completes the test, the second motor stops rotating, and the first motor controls the magnetic code disk a to deviate from the magnetic encoder test board 50;

[0085] 8. Take out the tested off-axis magnetic encoder b from the magnetic encoder test board 50, put another off-axis magnetic encoder b to be tested back in, and repeat steps 3 to 7 to complete the test.

[0086] In addition, when testing with the magnetic encoder test board 50 corresponding to the magnetic encoders of different packaging forms or different interface types, the test is performed according to the following steps:

[0087] 1. Control the first motor to rotate the bracket horizontal axis 201 by a certain angle so that the magnet or magnetic code disk leaves the top of the magnetic encoder test board 50;

[0088] 2. Remove the existing magnetic encoder test board 50 from the three-axis base 60. The two are connected by a male and female connector, which is convenient for removal;

[0089] 3. Install the magnetic encoder test board 50 with a new packaging form or a new interface type on the three-axis base 60. The two are connected by a male and female connector, which is easy to install and has positioning holes to ensure accurate installation position;

[0090] 4. Place the magnetic encoder of the new package form or the new interface type on the magnetic encoder test board 50 and press the switch 70;

[0091] 5. The magnetic encoder test board 50 is powered on, and the placed magnetic encoder is powered on normally and the status is displayed by the indicator light 80;

[0092] 6. The first motor controls the bracket horizontal axis 201 to return to the specified test position, and the second motor drives the magnet or magnetic code disk to rotate;

[0093] 7. The test data signal of the magnetic encoder is transmitted to the host computer through the host computer transfer interface 90. The host computer compares the test data with the rotation information recorded by the motor rotation recording device 203 and the pre-stored threshold data. If the test data is within the error range, it is determined to be normal. Otherwise, it is determined to be abnormal and the test result is displayed on the host computer.

[0094] Specifically, the first type of data in the test data is compared with the rotation information recorded by the motor rotation recording device 203, and the second type of data in the test data is compared with the pre-stored threshold data. If both the first type of data and the second type of data are within the error range, it is determined to be normal, otherwise, it is determined to be abnormal; wherein the first type of data includes the rotation angle and number of rotations measured by the magnetic encoder, and the second type of data includes the noise, integral nonlinear error INL, and differential nonlinear error DNL of the magnetic encoder obtained by calculation;

[0095] 8. The magnetic encoder completes the test, the second motor stops rotating, and the first motor controls the magnet or magnetic code disk to deviate from the magnetic encoder test board 50;

[0096] 9. Take out the tested magnetic encoder from the magnetic encoder test board 50, put another magnetic encoder to be tested back in, and repeat steps 5 to 8 to complete the test.

[0097] like Figure 6 As shown, in another embodiment, the present invention discloses a method for testing a magnetic encoder, the method being applied to a modular test system, the modular test system comprising: a magnetic encoder test board 50 for mounting a magnetic encoder to be tested; a magnet or a magnetic code disk for emitting a magnetic field to the magnetic encoder to be tested; a Gauss meter probe for measuring the magnetic induction intensity of the magnetic field; a first motor for controlling the magnet or the magnetic code disk to rotate along a first central axis; a second motor for controlling the magnet or the magnetic code disk to rotate along a second central axis; a motor rotation recording device 203 for recording rotation data of the second motor; and a host computer connected to the magnetic encoder to be tested through a host computer transfer interface 90; wherein the Gauss meter probe, the first motor, the second motor and the motor rotation recording device 203 are all connected to the host computer through the host computer interface 90; the first central axis refers to the central axis of the first motor, and the second central axis refers to the central axis of the magnet or the magnetic code disk; the method comprises:

[0098] Sending a first control signal to the first motor, wherein the first control signal is used to control the magnet or the magnetic code disk to rotate away from the magnetic encoder test board 50;

[0099] Install the magnetic encoder to be tested to the magnetic encoder test board 50;

[0100] Start the test step, the test step includes:

[0101] Obtaining a power-on signal of the magnetic encoder to be tested, and determining whether the magnetic encoder to be tested is powered on normally according to the power-on signal, if so, proceeding to the next step, otherwise, obtaining the power-on signal again until the determination result is that the magnetic encoder to be tested is powered on normally;

[0102] Sending a second control signal to the first motor, wherein the second control signal is used to control the magnet or the magnetic code disk to reset to a specified test position;

[0103] Sending a third control signal to the second motor, wherein the third control signal is used to control the magnet or the magnetic code disk to rotate along the second central axis to generate a rotating magnetic field for the magnetic encoder to be tested located relative to the specified test position;

[0104] Receiving test data of the magnetic encoder to be tested;

[0105] Determine whether the various performance indicators of the magnetic encoder to be tested are normal based on the test data, and display the test results.

[0106] As an optional implementation manner, after displaying the test results, the following steps are further included:

[0107] sending a fourth control signal to the second motor, wherein the fourth control signal is used to control the second motor to stop working;

[0108] Sending the first control signal to the first motor again, and after the magnet or the magnetic code disk rotates away from the magnetic encoder test board, removing the magnetic encoder to be tested that has completed the test;

[0109] Install another magnetic encoder to be tested to the magnetic encoder test board and repeat the test steps.

[0110] As an optional implementation manner, determining whether various performance indicators of the magnetic encoder to be tested are normal according to the test data includes:

[0111] The first type of data in the test data is compared with the rotation information recorded by the motor rotation recording device, and the second type of data in the test data is compared with the pre-stored threshold data. If the first type of data and the second type of data are both within the error range, they are determined to be normal, otherwise, they are determined to be abnormal; wherein, the first type of data includes the rotation angle and number of rotations measured by the magnetic encoder, and the second type of data includes the noise, integral nonlinear error INL, and differential nonlinear error DNL of the magnetic encoder obtained by calculation.

[0112] INL, DNL and noise are the main indicators for measuring the accuracy of magnetic encoders. Different magnetic encoders have different requirements and corresponding threshold settings.

[0113] For example, if the INL index of the magnetic encoder is required to be ±0.2, the INL test index range is set to ±0.2. If the test result is within this range, it is judged as normal. If it exceeds this range, it is automatically judged as abnormal.

[0114] Similarly, if the INL index of the magnetic encoder is required to be ±0.5, the INL test index range is set to ±0.5. If the test result is within this range, it is judged as normal, and if it exceeds this range, it is automatically judged as abnormal.

[0115] The above test data is automatically judged, which saves the time of manual judgment on the test results, thereby improving the test efficiency.

[0116] The method of this embodiment is used to test the magnetic encoder, which has a high degree of automation, greatly improves the test efficiency, reduces the number of manual interventions, avoids mismeasurements that may be caused by multiple manual interventions, and ensures the accuracy of the test results.

[0117] The present invention is not limited to the above-mentioned optional implementation modes. Anyone can derive other various forms of products under the inspiration of the present invention. However, no matter what changes are made in the shape or structure, all technical solutions that fall within the scope defined by the claims of the present invention fall within the protection scope of the present invention.

Claims

1. A modular test system for magnetic encoders, characterized in that: include: The test machine is provided with a three-axis base and a host computer transfer interface; A magnetic encoder test board is detachably mounted on the three-axis base; A test bracket, fixed on the test machine; A bracket transverse axis, rotatably disposed on the test bracket; A longitudinal axis of the support, one end of which is connected to the transverse axis of the support; A magnetic code disk fixing device is rotatably arranged at the other end of the longitudinal axis of the bracket; The magnet mounting head is fixed to the bottom of the magnetic code disk fixing device.

2. The modular testing system for magnetic encoder according to claim 1, characterized in that: The horizontal axis of the bracket is rotatably arranged on the test bracket through a first motor; the magnetic code disk fixing device is rotatably arranged on one end of the longitudinal axis of the bracket through a second motor.

3. The modular testing system for magnetic encoder according to claim 2, characterized in that: Also includes: The motor rotation recording device is used to record the rotation angle of the second motor when it is less than 360 0 When the rotation angle of the second motor is greater than or equal to 360 0 When the motor rotates, the rotation angle information and the number of turns of the second motor are recorded; the motor rotation recording device is arranged on the top of the second motor and is communicatively connected with the upper computer transfer interface.

4. The modular testing system for magnetic encoder according to claim 3, characterized in that: The motor rotation recording device includes but is not limited to an optical encoder.

5. The modular testing system for magnetic encoder according to claim 1, characterized in that: The three-axis base includes: a positioning plate; a Y-axis sliding plate slidably arranged on the positioning plate along the Y-axis; an X-axis sliding plate slidably arranged on the Y-axis sliding plate along the X-axis; a Z-axis base fixed on the X-axis sliding plate; a Z-axis slide seat slidably arranged on the Z-axis base along the Z-axis; and the magnetic encoder test plate is fixedly connected to the Z-axis slide seat.

6. The modular testing system for magnetic encoder according to claim 5, characterized in that: Also includes: A Gaussmeter probe is used to measure the magnetic induction intensity generated by the magnetic code disk installed on the magnetic code disk fixing device, and is also used to measure the magnetic induction intensity generated by the magnet installed on the magnet mounting head; the Gaussmeter probe is arranged on the top of the three-axis base and is communicatively connected with the host computer conversion interface.

7. The modular testing system for magnetic encoder according to claim 1, characterized in that: Also includes: A magnetic encoder test socket is used to install a coaxial magnetic encoder to be tested or an off-axis magnetic encoder to be tested; the magnetic encoder test socket is detachably arranged on the magnetic encoder test board; wherein the magnetic encoder to be tested is communicatively connected to the host computer conversion interface.

8. A method for testing a magnetic encoder, the method being applied to a modular testing system, characterized in that: The modular test system comprises: a magnetic encoder test board for mounting a magnetic encoder to be tested; a magnet or a magnetic code disk for emitting a magnetic field to the magnetic encoder to be tested; a Gauss meter probe for measuring the magnetic induction intensity of the magnetic field; a first motor for controlling the magnet or the magnetic code disk to rotate along a first central axis; a second motor for controlling the magnet or the magnetic code disk to rotate along a second central axis; a motor rotation recording device for recording the rotation data of the second motor; and a host computer connected to the magnetic encoder to be tested through a host computer transfer interface; wherein the Gauss meter probe, the first motor, the second motor and the motor rotation recording device are all connected to the host computer through the host computer interface; the first central axis refers to the central axis of the first motor, and the second central axis refers to the central axis of the magnet or the magnetic code disk; the method comprises: Sending a first control signal to the first motor, wherein the first control signal is used to control the magnet or the magnetic code disk to rotate away from the magnetic encoder test board; Install the magnetic encoder to be tested to the magnetic encoder test board; Start the test step, the test step includes: Obtaining a power-on signal of the magnetic encoder to be tested, and determining whether the magnetic encoder to be tested is powered on normally according to the power-on signal, if so, proceeding to the next step, otherwise, obtaining the power-on signal again until the determination result is that the magnetic encoder to be tested is powered on normally; Sending a second control signal to the first motor, wherein the second control signal is used to control the magnet or the magnetic code disk to reset to a specified test position; Sending a third control signal to the second motor, wherein the third control signal is used to control the magnet or the magnetic code disk to rotate along the second central axis to generate a rotating magnetic field for the magnetic encoder to be tested located relative to the specified test position; Receiving test data of the magnetic encoder to be tested; Determine whether the various performance indicators of the magnetic encoder to be tested are normal based on the test data, and display the test results.

9. The method for testing a magnetic encoder according to claim 8, characterized in that: After displaying the test results, the following steps are also included: sending a fourth control signal to the second motor, wherein the fourth control signal is used to control the second motor to stop working; Sending the first control signal to the first motor again, and after the magnet or the magnetic code disk rotates away from the magnetic encoder test board, removing the magnetic encoder to be tested that has completed the test; Install another magnetic encoder to be tested to the magnetic encoder test board and repeat the test steps.

10. The method for testing a magnetic encoder according to claim 8 or 9, characterized in that: The determining whether various performance indicators of the magnetic encoder to be tested are normal according to the test data includes: Compare the first type of data in the test data with the rotation information recorded by the motor rotation recording device, and compare the second type of data in the test data with the pre-stored threshold data, if both the first type of data and the second type of data are within the error range, then determine that they are normal, otherwise, determine that they are abnormal; The first type of data includes the rotation angle and number of rotations measured by the magnetic encoder, and the second type of data includes the noise, integral nonlinear error INL, and differential nonlinear error DNL of the magnetic encoder obtained by calculation.