多路数据采集与分析系统的设计及应用 外文翻译 外文文献 英文文献.doc_第1页
多路数据采集与分析系统的设计及应用 外文翻译 外文文献 英文文献.doc_第2页
多路数据采集与分析系统的设计及应用 外文翻译 外文文献 英文文献.doc_第3页
多路数据采集与分析系统的设计及应用 外文翻译 外文文献 英文文献.doc_第4页
多路数据采集与分析系统的设计及应用 外文翻译 外文文献 英文文献.doc_第5页
已阅读5页,还剩11页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

附录五中英文资料multi-channel data collection and analysis of the design and applicationabstract:the paper mainly introduces a multichannel data acquisition and analysis system composed of one pc and one measuring instrument. the system can test eight products parallelly. it reduces the test cost and improves work efficiency. the paper also gives the hardware structure and software flow diagr am of the system. the application in the gyro test is also introduced briefly. key words:communication prot;data acquisition; gyro; testwith the development of computer technology and the digital measuring instrument, usually by computer and measuring instruments to communicate with each other in real-time data collection and use of computer powerful computing capability to conduct the analysis of the data processing. particularly in the large volume of data, measuring the length of time occasions, such as the gyro-tilt test, using computer for automatic control of measuring instruments, automatic data acquisition and analysis it is particularly important, can save a lot of manpower and material resources to improve work efficiency, reduce costs , the conventional method of testing is usually a measuring instrument at the same time can only test a product, namely a computer and a measuring instrument test system can only be composed of serial testing. to test multiple products at the same time, they need multiple systems, testing products in large volume, low efficiency, such as the composition of several sets of test system, an increase of cost. first on a machine with a pc and a measuring instrument consisting of 8-way data collection and analysis system, which can carry out multiple sets of product testing, at no additional cost on the basis of a computer give full play to the advantages of automatic test, improve work efficiency. 1 principlethe system hardware and software system. a pc through a rs232 port and a measuring instrument connected, pc-parallel port (lpt) and an 8-way channel selector attached to a 8-way connector will channel selector were connected with a number of test products.the working principle as shown in figure 1. the course of testing, computer through the parallel port 8-way control channel selection, were open different channels, each channel for data transmission by choosing to measuring instruments, measuring instruments through the rs232 port to the computer data sent to save, a complete cycle of all channels of data collection, and this has also tested a number of product features.figure 1 system block diagram of workthroughout the course of testing, all the control operations have completed the software automatically, without human intervention.2 hardware designthe system is mainly to use the computer onboard rs232 communication ports and digital measuring instrument of communication port connecting communications, re-use lpt parallel port on a 8-way channel selector for access control. 8-way channel of choice for an 8-elected one of analog switches and related circuit, the control signals from the computers parallel port to provide and meet shown in table 1.table1 the relation between channel selection and port outputcommunications port outputbinary codechannel selection select channel00001100122010330114410055101661107711188-way channel selector industry can use the scm, subject to additional controls, select rs232 serial port as data transmission, because the rs232 port is the computer and measuring instruments on the standard configuration, communicate with each other without additional hardware , easy to use. in addition, a serial communication-only a bit, with only a standard data-voltage potential, hence more difficult in data errors. in a parallel port to transfer data 8-bit, data transmission speed, but the data vulnerable to interference. transmission distance in a shorter amount of data transmission larger circumstances, may be parallel port (such as gpib, lpt, etc.) to communicate. in addition, since lpt parallel port may signal transmission, channel selection is suitable for the control port.system in the course of work, good access control modules and data acquisition module synchronization is particularly important because different channels of data storage needs of the corresponding data buffer pool, which is controlled by software.3 software designthe whole system software design is the most important part. software system from the bottom of the communication protocol can be divided into functional three-tier module and user interface. software design in the use of multi-threaded windows technology, the technology for data collection procedures can effectively accelerate the reaction time and increase the efficiency of implementation. the procedures used in a separate thread for data collection, so the guaranteed maximum energy collection of real-time; using another thread at the same time data processing, such procedures to avoid a single-threaded the same time only the implementation of a functional deficiencies. especially when the amount of data collection, data processing task, using multi-threaded technology will greatly improve the efficiency of the system as a whole.3.1 data acquisition moduledata acquisition modules to eight channels of data in a cycle of all the acquisition to the computer, and save the channel, and the corresponding data in the buffer. its procedures diagram shown in figure 2.fig 2 flow diagram of data acquisitionat the beginning of procedures, with the choice of control and store data buffer at the same time to switch to the same channel, 8-way data collection cycle and command judgement, in the end not received orders, has recycling collection to do.multi-channel data acquisition process the data vulnerable to interference, especially in the fast-channel switching, the data vulnerable to fluctuations, as shown in figure 3. at this time if the data collection, will be collecting the wrong data, the need to add some software algorithms to prevent this from happening. if we develop the automated data tracking algorithm to automatically track each channel data to determine whether the channel in a stable state, and only the stability of data acquisition, the volatility of other data. in addition, the software can also add some filtering algorithm (such as limiting filter, etc.) to filter out man-made interference or other factors caused by the mutation data. limiting filter for(1)figure 3 channel switching, the data volatilitywhen the new collected data and the data before a difference to the absolute value of more than one set of values that the data is invalid, and the previous data from the current data.3.2 data analysis modulein the data analysis module can be added if the algorithm analysis, graphics display and print output, and other useful features, such as gyroscopes and stability in the standard deviation algorithm can function in the course of testing real-time calculation of zero stability, and through chart shows. zero stability calculation formula as follows:(2)according to first-(2) to prepare an algorithm function, and then call in the analysis module. analysis module diagram of the procedure shown in figure 4.figure 4 data analysis process flow chartbecause the system uses multi-threaded technology, in the cycle of operation and will not affect the acquisition modules operation. the module also in its algorithm in the function of any expansion, forming a algorithm to adapt to different procedures for data analysis.in addition, software design, a friendly user interface is necessary in the process of the functions from the package, through a unified interface to users, to reduce operating difficulties and enhance efficiency.4 system test resultsfigure 5 to 8 in the analysis of data acquisition systems, at the same time two three-axis gyro and a single axis gyroscope total of seven road test data of the situation. its precise data collection, data analysis can be conducted at the same time, and through real-time charts, user-friendly, easy to operate.figure 5 8 data collection and analysis system5 conclusionmulti-channel data acquisition and analysis system for the hardware requirements simple, easy to set up, can be applied to various tests occasions, it can also test multiple products, thereby reducing the cost and enhance efficiency. as a result of a multi-threaded technology, the speed of data acquisition systems and hardware only (instrument) and the response speed of the speed of communication. with the collection and analysis software algorithm has nothing to do.pad programming tools can be used to develop a data collection, data analysis, graphics display and print output, and other powerful features and friendly user interface of our software. software modular design and easy to carry out expansion, according to different algorithm for data analysis at the request of upgrades, and hardware can remain the same. the system give full play to the use of computers and measuring instruments of mutual communication, automation and test advantage.多路数据采集与分析系统的设计及应用摘要:介绍了用一台pc机和一台测量仪表组成的8路数据采集与分析系统。该系统可并行测多个产品,从而降低测试成本,提高工作效率。给出了系统硬件结构和软件流程图,并介绍了该系统在陀螺测试中应用。关键词:通信端口;数据采集;陀螺;测试随着计算机技术的发展和测量仪表的数字化,通常利用计算机和测量仪表相互通信进行数据的实时采集,并利用计算机强大的运算能力进行数据的分析处理。特别在数据量大、测量时间长的场合,如陀螺零位稳定性测试,利用计算机对测量仪表进行自动控制、自动数据采集分析显得尤为重要,可节省大量人力和物力,提高工作效率,降低成本,常规的测试法通常一台测量仪表在同一时间只能测试一个产品,即一台计算机和一台测量仪表组成的测试系统只能进行串行测试。若要同时测试多个产品,就需多个系统,在测试产品量较大时,工作效率低,如组成多套测试系统,增加了成本。先介绍一个用一台pc机和一台测量仪表组成的8路数据采集与分析系统,可同时进行多套产品的测试,在不增加成本的基础上,充分发挥了计算机自动测试的优势,提高了工作效率。1 系统原理该系统有硬件系统和软件系统组成。一台pc机通过rs232端口和一台测量仪表相连接,pc机并行端口(lpt)和一个8路通道选择器相连,一个8路连接头将通道选择器分别与多个测试产品连接。系统的工作原理如图1所示。测试过程中,计算机通过并行端口控制8路通道选择器,分别打开不同的通道,各通道数据通过选择器传送到测量仪表中,测量仪表再通过rs232端口把数据发送到计算机中保存,在一个周期内完成所有通道的数据采集,这样就实现了同时测试多个产品的功能。图1 系统工作原理框图在整个测试过程中,所有的控制操作都有软件自动完成,不需人为干预。2 硬件设计该系统主要是用计算机自带的rs232通信端口和数字化测量仪表的通信端口连接通信,再利用lpt并行端口对一个8路通道选择器进行通道控制。8路通道选择器利用一个8选1的模拟开关和相关电路组成,它的控制信号由计算机的并行端口提供,并满足表1所示。表1 通道选择器和通信端口输出的对应关系通信端口输出二进制码通道选择器选择通道00001100122010330114410055101661107711188路通道选择器业可使用单片机,但需额外的控制,选择rs232串口作为数据传输端口,是因为rs232端口是计算机和测量仪表上的标准配置,相互通信不需额外的硬件,使用方便。另外,串行通信一次只传1个位,处理的数据电压只有一个标准电位,因此较不易发生数据错误。并行端口可在一次的数据传输中传输8个位,数据传输速度快,但易发生数据干扰。在传输距离较短、传输的数据量较大的情况下,可采用并行端口(如gpib、lpt等)进行通信。另外,由于lpt端口可并行传输信号,因此适合用作通道选择器的控制端口。系统工作过程中,通道控制好模块和数据采集模块的同步显得特别重要,因为不同通道的数据需要存储在对应的数据缓冲池中,这由软件进行控制。3 软件设计软件设计是整个系统中最重要的部分。软件系统从下至上可分为通信协议层、功能模块和用户界面三层。在软件设计中采用windows多线程技术,此技术进行数据采集可有效加快程序的反应速度,增加执行的效率。该程序中采用一个单独的线程进行数据采集,如此能量最大限度的保证采集的实时性;采用另一个线程同时进行数据处理,这样避免了单线

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论