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

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

 Respuesta aceptada

hohek
hohek el 26 de Nov. de 2022

0 votos

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

Más respuestas (0)

Etiquetas

Preguntada:

el 26 de Nov. de 2022

Respondida:

el 26 de Nov. de 2022

Community Treasure Hunt

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

Start Hunting!