Magnetic grid encoder calibration circuit

Through the design of the magnetic grating encoder calibration circuit, the main control chip and the calibration module are used to receive the voltage value and operating parameters, which solves the problem of position information accuracy of the linear magnetic grating encoder under speed fluctuation and realizes the signal processing in different environments. Compensation and accuracy improvements.

CN221666965UActive Publication Date: 2024-09-06SHENZHEN LINEAR MOTO CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202323140571.9
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2023-11-20
Publication Date
2024-09-06
Estimated Expiration
2033-11-20

AI Technical Summary

Technical Problem

After the running speed of the linear magnetic encoder increases, the speed fluctuation index value becomes larger, affecting the accuracy of position information, and the existing technology cannot change parameters such as signal gain parameters and voltage offset.

Method used

A magnetic grating encoder calibration circuit is designed, including a main control chip, a calibration button and a calibration module. The main control chip receives the voltage value obtained by resistor division and the operating parameters of the calibration button to realize the calibration of the linear magnetic grating encoder. , allowing end users to adjust parameters within the application environment.

Benefits of technology

It improves the accuracy of the linear magnetic encoder in reading position information, prevents the speed fluctuation index from becoming larger, and ensures signal quality and position accuracy in different operating environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN221666965U
    Figure CN221666965U
Patent Text Reader

Abstract

The utility model discloses a magnetic grid encoder calibration circuit, the magnetic grid encoder calibration circuit comprises a main control chip, a calibration button and a calibration module, the main control chip is connected with the calibration button and the calibration module, the calibration module comprises a first group of resistors, a second group of resistors, a third group of resistors and a fourth group of resistors, the first group of resistors, the second group of resistors, the third group of resistors and the fourth group of resistors are connected in parallel and are connected with the main control chip; the main control chip is used for receiving voltage values obtained through voltage division of the first set of resistors, the second set of resistors, the third set of resistors and the fourth set of resistors and receiving operation parameters obtained after the calibration key is pressed down and loosened. According to the utility model, the accuracy of reading position information by the linear magnetic grid encoder can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to the technical field of linear magnetic grating encoders, in particular to a magnetic grating encoder calibration circuit. Background Art

[0002] At present, linear magnetic encoders will write parameters such as signal gain parameters, sine voltage offset, cosine voltage offset, the most commonly used interpolation (resolution) and hysteresis value into the external electronic pulse memory EEPROM before leaving the factory. The relevant parameters cannot be changed after leaving the factory.

[0003] In applications, as the speed of the linear motor increases, the speed fluctuation index value of the linear magnetic encoder increases, thereby affecting the accuracy of the position information read by the linear magnetic encoder. Utility Model Content

[0004] The main purpose of the utility model is to provide a magnetic grating encoder calibration circuit, aiming at improving the accuracy of position information read by a linear magnetic grating encoder.

[0005] To achieve the above-mentioned purpose, the utility model proposes a magnetic grating encoder calibration circuit, which includes a main control chip, a calibration button, and a calibration module. The main control chip is connected to the calibration button and the calibration module. The calibration module includes a first group of resistors, a second group of resistors, a third group of resistors, and a fourth group of resistors. The first group of resistors, the second group of resistors, the third group of resistors, and the fourth group of resistors are connected in parallel. The first group of resistors, the second group of resistors, the third group of resistors, and the fourth group of resistors are connected to the main control chip. The main control chip is used to receive a voltage value obtained by dividing the first group of resistors, the second group of resistors, the third group of resistors, and the fourth group of resistors and receive operating parameters obtained after the calibration button is pressed and released.

[0006] In one embodiment, the first group of resistors includes a first resistor and a second resistor, the first resistor is connected in series with the second resistor, the second group of resistors includes a third resistor and a fourth resistor, the third resistor is connected in series with the fourth resistor, the third group of resistors includes a fifth resistor and a sixth resistor, the fifth resistor is connected in series with the sixth resistor, the fourth group of resistors includes a seventh resistor and an eighth resistor, the seventh resistor is connected in series with the eighth resistor.

[0007] In one embodiment, the magnetic encoder calibration circuit further includes a driving chip and an LED light. The driving chip is connected to a calibration button and the LED light. When the calibration button is closed, the driving chip drives the LED light to flash.

[0008] In one embodiment, the magnetic grating encoder calibration circuit also includes a magnetic grating encoder system, which includes a servo drive connected to a linear motor. The servo drive is used to control the linear motor to perform uniform linear reciprocating motion and to provide power to the linear motor.

[0009] In one embodiment, the magnetic grating encoder system is provided with a DB9 interface, and the magnetic grating encoder system is connected to the servo driver via the DB9 interface.

[0010] In one embodiment, the magnetic encoder calibration circuit further includes a burning module, the burning module is connected to the main control chip, and the burning module is used to burn default parameter values.

[0011] In one embodiment, the model of the main control chip is IC-TW8-QFN48-7X7MM.

[0012] The technical solution of the utility model improves the accuracy of the linear magnetic grating encoder in reading position information by adopting a main control chip, a calibration button, and a calibration module. The main control chip receives the voltage value obtained by voltage division of the first group of resistors, the second group of resistors, the third group of resistors, and the fourth group of resistors in the calibration module, and receives the operating parameters obtained after the calibration button is pressed and released to perform calibration. As the operating speed of the linear motor increases, the speed fluctuation index value of the linear magnetic grating encoder can be prevented from becoming larger, thereby improving the accuracy of the linear magnetic grating encoder in reading position information. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] In order to more clearly illustrate the embodiments of the utility model 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 utility model. For ordinary technicians in this field, other drawings can be obtained based on the structures shown in these drawings without paying creative work.

[0014] Figure 1 This is the module diagram of the magnetic encoder calibration circuit;

[0015] Figure 2 This is the calibration module diagram;

[0016] Figure 3 This is the circuit diagram for calibrating some magnetic encoders.

[0017] The realization of the purpose, functional features and advantages of the utility model will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

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

[0019] It should be noted that if the embodiments of the present invention involve directional indications (such as up, down, left, right, front, back...), the directional indications 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.

[0020] In addition, if there are descriptions involving "first", "second", etc. in the embodiments of the utility model, the descriptions of "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 technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, if the meaning of "and / or" appearing in the full text is to include three parallel schemes, taking "A and / or B" as an example, it includes scheme A, or scheme B, or a scheme that satisfies both A and B. In addition, the technical solutions between the various embodiments can be combined with each other, but it must be based on the ability of ordinary technicians in this field to implement. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such a combination of technical solutions does not exist and is not within the scope of protection required by the utility model.

[0021] like Figure 1 and Figure 3 As shown, the utility model proposes a magnetic grating encoder calibration circuit, the magnetic grating encoder calibration circuit includes a main control chip U2, a calibration button SW2, and a calibration module 1, the main control chip U2 is connected with the calibration button SW2 and the calibration module 1, the calibration module 1 includes a first group of resistors, a second group of resistors, a third group of resistors, and a fourth group of resistors, the first group of resistors, the second group of resistors, the third group of resistors, and the fourth group of resistors are connected in parallel, the first group of resistors, the second group of resistors, the third group of resistors, and the fourth group of resistors are connected to the main control chip U2, the main control chip U2 is used to receive the voltage value obtained by dividing the first group of resistors, the second group of resistors, the third group of resistors, and the fourth group of resistors and receive the operating parameters obtained after the calibration button SW2 is pressed and released.

[0022] The technical solution of the utility model improves the accuracy of the linear magnetic grating encoder in reading position information by adopting a main control chip U2, a calibration button SW2, and a calibration module 1. The main control chip U2 receives the voltage value obtained by dividing the first group of resistors, the second group of resistors, the third group of resistors, and the fourth group of resistors in the calibration module 1, and receives the operating parameters obtained after the calibration button SW2 is pressed and released to perform calibration. As the operating speed of the linear motor 4 increases, the speed fluctuation index value of the linear magnetic grating encoder can be prevented from becoming larger, thereby improving the accuracy of the linear magnetic grating encoder in reading position information.

[0023] like Figure 2 As shown, the first group of resistors includes a first resistor R2 and a second resistor R3, the first resistor R2 and the second resistor R3 are connected in series, the second group of resistors includes a third resistor R4 and a fourth resistor R5, the third resistor R4 and the fourth resistor R5 are connected in series, the third group of resistors includes a fifth resistor R6 and a sixth resistor R7, the fifth resistor R6 and the sixth resistor R7 are connected in series, the fourth group of resistors includes a seventh resistor R8 and an eighth resistor R9, the seventh resistor R8 and the eighth resistor R9 are connected in series;

[0024] The first resistor R2, the second resistor R3, the third resistor R4, the fourth resistor R5, the fifth resistor R6, the sixth resistor R7, the seventh resistor R8, and the eighth resistor R9 can also be used to limit the current in the calibration module 1. In the calibration module 1, the current will generate a voltage drop in the resistor, thereby limiting the flow of the current. By adjusting the resistance values ​​of the first resistor R2, the second resistor R3, the third resistor R4, the fourth resistor R5, the fifth resistor R6, the sixth resistor R7, the seventh resistor R8, and the eighth resistor R9, the magnitude of the current can be controlled, thereby protecting other more sensitive components in the circuit from excessive current shocks; it can also be used to adjust the voltage of the circuit. In a parallel circuit, the first resistor R2, the second resistor R3, the third resistor R4, the fourth resistor R5, the fifth resistor R6, the sixth resistor R7, the seventh resistor R8, and the eighth resistor R9 can provide an additional current path, thereby reducing the total resistance of the magnetic grating encoder calibration circuit, and making the voltage distribution of the magnetic grating encoder calibration circuit more uniform.

[0025] The magnetic grating encoder calibration circuit also includes a driving chip U4 and an LED light 3. The driving chip U4 is connected to the calibration button SW2 and the LED light 3. When the calibration button SW2 is closed, the driving chip U4 drives the LED light 3 to flash.

[0026] In the embodiment of the present utility model, Figure 1 and Figure 3As shown, the calibration button SW2 is added to the magnetic grating encoder calibration circuit, which can write the signal gain parameters, sine voltage bias, cosine voltage bias, the most commonly used interpolation (resolution) and hysteresis value and other parameters into the external electronic pulse memory EEPROM before leaving the factory, or according to the actual application environment of the terminal user after leaving the factory, by pressing the calibration button SW2, moving the magnetic grating encoder at a constant speed of 3 cm, and releasing the calibration button SW2, the operating parameters of the application environment can be written into the EEPROM. The implementation principle is as follows: the 30th terminal C0, the 31st terminal C1, the 32nd terminal C2, and the 33rd terminal C3 of the main control chip U2 obtain the following precise voltage combination:

[0027] The voltage V0 of the 30th terminal C0 is:

[0028] V0=R3 / (R2+R3)*5V=8.06K(8.06K+6.98K)*5V=2.6795V;

[0029] The voltage V1 of C1 at terminal 31:

[0030] V1=R5 / (R4+R5)*5V=10K / (4.99K+10K)*5V=3.3356V;

[0031] The voltage V2 at terminal 32 C2 is equal to 5V;

[0032] The voltage V3 of C3 at the 33rd terminal:

[0033] V3=R9 / (R8+R9)*5V=6.04K / (9.09K+6.04K)*5V=1.996V;

[0034] At this time, the terminal user is allowed to enter the automatic calibration mode through the calibration button SW2.

[0035] The steps for this automatic calibration are as follows:

[0036] Install the linear magnetic encoder at the specified spacing distance (the spacing distance refers to the spacing distance between the encoder and the magnetic scale) and power it on;

[0037] In the actual application environment, by pressing the calibration button SW2, the LED light 3 flashes red, the magnetic encoder is moved at a constant speed of 3 cm, and the calibration button SW2 is released to write the operating parameters of the application environment into the EEPROM.

[0038] Since the signal is written according to the operating environment of the actual application, the gain is automatically matched, and the sensor offset and sine / cosine channel gain matching and phase offset are compensated, which is sufficient to compensate for any signal offset, gain and phase distortion. A higher quality signal is provided for the subsequent servo driver. As the operating speed of the linear motor 4 increases, the speed fluctuation index value of the linear magnetic grating encoder can be prevented from becoming larger, thereby improving the accuracy of the linear magnetic grating encoder in reading position information.

[0039] In addition, the magnetic grating encoder calibration circuit also includes a magnetic grating encoder system, which includes a servo driver 5 (not shown in the figure), and the servo driver 5 is connected to a linear motor 4 (not shown in the figure). The servo driver 5 is used to control the linear motor 4 to perform uniform linear reciprocating motion and to provide power for the linear motor 4. The magnetic grating encoder system is provided with a DB9 interface 6, and the magnetic grating encoder system is connected to the servo driver 5 through the DB9 interface 6. The DB9 interface 6 is a serial port interface, which is a 9-pin D-type cable connector. The power supply is AC power. The magnetic grating encoder calibration circuit also includes a burning module 2, and the burning module 2 is connected to the main control chip U2. The burning module 2 is used to burn default parameter values, and the parameter values ​​are factory-set parameter values. The burning module 2 can load debugging code, breakpoints, etc. into the target chip or device for debugging and testing.

[0040] The model of the main control chip U2 is IC-TW8-QFN48-7X7MM, but the actual use is not limited to this model of the main control chip U2.

[0041] The above description is only an optional embodiment of the present invention, and does not limit the patent scope of the present invention. All equivalent structural changes made by using the contents of the present invention specification and drawings under the inventive concept of the present invention, or directly / indirectly applied in other related technical fields are included in the patent protection scope of the present invention.

Claims

1. A magnetic encoder calibration circuit, characterized in that: The magnetic grating encoder calibration circuit includes a main control chip, a calibration button, and a calibration module. The main control chip is connected to the calibration button and the calibration module. The calibration module includes a first group of resistors, a second group of resistors, a third group of resistors, and a fourth group of resistors. The first group of resistors, the second group of resistors, the third group of resistors, and the fourth group of resistors are connected in parallel. The first group of resistors, the second group of resistors, the third group of resistors, and the fourth group of resistors are connected to the main control chip. The main control chip is used to receive a voltage value obtained by dividing the first group of resistors, the second group of resistors, the third group of resistors, and the fourth group of resistors and receive operating parameters obtained after the calibration button is pressed and released.

2. The magnetic encoder calibration circuit according to claim 1, characterized in that: The first group of resistors includes a first resistor and a second resistor, the first resistor is connected in series with the second resistor, the second group of resistors includes a third resistor and a fourth resistor, the third resistor is connected in series with the fourth resistor, the third group of resistors includes a fifth resistor and a sixth resistor, the fifth resistor is connected in series with the sixth resistor, the fourth group of resistors includes a seventh resistor and an eighth resistor, the seventh resistor is connected in series with the eighth resistor.

3. The magnetic encoder calibration circuit according to claim 1, characterized in that: The magnetic grating encoder calibration circuit also includes a driving chip and an LED light. The driving chip is connected to a calibration button and the LED light. When the calibration button is closed, the driving chip drives the LED light to flash.

4. The magnetic encoder calibration circuit according to claim 1, characterized in that: The magnetic grating encoder calibration circuit also includes a magnetic grating encoder system, which includes a servo driver connected to a linear motor. The servo driver is used to control the linear motor to perform uniform linear reciprocating motion and to provide power to the linear motor.

5. The magnetic encoder calibration circuit according to claim 4, characterized in that: The magnetic grating encoder system is provided with a DB9 interface, and the magnetic grating encoder system is connected to the servo driver via the DB9 interface.

6. The magnetic encoder calibration circuit according to claim 4, characterized in that: The magnetic grating encoder calibration circuit also includes a burning module, which is connected to the main control chip and is used to burn default parameter values.

7. The magnetic encoder calibration circuit according to claim 1, characterized in that: The model of the main control chip is IC-TW8-QFN48-7X7MM.