Question: A black box system is driven with a unit step input ( ref . Figure 2 . 1 . 5 , Palm ) , u
A black box system is driven with a unit step input ref Figure Palm ut ust The output response xt is measured and compared with the response with the two candidate models given in Table ref Table Palm Note that the data that is supplied to you comes from a stable system. This means that the system output will go to a constant final value when driven by a unit step input.
Using the curve fitting tool, cftool in Matlab and the following models, fit the output response data xout versus time supplied in BlackBoxStepResponseLabmat. Adjust the Fit Options until a best fit is obtained for each model. Additional tips for curve fitting are provided under Notes for cftool below. The following models equations given in Table and Fit Option constraints should be considered:
th Order Polynomial no constraints
nd Order Exponential with Sinusoid b and c must be positive
Table Reference Equations
yt
ytptptptptptp
ytaebtsinctde
For each model, determine the constant coefficients that give the best fit and report the values, along with the corresponding Rsquare and RMSE performance metrics, in a table. Discuss how the Rsquare and RMSE metrics compare to the observed fits.
In MATLAB, create an output vector yt for each model using the results of the cftool curve fits where the time vector is extended to s with a step size of s Plot yt vs t for the models on a single plot. On the same plot, plot the black box response output supplied in BlackBoxStepResponseFinalLabmat, which is the original data response extended to seconds. Note: Use appropriate labels on the plot and dashed lines if signals completely overlap so that you can clearly see all signals.
How you report all the different graphs is up to your group. Remember, you only have one page so you need to be succinct, yet clear.
Discuss the accuracy of the different curve fits, particularly when the time vector was extended to a longer time interval. Also discuss which model you feel most accurately represents the data for the black box system and why you believe that is the best model. In general, are polynomials good models for dynamic systems? Explain your answer.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
