Barkhausen Criteria RC Phase Shift Wien Bridge Hartley & Colpitts
1. What is an Oscillator?
An oscillator is an electronic circuit that produces a continuous, repetitive alternating waveform without any external input signal. It converts DC power into AC power at a desired frequency.
DC Supply β [ OSCILLATOR ] β AC Output (No input signal required)
Oscillator = Amplifier + Positive Feedback
Applications: Signal generators, radio transmitters, clocks, microprocessors, tone generators.
2. Barkhausen Criteria (Most Important)
For sustained oscillations, two conditions must be satisfied:
βββββββββββββββββββββββββββββββββββββββ
β Voltage 5V βββββββββββββββββββΊ Logic 1 (HIGH) β
β Voltage 0V βββββββββββββββββββΊ Logic 0 (LOW) β
βββββββββββββββββββββββββββββββββββββββ
These two states are represented in Boolean Algebra by binary digits "1" and "0".
2. Basic Logic Gates
Gate
Symbol
Boolean Expression
Output HIGH when
AND
&
Y = A Β· B
ALL inputs are HIGH
OR
β₯1
Y = A + B
ANY input is HIGH
NOT
β
Y = Δ
Input is LOW (inverts)
NAND
&β
Y = (AΒ·B)Μ
NOT all inputs HIGH
NOR
β₯1β
Y = (A+B)Μ
ALL inputs are LOW
XOR
=1
Y = AβB
Inputs are DIFFERENT
XNOR
=1β
Y = AβBΜ
Inputs are SAME
3. NOR Gate Truth Table (Important for Exam)
A
B
Output (A NOR B)
0
0
1
0
1
0
1
0
0
1
1
0
NOR gate output is HIGH only when ALL inputs are LOW.
4. Boolean Algebra Laws
Identity Law: 1Β·A = A | 0 + A = A Null Law: 0Β·A = 0 | 1 + A = 1 Idempotent Law: AΒ·A = A | A + A = A Commutative Law: AΒ·B = BΒ·A | A + B = B + A Associative Law: (AB)C = A(BC) | (A+B)+C = A+(B+C) Distributive Law: A(B+C) = AB + AC | A + BC = (A+B)(A+C) Absorption Law: A(A+B) = A | A + AB = A Inverse Law: AΒ·Δ = 0 | A + Δ = 1 Double Complement: (Δ)Μ = A
5. De Morgan's Theorems (Very Important)
π₯ (A Β· B)Μ = Δ + BΜ
π₯ (A + B)Μ = Δ Β· BΜ
De Morgan's laws are used to convert NAND/NOR gates into other gates.
Universal Gates:
β’ NAND gate = AND + NOT β Can make ANY gate using only NAND
β’ NOR gate = OR + NOT β Can make ANY gate using only NOR
6. Fan-in & Fan-out
π Fan-in: Number of inputs a logic gate can have.
π Fan-out: Number of gates that can be connected to the output of a gate.
π Number of entries = 2n
Where n = number of inputs.
Example: 3-input NAND gate β 23 = 8 entries
Inputs (n)
Truth Table Entries (2βΏ)
1
2
2
4
3
8
4
16
8. Flip-flops & FPGAs
Flip-flops are basic memory elements. Types: D, JK, SR, T.
π D Flip-flop: Stores data (D = Data)
π JK Flip-flop: Universal flip-flop (can toggle)
π SR Flip-flop: Set-Reset (invalid when S=R=1)
π T Flip-flop: Toggle flip-flop
FPGAs (Field Programmable Gate Arrays)
β’ Contain configurable logic blocks (CLBs)
β’ Most commonly use D Flip-flops for storage
β’ Can be reprogrammed multiple times
9. Cyclic Redundancy Check (CRC)
CRC is an error-detecting code used in digital networks.
CRC generator is based on:Modulo-2 Division
This process involves dividing input data by a fixed polynomial using binary arithmetic (XOR operations).
10. Binary Coded Decimal (BCD)
BCD represents each decimal digit (0-9) with 4 bits.
Bits required to store one BCD digit = 4 bits
Also called 8421 code.
555 Timer Astable Duty Cycle Frequency Formula Binary to Decimal
1. Introduction to 555 Timer
The 555 timer IC is one of the most popular and versatile integrated circuits ever made. It is used in almost every electronic circuit today for generating accurate timing pulses.
π Charging Time (HIGH output): TON = 0.69 Γ (R1 + R2) Γ C π Discharging Time (LOW output): TOFF = 0.69 Γ R2 Γ C π Total Time Period: T = TON + TOFF = 0.69 Γ (R1 + 2R2) Γ C π Frequency: f = 1 / T = 1.44 / ((R1 + 2R2) Γ C)
4. Duty Cycle
Duty cycle is the percentage of time the output is HIGH in one complete cycle.
For 50% Duty Cycle: Set R1 = R2
Then D% = (R + R) / (R + 2R) = 2R/3R = 66.7%? Wait! Actually:
Correction: For 555 timer, exact 50% duty cycle is achieved by adding a diode across R2 or using a different configuration.
But the exam formula often uses: D = R2 / (R1 + R2) for simplified calculations.
Exam Tip: FPGAs most commonly use D Flip-flops for data storage.
3. Flip-flop Truth Tables
π D Flip-flop
D
Clock
Qn+1
0
β
0
1
β
1
π JK Flip-flop
J
K
Qn+1
0
0
Qn (No change)
0
1
0 (Reset)
1
0
1 (Set)
1
1
QΜ n (Toggle)
4. FPGA (Field Programmable Gate Array)
FPGA is an integrated circuit that can be programmed after manufacturing to implement any digital logic function.
Architecture of FPGA:
β’ Configurable Logic Blocks (CLBs) β contain LUTs and flip-flops
β’ Programmable Interconnects β routing between blocks
β’ I/O Blocks β interface with external devices
Key Points:
β’ Most common flip-flop in FPGA: D Flip-flop
β’ Can be reprogrammed multiple times
β’ Used in: DSP, cryptography, embedded systems, prototyping
CRC is an error-detecting code commonly used in digital networks and storage devices.
π How CRC works:
1. Data is treated as a binary number
2. Divided by a fixed divisor (generator polynomial)
3. Remainder is appended as CRC code
4. Receiver performs same division and checks remainder
Exam Point:
CRC generator is based on Modulo-2 Division (using XOR operations).
Data (k bits) β [CRC Generator] β Data + CRC (n bits)
β
Uses XOR (Modulo-2) operations
6. Measurement & Instrumentation
Measurement is the comparison between an unknown quantity and a predefined standard.
Key Terms:
β’ Accuracy: Closeness to true value
β’ Precision: Reproducibility of measurement
β’ Calibration: Adjusting instrument to standard
β’ Error: Deviation from true value
7. Wheatstone Bridge
The Wheatstone bridge is used for precise measurement of unknown resistance.
βββββββ
β G β (Galvanometer)
ββββ¬βββ
P βββΌβββββΌββ Q
β β β β
βββββ΄βββββ΄ββββ
β β
R S
β β
ββββββ¬βββββ
β
Battery
π Balance Condition: P/Q = R/S
or P Γ S = Q Γ R
Transmission Line ACSR Conductor Skin Effect Corona Control System
1. Introduction to Power System
An electric power system is a network of electrical components deployed to supply, transfer, and use electric power.
Main Components:
β’ Generation (Power Plants)
β’ Transmission (High Voltage lines)
β’ Distribution (Low Voltage to consumers)
β’ Utilization (Loads)
The wire placed on the top of a transmission line is:Ground wire (Shield wire / Earth wire)
Purpose of Ground Wire:
Connected to steel tower body (which is earthed)
Shields phases from lightning strikes
Lightning hits ground wire instead of phase conductors
Prevents overvoltage issues
βοΈ Lightning
β
β‘ Ground Wire (Top) β Protects phases below
βββ Phase A βββ
βββ Phase B βββ
βββ Phase C βββ
4. Transmission Line Parameters
Transmission line has four main parameters uniformly distributed along the line:
π Resistance (R) β Opposes current flow
π Inductance (L) β Due to magnetic field
π Capacitance (C) β Due to electric field
π Shunt Conductance (G) β Due to leakage current
Transmission Line Model: Z = R + jΟL | Y = G + jΟC
Skin effect is the tendency of alternating current (AC) to become distributed within a conductor such that the current density is largest near the surface and decreases with depth.
Conductor Cross-section:
βββββββββββββββββββ
β βββββββββββββββ β β High current density (surface)
β βββββββββββββ β
β βββββββββββββ β
β βββββββββββββ β
β βββββββββββββ β β Low current density (center)
βββββββββββββββββββ
Effects of Skin Effect:
β’ Increases effective resistance
β’ More pronounced at HIGH FREQUENCY
β’ Stranded conductors help reduce skin effect
7. Corona Effect
Corona is the ionization of air around conductors at high voltage, causing hissing noise and power loss.
π Factors Affecting Corona Loss:
β’ Larger conductor size β Lower corona loss
β’ Higher voltage β Higher corona loss
β’ Smooth surface β Lower corona loss
β’ Greater spacing β Lower corona loss
β’ Higher altitude β Higher corona loss (lower air density)
β’ Humid/rainy weather β Higher corona loss
π Effects of Corona:
β’ Energy loss (power wastage)
β’ Audible noise (hissing/crackling)
β’ Radio interference
β’ Ozone formation (conductor corrosion)
π Mitigation of Corona Loss:
β’ Use of larger conductors
β’ Use bundled conductors (multiple smaller conductors in parallel)
β’ Increase conductor spacing
β’ Ensure smooth/clean conductor surfaces
8. Ferranti Effect
Ferranti effect is a voltage rise at the receiving end of a long transmission line under light load or no-load conditions.
Causes:
β’ Capacitance of line becomes significant at low loads
β’ Charging current produces voltage rise due to line inductance and capacitance
Mitigation: Use of shunt reactors at the receiving end to compensate for reactive power generated by line capacitance.
9. Distribution System
Electrical system between substation and customers consists of:
π Feeder: Connects substation to distribution area. No tapping. Current remains same. Design based on current carrying capacity.
π Distributor: Conductor from which tappings are taken for consumers. Design based on voltage drop.
π Service Main: Small cable connecting distributor to consumer's terminals.
π Distribution System Configurations:
β’ Radial: Low reliability, low cost
β’ Ring Main: High reliability, higher cost
β’ Interconnected: Most reliable, highest cost
Distribution voltage in Qatar for residential:230/400 V Voltage drop limit: Should not exceed 5%
10. Earthing
Earthing is the process of transferring electrical energy directly to the earth through a low resistance wire.
For effective earthing, which mixture is preferred?
Answer: Coal-Salt mixture
β’ Coal (carbon) β good conductor, minimizes earth resistance
β’ Salt β electrolyte to form conductivity with humidity
Earthing Electrode: Rod, pipe, plate, or bundle of conductors inserted in ground vertically or horizontally.
11. Bus Schemes in Substations
Component
Symbol/Representation
Isolator
A
Current Transformer (CT)
B
Circuit Breaker
C
Isolator
D
12. Load Bus & Generator Bus
π Load Bus (PQ Bus): Net real and reactive power demands are specified.
π Generator Bus (PV Bus): Real power generation and voltage magnitude are specified.
π Slack Bus (Swing Bus): Only one bus. Supplies slack between scheduled generation and sum of loads + losses.
13. Control System
A control system manages, commands, directs, or regulates the behavior of other devices to achieve desired results.
π Open Loop Control System
Control action is independent of output. No feedback.
Example: Washing machine, toaster
π Closed Loop Control System
Output has effect on input quantity. Uses feedback.
Example: Air conditioner, temperature control