Credits
6
Types
- GIA: Elective
- GRAU: Specialization compulsory (Computer Engineering)
Requirements
- Prerequisite: CI
Department
ESAII
Teachers
Person in charge
- Enric X. Martin Rull ( enric.xavier.martin@upc.edu )
Others
- Daniel Garcia Solà ( daniel.garcia.sola@upc.edu )
- Fabio Francisco Banchelli Gracia ( fabio.francisco.banchelli@upc.edu )
Weekly hours
Theory
1.2
Problems
0.8
Laboratory
2
Guided learning
0
Autonomous learning
6
Competences
Third language
- G3.2 - To study using resources written in English. To write a report or a technical document in English. To participate in a technical meeting in English.
Computer engineering specialization
- CEC1.1 - To design a system based on microprocessor/microcontroller.
- CEC2.2 - To program taking into account the hardware architecture, using assembly language as well as high-level programming languages.
- CEC2.3 - To develop and analyse software for systems based on microprocessors and its interfaces with users and other devices.
- CEC3.1 - To analyse, evaluate and select the most adequate hardware and software platform to support embedded and real-time applications.
- CEC3.2 - To develop specific processors and embedded systems; to develop and optimize the software of these systems.
Common technical competencies
- CT7.2 - To evaluate hardware/software systems in function of a determined criteria of quality.
Objectives
-
Given an application, determine for each task: its duration, the maximum waiting time, time critical care, and plan the right strategy to meet these requirements.
Related competences: CEC2.3, CT7.2, -
Identify the critical regions of a program and schedule properly due to bugs in open source data compartment.
Related competences: CEC2.2, CEC3.1, -
Determine the parts of the code needed to be programmed in assembler, and can be programmed in high level language.
Related competences: CEC2.2, -
Sizing the timing of the watchdog correctly, and placing the 'kicks' the watchdog properly within the code.
Related competences: CEC3.2, -
To determine the most appropriate software architecture for a particular application, based on the number of processes, the computational requirements of these and immediate response.
Related competences: CT7.2, CEC3.1, -
Determine the best serial communication interface for communication between two integrated circuits (processors, processor-interface).
Related competences: CEC2.3, -
Build routines minimum hardware abstraction interface for all communications.
Related competences: CEC2.3, -
Place adequate protections to a microprocessor system for its connectivity to the outside.
Related competences: CEC3.2, CT7.2, -
Protecting against noise reception and a microprocessor system.
Related competences: CEC1.1, CT7.2, -
Sizing correctly sampling frequency of one or more signals according to their nature and the computational load of micro.
Related competences: CEC3.1, -
Setting a reference voltage AD converter with appropriate values ​​from the signal dynamic range and resolution required.
Related competences: CEC3.1, -
Interpret the representation of a periodic signal in a Bode diagram and its decomposition in Fourier series.
Related competences: CT7.2, -
Given an electronic circuit find its input and output impedances.
Related competences: CEC1.1, -
To extract the correct values ​​of the electrical characteristics published by the manufacturer in the technical reference manuals.
Related competences: G3.2, -
Select the appropriate device (transistor, relay, triac, optocoupler) for connecting external loads to the processor pins. Sizing the components necessary to successfully make the connection.
Related competences: CEC1.1, -
Designing and correctly interpret the schema of an electronic circuit.
Related competences: CEC1.1, CT7.2, -
Defender design hardware or software-based microprocessors in a presentation in front peers (target practice).
Related competences: CEC3.2, G3.2, CT7.2, -
Draw and correctly interpret time charts.
Related competences: CT7.2, CEC3.1, -
Learning to use laboratory components: Oscilloscopes, logic analyzer, etc. .. (Target practice)
Related competences: CT7.2, -
Schedule a system with different sensors and interfaces to fulfill requirements of execution. (Target practice)
Related competences: CEC2.3, CT7.2, CEC2.2, -
Design and implement a microcontroller solution for a given problem. (Target practice)
Related competences: CEC3.2, CEC1.1, G3.2,
Contents
-
Introduction.
Characteristics of microprocessor based systems. Type, common solutions to market. -
Hardware Issues
Hardware for microcomputer-based systems. Circuits, components, time diagrams, schematic design. Input/output, power and energy. -
Software Aspects of microprocessor based systems.
Optimization and code inspection. Startup, linkatge, location code, bootloaders. Concurrence, context switching, task management, interrupts, RTOS. Typical algorithms for data gathering and system control. -
Interfaces between systems. Communications.
Description Interface I2C, SPI, CAN, Ethernet, Bluetooth, RF. -
Protections,security, electromagnetic compatibility.
Robust to noise, the system microprocessor protection, electromagnetic compatibility. Watchdog, NMI, redundancy, monitorization.
Activities
Activity Evaluation act
Introduction
View the types of solutions available. Evaluate the most appropriate for a problem. To understand the representation and the associated figures.- Theory: Characteristics of microcomputer-based systems, characteristics, types, available solutions.
- Autonomous learning: It will give students a set of readings to find out platforms on the market.
Contents:
Theory
2h
Problems
0h
Laboratory
0h
Guided learning
0h
Autonomous learning
4h
Practice 1
Learn to use the tools build in ASM and C Language Understanding the architecture of the microcomputer.- Laboratory: Micro Review: compiler, asm, C.
- Autonomous learning: Micro Review: compiler, asm, C.
Contents:
Theory
0h
Problems
0h
Laboratory
4h
Guided learning
0h
Autonomous learning
4h
Hardware for micro-computer boards.
Circuits, components, basic diagrams, time diagrams, schematic design tools ...- Theory: Circuits, components, basic diagrams, time diagrams, schematic design tools ...
- Problems: There will be basic problems of analysis of circuits with microcontrollers.
- Autonomous learning: It will give students a collection of problems to practice the skills shown in class.
Theory
2h
Problems
2h
Laboratory
0h
Guided learning
0h
Autonomous learning
6h
Practice 2
Laboratory tools: analyzer, Oscilloscopes, emulator and simulator. ICD, debug.- Laboratory: Laboratory tools: analyzer, Oscilloscopes, emulator and simulator. ICD, debug.
- Autonomous learning: To deepen the use of the simulator.
Theory
0h
Problems
0h
Laboratory
2h
Guided learning
0h
Autonomous learning
2h
Theory
0h
Problems
0h
Laboratory
4h
Guided learning
0h
Autonomous learning
0h
I / O and analog impulse.
Concepts / O, connecting sensors, bridges, resolution, accuracy. Concepts related to frequency, sampling frequency dividers.- Theory: Concepts / O, connecting sensors, bridges, resolution, accuracy. Concepts related to frequency, sampling frequency dividers.
- Problems: Basic problems of how to connect sensors to microcontrollers. Circuits with bridges. Problem resolution and accuracy. Problems related to frequency, sampling frequency dividers.
- Autonomous learning: There will be problems for students to practice the exercises at home more common I / O
Contents:
Theory
3h
Problems
4h
Laboratory
0h
Guided learning
0h
Autonomous learning
10h
Practice 4
Practical I / O We developed an exercise to work on a system microcontroller interfaces.- Laboratory: Practical I / O We developed an exercise to work on a system microcontroller interfaces.
Contents:
Theory
0h
Problems
0h
Laboratory
6h
Guided learning
0h
Autonomous learning
4h
Noise protection, support MS.
Study of protection against electrical noise and EM radiation. Ensure compatibility of systems designed with the other existing systems.- Theory: Study of protection against electrical noise and EM radiation. Ensure compatibility of systems designed with the other existing systems.
- Problems: Study of the practical problems of protection against noise in the circuits designed.
- Autonomous learning: There will be a study on protection against noise applied to our work in laboratories.
Contents:
Theory
1h
Problems
1h
Laboratory
0h
Guided learning
0h
Autonomous learning
4h
Interfaces between systems
Explained the basic concepts of communication intefícies I2C, SPI, CAN, Ethernet, Bluetooth, RF ... to be worked in practice.- Theory: Explained the basic concepts of communication intefícies I2C, SPI, CAN, Ethernet, Bluetooth, RF ... to be worked in practice.
- Problems: Basic problems in understanding the operation of serial communication interfaces.
- Autonomous learning: Readings and exercises will be proposed to deepen the communication intefícies I2C, SPI, CAN, Ethernet, Bluetooth, RF ...
Contents:
Theory
2h
Problems
1h
Laboratory
0h
Guided learning
0h
Autonomous learning
4h
Monitoring Systems
Study of the functioning of monitoring systems microcontrollers: Watchdog, NMI, redundancy ...- Theory: Study of the functioning of monitoring systems microcontrollers: Watchdog, NMI, redundancy ...
- Problems: Case studies of systems of monitoring the performance of microcontrollers: Watchdog, NMI, redundancy ...
- Autonomous learning: Lectures related to the operation of monitoring systems microcontrollers: Watchdog, NMI, redundancy ...
Theory
1h
Problems
1h
Laboratory
0h
Guided learning
0h
Autonomous learning
4h
Software for Microcontrollers
Optimization and code inspection, startup, linkatge, location code, bootloaders. Concurrence, context switches, interrupt management, tasks and RTOS.- Theory: Optimization and code inspection, startup, linkatge, location code, bootloaders. Concurrence, context switches, interrupt management, tasks and RTOS.
- Problems: Problems of optimization and code inspection, startup, linkatge, location code, bootloaders. Basic exercises on concurrency, context switches, interrupt management, RTOS and tasks implemented in microcontrollers.
- Autonomous learning: It will work on small problems and aspects of software systems based on microcomputer.
Contents:
Theory
3h
Problems
3h
Laboratory
0h
Guided learning
0h
Autonomous learning
10h
CT3. Control Theory 3
1.- Se estudiará un artículo en inglés referido a aspectos software de los sistemes empotrados i se hará una presentación pública en catalan/castellano. 2.- Se hará un un diseño teórico de un sistema empotrado a partir de un enunciado. Se entregará una memoria del diseño redactada en inglés.Objectives: 1 2 3 4 5
Week: 14
Theory
0h
Problems
0h
Laboratory
0h
Guided learning
0h
Autonomous learning
0h
Preparing presentations and practical work
To help and guide students to prepare their practical work displayed at the end of the course.- Guided learning: To help and guide students to prepare their practical work displayed at the end of the course.
Theory
0h
Problems
0h
Laboratory
0h
Guided learning
0h
Autonomous learning
6h
Teaching methodology
There will be a complementation between classes of theory and problems, lectures are reinforced with examples showing the possible alternatives and solutions to common problems. Some topics will be proposed for self-assessment exercises that students can be aware of your progress, and may ask teacher support in case it detects any deficiency. The practical sessions will take place in situ in the laboratory teaching department in the FIB. There will be two practices that require large cumulative work of students in the preparation of a project.Evaluation methodology
The grade for this course will be obtained from the weighted average of the marks of theory (40%), laboratory practices (40%) and final work (20%)
NF = 0.1 CT1 + 0.1 CT2 + 0.1 CT3 + 0.1 CT4 + 0.40 PL + 0.2 TF (CT = control theory, PL = Laboratory, TF = Final Work)
The laboratory mark (PL) will be obtained while doing practical work in the lab. There will be at least two partial deliveries of the practices.
In addition students must deliver a design of an embedded system based on a real problem. This work will be presented at the end of the course and will produce the mark TF. The docs for this design will be written in English. The quality of design, the selection of components and clarity of the presentation will be evaluated.
With the report in english and the presentation of the final work a grade for the Cross-Competence (G3.2) will be obtained.
Bibliography
Basic
-
Designing embedded hardware
- Catsoulis, J,
O'Reilly,
2005.
ISBN: 9780596007553
https://discovery.upc.edu/discovery/fulldisplay?docid=alma991002895339706711&context=L&vid=34CSUC_UPC:VU1&lang=ca -
An embedded software primer
- Simon, D.E,
Addison-Wesley,
1999.
ISBN: 020161569X
https://discovery.upc.edu/discovery/fulldisplay?docid=alma991003076329706711&context=L&vid=34CSUC_UPC:VU1&lang=ca -
Better embedded system software
- Koopman, P,
Drumnadrochit Press,
2010.
ISBN: 9780984449002
https://discovery.upc.edu/discovery/fulldisplay?docid=alma991003826209706711&context=L&vid=34CSUC_UPC:VU1&lang=ca
Complementary
-
Designing Microcontroller Systems for Electrically Noisy Environments: AP-125 Application note
- Williamson, T,
Intel,
1996.
https://discovery.upc.edu/discovery/fulldisplay?docid=alma991000861259706711&context=L&vid=34CSUC_UPC:VU1&lang=ca -
The art of electronics
- Horowitz, P.; Hill, W,
Cambridge University Press,
2015.
ISBN: 9780521809269
https://discovery.upc.edu/discovery/fulldisplay?docid=alma991004054299706711&context=L&vid=34CSUC_UPC:VU1&lang=ca -
Sensores y acondicionadores de señal
- Pallas Areny, R,
Marcombo Boixareu,
2003.
ISBN: 8426713440
https://discovery.upc.edu/discovery/fulldisplay?docid=alma991002690349706711&context=L&vid=34CSUC_UPC:VU1&lang=ca