电阻加热炉温度控制系统设计I目录............................................................................................................错误!未定义书签。摘要..........................................................................................................................................IISummary.................................................................................................................................III第1章总体方案设计......................................................................................................-1-1.1、设计任务及要求.................................................................................................-1-1.2、工艺要求.............................................................................................................-1-1.3、要求实现的基本功能:.....................................................................................-2-1.4、对象分析.............................................................................................................-2-1.5、系统功能设计.....................................................................................................-2-第2章硬件的设计和实现..............................................................................................-3-2.1、微机选型.............................................................................................................-3-2.2、设计支持计算机工作的外围电路.....................................................................-3-2.3、设计输入输出通道.............................................................................................-5-2.4、温度传感器.........................................................................................................-7-2.5、元器件的选择.....................................................................................................-8-第3章数字控制器的设计..............................................................................................-9-3.1、控制算法:......................................................................................................-9-3.2、计算过程:.........................................................................................................-9-第4章软件设计............................................................................................................-11-4.1系统主程序框图..........................................................................................-11-4.2、A/D转换子程序流程图...........................................................................-12-4.3图LED显示流程........................................................................................-12-4.4、数字控制算法子程序流程图...................................................................-14-第5章完整的系统电路图............................................................................................-15-第6章抗干扰措施........................................................................................................-16-6.1、硬件方面抗干扰措施主要包括:...................................................................-16-6.2、软件方面的抗干扰措施有:...........................................................................-16-第7章系统调试............................................................................................................-17-第8章设计总结............................................................................................................-18-第9章参考文献............................................................................................................-19-附录:程序代码................................................................................................................-20-计算机控制课程设计报告II电阻加热炉温度控制系统设计摘要随着社会的发展,自动控制越来越成为人们关注的焦点,自动调节电阻炉温度系统也备受关注。其中微机及其应用已经成为高、新科学技术的重要内容和标志之一,它在国民经济的各个领域正在发挥着引人注目的作用。微机控制的电阻炉温度控制系统实际上就是一个智能控制系统,是一种能耗相对来说比较低的温度控制系统。一直以来,人们采用了各种方法来进行温度控制,都没有取得很好的控制效果。起先由于电阻炉的发热体为电阻丝,传统方法大多采用仪表测量温度,并通过控制交流接触器的通断时间比例来控制加热功率。由于模拟仪表本身的测量精度差,加上交流接触器的寿命短,通断比例低,故温度控制精度低,且无法实现按程序设定的升温曲线升温和故障自诊断功能,因此要对传统的温度控制方法进行改造。如今,随着以微机为核心的温度控制技术不断发展,用微机取代常规控制已成必然,因为它确保了生产过程的正常进行,提高了产品的数量与质量,减轻了工人的劳动强度以及节约了能源,并且能够使加热对象的温度按照某种指定规律变化。而且微型计算机在智能温度测量和控制电器中的控制作用是一种智能行为,所以,它在能量消耗上是比较少的,和普通仪表温度测量相比,智能温度测量与控制电器是一种节能电器。这不但对用户来说具有很大的意义,而且对整个社会来说都是有重大意义的。关键词:微机;电阻炉;温度;控制电阻加热炉温度控制系统设计IIIResistanceFurnaceTemperatureControlSystemSummaryWiththesocialdevelopment,controlhasincreasinglybecomethefocusofattention,automaticallyadjusttemperatureresistancefurnacesystemisalsoofconcern.Onecomputeranditsapplicationshavebecomeahighandnewscienceandtechnology,oneoftheimportantcontentsandsignitinallareasofthenationaleconomyisplayingadramaticrole.Computer-controlledresistancefurnacetemperaturecontrolsystemisactuallyanintelligentcontrolsystem,isarelativelylowenergyconsumption,temperaturecontrolsystem.Allalong,peopleusedvariousmethodstocarryouttemperaturecontrol,donotgetagoodresult.Atfirstasresistanceheatersresistancewireheatingelements,thetraditionalmethodsmostusedinstrumenttomeasuretemperature,andbycontrollingtheACcontactorofftimetocontroltheratioofheatingpower.AsMoniinstrumentitself,themeasurementaccuracyispoor,withACcontactorlifeisshort,on-offratiolow,thetemperaturecontrolprecisionislow,andcannotbeac