本站所列毕业设计(论文)资料均属于原创者所有,初衷是为大家在毕业设计(论文)过程中参考和学习交流之用。

毕业设计我帮你

MCGS嵌入版概述

www.bysj580.com / 2016-11-13
MCGS嵌入版概述
MCGS嵌入版的主要特性和功能
MCGS嵌入版是在MCGS通用版的基础上开发的,专门应用于嵌入式计算机监控系统组态软件,MCGS嵌入版包括组态环境和运行环境两部分,它的组态环境能够在基于Microsoft的各种32位Windows平台上运行,运行环境则是在实时多任务嵌入式操作系统WindowsCE中运行。适应于应用系统对功能、可靠性、成本、体积、功耗等综合性能有严格要求的专用计算机系统。通过对现场数据的采集处理,以动画显示、报警处理、流程控制和报表输出等多种方式向用户提供解决实际工程问题的方案,在自动化领域有着广泛的应用。此外MCGS嵌入版还带有一个模拟运行环境,用于对组态后的工程进行模拟测试,方便用户对组态过程的调试。
 MCGS嵌入版组态软件的主要功能
l .简单灵活的可视化操作界面。MCGS嵌入版采用全中文、可视化、面向窗口的开发界面,符合中国人的使用习惯和要求。以窗口为单位,构造用户运行系统的图形界面,使得MCGS嵌入版的组态工作既简单直观,又灵活多变。
2.实时性强、有良好的并行处理性能。MCGS嵌入版是真正的32位系统,充分利用了32位WindowsCE操作平台的多任务、按优先级分时操作的功能,以线程为单位对在工程作业中实时性强的关键任务和实时性不强的非关键任务进行分时并行处理,使嵌入式PC机广泛应用于工程测控领域成为可能。例如,MCGS嵌入版在处理数据采集、设备驱动和异常处理等关键任务时,可在主机运行周期时间内插空进行象打印数据一类的非关键性工作,实现并行处理
3.丰富、生动的多媒体画面。MCGS嵌入版以图像、图符、报表曲线等多种形式,为操作员及时提供系统运行中的状态、品质及异常报警等相关信息;用大小变化、颜色改变、明暗闪烁、移动翻转等多种手段,增强画面的动态显示效果;对图元、图符对象定义相应的状态属性,实现动画效果。MCGS嵌入版还为用户提供了丰富的动画构件,每个动画构件都对应一个特定的动画功能。
4.完善的安全机制。MCGS嵌入版提供了良好的安全机制,可以为多个不同级别用户设定不同的操作权限。此外,MCGS嵌入版还提供了工程密码功能,以保护组态开发者的成果。
5. 强大的网络功能。MCGS嵌入版具有强大的网络通讯功能,支持串口通讯、Modem串口通讯、以太网TCP/IP通讯,不仅可以方便快捷的实现远程数据传输,还可以与网络版相结合通过Web浏览功能,在整个企业范围内浏览监测到所有生产信息,实现设备管理和企业管理的集成。
6.多样化的报警功能。MCGS嵌入版提供多种不同的报警方式,具有丰富的报警类型,方便用户进行报警设置,并且系统能够实时显示报警信息,对报警数据进行应答,为工业现场安全可靠地生产运行提供有力的保障。
7.实时数据库为用户分步组态提供极大方便。MCGS嵌入版由主控窗口、设备窗口、用户窗口、实时数据库和运行策略五个部分构成,其中实时数据库是一个数据处理中心,是系统各个部分及其各种功能性构件的公用数据区,是整个系统的核心。各个部件独立地向实时数据库输入和输出数据,并完成自己的差错控制。在生成用户应用系统时,每一部分均可分别进行组态配置,独立建造,互不相干。
8.支持多种硬件设备,实现“设备无关”。MCGS嵌入版针对外部设备的特征,设立设备工具箱,定义多种设备构件,建立系统与外部设备的连接关系,赋予相关的属性,实现对外部设备的驱动和控制。用户在设备工具箱中可方便选择各种设备构件。不同的设备对应不同的构件,所有的设备构件均通过实时数据库建立联系,而建立时又是相互独立的,即对某一构件的操作或改动,不影响其它构件和整个系统的结构,因此MCGS嵌入版是一个“设备无关”的系统,用户不必担心因外部设备的局部改动,而影响整个系统。
9.方便控制复杂的运行流程。MCGS嵌入版开辟了“运行策略”窗口,用户可以选用系统提供的各种条件和功能的策略构件,用图形化的方法和简单的类Basic语言构造多分支的应用程序,按照设定的条件和顺序,操作外部设备,控制窗口的打开或关闭,与实时数据库进行数据交换,实现自由、精确地控制运行流程,同时也可以由用户创建新的策略构件,扩展系统的功能。
l0.良好的可维护性。MCGS嵌入版系统由五大功能模块组成,主要的功能模块以构件的形式来构造,不同的构件有着不同的功能,且各自独立。三种基本类型的构件(设备构件、动画构件、策略构件)完成了MCGS嵌入版系统的三大部分(设备驱动、动画显示和流程控制)的所有工作。
11.用自建文件系统来管理数据存储,系统可靠性更高。由于MCGS嵌入版不再使用ACCESS数据库来存储数据,而是使用了自建的文件系统来管理数据存储,所以与MCGS通用版相比,MCGS嵌入版的可靠性更高,在异常掉电的情况下也不会丢失数据。
12. 设立对象元件库,组态工作简单方便。对象元件库,实际上是分类存储各种组态对象的图库。组态时,可把制作完好的对象(包括图形对象、窗口对象、策略对象以至位图文件等)以元件的形式存入图库中,也可把元件库中的各种对象取出,直接为当前的工程所用,随着工作的积累,对象元件库将日益扩大和丰富。这样解决了组态结果的积累和重新利用问题。组态工作将会变得越来越简单方便。
总之,MCGS嵌入版组态软件具有强大的功能,并且操作简单,易学易用,普通工程人员经过短时间的培训就能迅速掌握多数工程项目的设计和运行操作。同时使用MCGS嵌入版组态软件能够避开复杂的嵌入版计算机软、硬件问题,而将精力集中于解决工程问题本身,根据工程作业的需要和特点,组态配置出高性能、高可靠性和高度专业化的工业控制监控系统
    MCGS嵌入版组态软件的主要特点
l.容量小:整个系统最低配置只需要极小的存贮空间,可以方便的使用DOC等存贮设备;
2.速度快:系统的时间控制精度高,可以方便地完成各种高速采集系统,满足实时控制系统要求;
3.成本低:使用嵌入式计算机,大大降低设备成本;
4.真正嵌入:运行于嵌入式实时多任务操作系统
5.稳定性高:无风扇,内置看门狗,上电重启时间短,可在各种恶劣环境下稳定长时间运行;
6.功能强大:提供中断处理,定时扫描精度可达到毫秒级,提供对计算机串口,内存,端口的访问。并可以根据需要灵活组态
7.通讯方便:内置串行通讯功能、以太网通讯功能、GPRS通讯功能、Web浏览功能和Modem远程诊断功能,可以方便地实现与各种设备进行数据交换、远程采集和Web浏览;
8.操作简便:MCGS嵌入版采用的组态环境,继承了MCGS通用版与网络版简单易学的优点,组态操作既简单直观,又灵活多变;
9. 支持多种设备:提供了所有常用的硬件设备的驱动;
10. 有助于建造完整的解决方案:MCGS嵌入版组态环境运行于具备良好人机界面的Windows操作系统上,具备与北京昆仑通态公司已经推出的通用版本组态软件和网络版组态软件相同的组态环境界面,可有效帮助用户建造从嵌入式设备,现场监控工作站到企业生产监控信息网在内的完整解决方案;并有助于用户开发的项目在这三个层次上的平滑迁移;
    嵌入版与通用版的异同
    嵌入版和通用版组态软件有很多相同之处:
相同的操作理念:嵌入版和通用版一样,组态环境是简单直观的可视化操作界面,通过简单的组态实现应用系统的开发,无需具备计算机编程的知识,就可以在短时间内开发出一个运行稳定的具备专业水准的计算机应用系统
相同的人机界面:嵌入版的人机界面的组态和通用版人机界面基本相同。可通过动画组态来反映实时的控制效果,也可进行数据处理,形成历史曲线、报表等,并且可以传递控制参数到实时控制系统
    相同的组态平台:嵌入版和通用版的组态平台是相同的,都是运行于Windows 95/98/Me/NT/2000等操作系统
相同的硬件操作方式:嵌入版和通用版都是通过挂接设备驱动来实现和硬件的数据交互,这样用户不必了解硬件的工作原理和内部结构,通过设备驱动的选择就可以轻松的实现计算机和硬件设备的数据交互。
嵌入版与通用版的不同之处
虽然嵌入版和通用版有很多相同之处,但嵌入版和通用版是适用于不同控制要求的,所以二者之间又有明显的不同。
与通用版相比,性能不同:l 功能作用不同:虽然嵌入版中也集成了人机交互界面,但嵌入版是专门针对实时控制而设计的,应用于实时性要求高的控制系统中,而通用版组态软件主要应用于实时性要求不高的监测系统中,它的主要作用是用来做监测和数据后台处理,比如动画显示、报表等,当然对于完整的控制系统来说二者都是不可或缺的;
运行环境不同:嵌入版运行于嵌入式实时多任务操作系统WindowsCE;通用版运行于Microsoft Windows95/98/Me/NT/2000等操作系统;
体系结构不同:嵌入版的组态和通用版的组态都是在通用计算机环境下进行的,但嵌入版的组态环境和运行环境是分开的,在组态环境下组态好的工程要下载到嵌入式系统中运行,而通用版的组态环境和运行环境是在一个系统中。
与通用版相比,嵌入版新增功能包括:l 模拟环境的使用,嵌入式版本的模拟环境CEEMU. exe的使用,解决了用户组态时,必须将PC机与嵌入式系统相连的问题,用户在模拟环境中就可以查看组态的界面美观性、功能的实现情况以及性能的合理性;
嵌入式系统函数,通过函数的调用,可以对嵌入式系统进行内存读写、串口参数设置、磁盘信息读取等操作;
工程下载配置,可以使用串口或TCP/IP进行与下位机的通讯,同时可以监控工程下载情况;
中断策略,在硬件产生中断请求时,该策略被调用。
    与通用版相比,嵌入版不能使用的功能包括:
动画构件中的文件播放、存盘数据处理、多行文本、格式文本、设置时间、条件曲线、相对曲线、通用棒图;
策略构件中的音响输出、Excel报表输出、报警信息浏览、存盘数据拷贝、存盘数据浏览、修改数据库、存盘数据提取、设置时间范围构件;
 
  Overview of MCGS embedded Edition
    The main characteristics and functions of embedded MCGS version 1 MCGS embedded version is developed based on MCGS general version of the configuration software, specially applied in the monitoring system based on embedded computer MCGS embedded version, including configuration and operation environment of the two part, it can be in the running configuration environment based on the Microsoft 32 Windows platform, operating environment is running in real-time multitask embedded in the WindowsCE operating system. To adapt to the application system for the comprehensive performance of function, reliability, cost, volume, power consumption has strict specialized computer system. Based on field data collection and processing, with animation display, alarm processing, process control and report output and so on many kinds of ways to solve practical engineering problems to the user, is widely used in the field of automation. In addition to embed the MCGS version with a simulation running environment for simulation testing, configuration of the project, is convenient for the user to debug the configuration process. 
    The main function of 1.1.1 MCGS Embedded Configuration Software 
Interface L is simple and flexible. MCGS embedded version with Chinese, visualization, facing the window interface, in line with the Chinese people's habits and requirements. To the window as a unit, operation system constructing graphical user interface, the configuration of MCGS embedded version of the simple and intuitive, flexible and. 
    L real-time parallel processing, has the good performance. MCGS embedded version is 32 real system, make full use of the 32 tasks, the WindowsCE platform according to priority time-sharing operation functions, in order to thread as the unit of the key tasks in the project operation of real-time and non-real-time strong non-critical tasks are divided into parallel processing, the embedded PC machine is widely used in the engineering field of measurement and control become possible. For example, MCGS embedded in the key task processing of data acquisition, device driver and so on, can be like a non critical work print data for a class of interpolation in the host running period, the implementation of parallel processing. 
    L rich, vivid multimedia picture. MCGS embedded in image, symbol, report, curves in various forms, for the operator to provide timely and quality system operation state, the abnormal alarm and other related information; with the size change, change color, bright and dark, mobile turnover and other means, to enhance the dynamic picture display effect of primitives, symbol object; the definition of state property, to achieve animation effects. MCGS embedded version also provides rich animation component for the user, each animation component corresponds to a specific function of animation. 
    Perfect security mechanism. MCGS embedded version provides a safety mechanism, you can set different permissions for different levels of users. In addition, MCGS embedded version also provides function to protect password, development of the configuration results. 
    Powerful network function. MCGS embedded with powerful network communication function, support serial communication, Modem serial communication, Ethernet communication on TCP/IP, not only can realize the remote data transmission convenient, also can be combined with a version of the Internet browsing through the Web, browse monitoring to all production information throughout the enterprise, realize the integration of equipment management and enterprise management the. 
    The diversification of the alarm function. MCGS embedded version offers a variety of different alarm mode, has the rich alarm type, convenient for the user to set an alarm, and the system can real-time display and alarm information, response to the alarm data, provides the powerful safeguard for the production and operation of industrial safety. 
    Real-time database configuration provides great convenience for users step by step. Five parts of MCGS embedded by the main control window, window, window, the user equipment and the operation strategy of real-time database, real-time database is a data processing center, is a public data area in each part of the system and its various functional components, is the core of the whole system. Each component independently to real-time database data input and output, and to complete their own error control. In generating user application system, each part can be respectively configuration, independent construction, independent of each other. 
    Supports a variety of hardware equipment, the realization of "device independent". According to the characteristics of the external device embedded in the MCGS version, set up equipment toolbox, define various equipment components, connection establishment system and external equipment, and give the relevant attributes, drive and control of external equipment. The user can conveniently select members of various equipment in the equipment. Members corresponding to different equipment and different equipment, all through the establishment of contact and the establishment of real-time database, and are independent of each other, that is a member of the operation or change, does not affect the other components and the structure of the whole system, so the MCGS embedded version is an "independent" system, the user does not worry about the changes due to local external equipment, and affect the whole system. 
    Convenient to control the running process of complex. MCGS embedded version has opened up a "strategy" window, strategy component users can various conditions and function selection system provides the application method, graphical and simple Basic language constructs multiple branches, in accordance with the conditions and sequence set, external operating equipment, control window is opened or closed, the data exchange and the real-time database, realize the free, precise control of operation process, but also can create new strategy component by the user, expand the function of the system. 
    Good maintainability. Component three basic types (equipment components, animation component, strategy component) completed the MCGS embedded system three parts (device drivers, animation display and process control) all work. 
    Use self-built file system to manage data storage, higher system reliability. Because the MCGS embedded version no longer uses the ACCESS database to store data, but the use of the file system is built to manage data storage, so compared with the general MCGS version, MCGS version of the higher reliability of embedded, nor in the abnormal power down in the case of missing data. 
    The establishment of object components, configuration is simple and convenient. Object component library, is actually classified storage of various configurations of objects. Configuration, can be put to produce a sound object (including graphics object, the window object, strategy object and bitmap file) to components stored in the form of the gallery, but also the various object library out, directly used for the current project, with the accumulation of component library, as the growing and rich. It solves the problem and reuse of configuration results in the accumulation of. Configuration work will become more and more simple and convenient. 
    In conclusion, MCGS embedded configuration software has powerful function, and the operation is simple, easy to learn and use, general engineering staff after a short training can quickly grasp the design and operating of the majority of the project. At the same time, the use of MCGS embedded configuration software can avoid complex embedded computer software and hardware problems, and focus on solving engineering problem itself, according to the needs and characteristics of engineering operations, configuration of high performance, high reliability and highly specialized industrial control monitoring system. 
    The main characteristics of 1.1.2 MCGS Embedded Configuration Software 
Small capacity: minimum configuration requires only minimal storage space of the entire system, it can facilitate the use of DOC storage devices; 
Speed: the time control precision is high, can easily complete a variety of high speed data acquisition system, satisfy the requirement of real-time control system 
Low cost: the use of embedded computer, greatly reduces the cost of device; 
The real embedded: running on embedded real-time multi-task operating system 
High stability: no fan, a built-in watchdog, power on reset time is short, but long time stable operation in harsh environment; 
    Powerful: provide the interrupt processing, timing scanning precision can reach millisecond level, provide the memory of the computer serial port, port access. And can according to need flexible configuration; 
Communication: the built-in function of serial communication, Ethernet communication, GPRS communication, Web browsing and Modem remote diagnosis function, can easily realize the data exchange, and various equipment remote acquisition and Web browsing; 
    Easy operation: configuration environment MCGS embedded version uses, inherits the advantages of MCGS universal edition and network edition easy configuration, operation is simple and intuitive, flexible and; 
    Help build the complete solution: MCGS embedded configuration environment with good man-machine interface of the Windows operating system, have the same with Beijing Kunlun Pass a generic version of configuration software and the network version software state companies have launched the interface configuration environment, can effectively help users to build from the embedded equipment, production monitoring information network on-site monitoring workstation to enterprises, complete solution; smooth transition and help users to develop projects on the basis of these three levels; 
    Similarities and differences between the 1.2 embedded version and the current version of the embedded with the general version of the same
Embedded version and configuration software in common use have a lot in common: 
    The same operation philosophy: embedded version and the general version of the same configuration environment, visual operation is simple and intuitive interface, realize the development and application of the system through a simple configuration, without the knowledge of computer programming, you can in a short period of time to develop a stable operation of the computer application system professional; 
The same interface: configuration embedded man-machine interface and man-machine interface is basically the same universal edition. Through the animation configuration to reflect the real time controlling effect, also can carry on data processing, the formation of historical curve, report forms, and can transmit the control parameters to the real-time control system; 
    The configuration platform of the same: configuration platform embedded version and the generic version is the same, is running on the Windows 95\/98\/Me\/NT\/2000 operating system; 
    The hardware operation mode of the same: embedded and general version is through the hanging data interaction connected device drivers and hardware implementation, so that the user does not need to understand the working principle and internal structure of hardware, the device driver can choose data exchange between computer and the hardware equipment easily. 
The difference of 1.2.2 embedded with the current version of the 
    Although the embedded version and universal edition has many similarities, but embedded version and the general version is suitable for different control requirements, so the two have different. 
    Compared with the common version, different properties: l function: Although different embedded version is also integrated in the human-computer interaction interface, but the embedded version is designed for real-time control and design, control system is applied to the real-time requirement, monitoring system and main application of configuration software in common use in the real-time requirement is not high., its main role is to monitoring and background data processing, such as animation, statements, and of course the complete control system, the two are indispensable; 
    Different operating environment: embedded version running on the embedded real-time operating system WindowsCE; general version running on Microsoft Windows95/98/Me/NT/2000 operating system; 
System structure: the configuration of different embedded edition and the generic version is in general computer environment, but the configuration environment embedded version and running environment is separated, in the configuration environment configuration good engineering to download to the operation of the embedded system, and the configuration environment the generic version and running environment is in a a system. 
    Compared with the common version, embedded edition new features include: the use of L simulation environment, using the simulation environment CEEMU. exe embedded version of the user configuration, solve, must be connected to PC and embedded system, the user in a simulated environment can function interface aesthetics, view the configuration implementation and performance the rationality of; 
Embedded systems function, through the function call, can read and write memory, serial port settings, disk read operations on the embedded system; 
    Engineering Download configuration, you can use the serial port or TCP/IP and the lower position machine communication, also can monitor project download status; 
Interrupt strategy, an interrupt request is generated in the hardware, this strategy is called. 
    Compared with the common version, embedded version cannot use function including: 
    Animation elements in the file, save data processing, multiple lines of text, text, set the time, condition curve, relative curve, general bar graph; 
Strategy of components in the audio output, Excel output statements, alarm information browsing, save copies of data, save data browsing, modify the database, save the data extraction, set the time component; 
                       
 
收缩