Electronics: Design and Build Training Session Presented By: Dr. Shakti Singh Hazem Elgabra Amna Siddiqui
Basic prototyping and measurement tools
Breadboard basics Back View VCC GND VSS
Breadboard basics (contd.) Beware of isolations!
Variable Power Supply Has 3 voltage sources (two variable and one fixed at 5 V) Don t play with these Can be used in 3 ways to create: 1. Two independent supply voltages 2. Two reference voltages for same circuit 3. +V and V Make sure always green! Fixed 5 V
Variable Power Supply (contd.) Two independent supply voltages Two reference voltages for same circuit +VCC and -VSS - - GND - V1 + - V2 + V1+ V2+ - V + V +3 V +5 V +3 V +5 V -3 V +3 V
Digital Multimeter (DMM) To measure voltage (connect in parallel):
Digital Multimeter (DMM) (contd.) To measure current, disconnect nodes and connect in series!
Digital Multimeter (DMM) (contd.) How to measure resistance?
Potentiometers 1 R1 = <10 kω 2 10 kω 1 2 3 R2 = 10 kω R1 3 10 kω
Digital Multimeter (DMM) (contd.) How to find out if two nodes are connected?
Function Generator Can be used to simulate the analog inputs to your circuit 1. Select function to set (sine, square) + Vout - 1. Enter values for amplitude, frequency, offset etc. 2. Use keypad or knob 3. Make sure units are right!
Oscilloscope (voltage signal viewer) Like voltmeter but for analog signals Can view up to two signals at a time (2 channels) Measure (use F1-F4) Autoset (to reset viewing settings) - CH1 + - CH2 +
Oscilloscope (contd.) Increases/decreases voltage resolution for CH1 signal Increases/decreases voltage resolution for CH2 signal View/Hide signal at CH1 Increases/decreases time resolution for both channels voltage Shift CH1 signal up or down Shift view right or left Shift CH2 signal up or down time
Oscilloscope (contd.) 3 Coupling modes DC coupling: show the signal as it is AC coupling: remove DC shift of the signal by setting the vertical zero point to (signal max + signal min) / 2 This is a modified version of your signal! It will show any battery s voltage as ZERO GND coupling: just shows zero
DC Motor
DC Motor
DC Motor https://sites.psu.edu/matthewbrenfleckblog/2014/11/16/blog-9-battery-improvements/ http://www.zeroohm.ae/actuators/dc-motors/dc-toy-hobby-motor-130-size
DC Motor
DC Motor
DC Motor
DC Motor
DC Motor
DC Motor To increase speed, increase voltage With increased voltage, you draw more current No worries when connected directly to a power supply
DC Motor To increase speed, increase voltage With increased voltage, you draw more current No worries when connected directly to a power supply
DC Motor But what happens when it is integrated within a circuit?
DC Motor If the motor is turning that doesn t mean that it is working as you want yet The motor will have to move something which will resist it (because physics) The more resistance it faces the more current it requires If your circuit cannot support the extra current, the motor will simply stop
Datasheets
Part number What is it Some chips tell you what are they made for Chip pin out Pins description Quick description http://www.hobbytronics.co.uk/
Comprehensive symbol Chip pin out Pins description http://www.ti.com/
Rating values i.e. maximum supply voltage is 36 V Some datasheets have recommended conditions
Specifications Rating values i.e. maximum supply voltage is +/- 22V Sometimes the datasheet is for a series of similar components Will have everything you might need
Comprehensive symbol Inner circuit
Will always show the inner circuit
Transistors
Diodes The main function of a diode is to control the direction of control flow. Current only flows in forward direction, in reverse the current is blocked. ideal diode
Diodes Forward Bias Reverse Bias
Diodes Real Diode 1.Forward bias: When the voltage across the diode is positive the diode is on and current can run through. The voltage should be greater than the forward voltage (V F ) in order for the current to be anything significant. 2.Reverse bias: This is the off mode of the diode, where the voltage is less than V F but greater than -V BR. In this mode current flow is (mostly) blocked, and the diode is off. A very small amount of current (on the order of na) called reverse saturation current is able to flow in reverse through the diode. 3.Breakdown: When the voltage applied across the diode is very large and negative, lots of current will be able to flow in the reverse direction, from cathode to anode.
Diodes
Diodes 1N4148 diode If a diode is subject to more voltage or current than it can handle, expect it to heat up (or worse; melt, smoke, ). Some diodes are well-suited to high currents 1A or more others like the 1N4148 small-signal diode shown above may only be suited for around 200mA.
Light-emitting Diodes (LEDs) LEDs are a particular type of diode that convert electrical energy into light.
Light-emitting Diodes (LEDs) current Cathode (-) Anode (+)
Light-emitting Diodes (LEDs) The brightness of an LED is directly dependent on how much current it draws. The super bright LEDs drain batteries more quickly, because the extra brightness comes from the extra power being used. it s important to limit the amount of current flowing across the LED, otherwise it will burn. Use current limiting resistor.
Light-emitting Diodes (LEDs) The first row in the table indicates how much current your LED will be able to handle continuously. In this case, you can give it 20mA or less, and it will shine its brightest at 20mA. The second row tells us what the maximum peak current should be for short bursts. This LED can handle short bumps to 30mA, but you don t want to sustain that current for too long. The first row tells us what the forward voltage drop across the LED will be. This number will help you decide how much voltage your circuit will need to supply to the LED. If you have more than one LED connected to a single power source, the forward voltage of all of the LEDs added together can t exceed the supply voltage
Zener Diodes Zener diodes are a special kind of diode which permits current to flow in the forward direction. What makes them different from other diodes is that Zener diodes will also allow current to flow in the reverse direction when the voltage is above a certain value. This breakdown voltage is known as the Zener voltage.
Diode application
Transistors An electronic device which can be used as a Switch Amplifier Major Types Bipolar Junction Transistors (BJT) Metal Oxide Semiconductor Field Effect Transistors (MOSFET)
Transistors Bipolar Junction Transistor npn or pnp Small input base current leads to large current between emitter and collector. Major Types nmos or pmos Voltage applied to base controls current between source and drain.
Transistors Bipolar Junction Transistor
Transistors
Transistors
Transistor as switch The transistor needs a certain voltage (0.6V to 0.7V) to turn ON. Current limiting resistor Don t forget to add this resistor! The base resistor needs to be large enough to effectively limit the current, but small enough to feed the base enough current. 1mA to 10mA will usually be enough, but check your transistor s datasheet to make sure. Here we use an NPN to control an LED
Transistor as switch Here we use an PNP to control motor
Transistors as Amplifier One quirk of the common emitter, though, is that it inverts the input signal
Transistor as Amplifier The Darlington pair is a great tool if you need to drive a large (current hungry ) load with a very small input current.
Transistors - MOSFET Operation similar to a BJT
Transistors - MOSFET Gate-source voltage less than threshold voltage V GS < V TH MOSFET is OFF ( Cut-off region ) No Drain current flows ( I D = 0 ) V OUT = V DS = V DD = 1 MOSFET operates as an open switch Gate-source voltage is much greater than threshold voltage V GS > V TH MOSFET is ON ( saturation region ) Max Drain current flows ( I D = V DD / R L ) V DS = 0V (ideal saturation) Min channel resistance R DS(on) < 0.1Ω V OUT = V DS = 0.2V due to R DS(on) MOSFET operates as a low resistance closed switch
Transistors - MOSFET
Power MOSFET A power MOSFET is a specific type of metal oxide semiconductor field-effect transistor (MOSFET) designed to handle significant power levels. The power MOSFET is the most widely used low-voltage (that is, less than 200 V) switch. It can be found in most power supplies, DC to DC converters, and low voltage motor controllers.
Power MOSFET IRFD120
BJT vs MOSFET Unlike bipolar transistors, MOSFET is voltage controlled. While BJT is current controlled, the base resistor needs to be carefully calculated according to the amount of current being switched. Not so with a MOSFET. Just apply enough voltage to the gate and the switch operates. Because they are voltage controlled, MOSFET have a very high input impedance, so just about anything can drive them. MOSFET has high input impedance.
Skills
Skills Troubleshooting steps: Recheck connections Check voltage using DMM Breakdown the circuit and make sure every part is doing what it is supposed to do You can use power supplies to simulate signal inputs from other parts in the circuit Try to change one thing at a time
Skills Example. You made the following circuit but it is not working: Motor Driving circuit
Skills Example. You made the following circuit but it is not working: Motor Driving circuit
Skills Example. You made the following circuit but it is not working: Motor Driving circuit
Skills Example. You made the following circuit but it is not working: Same voltage Motor Driving circuit
Skills Example. You made the following circuit but it is not working: Motor Driving circuit Both working?
Skills Example. You made the following circuit but it is not working: Motor Driving circuit No Yes Both working?
Skills Example. You made the following circuit but it is not working: Motor Driving circuit troubleshoot
Skills Example. You made the following circuit but it is not working: Motor Driving circuit Yes Yes Both working?
Skills Example. You made the following circuit but it is not working: Motor Driving circuit Not working?
Skills Example. You made the following circuit but it is not working: Different than
Skills Common errors: Power not connected or turned ON Always check your source Circuit wiring Break the circuits into parts, and debug it using DMMs and power supplies Common ground Ground is an imaginary reference point All circuit parts should share a common ground All power supplies should also share that same common ground
Skills Common errors: Components are burnt out ICs and transistors can be burnt out and not working Based on what is not working in the circuit, you can guess which part might be burnt out There are IC testers to test you IC Also try exchanging the IC or transistor and see if the circuit work
Skills Common errors: Using components incorrectly If the IC passes, but circuit is still not working, then you might simply be using your IC incorrectly Check the datasheet Loose connections You know you have a loose connection when the circuit sometimes works and sometimes doesn t
Skills Common errors: Current issues Usually happens when independent parts work, but don t work when integrated Power supplies usually give you as much current as you need Use them to simulate signal inputs from other parts in the circuit If it works, then current issue confirmed Use the signal to control a switching circuit that powers your next part Use amplifier/more efficient transistors to supply more current within the circuit
Skills Example. You made the following circuit but it is not working:
Skills Example. You made the following circuit but it is not working:
Skills Example. You made the following circuit but it is not working: correct
Skills Example. You made the following circuit but it is not working: correct
Skills Example. You made the following circuit but it is not working: Wrong!
Skills Example. You made the following circuit but it is not working: This could be burnt
Skills Example. You made the following circuit but it is not working: Connections might be wrong
Skills Example. You made the following circuit but it is not working: Current might not be enough
Skills Example. You made the following circuit but it is not working: etc...
References http://www.slideshare.net/jlicht/how-to-use-a-digital-multimeter http://www.tek.com/product-features/performing-lab-experiments-tbs1000b-edu-oscilloscope http://www.gwinstek.com/en-global/products/signal_sources/analog_function_generators/gfg-3015 https://www.sparkfun.com/ https://www.sparkfun.com/tutorials/223 https://learn.sparkfun.com/tutorials/transistors http://www.gregsbasicelectronics.com/