Hello everyone, I'm currently working on a project and I've hit a roadblock. I need to generate a square signal variable with a logic 1 voltage of 35V and logic 0 voltage of 24V. I only have a 5V power supply at my disposal, and I'm considering using two boost converters connected to the same output. I plan to toggle the controller's enable pin on and off based on the desired signal. However, I'm open to suggestions if anyone has a better idea. Thank you!
#Square signal generator suggestions
7 messages · Page 1 of 1 (latest)
You could use an op-amp and just feed the 2 voltages into the v+ and v- pins. drive the op-amp with the 5v logic and use a voltage divider to set the comparison voltage to something like 2.5V. You will still need the 2 boost converters of course. But that way u get clean switching and just leave the supplies on.
Switching power supplies on and off rapidly can cause all sorts of issues, and probaby smoke them at high speed. They also have massive slew and usually ring if not high quality.
Something like that
A standard 741 may work...
Op amp as a unity buffer with a switched zener reference. This does invert the input. Pay no real attention to the part numbers. I just pulled some out of LTSpice that worked. Pick your op amp based on your frequency needs and how fast you need your edges to be.
If you need higher current, you could do something like this. The regulator is has its ground reference raised by the zener and the schottky diode. The schottky in the ground reference is there to balance the diode drop in the output. This one is non-inverting and could drive an amp or more with proper heat sinks.