VanceVagell / kv4p-ht

Open source handheld ham radio project KV4P-HT
GNU General Public License v3.0
316 stars 35 forks source link

[PCB] Improved RF on 2-layer PCB layout in KiCAD [1.8] #50

Closed DefProc closed 3 weeks ago

DefProc commented 1 month ago

Relating to #20 and #24

RF path has 1.06/0.2 trace/space for close to 50ohm impedance on the antenna waveguide. Via stitching is applied around the path, and board edges to bind the ground planes top and bottom.

image KiCAD calculator values

The low-pass filter design has in-line inductors (inductive coupling not checked) and capacitor pads in-line to minimise stub traces.

image

Controller to Radio routing is moved mostly to the back side, with co-linear traces to maximise the ground plane continuity.

image

I've swapped the generic footprints from easyeda defaults to KiCAD defaults.

Still required:

Possible extras:

3643383-40

PDF files:

kv4p-ht-schematic-1.8-draft1.pdf kv4p-ht-pcb-1.8-draft1.pdf

VegaDeftwing commented 1 month ago

While it may be worth waiting for a 1.9, probably worth seeing if #54 should be squeezed into this change too, at least to testing it on some otherwise unused GPIOs

Bakermonitor1932 commented 4 weeks ago

Adding the pads for both smd and through hole addressable leds should be part of 1.7

SmittyHalibut commented 4 weeks ago

Note that I haven't pulled down the code, applied this PR, and pulled it up in KiCAD. This review is entirely based on the images and PDFs posted here.

|Z| of GCM1885C1H222 over frequency: image

|Z| of GCM1885C2A221 over frequency: image

SmittyHalibut commented 4 weeks ago

As for the filter component value selection, this is how those values simulate in Elsie:

Schematic as entered: image

Analysis: 100MHz to 1GHz, log scale. Q = 10M (default, very not realistic)

Graph and markers: image

What the heck does all that mean?

-0.36dB at 148MHz is pretty darn good, but that's the best case of a filter. Real parts are only likely to make this worse. If possible, redesign with a knee a bit higher.

SmittyHalibut commented 4 weeks ago

Oh, this VSWR graph is an even better reason to redesign the filter: image

SmittyHalibut commented 4 weeks ago

See #24 for my work on designing a new filter.

VanceVagell commented 4 weeks ago

Looks like some great progress here, but I'll hold until the discussion and comments are resolved.

Brickerhaus commented 3 weeks ago

Holy Cow! You guys have been busy. This is TekKnowology from discord by the way.

VanceVagell commented 3 weeks ago

@DefProc committed a KiCad design version which you can find here: https://github.com/VanceVagell/kv4p-ht/tree/main/pcb/KiCAD/kv4p-ht

SmittyHalibut commented 3 weeks ago

I hate seagulls. Stay with me here. Seagulls are people who fly in, make a bunch of noise, poop on your lunch, then fly away without adding any real value. I don’t want to be a seagull. Would it be ok if I applied the changes I suggested and submitted a pull request?  I’m not sure how to PR a PR though. If there’s a commit I should start from, let me know.

SmittyHalibut commented 3 weeks ago

I've got all these changes made (and some more) in a commit that's coming. I still need to add DC blocking caps to RF and Audio paths, and I did the 818/RF layout differently than I described above, but it accomplishes the same things.

Sneak peak: image image

Brickerhaus commented 3 weeks ago

Wow. What are the double pins for?

DefProc commented 3 weeks ago

Cool,

Did you have to increase the board width to accommodate the rotated radio module?

On Sun, 27 Oct 2024, 01:03 Chris Bricker, @.***> wrote:

Wow. What are the double pins for?

— Reply to this email directly, view it on GitHub https://github.com/VanceVagell/kv4p-ht/pull/50#issuecomment-2439772925, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACTXWCV33A3BPZNP6Z6VDDZ5QUWXAVCNFSM6AAAAABQMTSXO2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMZZG43TEOJSGU . You are receiving this because you were mentioned.Message ID: @.***>

SmittyHalibut commented 3 weeks ago

Wow. What are the double pins for?

https://github.com/VanceVagell/kv4p-ht/issues/59 Multiple different ESP32 modules.

SmittyHalibut commented 3 weeks ago

Cool, Did you have to increase the board width to accommodate the rotated radio module?

A bit, yes. But not a lot.