Electronic – Design of Wiring Harness Tester for Automobiles

automotivemicrocontrollermultiplexerwiring

I've been given a task to design a wiring harness tester for automobiles. The tester's job is to test wiring harnesses which can contain upto 300 wires. My initial design was quite simple. Feed the wires 5V and connect them to multiplexers. The AVR can address the mux and test each line to see if its high. If its high, the wire is good to go. In my "back of the envelope" design I chose to use 10 32-channel mux.

Of course, addressing each would also take 50 pins in itself – not practical. But I could address each using the same pins – that is, I could wire them in parallel. So if I set mux 1 to select line 12, the rest of the 9 mux also do that. The uC can then check to see if all these 10 lines are high – if so, they are all good to go.

However, I also need to check to see if two lines (or more) are short circuited. Obviously, this means that I'll need to make sure that the only the line being addressed is high. How can I ensure this? To my understanding, I'm going to need some sort of device which can switch voltages for lines.

I thought of using a demultiplexer to switch the 5V onto the wire being tested. So suppose wire 'B' is being tested – the uC would switch 5V onto wire 'B' and then run through all wires to see if they are high. If only the other end of wire 'B' (i.e. B`) are high, then the wire is good.

What would be the best way to approach this problem? My ultimate goal is to test the entire wiring harness and then display the errors (or lack of) on a 20 x 4 LCD.

Best Answer

A few other things to consider. Is this a 12 vdc system (the most common voltage on autos) or 24 or even 48 (commercial and military)? As a general rule of thumb you want to test at two to three times your rated voltage. So 24 to 36 VDC. for a standard 12 volt system. This helps find weak spots in the insulation.

Next, is this strictly power and signal wiring? Most autos today use data buses like CAN. In this case you need to send signals, not just voltage. You also need to look for cross talk.

You need to pay special attention to any shields. Ignition wiring must be adequately shielded to prevent EMI.

There needs to be a load on the system and not just testing for voltage. A high resistance connection will show a good voltage as long as current is low. You could test for resistance instead of voltage, but I have seen a few cases where even a circuit that shows very low resistance cannot conduct enough amperage.

Finally you should subject the harness to flexing and even thermal effects to simulate what it will experience in use.

I realize this an extensive list for testing. Some will argue it is not needed, but a bad wire harness on a car or truck will lead to expensive down time and repairs. I know I had the misfortune of having such a car a couple of decades ago. I still will not buy that brand of vehicle.