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

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

 Risposta accettata

hohek
hohek il 26 Nov 2022

0 voti

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

Più risposte (0)

Tag

Richiesto:

il 26 Nov 2022

Risposto:

il 26 Nov 2022

Community Treasure Hunt

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

Start Hunting!