当前位置:网站首页>Random vibration calculation and simulation verification of single degree of freedom system
Random vibration calculation and simulation verification of single degree of freedom system
2022-07-18 14:05:00 【lijil168】
Random vibration calculation and simulation verification of single degree of freedom system
1、 Reference resources Single degree of freedom vibration calculation

2、 exercises
Suppose that the mean value of the excitation force received by a degree of freedom system is 0、 Self spectrum is S0=1 Ideal white noise stationary process . Find the mean square value and self spectrum of the system response ( Power spectral density function , Represents the distribution density of the mean square value of the random process in the frequency ).
set up m=1,k=(2*pi)**2, Damping coefficient zeta=0.16, That is, the natural frequency of the structure is 1Hz, Fast decay system .
When the excitation force is random , Similar to the confirmation , We need to use the impulse response function of the system h(t) Or complex frequency response function H(w).
Impulse response function of the system h(t) See the picture below :
The self spectrum of ideal white noise excitation force is shown in the figure below :
The self spectrum of displacement response is shown in the figure below :
3、python Computational code
import matplotlib.pyplot as plt
import numpy as np
from numpy import pi,sqrt,cos,sin,arctan,exp
plt.rcParams['font.sans-serif']=['SimHei'] # Used to display Chinese labels normally
plt.rcParams['axes.unicode_minus']=False # Used to display negative sign normally
##########begin: Calculate the vibration of single degree of freedom ###############
k=(2*pi)**2
m=1
wn=sqrt(k/m)
s_=0.16
wd=sqrt(1-s_**2)*wn
c=2*s_*wn*m
delta=s_*wn
# The mean value of the system excitation force is 0 Self spectrum is S0 Ideal white noise stationary process :
S0=1
# Impulse response function of the system :
h_t=lambda t:1/(m*wd)*exp(-delta*t)*sin(wd*t)
# Mean square value of response :
phi2_x=S0/(2*c*k)
# Self spectrum of response :
Sxx_w=lambda w:S0/((k-m*w**2)**2+c**2*w**2)
ti=np.array(np.linspace(0,4,1000,False))#0:0.002:2;
h_ti=h_t(ti)
wi=np.array(np.linspace(0,100,100,False))#0:0.002:2;
Sxx_wi=Sxx_w(wi) # One side of the bilateral power spectrum
Gxx_wi=2*Sxx_wi # Unilateral power spectrum
plt.figure
fig_mpl, ax =plt.subplots(3,1,figsize=(5,3), facecolor='white')
ax[0].plot(ti,h_ti,label=' Impulse response function of the system ')
ax[0].set_title("h(t)")
ax[0].set_xlabel("t")
ax[0].legend()
ax[1].plot(wi,np.ones(np.size(wi))*S0*2,label=' Input force white noise self spectrum ( unilateral )')
ax[1].set_title("Gff(w)")
ax[1].set_xlabel("w")
ax[1].legend() # Appoint legend
ax[2].plot(wi,Gxx_wi,label=' Output displacement self spectrum ( unilateral ); Mean square value :%f'%phi2_x)
ax[2].set_title("Gxx(w)")
ax[2].set_xlabel("w")
plt.legend() #plt.legend Mark only the last picture
plt.subplots_adjust(left=None, bottom=None, right=None,
top=None, wspace=1, hspace=1)
plt.show()
4、 Simulation verification to be continued
边栏推荐
- npm与node版本不匹配 更新了npm 结果报错node和npm不匹配 怎么退回之前的npm 版本?或者说怎么查看node适配的npm版本
- 单自由度系统的随机振动计算与仿真验证
- Matlab机械臂建模运动学仿真+轨迹规划
- 微信小程序实训|基于云数据库的语文听写工具
- [JMeter] the Chinese display of JMeter response message is garbled
- web一些实用的网址
- ORA-600:[qertbGetPartitionNumber:qesma2],[],[],[]
- Introduction to T100 interface development steps
- MySQL的DML(数据操纵语言)
- SimpleDateFormat 的线程安全问题与解决方案
猜你喜欢

MySQL - ER model
![[target tracking] image inter frame difference target detection based on background subtraction and MATLAB simulation](/img/50/b5f0bec4ea71a7f7df2e48eff61fcc.png)
[target tracking] image inter frame difference target detection based on background subtraction and MATLAB simulation

Sword finger offer19 regular expression matching string dynamic programming

Feign implements inter service and passes headers when calling

Collection和Collections区别

【Jmeter】Jmeter响应消息中文显示乱码

ABBYY FineReader 15标准版OCR文字识别及PDF编辑软工具
![[MySQL] - basic query exercise of database](/img/b3/e80ffcac1d7e0f0392147cbaf7a83a.png)
[MySQL] - basic query exercise of database

【Jmeter】Jmeter 设置默认语言为中文

PHP QRCode生成二维码
随机推荐
MySQL - ER model
Matlab机械臂建模运动学仿真+轨迹规划
Two low-cost ways to attract users with integral check-in
Detailed steps for T100 to develop a new two gear program
PMP每日一练 | 考试不迷路-7.15
Interview problem: how to close an order without using a scheduled task?
preg_replace 代码执行漏洞之[BJDCTF2020]ZJCTF,不过如此
职场必备 | 123页华为内部项目管理PPT
视频处理及编解码硬件系统优化设计
Simulation volume leetcode [general] 1996 Number of weak characters in the game
MySQL window function running average
高数 | 积分中值定理的开闭区间、积分第一中值定理及其推广
MySQL DML (data manipulation language)
【Cityengine】Cityengine2019安装使用及城市模型构建
ping 命令还能这么玩?
The writing method of like% variable% in Oracle SQL
Cultural tourism night tour project helps the development of night economy
OpenCv:将视频转化为连续的图像帧
T100 user defined application instructions (azzi650)
SQL must know must know challenge answer