๐Ÿ’ป

Electronics โ€” Study Notes

Comprehensive theory, key formulas, diagrams, and memory aids for Electronics.

Text Size:

1. Semiconductors and Diodes

A semiconductor is a material with electrical conductivity between that of a conductor and an insulator. The most important semiconductor is silicon, which has four valence electrons forming a covalent lattice.

In a p-type semiconductor, the silicon is doped with elements like boron (3 valence electrons), creating "holes" โ€” positive charge carriers โ€” as majority carriers.

In an n-type semiconductor, silicon is doped with phosphorus (5 valence electrons), providing extra electrons as majority carriers.

A p-n junction diode is formed by joining p-type and n-type silicon. At the junction, electrons and holes recombine, creating a depletion region โ€” a zone depleted of free charge carriers, which acts as a potential barrier.

A diode's I-V characteristic is exponential forward, essentially flat reverse โ€” a non-ohmic component.

2. The Transistor

A transistor is a three-terminal semiconductor device used for amplification and switching. Two common types:

BJT (Bipolar Junction Transistor) โ€” NPN type

Three regions: Collector (C), Base (B), Emitter (E).

In common-emitter configuration: - A small base current ($I_B$) controls a large collector current ($I_C$). - DC current gain: $\beta = h_{FE} = \frac{I_C}{I_B}$, typically 50โ€“500. - Collector current: $I_C = \beta I_B$ - Emitter current: $I_E = I_B + I_C$

As a switch: When $I_B = 0$, transistor is cut off (OFF). When $I_B$ is large enough to saturate the transistor, it acts like a closed switch (ON). Used in logic circuits, relay drivers, LED controllers.

As an amplifier: Operating in the linear (active) region โ€” $V_{CE}$ is between saturation and cutoff. Small AC input signal at base โ†’ amplified AC output at collector. The voltage gain $= -\beta R_C / R_{in}$ (negative sign indicates 180ยฐ phase inversion in common-emitter configuration).

3. Operational Amplifiers (Op-Amps)

An operational amplifier is an integrated circuit with two inputs and one output, designed for high-gain amplification. The ideal op-amp has: - Infinite open-loop voltage gain ($A_{OL} \rightarrow \infty$) - Infinite input impedance (draws no current from the signal source) - Zero output impedance - Infinite bandwidth

Real op-amps (e.g., 741) have open-loop gain ~100,000, which is so large that even tiny differential inputs saturate the output. Therefore, op-amps are almost always used with negative feedback.

The Golden Rules for Op-Amps (with negative feedback):

  1. The output adjusts to make the voltage difference between the inputs ($V_+ - V_-$) essentially zero.
  2. No current flows into either input (infinite input impedance).

Inverting Amplifier

Input connected to inverting input (โˆ’) via $R_{in}$, with feedback resistor $R_f$ from output back to (โˆ’): $$V_{out} = -\frac{R_f}{R_{in}} V_{in}$$ Voltage gain $= -R_f / R_{in}$. Negative sign: output is 180ยฐ out of phase with input.

Non-Inverting Amplifier

Input connected to non-inverting input (+): $$V_{out} = \left(1 + \frac{R_f}{R_1}\right) V_{in}$$ Voltage gain $= 1 + R_f/R_1$. Output is in phase with input.

graph LR
    A[Input Vin] --> B[Inverting Op-Amp]
    C[Rf from output to -ve input] --> B
    B --> D[Output = -Rf/Rin ร— Vin]
    D --> E[Amplified and inverted signal]

Voltage Comparator

Without negative feedback, the op-amp compares $V_+$ and $V_-$: - $V_+ > V_-$: Output saturates at $+V_{sat}$ (close to positive supply voltage) - $V_+ < V_-$: Output saturates at $-V_{sat}$

Used in burglar alarms (thermistor/LDR potential divider compared to reference), zero-crossing detectors, and Schmitt triggers.

4. Logic Gates

Digital electronics uses binary logic โ€” signals are either HIGH (1, typically ~5V or 3.3V) or LOW (0, ~0V). Logic gates perform Boolean operations on binary inputs.

Gate Symbol Boolean Output
NOT ยฌA $\overline{A}$ Inverts input
AND AยทB $A \cdot B$ 1 only if both inputs 1
OR A+B $A + B$ 1 if at least one input 1
NAND ยฌ(AยทB) $\overline{A \cdot B}$ NOT AND โ€” universal gate
NOR ยฌ(A+B) $\overline{A + B}$ NOT OR โ€” universal gate
XOR AโŠ•B $A \oplus B$ 1 if inputs are different

NAND and NOR are universal gates: Any logic function can be constructed using only NAND gates (or only NOR gates). This is economically efficient in chip manufacturing.

5. Combinational Logic and Truth Tables

Complex logic circuits combine multiple gates. A truth table lists all possible input combinations and corresponding outputs โ€” essential for analysing and designing logic circuits.

Example โ€” Half Adder: Adds two 1-bit numbers. Produces Sum (S) and Carry (C): - $S = A \oplus B$ (XOR) - $C = A \cdot B$ (AND)

A B Sum (S) Carry (C)
0 0 0 0
0 1 1 0
1 0 1 0
1 1 0 1

6. Bistables and Memory

A bistable (flip-flop) is a sequential logic circuit with two stable states โ€” it can store one bit of information. The SR (Set-Reset) bistable uses cross-coupled NOR (or NAND) gates.

SR NOR bistable: - S=1, R=0: Output Q set to 1 (Set) - S=0, R=1: Output Q set to 0 (Reset) - S=0, R=0: Q retains previous state (Memory) - S=1, R=1: Indeterminate โ€” avoid this state

The D flip-flop, clocked T flip-flop, and JK flip-flop are more advanced forms used in registers, counters, and memory.

7. Analogue to Digital Conversion

Real-world signals (sound, temperature) are analogue โ€” continuously varying. Computers require digital (binary) signals. An ADC (Analogue-to-Digital Converter) samples the analogue signal at regular intervals (sampling rate) and converts each sample to a binary number.

DAC (Digital-to-Analogue Converter) performs the reverse โ€” converts digital values back to analogue signals (e.g., in audio speakers, function generators).

Test Your Knowledge on Electronics โ†’