CN113970679A - Automatic debugging table and debugging method for angular precision of shaft angle-digital converter - Google Patents

Automatic debugging table and debugging method for angular precision of shaft angle-digital converter Download PDF

Info

Publication number
CN113970679A
CN113970679A CN202111226087.0A CN202111226087A CN113970679A CN 113970679 A CN113970679 A CN 113970679A CN 202111226087 A CN202111226087 A CN 202111226087A CN 113970679 A CN113970679 A CN 113970679A
Authority
CN
China
Prior art keywords
angle
debugging
precision
digital converter
automatic
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111226087.0A
Other languages
Chinese (zh)
Inventor
张明
吴文韬
李康
王世明
韦厚余
李澍
索超
赵乾
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lianyungang Jierui Electronics Co Ltd
Original Assignee
Lianyungang Jierui Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lianyungang Jierui Electronics Co Ltd filed Critical Lianyungang Jierui Electronics Co Ltd
Priority to CN202111226087.0A priority Critical patent/CN113970679A/en
Publication of CN113970679A publication Critical patent/CN113970679A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides an automatic debugging table and a debugging method for the angular precision of an axial angle-digital converter. The invention can realize the automatic control of the output angle of the simulator, the automatic acquisition of the output angle value of the shaft angle-digital converter, the calculation of the angle deviation amount and finally display the whole process of debugging the resistance value on the automatic debugging software. The invention adopts the angle simulator of the independent property right, the independently designed data acquisition board, the independently designed debugging software and the debugging method, thereby realizing the complete autonomy of the debugging platform; the test board has the advantages of simple structure, strong expandability, wide application range of products to be debugged, easy use and maintenance, and capability of meeting the requirements of the construction of the batch debugging environment of the shaft angle-digital converter and the automatic condition construction of military standard lines of the electronic conversion module.

Description

Automatic debugging table and debugging method for angular precision of shaft angle-digital converter
Technical Field
The invention belongs to the technical field of shaft angle-digital converters, in particular to an automatic debugging platform and a debugging method for the angle precision of a shaft angle-digital converter, and particularly relates to an intelligent debugging platform and a debugging method which adopt upper computer automatic debugging software to realize the control of an angle simulator, the angle precision measurement of the shaft angle-digital converter, and the automatic calculation of the debugging resistance value of an angle precision parameter and the display of an adjustment quantity according to a sent and received angle value.
Background
At present, in the electrical performance debugging of an axial angle-digital converter, the workload of 90% of the parameter debugging of the converter is mainly concentrated on the angle precision debugging, and during the debugging, a debugging worker needs to manually shake a motor to provide an analog signal source for the axial angle-digital converter and record the angle difference between the current angle output by the axial angle-digital converter and an angle position instrument for detecting the angle of a signal output by the motor; and then, shaking the motor to rotate for one circle to detect a plurality of test points, sequentially recording the angle deviation value of each test point, determining the angle adjustment amount according to the deviation amount of each test point, and selecting a proper debugging resistor to assemble according to experience. After debugging is completed, when the rotating motor is rotated again to check the angular precision of the converter, the phenomenon of unqualified single debugging often occurs, and the angular precision output by the converter can meet the index requirement only by replacing the debugging resistor for fine adjustment once or for many times.
The disadvantages of this angular precision debugging method are: debugging personnel need to shake the motor in the whole process to carry out angular precision testing, the debugging workload is large, the debugging efficiency is low, and the requirement for quickly debugging batch products cannot be met; the angle deviation measured in the debugging process needs to be calculated manually, the corrected angle deviation adds a debugging resistor according to personal experience, repeated trial and error and replacement of the debugging resistor exist in the debugging process, the intelligent degree of debugging is low, and the technical level is laggard; the test points selected by manual test are not comprehensive, and the precision deviation is easy to occur, so that the precision of the converter after debugging does not reach the standard. Under the condition of supplying the shaft angle-to-digital converters in batches, the method cannot meet the process control targets of production cost, product quality and debugging efficiency during batch debugging.
Disclosure of Invention
The technical problem to be solved by the invention is to provide an automatic debugging platform and a debugging method for the angular precision of an axial angle-digital converter aiming at the defects of the existing debugging technology, so as to realize the automatic control of the output angle of an angle simulator, the automatic acquisition of the output angle value of the axial angle-digital converter and the calculation of the angle deviation amount, and finally display the debugging scheme on automatic debugging software.
The technical problem to be solved by the invention is realized by the following technical scheme that the automatic debugging table for the angular precision of the shaft angle-digital converter comprises a hardware platform and test software. The hardware platform comprises a self-angle-adjusting machine/rotary transformer angle simulator, an axial angle-digital converter test board, a power supply and an upper computer; the test software is an automatic angle precision debugging software package written in a computer.
The technical problem to be solved by the invention can also be solved by the following technical scheme that the angle simulator of the synchro/rotary transformer is communicated with an upper computer, and angle precision debugging software of the upper computer sends an instruction to realize automatic control of the output signal voltage, the signal mode, the reference frequency and the output angle value of the angle simulator, and provide a reference signal of a standard angle for a post-stage test board of the shaft angle-digital converter for the shaft angle-digital converter to be debugged.
The technical problem to be solved by the present invention can also be solved by the following technical solution, wherein the shaft angle-to-digital converter test board is connected with a shaft angle-to-digital converter to be debugged, which is fixed on a special test board, through a universal interface socket installed on a panel. A parallel-serial conversion data acquisition board is arranged in the test board, a parallel data line at the input end of the acquisition board is connected with a pin of a test board interface socket, 16-bit parallel data is processed by a single chip microcomputer on the acquisition board and then converted into RS422 serial data, and after the data is processed by an isolation conversion circuit, differential data signals are output and sent to the serial socket of the test board.
The technical problem to be solved by the invention can also be realized by the following technical scheme that after the angle precision automatic debugging software establishes communication with the angle simulator of the synchro/rotary transformer through a computer, the angle simulator is controlled to send a standard analog angle signal to the shaft angle-digital converter to be debugged; and then, after establishing communication with the shaft angle-digital converter test board through the computer, acquiring an actual digital angle signal output by the shaft angle-digital converter.
The technical problem to be solved by the invention can also be achieved by the following technical scheme, the method for realizing the automatic angular precision debugging software comprises the steps of firstly comparing the angular data sent to the angular simulator with the received data of the data acquisition board, calculating the angular precision error of the shaft angle-digital converter in the whole period, and then correcting the calculated angular precision error by adopting the angular deviation correcting quantity on the debugging software interface to be used as the actual angular error of each test point of the shaft angle-digital converter to be debugged.
The technical problem to be solved by the present invention can also be solved by the following technical scheme, wherein the implementation method of the automatic angular precision debugging software compares the angular precision error judgment standard value input on the interface with the actual angular error of each test point, and judges whether the converter to be debugged needs to perform angular precision adjustment. If the angle precision adjustment is not needed, the debugging software automatically outputs 'the angle precision is qualified' on the interface; if the angle precision adjustment is needed, the debugging software judges the angle adjustment position and the angle error adjustment value according to the actual angle error of each test point.
The technical problem to be solved by the invention can also be realized by the following technical scheme that if the angle precision automatic debugging software judges that the angle value in the quadrant needs to be adjusted, the angle precision automatic debugging software adjusts the angle value in the quadrant according to a formula
Figure BDA0003314381070000021
(wherein e1 represents the amount of angular adjustment in quadrant, unit;. RBase ofRepresenting axial angle-numberIn the converter, sine and cosine signals form the feedback resistance value of the circuit), the automatic debugging software can quickly calculate the R required by the circuitBase ofAnd parallel debugging resistance values added at two ends of the resistor are output on an automatic debugging software interface, and the debugging resistance position in the quadrant and the added parallel debugging resistance values are output.
The technical problem to be solved by the invention can also be realized by the following technical scheme that if the angle precision automatic debugging software judges that the angle value of the quadrant point needs to be adjusted, the angle precision automatic debugging software adjusts the angle value according to a formula RStringThe auto-debug software can quickly calculate the debug resistance value that needs to be connected in series to the bias resistor connected to the reference power supply, and output the debug resistance position of the quadrant point and the added series debug resistance value on the auto-debug software interface (e 3 × 1200 Ω/0.001 ° (where e3 represents the amount of angular adjustment of the quadrant point, in units).
The technical problem to be solved by the invention can also be solved by the following technical scheme that after the angular precision of the angular precision automatic debugging software in the quadrant and the quadrant point of the axial angle-to-digital converter is adjusted, if the angular precision output by the converter still cannot meet the specified index requirement, in order to avoid the angular precision debugging operation from entering into a dead cycle, the automatic debugging software is provided with an auxiliary intervention function, namely when the debugging software judges that the non-quadrant angle and the quadrant angle are adjusted and the angular precision output by a single output still cannot meet the precision index requirement, the 'to-be-debugged axial angle-to-digital converter product is unqualified' and a debugging person is reminded to submit the to-be-debugged product to an unqualified product processing procedure for processing, so that the batch production debugging efficiency of the converter is improved and the performability of the debugging operation is ensured.
Compared with the prior art, the invention has the following remarkable advantages:
(1) the intelligent automatic control, measurement, difference calculation technology is adopted to replace the traditional manual angle precision debugging method, so that the intelligent, automatic, efficient and accurate debugging operation of the shaft angle-digital converter is realized, and the popularization and application of the mass debugging of the shaft angle-digital converter are facilitated.
The automatic control technology realizes standard analog shaft angle signal output, digital angle acquisition, angle adjustment quantity judgment, calculation of a resistance value to be debugged and judgment of a debugging resistor installation position, thereby replacing the whole process of debugging the resistance value by data transmission of a hand-operated motor, visual reading of an angle value, rough estimation of the angle adjustment quantity, selection of the debugging resistance value by experience and selection of the installation position by memory.
(2) By adopting the angle correction intelligent compensation technology, the problem of angle deviation caused by adopting an angle simulator (a domestic SMNQ-2 type) to provide analog signal standard sources for different types of shaft angle-to-digital converters to be debugged is solved, and the accuracy of angle testing is solved.
(3) The judgment of the angle precision error debugging quantity adopts the comparison and analysis of a plurality of test points in a full quadrant, and is more comprehensive than the judgment of manually memorizing the error quantity of a plurality of test points; the calculation of the debugging resistance value adopts a derived formula to automatically calculate, and is more efficient and accurate than a mode that the debugging resistance is manually increased by experience and needs to be adjusted for many times; the intelligent intervention function is set, repeated debugging operation is avoided, and the debugging operation is smoother.
The invention adopts the angle simulator of the independent property right, the signal acquisition board of the independent design and the test program of the independent design, has realized the complete autonomy of the test system; the test board has the advantages of simple structure, strong expandability, wide application range of products to be debugged, easy use and maintenance, and capability of meeting the requirements of the construction of the batch debugging environment of the shaft angle-digital converter and the automatic condition construction of military standard lines of the electronic conversion module.
The present invention is described in further detail below with reference to the attached drawing figures.
Drawings
Fig. 1 is a circuit block diagram of an automatic debugging station for the angular precision of an axial angle-to-digital converter in one embodiment.
Fig. 2 is an external view of the automatic debugging software for the angular precision of the shaft angle-to-digital converter in one embodiment.
FIG. 3 is a flow diagram of automatic debugging software for the angular precision of the shaft angle-to-digital converter in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
In one embodiment, an automatic debugging table for the angular precision of an axial angle-digital converter is provided, and comprises an angle simulator/a rotary transformer angle simulator, an axial angle-digital converter testing table, a power supply and an upper computer provided with automatic angular precision debugging software;
the upper computer provided with the angle precision automatic debugging software is used for realizing automatic control of the output signal voltage, the signal mode and the reference frequency of the angle simulator so as to be consistent with the signal of the shaft angle-digital converter to be debugged; the angle simulator is also used for realizing automatic control of the output angle value of the angle simulator and providing a standard analog signal angle value theta for the shaft angle-digital converter test bench; the device is also used for automatically acquiring an actual angle value phi output by the shaft angle-to-digital converter to be debugged and debugging the angle precision according to the analog signal angle value theta and the actual angle value phi; meanwhile, an angle precision adjusting scheme is displayed on the angle precision automatic debugging software interface and comprises a debugging resistance value and an installation position which need to be added;
the angle simulator is used for sending an analog signal angle value to the shaft angle-digital converter test bench under the control of the upper computer provided with the automatic angle precision debugging software;
the shaft angle-digital converter test board is used for bearing and fixing a shaft angle-digital converter to be debugged when performing angle precision debugging of the shaft angle-digital converter, collecting an angle value output by the converter and transmitting the angle value to an upper computer;
and the power supply is used for providing required voltage for the shaft angle-digital converter to be debugged and the test bench.
Further, in one embodiment, a general interface socket and a parallel-serial conversion data acquisition board are arranged on the shaft angle-to-digital converter test board, the shaft angle-to-digital converter to be debugged is mounted on a special test board matched with the type of the shaft angle-to-digital converter, a golden finger part of the test board is connected with the general interface socket, and 10-16 bits of parallel binary output angle data of the shaft angle-to-digital converter to be debugged are connected with the parallel-serial conversion data acquisition board through the general interface socket; the parallel-serial conversion data acquisition board converts 10-16 bit parallel angle data output by the shaft angle-digital converter to be debugged into serial data according to the received upper computer instruction, and sends the serial data to an upper computer for the automatic angle precision debugging software to use.
Further, in one embodiment, the angular simulator of the synchro/resolver uses an independently developed SMNQ-2 type angular simulator as a signal standard source, and the angular simulator communicates with the USB port of the computer through a Mini-USB interface socket of the housing via a communication cable.
In one embodiment, a debugging method based on the above automatic debugging station is provided, the method includes the following steps:
step 1, comparing the angle precision automatically tested by an angle precision automatic debugging platform with the angle precision tested during manual angle precision debugging to obtain the angle offset correction of the converter;
step 2, with the delta theta as a stepping value (preferably, with 15 degrees as stepping), the upper computer controls the angle simulator to send a group of analog signal angle values theta to the test board of the shaft angle-to-digital converter, and simultaneously collects the angle value output by the shaft angle-to-digital converter to be debugged corresponding to each angle test point;
step 3, calculating the maximum angle deviation e of all angle test points according to the results of the step 1 and the step 2max
Step 4, comparing the maximum angle deviation emaxThe angle precision error judging standard value Ag given by the angle precision automatic debugging software, if emaxWhen Ag, then the angle precision is needed to be debugged, go to step 5, otherwise, judge that the angle precision of the shaft angle-to-digital converter to be debugged is qualified, do not need to debug the angle precision,ending the process, and displaying 'angle precision is qualified' on the automatic angle precision debugging software;
step 5, carrying out angular precision debugging in the quadrant, and displaying an angular precision adjusting scheme on angular precision automatic debugging software, wherein the angular precision adjusting scheme comprises a debugging resistance value and an installation position which need to be added;
step 6, judging whether the angular precision debugging in the quadrant meets the debugging index requirement, if so, displaying 'the angular precision is qualified' on the angular precision automatic debugging software, finishing the angular precision debugging, and ending the process, otherwise, turning to the step 7;
step 7, carrying out angle precision debugging of the quadrant point, and displaying an angle precision adjusting scheme on angle precision automatic debugging software, wherein the angle precision adjusting scheme comprises a debugging resistance value and an installation position which need to be added;
and 8, judging whether the angular precision debugging of the quadrant point meets the debugging index requirement, if so, displaying that the angular precision is qualified on the angular precision automatic debugging software, otherwise, displaying that the shaft angle to be debugged-digital converter product is unqualified on the angular precision automatic debugging software, finishing the angular precision debugging, and finishing the process.
Further, in one embodiment, step 3 calculates the maximum angle deviation e of all the angle test points according to the results of step 1 and step 2maxThe method specifically comprises the following steps:
step 3-1, adding the angle value of the parallel-serial conversion data acquisition board acquired by the upper computer and the angle offset correction amount in the step 1 to each angle test point to be used as an actual angle value phi output by the to-be-debugged axial angle-digital converter;
step 3-2, calculating the maximum angle deviation e of all angle test points according to the angle value theta of the analog signal and the actual angle value phimax=max(|Φ-θ|)。
Further, in one embodiment, the performing angular precision debugging in the quadrant in step 5 includes:
step 5-1, solving the maximum angle error a and the minimum angle error b of the quadrants 1 and 3, and the maximum angle error c and the minimum angle error d of the quadrants 2 and 4 according to the deviation solving mode of the step 3-2;
step 5-2, taking
Figure BDA0003314381070000061
And
Figure BDA0003314381070000062
the smaller number of the two is used as the quadrant internal angle adjustment e 1;
step 5-3, calculating a reference resistance RBase ofDebugging resistance value R with two parallel endsAnd are
Step 5-4, according to emaxThe quadrant position and the error direction of the corresponding actual angle value phi judge the assembly position of the parallel debugging resistor, and the method specifically comprises the following steps:
when e ismaxWhen the corresponding actual angle value is in 1, 3 frames, emaxIf is greater than 0, then in the sine branch RBase ofIncrease of R across the resistorAnd areDebugging resistance, emaxIf < 0, then in cosine branch RBase ofIncrease of R across the resistorAnd areDebugging a resistor;
when e ismaxWhen the corresponding actual angle value is in the range of 2, 4 pixels, emaxIf > 0, then in cosine branch RBase ofIncrease of R across the resistorAnd areDebugging resistance, emaxIf < 0, in the sinusoidal branch RBase ofIncrease of R across the resistorAnd areAnd (6) debugging the resistance.
Further, in one embodiment, the reference resistor R in step 5-3Base ofDebugging resistance value R with two parallel endsAnd areThe calculation formula of (2) is as follows:
Figure BDA0003314381070000063
in the formula, a reference resistance RBase ofAnd the feedback resistance value of a circuit formed by sine and cosine signals in the shaft angle-digital converter to be debugged is shown.
Further, in one embodiment, the step 7 of performing angle precision debugging of the quadrant point includes:
step 7-1, solving the maximum angle error f and the minimum angle error g corresponding to angles of 0 degrees, 90 degrees, 180 degrees and 270 degrees according to the deviation solving mode in the step 3-2;
step 7-2, taking
Figure BDA0003314381070000064
An angle adjustment amount e3 as an quadrant point;
7-3, calculating a debugging resistance value R required to be connected in series with a bias resistor connected with a reference power supplyString
7-4, determining R according to the maximum value of the absolute values of f and g and the direction of the maximum valueStringThe assembling position of the debugging resistor specifically comprises the following steps:
when the direction of the maximum error is positive (> 0), a resistor R is connected in series with the bias resistor connected with the negative reference power supplyStringWhen the direction of the maximum error is negative (< 0), a resistor R is connected in series with the bias resistor connected with the positive reference power supplyString
Further, in one embodiment, the debugging resistance value R connected in series with the bias resistor connected with the reference power supply in the step 7-3StringThe calculation formula of (2) is as follows:
Rstring=e3×1200Ω/0.001°。
Illustratively, in one of the embodiments, the present invention is further described in detail.
An automatic debugging table for the angular precision of an axial angle-digital converter comprises a hardware platform and upper computer software. With reference to fig. 1, the hardware platform portion includes: the device comprises an SMNQ-2 type synchro/rotary transformer angle simulator 1, a universal shaft angle-digital converter test bench 2, a three-way output adjustable direct-current power supply 3, a USB-RS422 patch cord 4 and a computer 5. The angle simulator of the synchro/rotary transformer is connected with a USB port of a computer through a Mini-USB interface 6 of the simulator to realize the communication function; an RS422 interface 7 of the universal shaft angle-digital converter test bench is connected with a computer USB port through a USB-RS422 patch cord to realize a communication function, a universal interface socket 8 is arranged on a panel of the universal shaft angle-digital converter test bench, matched plug-in boards 10 of products 9 to be debugged in different models are connected with the universal interface socket through golden finger plug parts, the products to be debugged are fixed on the matched plug-in boards through clamps, a parallel-serial conversion data acquisition board 11 is arranged in the universal shaft angle-digital converter test bench, one end of the data acquisition board is connected with a 16-bit data line of the universal interface socket, and the other end of the data acquisition board is connected with the RS422 interface socket of the test bench. The upper computer software part mainly comprises upper computer angular precision automatic debugging software 12 written in a computer.
Further, after the upper computer angular precision automatic debugging software is opened, in combination with fig. 2, an execution button 14 is clicked in an interface 13 of the upper computer angular precision automatic debugging software, and the upper computer angular precision automatic debugging software automatically establishes communication with an SMNQ-2 synchro/rotary transformer angle simulator and a general shaft angle-digital converter test board; meanwhile, the SMNQ-2 angle simulator outputs 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 precision automatic debugging software, and provides the output signal voltage, the signal mode, the reference frequency, the reference voltage and the initial angle value for a post-stage general shaft angle-digital converter test board.
Furthermore, a simulator parameter binding window 16, an angle precision standard value window 17, an angle precision correction window 18 and a reference resistor setting window 19 are further arranged in the interface of the upper computer angle precision automatic debugging software, parameters in the three windows are loaded into the product model list window 15 through a model input window 20, so that when a tester debugs a product with the same model next time, the parameter resetting is avoided, the parameter setting time is saved, and the operation efficiency is improved.
Furthermore, an angle setting and displaying window 21 is further arranged in the interface of the upper computer angular precision automatic debugging software, and is used for assisting the upper computer angular precision debugging software automatic testing program, simulating manual adjustment of motor parameters and operation of a hand-operated motor, controlling an angle simulator to sequentially output a group of standard analog signal angular values, and displaying a digital angular value output by a converter to be debugged and acquired by the universal shaft angle-digital converter testing platform and an angular error value of each testing point subjected to angular precision correction in real time.
Further, an interface of the upper computer angular precision automatic debugging software is also provided with an automatic test program operation flow manual intervention button 22 and an automatic test program operation result display window 23. The manual intervention button is used for enabling the angular precision of a product to be debugged to still not meet the index requirement of the product after the angular precision of the product in a quadrant and an quadrant point is adjusted, at the moment, the manual intervention button can be used for rapidly withdrawing the operation of an angular precision debugging software automatic test program, and a debugging person is prompted in a program operation result display window to perform manual confirmation. The automatic test program operation result display window is used for automatically displaying the output result of the angular precision debugging resistance value of the product to be debugged after the automatic test program of the angular precision debugging software is tested, error-calculated and judged, and mainly comprises: the debugging resistor installation position in the quadrant, the debugging resistance value in the quadrant, the debugging resistor installation position of the quadrant point, and the debugging resistance value of the quadrant point.
Further, after the upper computer angular precision automatic debugging software clicks an execution button of a software interface, establishes communication with the angle simulator and the universal type shaft angle-digital converter test board, and then clicks an automatic test button below the product model list window 15, the angular precision automatic testing software executes an automatic test program according to a flow specified in fig. 3.
The specific execution steps and the realization method of the automatic test program of the angle precision debugging software are as follows:
(1) controlling an SMNQ-2 angle simulator to step by taking a 15-degree angle, and outputting a group of standard simulation angle data;
(2) and acquiring the digital angle output by the converter to be debugged on the general shaft angle-digital converter test board.
(3) And after angle correction is carried out on the values in the angle precision correction window, calculating an angle error value output by the converter to be debugged at each angle test point.
(4) And calculating the maximum angle deviation e of the positions of all the test points according to the measured value-standard value, and marking the quadrant position and the positive sign of the maximum error.
(5) Comparing E with a value E in the angular precision standard value window; if E is larger than E, performing corner inside corner precision debugging; if E is less than E, the output angle precision is qualified, and the converter to be debugged does not need angle precision debugging.
(6) When the calculation of the debugging resistance value in the quadrant is executed, the maximum positive angle error a (the minimum negative error is taken when no positive error exists) and the maximum negative angle error b (the minimum positive error is taken when no negative error exists) of the quadrants 1 and 3 are firstly judged; next, the maximum positive angle error c (minimum negative error if no positive error) and the maximum negative angle error d (minimum positive error if no negative error) in the 2 and 4 quadrants are determined; get
Figure BDA0003314381070000091
And
Figure BDA0003314381070000092
a medium or large value (small rounded) as a numerical adjustment amount e1 of the angular accuracy; at the same time, find the maximum value MAX (a, b, c, d) of the absolute values of the four numbers (a, b, c, d) and mark the quadrant of the maximum error, the direction of deviation (positive or negative); according to the formula
Figure BDA0003314381070000093
Solving the quadrant internal angle precision debugging resistance value RAnd are
(7) After the debugging resistance values connected in parallel in the quadrant are calculated, the parallel connection position of the debugging resistance needs to be judged. If the maximum angle error is in the quadrants 1 and 3 and the deviation direction of the error is positive, R is connected in parallel at two ends of the sine branch reference resistorAnd areDebugging a resistor; if the deviation direction of the error is negative, R is connected in parallel at two ends of the cosine branch reference resistorAnd areAnd (6) debugging the resistance. If the maximum angle error is in 2, 4 quadrants and the error deviation direction is positive, R is connected in parallel at two ends of the cosine branch reference resistorAnd areDebugging the resistor, and if the error deviation direction is negative, connecting R in parallel at two ends of the sine branch reference resistorAnd areAnd (6) debugging the resistance. And then displaying the running result of the automatic test program in a result display window.
(8) At the execution of the quadrant point toneWhen the test resistance value is calculated, the maximum positive error e2 (the minimum negative error is obtained when no positive error exists) and the maximum negative error f (the minimum positive error is obtained when no negative error exists) of the position angle error values of 0 degrees, 90 degrees, 180 degrees and 270 degrees are firstly obtained; then, will
Figure BDA0003314381070000094
E3 as a numerical adjustment amount of angular accuracy; judging the maximum value of the absolute values of e2 and f, and marking the deviation direction (positive or negative) of the maximum error; then according to the formula RStringThe quadrant point angle accuracy tuning resistance value R was obtained by calculating e3 × 1200 Ω/0.001 ° (where e3 represents the angle adjustment amount of the image limit point in unit °)String
(9) After calculating the debugging resistance value of the pixel point series connection, R needs to be judgedStringAnd debugging where the resistors are connected in series. If the deviation of the maximum value of e2 and f is positive, then R is mounted on the 510k omega resistor connected with-12VStringDebugging a resistor; if the deviation direction of the maximum value of e2 and f is negative, then R is installed on the 510k omega resistor connected with +12VStringAnd (6) debugging the resistance. And then displaying the running result of the automatic test program in a result display window.
(10) For the converter to be debugged which is adjusted by assembling and debugging resistors in a quadrant and an quadrant point, when the angle precision is checked to be qualified after debugging is finished, a manual intervention button on an automatic angle precision debugging software interface is required to be arranged, a non-quadrant angle adjusted button and a quadrant angle adjusted button are placed in an effective state (set 1), then, an automatic test button is clicked again, the angle precision of a product to be debugged meets the index requirement, and the output result of an automatic test program is 'angle precision qualified'; for the product to be regulated with angular precision not meeting the index requirement, the output result of the automatic test program is 'manual confirmation', so that the test program is prevented from entering infinite circulation.
The foregoing illustrates and describes the principles, general features, and advantages of the present invention. It will be understood by those skilled in the art that the present invention is not limited to the embodiments described above, which are described in the specification and illustrated only to illustrate the principle of the present invention, but that various changes and modifications may be made therein without departing from the spirit and scope of the present invention, which fall within the scope of the invention as claimed. The scope of the invention is defined by the appended claims and equivalents thereof.

Claims (8)

1. An automatic debugging table for the angular precision of an axial angle-digital converter is characterized by comprising an angle simulator, an axial angle-digital converter testing table, a power supply and an upper computer provided with automatic angular precision debugging software;
the upper computer provided with the angle precision automatic debugging software is used for realizing automatic control of the output signal voltage, the signal mode and the reference frequency of the angle simulator so as to be consistent with the signal of the shaft angle-digital converter to be debugged; the angle simulator is also used for realizing automatic control of the output angle value of the angle simulator and providing a standard analog signal angle value theta for the shaft angle-digital converter test bench; the device is also used for automatically acquiring an actual angle value phi output by the shaft angle-to-digital converter to be debugged and debugging the angle precision according to the analog signal angle value theta and the actual angle value phi; meanwhile, an angle precision adjusting scheme is displayed on the angle precision automatic debugging software interface and comprises a debugging resistance value and an installation position which need to be added;
the angle simulator is used for sending an analog signal angle value to the shaft angle-digital converter test bench under the control of the upper computer provided with the automatic angle precision debugging software;
the shaft angle-digital converter test board is used for bearing and fixing a shaft angle-digital converter to be debugged when performing angle precision debugging of the shaft angle-digital converter, collecting an angle value output by the converter and transmitting the angle value to an upper computer;
and the power supply is used for providing required voltage for the shaft angle-digital converter to be debugged and the test bench.
2. The automatic debugging table for the angular precision of the shaft angle-digital converter according to claim 1, wherein a universal interface socket and a parallel-serial conversion data acquisition board are arranged on the shaft angle-digital converter testing table, the shaft angle-digital converter to be debugged is mounted on a special testing board matched with the model of the shaft angle-digital converter, a golden finger part of the testing board is connected with the universal interface socket, and 10-16 bits of parallel binary output angle data of the shaft angle-digital converter to be debugged are connected with the parallel-serial conversion data acquisition board through the universal interface socket; the parallel-serial conversion data acquisition board converts 10-16 bit parallel angle data output by the shaft angle-digital converter to be debugged into serial data according to the received upper computer instruction, and sends the serial data to an upper computer for the automatic angle precision debugging software to use.
3. The debugging method of the automatic debugging platform according to any one of claims 1 to 2, characterized in that the method comprises the following steps:
step 1, comparing the angle precision automatically tested by an angle precision automatic debugging platform with the angle precision tested during manual angle precision debugging to obtain the angle offset correction of the converter;
step 2, using the delta theta as a stepping value, controlling an angle simulator by the upper computer to send a group of analog signal angle values theta to an axial angle-digital converter test bench, and meanwhile collecting the angle value output by the axial angle-digital converter to be debugged corresponding to each angle test point;
step 3, calculating the maximum angle deviation e of all angle test points according to the results of the step 1 and the step 2max
Step 4, comparing the maximum angle deviation emaxThe angle precision error judging standard value Ag given by the angle precision automatic debugging software, if emaxIf yes, angle precision debugging is needed, the process goes to step 5, otherwise, the angle precision of the to-be-debugged shaft angle-digital converter is judged to be qualified, angle precision debugging is not needed, the process is finished, and angle precision qualification is displayed on angle precision automatic debugging software;
step 5, carrying out angular precision debugging in the quadrant, and displaying an angular precision adjusting scheme on angular precision automatic debugging software, wherein the angular precision adjusting scheme comprises a debugging resistance value and an installation position which need to be added;
step 6, judging whether the angular precision debugging in the quadrant meets the debugging index requirement, if so, displaying 'the angular precision is qualified' on the angular precision automatic debugging software, finishing the angular precision debugging, and ending the process, otherwise, turning to the step 7;
step 7, carrying out angle precision debugging of the quadrant point, and displaying an angle precision adjusting scheme on angle precision automatic debugging software, wherein the angle precision adjusting scheme comprises a debugging resistance value and an installation position which need to be added;
and 8, judging whether the angular precision debugging of the quadrant point meets the debugging index requirement, if so, displaying that the angular precision is qualified on the angular precision automatic debugging software, otherwise, displaying that the shaft angle to be debugged-digital converter product is unqualified on the angular precision automatic debugging software, finishing the angular precision debugging, and finishing the process.
4. The debugging method of claim 3, wherein the step 3 calculates the maximum angle deviation e of all angle test points according to the results of the steps 1 and 2maxThe method specifically comprises the following steps:
step 3-1, adding the angle value of the parallel-serial conversion data acquisition board acquired by the upper computer and the angle offset correction amount in the step 1 to each angle test point to be used as an actual angle value phi output by the to-be-debugged axial angle-digital converter;
step 3-2, calculating the maximum angle deviation e of all angle test points according to the angle value theta of the analog signal and the actual angle value phimax=max(|Φ-θ|)。
5. The debugging method according to claim 4, wherein the step 5 of performing angular precision debugging in a quadrant comprises:
step 5-1, solving the maximum angle error a and the minimum angle error b of the quadrants 1 and 3, and the maximum angle error c and the minimum angle error d of the quadrants 2 and 4 according to the deviation solving mode of the step 3-2;
step 5-2, taking
Figure FDA0003314381060000021
And
Figure FDA0003314381060000022
the smaller number of the two is used as the quadrant internal angle adjustment e 1;
step 5-3, calculating a reference resistance RBase ofDebugging resistance value R with two parallel endsAnd are
Step 5-4, according to emaxThe quadrant position and the error direction of the corresponding actual angle value phi judge the assembly position of the parallel debugging resistor, and the method specifically comprises the following steps:
when e ismaxWhen the corresponding actual angle value is in 1, 3 frames, emaxIf is greater than 0, then in the sine branch RBase ofIncrease of R across the resistorAnd areDebugging resistance, emaxIf < 0, then in cosine branch RBase ofIncrease of R across the resistorAnd areDebugging a resistor;
when e ismaxWhen the corresponding actual angle value is in the range of 2, 4 pixels, emaxIf > 0, then in cosine branch RBase ofIncrease of R across the resistorAnd areDebugging resistance, emaxIf < 0, in the sinusoidal branch RBase ofIncrease of R across the resistorAnd areAnd (6) debugging the resistance.
6. Debugging method according to claim 5, characterized in that said reference resistance R of steps 5-3Base ofDebugging resistance value R with two parallel endsAnd areThe calculation formula of (2) is as follows:
Figure FDA0003314381060000031
in the formula, a reference resistance RBase ofAnd the feedback resistance value of a circuit formed by sine and cosine signals in the shaft angle-digital converter to be debugged is shown.
7. The debugging method according to claim 5, wherein the step 7 of performing the angular precision debugging of the quadrant points comprises:
step 7-1, solving the maximum angle error f and the minimum angle error g corresponding to angles of 0 degrees, 90 degrees, 180 degrees and 270 degrees according to the deviation solving mode in the step 3-2;
step 7-2, taking
Figure FDA0003314381060000032
An angle adjustment amount e3 as an quadrant point;
7-3, calculating a debugging resistance value R required to be connected in series with a bias resistor connected with a reference power supplyString
7-4, determining R according to the maximum value of the absolute values of f and g and the direction of the maximum valueStringThe assembling position of the debugging resistor specifically comprises the following steps:
when the direction of the maximum error is positive, a resistor R is connected in series with the bias resistor connected with the negative reference power supplyStringWhen the direction of the maximum error is negative, a resistor R is connected in series with the bias resistor connected with the positive reference power supplyString
8. The debugging method according to claim 7, wherein the debugging resistance value R connected in series with the bias resistor connected with the reference power supply in step 7-3StringThe calculation formula of (2) is as follows:
Rstring=e3×1200Ω/0.001°。
CN202111226087.0A 2021-10-21 2021-10-21 Automatic debugging table and debugging method for angular precision of shaft angle-digital converter Pending CN113970679A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111226087.0A CN113970679A (en) 2021-10-21 2021-10-21 Automatic debugging table and debugging method for angular precision of shaft angle-digital converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111226087.0A CN113970679A (en) 2021-10-21 2021-10-21 Automatic debugging table and debugging method for angular precision of shaft angle-digital converter

Publications (1)

Publication Number Publication Date
CN113970679A true CN113970679A (en) 2022-01-25

Family

ID=79587670

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111226087.0A Pending CN113970679A (en) 2021-10-21 2021-10-21 Automatic debugging table and debugging method for angular precision of shaft angle-digital converter

Country Status (1)

Country Link
CN (1) CN113970679A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114543845A (en) * 2022-02-23 2022-05-27 中国电子科技集团公司第三十八研究所 Flexible and expandable shaft angle digital conversion device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114543845A (en) * 2022-02-23 2022-05-27 中国电子科技集团公司第三十八研究所 Flexible and expandable shaft angle digital conversion device
CN114543845B (en) * 2022-02-23 2023-07-11 中国电子科技集团公司第三十八研究所 Flexible expandable shaft angle digital conversion device

Similar Documents

Publication Publication Date Title
CN109164404B (en) System and method for automatically calibrating sampling circuit in circuit board
CN101334457B (en) Multichannel multi-parameter electric measuring meter test system and full-automatic test method
CN110645891B (en) Motor calibration system, method and device, controller and storage medium
CN108151694A (en) Angular displacement sensor automated calibration system and method
CN113970679A (en) Automatic debugging table and debugging method for angular precision of shaft angle-digital converter
CN111521212A (en) Magnetic encoder correction system and method, control terminal and readable storage medium
CN110705002A (en) Compensation system and method for simulation test
CN103257277A (en) Multifunctional virtual instrument based on constant flow source and control method
CN106992782B (en) Timing synchronization DAC static parameter testing method
CN114029982A (en) Hand-eye calibration device and calibration method of camera outside robot arm
CN108613684B (en) Method for testing angle precision of fixed base frame of three-floating platform system
CN111859679A (en) Wind turbine generator test load obtaining method, simulation load comparing method and simulation load comparing device
CN108170193B (en) Output adjusting method and system of power supply substrate of display device
CN208238742U (en) Encoder test platform
CN115825688A (en) PCBA automatic test equipment based on domestic industrial controller
CN108020241B (en) Fault testing method and system for photoelectric theodolite
CN114353828B (en) Laser strapdown inertial measurement unit calibration test device and test method
CN110378257B (en) Artificial intelligent model whole process automation system
CN109774967B (en) On-line detection method for simulating engine lubricating oil temperature and avionics system crosslinking
CN113126014B (en) Calibration system for realizing array parallelism of digital oscilloscope
CN218180998U (en) Test system
CN210835715U (en) Calibration detection device of follow-up control system
CN214151113U (en) Automatic meteorological station fault detector
CN101813656B (en) Method and equipment for automatic calibration of oil conductivity meter
CN208820792U (en) A kind of efficient WiFi module test macro

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination