PHY 175 · Modern Physics and Electronics

Advanced Electronics,
Power Systems & Emerging Technologies

Unit VI
Course Code   PHY175
Credits   3 – 0 – 0 – 3
Weightage   ATT 5 · CA 25 · MTT 20 · ETT 50

Course Outcome CO1, CO2, CO5 & CO6

Analyze advanced semiconductor devices (MOSFET, IGBT, SCR), power electronics circuits, renewable energy systems, emerging memory technologies, and Industry 4.0 applications including advanced IoT and embedded systems for real-world engineering solutions.

Table of Contents

IMOSFET — Structure & Operation3
IIMOSFET Characteristics & Applications5
IIIIGBT — Insulated Gate Bipolar Transistor7
IVSCR, DIAC & TRIAC9
VPower Electronics Converters11
VIRenewable Energy Systems13
VIISolar Power Systems & MPPT15
VIIIWind & Hybrid Energy Systems17
IXEmerging Memory Technologies19
XAdvanced Wireless — 6G & Beyond21
XIIndustry 4.0 & Smart Manufacturing23
XIIEmbedded Systems & Microcontrollers25
XIIIAdvanced IoT with ESP32 & Cloud27
Summary & Formula Sheet29
Exam Tips & Practice Questions30
Solutions32
References & CO Mapping34
How to use these notes: Each section contains theory, key formulas, circuit diagrams, comparison tables, and exam-focused tips. The summary sheet at the end is designed for quick revision before exams.

I. MOSFET — Structure & Operation

1.1 What is a MOSFET?

A MOSFET (Metal-Oxide-Semiconductor Field-Effect Transistor) is a voltage-controlled device used for switching and amplification. It is the most widely used transistor in digital ICs and power electronics.

1.2 Structure of n-channel MOSFET (Enhancement Type)

Gate (G) │ ┌────┴────┐ │ Metal │ ← Gate electrode (poly-Si or metal) ├─────────┤ │ SiO₂ │ ← Thin insulating oxide layer ├─────────┤ │ n+ │ p-substrate │ n+ │ │Source│ (Body) │Drain │ └──┬───┴───────┬───────┴──┬───┘ │ │ │ S B D │ │ └───────┐ ┌─────────┘ │ │ V_DS │

1.3 Regions of Operation

Region Condition Behavior
Cutoff\( V_{GS} < V_{th} \)No channel, \( I_D \approx 0 \)
Ohmic (Linear)\( V_{GS} > V_{th} \), \( V_{DS} \) smallActs as voltage-controlled resistor
Saturation\( V_{GS} > V_{th} \), \( V_{DS} > V_{GS} - V_{th} \)Constant current, used for amplification

1.4 Key Equations

Threshold Voltage Condition

\[ V_{GS} > V_{th} \quad \text{for channel formation} \]

Drain Current (Linear Region)

\[ I_D = k_n \left[ (V_{GS} - V_{th})V_{DS} - \frac{V_{DS}^2}{2} \right] \]

Drain Current (Saturation Region)

\[ I_D = \frac{k_n}{2}(V_{GS} - V_{th})^2 \]

Where \( k_n = \mu_n C_{ox} \frac{W}{L} \)

Transconductance

\[ g_m = \frac{\partial I_D}{\partial V_{GS}} = k_n(V_{GS} - V_{th}) \]

1.5 MOSFET Types

Type Channel V_th Operation
n-channel EnhancementnPositiveNormally OFF
n-channel DepletionnNegativeNormally ON
p-channel EnhancementpNegativeNormally OFF
p-channel DepletionpPositiveNormally ON

II. MOSFET Characteristics & Applications

2.1 Drain Characteristics (Output Characteristics)

Plot of \( I_D \) vs \( V_{DS} \) for different values of \( V_{GS} \). Shows three regions: cutoff, linear, and saturation.

I_D (mA) ▲ │ V_GS = 5V ───────────── │ V_GS = 4V ──────────── │ V_GS = 3V ────────── │ V_GS = 2V ──────── │ V_GS = 1V ───── │ └──────────────────────────► V_DS (V) Linear │ Saturation │ V_DS = V_GS - V_th

2.2 Transfer Characteristics

Plot of \( I_D \) vs \( V_{GS} \) at constant \( V_{DS} \) (in saturation).

I_D (mA) ▲ │ ╱ │ ╱ │ ╱ │ ╱ │ ╱ └──────────────────► V_GS (V) V_th I_D = (k/2)(V_GS - V_th)² → parabolic

2.3 MOSFET vs BJT Comparison

Feature MOSFET BJT
ControlVoltage-controlledCurrent-controlled
Input impedanceVery high (10¹⁰–10¹⁵ Ω)Low (kΩ)
Switching speedVery fastSlower
Power consumptionLow (no gate current)Higher (base current)
NoiseLowHigher
Thermal runawayImmunePossible
ApplicationsDigital ICs, power switchingAmplifiers, analog circuits

2.4 MOSFET as a Switch

StateConditionEquivalent
OFF\( V_{GS} < V_{th} \)Open switch
ON\( V_{GS} > V_{th} \) (in linear region)Closed switch (small \( R_{DS(on)} \))

2.5 Applications of MOSFET

ApplicationDescription
Digital ICsCMOS logic gates (billions of MOSFETs per chip)
Power switchingSMPS, motor drivers, inverters
AmplifiersRF and audio amplification
MemoryDRAM, Flash memory cells
Power managementVoltage regulators, DC-DC converters
AutomotiveEV motor controllers, battery management
Worked Example · MOSFET Drain Current

Problem: An n-channel MOSFET has \( k_n = 2 \) mA/V², \( V_{th} = 2 \) V. Find \( I_D \) when \( V_{GS} = 5 \) V in saturation.

Solution:

\[ I_D = \frac{k_n}{2}(V_{GS} - V_{th})^2 = \frac{2}{2}(5-2)^2 = 1 \times 9 = 9 \text{ mA} \]

III. IGBT — Insulated Gate Bipolar Transistor

3.1 What is an IGBT?

An IGBT combines the high input impedance of a MOSFET with the low conduction losses of a BJT. It is the dominant power switch in medium-to-high power applications (EVs, solar inverters, industrial motor drives).

3.2 Structure

Gate (G) │ ┌────┴────┐ │ Metal │ ├─────────┤ │ SiO₂ │ ← Insulating oxide ├─────────┤ │ n+ │ p-body │ n+ │ │Emitter│ │Collector └──┬───┴────┬────┴──┬──┘ │ │ │ E Body C │ │ │ └────────┘ │ (p+ substrate) │ IGBT = MOSFET input + BJT output

3.3 IGBT vs MOSFET vs BJT

Feature IGBT MOSFET BJT
Input impedanceVery highVery highLow
Conduction lossLowModerateLow
Switching speedModerateFastestSlow
Voltage rating600–6500 VUp to 1000 VUp to 1200 V
Current ratingHigh (100s A)ModerateHigh
ApplicationEV, solar, motor drivesSMPS, low voltageAmplifiers

3.4 IGBT Characteristics

3.5 Applications of IGBT

ApplicationDescription
Electric Vehicles (EVs)Motor controllers, regenerative braking
Solar InvertersDC to AC conversion for grid
Industrial Motor DrivesVariable frequency drives (VFDs)
UPS SystemsUninterruptible power supplies
Induction HeatingHigh-frequency heating
Rail TractionElectric train propulsion
Why IGBT for EVs?

IGBTs handle high voltages (400–800 V battery) and high currents (hundreds of amps) with low conduction losses. They are more efficient than MOSFETs at high power levels and faster than BJTs. Tesla, BYD, and other EV makers use IGBT modules in their motor controllers.

IV. SCR, DIAC & TRIAC

4.1 SCR (Silicon Controlled Rectifier)

A SCR is a four-layer (p-n-p-n) three-terminal device used for controlled rectification and power switching. Terminals: Anode (A), Cathode (K), Gate (G).

Anode (A) │ ┌────┴────┐ │ p-layer │ ├─────────┤ │ n-layer │← Gate (G) ├─────────┤ │ p-layer │ ├─────────┤ │ n-layer │ └────┬────┘ │ Cathode (K) Symbol: ──▶│── (like diode with gate)

SCR Operation

ConditionState
\( V_{AK} < 0 \)Reverse blocking — OFF
\( V_{AK} > 0 \), no gate pulseForward blocking — OFF
Gate pulse appliedConducting — ON (latches)
\( I_A < I_H \) (holding current)Turns OFF

Applications of SCR

4.2 DIAC (Diode for Alternating Current)

A DIAC is a bidirectional trigger device (two terminals) that conducts in both directions after breakdown voltage is reached. Used to trigger TRIACs.

Symbol: ────▶│◀──── (bidirectional, no gate) V-I: Conduction in both directions after ±V_BO

4.3 TRIAC (Triode for Alternating Current)

A TRIAC is a bidirectional triode thyristor — equivalent to two SCRs in antiparallel. It conducts in both directions when triggered, making it ideal for AC power control.

MT2 │ ┌────┴────┐ │ n or p │ ├──────────┤ │ Gate (G)│ ├──────────┤ │ p or n │ └────┬─────┘ │ MT1 Symbol: two triangles facing each other

Applications of TRIAC

4.4 Comparison of Power Devices

Device Type Direction Control Application
SCRUnidirectionalAC→DCGate pulseRectifiers, inverters
DIACBidirectionalACVoltage breakdownTrigger TRIAC
TRIACBidirectionalACGate pulseDimmers, motor control

V. Power Electronics Converters

5.1 Classification of Power Converters

Converter Input Output Application
RectifierACDCPower supply, battery charger
InverterDCACSolar inverter, UPS
Chopper (DC-DC)DCDCVoltage regulator, EV
CycloconverterACAC (different freq.)Motor drive
AC Voltage ControllerACAC (same freq.)Dimming, heating

5.2 DC-DC Converters (Choppers)

Type Output Voltage Circuit
Buck\( V_o < V_{in} \)Step-down
Boost\( V_o > V_{in} \)Step-up
Buck-Boost\( V_o \) can be < or > \( V_{in} \)Inverting
Ćuk\( V_o \) can be < or > \( V_{in} \)Non-inverting

Buck Converter Key Formula

\[ V_o = D \cdot V_{in} \] \[ D = \frac{t_{on}}{T} \quad \text{(duty cycle)} \]

Boost Converter Key Formula

\[ V_o = \frac{V_{in}}{1 - D} \]

5.3 Inverters

An inverter converts DC to AC. Types:

5.4 PWM (Pulse Width Modulation)

PWM controls the average output voltage by varying the duty cycle of a square wave.

\[ V_{avg} = D \cdot V_{max} = \frac{t_{on}}{T} \cdot V_{max} \]
Worked Example · Buck Converter

Problem: A buck converter has \( V_{in} = 24 \) V and duty cycle \( D = 0.4 \). Find \( V_o \).

Solution:

\[ V_o = D \cdot V_{in} = 0.4 \times 24 = 9.6 \text{ V} \]
Worked Example · Boost Converter

Problem: A boost converter has \( V_{in} = 12 \) V and \( D = 0.5 \). Find \( V_o \).

Solution:

\[ V_o = \frac{V_{in}}{1-D} = \frac{12}{1-0.5} = \frac{12}{0.5} = 24 \text{ V} \]

VI. Renewable Energy Systems

6.1 Why Renewable Energy?

Renewable energy comes from natural sources that replenish continuously (sunlight, wind, water, geothermal, biomass). It is essential for reducing carbon emissions and achieving energy sustainability.

6.2 Types of Renewable Energy

Source Technology Conversion Efficiency
SolarPV cells, CSPLight → Electricity15–22%
WindWind turbinesKinetic → Electricity35–45%
HydroDams, turbinesPotential → Electricity80–90%
GeothermalSteam turbinesHeat → Electricity10–20%
BiomassCombustion, biogasChemical → Heat → Electricity20–30%
Tidal/WaveTurbinesKinetic → Electricity20–30%

6.3 Semiconductor Materials in Renewable Energy

Material Application Key Property
Silicon (Si)Solar cells (90% market)Abundant, stable, 1.1 eV gap
GaAsHigh-efficiency solar cellsDirect gap, 1.42 eV
CdTeThin-film solarLow cost, 1.45 eV
CIGSThin-film solarHigh efficiency, flexible
SiCPower invertersHigh temperature, high voltage
GaNPower convertersHigh frequency, high efficiency
PerovskiteNext-gen solarLow cost, 20–25% efficiency

6.4 Power Electronics in Renewable Energy

Solar Panel ──→ DC-DC Converter ──→ Inverter ──→ Grid/Load (DC) (MPPT) (AC) │ Battery Storage Wind Turbine ──→ Rectifier ──→ DC Link ──→ Inverter ──→ Grid (AC) (AC→DC) (DC→AC)

6.5 Grid Integration Challenges

ChallengeSolution
Intermittency (solar/wind)Battery storage, grid balancing
Voltage fluctuationsPower electronics converters
Frequency regulationSmart inverters, droop control
HarmonicsFilters, multilevel inverters
Grid stabilityFACTS devices, energy storage

VII. Solar Power Systems & MPPT

7.1 Solar PV System Components

┌──────────┐ ┌──────────┐ ┌──────────┐ ┌──────────┐ │ Solar │───→│ Charge │───→│ Battery │───→│ Inverter │───→ AC Load │ Panels │ │Controller│ │ Bank │ │ (DC→AC) │ └──────────┘ └──────────┘ └──────────┘ └──────────┘ │ ▼ ┌──────────┐ │ MPPT │ ← Maximum Power Point Tracking │Controller│ └──────────┘

7.2 Maximum Power Point Tracking (MPPT)

MPPT is an algorithm used in solar charge controllers to extract maximum power from PV panels by continuously adjusting the operating voltage.

I-V and P-V Curves

I (A) P (W) ▲ ▲ │ I_sc ──────╮ │ ╱╲ │ │ │ ╱ ╲ │ │ MPP │ ╱ MPP ╲ │ ╰──╮ │ ╱ ╲ │ │ │╱ ╲ │ ╰──── V_oc └──────────────────► V └──────────────────► V V_mp MPP = Maximum Power Point (V_mp × I_mp)

MPPT Algorithms

Algorithm Principle Complexity
Perturb & Observe (P&O)Perturb voltage, observe power changeSimple
Incremental ConductanceCompare \( dP/dV = 0 \)Moderate
Constant VoltageFix \( V_{mp} \approx 0.76 V_{oc} \)Very simple
Fuzzy LogicRule-based trackingComplex
Neural NetworkLearning-basedVery complex

Perturb & Observe Algorithm

1. Measure V(k), I(k) → P(k) = V(k) × I(k)
2. Compare P(k) with P(k-1)
3. If P(k) > P(k-1):
     If V(k) > V(k-1): increase V
     Else: decrease V
   Else:
     If V(k) > V(k-1): decrease V
     Else: increase V
4. Repeat

7.3 Solar Panel Parameters

ParameterSymbolDescription
Open-circuit voltage\( V_{oc} \)Voltage at no load
Short-circuit current\( I_{sc} \)Current at shorted terminals
Maximum power voltage\( V_{mp} \)Voltage at MPP
Maximum power current\( I_{mp} \)Current at MPP
Fill FactorFF\( FF = \frac{V_{mp} I_{mp}}{V_{oc} I_{sc}} \)
Efficiency\( \eta \)\( \eta = \frac{V_{oc} I_{sc} FF}{P_{in}} \)
Worked Example · Solar Panel

Problem: A solar panel has \( V_{oc} = 22 \) V, \( I_{sc} = 5 \) A, \( V_{mp} = 18 \) V, \( I_{mp} = 4.5 \) A. Find the fill factor and maximum power.

Solution:

\[ FF = \frac{V_{mp} I_{mp}}{V_{oc} I_{sc}} = \frac{18 \times 4.5}{22 \times 5} = \frac{81}{110} = 0.736 \] \[ P_{max} = V_{mp} \times I_{mp} = 18 \times 4.5 = 81 \text{ W} \]

VIII. Wind & Hybrid Energy Systems

8.1 Wind Energy Basics

Wind turbines convert the kinetic energy of wind into electrical energy. The power available in wind is proportional to the cube of wind speed.

\[ P_{wind} = \frac{1}{2} \rho A v^3 \]

Where:

8.2 Betz Limit

The theoretical maximum efficiency of a wind turbine is 59.3% (Betz limit). Practical turbines achieve 35–45%.

\[ \eta_{max} = \frac{16}{27} \approx 0.593 \]

8.3 Wind Turbine Types

Type Axis Advantage Disadvantage
Horizontal Axis (HAWT)HorizontalHigh efficiencyDirectional
Vertical Axis (VAWT)VerticalOmnidirectionalLower efficiency

8.4 Hybrid Energy Systems

A hybrid system combines two or more energy sources (solar + wind, solar + diesel, etc.) to improve reliability and efficiency.

┌──────────┐ ┌──────────┐ │ Solar │ │ Wind │ │ Panels │ │ Turbine │ └────┬─────┘ └────┬─────┘ │ │ ▼ ▼ ┌─────────────────────────────────┐ │ Power Conditioning Unit │ │ (MPPT, Rectifier, DC-DC) │ └─────────────┬───────────────────┘ │ ▼ ┌─────────────────┐ │ Battery Bank │ └────────┬────────┘ │ ▼ ┌─────────────────┐ │ Inverter │──→ AC Load │ (DC → AC) │ └─────────────────┘

8.5 Hybrid System Benefits

BenefitDescription
ReliabilityCompensates for intermittency of individual sources
Higher efficiencyComplementary generation profiles (solar day, wind night)
Cost reductionReduced battery storage requirements
Grid independenceOff-grid operation possible
Lower emissionsReduced reliance on diesel generators
Worked Example · Wind Power

Problem: A wind turbine has a rotor diameter of 40 m. Calculate the wind power at 12 m/s. (\( \rho = 1.225 \) kg/m³)

Solution:

\[ A = \pi r^2 = \pi (20)^2 = 1256.6 \text{ m}^2 \] \[ P_{wind} = \frac{1}{2} \times 1.225 \times 1256.6 \times 12^3 \] \[ P_{wind} = 0.5 \times 1.225 \times 1256.6 \times 1728 \approx 1.33 \text{ MW} \]

Actual output (40% efficiency) ≈ 532 kW.

IX. Emerging Memory Technologies

9.1 Limitations of Conventional Memory

MemoryLimitation
DRAMRefresh needed, leakage, scaling limits
SRAMLarge cell size (6T), expensive
FlashLimited endurance (10⁴–10⁵ cycles), slow write
HDDMoving parts, slow, fragile

9.2 Emerging Memory Technologies

Technology Principle Speed Endurance Status
MRAMMagnetic tunnel junctionFast (ns)Very highCommercial
ReRAMResistance change in oxideFastHighEmerging
PCMPhase change (amorphous/crystalline)ModerateModerateEmerging
FeRAMFerroelectric polarizationFastHighNiche
3D XPointBulk resistance changeFastHighIntel Optane
NRAMCarbon nanotubeVery fastVery highResearch

9.3 MRAM (Magnetoresistive RAM)

MRAM uses magnetic tunnel junctions (MTJ) to store data via magnetic polarization rather than electric charge. It combines SRAM speed, Flash non-volatility, and DRAM density.

MTJ Structure: ┌─────────────────┐ │ Free Layer │ ← Magnetic orientation (0 or 1) ├─────────────────┤ │ Tunnel Barrier │ ← MgO (1–2 nm) ├─────────────────┤ │ Fixed Layer │ ← Fixed magnetic orientation └─────────────────┘ │ Bit Line Resistance: Low (parallel) = 0, High (antiparallel) = 1

9.4 ReRAM (Resistive RAM)

ReRAM stores data by changing the resistance of a metal oxide material (e.g., TiO₂, HfO₂) through the formation and rupture of conductive filaments.

9.5 Comparison of Emerging Memories

Feature MRAM ReRAM PCM Flash
Read speed2–20 ns10–100 ns50–200 ns25 µs–1 ms
Write speed5–50 ns10–100 ns100 ns–1 µs200 µs–2 ms
Endurance10¹⁵10⁶–10¹²10⁸–10⁹10⁴–10⁵
Non-volatileYesYesYesYes
ScalabilityGoodExcellentGoodLimited
CostHighLowModerateLow

X. Advanced Wireless — 6G & Beyond

10.1 Evolution Beyond 5G

Generation Year Key Feature Data Rate Latency
5G2020mmWave, massive MIMO10 Gbps1 ms
5G-Advanced2024AI-native, RedCap20 Gbps0.5 ms
6G2030THz, AI-native, holographic1 Tbps0.1 ms

10.2 6G Key Technologies

TechnologyDescription
Terahertz (THz) Communication0.1–10 THz band for ultra-high bandwidth
AI-Native NetworksAI/ML integrated at every layer
Reconfigurable Intelligent Surfaces (RIS)Smart surfaces that reflect signals intelligently
Holographic Communication3D holographic video calls
Digital TwinsReal-time virtual replicas of physical systems
Integrated Sensing & CommunicationSame signal for communication and radar
Non-Terrestrial NetworksSatellite + UAV + HAPS integration

10.3 Semiconductor Requirements for 6G

MaterialApplicationAdvantage
InP (Indium Phosphide)THz transceiversHigh frequency, high speed
GaNPower amplifiersHigh power, high frequency
SiGe BiCMOSIntegrated THz circuitsLow cost, high integration
GrapheneUltra-fast transistorsVery high mobility
GaAsRF front-endMature technology

10.4 6G Use Cases

The Road to 6G

While 5G is still being deployed globally, research on 6G has already begun. Key challenges include THz signal propagation (very short range), energy efficiency, and the need for new semiconductor materials with higher electron mobility (like graphene and III-V compounds).

XI. Industry 4.0 & Smart Manufacturing

11.1 What is Industry 4.0?

Industry 4.0 (Fourth Industrial Revolution) refers to the automation and data exchange in manufacturing technologies. It includes cyber-physical systems, IoT, cloud computing, and cognitive computing.

11.2 The Four Industrial Revolutions

Revolution Period Key Technology
Industry 1.01780sSteam power, mechanization
Industry 2.01870sElectricity, assembly line
Industry 3.01970sComputers, automation
Industry 4.02010sIoT, AI, cyber-physical systems

11.3 Key Technologies of Industry 4.0

TechnologyFunction
IoTConnect machines and sensors
AI/MLPredictive maintenance, quality control
Cloud ComputingData storage and processing
Big DataAnalyze large volumes of manufacturing data
RoboticsAutomated assembly and handling
3D PrintingAdditive manufacturing
AR/VRTraining, remote assistance
Digital TwinVirtual replica of physical systems
BlockchainSupply chain transparency

11.4 Smart Factory Architecture

┌─────────────────────────────────────────────────┐ │ Cloud Layer │ │ (Data storage, AI analytics, Digital Twin) │ └──────────────────────┬──────────────────────────┘ │ ┌──────────────────────┴──────────────────────────┐ │ Edge/Fog Layer │ │ (Local processing, real-time control) │ └──────────────────────┬──────────────────────────┘ │ ┌──────────────────────┴──────────────────────────┐ │ Field/Device Layer │ │ (Sensors, Actuators, PLCs, Robots) │ └─────────────────────────────────────────────────┘

11.5 Industry 4.0 Benefits

BenefitDescription
Increased productivityAutomation and optimization
Reduced downtimePredictive maintenance
Improved qualityReal-time monitoring and AI inspection
FlexibilityMass customization possible
Energy efficiencyOptimized resource usage
SafetyRemote monitoring in hazardous areas

XII. Embedded Systems & Microcontrollers

12.1 What is an Embedded System?

An embedded system is a computer system with a dedicated function within a larger system. It combines hardware and software to perform specific tasks, often with real-time constraints.

12.2 Embedded System Components

ComponentFunction
Microcontroller/ProcessorCPU, memory, peripherals
MemoryFlash (program), RAM (data), EEPROM (config)
I/O InterfacesGPIO, UART, SPI, I²C, ADC, PWM
SensorsTemperature, pressure, motion, light
ActuatorsMotors, relays, displays
Power SupplyBattery, regulator

12.3 Popular Microcontrollers

Microcontroller Core Clock RAM Flash Application
ATmega328P (Arduino Uno)8-bit AVR16 MHz2 KB32 KBHobby, education
ESP3232-bit dual-core240 MHz520 KB4 MBIoT, Wi-Fi/BLE
STM32F432-bit ARM Cortex-M4168 MHz192 KB1 MBIndustrial, motor control
PIC16F877A8-bit PIC20 MHz368 B8 KBIndustrial control
Raspberry Pi Pico32-bit ARM Cortex-M0+133 MHz264 KB2 MBEducation, prototyping

12.4 Communication Protocols

Protocol Wires Speed Distance Application
UART2 (TX, RX)Up to 1 MbpsShortSerial debug, GPS
SPI4 (MOSI, MISO, SCK, CS)Up to 100 MbpsShortSD card, display
I²C2 (SDA, SCL)100 kbps–3.4 MbpsShortSensors, EEPROM
CAN2 (CANH, CANL)1 Mbps40 mAutomotive
USB4480 Mbps–10 Gbps5 mPC peripherals

12.5 Real-Time Operating Systems (RTOS)

An RTOS is an operating system designed to handle real-time tasks with deterministic timing. Examples:

XIII. Advanced IoT with ESP32 & Cloud

13.1 ESP32 Features

FeatureSpecification
CoreDual-core Xtensa LX6
Clock240 MHz
Wi-Fi802.11 b/g/n
BluetoothBLE 4.2 + Classic
GPIO34 programmable pins
ADC18 channels, 12-bit
DAC2 channels, 8-bit
Touch sensors10 capacitive touch pins
Operating Voltage3.3 V

13.2 ESP32 vs Arduino Uno

Feature Arduino Uno ESP32
Processor8-bit AVR32-bit dual-core
Clock16 MHz240 MHz
RAM2 KB520 KB
Flash32 KB4 MB
Wi-FiNoYes
BluetoothNoYes
ADC10-bit12-bit
DACNoYes (2 ch)
Price~₹600~₹400

13.3 IoT Cloud Platforms Comparison

Platform Type Features Free Tier
ThingSpeakCloudMATLAB analytics, chartsYes (limited)
BlynkMobileDrag-drop app builderYes
FirebaseCloudReal-time databaseYes
AWS IoTCloudEnterprise, MQTTTrial
Adafruit IOCloudSimple dashboardsYes
Node-REDLocal/CloudFlow-based programmingYes

13.4 Complete ESP32 IoT Code Example

#include <WiFi.h>
#include <DHT.h>
#include <HTTPClient.h>

#define DHTPIN 4
#define DHTTYPE DHT22
#define LDR_PIN 34

DHT dht(DHTPIN, DHTTYPE);
const char* ssid = "YourWiFi";
const char* password = "YourPassword";
const char* serverName = "http://api.thingspeak.com/update";

String apiKey = "YOUR_API_KEY";

void setup() {
  Serial.begin(115200);
  dht.begin();
  WiFi.begin(ssid, password);

  while (WiFi.status() != WL_CONNECTED) {
    delay(500);
    Serial.print(".");
  }
  Serial.println("\nConnected!");
}

void loop() {
  float temp = dht.readTemperature();
  float hum = dht.readHumidity();
  int light = analogRead(LDR_PIN);

  if (WiFi.status() == WL_CONNECTED) {
    HTTPClient http;
    String url = String(serverName) + "?api_key=" + apiKey +
                 "&field1=" + String(temp) +
                 "&field2=" + String(hum) +
                 "&field3=" + String(light);

    http.begin(url);
    int code = http.GET();
    Serial.println("HTTP Code: " + String(code));
    http.end();
  }
  delay(30000);
}

13.5 IoT Security Best Practices

Summary & Formula Sheet

Advanced Semiconductor Devices

DeviceKey FeatureApplication
MOSFETVoltage-controlled, high ZinDigital ICs, power switching
IGBTMOSFET input + BJT outputEV, solar inverters
SCRLatching, unidirectionalControlled rectifiers
TRIACBidirectional AC switchDimmers, motor control
DIACBidirectional triggerTRIAC triggering

Power Electronics Converters

ConverterFormula
Buck (step-down)\( V_o = D \cdot V_{in} \)
Boost (step-up)\( V_o = V_{in} / (1-D) \)
Buck-Boost\( V_o = V_{in} \cdot D/(1-D) \)
PWM average\( V_{avg} = D \cdot V_{max} \)

Renewable Energy

ConceptFormula
Wind power\( P = \frac{1}{2}\rho A v^3 \)
Betz limit\( \eta_{max} = 16/27 \approx 0.593 \)
Solar cell efficiency\( \eta = V_{oc} I_{sc} FF / P_{in} \)
Fill factor\( FF = V_{mp} I_{mp} / (V_{oc} I_{sc}) \)

Emerging Memory Technologies

TypePrincipleSpeed
MRAMMagnetic tunnel junctionns
ReRAMResistance change10–100 ns
PCMPhase change50–200 ns
FeRAMFerroelectric polarizationns

Wireless Evolution

GenerationData RateLatencyKey Tech
4G LTE100 Mbps10 msOFDMA, MIMO
5G10 Gbps1 msmmWave, Massive MIMO
5G-Advanced20 Gbps0.5 msAI-native, RedCap
6G1 Tbps0.1 msTHz, RIS, Holographic

Microcontroller Comparison

MCUBitsClockWi-FiUse Case
Arduino Uno816 MHzNoEducation
ESP3232240 MHzYesIoT
STM32F432168 MHzNoIndustrial
RPi Pico32133 MHzNoPrototyping

Exam Tips & Practice Questions

Top 12 Exam Tips
  1. MOSFET is voltage-controlled; BJT is current-controlled — memorize this distinction.
  2. MOSFET has three regions: cutoff, linear (ohmic), and saturation.
  3. IGBT = MOSFET input + BJT output. Used in EVs and solar inverters.
  4. SCR is unidirectional; TRIAC is bidirectional. Both are latching devices.
  5. Buck: \( V_o = D V_{in} \); Boost: \( V_o = V_{in}/(1-D) \) — memorize both.
  6. PWM average voltage: \( V_{avg} = D \times V_{max} \).
  7. Wind power ∝ \( v^3 \) — doubling wind speed gives 8× power.
  8. Betz limit = 59.3% — theoretical maximum wind turbine efficiency.
  9. Solar Fill Factor \( FF = V_{mp} I_{mp} / (V_{oc} I_{sc}) \).
  10. MRAM uses magnetic tunnel junctions; ReRAM uses resistance change.
  11. ESP32 has Wi-Fi + Bluetooth + dual-core; Arduino Uno doesn't.
  12. 6G targets 1 Tbps with 0.1 ms latency using THz communication.

Practice Questions

Q1 · MOSFET Regions Easy

An n-channel MOSFET has \( V_{th} = 2 \) V, \( V_{GS} = 5 \) V, \( V_{DS} = 1 \) V. Which region is it operating in?

Q2 · MOSFET Drain Current Medium

An n-channel MOSFET has \( k_n = 4 \) mA/V², \( V_{th} = 1.5 \) V. Find \( I_D \) when \( V_{GS} = 4 \) V in saturation.

Q3 · IGBT vs MOSFET Medium

Compare IGBT, MOSFET, and BJT in terms of input impedance, conduction loss, switching speed, and applications.

Q4 · Buck Converter Easy

A buck converter has \( V_{in} = 36 \) V and duty cycle \( D = 0.35 \). Find \( V_o \).

Q5 · Boost Converter Medium

A boost converter has \( V_{in} = 5 \) V and \( D = 0.6 \). Find \( V_o \).

Q6 · Wind Power Medium

A wind turbine has a rotor diameter of 60 m. Calculate the available wind power at 10 m/s. (\( \rho = 1.225 \) kg/m³)

Q7 · Solar Cell Medium

A solar panel has \( V_{oc} = 24 \) V, \( I_{sc} = 6 \) A, \( V_{mp} = 20 \) V, \( I_{mp} = 5 \) A. Find the fill factor and maximum power.

Q8 · Emerging Memory Medium

Compare MRAM, ReRAM, and PCM in terms of speed, endurance, and maturity.

Q9 · 6G Technology Hard

Describe three key technologies for 6G and the semiconductor materials required for their implementation.

Q10 · Industry 4.0 Medium

Explain the four industrial revolutions. What are the key technologies of Industry 4.0?

Solutions to Practice Questions

Solution Q1 · MOSFET Regions

Given: \( V_{th} = 2 \) V, \( V_{GS} = 5 \) V, \( V_{DS} = 1 \) V.

Saturation condition: \( V_{DS} > V_{GS} - V_{th} \)

\[ V_{GS} - V_{th} = 5 - 2 = 3 \text{ V} \]

Since \( V_{DS} = 1 \) V < 3 V, the MOSFET is in the linear (ohmic) region.

Solution Q2 · MOSFET Drain Current
\[ I_D = \frac{k_n}{2}(V_{GS} - V_{th})^2 = \frac{4}{2}(4 - 1.5)^2 = 2 \times (2.5)^2 = 2 \times 6.25 = 12.5 \text{ mA} \]
Solution Q3 · IGBT vs MOSFET vs BJT
FeatureIGBTMOSFETBJT
Input impedanceVery highVery highLow
Conduction lossLowModerateLow
Switching speedModerateFastestSlow
ApplicationEV, solarSMPSAmplifiers
Solution Q4 · Buck Converter
\[ V_o = D \cdot V_{in} = 0.35 \times 36 = 12.6 \text{ V} \]
Solution Q5 · Boost Converter
\[ V_o = \frac{V_{in}}{1-D} = \frac{5}{1-0.6} = \frac{5}{0.4} = 12.5 \text{ V} \]
Solution Q6 · Wind Power
\[ A = \pi r^2 = \pi (30)^2 = 2827.4 \text{ m}^2 \] \[ P = \frac{1}{2} \rho A v^3 = 0.5 \times 1.225 \times 2827.4 \times 10^3 \] \[ P = 0.5 \times 1.225 \times 2827.4 \times 1000 \approx 1.73 \text{ MW} \]

At 40% efficiency: \( P_{actual} \approx 692 \) kW.

Solution Q7 · Solar Cell
\[ FF = \frac{V_{mp} I_{mp}}{V_{oc} I_{sc}} = \frac{20 \times 5}{24 \times 6} = \frac{100}{144} = 0.694 \] \[ P_{max} = V_{mp} \times I_{mp} = 20 \times 5 = 100 \text{ W} \]
Solution Q8 · Emerging Memory
FeatureMRAMReRAMPCM
Speed2–20 ns10–100 ns50–200 ns
Endurance10¹⁵10⁶–10¹²10⁸–10⁹
MaturityCommercialEmergingEmerging
Solution Q9 · 6G Technology

1. THz Communication: Uses 0.1–10 THz band. Requires InP and GaN for transceivers.

2. Reconfigurable Intelligent Surfaces (RIS): Smart surfaces that reflect signals. Requires advanced metamaterials.

3. AI-Native Networks: AI/ML integrated at every layer. Requires high-performance AI chips (SiGe, advanced CMOS).

Solution Q10 · Industry 4.0
RevolutionPeriodTechnology
1.01780sSteam power
2.01870sElectricity, assembly line
3.01970sComputers, automation
4.02010sIoT, AI, cyber-physical systems

Key technologies: IoT, AI/ML, Cloud, Big Data, Robotics, 3D Printing, AR/VR, Digital Twin, Blockchain.

References & CO Mapping

Textbooks

RefTitleAuthorPublisher
T-1Principles of ElectronicsV. K. Mehta and Rohit MehtaS. Chand & Company
R-1Electronic Devices and Circuit TheoryRobert L. Boylestad and Louis NashelskyPearson Education India
R-2Digital FundamentalsThomas L. FloydPearson Education India
R-3Power ElectronicsM. D. Singh and K. B. KhanchandaniTata McGraw-Hill
R-4Renewable Energy SystemsDavid BuchlaPearson

Relevant Websites

RefWeb AddressFeature
RW-1eia.gov/energyexplained/solarSolar cell basics
RW-2geeksforgeeks.org/computer-networksCommunication media
RW-3electronics-tutorials.wsPower electronics
RW-4tutorialspoint.comEmbedded systems

Key Takeaways

  1. MOSFET is a voltage-controlled device with very high input impedance.
  2. IGBT combines MOSFET input with BJT output — ideal for high-power applications.
  3. SCR is unidirectional; TRIAC is bidirectional; DIAC triggers TRIAC.
  4. Buck converter steps down voltage (\( V_o = D V_{in} \)); boost steps up (\( V_o = V_{in}/(1-D) \)).
  5. PWM controls average voltage by varying duty cycle.
  6. Wind power is proportional to the cube of wind speed (\( v^3 \)).
  7. Betz limit (59.3%) is the theoretical maximum wind turbine efficiency.
  8. MPPT extracts maximum power from solar panels by tracking the MPP.
  9. MRAM, ReRAM, and PCM are emerging non-volatile memory technologies.
  10. 6G targets 1 Tbps with 0.1 ms latency using THz communication.
  11. Industry 4.0 integrates IoT, AI, cloud, and cyber-physical systems.
  12. ESP32 is a powerful 32-bit MCU with Wi-Fi and Bluetooth for IoT applications.

CO Mapping

CODescriptionSections Covered
CO1Explain principles of solid-state physics and semiconductor materialsI, II, III, IV, IX
CO2Apply electrical laws to analyze semiconductor devicesI, II, III, IV, V
CO5Analyze sequential logic circuitsIX (memory)
CO6Demonstrate Arduino programming and sensor interfacingXII, XIII

End of Unit VI

Advanced Electronics · MOSFET · IGBT · Power Converters · Renewable Energy · Emerging Memory · 6G · Industry 4.0 · IoT

PHY 175 · Modern Physics and Electronics

Complete · Exam-Ready · Full Marks Guaranteed