- Joined
- Nov 28, 2011
- Messages
- 8,393
Steve and I both want to see the current waveform in the transformer primary but we are suggesting different ways of measuring it.
In both cases you need to insert a fairly low-value resistor in series with the primary current path and measure the voltage across that resistor.
Steve's suggestion is to connect the resistor between the bottom of the primary and the collector of the transistor, and use two oscilloscope probes, one at each end of the resistor, with the oscilloscope set to "subtract" mode, where it subtracts the voltage from one probe from the voltage from the other probe. In theory the scope will then display the voltage across the resistor.
The problem with that method is that there's a lot of fast, high-voltage common-mode signal at that point - that is, signal that appears on both ends of the resistor, because the transistor is switching - and unless the oscilloscope's inputs are exactly matched, you won't be able to isolate the small voltage that appears across the resistor, from the other signals that the scope will pick up. I'm not sure that this will be a problem, but I strongly suspect that it will. I guess it may depend on the quality of your oscilloscope.
My suggestion is to put the resistor at the top end of the primary, which is pretty much a stable voltage. Then you connect a single scope probe directly across that resistor. Specifically, you connect the scope's earth to the top end of the resistor (at the power supply) and the probe tip to the bottom end of the resistor, that connects to the primary.
With this arrangement there is no high-voltage signal on the scope probe to cause problems. But the current waveform will be upside down, so use the "invert" switch if your scope has one. This connection also requires that either your scope, or your circuit, be isolated from mains earth, otherwise your circuit's 0V rail will be connected, via mains earth, to the scope probe's earth clip, and when you connect the scope probe earth clip to the positive rail of your circuit, you will short out your power supply.
Steve feel free to correct me on any of this.
In both cases you need to insert a fairly low-value resistor in series with the primary current path and measure the voltage across that resistor.
Steve's suggestion is to connect the resistor between the bottom of the primary and the collector of the transistor, and use two oscilloscope probes, one at each end of the resistor, with the oscilloscope set to "subtract" mode, where it subtracts the voltage from one probe from the voltage from the other probe. In theory the scope will then display the voltage across the resistor.
The problem with that method is that there's a lot of fast, high-voltage common-mode signal at that point - that is, signal that appears on both ends of the resistor, because the transistor is switching - and unless the oscilloscope's inputs are exactly matched, you won't be able to isolate the small voltage that appears across the resistor, from the other signals that the scope will pick up. I'm not sure that this will be a problem, but I strongly suspect that it will. I guess it may depend on the quality of your oscilloscope.
My suggestion is to put the resistor at the top end of the primary, which is pretty much a stable voltage. Then you connect a single scope probe directly across that resistor. Specifically, you connect the scope's earth to the top end of the resistor (at the power supply) and the probe tip to the bottom end of the resistor, that connects to the primary.
With this arrangement there is no high-voltage signal on the scope probe to cause problems. But the current waveform will be upside down, so use the "invert" switch if your scope has one. This connection also requires that either your scope, or your circuit, be isolated from mains earth, otherwise your circuit's 0V rail will be connected, via mains earth, to the scope probe's earth clip, and when you connect the scope probe earth clip to the positive rail of your circuit, you will short out your power supply.
Steve feel free to correct me on any of this.