I really hope someone can help me with this difficult issue:
I want to generate a PWM signal from a 170V DC input.
ok, so far I have an arduino that can generate a PWM signal and drive a MOSFET that is in a Buck converter circuit. Just a coil and capacitor, giving me the voltage I want for my load. This is my main objective, run my load using the 170V DC. I have no found a Buck converter that can take in ~200V DC and also I need a high power. So I have decided to build my own. Everything is working fine, except.... how do I run the arduino? Same issue, I need ~200V down to 5-10V.
So I need a way to generate a PWM signal, with 170~200V dc input.
After reading a bit I found I need to build a triangle wave generator and then use a comparator to get the PWM signal. But how do I build a triangle wave generator or a comparator? And again the issue with the high voltage. Most of the Op-amps (used as comparators) cannot handle high voltages. I do not want this circuit to over heat either and want to keep the power low.
Can I build a simple oscillator circuit that can take high voltages and low power? somehow control its duty cycle?
any help is appreciated. thank you!