設(shè)計一種基于P89V51RD2的功率因數(shù)測量儀,采用光電隔離器和專用數(shù)碼管驅(qū)動器。該測量儀是以增強型單片機P89V51RD2為核心,大大簡化系統(tǒng)硬件設(shè)計。而軟件部分采用模塊化設(shè)計思想,采用中值濾波和小數(shù)補償算法,實現(xiàn)功率因數(shù)的高精度測量。實驗測試表明,該功率因數(shù)測量儀測量精度高,運行穩(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.