Hello, I'm new at this forum things, so not that sure how this works, but here is my question> I want to do a variable 9V 1A (or 2A) output source that willl be feed a motor driver that is conected to a 3W step up tranformer (1:24). The control signals of the H-bridge will be a square 4KHz wave, and the output in the transformer I want to be the nearest as possible the control signals (4KHz square wave) but higher voltage (and at least need 3W for a 1Khz load). Right now I have a circuit made, that works with a 9V battery, plug directly to the motor driver, and I get aftert the transformer a almost squarish wave with the desire output. So the things I need some opinion and help is in making the digitally variable 9V source, and how to make the output wave form as square as possible if the load is and serial RC circuit. Suggestions and ideas will be appreciate!