Component guide · Advanced · 3 min read
SG3525 PWM Controller (IC and Module) and UC3845

Inverters and SMPS Basics
By Geekobot Learning Team · Updated 29 Oct 2026
On this page
The SG3525 is a classic PWM controller IC with two alternating outputs and adjustable dead time, used in push-pull inverters, DC-DC converters and motor drives. The ready module sets frequency with a pot and outputs signals for MOSFET gate drivers. The UC3845 is a current-mode controller used in flyback power supplies. Both are for experienced builders of power circuits.
Key specs at a glance
- Supply
- 8 to 35 V (SG3525)
- Frequency
- 100 Hz to 500 kHz (Rt, Ct)
- Outputs
- Two alternating, about 200 mA each
- Dead time
- Set by a discharge resistor
- Soft start
- Built in
- UC3845
- Current-mode, single output, 50 percent max duty
This part is often wired to 230 V mains. Do all wiring with the plug pulled out, keep mains wires inside a closed box with strain relief, add a fuse, and never touch the board while it is plugged in. If you are new to mains wiring, have an electrician check it before you switch on.
Models in this guide
These are alternatives. Pick the one that fits your project; you only need one.
Option 1SG3525 PWM Controller Module₹160
Option 2SG3525A PWM Controller IC, DIP-16₹28
Option 3SMPS PWM Controller IC: UC3845, UC3843, SG3525, SG3524 and More₹18
What the SG3525 PWM controller is
The SG3525 is a PWM controller chip: it generates two alternating gate signals with a fixed dead time between them, the timing core of push-pull inverters and DC-DC converters.
Frequency is about f = 1 / (Ct x (0.7 x Rt + 3 x Rd)). The two outputs each run at half the oscillator frequency.
High-voltage inverters are dangerous. Start at low voltage with a current-limited supply and a load you can see.
SG3525 PWM controller pinout
The pins on the SG3525 PWM controller and what each one does.
| Pin | Function |
|---|---|
| 1, 2 | Error amp inputs |
| 5, 6, 7 | Ct, Rt, discharge |
| 8 | Soft start |
| 11, 14 | Output A, Output B |
| 13, 15 | Vc, Vin |
| 10 | Shutdown |
- 1, 2
- Error amp inputs
- 5, 6, 7
- Ct, Rt, discharge
- 8
- Soft start
- 11, 14
- Output A, Output B
- 13, 15
- Vc, Vin
- 10
- Shutdown
Wiring the SG3525 PWM controller
Connect the SG3525 PWM controller like this.
| SG3525 PWM controller pin | Low-power test | With driver |
|---|---|---|
| Outputs | To MOSFET gates via gate resistors | To gate driver input |
| Vin | 12 V | 12 V |
- Outputs
- Low-power test:
- To MOSFET gates via gate resistors
- With driver:
- To gate driver input
- Vin
- Low-power test:
- 12 V
- With driver:
- 12 V
Example code
A minimal sketch to check the part works.
Ct = 10 nF, Rt = 4.7k, Rd = 100 ohm
f_osc = 1 / (10e-9 * (0.7*4700 + 3*100)) = about 28 kHz
Each output = about 14 kHzSetup and tuning
increase the discharge resistor (Rd) if the MOSFETs overheat at switch-over; shoot-through destroys them.
choose Rt and Ct for the frequency you need, and check it on a scope.
use gate resistors (10 to 47 Ω) and a driver stage for large MOSFETs.
bring up the power stage from a current-limited bench supply at low voltage before full power.
check both outputs on a scope before connecting the power stage.
What you need
Shop this list5 of 5 found in our store · ₹681
SG3525 PWM Controller Module: the part this guide coversSG3525 PWM Controller Module₹160
SG3525A PWM Controller IC, DIP-16: another version this guide coversSG3525A PWM Controller IC, DIP-16₹28
SMPS PWM Controller and Off-Line Switcher IC: another version this guide coversSMPS PWM Controller IC: UC3845, UC3843, SG3525, SG3524 and More₹18Closest match, check the specs
Digital multimeter: to check supply and signal voltagesDigital Multimeter₹177
SMPS power supply in metal enclosure (5/12/24 V): a bench input supplySMPS Power Supply, Metal Enclosure (5V / 12V / 24V)₹298Closest match, check the specs
Alternatives and when to choose them
Common mistakes to avoid
- Setting no dead time, so both MOSFETs conduct at once.
- Testing at full voltage first instead of a current-limited supply.
- Driving MOSFET gates with no gate resistors.
- Skipping the scope check before connecting power.
Frequently asked questions
Can I build a square wave inverter with the SG3525?
Yes. That is its classic use, driving a push-pull MOSFET stage and a centre-tapped transformer.
Can the SG3525 make a pure sine wave?
No. It makes square-wave PWM. For pure sine use the EGS002 SPWM driver board.
What is the UC3845 used for?
It is a current-mode controller for flyback and boost power supplies, with a single output.
How do I set the switching frequency?
Rt and Ct set it; the module's pot changes Rt.
Does it need an Arduino?
No. The SG3525 makes the PWM on its own; a microcontroller is optional for monitoring.
Parts for this guide
Keep learning
Sources
Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.
