Docsity

Signals and Systems Practical Lab, Exercises of Signals and Systems

Partial preview of the text

Download Signals and Systems Practical Lab and more Exercises Signals and Systems in PDF only on Docsity!

LAB PRACTICE

INTRODUCTION TO SIMULINK

EXERCISE#

(a)Create D Latch using Simulink library in MATLAB

(b) Design a block diagram of a system that inputs a step function and outputs the same step function. (c) Amplify sine wave using gain block

(f) Design a block diagram of a syste that simulates and compares the step response of three linear systems. System1 : (24.54)/(s^2 +4s+24.542) System2 : (245.42)/[(s+10)(s^2 +4s+24.542)] Inserted [1 + 14 + 64.542 + 245.42] in denominator. System3 : (73.626)/[(s^2 +4s+24.542)] Inserted [ 1 + 7 + 36.542 + 73.626] in denominator

(g) Explain the function of each block you have used? D-Latch block gived output 1 when it is set and 0 when it is reset. JK Flip-Flop is used gives output 1 when set, 0 when reset and toggles when both input are 1. Pulse Generator is used for clocking. It generates pulses in fixed duration of time. Constant is used for giving input(0 or 1) to latch or flip-flop. Manual Switch is DPST which selects from two inputs and gives one output. Scope is used to show graph of output. Display is used to show the output in numbers. Step generates Step Signal (1 when T>=0) Integrator is used to integrate the input applied to it. Derivative is used to differentiate the input applied to it. Mux is a Multiplexer which selected the contents of multiple outputs and give one output. Sine Wave is used to generate Sine Wave. Gain is used to amplify (or attenuate) the input signal. Transfer Function is used to find the Impulse,Step or Ramp Response of a system. (h) Also explain in which library or sub-library the bolcok is present? D-Latch is present in Simulink Extras. JK Flip-Flop is present in Simulink Extras. Pulse Generator is present in Sources. Constant is present in Sources. Manual Switch is present in Signal Routing. Scope is present in Sinks. Display is present in Sinks. Step is present in Sources. Integerator is present in Commonly Used Blocks. Derivative is present in Commonly Used Blocks. Mux is present in Commonly Used Blocks. Sine Wave is present in Sources. Gain is present in Commonly Used Blocks. Transfer Function is present in Continuous.