Objectives

 

Program

 

Schedule

 

Evaluation

 

Lab

 

Modeling and Automation of Industrial Processes

Modelação e Automação de Processos Industriais - MAPI

 

 

 

Integrated Master's degree in Electrical and Computer Engineering

Systems, Decision and Control Area

 

 

 

2nd Semester 2023/2024

 

 

 

Prof. José Gaspar

jag (at) isr.tecnico.ulisboa.pt

Prof. Luís Custódio

lmmc (at) isr.tecnico.ulisboa.pt

 

 

 

 

Last update: 11th June 2024

 

Link to the page in Fenix: https://fenix.tecnico.ulisboa.pt/disciplinas/MAPI3/2023-2024/2-semestre

Link to previous year: http://users.isr.ist.utl.pt/~jag/courses/mapi22d/mapi2223.html

 

 

Announcements:

 

04.06.2024 - Published revised slides

07.05.2024 - Published guide for Lab3/Presentation (schedule to define near the end of Lab2)

07.05.2024 - Published guide for Lab2, to run in weeks 5, 6 and 7

16.04.2024 - Published guide for Lab1, to run in weeks 3 and 4

15.04.2024 - Published guide for Lab0, a training work to run next week (week 2)

15.04.2024 - Laboratory grades obtained in the previous two years are valid for the current school year.

 

 

 

Course Objectives:

 

 

The MAPI course is intended to provide students with the ability to solve automation problems. To this end, methodologies for analysis and synthesis of discrete event systems are studied, in the form of supervisory controllers that are implemented in industrial devices. Training on the following components will be deepened:

 

 

 

Systems analysis for industrial automation.

 

Methodologies for the implementation of solutions in industrial automation.

 

Programmable Logic Controllers (PLCs) Languages.

 

Computer Numerical Control (CNC) machines.

 

Modeling Discrete Event Systems (DESs).

 

Supervision of Industrial Automation Processes.

 

 

 

 

 

Program:

 

Ch. 1a - Introduction to the course and to the PLCs Programmable Logic Controllers (PLCs) components. PLC internal structure, operation, IO interfaces and interconnection.

Ch. 1b - PLCs Programming Languages Ladder diagrams; Structured Text. Description of the components of a typical language. Flow control structures. Development environments. Networking PLCs. Common programming errors.

Ch. 1c - GRAFCET standard. Modeling techniques. Development environment. Interpretation of GRAFCET using Ladder. PLCs network security.

Ch. 2a - Discrete Event Systems Dynamics and Modeling (DESs). Automata, languages. Petri nets. Restricted and extended models. Network subclasses. Petri nets properties. Exercises and solutions.

Ch. 2b - Petri Nets (PNs) with IO. Turing Machine FSM to PN. SFC (GRAFCET) vs PN.

Ch. 3. Stochastic models Stochastic Petri Nets (SPN). Stochastic Queuing Networks (SQN). Slides.

Ch. 4. Stochastic analysis Markov chain modelling of SPN and SQN. Slides. Note on Absorbing States vs Deadlocks.

Ch. 5. Control (MDPs in continuous time)

Ch. 6. Supervisors and Fluid models Methodologies for supervision. Synthesis based on invariants. Examples of application. Slides.

Ch. 7. Case studies (connection to Industry and Services)

 

 

 

Exams from previous years:

 

Exams from 2004/5 to 2012/13 in PDF.

1st exam of 2013/14 in PDF . 2nd exam of 2014/15 in PDF . 1st exam of 2015/16 in PDF.

1st exam of 2016/17 in PDF . 1st exam of 2017/18 in PDF . 1st exam of 2018/19 in PDF.

1st exam of 2019/20 in PDF . 1st exam of 2020/21 in PDF . 1st exam of 2021/22 in PDF .

1st exam of 2022/23 in PDF .

 

Solution of 2nd exam 2006/7 in PDF .

Solution of 2nd exam 2012/13 in PDF .

 

 

Laboratory Work:

 

(to be completed throughout the semester)

 

Floor plan of the laboratory: click here to see it and click here to see IST info.

PLC hardware and software manuals:
(i)
SW Unity Intro ,
(ii)
SW Unity Reference,
(iii)
HW IO Module.
Extra SW Unity Standard Library Reference (available also under the software menu help).

Software for programming PLCs
Going to use Schneider's Unity Pro V13
https://fenix.tecnico.ulisboa.pt/disciplinas/MAPI3/2023-2024/2-semestre/---private-information

PLC experiments:
PLC data logging webpage (click here)

Software installed in the lab that can also be used at home:

[Instructions for Windows]
Install an SVN client, e.g. the freeware TortoiseSVN ** including its command line tools **.
A reboot may be required after installing TortoiseSVN.

In Matlab run the following lines:
% the next line is long (ends at \mapi)
!svn co  --username mapi2324 --password automation svn://svn.isr.tecnico.ulisboa.pt/dccal/projects/lsdc4_mapi c:\users2\mapi
cd c:\users2\mapi\_init_all
login_z_install
login_mapi

% in the future just run login_mapi

 

 

 

Guide for the Preliminary Work, as a Word file or PDF file.

Information to support this work:
See above these lines the PLC hardware and programming manuals
Help slides for the preliminary work as a PDF file

 

 

Guide the First Laboratory Work, as a Word file or PDF file.

Software to support the first work:
See the PLC hardware and programming manuals (listed above)
See a method for PLC data logging
webpage (click here)
See extra notes in a list (click here)

 

 

Guide for the Second Laboratory Work, as a Word file or PDf file

Support for the second work:
http://users.isr.ist.utl.pt/~jag/course_utils/plc_log/plc_data_log.htm
http://users.isr.ist.utl.pt/~jag/course_utils/plc_log/plc_log_str.htm
http://users.isr.ist.utl.pt/~jag/msc/thesis/plc_works.htm

 

 

Guide for the Third Laboratory Work - Presentation, as a PDF file

Appointment Schedule, presentation date / time slot, click here (JPG image).

 

Laboratory Papers, Presentation of Seminars:

Doodle, presentations schedule, to be filled later

 

Laboratory registration:

[to be filled later]

 

Grades:

Labs and first exam, to be filled later