DSP FINAL
DSP FINAL
DSP FINAL
This document outlines the tasks for a Systems and Control Systems assignment.
The assignment focuses on exploring various concepts and applications related to
systems, including system classification, convolution, and GUI-based motor control.
I. Types of System
A. Definition:
Systems can be broadly classified into two categories based on their ability to
"remember" past inputs: memoryless systems and memory systems.
Determine whether or not each of the following systems are memoryless with input x(t)
and output y(t).
(i) y(t)=x(3t)
put t=1
y(t)=x(3t)
y(1)=x(3(1))
y(1)=x(3)
hence the system with memory as output y(t) depends on future input x(3).
(ii) y(t)=5x(t)
put t= 1
y(1)=5x(1)
hence the system is memoryless as output y(1) depends on present input x(1).
(iii) x(cost)
put t=0
y(0)=x(1)
hence the system with memory as output y(0) depends on future input x(1).
put t=0
y(0) = x2 (-17)
A. Linear System
Principle of Homogeneity
The principle of homogeneity says that a system which generates an output y(t) for
an input x(t) must produce an output ay(t) for an input ax(t).
Superposition Principle
Hence, we can say that a system is linear if the output of the system due to weighted
sum of inputs is equal to the weighted sum of outputs.
Filter circuits, communications channels, etc. are few examples of linear systems.
Non-Linear System
Generally, if the equation describing the system contains square or higher order
terms of input/output or product of input/output and its derivatives or a constant, the
system will be a non-linear system. Triangulation of GPS signals is an example of non-linear
system.
1. (t) = x2(t)
Solution:
Which is not equal to a1 y1(t) + a2 y2(t). Hence the system is said to be non linear.
2. y(t) = 5x(t) + 3
Solution:
y1(t) = 5x1(t) + 3
y2(t) = 5x2(t) + 3
3. y(t) = x2 (t)
Solution:
y1(t) = x1 2 (t)
y2(t) = x2 2 (t)
2
d y (t) 2
4. 2
+3 ty ( t )=t x (t)
dt
2
d y 1(t)
2
+3 ty 1 ( t )=t 2 x 1 (t ) … .(1)
dt
2
d y 2(t)
2
+3 ty 2 ( t )=t 2 x 2 ( t ) … .(2)
dt
Now, the linear combination of the equations (1) and (2) gives,
{ }{ }
2 2
d y 1( t ) d y 2 (t )
a 2
+ a 3 ty 1 ( t ) + b 2
+b 3 ty 2 ( t ) =at 2 x 1 ( t )+ b at 2 x 2 ( t )
dt dt
2
d
2
¿
dt
2
t ¿
Where, [𝑎𝑦1(𝑡) + 𝑏𝑦2(𝑡)] is the weighted sum of outputs and [𝑎𝑥1(𝑡) + 𝑏𝑥2(𝑡)] is the
weighted sum of inputs.
Hence, the equation (3) shows that the weighted sum of inputs to the given system
generates an output that is equal to the weighted sum of outputs to each of the individual inputs.
Therefore, the given system is a linear system
dy ( t )
5. 3 + 4 y ( t )=x 2 ( t )
dt
dy 1 ( t ) x
2
3 + 4 y 1 ( t )= ( t ) …. (1)
dt 1
dy 2 ( t ) x
2
3 + 4 y 2 ( t )= ( t ) … .(2)
dt 2
Then, the linear combination (i.e., homogeneity and superposition) of the equations (1) and (2)
can be written as,
{a3
dy 1 ( t )
dt }{
+a 4 y 1 ( t ) + b 3
dy 2 ( t )
dt
+b 4 y 2 ( t ) =} 2
ax 2
1
( t )+
2
b x2
2
(t )
d ax ( ) b x
3 [ ay 1 ( t )+ by 2 ( t ) ] + 4 [ ay 1 ( t )+ by 2 ( t ) ] = t + (t)
dt 1 2
Where, [ay1(t)+by2(t)] is the weighted sum of outputs but [ax21(t)+bx22(t)] is not the
weighted sum of inputs. Here, the principle of superposition is not satisfied. Therefore, the given
system is a non-linear system.
II. CONVOLUTION
A. Definition:
Step-by-step
n = 0: y(0) = (1 x 1) = 1
n = 1: y(1) = (1 x 1) + (2 x 1) = 3
n = 2: y(2) = (1 x 1) + (2 x 1) + (3 x 1) = 6
n = 3: y(3) = (2 x 1) + (3 x 1) + (4 x 1) = 9
n = 4: y(4) = (3 x 1) + (4 x 1) + (5 x 1) = 12
n = 5: y(5) = (4 x 1) + (5 x 1) = 9
n = 6: y(6) = (5 x 1) = 5
Step-by-step
n = 0: y(0) = (1 x 1) = 1
n = 1: y(1) = (1 x -1) + (2 x 1) = 1
n = 2: y(2) = (1 x 1) + (2 x -1) + (3 x 1) = 2
n = 3: y(3) = (2 x 1) + (3 x -1) + (2 x 1) = 1
n = 4: y(4) = (3 x 1) + (2 x -1) + (1 x 1) = 2
n = 5: y(5) = (2 x 1) + (1 x -1) = 1
n = 6: y(6) = (1 x 1) = 1
h(n) = {1, 2, 1}
x(n) = {2, 3, 1}
y(n) = ?
Step-by-Step:
n = 0: y(0) = 2 x 1 = 2
n = 1: y(1) = (2 x 2) + (3 x 1) = 7
n = 2: y(2) = (2 x 1) + (3 x 2) + (1 x 1) = 9
n = 3: y(3) = (3 x 1) + (1 x 2) = 5
n = 4: y(4) = 1 x 1 = 1
Example 4:
h(n) = {1, 1, 1, 1}
x(n) = {2, 3, 1, 0, 1}
y(n) = ?
Step-by-Step:
n = 0: y(0) = 2 x 1 = 2
n = 1: y(1) = (2 x 1) + (3 x 1) = 5
n = 2: y(2) = (2 x 1) + (3 x 1) + (1 x 1) = 6
n = 3: y(3) = (3 x 1) + (1 x 1) + (0 x 1) = 4
n = 4: y(4) = (1 x 1) + (0 x 1) + (1 x 1) = 2
n = 5: y(5) = 0 x 1 + 1 x 1 = 1
n = 6: y(6) = 1 x 1 = 1
Step-by-Step:
n = 0: y(0) = (2 x 1/3) = 2/3
n = 1: y(1) = (2 x 1/3) + (4 x 1/3) = 2
n = 2: y(2) = (4 x 1/3) + (6 x 1/3) + (8 x 1/3) = 6
n = 3: y(3) = (6 x 1/3) + (8 x 1/3) + (10 x 1/3) = 8
n = 4: y(4) = (8 x 1/3) + (10 x 1/3) = 6
Expanded Motor Type Support: Adding support for a wider range of motor types (e.g.,
AC motors, brushless DC motors, etc.) would enhance the suite's applicability across various
applications and industries.
Comprehensive User Documentation: Providing detailed user manuals, tutorials, and
online resources would help users fully utilize the tool's capabilities, especially those new to
motor control.
Enhanced Cross-Platform Compatibility: Extending support to include more
operating systems (e.g., Linux, macOS) would make the tool accessible to a broader user
base.
Real-time Data Visualization: Integrating real-time data visualization tools would allow
users to monitor motor performance data in real-time, enabling instant analysis and
troubleshooting.
IV. REFERENCE
Signals and Systems: Static and Dynamic System
https://www.tutorialspoint.com/signals-and-systems-static-and-dynamic-system
Workbook, E. (2019, June 22). Memory and Memoryless Systems - Theory | Solved Examples -
ElectricalWorkbook. ElectricalWorkbook. https://electricalworkbook.com/memory-and-
memoryless-systems-theory-solvedexamples/