MOULDLKnowledge BaseElectrical Knowledge Base3D Model DownloadsMembership
中文版Model Store »
Knowledge Base › Electrical Knowledge Base › Switching supply feedback loop and opto isolation
HomeModels
Table of contents

On this page

Electrical & Electronic Basics (600 articles)

Quick Reference

  • PLC & Programming
  • Electrical & Electronic Basics (monthly)(每月更新中)
  • Electrical Control & Drawings (monthly)(每月更新中)
  • Drives & Actuators (monthly)(每月更新中)
  • Sensors & Detection (monthly)(每月更新中)
  • Industrial Communication & Networks (monthly)(每月更新中)
  • HMI & Host Systems (monthly)(每月更新中)
  • Industrial Robots & Motion Control (monthly)(每月更新中)
  • Mechatronic System Integration (monthly)(每月更新中)
  • Fault Diagnosis & Standards (monthly)(每月更新中)

Switching supply feedback loop and opto isolation

A switching supply has a high voltage primary and low voltage secondary, so feedback must cross isolation; the opto coupler plus TL431 is the classic scheme. This page covers stable isolated feedback, compensation and the traps.

1. How it works

On the secondary a TL431 acts as the error amplifier, comparing the sampled output with its 2.5 V reference and driving the opto LED with the error current; the opto transistor feeds the primary to force PWM duty down. Thus the signal crosses the transformer barrier without sharing ground. The loop is negative feedback: output high makes light strong makes primary cut duty makes output fall. Phase margin decides stability.

2. Practice and pitfalls

An RC around the TL431 sets loop bandwidth and phase margin, typically across cathode to ref. Too little compensation gives low frequency oscillation, too much slows response. The opto current transfer ratio drifts with temperature and age, so design with margin and stay linear. Keep bandwidth below one tenth of switching frequency to avoid noise retriggering.

3. Isolated feedback keys

StageRoleNote
TL431error ampref 2.5 V
Optocross isolCTR margin
Comp RCstable loopphase margin
Sampledivider fbprecise R
Bandwidthunder f/10avoid noise
Isolatepri secno shared GND

4. Notes

Isolated feedback rides TL431 and opto across the transformer, with compensation RC holding phase margin. Opto CTR drifts so keep margin, use precise sense resistors, keep primary and secondary strictly isolated, and do not tune output by only the opto side resistor.

5. References

The quantities and component characteristics discussed here follow current national standards and the corresponding IEC documents: Supply feedback and isolation per GB/T 5226.1; creepage to IEC 60204-1 and GB/T 16935. Always check the device datasheet and the product design file for ratings and derating.

6. Cautions

⚠️ Three common pitfalls:
① Opto CTR aging weakens feedback and output drifts high; common in old supplies.
② Compensation capacitor in the wrong spot oscillates the loop.
③ Primary and secondary not isolated injects noise and risks shock.

Locate the issue with the approach above, then confirm with measurements; safety-related circuits must follow the standards and manufacturer requirements.

Related reading

Related 3D models: Ready to build it? Download free 3D models & CAD drawings at MOULDL »
MOULDL · Electrical Knowledge Base · free self-study reference for electrical & automation engineers, 3D CAD models at MOULDL