Deprecated: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in /export/home/bertrand/web/blog/b2evolution/blogs/inc/_init_login.inc.php on line 81

Deprecated: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in /export/home/bertrand/web/blog/b2evolution/blogs/inc/items/model/_itemlistlight.class.php on line 420

Deprecated: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in /export/home/bertrand/web/blog/b2evolution/blogs/inc/_core/_param.funcs.php on line 1407

Deprecated: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in /export/home/bertrand/web/blog/b2evolution/blogs/inc/_core/_param.funcs.php on line 1407

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /export/home/bertrand/web/blog/b2evolution/blogs/inc/_core/_misc.funcs.php on line 10537

Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /export/home/bertrand/web/blog/b2evolution/blogs/inc/_core/_misc.funcs.php on line 10542

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /export/home/bertrand/web/blog/b2evolution/blogs/inc/_core/_misc.funcs.php on line 10537

Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /export/home/bertrand/web/blog/b2evolution/blogs/inc/_core/_misc.funcs.php on line 10542

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /export/home/bertrand/web/blog/b2evolution/blogs/inc/_core/_misc.funcs.php on line 10537

Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /export/home/bertrand/web/blog/b2evolution/blogs/inc/_core/_misc.funcs.php on line 10542

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /export/home/bertrand/web/blog/b2evolution/blogs/inc/_core/_misc.funcs.php on line 10537

Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /export/home/bertrand/web/blog/b2evolution/blogs/inc/_core/_misc.funcs.php on line 10542

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /export/home/bertrand/web/blog/b2evolution/blogs/inc/_core/_misc.funcs.php on line 10537

Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /export/home/bertrand/web/blog/b2evolution/blogs/inc/_core/_misc.funcs.php on line 10542

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /export/home/bertrand/web/blog/b2evolution/blogs/inc/_core/_misc.funcs.php on line 10537

Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /export/home/bertrand/web/blog/b2evolution/blogs/inc/_core/_misc.funcs.php on line 10542
Derniers raffinements

Derniers raffinements

par Le Grincheux  

Je vois que personne n'a vu l'erreur signalée dans le dernier article. Le problème était simple, il fallait réinitialiser le compteur lors de la transition extinction vers HT. En effet, l'état extinction impose la présence de la basse tension, mais la haute tension est coupée. Lorsque cette haute tension est rallumée, son temps de montée n'est pas nul. Il faut donc passer par l'état HT qui ne vérifie pas la présence de la haute tension avant de passer en défaut ou en maintien. Or la transition depuis extinction vers HT se fait avec un compteur dans un état indéfini alors que l'arrivée à l'état HT suppose un compteur nul.

Fig. 1 : la même chose en grand

Les quatre états au bas du schéma sont des états normalement inaccessibles. Ils ont été rajoutés pour que tous les états soient déterminés et que le système passe en protection en cas de présence d'un état indéterminé.

Les nouvelles sorties de la machine sont maintenant :

 B Q1Q0
Q3Q2 00 01 11 10
00 1 1 1
01 1 1
11 1
10 1

Tab. 1 : allumage de la basse tension

B=Q3'(Q2'(Q0+Q1)+Q2Q1')+Q0(Q1 xor Q2)

 H Q1Q0
Q3Q2 00 01 11 10
00 1
01 1
11
10

Tab. 2 : allumage de la haute tension

H=Q3'(Q2Q1'Q0'+Q2'Q1Q0)

 R Q1Q0
Q3Q2 00 01 11 10
00 1
01 1 1 1
11 1 1 1
10 1 1 1

Tab. 3 : blocage du compteur à zéro

R=Q1(Q2+Q3)+Q3'Q1'Q0'+Q3(Q2 xor Q0)

 E Q1Q0
Q3Q2 00 01 11 10
00
01 1 1
11 1 1 1
10 1

Tab. 4 : indicateur d'erreur

E=Q2Q1+Q3Q0'(Q2+Q1)

Fig. 2 : circuit de sortie de la machine (en grand)


Entrées

États futurs et
sorties pour les atteindre

Q3 Q2 Q1 Q0 I PBT PHT C15 C255 Q3 Q2 Q1 Q0 J3 K3 J2 K2 J1 K1 J0 K0
0 0 0 0 X X 0 0 0 0 X X X X
0 0 0 0 1 X X X X 0 0 0 1 X X X 1 X
0 0 0 0 1 X X 0 1 1 0 X 1 X 1 X X
0 0 0 0 1 X X 0 1 1 0 X 1 X 1 X X
0 0 0 0 1 1 X X 0 1 1 0 X 1 X 1 X X
0 0 0 1 1 X X 0 0 0 1 X X X X
0 0 0 1 1 X 1 X 0 1 1 1 X 1 X 1 X X
0 0 0 1 1 X 1 X X 0 1 1 1 X 1 X 1 X X
0 0 0 1 X X X X 1 0 0 1 1 X X X X
0 0 0 1 1 1 1 X 0 0 1 0 X X 1 X X 1
0 0 1 0 X X X X 1 0 0 1 1 X X X 1 1 X
0 0 1 0 1 1 X 0 0 1 0 X X X X
0 0 1 0 1 X 1 X X 0 1 1 1 X 1 X X 1 X
0 0 1 0 1 X X X 0 1 1 1 X 1 X X 1 X
0 0 1 0 1 1 X 1 0 0 1 1 X X X 1 X
0 0 1 1 X 1 X X 0 0 1 1 X X X X
0 0 1 1 X 1 1 1 X 0 1 0 0 X 1 X X 1 X 1
0 0 1 1 X X X X 0 1 1 1 X 1 X X X
0 0 1 1 X 1 1 X 0 1 1 1 X 1 X X X
0 1 0 0 1 1 1 X X 0 1 0 0 X X X X
0 1 0 0 1 1 X X 0 1 1 1 X X 1 X 1 X
0 1 0 0 1 1 X X 0 1 1 1 X X 1 X 1 X
0 1 0 0 1 X X 0 1 1 1 X X 1 X 1 X
0 1 0 0 X X X X 1 1 0 1 1 X X X 1 X
1 1 0 1 X 1 X X 1 1 0 1 X X X X
1 1 0 1 X 1 X 1 X 0 1 0 1 X 1 X X X
1 1 0 1 X X X X 0 1 1 0 X 1 X 1 X X 1
0 1 0 1 1 X X X X 1 0 1 1 1 X X 1 1 X X 0
0 1 0 1 1 X 0 1 0 1 X X X X
0 1 0 1 X X X 0 1 1 0 X X 1 X X 1
0 1 0 1 1 1 X X 0 1 1 0 X X 1 X X 1
0 1 0 1 1 X 1 1 0 0 1 1 X X 1 X X
1 0 0 1 X X X X X 1 0 0 0 X X X X 1
1 0 0 0 X X X 1 0 0 0 X X X X
1 0 0 0 X 1 1 X 0 1 1 0 X 1 1 X 1 X X
1 0 0 0 X 1 1 X X 0 1 1 0 X 1 1 X 1 X X
1 0 0 0 X 1 X X 0 1 1 0 X 1 1 X 1 X X
1 0 0 0 X 1 X 0 0 0 0 X 1 X X X
0 1 1 0 X X X X 0 1 1 0 X X X X
0 1 1 0 1 X X X X 0 1 1 1 X X X 1 X
0 1 1 1 X X X X 0 0 0 0 X X 1 X 1 X 1
0 1 1 1 1 X X X X 0 1 1 1 X X X X
1 0 1 1 X X X X X 0 0 1 1 X 1 0 X X 0 X 0
1 0 1 0 0 X X X X 0 1 1 0 X 1 1 X X 0 0 X
1 0 1 0 1 X X X X 0 1 1 1 X 1 1 X X 0 1 X
1 1 0 0 X X X X X 1 0 1 0 X 0 X 1 1 X 0 X
1 1 1 1 X X X X X 1 0 1 0 X 0 X 1 X 0 X 1
1 1 1 0 X X X X X 1 0 1 0 X 0 X 1 X 0 0 X

Tab. 5 : transitions de l'automate

La réduction des quines et le schéma de câblage suivront au prochain épisode. Après tout, nous sommes dimanche.

Aucun commentaire pour le moment


Deprecated: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in /export/home/bertrand/web/blog/b2evolution/blogs/inc/_core/_param.funcs.php on line 1407

Deprecated: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in /export/home/bertrand/web/blog/b2evolution/blogs/inc/_core/_param.funcs.php on line 1407

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /export/home/bertrand/web/blog/b2evolution/blogs/inc/_core/_misc.funcs.php on line 10537

Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /export/home/bertrand/web/blog/b2evolution/blogs/inc/_core/_misc.funcs.php on line 10542

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /export/home/bertrand/web/blog/b2evolution/blogs/inc/_core/_misc.funcs.php on line 10537

Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /export/home/bertrand/web/blog/b2evolution/blogs/inc/_core/_misc.funcs.php on line 10542


Formulaire en cours de chargement...


Deprecated: substr(): Passing null to parameter #1 ($string) of type string is deprecated in /export/home/bertrand/web/blog/b2evolution/blogs/inc/sessions/model/_hit.class.php on line 932

Deprecated: substr(): Passing null to parameter #1 ($string) of type string is deprecated in /export/home/bertrand/web/blog/b2evolution/blogs/inc/sessions/model/_hit.class.php on line 933