Hello,
I want to convert a PWM signal in which the high signal is in the range of 2.2V to 3.3V to a PWM signal with a 3.3V high level.
Additionally, I want an LED to blink when a signal is present at the input. I have designed a simple circuit for this using a MOSFET.
I plan to tap the output voltage through a very large resistor to obtain a non-inverting output signal. I chose the BS170 MOSFET for this, as it fully switches at a threshold voltage of 2V. The circuit works well at frequencies below 50kHz, but I need to be able to convert frequencies of at least 100kHz.
At these frequencies, the MOSFET no longer switches off quickly enough, resulting in distortion as shown in the attached image.
The MOSFET has an fT of 1MHz, and the turn-on and turn-off time is typically 4ns and a maximum of 10ns. These values should not be a problem at 100kHz, so I am puzzled as to why I am experiencing such distortion at high frequencies.
Does anyone have an idea what could be causing this?
* In LTSpice, I use the 2N7000 because the BS170 is not available in LTSpice an it has very similar values. The simulation also aligns quite well with the results from the laboratory. In the lab, I used the correct MOSFET, namely the BS170.



I want to convert a PWM signal in which the high signal is in the range of 2.2V to 3.3V to a PWM signal with a 3.3V high level.
Additionally, I want an LED to blink when a signal is present at the input. I have designed a simple circuit for this using a MOSFET.
I plan to tap the output voltage through a very large resistor to obtain a non-inverting output signal. I chose the BS170 MOSFET for this, as it fully switches at a threshold voltage of 2V. The circuit works well at frequencies below 50kHz, but I need to be able to convert frequencies of at least 100kHz.
At these frequencies, the MOSFET no longer switches off quickly enough, resulting in distortion as shown in the attached image.
The MOSFET has an fT of 1MHz, and the turn-on and turn-off time is typically 4ns and a maximum of 10ns. These values should not be a problem at 100kHz, so I am puzzled as to why I am experiencing such distortion at high frequencies.
Does anyone have an idea what could be causing this?
* In LTSpice, I use the 2N7000 because the BS170 is not available in LTSpice an it has very similar values. The simulation also aligns quite well with the results from the laboratory. In the lab, I used the correct MOSFET, namely the BS170.




