《嵌入式系统课程设计》实习教学大纲
课程代码 | 045100171 |
课程名称 | 嵌入式系统课程设计 |
英文名称 | Embedded Systems |
课程类别 | 集中实践课 |
课程性质 | 选修 |
周数 | 2 |
学分 | 8 |
开课学期 | 6 |
开课单位 | 计算机科学与工程学院 |
适用专业 | 计算机科学与技术 |
授课语言 | 中文 |
先修课程 | 数字逻辑,计算机组成原理 |
课程对毕业要求的支撑 | 本课程对学生达到如下毕业要求有如下贡献: 1.思政建设:实现计算机专业知识教学与立德树人教育的有机融合;激发学生“实干兴邦”的爱国奋斗精神。 2.工程知识:能够将本专业基础知识和专业知识用于解决嵌入式系统工程问题。 3.问题分析:通过文献研究分析嵌入式工程中的复杂问题,以获得有效结论。 4.设计/开发解决方案:能够设计针对嵌入式系统实际问题的解决方案,设计满足特定需求的嵌入式系统工程项目。 5.研究:能够基于科学原理并采用科学方法对嵌入式系统问题进行研究,包括设计实验、分析与解释数据、并通过信息综合得到合理有效的结论。 6.使用现代工具:能够针对嵌入式系统的复杂问题,开发、选择与使用恰当的技术、资源、现代工程工具和信息技术工具。 |
课程目标 | 完成课程后,学生将具备以下能力: (1)掌握嵌入式系统技术发展,具有嵌入式系统开发创新意识 (2)会分析一个实际嵌入式系统 (3)会设计一个实际嵌入式系统 |
课程简介 | 了解嵌入式系统的基本概念、硬软件特征、设计流程、应用领域和发展趋势;熟悉嵌入式系统的体系结构、嵌入式处理器编程模型与指令系统、汇编语言程序设计和嵌入式系统设计方法;掌握嵌入式系统应用设计、调试与开发和嵌入式系统单元电路设计方法;掌握嵌入式操作系统的基本移植和应用方法。 |
教学内容 | 项目任务:利用STM32实验箱(实验用实验箱),实现一定功能。 项目名称:温度和亮度监测系统 项目基本功能具体要求: (1)利用STM32实验箱两路ADC输入(一路热敏电阻输入,一路光敏电阻输入),可实现对温度和亮度信号的采集。 (2)采集到得数据可以发送给PC机,PC机可以通过串口助手显示出,或自编软件。 (3)此系统具有报警的功能,当采集到得温度和亮度值超出了最低和最高设定值时,停止采集,并把报警状态发送给PC。 (4)此系统具有良好的人机接口。 (a)在系统启动时,可在PC上显示交互菜单shell,当输入一定的指令后,可以: ①启动监测系统,系统开始工作。 ②停止监测采集,系统停止功能。 ③可设定温度和亮度的最高最低阀值,当超过阀值时,系统会报警。 (b)按钮功能键作用。 通过按钮可以控制: ①启动监测系统,系统开始工作。 ②停止监测采集,系统停止功能。 (c) 通过LED指示灯显示显示各种状态。 ①显示正常工作状态。 ②显示超过高阀值状态。 ③显示低于低阀值状态。 能完成的任务有以下列表: (1)温度与亮度信号采集:热敏电阻是内置并与单片机的ADC接口连接,所以可以直接从芯片ADC获取转换后的值。但由于不太清楚转换后的值的格式以及如何计算转换成温度与电压值,所以就直接输出到PC交互端。 (2)传送数据:通过USART口使用中断方式传送数据。 (3)报警功能:在芯片程序与PC交互端都可以设定温度与电压的阀值,当超过阀值时芯片会亮灯报警,PC交互端也会显示警告信息。 (4)人机交互:基本都实现,唯一缺陷就是温度和电压的最高最低阀值是存储在程序(芯片与PC端口程序),没有存储在外部存储器,所以修改只能是在程序运行时,芯片断电后又恢复到默认值。 也可以自选题目,但需要首先与老师沟通好。 |
实习方式 | 根据要求完成实习设计要求, 提交实习报告 |
实习地点 | B3-239 |
考核要求 | 实习报告 |
实习注意事项 | 无 |
教材、指导书及教学参考书目 | 教材:毕盛等,《嵌入式系统原理及设计》,华南理工大学出版社,2017年12月 参考书: 毕盛等,《嵌入式微控制器原理及设计—基于STM32及Proteus仿真》,电子工业出版社,2019年12月 |
制定人及时间 | 毕盛 2019年4月 |
“Embedded System” Syllabus
Course Code | 145170 |
Course Title | Embedded System |
Course Category | Practice Course |
Course Nature | Elective Course |
Weeks | 2 |
Credits | 8 |
Semester | 6 |
Institute | School of Computer Science and Engineering |
Program Oriented | Computer Science and Technology, network engineering, information safety |
Teaching Language | Chinese and English |
Prerequisites | Digital Design, Computer Organization and Architecture |
Student Outcomes (Special Training Ability) | 1. Ideological and political construction: realize the organic integration of computer professional knowledge teaching and moral education; Inspire the students' patriotic spirit of "making the country prosperous by doing". 2. Engineering Knowledge: Students are able to apply basic knowledge and professional knowledge to solving embedded system problems. 3. Problem Analysis: Study and analyze complex problems in embedded system projects through literature and obtain effective conclusions. 4. Design/Development Solution: Students are able to design solutions for the practical problems of embedded systems, and meet the specific needs of embedded systems engineering projects. 5. Research: Based on scientific principles and the use of scientific methods to study the embedded system problems, including design experiments, analysis and interpretation of data, and through information synthesis to get reasonable and effective conclusions. 6. The Use of Modern Tools: Students are able to develop, choose and use proper technology, resources, modern engineering tools and information technology tool to solve complex problems of embedded systems. |
Course Objectives | Upon completion of the course, students will acquire the following abilities: (1) Mastering the development of embedded systems technology, and having embedded system development and innovation awareness (2) Analyzing an actual embedded system (3) Designing an actual embedded system |
Course Description | Understand the basic conceptions, hardware and software features, programming models, application prospect and development trend of embedded systems; Get familiar with embedded system architecture, embedded processor programming model and instruction system, assembly language programming and embedded system design methods; Master the embedded system application design, debugging and development and embedded system unit circuit design methods; Master the basic transplantation and application methods of embedded operating system. |
Teaching Goal and Basic Requirements | Upon completion of the course, students will acquire the following abilities: (1) Mastering the development of embedded systems technology, and having embedded system development and innovation awareness (2) Analyzing an actual embedded system (3) Designing an actual embedded system (4) Need some knowledge for electric, computer architecture etc. |
Content | Task Objective: Design and implement some specific functions based on embedded system. Reference Project Title: Project Name: Temperature and voltage monitoring system. Basic Requirements: (1) Implement a system which collects temperature and voltage signal through two channels of ADC input.(One using thermistor input and the other using voltage input) (2)The collected data can be transferred to PC. PC can display the data using COM assistant or other software programmed by yourself。 The system has alarm function which can be triggered when the collected temperature and voltage is beyond the maximum value or below the minimum value. The system should implement fine human-machine interface: (a)When the system starts, PC can display a shell console。After type in specific command,the shell can: ① make the monitoring system start to work. ② stop the monitoring system. ③ set the maximum and minimum values of temperature and voltage. (b)The Button function: We can push button to: ①make the monitoring system start to work. ②stop the monitoring system. (c)The LED lights can show the different states of the system ①Normal working state ②beyond max value state. ③below min values state. Since we are not familiar with the development platform, it is hard to accomplish all the functions. The functions that can be achieved is listed as follows: (1)The temperature and voltage signal collection: The thermistor is built-in and connected to MCU. We can get the value after ADC transformation directly. But we don’t know the format of the value and have no idea how to calculate the temperature and volage using the value, we just send the value to PC. (2)Data transmission: Transfer data through USART by using interrupt mode. (3)Alarm Function. The maximum value and minimum value both can be set through PC or the system. When the value is out of range(alarm),the system LED light turns on and PC will display an alarm message too. (4)Human-machine interface: Almost finished, except the maximum and minimum value is stored in the program instead of external storage. Consequently, the value will recovery to default value when power-off. |
Internship Mode | Complete internship according to the requirements and hand in report. |
Internship Location | B3-239 |
Assessment | Internship Report |
Matters Needing Attention | None |
Teaching Materials and Reference Books | Teaching Book: Bi Sheng, et al. Embedded System Principles and Design, South China University of Technology, January 2018. Bi Sheng et al., Principle and Design of Embedded Microcontroller -- Based on STM32 and Proteus Simulation, Electronic Industry Press, December 2019. |
Prepared by Whom and When | Bi Sheng, 2019.4 |