二阶系统三种情况的x和v的表达式

弹簧-阻尼二阶系统:

参考教材:《Leonard Meirovitch__Fundamental_of_Vibration》

临界阻尼:

 过阻尼:

临界阻尼:

 二阶系统三种情况的x和v的表达式

代码:

%% 二阶系统三种情况的x和v的表达式
clc;clear;
%参数
wn=50;
x0=5;
v0=5;
dx0=10;

t=0:0.001:5;

%% 欠阻尼
kesai=0.1;
wd=wn*(1-kesai^2)^0.5;
%位移
x1=exp(-kesai*wn*t).*((kesai*wn*x0 + v0)/wd*sin(wd*t) + x0*cos(wd*t));
%速度
k1= kesai*wn;
a1=x0;
a2=(kesai*wn*x0 + v0)/wd;
dx1=exp(-k1*t)  .*  ((wd*a2 - a1*k1).*cos(wd*t)  -  (k1*a2 + wd*a1).*sin(wd*t));
%画图
subplot(3,2,1)
plot(x1,dx1)
xlabel('x(m)')
ylabel('v(m/s)')
title('欠阻尼')
subplot(3,2,2)
plot(t,x1)
xlabel('t(s)')
ylabel('x(m)')
xlim([0 1])
title('欠阻尼')

%% 过阻尼
kesai=1.1;
wd=wn*(1-kesai^2)^0.5;
%位移
x2=exp(-kesai*wn*t).*((kesai*wn*x0 + v0)/wd*sinh(wd*t) + x0*cosh(wd*t));
%速度
k1= kesai*wn;
a1=x0;
a2=(kesai*wn*x0 + v0)/wd;
dx2=exp(-k1*t)  .*  ((wd*a2 - a1*k1).*cosh(wd*t)  -  (k1*a2 - wd*a1).*sinh(wd*t));
%画图
subplot(3,2,3)
plot(x2,dx2)
xlabel('x(m)')
ylabel('v(m/s)')
title('过阻尼')
subplot(3,2,4)
plot(t,x2)
xlabel('t(s)')
ylabel('x(m)')
xlim([0 1])
title('过阻尼')

%% 临界阻尼
kesai=1;
wd=wn*(1-kesai^2)^0.5;
%位移
x3=exp(-kesai*wn*t).*(x0  +  (wn*x0 + v0).*t);
%速度
k1= kesai*wn;
a1=x0;
a2=(wn*x0 + v0);
dx3=exp(-k1*t)  .*  (-k1*a1+a2  -  k1*a2*t);
%画图
subplot(3,2,5)
plot(x3,dx3)
xlabel('x(m)')
ylabel('v(m/s)')
title('临界阻尼')
subplot(3,2,6)
plot(t,x3)
xlabel('t(s)')
ylabel('x(m)')
xlim([0 1])
title('临界阻尼')

结果:

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

qq_45111955

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值