An analog world is where we live. A digital world drives our data.
On the heels of the power distribution network is any analog blocks. If you don’t use minimum component spacing for the entire RF chain, expect blowback from the engineers. I do that placement on a one-mil grid or even less because I expect a lot of scrutiny on analog placement. Why? Simply put, because it’s not digital.
Digital circuitry translates to yes and no (it works well enough or it doesn’t), while analog is a grayscale from zero to infinity, where we’re always chasing a fraction of dB of isolation or some other metric on a sliding scale. It’s a different mindset and analog circuits should be prioritized as much as possible.
Figure 1 shows an op amp in an 8-pin DIP package. It would have a feedback resistor as close as possible to two of the pins and a bypass capacitor between VCC and GND. Two leads are on the input side with polarity and one output pin. Any of those I/O pins could be enhanced with an RC filter or something similar.
Figure 1. A mic, a speaker, a few terminals and an op amp with its constituent passive components; this is a core analog circuit. Aside from audio electronics, these types of amplifiers are common in current sense applications used on eval boards. (Source: University of Bath)
Every part would be on the topside and have leads going through the board. That’s what analog meant when I got into this game. What once fit in a suitcase now tags along in a back pocket and operates completely wireless. The shrinkage of our electronic devices is astonishing.
Figure 2. Half my PCB curriculum was spent on analog design. That’s good because more than half of my career was also spent on these things.
While antenna theory is still in effect, the means of transmitting signals has gone parallel for broadband network access. Analog signals are typically digitized then chopped up and sent over multiple frequencies to be assembled back into media on the user end. Multiple input and multiple output (MIMO) radio sets are a common way of increasing bandwidth.
Shielding is inevitable when condensing lots of applications in a enclosed space. A large sector of the consumer goods industry involves multifunctional IoT devices, where low power consumption is closely tied to some form of wireless communication. While I may not be battery operated, my life seems so. Among my phone, laptop, camera and car, which has better GPS?
Figure 3. Here, we are checking for relative propagation delay and differential pair integrity while setting aside any warnings regarding net schedule, impedance, layer sets, unrouted nets and minimum delay. (In this ECAD view, we’re dealing only with electrical constraints.)
As the timeline progresses, the resonant frequencies of a few GHz made room for 60GHz “WiGig” for close range applications. The 5GHz radios are equivalent to ethernet speed while 60GHz bands are taking market share from the HDMI camp. It may be wise to implement these radios as modules that sit on their own substrate and use the tiniest of components that would drive cost if implemented on a larger board.
So-called front-end modules are an industry of their own. The complex matching networks for the MIMO radio schemes are packaged as a unit. They cater to any number of commonly used receive and transmit chains.
There’s an industry surrounding the notion of a Front-End Module (FEM) where the typical matching networks for a MIMO radio are all on a single, rectangular board mounted to a through-hole or surface-mount motherboard. This would streamline production by consolidating these component-intensive circuits on a manageable component footprint. The board would not necessarily benefit from exotic material and the miniaturization that goes with RF circuit boards.
Let’s double up on the data rates. I would rank memory as a strong second place in the hierarchy of placement and routing. The most sensitive layout memory is the type that is using both the up and down swing of the clock to regulate the data rate.
Known as double data rate (DDR) dynamic random access memory (DRAM), it has more going on than other types of memory, be that serial peripheral interface (SPI), embedded multi-media card (eMMC) and so on, as those types are for storage rather than computing. The complexity of DDR manifests in numerous lanes of data and address buses along with a reference voltage supply and other esoteric nets.
DDR memory is segmented into several bytes, typically eight bits (nets), each with its own timing requirement within the byte lane and in relation to other byte lanes, though to a lesser extent. Two bytes form a so-called “word” for a total of 16 bits.
Four bytes equals two words, or a “double word,” equivalent to 32 bits. A “quad word” is good for 64 bits. This structure permits parallel processing, enhancing system performance. As a result, significant time is spent generating match groups with potentially overlapping constraints. You’re tuning lane to lane as well as within each lane.
Figure 4. The yellow segments indicate we have exceeded the maximum uncoupled length with all the phase matching bumps for the clock pair. My first move would be to use arcs instead of diagonal bumps. We could also pull the jogs closer together for better coupling. If all that fails, see if the spec can be waived to allow what is on the board to stand.
Note that when dealing with length matching of the clock, it can give DRC errors indicating it is both too long and too short. That means that the problem may not be with the clock, but with other members of the bus, with some too long and some too short.
Always phase-match clock pairs using your best effort to center-cut the meter. This provides the greatest amount of leeway for the other traces in the bus to meet the target length (Figure 5). The individual traces must match both legs of the clock diff-pair to within spec. There’s more latitude when the positive and negative traces are the same length.
Figure 5. The phase tuning bumps were removed which cleared up the uncoupled length error. The result is that the negative side of the Clock diff-pair has to be lengthened by ~28 mils to recover the phase matching to within 5 mils.
The number of nets in a DDR memory bus is substantial, especially compared to the other types. A rule of thumb for setting up constraints is that a chip with fewer data lines typically requires a tightly controlled timing budget.
Meanwhile, DDR generally has timing flexibility, especially between byte lanes, with most of the effort going into length matching within individual lanes. As I pointed out, bytes can be combined into words, where the number of members in each group doubles and doubles again until the requirements are met for high bandwidth memory. So far, we have looked at components whose placement is determined by the mechanical considerations followed by decoupling capacitors, crystals, RF chains and memory. The fourth pillar of important placement concerns items that are especially sensitive to outside interference.
While WiFi, Bluetooth, GPS, NFC and others fall under the RF domain, other types of sensors require more board space than their size would suggest. Microphones, pressure gauges, Lidar sensors, compasses and other sundry items require a wide berth that could very well extend through the entire board as well as outward on the surface.
Figure 6. Now the clock net is fully compliant within the pair and with all the single ended memory lines that use the clock in question. The uncoupled length was washed out with the rounded “speed bumps.” While I’m straying from the theme of placement here, be aware of critical nets as you do placement.
The device may benefit from being placed in a quiet corner of the board. It may require its own power supply which should be in the vicinity but out of the line of fire. Special treatment may include provisions for pulling heat away from the device. Power may come in on more than one layer so that the shapes occupy a narrow corridor that doesn’t get corrupted by outside interference. Placement time is also fanout and route planning time.
The engineers on the project may not have the resources or time to analyze a placement without understanding the whole context. If you’re doing the placement of the critical analog parts properly, then the routing should be straightforward.
I would normally make those connections and even pour copper around them before sharing with the team. At least, they can see what you have only visualized. I’d go so far as to populate ground vias along the path so the space is claimed and the EEs can see you want what they want even before they have a chance to say so.
Figure 7. When the official plan is to route the DDR on an outer layer, space must be set aside for that purpose, as it expands from the number of traces and required spacing. This along with any analog connections is high priority as routing ultimately drives placement in these cases.
One of the best things I ever heard from the EE was that he would make a list of things he wanted from the previous submission only to find that those things were addressed with another iteration before he could compile the requests and send them to me. Push out your work early and often so that you don’t get ahead of yourself. Try to think ahead of where they would go with that version and take initiative. You will earn their respect by being proactive. At some point, I would even tape the board out so I can clear up any roadblocks that may be lurking in the design.
is a principle PCB designer in retirement. For the past several years, he has been sharing what he has learned for the sake of helping fresh and ambitious PCB designers. The knowledge is passed along through stories and lessons learned from three decades of design, including the most basic one-layer board up to the high-reliability rigid-flex HDI designs for aerospace and military applications. His well-earned free time is spent on a bike, or with a mic doing a karaoke jam.