設(shè)計(jì)一種基于P89V51RD2的功率因數(shù)測(cè)量儀,采用光電隔離器和專用數(shù)碼管驅(qū)動(dòng)器。該測(cè)量儀是以增強(qiáng)型單片機(jī)P89V51RD2為核心,大大簡化系統(tǒng)硬件設(shè)計(jì)。而軟件部分采用模塊化設(shè)計(jì)思想,采用中值濾波和小數(shù)補(bǔ)償算法,實(shí)現(xiàn)功率因數(shù)的高精度測(cè)量。實(shí)驗(yàn)測(cè)試表明,該功率因數(shù)測(cè)量儀測(cè)量精度高,運(yùn)行穩(wěn)定可靠。
Abstract:
A power-factor measurement instrument based on P89V51RD2is designed,which uses optical coupler and specific LED drive chip.The power factor measurement instrument uses P89V51RD2as a core of which greatly simplifies the system design.Furthermore,modularization software is developed in detail.The high precision power-factor measuring system is realized by the center value filter and fractional compensation algorithm.Experiments manifests that the power- factor measurement instrument is high precision,steady and reliable.