Hi Everyone,
I'm new to this forum, and I signed up hoping to get help with this issue that's been confusing me. I'm building a CNC mill, and I designed a custom power supply for the spindle. It is based around a 70V power transformer that I am rectifying to ~110VDC. The output is filtered and used to drive the motor through a mosfet stage that is controlled by a pwm signal from an ESP32 microcontroller.
The big problem here is that I don't know how to get lower voltage to drive the gate of the mosfets. I have an octocoupler attached to the PWM from the microcontroller, so all I need is approx 12V that has the same ground reference as the motor's power supply.
I've tried a capacitive voltage divider from the AC side of the transformer but then there is a huge voltage potential between the ground from the 12v and 110v so it won't work to drive the gate. Does anyone have an idea how I could derive 12v approx 40mA from the 110 side to switch the mosfet gates and power an indicator led, and all with a common ground reference?
I am attaching a simplified schematic to show the topology of the circuit.
I'm new to this forum, and I signed up hoping to get help with this issue that's been confusing me. I'm building a CNC mill, and I designed a custom power supply for the spindle. It is based around a 70V power transformer that I am rectifying to ~110VDC. The output is filtered and used to drive the motor through a mosfet stage that is controlled by a pwm signal from an ESP32 microcontroller.
The big problem here is that I don't know how to get lower voltage to drive the gate of the mosfets. I have an octocoupler attached to the PWM from the microcontroller, so all I need is approx 12V that has the same ground reference as the motor's power supply.
I've tried a capacitive voltage divider from the AC side of the transformer but then there is a huge voltage potential between the ground from the 12v and 110v so it won't work to drive the gate. Does anyone have an idea how I could derive 12v approx 40mA from the 110 side to switch the mosfet gates and power an indicator led, and all with a common ground reference?
I am attaching a simplified schematic to show the topology of the circuit.