PWM 5V Power Supply


Understood. I’ll keep the resistors and capacitors as generic components and use engineering judgment for the remaining specific parts, especially mains-rated and safety-critical components.
For this design, that means:
  • Generic R/C parts stay in the schematic.
  • Specific parts remain for the AC-DC module, fuse holder, MOV, terminal blocks, TLC555, MOSFET, diodes, and PTC fuse.
  • Before manufacturing, we can still assign packages/footprints to the generic passives without replacing them.
yes
I’ll keep the generic R/C components and assign practical package/footprint properties so the design is closer to layout/manufacturing readiness.
I kept all resistors and capacitors as generic and assigned practical package/footprint properties: R1–R4 and C1–C3 are 0603, while C4 bulk capacitance is 1206 for a more realistic 47 µF / 10 V part. I also normalized capacitor metadata and added dielectric guidance in the role details.
Open items:
  • I could not run the final verification because your account currently has no available ACUs.
  • Generic passives intentionally still have no MPNs, per your instruction.
  • PCB layout, mains isolation spacing, and final DRC still remain.
Suggested next steps once ACUs are available:
  1. Run a schematic/property verification.
  2. Start PCB layout with strict primary/secondary separation.
  3. Set board rules for mains creepage/clearance and 2 A output traces.
Set board rules
Document passive choices
Check BOM MPNs
Find clearance settings

Waiting for input


Project Specification — 5V Mains PWM Supply
Project Overview
Status: Draft schematic.
A mains-powered board that accepts 220 VAC nominal input and provides an isolated 5 V DC rail rated for up to 2 A, plus a potentiometer-controlled PWM output for a 5 V load.
Intended Use
Prototype/educational power-control board for a low-voltage 5 V load. Because the board connects to mains voltage, it must be assembled and operated only by qualified personnel inside a suitable insulated enclosure.
What the Device Should Do
  • Accept 220 VAC nominal mains input.
  • Convert mains to isolated 5 V DC using a certified encapsulated AC-DC module.
  • Provide up to 5 V / 2 A on the secondary side.
  • Provide a PWM-switched low-side load output controlled by a potentiometer.
  • Include basic mains input protection and output/load protection features.
Main Features
  • Certified isolated AC-DC module: Mean Well IRM-10-5 direction.
  • Line fuse holder and MOV surge protection on mains input.
  • TLC555 CMOS timer PWM generator powered from the isolated 5 V rail.
  • Logic-level N-MOSFET low-side switch for the 5 V load.
  • Gate resistor, gate pulldown, 555 decoupling, and optional flyback diode footprint for inductive loads.
System Architecture

Diagram


220 VAC input terminal Fuse on Line MOV across L-N Certified isolated AC-DC module 5 V / 2 A isolated rail TLC555 PWM generator Load + terminal Logic-level N-MOSFET Isolated 0 V
Hardware Subsystems
  • Mains input: line/neutral terminal, line fuse holder, MOV surge protection.
  • Isolated conversion: encapsulated 85–305 VAC input to 5 V/2 A output module.
  • PWM control: TLC555 timing network with potentiometer-adjusted duty cycle.
  • Load switch: logic-level N-channel MOSFET used as low-side switch.
  • Protection/support: secondary bulk/decoupling capacitors, MOSFET gate pulldown, flyback diode footprint for inductive loads.
Interfaces and Connections
  • J1: AC input, Line and Neutral.
  • J2: Load output, LOAD+ = +5 V, LOAD- PWM = MOSFET-switched return.
  • RV2: User potentiometer for duty control on isolated secondary side only.
Power and Runtime Expectations
  • Input: 220 VAC nominal, module supports wide AC input if selected as IRM-10-5.
  • Output rail: isolated 5 V DC, 2 A maximum design target.
  • PWM load current: up to 2 A, subject to module derating, MOSFET thermal performance, connector rating, and trace width.
Power Tree and Power Budget

Table


RailSourceLoadDesign CurrentNotes
220 VACJ1 mains inputAC-DC moduleabout 0.1 A RMS at full 10 W output, before losses/inrushFuse rating must follow module datasheet and local code
+5VIRM-10-5 outputExternal loadup to 2.0 AMain load budget
+5VIRM-10-5 outputTLC555 and timing network<10 mA typicalSmall compared with load
+5VIRM-10-5 outputMOSFET gate drive lossessmallDepends on PWM frequency
Total secondary current target: approximately 2.01 A peak/maximum. The design should be treated as a 2 A output system and not continuously loaded beyond the AC-DC module thermal derating.
Manufacturing and Assembly Expectations
  • PCB layout must maintain primary-to-secondary isolation. Use at least 6–8 mm clearance/creepage where practical.
  • No exposed mains copper or touchable mains terminals in final use.
  • Enclosure and strain relief are required.
  • Mains-rated parts only for input connector, fuse holder/fuse, MOV, and primary-side spacing.
Firmware-Relevant Hardware Requirements
No firmware required; PWM is generated by analog 555 timer circuitry.
Physical Design Expectations
  • Separate primary/mains and isolated secondary regions clearly.
  • Place potentiometer and output connector only on the isolated secondary side.
  • Add warning silkscreen and maintain isolation gap in layout.
Important Design Decisions
  • Use a certified AC-DC module instead of a discrete offline converter.
  • Use low-side MOSFET PWM switching so the control circuitry remains simple and isolated.
  • Label the output as LOAD+ and LOAD- PWM to avoid confusing switched return with always-on ground.
Assumptions
  • The load is a 5 V load drawing 2 A maximum.
  • The load may be inductive, so a flyback diode footprint is included.
  • End-product safety certification is not implied by using a certified module.
Change Notes
  • Initial requirements captured from user: 220 VAC input, isolated 5 V / 2 A output, PWM controlled by potentiometer for a 5 V load.
  • Project Overview

  • Intended Use

  • What the Device Should Do

  • Main Features

  • System Architecture

  • Hardware Subsystems

  • Interfaces and Connections

  • Power and Runtime Expectations

  • Power Tree and Power Budget

  • Manufacturing and Assembly Expectations

  • Firmware-Relevant Hardware Requirements

  • Physical Design Expectations

  • Important Design Decisions

  • Assumptions

  • Change Notes