Solved-Lab assignment 3 -Solution

$30.00 $19.00

Objective The main goal of this assignment is to become familiar with Cart systems, and nd system pa-rameters. Your responsibility Your responsibility is to answer all questions which have been asked throughout this assignment and submit all your answers in addition to Matlab codes and Simulink results. Notice: You have to rst nish Lab assignment…

You’ll get a: . zip file solution

 

 

Description

5/5 – (2 votes)
  • Objective

The main goal of this assignment is to become familiar with Cart systems, and nd system pa-rameters.

  • Your responsibility

Your responsibility is to answer all questions which have been asked throughout this assignment and submit all your answers in addition to Matlab codes and Simulink results. Notice: You have to rst nish Lab assignment 2.

  • Model Description

The equation described in lab 1 and lab 2, is the equation of the DC motor, on the cart systems. In order to derive the equations for the mechanical system, we need following set of parameters in addition to parameters given in the previous sessions:

kg = 3:7 to 1 be the internal gear ratio

r = 0:0064 m be the motor gear radius

mc = 0:526 Kg be the cart mass.

kth = 0:00153 rad=counts be the pendulum angle gain.

1

mp = 0:106 Kg be the pendulum mass.

kx =(use the gain you found in previous assignment) be the linear position gain.

  • Questions

4.1 Linearity of the system

  1. Consider two arbitrary input signals x1(t),x2(t). Find the response of the system to these two signals Hfx1(t)g,Hfx2(t)g.(voltage as input and velocity as the output). Plot an arbitrary linear combination of the response signals aHfx1(t)g + bHfx2(t)g. Now use the expression ax1(t)+bx2(t) as input signal, Plot the response of the system to this signal Hfax1(t)+bx2(t)g and compare it with previous plot. [15 marks]

Hint:In order to export the data from Simulink environment you can use To Works space block.

  1. As you know, sine waves are eigenfunction of an LTI system. Using a sine wave with ampli-tude 2 and frequency of 1 Hz, check whether or not the system is LTI. [5 marks]

  1. Suppose someone argue that the divergence from practical measurements and theoretical ones is due to a hidden feedback loop. Do you agree with that person? Justify your answer. [10 marks]

  1. Explain possible sources of non-linearity of the system. [10 marks]

4.2 System Identi cation

  1. Derive the open loop transfer function of the cart from mechanical and electrical rst prin-ciples.(consider voltage as the input and velocity as the output). [ You have to submit this part next week along with Lab assignment 2] [10 marks]

  1. Calculate the coe cients of these transfer function using given constants in Model description section. [10 marks]

  1. Find the step response of the system, de ning cart’s velocity as the output of the sys-tem.(voltage as input and velocity as the output). [10 marks]

Hint: Note that in order to achieve the velocity of the cart you need to di erentiate cart’s position in Simulink.

Hint: You can refer to lab manual to nd a way to lter out the noise in the output signal.

2

  1. Estimate the coe cients of the transfer function by measuring the time constant and gain of the step response. [10 marks]

Hint: The system with velocity as the output, is a rst order system.

  1. Using To workspace command, plot your estimated step response and actual step response of the system on one gure. [10 marks]

  1. Explain possible reasons for the di erences between aforementioned plots. [10 marks]

  1. Using frequencies w = [0:1; 1; 10; 100], plot the bode diagram of the system experimentally. [10 marks]

  1. Using your estimated parameters, de ne the transfer function in Matlab and plot bode diagram of the system and compare it with previous question. [10 marks]

  1. Find the step response of the system with de ning position as the output.(voltage as the input and position as the output). [10 marks]

  1. Using frequencies w = [0:1; 1; 10; 100], plot the bode diagram of the system experimen-tally.(voltage as the input and position as the output) [10 marks]

3