SlideShare a Scribd company logo
1 of 25
Self-training Neural Net
for
Process control
Ken Stanton
Clint Perdue
Outline
 Design procedure – baby steps
 Pseudo code
 Fuzzy rules
 Simulink / matlab interaction
 Engine model
• System states
 Driving schedule
 NNet size and setup
 Compare to original
• RPM fall ringing, overrev, stall
 Calculations of original gains vs. final gains (avg)
 80% of time in MATLAB design
 Show non-linearity – throttle
 Engine load constant?
 Relationship to original presentation – diagrams, theory, approach, etc.
Fuzzy tuning rule set.
∆ Kp
∆ Ki
∆ Kd
+
0
-
+
0
-
+
0
-
Limit
0 t
Limit
0 t
Limit
0 20 0 ∆ ref 0 10 0 2
Trise Tsetl %OV ZCP
+ ZCN
MFE ZCP
- ZCN
ZCP+ZCN>1
Else
Fuzzy tuning - processing.
∆ Kp
∆ Ki
∆ Kd
+
0
-
+
0
-
+
0
-
Limit
0 t
Limit
0 t
Limit
0 20 0 ∆ ref 0 10 0 2
Trise Tsetl %OV ZCP
+ ZCN
MFE ZCP
- ZCN
ZCP+ZCN>1
Else
Σ
Σ
Σ
Phase 1, suggest new gains
from fuzzy rules’ evaluation of
performance.
Input PID Plant
gains(t+1)
Fuzzy
observer
Test of fuzzy tuning rules
against a second order system.
Phase 2, train N-Net to predict
proper gains.
Input PID Plant
gains (t+1)
Fuzzy
observer
N-Net
Control
gains (t)
Engine Model
Engine Model - Controller
Engine Model – Non-linearities
Initial System Responses
Early Controller
City Driving Schedule
City Driving Schedule
0
10
20
30
40
50
60
1 53 105 157 209 261 313 365 417 469 521 573 625 677 729 781 833 885 937 989 1041 1093 1145 1197 1249 1301 1353
Time (sec)
VehicleSpeed(mph)
City Driving Baseline Test
City Driving Baseline – Close Up
1
City Driving Baseline – Close up
2
Training Progress Illustration –
First exposure to system
Training Progress – Close up 1
Training Progress – Close up 2
Simulation with trained NNet
Simulation with trained NNet –
Close up 1
Simulation with trained NNet –
Close up 2
Trained Neural Net – PID maps
P gains
Trained Neural Net – PID maps
I gains
Trained Neural Net – PID maps
D gains

More Related Content

Similar to NNet Final Project

Discrete Nonlinear Optimal Control of S/C Formations Near The L1 and L2 poi...
  Discrete Nonlinear Optimal Control of S/C Formations Near The L1 and L2 poi...  Discrete Nonlinear Optimal Control of S/C Formations Near The L1 and L2 poi...
Discrete Nonlinear Optimal Control of S/C Formations Near The L1 and L2 poi...Belinda Marchand
 
Speed control of dc motor using fuzzy pid controller-mid term progress report
Speed control of dc motor using fuzzy pid controller-mid term progress reportSpeed control of dc motor using fuzzy pid controller-mid term progress report
Speed control of dc motor using fuzzy pid controller-mid term progress reportBinod kafle
 
Techniques in Deep Learning
Techniques in Deep LearningTechniques in Deep Learning
Techniques in Deep LearningSourya Dey
 
design-compiler.pdf
design-compiler.pdfdesign-compiler.pdf
design-compiler.pdfFrangoCamila
 
Control tutorials for matlab and simulink introduction pid controller desig...
Control tutorials for matlab and simulink   introduction pid controller desig...Control tutorials for matlab and simulink   introduction pid controller desig...
Control tutorials for matlab and simulink introduction pid controller desig...ssuser27c61e
 
Time response of first order systems and second order systems
Time response of first order systems and second order systemsTime response of first order systems and second order systems
Time response of first order systems and second order systemsNANDHAKUMARA10
 
Iaetsd position control of servo systems using pid
Iaetsd position control of servo systems using pidIaetsd position control of servo systems using pid
Iaetsd position control of servo systems using pidIaetsd Iaetsd
 
Static Analysis and Code Optimizations in Glasgow Haskell Compiler
Static Analysis and Code Optimizations in Glasgow Haskell CompilerStatic Analysis and Code Optimizations in Glasgow Haskell Compiler
Static Analysis and Code Optimizations in Glasgow Haskell CompilerIlya Sergey
 
Automotive electrical and electromechanical system design
Automotive electrical and electromechanical system designAutomotive electrical and electromechanical system design
Automotive electrical and electromechanical system designSayed Abbas
 
Reducing the time of heuristic algorithms for the Symmetric TSP
Reducing the time of heuristic algorithms for the Symmetric TSPReducing the time of heuristic algorithms for the Symmetric TSP
Reducing the time of heuristic algorithms for the Symmetric TSPgpolo
 
Model Predictive Control For Integrating Processes
Model Predictive Control For Integrating ProcessesModel Predictive Control For Integrating Processes
Model Predictive Control For Integrating ProcessesEmerson Exchange
 
Adapting to Adaptive Plans on 12c
Adapting to Adaptive Plans on 12cAdapting to Adaptive Plans on 12c
Adapting to Adaptive Plans on 12cMauro Pagano
 
CI L11 Optimization 3 GlobalOptimization.pdf
CI L11 Optimization 3 GlobalOptimization.pdfCI L11 Optimization 3 GlobalOptimization.pdf
CI L11 Optimization 3 GlobalOptimization.pdfSantiagoGarridoBulln
 
QX Simulator and quantum programming - 2020-04-28
QX Simulator and quantum programming - 2020-04-28QX Simulator and quantum programming - 2020-04-28
QX Simulator and quantum programming - 2020-04-28Aritra Sarkar
 

Similar to NNet Final Project (20)

1577320.ppt
1577320.ppt1577320.ppt
1577320.ppt
 
Shors'algorithm simplified.pptx
Shors'algorithm simplified.pptxShors'algorithm simplified.pptx
Shors'algorithm simplified.pptx
 
Discrete Nonlinear Optimal Control of S/C Formations Near The L1 and L2 poi...
  Discrete Nonlinear Optimal Control of S/C Formations Near The L1 and L2 poi...  Discrete Nonlinear Optimal Control of S/C Formations Near The L1 and L2 poi...
Discrete Nonlinear Optimal Control of S/C Formations Near The L1 and L2 poi...
 
P1111214158
P1111214158P1111214158
P1111214158
 
Chapter 7 1
Chapter 7 1Chapter 7 1
Chapter 7 1
 
Speed control of dc motor using fuzzy pid controller-mid term progress report
Speed control of dc motor using fuzzy pid controller-mid term progress reportSpeed control of dc motor using fuzzy pid controller-mid term progress report
Speed control of dc motor using fuzzy pid controller-mid term progress report
 
Techniques in Deep Learning
Techniques in Deep LearningTechniques in Deep Learning
Techniques in Deep Learning
 
design-compiler.pdf
design-compiler.pdfdesign-compiler.pdf
design-compiler.pdf
 
Control tutorials for matlab and simulink introduction pid controller desig...
Control tutorials for matlab and simulink   introduction pid controller desig...Control tutorials for matlab and simulink   introduction pid controller desig...
Control tutorials for matlab and simulink introduction pid controller desig...
 
Time response of first order systems and second order systems
Time response of first order systems and second order systemsTime response of first order systems and second order systems
Time response of first order systems and second order systems
 
Iaetsd position control of servo systems using pid
Iaetsd position control of servo systems using pidIaetsd position control of servo systems using pid
Iaetsd position control of servo systems using pid
 
Static Analysis and Code Optimizations in Glasgow Haskell Compiler
Static Analysis and Code Optimizations in Glasgow Haskell CompilerStatic Analysis and Code Optimizations in Glasgow Haskell Compiler
Static Analysis and Code Optimizations in Glasgow Haskell Compiler
 
Automotive electrical and electromechanical system design
Automotive electrical and electromechanical system designAutomotive electrical and electromechanical system design
Automotive electrical and electromechanical system design
 
Reducing the time of heuristic algorithms for the Symmetric TSP
Reducing the time of heuristic algorithms for the Symmetric TSPReducing the time of heuristic algorithms for the Symmetric TSP
Reducing the time of heuristic algorithms for the Symmetric TSP
 
Model Predictive Control For Integrating Processes
Model Predictive Control For Integrating ProcessesModel Predictive Control For Integrating Processes
Model Predictive Control For Integrating Processes
 
Lead-lag controller
Lead-lag controllerLead-lag controller
Lead-lag controller
 
Adapting to Adaptive Plans on 12c
Adapting to Adaptive Plans on 12cAdapting to Adaptive Plans on 12c
Adapting to Adaptive Plans on 12c
 
PID Tuning
PID TuningPID Tuning
PID Tuning
 
CI L11 Optimization 3 GlobalOptimization.pdf
CI L11 Optimization 3 GlobalOptimization.pdfCI L11 Optimization 3 GlobalOptimization.pdf
CI L11 Optimization 3 GlobalOptimization.pdf
 
QX Simulator and quantum programming - 2020-04-28
QX Simulator and quantum programming - 2020-04-28QX Simulator and quantum programming - 2020-04-28
QX Simulator and quantum programming - 2020-04-28
 

NNet Final Project

Editor's Notes

  1. The fuzzy rule set: Feedback is analyzed in terms of rise time, settling time, percent overshoot, Mean Final Error, and whether it is ringing or sawtoothed.
  2. Suggested changes are summed and scaled to yield crisp suggested gain changes.
  3. First we begin by observing the plant and suggest better gains for the next time we face this situation.
  4. This is a test of applying the gain rules to a system for several iterations, showing the final response. The search is reset when it stalls to avoid getting stuck in a sub-optimal local minimum. Note that the bias is toward stability over performance.
  5. Use the N-Net to choose controller gains for the current input based on past training from the observer.
  6. Conventional PI control with fixed gains -- response to our test input series.