大工至善|大学至真分享 http://blog.sciencenet.cn/u/lcj2212916

博文

[转载]【电子技术】【2017】基于STM32单片机的嵌入式仪器设计

已有 1008 次阅读 2021-3-23 17:16 |系统分类:科研笔记|文章来源:转载

图片

本文为布拉格捷克技术大学(作者: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.

 

1.       引言

2. 研究现状与目标

3. 基于Mbed的快速开发

4. 基于STM32Cube的全特征开发

5. 基于F3xxF0xx系列微控制器的测量局限性

6. 结论

附录使用USB引导加载程序将mbedcube程序加载到独立的微控制器

附录B Mbed部分代码

附录C Cube部分代码


更多精彩文章请关注公众号:205328s611i1aqxbbgxv19.jpg




https://wap.sciencenet.cn/blog-69686-1278225.html

上一篇:[转载]【计算机科学】【2019.09】全基因组关联研究的深度学习和SNP位置影响
下一篇:[转载]【计算机科学】【2019.06】卷积神经网络的贪婪分层训练
收藏 IP: 220.178.172.*| 热度|

0

该博文允许注册用户评论 请点击登录 评论 (0 个评论)

数据加载中...

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-4-26 16:42

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部