主权项 |
一种基于DSPTMS320F28335电力系统瞬态变化实时检测装置,其特征是:(1) 通过DSPTMS320F28335片内12位A/D转换对输入电压信号进行采样,并采取每次对一个整周期的采样数据进行处理的方式,即观察窗设为一个整周期;(2) 利用倍频锁相环电路来实现对每周期输入信号的等间隔采样,电路由锁相环电路和十进制分频电路组成;(3) 对其<img file="dest_path_image001.GIF" wi="33" he="24" />进行采样后,其采样点数是N个点/周期, 将数据分为<img file="387884dest_path_image002.GIF" wi="14" he="18" />帧, 即采样的第1、<img file="51952dest_path_image002.GIF" wi="14" he="18" />+1、2<img file="56817dest_path_image002.GIF" wi="14" he="18" />+1、…、n<img file="307801dest_path_image002.GIF" wi="14" he="18" />+1点组成第一帧, 其中n小于<img file="dest_path_image003.GIF" wi="38" he="22" />, 然后第2、<img file="105249dest_path_image002.GIF" wi="14" he="18" />+2、2<img file="640136dest_path_image002.GIF" wi="14" he="18" />+2、…、n<img file="753585dest_path_image002.GIF" wi="14" he="18" />+2构成第二帧, 第3、<img file="491865dest_path_image002.GIF" wi="14" he="18" />+3、2<img file="778490dest_path_image002.GIF" wi="14" he="18" />+3、…、n<img file="151571dest_path_image002.GIF" wi="14" he="18" />+3构成第三帧, 依次到第<img file="435922dest_path_image002.GIF" wi="14" he="18" />、<img file="910766dest_path_image002.GIF" wi="14" he="18" />+<img file="751814dest_path_image002.GIF" wi="14" he="18" />、2<img file="933397dest_path_image002.GIF" wi="14" he="18" />+<img file="185387dest_path_image002.GIF" wi="14" he="18" />、…、n<img file="393864dest_path_image002.GIF" wi="14" he="18" />+<img file="959975dest_path_image002.GIF" wi="14" he="18" />构成第<img file="323960dest_path_image002.GIF" wi="14" he="18" />帧, 这样就形成了不同的帧,本设计取<img file="497584dest_path_image002.GIF" wi="14" he="18" />=150,N=3000;(4) 对每个帧的采样点的值进行分别求和,得到<img file="884703dest_path_image002.GIF" wi="14" he="18" />个求和值,并存入各自的寄存器中,然后分别对<img file="316821dest_path_image002.GIF" wi="14" he="18" />个帧的求和值与设定的阈值进行比较,判断<img file="519001dest_path_image002.GIF" wi="14" he="18" />个帧的求和值中是否存在大于阈值的值;若存帧的采样求和值大于阈值,DSPTMS320F28335将发出0.5V的触发信号,此信号持续时间为20ms对波形进行记录,如果再此20ms期间没有发生瞬变事件,触发信号将从0.5V降为0V,录波器将停止录波,若在此期间再次发生瞬变事件,触发信号将从最后一次瞬变事件开始持续20ms结束,记录的波形将留作对电能质量情况分析的依据;(5) 每经过0.004s即五分之一个周期,再对观察窗内一个周期的采样点进行上述分组、求和和判断的处理,如此循环执行;(6) 一种基于DSPTMS320F28335电力系统瞬态变化实时检测装置包括电压调理模块(1),数据采样模块(2),锁相环实现等间隔采样模块(3),数据分组计算、判断触发模块(4),录波检测模块(5)。 |