Hi,
I have a 1Vpp square wave from 0 to 1V from a function generator. I want to increase the peak-to-peak voltage to 0V to 5V and I also need the inverted signal from 0V to 5V. The frequency of the square wave will be varied between 5Hz and 200kHz.
I know there are converter and inverter ICs, who would do the job perfectly.
But I tried to do this with some components which I have at home. The inverter is built by a npn-transistor (BC547) and two resistors. It works just fine, also at 200kHz. I thought the simpliest way would be to invert the inverted signal again to get the original square wave with an increased voltage. The schematic is attached and also the LTspice simulation.
But the double inverted signal isn't useable at frequencies higher than 40kHz, I attached a picture of the scope with the 200kHz double inverted signal and the output of the function generator. You can see that the rise time of transistor Q2 is way too slow. If I lower the value of R2, the rise time will be faster, but the voltage of the inverted signal will decrease (voltage divider). In the LTspice simulation the rise time is better than enough.
Is there a simple solution for my problem? Thanks for your help.
Best regards
Momchilo