ImageVerifierCode 换一换
格式:PPT , 页数:29 ,大小:932.50KB ,
文档编号:2236973      下载积分:22 文币
快捷下载
登录下载
邮箱/手机:
温馨提示:
系统将以此处填写的邮箱或者手机号生成账号和密码,方便再次下载。 如填写123,账号和密码都是123。
支付方式: 支付宝    微信支付   
验证码:   换一换

优惠套餐
 

温馨提示:若手机下载失败,请复制以下地址【https://www.163wenku.com/d-2236973.html】到电脑浏览器->登陆(账号密码均为手机号或邮箱;不要扫码登陆)->重新下载(不再收费)。

已注册用户请登录:
账号:
密码:
验证码:   换一换
  忘记密码?
三方登录: 微信登录  
下载须知

1: 试题类文档的标题没说有答案,则无答案;主观题也可能无答案。PPT的音视频可能无法播放。 请谨慎下单,一旦售出,概不退换。
2: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。
3: 本文为用户(三亚风情)主动上传,所有收益归该用户。163文库仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知163文库(点击联系客服),我们立即给予删除!。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 本站仅提供交流平台,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

版权提示 | 免责声明

1,本文(时间自动机课件.ppt)为本站会员(三亚风情)主动上传,163文库仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。
2,用户下载本文档,所消耗的文币(积分)将全额增加到上传者的账号。
3, 若此文所含内容侵犯了您的版权或隐私,请立即通知163文库(发送邮件至3464097650@qq.com或直接QQ联系客服),我们立即给予删除!

时间自动机课件.ppt

1、2008 -12-151n The theory of Timed automatan A case study2008 -12-152nFirst introduced by Rajeev Alur and David L. Dill in 1990,nRajeev Alur and David L. Dill. Automata for modeling real-time systems. In Proceedings, 17th International Colloquium on Automata, Languages and Programming, 1990.nR. Alur

2、and D. L. Dill.: A theory of timed automata In Theoret. Comput. Sci., Vol. 126, No.2, 1994, pp. 183-235nA finite-state Buchi automaton extended with a set of real value variablesnTimed safety automata 2008 -12-153OffLightBrightPressPressPressPressWANT: if press is issued twice quickly then the light

3、 will get brighter; otherwise the light is turned off.2008 -12-154OffLightBrightSolution: Add a real-valued clock x x:=0 x3PressPressPressPressAdding continuous variables to state machines2008 -12-155nmaClocks: x, yx3x := 0Guard Boolean combination of comparisons withInteger/rational boundsResetActi

4、on performed on clocks( n , x=2.4 , y=3.1415 ) ( n , x=3.5 , y=4.2415 )wait(1.1)Transitions( n , x=2.4 , y=3.1415 ) ( m , x=0 , y=3.1415 )aState ( location , x=v , y=u ) where v,u are in RAction for synchronization2008 -12-156nmaClocks: x, yx3x := 0Transitions:( n , x=2.4 , y=3.1415 ) ( n , x=3.5 ,

5、y=4.2415 ) wait(1.1)( n , x=2.4 , y=3.1415 ) wait(3.2)x=5y(l,v+d) if both v and v+d satisfy I(l)q Location switch transitions: (l,v)-a-(l,v) if there is an edge (l,a,g,l,l) such that v satisfies g and v=vl:=02008 -12-159n The product of automata n We use timed automata network to model them2008 -12-

6、1510ABx3aba |a,x:=0abcCDy3bb|b,y:=0bcACBCx3ab, y:=0a|a,x:=0ADy3cBDx4y3, b|x3, b,y:=0a|a, x:=0y3ca, x:=02008 -12-1511q System modeled as timed automata networksq Properties specified as CTL formulars.q Verification problem reduced to reachability or to temporal logic model checkingq ApplicationsReal-

7、time controllersAsynchronous timed circuitsSchedulingDistributed timing-based algorithms2008 -12-1512specification of the goal系统需求系统需求现实现实environmentPLC programPLCfulfils2008 -12-1513specification of the environmentspecification of the control系统规范系统规范结构描述结构描述 plant diagramPLC programspecification of

8、 the goal系统需求系统需求automaton for the plantautomaton for the program2008 -12-1514specification of the goal系统需求系统需求automaton for the plantautomaton for the programT_plant | T_program |= Property模型检测:模型检测:2008 -12-1515n Steeve controller : Part of a theater machinery control system n Steeve uused for pul

9、ling light and screen, ucan move up and down, located at any preset height,upowered by motor.uRange 15-195n Control modeuAutomatic: given the target height, the steeve achieve automaticlly. uManual: user can let the steeve move up, down and stop 2008 -12-15162008 -12-1517n In natural languageuThe st

10、eeve stops at the required height.uThe steeve must move under the safety range, cannot exceed the upper and lower bounds.uMake sure the whole operation can be finished within 60s.2008 -12-1518n 9 signals are defined for synchronization, they are stop, start, up, down, impulse, inc, cw, acw and sp.n

11、One signal is shared by two components for their synchronization n The relationship of the height and the impulse number is:uimpulse_number = height * 2n 1 time unit is 0.01s2008 -12-1519n Finite automatan a=1: automatic mode. n a=0 : manual mode n If we want to simulate a sequence of operations, ca

12、n be modeled as TA2008 -12-1520nmotor with fixed speednsensor issues an impulse every 2 time units.nConstrain formula y=2 belongs to I(rt_acw)nCyclic transition, y is reset to 0, signal impulse is issued every two time unites until stop order sp is received2008 -12-1521nThere is time delay between s

13、ensor receiving impulse and sending inc to controller.nThe delay is below 1 time unite.nClock variable x is used to represent the time delay.2008 -12-1522nFunctionuCmp, convert, unhigh, nlow, chnVariablesuh_req: required heightuh_curr: current heightum target counting number un current counting numb

14、er 2008 -12-1523n 8 traces, half for rising up, half for falling down.n Automatic modeuUser gives a required height, the steeve reaches there. (0,3,5,7,0)uBefore reaching there, user suddenly stop it.(0,3,5,8,0)n Manuel modeuPress up, later press stop. (0,1,5,8,0)uForget to press stop, when reach th

15、e bound, motor is forced to stop. (0,1,5,10,0)2008 -12-1524n Use tool UppaaluA timed automata verification tool n Properties descriptionuA simplied version of CTL : temporal operators are F() and G()2008 -12-1525nthe system should be deadlock freeuA not deadlocknIn the automatic mode, when the user

16、sets the required height, the steeve should eventually reach the target position.uA a=1 imply (h_curr=h_req)nthe steeve never extend the upper and lower bounduA 15=h_curr=195nWhen the steeve reaches the required height, the motor should have stopped.uA (a=1 and h_req=h_curr) imply motor.static2008 -

17、12-1526n The accumulated time that the steeve reaches the required height should below 6000 time unitsuA clock variable k and a boolean variable d are neededuA controller.d=1 imply (controller.k=6000)n In the manual mode, when the stop order is issued by user, the motor will stop within 2 time units.uA (not a=0 and c=1 ) imply u=22008 12 - 1527精品课件精品课件!2008 12 - 1528精品课件精品课件!2008 -12-1529 Any question ?

侵权处理QQ:3464097650--上传资料QQ:3464097650

【声明】本站为“文档C2C交易模式”,即用户上传的文档直接卖给(下载)用户,本站只是网络空间服务平台,本站所有原创文档下载所得归上传人所有,如您发现上传作品侵犯了您的版权,请立刻联系我们并提供证据,我们将在3个工作日内予以改正。


163文库-Www.163Wenku.Com |网站地图|