Monday, 9 February 2015

microcontroller - How to create a mixed signal pcb


I want to create a board that has both high speed digital components (specifically the SAM3X8E - from arduino DUE) and an analog audio circuit.


The analog parts were originally a shield to the arduino. The reason I want to create a mixed mode board to combine the two circuits into one, is because I used to have a lot of noise. After searching, people suggested that this is noise from the digital circuit and I will have to remake the board.


This is a link with the original question. There you will also find a picture of the schematic of the shield. Proper Decoupling


My question is how do i ground the whole thing. I have seen many different approaches in threads like these: How should I connect AGND and DGND (LINK 1) Star point in schematics (LINK 2) For Multiple ADC circuits PCB layout grounding, why is "single point ground" important?


single-point-ground-imp (LINK 3) So do i need to have different GND planes for digital and analog? I was considering using tha 'Star ground approach' but the first link said it is the least efficient. Trevor_G also said (in the second link): "For this kind of circuit, integral single ground and power planes with appropriate layout to keep the signal loops as short as possible is much better." So I have only one common ground plane?


Then reading these two guidelines: https://www.maximintegrated.com/en/app-notes/index.mvp/id/5450 http://www.hottconsultants.com/techtips/split-gnd-plane.html


I found out that one GND plane is all that is needed. But many things were unclear and lost in theory. For example, do i have to separate the two planes? If yes, do they have to join in one place? Do i need to 'cut' the two planes? If yes, where exactly do i cut? What happens when the analog signals, enter the digital side of the board? Like when the analog information enters the ADC of the microcontroller? If there indeed is a cut, how am i supposed to route the traces? In general, how do i design the GND layer?



What i will do: *Keep the digital parts away from the analog parts - upper copper layer (thanks peufeu!) *Use two regiulators, one for the digital side and one for the analog side *Avoid digital power and digital signal to pass in the same area as the analog side (on all layers)


An extra question: *I saw in the stackexchange link 3 to keep the power sources on the digital side of the board. That includes the analog regulator as well? But the analog power trace will have to pass through the digital side... But when the analog signal enters the ADC of the microcontroller then the analog signal enters digital side as well. So is it impossible to separate them?




No comments:

Post a Comment

arduino - Can I use TI's cc2541 BLE as micro controller to perform operations/ processing instead of ATmega328P AU to save cost?

I am using arduino pro mini (which contains Atmega328p AU ) along with cc2541(HM-10) to process and transfer data over BLE to smartphone. I...