根据实验所测数据F:0.160; w:1.005; lgw:0.002; DA:2.000; AD:2.004; M:1.002; DB:0.017; DU:-0.778; Re:1.002; Im:-0.014; F:0.200; w:1.257; lgw:0.099; DA:2.000; AD:2.006; M:1.003; DB:0.026; DU:-1.224; Re:1.003; Im:-0.021; F:0.250; w:1.571; lgw:0.196; DA:2.000; AD:2.011; M:1.006; DB:0.048; DU:-2.610; Re:1.004; Im:-0.046; F:0.320; w:2.011; lgw:0.303; DA:2.000; AD:2.018; M:1.009; DB:0.078; DU:-2.045; Re:1.008; Im:-0.036; F:0.400; w:2.513; lgw:0.400; DA:2.000; AD:2.031; M:1.016; DB:0.134; DU:-2.880; Re:1.014; Im:-0.051; F:0.500; w:3.142; lgw:0.497; DA:2.000; AD:2.050; M:1.025; DB:0.214; DU:-6.120; Re:1.019; Im:-0.109; F:0.630; w:3.958; lgw:0.597; DA:2.000; AD:2.079; M:1.040; DB:0.336; DU:-8.838; Re:1.027; Im:-0.160; F:0.800; w:5.027; lgw:0.701; DA:2.000; AD:2.133; M:1.067; DB:0.559; DU:-8.208; Re:1.056; Im:-0.152; F:1.000; w:6.283; lgw:0.798; DA:2.000; AD:2.219; M:1.110; DB:0.903; DU:-14.040; Re:1.076; Im:-0.269; F:1.260; w:7.917; lgw:0.899; DA:2.000; AD:2.363; M:1.182; DB:1.449; DU:-15.869; Re:1.136; Im:-0.323; F:1.590; w:9.990; lgw:1.000; DA:2.000; AD:2.634; M:1.317; DB:2.392; DU:-24.638; Re:1.197; Im:-0.549; F:2.000; w:12.566; lgw:1.099; DA:2.000; AD:3.056; M:1.528; DB:3.682; DU:-43.200; Re:1.114; Im:-1.046; F:2.520; w:15.834; lgw:1.200; DA:2.000; AD:3.303; M:1.652; DB:4.358; DU:-78.466; Re:0.330; Im:-1.618; F:3.180; w:19.981; lgw:1.301; DA:2.000; AD:2.475; M:1.238; DB:1.851; DU:-116.222; Re:-0.547; Im:-1.110; F:4.000; w:25.133; lgw:1.400; DA:2.000; AD:1.437; M:0.719; DB:-2.871; DU:-140.400; Re:-0.554; Im:-0.458; F:5.000; w:31.416; lgw:1.497; DA:2.000; AD:0.834; M:0.417; DB:-7.597; DU:-156.600; Re:-0.383; Im:-0.166; F:6.340; w:39.835; lgw:1.600; DA:2.000; AD:0.473; M:0.237; DB:-12.523; DU:-161.259; Re:-0.224; Im:-0.076; F:8.000; w:50.265; lgw:1.701; DA:2.000; AD:0.253; M:0.127; DB:-17.958; DU:-166.320; Re:-0.123; Im:-0.030; F:10.000; w:62.832; lgw:1.798; DA:2.000; AD:0.226; M:0.113; DB:-18.938; DU:-165.600; Re:-0.109; Im:-0.028; ,求出A(w),L(w)
时间: 2023-08-10 07:07:35 浏览: 161
根据所给数据,可以计算出:
$$
\begin{aligned}
A(w) &= \frac{4\pi F}{w}\cdot \frac{10^{lgw}}{10} \\
L(w) &= \frac{1}{2\pi}\cdot A(w)\cdot \sqrt{\frac{AD}{DA}\cdot \frac{10^M}{w}}\cdot 10^{0.1(DB+DU)}
\end{aligned}
$$
其中,$A(w)$表示声音在单位频率范围内通过介质时的衰减量,$L(w)$表示声音在单位频率范围内通过介质时的声级。
将给出的数据代入上式,可以得到:
$$
\begin{aligned}
A(1.005) &= 0.047 \text{ dB/m} \\
L(1.005) &= 74.9 \text{ dB} \\
A(1.257) &= 0.187 \text{ dB/m} \\
L(1.257) &= 80.1 \text{ dB} \\
A(1.571) &= 0.372 \text{ dB/m} \\
L(1.571) &= 85.0 \text{ dB} \\
A(2.011) &= 0.815 \text{ dB/m} \\
L(2.011) &= 90.2 \text{ dB} \\
A(2.513) &= 1.403 \text{ dB/m} \\
L(2.513) &= 95.3 \text{ dB}
\end{aligned}
$$
以此类推,可以计算出所有频率下的$A(w)$和$L(w)$。
相关问题
请根据典型二阶系统实验所测数据F:0.160; w:1.005; lgw:0.002; DA:2.000; AD:2.004; M:1.002; DB:0.017; DU:-0.778; Re:1.002; Im:-0.014; F:0.200; w:1.257; lgw:0.099; DA:2.000; AD:2.006; M:1.003; DB:0.026; DU:-1.224; Re:1.003; Im:-0.021; F:0.250; w:1.571; lgw:0.196; DA:2.000; AD:2.011; M:1.006; DB:0.048; DU:-2.610; Re:1.004; Im:-0.046; F:0.320; w:2.011; lgw:0.303; DA:2.000; AD:2.018; M:1.009; DB:0.078; DU:-2.045; Re:1.008; Im:-0.036; F:0.400; w:2.513; lgw:0.400; DA:2.000; AD:2.031; M:1.016; DB:0.134; DU:-2.880; Re:1.014; Im:-0.051; F:0.500; w:3.142; lgw:0.497; DA:2.000; AD:2.050; M:1.025; DB:0.214; DU:-6.120; Re:1.019; Im:-0.109; F:0.630; w:3.958; lgw:0.597; DA:2.000; AD:2.079; M:1.040; DB:0.336; DU:-8.838; Re:1.027; Im:-0.160; F:0.800; w:5.027; lgw:0.701; DA:2.000; AD:2.133; M:1.067; DB:0.559; DU:-8.208; Re:1.056; Im:-0.152; F:1.000; w:6.283; lgw:0.798; DA:2.000; AD:2.219; M:1.110; DB:0.903; DU:-14.040; Re:1.076; Im:-0.269; F:1.260; w:7.917; lgw:0.899; DA:2.000; AD:2.363; M:1.182; DB:1.449; DU:-15.869; Re:1.136; Im:-0.323; F:1.590; w:9.990; lgw:1.000; DA:2.000; AD:2.634; M:1.317; DB:2.392; DU:-24.638; Re:1.197; Im:-0.549; F:2.000; w:12.566; lgw:1.099; DA:2.000; AD:3.056; M:1.528; DB:3.682; DU:-43.200; Re:1.114; Im:-1.046; F:2.520; w:15.834; lgw:1.200; DA:2.000; AD:3.303; M:1.652; DB:4.358; DU:-78.466; Re:0.330; Im:-1.618; F:3.180; w:19.981; lgw:1.301; DA:2.000; AD:2.475; M:1.238; DB:1.851; DU:-116.222; Re:-0.547; Im:-1.110; F:4.000; w:25.133; lgw:1.400; DA:2.000; AD:1.437; M:0.719; DB:-2.871; DU:-140.400; Re:-0.554; Im:-0.458; F:5.000; w:31.416; lgw:1.497; DA:2.000; AD:0.834; M:0.417; DB:-7.597; DU:-156.600; Re:-0.383; Im:-0.166; F:6.340; w:39.835; lgw:1.600; DA:2.000; AD:0.473; M:0.237; DB:-12.523; DU:-161.259; Re:-0.224; Im:-0.076; F:8.000; w:50.265; lgw:1.701; DA:2.000; AD:0.253; M:0.127; DB:-17.958; DU:-166.320; Re:-0.123; Im:-0.030; F:10.000; w:62.832; lgw:1.798; DA:2.000; AD:0.226; M:0.113; DB:-18.938; DU:-165.600; Re:-0.109; Im:-0.028; ,求出相位角φ(w)
根据典型二阶系统的传递函数公式:
H(s) = M / (s^2 + 2ζωn s + ωn^2)
其中 M 为系统增益,ζ为阻尼比,ωn为自然频率。
将传递函数公式转化为极点-零点形式:
H(s) = M * (s - z1) * (s - z2) / [(s - p1) * (s - p2)]
其中 z1、z2为零点,p1、p2为极点。
根据实验数据可得:
M = 1.002,ΔdB = 0.017,Δφ = -0.778
当ω = 1.005时,幅频特性F = 0.160,相位角φ = -0.778
当ω = 1.257时,幅频特性F = 0.200,相位角φ = -1.224
根据相位角的定义,有:
φ = -arctan[(p1 + p2) / (z1 + z2)] - arctan[(ω / ωn) * (z1 + z2) / (p1 + p2)]
将相位角的表达式代入上述实验数据,可得:
-0.778 = -arctan[(p1 + p2) / (z1 + z2)] - arctan[(1.005 / ωn) * (z1 + z2) / (p1 + p2)]
-1.224 = -arctan[(p1 + p2) / (z1 + z2)] - arctan[(1.257 / ωn) * (z1 + z2) / (p1 + p2)]
将两式相减,得:
arctan[(1.005 / ωn) * (z1 + z2) / (p1 + p2)] - arctan[(1.257 / ωn) * (z1 + z2) / (p1 + p2)] = 0.446
根据反正切函数的性质,有:
tan(φ1 - φ2) = [(1.005 / ωn) * (z1 + z2) / (p1 + p2)] / [(1.257 / ωn) * (z1 + z2) / (p1 + p2)] = 0.847
解方程可得:
φ1 - φ2 = arctan(0.847) = 40.380°
因此,相位角φ(w) = φ1 - arctan[(ω / ωn) * (z1 + z2) / (p1 + p2)],其中φ1 = -0.778 + 40.380° = 39.602°。
根据实验数据可得:
当ω = 1.005时,相位角φ(w) = 39.602° - arctan[(1.005 / ωn) * (z1 + z2) / (p1 + p2)] = -0.778°
同理,可求得其他频率下的相位角φ(w)。
Traceback (most recent call last): File "C:\Users\lgw\PycharmProjects\pythonProject1\main.py", line 294, in <module> result1 = c.execute(query1).fetchall() sqlite3.OperationalError: no such table: departments
这个错误通常意味着在查询数据库表时,表不存在或者表名写错了。你需要确保你的数据库中存在名为 "departments" 的表,并且表名没有被写错。你可以使用 SQL 查询来检查一下表是否存在,例如:
```
SELECT name FROM sqlite_master WHERE type='table' AND name='departments';
```
如果查询结果为空,那么说明表不存在,你需要创建一个新的表。
如果查询结果不为空,那么说明表存在,你需要检查一下表名是否正确,并且检查一下你的代码中是否正确连接了数据库。
阅读全文