單片機概述中英文對照外文翻譯文獻_第1頁
單片機概述中英文對照外文翻譯文獻_第2頁
單片機概述中英文對照外文翻譯文獻_第3頁
單片機概述中英文對照外文翻譯文獻_第4頁
單片機概述中英文對照外文翻譯文獻_第5頁
已閱讀5頁,還剩6頁未讀, 繼續(xù)免費閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認(rèn)領(lǐng)

文檔簡介

中英文對照外文翻譯文獻(文檔含英文原文和中文翻譯)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.單片機概述在一個休眠狀態(tài)下的單片機---恢復(fù)到正常的運作方式過程中的抗干擾能力

摘要:介紹一種用休眠恢復(fù)方式使單片機正常運行的方法,提高抗干擾能力的方法;分析其適用范圍,提供和使用的電路concretly,結(jié)合實例,分析這些特點,這種運作方式的硬件和軟件設(shè)計。

關(guān)鍵詞:單片機從休眠還原到可運行的過程方法。簡介:隨著在微電子技術(shù)的飛速發(fā)展,在一個性能迅速提高電子時代,在運行中表現(xiàn)突出的優(yōu)勢,邏輯控制,智能方面,更換,擴大了測量,電路組成,控制電路數(shù)字邏輯電路,操作在很大程度上有了很多發(fā)展。但是,因為它具有系統(tǒng)停止,程序運行等關(guān)鍵缺陷,使之限制在一個很多重要環(huán)境中無法運用的情況。在很多抗干擾技術(shù)中,軟件升級,設(shè)置添加看門狗電路等,可以解決這個問題,但仍然存在的問題還有很多,例如:看門狗的運行,意味著已經(jīng)出現(xiàn)錯誤和運行一段時間,這是不可以在一些地方出現(xiàn)的,出現(xiàn)錯誤流通有時很多,但看門狗控制聯(lián)系包括和進入,通過和程序的大門,這種錯誤看門狗無法看出;一個單片機等待外圍硬件的運算需要大量的時間,將抗干擾程序進行運行,等待命令。對于這些情況,我們試圖恢復(fù)單片機在外部運行的方式,采用或恢復(fù)單片機休眠狀態(tài)下的方法。根據(jù)外部條件,一個單片機替代脈沖的方法。恢復(fù)后的程序,每次的單片機進行相應(yīng)的程序,及時進入休眠完成后進行的任務(wù),等待被恢復(fù)程序。解決了上述問題的這種方法,并得到更好的變壓器綜合保護結(jié)果。現(xiàn)在把51系列,作為一個例子,并把具體的方式和實施方法,作為程序的信號,來恢復(fù)單片機的正常運行。所列1.a原理和實現(xiàn)方法。

1.1恢復(fù)了成經(jīng)常無條件運行的問題

使用定時器,專用時鐘芯片或其它脈沖發(fā)生器,生產(chǎn)恢復(fù)程序的信號,定期根據(jù)間隔的設(shè)置。這種方法特別適用于測量儀器。實際上,在程序沒有運行中,程序中的A/D轉(zhuǎn)換器通常采用模擬量,然后將其存儲顯示。這當(dāng)然是非常快,但穩(wěn)定的閱讀,每秒只能升級1-2倍,一對CPU的大量時間用于等待的數(shù)據(jù)。讓CPU的開展和任務(wù)結(jié)束后直接進入休眠,恢復(fù)程序并喚醒外部運行,是要進行的下一個操作,這恢復(fù)了程經(jīng)錯誤時進進入休眠狀態(tài)的情況,這種方式可以使抗干擾能力大大增強,主要有2點:①。在休眠,程序停止運行,可以顯示電腦的指標(biāo),導(dǎo)致無序程序運行和輸出。工作時間的休眠比例1:9,即1秒時間有0.1秒測量使用,顯示,有休眠時間0.9秒的概率該程序受到干擾的1/10,而運行全速,抗干擾能力提高10倍。②因為每1秒無條件恢復(fù)一次程序,一旦停止在目前的工作狀態(tài),等一定能夠恢復(fù)時,就會恢復(fù)到下一次的程序。至于唯一的工具,顯示,一些閱讀錯誤,1秒出現(xiàn)意外,沒有下一個測量記憶,是可以承受的,屬于“合格”的錯誤。這種恢復(fù)了錯誤程序的把關(guān),定期對看門狗電路有很大優(yōu)勢,首先,等待時間更改為休眠狀態(tài),時間縮短,并可能會受到干擾;第二,避免偶發(fā)的看門狗控制鏈接的錯誤循環(huán)的情況。1.2外部條件是恢復(fù)錯誤程序的關(guān)鍵有些地方,出口或措施是由外部控制。例如,熱供暖方式,旋轉(zhuǎn)的脈沖產(chǎn)生和計算出熱水車熱量,沒有熱水流動,沒有出口的熱量,CPU只需要保持?jǐn)?shù)值,不需要計數(shù)。可以想像,熱水水車轉(zhuǎn)動溫度停車時,CPU會處于一個等待的階段,如果讓其休眠,有水車輪脈搏不斷,抗干擾能力也大大加強。因此,只要恢復(fù)了對水的車輪和CPU脈沖影響,水車輪旋轉(zhuǎn)一圈,每次連接,CPU是恢復(fù)工作后,熱表就可正常工作,這是恢復(fù)到程序能正常運行的方法。類似的應(yīng)用,半電子電度表,在部分程序中斷時,車輪和機械程度的循環(huán)轉(zhuǎn)移,用戶不需要電力,CPU已經(jīng)知道所有的休眠時間。在恢復(fù)的時間間隔中經(jīng)常不被復(fù)位,但據(jù)證實了該方法的外部條件。在某些情況下,在休眠的時間會很長,非常有效的提高抗干擾能力。2.硬件實現(xiàn)的主要問題

2.1定期恢復(fù)到可運行程序的狀態(tài)

一般有2種方法。①使用theitimer或?qū)S眯酒瑫r鐘恢復(fù)程序。圖1,為了使用的時間電路,555電路構(gòu)成,可以使用X1126等,也喚醒了CPU的報警信號后成立的預(yù)警時間的時鐘芯片。這種方法適用于長時間休眠,也可以按照這個操作的結(jié)果,確定喚醒時間,在下次警報時恢復(fù),非常靈活方便。②在使用該系統(tǒng)固有的信號,是將減少經(jīng)常脈搏。使用50赫茲的頻率來減少脈沖頻率,已經(jīng)省略了計時器,聚集的地方測量階段在同一時間的電流信號的圖,相應(yīng)的信號。2.2外部條件恢復(fù)到可運行程序的狀態(tài)發(fā)送外部條件的脈搏,使恢復(fù)程序,重新直接的一個重要階段。為此,上述水車輪或電表脈沖產(chǎn)生的花費,可以使用施密特觸發(fā)器有一個新面貌,為寫下最大或最小,可以使用窗口比較工具。為了實現(xiàn)電子化監(jiān)管,可以使用電子電位器,建立中,隨著單片機需求持續(xù)降低脈沖。2.3縮短周期,恢復(fù)了可運行程序高平時的電力在圖3,恢復(fù)了程序信號在高級別輸出時,一個芯片的電腦在恢復(fù)可運行程序的狀態(tài),程序不運行,抗干擾能力是最強的,在高層次,一個芯片計算機開始運行的行為過程。這就是說,是恢復(fù)程序和時間的程序進行期間信號運輸,這個時候應(yīng)大于該程序每次執(zhí)行周期。這是恢復(fù)執(zhí)行周期和恢復(fù)執(zhí)行信號非常重要的地方,選擇合理方法。至于簡單的儀器顯示,恢復(fù)程序的周期確定的數(shù)據(jù)打破循環(huán),低電力是它的措施,對所有顯示的時間要大于平時,

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論