外文翻译---基于STM32的恒温箱温度控制系统Word文档格式.docx
《外文翻译---基于STM32的恒温箱温度控制系统Word文档格式.docx》由会员分享,可在线阅读,更多相关《外文翻译---基于STM32的恒温箱温度控制系统Word文档格式.docx(8页珍藏版)》请在冰豆网上搜索。
),Shi-guangLI(·
),Zheng-zhongGAO(·
),XuZHANG( ),Yu
RUI( )
(SchoolofInformationandElectricalEngineering,ShandongUniversityofScienceandTechnology,Qingdao266510,China)
Abstract-thispaperintroducedathermotanktemperaturecontrolsystembasedonSTM32,Firstly,thetemperatureacquisitionisrealizedbythehigh-precisionelectricalbridgebasedon constant current source. Then theaugmentedPIDalgorithmrealizedbysoftwareisadoptedButterworthfilterisusedtoconverttheoutputPWMofSTM32tocurrentsignalwhichisusedtocontrolthesemiconductorcontrolrectifiertoadjustthetemperature.Calibrationcheckandpracticalapplicationbothindicatedthatthesystemwasreliable,high-precision,practicableandcouldmeetrealityneeds.
Keywords-STM32;
thermotank;
temperatureacquisition;
PID
ManuscriptNumber:
1674-8042(2011)01-0064-03
Dio:
10.3969/j.issn.1674-8042.2011.01.16
1introduction
Thermotankcanbedividedintolowtemperaturethermotankandhightemperaturethermotankaccordingtotemperaturerange.Heatingcontrolthermotankisonekindofhightemperaturethermotankandhasawiderangeofapplicationsinindustrial,medicalandscientificareas.Assomespecialthermotankcontrolsystemrequirehighprecisionintemperatureacquisitionandcontrol,thesystemdesignedinthispapercanmeasuretemperaturesfrom16℃to80℃andits
precisionissuperiorto±
0.05℃.AsARMis
graduallyoccupyingthemicroelectronicsmarketforitspowerfulfunctionandlowcost,itisofimportantpracticalsignificanceandvaluetodesignatemperaturecontrolsystembasedonARMwithhighprecision,simplestructureandlowcost.
2Basiccontrolprinciplesofthermotank
Inthissystem,temperatureacquisitionoftheinnerthermotankisrealizedbyusingplatinumresistanceastemperaturesensorandbridgecircuitbasedonconstantcurrentsource.Thencomparetheactualtemperaturewiththetemperaturesetbytouchscreen.ByusingaugmentedPIDalgorithmtoadjust,STM32outputs16-bitPWMsignals.ThenconvertPWMsignaltovoltagesignaltocontroltheconductionangleofSemiconductorControlRectifier(SCR)whichcontrolstheheatingtubes.SystemcontrolprincipleisshowninFig.1.
Consideringthesystemaccuracyandstabilityrequirements,featuresofthissysteminclude:
powerfulandhighspeedARMSTM32F103asthecontroller,augmentedPIDalgorithm,andfulluseofon-chipresourcesofmicrocomputersuchasADC,USARTand16-bitPWMoutputforgreatcontrolaccuracy.
Fig1Systemcontrolprinciple3hardwaredesign
Thissystemincludestemperatureacquisitionbridgecircuit,STM32F103,colorLCDtouchscreencontrolcircuit,filteringcircuitandSCR.Inaddition,thesystemhasagoodman-machineinteractionfunctionandcanrealizereal-timemonitoringandcontrolbyusing5.6inchescolorLCDandtouchscreen.TemperaturecontrolsystemstructureisshowninFig.2.
Fig2Systemstructure
3.1temperatureacquisitionandA/Dconversion
Amongthethermalresistancetemperaturesensors,platinumresistance,withadvantageashighprecision,stableperformance,corrosionresistanceandeasytouse,istheidealtemperatureacquisitioncomponentwidelyusedinindustrialenvironmentsandcontrolsystems.Asthetemperatureacquisitionrangeis16℃to80℃,Pt1000ischosenastemperaturesensor,whichresistancechangeswithtemperatureaccordingtocertainrulesandhasgoodhighprecisionandstableperformance.
Unbalanced bridge measurement istypicalindetectcircuitsusingplatinumresistanceastemperaturesensors[1].However,thenonlinearitybetweenplatinumresistanceand temperature and nonlinearity ofunbalancedbridgeleadtoacquisitionerror,thusweimprovedthetemperatureacquisitionbridgecircuit.Useconstantcurrentsourcetopowerthebridge,connectthetwobridgearmswithpreciseoperationalamplifierthatislownoiseandlowtemperaturedrift,use4DH2toconstituteconstantcurrentsourcecircuitwhichoutputs0.5Acurrent,thusthecurrentinplatinumresistanceisequaltoconstantcurrentsource.
TheADCofSTM32F103isusedtoconvertanalogvoltageoftemperatureintodigitalsignal.The12-bitADCisasuccessiveapproximationanalog-to-digitalconverterandhasthefunctionofself-calibration.D/Dconversionofeachchannelcanbeperformedinsingle,continuous,scanordiscontinuousmode,andinthissystemweusecontinuousmode.TheresultofADCisstoredinright-aligned16-bit data register whichimprovestheconversionspeed.Inaddition,theanalogwatchdogfeatureallowstheapplicationtodetectiftheinputvoltagegoesoutside the user-defined high or low
thresholds.
3.2TM32F103on-chipresourcesTM32F103canworkin-40℃~105℃
andthismeetstherequirementsofindustrialenvironment.