外文.doc

PLC外文翻译-基于PLC高速IO口模拟信号的测量与控制【中文2570字】 【中英文WORD】

收藏

压缩包内文档预览:
预览图 预览图 预览图 预览图 预览图 预览图 预览图 预览图 预览图
编号:135472571    类型:共享资源    大小:253.67KB    格式:ZIP    上传时间:2021-07-02 上传人:资料****站 IP属地:河南
12
积分
关 键 词:
中文2570字 中英文WORD PLC外文翻译-基于PLC高速IO口模拟信号的测量与控制【中文2570字】 【中英文WORD】 PLC 外文 翻译 基于 高速 IO 模拟 信号 测量 控制 中文 2570
资源描述:
PLC外文翻译-基于PLC高速IO口模拟信号的测量与控制【中文2570字】 【中英文WORD】,中文2570字,中英文WORD,PLC外文翻译-基于PLC高速IO口模拟信号的测量与控制【中文2570字】,【中英文WORD】,PLC,外文,翻译,基于,高速,IO,模拟,信号,测量,控制,中文,2570
内容简介:
Measuring and Controlling of Analog signal Based on High-speed I/O port of PLCHongtao Ma, Xiaojun Wang, FenPing ZhouCollege of Information Science & EngineeringHebei University of Science & Technology Shijiazhuang,Chinamiracle, ma-hongtaoAbstractFrequency signal is gotten from voltage signal by external V/F converter, and then is sent to high-speed counter of PLC. As a host, CPU222 of Siemens S7-200 series PLC is used. Through programming PLC, input voltage is measured by high-speed I/O channels. High-speed digital pulse of variable duty cycle produced by PLCs PWM pulse generator is turned into voltage signal of amplitude-adjustable after external RC low-pass filter circuit filter to achieve controlling of output analog. The method reduces the cost of measurement and control system via replacing expensive analog I/O modules. Peripheral circuit design and PLC program are given. Through analyzing and comparing data, it is found that the system can achieve 0.1% accuracy.Key words: PLC; High-speed I/O; A/D;I.INTRODUCTIONPLC has advantages of high reliability, simple programming, easy learning, convenient usage and small volume. It can implement sequential logic control and automatic control of analog according to the requirement of technological process, so it is widely used in industrial field and also make a good control effect. In some systems controlled by PLC, the circumstance of measuring analog voltage signal often is encountered. Analog extended module of PLC is adopted to do some conversion work in this case. But these modules prices are close to the small and medium-sized PLCs price, and only provide few input port. In addition, more one module is connected in order to practical application, whose expensive cost cause to decrease of performance cost ratio1-8.Based on CPU222 of Siemens S7-200 series PLC, use PLCs high-speed digital I / O channel with low-cost add-in V/F converter to convert voltage signal into frequency signal and then send it into PLCs high-speed counter. By programming the PLC, it realizes measurement of input voltage. PLC use high-speed PWM pulse generator to produce digital pulse with variable duty cycle. Through external RC low-pass filter circuit, voltage with variable amplitude can be achieved. This method completes the measuring and controlling without special expensive analog I/O module and decrease the cost of system.II.CIRCUIT DESIGNA. Analog input circuitCPU222 host can only accept digital input signals, the author design external V / F converter to convert 010V voltage signal to 010kHz frequency signal. The V/F converter adopted LM331 IC, the production of NS Corporation, U.S. Main features of LM331 includes: (1) wide dynamic range, up to 100dB; (2) good linearity, the largest non-linear distortion is less than 0.01 percent, and even has better linearity at the low-frequency 0.1Hz; (3) high-precision conversion, digital resolution is up to 12 bit; (4) simple peripheral circuit, only a few external components are needed to form a V/F converter and easily ensure accuracy.The V/F converter circuit is shown as Figure 1. The circuit can achieve 0.03% linearity in the range of 10Hz -10kHz. Figure 1. V/F converter circuitThe output frequency of the circuit is calculated as following equationwhere RS=R4+RP1. According to component parameter in Figure 1 to adjust potentiometer RP1, so RS value changes, to make fOUT up equal to 10kHz.Output frequency signal of LM331 is fed into PLCs port of high-speed counter. Timer is also started at time of beginning to count, so that the output frequency f = D/T, in which D denotes counter value and T denotes counting time. T may be set up by timer, so the value of f can be able to calculate out if we know the value of D. PLC processes and stores the value of f, so that an A/D conversion is implemented.B. Measuring method of input voltageS7-200 family PLC have 6 high-speed counters of HSC0HSC5. Each counter may operates at different mode to implement different function. Output frequency of V/F converter in this paper is 010kHz, corresponding to input voltage 010V, that is, the resolution is 1mV/Hz.Firstly, control byte MB47 of high-speed counter is presented with hexadecimal value FC. Its meaning is: up counting, updateable preset value, updateable current value, activating HSC1.Then counter HSC1 is set at operating mode 0 using HDEF instruction, that is, reset input, start input and selecting input of external direction dont exist. Reset value of current-value register SMD48 is 0, preset value register SMD52 is set with FFFFH. Interval register SMB34 of timing interrupt is set with 100ms. Timer interrupt is allocated to interrupt 0 and allow interruption. Finally HSC1 is started to count by instruction.Interrupt serving routine 0 is called every 100ms to read out count value of counter HSC1 and then clear it. Input voltage can be calculated out by count value of HSC1 according to transform relationship. Here a 010kHz V/F converter is adopted, so in 100ms gate time 1000 pulses can be accumulated at most. It is equivalent to 1000h10=10000 pulses can be accumulated in one second, which corresponds to actual 10V input voltage. Supposed that count value is 200 in 100ms gate, and then its actual voltage is 2V. Such that a resolution of 10V/1000=0.01V=10mV can beacquired.A group of experimental result data of measured voltage with PLC high-speed counter to count pulses of V/F converter is listed in TABLE I.TABLE I. EXPERIMENTAL RESULT OF COUNT V/F PULSES IN 100ms GATEInputCalculatedFrom the experimental results it can be seen that this method can reach a resolution of 10mV and full error of 0.1%.Interval of PLC timing interruption is variable within the range of 5255ms. To extend the interval such that makes gate time longer, result of measuring voltage will be more accurate, but measuring speed will slow down at the same time. If gate time is set at 200ms, then measuring resolution may reach 5mV and full error can reach 0.05%.C Anolog output circuitAnalog output circuit is shown in Figure 2, which is supplied by PLCs +24V power. PWM signal of 24Vp-p outputted by Q0.0 port of host CPU222 is reshapinged by U1A and U1B after being stepped proportionally down by R1 and R2. High accuracy PWM signal outputted by U1B is filtered by low-pass filter constructed by R6 and C9. Finally U2 provides direct current voltage relating to PWM signal. RC time constant directly impact on the ripple amplitude of output voltage. The larger RC value is, the smaller the ripple voltage is. But to use too large RC value is inadvisable, because it will increase the corresponding time of output voltage.Figure 2. Analog output circuitD Output voltage control methodS7-200 series PLC have 2 generators to output high-speed pulse sequence, which can implement period-variable, width-adjustable PWM waveform. Two outputs are respectively dedicated to Q0.0 and Q0.1. The set range of PWM period is within 265535, the set range of PWM pulse width is within 065535. Time base of PWM is 1us or 1ms. In this paper, Q0.0 is selected to output PWM signal.Period of PWM is set to 5000, and pulse width of PWM is in range of 05000. Time base of 1us is adopted such that period of PWM is 5000 us (5 ms), and duty cycle changes from 0 to 100%. Resolution of PWM is 1/5000, which is equivalent to that of 12-bit A/D converter.Direct-current output voltages are listed in TABLE II when the case is selected that PWM period is 5ms, time constant of RC filter is 25 ms and PWM is in different duty cycle.From the TABLE II, we can see that although theoretical resolution can reach to 1/5000, that is, 2mV, equivalent to 0.02% of full scale, actually there is approximately f10mV error and f0.1% full error. This is only equivalent to the accuracy of 10-bit D/A converter.In experiment, changing time constant of RC filter, ripple voltage is measured with oscillograph under different duty cycle. The measured result is listed in TABLE III.It can beseen from TABLE III that ripple voltage is larger when only one stage RC filter is used. To decrease this ripple voltage,multi-stage Rcfilters can be introduced.TABLE II. PWM OUTPUT VOLTAGE OF DIFFERENT DUTY CYCLE】TABLE III. THE RELATIONSHIP OF RIPPLE VOLTAGE AND RC TIME CONSTANT AND DUTY CYCLEIII. CONCLUSIONIn this paper, a simple V/F converter circuit converts 0 10V voltage to 010kHz frequency. The frequency signal is then sent to high-speed digital input of PLC. Input voltage is measured through programming the PLC and can achieve the measurement accuracy of 0.1%. PWM ability of PLC with external RC filter implements 010V output voltage and reached 0.1% accuracy.On the occasion of no requiring high accuracy, this solution achieve measuring and control of analog without expensive PLC analog I/O modules, which reduces greatly the cost of system.REFERENCES1 Henning Dierks. PLC-automata: a new class of implementablereal-time automate. Theotetical computer science, 2001, 253:61-93.2 David G. Johnson. Programmable Controllers for Factory Automation. New York and Basel: Marcel Dekker Inc,1987. 3 Can Saygin, Fira
温馨提示:
1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
2: 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
3.本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
提示  人人文库网所有资源均是用户自行上传分享,仅供网友学习交流,未经上传用户书面授权,请勿作他用。
关于本文
本文标题:PLC外文翻译-基于PLC高速IO口模拟信号的测量与控制【中文2570字】 【中英文WORD】
链接地址:https://www.renrendoc.com/paper/135472571.html

官方联系方式

2:不支持迅雷下载,请使用浏览器下载   
3:不支持QQ浏览器下载,请用其他浏览器   
4:下载后的文档和图纸-无水印   
5:文档经过压缩,下载后原文更清晰   
关于我们 - 网站声明 - 网站地图 - 资源地图 - 友情链接 - 网站客服 - 联系我们

网站客服QQ:2881952447     

copyright@ 2020-2025  renrendoc.com 人人文库版权所有   联系电话:400-852-1180

备案号:蜀ICP备2022000484号-2       经营许可证: 川B2-20220663       公网安备川公网安备: 51019002004831号

本站为文档C2C交易模式,即用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知人人文库网,我们立即给予删除!