Structured Mapping of Petri Net States and Events for FPGA Implementations
Abstract
The paper presents a new method of structured encoding of global internal states and events in Reconfigurable Logic Controllers, which are directly mapped into Field Programmable Gate Arrays (FPGA). Modular, concurrently decomposed, colored state machine is chosen as a intermediate model, before the mapping of Petri net into an array structure of dedicated but very flexible and reliable digital system. The initial textual specification in formal Gentzen logic serves both as a design description for a rapid prototyping, as well as formal model, suitable for detailed computer-based reasoning about optimized and synthesized logic controller, implemented in configurable hardware. Only the selected linear subset from general, universal propositional Gentzen Logic is necessary to deduce several properties of the net, such as relations of nonconcurrency among structurally ordered macroplaces. The goal of this paper is to present the design methodology for modeling and synthesis of discrete controllers using related Petri net theory, rule-based theory (mathematical logic), and VHDL.
References
M. Adamski, A. Karatkevich, and M. Węgrzyn, Design of Embeded Control Systems. New York: Springer Science+Business Media, Inc., 2005.
J. Tkacz and M. Adamski, “Logic design of structured configurable controllers,” in Proceedings of IEEE 3rd International Conference on Networked Embedded Systems for Every Application NESEA’12, Liverpool, United Kingdom, 2012, p. 6.
M. Adamski and M. Węgrzyn, “Petri nets mapping into reconfigurable logic controllers,” Electronics and Telecommunications Quarterly, vol. 55, no. 2, pp. 157-182, 2009.
M. Adamski, “Specification and synthesis of Petri net based reprogrammable logic controller,” in Proceedings of 5th IFAC International Conference on Programmable Devices and Embedded Systems PDeS’01, Brno, Czech Republic, 2001, pp. 95-100.
K. Biliński, M. Adamski, J. Saul, and E. Dagless, “Petri-net-based algorithms for parallel-controller synthesis,” IEE Proceedings - Computers and Digital Techniques, vol. 141, no. 6, pp. 405-412, 1994.
M. Doligalski, “Behavioral specification of the logic controllers by means of the hierarchical configurable Petri nets,” in Proceedings of 11th IFAC/IEEE International Conference on Programmable Devices and Embedded Systems PDeS’12, Brno, Czech Republic, 2012, pp. 80-83.
M. Doligalski, “Behavioral specification diversification for logic controllers implemented in FPGA devices,” in Proceedings of the 9th Annual FPGA Conference - FPGAworld ’12. Stockholm, Sweden: New York, ACM, 2012, p. 5.
C. Girault and R. Valk, Petri Nets for System Engineering: A Guide to Modeling, Verification, and Applications. Berlin/Heidelberg: Springer- Verlag, 2003.
A. Yakovlev, L. Gomes, and L. Lavagno, Hardware Design and Petri Nets. Boston: Kluwer, 2000.
K. Jensen, K. Kristensen, and L. Wells, “Coloured Petri nets and CPN tools for modelling and validation of concurrent systems,” International Journal on Software Tools for Technology Transfer (STTT), vol. 9, no. 3, pp. 213-254, 2007.
I. Grobelna, Formal Verifikation of Logic Controller Specification by Means of Model Checking, ser. Lecture Notes in Control and Computer Science. Zielona Góra: University of Zielona Góra Press, Poland, 2013.
M. Adamski and J. Tkacz, “Formal reasoning in logic design of reconfigurable controllers,” in Proceedings of 11th IFAC/IEEE International Conference on Programmable Devices and Embedded Systems PDeS’12, Brno, Czech Republic, 2012, pp. 1-6.
A. Bukowiec and M. Adamski, “Synthesis of Petri nets into FPGA with operation flexible memories,” in Proceedings of the IEEE 15th International Symposium on Design and Diagnostics of Electronic Circuits and Systems DDECS’12, Tallinn, Estonia, 2012, pp. 16-21.
J. H. Gallier, Logic for Computer Science: Foundations of Automatic Theorem Proving. New York: Harper & Row Publishers, 1985. [Online]. Available: http://www.cis.upenn.edu/jean/gbooks/logic.html
T. Kozłowski, E. Dagless, J. Saul, M. Adamski, and J. Szajna, “Parallel controller synthesis using Petri nets,” IEE Proceedings - Computers and Digital Techniques, vol. 142, no. 4, pp. 263-271, 1995.
J. Tkacz and M.Adamski, “Calculation of state machine cover of safe Petri net by means of computer based reasoning,” Measurement Automation and Monitoring, vol. 57, no. 11, pp. 1397-1400, 2011.
J. Tkacz, “State machine type colouring of Petri net by means of using a symbolic deduction method,” Measurement Automation and Monitoring, vol. 53, no. 5, pp. 120-122, 2007.
T. Murata, “Petri nets: Properties, analysis and applications,” Proceedings of the IEEE, vol. 77, no. 4, pp. 541-580, 1989.
A. Karatkevich, Dynamic Analysis of Petri Net-Based Discrete Systems, ser. Lecture Notes in Control and Information Sciences. Berlin: Springer-Verlag, 2007, vol. 356.
M. Wiśniewska, R. Wiśniewski, and M. Adamski, “Usage of hypergraph theory in decomposition of concurrent automata,” Measurement Automation and Monitoring, vol. 53, no. 7, pp. 66-68, 2007.
H. Foster, A. Krolnik, and D. Lacey, Assertion-Based Design, 2nd ed. Norwell: Kluwer Academic Publishers, 2004.
G. Łabiak, M. Adamski, M. Doligalski, J. Tkacz, and A. Bukowiec, “UML modelling in rigorous design methodology for discrete controllers,” International Journal of Electronics and Telecommunications, vol. 58, no. 1, pp. 27-34, 2012.
A. Bukowiec, “Synthesis of FSMs based on architectural decomposition with joined multiple encoding,” International Journal of Electronics and Telecommunications, vol. 58, no. 1, pp. 35-41, 2012.
M. Doligalski, Behavioral Specification Diversification of Reconfigurable Logic Controllers, ser. Lecture Notes in Control and Computer Science. Zielona Gra: University of Zielona Gra Press, 2012, vol. 20.
Downloads
Published
Issue
Section
License
1. License
The non-commercial use of the article will be governed by the Creative Commons Attribution license as currently displayed on https://creativecommons.org/licenses/by/4.0/.
2. Author’s Warranties
The author warrants that the article is original, written by stated author/s, has not been published before, contains no unlawful statements, does not infringe the rights of others, is subject to copyright that is vested exclusively in the author and free of any third party rights, and that any necessary written permissions to quote from other sources have been obtained by the author/s. The undersigned also warrants that the manuscript (or its essential substance) has not been published other than as an abstract or doctorate thesis and has not been submitted for consideration elsewhere, for print, electronic or digital publication.
3. User Rights
Under the Creative Commons Attribution license, the author(s) and users are free to share (copy, distribute and transmit the contribution) under the following conditions: 1. they must attribute the contribution in the manner specified by the author or licensor, 2. they may alter, transform, or build upon this work, 3. they may use this contribution for commercial purposes.
4. Rights of Authors
Authors retain the following rights:
- copyright, and other proprietary rights relating to the article, such as patent rights,
- the right to use the substance of the article in own future works, including lectures and books,
- the right to reproduce the article for own purposes, provided the copies are not offered for sale,
- the right to self-archive the article
- the right to supervision over the integrity of the content of the work and its fair use.
5. Co-Authorship
If the article was prepared jointly with other authors, the signatory of this form warrants that he/she has been authorized by all co-authors to sign this agreement on their behalf, and agrees to inform his/her co-authors of the terms of this agreement.
6. Termination
This agreement can be terminated by the author or the Journal Owner upon two months’ notice where the other party has materially breached this agreement and failed to remedy such breach within a month of being given the terminating party’s notice requesting such breach to be remedied. No breach or violation of this agreement will cause this agreement or any license granted in it to terminate automatically or affect the definition of the Journal Owner. The author and the Journal Owner may agree to terminate this agreement at any time. This agreement or any license granted in it cannot be terminated otherwise than in accordance with this section 6. This License shall remain in effect throughout the term of copyright in the Work and may not be revoked without the express written consent of both parties.
7. Royalties
This agreement entitles the author to no royalties or other fees. To such extent as legally permissible, the author waives his or her right to collect royalties relative to the article in respect of any use of the article by the Journal Owner or its sublicensee.
8. Miscellaneous
The Journal Owner will publish the article (or have it published) in the Journal if the article’s editorial process is successfully completed and the Journal Owner or its sublicensee has become obligated to have the article published. Where such obligation depends on the payment of a fee, it shall not be deemed to exist until such time as that fee is paid. The Journal Owner may conform the article to a style of punctuation, spelling, capitalization and usage that it deems appropriate. The Journal Owner will be allowed to sublicense the rights that are licensed to it under this agreement. This agreement will be governed by the laws of Poland.
By signing this License, Author(s) warrant(s) that they have the full power to enter into this agreement. This License shall remain in effect throughout the term of copyright in the Work and may not be revoked without the express written consent of both parties.