TD&TP
Automatique industriel
Ce cours est préparé par : Dr. BENDIB RIAD et est destiné aux étudiants 3me année
LICENCE-Automatisation en Industries Pétrochimiques
Nota bene : Ce cours est à usage personnel. Il est strictement interdit de le reproduire ou de le
publier sans mon
autorisation
Département de Pétrochimie et Génie des Procédés
Série 1
EXERCICE N°1
Donner les tables de vérité et les symboles des fonctions logiques suivants :
1. AND
2. OR
3. NOT
4. NAND
5. NOR
6. XOR
EXERCICE N°2
Donner les tables de vérité et les fonctions logiques pour les circuits suivants
A).
B).
C)
Dr.BENDIB
Département de Pétrochimie et Génie des Procédés
série 2
EXERCICE N°1
x y z F(x, y, z)
0 0 0 1
0 0 1 1
0 1 0 0
0 1 1 0
1 0 0 0
1 0 1 0
1 1 0 0
1 1 1 1
EXERCICE N° 2
Soit
𝐸 = 𝐴̅ 𝐵̅ 𝐶𝐷 + 𝐴𝐵𝐶̅ 𝐷
̅ + 𝐴𝐵𝐶𝐷
̅ + 𝐴𝐵̅ 𝐶𝐷
EXERCICE N° 3
Soit
𝐷 = 𝐴̅𝐵̅ 𝐶̅ + 𝐴̅𝐵𝐶̅ + 𝐴𝐵̅ 𝐶̅ + 𝐴𝐵𝐶̅
EXERCICE N° 4
Dr.BENDIB
Département de Pétrochimie et Génie des Procédés
Série 3
EXERCICE N° 1
S1 = ( a + b ) . c et
S2 = ( a + b ) . ( a + c )
EXERCICE N° 2
1. Montrer la formule
2. Réaliser la théorème de DeMorgan avec
a. La porte NAND
b. La porte OR et NOT
EXERCICE N° 3
EXERCICE N° 4
Vous ne disposez que des portes logiques NAND réaliser les fonctions suivantes
a. X=ABC
b. Y=A+B+C
Dr.BENDIB
Département de Pétrochimie et Génie des Procédés
Evaluation TD
LE FEU DE CROISEMENT
- Le feu E–O est vert quand il y a des voitures dans les deux voies C et D.
- Le feu E–O est vert quand il y a des voitures dans C ou D et quand il y en a dans A ou B (ou pas
du tout) mais pas dans les deux.
- Le feu N–S est vert quand il y a des voitures dans les voies A et B et qu’il y en a dans C ou dans
D mais pas dans les deux.
- Le feu N–S est aussi vert quand il y a des voitures dans A ou B et qu’il n’y a pas de voitures
dans C et D.
- Le feu E–O est vert quand il n’y a pas de voiture du tout.
En utilisant les tensions de sorties des capteurs A,B,C et D comme entrées, concevez un circuit
logique qui commande le feu de circulation. Ce circuit a deux sorties, E–O et N–S, qui prennent la valeur
HAUTE quand le feu doit être vert.
Dr.BENDIB
Département de Pétrochimie et Génie des Procédés
série 5
EXERCICE N° 1
EXERCICE N° 2
EXERCICE N° 3
EXERCICE N° 4
Donner les schémas des circuits logiques équivalents aux programmes LADDER
suivants
Dr.BENDIB
Département de Pétrochimie et Génie des Procédés
série6
EXERCICE N° 1
Dr.BENDIB
Département de Pétrochimie et Génie des Procédés
Série 7
EXERCICE N°1
EXERCICE N° 3
LA PERCEUSE AUTOMATISEE
Dr.BENDIB
Département de Pétrochimie et Génie des Procédés
Série8
EXERCICE N° 1
La figure montre un Four industriel utilisé pour chauffer la charge avant leur injection
au niveau de la colonne de distillation, le système de sécurité est géré par un automate
programmable de type (Dual) avec alimentation redondant.
Dans le cas d’arrêt d’urgence L’automate ordre :
La fermeture des deux vannes UV1&UV2 et après 20 SEC l’ouverture de la
vanne UV3.
l’ouverture du damper ( le volet une vanne spéciale ).
L’arrêt de la pompe d’alimentation MP.
L’Allumage de la lampe LP2 sur site et la lampe LP1 au niveau de la salle control
principale (DCS)
Parmi les causes qui provoquent l’arrêt d’urgence du four :
Très bas débit du produit (FSL)
Très haut pression du Fuel gaz et pour éviter les perturbations dans les
mesures des pressions un vote 2oo3 (entre les trois PSH) est exigé
avant l’exécution de l’arrêt.
QUESTIONS
a. Donner le tableau d’affectation pour les entrées et les sorties sachant que chaque
RACK contient 8 modules.
b. Tracer le diagramme LADDER pour l’arrêt d’urgence sachant que dans le cas où
une des pressostats a une valeur différent une alarme (LP3) est affiché au DCS
Dr.BENDIB
Département de Pétrochimie et Génie des Procédés
Série 8
EXERCICE N°2
Le niveau d'une cuve est contrôlé par 2 capteurs de niveau (nb, nh) et 2 capteurs de
température (th, tb). Une vanne V permet le remplissage de la cuve tant que le niveau
haut n'est pas atteint. Une résistance chauffante assure le chauffage jusqu’à la
température maximale. Une sécurité de fonctionnement interdit le chauffage si le
niveau bas est atteint, de même le remplissage est arrêté si la température minimale
est atteinte.
Les capteurs nb, nh sont à l’état « 1 » si le liquide est présent devant le capteur. Les
capteurs de température th, tb sont à l’état « 1 » si la température du liquide est
supérieure à th, tb.
Décrire le fonctionnement du système par une table de vérité.
Déterminer les équations de fonctionnement.
Dr.BENDIB
TP
Using TRISTATION SOFTWARE
Département de Pétrochimie et Génie des Procédés
Inputs are connected to an AND function. The output of the AND function is connected to
the IN terminal of an on-delay (TON) function block. The TON function block delays
setting the alarm by a Preset Time (PT). when both inputs to the AND gate go true, the
output is true the Timer starts the Elapsed Time ET. When the Elapsed time reaches the
time specified by PT input the output Q goes true, and the alarm is set.
Dr. BENDIB 1
Département de Pétrochimie et Génie des Procédés
1. Click the Select Function (Block) on the tool bar. The Select Element screen is
displayed.
2. In the FIND field, enter AND,and then click Ok
3. Move the pointer to the logic sheet. The pointer changes to the function graphic.
Click one to place the function on the logic sheet.
4. Double-click the AND function. The Item properties screen is displayed.
5. Check Double-space. This increases the size of the element on the sheet, which
makes it easier to connect variables. Close the Item Properties screen.
PLACE TAG NAMES ON LOGIC SHEET
1. Click Tagname Tool button and move the pointer to the logic sheet .
Connect it to the top input terminal of the AND by clicking once.
2. Redo the same with the bottom input.
3. Double click the top and bottom tag tagnames.
4. Click input_1 in the variable name field. Click apply. The declaration tab is
displayed.
5. Enter Sample text in the Description field. Confirm BOOL as the data type and
Control as the application Type. Click Apply and then close the declaration tab.
6. Redo the same with the bottom tagname ( the name is input_2)
PLACE TON FUNCTION BLOCK ON LOGIC SHEET
redo the same procedure for AND function however now you have to choose
name TON.
PLACE VARIABLES ON LOGIC SHEET
1. Click Local Variable Tool button and Connect the variable to the PT( Preset
time) input of TON function block
2. Double click on the local variable
3. Click the Preset_Time in the variable name field. Click apply. The declaration tab
is displayed.
4. Select time as data type and enter T#20s in the initial value field Click Apply and
then close .
5. Redo the same with the second variable and connect it to ET( Elapsed time) of
TON ( the variable name should be Elapsed_Time, time as data type, and no initial
value.
6. Click Tagname tool and connect the Variable to Q output terminal on TON ( the
name should be Alarm and the type should be bool .
Dr. BENDIB 2
Département de Pétrochimie et Génie des Procédés
Inputs are connected to an AND function. The output of the AND function is connected to
the IN terminal of an on-delay (TON) function block. The TON function block delays
setting the alarm by a Preset Time (PT). when both inputs to the AND gate go true, the
output is true the Timer starts the Elapsed Time ET. When the Elapsed time reaches the
time specified by PT input the output Q goes true, and the alarm is set.
Dr. BENDIB 1
Département de Pétrochimie et Génie des Procédés
1. Click the Select Function (Block) on the tool bar. The Select Element screen is
displayed.
2. In the FIND field, enter AND,and then click Ok
3. Move the pointer to the logic sheet. The pointer changes to the function graphic.
Click one to place the function on the logic sheet.
4. Double-click the AND function. The Item properties screen is displayed.
5. Check Double-space. This increases the size of the element on the sheet, which
makes it easier to connect variables. Close the Item Properties screen.
PLACE TAG NAMES ON LOGIC SHEET
1. Click Tagname Tool button and move the pointer to the logic sheet .
Connect it to the top input terminal of the AND by clicking once.
2. Redo the same with the bottom input.
3. Double click the top and bottom tag tagnames.
4. Click input_1 in the variable name field. Click apply. The declaration tab is
displayed.
5. Enter Sample text in the Description field. Confirm BOOL as the data type and
Control as the application Type. Click Apply and then close the declaration tab.
6. Redo the same with the bottom tagname ( the name is input_2)
PLACE TON FUNCTION BLOCK ON LOGIC SHEET
redo the same procedure for AND function however now you have to choose
name TON.
PLACE VARIABLES ON LOGIC SHEET
1. Click Local Variable Tool button and Connect the variable to the PT( Preset
time) input of TON function block
2. Double click on the local variable
3. Click the Preset_Time in the variable name field. Click apply. The declaration tab
is displayed.
4. Select time as data type and enter T#20s in the initial value field Click Apply and
then close .
5. Redo the same with the second variable and connect it to ET( Elapsed time) of
TON ( the variable name should be Elapsed_Time, time as data type, and no initial
value.
6. Click Tagname tool and connect the Variable to Q output terminal on TON ( the
name should be Alarm and the type should be bool .
Dr. BENDIB 2
Département de Pétrochimie et Génie des Procédés
Dr. BENDIB 1
Département de Pétrochimie et Génie des Procédés
A_IN :Converts an analog input to a real number. The range is from 819-to 4095 type DIN.
Max_EU=100, MIN_EU=0 type real. SC=4295, OC=737 (type :DIN). HH_SP=80 H_SP=60,
LL_SP=20, L_SP=30 ( type real). DB=2 (real ). T_IN=T#2.0s (Time). HFT & MIS= false (type
bool). TX_type=2 ( type DINT)
Département de Pétrochimie et Génie des Procédés
Such a voting between the three transmitters that will start the pump and close the valve in
case HH level . The reverse should be done in case LL level
LAB 5- Auto-indust
Exercise 1
Exercise 2
Dr. BENDIB
Département de Pétrochimie et Génie des Procédés
PS 4 PS 3 PS 2
PS 1
LMP 1
LMP 2
LMP 3 LSL
LMP 4
FIG 01
Dr. R.BENDIB
Département de Pétrochimie et Génie des Procédés
LAB 3
Implement the operation described herein in Tristation software in the same time perform the
hardware configuration deduce the I/O allocation table .
In Figure 01 it is shown a simplified drawing of a fire fighting system, the pressure in the circuit is 10 bar
and it is assured by two jokey pumps (not shown in the figure).
In case there is a fire the fire man will open one of the valves which will result to a pressure drop in the
line so when the pressure reaches 9 bar the PLC will start the pump MP1 ( electrical pump) and in the
same time will activate the corresponding alarm (Lamp ) to inform that the pump is running .
In case where the pressure still dropping and reach 8 bar the PLC will start the second pump and putting
on the second alarm and the same will happen with the third pump.
NB.
1. In case where there is a low level in the tank the PLC will activate one alarm (LMP4) to indicate that
there is a low level in the Tank.
2. The control circuit of any of the three pumps consists of one circuit Breaker that will be closed when a
relay is activated.
Dr. R.BENDIB