Lab Report g10
Lab Report g10
ROURKELA
EMBEDDED SYSTEMS
LABORATORY
(EE3704)
GROUP NUMBER: 11
121EE0649-SHASHWAT RAJ
121EE0663-PRATEEK KUMAR DASH
121EE0664-VADDI KARTHIK
121EE0701-DEVANSHU SHAURYA
1
1) Motivation of the work and design procedures and components to
be used through the laboratory sessions.
Learning Proteus Environment for simulation of circuits with
microcontroller
Learning Filter Design & Analysis (FDA) toolbox of MATLAB
THEORY:
❖ PROTEUS SOFTWARE:
Proteus is a software tool primarily used for electronic design automation (EDA)
and microcontroller simulation. It is widely used by engineers, designers, and
students for designing and testing electronic circuits before they are physically
implemented. Here are some key aspects and advantages of Proteus software:
1) Electronic Circuit Design:
● Proteus allows users to design and simulate electronic circuits. Users can
draw schematics using a wide variety of components and connect them to
create a complete circuit.
2) Simulation of Microcontroller Circuits:
● One of the notable features of Proteus is its ability to simulate
microcontroller-based circuits. Users can design and simulate the behavior
of microcontroller circuits, such as those based on popular microcontroller
families like Arduino, PIC, and others.
3) Real-Time Simulation:
● Proteus provides real-time simulation capabilities, allowing users to see
how the designed circuits behave in real-world conditions. This is
particularly useful for testing and debugging circuits before they are
physically built.
4) Mixed-Signal Simulation:
● Proteus supports the simulation of mixed-signal circuits, which include
both analog and digital components. This is crucial for designing circuits
that involve a combination of both types of signals.
5) Virtual Instrumentation:
2
● The software includes a range of virtual instruments, such as oscilloscopes,
function generators, and multimeters, which help users analyze and
visualize the behavior of their circuits during simulation.
6) PCB Design:
● Proteus allows users to design printed circuit boards (PCBs) based on their
schematics. This integrated feature streamlines the transition from circuit
design to the creation of the physical PCB.
7) Library of Components:
● Proteus comes with an extensive library of electronic components,
including microcontrollers, integrated circuits, passive components, and
more. This library simplifies the process of building circuits by providing
a wide range of pre-modeled components.
8) User-Friendly Interface:
● The software features a user-friendly interface that makes it accessible to
both beginners and experienced engineers. It offers tools for drawing
schematics, configuring components, and running simulations in a
straightforward manner.
9) Time and Cost Savings:
● Using Proteus for simulation and testing helps in identifying and rectifying
potential issues in the design phase, reducing the need for multiple
iterations and physical prototypes. This can lead to significant time and
cost savings in the overall product development process.
3
filters find applications in audio and image processing, where accurate frequency
control is essential.
IIR Filters: Infinite Impulse Response (IIR) filters have an infinite-duration impulse
response, depending on past and future input samples. IIR filters can achieve similar
filtering characteristics as FIR filters with fewer parameters, leading to lower
computational complexity. Design methods for IIR filters include Butterworth,
Chebyshev, and elliptic designs. IIR filters are commonly used in real-time signal
processing applications and control systems where computational efficiency is
crucial. The choice between FIR and IIR filters depends on specific application
requirements and trade-offs in computational complexity and phase characteristics.
RIBBON BOX
COMPONENTS
USED IN DESIGN
VARIOUS MODES
FOR DESIGNING
4
FIG 2:- SOURCE CODE WORKSPACE
⮚ The Filter Design & Analysis (FDA):-
The Filter Design & Analysis (FDA) Toolbox in MATLAB is a tool for designing
and analyzing digital filters. It offers a user-friendly graphical interface for
interactive filter design, with functions for both finite impulse response (FIR) and
infinite impulse response (IIR) filters. Users can visualize and analyze filter
characteristics, compare different designs, and optimize filters. The toolbox supports
multirate filter design, implementation, and is suitable for educational purposes. It
provides a range of functions and graphical tools for various aspects of digital filter
design within the MATLAB environment.
When we type fdatool or filter designer at the MATLAB Command Prompt the
GUI displays with a default filter
5
Fig 3: GUI for filter design
The GUI has three main regions:
The Current Filter Information region
The Filter Specifications and
The Design panels
The upper half of the GUI displays information on filter specifications and
responses for the current filter. The current Filter Information region, in the upper
left, displays filter properties, namely the filter structure, order, number of sections
used and whether the filter is stable or not. It also provides access to the Filter
manager for working with multiple filters. The Filter Display region, in the upper
right, displays various filter responses, such as, magnitude response, group delay and
filter coefficients. The lower half of the GUI is the interactive portion of FDATool.
6
The Design Panel, in the lower half is where we define our filter specifications. It
controls what is displayed in the other two upper regions. Other panels can be
displayed in the lower half by using the sidebar buttons.
Fig 4:- Second order FIR low pass filter(Hanning window) and coefficients
Fig 5: Tenth order FIR low pass filter (Hanning window) and coefficients
7
Fig 6:- Tenth order IIR low pass filter design