Electronic – How to decouple ground planes

groundingusb

I have designed and built a motor controller circuit. The circuit has a microcontroller on which gets commands from a PC using an FT232R. Currently the FT232R is powered from the board's +5V supply. This +5V supply is generated using a regulator which converts the +24V power input to the board. The +24V input also powers the H-Bridge which drives the motor.

Everything works fine, except when it doesn't – sometimes, whilst stopping and starting frequently under a heavy load, the PC blue screens. I think this has something to do with the ground level rising due to heavy load on the motor – which the USB end of the PC doesn't like very much.

My solution is to first switch to USB bus power (the only thing it needs to run is the FT232R) to eliminate any fluctuation in the supply.

I also want to protect the USB ground from the main board ground, however they still need to be linked. I was thinking of using an inductor to connect the power planes to prevent spikes from the stop start action.

Is this a good idea or is there a better method?

I have decoupling caps (1u and 100u) on both the power input and regulated +5V as well as 10n and 10u on the major IC's and 10n and 100n on smaller IC's. The question is asking how to connect a noisy power plane to a quiet one with out making the quiet plane noisy.

Best Answer

I would strongly suggest that you must completely isolate the ground of your FT232 from the power stage, before you destroy the USB port that it is connected to. There should be absolutely NO ground (or other) connection between high power circuitry and your control IO; do not stick random inductances in as they will as likely make things worse as better.

The slowest, simplest connections in your design (i.e. the easiest place to make a separation) are probably the serial lines between MCU and FT232, so put opto-isolators in there. Power the FT232 from the USB port and power the MCU from its own regulator.

Better yet, consider isolating the MCU from the power stage, e.g. using a 24V-5V isolated DC-DC converter to power the MCU. Opto-isolators might work for the motor-control signals depending on the frequencies you're dealing with, otherwise you can use other, faster, galvanic isolators.

If your MCU is isolated from the power stage, you don't need to isolate the FT232 from the MCU anymore.