General information


Subject type: Mandatory

Coordinator: Julián Horrillo Tello

Trimester: Third term

Credits: 4

Teaching staff: 

Julián Horrillo Tello

Skills


Specific skills
  • CE28: Apply industrial computing and communications.

Description


Subject framed in the subject of Industrial Informatics. The course aims to train students in systems design embedded industrial based on 32-bit microcontrollers, and with the support of a real-time operating system (RTOS). Given the characteristics of the industrial environment, real-time reactive systems are studied and designed, implementing mainly control functions, and the appropriate communication systems for the connection of all the elements involved. The basic knowledge on the main elements of the computer systems of the industrial plant is given, emphasizing some key aspects related to thesmartfactory.

This subject has methodological and digital resources to make possible its continuity in non-contact mode in the case of being necessary for reasons related to the Covid-19. In this way, the achievement of the same knowledge and skills that are specified in this teaching plan will be ensured.

The Tecnocampus will make available to teachers and students the digital tools needed to carry out the course, as well as guides and recommendations that facilitate adaptation to the non-contact mode.

Learning outcomes


At the end of the course the student must be able to:

  • LO1: Implement hardware using discrete (SSI, MSI), programmable (PLD) digital components. microprocessors, microcontrollers and DSP (CE28).
  • LO2: Design algorithms and write code in high and low level languages ​​(CE28).
  • LO5: Integrate applications with various automated systems (CE28).
  • LO6: Manage real-time operating systems (RTO) (CE28).
  • LO7: Use the scientific-technical terminology of digital electronic components in English (CE28).
  • LO8: Prepare technical project reports, evaluate alternatives and justify their analyzes and design criteria (CE28).

Working methodology


The subject alternates weeks with 2 hours and 4 hours of face-to-face classes in the classroom (large group), where the theoretical contents will be developed and practical exercises and problems will be solved, in addition to 2 fortnightly hours dedicated to laboratory practices. and case studies (small group), where the practical part of the first two activities of the subject is worked, and it is deepened in the resolution of exercises and problems. Attendance at all sessions, both theoretical and practical, is mandatory.

The laboratory sessions (small group) are of compulsory attendance (necessary condition to concur to the evaluation of the corresponding activity), and will develop gathering the students in groups of 2 to 6 people. Each activity needs a previous preparation that will be realized, a part in the face-to-face classes in the classroom, and another one will have to realize the students in the time of independent learning. These activities, however, will be temporarily extended beyond laboratory hours, and students will need to complete them during the autonomous learning time.

Whenever deemed appropriate, totally optional activities will be made available to students to help them prepare and prepare for the compulsory ones.

Given the situation caused by the pandemic of COVID-19, the teaching of the subject is done in a hybrid mode: the theory is virtualized and will be done through the use of the ZOOM platform; laboratory practices are maintained in a face-to-face format. The synchronization of teaching has been maintained at all times, while programming the theory sessions in the time slots assigned to the subject.

Thus, weeks have been alternated with 2 hours and 4 hours of class with the whole group through sessions with ZOOM. In these sessions the theoretical contents of the subject have been worked and exercises and problems of a practical nature have been solved.

The 2 fortnightly hours of laboratory practices, taught in person, have been maintained. These sessions work on aspects related to the practical activities of the subject, which consist of the development of software applications for the Cortex M4 MCU, and also work on the topic of computer hardware design. embedded. Work teams of between 2 and 6 people have been maintained, depending on the activity to be carried out.

Attendance at ZOOM sessions, on theory content, and on face-to-face practice sessions is mandatory.

 

Contents


Content title 1: Technological foundations for industrial management

  • Introduction to industrial applications
  • smartfactory: Digital Transformation, Automation Hierarchy
  • Value chain digitization: SCM / ERP / CRM
  • MES systems
  • Digitization technologies: IOT / IIOT, CPS, Big data, Cloud computing, Cybersecurity

 

Content title 2: Real time systems

  • Review of computer architecture concepts
  • Finite precision arithmetic
  • Microprocessor-based reactive systems. Real time requirements
  • Advanced computer architectures
  • Real time operating systems (RTOS

 

Content title 3: embedded systems

  • Architectures embedded. Review of microprocessor-based systems concepts. Embedded systems design
  • Advanced I / O techniques
  • Systems embedded large scale: PC-Embedded (PCx-104)
  • Systems embedded small and medium scale: microcontrollers and DSPs
  • Integrated operating systems
  • Application development with the ARM Cortex-M4 microcontroller

 

Content title 4:  Industrial communications

  • Information and communication systems architecture. Bus hierarchy: bus pin out, local bus, system bus
  • Transmission lines. Limitations on communications
  • Communications interface: UART, SPI
  • Serial buses: RS-485, CAN, MODBUS, Ethernet / IP
  • Embedded Internet
  • M2M Communications: Internet of Things (IoT)

Learning activities


TITLE OF ACTIVITY 1: Finite precision arithmetic. Impact on algorithms of number crunching

  • DESCRIPTION: Study of the impact of fixed point arithmetic on numerical calculation algorithms. The solution of a numerical problem using arithmetic Qn is posed and different solving strategies are tried, analyzing the impact of arithmetic and strategy on the results. The activity is proposed as an engineering project.
  • SUPPORT MATERIAL: Explanatory dossier provided by the teacher.
  • COMPETENCES: CE 28, CB 3
  • EVIDENCE OF LEARNING OUTCOMES: RA2, RA7, RA8
  • DELIVERABLES AND LINKS TO EVALUATION: Group report with the results obtained, their analysis and conclusions on the effects of finite precision arithmetic on the stability of certain numerical algorithms. This activity represents 10% of the total grade of the subject.
  • SPECIFIC OBJECTIVES:
    • Understand the precision limitations inherent in digital systems
    • Design numerical calculation strategies resistant to these limitations
    • Program numerical calculation applications using both high and low level languages      
  • LABORATORY SESSIONS: 2 sessions to work on the essential parts of the project.

TITLE OF ACTIVITY 2: DSP and real-time industrial applications

  • DESCRIPTION: Study of the interface requirements of industrial computers, as reactive elements that interact with a heterogeneous environment with real-time response requirements. Different interface problems will arise in industrial environments, such as high-speed I / O, and interfaces with motion control systems typically used in industry. Problems related to digital signal processing in the industrial field will be solved. The activity is proposed as an engineering project.
  • SUPPORT MATERIAL: Explanatory dossier provided by the teacher.
  • COMPETENCES: CE 28, CB 3
  • EVIDENCE OF LEARNING OUTCOMES: RA2, RA6, RA7, RA8
  • DELIVERABLES AND LINKS WITH THE EVALUATION: Group report with the results obtained, its analysis and conclusions on the specific requirements of some control applications in the industrial field. This activity represents 20% of the total grade of the subject.
  • SPECIFIC OBJECTIVES:
    • Understand the computational and interface requirements of real-time hard applications
    • Know different interface elements of industrial applications
    • Design I / O interfaces for industrial applications 
    • Know different environments for systems development embedded
    • Design systems embedded industrial based microcontrollers
    • Program DSP applications in real time using both high and low level languages     
  • LABORATORY SESSIONS: 3 sessions to work on the essential parts of the project.

Title of ACTIVITY 3: Continuous assessment test (PAC 2a)

  • DESCRIPTION: Written test on revision of computer architecture concepts.
  • SUPPORT MATERIAL: Subject materials
  • COMPETENCES: CE28
  • EVIDENCE OF LEARNING OUTCOMES: LO1, RA5 (according to the numbering of the Teaching Plan)
  • DELIVERABLES AND LINKS WITH THE EVALUATION: Resolution of the test. This activity represents 3% of the total mark of the subject.

Title of ACTIVITY 4: Continuous assessment test (PAC 2b)

  • DESCRIPTION: Written test on finite precision arithmetic
  • SUPPORT MATERIAL: Subject materials
  • COMPETENCES: CE28
  • EVIDENCE OF LEARNING OUTCOMES: LO1, RA5 (according to the numbering of the Teaching Plan)
  • DELIVERABLES AND LINKS WITH THE EVALUATION: Resolution of the test. This activity represents 3% of the total mark of the subject.

Title of ACTIVITY 5: Continuous assessment test (PAC 3)

  • DESCRIPTION: Written test on memory unit design for microprocessor based systems
  • SUPPORT MATERIAL: Subject materials
  • COMPETENCES: CE28
  • EVIDENCE OF LEARNING OUTCOMES: LO1, RA5 (according to the numbering of the Teaching Plan)

DELIVERABLES AND LINKS WITH THE EVALUATION: Resolution of the test. This activity represents 4% of the total grade of the subject

Title of ACTIVITY 6: 1 exam

  • DESCRIPTION: Written test to evaluate the aspects developed in contents 1, 2.
  • SUPPORT MATERIAL: Subject materials (contents 1 and 2) and bibliography.
  • COMPETENCES: CE 28
  • EVIDENCE OF LEARNING OUTCOMES: RA1, RA2, RA6, RA7
  • DELIVERABLES AND LINKS WITH THE EVALUATION: Resolution of the test. This activity represents 30% of the total mark of the subject.
  • SPECIFIC OBJECTIVES:
    • Eminently evaluative objective of the degree of achievement of theoretical knowledge and its application to real practical situations
    • Collect information for individual summative assessment

Title of ACTIVITY 7: 2 exam

  • DESCRIPTION: Written test to evaluate the aspects developed in contents 3, 4.
  • SUPPORT MATERIAL: Subject materials (contents 3 and 4) and bibliography.
  • COMPETENCES: CE 28
  • EVIDENCE OF LEARNING OUTCOMES: RA1, RA2, RA5, RA6, RA7
  • DELIVERABLES AND LINKS WITH THE EVALUATION: Resolution of the test. This activity represents 30% of the total mark of the subject.
  • SPECIFIC OBJECTIVES:
    • Eminently evaluative objective of the degree of achievement of theoretical knowledge and its application to real practical situations
    • Collect information for individual summative assessment

 

For each activity, teachers will report on the particular rules and conditions that govern them. This information will be communicated in the physical classroom and / or published in the virtual classroom.

One-on-one activities presuppose the student's commitment to carry them out individually. All activities in which the student does not fulfill this commitment regardless of their role (origin or destination) will be considered suspended.

Likewise, the activities to be carried out in groups presuppose the commitment on the part of the students who make it up to carry them out within the group. All activities in which the group has not respected this commitment regardless of its role (origin or destination) will be considered suspended. The responsibility for the results of the work lies with the group, and not with the individuals who make it up. In any case, teachers can, based on the information they have, customize the grade for each member of the group.

Any undelivered activity will be considered scored with zero points. Failure to attend a laboratory session automatically excludes from the evaluation of the corresponding activity, being considered scored with zero points.

It is optional for teachers to accept or not deliveries outside the deadlines indicated. In the event that these late deliveries are accepted, it is up to the teacher to decide whether to apply a penalty and the amount thereof.

Evaluation system


The final grade is the weighted sum of the grades of the activities

Activity 1: 10%

Activity 2: 20%

Activity 3: 3%

Activity 4: 3%

Activity 5: 4%

Activity 6: 30%

Activity 7: 30%

Attendance at the theoretical and laboratory sessions and the delivery of the corresponding reports of activities 1 and 2 is a necessary condition for the evaluation of the subject. The algorithm for calculating the grade is only applied if the weighted average grade of Activities 3 and 4 is greater than or equal to 3. Otherwise the subject is suspended.

The resit exam only gives the option to pass the subject with a grade of 5, except in the case where the weighted average grade of the first 2 activities is equal to or greater than 8. In this case the final grade will correspond to the weighted average mark of all the activities of the subject (the resit exam corresponds to activities 3 and 4, and its mark must be greater than or equal to 3).

For activities 1 and 2, if the result of their evaluation is not satisfactory, or the teachers consider it opportune, they will be able to summon the members of a group to carry out an individualized evaluation test.

REFERENCES


Basic

HORRILLO, J. (2020). Materials of the subject of Industrial Computing. EXCEPT. Mataró.

VALVANO, J. (2014). Embedded Systems: Real-Time Operating Systems for ARM Cortex-M Microcontrollers.

Complementary

BUTTAZZO, G. (2011). Hard Real-Time Computer Systems. Springer.

MARWEDEL, P. (2011). Embedded System Design. Springer.

GUERRERO, V .; YUSTE, R .; MARTÍNEZ, L. (2010). Industrial Communications. MARCOMBO.

BENNETT, S. (1994). Real-Time Computer Control. Prentice-Hall.

KOPETZ, H. (2011). Real-Time Systems: Design Principles for Distributed Embedded Applications. Springer-Verlag.

Zhu, Y. (2015). Embedded Systems with ARM Cortex-M. Microcontrollers in Assembly Language and C. E-Man Press.