Method and device for detecting induction magnetic ring of magnetic encoder
Through detection methods such as setting parameters, starting the motor drive the magnetic ring rotation, sensor collecting data and performing signal processing, the problems of low detection accuracy, complex operation and low efficiency in the prior art are solved, and high-precision and high-efficiency magnetic encoder induction magnetic ring detection are realized.
Patent Information
- Application Number
- CN202411971414.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-30
- Publication Date
- 2025-04-08
AI Technical Summary
The existing magnetic encoder induction magnetic ring detection technology has problems such as low detection accuracy, complex operation and low efficiency, which is difficult to meet the needs of modern industry for high-precision and high-efficiency detection.
A detection method including setting parameters, starting the motor to drive the magnetic ring rotation, sensor collecting magnetic field change data in real time, signal processing circuit for preprocessing and comparative analysis is adopted. Through the design of high-precision motor and sensor array, combined with intelligent control and analysis units, high-precision detection of magnetic ring mass is achieved.
It improves the detection accuracy and efficiency of the magnetic encoder induction magnetic ring, simplifies the operation process, and realizes automatic recording and storage of detection results, which facilitates subsequent query and traceability.
Smart Images

Figure CN119779379A_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to the technical field of magnetic encoder detection, and in particular to a detection method and device for an inductive magnetic ring of a magnetic encoder. [Background technology]
[0002] A magnetic encoder is an encoder that uses magnetic induction technology to process the detected magnetic field information and output relevant position, speed or angle information. It is widely used because of its non-contact, small size, low cost, simple structure and high reliability.
[0003] However, the quality and performance of the inductive magnetic ring of the magnetic encoder directly affect the accuracy and reliability of the magnetic encoder, so an effective detection method and device are needed to ensure the quality of the inductive magnetic ring.
[0004] At present, the existing detection technology of magnetic ring manufacturers cannot accurately provide performance parameters. The existing magnetic encoder induction magnetic ring detection methods and devices have some shortcomings, such as low detection accuracy, complex operation, low efficiency, etc., which are difficult to meet the needs of modern industrial production for high-precision and high-efficiency detection of magnetic encoders. [Summary of the invention]
[0005] In order to overcome the above problems, the present invention proposes a high-precision, high-efficiency and easy-to-operate detection method and device for the inductive magnetic ring of a magnetic encoder to solve the above problems existing in the prior art, ensure the quality of the inductive magnetic ring of the magnetic encoder, and improve the overall performance and reliability of the magnetic encoder.
[0006] A technical solution provided by the present invention to solve the above technical problem is: to provide a method for detecting an inductive magnetic ring of a magnetic encoder, comprising the following steps:
[0007] Step S1, setting parameters, setting the motor speed and the sensor acquisition frequency through the control and analysis unit;
[0008] Step S2, starting the motor to drive the magnetic ring to rotate at a set speed. During the rotation of the magnetic ring, the sensor collects magnetic field change data in real time and transmits the data to the signal processing circuit;
[0009] Step S3, the signal processing circuit performs preprocessing operations on the collected data;
[0010] Step S4, after receiving the pre-processed data, the control and analysis unit compares and analyzes the pre-processed data with the preset standard magnetic field data;
[0011] Step S5, based on the results of the comparative analysis, the control and analysis unit determines whether the magnetic ring is qualified and determines the location and extent of the defects.
[0012] Preferably, in step S1, the rotation speed can be selected between 100-1000 rpm, and the acquisition frequency can be selected between 1000-10000 Hz.
[0013] Preferably, in step S3, the filtering circuit uses a low-pass filter to remove high-frequency noise interference; the amplifying circuit amplifies the signal according to the strength of the signal; and the analog-to-digital conversion circuit converts the analog signal into a digital signal.
[0014] Preferably, in step S4, during the comparative analysis, a difference comparison and correlation analysis method is used to calculate the deviation between the collected data and the standard data; if the deviation exceeds a set threshold, it is considered that the magnetic ring has defects.
[0015] Preferably, in step S5, if there is a defect in the magnetic ring, the defect information is displayed on the display in the form of text or graphics, and a test report can be printed by a printer.
[0016] A detection device for an inductive magnetic ring of a magnetic encoder comprises a fixing seat, a motor and a sensor are arranged in the fixing seat, a magnetic ring fixing seat is connected to the output shaft of the motor, and a magnetic ring to be detected is connected to the magnetic ring fixing seat;
[0017] The fixing seat is provided with a signal processing device, and the signal processing device is connected to the sensor through a sensor original signal transmission line;
[0018] The detection device of the magnetic encoder inductive magnetic ring also includes a parameter setting device, the signal processing device is connected to the parameter setting device through a processing signal transmission line, and the motor and the parameter setting device are connected through a motor signal line.
[0019] Preferably, the motor, sensor, magnetic ring fixing seat and detected magnetic ring are all coaxially distributed.
[0020] Preferably, the sensor includes Hall A and Hall B, and Hall A and Hall B are distributed at 90 degrees with the same center and radius.
[0021] Preferably, the signal processing device includes a signal processing circuit, the signal processing circuit includes a filter circuit, an amplifier circuit, an analog-to-digital conversion circuit, a digital signal processing circuit and a high-speed communication chip, the filter circuit is connected to the amplifier circuit, the amplifier circuit is connected to the analog-to-digital conversion circuit, the analog-to-digital conversion circuit is connected to the digital signal processing circuit, and the digital signal processing circuit is connected to the high-speed communication chip. The filter circuit is used to remove noise interference in the collected data, the amplifier circuit is used to enhance the strength of the signal, and the analog-to-digital conversion circuit converts the analog signal into a digital signal.
[0022] Preferably, the filtering circuit comprises a filter A and a filter B, wherein the filter A is used to receive the Hall A voltage, and the filter B is used to receive the Hall B voltage;
[0023] The amplifying circuit comprises a signal amplifier A and a signal amplifier B, wherein the signal amplifier A is connected to the filter A, and the signal amplifier B is connected to the filter B;
[0024] The analog-to-digital conversion circuit adopts a high-precision AD conversion circuit, and the signal amplifier A and the signal amplifier B are respectively connected to the high-precision AD conversion circuit.
[0025] Compared with the prior art, the detection method and device of the magnetic encoder induction magnetic ring of the present invention can more accurately judge whether the magnetic encoder induction magnetic ring has defects and the specific circumstances of the defects by comparing and analyzing with preset standard magnetic field data, thereby improving the detection accuracy; the use of high-precision motors and couplings can ensure the stability and uniformity of the rotation of the magnetic ring, which is conducive to improving the reliability of the detection results; the reasonable design of the sensor array and the effective processing of the signal processing circuit make the collected data more accurate and stable, further improving the detection accuracy and efficiency; the intelligent control and data analysis functions of the control and analysis unit not only simplify the operation process and improve the detection efficiency, but also can realize the automatic recording and storage of the detection results, which is convenient for subsequent query and tracing.
Brief Description of the Drawings
[0026] Figure 1 It is a flow chart of the detection method of the inductive magnetic ring of the magnetic encoder of the present invention;
[0027] Figure 2 It is a three-dimensional diagram of a detection device for the inductive magnetic ring of a magnetic encoder of the present invention;
[0028] Figure 3 It is a cross-sectional view of a detection device for the inductive magnetic ring of a magnetic encoder of the present invention;
[0029] Figure 4 It is a front view of the detection device of the inductive magnetic ring of the magnetic encoder of the present invention;
[0030] Figure 5 It is a front view of a sensor of a detection device for an inductive magnetic ring of a magnetic encoder of the present invention;
[0031] Figure 6 The figure is a schematic diagram of a signal processing circuit of a detection device for an inductive magnetic ring of a magnetic encoder according to the present invention. [Specific implementation method]
[0032] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and implementation examples. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0033] It should be noted that in the embodiments of the present invention, all directional indications (such as up, down, left, right, front, back, etc.) are limited to relative positions on the specified view, rather than absolute positions.
[0034] In addition, in the present invention, 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. In the description of the present invention, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0035] See also Figures 1 to 6 The detection method of the magnetic encoder induction magnetic ring of the present invention comprises the following steps:
[0036] Step S1, setting parameters, setting the speed of the motor and the acquisition frequency of the sensor and other parameters through the control and analysis unit.
[0037] In step S1, according to the specifications of the magnetic ring and the detection requirements, a suitable rotation speed and acquisition frequency are selected. Generally speaking, the rotation speed can be selected between 100-1000 rpm, and the acquisition frequency can be selected between 1000-10000 Hz.
[0038] Step S2, start the motor to drive the magnetic ring to rotate at a set speed. During the rotation of the magnetic ring, the sensor array collects magnetic field change data in real time and transmits the data to the signal processing circuit.
[0039] In step S3, the signal processing circuit performs pre-processing operations such as filtering, amplification and analog-to-digital conversion on the collected data.
[0040] In step S3, the filtering circuit uses a low-pass filter such as a Butterworth filter to remove high-frequency noise interference; the amplification circuit performs appropriate amplification according to the strength of the signal to ensure that the signal can be accurately identified; the analog-to-digital conversion circuit converts the analog signal into a digital signal for processing by the control and analysis unit.
[0041] Step S4: After receiving the pre-processed data, the control and analysis unit compares and analyzes the pre-processed data with the preset standard magnetic field data.
[0042] In step S4, during the comparative analysis, the deviation between the collected data and the standard data is calculated by using methods such as difference comparison and correlation analysis. If the deviation exceeds a set threshold, it is considered that the magnetic ring has defects.
[0043] Step S5, based on the results of the comparative analysis, the control and analysis unit determines whether the magnetic ring is qualified and determines the location and extent of the defects.
[0044] In step S5, if there is a defect in the magnetic ring, the defect information is displayed on the display in the form of text, graphics, etc., and a test report can be printed by a printer to facilitate subsequent maintenance and processing.
[0045] The detection device of the magnetic encoder inductive magnetic ring of the present invention comprises a fixing base 10, wherein a motor 20 and a sensor 30 are arranged in the fixing base 10, a magnetic ring fixing base 40 is connected to the output shaft of the motor 20, and a detected magnetic ring 50 is connected to the magnetic ring fixing base 40.
[0046] The fixing seat 10 is provided with a signal processing device 60 , and the signal processing device 60 is connected to the sensor 30 via a sensor original signal transmission line 81 .
[0047] The detection device of the magnetic encoder inductive magnetic ring also includes a parameter setting device 70 , the signal processing device 60 is connected to the parameter setting device 70 via a processing signal transmission line 82 , and the motor 20 and the parameter setting device 70 are connected via a motor signal line 83 .
[0048] The motor 20, the sensor 30, the magnetic ring fixing seat 40 and the detected magnetic ring 50 are all coaxially distributed.
[0049] The fixed seat 10 fixes the motor 20 and the sensor 30. The motor 20 can rotate at the speed set by the parameter setting device 70. The magnetic ring fixing seat 40 and the output shaft of the motor are tightly fitted (fixed tightly to the motor shaft by a certain method such as side locking screws), that is, when the motor 20 rotates, the magnetic ring fixing seat 40 rotates with the output shaft of the motor. The detected magnetic ring 50 is fixed on the magnetic ring fixing seat 40. The detected magnetic ring 50 can be quickly removed from the magnetic ring fixing seat after the detection is completed.
[0050] The sensor 30 is provided with two high-precision Hall sensors and is distributed concentrically at 90 degrees. Its function is to sense the magnetic field of the detected magnetic ring 50. The principle is to convert the sensed magnetic field into two voltage signals. Ideally, the two voltage signals are orthogonal signals (orthogonal signals have the same frequency, the same amplitude, and a phase difference of 90 degrees). The orthogonal signal is transmitted to the signal processing device 60 for signal processing (filtering, amplification, analog-to-digital conversion). The signal processing device 60 feeds back the collected and processed digital signal to the parameter setting device 70. The parameter setting device 70 calculates and compares the set parameters and the fed-back data to determine whether the detected magnetic ring 50 is qualified.
[0051] The sensor 30 includes a Hall A31 and a Hall B32, and the Hall A31 and the Hall B32 are distributed at 90 degrees with the same center and the same radius.
[0052] The sensor 30 includes a signal interface 33 , and the signal interface 33 is connected to the sensor original signal transmission line 81 .
[0053] The signal processing device 60 includes a signal processing circuit, which includes a filter circuit, an amplifier circuit, an analog-to-digital conversion circuit, a digital signal processing circuit and a high-speed communication chip. The filter circuit is connected to the amplifier circuit, which is connected to the analog-to-digital conversion circuit, which is connected to the digital signal processing circuit, and which is connected to the high-speed communication chip. The filter circuit is used to remove noise interference in the collected data, the amplifier circuit is used to enhance the strength of the signal, and the analog-to-digital conversion circuit converts the analog signal into a digital signal for subsequent processing and analysis.
[0054] The filtering circuit includes a filter A and a filter B, wherein the filter A is used to receive the Hall A voltage, and the filter B is used to receive the Hall B voltage.
[0055] The amplifying circuit includes a signal amplifier A and a signal amplifier B. The signal amplifier A is connected to the filter A, and the signal amplifier B is connected to the filter B.
[0056] The analog-to-digital conversion circuit adopts a high-precision AD conversion circuit, and the signal amplifier A and the signal amplifier B are respectively connected to the high-precision AD conversion circuit.
[0057] The parameter setting device 70 includes a control and analysis unit, which uses a microcontroller or a computer and is responsible for controlling the operation of the entire detection process, including the speed of the drive motor 20, the acquisition frequency of the sensor 30, etc. At the same time, the collected data is processed and analyzed, and compared with the preset standard data, and finally the detection result is obtained, and the result can be displayed or printed out through an output device such as a display or a printer.
[0058] The workflow of the control and analysis unit includes data collection, preprocessing, comparative analysis, result judgment and output. The workflow of the control and analysis unit specifically includes the following steps:
[0059] Step Y1, set parameters, including the upper and lower amplitudes Vmax and Vmin of the reference Hall digital signal, the middle value Vmid of the Hall digital signal, the allowable error VmidErr of the middle value, the allowable magnetic field error Verr, the maximum error number ErrMaxCnt, and the reference value SinRef (set sine value) of the magnetic field sinusoidal signal. Set the motor speed (rpm 100-1000 rpm).
[0060] Step Y2, start the detection, the motor rotates according to the set speed to drive the magnetic ring to rotate, and synchronously starts to collect sensor signals and transmits them to the sensor signal processing device through the signal line for filtering, amplification and analog-to-digital conversion to obtain continuous HallA_Data and HallB_Data and transmit them to the parameter setting device.
[0061] Step Y3, the parameter setting device obtains the maximum and minimum values HallAmax and HallBmax, HallAmin and HallBmin of Hall A and Hall B according to the results of multiple continuous acquisitions, and calculates HallAmid and HallBmid according to the formula Vmid=(Vmax-Vmin) / 2+Vmin.
[0062] Step Y4, if any Hall signal is not in the interval of the set reference signal [Vmin, Vmax], or any value of HallAmid and HallBmid is not in the interval [(Vmid-VmidErr), (Vmid+VmidErr)], it is directly judged that the magnetic ring is defective, and the parameter setting device sends a stop signal to the motor to stop the motor. If the above conditions are met, proceed to the next step.
[0063] Step Y5, the motor continues to rotate at a constant speed according to the set speed, the signal continues to be collected, and the comparison is performed starting from the maximum value of the collection, with unit time (1 / N seconds) as the time interval.
[0064] Step Y6, if the multiple-turn detection is in the interval [-Verr, Verr], the detection is passed; if it is not in the interval [-Verr, Verr] during the detection process and exceeds the maximum error number ErrMaxCnt, it indicates that the induction magnetic ring is defective.
[0065] The motor 20 uses a high-precision motor as a driving source, and is connected to the rotating shaft of the magnetic ring through a coupling to ensure that the magnetic ring can rotate at a stable speed. The speed of the motor can be accurately adjusted as needed to meet different detection requirements.
[0066] The sensor 30 is composed of a plurality of Hall sensors forming a sensor array, which is evenly distributed around the magnetic ring. The number and distribution density of the sensors can be adjusted according to the size and accuracy requirements of the magnetic ring to ensure that the magnetic field change data can be fully and accurately collected.
[0067] The detection device of the magnetic encoder induction magnetic ring of the present invention has the following working principle:
[0068] First, set the detection parameters, start the detection, use the motor to drive the magnetic ring to rotate at a constant speed, and use the sensor to collect the magnetic field change data during the rotation of the magnetic ring. The sensor can be a component that can sense the change of the magnetic field, such as a Hall sensor, and evenly distribute it around the magnetic ring to obtain more comprehensive and accurate magnetic field information.
[0069] Then, the collected magnetic field change data is preprocessed, including filtering, amplification and other operations, to remove noise interference and enhance the stability and recognizability of the signal.
[0070] Next, the pre-processed data is compared and analyzed with the preset standard magnetic field data, which is obtained through a large number of tests and analyses of qualified magnetic encoder induction magnetic rings and is representative and accurate.
[0071] Finally, based on the results of the comparative analysis, it is determined whether the magnetic ring has defects and the location and extent of the defects. For example, if the deviation between the collected data and the standard data exceeds the set threshold, it is considered that the magnetic ring has defects, and the specific situation of the defects is further determined.
[0072] Compared with the prior art, the detection method and device of the magnetic encoder induction magnetic ring of the present invention can more accurately judge whether the magnetic encoder induction magnetic ring has defects and the specific circumstances of the defects by comparing and analyzing with preset standard magnetic field data, thereby improving the detection accuracy; the use of high-precision motors and couplings can ensure the stability and uniformity of the rotation of the magnetic ring, which is conducive to improving the reliability of the detection results; the reasonable design of the sensor array and the effective processing of the signal processing circuit make the collected data more accurate and stable, further improving the detection accuracy and efficiency; the intelligent control and data analysis functions of the control and analysis unit not only simplify the operation process and improve the detection efficiency, but also can realize the automatic recording and storage of the detection results, which is convenient for subsequent query and tracing.
[0073] The above description is only a preferred embodiment of the present invention, and does not limit the patent scope of the present invention. Any modifications, equivalent substitutions and improvements made within the concept of the present invention should be included in the patent protection scope of the present invention.
Claims
1. A method for detecting an inductive magnetic ring of a magnetic encoder, characterized in that: The steps include: Step S1, setting parameters, setting the motor speed and the sensor acquisition frequency through the control and analysis unit; Step S2, starting the motor to drive the magnetic ring to rotate at a set speed. During the rotation of the magnetic ring, the sensor collects magnetic field change data in real time and transmits the data to the signal processing circuit; Step S3, the signal processing circuit performs preprocessing operations on the collected data; Step S4, after receiving the pre-processed data, the control and analysis unit compares and analyzes the pre-processed data with the preset standard magnetic field data; Step S5, based on the results of the comparative analysis, the control and analysis unit determines whether the magnetic ring is qualified and determines the location and extent of the defects.
2. The method for detecting the inductive magnetic ring of a magnetic encoder according to claim 1, characterized in that: In step S1, the rotation speed can be selected between 100-1000 rpm, and the acquisition frequency can be selected between 1000-10000 Hz.
3. The method for detecting the inductive magnetic ring of a magnetic encoder according to claim 1, characterized in that: In step S3, the filtering circuit uses a low-pass filter to remove high-frequency noise interference; the amplifying circuit amplifies the signal according to the strength of the signal; The analog-to-digital conversion circuit converts the analog signal into a digital signal.
4. The method for detecting the inductive magnetic ring of a magnetic encoder according to claim 1, characterized in that: In step S4, during the comparative analysis, a difference comparison and correlation analysis method is used to calculate the deviation between the collected data and the standard data; if the deviation exceeds a set threshold, it is considered that the magnetic ring has defects.
5. The method for detecting the inductive magnetic ring of a magnetic encoder according to claim 1, characterized in that: In step S5, if there are defects in the magnetic ring, the defect information is displayed on the display in the form of text or graphics, and a test report can be printed by a printer.
6. A detection device for a magnetic encoder induction magnetic ring, characterized in that: It comprises a fixing seat, in which a motor and a sensor are arranged, an output shaft of the motor is connected to a magnetic ring fixing seat, and a magnetic ring to be detected is connected to the magnetic ring fixing seat; The fixing seat is provided with a signal processing device, and the signal processing device is connected to the sensor through a sensor original signal transmission line; The detection device of the magnetic encoder inductive magnetic ring also includes a parameter setting device, the signal processing device is connected to the parameter setting device through a processing signal transmission line, and the motor and the parameter setting device are connected through a motor signal line.
7. The detection device of the magnetic encoder induction magnetic ring according to claim 6, characterized in that: The motor, the sensor, the magnetic ring fixing seat and the detected magnetic ring are all coaxially distributed.
8. The detection device of the magnetic encoder induction magnetic ring according to claim 6, characterized in that: The sensor includes Hall A and Hall B, and Hall A and Hall B are distributed at 90 degrees with the same center and radius.
9. The detection device of the magnetic encoder induction magnetic ring according to claim 6, characterized in that: The signal processing device includes a signal processing circuit, which includes a filter circuit, an amplifier circuit, an analog-to-digital conversion circuit, a digital signal processing circuit and a high-speed communication chip. The filter circuit is connected to the amplifier circuit, which is connected to the analog-to-digital conversion circuit, which is connected to the digital signal processing circuit, and which is connected to the high-speed communication chip. The filter circuit is used to remove noise interference in the collected data, the amplifier circuit is used to enhance the strength of the signal, and the analog-to-digital conversion circuit converts the analog signal into a digital signal.
10. The detection device of the magnetic encoder induction magnetic ring according to claim 9, characterized in that: The filter circuit includes a filter A and a filter B, wherein the filter A is used to receive the Hall A voltage, and the filter B is used to receive the Hall B voltage; The amplifying circuit comprises a signal amplifier A and a signal amplifier B, wherein the signal amplifier A is connected to the filter A, and the signal amplifier B is connected to the filter B; The analog-to-digital conversion circuit adopts a high-precision AD conversion circuit, and the signal amplifier A and the signal amplifier B are respectively connected to the high-precision AD conversion circuit.
Citation Information
Patent Citations
Magnetic ring test system and method
CN102213749A
Linear motor magnetic track encoder, linear motor and position detection method thereof
CN106849520A
Magnetic encoder and detection method thereof
CN114216486A
Position analysis circuit and method of permanent magnet synchronous motor and control circuit and system of permanent magnet synchronous motor
CN114844399A
Dynamic magnetic field feedback high-precision magnetoelectric encoder and angle resolving method thereof
CN117346824A
Cited By
Magnetic ring detection device and detection method
CN120314845A