Meatball
0
- Joined
- Feb 1, 2008
- Messages
- 2,894
- Points
- 0
So, how does one measure the Rsense value while it is in circuit?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Double check all the scope settings are correct. Your DMM should read the average voltage, which for a PWM signal is not the normal 0.707 x Vpk (and Vpk = 1/2 x Vp-p for an ac only signal) that a sine wave uses, so there will be a small discrepancy. I'm not familiar with your scope, I'm only used to old analogue clunkers haha, so I can't tell from the readout what is going on. It does look like the spikes have stopped though, right?
Sheesh that inductor is bigger than your driver. What's the magnitude of the spike we're trying to filter out?
Ryan;
Although I am not familiar with that scope,
the voltage across the sense resistor looks too high.
You need someone familiar with the scope,
to measure voltage across the sense resistor, and translate that to peak current.
LarryDFW
So, how does one measure the Rsense value while it is in circuit?
Are those spikes in the video at ~2.5V?? Where was the voltage read from?
Right, so what I mean is: If we want the current through Rsense, we need both the voltage across it and the value of Rsense via ohm's law.
Do you know the value or your total sense resistance?
Larry maybe have to help me with this, but I believe what we need is the voltage drop across the Rsense, this is so that we can predict the both the voltage spike and the current spike that would occur once we know what the load is. A test load resistor will take on a constant spike current given some spike voltage, but if this is supposed to be a const. current driver, a laser diode or LED would take on a current spike (the important thing to watch) which is independent of its own voltage drop. So we need to use the Rsense on the board as a reference point from which to work.
We can pick filtering capacitors and inductor values based on the predicted magnitudes of each spike.
I'm no expert on SMPS, so anyone else's input should be as good as mine.
Yes, noise filtering goes on the output side of the driver board. I still think you need a decoupling cap though, they can do wonders. Decoupling caps go directly (or, as close as feasible) across the power in and ground connections to the IC which needs decoupling. This cap removes tiny fluctuations in the supply voltage that are almost imperceivable, even with a scope, which cause unwanted oscillation on the IC's output. A small electrolytic cap anywhere from 1uF to 100uF directly across the Vcc and Gnd pins of the IC is all it takes. If the board is small enough, you can put it across the power in terminals where your wires are, but if the board has enough trace length between that and the IC, it won't work.