Background technology
PCB (Printed Circuit Board) i.e. printed circuit board, be called for short printed board, be electronics industry vitals it
One.Almost every kind of electronic equipment, little to electronic watch, calculator, arrive greatly computer, communication electronic device, military issue weapons
System, as long as there being the electronic devices and components such as integrated circuit, in order to the electric and signal between them connects, will use printing electricity
Road plate.Printed circuit board has circuit soft board and circuit hardboard two class, generally uses and touched by numerous flavous conductions between them
Sheet forms, and " golden finger " that arrange such as finger-shaped because of its surface gold-plating and conductive contact blade achieves a butt joint.
Single PCB soft board is after producing, and in order to verify the performance parameter of PCB soft board, needs to enter PCB soft board
The various tests of row, it usually needs PCB soft board is carried out visual examination, open/short test, element functional test etc., its
In, open/short test, the element functional test to PCB soft board, need each some position from pcb board golden finger to lead to
Cross FPC(Flexible Printed Circuit) keyset is connected to test machine, to complete the test of corresponding function.
Current pcb board test is all that pcb board is placed on test needle-bar, and needle-bar has fixed FPC keyset,
With pneumatic means, sample PCB circuit soft board is tested with FPC keyset compression again.During the test of this method, survey
Examination is difficult to be accurately positioned, and easily causes and misplaces when sample PCB circuit soft board docks with FPC keyset, especially for
The golden finger live width of PCB circuit soft board is little, and aligning accuracy requires high occasion, is very easy to cause and surveys by mistake.Existing improvement
Method has use CCD to take pictures, then compares with " standard photographs " deposited and obtain current relative coordinate and carry out this of contraposition
The method of kind, has had certain improvement in terms of aligning accuracy and reduction false failure rate, but still there is the defect in following tripartite face:
First, CCD take pictures after comparison, during mechanism carries out motion setting-out, compression, due to acceleration during motion, deceleration etc.
Factor causes the reason of vibration equipment, causes misplacing or deviation when pcb board is actual with FPC keyset to be docked;Second, this
It is that current photo needs to compare with " standard photographs " and obtains current relative sit that method is capable of the premise of exactitude position
Mark, " standard photographs " herein, obtain be difficult to very much, need engineer pcb board is docked with FPC keyset errorless after,
TT&C system is taken pictures acquisition " standard photographs ", and efficiency is the lowest;3rd, the stability of " standard photographs " is bad, test
The vibration of system (or tester table) or artificially move, all may cause " mark photo " no longer standard, need again to look for
" standard photographs ".
Therefore, those skilled in the art is devoted to develop a kind of PCB test with CCD correcting function and control system,
To complete to be less than 0.01mm less than 0.05mm, FPC keyset with pcb board butting error for pcb board golden finger live width
Pcb board is tested automatically.
Summary of the invention
It is an object of the invention to provide a kind of PCB test with CCD correcting function and control system, more particularly a kind of
Pcb board golden finger live width is surveyed with the pcb board butting error pcb board less than 0.01mm automatically less than 0.05mm, FPC keyset
Examination and control system.
In order to solve the problems referred to above, the technical scheme is that such:
A kind of PCB test with CCD correcting function and control system, this system includes:
The FPC keyset of position coarse adjustment and microscope carrier, fine-tuning sample stage, executing agency, PCB test machine, letter
Number amplify and sensing module, industrial CCD camera, logic control unit, man-machine interface and data storage server;
The input of position coarse adjustment FPC keyset and microscope carrier is connected with the output of executing agency and fine-tuning sample stage
Connecing, its output is connected with the input of PCB test machine;
The input of fine-tuning sample stage is connected with the output of executing agency and industrial CCD camera;PCB
The other end of test machine is connected with logic control unit, it is achieved bidirectional data interaction;
Signal amplifies and one end of sensing module is connected with executing agency, and the other end is connected with logic control unit, two ends
Connection be all to realize two-way data interaction;
The other end of industrial CCD camera is connected with logic control unit, it is achieved bidirectional data transfers;
Man-machine interface is connected with logic control unit, it is achieved data double-way is mutual;
Data storage server is connected with logic control unit, it is achieved data double-way is mutual.
Described signal amplifies and sensing module includes signal amplification module, sensing module, servo-driver, encoder;
The described input of signal amplification module is connected with the output of logic control unit, and its output is connected to execution machine
Structure, the output of sensing module is connected to the input of logic control unit;
Described servo-driver includes the first servo-driver, the second servo-driver and the 3rd servo-driver, its input
All being connected with the output of logic control unit, the output of the first servo-driver is connected with the input of servo motor
Connect, the output of the second servo-driver and the 3rd servo-driver defeated with the first servo electricity cylinder and the second servo electricity cylinder respectively
Enter end to be connected;
Described encoder includes the first encoder, the second encoder and the 3rd encoder, its input respectively with servo motor,
The output shaft of the first servo electricity cylinder and the second servo electricity cylinder is connected, and output is connected directly to the input of logic control unit
End.
Described signal amplification module is PLC switching value output module, and single channel output electric current is 100mA, ON/OFF to the maximum and rings
Less than or equal to 10ms between Ying Shi.
Described sensing module is PLC switching input module, and each module comprises 8 passages, every passage input current value
7mA-24VDC, interchannel Phototube Coupling.
Logic control unit includes logic unit, and logic unit connects man-machine interface, EPA interface respectively
Device, peripheral communication interface, real-time guard module, data acquisition module, digital quantity input/output module, servo control molding
Block, image acquisition and processing parts;
Described EPA interface arrangement connects a data storage server;
Described real-time guard module, data acquisition module, digital quantity input/output module, servo control module connect described letter
Number amplify and sensing module;
Described peripheral communication interface connects described PCB test machine;
Described image acquisition and processing parts connect described industrial CCD camera.
A kind of PCB with CCD correcting function that the present invention provides tests and control system, completes for pcb board golden finger
Live width is tested with the pcb board butting error pcb board less than 0.01mm automatically less than 0.05mm, FPC keyset.This system
The most stable, control accurately, be capable of analyzing in real time judgement.
Detailed description of the invention
For making the present invention become apparent, hereby with a preferred embodiment, and accompanying drawing is coordinated to be described in detail below.
As it is shown in figure 1, a kind of PCB test with CCD correcting function provided for the present invention and control system, this system
Including: the FPC keyset of position coarse adjustment and microscope carrier 50, fine-tuning sample stage 51, executing agency 40, PCB
Test machine 30, signal amplifies and sensing module 31, industrial CCD camera 32, logic control unit 20, man-machine interface
10 and data storage server 11.The input of FPC keyset and microscope carrier 50 carries with executing agency 40 and fine-tuning sample
The output of platform 51 is connected, and its output is connected with the input of FPC circuit board tester 30;Fine-tuning sample
The input of microscope carrier 51 is connected with the output of executing agency 40 and industrial CCD camera 32;PCB test machine
The other end of 30 is connected with logic control unit 20, it is achieved bidirectional data interaction;Signal amplification and the one of sensing module 31
End is connected with executing agency 40, and the other end is connected with logic control unit 20, and the connection at two ends all realizes two-way
Data interaction;The other end of industrial CCD camera 32 is connected with logic control unit 20, it is achieved bidirectional data transfers;People
Machine connection interface 10 is connected with logic control unit 20, it is achieved data double-way is mutual, data storage server 11 with patrol
Collect control parts 20 to be connected, it is achieved data double-way is mutual.
Described FPC keyset and microscope carrier 50, including FPC keyset and microscope carrier, FPC keyset is fixed along Y direction level
On microscope carrier, the input of FPC keyset is the most unsettled, after contraposition completes, with fine-tuning sample stage 51
Output is connected, and its output is connected with the input of PCB test machine 30, the input of microscope carrier and execution
The output of mechanism 40 is connected, and the input of fine-tuning sample stage 51 is connected with the output of executing agency 40,
Its output divides two parts, electric part to be connected to the input of FPC keyset, locus part and industrial CCD camera
The input of 32 is connected, and the input of executing agency 40 amplifies with signal and sensing module 31 is connected.Described execution machine
Structure 40 includes servo motor, the first servo electricity cylinder, the second servo electricity cylinder 403 and cylinder 404.The power output of servo motor
End is connected with the first Rotating input shaft of microscope carrier, and the encoder output of servo motor is connected with logic control unit 20, its
Input amplifies with signal and the output of sensing module 31 is connected, and is characterized in: servo motor single step step-length is 0.036 °,
Front end is with the reducing gear of 1:10, and the single step step-length of terminal shaft is up to 0.0036 °;The output of the first servo electricity cylinder with
Second translation power shaft of microscope carrier is connected, and its input amplifies with signal and the output of sensing module 31 is connected, its feature
Be single step step-length be 0.05mm, in order to change the relative position between FPC keyset and sample so that it is relatively position is inclined
Move less than or equal to 0.05mm;The output of the second servo electricity cylinder 403 is connected with the input of fine-tuning sample stage 51,
Its input amplifies with signal and the output of sensing module 31 is connected, and is characterized in that single step step-length is 0.005mm, in order to change
Become the relative position between FPC keyset and sample so that it is relative offset is less than or equal to 0.01mm;Cylinder 404
Input and signal amplify and the output of sensing module 31 is connected, be characterized in: by FPC keyset and microscope carrier 50 and
The two is pressed together after position adjustments completes by sample stage 51 closely.
Described PCB test machine 30, it completes the test of following classes: resistance test (type 0), capacity measurement
(Class1), inductance measurement (type 2), voltage tester (type 3), the type (type 4) such as testing current, short circuit is surveyed
Examination (type 5), open test (type 6), and test result data can be transferred to logic control by serial communication mode
Parts 20 processed.
As in figure 2 it is shown, described signal amplifies and sensing module 31 includes signal amplification module 311, sensing module 312, watch
Take driver 313, encoder 314.The input of signal amplification module 311 is connected with the output of logic control unit 20
Connecing, its output is connected to executing agency 40, and the output of sensing module 312 is connected to the input of logic control unit 20
End, servo-driver 313 includes the first servo-driver 3131, the second servo-driver 3132 and the 3rd servo-driver
3133, its input all outputs with logic control unit 20 are connected, the output of the first servo-driver 3131 with
The input of servo motor is connected, the output of the second servo-driver 3132 and the 3rd servo-driver 3133 respectively with
The input of the first servo electricity cylinder and the second servo electricity cylinder 403 is connected;Encoder 314 includes the first encoder 3141, the
Two encoder 3142 and the 3rd encoders 3143, its input respectively with servo motor, the first servo electricity cylinder and the second servo
The output shaft of electricity cylinder 403 is connected, and output is connected directly to the input of logic control unit 20.
Described signal amplification module 311 uses PLC switching value output module, be characterized in single channel output electric current up to
100mA, the ON/OFF response time is less than 10ms.
Described sensing module 312 is the switching input module of PLC, is characterized in that each module comprises 8 passages, often leads to
Road input current value 7mA(24VDC), interchannel Phototube Coupling.
As it is shown on figure 3, logic control unit 20 includes logic unit 201, EPA interface arrangement 202, outward
If communication interface 203, real-time guard module 204, data acquisition module 205, digital quantity input/output module 206, servo
Control module 207, image acquisition and processing parts 208.
Described logic unit 201 includes corresponding controller part and software systems, is the core component of system, completes
Real time data processing and the demand of control in real time.Controller part therein can be Industrial Control Computer, it is also possible to be based on
The built-in industrial real-time controller of FPGA.Logic unit 201 is connected with the first man-machine interface 10, it is achieved data
Visualization show and by manual command transmit to logic unit 201.
Described software systems, as shown in Figure 4, its work-based logic is as follows:
Examination type includes: resistance test (type 0), capacity measurement (Class1), inductance measurement (type 2), and voltage is surveyed
Examination (type 3), the type (type 4) such as testing current, short-circuit test (type 5), open test (type 6).
Test process is as follows:
1st step: whether have enabling signal, if it is, enter the 2nd step, if it does not, wait enabling signal;
2nd step: whether have alarm and protection signal, if it is not, then enter the 5th step;
3rd step: warning interrupt processing;
4th step: alert process terminates no?If it is, reenter the 1st step, if it does not, enter the 3rd step;
5th step: read sample bar code;
6th step: the first CCD calibration offset that reads, acquisition electricity cylinder 1 needs the position offset of movement;
7th step: electricity cylinder 1 drives upper mold to move to target location;
8th step: again read off CCD calibration offset, obtaining electricity cylinder 2 needs the position offset of movement;
9th step: electricity cylinder 2 motion lower mold moves, carries out the correction of second time position;
10th step: press under upper mold, FPC keyset is fully contacted with sample panel golden finger;
11st step: determine test-types i according to parameter preset;
12nd step: set k=0;
13rd step: whether test-types i is equal to k?If equal, then enter the 17th step, if it is not, then enter next step;
14th step: assignment k=k+1;
15th step: judge k≤6?If it is, return the 13rd step, if it does not, enter next step;
16th step: assignment k=0;
17th step: call the test program that test No. is k;
18th step: sending test to test machine and start pulse, test machine starts test;
19th step: wait 100ms;
20th step: test terminates no?If it does not, return the 19th step, if it is, enter next step;
21st step: upper mold rises, and FPC keyset separates with golden finger;
22nd step: electricity cylinder motion Aligning control;
23rd step: determine whether non-defective unit, if it is, enter the 25th step, if it does not, enter next step;
24th step: whether judgement sample is to test substandard products first?If it is, return the 6th step, if it is not, then enter next
Step;
25th step: mechanical arm is non-defective unit or substandard products blanking according to sample and sorts sample;
26th step: single sample test terminates, and returns the 1st step, waits next sample test enabling signal.
Described EPA interface arrangement 202, for 1000M Ethernet, in order to complete data storage server 11 and logic
Bidirectional data interaction between arithmetic unit 201.
Described peripheral communication interface 203, can be 232 serial ports or 485 serial port forms, in order to completion logic arithmetic unit 201
And the bidirectional data interaction between PCB test machine 30;
Described real-time guard module 204 is safety guard, is characterized in: the mistake moved when the moving component of equipment
Cheng Zhong, has once detected that " barrier " enters, and motion stops immediately;
Described data acquisition module 205 is 8 tunnels analogy amount analog input cards, and its feature is, 8 Channel Synchronous collections, often
Passage possesses 200KHz independent sample frequency, 16bit resolution ratio and the input of ± 10V analog signal.
Described digital quantity input/output module 206, in order to complete the digital output modul of digital quantity input and output, i.e. total with PCI
The mode of line realizes the bidirectional data interaction between logic unit 201 and signal amplification and sensing module 31, its feature
Be data sampling frequency be 200kHz, memory on board itself is 2M Byte.
Described servo control module 207, for pulse generating unit, is characterized in: pulse frequency is 1kHz~100kHz, number
Being 1MHz according to sample frequency, memory on board is 2M Byte.
Described image processing section 208, its input is connected with the output of industrial CCD camera 32, the picture that will obtain
Data are analyzed, and calculate and demarcate the deviation angle between reference position and offset coordinates on sample golden finger and keyset
Value, is directly output to logic unit 201 and is used for its control decision.
The general principle of the present invention, principal character and advantages of the present invention have more than been shown and described.The technical staff of the industry
It should be appreciated that the present invention is not limited by examples detailed above, the simply explanation present invention's described in examples detailed above and specification is former
Reason, the present invention also has various changes and modifications without departing from the spirit and scope of the present invention, these changes and improvements
Both fall within scope of the claimed invention.Claimed scope is by appending claims and equivalent circle thereof
Fixed.