How to Design a Power Supply Circuit for Electronic Devices


A power supply circuit is crucial for converting AC mains power to a stable DC voltage suitable for powering electronic devices. A well-designed power supply ensures the delivery of consistent and clean voltage, protecting the device and ensuring its proper operation. In this article, we will explore the design of a +12V regulated DC power supply circuit capable of delivering up to 1 Amp of current. The circuit is based on the popular LM7812 voltage regulator, which is part of the LM78XX series of positive voltage regulators. The LM7812 provides a fixed +12V DC output with built-in short-circuit protection and thermal overload protection, making it ideal for various applications.

Circuit Components and Description

The following components are essential for constructing this power supply circuit:

  • Transformer (TX): Steps down 230V AC mains to 12V AC at 1A.
  • Bridge Rectifier: Converts AC to DC using four diodes (1N4007).
  • Filter Capacitor: A 1000µF, 25V capacitor to smooth the rectified DC voltage.
  • Voltage Regulator (LM7812): A 3-terminal IC that regulates the DC voltage to a stable +12V.
  • Heat Sink: Ensures the LM7812 does not overheat during operation.

Circuit Diagram of 12V Regulated Power Supply


Below is a brief step-by-step breakdown of the circuit’s operation:

1. Transformer

The transformer converts the 230V AC mains voltage down to 12V AC. This step-down transformer must have a current rating of at least 1A to handle the load requirements.

2. Bridge Rectifier

The rectification process is carried out by four 1N4007 diodes connected in a bridge configuration. When the AC signal enters the rectifier, it is converted to pulsating DC. The diodes ensure that the current flows only in one direction, providing a DC output with ripple.

The rectified DC voltage at this stage can be estimated using the formula:

VDC = VAC × √2 - 2Vdiode

Where:

  • VAC = 12V (output from the transformer),
  • Vdiode is the forward voltage drop of the diodes (approximately 0.7V per diode).

Substituting the values:

VDC = 12V × √2 - 2 × 0.7V = 16.97V - 1.4V = 15.57V

This gives a rectified DC output of approximately 15.57V.

3. Filter Capacitor

After rectification, the output voltage contains ripples that need to be smoothed. A 1000µF, 25V electrolytic capacitor is used to filter the DC output. The capacitor charges during the peaks of the rectified voltage and discharges when the voltage drops, providing a smooth and stable DC voltage.

The ripple voltage Vripple can be calculated using the formula:

Vripple = Iload / (f × C)

Where:

  • Iload is the load current (1A),
  • f is the frequency of the AC mains (50Hz),
  • C is the capacitance (1000µF).

Substituting the values:

Vripple = 1A / (50Hz × 1000 × 10-6) = 1 / 0.05 = 20V

To ensure minimal ripple voltage, a larger capacitor could be used if required, though for most applications, 1000µF provides sufficient filtering.

4. LM7812 Voltage Regulator

The filtered DC voltage is then regulated to a constant +12V using the LM7812 IC. This 3-terminal positive voltage regulator requires an input voltage greater than 12V to maintain a stable output, which is achieved as the rectified and filtered DC is approximately 15.57V.

The regulator also includes built-in protections:

  • Thermal overload protection: Prevents overheating of the IC.
  • Short-circuit protection: Protects the circuit in case of a load fault.

5. Heat Sink

A heat sink is attached to the LM7812 to dissipate excess heat generated during operation. Since the input voltage is significantly higher than the output, the regulator must dissipate the excess energy as heat. Without a heat sink, the LM7812 could overheat and shut down.

Calculations for Power Dissipation

The power dissipated by the LM7812 can be calculated as follows:

P = (Vin - Vout) × Iload

Where:

  • Vin is the input voltage to the regulator (approximately 15.57V),
  • Vout is the regulated output voltage (12V),
  • Iload is the load current (1A).

Substituting the values:

P = (15.57V - 12V) × 1A = 3.57W

The LM7812 will need to dissipate approximately 3.57W of power as heat. A suitable heat sink should be selected based on this power dissipation to prevent the regulator from overheating.

Working Principle

  1. Input Stage: The AC mains (230V AC) is fed into the transformer, which steps down the voltage to 12V AC. This 12V AC is then fed into the bridge rectifier.
  2. Rectification Stage: The bridge rectifier converts the AC voltage to pulsating DC, with a peak value of approximately 15.57V after accounting for diode voltage drops.
  3. Filtering Stage: The 1000µF capacitor smoothens the pulsating DC voltage to a stable level with minimal ripples.
  4. Regulation Stage: The LM7812 IC takes the filtered DC and regulates it to provide a constant +12V output.
  5. Protection: The built-in protections of the LM7812, along with the heat sink, ensure the power supply operates reliably without overheating or damaging connected devices.

Advantages of Using LM7812

  • Fixed +12V Output: Ensures a constant and stable output voltage.
  • Thermal and Short-Circuit Protection: Prevents damage to the IC and the circuit in case of faults.
  • Easy to Implement: Requires minimal external components, making it simple to build.

Conclusion

This +12V regulated power supply circuit is ideal for applications requiring a stable +12V DC output at up to 1A. It is based on the LM7812 voltage regulator, which provides reliable performance with built-in protections. The step-down transformer, bridge rectifier, and filter capacitor form the backbone of the power conversion process, while the LM7812 ensures a regulated and smooth output. Proper heat management is essential, so using a heat sink with the regulator is strongly recommended.

This circuit is easy to build and can be adapted for different voltage levels by selecting appropriate regulators from the LM78XX series.

Prasun Barua

Prasun Barua is an Engineer (Electrical & Electronic) and Member of the European Energy Centre (EEC). His first published book Green Planet is all about green technologies and science. His other published books are Solar PV System Design and Technology, Electricity from Renewable Energy, Tech Know Solar PV System, C Coding Practice, AI and Robotics Overview, Robotics and Artificial Intelligence, Know How Solar PV System, Know The Product, Solar PV Technology Overview, Home Appliances Overview, Tech Know Solar PV System, C Programming Practice, etc. These books are available at Google Books, Google Play, Amazon and other platforms.

Post a Comment

Previous Post Next Post