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 2022/2023

 

 

 

Prof. José Gaspar

jag (at) isr.tecnico.ulisboa.pt

Prof. Luís Custódio

lmmc (at) isr.tecnico.ulisboa.pt

 

 

 

 

Last update: 10th June 2023

 

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

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

 

 

Announcements:

 

06.06.2023 - When2meet to choose day for Work3 / presentation

01.06.2023 - Spreadsheet link to register paper to present (see link at Lab3 section bellow)

23.05.2023 - Published guide for Lab2, the second graded lab to run in the next three weeks

10.05.2023 - Help slides for the preliminary work

09.05.2023 - Published guide for Lab1, the first graded lab to run in the next two weeks

04.05.2023 - Published guide for Lab0, a training work to run next week

03.05.2023 - 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 and operation. Input and output interfaces. Interconnection between PLCs.

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. 2 - Discrete Event Systems Discrete Event System Modeling (DESs). Automata, languages. Petri nets: dynamics and modeling. Restricted and extended models. Network subclasses. Petri nets properties. Exercises and solutions.

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.

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 / programming 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).

PLC experiments:
Memory data dump
Unity Project and Matlab plot (written for P57 1634 with 28FK in slot3)

Software for programming PLCs
Going to use Schneider's Unity Pro V13
(to be provided later)

 

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 mapi2223 --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, PDF file

When2meet to find day(s) for the presentations, click here (ended)
Google Appointment Schedule to select a presentation time slot, click here.
Spreadsheet for registering the presentation title, click here.

Suggested sources of information:
(i)
Finding a paper to present
(ii)
Finding an alternative work to present
(iii)
OpenPLC testing on Arduino or Raspberry-pi.
(iv) Topics from previous industrial automation courses

 

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