自动化控制专业外文翻译

自动化控制专业外文翻译
自动化控制专业外文翻译

附件:资料1翻译译文

在自动化控制和智能仪器仪表中, 单片机的应用越来越广泛, 由于单片机的运算功能较差, 往往需要借助计算机系统, 因此单片机和PC机进行远程通信更具有实际意义, 通信的关键在于互传数据信息。51系列单片机内部的串行口具有通信的功能,该串行口可以作为通信接口, 利用该串行口与PC机的串行口COM 1或COM 2进行串行通信, 将单片机采集的数据传送到PC机中, 由PC 机的高级语言或数据库语言对数据进行整理及统计等复杂处理就能满足实际的应用需要。

软件设计,初始化后,打开数据通道对上下游信号进行采样,并进行相关运算,求峰值R~,对R.二是否峰值进行判断,以确保正确求出延时r,从而得出正确的流量。由于一次相关计算所需时间很短,因此,采用计数器控制。

PC机和单片机在进行通信时, 首先分别对各自的串行口进行初始化、确定串行口工作方式、设定波特率、传输数据长度等, 然后才开始数据传输, 这些工作是由软件来完成的, 因此对PC机和单片机均需设计相应的通信软件。DOS环境下, 串行通信一般用中断方式来实现,用户对通信端口进行完全控制。而在W i ndow s环境下, 系统禁止应用程序直接对硬件进行操作。在W indows 环境下提供了完备的AP I应用程序接口函数, 程序员通过这些函数与通信硬件接口。通信函数是中断驱动的: 发送数据时, 先将其放入缓存区,串口准备好后, 就将其发送出去; 传来的数据迅速申请中断, 使W i ndow s接收它并将其存入缓冲区, 以供读取。接收方式主要有查询和中断方式。采用查询方式时, CPU要不断测试串口是否有数据,以防接收串口数据时出现错误、效率低; 而采用中断方式则无需测试串口, 一旦有数据传至, CPU终止当前任务,由中断服务程序完成操作。因此, 中断方式具有效率高、接收准确、编程简单等特点。

在工业通信及控制领域,特别是分布式的控制系统中,常常需要在各设备之间交换和共享数据,而且对于数据交换的实时性可靠性要求很高在这种情况下,现场总线应运而生了现场总线由于其良好的实时性开放性以及工业针对性强的特点,在工业领域得到了长足的运用和发展可以说,现场总线在工业领域正发挥着不可或缺的重要作用。

在PLC 系统的应用中,经常需要将多台PLC连成一个网络,其中每台

PLC 可以实时地获知网络中其它任何一台PLC 的特定信息,从而达到整个网络上的数据同步,实现联动控制;同时在性能上要求良好的实时性和可靠性而且,在很多情况下,通信的开销也不能太高因此,怎样以较低的开销,较好地实现设备间的数据同步功能,在PLC 及其他工业通信产品的开发中具有很积极的意义。模拟系统需要尽量对指控计算机的各个分系统进行逼真的模拟,不仅要实时响应指控计算机的请求,及时回送符合要求的报文,正确监测通信的时序,检测传输过程中的CRC 校验错,还需要严格控制通信的误码率,具有良好的人机界面。鉴于此,模拟系统采用了硬件智能板设计结合软件优化设计的思想,设计了满足要求的智能高速通信板,然后在此基础上再开发具有良好用户界面的驱动控制软件。

固件程序的主要功能包括自检及初始化通信板器件、提供上层驱动软件接口、监测双口存储器中标志字节请求、根据请求完成数据传送、判断数据传输状态并进行相应处理、硬件断处理等。固化程序主体可分为自检、初始化、程序主流程、中断处理等几部分。为使系统在某些恶劣环境下也能可靠工作,满足对信息传输的实时性、高可靠、安全性的要求,在通道的硬件设计上采取了一系列必要的措施,并在固件中作了处理。其中包括超时计时器的设置和通道故障报警等。

传统仪器面板上的器件都是实物,而且是用手动和触摸进行操作的,而虚拟仪器面板控件是外形与实物相像的图标,通、断、放大等对应着相应的软件程序. 这些软件已经设计好了,用户不必设计,只需选用代表该种软件程序的图形控件即可,由计算机的鼠标来对其进行操作. 因此,设计虚拟面板的过程就是在面板设计窗口中摆放所需的控件,然后编写相应的程序. 大多数初学者可以学习利用虚拟仪器的软件开发工具,例如LabWindows/CVI、LabVIEW 等编程语言,在短时间内轻松完成美观又实用的虚拟仪器面

附件:资料1外文原文(可以用复印件)

In automatic control and intelligent instrumentation, the MCU should more and more widely used, due to poor function of the microcontroller operation is often required to the use of computer systems, remote microcontroller and PC,more meaningful communication, communication is the key to each data channel transmission information. 51 computers with the internal serial port communications features.The serial port can serve as a communication interface with the PC using the serial port serial port COM 1 or COM 2 serial communication, the monolithic can gather data to the PC machine, the PC, high-level language or database language for data compilation and statistical processing to the complex to meet the needs of practical application.

Software Design,after initialization, open the data channel on the upstream and downstream signals are sampled.And associated operations, find the peak R ~, on whether the peak for the second sentence R.Off, find the delay to ensure the correct r, to arrive at the correct flow. As A very short time the relevant calculation, therefore, the use of the counter control.

Communication during PC, and SCM, the first for their respective

Initialize the serial port, serial port work to determine and set waves special rate, transmission of data length, and then began to data transmission, these work is done by software, so the PC, and microcontroller need to design appropriate communication software.

DOS environment, the serial communication interrupt mode generally used to https://www.360docs.net/doc/861958967.html,ers complete control of the communication port. In the W i ndow s environment the system prohibits the application directly on the hardware to operate. In w indows in the provision of a complete application program interface functions AP I number of these functions by the programmer hardware interface and communications. Communication letter number is interrupt-driven: to send data, first put it in cache serial ready, it will be sent; application data from the rapid please interrupt, so that W i ndow s receive it and store them in buffer for read. The main methods of inquiry and received interrupt. Using query mode, CPU to constantly test the serial port for data, to prevent receiver serial data errors and low efficiency; and no use of interrupt need to test the serial port, once the data is transmitted, CPU terminates the current task complete the operation by the interrupt service routine. Therefore, an effective interrupt rate, to receive accurate, programming and simple. Communication and control in industrial fields, particularly in distributed control system of systems, often require different equipment in the exchange and sharing between the number of

It is, but also for the reliability of real-time data exchange are

high in this case ,the field bus came into the scene bus due to its good real-time for open and industrial strong features in the industry have seen significant use and

development fair to say, fieldbus is playing in the industrial field is not indispensable role.

In the PLC system applications, often need more than one PLC

connected into a network, each of them in real time by the Knowledge network PLC network in any other specific information of a PLC to achieve the whole data synchronization on a network, to achieve joint control; while in the performance on the requirements of a good time and reliability and, in many circumstances case, the communication overhead can not be too high, therefore, how to overhead,achieve better synchronization of data between devices in PLC and other industrial communication products that have very positive. Analog systems require as much as possible the various subsystems of the alleged conduct realistic computer simulation, real-time response to allegations of not only the computer's request, sent back in time to meet request packet, the correct timing to monitor communications, detection of CRC in the school transfer process test wrong, but also the need for strict control of communication error rate has a good user interface.In view of this, the simulation system uses a combination of hardware, software optimization Intelligent design.The idea of intelligent design to meet the requirements of high-speed communication board, and on this basis further development of good user interface drive control software.The main features include firmware and initialize the communication board self-test devices, to mention software interface for the upper drive, monitor flag byte dual-port memory request, according to data transfer request is completed to determine the state and the corresponding data processing hardware interrupt processing. Body can be divided into self-curing process, the initialization, the program mainstream process, interrupt handling and other parts. To make the system in some harsh environments can be by working to meet the real-time transmission of information, high reliability, safety requirements.

Hardware design of the channel a series of necessary measures taken, and the firmware for the treatment. Including time-out timer settings and channel failure alarm.Traditional instruments are physical devices on the panel, and is operated by hand and touch, and virtual instrument surface board control is similar to the icon with the physical appearance, pass, off, zoom, etc. correspond to the appropriate software program. The software has been good design, users do not design, just use software program that represents the kind of graphical controls can be, by the computer mouse scale to its operations. Therefore the process of designing the virtual panel is placed in the panel needed to design window controls.Then write the appropriate programs. most beginners can learn to use virtual instrument software development tools, such as LabVIEW and other programming languages easily completed in a short time beautiful and practical surface of the virtual instrument.

相关主题
相关文档
最新文档