simulink怎么把PWM波转换成电压?。

我用Arduino输出一个模拟电压,但是Arduino是通过PWM波来产生模拟电压的,我通过IO口把这个模拟电压读进电脑,有什么办法把它复原回去吗?就是把读到的PWM波转成电压。

 採用された回答

hohek
hohek 2022 年 11 月 26 日

0 投票

1、计算脉宽后还原,这需要比pwm周期更高的采样
2、滤波。用低通滤波或平均值滤波

その他の回答 (0 件)

タグ

質問済み:

2022 年 11 月 26 日

回答済み:

2022 年 11 月 26 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!