Automatic calibration test method for universal meter mainboard
Through the automatic calibration test method controlled by PC host, the programmable power supply and load output preset voltage and current, read and compare voltage, current, and resistance values to generate calibration coefficients, solving the accuracy caused by manual intervention in traditional methods Problem, efficient and accurate automatic calibration and testing of multimeter motherboard.
Patent Information
- Application Number
- CN202411317203.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-20
- Publication Date
- 2024-12-03
AI Technical Summary
The calibration and testing methods of traditional multimeter motherboards require manual intervention, which is time-consuming and labor-intensive, and the results are susceptible to human factors. Some automatic testing equipment is expensive and difficult to widely popularize.
Using automatic calibration test method based on PC host, programmable power supply, programmable load and tooling, the preset voltage and current output is controlled by PC host, read and compare voltage, current and resistance values, generate calibration coefficients and write to Test plates to achieve automatic calibration and testing without manual intervention.
It improves the accuracy of calibration and testing, realizes automatic switching of test gears, saves labor costs, and improves work efficiency.
Smart Images

Figure CN119064842A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to a multimeter production test method, in particular to an automatic calibration test method for a multimeter mainboard. Background Art
[0002] New energy multimeter is a device that measures the voltage, current and resistance of circuit boards. There are differences between each PCB board in the multimeter produced by the factory, and calibration and testing are required to ensure the accuracy and reliability of its measurement results. Traditional testing and calibration methods usually require manual intervention, which is time-consuming and labor-intensive. The test and calibration results are easily affected by human factors, making it difficult to guarantee the accuracy of the results. In addition, some automatic testing equipment requires special customization and will bring high application costs, making it difficult to popularize widely. Summary of the invention
[0003] The technical problem to be solved by the present invention is to provide a multimeter mainboard automatic calibration and testing method which can improve the accuracy of calibration and testing, realize automatic switching of test gears, and does not require manual intervention in view of the deficiencies in the prior art.
[0004] In order to solve the above technical problems, the present invention adopts the following technical solutions.
[0005] A multimeter mainboard automatic calibration test method, the method is implemented based on a PC host, a programmable power supply, a programmable load and a tool, the method comprises: a calibration step: the PC host controls the programmable power supply to output a preset voltage to the tool, and then controls the programmable power supply and the board under test to read the current voltage value from the tool, the PC host compares the voltage value read by the programmable power supply and the board under test, generates a voltage calibration coefficient and writes it into the board under test; the PC host collects the resistance value read by the board under test from the tool and compares it with the actual resistance of the tool, and generates a resistance calibration coefficient and write it into the board under test; the PC host controls the programmable load to output a preset current to the tooling, and then controls the programmable load and the board under test to read the current current value from the tooling, the PC host compares the current values read by the programmable load and the board under test, generates a current calibration coefficient and writes it into the board under test; testing steps: the PC host controls the board under test to measure a preset reference voltage, the actual resistance of the tooling and a preset reference current, and compares and determines whether the voltage value, resistance value and current value measured by the board under test exceed a preset accuracy range, if not, the test passes.
[0006] Preferably, the method comprises an initialization step of connecting the programmable power supply and the programmable load between the PC host and the tooling, and connecting the PC host and the tooling to the board under test respectively.
[0007] Preferably, the calibration step includes: step S10, the PC host sends an automatic calibration instruction to the board under test; step S11, when the PC host receives the calibration completion instruction fed back by the board under test, it switches to the voltage calibration mode, and controls the programmable power supply to output a preset voltage to the tooling by issuing SCPI instructions; step S12, the PC host sends a read voltage instruction to the programmable power supply and the board under test respectively, and the programmable power supply and the board under test read the current voltage value from the tooling according to the read voltage instruction; step S13, the programmable power supply and the board under test feed back the read voltage values to the PC host and compare them, and generate a voltage calibration coefficient according to the comparison result.
[0008] Preferably, the calibration step includes: step S14, the PC host sends a resistance test instruction to the board under test, and controls the resistance value read by the board under test from the tooling; step S15, the PC host compares the resistance value fed back by the board under test with the actual resistance value of the tooling itself, and generates a resistance calibration coefficient according to the comparison result.
[0009] Preferably, the calibration step includes: step S16, the PC host switches to the current calibration mode, and controls the programmable load to output a preset current by issuing SCPI instructions; step S17, the PC host sends current reading instructions to the programmable load and the board under test respectively, and the programmable load and the board under test read the current value from the tooling at the same time; step S18, the programmable load and the board under test feed back the current values they read to the PC host and compare them, and generate a current calibration coefficient according to the comparison result.
[0010] Preferably, in the step S11, the PC host controls the voltage value of the programmable power supply output to be 100mV; in the step S16, in the current calibration mode, the programmable load is controlled to output currents of 1A and 100mA respectively to calibrate the board under test.
[0011] Preferably, the test steps include: step S20, the PC host controls the tooling to switch to a voltage test mode, and the PC host controls the programmable power supply to output a reference voltage to the tooling; step S21, the PC host controls the programmable power supply and the board under test to read a voltage value from the tooling, and compares the voltage values read by the programmable power supply and the board under test. If the difference between the two does not exceed a preset difference range, the voltage test passes.
[0012] Preferably, the test steps include: step S22, the PC host controls the tooling to switch to a resistance test mode; step S23, the PC host controls the board under test to read a resistance value from the tooling, and compares the resistance value read by the board under test with an actual resistance value of the tooling; if the difference between the two does not exceed a preset difference range, the resistance test passes.
[0013] Preferably, the test steps include: step S24, the PC host controls the tooling to switch to a current test mode, and the PC host controls the programmable load to output a reference current to the tooling; step S25, the PC host controls the programmable load and the board under test to read a current value from the tooling, and compares the current values read by the programmable load and the board under test. If the difference between the two does not exceed a preset difference range, the current test passes.
[0014] Preferably, the voltage calibration coefficient, resistance calibration coefficient and current calibration coefficient generated in the calibration step are uploaded to a preset server, and the test result of the board under test in the testing step is uploaded to the server.
[0015] In the multimeter motherboard automatic calibration test method disclosed in the present invention, the PC host is used as the main control device for testing and calibration work, the PC host is pre-installed with a test and calibration control program, the programmable power supply and the programmable load are connected between the PC host and the tooling, and the PC host and the tooling are respectively connected to the board under test. In a specific test process, a series of set voltage and current value groups are output by the programmable power supply and the programmable load, and then the board under test is controlled to collect the corresponding voltage and current value groups. The value of each point in the value group is collected, and then the calibration coefficient is generated based on the echo value of the programmable power supply and the programmable load and the resistance value of the tooling itself, combined with various measurement values collected by the board under test, and finally written into the program of the board under test for calibration, and then the test process is started, and the PC host sequentially completes the test of multiple voltage and current points in each mode, and the PC host compares the voltage, current, and resistance values collected by the board under test with the echo value of the programmable power supply and the programmable load and the resistance value of the tooling itself, and determines whether the board under test is qualified by calculating the comparison difference. Compared with the prior art, the present invention not only improves the accuracy of calibration and testing, but also realizes automatic switching of test gears. No human intervention is required during the calibration and testing process, which can improve work efficiency and save labor costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 A system block diagram for realizing the multimeter mainboard automatic calibration test method of the present invention;
[0017] Figure 2 It is a flow chart of the calibration steps in the multimeter mainboard automatic calibration test method of the present invention;
[0018] Figure 3 The present invention is a flowchart of the test steps in the multimeter mainboard automatic calibration test method. DETAILED DESCRIPTION
[0019] The present invention is described in more detail below with reference to the accompanying drawings and embodiments.
[0020] The present invention discloses a multimeter mainboard automatic calibration test method, see Figure 1 The method is implemented based on a PC host 1, a programmable power supply 2, a programmable load 3 and a tool 4. The specific connection relationship is: the programmable power supply 2 and the programmable load 3 are connected between the PC host 1 and the tool 4, and the PC host 1 and the tool 4 are respectively connected to the board under test 5. The method includes:
[0021] Calibration steps: See Figure 2 , the PC host 1 controls the programmable power supply 2 to output a preset voltage to the tooling 4, and then controls the programmable power supply 2 and the board under test 5 to read the current voltage value from the tooling 4, the PC host 1 compares the voltage values read by the programmable power supply 2 and the board under test 5, generates a voltage calibration coefficient and writes it into the board under test 5;
[0022] The PC host 1 collects the resistance value read by the board under test 5 from the tooling 4 and compares it with the actual resistance of the tooling 4 to generate a resistance calibration coefficient and write it into the board under test 5;
[0023] The PC host 1 controls the programmable load 3 to output a preset current to the tooling 4, and then controls the programmable load 3 and the board under test 5 to read the current value from the tooling 4. The PC host 1 compares the current values read by the programmable load 3 and the board under test 5, generates a current calibration coefficient, and writes it into the board under test 5;
[0024] Test steps: See Figure 2 The PC host 1 controls the board under test 5 to measure the preset reference voltage, the actual resistance of the tooling 4 and the preset reference current, and compares and determines whether the voltage value, resistance value and current value measured by the board under test 5 exceed the preset accuracy range. If not, the test passes.
[0025] In the above method, the PC host 1 is used as the main control device for testing and calibration work. The PC host 1 is pre-installed with a test and calibration control program. The programmable power supply 2 and the programmable load 3 are connected between the PC host 1 and the tooling 4. The PC host 1 and the tooling 4 are respectively connected to the board under test 5. During the specific test process, a series of set voltage and current value groups are output through the programmable power supply 2 and the programmable load 3, and then the board under test 5 is controlled to collect the corresponding voltage and current value groups. The value of each point, and then the programmable power supply 2 and the programmable load 3 are used to control the board under test 5. The echo value of the programmable load 3 and the resistance value of the tooling 4 are used as the reference, and the various measurement values collected by the board under test 5 are combined to generate the calibration coefficient, which is finally written into the program of the board under test 5 for calibration. After that, the test process begins, and the PC host 1 completes the test of multiple voltage and current points in each mode in turn. The PC host 1 compares the voltage, current, and resistance values collected by the board under test 5 with the echo values of the programmable power supply 2 and the programmable load 3 and the resistance value of the tooling 4, and determines whether the board under test 5 is qualified by calculating the difference. Compared with the prior art, the present invention not only improves the accuracy of calibration and testing, but also realizes the automatic switching of test gears. No manual intervention is required during the calibration and testing process, which can improve work efficiency and save labor costs.
[0026] This embodiment also includes an initialization step before the specific test:
[0027] The programmable power supply 2 and the programmable load 3 are connected between the PC host 1 and the tooling 4 , and the PC host 1 and the tooling 4 are connected to the board under test 5 , respectively.
[0028] The specific connection method is: the PC host 1 is connected to the tooling 4 via a USB cable, and then connected to the programmable power supply 2 and the programmable load 3 through the HUB hub integrated in the tooling 4, and finally the positive and negative poles of the programmable power supply 2 and the programmable load 3 are connected to the tooling 4 in sequence.
[0029] In the above system framework, the programmable power supply 2 has multiple functions and working modes, including: voltage and current control, that is, the user can set the required output voltage and current values through programming; constant voltage output mode, that is, the output current of the power supply changes with the load to ensure the constant output voltage; constant current output mode: that is, the output voltage of the power supply changes with the load to ensure the constant output current.
[0030] In addition, the programmable load 3 is a device that sets different load characteristics through programming, and can simulate resistors, capacitors, inductors, etc. with different impedance values by controlling the working state of electronic devices, and can meet the testing requirements of various complex circuits.
[0031] In a preferred embodiment of the present invention, see Figure 2 , the calibration step comprises:
[0032] Step S10, the PC host 1 sends an automatic calibration instruction to the board under test 5;
[0033] Step S11, when the PC host 1 receives the calibration completion instruction fed back by the board under test 5, it switches to the voltage calibration mode, and controls the programmable power supply 2 to output a preset voltage to the tooling 4 by issuing SCPI instructions; in the step S11, the PC host 1 controls the programmable power supply 2 to output a voltage value of 100mV;
[0034] Step S12, the PC host 1 sends a voltage reading instruction to the programmable power supply 2 and the board under test 5 respectively, and the programmable power supply 2 and the board under test 5 read the current voltage value from the tooling 4 according to the voltage reading instruction;
[0035] Step S13, the programmable power supply 2 and the board under test 5 feed back the voltage values they read to the PC host 1 and compare them, and generate a voltage calibration coefficient according to the comparison result;
[0036] Step S14, the PC host 1 sends a resistance test instruction to the board under test 5, and controls the board under test 5 to read the resistance value from the tooling 4;
[0037] Step S15, the PC host 1 compares the resistance value fed back by the tested board 5 with the actual resistance value of the tooling 4 itself, and generates a resistance calibration coefficient according to the comparison result;
[0038] Step S16, the PC host 1 switches to the current calibration mode, and controls the programmable load 3 to output a current of a preset value by issuing SCPI instructions; in the step S16, in the current calibration mode, the programmable load 3 is controlled to output currents of 1A and 100mA respectively to calibrate the board under test 5;
[0039] Step S17, the PC host 1 sends a current reading instruction to the programmable load 3 and the board under test 5 respectively, and the programmable load 3 and the board under test 5 simultaneously read the current value from the tooling 4;
[0040] In step S18, the programmable load 3 and the board under test 5 feed back the current values read by them to the PC host 1 and compare them, and generate a current calibration coefficient according to the comparison result.
[0041] In the above calibration steps, in addition to self-calibration, the multimeter also has several sampling points of 100mV, 100K ohms, 1A, and 100mA. During the specific calibration, the PC host 1 sends instructions to control the self-calibration of the board under test 5. When the PC host 1 receives the self-calibration completion information, it sends instructions to the tooling 4 to switch it to the voltage mode, and then sends SCPI instructions to the programmable power supply 2 to output a voltage of 100mV. After that, the PC host 1 sends instructions to the programmable power supply 2 and the board under test 5 respectively, allowing the two to read the current voltage value. The PC host 1 compares the read values of the two, and then writes the voltage calibration coefficient to the board under test 5.
[0042] Furthermore, when the PC host 1 sends instructions to the tooling 4 and switches to the resistance mode, the PC host 1 sends instructions to the board under test 5, and then compares the resistance value measured by the board under test 5 with the actual resistance value of the tooling 4, and writes the resistance calibration coefficient to the board under test 5 according to the comparison result.
[0043] In addition, when the PC host 1 sends instructions to the tooling 4 and switches to the current mode, it sends SCPI instructions to the programmable load 3 to make it output 1A current. The PC host 1 sends instructions to the programmable load 3 and the board under test 5 respectively to make them read the current current value. The PC host 1 compares the read values of the two and then writes the current calibration coefficient to the board under test 5. After the 1A current gear test is completed, the PC host 1 sends SCPI instructions to the programmable load 3 to make it output 100mA, repeat the above current calibration steps, and complete the calibration of the 100mA gear.
[0044] When the voltage, resistance, and current modes are all calibrated, each calibration coefficient is uploaded to the server.
[0045] In a preferred embodiment of the present invention, see Figure 3 , the testing steps include:
[0046] Step S20, the PC host 1 controls the tool 4 to switch to a voltage test mode, and the PC host 1 controls the programmable power supply 2 to output a reference voltage to the tool 4;
[0047] Step S21, the PC host 1 controls the programmable power supply 2 and the board under test 5 to read the voltage value from the tooling 4, and compares the voltage values read by the programmable power supply 2 and the board under test 5. If the difference between the two does not exceed a preset difference range, the voltage test passes;
[0048] Step S22, the PC host 1 controls the tool 4 to switch to a resistance test mode;
[0049] Step S23, the PC host 1 controls the board under test 5 to read the resistance value from the tooling 4, and compares the resistance value read by the board under test 5 with the actual resistance value of the tooling 4. If the difference between the two does not exceed a preset difference range, the resistance test passes;
[0050] Step S24, the PC host 1 controls the tool 4 to switch to a current test mode, and the PC host 1 controls the programmable load 3 to output a reference current to the tool 4;
[0051] In step S25, the PC host 1 controls the programmable load 3 and the board under test 5 to read the current value from the tooling 4, and compares the current values read by the programmable load 3 and the board under test 5. If the difference between the two does not exceed a preset difference range, the current test passes.
[0052] In this embodiment, the automatic test includes 6 points, namely: voltage 20V, 300mv, current 1.2A, 300mA, resistance 100k ohm, diode 0.6V, and the corresponding accuracy is voltage ±1V, ±15mV, current ±0.06A, ±15mA, resistance ±2K ohm, diode ±0.2V. First, the PC host 1 sends an instruction to notify the tooling 4 board to control the relay to switch to voltage mode, and then the PC host 1 controls the programmable power supply 2 to output the voltage value. The PC host 1 sends instructions to the programmable power supply 2 and the board under test 5 to read the voltage value and compare them. If the comparison difference is within the accuracy range, the test passes; in the current test mode, the PC host 1 sends an instruction to make the tooling 4 control the relay to switch to the current mode, control the programmable load 3 to output the current value, and the PC host 1 sends instructions to the programmable load 3 and the board under test 5 to make the two read the current value, and compare the read values of the two. If the comparison difference is within the accuracy range, the test is passed. Pass; when performing the resistance test mode, the PC host 1 sends an instruction to notify the tool 4 to control the relay to switch to the resistance mode, the PC host 1 sends an instruction to read the resistance value to the board under test 5, and then compares the resistance value read by the board under test 5 with the actual resistance value of the tool 4. If the comparison difference is within the accuracy range, the test passes; in addition, there is also a diode voltage reading mode, the PC host 1 sends an instruction to control the tool 4 to control the relay to switch to the voltage mode, the PC host 1 sends an instruction to the board under test 5 to read the diode voltage value, and then compares the read value with the actual diode voltage value of the tool 4. If the comparison difference is within the accuracy range, the test passes.
[0053] In this embodiment, the voltage calibration coefficient, resistance calibration coefficient and current calibration coefficient generated in the calibration step are uploaded to a preset server, and the test result of the board under test 5 in the test step is uploaded to the server. Therefore, after completing the above-mentioned various calibration and test steps, the coefficients involved in the calibration and the test structure of the board under test are uploaded to the server for data storage.
[0054] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions or improvements made within the technical scope of the present invention should be included in the scope of protection of the present invention.
Claims
1. A multimeter motherboard automatic calibration test method, It is characterized in that The method is implemented based on a PC host, a programmable power supply, a programmable load and a tooling, and the method includes: Calibration step: the PC host controls the programmable power supply to output a preset voltage to the tooling, and then controls the programmable power supply and the board under test to read a current voltage value from the tooling, the PC host compares the voltage values read by the programmable power supply and the board under test, generates a voltage calibration coefficient and writes it into the board under test; The PC host collects the resistance value read by the board under test from the tooling and compares it with the actual resistance of the tooling, generates a resistance calibration coefficient and writes it into the board under test; The PC host controls the programmable load to output a preset current to the tooling, and then controls the programmable load and the board under test to read a current current value from the tooling, and the PC host compares the current values read by the programmable load and the board under test, generates a current calibration coefficient, and writes it into the board under test; Test steps: The PC host controls the board under test to measure a preset reference voltage, the actual resistance of the tooling, and a preset reference current, and compares and determines whether the voltage value, resistance value, and current value measured by the board under test exceed a preset accuracy range. If not, the test passes.
2. The multimeter mainboard automatic calibration test method as claimed in claim 1, It is characterized in that Including initialization steps: The programmable power supply and the programmable load are connected between the PC host and the tooling, and the PC host and the tooling are respectively connected to the board under test.
3. The multimeter mainboard automatic calibration test method as claimed in claim 1, It is characterized in that The calibration steps include: Step S10, the PC host sends an automatic calibration instruction to the board under test; Step S11, when the PC host receives the calibration completion instruction fed back by the board under test, it switches to the voltage calibration mode, and controls the programmable power supply to output a preset voltage to the tooling by issuing SCPI instructions; Step S12, the PC host sends a voltage reading instruction to the programmable power supply and the board under test respectively, and the programmable power supply and the board under test read the current voltage value from the tooling according to the voltage reading instruction; In step S13, the programmable power supply and the board under test feed back the voltage values they read to the PC host and compare them, and generate a voltage calibration coefficient according to the comparison result.
4. The multimeter mainboard automatic calibration test method as claimed in claim 3, It is characterized in that The calibration steps include: Step S14, the PC host sends a resistance test instruction to the board under test, and controls the board under test to read a resistance value from the tooling; In step S15, the PC host compares the resistance value fed back by the tested board with the actual resistance value of the tooling itself, and generates a resistance calibration coefficient according to the comparison result.
5. The multimeter mainboard automatic calibration test method as claimed in claim 4, It is characterized in that The calibration steps include: Step S16, the PC host switches to a current calibration mode, and controls the programmable load to output a current of a preset value by issuing SCPI instructions; Step S17, the PC host sends a current reading instruction to the programmable load and the board under test respectively, and the programmable load and the board under test simultaneously read the current current value from the tooling; In step S18, the programmable load and the board under test feed back the current values they read to the PC host for comparison, and generate a current calibration coefficient according to the comparison result.
6. The multimeter mainboard automatic calibration test method as claimed in claim 5, It is characterized in that In step S11, the PC host controls the voltage value of the programmable power supply output to be 100mV; In the step S16, in the current calibration mode, the programmable load is controlled to output currents of 1A and 100mA respectively to calibrate the board under test.
7. The multimeter mainboard automatic calibration test method as claimed in claim 1, It is characterized in that The testing steps include: Step S20, the PC host controls the tooling to switch to a voltage test mode, and the PC host controls the programmable power supply to output a reference voltage to the tooling; In step S21, the PC host controls the programmable power supply and the board under test to read the voltage value from the tooling, and compares the voltage values read by the programmable power supply and the board under test. If the difference between the two does not exceed a preset difference range, the voltage test passes.
8. The multimeter mainboard automatic calibration test method as claimed in claim 7, It is characterized in that The testing steps include: Step S22, the PC host controls the tooling to switch to a resistance test mode; In step S23, the PC host controls the board under test to read the resistance value from the tooling, and compares the resistance value read by the board under test with the actual resistance value of the tooling. If the difference between the two does not exceed a preset difference range, the resistance test passes.
9. The multimeter mainboard automatic calibration test method as claimed in claim 8, It is characterized in that The testing steps include: Step S24, the PC host controls the tooling to switch to a current test mode, and the PC host controls the programmable load to output a reference current to the tooling; Step S25, the PC host controls the programmable load and the board under test to read the current value from the tooling, and compares the current value read by the programmable load and the board under test. If the difference between the two does not exceed a preset difference range, the current test passes.
10. The multimeter mainboard automatic calibration test method as claimed in claim 1, It is characterized in that The voltage calibration coefficient, resistance calibration coefficient and current calibration coefficient generated in the calibration step are uploaded to a preset server, and the test result of the board under test in the test step is uploaded to the server.
