10.07.2015 Views

Lab Proposal for Integrated Real-time and Control - DCS - UPC

Lab Proposal for Integrated Real-time and Control - DCS - UPC

Lab Proposal for Integrated Real-time and Control - DCS - UPC

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

732.521.510.50 0.5 1 1.5(a) Partial schedule(a) Partial schedule3.532.521.510.500 0.5 1 1.5 2(b) Faster multitasking closed loop response(b) Faster multitasking response3.532.521.510.500 0.5 1 1.5 2(c) Overshoot multitasking closed loopresponseFig. 8.Simulated multitasking RCRC responses <strong>and</strong> schedule.(c) Overshoot multitasking responseconcurrency <strong>and</strong> resource sharing with respect to controlper<strong>for</strong>mance in a multitasking embedded control system.L. Problem 12: Multitasking: design <strong>for</strong> eliminating or minimizingthe jitter problemRecent research literature has faced the problems introducedby jitter <strong>and</strong> many solutions have been proposed. Here, thesolution proposed by Lozoya et al. [31] has been adopted.The basic idea is to synchronize the operations within eachcontrol loop at the actuation instants. In this way, the <strong>time</strong>elapsed between consecutive actuation instants, named t k−1<strong>and</strong> t k , is exactly equal to the sampling period, h. Within this<strong>time</strong> interval, the system state is sampled, named x s,k , <strong>and</strong>the sampling <strong>time</strong> recorded, t s,k ∈ (t k−1 ,t k ). The differencebetween this <strong>time</strong> <strong>and</strong> the next actuation <strong>time</strong>τ k = t k −t s,k (4)is used to estimate the state at the actuation instant asˆx k = Φ(τ k )x s,k +Γ(τ k )u k−1 (5)Fig. 9.Implemented multitasking RCRC responses <strong>and</strong> schedule.where Φ(t) = e At <strong>and</strong> Γ(t) = ∫ t0 eAs dsB, being A <strong>and</strong> Bthe system <strong>and</strong> input matrices in (3), <strong>and</strong> u k−1 the previouscontrol signal. Then, making use of ˆx k , the control comm<strong>and</strong>is computed using the original control gain K asu k = Kˆx k . (6)The control comm<strong>and</strong> u k is held until the next actuationinstant. A control strategy using (4)-(6) relies on the <strong>time</strong>reference given by the actuation instants, if u k is applied to theplant by hardware interrupts, <strong>for</strong> example. In addition, samplesare not required to be periodic because τ k in (4) can vary ateach closed-loop operation.After implementing this strategy on the overshoot controllerin the multitasking system, Figure10 b) shows the result.Specifically, it shows the overshoot controller response whenexecuting in isolation (dark curve) <strong>and</strong> when executing in themultitasking system using the algorithm that eliminates jitters(grey curve).

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!