Uploaded December 2022 | Updated November 2026, 3 hours ago
Tips to improve performance when designing mixed-signal (analogue + digital) hardware and PCBs. Demonstrated in Altium Designer via a custom digital guitar effects processing platform. PCBs by PCBWay pcbway.com
(AD: This video includes a paid promotion for PCBWay and Altium).
[SUPPORT]
Free trial of Altium Designer: altium.com/yt/philslab (AD)
Patreon: patreon.com/phils94
Mixed-signal hardware design course: https://phils-lab-shop.fedevel.education
Advanced Hardware Design Course Survey
https://forms.gle/X4jwvtZeJ1jTXh7r9
[GIT]
github.com/pms67
[TIMESTAMPS]
00:00 Introduction
00:33 Altium Designer Free Trial (Ad)
01:14 PCBWay (Ad)
02:09 Hardware Overview
03:30 Tip #1 - Grounding
06:18 Tip #2 - Separation and Placement
09:23 Tip #3 - Crossing Domains (Analogue - Digital)
11:55 Tip #4 - Power Supplies
15:09 Tip #5 - Component Selection
17:48 Outro
Tips to improve performance when designing mixed-signal (analogue + digital) hardware and PCBs. Demonstrated in Altium Designer via a custom digital guitar effects processing platform. PCBs by PCBWay pcbway.com
(AD: This video includes a paid promotion for PCBWay and Altium).
[SUPPORT]
Free trial of Altium Designer: altium.com/yt/philslab (AD)
Patreon: patreon.com/phils94
Mixed-signal hardware design course: https://phils-lab-shop.fedevel.education
Advanced Hardware Design Course Survey
https://forms.gle/X4jwvtZeJ1jTXh7r9
[GIT]
github.com/pms67
[TIMESTAMPS]
00:00 Introduction
00:33 Altium Designer Free Trial (Ad)
01:14 PCBWay (Ad)
02:09 Hardware Overview
03:30 Tip #1 - Grounding
06:18 Tip #2 - Separation and Placement
09:23 Tip #3 - Crossing Domains (Analogue - Digital)
11:55 Tip #4 - Power Supplies
15:09 Tip #5 - Component Selection
17:48 Outro
![Class D Audio Amplifier Hardware Design - Phils Lab #125
Class D audio amplifier basics, part selection, schematic and PCB design, and test. PCBs by PCBWay https://www.pcbway.com (AD: This video includes a paid promotion for PCBWay).
[SUPPORT]
Hardware design courses: https://phils-lab-shop.fedevel.education
Course content: https://www.phils-lab.net/courses
Patreon: https://www.patreon.com/phils94
[GIT]
https://github.com/pms67
[SOCIAL]
Instagram: https://instagram.com/philslabyt
[LINKS]
Afrotechmods Class D video: https://www.youtube.com/watch?v=O1UagNkcxi4
Power amplifier classes: https://en.wikipedia.org/wiki/Power_amplifier_classes
Inductor selection guide: https://www.ti.com/lit/an/sloa242a/sloa242a.pdf?ts=1699515133285&ref_url=https%253A%252F%252Fwww.ti.com%252Fproduct%252Fde-de%252FTAS6421-Q1
TPA3116D2 IC: https://www.ti.com/product/TPA3116D2
[TIMESTAMPS]
00:00 Intro
00:27 PCBWay and Git Repo (Ad)
01:01 Class D Amplifier Basics
05:25 IC Choice
07:36 Schematic
16:18 PCB
22:51 No Load Test
25:18 Guitar Demo
26:57 Outro Class D Audio Amplifier Hardware Design - Phils Lab #125](https://i.ytimg.com/vi/wCYNTt5krDM/mqdefault.jpg)
![Delay-Based Audio FX Software Implementation (DSP with STM32) - Phils Lab #140
Software implementation of a digital delay effect in C on a real-time STM32-based embedded DSP system. Theory of IIR comb filters, delay parameters, and modelling. PCBs by PCBWay https://www.pcbway.com (AD: This video includes a paid promotion for PCBWay.)
[SUPPORT]
Hardware design courses: https://phils-lab-shop.fedevel.education
Course content: https://www.phils-lab.net/courses
Patreon: https://www.patreon.com/phils94
[GIT]
https://www.github.com/pms67
[SOCIAL]
https://www.instagram.com/philslabyt
[LINKS]
Comb Filter & Delay Lines: https://youtu.be/YpbTlZAOmyA
Z-Transform: https://youtu.be/5Z3KAKs-EZs
[TIMESTAMPS]
00:00 Introduction
01:07 PCBWay (Ad)
01:44 Hardware
04:52 Delay Line
06:58 Delay Block Diagram and Parameters
09:34 Advanced Delay Structures
11:14 Practical Considerations
14:30 C Implementation
22:30 Test Set-Up
22:52 Frequency Response Measurement
24:54 Demo with Guitar
27:35 Outro Delay-Based Audio FX Software Implementation (DSP with STM32) - Phils Lab #140](https://i.ytimg.com/vi/wd6I_wrGK_k/mqdefault.jpg)
![RC Low-Pass Filter Deep-Dive - Phils Lab #118
Passive RC low-pass filter basics, theory, real-world tests and demos, practical considerations, and examples both in the time- and frequency-domain. PCBs by PCBWay https://www.pcbway.com (AD: This video includes a paid promotion for PCBWay and Altium).
[SUPPORT]
Hardware design courses: https://phils-lab-shop.fedevel.education
Course content: https://www.phils-lab.net/courses
Free trial of Altium Designer: https://www.altium.com/yt/philslab (AD)
Patreon: https://www.patreon.com/phils94
[GIT]
https://github.com/pms67
[SOCIAL]
Instagram: https://instagram.com/philslabyt
[LINKS]
Capacitor Basics: https://www.youtube.com/watch?v=kUruN6WBgSw
ST App Note: https://www.st.com/resource/en/application_note/an2834-how-to-get-the-best-adc-accuracy-in-stm32-microcontrollers-stmicroelectronics.pdf
SAR ADC: https://www.analog.com/en/analog-dialogue/articles/front-end-amp-and-rc-filter-design.html
[TIMESTAMPS]
00:00 Intro
01:12 Altium (Ad)
01:52 PCBWay (Ad)
02:19 Basics
07:00 Time-Domain Analysis
11:48 Test Set-Up
12:14 Time-Domain Demo
14:41 Frequency-Domain Analysis
16:56 Bode Plots
19:53 Frequency-Domain Demo
22:29 Source & Load Effects
25:41 Loading Demo
26:59 Cascading Stages
27:53 Component Non-Idealities
32:08 Non-Idealities Demo
34:21 Further Practical Considerations
39:53 Practical Examples
45:29 Outro RC Low-Pass Filter Deep-Dive - Phils Lab #118](https://i.ytimg.com/vi/xAuBqK4QsCc/mqdefault.jpg)

![PCB Traces 101 - Phils Lab #112
Basics and guidelines for PCB traces (tracks), including geometry/materials, sizing (power and signal), thermals, current-handling, controlled impedance, delay, and more. (AD: This video includes a paid promotion for Altium).
[SUPPORT]
Hardware design courses: https://phils-lab-shop.fedevel.education
Course content: https://www.phils-lab.net/courses
Free trial of Altium Designer: https://www.altium.com/yt/philslab (AD)
Patreon: https://www.patreon.com/phils94
[GIT]
https://github.com/pms67
[SOCIAL]
Instagram: https://instagram.com/philslabyt
[LINKS]
IPC-2221 calculator: https://www.4pcb.com/trace-width-calculator.html
Trace inductance calculator: https://spok.ca/index.php/resources/tools/106-traceindcalc
Differential pairs video: https://www.youtube.com/watch?v=xwrdvhm4vgw
Controlled impedance: https://www.protoexpress.com/blog/controlled-impedance-really-matters/
PCB design for EMI/SI video: https://www.youtube.com/watch?v=VtzPL8wQ8-E
Critical length calculator: https://www.protoexpress.com/tools/bandwidth-rise-time-and-critical-length-calculator/
Kicad controlled impedance video: https://www.youtube.com/watch?v=0fteCxn5XXA
Stackup/controlled impedance video: https://www.youtube.com/watch?v=p3w22veWMbk
[TIMESTAMPS]
00:00 Introduction
00:43 Altium Designer Free Trial (Ad)
01:09 Basics
03:51 Geometry
07:07 Geometry/Material Cost
07:49 Resistance, Inductance, Capacitance
11:33 Power Delivery
12:59 IPC-2221 Calculator
14:09 PDN Inductance
15:31 Inductance Calculator
16:43 Power Planes
17:09 Differential Pairs
17:38 Controlled Impedance
18:54 Critical Length Calculator
20:05 Contr. Imp. Configs & Further Resources
21:30 Propagation Delays & Delay Matching
23:01 Practical Guidelines
29:55 Outro PCB Traces 101 - Phils Lab #112](https://i.ytimg.com/vi/xEVntmYLARw/mqdefault.jpg)

![High-Speed PCB Delay Matching Explained - Phils Lab #110
Tips on PCB trace delay matching/tuning for high-speed interfaces. Covering basics, microstrip/stripline, differential pairs, timing margins, and practical tips. PCBs by PCBWay https://www.pcbway.com (AD: This video includes a paid promotion for PCBWay and Altium).
[SUPPORT]
Hardware design courses: https://phils-lab-shop.fedevel.education
Course content: https://www.phils-lab.net/courses
Free trial of Altium Designer: https://www.altium.com/yt/philslab (AD)
Patreon: https://www.patreon.com/phils94
[GIT]
https://github.com/pms67
[SOCIAL]
Instagram: https://instagram.com/philslabyt
[TIMESTAMPS]
00:00 Introduction
01:10 Altium Designer Free Trial (Ad)
01:33 PCBWay (Ad)
01:54 Courses
02:08 Delay Matching Basics
03:29 Outer vs Inner Layer
05:50 Delay Calculator
06:30 Timing Margins
07:15 DDR Skew Spec & Derating
08:40 Same Layer/Transition Routing
11:25 Delay Tuning Example (Single-Ended)
13:55 Differential Pairs
15:29 Intra-Pair Tuning Example
16:16 Additional Tips
17:57 Package Delays
18:55 Outro High-Speed PCB Delay Matching Explained - Phils Lab #110](https://i.ytimg.com/vi/xdUR3NzXUkc/mqdefault.jpg)
![Real-Time Impulse Response Simulation in Software (STM32 DSP) - Phils Lab #126
Impulse response system modelling, simulation, and real-time implementation on an STM32 microcontroller for a guitar cabinet. PCBs by PCBWay https://www.pcbway.com (AD: This video includes a paid promotion for PCBWay).
[SUPPORT]
Hardware design courses: https://phils-lab-shop.fedevel.education
Course content: https://www.phils-lab.net/courses
Patreon: https://www.patreon.com/phils94
[GIT]
https://www.github.com/pms67
[SOCIAL]
Instagram: https://www.instagram.com/philslabyt
[LINKS]
Impulse Response Wiki: https://en.wikipedia.org/wiki/Impulse_response
FIR Filtering Video: https://www.youtube.com/watch?v=uNNNj9AZisM
STM32 + I2S + DMA Set-Up Video: https://www.youtube.com/watch?v=zlGSxZGwj-E
[TIMESTAMPS]
00:00 Intro
00:58 PCBWay (Ad)
01:34 Impulse Response (IR) Basics
04:17 Getting an IR
06:03 IR Audio Sample
06:15 Time Domain
07:51 Frequency Domain
09:31 FIR Filter
11:04 Truncation
14:18 Firmware Implementation
17:18 Test Set-Up
17:43 Measurements (Frequency Domain, IR Length)
21:03 Guitar Demo (Varying IR Length)
21:46 Guitar Demo (Guitar Rig vs Custom DSP)
22:20 Outro Real-Time Impulse Response Simulation in Software (STM32 DSP) - Phils Lab #126](https://i.ytimg.com/vi/xjQBpsu9Tzc/mqdefault.jpg)
![STM32 USB MIDI Controller Tutorial (TinyUSB) - Phils Lab #169
How to create your own, custom USB MIDI controller with STM32 microcontrollers and the TinyUSB USB MIDI device stack.
Limited-time: $2 for 6-layer PCBs up to 100×100 mm - grab your $33 coupon now: https://jlcpcb.com/events/6-layer-pcb?from=PhilsLab (Ad)
Altium Develop: http://altium.com/yt/philslab (Ad)
[SUPPORT]
Hardware design courses: https://phils-lab-shop.fedevel.education
Course content: https://www.phils-lab.net/courses
Patreon: https://www.patreon.com/phils94
[LINKS]
TinyUSB: https://docs.tinyusb.org/en/latest/index.html
TinyUSB Git: https://github.com/hathach/tinyusb
TinyUSB CDC Video: https://youtu.be/XgsnJdY8LsY
STM32 ADC DMA TIM Video: https://youtu.be/_K3GvQkyarg
USB MIDI Spec:https://www.usb.org/sites/default/files/midi10.pdf
[TIMESTAMPS]
00:00 Intro
01:58 JLCPCB (Ad)
02:59 Altium Develop (Ad)
03:52 Hardware Overview
06:00 CubeIDE Set-Up
08:37 TinyUSB MIDI Device Class
14:21 Receiving MIDI Messages
18:30 Testing Reception with Python Mido
22:49 Sending MIDI Messages
27:04 Testing with DAW
29:42 Outro STM32 USB MIDI Controller Tutorial (TinyUSB) - Phils Lab #169](https://i.ytimg.com/vi/xpWwych65vc/mqdefault.jpg)
![(Sponsored) Differential Pairs - PCB Design Basics - Phils Lab #83
Differential pair PCB design basics, covering differential signalling benefits, references, impedance control, inter- and intra-pair matching, and termination.
(AD: This video includes a paid promotion for Altium).
***Advanced Hardware Design Course Survey***
https://forms.gle/X4jwvtZeJ1jTXh7r9
Rick Hartley video: https://www.youtube.com/watch?v=QG0Apol-oj0
[SUPPORT]
Free trial of Altium Designer: https://www.altium.com/yt/philslab (AD)
Patreon: https://www.patreon.com/phils94
Mixed-signal hardware design course: https://phils-lab-shop.fedevel.education
[GIT]
https://github.com/pms67
[TIMESTAMPS]
00:00 Introduction
00:20 Altium Designer Free Trial (Ad)
00:43 Rick Hartley Diff Pair Video
01:05 Single-Ended vs Differential Signalling
03:25 Differential Signalling Benefits
03:58 Twisted Pair Diff Pair
04:58 PCB Diff Pair
07:00 Impedance and Coupling
09:55 Impedance Calculation Examples (Altium Designer)
12:55 SE and DIFF Impedance to Trace Width and Spacing
14:16 Matching (Inter- and Intra-Pair)
16:18 Matching Example (Altium Designer)
18:10 Termination
21:29 Outro (Sponsored) Differential Pairs - PCB Design Basics - Phils Lab #83](https://i.ytimg.com/vi/xwrdvhm4vgw/mqdefault.jpg)
