Summary of the invention
Technical matters to be solved by this invention, being to provide a kind of system, PCBA board and method for realizing PCBA board test, realizing the robotization of PCBA Function detection, thus improving testing efficiency, saving human cost.
For achieving the above object, the invention provides a kind of PCBA board for realizing PCBA board test, be electrically connected by signal connecting line with a display device, this PCBA board arranges multiple functional circuit and at least one programmable chip, also comprises CPU and test cell.This CPU is used for the test procedure in a pre-loaded holonomic system program, this holonomic system program is the system program of the plant running loading this PCBA board, this test cell is for performing this test procedure to test the functional circuit of this PCBA board and programmable chip, with this CPU also for judge according to the test result of each functional circuit of this PCBA board and programmable chip feedback each functional circuit and programmable chip whether qualified, also produce according to judged result and send corresponding control signal, respond this control signal show this test result to trigger this display device.
Further, for achieving the above object, the present invention also provides a kind of system for realizing PCBA board test, the display device comprising at least one PCBA board to be tested and be electrically connected by signal connecting line with this PCBA board, this PCBA board arranges multiple functional circuit and at least one programmable chip, also comprises CPU and test cell.This CPU is used for the test procedure in a pre-loaded holonomic system program, this holonomic system program is the system program of the plant running loading this PCBA board, this test cell is for performing this test procedure to test the functional circuit of this PCBA board and programmable chip, with this CPU also for judge according to the test result of each functional circuit of this PCBA board and programmable chip feedback each functional circuit and programmable chip whether qualified, also produce according to judged result and send corresponding control signal, this display device responds this control signal and shows this test result.
Further, for achieving the above object, the present invention also provides a kind of method for realizing PCBA board test, and this PCBA board arranges multiple functional circuit and at least one programmable chip, and the method comprises:
Load test procedure in a holonomic system program to this PCBA board, this holonomic system program is the system program of the plant running loading this PCBA board.
Perform this test procedure to test the functional circuit of this PCBA board and programmable chip, and feedback is to each functional circuit of this PCBA board and the test result of programmable chip.And
Control a display device and show this test result.
A kind of system, PCBA board and method for realizing PCBA board test provided by the invention, the logical test procedure loaded in PCBA board to be tested in advance in holonomic system program, and perform this test procedure by the CPU of PCBA board this PCBA board is tested automatically, and when determining that test result is qualified directly by this holonomic system burning program to PCBA board, without the need to testing after PCBA board burning holonomic system program, thus improve test speed and testing efficiency.
Embodiment
By describing technology contents of the present invention, structural attitude in detail, realized object and effect, accompanying drawing is coordinated to be explained in detail below in conjunction with embodiment.
As shown in Figure 1, be the frame diagram of the system for realizing PCBA board test in the specific embodiment of the invention, this system 10 comprises at least one PCBA board 20 to be tested and a display device 30.In the present embodiment, this PCBA board 20 comprises multiple functional circuit and at least one programmable chip.This display device 30 is electrically connected by signal connecting line and this PCBA board 20, and in the present embodiment, this display device 30 can be display panels, LCD display panel or other display panels.
This PCBA board 20 comprises CPU21, test cell 22 and burning unit 23.Wherein, this CPU21, test cell 22 and burning unit 23 are arranged in this PCBA board 20 with the form of integrated circuit or chip.This CPU21 is for the test procedure that obtains in holonomic system program and call test cell 22 and perform this test procedure and test the functional circuit of this PCBA board 20 and programmable chip, test procedure in this PCBA board 20 to be tested this holonomic system program pre-loaded, wherein, this holonomic system program is the system program of the plant running loading this PCBA board 20, as windows system, Android system etc., this test procedure is recovery module.In the present embodiment, this holonomic system program is stored in advance in a memory device (not shown), and when this PCBA board 20 is connected with this memory device, this CPU21 directly obtains test procedure from this memory device.Wherein, this memory device can be a hot swap type memory device, such as, and SD card, portable hard drive etc.Can automatically from memory device, obtain relative program and perform the function started after this CPU21 has electrification reset.
Particularly, this test cell 22 performs test procedure and in internal memory, runs recovery pattern to make this PCBA board 20, and automatically tests the functional circuit of this PCBA board 20 and programmable chip according to pre-configured reference test result.Wherein, the output data that this reference test result is each qualified functional circuit and programmable chip when input test data respectively, with this judge each functional circuit and programmable chip whether qualified.This CPU21 by comparison with reference to test result and actual output that each functional circuit and programmable chip are fed back when input test data judge each functional circuit and programmable chip whether qualified, and produce corresponding control signal according to judged result.Particularly, when judging arbitrary functional circuit and programmable chip test passes, this CPU21 produces the first control signal, otherwise produces the second control signal.
This display device 30 responds the control signal produced by CPU21 and shows test results on its display screen.Particularly, this display device 30 responds the information of the first control signal display PCBA board 20 test passes, responds the information of the second control signal display PCBA board 20 test failure.Wherein, this information can comprise the detecting information of qualified/underproof functional circuit and programmable chip.Such as, test the project green information passed through and print display, the project of test crash prints display by red information.The PCBA board 20 of test crash is returned engineering department's maintenance according to the type information of display by tester.
In the present embodiment, when determining this PCBA board 20 test passes, this CPU21 also for obtaining this holonomic system program, and calls this burning unit 23 by this holonomic system burning program in this PCBA board 20.Wherein, this burning unit 23 by this holonomic system burning program in the solid storage device of this PCBA board 20, such as nandflash.
Refer to Fig. 2, for the present invention is for realizing the method flow diagram of PCBA board test, wherein PCBA board 20 comprises multiple functional circuit and at least one programmable chip.The method comprises the following steps:
Step S40, test procedure in the pre-loaded holonomic system program of this PCBA board 20, wherein, this holonomic system program is the system program of the plant running loading this PCBA board 20, as windows system, Android system etc., this test procedure is recovery module.In the present embodiment, this holonomic system program is stored in advance in a memory device (not shown), and when this PCBA board 20 is connected with this memory device, this CPU21 directly obtains test procedure from this memory device.
Wherein, this memory device can be a hot swap type memory device, such as, and SD card, portable hard drive etc.Can automatically from memory device, obtain relative program and perform the function started after this CPU21 has electrification reset.
Step S41, this test cell 22 performs this test procedure and tests the functional circuit of this PCBA board 20 and programmable chip, this CPU21 according to feedback test result judge each functional circuit and programmable chip whether qualified, if, then step enters S42, otherwise, enter step S44.
Particularly, this test cell 22 performs test procedure and in internal memory, runs recovery pattern to make this PCBA board 20, and automatically tests the functional circuit of this PCBA board 20 and programmable chip according to pre-configured reference test result.Wherein, the output data that this reference test result is each qualified functional circuit and programmable chip when input test data respectively, with this judge each functional circuit and programmable chip whether qualified.This CPU21 by comparison with reference to test result and actual output that each functional circuit and programmable chip are fed back when input test data judge each functional circuit and programmable chip whether qualified, and produce corresponding control signal according to judged result.
Step S42, this CPU21 produces the first control signal, and this display device 30 responds the information of the first control signal display PCBA board 20 test passes.
Step S43, this CPU21 obtain this holonomic system program, and call this burning unit 23 by this holonomic system burning program in this PCBA board 20.Wherein, this burning unit 23 by this holonomic system burning program in the solid storage device of this PCBA board 20, such as nandflash.Then, flow process terminates.
Step S44, this CPU21 produces the second control signal, and this display device 30 responds the information of the second control signal display PCBA board 20 test failure.Then, flow process terminates.
The detecting information of this information can comprise qualified/underproof functional circuit and programmable chip.Such as, test the project green information passed through and print display, the project of test crash prints display by red information.The PCBA board 20 of test crash is returned engineering department's maintenance according to the type information of display by tester.
Utilize a kind of system, PCBA board and method for realizing PCBA board test provided by the invention, the logical test procedure loaded in PCBA board to be tested in advance in holonomic system program, and perform this test procedure by the CPU of PCBA board this PCBA board is tested automatically, and when determining that test result is qualified directly by this holonomic system burning program to PCBA board, without the need to testing after PCBA board burning holonomic system program, thus improve test speed and testing efficiency.
The foregoing is only embodiments of the invention; not thereby the scope of the claims of the present invention is limited; every utilize instructions of the present invention and accompanying drawing content to do equivalent structure or equivalent flow process conversion; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.