Basic Electronics
Basic Electronics
Working:
• Forward Bias:
1
o Positive terminal connected to P-side, negative to N-side.
o Depletion region narrows, allowing current to flow.
• Reverse Bias:
o Positive terminal connected to N-side, negative to P-side.
o Depletion region widens, blocking current flow.
Important Parameters:
Reverse Characteristics:
Graph:
2
1.6 Special Purpose Diodes
• Light Emitting Diode (LED):
o Converts electrical energy into light.
o Made from direct bandgap semiconductors like GaAs.
o Color depends on material and energy band gap.
• Photodiode:
o Converts light energy into electrical current.
o Operates under reverse bias.
o Applications: Solar cells, light sensors.
• Zener Diode:
o Designed to operate in reverse breakdown region.
o Used for voltage regulation.
3
Unit 2: Transistors and Technology
Structure:
• Two types:
o NPN transistor: N-type, P-type, N-type layers.
o PNP transistor: P-type, N-type, P-type layers.
Terminals:
1. Active Mode:
o Emitter-Base junction: Forward biased.
o Collector-Base junction: Reverse biased.
o Transistor acts as an amplifier.
2. Cut-off Mode:
o Both junctions reverse biased.
o No current flows.
o Transistor is OFF.
3. Saturation Mode:
o Both junctions forward biased.
o Large current flows.
o Transistor is ON (acts as closed switch).
4
2.3 Current Components in BJT
• IE = IB + IC
(Emitter current = Base current + Collector current)
• Current gain (β):
β=ICIB\beta = \frac{I_C}{I_B}
α=ICIE\alpha = \frac{I_C}{I_E}
Output Characteristics:
5
Three regions in Output Characteristics:
Graph explanation:
Applications:
Terminals:
Operation:
Features:
6
• Fast switching.
• Used in microprocessors, power electronics.
Evolution:
• SSI (Small Scale Integration) → MSI (Medium Scale) → LSI (Large Scale) → VLSI.
Applications:
• Microprocessors.
• Memory devices (RAM, ROM).
• Communication devices (mobile phones, routers).
• A popular method where NMOS and PMOS transistors are fabricated on the same
chip using N-Well or P-Well techniques.
7
Important Diagrams to Practice
• Structure and symbol of NPN and PNP BJT.
• Input and output characteristics of CE configuration.
• Symbol and structure of Enhancement type MOSFET.
• VLSI block representation (conceptual).
8
Unit 3: Logic Gates and Digital Circuits
PART A
• Logic gates are the fundamental building blocks of digital circuits. They perform
logical operations based on one or more binary inputs to produce a single output.
• They are implemented using electronic devices like transistors.
1. AND Gate:
o Symbol: A ⋅ B
o Truth Table:
A B Output (A ⋅ B)
0 0 0
0 1 0
1 0 0
1 1 1
A B Output (A + B)
0 0 0
0 1 1
1 0 1
1 1 1
A Output (A')
0 1
1 0
9
o
Inverts the input signal.
4. NAND Gate:
o Symbol: (A ⋅ B)'
o Truth Table:
A B Output (A ⋅ B)'
0 0 1
0 1 1
1 0 1
1 1 0
A B Output (A + B)'
0 0 1
0 1 0
1 0 0
1 1 0
A B Output (A ⊕ B)
0 0 0
0 1 1
1 0 1
1 1 0
o
Output is 1 when the inputs are different.
7. XNOR Gate (Exclusive NOR):
o Symbol: (A ⊕ B)'
o Truth Table:
A B Output (A ⊕ B)'
0 0 1
0 1 0
1 0 0
1 1 1
10
3.2 Boolean Algebra
Definition:
• Boolean Algebra is the mathematical foundation for digital circuits and logic gates. It
uses binary variables and logical operations (AND, OR, NOT) to simplify logical
expressions.
Basic Laws:
1. Identity Law:
o A+0=A
o A⋅1=A
2. Null Law:
o A+1=1
o A⋅0=0
3. Idempotent Law:
o A+A=A
o A⋅A=A
4. Complement Law:
o A + A' = 1
o A ⋅ A' = 0
5. Double Negation:
o (A')' = A
6. Distributive Law:
o A ⋅ (B + C) = A ⋅ B + A ⋅ C
o A + (B ⋅ C) = (A + B) ⋅ (A + C)
11
3.4 Logic Circuits Design
Designing Combinational Logic Circuits:
1. Half Adder:
o Adds two single bits.
o Sum = A ⊕ B
o Carry = A ⋅ B
o Truth Table:
A B Sum Carry
0 0 0 0
0 1 1 0
1 0 1 0
1 1 0 1
2. Full Adder:
o Adds two bits and a carry input.
o Sum = A ⊕ B ⊕ Cin
o Carry = (A ⋅ B) + (B ⋅ Cin) + (A ⋅ Cin)
o Truth Table:
• Sequential logic circuits depend on both current input and previous outputs
(memory), unlike combinational logic circuits.
Types:
1. Flip-Flops:
o The basic building blocks of sequential circuits.
o Types:
▪ SR Flip-Flop: Set-Reset.
12
▪ D Flip-Flop: Data input.
▪ T Flip-Flop: Toggle.
▪ JK Flip-Flop: Universal.
2. Registers:
o Group of flip-flops used for storing multiple bits of data.
o Can be used for memory storage in processors.
3. Counters:
o Sequential circuits that count in binary.
o Types:
▪ Up Counter: Increments on each clock pulse.
▪ Down Counter: Decrements on each clock pulse.
▪ Up/Down Counter: Can increment or decrement based on control
input.
13
Got it! Let's focus on Unit 3: Number Systems and Codes for the NEP 2024 pattern. Here's
an in-depth explanation:
Decimal to Binary: To convert decimal to binary, divide the number by 2 and write down
the remainders. Read the remainders from bottom to top. Example:
101021010 = 10102 .
14
Binary to Octal: Group the binary digits into sets of 3 from right to left. Convert each set to
its octal equivalent. Example:
5681011102 → 568
Octal to Binary: Convert each octal digit to a 3-bit binary number. Example:
568 = 101 1102
Binary to Hexadecimal: Group the binary digits into sets of 4 bits from right to left. Convert
each group to its hexadecimal equivalent. Example:
1101102 → 1101 1010 → 𝐷 𝐴 → 𝐷𝐴16
Hexadecimal to Binary: Convert each hexadecimal digit to its 4-bit binary equivalent.
Example:
Example:
• 𝐷𝑒𝑐𝑖𝑚𝑎𝑙5 = 01012
• 𝐷𝑒𝑐𝑖𝑚𝑎𝑙12 = 00102
• Gray Code is a binary numeral system in which two successive values differ in only
one bit, used to prevent errors in digital communication.
Example:
• 𝐷𝑒𝑐𝑖𝑚𝑎𝑙0 = 00020002
• 𝐷𝑒𝑐𝑖𝑚𝑎𝑙1 = 00120012
• 𝐷𝑒𝑐𝑖𝑚𝑎𝑙2 = 01120112
• 𝐷𝑒𝑐𝑖𝑚𝑎𝑙3 = 01020102
• 𝐷𝑒𝑐𝑖𝑚𝑎𝑙4 = 11021102
15
3.6 Excess-3 Code
Definition:
Example:
• 𝐷𝑒𝑐𝑖𝑚𝑎𝑙0 = 0011200112
• 𝐷𝑒𝑐𝑖𝑚𝑎𝑙1 = 0100201002
• 𝐷𝑒𝑐𝑖𝑚𝑎𝑙2 = 0101201012
Example:
3.8 Unicode
Definition:
• Unicode is a character encoding standard that encompasses characters from all the
world’s writing systems, allowing the representation of text in many languages.
Example:
17
Unit 4: Operational Amplifier and
Electronic Instruments
Block Diagram:
+Vcc ─────────────┬────────────┐
│ │
[Inverting] [Non-Inverting]
│ │
└─┐ ┌─┘
│ │
+───┴────────┴───+
| Operational |
| Amplifier |
+────┬────┬──────+
│ │
(Output)
│
-Vcc
1. Ideal Op-Amp:
o Infinite Open Loop Gain (AOL).
o Infinite Input Impedance (no current enters the input terminals).
o Zero Output Impedance.
o Infinite Common-Mode Rejection Ratio (CMRR).
o Infinite Input Voltage Range.
o Zero Offset Voltage.
o Zero Output Noise.
2. Practical Op-Amp:
o Finite Open Loop Gain (AOL).
o High Input Impedance, but not infinite.
o Non-zero Output Impedance.
o Finite CMRR.
o Non-zero Offset Voltage.
o Output Noise due to internal transistors and resistors.
18
4.2 Op-Amp Applications
Inverting Amplifier:
• The inverting amplifier configuration inverts the input signal and amplifies it.
Formula:
𝑅𝑓
𝑉𝑜𝑢𝑡 = − ( )𝑉
𝑅𝑖𝑛 𝑖𝑛
𝑅𝑓
o 𝑮𝒂𝒊𝒏: , 𝑤ℎ𝑒𝑟𝑒 𝑅𝑓 𝑖𝑠 𝑡ℎ𝑒 𝑓𝑒𝑒𝑑𝑏𝑎𝑐𝑘 𝑟𝑒𝑠𝑖𝑠𝑡𝑜𝑟 𝑎𝑛𝑑 𝑅𝑖𝑛 𝑖𝑠 𝑡ℎ𝑒 𝑖𝑛𝑝𝑢𝑡 𝑟𝑒𝑠𝑖𝑠𝑡𝑜𝑟.
𝑅𝑖𝑛
• Characteristics:
o Inverts the input signal.
o The gain is determined by the ratio of feedback resistor to input resistor.
Non-Inverting Amplifier:
Formula:
Vout=(1+RfRin)VinV_{out} = \left( 1 + \frac{R_f}{R_{in}} \right) V_{in}
Block Diagram:
+-------------------+
| Voltage Input |
+-------------------+
|
V
+-----------------+
| Analog-to-Digital|
| Converter |
+-----------------+
|
V
19
+-----------------+
| Display |
+-----------------+
|
V
Output Display
• Key Functions:
o Voltage measurement (DC and AC).
o Current measurement (DC and AC).
o Resistance measurement.
o Continuity and Diode Testing.
• Features:
o Auto-ranging: Automatically adjusts the measurement range.
o Digital readout: Provides precise digital output.
Function Generator
Block Diagram:
+----------------------+
| Oscillator |
+----------------------+
|
V
+----------------------+
| Frequency Control |
+----------------------+
|
V
+----------------------+
| Amplitude Control |
+----------------------+
|
V
Output Waveform
• Types of Waveforms:
o Sine Wave: Used for testing audio equipment, etc.
o Square Wave: Used for digital circuit testing.
o Triangle Wave: Used for analog signal testing.
• Applications:
o Testing of audio circuits, filters, and oscillators.
o Used in educational setups and research labs.
20
A Digital Storage Oscilloscope (DSO) captures and displays electrical signals on a screen,
allowing the observation of time-varying voltages.
Block Diagram:
+------------------+
| Signal Input |
+------------------+
|
V
+--------------------+
| Analog Front-End |
+--------------------+
|
V
+------------------------+
| Analog-to-Digital |
| Converter |
+------------------------+
|
V
+--------------------+
| Display |
+--------------------+
|
V
Display Waveform
• Features:
o Waveform Display: Visual representation of the signal.
o Sampling Rate: Determines the precision of the waveform display.
o Triggering Mechanism: Allows stable capture of signals.
• Applications:
o Signal Analysis: Analyzing time-varying signals.
o Testing: Used to test electrical circuits in the lab.
o Debugging: Finding faults in circuit behavior.
DC Power Supply
A DC Power Supply provides a stable and adjustable DC output voltage to power electronic
circuits.
Block Diagram:
+---------------------+
| AC Power Input |
+---------------------+
|
V
+--------------------+
| Transformer/Rectifier|
+--------------------+
|
V
21
+---------------------+
| Voltage Regulator |
+---------------------+
|
V
+---------------------+
| DC Output Voltage |
+---------------------+
• Features:
o Adjustable Voltage: Allows precise control of the output voltage.
o Current Limiting: Prevents overload of the circuit.
o Multiple Outputs: May offer different voltage levels.
• Applications:
o Powering prototype circuits.
o Used in testing and development of electronic devices.
22
Unit 5: Sensors and Communication
Systems
A sensor is a device that detects physical input (such as motion, temperature, pressure, etc.)
and converts it into an electrical output that can be measured or processed.
Types of Sensors:
1. Active Sensors:
o Definition: Sensors that require an external power source to operate and
provide an output.
o Examples: LVDT (Linear Variable Differential Transformer), Thermocouple.
o Characteristics: They generate their own signal based on the measured
quantity.
2. Passive Sensors:
o Definition: Sensors that do not require an external power source and rely on
the energy received from the environment to operate.
o Examples: Strain gauge, RTD (Resistance Temperature Detector).
o Characteristics: The output is typically a change in electrical resistance,
voltage, or capacitance.
1. Sensitivity: The ability of the sensor to detect small changes in the measured
parameter.
2. Range: The minimum and maximum values that the sensor can measure.
3. Accuracy: The degree to which the measured value matches the true value.
4. Resolution: The smallest detectable change in the measured parameter.
5. Response Time: The time it takes for the sensor to respond to a change in the
measured quantity.
6. Reliability: The ability of the sensor to perform over time without failure.
7. Cost: The economic feasibility of the sensor for the specific application.
8. Power Consumption: The energy required by the sensor for operation.
23
5.3 Motion Sensors
LVDT (Linear Variable Differential Transformer):
24
• Working: When a material to which the strain gauge is attached deforms, the strain
gauge also deforms, changing its resistance. This change is measured and converted to
strain.
• Applications: Used in stress and strain measurements in materials, structural health
monitoring, load cells, and weighing systems.
5.6 Biosensors
• Definition: A biosensor is an analytical device that combines a biological component
(such as an enzyme, antibody, or microorganism) with a transducer to detect the
presence of specific biological molecules or compounds.
• Working: The biological element interacts with the target analyte and produces a
detectable signal (electrical, optical, etc.) which is processed by the transducer.
• Applications: Used in medical diagnostics, environmental monitoring, food quality
control, and biotechnology.
• Definition: IoT refers to the network of physical objects (sensors, devices, etc.)
embedded with software and other technologies to collect and exchange data over the
internet.
• Block Diagram of IoT-Based Data Acquisition System:
o Sensor: Detects the physical parameter.
o Signal Conditioning: Filters or amplifies the sensor signal for processing.
o Microcontroller/Processor: Processes the signal, converts it to a digital
format.
o Communication Module: Sends data to a cloud server or other device.
o Cloud Storage/Analysis: Data is stored, processed, and analyzed remotely.
o Output/Action: Based on the data, automated actions or alerts can be
triggered.
Applications:
25
Block Diagram of a Communication System:
Communication Media:
1. Wired Communication:
o Coaxial Cables: Used for broadband communication like cable TV.
o Optical Fibers: High-speed data transmission with minimal loss over long
distances.
2. Wireless Communication:
o Radio Waves: Used in AM/FM radio, TV broadcasts.
o Microwaves: Used in satellite communication and radar systems.
o Infrared: Short-range communication (e.g., remote controls, wireless
sensors).
Electromagnetic Spectrum:
1. Mobile Station (MS): The mobile phone that connects to the network.
2. Base Station Subsystem (BSS): Includes the Base Transceiver Station (BTS) that
communicates with the mobile and the Base Station Controller (BSC) that manages
multiple BTS.
3. Network Subsystem (NSS): Manages calls, mobility, and switching, including
components like the Mobile Switching Center (MSC).
4. Operation Support Subsystem (OSS): Responsible for monitoring and maintenance
of the GSM network.
• Voice and Data Communication: Supports both voice calls and data transmission
(SMS, internet).
• Roaming: Allows mobile users to use their phones in different countries.
• Security: Provides encryption for secure communication.
27