Mini Bench Power Supply Circuit

Jul 16, 2009 · 0 Comments

Every electronics engineer is familiar with the anxiety of the moment when power is first applied to a newly-built circuit, wondering whether hours of work are about to be destroyed in a puff of smoke. A high quality power supply with an adjustable current limit function is an excellent aid to steadying the nerves.

Unfortunately power supplies with good regulation performance are expensive and homebrew construction is not always straightforward. Many of the "laboratory power supplies" currently on the market are low-cost units based on switching regulators which, although certainly capable of delivering high currents, have rather poor ripple performance. Large output capacitors (which, in the case of a fault, will discharge into your circuit) and voltage overshoot are other problems.


The power supply described here is a simple unit, easily constructed from standard components. It is only suitable for small loads but otherwise has all the characteristics of its bigger brethren. Between 18 V and 24 V is applied to the input, for example from a laptop power supply. This avoids the need for an expensive transformer and accompanying smoothing. No negative supply is needed, but the output voltage is  nevertheless adjustable down to 0 V.

A difficulty in the design of power supplies with current limiting is the shunt resistor needed to measure the output current, normally connected to a differential amplifier. Frequently in simple designs the amplifier is not powered from a regulated supply, which can lead to an unstable current regulation loop. This circuit avoids the difficulty by using a low-cost fixed voltage regulator to supply the feedback circuit with a stable voltage. This arrangement greatly simplifies current measurement and regulation.

To generate this intermediate supply voltage we use an LM7815. Its output passes through R17, which measures the output current, to MOSFET T1 which is driven by the voltage regulation opamp IC1C. Here R11 and C4 determine the bandwidth of the control loop, preventing oscillation at high frequencies. R15 ensures that capacitive loads with low effective resistance do not make the control loop unstable. The negative feedback of AC components of the current via R12 and C5 makes the circuit reliable even with a large capacitor at its output, and negative feedback of the DC component is via the low-pass filter formed by R14 and C6. This ensures that the voltage drop across R15 is correctly compensated for. C7 at the output provides a low impedance source for high-frequency loads, and R16 provides for the discharge of C17 when the set voltage is reduced with no load attached.

Current regulation is carried out by IC1D. Again to ensure stability, the bandwidth of the feedback loop is restricted by R19 and C8. If the voltage dropped across R17 exceeds the value set by P2, the current limit function comes into action and T2 begins to conduct. This in turn reduces the input voltage to the voltage regulation circuit until the desired current is reached. R7, R9 and C3 ensure that current regulation does not lead to output voltage overshoots and that resonance does not occur with inductive loads.

The controls of the power supply are all voltage-based. This means, for example¸ that P1 and P2 can be replaced by digital to analogue converters or digital potentiometers so that the whole unit can be driven by a microcontroller. IC1B acts as a buffer to ensure that the dynamic characteristics of the circuit are not affected by the setting of P1.

IC1A is used as a comparator whose output is used to drive two LEDs that indicate whether the supply is in voltage regulation or current regulation mode. If D2 lights the supply is in constant voltage mode; if D1 lights it is in constant current mode, for example if the output has been short circuited. The power supply thus boasts all the features of a top-class bench supply. IC1A and its surrounding circuitry can be dispensed with if the mode indication is not wanted.

A type LM324 operational amplifier is suggested as, in contrast to many other similar devices, it operates reliably with input voltages down to 0 V. Other rail-to-rail opamps could equally well be used. The particular n-channel MOSFET devices used are not critical: a BUZ21, IRF540, IRF542 or 2SK1428 could be used for T1, for example, and a BS170 could be used in place of the 2N7002. The capacitors should all be rated for a voltage of 35 V or higher, and R15 and R17 must be at least 0.5 W types. The fixed voltage regulator and T1 must both be equipped with an adequate heatsink. If they are mounted on the same heatsink, they must be isolated from it as the tabs of the two devices are at different potentials.

Read more ...
Bookmark and Share

Uninterruptible Power Supply (UPS) Circuit

May 28, 2009 · 2 Comments

An Uninterruptible Power Supply (UPS) is a device that sits between a power supply and a device to prevent undesired features of the power source (outages, sags, surges, bad harmonics, etc.) from the supply from adversely affecting the performance of the device.

The UPS may be split into 4 main circuits: Input Power Factor Correction, Battery Boost, Free-Running Chopper, and Inverter. The UPS is an online device which normally will have the Power Factor Correction circuit feeding the Chopper, which then feeds the Inverter. If the input power should be lost, the Power Factor Correction circuit falls out of the power flow and the Battery Boost circuit automatically provides power to the Chopper.

The Inverter is driven by the Inverter Drive circuitry, which in turn is controlled by the Inverter Control circuitry containing the microcontroller.



Basic uninterruptible power supply circuit consist of regular power supply adapter and battery connection. This basic system is a "hot" battery connection, meaning that there is no switching mechanism in connecting and disconnecting the battery, the battery is always connected! This hot connection is very simple to implement and very robust because there would be no switching delay, the output voltage will be 100% continue if a power down happens, until the battery loose its capacity.



This circuit will provide electric power from a backup battery when AC power is cut, always providing a clean 5V power supply for sensitive equipment like microcontrollers and logic circuits.

The value of C1 is to be higher than 220 uF. the bigger the capacitance of this capacitor, the more power you can deliver to your circuits. The 9.6 NiMh Battery can be replaced with any equivalent battery whose voltage is more than 7.5V.

A charger can be constantly connected to the battery from the same 220V source as the rest of the circuit, but depending on the battery and charger type, this procedure can shorten its life.


For a clean transition from AC to Battery operation, especially with microcontrollers, use 10nF decoupling capacitors (ceramic capacitors) as near as possible from the concerned IC.

  • PIC Unintteruptible Power Supply
At times, power from a wall socket is neither clean nor uninterruptible. Many abnormalities such as blackouts, brownouts, spikes, surges, and noise can occur. Under the best conditions, power interruptions can be an inconvenience. At their worst, they can cause loss of data in computer systems or damage to electronic equipment. It is the function of an Uninterruptible Power Supply (UPS) to act as a buffer and provide clean, reliable power to vulnerable electronic equipment.



The basic concept of a UPS is to store energy during normal operation (through battery charging) and release energy (through DC to AC conversion) during a power failure.UPS systems are traditionally designed using analog components. Today these systems can integrate a microcontroller with AC sine wave generation, offering the many benefits listed below.  Source: Microchip

Download Application Notes and Source Code: PICREF-1 PICREF-1 Firmware PICREF-1 Source Code PICREF-1 Schematic PICREF-1 Board

Offer available on Amazon: CyberPower CP1000AVRLCD UPS - 1000VA/600W Intelligent LCD, AVR 9-Outlet RJ11/RJ45/Coax Tower USB/Serial (36 customer reviews)

You may be interested in reading Variable Regulator LM317T

Read more ...
Bookmark and Share

DC DC Converter Circuit

May 4, 2009 · 0 Comments

Electronic system is designed to operate from a supply voltage, which is usually assumed to be constant. A voltage regulator provides this constant DC output voltage and contains circuitry that continuously holds the output voltage at the design value regardless of changes in load current or input voltage, assuming that the load current and input voltage are within the specified operating range for that regulator. In portable systems, the input voltage is often a battery, a DC voltage.

A DC-to-DC converter is a device that accepts a DC input voltage and produces a DC output voltage. Typically the output produced is at a different voltage level than the input. In addition, DC-to-DC converters are used to provide noise isolation, power bus regulation, etc. This is a summary of some of the popular DC-DC Converter Topologies

  • When the output voltage set point is less than the input voltage, such regulator is called a Buck converter. When the output voltage set point is higher, it is a Boost converter. A feedback input is necessary for the regulator to know the state of the output voltage so that it can be kept with in the tolerances required by the power supply design requirements. The converters control the output voltage to the specifications by comparing the output voltage (or current or both) to an internal reference.
  • In case of a Linear regulator the power is transferred continuously from Vin to Vout.
  • In case of a Switching regulator the power is transferred from Vin to Vout in bursts. There are two main types of the switching regulators - inductive and charge pump (capacitive).
  • Not every electronic system needs a regulator. The electronics in a typical system can operate within a narrow band (5% or 10%) around their rated voltage. The battery output voltage declines as the battery discharges. To prolong the usable life of the system, one could use electronics that operate at voltages toward the low end of the battery discharge. But, then the fresh battery voltage would far exceed the upper tolerance of the electronics. If the electronics were to be chosen for the upper end of battery voltage, then the battery would soon discharge to the lower tolerance of the electronics. One way to address this issue is wider range electronics, but this could be an expensive proposition. Another way is to use a regulator. If the battery voltage range is narrow (e.g. from NiCd cells), a low-dropout linear regulator may be suitable to produce a regulated lower output voltage. If the system voltage is higher than the battery voltage range, or within the range, then a switching regulator in a boost or buck-boost configuration can be used.
Simple DC to DC converter circuits:
6V to 12V DC-DC Converter with Transistors
This converter circuit can provide up to 800mA of 12V power from a 6V supply.


6V to 12V DC-DC Converter with IC
This step-up converter is intended for use in a car,  has a 6V battery and won't support a modern radio that needs 12V. The circuit described here converts 6V to 12V at 1A sustained load current.


See Also offer available on Amazon for DC DC Converter in largest selection and save Big!

You may be interested in reading Variable Voltage Regulator LM317T

Read more ...
Bookmark and Share

 

eCircuits | Copyright © 2009 - Blogger Template Designed By Simrandeep Singh