Changes between Version 6 and Version 7 of ControlSystems/Electrical/Training/Arduino/Lesson6


Ignore:
Timestamp:
Oct 22, 2015, 7:47:07 AM (10 years ago)
Author:
David Albert
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ControlSystems/Electrical/Training/Arduino/Lesson6

    v6 v7  
    3636There are many different types of transistors, but most are three-terminal devices where the current or voltage at one terminal controls the flow of electricity through the other two terminals.  The most common transistors used today are either bipolar-junction transistors (BJTs) and field-effect transistors (FETs).  BJTs are an older technology, but are very inexpensive and are still in common use.  You can learn about BJTs [https://www.youtube.com/watch?v=sRVvUkK0U80 here].  You can use a BJT as a switch for motor control, but metal-oxide-semiconductors (MOSFETs) offer many advantages.  A primary advantage of the MOSFET is that it has a very low resistance when on (when the control voltage on the gate terminal allows current to flow between the other two terminals (source and drain).  Because there is very little resistance, the transistor can pass large amounts of current without getting hot.  If you recall Ohms law, E=IR, if the resistance is very low (a few tenths or hundredths of an ohm), a lot of current can pass without the voltage drop getting large.  This is important because if you passed 10Amps (a lot of current) through a transistor that offered 10 ohms of resistance, it would drop 100 volts and the power dissipated (as heat) would be E*I = 1000 Watts!
    3737
    38 [[Image(https://upload.wikimedia.org/wikipedia/commons/thumb/7/79/Lateral_mosfet.svg/2000px-Lateral_mosfet.svg.png, align=left, width=200)]]
     38[[Image(https://upload.wikimedia.org/wikipedia/commons/thumb/7/79/Lateral_mosfet.svg/2000px-Lateral_mosfet.svg.png, align=left, width=200, title=MOSFET transistor)]]
    3939  **Exercise**: use the IRL3715Z N-FET transistor in your kit to allow your arduino to control the flow of electricity through a motor.  Turn the motor on or off in response to a switch or to your ultrasonic controller.  Use a protection diode (also in your kit) to prevent the back EMF from the motor from destroying the transistor (and potentially you Arduino).  You can use the micro-motors provided (see a mentor if you don't have one) or you can use one of the gear-motors from the mini-bot kits (also ask a mentor).  The first step in working with any electronic component is to review its [http://www.irf.com/product-info/datasheets/data/irl3715z.pdf datasheet].  The datasheet will give you all of the component's specifications and limits and will often give you examples of how to use it.  The IRL3175Z datasheet tells you that it turns on when the voltage between the gate and source terminals is above 4.5 volts (our Arduino uses 5v), that the absolute maximum voltage that can flow between the source and drain (to the motor) is 20v and above that, the device will be damaged.  It also tells you that the maximum resistance between the source and drain pins when the transistor is 'on' is 11 milli-ohms (very low), so if you used this transistor to switch 10A (a lot of current) to a motor, it would drop at most 10A * 0.011ohms = 0.11 volts and dissipate 0.11 volts * 10A  = 1.1W as heat which is quite manageable.  With a heat sink (metal fins attached to the transistor to give it more surface area for heat transfer), it can switch as much as 50A at room temperature.  You can learn more about MOSFETs [https://www.youtube.com/watch?v=GrvvkYTW_0k here] how to use MOSFETs for motor control [https://www.youtube.com/watch?v=3tHIXPoKPNc here].
    4040