


- 2개의 Spring과 damper를 갖고 있는 System
- 하나의 INPUT에 output이 2개(x1,x2)가 나온다
- System with Simulink -

- 먼저 LiveScript로 System Parameter를 설정
- b1 & b2는 숫자 슬라이더를 이용해 값을 실시간으로 조절 가능


figure
%%plot(x1,'--g',LineWidth=4)
hold on
plot(F,'b',LineWidth=4)
hold on
%%plot(x2,'--r',LineWidth=4)
ylabel('Displacement [m]')
xlabel('Time [sec]')
title('Double Mass Spring Damper System Response')
- simulink에서 to workspace를 통해 x1 & x2를 보냈지만, 인식하지 못하는 문제가 발생.......(뭡니까...)
'제어(Control)' 카테고리의 다른 글
| Spring & Damper System 전달함수 만들기 With Simulink/MATLAB(1/2) (0) | 2023.12.09 |
|---|---|
| Bode diagram (0) | 2023.12.07 |
| Pole & Forced Response, Natural Response (0) | 2023.12.07 |
| Transfer Function (0) | 2023.12.07 |
| PID (1) | 2023.12.06 |