I just connected a very basic transistor as a switch circuit, and was trying to control it with a function generator with a schematic shown below.
I set the function generator output to 1HZ , 5V peak(0-5v) PWM with 50% Duty cycle. However the circuit showed a weird behavior.
When the voltage supply was at 5V, I got an expected output across the Resistor with peak of 5V.
However the behavior started changing when I went above 5V. At 5.9V, the output was something like:
The amplitude of that ringing increases with input voltage. Any ideas on why this might be happening?
My Guess is that, it might be since the upper end of resistor becomes floating when transistor is OFF. If so, why does it show a clean output till 5V.