Measuring current draw of home shop tools

Using Homebrew Coils To Measure Mains Current, And Taking The Circuit Breaker Challenge

Like many hackers, [Matthias Wandel] has a penchant for measuring the world around him, and quantifying the goings-on in his home is a bit of a hobby. And so when it came time to sense the current flowing in the wires of his house, he did what any of us would do: he built his own current sensing system.

What’s that you say? Any sane hacker would buy something like a Kill-a-Watt meter, or even perhaps use commercially available current transformers? Perhaps, but then one wouldn’t exactly be hacking, would one? [Matthias] opted to roll his own sensors for quite practical reasons: commercial meters don’t quite have the response time to catch the start-up spikes he was interested in seeing, and clamp-on current transformers require splitting the jacket on the nonmetallic cabling used in most residential wiring — doing so tends to run afoul of building codes. So his sensors were simply coils of wire shaped to fit the outside of the NM cable, with a bit of filtering to provide a cleaner signal in the high-noise environment of a lot of switch-mode power supplies.

Fed through an ADC board into a Raspberry Pi, [Matthias]’ sensor system did a surprisingly good job of catching the start-up surge of some tools around the shop. That led to the entertaining “Circuit Breaker Challenge” part of the video below, wherein we learn just what it really takes to pop the breaker on a 15-Amp branch circuit. Spoiler alert: it’s a lot.

Speaking of staying safe with mains current, we’ve covered a little bit about how circuit protection works before. If you need a deeper dive into circuit breakers, we’ve got that too.

Continue reading “Using Homebrew Coils To Measure Mains Current, And Taking The Circuit Breaker Challenge”

High Current Measurement Probe For Oscilloscopes

A decent current measurement sensor ought to be an essential part of every hacker’s workbench. One that is capable of measuring DC, as well as low and high frequencies with reasonable accuracy. And bonus credits if it can also withstand high bus voltages – such as those found in mains utility or electric vehicle work. [Undersilicon] couldn’t find one that ticked all the boxes, so he built an ACS730 based AC/DC current probe capable of measuring up to 25 A at frequencies up to 1 MHz.

Allegro Microsystems has a wide offering of current sensor IC’s. The ACS730 features a -3 dB bandwidth of 1 MHz, and -1 dB bandwidth of 500 kHz. Since it is galvanically isolated, it can be used in AC mains applications up to 297 Vrms and for DC up to 420 V. And as he intended to use it as an oscilloscope accessory, the analog output suited the application nicely. A pair of precision op-amps provide the voltage output scaled to 100 mV/A. The board is powered off a 1000 mAh LiPo battery that can run the sensor for about 15 ~ 20 hours. The power supply section consists of a charge circuit for the LiPo, and a split rail dual output power supply converter for the op-amps.

The ACS730 has a 2.5 V output when measured current is zero, and is scaled for 40 mV/A. This gives an output voltage swing from -0.5 V for -50 A to +4.5 V for +50 A. This is where the AD823ARZ dual 16 MHz, Rail-to-Rail FET Input Amplifiers step in. One pair is used to obtain a 2.5 V reference from the 5 V supply, and also to buffer the analog output from the ACS730. The second pair subtracts the 2.5 V offset, and applies a gain of 2.5 to get the 100 mV/A output. Dual power supply for the op-amps comes from a TPS65133 Split-Rail Converter, ±5V, 250mA Dual Output Power Supply. Lastly, LiPo charging is handled by the MCP73831 Single Cell, Li-Ion/Li-Polymer Charge Management Controller.

Initial testing of direct currents has shown fairly accurate performance. But he’s observed some noise when measuring currents below 1 A which requires some debugging to figure out the source. [Undersilicon] has provided the CAD files for both the PCB and 3D printed enclosure, giving you access to everything you need to build one yourself. If you’re looking for something a bit more heavy duty, you might be interested in this +/-50 A, 1.5 MHz sensor encased in concrete.

Current Sensor Makes Intriguing Use Of Concrete

Getting a product to market isn’t all about making sure that the product does what it’s supposed to. Granted, most of us will spend most of our time focusing on the functionality of our projects and less on the form, fit, or finish of the final product, especially for one-off builds that won’t get replicated. For those builds that do eventually leave the prototyping phase, though, a lot more effort goes into the final design and “feel” of the product than we might otherwise think. For example, this current sensor improves its feel by making use of cast concrete in its case.

The current sensor in this build is not too much out of the ordinary. [kevarek] built the sensor around the MCA1101-50-3 chip and added some extra features to improve its electrostatic discharge resistance and also to improve its electromagnetic compatibility over and above the recommended datasheet specifications. The custom case is where this one small detail popped out at us that we haven’t really seen much of before, though. [kevarek] mixed up a small batch of concrete to pour into the case simply because it feels better to have a weightier final product.

While he doesn’t mention building this current sensor to sell to a wider audience, this is exactly something that a final marketable product might have within itself to improve the way the device feels. Heavier things are associated, perhaps subconsciously, with higher quality, and since PCBs and plastic casings don’t weigh much on their own many manufacturers will add dummy weights to improve the relationship between weight and quality. Even though this modification is entirely separate from the function of the product, it’s not uncommon for small changes in design to have a measurable impact on performance, even when the original product remains unmodified.

Thanks to [Saabman] for the tip!

A Low-Cost Current Probe For IoT Applications

When it comes to the Internet of Things, many devices run off batteries, solar power, or other limited sources of electricity. This means that low power consumption is key to success. However, often these circuits draw relatively small currents that are difficult to measure, with plenty of transient current draw from their RF circuits. To effectively measure these low current draws, [Refik Hadzialic] built a cheap but accurate current probe.

The probe consists of a low value resistor of just 0.1 Ω, acting as a current shunt in series with the desired load. By measuring the voltage drop across this known resistor, it’s possible to calculate the current draw of the circuit.

However, the voltage drop is incredibly small for low current draws, so some amplification is needed. [Refik] does a great job of explaining his selection process, going deep into the maths involved to get the gain and part choice just right. The INA128P instrumentation amplifier from Texas Instruments was chosen, thanks to its good Common Mode Rejection Ratio (CMRR) and gain bandwidth.

The final circuit performs well, competing admirably with the popular uCurrent Gold measurement tool. While less feature-packed, [Refik]’s circuit appears to perform better in the noise stakes, likely due to the great CMRR rating of the TI part. It’s a great example of how the DIY approach can net solid results over and above simply buying something off the shelf.

Current sensing is a key skill to have in your toolbox, and can even help solve laundry disputes. Video after the break.

Continue reading “A Low-Cost Current Probe For IoT Applications”

The Best Voltage And Current Reference This Side Of A Test Lab

When you measure a voltage, how do you know that your measurement is correct? Because your multimeter says so, of course! But how can you trust your multimeter to give the right reading? Calibration of instruments is something we often trust blindly without really thinking about, but it’s not always an impossible task only for a high-end test lab. [Petteri Aimonen] had enough need for a calibrated current source to have designed his own, and he’s shared the resulting project for all to see.

The cost of a reference source goes up with the degree of accuracy required, and can stretch into the many millions of dollars if you are seeking the standards of a national metrology institute, but fortunately [Petteri]’s requirements were considerably more modest. 0.02% accuracy would suffice. An Analog Devices precision voltage reference driving a low-offset op-amp with a driver transistor supplies current to a 0.01% precision resistor, resulting in a reference current source fit for his needs. The reference is available in a range of voltages, his chosen 2.048 volts gave a 2.048 mA current sink with a 100 ohm resistor.

In a way it is a miracle of technology that the cheapest digital multimeter on the market can still have a surprisingly good level of calibration thanks to its on-chip bandgap voltage reference, but it never hurts to have a means to check your instruments. Some of us still rather like analogue multimeters, but beware — calibration at the cheaper end of that market can sometimes be lacking.

If You Need A Measurement Tool Just Build A Measurement Tool

[Darlan Johnson] was working on a wearable project and needed a way to measure the change in voltage and current over time. 

Most measurement tools are designed to take snapshots of a system’s state in a very small window of time, but there are few common ones designed to observe and log longer periods. It’s an interesting point, for example, many power supply related failures such as resets occur sporadically. Longer timescale measuring devices could pick these up.

[Darlan] had a ton of Feathers and shields lying around, and combined them into the needed instrument. An INA219 current sensor records the measurements. They are then displayed on a TFT and logged to an SD card. Everything is bundled into a neat 3D printed case along with a battery for wireless operation. A set of barrel connectors provide the breakout to split the wires for the current measurement.

It’s a neatly done hack and we can see it as a nice addition to any hacker’s measurement drawer.

Flux Gate Magnetometers Make A Special Current Probe

There are moments when current measurement is required on conductors that can’t be broken to insert a series resistor, nor encircled with a current transformer. These measurements require a completely non-invasive technique, and to satisfy that demand there are commercial magnetometer current probes. These probes are however not for the light of wallet, so [ensgoldmine] has created a much cheaper alternative.

The Texas Instruments GRV425 flux gate magnetometer integrated circuit on its TI evaluation module provides the  measuring element placed at the tip of a probe as close as possible to the conductor to be measured, with another GRV425 module at the head of the probe to measure ambient magnetic field for calibration purposes.  An Arduino Due measures and processes the readings, chosen due to its higher-resolution ADC than the more ubiquitous Arduino Uno.

The write-up is interesting even if you have no need for a current probe, because of its introduction to these sensing elements. Because it’s a rare first for Hackaday, we’ve never taken a close look at them before other than as an aside when talking about a scientific instrument on Mars.