CN114428208A - Automatic hardware measuring tool - Google Patents

Automatic hardware measuring tool Download PDF

Info

Publication number
CN114428208A
CN114428208A CN202210083098.6A CN202210083098A CN114428208A CN 114428208 A CN114428208 A CN 114428208A CN 202210083098 A CN202210083098 A CN 202210083098A CN 114428208 A CN114428208 A CN 114428208A
Authority
CN
China
Prior art keywords
test
module
function
logic control
control panel
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
CN202210083098.6A
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.)
Shandong Fengshi Information Technology Co ltd
Original Assignee
Shandong Fengshi Information Technology 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 Shandong Fengshi Information Technology Co ltd filed Critical Shandong Fengshi Information Technology Co ltd
Priority to CN202210083098.6A priority Critical patent/CN114428208A/en
Publication of CN114428208A publication Critical patent/CN114428208A/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
    • G01R31/28Testing of electronic circuits, e.g. by signal tracer
    • G01R31/317Testing of digital circuits
    • G01R31/3177Testing of logic operation, e.g. by logic analysers

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Tests Of Electronic Circuits (AREA)

Abstract

The invention relates to a hardware automatic measurement tool, which comprises a tool clamp, a circuit switching control panel and a function and logic control panel, wherein the tool clamp comprises a test probe, a target test board and a connecting wire harness; the circuit switching control panel comprises a singlechip, an analog switch and input and output plug socket wiring terminals; the function and logic control panel comprises a single chip microcomputer, a plug socket, a voltage detection module, a current detection module, a resistance detection module, an SD card, a current and voltage output module, an SWD interface module, a communication interface module, a report output module and a display screen. The test tool can realize the integrated functions of hardware test, program downloading, hardware function test and test report output, greatly improves the production efficiency and reduces the error rate.

Description

Automatic hardware measuring tool
Technical Field
The invention relates to a hardware testing device, in particular to a hardware automatic measuring tool.
Background
At present, along with the development of science and technology, various hardware products appear on the market, the demand is particularly large, but the quality control in the production process of the hardware products is very important, so a hardware manufacturer can perform detailed hardware test on the hardware products before the hardware products leave a factory, the test on the hardware is mainly focused on the following aspects, firstly, the power supply test before the hardware is electrified, whether the power supply is in a short circuit test is mainly performed, then, the programming of a hardware circuit board program is performed, the function test is performed on the hardware circuit board after the programming is completed, and the current of the hardware circuit board is required to be tested for the low-power-consumption products. Generally, a hardware manufacturer performs manual testing according to one function after welding a hardware circuit board, and judges whether the product function is qualified manually, so that the efficiency is very low and the hardware manufacturer is not beneficial to mass production; manual testing also increases the error rate and may introduce undesirable products into the market, causing losses to the company. Therefore, the prior art needs to be improved, and a manual testing scheme is changed into a hardware automatic testing scheme, so that the production efficiency can be greatly improved, and the error probability can be reduced.
Disclosure of Invention
The invention aims to overcome the defects of the prior art and provide a hardware automatic measurement tool, which improves the production efficiency and reduces the error rate.
The technical scheme adopted by the invention is as follows:
a hardware automation measurement tool comprises a tool clamp, a circuit switching control panel and a function and logic control panel, wherein the tool clamp comprises a test probe, a target test panel and a connecting wire harness, one side of the tool clamp is connected with a terminal seat and a test point of the target test panel by the test probe, and the other side of the tool clamp is connected with an output socket wiring terminal of the circuit switching control panel by the connecting wire harness; the circuit switching control panel comprises a single chip microcomputer, an analog switch and input and output socket connecting terminals, the single chip microcomputer is used for communicating with the function and logic control panel and switching the connection of the input and output socket connecting terminals according to the instructions of the function and logic control panel; the function and logic control panel comprises a single chip microcomputer, a plug socket, a voltage detection module, a current detection module, a resistance detection module, an SD card, a current and voltage output module, a network port module, a Bluetooth module, an SWD interface module, a communication interface module, a report output module and a display screen.
The functional and logical control board is internally provided with a luato virtual machine, a logical control program can be put into the memory card, the luato virtual machine automatically reads a script program in the SD card after being electrified, and functional test and report output are completed according to the script program. The SD card is mainly used for storing script files written by the lua language, storing program files of the equipment to be tested and exporting test reports.
The current and voltage output module is mainly used for testing the AD detection function of the equipment; the current detection module is used for measuring current statistics in a normal working mode and a low power consumption mode; the resistance detection module is used for detecting the board card before the equipment to be detected is electrified; the voltage detection module is used for detecting the power supply voltage after the circuit board is electrified, and prevents the equipment to be detected from being damaged due to abnormal voltage.
The network port module is mainly used for connecting a server and uploading a test report to the server; the Bluetooth module can be used as a host to connect the Bluetooth of the test equipment to test the Bluetooth function of the equipment to be tested, and can also be used as a slave to connect the mobile phone APP client to output test information.
The communication interface module is used for realizing communication between the function and logic control panel and the equipment to be tested and the circuit switching control panel, and comprises RS232, RS485 and TTL interfaces, and 3 different interfaces are integrated to facilitate the adaptation of the communication interfaces of different equipment to be tested. The SWD interface module is used for downloading the program of the equipment to be tested. The display screen is used for displaying necessary state information in the testing process, so that a tester can find problems in the testing process more conveniently and quickly. The report output module is used for outputting a PDF test report of the test result and enabling the test result to be more authentic by utilizing the characteristic that the PDF is not changeable.
The target test board comprises a single chip microcomputer, a terminal seat, a test point, a clock test module, a storage test module, a wakeup test module, a Bluetooth test module, an analog quantity test module, a digital quantity input test module, a 4G networking test module and an RS485 interface.
The test tool can realize the integrated functions of hardware test, program downloading, hardware function test and test report output. Aiming at the problems of low production efficiency and high error rate in the prior art, the production efficiency is greatly improved, and the error rate is reduced.
Drawings
FIG. 1 is a block diagram of the present invention.
Detailed Description
The following is a further description with reference to specific examples.
Example 1
As shown in fig. 1, a hardware automation measurement tool comprises a tool clamp, a circuit switching control panel, and a function and logic control panel, wherein the tool clamp comprises a test probe, a target test board, and a connection harness, one side of the tool clamp is connected with a terminal seat and a test point of the target test board by using the test probe, and the other side of the tool clamp is connected with an output socket terminal of the circuit switching control panel by the connection harness; the circuit switching control panel comprises a single chip microcomputer, an analog switch and input and output socket connecting terminals, the single chip microcomputer is used for communicating with the function and logic control panel and switching the connection of the input and output socket connecting terminals according to the instructions of the function and logic control panel; the function and logic control panel comprises a single chip microcomputer, a plug socket, a voltage detection module, a current detection module, a resistance detection module, an SD card, a current and voltage output module, a network port module, a Bluetooth module, an SWD interface module, a communication interface module, a report output module and a display screen.
The function and logic control board mainly realizes the control of logic functions and completes the test of the hardware circuit board. The function and logic control board is specifically provided with an SD card, 0-10V voltage output, 4-20mA current output, a network port module, Bluetooth communication, direct current detection, alternating current detection, direct current voltage detection, alternating voltage detection, on-off detection, resistance detection, RS232, RS485 and TTL connection, SWD program downloading, PDF test report output, display screen display information and other functions, a Luato virtual machine is arranged in the function and logic control board, the logic control program can be placed in a memory card, the Luato virtual machine automatically reads a script program in the SD card after power-on, and function test and report output are completed according to the script program. The SD card in the function and logic control board is mainly used for storing script files written by lua language, storing program files of the equipment to be tested and exporting test reports.
The target test board comprises a singlechip, a terminal block, a test point, a clock test module, a storage test module, a wakeup test module, a Bluetooth test module, an analog quantity test module, a digital quantity input test module, a 4G networking test module and an RS485 interface.
The function of the hardware to be tested, which needs the test of the target test board, is as follows: whether the power has a short circuit or not, whether the power voltage output is normal or not, program programming, clock testing, Bluetooth testing, 4G networking testing, Digital Input (DI) testing, analog testing, storage testing, low-power consumption testing and low-power consumption awakening testing.
The working principle of the test fixture of the present invention is described below according to the test items of the target test board:
firstly, writing a script program by using lua language, then putting the script program and a program of a target test board into an appointed directory of an SD card, electrifying a function and logic control board and a circuit switching control board, and automatically testing all functions by the function and logic control board after electrification, and how to complete the testing work will be described step by step.
(1) Whether the power supply has a short circuit is tested, and the specific method comprises the following steps: the function and logic control board sends an instruction to the circuit switching control board through the TTL interface, the circuit switching control board switches the circuit after receiving the instruction, so that a power supply pin and a ground pin of the target test board are respectively connected with the resistance detection module interface of the function and logic control board, then the function and logic control board detects whether short circuit occurs or not, and the result is written into a test report of a PDF version. If the short circuit exists, the measurement work is directly finished, and the display screen displays an error state; no short circuit occurred for further testing.
(2) Whether the power supply voltage output is normal is tested, and the specific method comprises the following steps: the function and logic control board sends an instruction to the circuit switching control board, the circuit switching control board receives the instruction to switch circuits, a power supply pin and a ground pin of the target test board are respectively connected with the voltage measurement module interfaces of the function and logic control board, then the function and logic test board performs voltage detection, the voltage detection is compared with the voltage written in the script, and the test result is stored in PDF.
(3) Programming a test program for a target test board, which specifically comprises the following steps: the function and logic control board sends an instruction to the line switching control board, the line switching control board receives the instruction to switch the line, so that the SWD interface of the target test board is connected with the SWD interface of the function and logic control board, then program programming work is carried out, and the result is stored in PDF.
(4) And the function and logic control panel sends an instruction to the line switching control panel, and the line switching control panel receives the instruction to switch the line, so that the RS485 interface of the target test board is connected with the RS485 interface of the function and logic control panel.
(5) And testing the clock, wherein the function and logic control board sends an instruction to the target test board through the RS485 interface, the target test board performs read-write test on the clock according to the instruction, after the test is passed, the result is sent to the function and logic control board through the RS485 interface, the function and logic control board analyzes the result, and the result is written into PDF.
(6) The Bluetooth test, the concrete way is: the function and logic control board sends an instruction to the target test board through the RS485 interface, the target test board opens the Bluetooth, then the Bluetooth module on the function and logic test board is set as a Bluetooth module on a host mode connection target test board, data test is carried out, and a result is written into PDF.
(7)4G networking test, the specific method is as follows: and the function and logic control board sends an instruction to the target test board through the RS485 interface, the target test board is connected with the server according to the designated IP and returns the result to the function and logic control board, and the function and logic control board writes the result into PDF.
(8) Digital quantity input (DI) test, specifically do: the function and logic control board sends an instruction to the line switching control board, the line switching control board shorts the DI interface of the target test board according to the instruction, the function and logic control board sends an instruction through the RS485 interface to read the DI state of the target test board, the function and logic control board sends an instruction to the line switching control board, the line switching control board opens the DI interface of the target test board according to the instruction, at the moment, the function and logic control board sends an instruction through the RS485 interface to read the DI state of the target test board, and a test result is written into PDF.
(9) The analog quantity test comprises the following specific steps: the function and logic control board sends an instruction to the line switching control board, the line switching control board connects an analog quantity interface of the target test board with a current output interface of the function and logic control board according to the instruction, the function and logic control board outputs specified current, the function and logic control board sends the instruction to the target test board, the target test board returns collected current data to the function and logic control board, and the function and logic control board writes a test result into PDF.
(10) The storage test specifically comprises the following steps: the function and logic control board sends an instruction to the target test board, the target test board stores and reads data and returns a result to the function and logic control board, and the function and logic control board writes the test result into PDF.
(11) The low power consumption and wake-up test method comprises the following specific steps: the function and logic control board sends an instruction to the circuit switching control board, the circuit switching control board transmits a current detection interface of the function and logic control board to be connected in series with a power supply interface of the target test board according to the instruction, the function and logic control board detects the current of the target test board, then the function and logic control board sends the instruction to the target test board, the target test board enters a low power consumption mode, the function and logic control board detects the current of the target test board again, finally the function and logic control board sends the instruction to the circuit switching control board to control the short circuit of awakening pins of the target test board, so that the target test board is awakened, the function and logic control board sends the instruction to the target test board, the target test board returns the self state to the function and logic control board, and the function and logic control board writes the test result into PDF.
The present invention has been described in detail with reference to the embodiments, and it should be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the protection scope of the technical solutions of the embodiments of the present invention.

Claims (7)

1. A hardware automation measurement tool is characterized by comprising a tool clamp, a circuit switching control panel and a function and logic control panel, wherein the tool clamp comprises a test probe, a target test panel and a connecting wire harness, one side of the tool clamp is connected with a terminal seat and a test point of the target test panel by using the test probe, and the other side of the tool clamp is connected with an output plug socket wiring terminal of the circuit switching control panel through the connecting wire harness; the circuit switching control panel comprises a single chip microcomputer, an analog switch and input and output socket connecting terminals, the single chip microcomputer is used for communicating with the function and logic control panel and switching the connection of the input and output socket connecting terminals according to the instructions of the function and logic control panel; the function and logic control panel comprises a single chip microcomputer, a plug socket, a voltage detection module, a current detection module, a resistance detection module, an SD card, a current and voltage output module, an SWD interface module, a communication interface module, a report output module and a display screen.
2. The tool of claim 1, wherein a luato virtual machine is arranged in the functional and logic control board, the SD card is used for storing script files written in lua language and storing program files of devices to be tested, the luato virtual machine automatically reads script programs in the SD card after being powered on, and functional testing and report output are completed according to the script programs.
3. The automatic hardware measurement tool of claim 1, wherein the current and voltage output module is used for testing AD detection function of equipment; the current detection module is used for measuring current statistics in a normal working mode and a low power consumption mode; the resistance detection module is used for detecting the power-on front board card of the equipment to be detected; the voltage detection module is used for detecting the power supply voltage after the circuit board is electrified.
4. The tool of claim 1, wherein the communication interface module is used for communicating the function and logic control board with the device under test and the line switching control board, and comprises RS232, RS485 and TTL interfaces.
5. The tool of claim 1, wherein the SWD interface module is used for downloading a program of a device to be tested, and the report output module is used for outputting a test result PDF test report.
6. The tool of claim 1, wherein the function and logic control board further comprises a network interface module and a bluetooth module, wherein the network interface module is used for connecting a server and uploading a test report to the server; the Bluetooth module is used as a host to connect the Bluetooth of the test equipment to test the Bluetooth function of the equipment to be tested, and can also be used as a slave to connect a mobile phone APP client to output test information.
7. The tool of claim 1, wherein the target test board comprises a single chip, a terminal block, a test point, a clock test module, a memory test module, a wake-up test module, a bluetooth test module, an analog test module, a digital input test module, a 4G networking test module and an RS485 interface.
CN202210083098.6A 2022-01-25 2022-01-25 Automatic hardware measuring tool Pending CN114428208A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210083098.6A CN114428208A (en) 2022-01-25 2022-01-25 Automatic hardware measuring tool

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210083098.6A CN114428208A (en) 2022-01-25 2022-01-25 Automatic hardware measuring tool

Publications (1)

Publication Number Publication Date
CN114428208A true CN114428208A (en) 2022-05-03

Family

ID=81312989

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210083098.6A Pending CN114428208A (en) 2022-01-25 2022-01-25 Automatic hardware measuring tool

Country Status (1)

Country Link
CN (1) CN114428208A (en)

Similar Documents

Publication Publication Date Title
CN101398776A (en) Automatic powering-on/powering-off test device and method
CN115932540B (en) Multi-channel multifunctional chip testing machine and testing method
CN104502832A (en) Automatic tester and testing method based on hand-held POS machine mainboard
CN106526457A (en) Circuit board detection instrument and system
CN102331569B (en) Intelligent interactive detection apparatus for detection on electric energy meter
CN111831495A (en) Production automation test method and system
CN101738503B (en) Interface device and control method and aging test system thereof
CN111521223A (en) Automatic detection system and method
CN203522710U (en) Signal converter multifunctional detection apparatus
CN215219508U (en) A test fixture for machine controller
CN101315409A (en) Mobile phone circuit board testing method
CN112485750B (en) Communication module interface testing method and system for intelligent electric meter
CN113204456A (en) Test method, tool, device and equipment for VPP interface of server
CN217181141U (en) Automatic hardware measuring tool
CN210038541U (en) Function test system of motor controller PCBA board
CN111458592A (en) Automatic detection system for car lamp driving module
CN114428208A (en) Automatic hardware measuring tool
CN208110030U (en) A kind of communication test plate of ammeter communication module
CN208188289U (en) A kind of test macro of circuit power consumption
CN108038399B (en) Automatic detection device and detection method for reading and writing card of intelligent IC card gas meter
CN216209527U (en) GPIO interface state testing device
CN113985321B (en) Cable connection performance testing device and method with intelligent self-learning capability
CN104217767A (en) Nonvolatile memory testing device and test method thereof
CN113608514A (en) A test fixture for machine controller
CN209803310U (en) Convenient switch plug power simulation testing arrangement

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