Circuit board testing device and realization socket and the adaptive method of line plug position
Technical field
The present invention relates to the measuring technology of circuit board, particularly circuit board testing device and realization socket and the adaptive method of line plug position.
Background technology
Along with development of science and technology, electronic product widespread use in daily life and commercial production, circuit board is as the important component part of electronic product, and its performance is directly determining the quality of entire product on a lot of degree, and the test of circuit board plays a part crucial.
In the circuit board testing process, need that the circuit-under-test plate will be pressed into its suitable anchor clamps and make its engaged test pin, testing needle links to each other with the anchor clamps socket with lead, and the anchor clamps socket is connected with function card with the plug wire plug, and promptly the circuit-under-test plate links to each other with function card indirectly by anchor clamps.Each proving installation is equipped with some kinds of function cards, and every kind of function card has several again.Different function cards is finished different functions.Function card of the same race can be carried out identical functions, and identical shaped line plug is arranged.When a plurality of function printed line plugs linked to each other with socket, not so the differentiation of must marking of identical shaped function printed line plug and socket was easy to incorrect link feature board and socket and causes fault to take place.Because in process of production, should produce needs the change of circuit-under-test plate can make its suitable anchor clamps often in company with change, suitable anchor clamps of circuit board this moment and function card often need reconnect, be easy to take place connection error according to the artificial identification connection of sign, simultaneously also need to expend the plenty of time, be unfavorable for the raising of production efficiency.
Summary of the invention
In order to overcome the deficiencies in the prior art, the object of the present invention is to provide a kind of circuit board testing device.
Another object of the present invention is to provide the foregoing circuit board test device to realize socket and the adaptive method in function card position.
Purpose of the present invention is achieved through the following technical solutions: circuit board testing device comprises test fixture, socket, line plug, function card, computing machine; Described computing machine is provided with identification module; Described socket is installed on the test fixture; Each socket is connected with the line plug that conforms to its shape; Described line plug is connected with function card; Described function card is connected with computing machine, is connected with a marker circuit on each socket; The identification end of described status signal circuit is connected with computing machine; Any two identical marker circuits that socket connected of shape contain a mutually different electric parameter at least.
Described marker circuit is m, and the i marker circuit is by resistance R
iAnd resistance R
i' form; Power supply is successively through resistance R
i', R
iGround connection, described resistance R
iWith resistance R
i' tie point as the identification end of marker circuit; The R of a described m marker circuit
iResistance is different, R
i' resistance equal R
1', 1≤i≤m wherein.
Circuit board testing device is realized socket and the adaptive method of line plug position, may further comprise the steps:
(1) marker circuit is installed: a marker circuit is installed on each socket; The identification port of status signal circuit is connected with computing machine; Any two identical marker circuits that socket connected of shape contain a mutual different electric parameter at least, and this parameter is called characterisitic parameter;
(2) programming: be respectively function card, socket, marker circuit numbering; Confirm the test function item of each socket; The line plug insertion socket that will conform to socket shape; Test function item according to each socket is write the test procedure corresponding with it; The numbering of the test function item of the numbering of socket, this socket, the marker circuit that is connected with this socket, the characterisitic parameter of this status signal circuit are formed data set, and stored in the memory device of computing machine for behind the data set number;
(3) reconnect: when needs reconnect plug wire head and socket, the line plug insertion socket that will conform to socket shape;
(4) identification: the identification module of computing machine is discerned the characterisitic parameter of the pairing marker circuit of socket that each function card connects, discern socket, and call corresponding testing program according to the socket numbering that writes down in the pairing data set of this characterisitic parameter, marker circuit numbering, characterisitic parameter according to the function card that test function Xiang Weiqi connected of each socket;
(5) test: computing machine is according to the function card corresponding testing program, by connected socket the circuit-under-test plate is exported test signal, function card carries out data acquisition by socket to the circuit-under-test plate, computing machine judges that according to the data that collect whether the circuit-under-test plate is qualified, finishes test function.
Described marker circuit is m, and the i marker circuit is by resistance R
iAnd resistance R
i' form; Power supply is successively through resistance R
i', R
iGround connection, described resistance R
iWith resistance R
i' tie point as the identification end of marker circuit; The R of a described m marker circuit
iResistance is different, R
i' resistance equal R
1', 1≤i≤m wherein.
Described step (4) identification: the identification module of computing machine is discerned the characterisitic parameter of the pairing marker circuit of socket that each function card connects, according to the socket numbering that writes down in the pairing data set of this characterisitic parameter, marker circuit numbering, characterisitic parameter identification socket, and call corresponding testing program according to the function card that test function Xiang Weiqi connected of each socket, detailed process is: the voltage U of the identification end of i the socket corresponding identification circuit that j function card of COMPUTER DETECTION connects
i, 1≤j≤n wherein;
By
Can get
Computing machine is according to detected R
iValue is searched and R
iThe data set that value is corresponding, by the socket numbering that writes down in the data set, marker circuit numbering, characterisitic parameter as can be known, j function card is connected with i socket, then can call corresponding testing program according to a test function Xiang Weidi j function card of i socket.
With respect to prior art, the present invention has the following advantages and effect: the present invention installs marker circuit on socket, by programming behind line plug linkage function card and the socket; In the time need reconnecting socket and line plug because of production requirement, can arbitrarily plug be inserted the socket that conforms to its shape, the characterisitic parameter of the marker circuit that is connected with socket by COMPUTER DETECTION is realized the identification to socket again, calls corresponding testing program for the function card that links to each other with socket again; And the command program of each function card is a predetermined fixed in the prior art, need the people for distinguishing whether line plug and socket mate, and this process is made mistakes easily and need expend the plenty of time, the present invention has overcome this shortcoming of prior art, self-adaptation by computer realization plug wire plug position, accuracy of judgement and efficient height have been saved human resources, have improved production efficiency.
Description of drawings
Fig. 1 is the synoptic diagram of circuit board testing device of the present invention.
Fig. 2 is the circuit diagram of the marker circuit of circuit board testing device of the present invention.
Fig. 3 is the process flow diagram that circuit board testing device of the present invention is realized socket and the adaptive method of line plug position.
Fig. 4 is that circuit board testing device of the present invention is realized socket and the synoptic diagram of the adaptive method of line plug position when carrying out programming step.
Fig. 5 realizes socket and the synoptic diagram of the adaptive method of line plug position when execution reconnects step for circuit board testing device of the present invention.
Embodiment
Below in conjunction with embodiment and accompanying drawing, the present invention is described in further detail, but embodiments of the present invention are not limited thereto.
Embodiment
As shown in Figure 1, circuit board testing device of the present invention comprises test fixture, a m socket, a n line plug, a n function card, computing machine; Described computing machine is provided with identification module; A described m socket is installed on the test fixture, is connected with m marker circuit, n 〉=m on m the socket; The identification end of status signal circuit is connected with computing machine; The line plug that each socket conforms to its shape is connected (shape of establishing for convenience of description, m socket in the present embodiment is identical); The line plug is connected with function card; Function card is connected with computing machine.
M marker circuit has identical structure, and each marker circuit is made up of two resistance, and as shown in Figure 2, (marker circuit of 1≤i≤m) is by resistance R for i
iAnd resistance R
i' form; Power supply is successively through resistance R
i, R
i' ground connection, resistance R
iWith resistance R
i' tie point as the identification end of marker circuit; The resistance R of m marker circuit
iBe respectively R
1, R
2, R
3... R
i... R
m, R wherein
1, R
2, R
3... R
i... R
mBe one group of mutually different numerical value; Resistance value R
1'=R
2'=...=R
i' ...=R
m', characterisitic parameter is R
i
As shown in Figure 3, circuit board testing device of the present invention is realized socket and the adaptive method of line plug position, and step is as follows:
(1) marker circuit is installed: on each socket, marker circuit is installed; The identification port of status signal circuit is connected with computing machine; Described marker circuit is m, and m marker circuit has identical structure, and each marker circuit is made up of two resistance.(marker circuit of 1≤i≤m) is by resistance R for i
iAnd resistance R
i' form; Power supply is successively through resistance R
i, R
i' ground connection, resistance R
iWith resistance R
i' tie point be connected with the identification port of identification module as the identification end of marker circuit; The resistance R of m marker circuit
iBe respectively R
1, R
2, R
3... R
i... R
m, R wherein
1, R
2, R
3... R
i... R
mBe one group of mutually different numerical value; Resistance value R
1'=R
2'=...=R
i' ...=R
m', characterisitic parameter is R
i
(2) programming: n function card is numbered K
1, K
2... K
i... K
nM socket is numbered Z
I, Z
2... Z
i... Z
mM marker circuit is numbered B
1, B
2... B
i... B
mConfirm the test function item of each socket; Test function item according to each socket is write the test procedure corresponding with it; Wherein 1~n is a n unduplicated integer, and 1~m is m and does not repeat integer, and n 〉=m.
As shown in Figure 4, the line plug insertion socket that will conform to (for convenience of description, establish in the present embodiment shape of m socket identical) with socket shape; This step function card K in the present embodiment
1With socket Z
1Connect socket Z
1With marker circuit B
1Connect function card K
2With socket Z
2Connect socket Z
2With marker circuit B
2Connect ... function card K
mWith socket Z
mConnect socket Z
mWith marker circuit B
mConnect; The label of the test function item of the numbering of socket, this socket, the marker circuit that is connected with this socket, the characterisitic parameter of this marker circuit are formed data set, be about to socket Z
1, characterisitic parameter R
1, socket Z
1The test function item form data set G
1, with socket Z
2, characterisitic parameter R
2, socket Z
2The test function item form data set G
2... with socket Z
m, characterisitic parameter R
m, socket Z
mThe test function item form data set G
m, with data set G
1, G
2... G
mStore in the memory device of computing machine.
(3) reconnect: in process of production, need to reconnect plug wire head and socket owing to produce, the line plug insertion socket that arbitrarily will conform to socket shape this moment, that is, and function card K '
1, K '
2... K '
mBy line plug L
1, L
2... L
mDifference gang socket Z
I, Z
2... Z
m(as shown in Figure 5), K ' wherein
1, K '
2... K '
mBe K
1, K
2... K
nIn the arrangement of the arbitrary form that forms of any m numbering.
(4) identification: the identification module of computing machine is discerned the characterisitic parameter of the pairing marker circuit of socket that each function card connects, and promptly detects each marker circuit B
iThe voltage U of identification end
i, by
Can get
Computing machine is according to detected R
iValue is searched and R
iThe data set G that value is corresponding
i, by data set G
iThe socket numbering Z of middle record
i, marker circuit numbering B
i, characterisitic parameter R
iAs can be known, function card K '
iWith socket Z
iConnect, then can be according to socket Z
iThe test function item be function card K '
iCall corresponding testing program.
(5) test: computing machine is according to the function card corresponding testing program, by connected socket the circuit-under-test plate is exported test signal, function card carries out data acquisition by socket to the circuit-under-test plate, computing machine judges that according to the data that collect whether the circuit-under-test plate is qualified, finishes test function.
The foregoing description is a preferred implementation of the present invention; but embodiments of the present invention are not limited by the examples; can adopt other circuit as marker circuit; it is first-class that identification module can be integrated in function card; other any do not deviate from change, the modification done under spirit of the present invention and the principle, substitutes, combination, simplify; all should be the substitute mode of equivalence, be included within protection scope of the present invention.