单片机概述中英文对照外文翻译文献_第1页
单片机概述中英文对照外文翻译文献_第2页
单片机概述中英文对照外文翻译文献_第3页
单片机概述中英文对照外文翻译文献_第4页
单片机概述中英文对照外文翻译文献_第5页
已阅读5页,还剩6页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

中英文对照外文翻译文献(文档含英文原文和中文翻译)MicrocontrolleroverviewDormancyoftheone-chipcomputer---restoretothethroneintheoperationwayandimproveanti-interferenceabilityAbstract:Introduceakindofdormancyofusing-restoretothethroneintheoperationwayandimprovetheanti-interferenceabilitymethodoftheone-chipcomputer;Analyseitsscopeofapplication,provideandusethecircuitconcretly;Combinetheinstance,analysethecharacteristicofthehardwareandsoftwaredesignunderthesekindofoperationway.Keywords:One-chipcomputerRestoretothethrone/dormancyanti-interferenceForewordIntroduction:Withthedevelopmentatfullspeedofthemicroelectrictechnique,theperformanceoftheone-chipcomputerimprovesrapidly,demonstratetheoutstandingadvantageintheoperation,logiccontrol,intelligentrespect,replacedandenlargedthemeasuringthatthecircuitmadeup,controlcircuitbydigitallogicalcircuit,operationoriginallytoagreatextent,useveryextensivly.Butbecauseithavesystemhalted,procedureruncriticaldefectofflyingetc,makeitlimitinalotofimportantapplicationofoccasion.Alotoftechnologyinanti-interference,forexamplesetupthesoftwaretrap,addthehardwaretoguardthegateindog'scircuitetc,canmakethisproblemhavebettersettlement,butstilltheexistingproblem:①Guardthegatedogatthemovement,meanandappearmistakealreadyandrunsometime,thisisnotallowedinsomeoccasions;②Procedureappearcirculationmistakeverymuchsometimes,butjustguardthegatedogcontrollinkincludeandenter,adoptandguardthegateastosuchamistakedogunabletodiscern;③Inmeasureandcontrolcycleamongthelongsystem,one-chipcomputerspendwaitfortheperipheralhardwarealargeamountoftime,willbeinterferedtoowhencarryoutandwaitfortheorder.Tothesesituations,wehavetriedthemethodrestoredtothethronevoluntarilyinpractice,alternatepulseofadoptingetcorrestoretothethronewakingaccordingtoexternaltermstotheone-chipcomputerup.Afterbeingrestoredtothethroneeachtime,theone-chipcomputercarriesoutthecorrespondingprocedure,entersdormancyintimeafterfinishingcarryingoutthetask,waittoberestoredtothethronenextly.Havesolvedabove-mentionedproblemswellwiththismethod,andhasgotbetterresultintheagriculturalvoltagetransformercomprehensiveprotectorexperiment.Nowtake51serialone-chipcomputersasanexampleandprobeintotheconcreteprincipleandimplementationmethod,restoredtothethronethesignalasthehighlevel.1.Aprincipleandimplementationmethod1.1RestoredtothethronethelawregularlyunconditionallyUsetimer,special-purposeclockchiporotherpulsegenerator,producesignalofrestoringtothethroneregularlyaccordingtointervalthatsetfor.Thiskindofmethodisespeciallysuitableforthemeasuringinstrument.Innotrunningactually,sampletheanalogquantityofintroductionwithA/Dconverteroften,thenstoreshowing.Thiscourseisveryfast,butsteadyforreading,thedatapersecondareonlyupgraded1-2times,alargeamountoftimeofCPUisusedforwaiting.LetCPUcarryoutandenterdormancydirectlyafterthetask,restoretothethroneandwakebyexternalworldupItcarryoutthenextoperation,thisistorestoretothethronethelawregularlyInthiswaycanmakeanti-interferenceabilitystrengthengreatly,have2pointsmainly:①.Atthedormancy,procedurestoprun,canappearPCindicatordisorderlyprocedurethatcausesrunandfly.Worktimeindormancyproportion1:9,thatistosay1shave0.1timeofsusedformeasuring,sendingoffshowing,thereistimedormancyof0.9s,theprobabilitythattheprocedureisinterferedis1/10whilerunningatfullspeed,wholeanti-interferenceabilityraiseby10times.②Becauseevery1sisrestoredtothethroneonceunconditionally,oncepresentthesystemhaltedduringajob,cancertainlyresumewhenrestoredtothethronenexttime.Astoonlyinstrumentthatshow,somereadingmistakethat1sappearaccidentallythereisnomemorytothenextmeasurement,becouldbear,belongto“pass”mistake.Thiskindisrestoredtothethronetheadvantageofdog'scircuitforguardingthegateregularly,first,changewaitingtimeintoadormancystate,timetoshortenandmaybeinterfered;Second,avoidedhappenningthatthedogcontrolsthedeathcirculationofthelinktoincludeguardingthegate.1.2TheexternalconditionisrestoredtothethronethelawSomearrivalthatexportormeasureiscontrolledbytheoutside.Forinstance,thehotformofheating,rotatethepulseproducedandcalculateheatbyhotwaterwaterwheels,thereisnohotwatertoflow,thereisnoheattoexport,CPUonlyneedinfactkeepnumbervalue,donotneedtocount.Canimaginehotwaterwaterwheelsrotatewhenparkingwarm,CPUidleinwillitbewillitbeoneseasonautumnspringandsummer,Ifletdormancyits,measurehavewaterwheelspulseconstantly,anti-interferenceabilitycanstrengthengreatly.So,solongaslinkuptherestoringtothethroneofthepulseofthewaterwheelsandCPU,thewaterwheelsrotateacircleeachtime,CPUisrestoredtothethroneonce,hotformcanworknormally,thisisrestoredtothethronethelawbytheexternalcondition.Similarapplicationhavehalfelectronkilowatt-hourmeter,goononecountjustwhenthemachinerydegreewheelsandtransferstoacircle,usersdonotneedtheelectricity,CPUhasbeenknowingthedormancyallthetime.Therestoringtothethroneintheintervalnottoberegular,butconfirmedaccordingtotheexternalconditionofthismethod.Insomeoccasions,thetimeofthedormancywillbeverylong,veryeffectivetoimprovinganti-interferenceability.2.Thehardwarerealizesthemainpoint2.1RestoredtothethroneregularlyunconditionallyGenerallyhave2kindsofmethods.①Usetheitimerorthespecial-purposeclockchiptoberestoredtothethrone.Fig1,inordertousethetimingcircuitthat555circuitmakesup;CanusetheclockchipsofX1126,etctoo,wakeCPUupwiththealarmsignalaftersettingupwarningtime.Thiskindofmethodissuitablewhenthelongintervalismade,canalsofollowtheresultofthisoperation,determinetowaketimeupinalarmnexttimetemporarily,veryflexibleandconvenient.②Thesignalofusingthesystemtobeinherentisasreducingthepulseregularly.Use50Hzworkerpowermakereducingafterhavingafaceliftfrequently,alreadyomitthetimer,gatheredthecorrespondingsignalforthephaseplacewhichmeasuredtheelectriccurrentsignalatthesametime,asFig.2shows.2.2ExternalconditionsarerestoredtothethroneSendexternalconditionpulsetoandisrestoredtothethronetheendsonafterhavingafacelift.Tothatabove-mentionedwaterwheelsortheammeterspendapulseproduced,canuseSchmitt'striggertohaveafacelift;Forwritingdowntheinstrumentofthebiggestorminimum,canusethewindowcomparator.Inordertorealizetheelectronizationthatisregulated,canusetheelectronicelectricpotentialdevice,establishupperandlowerlimitswiththeorderoftheone-chipcomputer.2.3ReducecycleandrestoredtothethronethehighelectricityatordinarytimesInFig3,restoredtothethronethesignalduringhighlevelTr,theone-chipcomputerisinthestateofrestoringtothethrone,theproceduredoesnotrun,anti-interferenceabilityisthestrongest;Afterthehighlevel,theone-chipcomputerbeginstoholdtheconductprocedure.Thatistosay,arerestoredtothethroneandsuitableforthetimethattheprocedurecarriesoutduringthelowlevelTdofthesignal,thistimeshouldbegreaterthantheexecutioncycleoftheprocedureeachtime.Itisrestoretothethronecycleandrestoretothethronehighlevelofsignaltakeemptythanverymuchimportanttochooserationally.Astosimpletoshowinstrument,restoretothethronecycledeterminedatabreakcycle,lowelectricityisitmeasure,hancloveralltimeshowntogreaterthantowantatordinarytimes;Otherwise,cantpresentforeverthemistakeoftheintactexecutiveprogram.MonolithicintegratedcircuitinTsandTrperiodallcaneffectivelytheantijamming,butisbesttheunnecessarytimearrangementinTr.Whentheprogramtimeislong,whenasfaraspossibletherequestreducesTr,mayjointhedifferentiatingcircuit,likechart1centerC30,R26,D9.2.4Treatmentofoutputendsons(1)RestoretothethronestraightpulseDuringallI/Omouthofone-chipcomputerturnintothehighlevelwhenrestoringtothethrone.Thatistosayoutputforlowpinnormally,willaccordingtorestoretothethronecycleappearthewidthforthestraightpulseofTr.Thisstraightpulsewillinfluencethenormaloutput,2methodsaredealtwith:①Connectinparallelelectriccapacitysuppress,capacityconfirmaccordingtoTrtimethatrestoretothethroneonthesoninend.ReducingTrcanbereducedandconnectedtheelectriccapacityinparallel.②Itisinvalidtodesigntheperipheralcircuitintothehighlevel.(2)Fault-tolerantChoosethecapacitythattheoutputendconnectstheelectriccapacityinparallelfault-tolerantlyandproperly,canrealizefault-tolerantcontrol.Reducedcycleinacertain,becauseinterferedexportingthewronglevel.Becausethekeepingfunctionofelectriccapacity,can'tstillenableexportingthechangetothevalidlevelwithinthiscycle;Nextcycle,themistakeiscorrected.So,solongasdoesnotmakemistakesin2cyclesinsuccession,itisveryfault-toleranttoexportCertainly,thiskindofmethodwillmakethenormaloutputchangelagbehindforonecycle,justreallyreflecttheoutputendson.2.5hastheelectricitytomeasureandrestoretothethronemanuallySomesystemisitmakesomeinitializeandoperatetowantatelectricityforthefirsttime.Restoredtothethroneandalreadybecomethebeginningconditionofnormalrunningeachtimewhileadoptingthewayofrestoringtothethronetorun,itisunabletodistinguishandhavetheelectricityforthefirsttime.InsomepinconnectstheelectriccapacityofoneljIFtotheground,measurethispinafterbeingrestoredtothethrone,iflowleveltohaveelectricityforthefirsttime.Givesystemsetuponerestoretothethronebutton,thatistosayacommononemanualtorestoretothethrone,thisbuttonisnotjoinedandbeingrestoredtothethroneintheend,isconnectedinparallelintheelectriccapacitybothendstothegroundofabove-mentionedpins.3.Thesoftwarerealizesthemainpoint3.1isitresumewithzeroclearingRAMtooutputRestoretothethronethelastallpinturnhighlevelinto,isitshouldtaKeplaceunnecessarychangeforlowpintomakeregularly,so,shouldresumethestate.ofallpinsimmediatelyafterbeingrestoredtothethrone.Thereare2kindsofmethods:①Analyseandjudgeimmediatelyafterbeingrestoredtothethronethistime,providethestateofthepinaccordingtotheneed;②InbeingRAMitisthelastlaststatethatcomedown,theseRAMswhenrestored.Tothethroneregularlycanthezeroclearingone;Butelectricityormanualtorstoretothethronewhenpushinginconformitywithzeroclearing,isitembodytowantwhenthesoftwareisworkedoutingatthebeginning.Ifcalculatetimeallows,tryone'sbesttotakemethod1.Restoretothethronecycleprobabilitymademistakestocalculateverylittle,accordingto2forthe2ndtimeinsuccession.4outputendsonthatnarrateconnecttreatmentmethodofelectriccapacityinparallel,canreachkindanti-interferenceresultvery.3.2realizescrossingoverandisrestoredtothethronealternatetimesequence、regularlytocontrolWorkinwayofrestoringtothethronenow,startanewandcarryoutthesameprocedurerepeatedlyeachtime.Canbedividedinto2kindsofsituations:①Astosimpletoshowinstrument,carryonmeasurement,sendoffshowingafterbeingrestoredtothethroneeachtime,havecausalitybetweenrestoringtothethronetwice.needisitswitchovertothedormancytowaitingoriginalonly.Shouldpayattentionto,measurement,givetotaltimeusedtoshowisitisitrestoretothethronelowelectricityatordinarytimestosmallerthantowant,otherwisecan'tpresentforeverthemistakeoftheintactexecutiveprogram.②Forhavingapplicationthattimesequencecontrolled,afterbeingrestoredtothethroneeachtime,shouldcheckfirstthatseethesignleftlastcycle,inordertodeterminewhatisdonethiscycle.Thatistosayeveryisitrestoretothethroneoperationofcycletostride,byisittransmittoindicateall,theseindicatewhileleavingininsideRAM,thezeroclearingonlywhenhavetheelectricityforthefirsttime.Forexample,theprotectingsyntheticallydeviceofabove-mentionedvoltagetransformer,isrestoredtothethroneregularlyaccordingtotheintervalof20ms.Itreachesthenormalworkingstatethrough,certainmovementorderafterhavingtheelectricity,suchasFig.4;Writeapartoftheprocedureofthesoftwareaccordingtothismovement,suchasFig.5.In4Fig,actaspersonwhoprotectthebeginningattheelectricity,isittransmitpower0totryatfirst.5s,pointsoutandtransmitspowersoon;Transmitpowerformallyafterwaitingfor30s.Itisstart-uptimein1saftertransmittingpower,doesnotmeasuretheelectriccurrent.Startafterfinishing,ifallgoingwell,thelocationisput"normalsign",personwhoprotectrestoretothethronecycleenternormalrunninginthenextone.Try0thattransmitspower.5sisitisitrealizetocountoncerestoringtothethronetodelaytime,restoretothethronetime20mseachtime.Athavingelectricityforthefirsttime,makeallzeroclearingtoinsideRAM,makeitisittimeTstotransmitpowernottotry=Dormancyafter25.Afterrestoringtothethrone,isithaveelectricpintohaveelectricityforthefirsttimealready,isitisitisitisittimethemeasuringofTstotransmitpowertotrytogettogoontomeasurenexttime.IfTs*0,isitinisitprolongperiodtotransmitpower,isitenterdormancyafterthe1toreduceTstoprove.ActasTs-1=0,thecoursewhichwaitedfor30sthatshouldenterandloseelectricalpower.JustwhenTsdecreasesprogressivelyto0,makeitisitindicatetowaitfornottoloseelectricalpowerTd=1500.Whentheprocedureisrestoredtothethronebeginningagain,measuretoTs=0butTd*0,isitisitisittransmitpowertotrytocrossalreadytoindicate,atisitwaitforthecourseof30stoloseelectricalpowernow.Inthisway,thewholeprocessistransmittedeachotherbysuchtheseparametersasTr,Td,Tsetc,goonstepbystep.Result:ConclusionAnti-interferenceisanimportantprobleminanelectronicdesign,especiallyImportantintheone-chipcomputer.Thisisbecausetheone-chipcomputerhasprocedurestorunparticularitythatflies,theconsequencethatitisinterferedmaybethesystemhalted,maysendoutvariouskindsofmistakesorillegalmovementsbeforethesystemhaltedtoo,makethewholesystemproducethemortalitymistake.So,onlyguaranteeitisnotenoughyetforone-chipcomputernottocrash,studyhowtoreducetheriskinterfered,itcanbefault-toieranthowisitafterandmakemistakes.Thistextisitactassomeexplorationfromtwothesetotryhard,hopetheseelementaryopinionscanplaysomefunctionofcastingabricktoattractjade,helpfultoeverybody;Hopetooeverycolleagueexploretogether,improveourdesignleveltogether.单片机概述在一个休眠状态下的单片机---恢复到正常的运作方式过程中的抗干扰能力

摘要:介绍一种用休眠恢复方式使单片机正常运行的方法,提高抗干扰能力的方法;分析其适用范围,提供和使用的电路concretly,结合实例,分析这些特点,这种运作方式的硬件和软件设计。

关键词:单片机从休眠还原到可运行的过程方法。简介:随着在微电子技术的飞速发展,在一个性能迅速提高电子时代,在运行中表现突出的优势,逻辑控制,智能方面,更换,扩大了测量,电路组成,控制电路数字逻辑电路,操作在很大程度上有了很多发展。但是,因为它具有系统停止,程序运行等关键缺陷,使之限制在一个很多重要环境中无法运用的情况。在很多抗干扰技术中,软件升级,设置添加看门狗电路等,可以解决这个问题,但仍然存在的问题还有很多,例如:看门狗的运行,意味着已经出现错误和运行一段时间,这是不可以在一些地方出现的,出现错误流通有时很多,但看门狗控制联系包括和进入,通过和程序的大门,这种错误看门狗无法看出;一个单片机等待外围硬件的运算需要大量的时间,将抗干扰程序进行运行,等待命令。对于这些情况,我们试图恢复单片机在外部运行的方式,采用或恢复单片机休眠状态下的方法。根据外部条件,一个单片机替代脉冲的方法。恢复后的程序,每次的单片机进行相应的程序,及时进入休眠完成后进行的任务,等待被恢复程序。解决了上述问题的这种方法,并得到更好的变压器综合保护结果。现在把51系列,作为一个例子,并把具体的方式和实施方法,作为程序的信号,来恢复单片机的正常运行。所列1.a原理和实现方法。

1.1恢复了成经常无条件运行的问题

使用定时器,专用时钟芯片或其它脉冲发生器,生产恢复程序的信号,定期根据间隔的设置。这种方法特别适用于测量仪器。实际上,在程序没有运行中,程序中的A/D转换器通常采用模拟量,然后将其存储显示。这当然是非常快,但稳定的阅读,每秒只能升级1-2倍,一对CPU的大量时间用于等待的数据。让CPU的开展和任务结束后直接进入休眠,恢复程序并唤醒外部运行,是要进行的下一个操作,这恢复了程经错误时进进入休眠状态的情况,这种方式可以使抗干扰能力大大增强,主要有2点:①。在休眠,程序停止运行,可以显示电脑的指标,导致无序程序运行和输出。工作时间的休眠比例1:9,即1秒时间有0.1秒测量使用,显示,有休眠时间0.9秒的概率该程序受到干扰的1/10,而运行全速,抗干扰能力提高10倍。②因为每1秒无条件恢复一次程序,一旦停止在目前的工作状态,等一定能够恢复时,就会恢复到下一次的程序。至于唯一的工具,显示,一些阅读错误,1秒出现意外,没有下一个测量记忆,是可以承受的,属于“合格”的错误。这种恢复了错误程序的把关,定期对看门狗电路有很大优势,首先,等待时间更改为休眠状态,时间缩短,并可能会受到干扰;第二,避免偶发的看门狗控制链接的错误循环的情况。1.2外部条件是恢复错误程序的关键有些地方,出口或措施是由外部控制。例如,热供暖方式,旋转的脉冲产生和计算出热水车热量,没有热水流动,没有出口的热量,CPU只需要保持数值,不需要计数。可以想像,热水水车转动温度停车时,CPU会处于一个等待的阶段,如果让其休眠,有水车轮脉搏不断,抗干扰能力也大大加强。因此,只要恢复了对水的车轮和CPU脉冲影响,水车轮旋转一圈,每次连接,CPU是恢复工作后,热表就可正常工作,这是恢复到程序能正常运行的方法。类似的应用,半电子电度表,在部分程序中断时,车轮和机械程度的循环转移,用户不需要电力,CPU已经知道所有的休眠时间。在恢复的时间间隔中经常不被复位,但据证实了该方法的外部条件。在某些情况下,在休眠的时间会很长,非常有效的提高抗干扰能力。2.硬件实现的主要问题

2.1定期恢复到可运行程序的状态

一般有2种方法。①使用theitimer或专用芯片时钟恢复程序。图1,为了使用的时间电路,555电路构成,可以使用X1126等,也唤醒了CPU的报警信号后成立的预警时间的时钟芯片。这种方法适用于长时间休眠,也可以按照这个操作的结果,确定唤醒时间,在下次警报时恢复,非常灵活方便。②在使用该系统固有的信号,是将减少经常脉搏。使用50赫兹的频率来减少脉冲频率,已经省略了计时器,聚集的地方测量阶段在同一时间的电流信号的图,相应的信号。2.2外部条件恢复到可运行程序的状态发送外部条件的脉搏,使恢复程序,重新直接的一个重要阶段。为此,上述水车轮或电表脉冲产生的花费,可以使用施密特触发器有一个新面貌,为写下最大或最小,可以使用窗口比较工具。为了实现电子化监管,可以使用电子电位器,建立中,随着单片机需求持续降低脉冲。2.3缩短周期,恢复了可运行程序高平时的电力在图3,恢复了程序信号在高级别输出时,一个芯片的电脑在恢复可运行程序的状态,程序不运行,抗干扰能力是最强的,在高层次,一个芯片计算机开始运行的行为过程。这就是说,是恢复程序和时间的程序进行期间信号运输,这个时候应大于该程序每次执行周期。这是恢复执行周期和恢复执行信号非常重要的地方,选择合理方法。至于简单的仪器显示,恢复程序的周期确定的数据打破循环,低电力是它的措施,对所有显示的时间要大于平时,

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论