lecture 14: future research in networked control systems · synthetic biology: redesign the...

20
Lecture 14: Future Research in Networked Control Systems Richard M. Murray Caltech Control and Dynamical Systems 20 March 2009 Goals: Summarize (semi-) recent reports on future directions in control Discuss open areas of research in networked control systems Reading: http://www.cds.caltech.edu/~murray/cdspanel http://www.cds.caltech.edu/~murray/topten

Upload: others

Post on 26-Aug-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Lecture 14: Future Research in Networked Control Systems · Synthetic Biology: Redesign the Feedback Control System of a Bacteria ... 2.Verification and validation of large feedback

Lecture 14: Future Research in Networked Control Systems

Richard M. MurrayCaltech Control and Dynamical Systems

20 March 2009Goals:

• Summarize (semi-) recent reports on future directions in control• Discuss open areas of research in networked control systems

Reading:• http://www.cds.caltech.edu/~murray/cdspanel• http://www.cds.caltech.edu/~murray/topten

Page 2: Lecture 14: Future Research in Networked Control Systems · Synthetic Biology: Redesign the Feedback Control System of a Bacteria ... 2.Verification and validation of large feedback

Richard M. Murray, Caltech CDSEECI, Mar 09 2

Control in an Information Rich World1. Executive Summary

2. Overview of the Field• What is Control?• Control System Examples• Increasing Role of Information-

Based Systems• Opportunities and Challenges

3. Applications, Opportunities & Challenges• Aerospace and Transportation• Information and Networks• Robotics and Intelligent Machines• Biology and Medicine• Materials and Processing• Other Applications

4. Education and Outreach

5. Recommendations

SIAM, 2003

Page 3: Lecture 14: Future Research in Networked Control Systems · Synthetic Biology: Redesign the Feedback Control System of a Bacteria ... 2.Verification and validation of large feedback

Richard M. Murray, Caltech CDSEECI, Mar 09 3

Transportation and AerospaceThemes• Autonomy• Real-time, global, dynamic networks• Ultra-reliable embedded systems• Multi-disciplinary teams• Modeling for control

- more than just- analyzable accurate hybrid models

Technology AreasAir traffic control, vehicle managementMission/multi-vehicle managementCommand & control, human in the loopGround traffic control (air & ground)Automotive vehicle & engine controlSpace vehicle clustersAutonomous control for deep space

Page 4: Lecture 14: Future Research in Networked Control Systems · Synthetic Biology: Redesign the Feedback Control System of a Bacteria ... 2.Verification and validation of large feedback

Richard M. Murray, Caltech CDSEECI, Mar 09 4

Information and NetworksPervasive, ubiquitous, convergent networking• Heterogeneous networks merging communica-

tions, computing, transportation, finance, utilities, manufacturing, health, entertainment, ...

• Robustness/reliability are dominant challenges• Need “unified field theory” of communications,

computing, and control

Many applications• Congestion control on the internet• Power and transportation systems• Financial and economic systems• Quantum networks and computation• Biological regulatory networks and evolution• Ecosystems and global change

Control of the network

Control over the network

Page 5: Lecture 14: Future Research in Networked Control Systems · Synthetic Biology: Redesign the Feedback Control System of a Bacteria ... 2.Verification and validation of large feedback

Richard M. Murray, Caltech CDSEECI, Mar 09 5

Robotics and Intelligent MachinesWiener, 1948: Cybernetics• Goal: implement systems capable of

exhibiting highly flexible or ``intelligent'' responses to changing circumstances

DARPA, 2003: Grand Challenge• LA to Las Vegas (400 km) in 10 hours or less• Goal: implement systems capable of

exhibiting highly flexible or ``intelligent'' responses to changing circumstances

Page 6: Lecture 14: Future Research in Networked Control Systems · Synthetic Biology: Redesign the Feedback Control System of a Bacteria ... 2.Verification and validation of large feedback

Richard M. Murray, Caltech CDSEECI, Mar 09 6

Biology and Medicine“Systems Biology”• Many molecular mechanisms for biological organisms are

characterized• Missing piece: understanding of how network

interconnection creates robust behavior from uncertain components in an uncertain environment

• Transition from organisms as genes, to organisms as networks of integrated chemical, electrical, fluid, and structural elements

Key features of biological systems• Integrated control, communications, computing• Reconfigurable, distributed control, at molecular level

Design and analysis of biological systems• Apply engineering principles to biological systems• Systems level analysis is required• Processing and flow of information is key

Page 7: Lecture 14: Future Research in Networked Control Systems · Synthetic Biology: Redesign the Feedback Control System of a Bacteria ... 2.Verification and validation of large feedback

Richard M. Murray, Caltech CDSEECI, Mar 09 7

Materials and ProcessingMulti-scale, multi-disciplinary modeling and simulation• Coupling between macro-scale actuation and micro-scale

physics• Models suitable for control analysis and design

Increased use of in situ measurements• Many new sensors available that generate real-time data

about microstructural properties

Page 8: Lecture 14: Future Research in Networked Control Systems · Synthetic Biology: Redesign the Feedback Control System of a Bacteria ... 2.Verification and validation of large feedback

Richard M. Murray, Caltech CDSEECI, Mar 09 8

CDS Panel Recommendations1. Substantially increase research aimed at the integration of

control, computer science, communications, and networking.

2. Substantially increase research in control at higher levels of decision making, moving toward enterprise level systems.

3. Explore high-risk, long-range applications of control to areas such as nanotechnology, quantum mechanics, electromagnetics, biology, and environmental science.

4. Maintain support for theory and interaction with mathematics, broadly interpreted.

5. Invest in new approaches to education and outreach for the dissemination of control concepts and tools to non-traditional audiences.

Page 9: Lecture 14: Future Research in Networked Control Systems · Synthetic Biology: Redesign the Feedback Control System of a Bacteria ... 2.Verification and validation of large feedback

Richard M. Murray, Caltech CDSEECI, Mar 09 9

Grand ChallengesMixed Initiative Control of Semi-Autonomous Teams (RoboFlag)• Capture the flag with 10 robots, 2 people per team

• Limited sensing and communications; packet-based environment

Autonomous Driving in Urban Environments• 60 miles of driving in regular traffic, completely autonomously

• DGC07 demonstrated feasibility, but many open research problems remain

Synthetic Biology: Redesign the Feedback Control System of a Bacteria• Redesign “circuitry” to change behavior in response to external stimuli

• Applications: new medical treatments, in vivo sensing systems

Specification, Design and Verification of Distributed Embedded Systems• How do we specify complex behaviors for (hybrid/networked) systems• What design tools are required to satisfy performance specifications?• What analysis tools are required to verify safety specifications?

Page 10: Lecture 14: Future Research in Networked Control Systems · Synthetic Biology: Redesign the Feedback Control System of a Bacteria ... 2.Verification and validation of large feedback

Richard M. Murray, Caltech CDSTeam Caltech, Apr 07

Architecture, July 2007

10

Computing - 24 cores• 10 Core 2 Duo processors (cPCI)

• 1 IBM Quad Core AMD64

• 2 Intel P4 (legacy)Sensing• 8 LADAR, 8 cameras, 2 RADAR

• 2 pan/tilt units (roof + bumper)

• Applanix INS (dGPS, IMU, DMI)

Page 11: Lecture 14: Future Research in Networked Control Systems · Synthetic Biology: Redesign the Feedback Control System of a Bacteria ... 2.Verification and validation of large feedback

Richard M. Murray, Caltech CDSTeam Caltech, Apr 07

Sensing Bowtie

MapElement serves as “constraint that deconstrains”• Fix the structure of the elements in the world map• Left end: sensors → perceptors → MapElements• Right end: MapElements → environment descriptions → planners

Engineering principle: allow parallel development (people and time) + flexibility• Fixing the map element structure allows 15 people to work simultaneously• We can evolve/adapt our design over time, as we get closer to the race

11

FeatureClassificat’n

ElevationMapping

ObstacleDetect/Track

LADAR (6)

Stereo/RoadFinding

GimbaledSensor

World Map

Obstacle Map

Vehicles

MapElement

Page 12: Lecture 14: Future Research in Networked Control Systems · Synthetic Biology: Redesign the Feedback Control System of a Bacteria ... 2.Verification and validation of large feedback

Richard M. Murray, Caltech CDSTeam Caltech, Apr 07

Protocol stack based architecture• Planners uses directives/responses to communicate• Each layer is isolated from the ones above and below• Have 4 different path planners under development, two

different traffic planners. Rewriting the controllers as wespeak (literally)

Engineering principle: layered protocols isolate interactions• Define each layer to have a specific purpose; don’t rely

on knowledge of lower level details• Important to pass information back and forth through

the layers; a fairly in an actuator just generate a change in the path (and perhaps the mission)

• Higher layers (not shown) monitor health and can act as “hormones” (affecting multiple subsystems)

Planning Hourglass

12

PathPlanner

PathFollower

ActuationInterface

TrafficPlanner

MissionPlanner

Vehicle

Page 13: Lecture 14: Future Research in Networked Control Systems · Synthetic Biology: Redesign the Feedback Control System of a Bacteria ... 2.Verification and validation of large feedback

Richard M. Murray, Caltech CDSTeam Caltech, Jan 08

Logic Planner

13

OFF-ROADmode

DR,NP,S STO,NP,Sno collision-free path exists Alice has been stopped for long

enough and there is an obstaclein the vicinity of Alice

passing finished or obstacle disappeared

DR,P,S STO,P,Sno collision-free path exists

collision-free path is foundno collision-free path existsand the number of times Alicehas switched to the DR,P,Rstate near the current positionis less than some threshold

DR,PR,S

no collision-free path exists and thenumber of times Alice has switchedto the DR,P,R state near the currentposition is less than some threshold

collision-free path is foundSTO,PR,S

BACKUP

no collision-freepath exists andthere is morethan one lane

no collision-freepath exists andthere is onlyone lane

backup finishedor failed and thenumber of times Alicehas switched to BACKUPis less than some threshold

DR,P,SSTO,P,Sno collision-free path exists

collision-free path is foundcollision-free path is found

no collision-freepath exists

no collision-free path exists and the number of times Alice has switched to the DR,P,Rstate near the current position exceeds somethreshold and there is more than one lane

no collision-free path exists and the number of times Alice has switched to the DR,P,Rstate near the current position exceeds some threshold and there is only one lane

STO,A

backup finished or failed and thenumber of times Alice has switchedto BACKUP exceeds some threshold

DR,Ano collision-free path exists

no collision-free path exists

collision-free path is found

collision-free path is found

collision-free pathwith DR,A is found

DR,B STO,Bno collision-free path exists

collision-free path is found

no collision-free path existsand there is more than one lane

collision-free path with DR,P,R is found

no collision-free path existsand there is only one lane

passing finished or obstacle disappeared

FAILED PAUSED

ROAD REGION

Page 14: Lecture 14: Future Research in Networked Control Systems · Synthetic Biology: Redesign the Feedback Control System of a Bacteria ... 2.Verification and validation of large feedback

Richard M. Murray, Caltech CDSTeam Caltech, Apr 07

0 200 400 600 800 1000 1200 1400

No passing, no reversing

Passing, no reversing

Passing and reversing

Backup

Aggressive

Bare

Zone safety

Zone aggressive

Zone bare

Off−road safety

Off−road aggressive

Off−road bare

Intersection

U−turn

Paused

Time Elapsed (seconds)

61.6%

10.9%

0.5%

0.0%

0.0%

0.0%

8.5%

0.0%

0.0%

1.4%

0.0%

0.0%

16.7%

0.0%

0.4%

Road region

Zone region

Off−road

Mode Transitions

14

0 200 400 600 800 1000 1200 1400 1600 1800

No passing, no reversing

Passing, no reversing

Passing and reversing

Backup

Aggressive

Bare

Zone safety

Zone aggressive

Zone bare

Off−road safety

Off−road aggressive

Off−road bare

Intersection

U−turn

Paused

Time Elapsed (seconds)

51.2%

2.9%

13.7%

0.0%

4.2%

2.7%

0.0%

0.0%

0.0%

0.4%

0.0%

0.0%

21.3%

0.0%

3.6%

Road region

Zone region

Off−road

Page 15: Lecture 14: Future Research in Networked Control Systems · Synthetic Biology: Redesign the Feedback Control System of a Bacteria ... 2.Verification and validation of large feedback

Richard M. Murray, Caltech CDSEECI, Mar 09

GCDrive FSM Verification

Verification using temporal logic (Lamport’s TLC, TLA+)• Model follower, Actuation Interface, DARPA, accModule, transModule in TLC

• Shared variables: state, estop, acc, acc_command, trans, trans_command

Verify the following properties

• ((estop = DISABLE) ⇒ ◊(state = DISABLED ∧ acc = -1))

• ((estop = PAUSE) ⇒ ◊(state = PAUSED ∨ estop = DISABLE))

• ((estop = RUN) ⇒ ◊(state = RUNNING ∨ state = RESUMING))

• ((state = RESUMING) ⇒ ◊(state = RUNNING ∨ estop = DISABLE ∨ estop = PAUSE))

• ((state ∈ {DISABLE, PAUSED, RESUMING, SHIFTING} ⇒ acc = -1)

Page 16: Lecture 14: Future Research in Networked Control Systems · Synthetic Biology: Redesign the Feedback Control System of a Bacteria ... 2.Verification and validation of large feedback

Richard M. Murray, Caltech CDSTeam Caltech, Apr 07

DGC Example: Changing GearVerify that we can’t drive while shifting or drive in the wrong gear• Five component: follower Control, gcdrive Arbiter, gcdrive Control, actuators and network

• Construct temporal logic models for each component (including network)

16

followerControl

actuators

Actuator commandResponse

followerArbiter

gcdriveControl

gcdriveArbiter

Actuator commandResponse

followerTactics

gcdriveTactics

follower

gcdrive

Asynchronous operation• Notation: Messagemod,dir - message to/from

a module; Len = length of message queue

• Verify: follower has the right knowledge of the gear that we are currently in, or it commands a full brake.

- ((Len(TransRespf,r) = Len(Transf,s)) ∧ TransRespf,r[Len(TransRespf,r)] = COMPLETED ⇒ Transf = Trans))

- (Transf = Trans ∨ Accf,s = -1)

• Verify: at infinitely many instants, follower has the right knowledge of the gear that we are currently in, or we have hardware failure.

- ◊ (Transf = Trans = Transf,s[Len(Transf,s)] ∨ HW failure)

Page 17: Lecture 14: Future Research in Networked Control Systems · Synthetic Biology: Redesign the Feedback Control System of a Bacteria ... 2.Verification and validation of large feedback

Richard M. Murray, Caltech CDSEECI, Mar 09 17

Open Challenge: Verification of NCS DesignsMissing: V&V based design environment• Specification: how do we describe what

the (sub) systems must do?

• Design: how do we design protocols, interfaces, modules, controllers?

• Verification: how to do we make sure the design satisfies the specification

Alice example: safe vehicle operation in multithreaded environment• Vehicle operation controlled by net-

worked interface; responsible for fail safe operation

• Requires careful reasoning about message passing, external events, internal failures

• Asynchronous operations (message passing, failures, environment) complicate verification

• Experience shows this is where we are weakest

Approach: temporal logic + SOS• Formulate control goal using temporal

logic specs w/ continuous+ discrete vars

• Use Lyapunov functions to reason about dynamics and protocols

Results to date• Specification using linear temporal logic

• Initial verification using LTC software

• Working on incorporating dynamics via SOS certificates to bound possible motion

Page 18: Lecture 14: Future Research in Networked Control Systems · Synthetic Biology: Redesign the Feedback Control System of a Bacteria ... 2.Verification and validation of large feedback

Richard M. Murray, Caltech CDSEECI, Mar 09 18

Some Future Directions in Network Science1. Dynamics, spatial location and information propagation in

networks• Integrated communications, computation and control• Distributed representations and coordinated operations

2. Verification and validation of large feedback systems• Proof certificates for complex embedded SW sysems

3. Design and synthesis of networks and protocols• What should the network topology look like (and why)• When do I use TCP vs UDP vs broadcast

4. Increased rigor and mathematical structure1.How do we model & analyze Alice? MS Word? E. coli?

5. Abstracting common concepts across fields• Bio, Ec, CS …

6. Robustness and security of networked control systems

NRC, 2005

Page 19: Lecture 14: Future Research in Networked Control Systems · Synthetic Biology: Redesign the Feedback Control System of a Bacteria ... 2.Verification and validation of large feedback

Richard M. Murray, Caltech CDSEECI, Mar 09

Design of Biomolecular Feedback SystemsDesign the easy parts• Interconnection matrix • Time delay matrix

Design tools exist for pairwise combinations• Linear + uncertain =

robust control theory• Linear + nonlinear =

describing functions• Linear + network =

formation stabilization• Linear + delay =

Floquet analysis

19

Delay Matrix

P1(s)

Pn(s)

. . .

0

0

Nonlinear Coupling

N11(·) N12(·)

Nn1(·) Nn2(·)

......

!

System Dynamics

Unmodeled Dynamics

"

externaldisturbances

"

externaldisturbances

e!!1s

e!!ms

. . .

0

0

L

Interconnection Matrix

1

Open questions• What is the class of feedback compensators we can obtain using L and τ ?• How do we specify robustness and performance in highly stochastic settings?• Can feedback be used to design robust dynamics that implements useful functionality?

Page 20: Lecture 14: Future Research in Networked Control Systems · Synthetic Biology: Redesign the Feedback Control System of a Bacteria ... 2.Verification and validation of large feedback

Richard M. Murray, Caltech CDSEECI, Mar 09 20

Summary: Future Directions in ControlControl remains an exciting area, with many new applications Community needs to get involved in new applications (already happening!) Need to maintain support for control research by government, industry

Panel Recommendations1. Increase research aimed at the integration of control,

computer science, & communications

2. Increase research in control at higher levels of decision making, moving toward enterprise level systems

3. Explore high-risk, long-range applications of control in nanotechnology, quantum mechanics, electro-magnetics, biology, environmental science, etc

4. Maintain support for theory and interaction with mathematics

5. New approaches to education to disseminate con-trol concepts and tools to non-traditional audiences