Tracking down and finding short circuits on a PCB can always be a challenge. The resistance can be down to micro-Ohms. Not every meter can measure that low and the meters that can measure micro-Ohms are very costly and you still have to deal with noise picked up in the cables and the variable resistance caused by pressure variations when probing.
Often engineers and technicians will resort to destructive methodologies such as cutting traces, lifting pins on ICs or applying high current to “blow out” the short circuit or use freeze spray to find hot spots. Each of these potentially destructive methods can lead to long term reliability issues. For instance, cutting traces and lifting IC pins reduce the reliability of the board. Using a power supply to heat or blow out the short circuit risks damaging the board beyond repair by either causing it to delaminate or, if the power supply doesn’t regulate below 200mV when the short blows, damage or destroy semiconductors on the board. A whole paper can be written on the perils of blowing shorts covering topics that include decreasing trace geometries, semiconductor stress, power supply regulation, inductive kickback and thermal damage to laminations.
This post presents a cost effective solution using a Cypress PSoC5LP (http://www.cypress.com/?id=4562&source=productshome) working as a micro-Ohm/micro-volt meter using either 3 or 4 test leads. Either the PSoC3 or PSoC5LP will work as they both have the requisite IDAC and 20-bit ADC.
Details
The diagrams below are drawn with the free Cypress PSoC Creator tool. The design started with a sample project from PSoC Creator “ADC_DelSig Example project” intended to use with the CY8CKIT-050LP evaluation kit. The example project shown here shows how to use the ADC to drive the display provided in the development kit. The displayed values will be in volts. After starting with the sample project, the design was expanded to include the other components. Cypress has a rich set of sample projects and application notes and very often one of them can be used as a starting point to familiarize yourself with key aspects of the device. This video shows how to load sample projects from PSoC Creator so you can quickly start your own projects.
Another helpful example project found in the CY8CKit-050LP folder under “Find Example Projects” is VoltageDisplay_DelSigADC.cywrk. This example is similar to the ADC_DelSig Example project but filters out noise and the source code is more complex which is why it wasn’t used here. The VoltageDisplay_DelSigADC.cywrk also converts the measurements to uVolts using PSoC Creator’s built in conversion routines.
In the following diagram the section of circuit between the IDAC8 and PGA are external to the PSoC5LP and only 3 resistors plus bypass capacitors are required to realize this design. The red dashed line shows current flow through the variable resistance path of the connectors and test leads. Even when the contact and lead resistance are varying, the voltage drop across short circuit remains constant and the low currents from the ISource_DAC keep the circuit from heating up and changing the resistance of the short.
The design limits the voltage to 100 mV to keep semiconductors on the board from being biased on and the programmable current of the ISource_DAC prevents destructive currents from flowing. Firmware can be written to source low currents and increase until the test current puts out approximately 1V. The PGA has software selectable gain starting at 1 that doubles up to the highest gain of 50 making the circuit extremely sensitive. The delta-sigma ADC is set for 20-bits and with the reference set to 1 Volt the resolution is about 1uV. The R_1 and R_2/R_4 divider are for protection against accidental connection to a live circuit. R_3 allows you to use 3 wires instead of 4 wires.
Firmware
The example project software can be used almost as is with a few minor changes. The ISource_DAC_Start() and PGA_1_Start functions should be called right before the ADC_DelSig_1_Start() function is called. The ISource_DAC current defaults to ½ the Range set in the IDAC_Source configuration screen. Since R_1 and R_r divide the measured voltage by 2 then the ADC measurement should be scaled accordingly.
Using the Circuit to Find Shorts
For best results four leads should be used with a shielded cable and short lead lengths for the measurement leads. The leads coming from J_1 are connected across the shorted traces at any point that is easily accessed. The P_2 pin 2 can be omitted or connected anywhere on the trace connected to J_1 pin 2. If P_2 pin 2 is connected then the measurement accuracy can be improved but for finding short circuits we are only interested in relative readings. The lead from P_2 pin 1 is used to track the short down. Start at any point on the trace connected to P_1 pin 1. Move the probe to exposed nodes on the trace. The voltage will increase as you move further from the short, decrease as you get closer to the short and have no change when you take a branch of the circuit that is moving away from the short as there is no current flowing through that branch. Once you find the lowest resistance point use circuit trace printouts to determine the point where the traces come in close proximity to one another near the low resistance location. It may require removing parts to expose the short if it is underneath a component.
Readers might also be interested in the following element14 discussions:
PSoC 5 PCB Design Using Eagle
Upcoming PSoC 5LP/Pioneer board Mini-Challenge
And the following App Note on element14 will prove useful:
Cypress: Application Note (AN77759) for Getting Started with PSoC 5LP