Presentation is loading. Please wait.

Presentation is loading. Please wait.

ECE 504: Supervisory Control & Critical Infrastructures University of Idaho Udhay Ravishankar.

Similar presentations


Presentation on theme: "ECE 504: Supervisory Control & Critical Infrastructures University of Idaho Udhay Ravishankar."— Presentation transcript:

1 ECE 504: Supervisory Control & Critical Infrastructures University of Idaho Udhay Ravishankar

2 Objectives Build DC Motor control circuit Control DC Motor via PC/Laptop using serial communication Build a GUI that sends control commands to the DC Motor circuit and displays real-time RPM sensor data Acquire data from GUI and train a Neurocontroller Use Neurocontroller to control DC Motor’s RPM at user-defined RPM set point

3 DC Motor Circuit Built using Microchip’s PIC18f2331 microcontroller (PIC: Programmable Interrupt Controller) Allegro Microsystem’s AS3953SB-T full bridge PWM driver. Hanseng DC Motor US Digital QME-01 optical encoder

4 Serial Communication Microchip’s PIC18f2331 microcontroller has EUSART pins that enable serial communication. (EUSART: Enhanced Universal Synchronous Asynchronous Receiver Transmitter) Baud Rate of 9600 bps was selected

5 Control Commands PC to DC Motor Circuit: [PWM Duty Cycle, Phase] DC Motor Circuit to PC: [Start Byte, Timer High Byte, Timer Low Byte, Checksum Byte] Example Commands: PC to DC Motor: [005 000] [020 001] DC Motor to PC: [128 0 205 179]

6 GUI Matlab’s GUI GUIDE Tool was used to build the GUI.

7 Training Data Acquisition A ‘Log Training Data’ button was embedded on the GUI. On the click of the button, the GUI will begin to send control commands that vary the PWM Duty Cycle between 60% to 0% and back and acquire the RPM data. All data was logged into a file called ‘MotorData0.mat’. The Neurocontroller was trained from this data.

8 Neurocontroller Demonstration

9 Conclusion An example SCADA system was built for the DC Motor circuit. This system sent control commands as well as acquired data. A Neurocontroller was trained from data acquired and then used to control the DC Motor hardware.


Download ppt "ECE 504: Supervisory Control & Critical Infrastructures University of Idaho Udhay Ravishankar."

Similar presentations


Ads by Google