An automatic debugging platform and debugging method for angle precision of shaft-to-digital converter

Through the automatic angle adjustment machine and angle simulator of the automatic debugging station, combined with the angle accuracy automatic debugging software, the problems of low efficiency and inaccurate angle accuracy debugging of the axis angle-to-digital converter in the existing technology are solved, and an intelligent, The automated debugging process improves product debugging efficiency and accuracy.

CN113970679BActive Publication Date: 2024-09-03LIANYUNGANG JARI ELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111226087.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-21
Publication Date
2024-09-03
Estimated Expiration
2041-10-21

AI Technical Summary

Technical Problem

The existing angular accuracy debugging method of axis angle-to-digital converters is inefficient and relies on manual operation and experience. It cannot meet the rapid debugging requirements of mass production and is prone to accuracy deviations, resulting in substandard products.

Method used

An automatic debugging station including an auto-angle machine/resolver angle simulator and angle accuracy automatic debugging software is designed. By automatically controlling the angle simulator to output a standard signal, the actual angle error of the axis angle-to-digital converter is collected and calculated. Realize automatic debugging resistance value calculation and adjustment to reduce manual intervention.

Benefits of technology

It realizes intelligent and automated debugging of the axis angle-to-digital converter, improves debugging efficiency and accuracy, reduces the complexity and error of manual operation, and is suitable for mass production environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113970679B
    Figure CN113970679B
Patent Text Reader

Abstract

The present invention provides an automatic debugging platform and debugging method for the angular accuracy of a shaft-to-digital converter, the debugging platform including an angle simulator, a shaft-to-digital converter test platform, a power supply, and a host computer equipped with automatic debugging software for angular accuracy. The present invention can realize the automatic control of the output angle of the simulator, the automatic collection of the output angle value of the shaft-to-digital converter, the calculation of the angle deviation, and finally display the entire process of the debugging resistance value on the automatic debugging software. The present invention adopts an angle simulator with independent intellectual property rights, an independently designed data acquisition board, and an independently designed debugging software and debugging method, so as to realize the complete autonomy of the debugging platform; the test platform has a simple structure, strong scalability, a wide range of applications for products to be debugged, and is easy to use and maintain, and can meet the needs of the construction of a mass production debugging environment for shaft-to-digital converters and the needs of the construction of automated conditions for the military standard line of electronic conversion modules.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of shaft-angle-digital converters, and specifically relates to an automatic debugging platform and debugging method for the angular accuracy of shaft-angle-digital converters, and more particularly to an intelligent debugging platform and debugging method that uses upper computer automatic debugging software to realize control of an angle simulator, measurement of the angular accuracy of the shaft-angle-digital converter, and automatic calculation of angular accuracy parameter debugging resistance values ​​and display of adjustment amounts according to sent and received angle values. Background Art

[0002] At present, in the electrical performance debugging of the shaft angle-to-digital converter, 90% of the workload of the converter parameter debugging is mainly concentrated on the angular accuracy debugging. During debugging, the debugging personnel need to manually shake the motor to provide an analog signal source to the shaft angle-to-digital converter, and record the angle difference between the current shaft angle-to-digital converter output angle and the angle positioner that detects the motor output signal angle; then, shake the motor to rotate one circle to detect multiple test points, record the angle deviation value of each test point in turn, and determine the angle adjustment amount based on the deviation of each test point, and then select the appropriate debugging resistor for assembly based on experience. After the debugging is completed, when the motor is rotated again to check the angular accuracy of the converter, a single debugging failure often occurs, and the debugging resistor needs to be replaced again or multiple times to fine-tune the angle to ensure that the angular accuracy of the converter output meets the index requirements.

[0003] The disadvantages of this angular accuracy debugging method are: the debugging personnel need to shake the motor throughout the whole process to test the angular accuracy, which results in a large workload and low debugging efficiency, and cannot meet the needs of rapid debugging of batch products; the angle deviation measured during the debugging process requires manual participation in the calculation, and the correction of the angle deviation requires adding debugging resistors based on personal experience. The debugging process involves repeated trial and error in replacing debugging resistors, and the degree of intelligent debugging is low, and the technical level is relatively backward; the test points selected by manual testing are not comprehensive, and accuracy deviations are prone to occur, resulting in substandard accuracy of the converter after debugging. In the case of batch supply of shaft-to-digital converters, this method can no longer meet the process control goals of production cost, product quality and debugging efficiency during batch production debugging. Summary of the invention

[0004] The technical problem to be solved by the present invention is to provide an automatic debugging platform and debugging method for the angular accuracy of an axis-to-digital converter in view of the shortcomings of the existing debugging technology, so as to realize automatic control of the output angle of the angle simulator, automatic collection of the output angle value of the axis-to-digital converter, calculation of the angle deviation, and finally display the debugging plan on the automatic debugging software.

[0005] The technical problem to be solved by the present invention is achieved through the following technical solution: a shaft-to-digital converter angle accuracy automatic debugging platform, including a hardware platform and a test software. The hardware platform includes a synchro / rotary transformer angle simulator, a shaft-to-digital converter test platform, a power supply, and a host computer; the test software is an angle accuracy automatic debugging software package written in a computer.

[0006] The technical problem to be solved by the present invention can also be achieved through the following technical scheme, wherein the synchro / rotary transformer angle simulator communicates with a host computer, and the host computer angle precision debugging software sends instructions to realize automatic control of the output signal voltage, signal mode, reference frequency and output angle value of the angle simulator, thereby providing a standard angle reference signal for the subsequent shaft-to-digital converter test bench for use by the shaft-to-digital converter to be debugged.

[0007] The technical problem to be solved by the present invention can also be achieved by the following technical solution: the shaft angle-to-digital converter test bench is connected to the shaft angle-to-digital converter to be debugged fixed on the special test board through a universal interface socket installed on the panel. A parallel-to-serial conversion data acquisition board is installed in the test bench, and the parallel data line at the input end of the acquisition board is connected to the pin of the test bench interface socket. The 16-bit parallel data is processed by the single-chip microcomputer on the acquisition board and converted into RS422 serial port data, and then after passing through the isolation conversion circuit, the differential data signal is output and sent to the serial port socket of the test bench.

[0008] The technical problem to be solved by the present invention can also be achieved through the following technical scheme. After the automatic angular accuracy debugging software establishes communication with the synchro / rotary transformer angle simulator through a computer, it controls the angle simulator to send a standard analog angle signal to the shaft-to-digital converter to be debugged; and then after establishing communication with the shaft-to-digital converter test bench through a computer, the actual digital angle signal output by the shaft-to-digital converter is collected.

[0009] The technical problem to be solved by the present invention can also be achieved through the following technical scheme. The implementation method of the automatic angular accuracy debugging software first compares the angle data sent to the angle simulator with the data received from the data acquisition board to calculate the angular accuracy error of the axis-to-digital converter within the full cycle, and then uses the angle correction amount on the debugging software interface to correct the calculated angular accuracy error as the actual angle error of each test point of the axis-to-digital converter to be debugged.

[0010] The technical problem to be solved by the present invention can also be achieved through the following technical solution, wherein the implementation method of the automatic angular accuracy debugging software compares the angular accuracy error judgment standard value input on its interface with the actual angular error of each test point to determine whether the converter to be debugged needs angular accuracy adjustment. If angular accuracy adjustment is not required, the debugging software automatically outputs "angular accuracy qualified" on the interface; if angular accuracy adjustment is required, the debugging software determines the angle adjustment position and the angle error adjustment value according to the actual angular error of each test point.

[0011] The technical problem to be solved by the present invention can also be achieved by the following technical solution: if the angle accuracy automatic debugging software determines that the angle value in the quadrant needs to be adjusted, it calculates the angle value according to the formula (Where: e1 represents the angle adjustment amount in the quadrant, unit: °; R 基 The automatic debugging software can quickly calculate the feedback resistance value of the sine and cosine signal forming circuit in the shaft angle-to-digital converter. 基 The parallel debugging resistance value added at both ends of the resistor, and the debugging resistor position in the quadrant and the added parallel debugging resistance value are output on the automatic debugging software interface.

[0012] The technical problem to be solved by the present invention can also be achieved by the following technical solution: if the angle value of the quadrant point needs to be adjusted, the angular accuracy automatic debugging software calculates the angle value of the quadrant point according to the formula R 串 =e3×1200Ω / 0.001° (where: e3 represents the angle adjustment amount of the quadrant point, unit: °). The automatic debugging software can quickly calculate the debugging resistance value that needs to be connected in series with the bias resistor connected to the reference power supply, and output the debugging resistance position of the quadrant point and the added series debugging resistance value on the automatic debugging software interface.

[0013] The technical problem to be solved by the present invention can also be achieved through the following technical scheme. After the angular accuracy automatic debugging software adjusts the angular accuracy of the axis-to-digital converter within the quadrant and at the quadrant points, if the angular accuracy of the converter output still cannot meet the specified index requirements, in order to avoid the angular accuracy debugging operation from entering an endless loop, an auxiliary intervention function is provided on the automatic debugging software. That is, when the debugging software determines that both the non-quadrant angle and the quadrant angle have been adjusted, and the angular accuracy of the single output still fails to meet the accuracy index requirements, "The axis-to-digital converter product to be debugged is unqualified" will be displayed on the software interface to remind the debugging personnel to hand over the product to be adjusted to the unqualified product processing procedure, thereby improving the efficiency of batch production debugging of the converter while ensuring the executability of the debugging operation.

[0014] Compared with the prior art, the present invention has the following significant advantages:

[0015] (1) Intelligent automatic control, measurement, difference calculation and computing technologies are used to replace the traditional manual angle precision debugging method, which realizes the intelligent, automated, efficient and accurate debugging operation of the shaft-to-digital converter, and is conducive to the promotion and application of mass production debugging of the shaft-to-digital converter.

[0016] Automatic control technology realizes standard analog shaft angle signal output, digital angle acquisition, angle adjustment amount judgment, calculation of the resistance value to be debugged and judgment of the installation position of the debugging resistor, thereby replacing the whole process of sending data by hand-cranked motor, visually reading angle value, roughly estimating the angle adjustment amount, selecting the debugging resistor value by experience and selecting the installation position by memory. It has the advantages of no need for human intervention in the debugging process, high accuracy in debugging resistor calculation, accurate indication of debugging resistor installation position and high debugging efficiency.

[0017] (2) The angle deviation intelligent compensation technology is used to solve the angle deviation caused by using an angle simulator (domestic SMNQ-2 model) to provide an analog signal standard source for different types of axis-to-digital converters to be debugged, thereby solving the accuracy of angle testing.

[0018] (3) The judgment of the angular accuracy error debugging amount adopts comparative analysis of multiple test points in the whole quadrant, which is more comprehensive than manually memorizing the error amount of a few test points; the calculation of the debugging resistance value adopts the derived formula to automatically calculate, which is more efficient and accurate than the method of manually increasing the debugging resistance based on experience, which requires multiple adjustments; the intelligent intervention function is set to avoid repeated debugging operations, making the debugging operation smoother.

[0019] The present invention adopts an angle simulator with independent intellectual property rights, a signal acquisition board designed independently and a test program designed independently, thereby realizing complete autonomy of the test system; the test bench has a simple structure, strong scalability, a wide range of applications for products to be debugged, and is easy to use and maintain, and can meet the needs of mass production debugging environment construction of axis-to-digital converters and the needs of construction of automated conditions for military standard lines of electronic conversion modules.

[0020] The present invention is further described in detail below in conjunction with the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Figure 1 The circuit block diagram of the automatic adjustment platform for the angle accuracy of the shaft angle-to-digital converter described in one embodiment.

[0022] Figure 2 This is an appearance diagram of the automatic debugging software for the angular accuracy of the shaft-to-digital converter described in one embodiment.

[0023] Figure 3 The figure is a flow chart of the automatic debugging software of the angle accuracy of the shaft-to-digital converter described in one embodiment. DETAILED DESCRIPTION

[0024] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0025] In one embodiment, a shaft-to-digital converter angle accuracy automatic debugging platform is provided, the automatic debugging platform comprising a synchro / rotary transformer angle simulator, a shaft-to-digital converter test bench, a power supply, and a host computer with angle accuracy automatic debugging software installed;

[0026] The host computer installed with the angular accuracy automatic debugging software is used to realize automatic control of the output signal voltage, signal mode, and reference frequency of the angle simulator so as to be consistent with the signal of the shaft angle-to-digital converter to be debugged; it is also used to realize automatic control of the angle value output by the angle simulator, and provide a standard analog signal angle value θ for the shaft angle-to-digital converter test bench; it is also used to automatically collect the actual angle value Φ output by the shaft angle-to-digital converter to be debugged, and perform angular accuracy debugging according to the analog signal angle value θ and the actual angle value Φ; at the same time, the angular accuracy automatic debugging software interface displays the angular accuracy adjustment plan, including the debugging resistor value and installation position required to be added;

[0027] The angle simulator is used to send the analog signal angle value to the shaft angle-to-digital converter test bench under the control of the host computer installed with the angle accuracy automatic debugging software;

[0028] The shaft-to-digital converter test bench is used to carry and fix the shaft-to-digital converter to be debugged when debugging the shaft-to-digital converter angle accuracy, and collect the angle value output by the converter and transmit it to the host computer;

[0029] The power supply is used to provide the required voltage for the axis-to-digital converter to be debugged and the test bench.

[0030] Furthermore, in one of the embodiments, the shaft-angle-to-digital converter test bench is provided with a universal interface socket and a parallel-to-serial conversion data acquisition board, the shaft-angle-to-digital converter to be debugged is installed on a special test board matching its own model, the gold finger part of the test board is connected to the universal interface socket, and the 10-16-bit parallel binary output angle data of the shaft-angle-to-digital converter to be debugged is connected to the parallel-to-serial conversion data acquisition board through the universal interface socket; the parallel-to-serial conversion data acquisition board converts the 10-16-bit parallel angle data output by the shaft-angle-to-digital converter to be debugged into serial data according to the received host computer instructions, and sends it to the host computer for use by the angle accuracy automatic debugging software.

[0031] Furthermore, in one of the embodiments, the synchro / rotary transformer angle simulator uses a self-developed SMNQ-2 angle simulator as a signal standard source, and the angle simulator communicates with the computer USB port via a Mini-USB interface socket on the shell via a communication cable.

[0032] In one embodiment, a debugging method based on the above automatic debugging platform is provided, the method comprising the following steps:

[0033] Step 1, comparing the angular accuracy automatically tested by the angular accuracy automatic debugging platform with the angular accuracy tested during manual angular accuracy debugging to obtain the angular deviation correction amount of the converter;

[0034] Step 2, with Δθ as the step value (preferably, with 15° as the step value), the host computer controls the angle simulator to send a set of analog signal angle values ​​θ to the shaft angle-to-digital converter test bench, and at the same time collects the angle value output by the shaft angle-to-digital converter to be debugged corresponding to each angle test point;

[0035] Step 3: Calculate the maximum angle deviation e of all angle test points based on the results of steps 1 and 2. max ;

[0036] Step 4: Compare the maximum angle deviation e max The angular accuracy error judgment standard value ɡ given by the angular accuracy automatic debugging software, if e max >ɡ, the angular accuracy needs to be debugged, and go to step 5. Otherwise, the angular accuracy of the axis-to-digital converter to be debugged is determined to be qualified, and the angular accuracy debugging is not required. The process ends, and "Angular Accuracy is Passed" is displayed on the angular accuracy automatic debugging software;

[0037] Step 5, perform angular accuracy debugging in the quadrant, and display the angular accuracy adjustment plan on the angular accuracy automatic debugging software, including the debugging resistor value and installation position to be added;

[0038] Step 6, determine whether the angular accuracy debugging in the quadrant meets the debugging index requirements. If so, "angular accuracy is qualified" will be displayed on the angular accuracy automatic debugging software, and the angular accuracy debugging is completed, and the process ends. Otherwise, go to step 7;

[0039] Step 7, perform angular accuracy debugging of the quadrant points, and display the angular accuracy adjustment plan on the angular accuracy automatic debugging software, including the debugging resistor value and installation position to be added;

[0040] Step 8, determine whether the angular accuracy debugging of the quadrant point meets the debugging index requirements. If so, "angular accuracy qualified" will be displayed on the angular accuracy automatic debugging software. Otherwise, "axis angle-to-digital converter product to be debugged is unqualified" will be displayed on the angular accuracy automatic debugging software. The angular accuracy debugging is completed and the process ends.

[0041] Further, in one embodiment, the maximum angle deviation e of all angle test points is calculated according to the results of step 1 and step 2 in step 3. max , specifically including:

[0042] Step 3-1, for each angle test point, add the angle value of the parallel-to-serial conversion data acquisition board collected by the host computer to the angle correction amount of step 1 as the actual angle value Φ output by the axis angle-to-digital converter to be debugged;

[0043] Step 3-2: Calculate the maximum angle deviation e of all angle test points based on the simulated signal angle value θ and the actual angle value Φ max =max(|Φ-θ|).

[0044] Furthermore, in one embodiment, the angular accuracy adjustment in the quadrant described in step 5 specifically includes:

[0045] Step 5-1, solving the maximum angle error a and the minimum angle error b of quadrants 1 and 3, and the maximum angle error c and the minimum angle error d of quadrants 2 and 4 in accordance with the method of solving the deviation in step 3-2;

[0046] Step 5-2, take and The smaller number between the two is taken as the angle adjustment amount e1 within the quadrant;

[0047] Step 5-3, calculate the reference resistance R 基 The debugging resistance value R 并 ;

[0048] Step 5-4, according to e max The quadrant position and error direction of the corresponding actual angle value Φ determine the assembly position of the parallel debugging resistor, specifically:

[0049] When e max When the corresponding actual angle value is in quadrants 1 and 3, e max >0, then in the sine branch R 基 Add R across the resistor 并 Debug resistance, e max <0, then in the cosine branch R 基 Add R across the resistor 并 Debug resistor;

[0050] When e max When the corresponding actual angle value is in quadrants 2 and 4, e max >0, then in the cosine branch R 基 Add R across the resistor 并 Debug resistance, e max<0, then in the sine branch R 基 Add R across the resistor 并 Debug resistor.

[0051] Furthermore, in one embodiment, the reference resistor R in step 5-3 is 基 The debugging resistance value R 并 The calculation formula is:

[0052]

[0053] In the formula, the reference resistance R 基 It indicates the feedback resistance value of the circuit forming the sine and cosine signals in the shaft-to-digital converter to be debugged.

[0054] Further, in one embodiment, the angular accuracy debugging of the quadrant points described in step 7 specifically includes:

[0055] Step 7-1, solving the maximum angle error f and the minimum angle error g corresponding to the angles of 0°, 90°, 180°, and 270° according to the method of solving the deviation in step 3-2;

[0056] Step 7-2, take The angle adjustment amount e3 as the quadrant point;

[0057] Step 7-3, calculate the debug resistor value R that needs to be connected in series with the bias resistor connected to the reference power supply 串 ;

[0058] Step 7-4: Determine R based on the maximum absolute value of f and g and the direction of the maximum value. 串 The assembly position of the debugging resistor is as follows:

[0059] When the direction of the maximum error is positive (>0), a resistor R is connected in series with the bias resistor connected to the negative reference power supply. 串 When the direction of the maximum error is negative (<0), a resistor R is connected in series with the bias resistor connected to the positive reference power supply. 串 .

[0060] Further, in one embodiment, the debugging resistance value R connected in series with the bias resistor connected to the reference power supply in step 7-3 is 串 The calculation formula is:

[0061] R 串 =e3×1200Ω / 0.001°.

[0062] Illustratively, the present invention is further described in detail in one of the embodiments.

[0063] An automatic debugging platform for the angle accuracy of a shaft-to-digital converter includes a hardware platform and a host computer software. Figure 1 The hardware platform includes: SMNQ-2 type synchro / rotary transformer angle simulator 1, universal shaft angle-to-digital converter test bench 2, three-way adjustable DC power supply 3, USB-RS422 adapter cable 4 and computer 5. The synchro / rotary transformer angle simulator is connected to the computer USB port through its own Mini-USB interface 6 to realize the communication function; the RS422 interface 7 of the universal shaft angle-to-digital converter test bench is connected to the computer USB port through the USB-RS422 adapter cable to realize the communication function. The universal shaft angle-to-digital converter test bench has a universal interface socket 8 on the panel, and the matching plug-in board 10 of different models of products to be debugged 9 is connected to the universal interface socket through the gold finger plug part. The products to be debugged are fixed on the matching plug-in board by a fixture. The universal shaft angle-to-digital converter test bench is provided with a parallel-to-serial conversion data acquisition board 11 inside, one end of the data acquisition board is connected to the 16-bit data line of the universal interface socket, and the other end is connected to the RS422 interface socket of the test bench. The upper computer software part mainly consists of the upper computer angle precision automatic debugging software 12 written in the computer.

[0064] Furthermore, after opening the upper computer angle accuracy automatic debugging software, combined with Figure 2 In the interface 13 of the upper computer angle accuracy automatic debugging software, click the execution button 14, the upper computer angle accuracy automatic debugging software will automatically establish communication with the SMNQ-2 synchro / rotary transformer angle simulator and the universal shaft angle-to-digital converter test bench; at the same time, the SMNQ-2 angle simulator will output the signal voltage, signal mode, reference frequency, reference voltage and initial angle value according to the parameters set in the model list window 15 of the upper computer angle accuracy automatic debugging software, and provide them to the subsequent universal shaft angle-to-digital converter test bench.

[0065] Furthermore, in the interface of the upper computer angular accuracy automatic debugging software, there are also provided a simulator parameter binding window 16, an angular accuracy standard value window 17, an angular accuracy deviation correction window 18, and a reference resistance setting window 19. The parameters in these three windows are loaded into the product model list window 15 through the model entry window 20, so that the debugging personnel can avoid resetting the parameters when debugging the same model product next time, thus saving the parameter setting time and improving the operation efficiency.

[0066] Furthermore, an angle setting and display window 21 is also provided in the interface of the upper computer angle precision automatic debugging software, which is used to assist the upper computer angle precision debugging software in automatically testing the program, simulating manual adjustment of motor parameters and hand-cranked motor operation, and controlling the angle simulator to output a set of standard analog signal angle values ​​in sequence, and displaying in real time the digital angle values ​​output by the converter to be debugged collected by the universal shaft angle-to-digital converter test bench, as well as the angle error values ​​of each test point after angle precision correction.

[0067] Furthermore, in the interface of the upper computer angular accuracy automatic debugging software, there are also provided an automatic test program running process manual intervention button 22 and an automatic test program running result display window 23. The manual intervention button is used when the angular accuracy of the product to be debugged still cannot meet the product index requirements after the angular accuracy adjustment in the quadrant and at the quadrant point. At this time, the manual intervention button can be used to quickly exit the running of the angular accuracy debugging software automatic test program, and prompt the debugger to manually confirm in the program running result display window. The automatic test program running result display window is used to automatically display the output results of the angular accuracy debugging resistance value of the product to be debugged after the angular accuracy debugging software automatic test program has been tested, error calculated, and judged and calculated, mainly including: the debugging resistance installation position in the quadrant, the debugging resistance value in the quadrant, the debugging resistance installation position at the quadrant point, and the debugging resistance value at the quadrant point.

[0068] Furthermore, after the upper computer angle accuracy automatic debugging software clicks the execution button on the software interface to establish communication with the angle simulator and the universal axis-to-digital converter test bench, and then clicks the automatic test button below the product model list window 15, the angle accuracy automatic testing software will Figure 3 Execute the automatic test procedure according to the specified process.

[0069] The specific execution steps and implementation methods of the automatic test program of the angular accuracy debugging software are as follows:

[0070] (1) Control the SMNQ-2 angle simulator to step by 15° and output a set of standard simulation angle data;

[0071] (2) Collect the digital angle output by the converter to be debugged on the universal axis-to-digital converter test bench.

[0072] (3) After the angle is corrected using the value in the angular accuracy correction window, the angle error value output by the converter to be debugged at each angle test point is calculated.

[0073] (4) Calculate the maximum angular deviation e of all test point positions according to |measured value - standard value|, and mark the quadrant position and sign of the maximum error.

[0074] (5) Compare e with the value E in the angular accuracy standard value window; if e>E, perform angular accuracy debugging within the quadrant; if e<E, the output angular accuracy is qualified and the converter to be debugged does not need to perform angular accuracy debugging.

[0075] (6) When calculating the debugging resistance value in the quadrant, first determine the maximum positive angle error a (when there is no positive error, take the minimum negative error) and the maximum negative angle error b (when there is no negative error, take the minimum positive error) of quadrants 1 and 3; then determine the maximum positive angle error c (when there is no positive error, take the minimum negative error) and the maximum negative angle error d (when there is no negative error, take the minimum positive error) of quadrants 2 and 4; take and The larger value (rounded to the nearest decimal point) is used as the numerical adjustment amount e1 of the angular precision; at the same time, the maximum absolute value MAX(a, b, c, d) of the four numbers (a, b, c, d) is calculated, and the quadrant and deviation direction (positive or negative) of the maximum error are marked; then according to the formula Calculate the quadrant internal angle accuracy debugging resistance value R 并 .

[0076] (7) After calculating the value of the debugging resistor in parallel in the quadrant, it is necessary to determine where the debugging resistor is connected in parallel. If the largest angle error is in quadrants 1 and 3, and the error deviation direction is positive, then R is connected in parallel at both ends of the sine branch reference resistor. 并 Debug resistance; if the error deviation direction is negative, connect R in parallel at both ends of the cosine branch reference resistance 并 Debug the resistor. If the maximum angle error is in quadrants 2 and 4, and the error deviation direction is positive, then connect R in parallel at both ends of the cosine branch reference resistor. 并 When debugging the resistor, if the error deviation direction is negative, connect R in parallel at both ends of the sine branch reference resistor. 并 Debug the resistor. Then the running result of the automatic test program is displayed in the result display window.

[0077] (8) When calculating the resistance value of the quadrant point debugging, first calculate the maximum positive error e2 (the minimum negative error is taken when there is no positive error) and the maximum negative error f (the minimum positive error is taken when there is no negative error) of the angle error values ​​at the 0°, 90°, 180°, and 270° positions; then, The value of (rounded to the nearest decimal point) e3 is used as the numerical adjustment of the angular accuracy; the maximum absolute value of e2 and f is determined, and the deviation direction of the maximum error (positive or negative) is marked; then according to the formula R 串 =e3×1200Ω / 0.001° (where: e3 represents the angle adjustment of the quadrant point, unit: °), calculate the quadrant point angle accuracy debugging resistance value R 串 .

[0078] (9) After calculating the debugging resistance value of the quadrant point in series, it is necessary to determine R 串 Where is the debugging resistor connected in series? If the deviation direction of the maximum value of e2 and f is positive, install R on the 510kΩ resistor connected to -12V. 串 Debug resistance; if the deviation direction of the maximum value of e2 and f is negative, install R on the 510kΩ resistor connected to +12V 串 Debug the resistor. Then the running result of the automatic test program is displayed in the result display window.

[0079] (10) For the converter to be debugged that has been adjusted by the debugging resistors in the quadrant and at the quadrant point, when checking whether the angular accuracy is qualified after the debugging is completed, it is necessary to set the manual intervention button on the angular accuracy automatic debugging software interface, and put the non-quadrant angle adjusted button and the quadrant angle adjusted button into the effective state (set to 1), and then click the automatic test button again. If the angular accuracy of the product to be adjusted meets the index requirements, the output result of the automatic test program is "angular accuracy qualified"; if the angular accuracy of the product to be adjusted does not meet the index requirements, the output result of the automatic test program is "transfer to manual confirmation", so as to avoid the test program entering an infinite loop.

[0080] The above shows and describes the basic principles, main features and advantages of the present invention. It should be understood by those skilled in the art that the present invention is not limited to the above embodiments. The above embodiments and descriptions are only for explaining the principles of the present invention. Without departing from the spirit and scope of the present invention, the present invention may have various changes and improvements, which fall within the scope of the present invention to be protected. The scope of protection of the present invention is defined by the attached claims and their equivalents.

Claims

1. A method for debugging an automatic debugging platform for an angle-to-digital converter, characterized in that: The debugging method is implemented based on an automatic debugging platform, which includes an angle simulator, a shaft angle-to-digital converter test bench, a power supply, and a host computer installed with angle accuracy automatic debugging software; The host computer installed with the angular accuracy automatic debugging software is used to realize automatic control of the output signal voltage, signal mode and reference frequency of the angle simulator so as to be consistent with the signal of the shaft angle-to-digital converter to be debugged; it is also used to realize automatic control of the angle value output by the angle simulator, and provide a standard analog signal angle value θ for the shaft angle-to-digital converter test bench; it is also used to automatically collect the actual angle value Φ output by the shaft angle-to-digital converter to be debugged, and perform angular accuracy debugging according to the analog signal angle value θ and the actual angle value Φ; at the same time, the angular accuracy automatic debugging software interface displays the angular accuracy adjustment plan, including the debugging resistor value and installation position required to be added; The angle simulator is used to send the analog signal angle value to the shaft angle-to-digital converter test bench under the control of the host computer installed with the angle accuracy automatic debugging software; The shaft-to-digital converter test bench is used to carry and fix the shaft-to-digital converter to be debugged when debugging the shaft-to-digital converter angle accuracy, and collect the angle value output by the converter and transmit it to the host computer; The power supply is used to provide the required voltage for the shaft angle-to-digital converter to be debugged and the test bench; The debugging method comprises the following steps: Step 1, comparing the angular accuracy automatically tested by the angular accuracy automatic debugging platform with the angular accuracy tested during manual angular accuracy debugging to obtain the angular deviation correction amount of the converter; Step 2: With Δθ as the step value, the host computer controls the angle simulator to send a set of analog signal angle values ​​θ to the shaft-to-digital converter test bench, and at the same time collects the angle value output by the shaft-to-digital converter to be debugged corresponding to each angle test point; Step 3: Calculate the maximum angle deviation e of all angle test points based on the results of steps 1 and 2. max ; Step 4: Compare the maximum angle deviation e max The angular accuracy error judgment standard value ɡ given by the angular accuracy automatic debugging software, if e max >ɡ, the angular accuracy needs to be debugged, and go to step 5. Otherwise, the angular accuracy of the axis-to-digital converter to be debugged is determined to be qualified, and the angular accuracy debugging is not required. The whole debugging process ends, and "Angular accuracy is qualified" is displayed on the angular accuracy automatic debugging software; Step 5, perform angular accuracy debugging in the quadrant, and display the angular accuracy adjustment plan on the angular accuracy automatic debugging software, including the debugging resistor value and installation position to be added; Step 6, determine whether the angular accuracy debugging in the quadrant meets the debugging index requirements. If so, "angular accuracy qualified" will be displayed on the angular accuracy automatic debugging software, and the angular accuracy debugging is completed, ending the entire debugging process. Otherwise, go to step 7; Step 7, perform angular accuracy debugging of the quadrant points, and display the angular accuracy adjustment plan on the angular accuracy automatic debugging software, including the debugging resistor value and installation position to be added; Step 8, determine whether the angular accuracy debugging of the quadrant point meets the debugging index requirements. If so, "angular accuracy qualified" will be displayed on the angular accuracy automatic debugging software. Otherwise, "axis angle-to-digital converter product to be debugged is unqualified" will be displayed on the angular accuracy automatic debugging software. The angular accuracy debugging is completed, and the entire debugging process ends.

2. The debugging method of the shaft-to-digital converter angle accuracy automatic debugging platform according to claim 1 is characterized in that: The shaft-angle-to-digital converter test bench is provided with a universal interface socket and a parallel-to-serial conversion data acquisition board. The shaft-angle-to-digital converter to be debugged is installed on a special test board matching its own model. The gold finger part of the test board is connected to the universal interface socket. The 10-16-bit parallel binary output angle data of the shaft-angle-to-digital converter to be debugged is connected to the parallel-to-serial conversion data acquisition board through the universal interface socket; the parallel-to-serial conversion data acquisition board converts the 10-16-bit parallel angle data output by the shaft-angle-to-digital converter to be debugged into serial data according to the received host computer instructions, and sends it to the host computer for use by the angle accuracy automatic debugging software.

3. The debugging method of the shaft-to-digital converter angle accuracy automatic debugging platform according to claim 1, characterized in that: Step 3: Calculate the maximum angle deviation e of all angle test points based on the results of steps 1 and 2. max , specifically including: Step 3-1, for each angle test point, add the angle value of the parallel-to-serial conversion data acquisition board collected by the host computer to the angle correction amount of step 1 as the actual angle value Φ output by the axis angle-to-digital converter to be debugged; Step 3-2: Calculate the maximum angle deviation e of all angle test points based on the simulated signal angle value θ and the actual angle value Φ max =max(|Φ-θ|).

4. The debugging method of the shaft-to-digital converter angle accuracy automatic debugging platform according to claim 3 is characterized in that: Step 5 is to debug the angular accuracy within the quadrant. The specific process includes: Step 5-1, solving the maximum angle error a and the minimum angle error b of quadrants 1 and 3, and the maximum angle error c and the minimum angle error d of quadrants 2 and 4 in accordance with the method of solving the deviation in step 3-2; Step 5-2, take and The smaller number between the two is taken as the angle adjustment amount e1 within the quadrant; Step 5-3, calculate the reference resistance R 基 The debugging resistance value R 并 ; Step 5-4, according to e max The quadrant position and error direction of the corresponding actual angle value Φ determine the assembly position of the parallel debugging resistor, specifically: When e max When the corresponding actual angle value is in quadrants 1 and 3, e max >0, then in the sine branch R 基 Add R across the resistor 并 Debug resistance, e max <0, then in the cosine branch R 基 Add R across the resistor 并 Debug resistor; When e max When the corresponding actual angle value is in quadrants 2 and 4, e max >0, then in the cosine branch R 基 Add R across the resistor 并 Debug resistance, e max <0, then in the sine branch R 基 Add R across the resistor 并 Debug resistor.

5. The debugging method of the shaft-to-digital converter angle accuracy automatic debugging platform according to claim 4, characterized in that: The reference resistor R in step 5-3 基 The debugging resistance value R 并 The calculation formula is: In the formula, the reference resistance R 基 It indicates the feedback resistance value of the circuit forming the sine and cosine signals in the shaft-to-digital converter to be debugged.

6. The debugging method of the shaft-to-digital converter angle accuracy automatic debugging platform according to claim 4, characterized in that: Step 7 describes the angular accuracy debugging of the quadrant points. The specific process includes: Step 7-1, solving the maximum angle error f and the minimum angle error g corresponding to the angles of 0°, 90°, 180°, and 270° according to the method of solving the deviation in step 3-2; Step 7-2, take The angle adjustment amount e3 as the quadrant point; Step 7-3, calculate the debug resistor value R that needs to be connected in series with the bias resistor connected to the reference power supply 串 ; Step 7-4: Determine R based on the maximum absolute value of f and g and the direction of the maximum value. 串 The assembly position of the debugging resistor is as follows: When the direction of the maximum error is positive, a resistor R is connected in series with the bias resistor connected to the negative reference power supply. 串 When the direction of the maximum error is negative, a resistor R is connected in series with the bias resistor connected to the positive reference power supply. 串 .

7. The debugging method of the shaft-to-digital converter angle accuracy automatic debugging platform according to claim 6, characterized in that: The value of the debugging resistor R connected in series with the bias resistor connected to the reference power supply in step 7-3 串 The calculation formula is: R 串 =e3×1200Ω / 0.001°。