- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
工控组态件模拟系统论文
工控组态软件模拟系统
Simulation System of Industrial Control Configuration Software
摘 要
随着工业自动化水平的不断提高,对工业控制的及时性、准确性和稳定性提出了更高的要求。而工控组态软件的出现,很好的满足了工业控制的各方面的要求。随着嵌入式系统自动化和智能化的进一步发展,在嵌入式系统平台上开发出性能良好的应用软件也显得越来越重要。
本课题正是从工业控制的要求和特点出发,基于三星公司的ARM9处理器S3C2410和嵌入式Linux操作系统平台,完成了对工控组态软件的模拟。课题首先对底层硬件进行研究,包括驱动电机控制电路、PWM、ADC等电路的工作原理和电路图,并结合对S3C2410芯片上具体的控制管脚和寄存器的分析,在没有操作系统的平台上实现了对硬件设备的控制。在此基础上,在Linux 2.4内核下设计了各个硬件设备的驱动程序,利用内核空间和用户空间之间数据的传递以及中断的捕捉和信号发送的机制,使各个硬件能够正常运行于嵌入式Linux操作系统上。随后,分析总结工控组态软件的特点,对模拟系统进行了整体的设计和功能的描述,并结合软件工程的设计思想,分别对系统进行了需求分析、概要设计、详细设计和测试。概要设计中,划分功能模块,利用多线程完成了操作硬件和显示的功能,使系统结构层次更加的合理。详细设计中,以功能键来划分处理函数,使程序流程和逻辑更加的清晰。最后,裁剪和编译嵌入式Linux系统,在ARM9处理器上完成了应用程序的运行和调试。
本系统可以成功运行于Embest硬件平台,运行过程中,能够实时准确的监测每个硬件的状态,并能够通过控制台准确的控制外部硬件动作,完成了对一般工业控制的仿真和模拟。
关键词:工控组态软件;S3C2410;设备驱动
Simulation System of Industrial Control Configuration Software
Abstract
Along with the development of the automatic control in industry, the timeliness, accuracy and stability in industrial control is expected to reach a higher level. And the Industrial Control Configuration Software comes out to meet the strict demand. What’s more, as the embedded system becomes more specific and intelligent, developing Industrial Control Configuration Software on embedded platform shows its extraordinary potential and competitiveness.
According to the features and demands of industrial control, the simulation system is just accomplished based on the Samsung’ ARM9 processor S3C2410 platform and embedded linux operating system. Firstly, the system introduces the circuit diagram of the hardware, including the control circuit of DC motor, PWM, ADC and so on. And through analyzing the concrete control pins and registers on the S3C2410 chip, the system succeeds in controlling the peripheral devices without a operating system. Based on the hardware, the system designs the device drivers that run in the Linux 2.4 kernel. In the drivers, the system completes the data transmission between user space and kernel space, the capture to the
文档评论(0)