...got myself a Snap Circuits kit. A bit silly, I know, but I still fondly remember my old electronics kits and wanted something that would make it easier for me to understand this stuff.
And of course, with an oscilloscope, I can get deeper insights on how these things work so I can finally wrap my head around things like oscillator circuits.
Is it normal for a speaker in an oscillator to generate significant back-EMF spikes? A set of projects in my electronics kit (projects #206 to #209 in the above PDF) involves what looks like a blocking oscillator with a speaker acting as an inductor. My oscilloscope reads a sharp negative voltage spike after each pulse, most visible in the case of #209, with the electrolytic capacitor rather than the ceramic caps in the others.
Hey, I've got a current sense amplifier, but it acts a bit weird
Below is load current, whereas top is the output current from the amplifier. It is designed to have an output current of 1mA at a load current of 300 mA, but it seems the current ramps us to 1 mA
@VioAriton Another way to look at this. The sensed current through R2 is ramping up (it isn't a step), and the output of the current sense amplifier follows its input. It honestly reflects the input. [Ripple and all.]
Is the actual question "why is the sensed current ramping instead of stepping?" [as opposed to "why is the current sense output ramping?" ]
If you let the simulation run longer, are you going to get to the correct output eventually? The sensed current stabilizes around 500mA. I'd expect 1.5mA from the output of the current sense amp.
You want to convince yourself that the current sense amp works (simulates) correctly, but you have a lot going on in your simulation at the same time.
Make a separate small simulation for the current sense amp. Give it a step from an ideal current source as an input. See if the current sense amp works by itself.