2
\$\begingroup\$

I'm designing an Arduino shield to manage the control signal that reaches 4 CCFL inverters.

As part of the circuit design, I've decided to use optocouplers to isolate the Arduino's microcontroller from the rest of the circuit. If I'm right, in order to get the proper galvanic isolation I need to separate on one hand the Arduino's GND and on the other hand the power supply's AGND which feeds the part of the circuit (through 7806) aimed to generate that specific control signal.

Am using Eagle CAD software and I've used different GND symbols to separate the different grounds coexisting in my circuit, but when switching to PCB design all of them seem to be together joined in the same net.

These situation makes me wonder several questions:

• Am I right when I'm trying to separate grounds in order to get galvanic isolation?.

• I've found this post that seems to talk about a similar question: How do I facilitate keeping multiple grounds, (i.e. AGND, DGND, etc...) separated in the layout when using Eagle? but I'm not sure if the solution proposed really fixes my problem, because if I understood correctly they end up joining GNDs in one point to have a global ground reference.

• If I am right, which is the best way to manage different GNDs in the same circuit in Eagle schematic design?

Here it is the schematic I'm working on: CCFL Inverter Arduino Shield schematic

Thanks for your help!

\$\endgroup\$
2
\$\begingroup\$

Your assumption in the second bullet point is correct: that answer does not apply to your situation. The linked question is discussing separate but electrically equal analog and digital ground planes, which is a technique used to reduce electrical noise, not to provide galvanic isolation.

To answer your more general question, you should either use multiple different symbols (you may be able to rename the net for the 'gnd' symbol in Eagle to create different nets; it's a while since I used Eagle), or use named nets for your separate grounds.

Your schematic as shown won't work as intended, however. The isolated side of your optoisolators is powered from a power supply that's (presumably) referenced to the ground of the Arduino side of the circuit.

If you want each of the four circuits to be isolated from each other as well as from the Arduino, you will need a separate power supply for each, and four grounds (plus the Arduino's ground). If you only want to have isolation between the CCFL and Arduino sections of the circuit, you will need a single isolated power supply for the CCFL side - and a single ground in addition to the Arduino's ground.

In every case, remember that you can only use power supplies and signals referenced to the same ground as that part of your circuit.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.