SlideServe
Menu
Préférences
© SlideServe · v2026

Fuzzy Control

deo avatar
60 diapositives · 1.2K Views · Sep 08, 2014

Fuzzy Control. Design of Embedded Systems Using 68HC12/11 Microcontrollers Chapter 14 Richard E. Haskell, Prentice Hall, 2000. Fuzzy Control. Fuzzy Sets Design of a Fuzzy Controller Fuzzification of inputs: get_inputs() Fuzzy Inference Processing the Rules: find_rules()

Fuzzy Control - slide 1
1 / 60

Télécharger la présentation

Fuzzy Control
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation

Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement. Téléchargez la présentation en cliquant sur ce lien. Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.

F I N

Plus de contenu associé

Transcription de la présentation
  1. Fuzzy Control Design of Embedded Systems Using 68HC12/11 Microcontrollers Chapter 14 Richard E. Haskell, Prentice Hall, 2000

  2. Fuzzy Control • Fuzzy Sets • Design of a Fuzzy Controller • Fuzzification of inputs: get_inputs() • Fuzzy Inference • Processing the Rules: find_rules() • Centroid Defuzzification • Output Defuzzification: find_output() • A Fuzzy Control Example -- • Floating Ping-Pong Ball

  3. Fuzzy Logic

  4. Fuzzy Sets Is this sentence true or false?

  5. The Barber Paradox Sign on a Barber Shop: “I shave all who do not shave themselves.” Who shaves the barber?

  6. Fuzzy Control • Fuzzy Sets • Design of a Fuzzy Controller • Fuzzification of inputs: get_inputs() • Fuzzy Inference • Processing the Rules: find_rules() • Centroid Defuzzification • Output Defuzzification: find_output() • A Fuzzy Control Example -- • Floating Ping-Pong Ball

  7. A Fuzzy Controller

  8. Fuzzy Control • Fuzzy Sets • Design of a Fuzzy Controller • Fuzzification of inputs: get_inputs() • Fuzzy Inference • Processing the Rules: find_rules() • Centroid Defuzzification • Output Defuzzification: find_output() • A Fuzzy Control Example -- • Floating Ping-Pong Ball

  9. The 68HC12 MEM Instruction

  10. The 68HC12 MEM Instruction

  11. Fuzzy Control • Fuzzy Sets • Design of a Fuzzy Controller • Fuzzification of inputs: get_inputs() • Fuzzy Inference • Processing the Rules: find_rules() • Centroid Defuzzification • Output Defuzzification: find_output() • A Fuzzy Control Example -- • Floating Ping-Pong Ball

  12. Fuzzy Inference

  13. Fuzzy Control • Fuzzy Sets • Design of a Fuzzy Controller • Fuzzification of inputs: get_inputs() • Fuzzy Inference • Processing the Rules: find_rules() • Centroid Defuzzification • Output Defuzzification: find_output() • A Fuzzy Control Example -- • Floating Ping-Pong Ball

  14. The 68HC12 REV Instruction

  15. * Fire all rules * firerules ( in.out.array rules -- ) FIRERULES LDD 2,X+ D -> rules LDY 2,X+ Y -> in.out.array PSHX TFR D,X X -> rules INX INX X -> Out0 addr PSHY save Y LDY 2,X+ Y -> Out0, X -> 1st rule LDAB 0,Y B = #out.memb.fncs FR0 CLR 1,+Y clear Out array DBNE B, FR0 PULY Y -> in.out.array LDAA #$FF REV rule evaluation PULX RTS Figure 14.19 68HC12 code for WHYP word firerules ( in.out.array rules-- )

  16. Listing 14.2 Fuzzy Control in WHYP -- Making rules \ Fuzzy Logic Control Using WHYP12 File: FUZZY12.WHP \ ********** Defining word for making rules ********** : make.rules ( +++ ) CREATE HERE 0 , \ leave room for #rules 0 , \ leave room for ^Out0 DOES> ( pfa -- ) ; HEX : C: ( pfa ix -- pfa ) C, FE C, ; : C; ( pfa ix -- pfa ) C, FE C, 1 OVER +! ; \ inc #rules : C. ( pfa ix -- pfa ) C, FF C , 1 OVER +! ; \ inc #rules DECIMAL : end.rules ( pfa -- ) DROP ; \ drop addr of #rules

  17. Fuzzy Control • Fuzzy Sets • Design of a Fuzzy Controller • Fuzzification of inputs: get_inputs() • Fuzzy Inference • Processing the Rules: find_rules() • Centroid Defuzzification • Output Defuzzification: find_output() • A Fuzzy Control Example -- • Floating Ping-Pong Ball

  18. Fuzzy Control • Fuzzy Sets • Design of a Fuzzy Controller • Fuzzification of inputs: get_inputs() • Fuzzy Inference • Processing the Rules: find_rules() • Centroid Defuzzification • Output Defuzzification: find_output() • A Fuzzy Control Example -- • Floating Ping-Pong Ball

  19. The 68HC12 REV Instruction

  20. Fuzzy Control • Fuzzy Sets • Design of a Fuzzy Controller • Fuzzification of inputs: get_inputs() • Fuzzy Inference • Processing the Rules: find_rules() • Centroid Defuzzification • Output Defuzzification: find_output() • A Fuzzy Control Example -- • Floating Ping-Pong Ball