為提高電容測量精度,針對電容式傳感器的工作原理設計了基于PIC16LF874單片機電容測量模塊。簡單闡述了電容測量電路的應用背景和國內外研究現狀,介紹了美國Microchip公司PIC16LF874單片機的特性。電容式傳感器輸出的動態微弱電容信號通過PS021型電容數字轉換器把模擬量數據轉換成數字量數據,所測數據由PIC16LF874單片機應用程序進行處理、顯示和保存。實驗結果表明,固定電容標稱值為10~20 pF 的測量值相對誤差在1%以內,同時也可知被測電容容值越大,測量值和標稱值相對誤差越小。
Abstract:
To improve the accuracy of capacitance measurement,aimed at the principle of work of mercury capacitance acceleration transducer,the design of micro capacitance measurement circuit is based on the key PIC16LF874 chip. Briefly discusses the application of the capacitance measuring circuit for the background and status of foreign researchers,focusing on the United States PIC16LF874 microcontroller features. Capacitive sensor outputed signal through the dynamics of weak PS021-chip capacitors (capacitancedigital converter) to convert analog data into digital data,the measured data from the PIC16LF874 microcontroller application process, display and preservation. Experimental results show that the fixed capacitor 10pF ~ 20pF nominal value of the measured value of relative error is within 1%,but also it canbe seen the value of the measured capacitance larger,measuring value and the nominal value of relative error smaller.
介紹了用單片機C 語言實現無功補償中電容組循環投切的基本原理和算法,并舉例說明。關鍵詞:循環投切;C51;無功補償中圖分類號: TM76 文獻標識碼: BAbstract: This paper introduces the aplication of C51 in the controlling of capacitorsuits cycle powered to be on and off in reactive compensation.it illustrate thefondamental principle and algorithm with example.Key words: cycle powered to be on and off; C51; reactive compensation
為提高功率因數,往往采用補償電容的方法來實現。而電容器的容量是由實時功率因數與標準值進行比較來決定的,實時功率因數小于標準值時,需投入電容組,實時功率因數大于標準值時,則需切除電容組。投切方式的不合理,會對電容器造成損壞,現有的控制器多采用“順序投切”方式,在這種投切方式下排序在前的電容器組,先投后切;而后面的卻后投先切。這不僅使處于前面的電容組經常處于運行狀態,積累熱量不易散失,影響其使用壽命,而且使后面的投切開關經常動作,同樣減少壽命。合理的投切方式應為“循環投切”。這種投切方式使先投入的運行的電容組先退出,后投的后切除,從而使各組電容及投切開關使用機率均等,降低了電容組的平均運行溫度,減少了投切開關的動作次數,延長了其使用壽命。