#0019: Creating custom cables for test equipment

#0019: Creating custom cables for test equipment

Preamble

I wanted to write a little on test cables in general, more specifically about the actual quality of the cables available at the lower end of the consumer market. Highlighting the prevalence of these types of cables, including the products that they tend to accompany. I also intend to instruct briefly how the end user can test these cables and how they can create their own superior home-made versions.

Low-end retail cables for test equipment

In my opinion low quality cables are especially evident in instances where the cables come bundled in with many lower-end chinese consumer test devices, as opposed to purchased separately. This is especially true in cases where the product is unbranded. Think cheap test equipment such as: £10 multimeters, or £50 bench power-supplies. For example the probe cables that come with the DT-830 multimeter.

To clarify I am not talking about genuinely dangerous or illegal (according to british safety law) cables, just low quality ones. Things such as chinese power cables that do not comply with the british safety standards – which are genuinely hazardous to the user and not fit for purpose; are outside the scope of this article. Genuinely dangerous cables like that run the risk of being confiscated at customs. I wrote an article on such a cable; it was a non-compliant BS1363. Link below. No, I am specifically talking about cables such as the ones on multimeter probes, and on bench top power-supplies. Inoffensive dreck.

article hyperlink: #0004-dangerous-non-compliant-bs1363-plug

Example of low quality cables bundled with multimeter

What factors dictate a cables quality?

Many times low quality wires will have a noticeable resistance value across them. This is often due to the cost cutting measures of the manufacturers. These include constructing items with lax specifications (quality control), or by saving on materials used. For example by minimising the number of actual strands of the copper conductors present within the cable, or by opting for a cheaper material substitute such as aluminium.

These cables being built to such a restrictive price-point: is what makes them very flimsy, basically disposable in many cases. Many of these types of cables are in my opinion, are merely designed to just tick the “comes with accessories” box in a products’ marketing materials.

This unfortunately makes the cable virtually without genuine use outside of the specific one that it was manufactured for. Often not even that use-case for long, due to their general fragility. So if you have some of these low quality cables in use. It may benefit you to replace them as soon as convenient; as they may be hampering your devices’ ability to perform.

For example, cheaper multimeters such as the previously mentioned DT-830 or the XL830L, are generally rather accurate. Often staying within a less than 2% error deviation from each other. However any variable resistances across their probes’ cables may affect their readings. They may for example: cause a notable voltage drop when in use, or affect the threshold for a continuity test.

A good example of a low quality cable would be: a power-supply cable that I got with my chinese bench-top power-supply. An unbranded QW-MS305D. By the by, it was actually the same unit that came with the non-compliant BS1363 plug. Never-the-less, the power-supply’s cable in question was used to power devices under test with DC voltages; as such they contain a male banana jack on one end and a crocodile clip on the other.

Although it is a relatively cheap power-supply, it could still reliably output it’s rated 30 volts at 5 amps. The only issue with the out-of-box setup (minus the bad plug), was that the output cable heated up and often got soft when exposed to the higher amperages that the power-supply could output. Although it took sometime for this to happen, i.e. it needed continuous output over several minutes. I still judge the cable as unsuitable for purpose. One thing I found humorous after the fact is that the online seller that I bought from had this same accessory packaged with the 10 amp version of this power-supply as well (QW-MS3010D).

Example of low quality cables that came with the power-supply

Using salvaged materials to create custom cables

As a response to the performance of the bought cable, I retired it. I removed the cable ends and attached them to a salvaged mains cable; and it has worked fine since. I really like using salvaged mains cables for these types of applications. Especially ones from UK safety certified devices; and especially ones from heating units. Such as electric room heaters, or toasters, electric grills, kettles, etcetera. Basically anything that uses electricity to generate resistive heat. This is because their cables are specced to allow large amounts of current to pass through them without heating up themselves.

For example: a typical mains oil heater, is rated for 1500 watts. This means that it’s cables need to safely pass that amount of power across them concurrently while the device is in use. When converted to volts and amperes; this means that these cables are able to handle 240 volts AC at 6.25 amps. This leaves me confident that it can safely handle the maximum 5 amps, 30 volts DC of my power-supply over long periods of time.

They do this by having very little resistance across the cable length. This is accomplished by actually putting copper in your copper cables. Although after looking at the example photos that I have, it appears that this particular cable is actually using aluminium strands as conductors.;) However the point stands; there are sufficient conductors within the cable, that the current can pass across it unhindered. I.e. The cable is of a big enough gauge, not to bottleneck the higher currents.

One thing to pay attention to when creating your own cables beyond the quality of the cable itself; is how you connect the various plugs you wish to use to it. This is because a poor connection here can impede the passage of electricity; and add resistance to the line. I suggest firm connections with as much conductive surface area touching as practical. It is also good form to do a resistance test across the entire thing once completed.

Another good source for quality salvaged cabling, is old or damaged ethernet cables. The twisted pairs within work very well in lower voltage DC applications; including carrying signal voltages (like binary data). The pair windings are configured to minimising interference for their carried digital signals after-all.

I like to use them to make home-made breadboard jumper cables. This can be done by just unwinding a length of cabling, cutting to size, then tinning the ends so that they can interface with the breadboard. Will it pretty? probably not. Will it be functional? 100%.

You could also use ethernet cables for replacing a cable between an external DC power-supply (or power-brick) and it’s paired device (e.g. Laptop). I tend to opt to wind together a pair of cables, if I wish to reliably carry current at higher DC voltages (e.g. 20VDC @ 3A for a laptop). However any higher than that and you’d be better served by using thicker gauge wires.

Home-made custom cable for power supply

Example of resistance test used to determine cable quality

Closing thoughts

That’s all really. I just wished to highlight that some low end cables are not good, and to encourage you to create your own superior cables using parts from common household devices.

Thank you for reading.

#0010: Device analysis of a USB resistive load

#0010: Device analysis of a USB resistive load

Preamble

This will (hopefully) be a start to a series where I take a look into various devices and analyse them. My intention is to begin with very simple devices and steadily ramp up to more complicated ones as time goes on. The idea is to give the reader enough information about the device (design, function, components, etc) to the point that they can conceivably create their own. As well as in some cases recommending certain modifications, tools, adapters, or companion devices for optimal practical use.

Device information

This is a resistive load with a male USB plug interface. It’s intended function is for testing the current output of USB power-supplies and power banks. It has 2 current draw settings, these include: a 1 ampere and a 2 ampere mode. This device is operated using a two state slide-toggle switch, which allows alternating between the two current draw modes. Additionally it uses a common anode bi-colour LED as an indicator for these modes. Green for the 1 amp and red for the 2 amp mode.

The general layout and configuration of the 5 ohm wire-wound power resistors is what makes this device function. One resistor (R1) is always in circuit, in both the 1A and 2A mode. Within the 2A mode, R2 is added (in parallel to R1) to the circuit. Adding R2 in parallel to R1 reduces the circuit resistance to 2.5 ohms, which in turn draws 2 amps from the power supply.

1A mode: R1 in circuit (5V/5R=1A)
2A mode: R1 and R2 in parallel (5V/2.5R=2A)

Schematic

made using https://www.digikey.com/schemeit/
common anode bi-colour LED

Key

R1: 5 ohm wire-wound power resistor
R2: 5 ohm wire-wound power resistor
R3: 560 ohm resistor
L1: light emitting diode (green)
L2: light emitting diode (red)
S1: toggle slide switch

Recommended modifications

  • 3-state switch or additional switch (for device OFF state)
  • Heatsink / fan (to efficiently dissipate generated heat)
  • PTC resistor (as a safety temperature cut off)
  • male USB to female USB extension cable (for allowing easier multimeter access)

Additional switch

Due to both states of the USB resistive load’s two-state slide-toggle switch being used during the operation of the device, the device has no plugged-in OFF state. This means that it should not be left unsupervised whilst plugged into a power-supply as it would be active at either switch state. Either adding an additional two-state switch or replacing the current one with a three state-switch, will allow the device to have an OFF state. Whether or not this is considered valuable, is largely subjective. However personally, I like the option of turning a load off without necessarily having to unplug it.

Heatsink and fan

The reason why leaving this resistive load active and unsupervised is a concern; is predominantly due to the functioning of the two large 5 ohm power resistors. These resistors dissipate around 5 watts each (5V*1A=5W) and generate considerable heat as a result. Because of this, I recommend the addition of an appropriate heatsink to be attached to these resistors in order to dissipate this resultant heat. As it is now, during continuous operation the resistors heat up to the point that they can not be handled with a naked hand. This level of heat could pose a possible burn risk, or fire hazard.

The addition of a heatsink will allow the device to run continuously without reaching these same high temperatures, it does this by dissipating the heat generated within the resistors in a more effective manner. I.e. moving it into the environment quicker, so that it doesn’t concentrate within the device. An addition of a mounted 5 volt mini fan will enable the cooler ambient air to run through the fins of the heatsink and further improve it’s ability to move heat out of the device. I specify a 5 volts fan because it can be powered from the device itself.

In addition to allowing the device to be handled after extended periods of operation, a good heatsink will in all likelihood also extend the lifespan of the two 5 ohm power resistors. It does this by dissipating any generated heat before it reaches levels that may damage either the components themselves or their neighbours. Generally speaking: devices that run cooler, live for longer.

PTC thermistor

As an alternative to the above two fairly common sense modifications; one could also choose to incorporate a Positive Temperature Coefficient (PTC) thermistor as some kind of safety shut off in the cases where the device reaches any critically high temperatures during operation; essentially as a reusable temperature fuse. The reason why I am dubious in recommending this is that: although it will make the device safer to use in a continuous application; attaching a PTC thermistor in series with the two power resistors may actually affect the resistive load’s performance if not it’s ability to function entirely. I am not sure as I am inexperienced with the application of thermistors in general, and have yet to try this particular use-case out.

My working theory is that since a PTC thermistor increases resistance as it heats up, and with this device’s current draws; it will quickly lead to a positive feedback loop where it’s resistance generates heat, which will generate more resistance, and so on until no current can pass through it – essentially becoming open circuit. I believe that the heat generated from the low resistance power resistors will kick start that sequence; and that the increasing circuit resistance from the PTC thermistor will quickly negate the the power resistors’ ability to draw current. Even if the thermistor’s resistance doesn’t increase to the point of open circuit. It only needs to be consistently higher than the power resistors’ 5 ohms in order to hamper device functionality.

Still, perhaps there is a configuration where the PTC resistor will not negatively affect the power resistors, while still being functional as a thermal fuse. Perhaps if the trip temperature of the thermistor was high enough, or it had a position on the device where it only heated up in cases of catastrophic environmental temperatures. Basically a setup that allowed for the added safety of having a thermistor in circuit without it negatively affecting the functionality of the device.

USB extension cable

I decided to create my own USB extension cable rather than use a prebuilt one. The main reason for this is that I fear that a random off the shelf unit my not be designed to handle current draws of 2 amperes (even if it’s vendor says that it is). This would mean that the cable itself would provide a level of resistance that would become a limiter to the amount of current that the resistive load can draw.

Generally if a USB cable is offering resistance, it will be in it’s cable and not in it’s plug and socket. Either the cable itself is too thin of a gauge, made of inferior materials (aluminium instead of copper), or is long enough to cause voltage drops at higher currents. With this in mind, I used thick gauge copper power cables (taken from an extension cord), and a salvaged USB plug and socket. I also made sure to keep the total length of the cable short; just being long enough to allow comfortable use of a clamp style multimeter.

Which actually brings me to the purpose of this little extension. The pictured USB extension cable is designed to allow the use of a clamp multimeter (one that can measure DC current). Alternatively, if I didn’t have a clamp multimeter, I would cut the 5 volt line in half and terminate it’s two ends with banana plugs. That way I can insert a regular multimeter in series within the circuit; and measure the actual current draws.

As an alternative to using a DIY USB extension and a multimeter, one could just buy a USB voltmeter/ammeter. Such as the one pictured. Although these things, in my opinion can skew the results: due to them (in my experience) imparting some level of resistance on the circuit; they are certainly more convenient to use. Which one a person prioritises: accuracy, or speed (neatness, etc.) will largely depend on their preferences and use-cases.

Closing statements

Although the build quality of this device is more than acceptable (i.e. it doesn’t feel like a shoddy product), it is clearly built to a price point. Only having near enough the absolute necessary components to function. I believe this to be the case, not just because of the miniscule bill of materials (BOM), or the use of inexpensive components in that list. But rather because of the in my opinion necessary things that were left out; namely a basic heatsink.

Although it actually functions fine as is; at least for short operations. If you wish to use this device safely continuously for longer periods of time than a couple of minutes, modifications will need to be made.

Sources, references, further reading

https://en.wikipedia.org/wiki/Thermistor#PTC

https://sciencing.com/difference-between-resistive-inductive-loads-12181159.html