JournalofHarbinInstituteofTechnologyNewSeriesVol.21No.32014IntelligentTemperatureControlSystemDesignBasedonSingle-ChipMicrocomputerJunLi1Xian-LinMeng2Wen-LongSong11.CollegeofMechanicalandElectricalEngineeringNortheastForestryUniversityHarbin150040China2.SchoolofMunicipalandEnvironmentalEngineeringHarbinInstituteofTechnologyHarbin150001ChinaAbstractAdesignmethodofanintelligenttemperaturecontrolsystembasedonsingle-chipmicrocomputerispresentedinthispaper.Theintelligenttemperaturecontrolsystemisdividedintofourpartsmonitorheatercontrolledprocessandfeedbackloop.Amongthemthetemperaturedetectioncircuitisdesignedwiththeconductivityofwaterbysensordetection.TheopticalcouplerMOC3041isusedtoimplementthepowercontrolcircuitwhosecontrolobjectis1kWelectricheaterwiththe220ValternatingcurrentpowerkeyboardanddisplaycircuitSMC1602AincludefourbuttonsandLCDdisplaytoachievehuman-computerinteractionBasedonsingle-chipsystemSTC89C52thesensorsignalandkeyboardsettargettemperaturearecomparedtothepowerautomaticallyinordertofinishthewatertemperaturecontrol.Throughthestaticanddynamicdatatestingtheresultsshowthattheproposedmethodprovidesaneffectivewaytorealizethereal-timeacquisitionandcontroloftemperature.KeywordsmicrocontrollertemperaturesensorspowercontrolSCRCLCnumberTP29DocumentcodeAArticleID1005-9113201403-0091-041IntroductionTemperatureistherepresentationofaphysicalquantityofhotandcoldobjectsandoneofthemostbasicphysicalquantityinourproductionandlife.Temperaturemeasurementisrelatedtovariousfieldsofindustryandagriculturalproduction.Temperaturecontrolisofcriticalimportancetoensuretheeffectivenessoftheindustrialproduction.Temperaturecontrolsystemalsoisanimportantpartofvacuumsmeltingprocess1.Thereforethetemperaturecontrolsystemiswidelyusedsuchasindustrializedculture2greengranary3Fumigationtherapy4air-conditioningsystem5andsoon.Howtoselectanapproximatelyoptimalcontrolstrategythroughreal-timemonitoringdatabecomesakeyfactorfortheenergy-savingoperation6-7.Variousstrategieshavebeenappliedonthetemperaturecontrolsystem.Thefuzzyself-tuningproportional-integral-derivativePIDalgorithmwhichiseasytoimplementandbeeffectivehasbeenwidelyusedinthetemperaturecontrolsystem8.AnoptimalapproachtemperatureOATcontrolstrategyisproposedforresettingthecondensingwatertemperaturehourlysotomaximizetheperformanceofthecombinedwaterchillerandcoolingtowersystem9.Zhenproposedatypicalmulti-variablelargetimedelayandnonlinearsystemself-extractingrulesfuzzycontrolSERFCmethodtomaintainastabletemperaturevalueinabuiltenvironmentchamberwithsupplyairsystemandhot-watersystem10.Basedonthemodifiedoutput-inputfeedbackOIFElmanneuralnetworksandthepredictionprincipleanadaptivePIDdecouplingcontrollerisdesignedtoachievetherapidpreciseandespeciallyindependentcontrolfortheupstreamanddownstreamtemperaturesofthedouble-levelairflowfielddynamicvacuumDAFDVcouplingsystem11.Thepresentstudyfocusesonsoftwaredesignsincludingapproachesandstrategiestocontroltemperaturechangesindifferentapplicationfieldsandtheresearchworkoftemperaturecontrolsystemhardwaredesignarerelativelysmallamount.Howeverifthereisnocorrespondinghardwaresupportagoodmethodisalsounabletobeused.Inthispaperthemainworkistodesignforthehardwarecircuit.Weusesinglechipmicrocomputertodevelopintelligenttemperaturecontrolsystemwhichhasahighercontrolconvenientlowcostflexibilityadvantages.ItisReceived2014-02-17.SponsoredbytheFundamentalResearchFundsforHeilongjiangPostdoctoralGrantGrantNo.LRB11-334NaturalScienceFoundationofHeilongjiangProvinceGrantNo.QC2013C035HeilongjiangProvinceEducationDepartmentofScienceandTechnologyResearchFoundationGrantNo.12533014andtheFoundamentalResearchFundsfortheCentralUniversitiesGrantNo.2572014CB13.CorrespondingauthorWen-LongSong.E-mailwlsong139@126.com.·19·JournalofHarbinInstituteofTechnologyNewSeriesVol.21No.32014provedintheexperimentthatthedesignhastheobviouseffectfortechnicalindicatorstoimprovethetemperaturecontrol.Asthehardwaresupportourcontrolsystemwillbefitforothertemperaturecontrolmethods.2SystemStructureDesignThecontrolsystemincludesfourunitssuchasmonitorheatercontrolledprocessstoragetankandfeedbacklooptemperaturedetectioncircuit.Fig.1showsthediagramofthedesignedcontrolsystem.InFig.1thewatertankisthecontrolledobjectthetemperatureofthewatertankisdetectedbythetemperaturesensorandthenthesignalistransmittedtothesinglechipmicrocomputer.ThefeedbacksignalandtheprefabricatedsignalarecomparedwithSCMwhichwillgivethequantityoftemperaturecontrol.Theheaterwillreceiveheatinginstructions.Finallythepowercontrollercancontroltheheatingpoweroftheheatingpipeandthetemperaturewillbecontrolledinoursystem.Heretheinterferencesignalismainlyduetotheheatingpowerchangescausedbycontactwithotherobjects.!#$%&’(%)#*)#+,#%)-#./0’)/1#%)#2##*&%(34//,5)/%6#)%0370)#$##0(#8’60%49-#)#+,#%)-#Fig.1Thesystemstructurediagram3SystemCircuitDesignAccordingtothestructurediagramofcontrolsystemwecanbuildthecircuitprinciplediagramasshowninFig.2.!#$%#&’($)*$%#+%$,$#$-#./&-.%-+.#0/1$%-/%/2-.%-+.#!#$%2$3$2,$#$-#./&-.%-+.#42%).&54(06789:;$=/%,.&*+#.?+.,-%@#2,.@*