TL431 Power Supply Design


Below is a proposed overall approach for generating two TL431‐based linear regulators from a 12V input—one for 5V and one for 3.3V output. In each branch the TL431 acts as the error amplifier by comparing a fraction of the output voltage (via a resistor divider) against its ~2.5V reference. In a typical configuration, a series pass transistor is used so that the TL431 “pulls down” the base (or drives a bias network) to adjust the conduction and hold the output at the set value.
A simplified description for each rail is as follows:

For the 5V Regulator:
  • Power Input: 12V feed at the collector of a pass transistor.
  • Pass Element: Use an NPN transistor (for example, a device such as TIP31) configured as an emitter follower.
  • Voltage Sensing & Feedback:
    • Senses the 5V output with a resistor divider that scales 5V down to 2.5V (i.e. choose R1 and R2 such that 5V = 2.5V × [1 + (R1/R2)]; a common choice is R1 = R2).
    • The divider output is fed to the TL431’s reference input.
  • TL431 Action:
    • When the output exceeds 5V, the divider voltage rises above 2.5V. The TL431 then conducts more and drives down the pass transistor’s base drive, lowering the output.
    • A compensation capacitor can be added between the TL431 reference and ground to stabilize the loop.

For the 3.3V Regulator:
  • Pass Element: Another NPN pass transistor (also for example, a TIP31) is used.
  • Feedback Network:
    • Use a resistor divider designed so that 3.3V is reduced to near 2.5V. (Since 3.3V/2.5V – 1 ≈ 0.32, you might choose, for example, R1 = 3.3kΩ and R2 = 10kΩ; adjust as needed for standard values).
  • TL431:
    • The TL431 in this branch compares the divider output against its reference. If the output drifts above 3.3V, it begins to conduct, reducing base drive to the pass transistor and pulling the output down.

Additional Considerations:
  • Series Resistors & Filtering: A resistor between the 12V input and the transistor’s collector may be added to limit surge currents. In many designs, additional decoupling capacitors at the input and output (and perhaps a bypass capacitor at the TL431 compensation network) are recommended.
  • Thermal and Load Considerations: Keep in mind that with a 12V drop the linear regulator will dissipate power according to (12V – Vout) × I_load. Ensure that the transistor selected is rated for the load current and that proper heat sinking is provided if needed.
  • Separate Circuits: Although similar in concept for both rails, the 5V and 3.3V regulators are kept independent so that each TL431 circuit controls its dedicated pass transistor.

If you would like, I can suggest schematic updates for your Flux project to add these two regulator circuits. Would you like to proceed with adding separate TL431-based 5V and 3.3V regulator circuits based on the described strategy?
Approve TL431 approach
Request fine-tuning resistor values
Implement TL431 circuits

Schematic of ESPRSSO32 Smart Scale AI Auto Layout [Example] cWaZ
R3
Resistance
10kΩ
C7
Capacitance
1uF
C13
Capacitance
1uF
C18
Capacitance
1uF
C10
Capacitance
1uF
C15
Capacitance
1uF
C5
Capacitance
1uF
C12
Capacitance
1uF
C24
Capacitance
1uF
C31
Capacitance
.1uF
H4
H1
C2
Manufacturer Part Number
OPT
C25
Capacitance
22uF
R7
Resistance
100kΩ
L1
Inductance
2.2nH
H2
C8
Capacitance
13pF
H3
C6
Capacitance
1.2pF
L2
Inductance
2.2nH
C4
Capacitance
13pF
Y1
R8
Resistance
953kΩ
IC1
U2
R6
Resistance
180kΩ
C22
Capacitance
10uF
MCU_TXD
J1
C21
Capacitance
10uF
C30
Capacitance
10uF
MCU_RXD
MCU_BOOT
J2
L4
L3
Inductance
2.2uH

ESPRSSO32 Smart Scale AI Auto Layout [Example] cWaZ