Answer Key - ET3491
Answer Key - ET3491
Answer Key
II Semester
Electrical and Electronics Engineering
EE3251 – ELECTRIC CIRCUIT ANALYSIS
(Regulations 2021)
Kirchhoff's First Law, also known as the Current Law (KCL), states that "The algebraic sum
of currents entering a junction (or node) in an electrical circuit is equal to the algebraic sum
of currents leaving the junction."
2. Illustrate a network diagram and label its branches, nodes and meshes. (2 Marks)
3. Identify the equivalent voltage source (Veq) for a circuit with a current source (I) =10A and
Source resistance (Rs) = 100Ω. (2 Marks)
Given data:
current source (I) =10A
Source resistance (Rs) = 100Ω
Veq = I*Rs =10*100 = 1000V.
4. Summarize the relation between Thevenin’s and Norton’s equivalent circuits. (2 Marks)
Both theorems aim to replace a complex circuit, as seen from two terminals (A and B), with a
simpler circuit that behaves identically to the original circuit with respect to any load connected
across those terminals.
Thevenin’s equivalent circuit:
In a simple RC circuit with a DC voltage source, the voltage across the capacitor (Vc) as it charges
follows this equation:
When t = τ,
Vc(τ) = Vdc * (1 - e^ (-1))
Vc(τ) = Vdc * (1 - 0.368) = 80*0.632 = 50.56V
7. Define anti-resonance. (2 Marks)
In an RLC circuit, anti-resonance occurs when the impedance reaches a maximum, typically when
the resonance of a parallel LC circuit causes current to be minimized.
8. Outline the various types of cascaded small signal tuned amplifiers. (2 Marks)
11.(a)
(i)
11.(b)(ii) Develop the ALP program to make all logical operations using 8051.
12. Illustrate in detail about embedded system design process with neat diagram.
(a)i) Requirement Analysis (1 Mark)
Define system functionality, performance, cost, and power constraints.
Identify hardware and software requirements.
Example: Specifications for a smart thermostat like temperature range, power efficiency,
and connectivity.
2. System Specification (1 Mark)
Create detailed documentation of the system architecture, including hardware-software
partitioning.
Specify components, interfaces, protocols, and performance metrics.
3. Hardware Design (1 Mark)
Component Selection: Choose microcontroller/microprocessor, sensors, actuators,
memory, and communication interfaces.
Schematic Design: Create circuit diagrams and decide on the PCB layout.
Prototype Development: Build hardware prototypes for testing.
Software Design
Application Programming: Write and debug the software to perform desired operations.
Middleware and Drivers: Develop or integrate device drivers and communication
protocols.
Real-Time Operating System (RTOS): If required, configure an RTOS for multitasking.
4. Integration (1 Mark)
Combine hardware and software components.
Ensure seamless communication between sensors, actuators, microcontroller, and user
interfaces.
5. Testing and Debugging (1 Mark)
Test the system for functionality, reliability, and compliance with requirements.
Debug issues related to timing, hardware-software integration, and performance.
6. Deployment (1 Mark)
Prepare the system for manufacturing or implementation in the target environment.
Ensure scalability, robustness, and maintainability.
7. Maintenance and Updates (1 Mark)
Provide updates for software improvements, bug fixes, or feature enhancements.
Ensure system reliability over its lifecycle.
Requirement Analysis
System Specification
Hardware Design
↓
Software Design
↓
Integration
Deployment
15. (a) Design high level language program for traffic light controller interface with Raspberry PI
(ii) processor.
Hardware Setup (2 Marks)
1. Components Required:
o 3 LEDs (Red, Yellow, Green).
o 3 Resistors (330Ω each).
o Raspberry Pi (any model with GPIO pins).
o Breadboard and jumper wires.
2. GPIO Pin Connections:
o Red LED → GPIO Pin 17.
o Yellow LED → GPIO Pin 27.
o Green LED → GPIO Pin 22.
Program (5 Marks)
import RPi.GPIO as GPIO
import time
def traffic_light_controller():
try:
while True:
# Red light ON
GPIO.output(RED_LED, GPIO.HIGH)
GPIO.output(YELLOW_LED, GPIO.LOW)
GPIO.output(GREEN_LED, GPIO.LOW)
print("RED Light ON")
time.sleep(5) # Red light duration
# Yellow light ON
GPIO.output(RED_LED, GPIO.LOW)
GPIO.output(YELLOW_LED, GPIO.HIGH)
GPIO.output(GREEN_LED, GPIO.LOW)
print("YELLOW Light ON")
time.sleep(2) # Yellow light duration
# Green light ON
GPIO.output(RED_LED, GPIO.LOW)
GPIO.output(YELLOW_LED, GPIO.LOW)
GPIO.output(GREEN_LED, GPIO.HIGH)
print("GREEN Light ON")
time.sleep(5) # Green light duration
except KeyboardInterrupt:
print("Program interrupted!")
finally:
# Clean up GPIO settings
GPIO.cleanup()
print("GPIO cleanup completed.")
ESP32
Arduino
Raspberry Pi (if more processing power is needed)
Actuators
Actuators perform actions in response to sensor data, such as irrigation, lighting, and pest control:
Wi-Fi: Used for local and cloud-based communication (e.g., ESP32, Raspberry Pi).
LoRaWAN: For long-range communication, especially in large agricultural fields.
Bluetooth: For short-range communication.
Zigbee: For low power, low-bandwidth communication.
Cloud Platform
Data collected by sensors is sent to the cloud for analysis, storage, and visualization. Common
platforms include:
AWS IoT
Google Cloud IoT
ThingSpeak (open-source platform)
Microsoft Azure IoT
User Interface
A mobile or web application provides real-time data visualization, remote control of actuators, and
alert notifications.
Block Diagram (2 Marks)
PART C-(1 x 15 = 15 Marks)
16.(a) Assuming the design of Model train controller using UML with neat block diagram
representation. Details how the machine should generate the address, correct message and
parameters.
Designing a Model Train Controller involves creating a system to manage the operations of
multiple trains on a track by controlling their speed, direction, and addresses. Below is an outline
of how to approach the design using UML and a block diagram:
Block Diagram (4 Marks)
Components
1. User Interface: Allows user to configure and monitor trains.
2. Controller Logic: Core system to handle train operations.
3. Address Generator: Generates unique addresses for trains.
4. Message Encoder/Decoder: Prepares and validates commands.
5. Communication Interface: Manages data transfer to trains.
6. Train Units: Physical or virtual trains on the system.
Assembler: (5 Marks)
Converts symbolic instructions and labels into machine code and symbolic addresses.
section .data
num1 db 5 ; First number
num2 db 3 ; Second number
result db 0 ; Store result
section .text
global _start
_start:
mov al, [num1] ; Load num1 into AL
add al, [num2] ; Add num2 to AL
mov [result], al ; Store the result in memory
; Exit program
mov eax, 60 ; syscall: exit
xor edi, edi ; status: 0
syscall
Linker : (5 Marks)
Resolves external symbols, adjusts addresses, and produces an executable.
section .text
global add_numbers
add_numbers:
mov al, [rdi] ; Load num1 into AL
add al, [rsi] ; Add num2 to AL
ret ; Return result in AL
Loader : (5 Marks)
Places the executable into memory, adjusts relative/absolute addresses, and starts execution.
section .text
global _start
_start:
mov rsi, msg ; Load address of msg
mov rdx, 13 ; Length of msg
mov rax, 1 ; syscall: write
mov rdi, 1 ; File descriptor: stdout
syscall
section .data
msg db "Hello, World!", 0x0A