[동역학제어실험]5주차-Step Response
- 최초 등록일
- 2021.11.17
- 최종 저작일
- 2020.11
- 8페이지/
MS 워드
- 가격 2,500원
![할인쿠폰받기](/images/v4/document/ico_det_coupon.gif)
소개글
동역학 제어 실험 "Step Response"의 보고서를 워드파일로 작성하였습니다. Matlab 라이브 스크립트로 작성한 코드도 워드파일에 같이 있습니다. 고찰은 참고만 하시길 바랍니다.
목차
I. <MATLAB CODE>
1. Step Reponse
2. Frequency Response
II. <실험값>
1. Step Response
2. Frequency Response
III. 고찰
1. Step Response 실험
2. Frequency Response 실험
본문내용
close all;clear;clc
1.Step Reponse
Dataset.1 선택
R_s = 100;
C_s = 0.01*10^(-6);
t_m = [0 29 58 88 118 146 177]*10^(-6);
A_m = [1.015 1.760 0.45 1.42 0.68 1.24 0.84];
N = size(t_m,2); %데이터의개수
t_d = [nan t_m(4:N)-t_m(2:N-2) nan nan]
t_d = 1×7
10-4 ×
NaN 0.5900 0.6000 0.5800 0.5900 NaNNaN
y_m = A_m-A_m(1)
y_m = 1×7
0 0.7450 -0.5650 0.4050 -0.3350 0.2250 -0.1750
delta = [nan y_m(4:N)./y_m(2:N-2) nan nan]
delta = 1×7
NaN 0.5436 0.5929 0.5556 0.5224 NaNNaN
ln_y_m = [nan log(abs(y_m(2:N)))]
ln_y_m = 1×7
NaN -0.2944 -0.5709 -0.9039 -1.0936 -1.4917 -1.7430
p = polyfit(t_m(2:end),ln_y_m(2:end),1);
y_fitting = p(1).*t_m(2:end) + p(2);
plot(t_m(2:end),ln_y_m(2:end),t_m(2:end),y_fitting)
xlabel('t [s]')
ylabel('ln(|y_m|) [ln(V)]')
참고 자료
없음