Practical RF Hardware and PCB Design Tips - Phil's Lab #19

Sdílet
Vložit
  • čas přidán 28. 06. 2024
  • Some tips for when designing hardware and PCBs with simple RF sections and components. These concepts have aided me well when designing 4-layer embedded systems PCBs.
    Topics: critical trace lengths, stackups, controlled impedance traces (microstrip, stripline), impedance discontinuities due to wide pads, clearances, bias tees.
    Visit jlcpcb.com/RHS for $2 for five 2-layer PCBs and $5 for five 4-layer PCBs.
    Open Seneca: open-seneca.org
    Git: github.com/pms67
    If you're enjoying my content, please consider becoming a patron:
    / phils94
    [TIMESTAMPS]
    00:00 Introduction
    00:27 JLCPCB
    00:53 Overview
    02:08 Critical length
    06:45 Stackup
    08:51 Controlled impedance traces
    12:34 Impedance discontinuities (pad-to-trace)
    14:34 Clearance
    15:17 Antenna bias tees
    ID: QIBvbJtYjWuHiTG0uCoK
  • Věda a technologie

Komentáře • 118

  • @martinkjellstrand4071
    @martinkjellstrand4071 Před 3 lety +37

    JLCPCB adding connectors is actually a really cool thing!

  • @yor1001
    @yor1001 Před 3 lety +2

    I've been looking for a video explaining this content for 3 years now! Thank you

  • @razorr1920
    @razorr1920 Před 3 lety

    Simply Awesome. Sharing knowledge with the world makes your channel Awesome. One of the youtube gems.

  • @satviksharma1146
    @satviksharma1146 Před 3 lety +7

    This video is really really good. Your videos give me a lot of confidence to design my own boards. Thank you!

  • @jakobhalskov
    @jakobhalskov Před 3 lety +1

    Your videos are so helpful and well made - really appreciate the time you put into this. So, THANKS!

  • @a1nelson
    @a1nelson Před 3 lety

    What a great, concise guide to working with RF. A fair amount of this happened to be review for me, but the bit near the end about estimating the inductor value on the tee was a facepalm moment for me, as I realized an LTE design I'm working on could have been - and now will be - simpler and cleaner. Totally makes sense. Thanks.

  • @wazzupweek
    @wazzupweek Před 3 lety +19

    Phil’s lab made me wants to create my own lab

    • @wazzupweek
      @wazzupweek Před 2 lety +3

      I did made my own workstation finally!

    • @krdnu
      @krdnu Před 2 lety

      Damn, that true

  • @anneallison6402
    @anneallison6402 Před 3 lety +8

    Thank you very much for this and for sharing your experience!! You are gold

    • @PhilsLab
      @PhilsLab  Před 3 lety

      Thank you very much, Paul!

  • @housseinbenabdelhamid203
    @housseinbenabdelhamid203 Před 3 lety +1

    When you just said according to Rick Hartley i knew that you are so professional.
    Thank you for this guidelines for RF design such an amazing content

  • @phamquangchung9298
    @phamquangchung9298 Před 3 lety +21

    Thank you.

  • @schultzbach5287
    @schultzbach5287 Před 3 lety +2

    KiCAD RF tools is a great plugin for RF designs. Thanks for the video Phil!

  • @nielsschenk3223
    @nielsschenk3223 Před 3 lety

    Great video... As always ! Keep going !

  • @byronwatkins2565
    @byronwatkins2565 Před 3 lety +1

    Component pads with rounded corners are also usually available to smooth out impedance mismatches between traces and pads.

  • @12012004
    @12012004 Před 3 lety

    Great video as always. Thank you!

  • @t-strokes1663
    @t-strokes1663 Před rokem +1

    Great video! I've done a bit of research on trace discontinuities, and in an article published by Minicircuits, trace/pad discontinuities can impact your VSWR. One solution is to reduce the size of your pad, though this may make soldering a bit more difficult. I'm dealing with VSWR and insertion loss issues on a design I'm working on.

  • @engineerdanny7569
    @engineerdanny7569 Před 3 lety

    Nice am always eager to watch your videos , ur efforts are much appreciated 💪

  • @Helectronics
    @Helectronics Před 3 lety

    Really good video, greatly explained!

  • @alexevivi
    @alexevivi Před 3 lety

    Outstanding video! Thank you.

  • @jairorodriguezblanco615

    Incredibly good video, very helpful. Thanks a lot Phil!

    • @PhilsLab
      @PhilsLab  Před 3 lety +1

      Thank you very much, Jairo!

  • @MrFujinko
    @MrFujinko Před 3 lety

    Very nice! Keep up the good work!

  • @osamadz5884
    @osamadz5884 Před 3 lety

    Great video as always

  • @myidentity222
    @myidentity222 Před 3 lety

    Great video Brother. Waiting for your PCB course.
    Thank you...

  • @TheNewKill1212
    @TheNewKill1212 Před 3 lety

    Amazingly clear and practical tips!
    Please do the same for the ESD design. I am very curious how to handle that properly.

  • @electromatic2014
    @electromatic2014 Před 3 lety

    Your videos are gold, gonna share it on my discord, keep up the amazing work, saludos de Chile :)

    • @PhilsLab
      @PhilsLab  Před 3 lety +1

      Thank you so much, greetings from Denmark :)

  • @sevensolutions77
    @sevensolutions77 Před 3 lety

    Very great video, thanks 👍

  • @MrHeninsh
    @MrHeninsh Před 3 lety

    I didn't saw your last 3 videos! Tomorrow I shoul take a popcorn and lay down!

  • @Thunderbird2935
    @Thunderbird2935 Před 3 lety +1

    Phil, thanks so much for putting out these quick modules on specific categories. These are so informative to watch and I pick up so much additional info outside of the intended subject.
    My question to you is, what would you recommend for a semi-structured course of study outside of a university? I'm currently working on a BS in computer science but I am just as interested in electrical engineering and embedded systems. I am thinking I would like to get a head start on these other areas of expertise in case I decide to pursue multiple degrees after I finish CS.

  • @CodeJeffo
    @CodeJeffo Před 2 lety

    Excellent video!

  • @zhitailiu3876
    @zhitailiu3876 Před 3 lety +3

    My favorite 4-layer board stack-up is (SIG/PWR, GND, GND, SIG/PWR). I've learned this also from Rick Hartley.
    Great video, thanks!

  • @017studioTV
    @017studioTV Před rokem

    Very useful movie. Thanks

  • @arunasharma9432
    @arunasharma9432 Před rokem

    Love your content. I wish, I can use this knowledge for my project, practically. Unfortunately, struggle is always time and resources .. economic or otherwise.

  • @Andrewsnash
    @Andrewsnash Před 3 lety +3

    Thank you! So much helpful information and really well structured. I have a question about trace length. You calculated that it should be less than than 8.6 mm and it was ~7. But what about the length of the anténa connector, connections in the anténa, ic leads/wire bonds. I suppose it could sum up and add quite a bit of length to the trace. Why it's not taken into account?
    I mean could it affect my requirements on the impedance/length of the trace

  • @lucasdias2006
    @lucasdias2006 Před 3 lety +1

    Great video, congrats.
    Could you talk more about designs in which the RF signal is over than critical length?
    What layout guidelines I could implement to do a better design.
    Thanks

  • @sujithonhaga8430
    @sujithonhaga8430 Před rokem

    😍 my search is completed here 😁

  • @dajralfred
    @dajralfred Před 3 lety

    Looking forward to seeing a video of the design of this board.

    • @PhilsLab
      @PhilsLab  Před 3 lety

      Thank you, that's soon to come!

  • @marcoscuriel7741
    @marcoscuriel7741 Před 3 lety

    great video!!, thank you for shearing. Have just little question, what do you do in the xtal section with the ground plane? i see like a small cut and one line conection, can you explain me? thanx!!

  • @PunitJain8695
    @PunitJain8695 Před 3 lety +1

    Really nice video :)
    at 14:22, could we not use tear drops to make the width transition gradual ?

  • @dehCremus
    @dehCremus Před 3 lety +13

    Hi Phil, coming Monday I start my graduation assignment at a company. The assignment is designing a PCB and writing its firmware. I have to say that your videos really are a treat and are great for refreshing my knowledge!
    Also, KiCad 6 is almost releasing! In case you didn't know.

  • @ucmasmaster1399
    @ucmasmaster1399 Před 2 lety +1

    Tnx for nice teaching.

  • @liwenzeng9529
    @liwenzeng9529 Před 3 lety

    Great explaination!

  • @milk3dfx
    @milk3dfx Před 3 lety

    Good news about jlcpcb! Good video and exactly what need. Can you recommend active or passive antennas for GPS?

  • @EhsanAlnazi
    @EhsanAlnazi Před 3 lety

    Interesting tips .. thanks

  • @myetis1990
    @myetis1990 Před 3 lety +1

    really helpful content which encourages to learn more about hw design.
    what about your hw course? when will you release?

  • @tebbotebbo309
    @tebbotebbo309 Před 3 lety

    Good channel , I hope you get more subscribers bro !!

  • @jasontoo
    @jasontoo Před 3 lety +1

    Amazing. Keep spitting truth, don't swallow.

  • @danielramatladitebeila448

    Thanks Phil

  • @hwj1822
    @hwj1822 Před 3 lety

    Thanks again.

  • @tntodorov
    @tntodorov Před 3 lety +12

    Hey Phil, great video! Would you please consider making another one about making PCB antennas design (in KiCad) and choosing values for the PI matching network, and various types of PI networks. Like for example the EPS32 PCB antennas... That would be great!

    • @simonmerrett
      @simonmerrett Před 3 lety +1

      Matching networks would be a great video. Including, for example, how the critical length comes in to play, best practice for tuning, measurement etc.

    • @PhilsLab
      @PhilsLab  Před 3 lety +6

      Thank you!
      Yeah I think a video on PCB antennae and matching networks would be a very good idea. I need to get my hands on some simulation software before I'll put one out, but hopefully sometime soon :)

    • @Piccodon
      @Piccodon Před rokem

      Antenna design, beyond the most simple ones, is a big job. Simulation software is hideously expensive, and those who design antennae are usually very specialized in this field.
      For WiFi, GPS, and cell bands there are numerous choices available, with predictable characteristics, including PCB mounted ones.
      "Critical length" is applicable to digital signals, where their risetime determine frequency calculations. For RF 50 ohm lines is commonly used, and better dielectrics for lower losses, but expect a 10x cost increase for use above like 3 GHz, or very high power levels.

  • @alizaarour8573
    @alizaarour8573 Před 3 lety

    Best channel on youtube

  • @markuscwatson
    @markuscwatson Před 3 lety

    Great video

  • @thezodiace7399
    @thezodiace7399 Před 3 lety

    Great video Phil,
    Can you do an introductory video to the RF design for non-RF engineers in the future? it will be really interesting.

  • @mbison9755
    @mbison9755 Před 3 lety

    Hi! Great channel! I've learned so much here. I have a question. I am designing a pcb that has a rf module using a 868 mhz antenna. The pcb will have 2 layers, both layers with ground fill. Are the calculations done the same way?

  • @God_controls_all
    @God_controls_all Před 3 lety

    Great as always.....Greetings from Africa!

  • @martinvasilev9809
    @martinvasilev9809 Před 3 lety +1

    Nice video. No stitching vias? (To isolate the RF part.)

  • @ghattasakkad8098
    @ghattasakkad8098 Před 3 lety +1

    Great videos! What happened to the PCB design course is it available for purchase yet?

  • @ZainAhmed
    @ZainAhmed Před 3 lety +1

    Fuck yeah it’s Phil

  • @rjordans
    @rjordans Před 3 lety

    If you want to play around with cheap circuit simulation, try Qucs, that should get you a reasonable answer already. Looking at the output from the KiCAD calculator it also shows the Eeff, I guess that differences in approximating that value are to blame for the different values you got from the JLC calculator.

  • @colanuss4985
    @colanuss4985 Před 3 lety +1

    If I understood you correctly, you recommend routing signals on the top layer. May i ask, what´s the benefit compared to a setup of lets say: 1.Power 2.ground 3.signal 4.ground, where the signals would be mostly shielded against the outside noise?
    Ps: as always, i think your videos are a great resource both for beginners and advanced users. They guide and encourage people to improve EMC for common application boards.

    • @trevorclements6071
      @trevorclements6071 Před 3 lety

      A big disadvantage of the stackup you mentioned is that you lose an entire routing layer. This also only minimally protects the traces from external EMI but your components still have to be on the outside layers and are still just as susceptible to the EMI. Most general applications don't really need this kind of protection, and if they do, you use shielding cans instead. Although many HDI designs use this sort stackup you mentioned but only because they have many layers and don't have a problem with routing constraints, and it is done mostly to prevent the board itself from radiating RF energy to remain within compliance standards not just from protecting it from external EMI.

  • @pawanv86
    @pawanv86 Před 3 lety

    Fantastic!

  • @electromagno380
    @electromagno380 Před 3 lety

    Thank you Phil's Lab!!!
    Could you allow subtitles?
    Thanks!

  • @jerryzhang7172
    @jerryzhang7172 Před 3 lety

    Hope you build one video of flight control design

  • @scrimi5997
    @scrimi5997 Před rokem

    awesome!!

  • @alaingalo
    @alaingalo Před 3 lety

    Thak you!

  • @konturgestalter
    @konturgestalter Před 3 lety

    excellent

  • @vandanagoyal3037
    @vandanagoyal3037 Před 2 lety

    Thx

  • @hardikparmar875
    @hardikparmar875 Před 3 lety

    Amazing!!!

  • @twin1q
    @twin1q Před 3 lety

    You should remove the solder mask to properly make the microstrip. Another option is to include the dielectric of the solder mask. It is still a good video.

  • @Aemilindore
    @Aemilindore Před 3 lety

    Hey Phil, May be you will use Ublock Origin instead of ADB. ADB lost its trust as a proper add blocker a while ago. You may search online for differences.

  • @emiledestructeur
    @emiledestructeur Před 3 lety

    Great video. Could you please make one about higher power pcbs, i am trying to build a shield for my micro that could handle a 12S bms (BQ76952) and that could feed its energy to a 3 phase gate driver (DRV8353) for motor control at 60v 15a. I am confused about trace width and their power carrying characteristics. Thanks big fan.

    • @PhilsLab
      @PhilsLab  Před 3 lety +1

      Thank you! Yeah I'm definitely up for making a video on higher-current/high-power PCBs. Not sure when that'll come out, but it's on the list :)

  • @PerchEagle
    @PerchEagle Před 3 lety

    Which is used in military applications most a microcontroller or a FPGA? Also which is used critical applications?

  • @Shubham-po2tp
    @Shubham-po2tp Před 3 lety +1

    Can you suggest any playlist for learning smt32 blue pill tutorials

  • @tejeshwvardhan1165
    @tejeshwvardhan1165 Před 3 lety

    Can we connect ufl directly attach to pin with trace length around 2mm. making 4 layer board for 1 trace is too overkill!

  • @plbader3714
    @plbader3714 Před rokem

    i have no idea what words you say means , but its so fun to watch 😅

    • @PhilsLab
      @PhilsLab  Před rokem

      I'm glad it's at least fun to watch :D

  • @yashvardhanagarwal2740

    Hey if we are using some rf module like the DWM1000 do we still need 4 layers? As the rf part is handled by the module itself and we only have to add microcontroller and other components, can it be done in 2 layers? Or you still suggest 4 layers? Also could you make on such video for design consisting dwm1000 or a similar module.

  • @havahijakim7830
    @havahijakim7830 Před 3 lety

    Hi, I have a little question. I'm about to design a circuit that includes nrf24 ic. I would like to do this on 2 layers, 1.6mm board, as it is a little bit cheaper and easier to design. But when I enter all values into the calculator (1.5mm height between ground and traces, 4.6 dielectric constant, and 50-ohm impedance), it gives me enormous 2.54mm width traces. Is that possible or am I doing something wrong?

  • @yudycheng6576
    @yudycheng6576 Před 3 lety

    good

  • @anneallison6402
    @anneallison6402 Před 3 lety

    What to do if you exceed the critical length?

  • @science.20246
    @science.20246 Před rokem

    Phil i have problem with easyeda i need some support for imported component will be not linked on pcb when i start to route

  • @haimik0
    @haimik0 Před 6 měsíci

    Would using a wider trace (say 0.5mm) width negatively impact the impedance?

  • @erenoz2910
    @erenoz2910 Před 2 lety

    hello, i'm a bit late to the party (by about 7 months!) but i have a question. i'm going to do a layout for a board where a microcontroller communicates with a bluetooth module over uart. do the uart traces count as rf traces?

  • @saketkumar6250
    @saketkumar6250 Před 2 lety

    Sir, I need help in designing 2.4 ghz RF circuit. I need to decide my antenna trace width for pcb antenna. Dielectric constant 4.5

  • @MegaAks60
    @MegaAks60 Před 3 lety

    Hello Phil! I hope you'll notice my comment, because I'm losing my mind here. I have a question about usb connection in stm32f1 mcu's. I've watched your video about stm32f1 breakout board and designed own board based on your schematic. I wanted to play around with virtual com port and establish connection with my pc. But when I connect my board, I get "device descriptor request failed" error. And after some research I found that in some cases D+ line is connected to 5v instead of 3.3v. I resoldered the pin, and usb started working and I can communicate with mcu. I just can't understand what I'm doing wrong. All of the official docs said it should be connected to 3.3v, but it just doesn't work. I assume it's software problem, because it's working now with 5v pull up. But I simply couldn't find the answer. Please give me a hint if you can. And thank you for your videos, they keep me motivated)

  • @Zorgoban
    @Zorgoban Před 3 lety

    I'm just a hobbyist with no commercial experience in board design. I watched those videos from Rick Hartley and as you stated you even took part. Could you please explain why you still insist on using layer 3 for power on a 4 layer board? Since it is what Rick Hartley wouldn't recommend. Also layer 2 and 3 are much thinner than layer 1 and 4.

  • @gacherumburu9958
    @gacherumburu9958 Před 3 lety

    👍

  • @althuelectronics5158
    @althuelectronics5158 Před 2 lety

    hi sir .plese your helping
    haw tomake RF recever circuit at home .

  • @althuelectronics5158
    @althuelectronics5158 Před 2 lety

    ihave a new projact .i have to get it done plese your helping

  • @arjunramesh6383
    @arjunramesh6383 Před 7 měsíci

    Hi please make a course for this video

  • @mattbastable1942
    @mattbastable1942 Před 3 lety

    Don't tell Rick you're using a 4 layer stackup ;-)

  • @daperl2
    @daperl2 Před 3 lety

    this is one of the best channels on youtube, but there's something wrong with the audio in this video. the volume level is modulating to the point of being unlistenable.

    • @simonmerrett
      @simonmerrett Před 3 lety

      I did not notice any audio issues and was able to follow along just fine. Maybe a local issue rather than with the video?

    • @PhilsLab
      @PhilsLab  Před 3 lety

      Thank you! Hmm I'm not sure if I can hear the audio problem. I notice that the noise gate can sometimes make it sound funny. I'll try to improve it for future videos.

  • @CarlosDelcristo
    @CarlosDelcristo Před 3 lety

    jlcpcb down????

  • @BrandonDrury
    @BrandonDrury Před 3 lety

    Phil's Lab videos make we want to strip down and get frisky.

  • @natasha.
    @natasha. Před 3 lety +1

    jlcpcb upwards direction????

    • @natasha.
      @natasha. Před 3 lety +1

      Phlab club is in effect effective of this previous Tuesday for meeting, will you have a new content on the xtal section in time?

  • @hardrocklobsterroll395

    Great video as usual

  • @rick_er2481
    @rick_er2481 Před 3 lety

    Great video!