I've designed a PCB and was looking for some review and advice. The images are attached to this post.
The board is for an up/down frequency converter. Specifically, from 0-300 kHz to 400 MHz.
It's a simple design, the input signal gets multiplied by a 400 MHz square-wave (X1) by a mixer (U6 or U2). There are also two LPF and limiters.
Power comes from a USB connector or a terminal block and gets regulated down to 3.3 V by U5.
I'm planning to get it fabricated by JLCPCB, including the assembly of the SMT parts that they carry. I would have to hand-solder the ICs (or get someone to it). It's a two-layer board, and I need a single unit.
The size of the board is due to the enclosure I'm gonna use (Hammond 1455L801).
I have a few questions:
1. The ground plane is split in two places:
- The (amplified) clock signal (400 MHz square-wave) from U4 to C3, so VCC can get to the other side of this trace.
- The down-converted signal (<300 kHz) from U6 to L2, so this trace and the input signal (400 MHz) can cross.
Is this OK or using 0R resistors would be better?
2. Should I remove the solder paste from the ICs that I'm not getting soldered by JLCPCB?
3. Are the vias connecting the top-layer filled zones to the ground plane enough and well placed (besides the ones under the ICs, just followed the datasheets for those)?
Thanks in advance for any help!
PS: There is a minor misalignment between layers in the images. It's because of a bug in Kicad that makes it so silkscreen is under copper when plotting to PDF, so I had to manually stack the individual layers.
I´m no HF guy.
But for my taste the power supply capacitors of U3 and U4 are too far from pad#1.
Did not look deeply through the HF circuit..
***
You use ath aluminum case. You move the PCB inot the slots.
* if you want the aluminum case isolated from the PCB_GND planes then remove the copper at the slots.
* but if you want the aluminum to be connected to the GND planes, you could remove the solder stop. Because of the anodisation (not good conductive) you still won´t get a reliable connection. But if you remove the anodisation you could improve....
The capacitors are around 60 mil (1.5 mm) vertical and 40 mil (1 mm) horizontal apart and JLCPCB recommends at least 40 mil between 0402 and QFN components.
As for the layout, I based it on the one in the datasheet (see attached).
Did I do something wrong? I guess I could move them so they are 40 mil vertical apart too...
And I just realised that the NC pins can be tied to GND.
***
You use ath aluminum case. You move the PCB inot the slots.
* if you want the aluminum case isolated from the PCB_GND planes then remove the copper at the slots.
* but if you want the aluminum to be connected to the GND planes, you could remove the solder stop. Because of the anodisation (not good conductive) you still won´t get a reliable connection. But if you remove the anodisation you could improve....
I'll remove the copper from the piece of board that goes into the slots then. Thought that the silkscreen would be insulation enough, but that would not be so after it gets scratched.
I want the enclosure to be connected to GND only on the coax connectors (with a nut and serrated washer) so as to not get ground loops.
Thanks!
Edit:
I've noticed that some ICs (the ones that I made the footprints for, X1 U3 U4 U7 Q1 U5) have thermal relief ("spokes"), but the rest don't. Should I add it to all of them? Remove it?
I did not.
The oscillator generates an LVDS square wave, so the rise time is at least 200 ps.
So the TEL (Transition Electrical Length) is about 28 mm. The longest trace between the oscillator and the mixers is around 9 mm, so I didn't consider it necessary, but maybe it's easier to just change the trace width so they are 50 ohm...
"Calculating TEL for a given rise time is a method for obtaining a first order estimate of whether or not a design is fast enough to require the use of transmission line management rules. If a design has lines as long as a TEL for that logic family, the designer can be assured that the design will require careful management of impedance in order to avoid reflection problems."
Lee W. Ritchey. Right the First Time: A Practical Handbook on High-speed PCB and System Design. Speeding Edge, 2003. isbn: 0974193607,9780974193601.
Edit: Just checked and the traces would have to be 2 mm wide for 50 ohm. That's wide enough to short the IC pads, so can't do it.
--- Updated ---
Looked around around and controlled impedance isn't necessary if trace length<electrical length/10 (or /6 maybe). So I can:
* Make the clock traces <2.9 mm
* Filter the square wave to get slower edges
* Switch to a 4 layer board
Thermals:
Should be no problem with reflow soldering.
Trace impedance.
It will work without impedance matching.
I think I'd just use 2mm wide traces where possible...at least at the lengthy traces. From the pads use narrow traces as you like, then - where possible - use 2mm.
I don't see it very critical. If done correctly you need
* 50 Ohms source impedance
* 50 Ohms traces
* 50 Ohms termination
I'm not sure if it's worth the effort.
Layers 2 and 3 are uninterrupted, layer 4 is all ground except for a single trace.
*Note:* JLC PCB only does through-hole vias.
Is it okay to only route one trace on layer 4 (I feel like I'm wasting it lol)?
I thought about the possibility of switching to stripline, but all signal traces would have to go to layer 2 through vias. And I don't know if it would even be useful.
Do I need to add RF shielding between the different parts of the circuit (like FR4 "walls" or proper cans)?
For sure it can be done on a 2 layer board. But if you want a 1.5mm thick board then there are the 2mm wide 50 Ohms traces. Not very nice.
Ask three engineers and get three different opinions.
Good thing: there is no "wrong". So do it now as a 4 layer board. Find out the drawbacks and benefits and gain experience. With this experience you may decide next time on your own which way to go.
For a single unit you won´t become poor. Producing a million pieces is a different story.