Skip to content
Snippets Groups Projects
index.html 12.2 KiB
Newer Older
  • Learn to ignore specific revisions
  • <!DOCTYPE html>
    <html>
    <title>Electronics intro:  Basic Concepts </title>
    
    <xmp theme="journal" style="display:none;">
    <br>
    
    
    
    Robert Hart's avatar
    Robert Hart committed
    ##Basic concepts
    
    Robert Hart's avatar
    Robert Hart committed
    A good starting point for newcomers in the electronics field looking for what is they must to learn is the flowchart depicted in the image below:
    
    unknown's avatar
    unknown committed
    
    
    ![general](imgs-filippos/1.JPG)
    
    
    Robert Hart's avatar
    Robert Hart committed
      ### Current
    
    Robert Hart's avatar
    Robert Hart committed
      - total charge that passes through some cross-sectional area A per unit time
    
    Robert Hart's avatar
    Robert Hart committed
      ![current-definition](imgs-filippos/2a.JPG)
    
    Robert Hart's avatar
    Robert Hart committed
      - negative electrons going one way are equivalent to positive charges going in the opposite direction
      - all basic eqns in electronics such as Ohm's law: V=IR "pretend" that the current I is made up of positive charge carriers
      - when we see the term "electron flow", we have to realize that the "convenbtional current flow" is moving on the other way
    
    
      ![current](imgs-filippos/2.JPG)
    
      - Currents in perspective:
        - a 100 W light bulb draws about 1 A
        - a laptop 2-3 A
    
    Robert Hart's avatar
    Robert Hart committed
        - a typical LED 10 mA
    
        - a mobile (smart) phone accesing the web ~ 200 mA
        - a sufficient amount of current to induce cardiac/repsiratory arrest around 100 mA to 1A
    
      ### Voltage
    
    
    Rob Hart's avatar
    Rob Hart committed
      - [Notes on voltages in circuits](https://roberthart56.github.io/SCFAB/SC_lab/Electronics/electronic_basics.html)
    
    
      - to get electric current flow between two points you need a voltage across them
      - a voltage causes an Electromotive Force (EMF)
    
    Robert Hart's avatar
    Robert Hart committed
      - Technical Note: "voltage" known as "potential difference" or just "potential"
    
    Robert Hart's avatar
    Robert Hart committed
      ![voltage](imgs-filippos/3.JPG)
    
    
      - 1 volt (V) = 1 Joule (J) / 1 coulomb (C)
    
    Robert Hart's avatar
    Robert Hart committed
      - two points with a avoltage of 1V across them have enough EMF or "pressure" to perform 1 Joule worth of work
    
      while moving 1C worth of charge between the two points
      - for example an ideal 1.5 V battery is capable of moving 1C of charge through a circuit while performing 1.5 J worth of work
    
    
    Robert Hart's avatar
    Robert Hart committed
      - we can define volts in terms of power using the "generalized power law": P = VI
    
    Robert Hart's avatar
    Robert Hart committed
      ![voltage-power-defintion](imgs-filippos/3a.JPG)
    
    
      - the above law can be used to determine the power loss of any circuit, given only the voltage applied across it and teh current drawn
    
    Robert Hart's avatar
    Robert Hart committed
      - both of which you can measure using a voltmeter and an ammeter
    
    
        - Water Analogy Explanation of Voltage
    
    
    Robert Hart's avatar
    Robert Hart committed
        ![voltage](imgs-filippos/4.JPG)
    
    Robert Hart's avatar
    Robert Hart committed
        ### Resistance
    
    Robert Hart's avatar
    Robert Hart committed
        ![resistance](imgs-filippos/5.JPG)
    
    
        - sometimes we see or we write Ohm's law : V = I x R
    
    Robert Hart's avatar
    Robert Hart committed
        - you don't define V in terms of I and R
        - you define R ub terms of V and I
        - HOWEVER, in electronics we frequently use Ohm's law to predict  what V must exist across a known R given a measured current
    
    
        ### Wire Gauges
    
        - how the shape of a conductor affects resistance
          - doubling the length of a wire doubles the resistance allowing half of the current to flow
          - doubling the cross-sectional area ==> opposite effect ==> the resistance is cut in half and twice as much current will flow
    
    
    Robert Hart's avatar
    Robert Hart committed
          assuming for both cases similar applied voltages.
    
    
          - current density (J=1/A): the rate of current flows per unit area
    
    Robert Hart's avatar
    Robert Hart committed
    
          ![resistance](imgs-filippos/6.JPG)
    
    
          - there is a point at which J becomes so large resulting in wire melt down (laso known as "fusion point")
    
    Robert Hart's avatar
    Robert Hart committed
          - NOTE: It is important to select the appropriate wire size for anticipated current levels
    
    Robert Hart's avatar
    Robert Hart committed
          ![resistance](imgs-filippos/5-wires.JPG)
    
    Robert Hart's avatar
    Robert Hart committed
      ### Circuits
    
      -  an arrangement of resistors, wires, or other electrical components (capacitors, inductors, transistors, lamps,  motors, etc.) connected together that has some level of current flowing through it.
    
    
    Robert Hart's avatar
    Robert Hart committed
        ![series-parallel-circuits](imgs-filippos/7.JPG)
    
    Robert Hart's avatar
    Robert Hart committed
        ![combined-circuits](imgs-filippos/8.JPG)
    
    Rob Hart's avatar
    Rob Hart committed
      ### [Resistors and switches](https://roberthart56.github.io/SCFAB/SC_lab/Sensors/Button/index.html)
    
    
    Rob Hart's avatar
    Rob Hart committed
        ![button circuits](../images/button_config.png)
    
    Rob Hart's avatar
    Rob Hart committed
    
    
      ### Circuit Analysis
    
    
    Robert Hart's avatar
    Robert Hart committed
          - Goal: volatge and current prediction within a purely resistive powered by a direct current (dc) source such as a battery
    
    Robert Hart's avatar
    Robert Hart committed
          #### Ohm's Law and Resistors
    
    Robert Hart's avatar
    Robert Hart committed
            - Resistors: limit current flow or set voltages levels within circuits
    
    Robert Hart's avatar
    Robert Hart committed
            ![resistor-symbols-models](imgs-filippos/9.JPG)
    
    
          #### Example:
            - You have a resistor 100 Ohm resistor which is placed across a 12 V battery. How much current flows through the resistor ? How much power does the resistor dissipate?
    
    
    Robert Hart's avatar
    Robert Hart committed
            - Answer:
              ![resistor-example](imgs-filippos/10.JPG)
    
    Robert Hart's avatar
    Robert Hart committed
          #### Resistor Power ratings:
    
            - how much power does a resitor dissipate?
            - max allowable power ratings
            - typically resistors in 1/8-, 1/4-, 1/2- and 1-W power ratings
            - high power resistors: 2 - 100s of Watts
    
            - NOTE: Always select a resistor that has a pwer rating at least twice the maximum value anticipated
    
    Robert Hart's avatar
    Robert Hart committed
            - In our previous examples a 2W resistor would work, a 3-W would be safer
    
    
            - as resistance decreases, the power raitng o fthe transistor must increase, otherwise you will burn up the resistor
    
    
    Robert Hart's avatar
    Robert Hart committed
          ![resistor-power](imgs-filippos/11.JPG)
    
    Robert Hart's avatar
    Robert Hart committed
          #### Resistors in Parallel
    
    
            - voltage across each resistor is the same
            - current through each resistor will vary with resistance
    
              ![resistor-parallel](imgs-filippos/12.JPG)
    
    
    Robert Hart's avatar
    Robert Hart committed
              ![resistor-parallel](imgs-filippos/13.JPG)
    
    Robert Hart's avatar
    Robert Hart committed
          #### Resistors in Series
    
    
            - total resistance = sum of the individual resistancies
    
    Robert Hart's avatar
    Robert Hart committed
            - current flowing through each resistor is the same
            - voltage across each resistor varies with resistance
    
    
              ![resistor-series](imgs-filippos/14.JPG)
    
    
    Robert Hart's avatar
    Robert Hart committed
              ![resistor-series](imgs-filippos/15.JPG)
    
    
            - Examples
              - the input of an IC requires a constant 5V, but the supply voltage you have is 9V. Assumming that the IC draws no current due to high input resistance, you can use directly the voltage divider equation.
    
    
    Robert Hart's avatar
    Robert Hart committed
            - The 10% Rule
    
              ![resistor-parallel](imgs-filippos/16.JPG)
    
    Robert Hart's avatar
    Robert Hart committed
        ### Voltage and Current Sources
    
    Robert Hart's avatar
    Robert Hart committed
        ![sources](imgs-filippos/17.JPG)
    
    
    
      ### Circuit Analysis - Important Laws
    
    
    Robert Hart's avatar
    Robert Hart committed
      - Kirchoff's Voltage Law (or Loop Rule)
    
    Robert Hart's avatar
    Robert Hart committed
      ![KVL](imgs-filippos/KVL.png)
    
    Robert Hart's avatar
    Robert Hart committed
      - Kirchoff's Current Law (or Junction Rule)
    
    
      ![KCL](imgs-filippos/KCL.png)
    
    
    Robert Hart's avatar
    Robert Hart committed
      - Example:
    
    Robert Hart's avatar
    Robert Hart committed
      ![KVL](imgs-filippos/kirchoff-example.png)
    
    
        - Thevenin's Theorem
    
    Robert Hart's avatar
    Robert Hart committed
        - Norton's Theorem
    
    Robert Hart's avatar
    Robert Hart committed
      ### Connectors, wires, traces
    
    
      - headers and connectors.  Ribbon cable.
        https://learn.sparkfun.com/tutorials/connector-basics#connector-terminology-
    
      - working with wires:
        https://learn.sparkfun.com/tutorials/working-with-wire
    
      - Use of breadboards.
        https://learn.sparkfun.com/tutorials/how-to-use-a-breadboard
    
    Robert Hart's avatar
    Robert Hart committed
    
    
    
      ### Switches
    
    Robert Hart's avatar
    Robert Hart committed
      - switch: a mechanical device that interrupts or diverts electric current flow within a circuit
    
    Robert Hart's avatar
    Robert Hart committed
      ![SW](imgs-filippos/22-SW.JPG)
    
    
      - two slider-type switches shown below
        - format of switch description: (number of poles)"P" and (number of throws)"T"
        - LEFT: switch acting as an interrupter, SPST
    
    Robert Hart's avatar
    Robert Hart committed
        - RIGHT: switch acting as a diverter, SPDT
    
    Robert Hart's avatar
    Robert Hart committed
        ![SW](imgs-filippos/23-SW.JPG)
    
    Robert Hart's avatar
    Robert Hart committed
      - A very nice tutorial from Sparkfun on Switches:
    
      https://learn.sparkfun.com/tutorials/switch-basics
    
    
      ### Diodes
    
    Robert Hart's avatar
    Robert Hart committed
      - Diode: is a two-semiconductor device that acts as a one-waygate to electric current flow
      - Mechanism:
    
        - "OPEN DOOR": when anode lead more positive in Voltagethan the the cathode lead ==> "forward biasing" and current is permitted to flow through the device
    
    Robert Hart's avatar
    Robert Hart committed
        - "CLOSED DOOR": opposite phenomenon: "reversed biasing"
    
    Robert Hart's avatar
    Robert Hart committed
        ![D](imgs-filippos/24-DIODE.JPG)
    
    Robert Hart's avatar
    Robert Hart committed
      - Diode Water Analogy:
      ![D](imgs-filippos/25-DIODE.JPG)
    
    
      - A diode (or rectifier) acts as a one- way gate to current flow—see the water analogy in
      - current flows in the direction of the arrow, from anode (+) to cathode (−),
    
    Robert Hart's avatar
    Robert Hart committed
      - "forward voltage" VF across it exceeds what’s called the "junction threshold voltage"
    
      - For example: germanium diodes have a 0.2- V threshold, and Schottky diodes a 0.4- V threshold.
      - real- life components may be a few tenths of a volt off
      - Check IV curve for limits:
        - IF: forward current
        - Io: peak current rating
    
    Robert Hart's avatar
    Robert Hart committed
        - PIV: peak inverse voltage
    
    Robert Hart's avatar
    Robert Hart committed
      ![D](imgs-filippos/26-DIODE.JPG)
    
    
      ![D](imgs-filippos/27-DIODE.JPG)
    
      - A very nice tutorial from Sparkfun on Diodes:
      https://learn.sparkfun.com/tutorials/diodes
    
    
    Robert Hart's avatar
    Robert Hart committed
    
    
      ### Capacitors
    
    Robert Hart's avatar
    Robert Hart committed
      - ####basic concept
    
    Robert Hart's avatar
    Robert Hart committed
      ![CPC](imgs-filippos/18-CPCs.JPG)
    
    Robert Hart's avatar
    Robert Hart committed
      - ####Capacitance: the ratio of charge on one of the plates of a capacitor to the voltage that exists between the plates
    
      C = Q/V, Units: Farads, 1F = 1C/1V
    
    
    Robert Hart's avatar
    Robert Hart committed
      ![CPC](imgs-filippos/19-CPCs.JPG)
    
    Robert Hart's avatar
    Robert Hart committed
      - we could be content with this limited knowledge. However, if you want
    
        - to build your own capacitors
        - understand time-dependent behavior such as displacement current and capacitive reactance
    
    Robert Hart's avatar
    Robert Hart committed
      - a deeper understanding of capacitance is needed:
    
    Robert Hart's avatar
    Robert Hart committed
      ![CPC](imgs-filippos/20-CPCs.JPG)
    
    
      - A very nice Sparkfun tutorial on capacitors and their applicaitons:
    
    Robert Hart's avatar
    Robert Hart committed
      https://learn.sparkfun.com/tutorials/capacitors/introduction
    
    Robert Hart's avatar
    Robert Hart committed
      - ####RC time constant.  Time domain behavior.
    
    Robert Hart's avatar
    Robert Hart committed
      ![CPC](imgs-filippos/21-CPCs.JPG)
    
    Robert Hart's avatar
    Robert Hart committed
      - ####Capacitors in filters:  low pass and high pass.
    The charging and discharging of the RC combination makes capacitors useful as frequency filters.
    
    Robert Hart's avatar
    Robert Hart committed
    
    
    Robert Hart's avatar
    Robert Hart committed
    Discussion of symbol for ground used in the circuits below.
    
    
    Robert Hart's avatar
    Robert Hart committed
      ![CPC](imgs-filippos/lp_hp.jpg)
    
    Robert Hart's avatar
    Robert Hart committed
    ---
    
      - ####filter capacitors on power rails.
    Capacitors resist changes in voltage by virtue of their energy-storage capabilities.
    We use them to absorb fluctuations in power supply voltage in almost every board that we make.
      ![CPC](imgs-filippos/Supply_filter_caps.png)
    
      ---
    
      - ####using capacitors as sensors
      Capacitance sensing is used in many ways.  During our "Input devices" week, you will see practical examples of this.
    
      ![CPC](imgs-filippos/cap_loading.jpg)
      ![CPC](imgs-filippos/cap_txrx.jpg)
    
    ---
    
    
      ### Transistors
    
      - semiconductor devices often hidden deep within the die of an integrated circuit
      - control current flow in a way similar to the way a faucet controls the flow of the water
      - 2 Major Ctaegories:
        - Bipolar Transistorsv (BTs)
        - Field-Effect transistors (FETs)
    
    Robert Hart's avatar
    Robert Hart committed
      - Major Difference:
    
        - BTs rewuire input current at their control leads
        - FETs require only a voltage
    
      #### BTs
    
      - 3 terminal devices that can act:
        - switches
        - amplifier controls
    
    
    Robert Hart's avatar
    Robert Hart committed
      - On a bi-polar junction transistor (BJT), those pins are labeled collector (C), base (B), and emitter (E). The circuit symbols for both the NPN and PNP BJT are below:
    
      ![CPC](imgs-filippos/30-TS.JPG)
    
    Robert Hart's avatar
    Robert Hart committed
      ![CPC](imgs-filippos/31-TS.JPG)
    
    
      - 2 configurations:
        - The only difference between an NPN and PNP is the direction of the arrow on the base. The arrow on an NPN points out, and on the PNP it points in
        - NPN (Not-Pointing-In): small input current and positive V (relatiuve its emmiter) at its base to control a much larger collector-to-emmiter current
    
    Robert Hart's avatar
    Robert Hart committed
        - PNP: small output base current and negative base V (relative its emmiter) to control a larger emmiter-to-collector current
    
    
      - Extending the water analogy
        - On – Short Circuit
        - Off – Open Circuit
        - Linear Flow Control
    
      ![CPC](imgs-filippos/35-TS.JPG)
    
        - Unsurprisingly, the water analogy can be extended to transistors as well: a transistor is like a water valve – a mechanism we can use to control the flow rate.
    
      ![CPC](imgs-filippos/32-TS.JPG)
    
    Robert Hart's avatar
    Robert Hart committed
      ![CPC](imgs-filippos/33-TS.JPG)
    
      ![CPC](imgs-filippos/34-TS.JPG)
    
      - Modes:
    
    
    Robert Hart's avatar
    Robert Hart committed
      ![CPC](imgs-filippos/36-TS.JPG)
    
    
      - A nice tutorial on BJTs from Sparkfun:
    
    Robert Hart's avatar
    Robert Hart committed
      https://learn.sparkfun.com/tutorials/transistors#applications-i-switches
    
    Robert Hart's avatar
    Robert Hart committed
    #### FETs
    
    - Field Effect Transistors.  [Article](https://www.electronics-notes.com/articles/electronic_components/fet-field-effect-transistor/what-is-a-fet-types-overview.php)
    A small voltage on the input, requiring essentially no current, controls a large current through the transistor.
    
    - Below are two of the FETs in the fab inventory.  Both n-type MOSFETS.  Left 1.7 amps, right 16 amps max. current.  We also have p-type MOSFETS.
    
    
      ![CPC](imgs-filippos/mosfets.jpg)
      ![CPC](imgs-filippos/nmosfet.jpg)
    
    ####Relays
    
    
      - Controlling high voltage power devices using transistors:
       https://www.instructables.com/id/Arduino-Tutorial-Handling-High-Power-Devices/
    
    ---
    
    
    
    </xmp>
    
    <script src="../strapdown-gh-pages/strapdown-gh-pages/v/0.2/strapdown.js"></script>
    </html>