network control systems using scheduling strategies dr. héctor benítez pérez iimas unam

46
Network Control Systems using Scheduling Strategies Dr. Héctor Benítez Pérez IIMAS UNAM

Post on 21-Dec-2015

215 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Network Control Systems using Scheduling Strategies Dr. Héctor Benítez Pérez IIMAS UNAM

Network Control Systems using Scheduling Strategies

Dr. Héctor Benítez Pérez

IIMAS UNAM

Page 2: Network Control Systems using Scheduling Strategies Dr. Héctor Benítez Pérez IIMAS UNAM

Objectives of NCS and Reconfigurable Control

To modify the control law based upon external factors such as Time Delays

Take into account time delays based upon the distributed system communication.

Being capable to keep an efficient response even though there is a fault and local time delays.

Page 3: Network Control Systems using Scheduling Strategies Dr. Héctor Benítez Pérez IIMAS UNAM

Objectives of NCS and Reconfigurable Control

To study dynamic schedulling in Real-Time considering how to manage processes, their communication and the related reconfiguration.

To study the dynamic effects of the computer network onto the control law.

Page 4: Network Control Systems using Scheduling Strategies Dr. Héctor Benítez Pérez IIMAS UNAM

Areas of Study

To Model Real-Time Systems

To model stochastic behaviour using TKS

To study the iteraction amongst dynamic systems and complex computer systems.

Page 5: Network Control Systems using Scheduling Strategies Dr. Héctor Benítez Pérez IIMAS UNAM

Classic Configuration

"Smart" Sensor

"Smart"Actuator

ControllerPlant"Smart" Sensor

Fault ToleranceModule

External Fault Tolerance

Module

Page 6: Network Control Systems using Scheduling Strategies Dr. Héctor Benítez Pérez IIMAS UNAM

Classic approximation based upon Queues

Messages Queue

Sensors Plant

Messages Queue

Controller

Actuators

Time Delays associated to perturbated external

processes.

Page 7: Network Control Systems using Scheduling Strategies Dr. Héctor Benítez Pérez IIMAS UNAM

Codesign Strategy

SCHEDULLING EVALUATION

StabilityTest

Time DelaysEvaluation

Valid Scheduler

Reconfiguration Proposal

Yes

NoYesNo

Scheduler Proposal

External Event

In here Reconfiguration

takes place

Page 8: Network Control Systems using Scheduling Strategies Dr. Héctor Benítez Pérez IIMAS UNAM

What is the studied iteraction

Reconfiguration

Request Plan

Validation Plan

Valid Plan

Database

Bus Controller

Node

Control Law

Node

Selection of the

Related Control

Law

Database

Control Laws

Computer Network

(Sensor Network)

Yes

(If the Plan

is valid

The related Control Law

is chosen)

No

(Rejection of the

proposed Plan)

First Reconfiguration Stage

Second Reconfiguration Stage

External Factor to requestreconfiguration

Page 9: Network Control Systems using Scheduling Strategies Dr. Héctor Benítez Pérez IIMAS UNAM

Time Delays Managment

ts

tc

ta

Sender/ Sensor

Receiver/Actuator

Controller

Time

Time

Time

Time Spent by QueuingInter-Communication

tqa

tqs

tc

T jT j+1

Lost Queue

Page 10: Network Control Systems using Scheduling Strategies Dr. Héctor Benítez Pérez IIMAS UNAM

Partial adds of transmission-times

ts

tc

ta

Sender/ Sensor

Receiver/Actuator

Controller

Time

Time

Time

Time Spent by QueuingInter-Communication

tqa

tqs

tqc

qaqccca

qsssc

tttt

ttt

Page 11: Network Control Systems using Scheduling Strategies Dr. Héctor Benítez Pérez IIMAS UNAM

Time Delays Management considering local faults

Time

Time

Time

Time

TimeControlAlgorithm

ControlAlgorithm

DecisionMaker

Sensor I

Sensor III

Sensor II

Page 12: Network Control Systems using Scheduling Strategies Dr. Héctor Benítez Pérez IIMAS UNAM

Time Managment considering different scenarios

Sensor 1

Sensor 3

Sensor 2

Not expected Process

Not expected Process

Fault Module

Actuator

Control

Actuator

Agente 3

Agente 2

Agente 1

Page 13: Network Control Systems using Scheduling Strategies Dr. Héctor Benítez Pérez IIMAS UNAM

…Considering several communication stages

Communiaction Network

Ope

ratin

g S

yste

ms

Sof

twar

e A

pplic

atio

n

Deadline Deadline Deadline

Sensor 1

Actuator

Controller

Sensor 3

Sensor 2

ActuadorActuator

Involved Processes onto

the Event

Page 14: Network Control Systems using Scheduling Strategies Dr. Héctor Benítez Pérez IIMAS UNAM

Partial Time Adding as the definition of particular scenarios

sensors

controllers

actuators

Total time Consumed by system

TimeT

jtt

Page 15: Network Control Systems using Scheduling Strategies Dr. Héctor Benítez Pérez IIMAS UNAM

Where the delays come from?From Process of Concurrency managment

11

N

i i

ii

Pcc

U

Where Ci is the processor consumed time

ic It is the uncertainty associated to the consumed time

Page 16: Network Control Systems using Scheduling Strategies Dr. Héctor Benítez Pérez IIMAS UNAM

Where the delays come from?From Process of Concurrency managment

Schedulling distributed processes using Neural Networks such as ART2A.

Processes schedulling based upon the worst case scenario under dynamic conditions.

Process managment optimization considering the communication period modification

Page 17: Network Control Systems using Scheduling Strategies Dr. Héctor Benítez Pérez IIMAS UNAM

It is of particular interes to manages the computer network system through

Communication Frecuencies

Page 18: Network Control Systems using Scheduling Strategies Dr. Héctor Benítez Pérez IIMAS UNAM

Fuzzy Approximation to the plant

kuBkxA1kxthenisAandxisAkifx:Rjjj22j11j

kxAw

kwkv

iijji

n

ijij

1

m

ii

m

jjjj

kv

kuBkxAkv

kx

1

11

Page 19: Network Control Systems using Scheduling Strategies Dr. Héctor Benítez Pérez IIMAS UNAM

The Related approximation to the state space representation

The discret plant considering time delays:

BdTAB

ikuBkAxkx

ki

ki

t

t

ki

l

i

ki

1

)exp(

10

where l=1 due to maximum time delay is one.

Page 20: Network Control Systems using Scheduling Strategies Dr. Héctor Benítez Pérez IIMAS UNAM

The related approximation amongst time delays and faults

N

1i

M

1j

τ

τ

τta

ii

p i

1ji

j

p

dτeBB

)()( 1iii

Tii pwQSRSQSu

Control design following a predictive approach

Page 21: Network Control Systems using Scheduling Strategies Dr. Héctor Benítez Pérez IIMAS UNAM

The recursive horizont development

,

SSS

SSS

SS=S

cN2NpN2Np

N1NpN

N1Np

p

Pp

p

1

11

1

2

12

10

dj nj=s 0y d

Na

=i

Nb

=i

piijij n>jB+Sa=s

1 1

Na

=j

Nb

=jd

pjjjiji c+i+njkuBb+pa=p

1 1

Page 22: Network Control Systems using Scheduling Strategies Dr. Héctor Benítez Pérez IIMAS UNAM

Time Delays Diagram

l

k Na Nbnd

time

Sampling Period k

Horizonts Na y Nb

Page 23: Network Control Systems using Scheduling Strategies Dr. Héctor Benítez Pérez IIMAS UNAM

As in terms of Feedback Control Loop

N

=ii

N

=iikikik

Tiki

)u,(yΩ

)p(wQSR+SQS)u,(yΩ=ku

1'

1,,

1

,,'

N

=ii

N

=iN

=ii

N

=iikikik

Tiki

pii

)u,(yD

)u,(yΩ

)p(wQSR+SQS)u,(yΩB+kxa)u,(yD

=+kx

i

1'

1

1'

1,,

1

,,'

'

1

Page 24: Network Control Systems using Scheduling Strategies Dr. Héctor Benítez Pérez IIMAS UNAM

Following an Optimization Procedure to tune the related Control Law

AB N

=kkk

N

=kk

pk uδ+)Cx(krefB=J

1

2

1

21

2

1

1'

1

1

'

1

2

1'

1' 22

Ap i N

=kN

=ii

N

=ikkk

Tki

k

N

=kN

=ii

N

=i

pii

kpk

)u,(yΩ

)p(wQSR+SQS)u,(yΩδ+

)u,(yD

kuB+kxa)u,(yDCrefB=J

Page 25: Network Control Systems using Scheduling Strategies Dr. Héctor Benítez Pérez IIMAS UNAM

The related Numeric Optimization

BN

=kk

pkp

k

)Cx(krefB=J

1

12B

AN

=kkk

k

uδ=δJ

1

2

N

=ii

N

=iiN

=kN

=ii

N

=i

pii

kpk

i )u,(yD

)x(k)u,(yD

)u,(yD

kuB+kxa)u,(yDCrefBC=

aJ p i

1'

1'

1

1'

1' 222

2

Page 26: Network Control Systems using Scheduling Strategies Dr. Héctor Benítez Pérez IIMAS UNAM

….The related Numeric optimization

N

=ii

N

=kN

=ii

N

=i

pii

kp

p

)u,(yD

)Cu(k

)u,(yD

kuB+kxa)u,(yDCrefB=

B

J p i

k

i

1'

1

1'

1' 2

222

N

=ii

N

=i

piN

=kk

p

i )u,(yD

kNxkuB+kxakCxrefBC=

D

Jip

k

1'

1

1

)1(22)1(2

AN

=kN

=ii

N

=ikkk

Tk

ki )u,(yΩ

kNu)p(wQSR+SQSkuδ=

J

1

1'

1

1)(

)(2

Page 27: Network Control Systems using Scheduling Strategies Dr. Héctor Benítez Pérez IIMAS UNAM

Where the related optimized parameters are…

pN

=j

N

k

i

σ

cu

σ

cy

σ

cy

σ

cy=

c

D p

kj 1,

2

uij

uij'

2

yij

yij

2

yik

yik

12y

ik

yik

yij

expexp2

pN

=j

N

k

i

σ

cu

σ

cy

σ

cu

σ

cu=

c

D p

kj 1,

2

uij

uij'

2

yij

yij

2

uik

uik'

12u

ik

uik'

uij

expexp2

Page 28: Network Control Systems using Scheduling Strategies Dr. Héctor Benítez Pérez IIMAS UNAM

Cases of Study

AIRPLANE

THREE BANDS

MAGNETIC LEVITATOR

HELICOPTER

Page 29: Network Control Systems using Scheduling Strategies Dr. Héctor Benítez Pérez IIMAS UNAM

System Simmulation considering aerodynamic modelling

Data Data Data

Satellite dish

Page 30: Network Control Systems using Scheduling Strategies Dr. Héctor Benítez Pérez IIMAS UNAM

Three Bands Case Study

MC

MC

MC

MCMC

MCMC

MC

MCMC

MCMC

MCMC

MCMC

Controller Bus Controller

Conveyor belt 1

Conveyor belt 2

Conveyor belt 3

s11

s12 s1

3

s110

s21s2

2 s23

s210

s310

s31 s3

2s3

3

Page 31: Network Control Systems using Scheduling Strategies Dr. Héctor Benítez Pérez IIMAS UNAM

Magnetic Levitation Case Study

Page 32: Network Control Systems using Scheduling Strategies Dr. Héctor Benítez Pérez IIMAS UNAM

Magnetic Levitation Case Study

Page 33: Network Control Systems using Scheduling Strategies Dr. Héctor Benítez Pérez IIMAS UNAM

Magnetic Levitation Case Study

Page 34: Network Control Systems using Scheduling Strategies Dr. Héctor Benítez Pérez IIMAS UNAM

Processes management in closed distributed systems enviroment

Page 35: Network Control Systems using Scheduling Strategies Dr. Héctor Benítez Pérez IIMAS UNAM

Agent Integration

Page 36: Network Control Systems using Scheduling Strategies Dr. Héctor Benítez Pérez IIMAS UNAM

The use of schedulling to define process behaviour

Page 37: Network Control Systems using Scheduling Strategies Dr. Héctor Benítez Pérez IIMAS UNAM

Preliminar Results

Modifying conditions on the scheduling algorithmRelated to based period and the increment of possible uncertainties

Page 38: Network Control Systems using Scheduling Strategies Dr. Héctor Benítez Pérez IIMAS UNAM

Preliminar Results from the control Point of View

Page 39: Network Control Systems using Scheduling Strategies Dr. Héctor Benítez Pérez IIMAS UNAM

Multi-Variable Case StudyHelicopter

Page 40: Network Control Systems using Scheduling Strategies Dr. Héctor Benítez Pérez IIMAS UNAM

Preliminar Results from the control Point of View

Page 41: Network Control Systems using Scheduling Strategies Dr. Héctor Benítez Pérez IIMAS UNAM

Preliminar Results

Page 42: Network Control Systems using Scheduling Strategies Dr. Héctor Benítez Pérez IIMAS UNAM

The Designed Algorithms

Different models based upon schedulling algorithm following an optimization procedure.

Designing a control strategy following bounded time delays.

Page 43: Network Control Systems using Scheduling Strategies Dr. Héctor Benítez Pérez IIMAS UNAM

Conclusions

The Reconfiguration as a strategy to keep certain efficiency even in the case of a fault scenario.

To understand time delays as result of reconfiguration procedure.

Page 44: Network Control Systems using Scheduling Strategies Dr. Héctor Benítez Pérez IIMAS UNAM

Acknowledgments

Dr. Jorge Ortega Arjona Miguel Palomera Pérez Oscar Alejandro Esquivel Paul Erick Mendez Monroy Dr. Antonio Menendez Leonel de Cervantes Dr. Pedro Quiñones Reyes Magali Arellano Angel Garcìa Zavala William Sanchez Dr. Eduardo Pérez

Page 45: Network Control Systems using Scheduling Strategies Dr. Héctor Benítez Pérez IIMAS UNAM
Page 46: Network Control Systems using Scheduling Strategies Dr. Héctor Benítez Pérez IIMAS UNAM

The use of schedulling to define process behaviour