袖珍式智能化电容表软件设计工 学 部 工学Ⅰ部专 业自动化班 级B641301学 号B64130115姓 名金 光指导老师赵文成负责老师赵文成沈阳航空航天大学北方科技学院2025 年 6 月摘 要电容是重要的电子器件,本文设计了一个袖珍式智能化电容表以测量电容,其量程为 19.9pf~199.9pf 和 199pf~1999pf 两段,对算法原理和软件设计做了较详细的描述。通过猎取 C-F 曲线并分段线性化,给出测量频率导出电容的算法。系统以单片机为核心,并由 555 定时器搭接成 R-C 振荡电路,与单片机相连。针对具体硬件设计频率采集程序和电容计算程序,最终实现了电容测量。具有体积小,自动更换量程且成本低的优点。关键字:线性化;电容;频率AbstractCapacitors are important electronic device,this paper designs a pocket watch to measure of intelligent capacitance,its range to 19.9pf capacitance 199.9 pf and 199pf capacitance 1999pf two paragraphs,principle and software design of the algorithm is to make a detailed description.By accessing C - F curve and given piecewise linear frequency,and the algorithm are capacitance.System based on singlechip and 555 timing of overlapped by into r-c oscillating circuit.and SCM.In light of the specific hardware design frequency calculation program acquisition program and capacitance,finally realizes the capacitance measurements.Has the advantages of small size,low cost and automatic replacement range.Key words: Linearization;capacitance measure;Frequency目 录1 绪 论.................................................................11.1 电容的定义及测量的意义和作用......................................11.2 电容测量技术的进展概况............................................22 基于单片机电容测量设计................................................32.1 方案论证..........................................................32.2 555 定时器........................................................62.3 STC89C51 单片机..................................................103 基于单片机电容测量软...