Design Review (Buck + STM32 + Peripherals) - Phil's Lab #81

  Рет қаралды 21,549

Phil’s Lab

Phil’s Lab

Күн бұрын

Design review of PCB containing an STM32F1 microcontroller, buck converter, relays, and various peripherals. Going through schematic and PCB, giving tips and guidelines throughout.
Khadem's Git repo: github.com/citrineio/LEL-Dete...
[SUPPORT]
Free trial of Altium Designer: www.altium.com/yt/philslab
Patreon: / phils94
Mixed-signal hardware design course: phils-lab-shop.fedevel.education
[GIT]
GitHub: github.com/pms67
[TIMESTAMPS]
00:00 Introduction
01:15 Altium Designer Free Trial
01:38 Schematic - Overview
03:07 Schematic - Power (Buck, LDO)
08:08 Schematic - MCU & Peripherals
12:48 PCB
17:12 PCB - Buck Converter
19:22 PCB - Additional Comments
20:15 Recommended Videos

Пікірлер: 49
@Stabby666
@Stabby666 Жыл бұрын
I like these review videos - I've pretty much got to the point where I can anticipate a lot of Phil's points about designs now, which I think is a good sign for myself!
@PhilsLab
@PhilsLab Жыл бұрын
Thanks! That's right - a lot of the points I mention are very common across peoples' projects and typical 'mistakes' (or things that could be improved). I'd love to make a video on a far more formal design review process at some point (with much more depth) - but that would be a rather long video indeed!
@JKTCGMV13
@JKTCGMV13 Жыл бұрын
@@PhilsLab a video like that would be a great resource for people just starting their engineering career. It’s definitely not something I was taught in college myself
@km-electronics1
@km-electronics1 Жыл бұрын
Indeed, but keep in mind that critiquing other people's designs is much easier than your own designs. I found out about this after Phil pointed out the mistakes in my design in this video. It might be helpful to have a design review checklist for future designs.
@Stabby666
@Stabby666 Жыл бұрын
@@km-electronics1 I've been designing boards for my business for he past 5 years, along with FPGA designs and robotics (I work in the event/creative tech industry). I like to have videos playing while I work though, and usually electronics channels. Constant learning and reinforcing is good 😁
@rick_er2481
@rick_er2481 Жыл бұрын
@@PhilsLab This would be really helpfull
@redcracklp9592
@redcracklp9592 Жыл бұрын
I don't think you should use relays in a potentially gas filled environment, because they can produce sparks. Maybe change your design to MOSFTEs
@km-electronics1
@km-electronics1 Жыл бұрын
Nice point, I will look into what commercial gas detectors actually use.
@moakadarkmaster
@moakadarkmaster Жыл бұрын
@Phil, thank you for making design reviews. Applying the guidelines and rules of thumbs to a practical design can be quite hard sometimes. I love that you give advice to improve the design for everyone to learn.
@km-electronics1
@km-electronics1 Жыл бұрын
Thank you so much for featuring my design. I have to admit that most of the mistakes were embarrassing and I might have captured them easily in someone else's design. Well, this isn't an excuse. I designed the buck converter using TI's online tool which is probably the reason for dodgy values. In hindsight, this was not a smart move. I have to ask you a question, though. I normally import my footprints from websites like Ultralibrarian and Snapeda. I noticed that their courtyards are gigantic. How do I size the courtyard for a footprint?
@JKTCGMV13
@JKTCGMV13 Жыл бұрын
It’s always hard to catch your own mistakes. Your mind knows what it’s supposed to look like, so you don’t see what it actually looks like haha But isn’t that what peer review’s for? 😊
@km-electronics1
@km-electronics1 Жыл бұрын
@@JKTCGMV13 Well said.
@PhilsLab
@PhilsLab Жыл бұрын
Thanks for sending in your design, Khadem. Don't worry - everyone makes mistakes (even 'simple' ones), a great way of learning though. If I look back at some designs I've made (even from the same year), I see things that I could've done better and that in turn means I've progressed, which is a great thing. Regarding your question: I never use Snapeda or the like but always try to make the footprints and schematic symbols myself (for a multitude of reasons). For footprints and sizing (incl. courtyards) I use the IPC-7351 standard - which is luckily part of Altium Designer's IPC-compliant footprint wizard.
@piranha1337
@piranha1337 Жыл бұрын
I think nothing was embarrassing here. You're seeing it from the wrong perspective. The more common mistakes you make, the better the video gets for everyone else. If you have the perfect schematics and layout then Phil can only comment on good design decisions which is nice but the 999 pitfalls are hidden and not commented. Thank you both for your valuable input!
@andymouse
@andymouse Жыл бұрын
@@piranha1337 Well said.
@msmith2961
@msmith2961 Жыл бұрын
Another excellent review with plenty of practical tips. Thanks Phil, (and all those brave enough to share their work to be dissected!).
@PhilsLab
@PhilsLab Жыл бұрын
Thank you very much!
@andymouse
@andymouse Жыл бұрын
Yep, brave souls !
@bencemarta5222
@bencemarta5222 Жыл бұрын
I love to see these kind of videos, the knowledge I gaind has improved my layouts so much. I wish my PCBs were featured in such a video...
@thomasquiniou7071
@thomasquiniou7071 Жыл бұрын
This type of video is really instructive and interesting, thank you Phil !
@PhilsLab
@PhilsLab Жыл бұрын
Thanks a lot, Thomas - glad to hear that.
@Edgarbopp
@Edgarbopp Жыл бұрын
Super helpful actually. Would love more content like this.
@PhilsLab
@PhilsLab Жыл бұрын
Thanks, Doug. Trying to make one design review video per month at the moment!
@doningram3978
@doningram3978 Жыл бұрын
@Phil’s Lab Phil, not denying the advantages of a well structured hierarchy of schematic sheets in a common pdf, but... one potential benefit of a well structured single page schematic is the ability to turn it into a single image file and drop it onto a web page where what you see is what you get with less danger of downloading a potentially sus file.
@syedsulaiman8380
@syedsulaiman8380 Жыл бұрын
Great help
@andymouse
@andymouse Жыл бұрын
I particularly like these critique's their very useful...cheers.
@PhilsLab
@PhilsLab Жыл бұрын
Thanks, Andy!
@SAILxKamal
@SAILxKamal Жыл бұрын
Thank you sir for these amazing content, can you please do a series on C\C++ programming for ebedded systems, the resources on the internet that are well explained are quite scarce.
@konturgestalter
@konturgestalter Жыл бұрын
these are so helpful to learn from
@piranha1337
@piranha1337 Жыл бұрын
Thank you so much for this excellent review ♥️
@PhilsLab
@PhilsLab Жыл бұрын
Thanks for watching!
@TheEmbeddedHobbyist
@TheEmbeddedHobbyist Жыл бұрын
This form of circuit layout seems to be coming from the KZbin University, where the important part is not showing the circuit flow from left to right as we were taught in the old days. But as long as you can put each active component in a box and join the pins to a netlist your doing fine. I find these drawings a bugger to fault find as you can’t easily see if a connection is missing as all as connectivity is in the mind of the creator. When was the last time you saw a bus drawn on a circuit.
@andymouse
@andymouse Жыл бұрын
I agree, most circuits you see have a whole bunch of blue boxes apparently randomly placed with no regard for the right to left flow that makes so much sense.
@obdev9473
@obdev9473 Жыл бұрын
I'm split on this topic. Years ago, circuits were mainly analog, where the overall layout of the schematic was important for circuit analysis; or they were MPU based with a single data and address bus connecting everything. Today, most are modular and digital, with well-defined analog sections. Personally, I hate all-in-one diagrams with a rats nest that I have to follow with my finger, or with a pencil on a printout !!
@jdennee
@jdennee Жыл бұрын
Great video!
@irudoy
@irudoy Жыл бұрын
Thanks for the great video! So much useful information. One question: does mechanical relays really needs ESD protection?
@TheEmbeddedHobbyist
@TheEmbeddedHobbyist Жыл бұрын
ifAs this is a safety device would you go to the extra effort of fitting a power supervisor with built in watchdog as opposed to using the uC’s own internal watchdog?
@sanjikaneki6226
@sanjikaneki6226 Жыл бұрын
When would one chose a synchronous buck over a normal diode one? Or rather when would be worth it ? Also would making one with the pins of the MUC be a good idea (and then disable the LDO ) so that the MCU self powers via a buck.
@khaledsaleh664
@khaledsaleh664 Жыл бұрын
Phil, your channel is an excellent reference on STM32. Please advise how one can interface a 4-20mA transmitter signal reliably to STM32 ADC. Is using a precision resistor all it takes? The voltage drop across this resistor would be high for the loop, we may need an amplifier before the ADC to reduce the resistor value, what do you recommend? Thank you.
@Difool80
@Difool80 Жыл бұрын
Hi Phil. Nice review again ! Do you answer to each design review request you get through your website or do you get too much of them and only answer to the ones which interest you ? I'm asking as I sent you a message a while ago :)
@duemilanove1844
@duemilanove1844 Жыл бұрын
Nice one... Love from India...
@PhilsLab
@PhilsLab Жыл бұрын
Thanks!
@sanjikaneki6226
@sanjikaneki6226 Жыл бұрын
How complex does a design need to be for a review?
@nickbolton9435
@nickbolton9435 Жыл бұрын
I'm with Dave Jones on his view of multi-page schematics... only if you really have to. It's much easier to have everything on one page so you're not jumping between pages. I'd use separate pages only for completely separate and independent modules/boards. But, I agree that maybe there are too many sections in this schematic; everything MCU-related should probably be in the same section. Also, 1pF cap and no pull-downs/pull-ups on FET gates... hmm?
@diablomoto1328
@diablomoto1328 Жыл бұрын
FIRST comment! are you still working on the ESC Phil? really looking forward to that project
@PhilsLab
@PhilsLab Жыл бұрын
Thanks, Alex - yes, that's still in the works, although other designs have take priority in the meantime I'm afraid!
@sanjikaneki6226
@sanjikaneki6226 Жыл бұрын
@@PhilsLab about how many projects are work in progress at the same time?
@markslab28
@markslab28 Жыл бұрын
Great review Phil, Can you elaborate more on the comment about ESD protection for the VFC for the alarm outputs, considering that the outputs could be connected to various voltage levels. (kzbin.info/www/bejne/m4vRqnWqZ7GJpcU)
FPGA PCB Design Review - Phil's Lab #85
33:13
Phil’s Lab
Рет қаралды 28 М.
아이스크림으로 체감되는 요즘 물가
00:16
진영민yeongmin
Рет қаралды 59 МЛН
Smart Sigma Kid #funny #sigma #comedy
00:25
CRAZY GREAPA
Рет қаралды 38 МЛН
KINDNESS ALWAYS COME BACK
00:59
dednahype
Рет қаралды 162 МЛН
BGA PCB Design Tips - Phil's Lab #95
28:21
Phil’s Lab
Рет қаралды 36 М.
Expanding Arduino's I/O for the Test Circuit (RISC-V Part 4)
16:50
Ellipsis Projects
Рет қаралды 1,3 М.
Schematic Tips & Tricks - Phil's Lab #62
14:12
Phil’s Lab
Рет қаралды 42 М.
I Melted Wood With Friction
8:44
The Action Lab
Рет қаралды 754 М.
Thermal PCB Design Tips - Phil's Lab #93
21:14
Phil’s Lab
Рет қаралды 27 М.
FPGA Pins Explained!
14:10
Altium Academy
Рет қаралды 37 М.
Aesthetic PCB Design Tips - Phil's Lab #84
17:56
Phil’s Lab
Рет қаралды 74 М.
6 Horribly Common PCB Design Mistakes
10:40
Predictable Designs
Рет қаралды 180 М.
Top 50 Amazon Prime Day 2024 Deals 🤑 (Updated Hourly!!)
12:37
The Deal Guy
Рет қаралды 1,4 МЛН
НЕ ПОКУПАЙ СМАРТФОН, ПОКА НЕ УЗНАЕШЬ ЭТО! Не ошибись с выбором…
15:23
Look, this is the 97th generation of the phone?
0:13
Edcers
Рет қаралды 4 МЛН
АЙФОН 20 С ФУНКЦИЕЙ ВИДЕНИЯ ОГНЯ
0:59
КиноХост
Рет қаралды 1,1 МЛН
Это - iPhone 16 и вот что надо знать...
17:20
Overtake lab
Рет қаралды 98 М.