Variable Frequency Drive PCB
flux
flux
PRECHARGE_VALID when the DC link reaches approximately 91 percent of the input voltage.Table
| Design decision | Alternatives considered | Selected approach and reason |
|---|---|---|
| Development voltage | Begin near 325 VDC or validate at low voltage | 48-60 V prototype selected to reduce shock, arc, and stored-energy risk during first validation. |
| Control method | Scalar V/Hz, field-oriented control, direct torque control | Open-loop V/Hz selected because it demonstrates true VFD operation with lower firmware and commissioning complexity. |
| Power stage | Integrated inverter module or discrete MOSFET bridge | Discrete MOSFET bridge selected to expose gate-drive, protection, current-path, and PCB-layout design decisions. |
| Current measurement | Single DC-link shunt or three phase shunts | Three phase shunts selected for phase-specific measurement and protection. |
| Shutdown | Firmware-only shutdown or independent hardware shutdown | Independent comparator, latch, logic, E-stop, gate-inhibit, and timer-break chain selected for safer fault response. |
| Braking | Dynamic braking resistor or coast-to-stop | Coast-to-stop selected for the first prototype to reduce hardware and control scope. |
| PC interface | Direct non-isolated USB or isolated USB-UART | Isolated USB-UART selected to protect the laptop-side ground from the inverter ground domain. |
| PCB | Two-layer board or four-layer board | Four-layer board selected to improve routing resources, return paths, and power distribution. |
Important: Exact hours were not recorded in the project files. Replace eachNot recordedentry with the actual time from personal notes, calendar history, or laboratory records before submission. The dates and activities below are supported by the design history.
Table
| Date or period | Student | Activity and contribution | Time spent |
|---|---|---|---|
| Aug. 14, 2026 | Harvey Tada | Defined project requirements, low-voltage prototype scope, motor target, and system architecture. | Not recorded |
| Aug. 14-16, 2026 | Harvey Tada | Developed schematic functional groups, selected primary devices, calculated preliminary power budget, and reconciled nets. | Not recorded |
| Aug. 15-18, 2026 | Harvey Tada | Developed overcurrent, E-stop, shutdown, and precharge circuits; performed datasheet verification. | Not recorded |
| Sept. 5-9, 2026 | Harvey Tada | Reorganized the PCB power stage, corrected footprint-pad mappings, cleared stale traces, and routed initial high-current paths. | Not recorded |
| Sept. 9, 2026 | Harvey Tada | Consolidated the procurement BOM and identified sourcing blockers. | Not recorded |
| Sept. 10, 2026 | Harvey Tada | Performed PCB routing-readiness review and established remaining routing priorities. | Not recorded |
| Sept. 20, 2026 | Harvey Tada | Redesigned and verified U2, U3, and U4 gate-driver cells and their local return paths. | Not recorded |
| Sept. 20-21, 2026 | Harvey Tada | Routed and reviewed U-, V-, and W-phase current-sense cells; corrected Kelvin and bypass geometry. | Not recorded |
| Sept. 21-23, 2026 | Harvey Tada | Routed protection logic, comparator thresholds, E-stop, fault latch, timer break, and gate-enable networks. | Not recorded |
| Sept. 29-30, 2026 | Harvey Tada | Recovered safety-cell routing, corrected TVS/capacitor ratings, added deterministic startup inhibit, and completed additional precharge routing. | Not recorded |
| Ongoing | Harvey Tada | Maintained reports, block diagrams, verification records, and final class documentation. | Not recorded |
GATE_ENABLE, STM32 TIM1_BKIN, and gate-driver inputs.J1 -> F1 -> precharge/Q7 -> DC_BUS -> half-bridges -> motor output flow.ISENSE_V destinations.ACTIVE_FAULT_NGATE_PREREQ and GATE_ENABLEFUSED_DC and DC_BUS nets.Diagram
Table
| Block | Purpose | Main components |
|---|---|---|
| Input and protection | Accepts low-voltage DC and limits fault/transient energy. | J1, F1, D1, C1-C7 |
| Precharge | Limits capacitor charging current and bypasses resistors after qualification. | R67-R70, Q7, U25, C76, C77 |
| DC link | Stores energy and supplies the inverter bridge. | C1-C7, C53, C61, C64 |
| Three-phase bridge | Converts DC into PWM phase voltages. | Q1-Q6 |
| Gate drive | Level-shifts and drives high-side/low-side MOSFET gates. | U2-U4, bootstrap capacitors, gate resistors |
| Current sensing | Measures each phase current. | RS1-RS3, U5-U7, filters |
| Hardware protection | Detects overcurrent and disables all PWM independently of firmware. | U19, U20, U21-U24, U15-U17 |
| MCU control | Generates PWM and supervises startup, faults, measurements, and communication. | U1 STM32G474RET6 |
| Auxiliary power | Produces 12 V, 5 V, and 3.3 V rails. | U8-U10, L1, L2 |
| USB isolation | Provides laptop communication while separating ground domains. | J3, D2, U12, U13 |
| User controls | Provides commands, reset, programming, and status. | J4-J6 and associated circuitry |
Table
| ID | Requirement | Engineering specification | Current verification method/status |
|---|---|---|---|
| R1 | Operate as a low-voltage three-phase inverter | 48 V nominal, 60 V maximum DC bus | Schematic/layout requirement established; energized test pending. |
| R2 | Support 1 hp motor-development architecture | 230 V, 1 hp motor is the final target; first board is a low-voltage validation platform | Architecture documented; full-voltage operation is outside current revision. |
| R3 | Control output frequency | 0-60 Hz open-loop V/Hz | Firmware implementation pending. |
| R4 | PWM switching | 20 kHz complementary PWM with dead time | MCU/gate hardware selected; oscilloscope validation pending. |
| R5 | Continuous phase current target | 5 A RMS | Copper/shunt/component review in progress; load test pending. |
| R6 | Short peak-current target | 10 A | Component and shunt ratings selected; transient test pending. |
| R7 | Independent overcurrent trip | Nominal -12.004 A and +12.004 A on every phase | Calculations verified; injected-fault test pending. |
| R8 | Emergency shutdown | Normally closed E-stop included in hardware fault path | Schematic and substantial PCB routing complete; bench test pending. |
| R9 | Hardware PWM shutdown | Disable all six PWM paths and assert STM32 TIM1_BKIN | Schematic verified; final full-board continuity and bench test pending. |
| R10 | Precharge | Initial current through four 100 ohm resistors; Q7 bypass after about 91 percent bus charge | Topology and major routing complete; timing and failed-precharge tests pending. |
| R11 | Ground isolation | Laptop USB_GND must not connect to GND or PGND | Architecture maintained; final active-copper isolation test pending. |
| R12 | Auxiliary rails | 12 V gate rail, 5 V analog/interface rail, 3.3 V logic rail | Regulators selected; PCB completion and load testing pending. |
| R13 | Safe startup | Power-up must default to gate-inhibited/faulted state | TLV803EA30 supervisor added; physical and timing test pending. |
| R14 | PCB construction | 180 mm x 200 mm, four copper layers | Implemented. |
| R15 | High-current copper | 5 mm DC/PGND and 4 mm phase targets where geometry permits | Rules established and partially implemented. |
| R16 | Communication | Isolated USB serial command and telemetry | Hardware included; routing/firmware/test pending. |
| R17 | Stop behavior | Coast-to-stop | Selected; firmware test pending. |
FUSED_DC/DC_BUS separation are proven.Table
| Test | Procedure | Dataset size | Pass criterion |
|---|---|---|---|
| PCB continuity | Measure power and signal nets before power-up. | 100 percent of power rails, phase nodes, safety nets, and connector pins | No unintended shorts; intended continuity present. |
| USB isolation | Measure resistance between USB_GND, GND, and PGND. | 3 domain pairs, repeated before and after assembly cleaning | No DC connection across the intended isolation barrier. |
| Auxiliary rails | Apply current-limited DC input at several voltages and loads. | 5 input voltages x 3 load conditions per rail | Rails remain within +/-5 percent with no thermal fault. |
| PWM and dead time | Observe all six gate commands and representative gate voltages. | 6 channels at 5, 20, 40, and 60 Hz command | 20 kHz carrier, no overlap, dead time meets firmware target. |
| Current-sense calibration | Apply known bidirectional shunt current. | At least 11 points from -10 A to +10 A per channel | Gain and offset within the selected tolerance; monotonic response. |
| Overcurrent shutdown | Inject equivalent sense voltages across each high/low comparator. | 6 comparator paths x 5 repetitions | All gates disabled and fault latched every time. |
| E-stop | Open the normally closed E-stop circuit during idle and PWM operation. | 10 repetitions in each condition | Immediate gate disable; restart requires qualified reset. |
| Startup inhibit | Cycle power at minimum, nominal, and maximum test input. | 10 cycles at each voltage | Gate enable remains low until supplies, precharge, and reset conditions are valid. |
| Precharge | Record input current and bus voltage during startup. | 10 startups at 24 V, 48 V, and 60 V if safe | No direct bypass before valid; bus reaches threshold; Q7 activates correctly. |
| Failed precharge | Prevent bus rise or disable Q7 command. | 5 trials per fault mode | Gate enable remains inhibited; resistor temperature remains safe for test duration. |
| RL-load output | Operate into a balanced three-phase RL load. | 5, 10, 20, 40, and 60 Hz; 3 load levels | Balanced phase order, controlled current, no protection nuisance trips. |
| Motor test | Run a low-voltage-compatible motor or reduced-voltage test setup. | Minimum 5 frequencies and 3 load points | Motor follows command; current and temperatures remain within limits. |
| Thermal test | Monitor MOSFETs, shunts, drivers, regulators, and precharge resistors. | 30-minute run at each major load point | No part exceeds its approved temperature limit. |
Diagram
Table
| Rail | Major loads | Preliminary design allowance |
|---|---|---|
| 12 V | U2-U4 gate drivers, U25 Q7 driver, switching losses | 0.5-0.8 A peak allowance |
| 5 V | U5-U7 current-sense amplifiers, analog support, regulator overhead | 0.2-0.3 A allowance |
| 3.3 V | STM32, comparators, logic, controls, status circuits | 0.15-0.25 A allowance |
| USB 5 V isolated side | CP2102N and USB side of ISO7721 | Less than 0.1 A expected |
Table
| Week | Planned activities | Deliverable or milestone |
|---|---|---|
| 1 | Freeze requirements, architecture, component list, preliminary budget, and risk plan. Begin ordering long-lead parts. | Approved proposal, block diagram, initial BOM, orders placed. |
| 2 | Complete schematic and protection calculations. Review datasheets and ERC. | Schematic review package and corrected calculations. |
| 3 | Complete PCB placement, footprint checks, stackup, and design rules. | Placement review and routing-ready board. |
| 4 | Route input, DC bus, PGND, motor phases, precharge, gate loops, and current sensing. | Critical power and analog routing complete. |
| 5 | Route protection, MCU, auxiliary rails, USB, and controls. Clear airwires and blocking DRC. | Fabrication-ready PCB release. |
| 6 | Receive parts/PCB, assemble, inspect, and perform unpowered checks. Continue firmware development. | Assembled board and inspection record. |
| 7 | Bring up auxiliary rails, MCU, SWD, USB, ADCs, and basic PWM without energizing the bridge. | Low-energy bring-up report. |
| 8 | Validate gate waveforms, dead time, E-stop, overcurrent, startup inhibit, and precharge. | Safety and gate-drive test results. |
| 9 | Test with passive RL load, then reduced-voltage motor if all protections pass. Collect current and thermal data. | Controlled inverter operation and waveform evidence. |
| 10 | Complete motor demonstration, analyze results, finalize budget, report, website, presentation, and video. | Final demonstration and submission package. |
Table
| Activity | Proposed completion | Actual status as of Sept. 30, 2026 | Variance and reason |
|---|---|---|---|
| Requirements and architecture | Week 1 | Completed | On scope. |
| Schematic and calculations | Week 2 | Substantially completed; ERC clean | Additional protection corrections extended this phase. |
| Placement and rules | Week 3 | Completed with repeated footprint corrections | More custom pad reconciliation than expected. |
| Critical routing | Week 4 | Partially completed | Gate loops, Kelvin routes, stale copper, and custom pads required repeated local redesign. |
| Full PCB release | Week 5 | Not completed | 206 airwires, redundant copper, via-in-pad findings, U24 and regulator opens remain. |
| Procurement | Weeks 1-5 | Draft BOM completed; final order readiness incomplete | Generic passive MPNs and several sourcing risks remain. |
| Firmware | Weeks 3-7 | Planned but not completed | PCB safety and routing work took priority. |
| Assembly | Week 6 | Not started | PCB has not been released. |
| Bring-up and protection tests | Weeks 7-8 | Not started | Requires assembled, reviewed board. |
| Load and motor tests | Weeks 9-10 | Not started | Dependent on successful bring-up. |
| Final report | Week 10 | In progress | Design evidence and honest limitations documented. |
Table
| Qty | References | Component / MPN | Function | Status |
|---|---|---|---|---|
| 1 | U1 | STM32G474RET6 | Main motor-control MCU | Selected |
| 3 | U2-U4 | UCC27211AQDDARQ1 | Half-bridge gate drivers | Selected |
| 7 | Q1-Q7 | BSC074N15NS5 | 150 V power MOSFETs | Selected |
| 3 | U5-U7 | INA240A1D | Phase-current amplifiers | Selected |
| 3 | RS1-RS3 | HoJLR2512-3W-5mR-1% | 5 milliohm shunts | Manufacturer verification required |
| 1 | U8 | LM5164DDA | 60 V bus to 12 V regulator | Sourcing verification required |
| 1 | U9 | LMR50410Y5FQDBVRQ1 | 12 V to 5 V regulator | Selected |
| 1 | U10 | TPS7A2033PDBVR | 5 V to 3.3 V LDO | Selected |
| 1 | U11 | TMP235A2DCKR | Temperature sensor | Stock/alternate review required |
| 1 | U12 | CP2102N-A02-GQFN24 | USB-UART bridge | Selected |
| 1 | U13 | ISO7721DR | Digital isolator | Selected |
| 3 | U15-U17 | SN74LVC2G08DCUR | Dual PWM gate logic | Selected |
| 2 | U19-U20 | TLV9024PWR | Quad comparators | Selected |
| 1 | U21 | SN74LVC1G74DCTR | Fault latch | Selected |
| 1 | U22 | SN74LVC1G07QDBVRQ1 | Open-drain fault combine | Selected |
| 1 | U23 | SN74LVC1G00DBVRG4 | Reset qualification logic | Active suffix review required |
| 2 | U14, U24 | SN74LVC1G11DBVRG4 | Three-input gate-enable logic | Active suffix review required |
| 1 | U25 | LTC7001IMSE#TRPBF | Q7 high-side driver | Long-lead item |
| 1 | Startup supervisor | TLV803EA30DBZR | Deterministic power-up inhibit | Added in latest revision |
| 1 | D1 | 1.5SMC75A class | DC-bus TVS | Updated; exact orderable MPN to freeze |
| 2 | C1, C2 | UCY2C471MHD class | 470 uF, 100 V bulk capacitors | Updated |
| 1 | C4 | ECW-F2105JAQ | 1 uF, 250 V film capacitor | Alternate sourcing may be required |
| 4 | C3, C5-C7 | C3216X7R2A105K160AA | 1 uF, 100 V ceramics | Selected |
| 4 | R67-R70 | AC05000001000JAC00 | 100 ohm, 5 W precharge resistors | Selected |
| 1 | F1 | 0476012.MRSN | 12 A DC fuse | Interrupt rating review required |
| 1 | J1 | 1714971 | DC input terminal | Selected |
| 1 | J2 | 691137710003 | Motor output terminal | Rating/mating review required |
| 1 | J3 | USB4105-GF-A | USB-C connector | Selected |
| 1 | J4 | FTSH-105-01-X-DV-K-X | SWD header | Exact ordering code required |
| 1 | J5 | Unassigned 1x8 header | Local controls/status | Exact MPN required |
| 1 | J6 | 15ETYRM-3.5-02P-14-00AH | E-stop terminal | Stocked alternate may be required |
| 1 | D2 | SP0503BAHTG | USB ESD protection | Manufacturer/footprint verification required |
| 2 | D3, D4 | BAT54S-TP | Schottky clamps | Selected |
Table
| Group | Approximate quantity | Requirements |
|---|---|---|
| Generic resistors | 66 in the earlier BOM | Consolidate by value, package, tolerance, power, voltage, and pulse rating. |
| Generic capacitors | 69 in the earlier BOM | Assign X7R/C0G dielectric, tolerance, voltage rating, DC-bias allowance, and MPN. |
| Generic inductors | 2 | L1: 68 uH, saturation at least 1.8 A; L2: 4.7 uH, saturation at least 1.5 A. Verify DCR and thermal rise. |
Table
| Category | Proposed budget | Actual cost | Notes |
|---|---|---|---|
| PCB fabrication, 4-layer prototypes | TBD | TBD | Include shipping and stencil if used. |
| STM32 and control ICs | TBD | TBD | Include one spare MCU. |
| MOSFETs and gate drivers | TBD | TBD | Include spare MOSFETs and gate-resistor options. |
| Current sensing and protection | TBD | TBD | Shunts, INA240s, comparators, logic, supervisor. |
| Auxiliary power supplies | TBD | TBD | Regulators, inductors, diodes, and capacitors. |
| DC-link and precharge parts | TBD | TBD | Bulk/film capacitors, fuse, TVS, Q7, driver, resistors. |
| USB, isolation, and connectors | TBD | TBD | USB-C, CP2102N, ISO7721, ESD, headers, terminals. |
| Generic passives | TBD | TBD | Consolidated resistor/capacitor lines plus spares. |
| Assembly supplies | TBD | TBD | Solder paste, flux, stencil, wire, terminals, hardware. |
| Test equipment or fixtures | TBD | TBD | RL load, current probe access, insulated leads, enclosure/guards. |
| Total | TBD | TBD | Attach distributor quotes and receipts. |
Table
| Risk | Impact | Mitigation |
|---|---|---|
| Energizing an incomplete board | Component damage or unsafe behavior | Do not power until zero required airwires, blocking DRC cleared, and independent pre-power review completed. |
| Overcurrent protection failure | MOSFET or load damage | Verify every sensor-to-gate shutdown path and perform injected-fault tests before load testing. |
| Precharge bypass error | High inrush current | Preserve distinct FUSED_DC/DC_BUS nets and verify resistor/Q7 paths physically. |
| Ground-isolation failure | Laptop or equipment damage | Resistance and active-copper inspection between USB_GND and PGND/GND. |
| Gate-loop inductance | Ringing or false turn-on | Compact local cells, short gate returns, adjustable gate resistors, oscilloscope validation. |
| Shunt bypass or poor Kelvin pickup | Incorrect current measurement | Terminal-origin Kelvin routing and copper-bypass inspection. |
| Component sourcing changes | Footprint or rating mismatch | Freeze exact MPNs before fabrication and check all alternates against pinout and footprint. |
| Thermal overload | Reduced reliability or failure | Staged current tests and temperature monitoring before full-duration operation. |
| Schedule delay | Incomplete demonstration | Prioritize a safe low-voltage demonstration; defer full-voltage scope and nonessential features. |
The STM32G474 includes advanced motor-control timers with break inputs [1].Before submission, replace generic datasheet titles with full bibliographic entries or direct manufacturer URLs in the website reference list. Ensure every technical claim that depends on a datasheet includes the matching bracketed reference number.
1. Landing Page: Abstract, Explanation, and Motivation
Abstract
Project Motivation
2. Design Proposal and Design Ideas Considered
2.1 Selected Design
2.2 Design Alternatives Considered
2.3 Important Design Changes During Development
3. Group Member Biography and Responsibilities
Harvey Tada
4. Time and Effort Table
5. Project Progress Log
Phase 1: Requirements and Architecture
Phase 2: Schematic Development
Phase 3: Protection Corrections
Phase 4: PCB Setup and Placement
Phase 5: High-Current Routing
Phase 6: Gate-Driver Cells
Phase 7: Current-Sense Cells
Phase 8: Shutdown and Precharge Routing
Phase 9: Results and Analysis
Recommended Figures and Videos for the Website
6. System Block Diagram
Block Explanations
7. Project Requirements and Engineering Specifications
8. Success Criteria and Test Plan
8.1 Overall Success Criteria
8.2 Requirement Test Matrix
8.3 Safety Limitation
9. Power Tree and Power Budget
9.1 Power Tree
9.2 Preliminary Control-Power Budget
9.3 Power-Path Rating Notes
10. Ten-Week Proposed Timeline
Procurement Timing
11. Proposed Versus Actual Timeline
12. Detailed Bill of Materials
12.1 BOM Summary
12.2 Major Components
12.3 Generic Passive Groups Requiring Exact MPNs
12.4 Recommended Spare Quantities
12.5 Procurement Release Blockers
13. Proposed and Actual Budget
14. Risk Assessment and Mitigation
15. Documents and Supporting Records
16. Citations and References
17. Current Conclusion