适用于高级电子学或编程类的脉宽调制说明
Notes on pulse-width modulation appropriate for a sophomore-level electronics or programming class
摘要:
脉宽调制是从微控制器(例如Arduino)创建伪模拟输出的好方法,它仅限于数字输出信号。模拟输出信号的质量取决于用于对数字输出求平均值的滤波器,可以利用电阻电容电路在充电和放电状态下的理论知识来分析该滤波器。这些笔记被用作物理专业二年级和三年级微控制器编程课的文本补充。我不知道这些材料通常在物理课程中被处理,并认为其他人可能会发现这些资源很有用。欢迎评论!
英文摘要:
Pulse-width modulation is a nice way to create pseudo analog outputs from a microcontroller (eg, an Arduino), which is limited to digital output signals. The quality of the analog output signal depends on the filter one uses to average out the digital outputs, and this filter can be analyzed with sophomore-level knowledge of resistor-capacitor circuits in charging and discharging state. These notes were used as a text supplement in a sophomore/junior level Microcontroller programming class for second and third-year Physics majors. I don't know where this material is normally treated in the Physics curriculum and figured others might find the resource useful. Comments welcome!
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。