● Tips and Tricks ●  
Electrical Tips and Tricks

SHUNT REGULATOR

The lab manuals for many DC circuits courses, including the ones that come with popular text books, have experiments with circuits like the one shown in figure 1.

Figure 1

The problem with them is that sometimes the measured values of voltage and current don't agree with the calculated values. It seems like a mystery: does circuit analysis not always work? Of course it does!

The problem is likely to be in the power supply you're using. Circuits like the one in Figure 1 assume that you are using batteries to supply the voltage. An ideal battery will sink current as well as source current. That means that current can flow "backwards" into the battery.

Figure 2

Look at Figure 2 (we are using conventional current here). Using Ohm's Law, we can calculate the current as:

        E          V1 - V2        12 - 6
I  =  ----  =     ----------  =  -------- =  6 mA.
        R             R            1000

But if you are using a typical power supply instead of batteries, you will measure 0 mA. What's more, you will measure 0 Volts across the resistor. What's going on?

The answer is that the typical power supply uses a series regulator. A simplified schematic of a series regulator is shown in Figure 3.

Figure 3

If you apply a voltage to the emitter that is greater than what the supply is set to put out, then you reverse bias the transistor. That means that current can flow out the emitter of the transistor, but current can not flow into the emitter. In fact, if too much reverse bias is applied to the transistor it will be damaged. So often a diode is put in series with the output as protection.

Is there some way to get a power supply to sink current? Yes there is! You can use a circuit called a shunt regulator.

Figure 4

Figure 4 shows a simplified shunt regulator. Note that instead of current going through a transistor to get to the output, the current flows through a resistor to the output. By Ohm's Law, there is going to be a voltage drop across the resistor. The job of the transistor is to conduct just the right amount of current to ground so that the output voltage is at the set value.

Figure 5

If there is no load on the supply, all the current goes through the transistor. If there is a resistive load, some current goes through the load and the rest goes through the transistor. But here's the important part: if something tries to drive current back into the supply, the transistor will shunt that current to ground as well. Look at Figure 5.

Figure 6 shows a practical circuit. The diodes are there because the output of a standard 741 op-amp can not go from "rail-to-rail". So when the 741 output tries to go to zero, it can only go as low as about 2 Volts. That would mean the transistor would always be on, and you wouldn't be able to get maximum output voltage from the regulator. If you use a CMOS op-amp, you won't need the diodes.

Figure 6

You calculate the resistor values as follows:

        SUPPLY VOLTAGE  -  MAX OUTPUT VOLTAGE                      
R1  =  --------------------------------------
            MAXIMUM OUTPUT CURRENT


                                2
WATTAGE of R1 = (SUPPLY VOLTAGE) / R1


   
                    MAXIMUM SINK CURRENT
BASE CURRENT  =   --------------------------
                  MINIMUM BETA of TRANSISTOR

       SUPPLY VOLTAGE  -  DIODE DROP
R2  =  -----------------------------
                BASE CURRENT


                              2
WATTAGE of R2  = (MAX CURRENT)  x R2

EXAMPLE:
SUPPLY VOLTAGE = 20 V
MAX OUTPUT VOLTAGE = 10 V
MAX OUTPUT CURRENT = 100 mA
MIN BETA = 50
DIODE DROP (3 + 1 for BASE-EMITTER JUNCTION) = 4 x 0.625 V = 2.5 Volts

       20 V  -  10 V       10 V
R1  =  --------------  =  -----  =  100 Ohms
           100 mA         0.1 A


WATTS  =  (20) x (20) / 100  =  4 W   (use a 5 Watt resistor)


                 200 mA
BASE CURRENT  =  ------  =  4 mA
                  50


       18 V
R2  =  -----  =  4.5 K Ohms (Use 4.7 K Ohms)
       4 mA
 

WATTS  =  (.004) x (.004) x (4700)  =  75 mW  (use 1/4  Watt)

You can use a value as low as 1 K for R2 to provide some over-drive capability since a 741 can supply up to 20 mA. If you use a CMOS op-amp, check it's maximum current output.

To develop a voltage for the adjustable set-point, we used a 15 V, 1 W zener diode and a 4.7 K trim-pot. To calculate the series resistor for the zener, we just used:

                   
      VOLTAGE DROP     (20  - 15) V
R  =  ------------  =  -------------  =  250 Ohms.  We used 200 Ohms.
     ZENER CURRENT        20 mA


WATTS = (5V) x (5V) / 200 = 125 mW (Use 1/4 Watt)			   
			   
			   
MFRC-522 RC-522 RC522 Antenna RFID IC Wireless Module For Arduino IC KEY SPI Writer Reader IC Card Proximity Module


TTP223 Touch Key Switch Module Touching Button Self-Locking No-Locking Capacitive Switches Single Channel For Arduino l8


HC-SR501 Adjust IR Pyroelectric Infrared PIR module Motion Sensor Detector Module for arduino for raspberry pi kits + Bracket


10PCS 2.54MM Pitch Single Row Female Pin Socket 2/3/4/5/6/7/8/9/10/11/12/13/14/40Pin PCB Connector Single Row Mother For Arduino


Black CCL Anti-etching PCB Circuit Board Ink Marker Double Pen For DIY PCB Repair CCL Printed Circuit Diagram For Arduino


5x7 4x6 3x7 2x8 cm 5*7 4*6 3*7 2*8 double Side Copper prototype pcb Universal Printed Circuit Board Protoboard For Arduino Green


5x7 4x6 3x7 2x8 cm 5*7 4*6 3*7 2*8 double Side Copper prototype pcb Universal Printed Circuit Board Protoboard For Arduino Blue


0.96 inch oled serial blue yellow white OLED display module LCD display board GND SPI I2C for Arduino


2.54mm Single Row Male 2~40P Breakaway PCB Board Pin Header Connector Strip Pinheader 2/3/4/5/6/8/10/12/15/20/40Pin For Arduino


diymore 2/3/4Pin 70cm Dupont Wire Female to Female Jumper Cables Connector for Arduino 3D Printer Reprap


DC 9V Battery Button Power Cable Battery Buckle Snaps Power Cable Connector DC 5.5*2.1 For Arduino Diy


TCRT5000 3PIN Tracking Module IR Infrared Line Reflection Track Follower Sensor TCRT5000 Obstacle Avoidanc For Arduino


18b20 Temperature Probe Temperature Sensor 18B20 Sensor Electronic chip DS18B20 TO-92 chips Waterproof for arduino Diy Kit


ESP8266 serial WIFI Module Adapter Plate Applies to ESP-07, ESP-12F, ESP-12E Wireless Board for arduino


SUQ DC 9V Battery button power plug for Arduino Mega 2560 1280 UNO R3 132 9V battery buckle


10pcs 2.54MM Pitch Single Row Female Pin Socket 2/3/4/5/6/7/8/9/10/11/12/13/14/40Pin PCB Connector Single Row Mother For Arduino


TCRT5000 Infrared Reflective Sensor IR Photoelectric Switch Barrier Line Track Module For Arduino Diode Triode Board 3.3v


Electronic PCB Board 2x8cm 3x7cm 4x6cm 5x7cm 8x12cm 9x15cm Green Double Sided Prototype PCB For Arduino Copper Board IGMOPNRQ


Double Sided PCB Board Prototype Kit Universal Printed Circuit Board for DIY Soldering with for Arduino Kits


Single Sided PCB Board Prototype Kit 6 Sizes Universal Printed Circuit Protoboard for DIY Soldering Project for Arduino Kits


1 Set EC11 Rotary Encoder Code Switch Digital Potentiometer 360 Degree with Knob 7 Pins Shaft Dia. 6mm*20mm for Arduino


Electronic PCB Board 2x8cm 3x7cm 4x6cm 5x7cm Diy Universal Printed Circuit Board 5*7cm 4*6cm 3*7cm Blue PCB For Arduino IGMOPNRQ


LilyPad Lotus Leaf Slide Switch Slide Switch Toggle Switch AYZ0202 Induction Switch for Arduino DIY Kit


2.54mm Double Row Male 2~40P Breakaway PCB Board Pin Header Connector Strip Pinheader 2 * 2/3/4/6/8/10/12/15/20/40P For Arduino


2.54mm Single Row Male 2~40P Breakaway PCB Board Pin Header Connector Strip Pinheader 2/3/4/5/6/8/10/12/15/20/40Pin For Arduino


TTP223 Touch Switch Module TTP223B 1 Channel Jog Digital Capacitive Touch Sensor for arduino DIY KIT


1.27mm 1.27 Pin Header Single Row Male Breakaway PCB Board Connector Pinheader 1*2/4/5/6/8/10/12/15-40p 50p For Arduino Gepyun


TTP223 TTP224 TTP226 TTP229 MPR121 V12 Digital Switch Touch Module 1 4 8 16 Channel Capacitive Touch Sensor Module For Arduino


0.5 inch Common Anode LED Digital Display Tube 7 Segment 1Bit Digital Tube Red for Arduino


Rc Mini Micro 9g 1.6KG Servo SG90 for RC 250 450 Helicopter Airplane Car Boat For Arduino DIY With Bracket


Piezoelectric shock tap sensor Vibration switch module piezo sheet percussion for Arduino 51 UNO MEGA2560 r3 DIY Kit


2.54mm Double Row Male 2~40P Breakaway PCB Board Pin Header Connector Strip Pinheader 2 * 2/3/4/6/8/10/12/15/20/40P For Arduino


HC-SR501 Human Infrared Induction Brackt Module Probe Scaffold For Thermoluminescence Sensor Support For Arduino


ESP8266 Serial WIFI Module Adapter Plate ESP8266 White Baseboard Applies to ESP-07\ESP-12E\ESP-12F Wireless Board for Arduino


2.54mm Single Row Male 2~40P Breakaway PCB Board Pin Header Connector Strip Pinheader 2/3/4/5/6/8/10/12/15/20/40Pin For Arduino


DC 9V Battery Button Power Cable Battery Buckle Snaps Power Cable Connector DC 5.5*2.1 For Arduino Diy


1-50Pcs Pro Mini Atmega168 Microcontroller Module 16M5V Plug-in Crystal Oscillator Pin Header for Arduino Nano Replace Atmega328


TTP223 Touch Key Switch Module Touching Button Self-Locking No-Locking Capacitive Switches Single Channel For Arduino l8


9V battery buckle for Arduino uno 2560 due DC3.5 12.5cm power conversion head


10PCS PCB Board SMD Turn To DIP Adapter Converter Plate SOP 8/16/14/20/24/28P SOT89 SOT23 SOT223 TO DIP SOP/MSOP/TSSOP


1PCS TCRT5000 Infrared Reflective Sensor IR Photoelectric Switch Barrier Line Track Module For Arduino Diode Triode Board 3.3v


Rc Mini Micro 9g 1.6KG Servo SG90 for RC 250 450 Helicopter Airplane Car Boat For Arduino DIY SG90 Bracket


Mini/Micro USB to DIP Type A Female/ Male USB Adapter Converter for 2.54mm PCB Board DIY Power Supply For Arduino Module


10PCS 2.54MM pitch single row female pin socket 2/3/4/5/6/7/8/9/10/11/12/13/14/40Pin PCB Connector Single Row Mother For arduino


TTP223\TTP223B Channel Jog Digital Touch Sensor Capacitive Touch Switch Modules Accessories TTP223 for Arduino Diy Kit


1PCS Rc Mini Micro 9g 1.6KG Servo SG90 for arduino RC 250 450 Helicopter Airplane Aeroplane Car Boat Remote Controller Motor


DC 9V Battery Button Power Cable Battery Buckle Snaps Power Cable Connector DC 5.5*2.1 For Arduino Diy GOHJMY


US-100 US-015 US-016 US-025 US-026 CS100 HC-SR04 Ultrasonic Ranging Sensor Module Board Distance Measuring Detector For Arduino


HC-SR04 Distance Ranging Sensor Module Ultrasonic Wave Detector HCSR04 HC SR04 HC-SR04+ CS100A Test Board Bracket for Arduino