CN111537862B - PCBA test method and system - Google Patents
PCBA test method and system Download PDFInfo
- Publication number
- CN111537862B CN111537862B CN202010315410.0A CN202010315410A CN111537862B CN 111537862 B CN111537862 B CN 111537862B CN 202010315410 A CN202010315410 A CN 202010315410A CN 111537862 B CN111537862 B CN 111537862B
- Authority
- CN
- China
- Prior art keywords
- pcba
- test
- tested
- testing
- starting
- 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.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/28—Testing of electronic circuits, e.g. by signal tracer
- G01R31/2801—Testing of printed circuits, backplanes, motherboards, hybrid circuits or carriers for multichip packages [MCP]
- G01R31/2803—Testing of printed circuits, backplanes, motherboards, hybrid circuits or carriers for multichip packages [MCP] by means of functional tests, e.g. logic-circuit-simulation or algorithms therefor
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/28—Testing of electronic circuits, e.g. by signal tracer
- G01R31/2801—Testing of printed circuits, backplanes, motherboards, hybrid circuits or carriers for multichip packages [MCP]
- G01R31/281—Specific types of tests or tests for a specific type of fault, e.g. thermal mapping, shorts testing
- G01R31/2815—Functional tests, e.g. boundary scans, using the normal I/O contacts
Abstract
The invention provides a PCBA test method, which is applied to a PCBA test system, wherein the PCBA test system comprises a PCBA board to be tested and a test terminal, test software is arranged in the test terminal, a starting system is arranged in the PCBA board to be tested, the starting system is used for starting the PCBA board to be tested, a function test code is arranged in the starting system, and the function test code is used for storing a testable item list of the PCBA board to be tested; the PCBA test method comprises the following steps: step S1, starting test software in a test terminal; step S2, starting a starting system; s3, the testing software controls the testing terminal to establish communication connection with the PCBA to be tested; s4, the test software acquires a function test code from the PCBA to be tested; and S5, testing the PCBA to be tested by the testing software according to the testing items listed in the testing item list. The invention has the beneficial effects that: the test time of the PCBA to be tested is shortened.
Description
Technical Field
The invention relates to the technical field of testing, in particular to a PCBA testing method and a PCBA testing system.
Background
The PCBA (Printed Circuit Board Assembly) needs to be assembled into a complete machine after being subjected to SMT (Surface Mounted Technology) mounting, and therefore the PCBA Board needs to be tested, i.e. the PCBA test is performed, after SMT mounting and before Assembly into the complete machine.
The PCBA testing stage is the most critical quality control link in the whole processing procedure of the PCBA, namely the PCBA testing stage determines the final use performance of the PCBA. And the PCBA test stage is the product test stage of the machining process of the PCBA board, so that the PCBA test can effectively control the quality of the electronic machining process and improve the shipment quality of products.
However, in the prior art, the function test of the PCBA board for the communication device is usually completed based on a complete system, but the communication device is generally time-consuming when starting the system. In the prior art, a U-Boot (Universal Boot Loader, used for a Boot Loader of an embedded system) is usually started to start a system, and then a file system is started.
Disclosure of Invention
In view of the above problems in the prior art, a PCBA test method and system for shortening the test time of a PCBA board to be tested are provided.
The specific technical scheme is as follows:
a PCBA test method is applied to a PCBA test system, wherein the PCBA test system comprises a PCBA board to be tested and a test terminal, test software is arranged in the test terminal, a starting system is arranged in the PCBA board to be tested, the starting system is used for starting the PCBA board to be tested, a function test code is arranged in the starting system, and the function test code is used for storing a testable item list of the PCBA board to be tested;
the PCBA test method comprises the following steps:
step S1, starting test software in a test terminal;
s2, starting a starting system;
s3, the testing software controls the testing terminal to establish communication connection with the PCBA to be tested;
s4, the test software acquires a function test code from the PCBA to be tested;
and S5, testing the PCBA to be tested by the testing software according to the testing items listed in the testing item list.
Preferably, the PCBA test method, wherein the start-up system is provided with a preset private communication unit, and the private communication unit is started up during the start-up process of the start-up system;
the step S2 specifically includes:
step S21, the test software sends a broadcast signal to acquire a communication address corresponding to the PCBA to be tested according to the response of the private communication unit;
and S22, the testing software establishes communication connection with the PCBA to be tested according to the communication address.
Preferably, the PCBA testing method, wherein the testing software establishes a communication connection with the private communication unit via the UDP protocol.
Preferably, the PCBA test method is characterized in that the test terminal is connected with the PCBA to be tested through the Ethernet.
Preferably, the PCBA test method, wherein the communication address is an IP address.
Preferably, the PCBA test method, wherein the step S3 specifically includes:
step S31, the testing software sends a request for testing the item list to the private communication unit;
in step S32, the private communication unit sends the function test code in the boot system to the test software.
Preferably, the PCBA test method, wherein the request for the list of test items is sent 8 via UDP messages, the PCBA test method of claim 1, wherein the test terminal is a PC.
Preferably, the PCBA test method further includes the step S5 being followed by
And S6, the PCBA to be tested sends the test result back to the test terminal.
Preferably, the PCBA test method is characterized in that the starting system is a U-Boot system.
The technical scheme has the following advantages or beneficial effects:
the function test code is placed in the starting system, the PCBA to be tested can be tested in the starting process of the starting system, the test software is arranged in the test terminal to control the test terminal to establish communication connection with the PCBA to be tested to obtain the function test code, the PCBA to be tested is tested according to the test items listed in the test item list stored in the function test code in the starting process of the starting system, the PCBA to be tested is tested, the test of the PCBA to be tested is completed when the starting system in the PCBA to be tested is started, the time for obtaining the function test code is shortened, and the test efficiency of the PCBA to be tested is improved.
Drawings
Embodiments of the present invention will now be described more fully hereinafter with reference to the accompanying drawings. The drawings, however, are for illustration and description only and are not to be construed as limiting the scope of the invention.
FIG. 1 is a functional block diagram of an embodiment of a PCBA test system of the present invention;
FIG. 2 is a flow chart of an embodiment of a PCBA test method in accordance with the present invention;
FIG. 3 is a flow chart of step S2 of the PCBA test method of the present invention;
fig. 4 is a flowchart of step S3 of the PCBA testing method according to the embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the embodiments and features of the embodiments may be combined with each other without conflict.
The invention is further described with reference to the following drawings and specific examples, which are not intended to be limiting.
The invention includes a PCBA test method, wherein, apply to PCBA test system 1, as shown in figure 1, PCBA test system 1 includes PCBA board 2 and a test terminal 3 to be tested, there is a test software 5 in the test terminal 3, there is a start-up system 4 in the PCBA board 2 to be tested, the start-up system 4 is used for starting the PCBA board 2 to be tested, set up a function test code 6 in the start-up system 4, the function test code 6 is used for storing the testable project tabulation of the PCBA board 2 to be tested;
as shown in fig. 2, the PCBA test method includes the steps of:
step S1, starting a test software 5 in a test terminal 3;
step S2, starting a starting system 4;
s3, the test software 5 controls the test terminal 3 to establish communication connection with the PCBA board to be tested 2;
s4, the testing software 5 acquires a function testing code 6 from the PCBA board to be tested 2;
and S5, testing the PCBA board 2 to be tested by the testing software 5 according to the testing items listed in the testing item list.
In the above embodiment, the function test code 6 of the PCBA board to be tested 2 is placed in the start system 4, so that the PCBA board to be tested 2 can be tested in the start process of the start system 4, the test software 5 is set in the test terminal 3 to control the test terminal 3 to establish a communication connection with the PCBA board to be tested 2, then the test software 5 obtains the function test code 6 from the PCBA board to be tested 2 in the start process of the start system 4 of the PCBA board to be tested 2, and finally the test software 5 tests the PCBA board to be tested 2 according to the test items listed in the test item list stored in the function test code 6 in the start process of the start system 4, so that the test on the PCBA board to be tested 2 is completed when the start system 4 in the PCBA board to be tested 2 is started, thereby shortening the time required for obtaining the function test code 6 and improving the test efficiency of the PCBA board to be tested 2.
The PCBA test method of the embodiment is applied to the communication equipment, and the starting time of the starting system 4 of the communication equipment is short, so that the obtaining time of the function test codes 6 is shortened, and the test completion time of the PCBA board 2 to be tested is shortened.
In the above embodiment, the PCBA board 2 to be tested is started by electrifying the PCBA board 2 to be tested, that is, the starting system 4 in the PCBA board 2 to be tested is started by electrifying, so as to obtain the functional test code 6 in the starting system 4, thereby realizing that the test software 5 of the test terminal 3 completes the test on the PCBA board 2 to be tested in the starting process of the PCBA board 2 to be tested.
Further, in the above embodiment, the starting system 4 is provided with a preset private communication unit 7, and the private communication unit 7 is started in the starting process of the starting system 4;
as shown in fig. 3, step S2 specifically includes:
step S21, the testing software 5 sends a broadcast signal to acquire a communication address corresponding to the PCBA board to be tested 2 according to the response of the private communication unit 7;
and S22, the testing software 5 establishes communication connection with the PCBA board to be tested 2 according to the communication address.
Further, in the above-described embodiment, the test software 5 establishes a communication connection with the private communication unit 7 by the UDP protocol.
In the above-described embodiment, the broadcast signal may be a UDP broadcast packet, and the test software 5 acquires the communication address corresponding to the PCBA board to be tested 2 by receiving the reply of the private communication unit 7 to the broadcast signal.
Further, in the above embodiment, the test terminal 3 may be connected to the PCBA board to be tested 2 through the ethernet. Of course, the connection may also be performed through a wireless lan under the condition that the hardware condition permits, for example, when the PCBA board to be tested is integrated with a wireless network card, in this case, the drive of the wireless network card may be integrated into the starting system, and the wireless network card is started in the starting process of the starting system.
Further, in the above-described embodiment, the communication address is an IP address.
Further, in the above embodiment, as shown in fig. 4, step S3 specifically includes:
step S31, the testing software 5 sends a request for a testing item list to the private communication unit 7;
in step S32, the private communication unit 7 sends the function test code 6 in the boot system 4 to the test software 5.
Further, in the above embodiment, the request for the list of test items is sent via UDP messaging.
In the above embodiment, the testing software 5 of the testing terminal 3 sends the UDP message containing the request (the request for testing the item list) to the private communication unit 7 in the starting system 4 of the PCBA board 2 to be tested, and the private communication unit 7 parses the UDP message to obtain the corresponding request and then sends the function testing code 6 to the testing software 5;
in the above embodiment, the PCBA board to be tested 2 is provided with a storage unit, the storage unit is used for storing the start system 4, and when the PCBA board to be tested 2 is in communication connection with the test terminal 3, the test software 5 obtains the function test code 6 in the start system 4.
Further, in the above embodiment, the test terminal 3 is a PC.
In the above embodiment, the list of testable items acquired by the test software 5 may be displayed on the test terminal 3.
Further, in the above embodiment, as shown in fig. 2, after step S5, the method further includes:
and S6, the PCBA board to be tested 2 sends the test result back to the test terminal 3.
In the above embodiment, the test terminal 3 may provide a display device, and the test software 5 may display the test result on the display device.
Further, in the above embodiment, the Boot system 4 is a U-Boot system.
It should be noted that the U-Boot system is a Bootloader (Boot loader) commonly used in an embedded system, and the Bootloader is a small piece of program executed before an operating system runs. By integrating the function test code and the private communication unit in the U-Boot system, the action of establishing communication between the side and the test terminal 3 and starting to test the PCBA version according to the test item list can be completed before the operating system of the PCBA is started.
While the invention has been described with reference to a preferred embodiment, it will be understood by those skilled in the art that various changes in form and detail may be made therein without departing from the spirit and scope of the invention.
Claims (10)
1. A PCBA test method is characterized in that the PCBA test method is applied to a PCBA test system, the PCBA test system comprises a PCBA board to be tested and a test terminal, test software is arranged in the test terminal, a starting system is arranged in the PCBA board to be tested, the starting system is used for starting the PCBA board to be tested, a function test code is arranged in the starting system, and the function test code is used for storing a testable item list of the PCBA board to be tested;
the PCBA test method comprises the following steps:
step S1, starting the test software in the test terminal;
step S2, starting the starting system;
s3, the testing software controls the testing terminal to establish communication connection with the PCBA to be tested;
s4, the testing software acquires the function testing code from the PCBA to be tested;
s5, the testing software tests the PCBA to be tested according to the testing items listed in the testing item list;
the starting system is a Bootloader before an operating system is started, a private communication unit is integrated in the starting system, and the private communication unit is used for establishing communication with the test terminal and starting testing;
the PCBA board is provided with a storage unit, and the storage unit stores the function test code;
in the process that the starting system starts the PCBA, the test software acquires the function test codes in the storage unit through the starting system, and tests the PCBA in the starting system so as to finish testing the PCBA after the starting system is started.
2. The PCBA test method of claim 1, wherein a preset private communication unit is provided in the start-up system, the private communication unit being started up during the start-up of the start-up system;
the step S2 specifically includes:
step S21, the testing software sends a broadcast signal to acquire a communication address corresponding to the PCBA to be tested according to the response of the private communication unit;
and S22, the testing software establishes communication connection with the PCBA to be tested according to the communication address.
3. A PCBA test method as claimed in claim 2, wherein the test software establishes a communication connection with the private communication unit via a UDP protocol.
4. A PCBA test method as claimed in claim 2, wherein the test terminal is connected to the PCBA board to be tested via ethernet.
5. The PCBA test method of claim 2, wherein the communication address is an IP address.
6. The PCBA test method of claim 2, wherein the step S3 specifically comprises:
step S31, the testing software sends a request for a testing item list to the private communication unit;
step S32, the private communication unit sends the function test code in the starting system to the test software.
7. The PCBA testing method of claim 6, wherein the request for the list of test items is sent via a UDP message.
8. The PCBA testing method of claim 1, wherein the test terminal is a PC.
9. The PCBA testing method of claim 1, further comprising, after step S5:
and S6, the PCBA to be tested sends the test result back to the test terminal.
10. The PCBA test method as recited in claim 1, wherein the Boot system is a U-Boot system.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010315410.0A CN111537862B (en) | 2020-04-21 | 2020-04-21 | PCBA test method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010315410.0A CN111537862B (en) | 2020-04-21 | 2020-04-21 | PCBA test method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111537862A CN111537862A (en) | 2020-08-14 |
CN111537862B true CN111537862B (en) | 2023-03-31 |
Family
ID=71979131
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010315410.0A Active CN111537862B (en) | 2020-04-21 | 2020-04-21 | PCBA test method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111537862B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112965867B (en) * | 2021-03-08 | 2022-05-31 | 深圳市卓联纳科技有限公司 | Hardware test platform capable of being written into software quickly |
CN112986804B (en) * | 2021-04-28 | 2021-09-07 | 成都万创科技股份有限公司 | Software implementation method for testing PCBA (printed Circuit Board Assembly) in mass production process based on Android equipment |
Family Cites Families (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH1172537A (en) * | 1997-08-28 | 1999-03-16 | Hioki Ee Corp | Method for preparing index library for circuit board inspection |
CN101324860B (en) * | 2007-06-14 | 2013-08-28 | 鸿富锦精密工业(深圳)有限公司 | Mainboard test system and test method |
JP2009238071A (en) * | 2008-03-28 | 2009-10-15 | Ricoh Co Ltd | Built-in system |
CN102590730A (en) * | 2012-01-16 | 2012-07-18 | 中冶南方(武汉)自动化有限公司 | Modularized open PCBA (Printed Circuit Board Assembly) functional circuit test platform, system and method |
CN103336241B (en) * | 2013-06-25 | 2016-01-13 | 福州瑞芯微电子股份有限公司 | A kind of method and system thereof of testing Modem module on embedded PCB A |
US10168383B2 (en) * | 2017-05-12 | 2019-01-01 | International Business Machines Corporation | Testing printed circuit board assembly |
CN107390110A (en) * | 2017-06-20 | 2017-11-24 | 广东科学技术职业学院 | A kind of method, apparatus and system tested automatically PCBA |
CN107422248A (en) * | 2017-08-15 | 2017-12-01 | 深圳市奥高德科技有限公司 | A kind of pcb board high-voltage testing device and method of testing |
CN108037444B (en) * | 2017-12-29 | 2023-12-15 | 广州市中海达测绘仪器有限公司 | GNSS PCBA automatic test system and application method thereof |
CN110233768B (en) * | 2018-03-05 | 2022-02-25 | 博泰车联网科技(上海)股份有限公司 | UDS-based CAN bus test system and CAN bus test method |
CN110149241B (en) * | 2019-04-09 | 2021-08-24 | 广州市高科通信技术股份有限公司 | Automatic testing method based on IMS equipment and storage medium |
CN110456259B (en) * | 2019-08-19 | 2021-12-03 | 深圳坚朗海贝斯智能科技有限公司 | PCBA single board test method and test system |
CN110596569A (en) * | 2019-08-20 | 2019-12-20 | 福州瑞芯微电子股份有限公司 | PCBA board testing method and device |
-
2020
- 2020-04-21 CN CN202010315410.0A patent/CN111537862B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN111537862A (en) | 2020-08-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111537862B (en) | PCBA test method and system | |
CN113498594A (en) | Control method and device of intelligent household system, electronic equipment and storage medium | |
CN115061885A (en) | Complete machine aging automatic test method and device, electronic equipment and storage medium | |
CN114968313B (en) | Vehicle-mounted terminal offline configuration method, system, storage medium and equipment | |
US20040033814A1 (en) | Collection of internal information of a mobile communication terminal by an external module | |
WO2016061936A1 (en) | Single-board test method and device, storage medium | |
CN113434255A (en) | Virtual equipment creating method and device | |
CN113434422A (en) | Virtual device debugging method and device and virtual device debugging system | |
CN111782507B (en) | Data testing method and device, storage medium and electronic equipment | |
CN111181790B (en) | Method, device, equipment and storage medium for quickly generating automatic test script | |
CN111159048A (en) | Application program testing method and device and computer readable storage medium | |
CN103139036B (en) | Electronic equipment and information processing method thereof | |
CN109976773B (en) | Deployment method and device of game testing environment | |
CN109600781B (en) | WiFi module test system and method | |
CN114490746B (en) | Equipment testing method and device, equipment to be tested and storage medium | |
CN104426711A (en) | Test control system and method | |
CN109218055A (en) | A kind of method and apparatus that rapid configuration network element device carries out plug and play | |
CN112559289A (en) | Monitoring system | |
CN112492061A (en) | IP address modification method, device and equipment of BMC (baseboard management controller) and readable storage medium | |
CN113489848B (en) | Terminal equipment testing method and device, electronic equipment and storage medium | |
CN114553753B (en) | Method, device and system for adjusting and measuring communication module with serial communication interface | |
CN113300886B (en) | Distributed digital control system and communication processing method and device thereof | |
CN114338656B (en) | Method and system for rapidly upgrading firmware of electric energy meter and readable storage medium | |
CN115967455A (en) | Radio frequency channel debugging method and device, terminal equipment and storable medium | |
CN111858300B (en) | Automatic testing method, device and system for embedded equipment and storage medium |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |