新聞中心

        EEPW首頁 > 嵌入式系統 > 設計應用 > 一種基于Petri網的并行控制器的VHDL實現

        一種基于Petri網的并行控制器的VHDL實現

        作者: 時間:2010-06-17 來源:網絡 收藏

          3.3 模型的實現

          用實現的部分源代碼如下:

          t1=not p2 and not p4 and x0 and p1;

          t2=not p3 and x1 and p2;

          t3=not p5 and x3 and p4;

          t4=not p6 and not p7 and p3 and p5;

          t5=not p8 and x5 and x6 and p6;

          t6=not p9 and not x2 and not x4 and p7;

          t7=not p6 and not x5 and p8;

          t8=not p1 and not x6 and p6 and p9;

          np1=t8 or (p1 and not t1);

          np2=t1 or (p2 and not t2);

          np3=t2 or (p3 and not t4);

          np4=t1 or (p4 and not t3);

          np5=t3 or (p5 and not t4);

          np6=t4 or t7 or(p6 and not t5 and not t8);

          np7=t4 or (p7 and not t6);

          np8=t5 or (p8 and not t7);

          np9=t6 or (p9 and not t8);

          3.4 基于Max+PlusⅡ的仿真

          在MAX+PlusⅡ中經編譯后進行功能仿真,仿真波形如圖4所示。波形表明結果是正確的。

        一種基于Petri網的并行控制器的VHDL實現

          4 結 論

          網是并發系統強有力的建模工具,通過對網模型的分析,可以獲得系統的許多結構和動態性能,根據控制策略,還可以建立系統的控制模型并獲得系統在控制作用下的性能。以上討論證明,基于網的可以用實現,從而開辟了設計與實現的新途徑。

          參考文獻

          1 David R,Alla H著,黃建文,趙不賄譯.佩特利網和邏輯控制器圖形表示工具(GRAFCET).北京:機械工業出版社, 1996

          2 袁崇義.Petri網原理.北京:電子工業出版社,1998

          3 Pardey J,Amroun A,Bolton M et al.Parallel Cotroller Synthesis for Programmable Logic Devices.Microprocessors and Microsystems,1994;18(8)

          4 Fernandes J M,Adamski M,Proenca A J.VHDL Generation from Hierarchical Petri Net Specifications of Parallel Controllers.IEEE ProcComput Tech,1997;144(2)

          5 Adamski M.A Rigorous Design Methodology for Reprogrammable Logic Controllers. Proceedings of the International Workshop on Discrete-Event System Design DESDes′01.Przytok:Technical University of Zielona Góra,2001


        上一頁 1 2 3 下一頁

        評論


        相關推薦

        技術專區

        關閉
        主站蜘蛛池模板: 天门市| 东宁县| 永清县| 永寿县| 白玉县| 黑龙江省| 万盛区| 法库县| 当阳市| 剑河县| 沙田区| 库尔勒市| 萝北县| 平顶山市| 云安县| 双峰县| 广汉市| 商水县| 鄂伦春自治旗| 堆龙德庆县| 根河市| 勃利县| 花莲县| 灌阳县| 德化县| 凤翔县| 宿迁市| 斗六市| 南雄市| 玛纳斯县| 金堂县| 威宁| 宜丰县| 工布江达县| 宁德市| 奉节县| 万山特区| 中阳县| 曲阜市| 枝江市| 淮滨县|