A test calibration board for a signal acquisition board and a calibration and test method thereof

By designing a test calibration board that contains an analog socket connector, a variable gain amplification unit and a motor unit, and using the signal acquisition board's own circuit function for automatic calibration, the problem of calibration accuracy deviation of the signal acquisition board is solved, and an efficient, low-cost Cost of signal calibration and testing.

CN108132452BActive Publication Date: 2024-10-01SUZHOU HARDWOOD INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201810115164.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2018-02-06
Publication Date
2024-10-01
Estimated Expiration
2038-02-06

AI Technical Summary

Technical Problem

There is an accuracy deviation in the calibration of the signal acquisition board in the existing technology, which leads to problems with the accuracy of the acquisition card test signal. The current solution is costly or manual adjustment is time-consuming and labor-intensive and the effect is not ideal.

Method used

Design a test calibration board that includes an analog socket connector, a variable gain amplification unit, a motor unit, an analog switch array, a high-precision DC power supply and a digital socket connector. It is calibrated through the automated signal acquisition board's own circuit functions and uses steps. Input motors and multi-channel analog switches to realize capacitance value adjustment and signal calibration.

Benefits of technology

It realizes a fully automated calibration process, avoids manual errors, simplifies the design of the test calibration board, improves the accuracy of the signal acquisition board, and tests multiple functional units at once through the self-loop test method, reducing costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN108132452B_ABST
    Figure CN108132452B_ABST
Patent Text Reader

Abstract

The present invention provides a test calibration board for a signal acquisition board and a calibration and testing method thereof. During use, the signal acquisition board to be calibrated and tested is at the bottom, and the test calibration board is at the top. The test calibration board is plugged into the signal acquisition board waiting for test calibration. After completing the calibration and testing of a signal acquisition board, the signal acquisition board and the test calibration board are separated. Another signal acquisition board is replaced and plugged in at the bottom for testing and calibration. And so on. The test calibration board on the production line is reused. When there are many production tasks, multiple test calibration boards can be used simultaneously. The calibration and testing method includes matching calibration of the oscilloscope function on the signal acquisition board, amplitude calibration of the oscilloscope function on the signal acquisition board, and amplitude calibration of the signal source function on the signal acquisition board. The calibration of the method is fully automated, and the product design does not require high-precision components, thereby avoiding errors caused by manual calibration.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of acquisition board testing, and in particular to a test calibration board for a signal acquisition board and a calibration and testing method thereof. Background Art

[0002] There are multiple operational amplifier chips on the acquisition board to realize the conversion between signals and ADC chips. Due to the chip characteristics of the amplifier and the precision error of the peripheral resistors, the actual circuit deviates from the theoretical design. If this deviation is not calibrated, the accuracy of the acquisition board will be greatly reduced. For example, the operational amplifier gain error caused by the resistance error causes the accuracy problem of the AC peak-to-peak value of the acquisition card test signal. The presence of parasitic capacitance causes the amplitude of the signal to decay with frequency. The zero bias of the op amp itself causes errors in the acquisition card test DC. The conversion slope error of the ADC itself will cause problems when the acquisition card tests the AC and DC signals.

[0003] There are two general methods for calibrating this circuit error. One is to use high-precision operational amplifiers, high-precision ADCs and high-precision resistors, which can improve accuracy, but it will greatly increase costs. The other is to use variable resistors and capacitors to manually adjust the gain, zero bias and compensation capacitance of the circuit, which is time-consuming and labor-intensive, and due to the errors in manual readings, the calibration effect is not very ideal. Therefore, it is an urgent problem to develop a test calibration board for the signal acquisition board and its calibration and test method. Summary of the invention

[0004] The present invention aims to solve the above technical problems and provides a test calibration board for a signal acquisition board and a calibration and test method thereof.

[0005] In order to solve the above technical problems, the technical solution adopted by the present invention is:

[0006] A test calibration board for a signal acquisition board, comprising the test calibration board, the test calibration board comprising an analog socket connector, a variable gain amplifier unit, a motor unit, an analog switch array, a high-precision DC power supply and a digital socket connector, the analog socket connector being electrically connected to the motor unit, the analog switch array and the variable gain amplifier unit respectively, the analog switch array being electrically connected to the variable gain amplifier unit and the high-precision DC power supply respectively, and the digital socket connector being electrically connected to the motor unit, the analog switch array, the high-precision DC power supply and the variable gain amplifier unit respectively.

[0007] Furthermore, the motor unit includes a first stepper motor, a second stepper motor, a first motor driver chip (DRV8833) and a second motor driver chip (DRV8833), the first motor driver chip is electrically connected to the first stepper motor, and the second motor driver chip is electrically connected to the second stepper motor.

[0008] Furthermore, the motor shafts of the first stepper motor and the second stepper motor are respectively connected to a straight screwdriver head through a spring at the rear end of the screwdriver head, and the IO sends a control signal to the first motor drive chip and the second motor drive chip, and the forward or reverse rotation of the stepper motor can be adjusted after passing through the drive chip. The variable capacitor to be adjusted on the signal acquisition board can be rotated by the straight screw, and the forward rotation can increase the capacitance value, and the reverse rotation can reduce the capacitance value, thereby adjusting the capacitance value.

[0009] Furthermore, the analog switch array includes a multi-way analog switch (preferably a four-way analog switch), and the model of the analog switch is SN74HCT4052.

[0010] Furthermore, the variable gain amplification unit includes a high-precision amplifier (OPA2180) and an analog switch (TS12A4516), and the high-precision amplifier is electrically connected to a third analog switch in the analog switch array.

[0011] Furthermore, the analog socket connector includes a power pin, an oscilloscope pin, and a signal source pin. The power pin is divided into two paths, one path is electrically connected to the motor driver chip in the motor unit, and the other path is electrically connected to the second analog switch in the analog switch array after summing through resistance. The oscilloscope pin is electrically connected to the first analog switch in the analog switch array, and the signal source pin is electrically connected to the high-precision amplifier in the variable gain amplifier unit.

[0012] Furthermore, the digital socket connector includes an IO input pin and an IO output pin. During IO testing, the IO input pin and the IO output pin are electrically connected via a self-loop wiring.

[0013] Furthermore, the high-precision DC power supply includes a high-precision amplifier (OPA2180), a high-precision data converter (DAC7811), and a reference source (REF3325).

[0014] Furthermore, the analog socket connector is a 40-pin connector of the analog port, and the digital socket connector is a 36-pin connector of the digital port. The test calibration board is electrically connected to the corresponding connector on the signal acquisition board through the analog socket connector and the digital socket connector to transmit data and perform calibration and testing of the signal acquisition board. The signal acquisition board is provided with a USB interface for power supply and a USB interface for computer communication.

[0015] A calibration and testing method using the above test calibration board includes matching calibration of the oscilloscope function on the signal acquisition board, amplitude calibration of the oscilloscope function on the signal acquisition board, and amplitude calibration of the signal source function on the signal acquisition board;

[0016] The matching calibration process of the oscilloscope function on the signal acquisition board is as follows: the test calibration program of the PC sends commands through the USB interface of the computer communication to control the signal acquisition board to complete the following steps:

[0017] A. The signal source unit on the signal acquisition board generates a 1KHz 1Vpp square wave signal;

[0018] B. The square wave signal enters the test calibration board through the 40-pin connector of the analog port and the analog socket connector;

[0019] C. The logic IO of the signal acquisition board controls the multi-way analog switch through the 36-pin connector of the digital port and the digital socket connector to send the square wave signal to the oscilloscope pin of the analog socket connector;

[0020] D. The analog socket connector and the 40-pin connector of the analog port are connected, and the square wave signal enters the oscilloscope function unit of the signal acquisition board through the analog socket connector and the 40-pin connector of the analog port;

[0021] E. The software on the PC reads the square wave waveform collected by the oscilloscope unit of the signal acquisition board through the USB interface of the computer communication. The square wave waveform has mismatch and match situations;

[0022] F. The software on the PC compares the square wave waveforms and then controls the first stepper motor and the second stepper motor to rotate the adjustable capacitor on the signal acquisition board, so that the unmatched square wave waveforms become matched, and the matching calibration is completed.

[0023] The amplitude calibration process of the oscilloscope function on the signal acquisition board is as follows:

[0024] The first step is DC calibration: The test calibration program of the PC sends commands through the USB interface of the computer communication to control the signal acquisition board to complete the following steps. The logic IO of the signal acquisition board controls the multi-way analog switch through the 36-pin connector of the digital port and the digital socket connector to connect the oscilloscope pin of the analog socket connector to the zero potential. The software on the PC reads the current value D of the oscilloscope unit of the signal acquisition board through the USB interface of the brain communication. D is the zero bias of the oscilloscope unit. The software on the PC sends the -D data back to the oscilloscope unit, and the DC regulation circuit of the oscilloscope unit converts the -D data into a voltage to offset the zero bias of the oscilloscope unit. This process is repeated several times to make the zero bias data D approach 0. The first step of DC calibration is completed.

[0025] The second step is peak-to-peak calibration. The test calibration program of the PC sends commands through the USB interface of the computer communication to control the signal acquisition board to complete the following steps. The logic IO of the signal acquisition board controls the high-precision DC power supply to generate V1 voltage through the 36-pin connector of the digital port and the digital socket connector. The logic IO of the signal acquisition board controls the multi-way analog switch through the 36-pin connector of the digital port and the digital socket connector to send the V1 voltage to the oscilloscope pin of the analog socket connector. The analog socket connector and the 40-pin connector of the analog port are connected, and the V1 voltage enters the oscilloscope function unit of the signal acquisition board through the analog socket connector and the 40-pin connector of the analog port. The software on the PC reads the value M of the oscilloscope unit of the signal acquisition board at this time through the USB interface of the computer communication. Repeat the above steps, the high-precision DC power supply generates V2 and sends it to the oscilloscope unit, and the PC software reads the value N. Calculate the ADC conversion slope of the signal acquisition board = (NM) / (V2-V1). ADC conversion constant = M-V1*ADC conversion slope. The second step of peak-to-peak calibration is completed.

[0026] The amplitude calibration of the signal source function on the signal acquisition board includes: power supply function test, oscilloscope function test, signal source function test and logic IO function test on the signal acquisition board.

[0027] 1. Power supply function test. The test and calibration program of the PC sends commands through the USB interface of the computer communication to control the signal acquisition board to complete the following steps. The power supply unit of the signal acquisition board has five output pins on the 40-pin connector of the analog port, generating five voltages V1 to V5. It is sent to the test and calibration board through the 40-pin connector of the analog port and the analog socket connector, and connected to resistors R1 to R5. V1 to V5 are summed by resistors R1 to R5 to generate voltage F1. The logic IO of the signal acquisition board controls the multi-way analog switch to send F1 to the oscilloscope unit through the 36-pin connector of the digital port and the digital socket connector. The software on the PC reads the value D of the oscilloscope unit of the signal acquisition board at this time through the USB interface of the computer communication. The software on the PC compares D with the standard value to detect whether V1 to V5 is faulty. This method tests 5 power supplies at a time, saving time and effort.

[0028] 2. Oscilloscope function test and signal source function test. The test and calibration program of the PC sends commands through the USB interface of the computer communication to control the signal acquisition board to complete the following steps. The signal source sends a signal Vs containing DC and AC, the DC component value is Vdc, and the AC component value is Vac. The logic IO of the signal acquisition board controls the multi-way analog switch through the 36-pin connector of the digital port and the digital socket connector to send Vs to the oscilloscope unit. The software on the PC reads the value of the oscilloscope unit of the signal acquisition board at this time through the USB interface of the computer communication, and calculates the DC component Vdc and the AC component Vac. The software on the PC compares the Vdc and Vac sent by the oscilloscope test and the signal source. If the two are consistent, it means that the oscilloscope and signal source function normally. If they are inconsistent, there is a problem with the oscilloscope and signal source and they need to be repaired. This method tests the signal source unit and the oscilloscope unit on the signal acquisition board together, without adding a detection circuit on the test and calibration board. Two units can be detected in one test, saving time and effort.

[0029] 3. IO function test: The test and calibration program of the PC sends commands through the USB interface of the computer communication to control the signal acquisition board to complete the following steps. The IO output unit of the signal acquisition board sends the value K, and the value K enters the test and calibration board through the IO output pin of the 36-pin connector of the digital port to the digital socket connector. The PCB circuit of the test and calibration board sends the value K back to the IO input unit of the signal acquisition board through the digital socket connector to the IO input pin of the 36-pin connector of the digital port. The IO input unit compares the received value. If it is consistent with K, the IO input and output units work normally. If it is inconsistent, there is a problem with the IO input and output units. This method can test two units at a time. Selecting the hexadecimal value of K 0x5555 0xaaaa0x6666 0x9999 can detect both the left and right adjacent and the top and bottom adjacent pins.

[0030] The advantages and positive effects of the present invention are as follows:

[0031] 1. This method is fully automated in calibration, and product design does not require high-precision components, thus avoiding errors caused by manual calibration.

[0032] 2. This test and calibration board utilizes the circuit function on the signal acquisition board to be tested and calibrated. There is no need to add a detection circuit to the test and calibration board, which simplifies the test and calibration board.

[0033] 3. When the test and calibration board calibrates the signal source unit of the signal acquisition board, the small signal passes through the high-precision amplifier on the test and calibration board, and then is tested after amplification, which improves the accuracy. The test and calibration board is controlled by the digital IO unit of the signal acquisition board, switches the signal flow direction, and tests and calibrates multiple analog functional units on the signal acquisition board.

[0034] 4. This method adopts a self-loop test method. The signal source unit of the signal acquisition board sends a signal to the oscilloscope unit, testing the functions of the two units at a time.

[0035] 5. This method uses resistance summation for power supply detection and tests multiple power supplies at one time.

[0036] 6. This calibration method completes the DC and peak-to-peak calibration of the oscilloscope unit, which is automatically realized by program control. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Figure 1 This is the principle block diagram of the test calibration board;

[0038] Figure 2 It is a schematic diagram of the assembly of the test calibration board and the signal acquisition board;

[0039] Figure 3 It is a schematic diagram of a variable capacitor to be adjusted on a motor unit adjustment signal acquisition board;

[0040] Figure 4 This is a schematic diagram of the signal acquisition board performing matching calibration of the oscilloscope function;

[0041] Figure 5 This is a schematic diagram of the power supply function test on the signal acquisition board;

[0042] Figure 6 This is a schematic diagram of the IO function test.

[0043] In the figure:

[0044] 1. Analog socket connector; 2. Power pin; 3. Oscilloscope pin; 4. Signal source pin; 5. Resistor; 6. Variable gain amplifier unit; 7. High-precision amplifier OPA2180; 8. Analog switch TS12A4516; 9. Motor unit; 10. First stepper motor; 11. Second stepper motor; 12. First motor driver chip DRV8833; 13. Second motor driver chip DRV8833; 14. Analog switch array; 15. First analog switch; 16. Second analog switch; 17. Third analog switch; 18. Four analog switches; 19. High-precision DC power supply; 20. High-precision amplifier OPA2180; 21. High-precision data converter DAC7811; 22. Reference source REF3325; 23. Digital socket connector; 24. IO input pins; 25. IO output pins; 26. Self-loop routing; 27. USB interface for power supply; 28. USB interface for computer communication; 29. ​​40-pin connector for analog port; 30. 36-pin connector for digital port; 31. Screwdriver head; 32. Multi-way analog switch; 33. Variable capacitor to be adjusted DETAILED DESCRIPTION

[0045] The specific embodiments of the present invention are described in detail below with reference to the accompanying drawings.

[0046] like Figure 1 and 2 As shown, a test calibration board for a signal acquisition board includes a test calibration board, the test calibration board includes an analog socket connector 1, a variable gain amplifier unit 6, a motor unit 9, an analog switch array 14, a high-precision DC power supply 19 and a digital socket connector 23, the analog socket connector 1 is electrically connected to the motor unit 9, the analog switch array 14, and the variable gain amplifier unit 6 respectively, the analog switch array 14 is electrically connected to the variable gain amplifier unit 6 and the high-precision DC power supply 19 respectively, and the digital socket connector 23 is electrically connected to the motor unit 9, the analog switch array 14, the high-precision DC power supply 19 and the variable gain amplifier unit 6 respectively. The motor unit 9 includes a first stepper motor 10, a second stepper motor 11, a first motor driver chip 12 (DRV8833) and a second motor driver chip 13 (DRV8833), the first motor driver chip 12 is electrically connected to the first stepper motor 10, and the second motor driver chip 13 is electrically connected to the second stepper motor 11.

[0047] The analog switch array 14 includes a multi-way analog switch 32 (preferably a four-way analog switch), and the model of the analog switch is SN74HCT4052. The variable gain amplifier unit 6 includes a high-precision amplifier 7 (OPA2180) and an analog switch 8 (TS12A4516), and the high-precision amplifier 7 is electrically connected to the third analog switch 17 in the analog switch array. The high-precision DC power supply 19 includes a high-precision amplifier 20 (OPA2180), a high-precision data converter 21 (DAC7811), and a reference source 22 (REF3325).

[0048] The analog socket connector includes a power pin 2, an oscilloscope pin 3, and a signal source pin 4. The power pin 2 is divided into two paths, one path is electrically connected to the motor driver chip in the motor unit 9, and the other path is electrically connected to the second analog switch 16 in the analog switch array 14 after being summed through a resistor 5. The oscilloscope pin 3 is electrically connected to the first analog switch 15 in the analog switch array 14, and the signal source pin 4 is electrically connected to the high-precision amplifier 7 in the variable gain amplifier unit 6.

[0049] The digital socket connector 23 includes an IO input pin 24 and an IO output pin 25. During IO testing, the IO input pin 24 and the IO output pin 25 are electrically connected through a self-loop wiring.

[0050] The analog socket connector 1 is a 40-pin connector of the analog port, and the digital socket connector 23 is a 36-pin connector of the digital port. The test calibration board is electrically connected to the corresponding connectors on the signal acquisition board through the analog socket connector 1 and the digital socket connector 23 to transmit data and perform calibration and testing of the signal acquisition board. A USB interface 27 for power supply and a USB interface 28 for computer communication are provided on the signal acquisition board.

[0051] like Figure 3 As shown, the motor shafts of the first stepper motor 10 and the second stepper motor 11 are respectively connected to a straight screwdriver head 31 through a spring at the rear end of the head, and the 10 sends a control signal to the first motor drive chip 12 and the second motor drive chip 13, and the forward or reverse rotation of the stepper motor can be adjusted after passing through the drive chip. The variable capacitor 33 to be adjusted on the signal acquisition board can be rotated by a straight screw, and the forward rotation can increase the capacitance value, and the reverse rotation can reduce the capacitance value, thereby adjusting the capacitance value. When the test calibration is performed on the production line, the test calibration board is plugged into the signal acquisition board to be tested, and the straight screwdriver head 31 will contact the variable capacitor 33 to be adjusted. There is a spring at the rear end of the screwdriver head 31, so there will be a suitable force pressing on the variable capacitor 33 to be adjusted. And a small position error is allowed for docking. When the stepper motor rotates, the screwdriver head 31 will drive the variable capacitor 33 to be adjusted to rotate. Thereby adjusting the capacitance value of the variable capacitor.

[0052] like Figure 4 As shown, when the software on the PC collects the waveform of mismatching situation 1, it controls the reverse rotation to reduce the capacitance value of the variable capacitor 33. When it collects the waveform of mismatching situation 2, it controls the forward rotation to increase the capacitance value of the variable capacitor 33. It rotates one step amount, collects a waveform once, and stops rotating when the matching waveform is reached.

[0053] In use, the signal acquisition board to be calibrated and tested (such as EPI-M204 and EPI-M304) is at the bottom, and the test calibration board is at the top. The test calibration board is plugged into the signal acquisition board waiting for test calibration. After completing the calibration and test of a signal acquisition board, separate the signal acquisition board and the test calibration board. Replace another signal acquisition board and plug it in at the bottom for testing and calibration. And so on. The test calibration boards on the production line are reused. When there are many production tasks, multiple test calibration boards can be used at the same time.

[0054] The USB interface 27 on the signal acquisition board supplies power to the signal acquisition board, and the USB interface 28 for computer communication transmits data with the PC. The signal acquisition board to be tested supplies power to the test calibration board through the power pin on the 40-pin connector 29 of the analog port. The signal acquisition board to be tested sends a signal to the test calibration board through the signal source pin on the 40-pin connector 29 of the analog port. The signal acquisition board to be tested receives the signal sent by the test calibration board through the oscilloscope pin on the 40-pin connector 29 of the analog port. The signal acquisition board to be tested controls the multi-way analog switch 32 on the test calibration board through the logic IO pin on the 36-pin connector 30 of the digital port. The multi-way analog switch 32 can be used to switch the analog signal between the analog socket connector 1, the variable gain amplifier unit 6, and the high-precision DC power supply 19 on the test calibration board. The signal acquisition board to be tested controls the rotation of the motor unit 9 through the 36-pin connector 30 of the digital port and the logic IO on the digital socket connector 23. The test calibration program running on the PC controls the signal acquisition board to perform the above functions through the USB interface 28 for computer communication.

[0055] A calibration and testing method using the above test calibration board includes matching calibration of the oscilloscope function on the signal acquisition board, amplitude calibration of the oscilloscope function on the signal acquisition board, and amplitude calibration of the signal source function on the signal acquisition board;

[0056] The matching calibration process of the oscilloscope function on the signal acquisition board is as follows: the test calibration program of the PC sends commands through the USB interface 28 of the computer communication to control the signal acquisition board to complete the following steps:

[0057] A. The signal source unit on the signal acquisition board generates a 1KHz 1Vpp square wave signal;

[0058] B. The square wave signal enters the test calibration board through the 40-pin connector 29 of the analog port and the analog socket connector 1;

[0059] C. The logic IO of the signal acquisition board controls the multi-way analog switch through the 36-pin connector 30 of the digital port and the digital socket connector 23 to send the square wave signal to the oscilloscope pin of the analog socket connector 1;

[0060] D. The analog socket connector 1 and the 40-pin connector 29 of the analog port are connected, and the square wave signal enters the oscilloscope function unit of the signal acquisition board through the analog socket connector 1 and the 40-pin connector 29 of the analog port;

[0061] E. The software on the PC reads the square wave waveform collected by the oscilloscope unit of the signal acquisition board through the USB interface 28 of the computer communication. The square wave waveform has mismatch and match conditions as shown in the figure below;

[0062] F. The software on the PC controls the first stepper motor 10 and the second stepper motor 11 to rotate the adjustable capacitor on the signal acquisition board by comparing the square wave waveforms, so that the unmatched square wave waveforms become matched, and the matching calibration is completed.

[0063] The amplitude calibration process of the oscilloscope function on the signal acquisition board is as follows:

[0064] The first step is DC calibration: the test calibration program of the PC sends commands through the USB interface 28 of computer communication to control the signal acquisition board to complete the following steps. The logic IO of the signal acquisition board controls the multi-way analog switch 32 through the 36-pin connector 30 of the digital port and the digital socket connector 23 to connect the oscilloscope pin of the analog socket connector 1 to the zero potential. The software on the PC reads the value D of the oscilloscope unit of the signal acquisition board at this time through the USB interface 28 of brain communication. D is the zero bias of the oscilloscope unit. The software on the PC sends the -D data back to the oscilloscope unit, and the DC regulation circuit of the oscilloscope unit converts the -D data into a voltage to offset the zero bias of the oscilloscope unit. This process is repeated several times to make the zero bias data D approach 0. The first step of DC calibration is completed.

[0065] The second step is peak-to-peak calibration. The test calibration program of the PC sends commands through the USB interface 28 of the computer communication to control the signal acquisition board to complete the following steps. The logic IO of the signal acquisition board controls the high-precision DC power supply 19 to generate the V1 voltage through the 36-pin connector 30 of the digital port and the digital socket connector 23. The logic IO of the signal acquisition board controls the multi-way analog switch 32 through the 36-pin connector 30 of the digital port and the digital socket connector 23 to send the V1 voltage to the oscilloscope pin of the analog socket connector 1. The analog socket connector 1 and the 40-pin connector 29 of the analog port are connected, and the V1 voltage enters the oscilloscope function unit of the signal acquisition board through the analog socket connector 1 and the 40-pin connector 29 of the analog port. The software on the PC reads the value M of the oscilloscope unit of the signal acquisition board at this time through the USB interface 28 of the computer communication. Repeat the above steps, the high-precision DC power supply 19 generates V2 and sends it to the oscilloscope unit, and the PC software reads the value N. Calculate the ADC conversion slope of the signal acquisition board = (NM) / (V2-V1). ADC conversion constant = M-V1*ADC conversion slope. Step 2 Peak-to-peak calibration is completed.

[0066] The amplitude calibration of the signal source function on the signal acquisition board includes: power supply function test, oscilloscope function test, signal source function test and logic IO function test on the signal acquisition board.

[0067] 1. Power supply function test. The test and calibration program of the PC sends commands through the USB interface 28 of the computer communication to control the signal acquisition board to complete the following steps. The power supply unit of the signal acquisition board has five output pins on the 40-pin connector 29 of the analog port, which generates five voltages V1 to V5. It is sent to the test and calibration board through the 40-pin connector 29 of the analog port and the analog socket connector 1, and connected to resistors 5R1 to R5. V1 to V5 are summed by resistors R1 to R5 to generate voltage F1. The logic IO of the signal acquisition board controls the multi-way analog switch 32 to send F1 to the oscilloscope unit through the 36-pin connector 30 of the digital port and the digital socket connector 23. The software on the PC reads the value D of the oscilloscope unit of the signal acquisition board at this time through the USB interface 28 of the computer communication. The software on the PC compares D with the standard value to detect whether V1 to V5 are faulty. For example Figure 5 As shown, this method tests 5 power supplies at a time, saving time and effort.

[0068] 2. Oscilloscope function test and signal source function test. The test and calibration program of the PC sends commands through the USB interface 28 of the computer communication to control the signal acquisition board to complete the following steps. The signal source sends a signal Vs containing DC and AC, the DC component value is Vdc, and the AC component value is Vac. The logic IO of the signal acquisition board controls the multi-way analog switch 32 through the 36-pin connector 30 of the digital port and the digital socket connector 23 to send Vs to the oscilloscope unit. The software on the PC reads the value of the oscilloscope unit of the signal acquisition board at this time through the USB interface 28 of the computer communication, and calculates the DC component Vdc and the AC component Vac. The software on the PC compares the Vdc and Vac sent by the oscilloscope test and the signal source. If the two are consistent, it means that the oscilloscope and signal source function normally. If they are inconsistent, there is a problem with the oscilloscope and signal source and they need to be repaired. This method tests the signal source unit and the oscilloscope unit on the signal acquisition board together, and there is no need to add a detection circuit on the test and calibration board. Two units can be detected in one test, saving time and effort.

[0069] 3. IO function test: The test and calibration program of the PC sends commands through the USB interface 28 of the computer communication to control the signal acquisition board to complete the following steps. The IO output unit of the signal acquisition board sends the value K, and the value K enters the test and calibration board through the 36-pin connector 30 of the digital port to the IO output pin of the digital socket connector 23. The PCB circuit of the test and calibration board sends the value K back to the IO input unit of the signal acquisition board through the digital socket connector 23 to the IO input pin of the 36-pin connector 30 of the digital port. The IO input unit compares the received value. If it is consistent with K, the IO input and output units are working normally. If it is inconsistent, there is a problem with the IO input and output units. Figure 6As shown, this method can test two units at a time. The K value is selected in hexadecimal 0x5555 0xaaaa 0x6666 0x9999, which can detect both the left and right adjacent and the top and bottom adjacent pins.

[0070] The method makes full use of the circuit function of the signal acquisition board to be tested, so that a simplified test calibration board can be used for testing and calibration. The test calibration program running on the PC makes the test calibration process fully automated.

[0071] The embodiments of the present invention are described in detail above, but the contents described are only preferred embodiments of the present invention and cannot be considered to limit the scope of implementation of the present invention. All equivalent changes and improvements made within the scope of the present invention should still fall within the scope of this patent.

Claims

1. A calibration and testing method for a test calibration board, applied to the test calibration board of a signal acquisition board, the test calibration board comprising an analog socket connector, a variable gain amplifier unit, a motor unit, an analog switch array, a high-precision DC power supply and a digital socket connector, the analog socket connector being electrically connected to the motor unit, the analog switch array and the variable gain amplifier unit respectively, the analog switch array being electrically connected to the variable gain amplifier unit and the high-precision DC power supply respectively, the digital socket connector being electrically connected to the motor unit, the analog switch array, the high-precision DC power supply and the variable gain amplifier unit respectively; the motor unit comprising a first stepper motor, a second stepper motor, a first motor driving chip and a second motor driving chip, the first motor driving chip being electrically connected to the first stepper motor, and the second motor driving chip being electrically connected to the second stepper motor; The calibration and test process includes the matching calibration of the oscilloscope function on the signal acquisition board. The process is as follows: the test calibration program of the PC sends commands through the USB interface of the computer communication to control the signal acquisition board to complete the following steps: A. The signal source unit on the signal acquisition board generates a 1KHz 1Vpp square wave signal; B. The square wave signal enters the test calibration board through the 40-pin connector of the analog port and the analog socket connector; C. The logic IO of the signal acquisition board controls the multi-way analog switch through the 36-pin connector of the digital port and the digital socket connector to send the square wave signal to the oscilloscope pin of the analog socket connector; D. The analog socket connector and the 40-pin connector of the analog port are connected, and the square wave signal enters the oscilloscope function unit of the signal acquisition board through the analog socket connector and the 40-pin connector of the analog port; E. The software on the PC reads the square wave waveform collected by the oscilloscope unit of the signal acquisition board through the USB interface of the computer communication. The square wave waveform has mismatch and match situations; F. The software on the PC compares the square wave waveforms and then controls the first stepper motor and the second stepper motor to rotate the adjustable capacitor on the signal acquisition board, so that the unmatched square wave waveforms become matched, and the matching calibration is completed.

2. The calibration and testing method of the test calibration board according to claim 1, characterized in that: It also includes the amplitude calibration of the oscilloscope function on the signal acquisition board, and the process is as follows: The first step is DC calibration: the test calibration program of the PC sends commands through the USB interface of the computer communication to control the signal acquisition board to complete the following steps; the logic IO of the signal acquisition board controls the multi-way analog switch through the 36-pin connector of the digital port and the digital socket connector to connect the oscilloscope pin of the analog socket connector to zero potential; the software on the PC reads the value D of the oscilloscope unit of the signal acquisition board at this time through the USB interface of the brain communication; D is the zero bias of the oscilloscope unit; the software on the PC sends the -D data back to the oscilloscope unit, and the DC regulation circuit of the oscilloscope unit converts the -D data into a voltage to offset the zero bias of the oscilloscope unit; This process is repeated several times to make the zero bias data D approach 0. The DC calibration is completed. The second step is peak-to-peak value calibration: the test calibration program of the PC sends commands through the USB interface of the computer communication to control the signal acquisition board to complete the following steps; the logic IO of the signal acquisition board controls the high-precision DC power supply to generate V1 voltage through the 36-pin connector of the digital port and the digital socket connector, and the logic IO of the signal acquisition board controls the multi-way analog switch through the 36-pin connector of the digital port and the digital socket connector to send the V1 voltage to the oscilloscope pin of the analog socket connector; the analog socket connector and the 40-pin connector of the analog port are connected, and the V1 voltage enters the oscilloscope function unit of the signal acquisition board through the analog socket connector and the 40-pin connector of the analog port; the software on the PC reads the value M of the oscilloscope unit of the signal acquisition board at this time through the USB interface of the computer communication; repeat the above steps, the high-precision DC power supply generates V2 and sends it to the oscilloscope unit, and the PC software reads the value N; calculate the ADC conversion slope of the signal acquisition board = (NM) / (V2-V1); ADC conversion constant = M-V1*ADC conversion slope; peak-to-peak value calibration is completed.

3. The calibration and testing method of the test calibration board according to claim 1, characterized in that: The method further comprises an amplitude calibration of a signal source function on a signal acquisition board, wherein the amplitude calibration of the signal source function on the signal acquisition board comprises a power supply function test, an oscilloscope function test, a signal source function test and a logic IO function test on the signal acquisition board; 1. Power function test: The test and calibration program of the PC sends commands through the USB interface of the computer communication to control the signal acquisition board to complete the following steps; the power supply unit of the signal acquisition board has five output pins on the 40-pin connector of the analog port, generating five voltages V1 to V5; sent to the test and calibration board through the 40-pin connector of the analog port and the analog socket connector, and connected to the resistors R1 to R5; V1 to V5 are summed by the resistors R1 to R5 to generate voltage F1; the logic IO of the signal acquisition board controls the multi-way analog switch through the 36-pin connector of the digital port and the digital socket connector to send F1 to the oscilloscope unit; the software on the PC reads the value D of the oscilloscope unit of the signal acquisition board at this time through the USB interface of the computer communication; the software on the PC compares D with the standard value to detect whether V1 to V5 are faulty; 2. Oscilloscope function test and signal source function test: The PC's test calibration program sends commands through the computer's USB interface to control the signal acquisition board to complete the following steps; the signal source sends a signal Vs containing DC and AC, the DC component value is Vdc, and the AC component value is Vac; the logic IO of the signal acquisition board controls the multi-way analog switch through the 36-pin connector of the digital port and the digital socket connector to send Vs to the oscilloscope unit; the software on the PC reads the current value of the oscilloscope unit of the signal acquisition board through the computer's USB interface, and calculates the DC component Vdc and the AC component Vac; the software on the PC compares the Vdc and Vac sent by the oscilloscope test and the signal source; if the two are consistent, it means that the oscilloscope and signal source are functioning normally, if they are inconsistent, there is a problem with the oscilloscope and signal source and they need to be repaired; 3. IO function test: The test and calibration program of the PC sends commands through the USB interface of the computer communication to control the signal acquisition board to complete the following steps; the IO output unit of the signal acquisition board sends the value K, and the value K enters the test and calibration board through the IO output pin of the 36-pin connector of the digital port to the digital socket connector; the PCB circuit of the test and calibration board sends the value K back to the IO input unit of the signal acquisition board through the digital socket connector to the IO input pin of the 36-pin connector of the digital port; The IO input unit compares the received value with K. If it is consistent with K, the IO input and output unit is working normally. If it is inconsistent, there is a problem with the IO input and output unit.

4. The calibration and testing method of the test calibration board according to claim 1, characterized in that: The motor shafts of the first stepper motor and the second stepper motor are respectively connected to a screwdriver head through a spring at the rear end of the screwdriver head.

5. The calibration and testing method of the test calibration board according to claim 1, characterized in that: The analog switch array includes a multi-channel analog switch.

6. The calibration and testing method of the test calibration board according to claim 5, characterized in that: The analog socket connector includes a power pin, an oscilloscope pin, and a signal source pin. The power pin is divided into two paths, one path is electrically connected to the motor driver chip in the motor unit, and the other path is electrically connected to the second analog switch in the analog switch array after passing through a resistor. The oscilloscope pin is electrically connected to the first analog switch in the analog switch array, and the signal source pin is electrically connected to the high-precision amplifier in the variable gain amplifier unit.

7. The calibration and testing method of the test calibration board according to claim 1, characterized in that: The digital socket connector includes an IO input pin and an IO output pin. During IO testing, the IO input pin and the IO output pin are electrically connected via a self-loop wiring.

8. The calibration and testing method of the test calibration board according to claim 1, characterized in that: The analog socket connector is a 40-pin connector of the analog port, and the digital socket connector is a 36-pin connector of the digital port. The test calibration board is electrically connected to the corresponding connector on the signal acquisition board through the analog socket connector and the digital socket connector. The signal acquisition board is provided with a USB interface for power supply and a USB interface for computer communication.