Feedback-Feedforward Scheduling of Control Tasks

Size: px
Start display at page:

Download "Feedback-Feedforward Scheduling of Control Tasks"

Transcription

1 Real-Time Sysems (Special Issue on Conrol-Theoreical Approaches o Real-Time Compuing). To appear in Feedback-Feedforward Scheduling of Conrol Tasks Anon Cervin, Johan Eker, Bo Bernhardsson, Karl-Erik Årzén Deparmen of Auomaic Conrol Lund Insiue of Technology Box 8, SE Lund, Sweden anon@conrol.lh.se Absrac A scheduling archiecure for real-ime conrol asks is proposed. The scheduler uses feedback from execuion-ime measuremens and feedforward from workload changes o adjus he sampling periods of he conrol asks so ha he combined performance of he conrollers is opimized. The performance of each conroller is described by a cos funcion. Based on he soluion o he opimal resource allocaion problem, explici soluions are derived for linear and quadraic approximaions of he cos funcions. I is shown ha a linear rescaling of he nominal sampling frequencies is opimal for boh of hese approximaions. An exensive invered pendulum example is presened, where he performance obained wih open-loop, feedback, combined feedback and feedforward scheduling, and earlies-deadline firs scheduling are compared. The performance under earliesdeadline firs scheduling is explained by sudying he behavior of periodic asks under overload condiions. I is shown ha he average values of he sampling periods equal he nominal periods, rescaled by he processor uilizaion.. Inroducion There is currenly a rend owards more flexible realime conrol sysems. Combining scheduling heory and conrol heory opens up he possibiliy o achieve higher CPU-resource uilizaion and beer conrol performance. To obain he bes resuls, co-design of he scheduler and he conrollers is necessary. Conrol asks are generally viewed by he scheduling communiy as hard real-ime asks wih fixed sampling periods and known wors-case execuion imes (WCETs). Upon closer inspecion, neiher of hese assumpions need necessarily be rue. For insance, many conrol algorihms are quie robus agains variaions in sampling period and inpuoupu laency. In some siuaions i is also possible o le he conroller acively compensae for he variaions by, e.g., recalculaing he conroller parameers. Hence, he iming nondeerminism can be viewed as a disurbance or uncerainy affecing he conrol loop. Conrollers can also be designed o swich beween differen modes wih differen execuion imes and/or differen sampling periods. An on-line scheduler ha uses feedback o dynamically adjus he conrol ask aribues in order o opimize he global conrol performance can be inerpreed as a conroller in iself, i.e., as a feedback scheduler. The conrol performance, or Qualiy-of-Conrol (QoC), can, hence, be inerpreed as a qualiy-ofservice measure. In his work, we presen a feedback scheduler for conrol asks ha aemps o keep he CPU uilizaion a a high level, avoid overload, and disribue he compuing resources among he conrol asks so ha he oal conrol performance is opimized. While we wan o keep he number of missed deadlines as low as possible, conrol performance is our primary objecive. Thus, conrol asks, in our view, fall in a caegory somewhere beween hard and sof real-ime asks. The known-wcet assumpion is relaxed by he use of feedback from execuionime measuremens. We also inroduce feedforward o furher improve he regulaion of he uilizaion. The feedforward acion can be inerpreed as an admission conroller. The aricle is based on he feedback scheduling approach in [Cervin and Eker, 2000]. There he problem of scheduling a se of hybrid conrol asks was sudied. The hybrid conrollers swiched beween differen modes wih differen execuion-ime characerisics. The feedback scheduler adjused he conroller ask periods hrough a simple linear rescaling wihou any direc connecion o conrol performance opimizaion. In his paper we insead sudy he problem of scheduling a se of linear conroller asks. The performance of each conroller is described by a cos funcion. By saring and sopping he differen conrol asks he CPU load is varied. The sampling periods are adjused so ha he oal cos of he conrollers is minimized. In [Eker e al., 2000] a feedback scheduler for he special case of linear-quadraic (LQ) conrol asks

2 was presened. An LQ-conroller is a linear saefeedback conroller ha is designed o minimize a quadraic cos crierion. Formulas for he LQ cos funcion and is derivaive wih respec o he sampling period were given. The scheduling problem was formulaed as a recursive opimizaion problem based on he exac formulas for he derivaives of he cos funcions. Due o he high compuaional coss involved, an approximae version of he scheduler was also developed. The cos funcions were approximaed by quadraic funcions of he sampling periods, and explici expressions for he opimal sampling periods were derived. Tha resul is uilized in his paper. Furhermore, we allow for a se of general linear conrollers and also sudy he resuls obained when he cos funcions are approximaed by linear funcions of he sampling periods. On he implemenaion side, boh prioriy-based and earliesdeadline-firs (EDF) based approaches are sudied. A new resul concerning he properies of EDF scheduling for periodic conrol asks during overload condiions is presened.. Ouline of he paper Addiional moivaion and a survey of relaed work is conained in Secion 2. The CPU-resource allocaion problem for a se of conrol asks is reaed in Secion 3. The srucure of he proposed scheduling archiecure is described in Secion 4. The feedback scheduling example is presened in Secion 5. A comparison is made beween open-loop scheduling, feedback-based scheduling and combined feedback and feedforward scheduling. Also, ordinary earliesdeadline-firs scheduling is sudied. A new resul concerning he properies of EDF schedules for periodic asks during overload condiions is presened in Secion 6. The conclusions are given in Secion Background Mos conrol sysems are embedded sysems where he compuer is a componen in a larger engineering sysem. The conrol sysem is ofen implemened on a microprocessor using a real-ime kernel or a real-ime operaing sysem. The real-ime kernel or he operaing sysem uses muliprogramming o muliplex he execuion of he asks on he CPU. The CPU ime, hence, consiues a shared resource which he asks compee for. To guaranee ha he ime requiremens and ime consrains of he individual asks are all me, i is necessary o schedule he usage of he shared resource. In radiional hard real-ime compuing models, i is assumed ha conrol asks fi he simple ask model, i.e., he asks are periodic, or can be ransformed o periodic asks, wih a fixed period, a known worscase bound on he execuion ime (WCET), anda hard deadline. The fixed-period assumpion of he simple ask model has also been widely adoped by he conrol communiy and has, e.g., resuled in he developmen of he sampled compuer-conrol heory wih is assumpion on deerminisic, equi-disan sampling. Upon closer inspecion i is quie clear ha many of he assumpions of he simple model are oo resricive. Firs, he assumpions do no allow us o use low-cos general purpose hardware and off-heshelf operaing sysems, which in general are no able o give any guaranees on deerminism. These sysems are, ypically, designed o achieve good average performance raher han guaraneed wors-case performance. They ofen inroduce significan nondeerminism in ask scheduling. For compuaioninensive high-end applicaions, he large variabiliy in execuion ime caused by modern hardware archiecure also becomes visible. The effec of his on he conrol loop is jier in sampling period and conrol delay (inpu-oupu laency). In order o mainain good conrol performance i is imporan o compensae on-line for he variaions. A requiremen for his is ha he necessary iming informaion is provided by he real-ime kernel. The assumpions of he simple model are also overly resricive wih respec o he characerisics of many conrol loops. Many conrol loops are no periodic, or hey may swich beween a number of differen fixed sampling periods. Conrol loop deadlines are no always hard. On he conrary, many conrollers are quie robus owards variaions in sampling period and response ime. Hence, i is quesionable wheher i is necessary o model hem as hard deadline asks. I is also in many cases possible o compensae on-line for he variaions by, e.g., recompuing he conroller parameers. Obaining an accurae value for he WCET is generally a difficul problem. Measuring WCET always implies he risk of underesimaion, whereas analyical execuion ime analysis ools are sill rare. An alernaive way may be o insead measure he acual execuion ime every ask invocaion and o adjus he ask parameers accordingly. Finally, i is also possible o consider conrol sysems ha are able o do a radeoff beween he available compuaion ime, i.e., how long he conroller may spend calculaing he new conrol signal, and he conrol loop performance. On-line ask aribue adjusmen mechanisms can in cerain siuaions be viewed as conrollers in hemselves. Using feedback from on-line measuremens of, e.g., acual execuion imes, he resource uilizaion of he differen asks is changed. If he asks are conrol asks, feedback from he conrol performance can also be used o, e.g., opimize conrol performance under given resource uilizaion

3 consrains. The feedback scheduler hen solves an opimizaion problem o perform he ask aribue adjusmen. The use of on-line opimizaion as a way of realizing feedback conrol is quie common in advanced conrol sysems. One example is model predicive conrol (MPC) where a convex opimizaion problem is solved in each sample. 2. Relaed Work The relaed work falls ino hree caegories: inegraed conrol and real-ime sysem design, qualiyof-service approaches in real-ime sysems, and flexible and adapive real-ime sysem algorihms and archiecures. In [Seo e al., 996], sampling period selecion for a se of conrol asks is considered. The performance of a ask is given as funcion of is sampling frequency, and an opimizaion problem is solved o find a se of opimal ask periods. Co-design of real-ime conrol sysems is also considered in [Ryu e al., 997], where he performance parameers are expressed as funcions of he sampling periods and he inpuoupu laencies. [Shin and Meissner, 999] deals wih on-line rescaling and relocaion of conrol asks in a muli-processor sysem. The second area of relaed work is on qualiy-ofservice (QoS) aware real-ime sofware, where a sysem s resource allocaion is adjused on-line in order o maximize he performance in some respec. In [Li and Nahrsed, 998] a general framework is proposed for conrolling he applicaion requess for sysem resources using he amoun of allocaed resources for feedback. I is shown ha a PID (proporional-inegral-derivaive) conroller can be used o bound he resource usage in a sable and fair way. In [Abeni and Buazzo, 999] ask models suiable for mulimedia applicaions are defined. Two of hese use PI conrol feedback o adjus he reserved fracion of CPU bandwidh. The resource allocaion scheme Q-RAM is presened in [Rajkumar e al., 997]. Several asks are compeing for finie resources, and each ask is associaed wih a uiliy value, which is a funcion of he assigned resources. The sysem disribues he resources beween he asks o maximize he oal uiliy of he sysem. In [Abdelzaher e al., 997] a QoS renegoiaion scheme is proposed as a way o allow graceful degradaion in cases of overload, failures or violaion of pre-runime assumpions. The mechanism permis cliens o express, in heir service requess, a range of QoS levels hey can accep from he provider, and he perceived uiliy of receiving service a each of hese levels. The approach is demonsraed on an auomaed fligh-conrol sysem. Conrol-heoreical approaches for QoS adapaion are also presened in [Abdelzaher and Shin, 999]. The hird area relaes o he wealh of flexible scheduling algorihms available. An ineresing alernaive o linear ask rescaling is given in [Buazzo e al., 998], where an elasic ask model for periodic asks is presened. The relaive sensiiviy of asks o rescaling are expressed in erms of elasiciy coefficiens. Schedulabiliy analysis of he sysem under EDF scheduling is given. Task aribue adjusmen sraegies are also presened in [Nakajima, 998; Kuo and Mok, 99; Kosugi e al., 994; Nakajima and Tezuka, 994; Lee e al., 996]. The idea of using feedback in scheduling has o some exen been used previously in general purpose operaing sysems in he form of muli-level feedback queue scheduling [Kleinrock, 970; Blevins and Ramamoorhy, 976; Poier e al., 976]. However, his has mosly been done in an ad-hoc way. Relaed o our work, [Sankovic e al., 999; Lu e al., 999] presen a scheduling algorihm, he FC-EDF, ha explicily uses feedback in combinaion wih EDF scheduling. A PID conroller regulaes he deadline miss-raio for a se of sof real-ime asks wih varying execuion imes, by adjusing heir requesed CPU uilizaion. I is assumed ha asks can change heir CPU consumpion by execuing differen versions of he same algorihm. An admission conroller is used o accommodae larger changes in he workload. In [Lu e al., 2000] he same approach is exended. An addiional PID conroller is added ha insead conrols he CPU uilizaion. The wo conrollers are combined using a min-approach. The resuling hybrid conroller scheme, named FC-EDF 2, gives good performance boh during seady-sae and under ransien condiions. Alhough relaed o he work presened here, here are imporan differences. In our approach he asks ha are scheduled are conrollers, conrolling some physical plans. The performance, or Qualiy-of-Conrol (QoC) is explicily used by he feedback scheduler o opimize he oal performance of all he conroller asks. In order o evaluae how he scheduling of conroller asks influence he conrol performance i is necessary o have simulaors ha allow join simulaion of coninuous-ime plan dynamics, discree-ime conrollers, and he real-ime scheduling of he corresponding conroller asks. The simulaions in he curren paper are based on he Malab/Simulink oolbox presened in [Eker and Cervin, 999]. A similar ool is presened in [Palopoli e al., 2000]. An exensive survey wih addiional references o oher relaed work in he area of conrol and CPU scheduling can be found in [Årzén e al., 999].

4 3. Conrol Loop Resource Allocaion In his secion, we ake a higher-level, idealized view of a feedback scheduling sysem and sudy he problem of disribuing limied compuing resources o a number of conrol loops. For now, i is assumed ha lower-level mechanisms in he real-ime sysem can provide he feedback informaion needed, and ha he available compuing resources can be divided in an exac way. We sudy he problem of scheduling several independen conrol asks on a shared processing uni. The plans are described by linear coninuous-ime sysems, he conrollers are described by linear discreeime sysems, and he performance of he conrol loops are measured using quadraic performance crieria. The goal is o assign sampling periods o he conrol loops such ha he overall conrol performance is opimized subjec o he schedulabiliy consrain. The effecs of conrol delay and jier on he conrol performance are negleced a his sage. The nex secion inroduces a sandard mahemaical model of a compuer-conrolled sysem. More deails can be found in exbooks on sampled-daa conrol heory, e.g. [Åsröm and Wienmark, 997]. 3. Conrol Sysem Descripion Each physical process (or plan) o be conrolled is assumed o be described by a se of linear differenial equaions, which give he relaionship beween he inpu (he conrol signal) and he oupu (he measuremen signal). A sandard mahemaical represenaion of such a sysem is dx() = Ax()+Bu()+Gw() d y()=cx()+v() () Here, x is a vecor of sae variables (he sae of he plan), u is he conrol signal, y is he measuremen signal, and w and v are uncorrelaed zero-mean Gaussian whie noises which disurb he saes and he measuremens. A, B, C, and G are consan marices ha describe he dynamics of he plan. The goal of he conroller is o keep he plan sae as close as possible o zero (which is assumed o be he desired sae) in he presence of noise and oher disurbances. As he plan exiss in he real world, i is described in coninuous ime. On he oher side, he conroller is implemened in a compuer and is herefore inherenly a discree-ime sysem. A general linear conroller can be described by a se of linear difference equaions, x c k+ = Φc x c k + Γc y k u k = C c x c k + Dc y k (2) u k u( ) u( ) Hold u k D-A Process Compuer y( ) A-D y( ) Sampler y k Figure Relaionships among he coninuous and he discree signals in he conrol loop. Here, x c is he sae vecor of he conroller, and Φ c, Γ c, C c, and D c are marices which describe he dynamics of he conroller. Depending on how he conroller is designed, hese marices may or may no be funcions of he sampling period. In he inerconnecion beween he coninuous-ime and he discree-ime sysem, y is sampled and u is held a a consan value unil he nex updae, see Figure. The conroller could be designed using a large number of echniques, for insance loop shaping, pole placemen, or using opimal conrol heory. There is also he choice beween direc discree design or ranslaion from coninuous design o discree implemenaion. The linear conroller descripion (2) covers many common conrol principles, including PID conrol, sae feedback conrol from an observer, lead-lag filering, ec. 3.2 Evaluaing Conrol Performance A good conrol design should fulfill a large number of crieria, including fas disurbance rejecion, good robusness owards plan variaions, low noise sensiiviy, ec. In his work, however, we focus on sampling period selecion, and we choose a simple performance crierion ha can be used o direcly compare he performance of he conrol loops under differen sampling periods. The performance of a conroller is measured using a quadraic cos crierion, { T J = lim T T E ( x T ()Q x()+u T ()Q 2 u() ) } d v,w 0 (3) The cos J can be inerpreed as a weighed sum of he saionary variance of he plan sae and he conrol signal. The consan marices Q and Q 2 are weighs ha are chosen for each plan. A large value of J indicaes large deviaions from he desired sae or large conrol signals, and is hus worse han a lower value of J. An infinie cos implies ha he conrol sysem is unsable. y k

5 J (a) h J h Figure 2 Cos funcions for wo differen plans, (a) Invered pendulum, G(s) =,(b)dc servo, G(s) = s 2 s(s+). Evaluaion of he cos (3) for a given plan, a given conroller, and a given sampling period h is a sraigh-forward ask ha involves hree compuaional seps. Firs, he plan descripion and he cos funcion are discreized. Second, he closed-loop sysem is formulaed and he saionary variance of he saes in he sysem is compued. Third, he cos J is obained as a linear weighing of he sae variance. More deails abou he sampling of a plan and a cos funcion can be found in [Åsröm and Wienmark, 997]. 3.3 LQG-Conrol In he examples in his paper we use LQG (linearquadraic-gaussian) conrollers. An LQG-conroller is an opimal conroller, explicily designed o minimize he crierion (3). The opimal conrol parameers depend on he sampling period, and hey are obained using direc discree design. Sandard conrol design sofware (e.g. MATLAB) is used o compue he LQG-conroller parameers. 3.4 Cos Funcions A conroller can normally give saisfacory performance wihin a range of sampling periods. Compuing he cos J for such a range we obain a cos funcion. The cos funcion J(h) will have differen shapes for differen plans and differen conrollers, bu in general i is an increasing funcion. In Figure 2, LQG-cos funcions have been calculaed for wo differen plans, an invered pendulum and a DC servo. For small sampling periods, he cos increases linearly in boh cases. I should be poined ou ha cos funcions are no necessarily increasing funcions. If he conroller has fixed parameers and is designed for a nominal sampling period, he conroller migh perform worse wih boh shorer and longer sampling periods. Cos funcions are no necessarily convex funcions eiher. An example of a very irregular cos funcion is given in [Eker e al., 2000]. (b) 3.5 Performance Opimizaion The feedback scheduler should conrol he workload of he processor by adjusing he sampling periods of he conrollers. A he same ime, i should opimize he overall conrol performance. This is formulaed as an opimizaion problem. Given n conrol asks wih average execuion imes C = [C... C n ] T and sampling periods h =[h... h n ] T, he feedback scheduler should solve he problem subjec o min h J = n J i (h i ) i= (4) n C i /h i U sp i= where U sp is he desired processor uilizaion level. This problem has nonlinear consrains. To ge linear consrains, he coss are recas as funcions of he sampling frequencies, f =[f... f n ] T, The problem is now wrien V i (f)=j i (/h) (5) min f V = n V i ( f i ) i= (6) subjec o C T f U sp If he funcions V(f) =[V (f )... V n (f n )] T are decreasing and convex, he opimal soluion f = [ f... fn ] T fulfills he Kuhn-Tucker condiions V f ( f)+λc=0 λ(u sp C T f)=0 λ 0 (7) where V f is he gradien and λ is he Lagrange muliplier. Solving he opimizaion problem exacly can be very ime-consuming, especially if he cos funcions V i ( f ) are non-convex. Jus evaluaing a cos funcion in a single poin involves a large amoun of compuaions. If he resource allocaion problem is o be solved by an on-line opimizer, he cos funcions for he plans mus be compued off-line and hen approximaed by simpler funcions. A quadraic approximaion was suggesed in [Eker e al., 2000]. Here, we also presen a linear approximaion. The soluion o he simplified opimizaion problem can in boh cases be inerpreed as a simple linear rescaling of a se of nominal sampling periods.

6 Quadraic Approximaion Assume ha he cos funcions can be approximaed by or, equivalenly, J i (h) =α i +β i h 2 (8) V i ( f )=α i +β i (/f) 2 (9) Applying he Kuhn-Tucker condiions (7) yields he explici soluion ( β ) i /3 U sp f i = C n (0) i j= C2/3 j β /3 j Noice ha he consans α i can be disregarded, i.e., i is sufficien o esimae he curvaure of he cos funcions. Linear Approximaion Assume ha he cos funcions can be approximaed by or, equivalenly, J i (h)=α i +γ i h () V i ( f )=α i +γ i /f (2) This ofen seems o be a beer approximaion han (9), especially for open-loop sable plans, or any plans sampled reasonably fas. Applying he Kuhn- Tucker condiions (7) yields he explici soluion ( γ ) /2 i U f i = sp C n i j= (C (3) jγ j ) /2 Noice ha he consans α i can be disregarded, i.e., i is sufficien o esimae he slope of he cos funcions. Inerpreaion as Simple Rescaling Boh he quadraic and he linear cos funcion approximaions yield quie simple, explici formulas for opimal ask frequency assignmen, ha could be used on-line in a feedback scheduler. If a new ask arrives, or if he execuion ime of a conroller suddenly changes, new sampling periods could be calculaed using (0) or (3). However, no even ha amoun of calculaions is really needed. In boh cases, i can be noed ha each ask receives a share of he CPU ha is proporional o a ask consan. In he quadraic case, he proporionaliy consan is (β i /C i ) /3,and in he linear case i is (γ i /C i ) /2. The raios beween he opimal sampling periods are hus consan and do no depend on he available resources or he number of curren asks in he sysems. This implies ha, if he nomial sampling periods have been chosen wisely, opimal feedback scheduling can be performed by simple rescaling of he ask periods. This is formulaed in he following heorem: THEOREM If he cos funcions of he curren asks in he sysem can be described by eiher a) quadraic funcions of he sampling period, Eq. (8), orbyb)linear funcions of he sampling period, Eq. (), and if nominal sampling frequencies f 0 = [ f 0... f 0n ] are chosen in proporion o a) (β i /C i ) /3 or b) (γ i /C i ) /2, hen simple rescaling of f 0 o mee he uilizaion consrain is opimal wih respec o he oal conrol performance J. Proof: Follows from he proporionaliy argumen above. Addiional Consrains I is possible o add more consrains o he approximae opimizaion problem and sill reain a simple soluion. Firs, one can le he nominal sampling periods f 0 be minimal sampling periods. If C T f 0 U sp,hen he nominal periods are used, oherwise hey are rescaled. This consrain prevens he CPU from being fully loaded when i is no necessary from a conrol performance poin of view. Second, one can impose maximum sampling periods o some asks. This leads o an ieraive soluion (linear programming), where he remaining asks are rescaled unil all consrains are me. 4. A Feedback-Feedforward Scheduling Archiecure To implemen he feedback scheduling principle given in he previous secion, a feedback-feedforward scheduling archiecure is developed. I is assumed ha he conrol asks can swich beween differen modes, wih possibly very differen execuion-ime demands. Hybrid conrollers ha swich beween differen conrol algorihms depending on he sae of he process, exernal signals, ec., are a large class of conrollers ha exhibi such behavior. The execuion imes of he algorihms in he differen modes are no known exacly, bu mus be esimaed. The cos funcions may also change beween he differen modes. The srucure of he feedback scheduler is shown in Figure 3. A se of conrol asks generae jobs ha are fed o a run-ime dispacher. The scheduler receives feedback informaion abou he acual execuion ime, c i, of he jobs. I also receives feedforward informaion from conrol asks when hey swich mode. In his way, he scheduler can pro-ac raher han reac o sudden changes in he workload. Also, he scheduler may change he parameers in he opimizaion rouine according o he curren modes of he conrollers. The scheduler aemps o keep he CPU uilizaion, U, as close as possible o a uiliza-

7 U sp Feedback Scheduler mode changes h Tasks jobs Dispacher c i, U of is curren period and adjus is parameers accordingly. On-line recalculaions are ofen oo cosly, so parameers for a range of sampling periods mus be calculaed off-line and sored in a able. Figure 3 Block diagram of he feedback-feedforward scheduling srucure. ion se-poin, U sp. This is done by manipulaing he sampling periods, h. 4. Design Consideraions The feedback scheduler can be implemened in one of wo main ways. The firs opion is o design i as an inheren mechanism, alongside he ask dispacher, in he real-ime operaing sysem. The oher way, which we discuss here, is o implemen i as an applicaion ask, execuing in parallel wih he conrol asks. The advanage of his approach is ha i could be implemened on op of exising real-ime operaing sysems. A number of oher addiional design consideraions exis: The uilizaion se-poin, U sp, mus be chosen. The choice will depend on he scheduling policy of he dispacher and on he sensiiviy of he conrollers o missed deadlines. A oo low se-poin will give low resource uilizaion and poor conrol performance. A oo high se-poin, on he oher hand, may cause asks o suffer from emporary overruns. Noice ha he well-known, guaraneed uilizaion bounds of 00 % for deadline-driven scheduling and 69 % for prioriy-driven scheduling [Liu and Layland, 973] are no valid in his conex, since he assumpions abou known, fixed WCETs and fixed periods are violaed. Also, recen research, e.g. [Palopoli e al., 2000], showsha operaion close o or even above he level U = may give very good conrol performance in some cases, despie a large number of missed deadlines. The feedback scheduler will execue as a periodic ask in he sysem, and is period, h FBS, mus be chosen. A shor period will give good conrol of he uilizaion bu also consume much of he available resources. A longer period will consume less resources, bu make he scheduler respond slower o load disurbances. If he conroller parameers depend on he sampling period, he conroller mus be aware 4.2 Conrolling he Uilizaion The feedback scheduler conrols he processor uilizaion by assigning ask periods ha opimize he overall conrol performance. However, his requires ha esimaes of he execuion imes of he asks, Ĉ i, are available. I is assumed ha he real-ime operaing sysem can monior he execuion-ime of individual jobs. An esimae Ĉi is obained from filered job execuion-ime measuremens, Ĉ i (k) =λĉi(k )+( λ)c i (4) where λ is a forgeing facor. Seing λ closeo resuls in a smooh, bu slow esimae. A λ close o 0 gives a faser esimae, bu i will also capure more of he high-frequency execuion-ime noise. This is a ypical rade-off in conrol design. As deailed in Secion 3.5, near-opimal ask periods can be calculaed by rescaling of a se of nominal sampling periods. Firs, he esimaed nominal requesed uilizaion is compued by Û 0 = n i= Ĉ i h 0i (5) Here, h 0i can be a funcion of he mode of he conroller, if he differen modes should have differen cos funcions. Second, new ask periods are calculaed by he rescaling h i = h 0i U sp Û 0 (6) Addiional consrains (minimum and maximum sampling periods) can also be deal wih, see Secion Feedforward Informaion The role of he feedforward informaion from he conrollers o he feedback scheduler is hree-fold. Firs, he scheduler can reac o sudden changes in he workload by execuing an exra ime in connecion wih a mode change. The conroller, which ypically execues more frequenly han he feedback scheduler, is responsible for signaling he scheduler as soon as a mode swich condiion has been deeced. If he mode change is likely o increase he workload, and if he swiching ime iself is no criical, he conroller could delay he swich one or several sampling periods while he scheduler recalculaes he periods.

8 Such a non-criical mode swich could for insance be he resul of an operaor enering a new sepoin for he conroller. Second, he scheduler needs o keep rack of he modes of he conrollers in order o compue opimal ask periods according o he cos funcions. The conroller can communicae he new nominal sampling period a he mode swich, or he scheduler can keep a able of he nominal sampling periods for all he conroller modes. Third, he feedforward informaion allows he scheduler o run separae execuion-ime esimaors in he differen modes. The forgeing facor λ can hen be chosen according o he execuion-ime variabiliy wihin each mode. A a mode change, he scheduler can immediaely swich o he curren esimae in he new mode. This furher improves he regulaion of he uilizaion a he mode changes. 5. A Feedback Scheduling Example As an example of feedback scheduling, we sudy he problem of simulaneously sabilizing four invered pendulums. The pendulum is a common benchmark process because of is open-loop insabiliy, which makes i very sensiive o disurbances, including iming fauls. Differen scheduling approaches are evaluaed by co-simulaion of he scheduler, he conrol asks, and he pendulums. By simulaing he execuion of he asks, he effecs of conrol delay and jier (due o varying execuion imes and scheduling) on he conrol performance are also capured in he resuls. 5. Plans and Conrollers Each pendulum is described by he sysem (see Secion 3.) [ ] [ ] dx() 0 0 = x()+ u()+v() d ω ω 2 0 (7) y()=[ 0]x()+e() where ω 0 is he naural frequency of he pendulum, and he noise variances are given as Ev 2 = /ω 0 and Ee 2 = 0 4. The four pendulums have differen lenghs, which correspond o differen frequencies: ω 0 =[ ]. LQG-conrollers for he plans are calculaed according o he design weighs [ 0 Q = 0 0 ], Q 2 = (8) This corresponds o minimizaion of he cos crierion { } T J = lim T T E ( y 2 ()+u 2 ())d (9) 0 J h Figure 4 The cos funcions for he four invered pendulums, () (4). The circles indicae he nominal sampling periods. i.e., he conroller should aemp o minimize he sum of he variance of he oupu signal and he conrol signal. The coss funcions for he four pendulums shown in Figure 4. I is seen ha he cos funcions can be reasonably well approximaed by linear funcions (see Secion 3.5), The esimaed slopes are (4) (3) (2) () J i (h)=α i +γ i h. (20) γ =[ ]. (2) I can be noed ha, he higher he naural frequency of he pendulum is, he more sensiive he conroller is owards an increase in he sampling period. This is quie inuiive. Nominal sampling periods are chosen according o he soluion of he performance opimizaion problem and according o he rule of humb [Åsröm and Wienmark, 997] ha saes ha he sampling period should be chosen such ha 0.2 < ω 0 h < 0.6. The resuling nominal periods are h 0 =[ ] ms (22) These periods have been indicaed in Figure 4. The opimal coss associaed wih hese sampling periods are J 0 =[ ] (23) These are he expeced coss if he conrollers could really execue a heir nominal sampling periods, wih zero delay and zero jier. Implemened in a compuer, he conrollers will suffer from various amouns of sampling jier, inpu-oupu delay, and oupu jier, and he resuling cos will be higher.

9 p(c i ) c i [ms] Figure 5 Probabiliy disribuion of he conrol ask execuion ime. To allow for fas changes beween differen sampling periods during run-ime, he conroller parameers Φ c, Γ c, C c,andd c are calculaed off-line for a range of differen sampling periods for each pendulum conroller and sored in a able. 5.2 The Experimens Each of he conrollers has wo differen modes: on and off. When on, he average ask execuion ime is C = 5.5 ms. The conroller code consiss of hree pars. Firs, A-D conversion is requesed, i.e. he oupu of he plan is sampled. Second, a new conrol signal is compued according o he conrol algorihm. Third, D-A conversion is requesed, i.e. he new conrol signal is sen ou o he plan. The oal execuion ime of he ask is assumed o vary according o he probabiliy disribuion shown in Figure 5. When he conroller is urned off, he execuion ime is zero. A he sar of he experimen, = 0, Conrollers and 2 are on, while Conrollers 3 and 4 are off. A = 2, Conroller 3 swiches on, and a = 4, Conroller 4 also swiches on. The four conrollers run in parallel unil = 6. I is iniially assumed ha he feedback scheduler and he asks are implemened in a prioriypreempive real-ime sysem. The feedback scheduler is given he highes prioriy while he conrol asks are assigned rae-monoonic prioriies. The reason for sudying he prioriy-preempive seing is clariy under rae-monoonic scheduling i is easy o predic he effecs of overloads. In his case, Conroller will be given he lowes prioriy and will hus suffer he mos during an overload. I is assumed ha he execuion ime of he feedback scheduling ask is C FBS = 2 ms. Is period is chosen as h FBS = 200 ms and he uilizaion sepoin is chosen as U sp = 0.85 o yield good conrol performance and no oo many missed deadlines. The execuion-ime esimaion forgeing facor is chosen as λ = This gives smooh esimaes bu will cause he scheduler o reac slowly o mode swiches if he feedforward acion is no used. The experimen is repeaed for differen scheduling approaches. Firs, open-loop scheduling is aemped. Then, feedback scheduling wihou he feedforward mechanism is ried. Then, feedbackfeedforward scheduling is sudied. In he end, openloop EDF scheduling is also sudied. I is imporan o specify he behavior of he periodic asks in he case of missed deadlines. No maer when a ask finishes, he nex release ime is se o be he curren release ime plus he assigned period of he ask. Thus, a ask which has missed many deadlines may have a release ime which is far back in ime compared o he acual saring ime of he ask. This kind of implemenaion of periodic asks penalizes especially he low-prioriy asks in he case of overload under fixed-prioriy dispaching. To measure he performance of a conroller, he accumulaed cos is recorded, J i () = 0 (y 2 (τ)+u 2 (τ))dτ. (24) Compared o he crierion in Eq. (9), his quaniy is no rescaled by he ime horizon. If he pendulum falls down, he accumulaed cos is se o infiniy. The pendulums are subjeced o idenical sequences of process noise and measuremen noise in all simulaions. The execuion imes also consis of idenical random sequences in all cases. During each experimen, he schedule, i.e. he execuion race, is also recorded, ogeher wih an esimae of he curren requesed uilizaion. This quaniy is compued as n c i U req =, (25) h i where c i is he execuion ime of he laes invocaion of ask i and h i is he sampling period currenly assignedoaski. Proper regulaion of he uilizaion should keep his quaniy approximaely equal o or less han U sp. 5.3 The Simulaion Environmen The complee se-up, including he scheduler, he asks, and he pendulums are simulaed using he Malab/Simulink-based ool described in [Eker and Cervin, 999]. The op level view of he simulaion model is shown in Figure 6. Here, he performance of he pendulums can be sudied. Opening he Compuer block, deails abou he execuion may be sudied, see Figure 7. The Real-Time Kernel block simulaes a ick-based, preempive kernel wih an arbirary, user-defined i=

10 y u y2 u2 y3 u3 y4 u4 Compuer y u J Pendulum y u J Pendulum 2 y u J Pendulum 3 y u J Pendulum 4 J J2 J3 J4 A = 2, Task 3 sars o execue. Togeher wih Task 2, he wo asks consume C/h 0 + C/h 02 = 0.85 CPU, which leaves only 0.5 CPU o Task, which is he lowes-prioriy ask. The resuling average period is h = C/0.5 = 37 ms, which is acually sufficien o sabilize he pendulum, alhough he cos increases more rapidly. A = 4, Task 4 is urned on. Togeher wih Task 3, he wo asks reques C/h 03 + C/h 04 =.0 CPU, and his blocks Tasks and 2 compleely. The resul is ha boh pendulums fall down. Figure 6 Top-level of he simulaion model of he feedback scheduling sysem. y 2 y2 3 y3 4 y4 Real Time Kernel m u 2 u2 3 u3 4 u4 Req Uilizaion Schedule Figure 7 Opening up he Compuer block in Figure 6, deails abou he execuion may be sudied. dispach policy. In he experimens, he ick-size is se o 0.5 ms. The conrollers and he feedback scheduler are implemened as funcions ha he kernel execues repeaedly during a simulaion. The scheduler and he conrollers communicae informaion using message-passing primiives in he simulaed kernel. 5.4 Simulaion Resuls The simulaion resuls in he four differen scheduling cases are presened and discussed below. Open-Loop Scheduling Under open-loop scheduling, he conrollers aemp o execue a heir nominal sampling periods. The accumulaed coss for he pendulums are shown in Figure 8, he requesed processor uilizaion is shown in Figure 9, and a close-up of schedule a = 4 is shown in Figure 0. From ime = 0, Tasks and 2 consume (in average) C/h 0 + C/h 02 = 0.72 CPU and conrol performance is good. The accumulaed coss are expeced o increase by abou 3 per second according o he opimal coss in (23), and his holds in pracice as well. Feedback Scheduling Under feedback scheduling, he asks sars o execue a heir nominal sampling periods when urned on. The feedback scheduler hen adjuss he periods every 200 ms. The accumulaed coss for he pendulums are shown in Figure, he requesed processor uilizaion is shown in Figure 2, and a close-up of schedule a = 4 is shown in Figure 3. A = 2, Task 3 is urned on and he requesed uilizaion raises above he uilizaion sepoin of A = 2., he feedback scheduler adjuss he periods, and he overload condiion is evenually removed. The same hing is repeaed a = 4when Task 4 is urned on. The ransien overload causes he performance of Conroller o degrade, bu he siuaion is soon sabilized. The slow response is due o he forgeing facor λ = A lower value would correc he overload siuaion faser, bu i would also increase he variance of he uilizaion in saionariy. Feedback-Feedforward Scheduling Under feedback-feedforward scheduling, asks ha swich modes also immediaely acivae he feedback scheduler. The accumulaed coss for he pendulums are shown in Figure 4, he requesed processor uilizaion is shown in Figure 5, and a close-up of schedule a = 4 is shown in Figure 6. The resuls are similar o hose under feedback scheduling, excep a he mode changes. Here, he overloads are avoided hanks o immediae rescaling of he ask periods a = 2 and = 4. The ransiens are avoided, and he performance of all he conrollers is good hroughou. Open-Loop EDF Scheduling Under openloop EDF scheduling, all asks aemp o execue a heir nominal periods. The accumulaed coss for he pendulums are shown in Figure 7 and a closeup of schedule a = 4 is shown in Figure 8. The requesed processor uilizaion is idenical o he one under open-loop rae-monoonic scheduling, shown in Figure 9.

11 Sraegy J J 2 J 3 J 4 Ji Ideal (compued expeced value) Open-loop scheduling 3 5 Feedback scheduling Feedback-feedforward scheduling Open-loop EDF scheduling Table Final accumulaed coss for he four pendulums under differen scheduling sraegies. The symbol indicaes ha he pendulum has fallen down. Alhough he sysem is overloaded from = 2, he performance of Conrollers 3 is good hroughou. ThereasonishaordinaryEDFschedulingacsas a naural period rescaling mechanism in overload siuaions. This propery is discussed furher in Secion 6. Task 4 experiences some problems, however. When i is released a = 4, he sysem has been overloaded for wo seconds. This means ha he absolue deadlines of Tasks 3 lie somewhere backwards in ime, and hey will have prioriy over Task 4, which iniially has he absolue deadline 4 + h 04 = The resul is ha Task 4 is blocked unil around = 4.35, before which he pendulum has fallen down. Summary of Resuls and Discussion The final accumulaed coss for he four pendulums in he differen cases are summarized in Table. Feedback-feedforward scheduling gives he bes overall conrol performance, alhough open-loop EDF scheduling does a quie good job a scheduling Tasks 3. The reason ha he conrol performance is slighly beer under feedback-feedforward scheduling han under open-loop EDF scheduling is ha, in he EDF case, he conrollers do no adjus heir parameers according o he acual sampling periods. Also indicaed in he able are he ideal expeced accumulaed coss of he conrollers. They are rivially compued from knowing he opimal coss (23) and he duraion ha each conroller is running. The rue expeced cos, in saionariy, of he conroller in he real-ime sysem can also, wih some resricions, be numerically calculaed using analysis echniques from he heory of conrol sysems wih random delays [Nilsson, 998]. The ransien behavior of he conrollers a he mode changes is much harder o analyze, and here we mus rely on simulaions. 6. EDF as a Feedback Scheduling Mechanism? As seen in he simulaions in he previous secion, he performance of he conrollers under open-loop EDF scheduling was quie good, despie he sysem being permanenly overloaded and all deadlines being missed. This can be explained by he following heorem, which o he bes of he auhors knowledge has no been formulaed before: THEOREM 2 Assume a se of n periodic asks, where each ask i is described by a fixed period, T i, a fixed execuion ime, C i, a relaive deadline, D i, and a release offse, O i.thejobsofheasksarescheduledaccording o heir absolue deadlines (i.e., EDF scheduling). If U = n j= C j /T j >, hen he average acual resuling ask period of ask i in saionariy, T i, will be given by T i = T i U. Proof: See appendix A. Theorem and Theorem 2 aken ogeher gives he following: COROLLARY An ordinary EDF scheduler can be inerpreed, in saionariy, as an opimal feedback scheduler for conrol asks ha have cos funcions ha can be described by quadraic or linear funcions of he sampling period. However, his resul ress upon several assumpions, and here are pifalls. Firs, i is assumed ha he conroller samples he plan when i sars o execue, and no when i is released. This way, he conrol delay will be bounded, even hough he ask laency (he finish ime minus he release ime) migh approach infiniy. Second, i is assumed ha jier has only negligible impac on he conrol performance. This may no be rue during a permanen overload siuaion where he asks sar o execue non-preempively. While he average period of a ask is given by Theorem 2, he jier may be unbounded because of he non-preempive execuion paern. In he feedback scheduling example in he previous secion his was no a problem, since all he asks had execuion imes and periods of he same magniude. As seen in he example, problems may occur when asks swich mode (and his is when feedback scheduling is really needed). Since asks are scheduled using old deadlines, i will ake ime for a resource redisribuion o have effec. One soluion would be o rese he release ime of all asks o he curren ime immediaely following a mode change.

12 Anoher problem wih he open-loop EDF approach is ha he period informaion is no communicaed o he conrollers. Thus, hey canno use he correc conrol parameers, and his degrades he performance o some degree. This could be correced by leing he conrol asks measure heir own acual periods. 7. Conclusions A scheduler archiecure has been proposed ha combines feedback and feedforward acion in order o opimize conrol performance while mainaining high resource uilizaion. The feedback par relaxes he requiremen on known execuion-ime bounds for muliasking conrol sysems. The feedforward par allows for rapid adapaion o changing load condiions. The conrol performance, or Qualiy-of-Conrol (QoC), is considered as a qualiy-of-service measure ha should be maximized. Opimal adjusmen sraegies for he conroller ask periods have been derived for he cases when he cos funcion is a quadraic funcion of he sampling period and when i is a linear funcion of he sampling period. The adjusmen sraegy uses linear rescaling, making i compuaionally efficien, and hence, possible o use on-line. The differen sraegies have been evaluaed on a realisic simulaion example. The proposed approach gives subsanially beer resuls han wha is achieved using classical open-loop scheduling mehods. A new resul for periodic asks wih EDF scheduling under overload condiions makes i possible o, in cerain siuaions, o inerpre a plain EDF dispacher as a feedback scheduler for conrol asks. Acknowledgmens This work has been funded by ARTES (he Swedish real-ime sysems research iniiaive), by LUCAS (he Lund Universiy cener for applied sofware research), and by TFR. References Abdelzaher, T., E. Akins, and K. Shin QoS negoiaion in real-ime sysems, and is applicaion o fligh conrol. In Proceedings of he 3rd IEEE Real-Time Technology and Applicaions Symposium, pp Abdelzaher, T. and K. Shin QoS provisioning wih qconracs in web and mulimedia servers. In Proceedings of he 20h IEEE Real-Time Sysems Symposium, pp Abeni, L. and G. Buazzo Adapive bandwidh reservaion for mulimedia compuing. In Proceedings of he 6h Inernaional Conference on Real-Time Compuing Sysems and Applicaions, pp Årzén, K.-E., B. Bernhardsson, J. Eker, A. Cervin, K. Nilsson, P. Persson, and L. Sha Inegraed conrol and scheduling. Technical Repor TFRT- 7586, Deparmen of Auomaic Conrol, Lund Insiue of Technology, Lund, Sweden. Åsröm, K. J. and B. Wienmark Compuer- Conrolled Sysems, 3rdedn.PreniceHall. Blevins, P. and C. Ramamoorhy Aspecs of a dynamically adapive operaing sysem. IEEE Transacions on Compuers 25(7): Buazzo, G., G. Lipari, and L. Abeni Elasic ask model for adapive rae conrol. In Proceedings of he 9h IEEE Real-Time Sysems Symposium, pp Cervin, A. and J. Eker Feedback scheduling of conol asks. In Proceedings of he 39h IEEE Conference on Decision and Conrol, pp Eker, J. and A. Cervin A Malab oolbox for real-ime and conrol sysems co-design. In Proceedings of he 6h Inernaional Conference on Real-Time Compuing Sysems and Applicaions, pp Eker, J., P. Hagander, and K. Erik Årzén A feedback scheduler for real-ime conrol asks. Conrol Engineering Pracice 8(2): Kleinrock, L A coninuum of ime-sharing scheduling algorihms. In AFIPS Conference Proceedings, Spring Join Compuer Conference, pp Kosugi, N., K. Takashio, and M. Tokoro Modificaion and adjusmen of real-ime asks wih rae monoonic scheduling algorihm. In Proceedings of he 2nd Workshop on Parallel and Disribued Sysems, pp Kuo, T.-W. and A. Mok. 99. Load adjusmen in adapive real-ime sysems. In Proceedings of he 2h IEEE Real-Time Sysems Symposium, pp Lee, C., R. Rajkumar, and C. Mercer Experiences wih processor reservaion and dynamic QoS in Real-Time Mach. In Proceedings of Mulimedia Japan 96. Li, B. and K. Nahrsed A conrol heoreical model for qualiy of service adapaions. In Proceedings of 6h Inernaional Workshop on Qualiy of Service, pp

13 Liu, C. L. and J. W. Layland Scheduling algorihms for muliprogramming in a hard-realime environmen. Journal of he ACM 20(): Lu, C., J. Sankovic, T. Abdelzaher, G. Tao, S. Son, and M. Marley Performance specificaions and merics for adapive real-ime sysems. In Proceedings of he 2s IEEE Real-Time Sysems Symposium, pp Lu, C., J. Sankovic, G. Tao, and S. H. Son Design and evaluaion of a feedback conrol EDF scheduling algorihm. In Proceedings of he 20h IEEE Real-Time Sysems Symposium, pp Nakajima, T Resource reservaion for adapive QoS mapping in Real-Time Mach. In Proceedings of he 6h Inernaional Workshop on Parallel and Disribued Real-Time Sysems, pp Nakajima, T. and H. Tezuka A coninuous media applicaion supporing dynamic QoS conrol on Real-Time Mach. In Proceedings of ACM Mulimedia 94, pp Nilsson, J Real-ime conrol sysems wih delays. Ph.D. Thesis TFRT-049, Deparmen of Auomaic Conrol, Lund Insiue of Technology, Lund, Sweden. Palopoli, L., L. Abeni, and G. Buazzo Realime conrol sysem analysis: An inegraed approach. In Proceedings of he 2s IEEE Real- Time Sysems Symposium, pp Poier, D., E. Gelenbe, and J. Lenfan Adapive allocaion of cenral processing uni quana. Journal of he ACM 23(): Rajkumar, R., C. Lee, J. Lehoczky, and D. Siewiorek A resources allocaion model for QoS managemen. In Proceedings of he 8h IEEE Real- Time Sysems Symposium, pp Ryu, M., S. Hong, and M. Saksena Sreamlining real-ime conroller design: From performance specificaions o end-o-end iming consrains. In Proceedings of he 3rd IEEE Real- Time Technology and Applicaions Symposium, pp Seo, D., J. P. Lehoczky, L. Sha, and K. G. Shin On ask schedulabiliy in real-ime conrol sysems. In Proceedings of he 7h IEEE Real- Time Sysems Symposium, Washingon, DC, pp Shin, K. and C. Meissner Adapaion of conrol sysem performance by ask reallocaion and period modificaion. In Proceedings of he h Euromicro Conference on Real-Time Sysems, pp Sankovic, J. A., C. Lu, S. H. Son, and G. Tao The case for feedback conrol real-ime scheduling. In Proceedings of he h Euromicro Conference on Real-Time Sysems, pp. 20. A. Proof of Theorem 2 The release ime of job number k of ask i is kt i + O i. The deadline of job number k of ask i is kt i +O i +D i. Le k i () be he number of finished jobs of ask i a ime. Afer a while, CPU is never idle, herefore, I idle ()+ i (k i ()C i +e i ()) = (26) where I idle () is he accumulaed idle ime, e i is how long he curren invocaion of ask i has execued. Boh I idle () and e i are bounded and 0 e i C i. Furhermore, due o he overload siuaion, asks are finished in he order of heir deadlines. Therefore, k l ()T l + D l + O l (k i ()+)T i +D i +O i (27) (Oherwise ask l would no have finished job number k l () before ask i finished job number k i ()+). Symmerically, k i ()T i + D i + O i (k l ()+)T l +D l +O l (28) The wo equaions above give Hence, k l ()T l + D l + O l T i k i ()T i + D i + O i (k l ()+)T l +D l +O l (29) k l ()T l + D l T i + O l k l ()T l k i()t i + D i + O i k l ()T l (k l()+)t l +D l +O l k l ()T l (30) Here, he limi of he lef-hand side and he righhand side are boh equal o one, so, k j ()T j lim = (3) k l ()T l Rearranging he erms in Eq. (26) and leing,

14 we have = lim = lim Hence, = lim k i ()C i i i j k j()t j = lim k i ()T i k i ()T i C i T i i k j()t j j k i()t i i k i ()T i n C i = lim n T i i = lim k i ()T i i C i T i k i ()T i C i j k j()t j T i k j()t j j k i()t i C i T i (32) Accumulaed Cos Accumulaed coss under open-loop schedul- Figure 8 ing. J J2 J3 J4 T i = lim k i () = T C j i = T i U (33) T j j.8.6 Ureq (full) and Usp (dashed) Figure 9 Requesed uilizaion under open-loop scheduling. Schedule (high=running, medium=preemped, low=sleeping) FBS Task 4 Task 3 Task 2 Task Figure 0 Close-up of schedule a = 4 under openloop scheduling.

15 Accumulaed Cos J J2 J3 Accumulaed Cos J J2 J3 0 0 J4 J Accumulaed coss under feedback schedul- Figure ing. Figure 4 Accumulaed coss under feedbackfeedforward scheduling Ureq (full) and Usp (dashed) Ureq (full) and Usp (dashed) Figure 2 Requesed uilizaion under feedback scheduling Figure 5 Requesed uilizaion under feedbackfeedforward scheduling. Schedule (high=running, medium=preemped, low=sleeping) Schedule (high=running, medium=preemped, low=sleeping) FBS FBS Task 4 Task 4 Task 3 Task 3 Task 2 Task 2 Task Task Figure 3 scheduling. Close-up of schedule a = 4 under feedback Figure 6 Close-up of schedule a = 4 under feedbackfeedforward scheduling.

16 50 40 Accumulaed Cos J4 J2 J J Figure 7 Accumulaed coss under open-loop EDF scheduling. Schedule (high=running, medium=preemped, low=sleeping) FBS Task 4 Task 3 Task 2 Task Figure 8 Close-up of schedule a = 4 under openloop EDF scheduling.

Task is a schedulable entity, i.e., a thread

Task is a schedulable entity, i.e., a thread Real-Time Scheduling Sysem Model Task is a schedulable eniy, i.e., a hread Time consrains of periodic ask T: - s: saring poin - e: processing ime of T - d: deadline of T - p: period of T Periodic ask T

More information

Multiprocessor Systems-on-Chips

Multiprocessor Systems-on-Chips Par of: Muliprocessor Sysems-on-Chips Edied by: Ahmed Amine Jerraya and Wayne Wolf Morgan Kaufmann Publishers, 2005 2 Modeling Shared Resources Conex swiching implies overhead. On a processing elemen,

More information

The Application of Multi Shifts and Break Windows in Employees Scheduling

The Application of Multi Shifts and Break Windows in Employees Scheduling The Applicaion of Muli Shifs and Brea Windows in Employees Scheduling Evy Herowai Indusrial Engineering Deparmen, Universiy of Surabaya, Indonesia Absrac. One mehod for increasing company s performance

More information

Duration and Convexity ( ) 20 = Bond B has a maturity of 5 years and also has a required rate of return of 10%. Its price is $613.

Duration and Convexity ( ) 20 = Bond B has a maturity of 5 years and also has a required rate of return of 10%. Its price is $613. Graduae School of Business Adminisraion Universiy of Virginia UVA-F-38 Duraion and Convexiy he price of a bond is a funcion of he promised paymens and he marke required rae of reurn. Since he promised

More information

PROFIT TEST MODELLING IN LIFE ASSURANCE USING SPREADSHEETS PART ONE

PROFIT TEST MODELLING IN LIFE ASSURANCE USING SPREADSHEETS PART ONE Profi Tes Modelling in Life Assurance Using Spreadshees PROFIT TEST MODELLING IN LIFE ASSURANCE USING SPREADSHEETS PART ONE Erik Alm Peer Millingon 2004 Profi Tes Modelling in Life Assurance Using Spreadshees

More information

Analogue and Digital Signal Processing. First Term Third Year CS Engineering By Dr Mukhtiar Ali Unar

Analogue and Digital Signal Processing. First Term Third Year CS Engineering By Dr Mukhtiar Ali Unar Analogue and Digial Signal Processing Firs Term Third Year CS Engineering By Dr Mukhiar Ali Unar Recommended Books Haykin S. and Van Veen B.; Signals and Sysems, John Wiley& Sons Inc. ISBN: 0-7-380-7 Ifeachor

More information

Constant Data Length Retrieval for Video Servers with Variable Bit Rate Streams

Constant Data Length Retrieval for Video Servers with Variable Bit Rate Streams IEEE Inernaional Conference on Mulimedia Compuing & Sysems, June 17-3, 1996, in Hiroshima, Japan, p. 151-155 Consan Lengh Rerieval for Video Servers wih Variable Bi Rae Sreams Erns Biersack, Frédéric Thiesse,

More information

Single-machine Scheduling with Periodic Maintenance and both Preemptive and. Non-preemptive jobs in Remanufacturing System 1

Single-machine Scheduling with Periodic Maintenance and both Preemptive and. Non-preemptive jobs in Remanufacturing System 1 Absrac number: 05-0407 Single-machine Scheduling wih Periodic Mainenance and boh Preempive and Non-preempive jobs in Remanufacuring Sysem Liu Biyu hen Weida (School of Economics and Managemen Souheas Universiy

More information

DYNAMIC MODELS FOR VALUATION OF WRONGFUL DEATH PAYMENTS

DYNAMIC MODELS FOR VALUATION OF WRONGFUL DEATH PAYMENTS DYNAMIC MODELS FOR VALUATION OF WRONGFUL DEATH PAYMENTS Hong Mao, Shanghai Second Polyechnic Universiy Krzyszof M. Osaszewski, Illinois Sae Universiy Youyu Zhang, Fudan Universiy ABSTRACT Liigaion, exper

More information

Cointegration: The Engle and Granger approach

Cointegration: The Engle and Granger approach Coinegraion: The Engle and Granger approach Inroducion Generally one would find mos of he economic variables o be non-saionary I(1) variables. Hence, any equilibrium heories ha involve hese variables require

More information

Performance Center Overview. Performance Center Overview 1

Performance Center Overview. Performance Center Overview 1 Performance Cener Overview Performance Cener Overview 1 ODJFS Performance Cener ce Cener New Performance Cener Model Performance Cener Projec Meeings Performance Cener Execuive Meeings Performance Cener

More information

Distributing Human Resources among Software Development Projects 1

Distributing Human Resources among Software Development Projects 1 Disribuing Human Resources among Sofware Developmen Proecs Macario Polo, María Dolores Maeos, Mario Piaini and rancisco Ruiz Summary This paper presens a mehod for esimaing he disribuion of human resources

More information

Chapter 8: Regression with Lagged Explanatory Variables

Chapter 8: Regression with Lagged Explanatory Variables Chaper 8: Regression wih Lagged Explanaory Variables Time series daa: Y for =1,..,T End goal: Regression model relaing a dependen variable o explanaory variables. Wih ime series new issues arise: 1. One

More information

TSG-RAN Working Group 1 (Radio Layer 1) meeting #3 Nynashamn, Sweden 22 nd 26 th March 1999

TSG-RAN Working Group 1 (Radio Layer 1) meeting #3 Nynashamn, Sweden 22 nd 26 th March 1999 TSG-RAN Working Group 1 (Radio Layer 1) meeing #3 Nynashamn, Sweden 22 nd 26 h March 1999 RAN TSGW1#3(99)196 Agenda Iem: 9.1 Source: Tile: Documen for: Moorola Macro-diversiy for he PRACH Discussion/Decision

More information

II.1. Debt reduction and fiscal multipliers. dbt da dpbal da dg. bal

II.1. Debt reduction and fiscal multipliers. dbt da dpbal da dg. bal Quarerly Repor on he Euro Area 3/202 II.. Deb reducion and fiscal mulipliers The deerioraion of public finances in he firs years of he crisis has led mos Member Saes o adop sizeable consolidaion packages.

More information

Economics Honors Exam 2008 Solutions Question 5

Economics Honors Exam 2008 Solutions Question 5 Economics Honors Exam 2008 Soluions Quesion 5 (a) (2 poins) Oupu can be decomposed as Y = C + I + G. And we can solve for i by subsiuing in equaions given in he quesion, Y = C + I + G = c 0 + c Y D + I

More information

Morningstar Investor Return

Morningstar Investor Return Morningsar Invesor Reurn Morningsar Mehodology Paper Augus 31, 2010 2010 Morningsar, Inc. All righs reserved. The informaion in his documen is he propery of Morningsar, Inc. Reproducion or ranscripion

More information

Why Did the Demand for Cash Decrease Recently in Korea?

Why Did the Demand for Cash Decrease Recently in Korea? Why Did he Demand for Cash Decrease Recenly in Korea? Byoung Hark Yoo Bank of Korea 26. 5 Absrac We explores why cash demand have decreased recenly in Korea. The raio of cash o consumpion fell o 4.7% in

More information

Mathematics in Pharmacokinetics What and Why (A second attempt to make it clearer)

Mathematics in Pharmacokinetics What and Why (A second attempt to make it clearer) Mahemaics in Pharmacokineics Wha and Why (A second aemp o make i clearer) We have used equaions for concenraion () as a funcion of ime (). We will coninue o use hese equaions since he plasma concenraions

More information

ANALYSIS AND COMPARISONS OF SOME SOLUTION CONCEPTS FOR STOCHASTIC PROGRAMMING PROBLEMS

ANALYSIS AND COMPARISONS OF SOME SOLUTION CONCEPTS FOR STOCHASTIC PROGRAMMING PROBLEMS ANALYSIS AND COMPARISONS OF SOME SOLUTION CONCEPTS FOR STOCHASTIC PROGRAMMING PROBLEMS R. Caballero, E. Cerdá, M. M. Muñoz and L. Rey () Deparmen of Applied Economics (Mahemaics), Universiy of Málaga,

More information

SPEC model selection algorithm for ARCH models: an options pricing evaluation framework

SPEC model selection algorithm for ARCH models: an options pricing evaluation framework Applied Financial Economics Leers, 2008, 4, 419 423 SEC model selecion algorihm for ARCH models: an opions pricing evaluaion framework Savros Degiannakis a, * and Evdokia Xekalaki a,b a Deparmen of Saisics,

More information

Chapter 1.6 Financial Management

Chapter 1.6 Financial Management Chaper 1.6 Financial Managemen Par I: Objecive ype quesions and answers 1. Simple pay back period is equal o: a) Raio of Firs cos/ne yearly savings b) Raio of Annual gross cash flow/capial cos n c) = (1

More information

OPERATION MANUAL. Indoor unit for air to water heat pump system and options EKHBRD011ABV1 EKHBRD014ABV1 EKHBRD016ABV1

OPERATION MANUAL. Indoor unit for air to water heat pump system and options EKHBRD011ABV1 EKHBRD014ABV1 EKHBRD016ABV1 OPERAION MANUAL Indoor uni for air o waer hea pump sysem and opions EKHBRD011ABV1 EKHBRD014ABV1 EKHBRD016ABV1 EKHBRD011ABY1 EKHBRD014ABY1 EKHBRD016ABY1 EKHBRD011ACV1 EKHBRD014ACV1 EKHBRD016ACV1 EKHBRD011ACY1

More information

11/6/2013. Chapter 14: Dynamic AD-AS. Introduction. Introduction. Keeping track of time. The model s elements

11/6/2013. Chapter 14: Dynamic AD-AS. Introduction. Introduction. Keeping track of time. The model s elements Inroducion Chaper 14: Dynamic D-S dynamic model of aggregae and aggregae supply gives us more insigh ino how he economy works in he shor run. I is a simplified version of a DSGE model, used in cuing-edge

More information

Measuring macroeconomic volatility Applications to export revenue data, 1970-2005

Measuring macroeconomic volatility Applications to export revenue data, 1970-2005 FONDATION POUR LES ETUDES ET RERS LE DEVELOPPEMENT INTERNATIONAL Measuring macroeconomic volailiy Applicaions o expor revenue daa, 1970-005 by Joël Cariolle Policy brief no. 47 March 01 The FERDI is a

More information

MACROECONOMIC FORECASTS AT THE MOF A LOOK INTO THE REAR VIEW MIRROR

MACROECONOMIC FORECASTS AT THE MOF A LOOK INTO THE REAR VIEW MIRROR MACROECONOMIC FORECASTS AT THE MOF A LOOK INTO THE REAR VIEW MIRROR The firs experimenal publicaion, which summarised pas and expeced fuure developmen of basic economic indicaors, was published by he Minisry

More information

Automatic measurement and detection of GSM interferences

Automatic measurement and detection of GSM interferences Auomaic measuremen and deecion of GSM inerferences Poor speech qualiy and dropped calls in GSM neworks may be caused by inerferences as a resul of high raffic load. The radio nework analyzers from Rohde

More information

Individual Health Insurance April 30, 2008 Pages 167-170

Individual Health Insurance April 30, 2008 Pages 167-170 Individual Healh Insurance April 30, 2008 Pages 167-170 We have received feedback ha his secion of he e is confusing because some of he defined noaion is inconsisen wih comparable life insurance reserve

More information

Chapter 7. Response of First-Order RL and RC Circuits

Chapter 7. Response of First-Order RL and RC Circuits Chaper 7. esponse of Firs-Order L and C Circuis 7.1. The Naural esponse of an L Circui 7.2. The Naural esponse of an C Circui 7.3. The ep esponse of L and C Circuis 7.4. A General oluion for ep and Naural

More information

SELF-EVALUATION FOR VIDEO TRACKING SYSTEMS

SELF-EVALUATION FOR VIDEO TRACKING SYSTEMS SELF-EVALUATION FOR VIDEO TRACKING SYSTEMS Hao Wu and Qinfen Zheng Cenre for Auomaion Research Dep. of Elecrical and Compuer Engineering Universiy of Maryland, College Park, MD-20742 {wh2003, qinfen}@cfar.umd.edu

More information

Journal Of Business & Economics Research September 2005 Volume 3, Number 9

Journal Of Business & Economics Research September 2005 Volume 3, Number 9 Opion Pricing And Mone Carlo Simulaions George M. Jabbour, (Email: jabbour@gwu.edu), George Washingon Universiy Yi-Kang Liu, (yikang@gwu.edu), George Washingon Universiy ABSTRACT The advanage of Mone Carlo

More information

DC-DC Boost Converter with Constant Output Voltage for Grid Connected Photovoltaic Application System

DC-DC Boost Converter with Constant Output Voltage for Grid Connected Photovoltaic Application System DC-DC Boos Converer wih Consan Oupu Volage for Grid Conneced Phoovolaic Applicaion Sysem Pui-Weng Chan, Syafrudin Masri Universii Sains Malaysia E-mail: edmond_chan85@homail.com, syaf@eng.usm.my Absrac

More information

DETERMINISTIC INVENTORY MODEL FOR ITEMS WITH TIME VARYING DEMAND, WEIBULL DISTRIBUTION DETERIORATION AND SHORTAGES KUN-SHAN WU

DETERMINISTIC INVENTORY MODEL FOR ITEMS WITH TIME VARYING DEMAND, WEIBULL DISTRIBUTION DETERIORATION AND SHORTAGES KUN-SHAN WU Yugoslav Journal of Operaions Research 2 (22), Number, 6-7 DEERMINISIC INVENORY MODEL FOR IEMS WIH IME VARYING DEMAND, WEIBULL DISRIBUION DEERIORAION AND SHORAGES KUN-SHAN WU Deparmen of Bussines Adminisraion

More information

Term Structure of Prices of Asian Options

Term Structure of Prices of Asian Options Term Srucure of Prices of Asian Opions Jirô Akahori, Tsuomu Mikami, Kenji Yasuomi and Teruo Yokoa Dep. of Mahemaical Sciences, Risumeikan Universiy 1-1-1 Nojihigashi, Kusasu, Shiga 525-8577, Japan E-mail:

More information

How To Calculate Price Elasiciy Per Capia Per Capi

How To Calculate Price Elasiciy Per Capia Per Capi Price elasiciy of demand for crude oil: esimaes for 23 counries John C.B. Cooper Absrac This paper uses a muliple regression model derived from an adapaion of Nerlove s parial adjusmen model o esimae boh

More information

TEMPORAL PATTERN IDENTIFICATION OF TIME SERIES DATA USING PATTERN WAVELETS AND GENETIC ALGORITHMS

TEMPORAL PATTERN IDENTIFICATION OF TIME SERIES DATA USING PATTERN WAVELETS AND GENETIC ALGORITHMS TEMPORAL PATTERN IDENTIFICATION OF TIME SERIES DATA USING PATTERN WAVELETS AND GENETIC ALGORITHMS RICHARD J. POVINELLI AND XIN FENG Deparmen of Elecrical and Compuer Engineering Marquee Universiy, P.O.

More information

USE OF EDUCATION TECHNOLOGY IN ENGLISH CLASSES

USE OF EDUCATION TECHNOLOGY IN ENGLISH CLASSES USE OF EDUCATION TECHNOLOGY IN ENGLISH CLASSES Mehme Nuri GÖMLEKSİZ Absrac Using educaion echnology in classes helps eachers realize a beer and more effecive learning. In his sudy 150 English eachers were

More information

Hedging with Forwards and Futures

Hedging with Forwards and Futures Hedging wih orwards and uures Hedging in mos cases is sraighforward. You plan o buy 10,000 barrels of oil in six monhs and you wish o eliminae he price risk. If you ake he buy-side of a forward/fuures

More information

Inductance and Transient Circuits

Inductance and Transient Circuits Chaper H Inducance and Transien Circuis Blinn College - Physics 2426 - Terry Honan As a consequence of Faraday's law a changing curren hrough one coil induces an EMF in anoher coil; his is known as muual

More information

Stochastic Optimal Control Problem for Life Insurance

Stochastic Optimal Control Problem for Life Insurance Sochasic Opimal Conrol Problem for Life Insurance s. Basukh 1, D. Nyamsuren 2 1 Deparmen of Economics and Economerics, Insiue of Finance and Economics, Ulaanbaaar, Mongolia 2 School of Mahemaics, Mongolian

More information

Analysis of Pricing and Efficiency Control Strategy between Internet Retailer and Conventional Retailer

Analysis of Pricing and Efficiency Control Strategy between Internet Retailer and Conventional Retailer Recen Advances in Business Managemen and Markeing Analysis of Pricing and Efficiency Conrol Sraegy beween Inerne Reailer and Convenional Reailer HYUG RAE CHO 1, SUG MOO BAE and JOG HU PARK 3 Deparmen of

More information

The Transport Equation

The Transport Equation The Transpor Equaion Consider a fluid, flowing wih velociy, V, in a hin sraigh ube whose cross secion will be denoed by A. Suppose he fluid conains a conaminan whose concenraion a posiion a ime will be

More information

Working Paper No. 482. Net Intergenerational Transfers from an Increase in Social Security Benefits

Working Paper No. 482. Net Intergenerational Transfers from an Increase in Social Security Benefits Working Paper No. 482 Ne Inergeneraional Transfers from an Increase in Social Securiy Benefis By Li Gan Texas A&M and NBER Guan Gong Shanghai Universiy of Finance and Economics Michael Hurd RAND Corporaion

More information

As widely accepted performance measures in supply chain management practice, frequency-based service

As widely accepted performance measures in supply chain management practice, frequency-based service MANUFACTURING & SERVICE OPERATIONS MANAGEMENT Vol. 6, No., Winer 2004, pp. 53 72 issn 523-464 eissn 526-5498 04 060 0053 informs doi 0.287/msom.030.0029 2004 INFORMS On Measuring Supplier Performance Under

More information

LEASING VERSUSBUYING

LEASING VERSUSBUYING LEASNG VERSUSBUYNG Conribued by James D. Blum and LeRoy D. Brooks Assisan Professors of Business Adminisraion Deparmen of Business Adminisraion Universiy of Delaware Newark, Delaware The auhors discuss

More information

Market Liquidity and the Impacts of the Computerized Trading System: Evidence from the Stock Exchange of Thailand

Market Liquidity and the Impacts of the Computerized Trading System: Evidence from the Stock Exchange of Thailand 36 Invesmen Managemen and Financial Innovaions, 4/4 Marke Liquidiy and he Impacs of he Compuerized Trading Sysem: Evidence from he Sock Exchange of Thailand Sorasar Sukcharoensin 1, Pariyada Srisopisawa,

More information

The Grantor Retained Annuity Trust (GRAT)

The Grantor Retained Annuity Trust (GRAT) WEALTH ADVISORY Esae Planning Sraegies for closely-held, family businesses The Granor Reained Annuiy Trus (GRAT) An efficien wealh ransfer sraegy, paricularly in a low ineres rae environmen Family business

More information

CPU Provisioning Algorithms for Service Differentiation in Cloud-based Environments

CPU Provisioning Algorithms for Service Differentiation in Cloud-based Environments CPU Provisioning Algorihms for Service Differeniaion in Cloud-based Environmens Kosas Kasalis, Georgios S. Paschos, Yannis Viniois, Leandros Tassiulas Absrac This work focuses on he design, analysis and

More information

Module 3 Design for Strength. Version 2 ME, IIT Kharagpur

Module 3 Design for Strength. Version 2 ME, IIT Kharagpur Module 3 Design for Srengh Lesson 2 Sress Concenraion Insrucional Objecives A he end of his lesson, he sudens should be able o undersand Sress concenraion and he facors responsible. Deerminaion of sress

More information

Real-time Particle Filters

Real-time Particle Filters Real-ime Paricle Filers Cody Kwok Dieer Fox Marina Meilă Dep. of Compuer Science & Engineering, Dep. of Saisics Universiy of Washingon Seale, WA 9895 ckwok,fox @cs.washingon.edu, mmp@sa.washingon.edu Absrac

More information

The Greek financial crisis: growing imbalances and sovereign spreads. Heather D. Gibson, Stephan G. Hall and George S. Tavlas

The Greek financial crisis: growing imbalances and sovereign spreads. Heather D. Gibson, Stephan G. Hall and George S. Tavlas The Greek financial crisis: growing imbalances and sovereign spreads Heaher D. Gibson, Sephan G. Hall and George S. Tavlas The enry The enry of Greece ino he Eurozone in 2001 produced a dividend in he

More information

Option Put-Call Parity Relations When the Underlying Security Pays Dividends

Option Put-Call Parity Relations When the Underlying Security Pays Dividends Inernaional Journal of Business and conomics, 26, Vol. 5, No. 3, 225-23 Opion Pu-all Pariy Relaions When he Underlying Securiy Pays Dividends Weiyu Guo Deparmen of Finance, Universiy of Nebraska Omaha,

More information

PATHWISE PROPERTIES AND PERFORMANCE BOUNDS FOR A PERISHABLE INVENTORY SYSTEM

PATHWISE PROPERTIES AND PERFORMANCE BOUNDS FOR A PERISHABLE INVENTORY SYSTEM PATHWISE PROPERTIES AND PERFORMANCE BOUNDS FOR A PERISHABLE INVENTORY SYSTEM WILLIAM L. COOPER Deparmen of Mechanical Engineering, Universiy of Minnesoa, 111 Church Sree S.E., Minneapolis, MN 55455 billcoop@me.umn.edu

More information

Time Series Analysis Using SAS R Part I The Augmented Dickey-Fuller (ADF) Test

Time Series Analysis Using SAS R Part I The Augmented Dickey-Fuller (ADF) Test ABSTRACT Time Series Analysis Using SAS R Par I The Augmened Dickey-Fuller (ADF) Tes By Ismail E. Mohamed The purpose of his series of aricles is o discuss SAS programming echniques specifically designed

More information

Making a Faster Cryptanalytic Time-Memory Trade-Off

Making a Faster Cryptanalytic Time-Memory Trade-Off Making a Faser Crypanalyic Time-Memory Trade-Off Philippe Oechslin Laboraoire de Securié e de Crypographie (LASEC) Ecole Polyechnique Fédérale de Lausanne Faculé I&C, 1015 Lausanne, Swizerland philippe.oechslin@epfl.ch

More information

Chapter 6: Business Valuation (Income Approach)

Chapter 6: Business Valuation (Income Approach) Chaper 6: Business Valuaion (Income Approach) Cash flow deerminaion is one of he mos criical elemens o a business valuaion. Everyhing may be secondary. If cash flow is high, hen he value is high; if he

More information

UNDERSTANDING THE DEATH BENEFIT SWITCH OPTION IN UNIVERSAL LIFE POLICIES. Nadine Gatzert

UNDERSTANDING THE DEATH BENEFIT SWITCH OPTION IN UNIVERSAL LIFE POLICIES. Nadine Gatzert UNDERSTANDING THE DEATH BENEFIT SWITCH OPTION IN UNIVERSAL LIFE POLICIES Nadine Gazer Conac (has changed since iniial submission): Chair for Insurance Managemen Universiy of Erlangen-Nuremberg Lange Gasse

More information

The naive method discussed in Lecture 1 uses the most recent observations to forecast future values. That is, Y ˆ t + 1

The naive method discussed in Lecture 1 uses the most recent observations to forecast future values. That is, Y ˆ t + 1 Business Condiions & Forecasing Exponenial Smoohing LECTURE 2 MOVING AVERAGES AND EXPONENTIAL SMOOTHING OVERVIEW This lecure inroduces ime-series smoohing forecasing mehods. Various models are discussed,

More information

Optimal Investment and Consumption Decision of Family with Life Insurance

Optimal Investment and Consumption Decision of Family with Life Insurance Opimal Invesmen and Consumpion Decision of Family wih Life Insurance Minsuk Kwak 1 2 Yong Hyun Shin 3 U Jin Choi 4 6h World Congress of he Bachelier Finance Sociey Torono, Canada June 25, 2010 1 Speaker

More information

Random Walk in 1-D. 3 possible paths x vs n. -5 For our random walk, we assume the probabilities p,q do not depend on time (n) - stationary

Random Walk in 1-D. 3 possible paths x vs n. -5 For our random walk, we assume the probabilities p,q do not depend on time (n) - stationary Random Walk in -D Random walks appear in many cones: diffusion is a random walk process undersanding buffering, waiing imes, queuing more generally he heory of sochasic processes gambling choosing he bes

More information

Research on Inventory Sharing and Pricing Strategy of Multichannel Retailer with Channel Preference in Internet Environment

Research on Inventory Sharing and Pricing Strategy of Multichannel Retailer with Channel Preference in Internet Environment Vol. 7, No. 6 (04), pp. 365-374 hp://dx.doi.org/0.457/ijhi.04.7.6.3 Research on Invenory Sharing and Pricing Sraegy of Mulichannel Reailer wih Channel Preference in Inerne Environmen Hanzong Li College

More information

Forecasting and Information Sharing in Supply Chains Under Quasi-ARMA Demand

Forecasting and Information Sharing in Supply Chains Under Quasi-ARMA Demand Forecasing and Informaion Sharing in Supply Chains Under Quasi-ARMA Demand Avi Giloni, Clifford Hurvich, Sridhar Seshadri July 9, 2009 Absrac In his paper, we revisi he problem of demand propagaion in

More information

policies are investigated through the entire product life cycle of a remanufacturable product. Benefiting from the MDP analysis, the optimal or

policies are investigated through the entire product life cycle of a remanufacturable product. Benefiting from the MDP analysis, the optimal or ABSTRACT AHISKA, SEMRA SEBNEM. Invenory Opimizaion in a One Produc Recoverable Manufacuring Sysem. (Under he direcion of Dr. Russell E. King and Dr. Thom J. Hodgson.) Environmenal regulaions or he necessiy

More information

Smooth Priorities for Multi-Product Inventory Control

Smooth Priorities for Multi-Product Inventory Control Smooh rioriies for Muli-roduc Invenory Conrol Francisco José.A.V. Mendonça*. Carlos F. Bispo** *Insiuo Superior Técnico - Universidade Técnica de Lisboa (email:favm@mega.is.ul.p) ** Insiuo de Sisemas e

More information

Direc Manipulaion Inerface and EGN algorithms

Direc Manipulaion Inerface and EGN algorithms A Direc Manipulaion Inerface for 3D Compuer Animaion Sco Sona Snibbe y Brown Universiy Deparmen of Compuer Science Providence, RI 02912, USA Absrac We presen a new se of inerface echniques for visualizing

More information

cooking trajectory boiling water B (t) microwave 0 2 4 6 8 101214161820 time t (mins)

cooking trajectory boiling water B (t) microwave 0 2 4 6 8 101214161820 time t (mins) Alligaor egg wih calculus We have a large alligaor egg jus ou of he fridge (1 ) which we need o hea o 9. Now here are wo accepable mehods for heaing alligaor eggs, one is o immerse hem in boiling waer

More information

On the degrees of irreducible factors of higher order Bernoulli polynomials

On the degrees of irreducible factors of higher order Bernoulli polynomials ACTA ARITHMETICA LXII.4 (1992 On he degrees of irreducible facors of higher order Bernoulli polynomials by Arnold Adelberg (Grinnell, Ia. 1. Inroducion. In his paper, we generalize he curren resuls on

More information

CHARGE AND DISCHARGE OF A CAPACITOR

CHARGE AND DISCHARGE OF A CAPACITOR REFERENCES RC Circuis: Elecrical Insrumens: Mos Inroducory Physics exs (e.g. A. Halliday and Resnick, Physics ; M. Sernheim and J. Kane, General Physics.) This Laboraory Manual: Commonly Used Insrumens:

More information

THE FIRM'S INVESTMENT DECISION UNDER CERTAINTY: CAPITAL BUDGETING AND RANKING OF NEW INVESTMENT PROJECTS

THE FIRM'S INVESTMENT DECISION UNDER CERTAINTY: CAPITAL BUDGETING AND RANKING OF NEW INVESTMENT PROJECTS VII. THE FIRM'S INVESTMENT DECISION UNDER CERTAINTY: CAPITAL BUDGETING AND RANKING OF NEW INVESTMENT PROJECTS The mos imporan decisions for a firm's managemen are is invesmen decisions. While i is surely

More information

Distributed Online Localization in Sensor Networks Using a Moving Target

Distributed Online Localization in Sensor Networks Using a Moving Target Disribued Online Localizaion in Sensor Neworks Using a Moving Targe Aram Galsyan 1, Bhaskar Krishnamachari 2, Krisina Lerman 1, and Sundeep Paem 2 1 Informaion Sciences Insiue 2 Deparmen of Elecrical Engineering-Sysems

More information

Stock Trading with Recurrent Reinforcement Learning (RRL) CS229 Application Project Gabriel Molina, SUID 5055783

Stock Trading with Recurrent Reinforcement Learning (RRL) CS229 Application Project Gabriel Molina, SUID 5055783 Sock raing wih Recurren Reinforcemen Learning (RRL) CS9 Applicaion Projec Gabriel Molina, SUID 555783 I. INRODUCION One relaively new approach o financial raing is o use machine learning algorihms o preic

More information

Task-Execution Scheduling Schemes for Network Measurement and Monitoring

Task-Execution Scheduling Schemes for Network Measurement and Monitoring Task-Execuion Scheduling Schemes for Nework Measuremen and Monioring Zhen Qin, Robero Rojas-Cessa, and Nirwan Ansari Deparmen of Elecrical and Compuer Engineering New Jersey Insiue of Technology Universiy

More information

Making Use of Gate Charge Information in MOSFET and IGBT Data Sheets

Making Use of Gate Charge Information in MOSFET and IGBT Data Sheets Making Use of ae Charge Informaion in MOSFET and IBT Daa Shees Ralph McArhur Senior Applicaions Engineer Advanced Power Technology 405 S.W. Columbia Sree Bend, Oregon 97702 Power MOSFETs and IBTs have

More information

Principal components of stock market dynamics. Methodology and applications in brief (to be updated ) Andrei Bouzaev, bouzaev@ya.

Principal components of stock market dynamics. Methodology and applications in brief (to be updated ) Andrei Bouzaev, bouzaev@ya. Principal componens of sock marke dynamics Mehodology and applicaions in brief o be updaed Andrei Bouzaev, bouzaev@ya.ru Why principal componens are needed Objecives undersand he evidence of more han one

More information

Monotonic, Inrush Current Limited Start-Up for Linear Regulators

Monotonic, Inrush Current Limited Start-Up for Linear Regulators Applicaion epor SLA156 March 2004 Monoonic, Inrush urren Limied Sar-Up for Linear egulaors Jeff Falin PMP Porable Producs ABSA he oupu volage of a linear regulaor ends o rise quickly afer i is enabled.

More information

International Journal of Supply and Operations Management

International Journal of Supply and Operations Management Inernaional Journal of Supply and Operaions Managemen IJSOM May 05, Volume, Issue, pp 5-547 ISSN-Prin: 8-59 ISSN-Online: 8-55 wwwijsomcom An EPQ Model wih Increasing Demand and Demand Dependen Producion

More information

Trends in TCP/IP Retransmissions and Resets

Trends in TCP/IP Retransmissions and Resets Trends in TCP/IP Reransmissions and Reses Absrac Concordia Chen, Mrunal Mangrulkar, Naomi Ramos, and Mahaswea Sarkar {cychen, mkulkarn, msarkar,naramos}@cs.ucsd.edu As he Inerne grows larger, measuring

More information

Strategic Optimization of a Transportation Distribution Network

Strategic Optimization of a Transportation Distribution Network Sraegic Opimizaion of a Transporaion Disribuion Nework K. John Sophabmixay, Sco J. Mason, Manuel D. Rossei Deparmen of Indusrial Engineering Universiy of Arkansas 4207 Bell Engineering Cener Fayeeville,

More information

Nikkei Stock Average Volatility Index Real-time Version Index Guidebook

Nikkei Stock Average Volatility Index Real-time Version Index Guidebook Nikkei Sock Average Volailiy Index Real-ime Version Index Guidebook Nikkei Inc. Wih he modificaion of he mehodology of he Nikkei Sock Average Volailiy Index as Nikkei Inc. (Nikkei) sars calculaing and

More information

9. Capacitor and Resistor Circuits

9. Capacitor and Resistor Circuits ElecronicsLab9.nb 1 9. Capacior and Resisor Circuis Inroducion hus far we have consider resisors in various combinaions wih a power supply or baery which provide a consan volage source or direc curren

More information

Relationships between Stock Prices and Accounting Information: A Review of the Residual Income and Ohlson Models. Scott Pirie* and Malcolm Smith**

Relationships between Stock Prices and Accounting Information: A Review of the Residual Income and Ohlson Models. Scott Pirie* and Malcolm Smith** Relaionships beween Sock Prices and Accouning Informaion: A Review of he Residual Income and Ohlson Models Sco Pirie* and Malcolm Smih** * Inernaional Graduae School of Managemen, Universiy of Souh Ausralia

More information

A Note on Using the Svensson procedure to estimate the risk free rate in corporate valuation

A Note on Using the Svensson procedure to estimate the risk free rate in corporate valuation A Noe on Using he Svensson procedure o esimae he risk free rae in corporae valuaion By Sven Arnold, Alexander Lahmann and Bernhard Schwezler Ocober 2011 1. The risk free ineres rae in corporae valuaion

More information

adaptive control; stochastic systems; certainty equivalence principle; long-term

adaptive control; stochastic systems; certainty equivalence principle; long-term COMMUICATIOS I IFORMATIO AD SYSTEMS c 2006 Inernaional Press Vol. 6, o. 4, pp. 299-320, 2006 003 ADAPTIVE COTROL OF LIEAR TIME IVARIAT SYSTEMS: THE BET O THE BEST PRICIPLE S. BITTATI AD M. C. CAMPI Absrac.

More information

Inventory Planning with Forecast Updates: Approximate Solutions and Cost Error Bounds

Inventory Planning with Forecast Updates: Approximate Solutions and Cost Error Bounds OPERATIONS RESEARCH Vol. 54, No. 6, November December 2006, pp. 1079 1097 issn 0030-364X eissn 1526-5463 06 5406 1079 informs doi 10.1287/opre.1060.0338 2006 INFORMS Invenory Planning wih Forecas Updaes:

More information

Forecasting, Ordering and Stock- Holding for Erratic Demand

Forecasting, Ordering and Stock- Holding for Erratic Demand ISF 2002 23 rd o 26 h June 2002 Forecasing, Ordering and Sock- Holding for Erraic Demand Andrew Eaves Lancaser Universiy / Andalus Soluions Limied Inroducion Erraic and slow-moving demand Demand classificaion

More information

The Real Business Cycle paradigm. The RBC model emphasizes supply (technology) disturbances as the main source of

The Real Business Cycle paradigm. The RBC model emphasizes supply (technology) disturbances as the main source of Prof. Harris Dellas Advanced Macroeconomics Winer 2001/01 The Real Business Cycle paradigm The RBC model emphasizes supply (echnology) disurbances as he main source of macroeconomic flucuaions in a world

More information

System Performance Improvement By Server Virtualization

System Performance Improvement By Server Virtualization Sysem Performance Improvemen By Server Virualizaion Hioshi Ueno, Tomohide Hasegawa, and Keiichi Yoshihama Absrac Wih he advance of semiconducor echnology, microprocessors become highly inegraed and herefore

More information

Distributed Echo Cancellation in Multimedia Conferencing System

Distributed Echo Cancellation in Multimedia Conferencing System Disribued Echo Cancellaion in Mulimedia Conferencing Sysem Balan Sinniah 1, Sureswaran Ramadass 2 1 KDU College Sdn.Bhd, A Paramoun Corporaion Company, 32, Jalan Anson, 10400 Penang, Malaysia. sbalan@kdupg.edu.my

More information

CALCULATION OF OMX TALLINN

CALCULATION OF OMX TALLINN CALCULATION OF OMX TALLINN CALCULATION OF OMX TALLINN 1. OMX Tallinn index...3 2. Terms in use...3 3. Comuaion rules of OMX Tallinn...3 3.1. Oening, real-ime and closing value of he Index...3 3.2. Index

More information

A Joint Optimization of Operational Cost and Performance Interference in Cloud Data Centers

A Joint Optimization of Operational Cost and Performance Interference in Cloud Data Centers A Join Opimizaion of Operaional Cos and Performance Inerference in Cloud Daa Ceners Xibo Jin, Fa Zhang, Lin Wang, Songlin Hu, Biyu Zhou and Zhiyong Liu Insiue of Compuing Technology, Chinese Academy of

More information

TOOL OUTSOURCING RISK RESEARCH BASED ON BP NEURAL NETWORK

TOOL OUTSOURCING RISK RESEARCH BASED ON BP NEURAL NETWORK Inernaional Journal of Innovaive Managemen, Informaion & Producion ISME Inernaionalc2011 ISSN 2185-5439 Volume 2, Number 1, June 2011 PP. 57-67 TOOL OUTSOURCING RISK RESEARCH BASED ON BP NEURAL NETWORK

More information

The option pricing framework

The option pricing framework Chaper 2 The opion pricing framework The opion markes based on swap raes or he LIBOR have become he larges fixed income markes, and caps (floors) and swapions are he mos imporan derivaives wihin hese markes.

More information

Load Prediction Using Hybrid Model for Computational Grid

Load Prediction Using Hybrid Model for Computational Grid Load Predicion Using Hybrid Model for Compuaional Grid Yongwei Wu, Yulai Yuan, Guangwen Yang 3, Weimin Zheng 4 Deparmen of Compuer Science and Technology, Tsinghua Universiy, Beijing 00084, China, 3, 4

More information

DDoS Attacks Detection Model and its Application

DDoS Attacks Detection Model and its Application DDoS Aacks Deecion Model and is Applicaion 1, MUHAI LI, 1 MING LI, XIUYING JIANG 1 School of Informaion Science & Technology Eas China Normal Universiy No. 500, Dong-Chuan Road, Shanghai 0041, PR. China

More information

Technical Report. Resource Sharing Under a Server-based Semi- Partitioned Scheduling Approach. Alexandre Esper Eduardo Tovar

Technical Report. Resource Sharing Under a Server-based Semi- Partitioned Scheduling Approach. Alexandre Esper Eduardo Tovar Technical Repor Resource Sharing Under a Server-based Semi- Pariioned Scheduling Approach Alexandre Esper Eduardo Tovar CISTER-TR-4008 0-08-04 Technical Repor CISTER-TR-4008 Resource Sharing Under a Server-based

More information

AP Calculus BC 2010 Scoring Guidelines

AP Calculus BC 2010 Scoring Guidelines AP Calculus BC Scoring Guidelines The College Board The College Board is a no-for-profi membership associaion whose mission is o connec sudens o college success and opporuniy. Founded in, he College Board

More information

Real Time Bid Optimization with Smooth Budget Delivery in Online Advertising

Real Time Bid Optimization with Smooth Budget Delivery in Online Advertising Real Time Bid Opimizaion wih Smooh Budge Delivery in Online Adverising Kuang-Chih Lee Ali Jalali Ali Dasdan Turn Inc. 835 Main Sree, Redwood Ciy, CA 94063 {klee,ajalali,adasdan}@urn.com ABSTRACT Today,

More information

Niche Market or Mass Market?

Niche Market or Mass Market? Niche Marke or Mass Marke? Maxim Ivanov y McMaser Universiy July 2009 Absrac The de niion of a niche or a mass marke is based on he ranking of wo variables: he monopoly price and he produc mean value.

More information

Chapter 8 Student Lecture Notes 8-1

Chapter 8 Student Lecture Notes 8-1 Chaper Suden Lecure Noes - Chaper Goals QM: Business Saisics Chaper Analyzing and Forecasing -Series Daa Afer compleing his chaper, you should be able o: Idenify he componens presen in a ime series Develop

More information

INTRODUCTION TO FORECASTING

INTRODUCTION TO FORECASTING INTRODUCTION TO FORECASTING INTRODUCTION: Wha is a forecas? Why do managers need o forecas? A forecas is an esimae of uncerain fuure evens (lierally, o "cas forward" by exrapolaing from pas and curren

More information