You are on page 1of 4

Format of Laboratory Report

Experiment Number 05

Date of Experiment 07/03/2024

Date of Submission 14/03/2024

Name of the student Shankhosuvro Ghosh

Roll Number 2104046

Section ETC-1

Aim of The Experiment :-


Introduction to digital signal processing kit (DSK 6713) and its compiler, code
composer studio. Generation of signals such as unit step function, unit impulse function,
unit ramp functions etc. using DSK 6713 kit.

Equipment and Software Required:-

The Equipment and Software required are as follows:


DSK 6713 kit, Code Composer Studio

Theory:

The DSK 6713 kit, also known as the TMS320C6713 DSP Starter Kit, is a development
board made by Texas Instruments (TI). It's designed to help engineers and developers
get started working with the TMS320C6713 DSP (Digital Signal Processor).

Overall, the DSK 6713 kit is a valuable tool for engineers and developers working on
projects that require a high-performance DSP with audio processing capabilities.

The unit step function, typically denoted by u(t), H(t), or Θ(t), is a function that models a
sudden jump from 0 to 1 at a specific point in time (usually t = 0)

Mathematically, it's defined as:

 u(t) = 0 for t < 0 (output is zero for negative arguments)


 u(t) = 1 for t >= 0 (output is one for non-negative arguments)

The unit ramp function, closely related to the unit step function you just described, is
another essential function in signal processing and various engineering fields.

Mathematically, it's defined as:

 f(t) = t for t >= 0 (output equals time for non-negative arguments)


 f(t) = 0 for t < 0 (output is zero for negative arguments)
The unit impulse function, also known as the Dirac delta function (δ(t)), is a
mathematical concept used in signal processing and system analysis. It's a bit more
abstract compared to the unit step and ramp functions, but it plays a crucial role in
understanding system behavior.

Code:- (or Block diagram)

To generate impulse response

#include <stdio.h>
int n,k;
int N=256;
int y[256];
void main ()
{
for (k=0;k<=256;k++)
{
y[k]=0;
}
Y[0]=1;
for(n=0;n<=N;n++)
{
printf(“%d\n”,y[n]);
}
}

To generate unit step response

#include <stdio.h>
int n,k;
int N=256;
int y[256];
void main ()
{
for (k=0;k<=256;k++)
{
y[k]=1;
}
Y[0]=0;
for(n=0;n<=N;n++)
{
printf(“%d\n”,y[n]);
}
}

To generate the sine signal

#include <stdio.h>
int n,k;
int N=256;
int y[256];
void main ()
{
for (k=0;k<=256;k++)
{
y[k]=0;
}
Y[0]=1;
for(n=0;n<=N;n++)
{
printf(“%d\n”,y[n]);
}
}
Results / Output/Graph:-

Impulse response output:

Unit step response output:


Unit ramp response output:

Discussion or Inference of the experiment

For the unit step function, the function signifies an abrupt transition from 0 to 1 at a
specific time sample. By downloading the program to the DSK 6713, the generated
digital signal could be observed and analyzed using the kit's functionalities.

Similar to the unit step function, code creates a digital representation of a spike with a
very large amplitude at a specific time sample, but with an overall area equal to 1. Due
to limitations of digital systems, the impulse wouldn't have infinite height, but the code
approximates this behavior.

In unit ramp function, The code involved generating a digital signal that increases
linearly with time. This involves incrementing a variable at each time sample to create a
ramping effect

Conclusion:- We have successfully implemented the code and generated the desired
results.

Faculty Signature

You might also like