MAGNATROL A14S電磁閥測(cè)頻軟件流程
系統(tǒng)軟件由1個(gè)主程序和2個(gè)中斷子程序組成,CAPJ0、CAPJ1和CAPJ2依次保存連續(xù)3個(gè)機(jī)組頻率信號(hào)捕獲對(duì)應(yīng)的寄存器值T1CR2,CAPX0、CAPX1和CAPX2依次保存連續(xù)3個(gè)電網(wǎng)頻率信號(hào)捕獲時(shí)對(duì)應(yīng)寄存器值T1CR3,TJ和TX分別表示機(jī)組頻率和電網(wǎng)頻率在1個(gè)周期內(nèi)計(jì)數(shù)器計(jì)數(shù)差值。
在系統(tǒng)軟件中,主程序完成各種設(shè)定功能初始化MAGNATROL A14S電磁閥。捕獲中斷子程序完成對(duì)整形后的機(jī)組頻率和電網(wǎng)頻率信號(hào)捕獲,計(jì)算出信號(hào)在1個(gè)周期內(nèi)對(duì)應(yīng)的計(jì)數(shù)器計(jì)數(shù)值,并對(duì)其進(jìn)行簡(jiǎn)單判斷和濾波處理。在信號(hào)捕獲中采用同時(shí)捕獲上升沿和下降沿,計(jì)算計(jì)數(shù)器差值時(shí)上升沿和下降沿分開計(jì)算的方法,使得每半個(gè)周期就可獲得1次頻率值,相對(duì)1個(gè)周期或幾個(gè)周期才能求得1次頻率值的計(jì)算策略,它能夠更快反映機(jī)組頻率的波動(dòng)情況,提高了調(diào)速器頻率響應(yīng)性,縮短了調(diào)速器不運(yùn)轉(zhuǎn)的時(shí)間。
----商務(wù)熱線---廈門興銳達(dá)自動(dòng)化設(shè)備有限公司
聯(lián)系人:王文光
++QQ:1694785820 1282972140
手機(jī):15359273780
電話:0592-5580707 400-855-5103轉(zhuǎn)001
傳真:0592-5361289
郵箱:1282972140@qq.com
網(wǎng)址:http://www.xmxrdauto.com
MAGNATROL A14S SOLENOID VALVE COIL 120V 60HZ
LXE 2325A377CHGR1US SINGLE SLOT BATTERY CHARGER NIB
NEW BROWNING B3614M40SF POSITIVE DRIVE SHEAVE
PARKER H26VXXG0B9C DOUBLE SOLENOID VALVE 145PSIG 24VDC 3.2W NEW
NEW MICROSWITCH LSK1A-8B HEAVY DUTY LIMIT SWITCH LSK1A8B
CONCOA 8010789 FLASHBACK ARRESTOR 801-0789
ATHENA CONTROLS 2000-B-37 TEMPERATURE CONTROLLER 2000B37
NORGREN F17-800-M1DA FILTER F17800M1DA NIB FS
IMS M2-2232-S STEPPING MOTOR M22232S NIB
NEW LEUZE IPRK-95/44-L.3 RETRO-REFLECTIV?E PHOTOELECTRIC SENSOR IPRK9544L3