Measuring Current with an Oscilliscope
poorieuser
Posts: 7
Ok. So I'm creating a circuit to test batteries in a camera. The circuit is basically representing a cameras load and flash. The problem I'm having is using an oscilliscope to record current reeadings onto my computer. I've read about using current sense resistors but I'm really not sure how this works. If it helps I can post a schematic of the circuit itself after I finalize it this afternoon.
Thanks a lot,
PoorIEuser
Thanks a lot,
PoorIEuser
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Stephen
Meaning, you can't just put the scope probe across any old resistor. Instead you need to put the ground lead somewhere near 'ground'. This isn't a show-stopper, it just means you need to be careful.
Having said that, a paper clip, straightened out and covered with heat-shrink, makes a pretty good 0.1 ohm current sensing resistor.
To view the instantaneous current over time, you can connect your scope leads across the resistor. You have to be careful when doing this, however. Some hookups require that the circuit under test be isolated from all other grounds. Here's an example of a bad hookup:
You have your sense resistor on the positive side of the load. Your circuit under test is also connected to, and shares a common ground with, your PC. You connect your scope's negative lead to the negative end of the sense resistor. ZAP! What just happened? Many scopes have their negative inputs connected to chassis ground, which also connects to the ground prong on the AC power cord. PCs do the same: logic ground is connected to the AC line cord's ground prong. By using the above hookup, you've inadvertently connected your positive supply, attenuated only by the sense resistor, to ground!
There are two ways to remedy this situation, if you must keep a PC (or other grounded apparatus, such as a an AC power supply) connected:
1. (Okay in some situations) Switch the sense resistor to the bottom of the load, so one side is grounded in common with your PC's ground. This is not always possible, though, since the voltage drop through the sense resistor may cause an undesirable logic-level shift in your circuit's PC interface.
2. (Better) Use a dual-channel scope. Most dual channel scopes let you display a trace which shows the difference between two input voltages. Therefore you can connect two probes, one to each end of the sense resistor, and both shields to your common ground.
-Phil
Post Edited (Phil Pilgrim (PhiPi)) : 10/29/2007 5:13:03 PM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Think Inside the box first and if that doesn't work..
Re-arrange what's inside the box then...
Think outside the BOX!
- Are you connected to AC ground if your computer is running off a transformer with a two-prong plug? (e.g., a laptop with a power brick).
- What if your PC is a laptop running on battery power?
In these cases, can you safely measure low voltages between two non-ground points in a circuit?
For that matter, since nearly all of our DC circuits run on wall-warts or batteries, I have never been clear on what the connection to AC or earth ground really is....