摘要传统电流测量一般采用电流表和万用表,但随着嵌入式技术与传感器技术的发展数字电流测量实用日益广。本论文描述了交直流数字电流测量系统的设计系统包括微控制器最小系统模块、电流采集模块、AD转换模块、显示模块、电源管理模块等。通过输入电路把交、直流模拟信号送给ADC0809转换为数字信号再送至AT89C52单片机,通过P0口经LCD1602显示出测量值,其中交流信号通过单向桥式整流电路将交流信号转换成直流信号在通过ADC0809转换器。论文还详细阐述了与系统硬件相应的系统软件设计。本系统经测试运行良好具有一定的实用价值和推广价值。关键字:单片机,数字电流表,A/DIAbstractThetraditionalcurrentmeasurementgenerallyusetheammeterandmultimeter,butwiththedevelopmentofembeddedtechnologyandsensortechnology,digitalcurrentmeasurementutilityisincreasinglywidespread.ThispaperdescribesthedesignoftheDCanddigitalcurrentmeasurementsystem,thesystemincludingtheminimumsystemmoduleofthemicrocontroller,thecurrentacquisitionmodules,ADconvertermodule,displaymodule,thepowermanagementmodule.ThroughtheinputcircuitACandDCanalogsignalissenttotheADC0809intodigitalsignalsandthensenttotheAT89C52microcontroller,theLCD1602displaythemeasuredvaluethroughtheP0port;ACsignalthroughtheone-waybridgerectifiercircuitoftheACsignalintoaDCsignalbytheADC0808converter.Thepaperalsoelaboratesthecorrespondingsystemsoftwaredesignandsystemhardware.Thissystemhasbeentestedandrunswell,hassomepracticalvalueandpromotionalvalue.Keywords:single-chip,digitalammeter,A/D,rectifiercircui目录1绪论.............................................................................................................................................11.1课题研究问题...................................................................................................................11.2课题背景及意义...............................................................................................................12背景知识介绍.............................................................................................................................32.1单片机发展详细介绍.......................................................................................................32.1.1单片机的工作原理..................................................................................................42.1.2单片机的基本特点..................................................................................................42.2A/D转换器的介绍............................................................................................................52.3A/D转换器的工作原理....................................................................................................52.4A/D转换器的基本特点....................................................................................................73系统硬件设计.............................................................................................................................83.1系统整体设计方案...........................................................................................................83.2主控制器模块设计...........................................................................................................83.2.1主控制器的选择.....................................................................................................83.2.2AT89C52............................................................................................................