CN111143150A - Method and system for testing PCBA (printed circuit board assembly), testing equipment and micro-control unit - Google Patents

Method and system for testing PCBA (printed circuit board assembly), testing equipment and micro-control unit Download PDF

Info

Publication number
CN111143150A
CN111143150A CN201911380015.4A CN201911380015A CN111143150A CN 111143150 A CN111143150 A CN 111143150A CN 201911380015 A CN201911380015 A CN 201911380015A CN 111143150 A CN111143150 A CN 111143150A
Authority
CN
China
Prior art keywords
test
pcba
control unit
pcba board
function
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
CN201911380015.4A
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.)
Rizhao Yuejiang Intelligent Technology Co.,Ltd.
Original Assignee
Shenzhen Yuejiang 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 Shenzhen Yuejiang Technology Co Ltd filed Critical Shenzhen Yuejiang Technology Co Ltd
Priority to CN201911380015.4A priority Critical patent/CN111143150A/en
Publication of CN111143150A publication Critical patent/CN111143150A/en
Priority to PCT/CN2020/137887 priority patent/WO2021129551A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/26Functional testing
    • G06F11/263Generation of test inputs, e.g. test vectors, patterns or sequences ; with adaptation of the tested hardware for testability with external testers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • G06F8/63Image based installation; Cloning; Build to order

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Tests Of Electronic Circuits (AREA)

Abstract

The invention relates to the technical field of electronics, and discloses a method and a system for testing a PCBA board, test equipment and a micro-control unit. The method comprises the following steps: reading a test configuration table of the PCBA; burning a test program to the PCBA board; sending a function test request to a micro control unit according to the test configuration table so that the micro control unit sends a function test starting instruction to the PCBA according to the function test request; and receiving a test result sent by the micro control unit, determining whether the PCBA is normal according to the test result, and if the PCBA is normal, carrying out formal program burning on the PCBA. Through the testing mode, manual intervention hardware can be reduced, and production quality is improved, so that labor cost is reduced, and user experience is improved.

Description

Method and system for testing PCBA (printed circuit board assembly), testing equipment and micro-control unit
Technical Field
The invention relates to the technical field of electronics, in particular to a method and a system for testing a PCBA board, test equipment and a micro-control unit.
Background
Along with the development of intelligent manufacturing technology and the popularization of intelligent products, users have higher and higher requirements on the performance stability of the intelligent products, and therefore intelligent product manufacturers pay more attention to the normal work of the intelligent products in daily life. In the production process of intelligent products, the PCBA is a very important component of the intelligent products, is a support body of electronic components of the intelligent products, and is a provider of circuit connection of the electronic components. Therefore, before the PCBA board is installed on the intelligent product, the PCBA board can be normally used, and the user can not reduce the user experience due to the PCBA board abnormity when using the intelligent product.
The traditional PCBA board testing method usually needs to install the PCBA board on a whole machine, then tests one by one according to function items manually, if the function items are found to be abnormal in the testing process, the PCBA board needs to be detached for maintenance, and then the PCBA board is installed on the whole machine for testing. The testing method needs to consume a large amount of labor cost, judges whether the function items are normal or not through manpower, is easy to cause inaccurate judgment, easily causes the hardware damage of the PCBA board in the repeated dismounting process, and reduces the production quality.
Disclosure of Invention
Therefore, it is necessary to provide a method and a system for testing a PCBA board, a testing device, and a micro control unit for solving the above technical problems, and by using such a testing method, the manual intervention hardware can be reduced, and the production quality can be improved, so that the labor cost can be reduced, and the user experience can be improved, and the technical scheme is as follows:
in a first aspect, an embodiment of the present invention provides a method for testing a PCBA board, which is applied to a test device, and the method includes:
reading a test configuration table of the PCBA;
burning a test program to the PCBA board;
sending a function test request to a micro control unit according to the test configuration table so that the micro control unit sends a function test starting instruction to the PCBA according to the function test request;
and receiving a test result sent by the micro control unit, determining whether the PCBA is normal according to the test result, and if the PCBA is normal, performing formal program burning on the PCBA.
In some other embodiments, before the reading the test configuration table of the PCBA board, the method further comprises:
receiving a voltage test result of the PCBA board sent by a micro-control unit;
and sending serial port test information to the PCBA according to the voltage test result so as to confirm whether the serial port is normal or not according to feedback information of the PCBA on the serial port test information.
In some other embodiments, the reading the test configuration table of the PCBA board includes:
and acquiring configuration data of the PCBA by identifying the bar code on the PCBA, and integrating the configuration data of the PCBA into the test configuration table.
In some other embodiments, the sending a functional test request to a micro control unit according to the test configuration table, so that the micro control unit sends a functional test starting instruction to the PCBA board according to the functional test request includes:
selecting a function option to be tested according to the test configuration table, and generating a corresponding function test request according to the function option;
and sending the function test request to a micro control unit so that the micro control unit tests the corresponding function of the PCBA board according to the function test request.
In a second aspect, an embodiment of the present invention further provides a method for testing a PCBA board, which is applied to a control unit, and the method includes:
receiving a function test request sent by test equipment, and sending a function test starting instruction to the PCBA board according to the function test request;
sending a request for obtaining a test result to the PCBA at intervals of preset time;
and receiving a test result of the PCBA, and sending the test result to the test equipment.
In some other embodiments, before receiving the functional test request sent by the test device, the method further includes:
and providing voltage for the PCBA board so as to enable the PCBA board to carry out voltage test, receiving a voltage test result of the PCBA board, and sending the voltage test result to the test equipment so as to enable the test equipment to test the serial port of the PCBA board.
In a third aspect, an embodiment of the present invention further provides a testing apparatus, including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the above-described method applied to testing of the PCBA board of a device.
In a fourth aspect, an embodiment of the present invention further provides a micro control unit, including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the above-described method applied to the test PCBA board of a micro-control unit.
In a fifth aspect, an embodiment of the present invention further provides a system for testing a PCBA board, where the system for testing a PCBA board includes the above-mentioned test equipment and a micro control unit.
In a sixth aspect, an embodiment of the present invention further provides a non-transitory computer-readable storage medium, where the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a testing device, the testing device is caused to execute the above method applied to testing a PCBA board of the testing device.
Compared with the prior art, the invention has the beneficial effects that: the method and system for testing the PCBA board, the testing device and the micro-control unit are different from the prior art. The testing equipment burns a testing program into the PCBA by reading a testing configuration table of the PCBA, tests a function item according to the read testing configuration table, sends a function testing request of the function item to the micro control unit, and the micro control unit sends a function testing starting instruction to the PCBA after receiving the function testing request, so that the PCBA opens a testing function and performs corresponding function testing according to the function testing instruction. And after obtaining the test result, the micro control unit sends the test result to test equipment, the test equipment judges whether the PCBA board is normal or not according to the test result, and if the PCBA board is normal, the program burning is carried out on the PCBA board. Through the testing mode, manual intervention hardware can be reduced, and production quality is improved, so that labor cost is reduced, and user experience is improved.
Drawings
One or more embodiments are illustrated by way of example in the accompanying drawings, which correspond to the figures in which like reference numerals refer to similar elements and which are not to scale unless otherwise specified.
FIG. 1 is a diagram of an application scenario of the method of testing a PCBA board according to the present invention;
FIG. 2 is a flow chart of an embodiment of the method of the present invention applied to test PCBA boards of a test apparatus;
FIG. 3 is a flow chart of voltage and serial port testing in an embodiment of the method of testing PCBA boards as applied to a test apparatus of the present invention;
FIG. 4 is a flow chart of a functional test in an embodiment of a method of testing a PCBA board as applied to a test apparatus of the present invention;
FIG. 5 is a flow chart of an embodiment of a method of testing a PCBA board as applied to a micro-control unit in accordance with the present invention;
FIG. 6 is a flow chart of the interaction of the test equipment and the micro control unit in an embodiment of the method of testing a PCBA board in accordance with the present invention;
FIG. 7 is a schematic diagram of a hardware structure of a test apparatus according to an embodiment of the present invention;
fig. 8 is a schematic diagram of a hardware structure of a micro control unit according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, 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 some, but not all, embodiments of the present invention. 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, if not conflicted, the various features of the embodiments of the invention may be combined with each other within the scope of protection of the invention. Additionally, while functional block divisions are performed in apparatus schematics, with logical sequences shown in flowcharts, in some cases, steps shown or described may be performed in sequences other than block divisions in apparatus or flowcharts. The terms "first", "second", "third", and the like used in the present invention do not limit data and execution order, but distinguish the same items or similar items having substantially the same function and action.
The method for testing the PCBA board provided by the embodiment of the present invention is applied to the application scenario shown in fig. 1, in the embodiment of the present invention, the application scenario is a system for testing the PCBA board, and is used for testing the PCBA board, and the application scenario 1 includes a test device 10, a micro control unit 20, and a PCBA board 30. The test device 10 is in communication connection with the micro control unit 20 through a serial bus to perform information interaction, the test device can be a notebook computer, a desktop computer and the like with a serial interface, the test device 10 is in communication connection with the PCBA board 30 through the serial bus to perform information interaction, and the micro control unit 20 is in communication connection with the PCBA board 30 through the serial bus to perform information interaction.
It should be noted that the method provided in the embodiment of the present application may be further extended to other suitable application scenarios, and is not limited to the application scenario shown in fig. 1. Fig. 1 schematically shows a test device 10, a micro control unit 20 and a PCBA board 30, and in an actual application process, the application environment may further include more test devices 10, micro control units 20 and PCBA boards 30.
As shown in fig. 2, an embodiment of the present invention provides a method for testing a PCBA board, which is applied to a testing device, and the method includes:
step S201, reading the test configuration table of the PCBA.
When the PCBA is tested, the configuration data of the PCBA needs to be read, and the configuration data of the PCBA is analyzed and sorted, so that a test configuration table is obtained.
In some other embodiments, to ensure that the test of the PCBA board can be performed successfully, as shown in fig. 3, before the reading the test configuration table of the PCBA board, the method further includes:
and S301, receiving a voltage test result of the PCBA board sent by the micro control unit.
Before reading a test configuration table of the PCBA, firstly, carrying out power-on self-test on the PCBA to ensure that subsequent tests can be carried out normally, wherein the power-on self-test is to provide rated voltage of the PCBA for the PCBA through a micro control unit, and the PCBA can carry out function operation of the PCBA under the rated voltage. After the micro control unit provides rated voltage for the PCBA, the PCAB board performs functional operation, feeds back a voltage test result of power-on self test to the micro control unit, and sends the voltage test result to test equipment after the micro control unit receives the voltage test result.
Step S302, serial port test information is sent to the PCBA according to the voltage test result, and whether the serial port is normal is confirmed according to feedback information of the PCBA on the serial port test information.
And after receiving the voltage test result, the test equipment judges whether the PCBA can normally work under the rated voltage according to the voltage test result, and if the PCBA can normally work, tests whether the serial port of the PCBA can normally communicate. The test equipment sends serial port test information to the PCBA, and the PCBA sends feedback information to the test equipment according to the serial port test information after receiving the serial port test information. If the test equipment can receive the feedback information, the serial port of the PCBA board can normally communicate, and if the test equipment does not receive the feedback information of the serial port test information of the PCBA board, the serial port of the PCBA board cannot normally communicate.
After the PCBA is subjected to the tests of power-on self test and serial port communication, if the power-on self test and the serial port communication of the PCBA are normal, reading a test configuration table of the PCBA. In some embodiments, the reading of the test configuration table of the PCBA board may be performed by scanning a barcode on the PCBA board, reading configuration data of the PCBA board carried in the barcode after scanning, and analyzing and sorting the configuration data after obtaining the configuration data of the PCBA board, so as to integrate the configuration table into the test configuration table.
In other embodiments, the test equipment stores the type of the PCBA board and configuration data corresponding to the type of the PCBA board, and the test equipment extracts the type information of the PCBA board from the barcode by scanning the barcode on the PCBA board, and obtains a test configuration table corresponding to the PCBA board according to the type of the PCBA board.
Step S202, burning a test program to the PCBA.
In the embodiment of the invention, because the PCBA board needs to be tested, the test program needs to be burned, so that the test program can test the functional items when the functional items in the configuration table of the PCBA board need to be tested subsequently.
Step S203, sending a function test request to a micro control unit according to the test configuration table, so that the micro control unit sends a function test starting instruction to the PCBA board according to the function test request.
In the embodiment of the invention, after the test equipment acquires the test configuration table of the PCBA, the test equipment generates a function test request according to the test configuration table and sends the function test request to the micro control unit, so that the micro control unit sends a function test starting instruction to the PCBA according to the function test request.
In some embodiments, as shown in fig. 4, the sending a functional test request to a micro control unit according to the test configuration table, so that the micro control unit sends a functional test starting instruction to the PCBA board according to the functional test request includes:
step S401, selecting the function option to be tested according to the test configuration table, and generating a corresponding function test request according to the function option.
After the test program is burned, the test equipment can select the functional items to be tested according to the actual conditions and the functional items in the configuration test table, and generate corresponding functional test requests according to the selected functional items.
And step S402, sending the function test request to a micro control unit, so that the micro control unit tests the corresponding function of the PCBA board according to the function test request.
After receiving a function test request sent by test equipment, the micro control unit generates a function test starting instruction according to the function test request and sends the function test starting instruction to the PCBA. And the PCBA board starts the function test after receiving the function test starting instruction, and tests corresponding functions according to the received function test instruction after starting the function test.
And step S204, receiving the test result sent by the micro control unit, determining whether the PCBA board is normal according to the test result, and if the PCBA board is normal, burning a program on the PCBA.
After the micro control unit sends the function test instruction to the PCBA board, a request for obtaining a test result is sent to the PCBA board every preset time, and the preset time can be set according to an actual situation, preferably, can be set to 20 ms. After receiving the request for obtaining the test result sent by the micro control unit, the PCBA queries the test result of the currently tested function item and sends the test result to the micro control unit. And after receiving the test result, the micro control unit sends the test result to the test equipment, and after receiving the test result, the test equipment records the test result. And after the test items to be tested are all tested, the test equipment judges whether the PCBA is normal or not according to the recorded test result, and if the PCBA is normal, a formal program is burned into the PCBA.
In some embodiments, when all functional items to be tested are tested, the PCBA board sends feedback information that all functional items have been tested to the micro control unit, the micro control unit sends the feedback information to the testing device after receiving the feedback information, the testing device judges whether the PCBA board is normal according to the recorded testing result after receiving the feedback information, and if the PCBA board is normal, a formal program is burned into the PCBA board.
The embodiment of the invention has the advantages that the micro control unit provides the PCBA with the rated voltage for normal operation of the PCBA, so that the PCBA can be subjected to power-on self test, the voltage test result is fed back to the micro control unit, the micro control unit tests the serial port of the PCBA after receiving the voltage test result, and if the serial port of the PCBA can normally communicate, the test equipment obtains the test configuration table of the PCBA by scanning the bar code on the PCBA. After obtaining the test configuration table, burning a test program onto the PCBA board, after burning is completed, selecting a function item to be tested according to the test configuration table, generating a function test request according to the selected function item, sending the function test request to the micro control unit, and after receiving the function test request, the micro control unit generating a function test instruction according to the function test request, and sending the function test instruction to the PCBA board. After receiving the function test instruction, the PCBA board starts a test function according to the function test instruction and tests a corresponding function according to the function test instruction. After the micro control unit sends the function test instruction, a test result acquisition request is sent to the PCBA at each preset time, after the PCBA receives the test result acquisition request, the test result of the function item which is tested at present is sent to the micro control unit, after the micro control unit receives the test result, the test result is sent to the test equipment, and the test equipment records the test result after receiving the test result. After the PCBA completes the test of all the functional items in the functional test instruction, sending feedback information of complete test to the micro control unit, after the micro control unit receives the feedback result, sending the feedback result to the test equipment, after the test equipment receives the feedback information, judging whether the PCBA is normal according to the recorded test result, and if so, burning a formal program into the PCBA. Through the testing mode, manual intervention hardware can be reduced, and production quality is improved, so that labor cost is reduced, and user experience is improved.
As shown in fig. 5, an embodiment of the present invention further provides a method for testing a PCBA board, which is applied to a micro control unit, and the method includes:
step S501, receiving a function test request sent by a test device, and sending a function test starting instruction to the PCBA according to the function test request.
After the test equipment acquires the test configuration table of the PCBA board, the test equipment generates a function test request according to the test configuration table, and the micro control unit generates a function test starting instruction according to the function test request after receiving the function test request sent by the test equipment, and sends the function test starting instruction to the PCBA board. And the PCBA board starts the function test after receiving the function test starting instruction, and tests corresponding functions according to the received function test instruction after starting the function test.
In some other embodiments, before the receiving the functional test request sent by the test device, the method further includes: and providing voltage for the PCBA board so as to enable the PCBA board to carry out voltage test, receiving a voltage test result of the PCBA board, and sending the voltage test result to the test equipment so as to enable the test equipment to test the serial port of the PCBA board.
Before testing the PCBA board, firstly, carrying out power-on self-test on the PCBA to ensure that subsequent tests can be carried out normally, wherein the power-on self-test is to provide rated voltage of the PCBA board for the PCBA board through a micro-control unit, and the PCBA board can carry out function operation of the PCBA board under the rated voltage. After the micro control unit provides rated voltage for the PCBA, the PCAB board performs functional operation, feeds back a voltage test result of power-on self test to the micro control unit, and sends the voltage test result to test equipment after the micro control unit receives the voltage test result.
And after receiving the voltage test result, the test equipment judges whether the PCBA can normally work under the rated voltage according to the voltage test result, and if the PCBA can normally work, tests whether the serial port of the PCBA can normally communicate. The test equipment sends serial port test information to the PCBA, and the PCBA sends feedback information to the test equipment according to the serial port test information after receiving the serial port test information. If the test equipment can receive the feedback information, the serial port of the PCBA board can normally communicate, and if the test equipment does not receive the feedback information of the serial port test information of the PCBA board, the serial port of the PCBA board cannot normally communicate.
And step S502, sending a request for obtaining a test result to the PCBA at intervals of preset time.
After the micro control unit sends the function test instruction to the PCBA board, a request for obtaining a test result is sent to the PCBA board at intervals of preset time, the preset time can be set according to actual conditions, and preferably, the preset time can be set to 20 ms.
And S503, receiving the test result of the PCBA board, and sending the test result to the test equipment.
After receiving the request for obtaining the test result sent by the micro control unit, the PCBA queries the test result of the currently tested function item and sends the test result to the micro control unit. And after receiving the test result, the micro control unit sends the test result to the test equipment, and after receiving the test result, the test equipment records the test result. When all functional items to be tested are tested, the PCBA board sends feedback information that all functional items are tested to the micro control unit, the micro control unit sends the feedback information to the testing equipment after receiving the feedback information, the testing equipment judges whether the PCBA board is normal according to the recorded testing result after receiving the feedback information, and if the PCBA board is normal, a formal program is burned into the PCBA board.
As shown in fig. 6, a test procedure of the method for testing a PCBA board according to the embodiment of the present invention is as follows:
little the control unit provides rated voltage for the PCBA board, so that the PCBA board is gone up the electricity and is tested by oneself to guarantee that follow-up test can normally go on, it provides the rated voltage of PCBA board for the PCBA board through little the control unit to go up the electricity and tests by oneself, and the PCBA board can carry out PCBA board function operation under the rated voltage. After the micro control unit provides rated voltage for the PCBA, the PCAB board performs functional operation, feeds back a voltage test result of power-on self test to the micro control unit, and sends the voltage test result to test equipment after the micro control unit receives the voltage test result.
And after receiving the voltage test result, the test equipment judges whether the PCBA can normally work under the rated voltage according to the voltage test result, and if the PCBA can normally work, tests whether the serial port of the PCBA can normally communicate. The test equipment sends serial port test information to the PCBA, and the PCBA sends feedback information to the test equipment according to the serial port test information after receiving the serial port test information. If the test equipment can receive the feedback information, the serial port of the PCBA board can normally communicate, and if the test equipment does not receive the feedback information of the serial port test information of the PCBA board, the serial port of the PCBA board cannot normally communicate.
After the PCBA is subjected to the tests of power-on self test and serial port communication, if the power-on self test and the serial port communication of the PCBA are normal, the PCBA needs to be tested, so that the PCBA needs to be burned, and the functional items in the PCBA configuration table need to be tested subsequently, and the functional items can be tested by the test program.
And reading a test configuration table of the PCBA. In some embodiments, the reading of the test configuration table of the PCBA board may be performed by scanning a barcode on the PCBA board, reading configuration data of the PCBA board carried in the barcode after scanning, and analyzing and sorting the configuration data after obtaining the configuration data of the PCBA board, so as to integrate the configuration table into the test configuration table. The test equipment can select the functional items to be tested according to the functional items in the configuration test table and the actual situation, generate corresponding functional test requests according to the selected functional items and send the test requests to the micro control unit.
After receiving a function test request sent by test equipment, the micro control unit generates a function test starting instruction according to the function test request and sends the function test starting instruction to the PCBA. And the PCBA board starts the function test after receiving the function test starting instruction, and tests corresponding functions according to the received function test instruction after starting the function test.
After the micro control unit sends the function test instruction to the PCBA board, a request for obtaining a test result is sent to the PCBA board every preset time, and the preset time can be set according to an actual situation, preferably, can be set to 20 ms. After receiving the request for obtaining the test result sent by the micro control unit, the PCBA queries the test result of the currently tested function item and sends the test result to the micro control unit. And after receiving the test result, the micro control unit sends the test result to the test equipment, and after receiving the test result, the test equipment records the test result. When all functional items to be tested are tested, the PCBA board sends feedback information that all functional items are tested to the micro control unit, the micro control unit sends the feedback information to the testing equipment after receiving the feedback information, the testing equipment judges whether the PCBA board is normal according to the recorded testing result after receiving the feedback information, and if the PCBA board is normal, a formal program is burned into the PCBA board.
Fig. 7 is a schematic diagram of a hardware structure of a test device according to an embodiment of the present invention, where the hardware structure 10 of the test device includes:
one or more first processors 101 and a first memory 102, and one first processor 101 is taken as an example in fig. 7.
The first processor 101 and the first memory 102 may be connected by a bus or other means, and fig. 7 illustrates an example of connection by a bus.
The first memory 102, which is a non-volatile computer-readable storage medium, may be used to store non-volatile software programs, non-volatile computer-executable programs, and modules. The first processor 101 executes various functional applications and data processing of the test equipment, i.e. the method of testing a PCBA board, which implements the above-described method embodiments, by running the non-volatile software programs, instructions and modules stored in the first memory 102.
The first memory 102 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the test equipment, and the like. In addition, the first memory 102 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some embodiments, the first memory 102 may optionally include memory located remotely from the first processor 101, which may be connected to the test equipment over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The one or more modules are stored in the first memory 102 and, when executed by the one or more first processors, perform the above-described method of testing a PCBA board as applied to embodiments of a test device.
Fig. 8 is a schematic diagram of a hardware structure of a micro control unit according to an embodiment of the present invention, where the hardware structure 20 of the micro control unit includes:
one or more second processors 201 and a second memory 202, and one second processor 201 is taken as an example in fig. 8.
The second processor 201 and the second memory 202 may be connected by a bus or other means, and fig. 8 illustrates an example of a connection by a bus.
The second memory 202, which is a non-volatile computer-readable storage medium, may be used to store non-volatile software programs, non-volatile computer-executable programs, and modules. The second processor 201 executes various functional applications and data processing of the micro control unit by running the non-volatile software programs, instructions and modules stored in the second memory 202, i.e. implements the above-described method of testing a PCBA board applied to the embodiment on the micro control unit side.
The second memory 202 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the micro control unit, and the like. In addition, the second memory 202 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some embodiments, the second memory 202 optionally comprises a memory located remotely from the second processor 201, and these remote memories may be connected to the micro control unit via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The one or more modules are stored in the second memory 202 and, when executed by the one or more second processors, perform the above-described method of testing a PCBA board as applied to embodiments of a micro-control unit.
Embodiments of the present application provide a non-transitory computer-readable storage medium having stored thereon computer-executable instructions that, when executed by one or more processors, such as one of the processors 101 of fig. 7, cause the one or more processors to perform a method of testing a PCBA board in any of the method embodiments described above.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; within the idea of the invention, also technical features in the above embodiments or in different embodiments may be combined, steps may be implemented in any order, and there are many other variations of the different aspects of the invention as described above, which are not provided in detail for the sake of brevity; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill 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 scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. A method of testing a PCBA board, applied to a testing device, the method comprising:
reading a test configuration table of the PCBA;
burning a test program to the PCBA board;
sending a function test request to a micro control unit according to the test configuration table so that the micro control unit sends a function test starting instruction to the PCBA according to the function test request;
and receiving a test result sent by the micro control unit, determining whether the PCBA is normal according to the test result, and if the PCBA is normal, performing formal program burning on the PCBA.
2. A method according to claim 1, wherein prior to the reading of the test configuration table for the PCBA board, the method further comprises:
receiving a voltage test result of the PCBA board sent by the micro control unit;
and sending serial port test information to the PCBA according to the voltage test result so as to confirm whether the serial port is normal or not according to feedback information of the PCBA on the serial port test information.
3. The method of claim 2, wherein reading the test configuration table for the PCBA board comprises:
and acquiring configuration data of the PCBA by identifying the bar code on the PCBA, and integrating the configuration data of the PCBA into the test configuration table.
4. A method according to claim 3, wherein the sending a functional test request to a micro control unit according to the test configuration table to cause the micro control unit to send a functional test start command to the PCBA board according to the functional test request comprises:
selecting a function option to be tested according to the test configuration table, and generating a corresponding function test request according to the function option;
and sending the function test request to a micro control unit so that the micro control unit tests the corresponding function of the PCBA board according to the function test request.
5. A method of testing a PCBA board for use in a micro-control unit, the method comprising:
receiving a function test request sent by test equipment, and sending a function test starting instruction to the PCBA board according to the function test request;
sending a request for obtaining a test result to the PCBA at intervals of preset time;
and receiving a test result of the PCBA, and sending the test result to the test equipment.
6. The method of claim 5, wherein before receiving the functional test request sent by the test device, the method further comprises:
and providing voltage for the PCBA board so as to enable the PCBA board to carry out voltage test, receiving a voltage test result of the PCBA board, and sending the voltage test result to the test equipment so as to enable the test equipment to test the serial port of the PCBA board.
7. A test apparatus, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of testing a PCBA board as claimed in any of claims 1-4.
8. A micro-control unit, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to cause the at least one processor to perform the method of testing a PCBA board as claimed in any of claims 5-6.
9. A system for testing a PCBA board, the system comprising the test apparatus of claim 7 and the micro control unit of claim 8.
10. A non-transitory computer-readable storage medium having stored thereon computer-executable instructions that, when executed by a test device, cause the test device to perform the method of any of claims 1-4.
CN201911380015.4A 2019-12-27 2019-12-27 Method and system for testing PCBA (printed circuit board assembly), testing equipment and micro-control unit Pending CN111143150A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201911380015.4A CN111143150A (en) 2019-12-27 2019-12-27 Method and system for testing PCBA (printed circuit board assembly), testing equipment and micro-control unit
PCT/CN2020/137887 WO2021129551A1 (en) 2019-12-27 2020-12-21 Method and system for testing pcba board, and test device and micro control unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911380015.4A CN111143150A (en) 2019-12-27 2019-12-27 Method and system for testing PCBA (printed circuit board assembly), testing equipment and micro-control unit

Publications (1)

Publication Number Publication Date
CN111143150A true CN111143150A (en) 2020-05-12

Family

ID=70521062

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911380015.4A Pending CN111143150A (en) 2019-12-27 2019-12-27 Method and system for testing PCBA (printed circuit board assembly), testing equipment and micro-control unit

Country Status (2)

Country Link
CN (1) CN111143150A (en)
WO (1) WO2021129551A1 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111818438A (en) * 2020-06-29 2020-10-23 青岛歌尔智能传感器有限公司 Semi-finished product testing method and system of wireless earphone and computer readable storage medium
CN112083311A (en) * 2020-08-08 2020-12-15 深圳顺势为快科技有限公司 PCBA board test method and system
CN112415368A (en) * 2020-11-25 2021-02-26 珠海格力电器股份有限公司 Circuit board detection method and device, electronic equipment and readable storage medium
CN112783708A (en) * 2021-01-28 2021-05-11 蘑菇物联技术(深圳)有限公司 DTU hardware testing method, terminal and computer readable storage medium
CN113032200A (en) * 2021-04-27 2021-06-25 深圳芯邦科技股份有限公司 Micro control unit processing method and related equipment
WO2021129551A1 (en) * 2019-12-27 2021-07-01 日照市越疆智能科技有限公司 Method and system for testing pcba board, and test device and micro control unit
CN114113973A (en) * 2021-09-23 2022-03-01 深圳市云伽智能技术有限公司 Circuit board testing method and device, computer equipment and storage medium thereof

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104978265A (en) * 2014-04-09 2015-10-14 罗森伯格(上海)通信技术有限公司 PCBA test method and PCBA test system
CN107390110A (en) * 2017-06-20 2017-11-24 广东科学技术职业学院 A kind of method, apparatus and system tested automatically PCBA
CN108037444A (en) * 2017-12-29 2018-05-15 广州市中海达测绘仪器有限公司 GNSS PCBA automatization test systems and its application process
CN110308385A (en) * 2019-07-19 2019-10-08 惠尔丰(中国)信息***有限公司 A kind of PCBA Online Transaction Processing and method

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101324860B (en) * 2007-06-14 2013-08-28 鸿富锦精密工业(深圳)有限公司 Mainboard test system and test method
CN103454575B (en) * 2013-09-06 2016-03-09 福州瑞芯微电子股份有限公司 For realizing system, PCBA board and method that PCBA board is tested
CN110596569A (en) * 2019-08-20 2019-12-20 福州瑞芯微电子股份有限公司 PCBA board testing method and device
CN111143150A (en) * 2019-12-27 2020-05-12 深圳市越疆科技有限公司 Method and system for testing PCBA (printed circuit board assembly), testing equipment and micro-control unit

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104978265A (en) * 2014-04-09 2015-10-14 罗森伯格(上海)通信技术有限公司 PCBA test method and PCBA test system
CN107390110A (en) * 2017-06-20 2017-11-24 广东科学技术职业学院 A kind of method, apparatus and system tested automatically PCBA
CN108037444A (en) * 2017-12-29 2018-05-15 广州市中海达测绘仪器有限公司 GNSS PCBA automatization test systems and its application process
CN110308385A (en) * 2019-07-19 2019-10-08 惠尔丰(中国)信息***有限公司 A kind of PCBA Online Transaction Processing and method

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021129551A1 (en) * 2019-12-27 2021-07-01 日照市越疆智能科技有限公司 Method and system for testing pcba board, and test device and micro control unit
CN111818438A (en) * 2020-06-29 2020-10-23 青岛歌尔智能传感器有限公司 Semi-finished product testing method and system of wireless earphone and computer readable storage medium
CN111818438B (en) * 2020-06-29 2021-09-17 青岛歌尔智能传感器有限公司 Semi-finished product testing method and system of wireless earphone and computer readable storage medium
CN112083311A (en) * 2020-08-08 2020-12-15 深圳顺势为快科技有限公司 PCBA board test method and system
CN112415368A (en) * 2020-11-25 2021-02-26 珠海格力电器股份有限公司 Circuit board detection method and device, electronic equipment and readable storage medium
CN112783708A (en) * 2021-01-28 2021-05-11 蘑菇物联技术(深圳)有限公司 DTU hardware testing method, terminal and computer readable storage medium
CN113032200A (en) * 2021-04-27 2021-06-25 深圳芯邦科技股份有限公司 Micro control unit processing method and related equipment
CN114113973A (en) * 2021-09-23 2022-03-01 深圳市云伽智能技术有限公司 Circuit board testing method and device, computer equipment and storage medium thereof

Also Published As

Publication number Publication date
WO2021129551A1 (en) 2021-07-01

Similar Documents

Publication Publication Date Title
CN111143150A (en) Method and system for testing PCBA (printed circuit board assembly), testing equipment and micro-control unit
CN105787364B (en) Automatic testing method, device and system for tasks
CN109165170B (en) Method and system for automatic request test
CN102736978A (en) Method and device for detecting installation status of application program
CN107133165B (en) Browser compatibility detection method and device
CN108459850B (en) Method, device and system for generating test script
CN109683997B (en) Method for accessing application program interface through sandbox, sandbox and sandbox equipment
CN112241360A (en) Test case generation method, device, equipment and storage medium
CN115061885A (en) Complete machine aging automatic test method and device, electronic equipment and storage medium
CN108519935B (en) Board card testing method and device, readable storage medium and computer equipment
CN104978276A (en) Method, device and system used for detecting software
CN112269697B (en) Equipment storage performance testing method, system and related device
CN105095063A (en) Application program testing method, apparatus and system
CN107766240A (en) UEFI Shell internal command automatic running detection methods and system
CN115276844B (en) Communication module testing method and device, storage medium and electronic equipment
CN110889116A (en) Advertisement blocking method and device and electronic equipment
CN105912431A (en) Reboot testing method of server, server, control device and system
CN114911656A (en) Automatic IPMI instruction testing method, single chip microcomputer and related device
CN112596750B (en) Application testing method and device, electronic equipment and computer readable storage medium
CN108616417A (en) Cloud test platform and its control method
CN101533369A (en) Method for checking start-up procedure and device thereof
CN103593273A (en) Method, device and system for testing circuit board card
KR101626581B1 (en) Test method for error applition of portable communication terminal
CN112269733A (en) Automatic aging test method for server and storage medium
CN107634851B (en) Method for dynamically configuring server by mobile terminal

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
TA01 Transfer of patent application right

Effective date of registration: 20201230

Address after: 276800 north of Shantou Road, west of Hangzhou Road, east of Luzhou Road, Rizhao Economic Development Zone, Shandong Province

Applicant after: Rizhao Yuejiang Intelligent Technology Co.,Ltd.

Address before: 518000 1003, building 2, Chongwen Park, Nanshan wisdom Park, 3370 Liuxian Avenue, Fuguang community, Taoyuan Street, Nanshan District, Shenzhen City, Guangdong Province

Applicant before: SHENZHEN YUEJIANG TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
RJ01 Rejection of invention patent application after publication

Application publication date: 20200512

RJ01 Rejection of invention patent application after publication