1 / 11

Fuzzy Logic Controller

Fuzzy Logic Controller. Intelligent System course. Motivation. To control the speed of DC motor with Fuzzy Logic To implement Fuzzy Logic in microcontroller. Block Diagram. Identification. It uses two inputs (error and d.error) It uses one output (PWM)

jiro
Download Presentation

Fuzzy Logic Controller

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Fuzzy Logic Controller Intelligent System course

  2. Motivation • To control the speed of DC motor with Fuzzy Logic • To implement Fuzzy Logic in microcontroller

  3. Block Diagram

  4. Identification • It uses two inputs (error and d.error) • It uses one output (PWM) • 5 labels for each input membership function • 5 labels for output membership function (singleton) error = SP - PV d.error = error(n) – error(n-1)

  5. NB NS Z PS PB -128 -64 -40 -20 0 20 40 64 128 NB NS Z PS PB -128 -64 -40 -20 0 20 40 64 128 Input Membership Functions

  6. NB NS Z PS PB -80 -40 0 40 80 Output Membership Function

  7. Typical Response(rule design) SP

  8. Rule 1 If error is PB and d.error is Z then result is PB

  9. Rule 2 If error is Z and d.error is NB then result is NB

  10. Case 1 Error = 50 and d.error = -10 If error is PB and d.error is Z then result is PB 0.4167 0.5000 0.4167 If error is PS and d.error is Z then result is PS 0.5833 0.5000 0.5000 If error is PS and d.error is NS then result is Z 0.5833 0.2500 0.2500 If error is PB and d.error is NS then result is PS 0.4167 0.2500 0.2500

  11. Case 2 Error = 0 and d.error = 60 If error is Z and d.error is PB then result is PB 0.0000 0.8333 0.0000 If error is Z and d.error is PS then result is PS 0.0000 0.1667 0.0000

More Related