XSL Content

Digital Electronic Systems

Centre
Faculty of Engineering - Gipuzkoa
Degree
Doble Grado en Ingeniería Mecánica e Ingeniería Electrónica Industrial y Automática
Academic course
2024/25
Academic year
4
No. of credits
6
Languages
Spanish
Basque

TeachingToggle Navigation

Distribution of hours by type of teaching
Study typeHours of face-to-face teachingHours of non classroom-based work by the student
Lecture-based3030
Applied laboratory-based groups3060

Teaching guideToggle Navigation

AimsToggle Navigation

The objective of this course is the study and design of digital electronic systems based on microcontrollers, as well as their application to industrial process control. In order to achieve this objective, the following competences to be acquired are established:



- To know the fundamentals of digital electronic systems based on microcontroller, as well as their application in the field of industrial process control.



- To know in a precise way a development environment, in order to enable programming in high level language (C), debugging and execution of digital designs based on microcontroller.



- To integrate the information, obtained from different sources, related to an industrial process to be controlled, in order to reasonably deduce the basic guidelines for the selection of a microcontroller, as well as for the implementation of the hardware associated to it.



- To apply the microcontroller as a functional block for measurement and digital control of variables, in closed loop, in industrial processes.

TemaryToggle Navigation

THEORETICAL SYLLABUS



Lesson 0: Presentation of the subject

Specific competences. Theoretical and practical lessons. Evaluation method. Recommended bibliography. Justification of the microcontrollers used in the course.



Lesson 1: Architecture of an 8 bits Microcontroller.

Main functional blocks and buses. RAM memory map: general purpose area and special function register (SFR) area. Register banks. Stack operation analysis: stack pointer.



Lesson 2: Basic Input/Output Devices.

General purpose digital input/output ports. Associated SFRs. Wiring considerations. Current drivers. Basic traffic light example. Analog inputs and outputs: A/D and D/A conversions. Associated SFRs. Example of A/D conversion.



Lesson 3: Timers

Timer and counter concepts. General architecture. CPU clock signal generation. Associated SFRs. Operating modes. Timing example.



Lesson 4: Interrupts

Interrupt concept. Internal and external interrupt channels. Reset circuit. Enabling, prioritization and vectorization. Associated SFRs. Example with internal interruption: domestic alarm. Example with internal and external interrupts: washing machine.





PRACTICAL SYLLABUS



Practice 1: Introduction to the development environment and C programming of the 80C552 microcontroller. Editing. Compilation and linking. Simulation and debugging. Data types. Reminder of the main operators and programming structures of the C language. Basic exercises and use of masks. Exercises.



Practice 2: Programming of several traffic light variants.

Digital inputs/outputs. Simulation and debugging. Hardware connection and execution on the selected target.



Practice 3: Programming of an illuminated sign.

Table management. Simulation and debugging. Hardware connection and execution on the selected target.



Practice 4: DC servomotor shaft angular position control project.

Division of the proposed problem into different tasks. Resolution of each of them separately: A/D conversion, characterization of the adopted sensors, D/A conversion and implementation of the control law by means of an interrupt associated with the timing of the sampling period. Simulation and debugging. Hardware connection and execution on the selected target. Final integration. Programming of variable setpoints.



Practical 5: Implementation and validation of a DC servomotor shaft angular speed control algorithm using the MBD method. General concepts of MBD. Implementation and validation using MBD --- Sofware-in-the-Loop (SIL), Processor-in-the-Loop (PIL) and Hardware-in-the-Loop (HIL)---.

MethodologyToggle Navigation

Active teaching methodologies will be used; specifically, problem-based and project-based learning. On the one hand, real problems are posed, and solutions are given to them, in order to internalize the concepts worked on in the lectures. On the other hand, more complex problems (projects) are proposed in the laboratory, so that the students internalize the process for their management: division into simpler tasks, treatment and resolution of each one of them as an independent problem and integration of all of them to obtain the final resolution.

Assessment systemsToggle Navigation

The evaluation method of the course is “continuous evaluation” and will be based on three tests that will be developed to analyze if the students have reached the competences of the course, as follows:



- Written test in which the basic theoretical concepts worked on mainly in the theoretical lectures will be evaluated: 30% (3 points).



- Practical laboratory test in which more practical aspects of the subject, also worked on in the lectures, but above all in the laboratory practices, will be evaluated: 50% (5 points).



- Assessment of the practical project: during part of the practical laboratory sessions the students will work on a practical project that will be presented to them. The evaluation of this project will have a weight of 20% (2 points).



In order to pass the course, the grade obtained after adding the score of the three evaluation tests must be equal or higher than 5 points. Likewise, it is necessary to obtain at least half of the score given to the written test and the practical laboratory test. Namely:



- written test: 30% (1.5 points), and

- practical laboratory test: 50% (2.5 points).



In the case of passing only one test, the final grade will be a maximum of 4.



If any of the three evaluation tests are passed, but not all of them, the grade obtained in the parts passed will be retained until the extraordinary exam.





WAIVER OF THE ORDINARY CALL



Not attending any of the tests (written test and practical test) will mean the waiver of the evaluation call and will be recorded as "Absent".

Compulsory materialsToggle Navigation

Support material in the eGela platform, consisting of:

- Slides used as support for the development of the theoretical and practical sessions.
- Scripts of the practices.
- Solutions to the programming exercises carried out during the theoretical sessions.
- Solutions to the programming problems posed in the practical lessons. They will be provided, deliberately, two weeks after their approach.

BibliographyToggle Navigation

Basic bibliography

- Odant B. (1995). "Microcontroladores 8051 y 8052", Thomson Paraninfo.

- Schultz T. (2008). "C and the 8051", Wood Island Prints.

- Yiu J. (2013). "The Definitive Guide to the ARM Cortex-M3 and M4 Processors", Newnes.

In-depth bibliography

- INTEL (1994). "MCS 51 Microcontroller Family User's Manual".
- Barrón M. y Martínez J. (1999). "Aplicaciones Prácticas con el µc-8051. Programación en Lenguaje C", Disen-Educativos.

Journals

- International Journal of Electrical Engineering Education (IJEEE)
- ELEKTOR
- Automática e Instrumentación
- IEEE Transactions on Education

Examining board of the 5th, 6th and exceptional callToggle Navigation

  • GARCIA ANDUAGA, GUILLERMO LUIS
  • MARTINEZ AGUIRRE, MIREN ITSASO
  • SUSPERREGUI BURGUETE, ANA

GroupsToggle Navigation

01 Teórico (Spanish - Mañana)Show/hide subpages

Calendar
WeeksMondayTuesdayWednesdayThursdayFriday
16-30

08:30-10:30

Teaching staff

Classroom(s)

  • AULA 5.5 - ESCUELA DE INGENIERIA DE GIPUZKOA

01 Applied laboratory-based groups-1 (Spanish - Mañana)Show/hide subpages

Calendar
WeeksMondayTuesdayWednesdayThursdayFriday
16-30

12:30-14:30

Teaching staff

Classroom(s)

  • LABORATORIO DE CONTROL - ESCUELA DE INGENIERIA DE GIPUZKOA

01 Applied laboratory-based groups-2 (Spanish - Mañana)Show/hide subpages

Calendar
WeeksMondayTuesdayWednesdayThursdayFriday
16-26

12:00-14:00

27-30

12:00-14:00

Teaching staff

Classroom(s)

  • LABORATORIO DE CONTROL - ESCUELA DE INGENIERIA DE GIPUZKOA
  • LABORATORIO DE CONTROL - ESCUELA DE INGENIERIA DE GIPUZKOA

31 Teórico (Basque - Mañana)Show/hide subpages

Calendar
WeeksMondayTuesdayWednesdayThursdayFriday
16-30

10:30-12:30

Teaching staff

Classroom(s)

  • AULA 2.3 - ESCUELA DE INGENIERIA DE GIPUZKOA

31 Applied laboratory-based groups-1 (Basque - Mañana)Show/hide subpages

Calendar
WeeksMondayTuesdayWednesdayThursdayFriday
16-30

08:30-10:30

Teaching staff

Classroom(s)

  • LABORATORIO DE CONTROL - ESCUELA DE INGENIERIA DE GIPUZKOA

31 Applied laboratory-based groups-2 (Basque - Mañana)Show/hide subpages

Calendar
WeeksMondayTuesdayWednesdayThursdayFriday
16-30

08:30-10:30

Teaching staff

Classroom(s)

  • LABORATORIO DE CONTROL - ESCUELA DE INGENIERIA DE GIPUZKOA

31 Applied laboratory-based groups-3 (Basque - Mañana)Show/hide subpages

Calendar
WeeksMondayTuesdayWednesdayThursdayFriday
16-30

12:30-14:30

Teaching staff

Classroom(s)

  • LABORATORIO DE CONTROL - ESCUELA DE INGENIERIA DE GIPUZKOA