zengwangfa / 2019 Electronic Design Competition
Licence: apache-2.0
【电赛】2019 全国大学生电子设计竞赛 (F题)纸张数量检测装置 (基于STM32F407 & FDC2214 & USART HMI)
Stars: ✭ 53
Programming Languages
c
50402 projects - #5 most used programming language
Labels
Projects that are alternatives of or similar to 2019 Electronic Design Competition
pulserl
Apache Pulsar client library for Erlang/Elixir
Stars: ✭ 15 (-71.7%)
Mutual labels: data-processing
Dataflowjavasdk
Google Cloud Dataflow provides a simple, powerful model for building both batch and streaming parallel data processing pipelines.
Stars: ✭ 854 (+1511.32%)
Mutual labels: data-processing
baleen3
Baleen 3 is a data processing tool based on the Annot8 framework
Stars: ✭ 15 (-71.7%)
Mutual labels: data-processing
Nonechucks
Deal with bad samples in your dataset dynamically, use Transforms as Filters, and more!
Stars: ✭ 304 (+473.58%)
Mutual labels: data-processing
meta-schema
Little DSL to make data processing sane with clojure.spec and spec-tools
Stars: ✭ 25 (-52.83%)
Mutual labels: data-processing
Dali
A GPU-accelerated library containing highly optimized building blocks and an execution engine for data processing to accelerate deep learning training and inference applications.
Stars: ✭ 3,624 (+6737.74%)
Mutual labels: data-processing
Texar Pytorch
Integrating the Best of TF into PyTorch, for Machine Learning, Natural Language Processing, and Text Generation. This is part of the CASL project: http://casl-project.ai/
Stars: ✭ 636 (+1100%)
Mutual labels: data-processing
prosto
Prosto is a data processing toolkit radically changing how data is processed by heavily relying on functions and operations with functions - an alternative to map-reduce and join-groupby
Stars: ✭ 54 (+1.89%)
Mutual labels: data-processing
Rapidtables
Super fast list of dicts to pre-formatted tables conversion library for Python 2/3
Stars: ✭ 292 (+450.94%)
Mutual labels: data-processing
Awesome Web Scraping
List of libraries, tools and APIs for web scraping and data processing.
Stars: ✭ 4,510 (+8409.43%)
Mutual labels: data-processing
data processing course
Some class materials for a data processing course using PySpark
Stars: ✭ 50 (-5.66%)
Mutual labels: data-processing
Data Science On Gcp
Source code accompanying book: Data Science on the Google Cloud Platform, Valliappa Lakshmanan, O'Reilly 2017
Stars: ✭ 864 (+1530.19%)
Mutual labels: data-processing
alfa
♿ Suite of open and standards-based tools for performing reliable accessibility conformance testing at scale
Stars: ✭ 75 (+41.51%)
Mutual labels: data-processing
Xidel
Command line tool to download and extract data from HTML/XML pages or JSON-APIs, using CSS, XPath 3.0, XQuery 3.0, JSONiq or pattern matching. It can also create new or transformed XML/HTML/JSON documents.
Stars: ✭ 335 (+532.08%)
Mutual labels: data-processing
Cbrain
CBRAIN is a flexible Ruby on Rails framework for accessing and processing of large data on high-performance computing infrastructures.
Stars: ✭ 51 (-3.77%)
Mutual labels: data-processing
Tdm
R package for normalizing RNA-seq data to make them comparable to microarray data.
Stars: ✭ 33 (-37.74%)
Mutual labels: data-processing
Pandera
A light-weight, flexible, and expressive pandas data validation library
Stars: ✭ 506 (+854.72%)
Mutual labels: data-processing
纸张计数显示装置😄
电赛论文📚| 软件说明💻| 机械说明🎮| 交互界面说明🖼| 综合测评📐
1、简介✏️
纸张计数显示装置基于RT-Thread实时操作系统,硬件平台采用STM32F407单片机为主控制器,以具有抗电磁干扰(EMI)架构的FDC2214模块作为电容采集传感器,通过屏蔽双绞线连接至两铜极板,读取采集的数据并进行相应判断,应用触摸屏和语音模块进行状态显示与播报。FDC2214模块将采集到的数据通过IIC协议传输给主控制器,主控制器对原始数据进行卡尔曼滤波,抑制噪声对数据采集的影响。校准模式下,本系统利用最大隶属度法,确定电容模拟值及纸张数的论域,定义模糊子集和隶属函数,建立模糊规则控制表,求得模糊控制查询表。其根据采集到的两极板的数据,做出短路判断并读取多组实时数据,将其与模拟区间进行归类,选取最大可能性区间作为期望值,减小最终判断的差错率。
- [x] 成果:在校准好后,50张以下
100%
正确
配置参数 | 主控制器 | 配置参数 | 主传感器 |
---|---|---|---|
芯片型号 | STM32F407ZGT6 | 芯片型号 | FCD2214 |
CPU | 32位 Cortex-M4(ARMv7) | 分辨率 | 28位 |
主频 | 168MHz | 通道数 | 4 |
RAM | 192KB | 接口 | I2C |
外存 | 1MB(FLASH) | 最高输出速率 | 4.08ksps |
单元 | FPU、DSP | 特性 | 抗电磁干扰(EMI) |
2、目录说明🔖
STM32F407控制程序在:
+——2019-Electronic-Design-Competition
|---+ software:【软件设计】
| ├──README.md
| ├──rt-thread-master
| └──bsp
| └──stm32f407【控制程序】
| └──project.uvprojx【Keil5工程】
|---- ...
目录名 | 描述 |
---|---|
2019电赛题目 | 2019年电赛A-H题题目及器件清单 |
docs | 数据手册、设计图片、参考文献及设计文档 |
hardware | FDC2214、核心板原理图及PCB |
hmi | 串口屏幕设计UI及交互程序、语音包 |
matlab | matlab函数拟合及Kalman |
mechanical | 机械结构设计 |
others | 一些关于电赛前的准备 |
software | 纸张计数显示装置STM32程序 |
综合测评 | 综合测评题目及Multisim电路仿真 |
机械结构🔨
3、软件说明💻
4、应用线程总体分为:
-
1.简单设备运行线程
- LED
- OLED
- Buzzer
- Flash
-
2.主测量应用线程
- HMI屏幕交互
- FD2214数据获取与转换
- 语音模块交互
-
3.系统监控线程
- Watch Dog🐕
5、硬件结构🛰
- 核心板(Core Controller)拥有外设:
外设名称 | RGB LED | Key | Buzzer | Dial Switch | FCD2214 | USART HMI | OLED | W25Q128 | Voltage Detection | Current Detection | Zigbee | JY901 | USR-C216 | CP2102 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
控制(通讯)方式 | GPIO | GPIO | GPIO | GPIO | I2C | USART | SPI | SPI | ADC | ADC | USART | USART | USART | USART |
功能描述 | 指示灯 | 按键 | 蜂鸣器 | 拨码开关 | 电容传感器 | 串口触摸屏 | 显示屏 | 闪存芯片 | 电压检测 | 电流检测 | 2.4G无线通信 | 九轴 | WiFi模块 | 串口转USB |
交互界面🖼
6、- [x] 电脑调试时的交互界面展示:
7、测试数据分析📊
(1) 保持测试环境不变,采集50个样本,通过MATLAB拟合出纸张页数与传感器原始数据的曲线关系,如图4-2所示。
图4-2 纸张页数与模拟量的拟合函数关系图
- (2) 根据(1)中采集的50个样本,确定电容模拟值及纸张数的论域,划分模糊子集,如表4-1 所示。
表4-1页数与模拟量区间对应表
页数/张 | 对应模拟量区间 | 页数/张 | 对应模拟量区间 |
---|---|---|---|
1 | [1680.00,1345.34] | 6 | [682.48,633.84] |
2 | [1345.34,1013.26] | 7 | [633.84,598.03] |
3 | [1013.26,845.12] | 8 | [598.03,569.46] |
4 | [845.12,748.79] | 9 | [569.46,546.28] |
5 | [748.79,682.48] | 10 | [546.28,529.16] |
- (3)根据(2)中划分的模糊子集,保持测试环境不变,固定测量35张纸张,采集数据如表4-2所示,采集到的原始数据90%落入35张页数所对应的区间[401.35,399.50],如图4-35
表4-2 纸张数为35的实时数据
测试组别 | 原始数据 | 测试组别 | 原始数据 |
---|---|---|---|
1 | 400.896 | 6 | 400.824 |
2 | 401.049 | 7 | 400.591 |
3 | 400.157 | 8 | 401.111 |
4 | 399.912 | 9 | 400.443 |
5 | 401.125 | 10 | 398.529 |
- 测试结果
表4-4 工作模式下纸张测试结果表
范围 | 测试次数 | 正确次数 | 正确率 |
---|---|---|---|
1~10 | 25 | 25 | 100% |
11~20 | 25 | 25 | 100% |
20~30 | 25 | 25 | 100% |
30~40 | 25 | 25 | 100% |
40~50 | 25 | 25 | 100% |
50~60 | 25 | 23 | 92% |
60~70 | 25 | 20 | 80% |
70~80 | 25 | 16 | 64% |
综合测评演练📐
8、虽然测评训练的时候做的还行,但是实际当天综测比赛的时候,还是会手忙脚乱,现在想起那天焊接电路颤抖的双手都有点好笑🤣🤣。
9、分工👪
-
[X] 电路设计
- [X] 硬件搭建 by @Ian
-
[X] 控制程序
- [X] 整体框架 by @Ian
- [x] 交互界面及通信 by @Ian
- [X] 核心分割算法 by @Okurarisona
-
[X] 机械结构
-
[X] 论文
- [X] 论文 by @Hyf338
Github下载过慢
整理纪念
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].