Disclosure of Invention
The invention aims to overcome the defects of the prior art and provides a device and a method for PCBA program burning and impedance testing, which have the advantages of simple structure, complete functions, low cost and high operation efficiency.
The technical scheme adopted by the PCBA program burning and impedance testing device is as follows: the invention comprises an industrial personal computer, a control computer and a control module, wherein the industrial personal computer is used for detecting and controlling a program burning process of the PCBA and a test process of impedance;
the measurement control module is used for providing power supply control, selecting and measuring an open/short circuit detection point of the PCBA, carrying out impedance calculation, communicating with an industrial personal computer and a peripheral upper computer, and providing power for the signal switching module;
the burning module is used for burning programs on the PCBA;
the signal switching module is used for leading out a detection result signal of the selected detection point on the PCBA;
and the switching power supply module is used for providing a direct current power supply for the whole device.
According to the scheme, the impedance of each set detection point of the PCBA can be detected through the measurement control module, the open short circuit test result is judged, and the short circuit between the point positions can be quickly positioned according to the detection point positions, so that the most direct guidance is provided for subsequent overhaul and maintenance, the timeliness is greatly improved, and the operation difficulty is reduced; the program burning of the PCBA is realized through the burning module, burning self-checking is carried out through the measurement control module after burning is finished, normal execution of burning is guaranteed through detection of burning results of the burned PCBA, when the self-checking fails, testing can be stopped timely, the results can be uploaded to an industrial personal computer, and then the results are transmitted to a peripheral upper computer, so that a basis is provided for quick fault finding; the signal switching module can realize the quick connection between the device and the PCBA to be tested, and the safety and the reliability of the connection are ensured; in addition, the device has a simple structure, realizes the combination of the FCT and ICT tests of the PCBA, greatly improves the test efficiency, integrates the FCT and ICT tests and other test functions on one device, ensures the smooth operation of the test process through the cooperation of the industrial personal computer and the test control module, and relatively reduces the cost.
Further, the measurement control module comprises a digital I/O device, a first electric control board, a second electric control board and a pneumatic module, the digital I/O device uploads collected information to the first electric control board, the first electric control board is respectively connected with the second electric control board, the pneumatic module, the burning module and the signal transfer module through electric signals, and the second electric control board is respectively connected with the pneumatic module, the industrial personal computer and the signal transfer module through communication.
The scheme shows that the measurement control module is composed of a digital I/O device, a first electric control board, a second electric control board and a pneumatic module, wherein the digital I/O device is responsible for providing and configuring an I/O port, the first electric control board is used for being connected with the pneumatic module, other action components and signal acquisition components arranged in the device and controlling the actions of the components to upload corresponding information to the second electric control board, the second electric control board is responsible for processing the information acquired by the first electric control board and providing power supply control, the selection and measurement of an open-short circuit detection point of the PCBA are carried out, impedance calculation is carried out, the PCBA is communicated with an industrial personal computer and a peripheral upper computer, and power is provided for the signal switching module, so that the first electric control board and the second electric control board respectively carry out different operations, and the work division control mode ensures the smoothness and the control precision of the system, and a modular design is formed, an efficient solution is provided for subsequent maintenance, and the maintenance efficiency is greatly improved.
Still further, the first electronic control board comprises an I/O control module and an I/O power supply module, and the digital I/O device controls and selects an I/O port of the I/O control module, and supplies power to the selected I/O port through the I/O power supply module. Therefore, the I/O control module is connected with the digital I/O device, receives an I/O configuration signal from the digital I/O device, supplies power to the configured I/O port through the I/O power supply module, and realizes the definition of the I/O port and the connection communication with the PCBA.
Still further, the second electric control board comprises a second MCU, a second power supply module, an I/O read-write module, a constant current module, a relay module, an ADC module and a UART communication module, the second power supply module controls power supply of the second electric control board, the I/O read-write module is in communication connection with the I/O control module, the constant current module provides a constant current source and a constant voltage source for the second electric control board, the relay module selects detection points of PCBA open short circuit, the ADC module amplifies detection results of the detection points of PCBA open short circuit, and the UART communication module is in communication with the industrial personal computer and a peripheral upper computer. Therefore, through the matched arrangement of the modules, the detection of the open circuit and the short circuit of the PCBA can be realized, the burning and the self-checking after burning of the PCBA are realized, the FCT and the ICT of the PCBA are combined into a whole, the cost of the whole device is relatively reduced, the testing speed of the PCBA is also improved, and the multifunctional testing and burning operation can be realized on the device in one step.
Still further, the pneumatic module comprises a pneumatic substrate, an electromagnetic valve, a sensor, a counter and an emergency switch, and the electromagnetic valve, the sensor, the counter and the emergency switch are all in electric signal connection with the pneumatic substrate. Therefore, through the matching among all parts of the pneumatic module, the functions of open-short circuit testing, program burning and the like of the whole device are ensured to be automated, the influence of human factors is greatly reduced, the testing quality is ensured, and the testing efficiency and the automation degree are improved.
In addition, the burning module comprises a burner and a HUB. Therefore, through the cooperation of the burner and the HUB, the burner burns the PCBA, and the HUB is a burner concentrator and provides data transmission and resource integration for burning.
The signal switching module is a dual-channel module, and is connected with the PCBA to be tested through the probe. Therefore, the probe is used as a connecting medium of the signal transfer module and the PCBA to be tested, convenience and reliability of operation are achieved, and the position of the set detection point at any position can be tested through the probe.
The switching power supply module provides two 12VDC-36A-432W direct current power supplies. Therefore, the power supply capacity of the device is guaranteed through the arrangement of the two direct current power supplies, and the problem of testing caused by insufficient electric energy is avoided.
The method for carrying out PCBA program burning and impedance testing by using the device comprises the following steps:
a. the first electric control board provides corresponding power supply and control signals for the device, places the PCBA to be tested into the test carrier and detects that the PCBA to be tested is placed in place;
b. starting a test, wherein the second MCU drives the test carrier to test through the pneumatic module;
c. after the test carrier starts to test, firstly, performing open-short circuit test, when all the detection points are open circuits meeting the conditions, controlling a second power supply module to supply power to the signal switching module by a second MCU, continuing the test and turning to the step e, otherwise, turning to the step d;
d. the open short circuit test fails, the failure result is uploaded to a peripheral upper computer and displayed, the second MCU controls the second power supply module to not supply power to the signal switching module and detects the impedance of the detection point which fails in the test, the impedance value is measured, then the test is quitted, the test carrier recovers the initial test state, and the PCBA to be tested returns to the maintenance;
e. after the open short circuit test is normally finished, the second MCU controls the second power supply module to power on the signal transfer module for subsequent tests;
f. the burning operation is carried out through the burning module, after the normal burning is finished, the second MCU carries out burning result testing, when the burning result is detected to be correct, the burning result is uploaded to a peripheral upper computer and displayed, finally the testing is quitted, the test is returned to the initial state of the testing, and if not, the step g is carried out;
g. when the burning error is detected, the burning failure is judged, the result is uploaded to a peripheral upper computer, the test is quitted, the test initial state is returned, and finally the PCBA with the burning failure is returned to be maintained.
Above-mentioned scheme is visible, through the cooperation of second automatically controlled board and first automatically controlled board, set up the check point that utilizes the probe to realize detecting on PCBA, can realize opening the short circuit detection to PCBA fast, burn the operation through burning record module and then can accomplish the operation of burning record to PCBA, and burn the self-checking, guarantee to burn the quality, and upload the result to outlying host computer, it has fused ICT and FCT two most important parts, and provide accurate reliable intelligent test, in order to reach the purpose of intelligent quick test, satisfy the increasingly high requirement of electronic product integration intellectuality, the development of circuit board testing industry has been complied with, the manpower has also been saved, financial resources, cost such as time, and the efficiency of software testing and test convenience have been improved greatly.
Further, in step f, the process of the second MCU performing the burning result test is as follows: the peripheral upper computer controls the digital I/O equipment to carry out starting operation on the PCBA, a volume increasing and decreasing instruction is sent out after the PCBA is started, then the level change of the corresponding input port of the digital I/O equipment is detected, and when the level change is consistent with the volume increasing and decreasing instruction, the burning is indicated to be finished; otherwise, indicating that the burning fails.
The scheme can be seen that the burning result is tested, the burning quality is guaranteed, the result is simple and convenient to detect and convenient to operate, a better detection effect is achieved, and the quality of a burning product is further guaranteed.
Detailed Description
As shown in figure 1, the device comprises an industrial personal computer IPC for detecting and controlling a program burning process and an impedance testing process of the PCBA, wherein the model of the industrial personal computer IPC is IPC-610 MB-L; the measurement control module is used for providing power supply control, selecting and measuring an open-short circuit detection point of the PCBA, carrying out impedance calculation, communicating with an Industrial Personal Computer (IPC) and a peripheral upper computer and providing power for the signal switching module; the burning module is used for burning programs on the PCBA; thesignal switching module 16 is used for leading out a detection result signal of a selected detection point on the PCBA; and a switchingpower supply module 17 for supplying a direct current power supply to the entire apparatus.
The measurement control module comprises a digital I/O device NI6501, a firstelectric control board 1, a secondelectric control board 2 and apneumatic module 3, the digital I/O device NI6501 uploads collected information to the firstelectric control board 1, the firstelectric control board 1 is in electric signal connection with the secondelectric control board 2, thepneumatic module 3, the burning module and the signal switching module respectively, and the secondelectric control board 2 is in communication connection with thepneumatic module 3, the industrial personal computer IPC and the signal switching module respectively. The firstelectronic control board 1 comprises an I/O control module 4 and an I/Opower supply module 5, and the digital I/O device NI6501 controls and selects an I/O port of the I/O control module 4, and supplies power to the selected I/O port through the I/Opower supply module 5. The secondelectric control board 2 comprises a second MCU, a secondpower supply module 6, an I/O read-write module 7, a constantcurrent module 8, arelay module 9, anADC module 10 and aUART communication module 11, the secondpower supply module 6 controls power supply of the secondelectric control board 2, the I/O read-write module 7 is in communication connection with the I/O control module 4, the constantcurrent module 8 provides a constant current source and a constant voltage source for the secondelectric control board 2, therelay module 9 selects detection points of PCBA open short circuit, theADC module 10 amplifies detection results of the detection points of PCBA open short circuit, and theUART communication module 11 is communicated with the IPC and a peripheral upper computer. Thepneumatic module 3 comprises a pneumatic substrate, anelectromagnetic valve 12, asensor 13, a counter and an emergency switch, wherein theelectromagnetic valve 12, thesensor 13, the counter and the emergency switch are all in electric signal connection with the pneumatic substrate. The burning module comprises aburner 14 and aHUB 15. The signal switching module is a dual-channel module, and is connected with the PCBA to be tested through the probe. The switching power supply module provides two 12VDC-36A-432W direct current power supplies.
The method for carrying out the PCBA program burning and the impedance test by utilizing the PCBA program burning and impedance test device comprises the following steps:
a. the firstelectric control board 1 provides corresponding power supply and control signals for the device, places the PCBA to be tested into the test carrier and detects that the PCBA to be tested is placed in place;
b. starting a test, wherein the second MCU drives the test carrier to test through the pneumatic module;
c. after the test carrier starts to test, firstly, performing open-short circuit test, when all the detection points are open circuits meeting the conditions, controlling a second power supply module to supply power to the signal switching module by a second MCU, continuing the test and turning to the step e, otherwise, turning to the step d;
d. the open short circuit test fails, the failure result is uploaded to a peripheral upper computer and displayed, the second MCU controls the second power supply module to not supply power to the signal switching module and detects the impedance of the detection point which fails in the test, the impedance value is measured, then the test is quitted, the test carrier recovers the initial test state, and the PCBA to be tested returns to the maintenance;
e. after the open short circuit test is normally finished, the second MCU controls the second power supply module to power on the signal transfer module for subsequent tests;
f. the burning operation is carried out through the burning module, after the normal burning is finished, the second MCU carries out burning result testing, when the burning result is detected to be correct, the burning result is uploaded to a peripheral upper computer and displayed, finally the testing is quitted, the test is returned to the initial state of the testing, and if not, the step g is carried out;
g. when the burning error is detected, the burning failure is judged, the result is uploaded to a peripheral upper computer, the test is quitted, the test initial state is returned, and finally the PCBA with the burning failure is returned to be maintained.
In the step f, the process of the second MCU for testing the burning result is as follows: the peripheral upper computer controls the digital I/O equipment NI6501 to start the PCBA, sends out a volume increase and decrease instruction after the PCBA is started, then detects the level change of the corresponding input port of the digital I/O equipment NI6501, and when the level change is consistent with the volume increase and decrease instruction, the burning is finished; otherwise, indicating that the burning fails.
Compared with the prior art, the method combines partial functions of the ICT with the FCT, and can finish rapid automatic test on specific functions or special needs. This ensures that the product under test is not burned out when it is subjected to the FCT test directly.
The invention adopts an automatic testing technology, excludes most human factors, obtains more accurate data, and can quickly position which point positions are short-circuited according to the detection point positions. In the whole testing process, the PCBA to be tested is only required to be placed at the corresponding position on the testing carrier, the start key is pressed, the testing carrier carries out open-short circuit testing/burning completion self-checking according to a set testing flow, if short circuit is detected during the period, the upper computer feeds back which point positions are in error and the measured impedance value, and the follow-up testing is stopped after the open-short circuit testing is completed. And if the whole test is normal, finally feeding back a test result. In addition, the test device can be designed to test two PCBA products at the same time so as to achieve the purpose of rapidly detecting the set function.
The invention has the following advantages:
1. the open-short circuit test and the burning can be simultaneously carried out;
2. the method can meet the requirement of quickly detecting the specific functions of the designed product;
3. the automatic test greatly reduces the dependence on manpower;
4. the reliability of the test is high;
5. the detection point position of the short circuit of the product can be quickly positioned, the problem searching time is reduced, and the efficiency is improved;
6. high timeliness and simple operation.