梧州学院摘要本文介绍了一种开环智能数控直流电流源的设计原理和实施方案,该方案采用D/A(MAX531)转换器、运算放大器等器件来控制场效应管导通状态的原理,达到了输出恒流的目的。整个系统采用AT89S52单片机作为主控部件,将预置电流值数据送入D/A转换器(MAX531),经硬件电路变换为恒定的直流输出,同时采用基本没有温度漂移的康锰铜电阻丝作为精密采样电阻。采用性能优于普通晶体管的场效应管作为恒流源的主要部件,大功率晶体管作为扩流电路的主要器件,结合三端稳压管和多层滤波使得整个系统性能提升了一个层次,从而实现了高精度恒流源的目的。系统还对输出电压进行实时采样,通过A/D转换器采样回单片机与用户给定的限压值进行比较,从而监控了输出电压。同时通过键盘的控制,实现了输出电流值和限压值可预置,可步进调整、输出的电流信号和电压信号可直接数字显示的功能,并具有输出电压实时监控限压报警并自动降低输出电流等功能。与以往的直流恒流源相比,此次所设计的恒流源具有精度高、结构简单、工作稳定、操作方便、成本低廉、带负载能力强等优点。关键词:恒流源AT89S52单片机MAX531MAX187I梧州学院AbstractThispaperintroducesasmartNCopen-loopDCcurrentsourcedesignprincipleandtheimplementationoftheprogramme,usingtheD/A(MAX531)converters,opamp,andotherdevicestocontrolFETon-stateprinciple,theoutputreachedconstantcurrentpurposes.AT89S52theentiresystemusesasingle-chipmicrocomputercontrolcomponents,preferencescurrentvaluedatawillbesenttotheD/Aconverters(MAX531),thehardwarecircuitfortheconstanttransformationofDCoutput,butnotusingthebasictemperaturedriftConcordManganinresistorSilkasasophisticatedsamplingresistor.PerformanceisbetterthantheordinaryuseoftheFETtransistorasaconstantcurrentsourceofmajorcomponents,high-powertransistorsasexpandingthemaincircuitdevice,thecombinationofthree-terminalregulatorsandthemulti-filtermakesthewholesystemaperformanceboostlevelstoachieveahigh-precisionconstantcurrentsourcepurposes.Outputvoltageofthesystemtoconductreal-timesampling,throughtheA/DconverterswithsamplingtoMCUuserstosetlimitvaluestocomparepressuretocontroltheoutputvoltage.Atthesametime,thekeyboardcontrolandrealizedthevalueofoutputcurrentandvoltage-limitingvaluescanbepreset,steppingadjustment,thecurrentsignalandtheoutputvoltagesignalcanbedirectlyfiguresshowthatthefunction,andreal-timemonitoringoftheoutputvoltage,suchasover-voltagealarmfunction.InthepastcomparedtoDCcurrentsource,thedesignofahigh-precisionconstantcurrentsource,simplestructureandworkstability,andeasytooperate,lowcost,withapayloadcapacity,andotheradvantages.II梧州学院Keywords:CurrentsourceAT89S52MCUMAX531MAX187目录摘要............................................................I前言............................................................1第一章系统结构及功能介绍.......................................21.1系统工作原理概述...........................................21.2系统的特点和使用...........................................21.2.1系统的特点.............................................21.2.2系统的使用说明.........................................3第二章设计方案.................................................42.1方案比较...................................................42.1.1整体方案...............................................42.1.1.1方案一...............................................42.1.1.2方案二...............................................52.1.1.3方案三...............................................52.1.2恒流源方案.............................................62.1.2.1方案一...............