Background technology
After automotive wire bundle is meant the contact element terminal (connector) that formed by the copper material punching out and electric wire crimping, outside plastic compression insulator or added metal housing etc. again, tie up with wire harness, connect connector, form the assembly of connecting circuit, it is the network principal of automobile circuit.Along with the raising of people to security, comfortableness, economy and the emission performance requirement of automobile, electrical arrangement on the automobile, function are also more and more, reliability requirement to automotive wire bundle is more and more higher, this just requires automotive wire bundle is carried out strict detection and a large amount of tests in process of production, to guarantee the total quality of automobile.The means that the wire harness conducting is detected at traditional scene are to adopt multimeter, hummer or pilot lamp, pointwise overlaps by hand, having by observation denys the break-make that electricity, sound or light signal are judged every connecting line, investigation check to mistake also can only be by root circuit investigation, not only speed is slow, efficient is low, and causes the false retrieval and the omission of wire harness easily.
" Chinese journal of scientific instrument " 2005, No.2, a kind of automotive wire bundle detection method introduced in " design of wire harness automatic tester " literary composition of the last publication of P99-103, select a terminal to apply certain voltage successively, read to remain the level of terminal, behind the intact terminal of every scanning, contrast with the standard loop table immediately, and misregistration information, scanned all terminals after, carry out the wire harness localization of fault again.This method need be to all terminal point by point scanning, and it is huge to cause detecting data volume, and the time of fault location algorithm is long, and detection efficiency is low; And because each terminal should again as lead-out terminal, increase the complicacy of hardware design as input terminal.
Summary of the invention
The objective of the invention is provides a kind of automotive wire bundle detection method that can improve automotive wire bundle fault detect efficient, reduce detect cost for overcoming above-mentioned the deficiencies in the prior art, and a kind of pick-up unit of realizing simple in structure, the convenient and reliable operation of this detection method is provided simultaneously.
The technical scheme of automotive wire bundle detection method of the present invention comprise the steps: (1) respectively with standard wire harness and wire harness to be measured by the conduction grouping, every group has a input terminal and b lead-out terminal, and m control of a input terminal connection delivery outlet, b n of a lead-out terminal connection of standard wire harness are controlled an input port and begun to detect; Actual detected capacity a * b is m * n less than maximum detection capacity; (2) from a input terminal of standard wire harness, choose a wire harness successively, microcomputer applies low level signal for this standard wire harness by m control delivery outlet, all the other standard wire harness apply high level signal, read and store the standard wire harness response matrix Rs level signal by b lead-out terminal response generation of n control input port input simultaneously; Repeat so successively to detect end until a standard wire harness; (3) from a input terminal of wire harness to be measured, choose a wire harness successively, microcomputer applies low level signal for this wire harness to be measured by m control delivery outlet, all the other wire harness to be measured apply high level signal, read and store the wire harness response matrix Rc level signal to be measured by b lead-out terminal response generation of n control input port input simultaneously; Repeat so successively to detect end until a wire harness to be measured; (4) microcomputer carries out the dimensionality reduction computing to two described response matrix Rs of storage and Rc and obtains standard wire harness response matrix
With wire harness response matrix to be measured
, it is actual detected capacity a * b that maximum is detected capacity m * n dimensionality reduction; (5) microcomputer is by the logical operation standard wire harness response matrix behind the dimensionality reduction relatively
With wire harness response matrix to be measured
The element of same position obtains fault judgment matrix
,
Be the XOR of matrix element, if
R e =
, wire harness non-fault to be measured, otherwise fault is arranged.
The technical scheme that automotive wire bundle pick-up unit of the present invention adopts is: microcomputer is connected with power circuit, address decoding circuitry, a m control delivery outlet and n control input port respectively, and the output of address decoding circuitry connects n control input port and m control delivery outlet respectively; M control delivery outlet and n the equal control criterion logical signal in control input port.
The beneficial effect that the present invention has is:
1, operates problems such as replacing hand-manipulated, detection efficiency height, difficult generation false retrieval or omission automatically with microcomputer.
2, carry out the computing of matrix dimensionality reduction by microcomputer, reduce the processing time greatly, improved detection efficiency.
3, control interface is the interface of standard, is convenient to it is carried out secondary development, thereby can promotes the use of.
Embodiment
Shown in accompanying drawing 1, the output of an automotive wire bundle pick-up unit provided by the present invention, input end connect input, the lead-out terminal of automotive wire bundle 112 respectively, and this automotive wire bundle pick-up unit comprises: m control delivery outlet 108 of microcomputer (MCU) 106, power circuit 102, address decoding circuitry 110, expansion, n keyboard 116 and the display 104 of controlling input port 114 and being used for man-machine interaction of expansion.Microcomputer 106 connects power circuit 102, address decoding circuitry 110, a m control delivery outlet 108, n control input port 114, keyboard 116 and display 104 respectively.Keyboard 116 and display 104 respectively are serially connected between power circuit 102 and the microcomputer 106.The output of address decoding circuitry 110 connects n control input port 114 and m control delivery outlet 108 respectively.The output of power circuit 102 is connected with n control input port 114, a m control delivery outlet 108, keyboard 116, display 104 and microcomputer 106 respectively, so that power supply to be provided.The lead-out terminal of automotive wire bundle 112 connects microcomputer 106 by n control input port 114, and the input terminal of automotive wire bundle 112 connects microcomputer 106 by m control delivery outlet 108.
M control delivery outlet 108, a n control input port 114 all are designed to control criterion logical signal (Transistor-Transistor Logic level).
Determined that by n control input port 114 and m control delivery outlet 108 the maximum detection capacity of automotive wire bundle 112 is m * n.
Referring to Fig. 2, when adopting the pick-up unit detection automotive wire bundle of Fig. 1, at first Wiring harness terminal is divided into groups by connectedness, all terminals in one group all are communicated with, get of the input of a terminal in every group as wire harness, all the other terminals in this group are as the output of wire harness, and so just all terminals with wire harness are divided into input and output two big classes.After as stated above terminal being classified, the standard wire harness is chosen a terminal successively apply low level, all the other apply high level, and read the response of lead-out terminal, write down this response matrix, and wire harness test process to be measured is so analogized.By behind the response matrix dimensionality reduction of microcomputer 106 with record, logic wire harness response matrix more to be measured and standard wire harness response matrix carry out sending testing result by keyboard 116 and display 104 after the analysis of abort situation and type at last then.Concrete detection method is as follows:
Step 202: did test before this and prepare, standard wire harness and wire harness to be measured are divided into groups by conduction.The standard wire harness by conduction grouping, is all divided the terminal of intrafascicular all connections of standard lines in same group, and every group has a input terminal and b lead-out terminal.The method of wire harness grouping to be measured is the same with the standard wire harness, and wire harness to be measured also has a input terminal and b lead-out terminal for every group.After grouping finishes,, make m control of a the input terminal connection delivery outlet 108 of standard wire harness, b lead-out terminal of standard wire harness connect n control input port 114 with the automotive wire bundle pick-up unit of standard wire harness access Fig. 1.Actual detected capacity a * b is m * n less than the maximum detection capacity in Fig. 1 device.
Step 204: detect beginning.
Step 206: intrafascicular at standard lines, from a input terminal, choose a wire harness successively, microcomputer 106 applies low level signal (TTL) for this wire harness by m control delivery outlet 108, all the other wire harness apply high level signal, microcomputer 106 reads the level signal of n control input port 114 simultaneously, this level signal is to be produced by b lead-out terminal response, is the response signal of standard wire harness.
Step 208: microcomputer 106 is with the standard wire harness response matrix Rs storage of b lead-out terminal of standard wire harness;
Step 210: repeating step 206 and step 208 detect until a standard wire harness and finish successively, and microcomputer 106 judges whether a standard wire harness detects end, do not finish if detect, and repeating step 206 and step 208, otherwise carry out next step 212;
Step 212: in wire harness to be measured, from a input terminal, choose a wire harness successively, microcomputer 106 applies low level signal (TTL) for this wire harness to be measured from m control delivery outlet 108, all the other wire harness apply high level signal, microcomputer 106 reads the level signal of n control input port 114 simultaneously, and this level signal is to be produced by b lead-out terminal response;
Step 214: microcomputer 106 is with the wire harness response matrix Rc storage to be measured of a wire harness b lead-out terminal to be measured;
Step 216: judge whether wire harness to be measured detects end, if detect to finish, then repeating step 212 and step 214 successively, otherwise carry out next step 218;
Step 218: the standard wire harness response matrix Rs of 106 pairs of storages of microcomputer and wire harness response matrix Rc to be measured carry out the dimensionality reduction computing, the dimensionality reduction computing is by the embedded dimensionality reduction matrix of
microcomputer 106, utilizes the matrix multiple principle, the maximum of Fig. 1 device is detected capacity, and m * the n depression of order is actual detected capacity a * b, i.e. a of an actual wire harness to be measured input terminal and b lead-out terminal.The dimensionality reduction computing obtains the standard wire harness response matrix behind the dimensionality reduction
With wire harness response matrix to be measured
:
, wherein, matrix
, matrix
For guaranteeing that the value of effective element does not change matrix after the dimensionality reduction computing
PEach the row and matrix
QEach row all have only an element 1, all the other elements are 0, determine matrix by following steps
PWith
QElement:
Step 1 is provided with matrix
PBe null matrix, that is:
P=
Step 2 is sought standard wire harness response matrix by following formula
R s In contain the row of 0 element:
In the formula,
Be standard wire harness response matrix
R s Element,
Be row matrix number,
Be rectangular array number,
Be standard wire harness response matrix
R s All elements be 0 row number,
It is standard Wiring harness terminal number.
Step 3 is provided with null matrix by following formula
P=
In be 1 element, that is:
In the formula,
Be standard wire harness response matrix
R s All elements be 0 row number,
It is standard Wiring harness terminal number.
Step 4 is provided with matrix
QElement, that is:
In the formula,
Be standard wire harness response matrix
R s Element,
Be rectangular array number,
Be row matrix number,
Be standard wire harness response matrix
R s All elements be 0 row number,
It is Wiring harness terminal number;
Be matrix
QElement.
Step 5 is utilized matrix
PWith
QTreat survey line bundle response matrix
R c Carry out dimensionality reduction:
。
Step 220: logic relatively,
microcomputer 106 carries out logical operation, i.e. the standard wire harness response matrix behind the dimensionality reduction relatively
With wire harness response matrix to be measured
The logical operation of
microcomputer 106 is to utilize its embedded XOR program, and relatively the standard wire harness response matrix Rs behind the dimensionality reduction and the element of wire harness response matrix Rc same position to be measured provide fault type again by result relatively.Standard wire harness response matrix behind the dimensionality reduction of the present invention
With wire harness response matrix to be measured
Obtain fault judgment matrix through logic after relatively
R e :
Wherein,
Be the XOR of matrix element, if
R e =
, then represent wire harness non-fault to be measured; Otherwise represent that wire harness to be measured has fault, at this moment
With
In each row neutral element number sum be:
?;
Wherein,
, obtain discriminant vector
With
Can carry out fault analysis.The fault type of wire harness to be measured comprises: open circuit fault, dislocation fault, short trouble and non-fault, and the fault particular type of wire harness to be measured and the method for discrimination of position are as follows:
(1) open circuit fault, if:
Wherein,
, expression
kNumber input terminal applies low level signal, and its corresponding lead-out terminal response is not low level entirely, so
kThe corresponding wire harness of number input terminal exists and opens circuit.Its off position is:
Place's (input terminal node
jThe place exists and opens circuit).If
, input terminal then
kThe place opens circuit.
(2) dislocation fault, if:
;
Wherein,
Expression
Number input terminal applies low level signal, and lead-out terminal low level number of responses is correct, but adjacent two lead-out terminals
With
Response levels mistake all appears, so adjacent two lead-out terminal nodes
And leaf node
Dislocation.
(3) short trouble, if:
In the formula,
, represent that two is adjacent
Or
Number given low level of input terminal, the lead-out terminal of two corresponding wire harness of input terminal all responds low level, then an input terminal
Corresponding wire harness and another input terminal
Corresponding wire harness short circuit.
Step 222: end of test (EOT).