Electronic – PCB design review: analog routing

analoggroundingpcb-designphotodiode

I am designing a PCB with analog signals for the first time, and I would really appreciate any feedback on my layout and routing.

The circuit is a light-meter, consisting of a photodiode connected to a transimpedance amplifier which connects to an ADC.

I simulated the transimpedance amplifier and put it on a breadboard, and it worked, but I am nervous about moving to a PCB. I based my layout on a TI reference design (http://www.ti.com/lit/ug/tidu535/tidu535.pdf), with a keepout on the top and bottom planes. I tried to make the amplifier output as close to the ADC pin (pin 16) as possible, and I tried to set up pin 18 as the single ground connection to my analog corner. Can you think of anything I could do differently?

The top layer of the transimpedance/analog section:
transimpedance amplifier layout top layer

The bottom layer of the transimpedance/analog section:
transimpedance amplifier layout bottom layer

The relevant portion of the schematic:
enter image description here

Note: my transimpedance amplifier seems to be stable without a feedback capacitor. I think it's because my op-amp has a GBWP of just 6kHz and my large-area photodiode has a capacitance of 1nF. It has worked in simulation and on a breadboard and has a stable output with feedback capacitors between 0-100pF.

Edit: added links to the datasheets.

Best Answer

Can you think of anything I could do differently?

Yes, I can think of one thing. Start learning how to model PCB parasitic component values. This takes some of the mystery out of PCB design and allows one to design circuits without worrying what the PCB will do to the design.

A PCB trace actually looks like this: enter image description here
Source: https://www.ecnmag.com/article/2017/06/plague-parasites

Whenever you add a pcb trace between two points, your adding a small amount of inductance and capacitance. The PCB trace has capacitance between it and the conductor below it (any two pieces of conductors\metals can be modeled as a capacitor).

enter image description here
Source: https://www.ecnmag.com/article/2017/06/plague-parasites

Just glancing at the schematic, I see it more like this after layout on the PCB. Each trace adds milliohms of resistance an nH of inductance. Inductance slows electrical signals down so making the traces small is a good idea because it minimizes inductance and resistance. enter image description here

The biggest problem I see is the ground of U1 and , with the small trace size, this is creating inductance and resistance on the ground of U1. If the signals of U1 are changing very fast (10's of MHz), you might have a problem with common mode noise on U1 because of the inductance of the two vias. While its great that you chose to route the ground of U1 to be the same of the photodiode, you might be able to rotate U1 and route the ground continuously on the top layer.