32 45 4MB
2015 / 2016 Module doctoral
Intervenant : Ahmed CHEMORI LIRMM, UMR CNRS/Université de Montpellier 161, rue Ada 34095 Montpellier, France
MATLAB
FORMATION MATLAB
Intervenant : Ahmed CHEMORI
Introduction à Simulink
2
Introduction à Simulink
MATLAB
FORMATION MATLAB
Intervenant : Ahmed CHEMORI
3
Introduction à Simulink
MATLAB
FORMATION MATLAB
Intervenant : Ahmed CHEMORI
4
Introduction à Simulink
MATLAB
FORMATION MATLAB
Intervenant : Ahmed CHEMORI
5
Introduction à Simulink
MATLAB
FORMATION MATLAB
Intervenant : Ahmed CHEMORI
6
Introduction à Simulink
MATLAB
FORMATION MATLAB
Intervenant : Ahmed CHEMORI
7
Introduction à Simulink
MATLAB
FORMATION MATLAB
Intervenant : Ahmed CHEMORI
8
Introduction à Simulink
MATLAB
FORMATION MATLAB
Intervenant : Ahmed CHEMORI
9
Introduction à Simulink
MATLAB
FORMATION MATLAB
Intervenant : Ahmed CHEMORI
10
Introduction à Simulink
MATLAB
FORMATION MATLAB
Intervenant : Ahmed CHEMORI
11
Introduction à Simulink
MATLAB
FORMATION MATLAB
Intervenant : Ahmed CHEMORI
12
Introduction à Simulink
MATLAB
FORMATION MATLAB
Intervenant : Ahmed CHEMORI
13
Introduction à Simulink
MATLAB
FORMATION MATLAB
Intervenant : Ahmed CHEMORI
14
Introduction à Simulink
MATLAB
FORMATION MATLAB
Intervenant : Ahmed CHEMORI
15
Introduction à Simulink
MATLAB
FORMATION MATLAB
Intervenant : Ahmed CHEMORI
16
Introduction à Simulink
MATLAB
FORMATION MATLAB
Intervenant : Ahmed CHEMORI
17
Introduction à Simulink
MATLAB
FORMATION MATLAB
Intervenant : Ahmed CHEMORI
18
Introduction à Simulink
MATLAB
FORMATION MATLAB
Intervenant : Ahmed CHEMORI
19
Introduction à Simulink
MATLAB
FORMATION MATLAB
Intervenant : Ahmed CHEMORI
20
Introduction à Simulink
MATLAB
FORMATION MATLAB
Intervenant : Ahmed CHEMORI
21
Introduction à Simulink
MATLAB
FORMATION MATLAB
Intervenant : Ahmed CHEMORI
Exemple 1 de simulation avec Simulink : Système à simuler
Schéma-bloc Simulink 22
MATLAB
FORMATION MATLAB
Intervenant : Ahmed CHEMORI
Introduction à Simulink
Exemple 2 de simulation avec Simulink :
1) Écrire le terme avec la plus haute dérivé en fonction du reste
2) La deuxième partie de l’équation est sous forme de somme de termes il faut donc utiliser un bloc, dont les entrées sont ces termes et la sortie est la plus haute dérivée
23
MATLAB
FORMATION MATLAB
Intervenant : Ahmed CHEMORI
Introduction à Simulink 3) Calcul de la dérivée de plus haut degré, on peut utiliser un gain si c’est nécessaire :
Gain 4) Insérer un intégrateur pour calculer la valeur de v :
Intégrateur
24
MATLAB
FORMATION MATLAB
Intervenant : Ahmed CHEMORI
Introduction à Simulink 5) Créer le signal de feedback :
Gain de feedback 25
MATLAB
FORMATION MATLAB
Intervenant : Ahmed CHEMORI
Introduction à Simulink 6) Compléter le schéma-bloc en connectant le signal du feedback au comparateur :
7) Lancer la simulation et récupérer les résultats.
26
Introduction à Simulink
MATLAB
FORMATION MATLAB
Intervenant : Ahmed CHEMORI
EXERCICE : Refaire la simulation du même exemple précédemment avec Simulink Rappel du modèle mathématique : Voici les paramètres du modèle : Paramètre
Signification
Valeur
Longueur du pendule
0.5
Masse du pendule
0.8
Coefficient d’amortissement
0.25
La gravité
9.8
Angle initial
75°
Couple de contrôle
0
Tracer les courbes de simulation. 27