||
本文为布拉格捷克技术大学(作者:Tomáš Svítil)的学士论文,共85页。
本论文探讨如何利用微控制器来实现传统仪器如电压表、频率计、示波器等作为嵌入式系统的功能。这些仪器是用mbed实现的,mbed是一个在线框架,也是一个STMicroelectronics框架:STM32 Cube。为了演示实现的可能性,创建了电压、频率(直接和互易)和占空比测量、电压和pwm信号生成的应用程序。所有这些应用程序都是用串行接口控制实现的。使用mbed创建了一个带有LCD显示的自主测量演示。利用cube开发了一个具有三通道电压测量、单通道频率测量和占空比测量、简单脉冲计数、PWM信号产生和电压产生的应用程序,包括一个PC机前端。此外,还设计了一个示波器,也带有一个PC前端。最后探讨了这些设计的局限性。计时器被发现是最精确的周期计数。虽然ADC被噪声污染,但通过平滑可以抑制噪声。
This thesis explores how to implement the functions of traditional instruments such as voltmeters, frequency meters and oscilloscopes as embedded systems using microcontrollers. The instruments were implemented with mbed, an online framework and an STMicroelectronics framework: STM32 Cube. To demonstrate the implementation possibilities, applications for voltage, frequency (direct and reciprocal), and duty cycle measurement, voltage and pwm signal generation were created. All of these applications have been implemented with serial interface control. Using mbed, an autonomous measurement demo with an LCD display was created. Using cube an application with 3 channel voltage measurement, single channel recpirocal frequency measurement and duty cycle measurement, simple pulse counting, PWM signal generation and voltage generation, including a PC frontend, was created. Furthermore an oscilloscope, also with a PC frontend was created. Finally the the limitations of such instruments were explored. The timers were found to be the most accurate perihperals. The ADCs were riddled with noise, but averaging suppressed it.
Archiver|手机版|科学网 ( 京ICP备07017567号-12 )
GMT+8, 2024-9-24 06:38
Powered by ScienceNet.cn
Copyright © 2007- 中国科学报社