Top Banner Ad

AEC101A — Unit 5: Electronic Systems and Emerging Applications

Table of Contents (21 sections)

AEC101A · Fundamentals of Electronics Engineering · Unit 5

Electronic Systems and Emerging Applications

Unit Scope & Exam Weightage: The syllabus unit is a systems unit: microcontroller and GPIO, ADC types, PWM, UART/SPI/I²C, sensor → conditioning → ADC → MCU signal chain, wireless links, power management and IoT/wearable/EV examples. The question bank has 7 clusters worth about 32 marks, but all seven are recorded under communication-interface topics and are actually amplitude-modulation / satellite-communication questions. They are solved here in full and then tied back to the wireless part of an IoT node; the core MCU/IoT topics have no direct clusters, so three predicted questions are provided and clearly labelled.


Front Page: Importance-Wise Topic Roadmap (2023–26 PYQs)

Priority Topic (Exact Syllabus) PYQs Asked Marks Weightage Tag
1 communication interfaces — UART, SPI, I2C (what they do, not detailed protocol) 6 (2023-24 ×3, 2025-26 ×3) 7m × 3 + 3.5m × 2 + 2m Recorded PYQs AM Link Maths
2 wireless communication basics — Bluetooth, Wi-Fi, Zigbee (concept) 1 (2025-26) 7m Recorded PYQ Satellite Link
3 Microcontroller overview — what is a microcontroller, GPIO pins 0 direct — Predicted
4 ADC- ADC types – digital ramp type & flash type ADC 0 direct — Predicted
5 PWM (concept only, not programming) 0 direct — Predicted
6 sensors and signal chain — sensor → conditioning (op-amp) → ADC → microcontroller 0 direct — Predicted
7 power management in electronics — LDO regulator, DC-DC converter (concept) 0 direct — Predicted
8 applications: IoT weather station 0 direct — Predicted
9 smart home sensor node 0 direct — Predicted
10 wearable health device 0 direct — Predicted
11 EV battery management system (BMS) electronics overview 0 direct — Predicted
12 Teaching-Learning Methodology / circuit simulations / short video demonstrations 0 direct — Context only

2-Hour Last-Night Survival Checklist:

  1. Learn the system chain: sensor → signal conditioning (op-amp) → ADC → microcontroller → communication link → cloud/actuator. Be able to name one real device at every block (PT100 → instrumentation amp → 12-bit ADC → MCU → Wi-Fi → dashboard).
  2. Interface comparison in one table: UART = 2 wires (TX/RX), asynchronous, no clock, modest speed; SPI = 4 wires (MOSI/MISO/SCK/CS), synchronous, fastest, chip-select addressing; I²C = 2 wires (SDA/SCL), synchronous, 7-bit addressing, multi-master. Write these before attempting any recorded AM question.
  3. ADC and PWM concepts: a digital-ramp (counter-type) ADC uses one comparator and a DAC ramp — slow but cheap; a flash ADC uses 2n−12^n-1 comparators in parallel — fastest but expensive and power-hungry. PWM average voltage =D VDD=D\,V_{DD}; duty cycle D=ton/TD=t_{on}/T.
  4. For the recorded AM clusters: s(t)=Ac[1+masin⁡ωmt]sin⁡ωcts(t)=A_c[1+m_a\sin\omega_m t]\sin\omega_c t, sideband amplitude =maAc/2=m_aA_c/2, sidebands at fc±fmf_c\pm f_m, bandwidth =2fm=2f_m, total power Pt=Pc(1+ma2/2)P_t=P_c(1+m_a^2/2) for one tone, antenna current It=Ic1+ma2/2I_t=I_c\sqrt{1+m_a^2/2}.
  5. Last 20 minutes: sketch a block diagram for an IoT weather station and label power choices: LDO for low-noise analogue rails (simple, lower efficiency), buck DC–DC for 5 V→3.3 V5\text{ V}\to3.3\text{ V} at higher current (higher efficiency, more ripple).

1. Microcontroller, GPIO and the Signal Chain

Microcontroller (MCU): a complete computer on one chip — CPU core, flash program memory, SRAM, timers, peripherals (ADC, UART, SPI, I²C, PWM) and general-purpose input/output (GPIO) pins. Unlike a microprocessor, it needs only a power source and a few passive parts to run an embedded application.

1.1 GPIO pins

Each GPIO can be configured as input (read a switch or sensor, with internal pull-up/pull-down) or output (source/sink current to drive an LED, transistor or relay driver). Key electrical limits: logic threshold (VIL,VIHV_{IL},V_{IH}), output drive (typically a few mA per pin) and absolute maximum voltage. A pin should never directly drive a motor or relay coil — use a MOSFET/BJT driver and a flyback diode.

1.2 Sensor-to-digital signal chain

flowchart LR
    S["Physical quantity<br/>temp / light / pressure"] --> T["Sensor<br/>resistance, voltage or charge"]
    T --> C["Conditioning<br/>bridge + op-amp gain / filter"]
    C --> A["ADC<br/>sample, quantise, code"]
    A --> M["Microcontroller<br/>compute / threshold / log"]
    M --> W["UART/SPI/I2C or Bluetooth/Wi-Fi/Zigbee"]
    W --> U["Display / cloud / actuator"]
  • The op-amp stage raises a millivolt-level sensor signal to the ADC input range and removes unwanted noise.
  • An ADC with nn bits over a reference VrefV_{ref} has one LSB =Vref/2n=V_{ref}/2^n; a 1212-bit ADC at 3.3 V3.3\text{ V} resolves about 0.8 mV0.8\text{ mV} per count.
  • Sampling must satisfy fs≥2fmaxf_s\geq2f_{max} (Nyquist) to avoid aliasing.

2. ADC Types, PWM and Power Management

2.1 Digital-ramp (counter-type) ADC

A counter drives a DAC; a comparator stops the count when the DAC output matches the input. Conversion time depends on the input magnitude: worst case 2n−12^n-1 clock periods. Hardware: one comparator, one DAC, one counter — low cost, slow.

2.2 Flash ADC

A resistor ladder creates 2n−12^n-1 reference levels; 2n−12^n-1 comparators compare the input to all levels simultaneously, and a priority encoder produces the nn-bit code. One clock cycle conversion — very fast — but hardware grows exponentially (255 comparators for 8 bits), with high power and input capacitance. Used in video and high-speed oscilloscopes; MCUs usually use successive-approximation ADCs as a middle ground.

Feature Digital ramp Flash
Comparators 1 2n−12^n-1
Conversion time Up to 2nTclk2^nT_{clk} About one clock
Cost / area Low High
Typical use Slow instruments, low-cost panels High-speed waveform capture

2.3 PWM concept

A fixed-frequency square wave switches between 00 and VDDV_{DD}; the duty cycle D=ton/TD=t_{on}/T sets the average value Vavg=D VDDV_{avg}=D\,V_{DD} and the RMS value Vrms=VDDDV_{rms}=V_{DD}\sqrt D. In motor control, MOSFETs switch at a high frequency so the motor inductance smooths the current; in LED dimming, the eye integrates the average light. No programming detail is needed for this unit — only the concept and the equations.

2.4 Power management

  • LDO (low-dropout linear regulator): series pass transistor in linear mode; needs only input/output capacitors; very low output noise; efficiency η≈Vout/Vin\eta\approx V_{out}/V_{in} and the difference is heat. Good for ≤100 mA\le100\text{ mA} analogue rails.
  • DC–DC converter (buck): switch + inductor + diode/MOSFET + feedback; Vout≈D VinV_{out}\approx D\,V_{in}; efficiency often 85-95%85\text{-}95\%; output has switching ripple that may need filtering before an ADC reference.

3. Communication Interfaces and Wireless Basics

Interface Wires Clock Addressing Speed / use
UART TX, RX (+GND) No (asynchronous, agreed baud) Point-to-point Debug console, GPS/Bluetooth modules
SPI MOSI, MISO, SCK, CS Yes (clock from master) Chip-select line per device Fast sensor/flash/SD card transfers
I²C SDA, SCL Yes 7-bit address on the bus Many slow sensors on two pins
Bluetooth 2.4 GHz radio — Pairing / addresses Short range (~10 m), low-power wearables
Wi-Fi 2.4/5 GHz radio — SSID/IP Higher bandwidth, internet-connected nodes
Zigbee 2.4 GHz radio — PAN addresses Mesh sensor networks, low power, low data rate

Why modulation is used in a wireless link: baseband sensor signals are low frequency; efficient antennas need sizes comparable to λ/4\lambda/4. Translating the information to a high-frequency carrier makes antennas practical, allows several users to share the spectrum (frequency division) and reduces noise and interference at low frequency.

Satellite communication (concept): an Earth station sends an uplink to a transponder on the satellite; the transponder amplifies, frequency-shifts and retransmits on a downlink to a receiving station. Uses: TV broadcasting, GPS/weather data, remote IoT backhaul in areas without terrestrial coverage. Draw: source → modulator → up-converter → high-power amplifier → dish → satellite transponder → dish → low-noise amplifier → demodulator → destination.


4. Product Applications

Product Chain used
IoT weather station Temperature/humidity/pressure sensors → I²C/SPI → MCU → Wi-Fi; solar/battery plus buck/LDO rails
Smart home sensor node PIR/IR/door sensor → GPIO interrupt → MCU → Zigbee/Bluetooth mesh; sleeps between events
Wearable health device ECG/PPG sensor → analogue front-end → ADC → MCU → Bluetooth to phone; LDO for low-noise analogue supply
EV battery management system Cell voltage taps → ADC multiplexer → MCU; MOSFET/relay switching and isolation; CAN/UART telemetry; shunt/DC–DC power management

Examiner Tip: For a systems question, never draw only a box labelled “microcontroller”. Label the direction of information flow, the analogue/digital boundary at the ADC, the power rails, and one concrete protocol on each link. That is what distinguishes a 7-mark systems answer from a generic block diagram.


5. Solved Recorded PYQs (verbatim wording)

These seven questions are present in the Unit-5 question-bank file. They are communication-link questions rather than MCU-programming questions; they are solved from first principles and connected to the wireless section of this unit.

Solved Q1 (2025-26, 7m)

Q: Derive an expression for Amplitude Modulated wave. An audio frequency signal 20sin⁡(2π×500t)20\sin(2\pi \times 500t) is used to amplitude modulate a carrier of 40sin⁡(2π×105t)40\sin(2\pi \times 10^5 t). Calculate (i) Modulation index (ii) Amplitude and frequency of each side band (iii) Bandwidth.

Solution:

  • Let m(t)=Amsin⁡ωmtm(t)=A_m\sin\omega_mt, c(t)=Acsin⁡ωctc(t)=A_c\sin\omega_ct. The AM wave is
s(t)=Ac[1+masin⁡ωmt]sin⁡ωct,ma=AmAc.s(t)=A_c\left[1+m_a\sin\omega_mt\right]\sin\omega_ct,\qquad m_a=\frac{A_m}{A_c}.

Expanding: s(t)=Acsin⁡ωct+maAc2cos⁡(ωc−ωm)t−maAc2cos⁡(ωc+ωm)ts(t)=A_c\sin\omega_ct+\frac{m_aA_c}{2}\cos(\omega_c-\omega_m)t-\frac{m_aA_c}{2}\cos(\omega_c+\omega_m)t — carrier plus two sidebands.

  • Given Am=20A_m=20, Ac=40A_c=40: ma=20/40=0.5m_a=20/40=\mathbf0.5.
  • Sideband amplitudes =maAc/2=0.5(40)/2=10 V=m_aA_c/2=0.5(40)/2=\mathbf{10\text{ V}} each.
  • fc=105 Hz=100 kHzf_c=10^5\text{ Hz}=100\text{ kHz}, fm=500 Hzf_m=500\text{ Hz}: lower sideband 99.5 kHz\mathbf{99.5\text{ kHz}}, upper sideband 100.5 kHz\mathbf{100.5\text{ kHz}}.
  • Bandwidth =2fm=1 kHz=2f_m=\mathbf{1\text{ kHz}}.

Solved Q2 (2024-25, 7m)

Q: Draw the block diagram of a communication system and explain the function of each block.

Solution: Information source (sensor/voice) → transducer (converts to electrical signal) → modulator (shifts baseband onto a carrier) → transmitter/power amplifier → antenna/channel (free space, cable, fibre) → receiving antenna → RF amplifier → demodulator (recovers baseband) → output transducer (speaker/display). In an IoT weather node, the sensor is the source, the MCU is the transducer/encoder, the 2.4 GHz radio is modulator/transmitter, free space is the channel, and the gateway's radio + software is the receiver/demodulator/output.

Solved Q3 (2025-26, 3.5m)

Q: Define Modulation and also list the need of modulation in communication.

Solution: Modulation is varying a carrier parameter (amplitude, frequency or phase) in proportion to the message. Needs: (1) practical antenna size, since L≈λ/4L\approx\lambda/4 shrinks as carrier frequency rises; (2) frequency translation for simultaneous users without mixing; (3) improved radiation efficiency at high frequency; (4) ability to use bandpass filtering to reject low-frequency noise and interference; (5) multiplexing of several channels in one medium.

Solved Q4 (2025-26, 3.5m)

Q: When an AM broadcast transmitter is 60% modulated then its antenna current is 10A. What will be the antenna current when the modulation depth is increased by 70%?

Solution: For a single tone, total power Pt=Pc(1+ma2/2)P_t=P_c(1+m_a^2/2) and antenna current It=Ic1+ma2/2I_t=I_c\sqrt{1+m_a^2/2}. At ma=0.6m_a=0.6, Ic=10/1+0.18=10/1.18=9.205 AI_c=10/\sqrt{1+0.18}=10/\sqrt{1.18}=9.205\text{ A}. At ma=0.7m_a=0.7, It=9.2051+0.245=9.205(1.1162)=10.27 AI_t=9.205\sqrt{1+0.245}=9.205(1.1162)=\mathbf{10.27\text{ A}}. The current rises because modulation adds sideband power without changing the carrier power.

Solved Q5 (2025-26, 2m)

Q: Define modulation index for AM wave. State the concept of over and under modulation.

Solution: ma=Am/Acm_a=A_m/A_c. For 0<ma<10<m_a<1 the envelope follows the message and can be recovered by a simple envelope detector (normal/under-modulation). At ma=1m_a=1 the envelope just touches zero (100% modulation, maximum useful power). For ma>1m_a>1 (overmodulation) the envelope crosses zero, the carrier cuts off and envelope detection distorts the recovered signal.

Solved Q6 (2025-26, 2m)

Q: A 320W carrier is simultaneously modulated by two audio waves with percentage modulation of 45 and 60 respectively. What is the sideband power radiated?

Solution: For several independent tones, Pt=Pc[1+m12+m222]P_t=P_c\left[1+\frac{m_1^2+m_2^2}{2}\right]. Pt=320[1+(0.452+0.602)/2]=320(1+0.28125)=410 WP_t=320[1+(0.45^2+0.60^2)/2]=320(1+0.28125)=410\text{ W}. Sideband power =410−320=90 W=410-320=\mathbf{90\text{ W}}, split as Pcm12/2=32.4 WP_c m_1^2/2=32.4\text{ W} and Pcm22/2=57.6 WP_c m_2^2/2=57.6\text{ W}.

Solved Q7 (2025-26, 7m)

Q: What is Wireless Communication? Explain the basic principles of Satellite Communication system with the help of block diagram. Also state the advantages and disadvantages of Wireless Communication.

Solution: Wireless communication transfers information through free space using electromagnetic waves, with no physical conductor. Satellite link: Earth station encoder/modulator → up-converter → high-power amplifier → dish antenna → satellite transponder (receives, amplifies, frequency-converts, retransmits) → receiving dish → low-noise amplifier → demodulator/decoder → user terminal. Advantages: no cable, wide coverage, mobility, rapid deployment and broadcast capability. Disadvantages: bandwidth is shared and limited, signal suffers path loss/fading/weather attenuation, interference and security concerns, line-of-sight and power constraints. In an IoT system these trade-offs decide between Wi-Fi, Zigbee, Bluetooth and satellite backhaul.


6. Predicted / Practice Questions (not verbatim PYQs)

  1. Predicted (7m): Draw the signal chain for an IoT weather station. Explain the role of the instrumentation amplifier, ADC resolution, MCU and one wireless interface; state why an LDO is preferred for the sensor analogue rail. Guide: sensor → bridge/op-amp → ADC (Vref/2nV_{ref}/2^n) → MCU → Wi-Fi/Zigbee → cloud; LDO gives low output noise and a clean ADC reference; buck gives higher efficiency for the digital rail.
  2. Predicted (7m): Compare digital-ramp and flash ADCs with respect to hardware, conversion time and applications, and explain why an MCU usually chooses neither for medium-speed sensor reading. Guide: 1 comparator/2nT2^nT versus 2n−12^n-1 comparators/one clock; successive approximation is the usual compromise.
  3. Predicted (7m): Explain PWM-based motor speed control using a power MOSFET and derive the average armature voltage at 25%, 50% and 75% duty for a 12 V12\text{ V} supply. Guide: Vavg=DVDDV_{avg}=DV_{DD} → 3 V3\text{ V}, 6 V6\text{ V}, 9 V9\text{ V}; motor inductance smooths current; flyback path protects the switch.

7. Self-Test Additions

  1. (2m) Name the wire count and clock source for UART, SPI and I²C.
  2. (2m) How many comparators does an 8-bit flash ADC need? (Ans: 255.)
  3. (7m) For a 3.3 V3.3\text{ V} reference and 10-bit ADC, find the LSB voltage. (Ans: 3.22 mV3.22\text{ mV}.)
  4. (7m) A 5 V5\text{ V} PWM supply drives an LED at 40% duty. Find the average voltage and comment on perceived brightness.