可编程控制器的数据库系统-毕业论文外文翻译.docx
《可编程控制器的数据库系统-毕业论文外文翻译.docx》由会员分享,可在线阅读,更多相关《可编程控制器的数据库系统-毕业论文外文翻译.docx(11页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、Database Systems for Programmable Logic ControllersABSTRACTIn this paper, we identify the database issues associated with programmable logic controllers (PLC), special-purpose computers used in scientific and industrial applications, e.g. in factories in manufacturing environments. We propose as a P
2、LC database system a single-user,real-time, scalable main-memory-only relational database system with a two-level architecture having historical data modeling and manipulation capabilities, and query processing techniques incorporating time- and/or error-constrained query evaluation. We revise the l
3、adder logic language, the most common PLC language, to incorporate data manipulation language instructions. We add a separate time component into the PLC processor scan time to handle database updates, backup, integrity enforcement and data archival issues. 1. IntroductionA programmable logic contro
4、ller (PLC) is a special-purpose computer used within real-time scientific computing systems, and industrial control systems, say, the automated control of a factorys machinery - the running example used in this paper. This paper is a position paper that proposes a PLC database system and discusses i
5、ts features. In doing so, we touch bases with a number of basic database topics, and, thus, frequently refer to other work for details. PLCs are mostly used in manufacturing environments - hence, the choice of our running example. However, PLCs are also used in scientific applications for signal dat
6、a gathering and preliminary data processing. Thus, we think that for some scientific applications, a PLC database may also serve as a local/transient part of a larger scientific database.With the rapid advances in computer hardware and falling memory prices, in recent years, the capabilities of the
7、new PLCs in the marketplace have been increasing dramatically. This paper is a position paper that argues that a PLC software can now contain a database system to greatly increase its functionality. We propose the architecture in Figure 1 as the architecture of an environment where real-time data ga
8、thering (from multiple sensors) and real-time data manipulation takes place.We now list the advantages of having a database system directly inside a PLC.(1)Data Modeling Techniques : The input and output buffers represent a rather unorganized transient model of the real world, and hence, carl be mod
9、eled better using the traditional data modeling techniques of databases.(2) Historical Databases : PLCs routinely deal with different versions of data over time. Therefore, historical data modeling techniques as well as historical data manipulation techniques can replace the ad hoc ways of manipulat
10、ing historical data in PLCs.(3) User-Friendly Interfaces : Presently in the marketplace, the PLC software and industrial terminals allow a limited display of messages and variable-data information in memory. For example, the contact histogram function displays the on/off history of a specific main m
11、emory.(4) Handling Large Volumes of Data : With the added capabilities of a database and a query language, the PLC may analyze much larger volumes of data.(5) Data Reduction and Compaction at the PLC Level : Presently, for further analysis or simply due to various regulations, data collected by PLCs
12、 get transmitted and stored into a host computer file using an architecture shown.Since the present PLCs cannot satisfactorily analyze most data, they simply transmit data to the host computer. In some scientific experiments and applications, the data gathered is so large that arguments have been ra
13、ised for processing the data on-the-fly during the execution of an experiment/transaction SSDB 86(a)Real-Time Database : The data in the input buffer must be scanned within reasonably short real-time intervals ranging from microseconds to seconds. Therefore,responses to queries must be guaranteed to
14、 be less than a certain realtime time bound, almost always less than 5 to 10 seconds.(b)Main Memory Database : Microseconds/seconds query response restrictions necessitate main-memory-only databases.(c) Scalable Database : Once the environment of a PLC and the requirements of the associated applicat
15、ion program are determined, the possible query types to the database stay fixed for a reasonably long period of time. Since the response time of queries is of utmost importance, the DBMS should be scaled so that only the needed routines/functions (e.g., access methods, data structures, etc.) are inc
16、orporated.In section 2, we discuss the general characteristics PLCs, and briefly present the ladder logic language. Section 3 discusses the features of the proposed database system for PLCs.In general, the PLC hardware is mostly custom-built with occasional off-the-shelf hardware, and consists of a
17、CPU (or multiple CPUs), main memory, an industrial terminal, and high- and medium-speed data communications hardware. The size of the main memory ranges from 16K bytes (of 5 to 10 years ago) to 8M bytes (of the present time).Although the CPU has an instruction set similar to those found in CPUs of 1
18、6-bit and 32-bit machines, it is especially equipped with fast bit manipulation instructions. The industrial terminal comes with a special keyboard to make the programming of the PLC easier and/or to intervene with the application program.The PLC software consists of an operating system (ranging fro
19、m a very simplistic monitor (of ten years ago) to a sophisticated real-time operating system (of the recent time), high-speed communications software for communicating with I/O processors,medium-speed communications software to the industrial terminal and to other intelligent devices.Both general-pu
20、rpose computers and PLCs are used for industrial control Star 87.However, they differ in the programming languages that they use, environmental specifications, and their user types. PLCs are rugged, and work in hostile environments with no special climate controls, tolerating extremes of temperature
21、 (60 C), humidity (95%) and air contamination. Users of PLCs include the original programmers of the application programs, as well as plant electricians and maintenance personnel, who are accustomed to relay-type controlling environments.A rung is an ordered set of PLC instructions drawn on a single
22、 line. Instructions on a rung are classified as input instructions (those that monitor the input buffer) and output instructions (those that set the output buffer), and are executed from left to right, sequentially (Please see figure 4). A PLC application program consists of a main program and a set
23、 of subroutines, each of which containing an ordered set of rungs。To summarize, the application programmer deals with actual (realtime) clock times, and needs to have precise estimates for program scan times and I/O scan times. For time estimations, the PLC manufacturers supply information such as 4
24、 mseconds for 1000 ladder logic instructions, and 1 mseconds for copying 256 words into an input buffer during the I/O scan. In most applications, the processor scan time is kept below 10 seconds.Thus, database manipulation instructions also need to have precise time limits available to (or set by)
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 可编程控制器 数据库 系统 毕业论文 外文 翻译
限制150内