自动化专业 单片机 外文文献 英文文献 外文翻译中英对照.docx
《自动化专业 单片机 外文文献 英文文献 外文翻译中英对照.docx》由会员分享,可在线阅读,更多相关《自动化专业 单片机 外文文献 英文文献 外文翻译中英对照.docx(11页珍藏版)》请在冰点文库上搜索。
自动化专业单片机外文文献英文文献外文翻译中英对照
Dormancyoftheone-chipcomputer---restoretothethroneintheoperationwayandimproveanti-interferenceability
Abstract:
Introduceakindofdormancyofusing-restoretothethroneintheoperationwayandimprovetheanti-interferenceabilitymethodoftheone-chipcomputer;Analyseitsscopeofapplication,provideandusethecircuitconcretly;Combinetheinstance,analysethecharacteristicofthehardwareandsoftwaredesignunderthesekindofoperationway.
Keyword:
One-chipcomputerRestoretothethrone/dormancyanti-interferenceForeword
Introduction:
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.Aprincipleandimplementationmethod
1.1Restoredtothethronethelawregularlyunconditionally
Usetimer,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.2Theexternalconditionisrestoredtothethronethelaw
Somearrivalthatexportormeasureiscontrolledbytheoutside.Forinstance,thehotform.ofheating,rotatethepulseproducedandcalculateheatbyhotwaterwaterwheels,thereisnohotwatertoflow,thereisnoheattoexport,CPUonlyneedinfactkeepnumbervalue,donotneedtocount.Canimaginehotwaterwaterwheelsrotatewhenparkingwarm,CPUidleinwillitbewillitbeoneseasonautumnspringandsummer,Ifletdormancyits,measurehavewaterwheelspulseconstantly,anti-interferenceabilitycanstrengthengreatly.So,solongaslinkuptherestoringtothethroneofthepulseofthewaterwheelsandCPU,thewaterwheelsrotateacircleeachtime,CPUisrestoredtothethroneonce,hotform.canworknormally,thisisrestoredtothethronethelawbytheexternalcondition.Similarapplicationhavehalfelectronkilowatt-hourmeter,goononecountjustwhenthemachinerydegreewheelsandtransferstoacircle,usersdonotneedtheelectricity,CPUhasbeenknowingthedormancyallthetime.Therestoringtothethroneintheintervalnottoberegular,butconfirmedaccordingtotheexternalconditionofthismethod.Insomeoccasions,thetimeofthedormancywillbeverylong,veryeffectivetoimprovinganti-interferenceability.
2.Thehardwarerealizesthemainpoint
2.1Restoredtothethroneregularlyunconditionally
Generallyhave2kindsofmethods.①Usetheitimerorthespecial-purposeclockchiptoberestoredtothethrone.Fig1,inordertousethetimingcircuitthat555circuitmakesup;CanusetheclockchipsofX1126,etctoo,wakeCPUupwiththealarmsignalaftersettingupwarningtime.Thiskindofmethodissuitablewhenthelongintervalismade,canalsofollowtheresultofthisoperation,determinetowaketimeupinalarmnexttimetemporarily,veryflexibleandconvenient.②Thesignalofusingthesystemtobeinherentisasreducingthepulseregularly.Use50Hzworkerpowermakereducingafterhavingafaceliftfrequently,alreadyomitthetimer,gatheredthecorrespondingsignalforthephaseplacewhichmeasuredtheelectriccurrentsignalatthesametime,asFig.2shows.
2.2Externalconditionsarerestoredtothethrone
Sendexternalconditionpulsetoandisrestoredtothethronetheendsonafterhavingafacelift.Tothatabove-mentionedwaterwheelsortheammeterspendapulseproduced,canuseSchmitt'striggertohaveafacelift;Forwritingdowntheinstrumentofthebiggestorminimum,canusethewindowcomparator.Inordertorealizetheelectronizationthatisregulated,canusetheelectronicelectricpotentialdevice,establishupperandlowerlimitswiththeorderoftheone-chipcomputer.
2.3Reducecycleandrestoredtothethronethehighelectricityatordinarytimes
InFig3,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)Restoretothethronestraightpulse
DuringallI/Omouthofone-chipcomputerturnintothehighlevelwhenrestoringtothethrone.Thatistosayoutputforlowpinnormally,willaccordingtorestoretothethronecycleappearthewidthforthestraightpulseofTr.Thisstraightpulsewillinfluencethenormaloutput,2methodsaredealtwith:
① Connectinparallelelectriccapacitysuppress,capacityconfirmaccordingtoTrtimethatrestoretothethroneonthesoninend.ReducingTrcanbereducedandconnectedtheelectriccapacityinparallel.②Itisinvalidtodesigntheperipheralcircuitintothehighlevel.
(2)Fault-tolerant
Choosethecapacitythattheoutputendconnectstheelectriccapacityinparallelfault-tolerantlyandproperly,canrealizefault-tolerantcontrol.Reducedcycleinacertain,becauseinterferedexportingthewronglevel.Becausethekeepingfunctionofelectriccapacity,can'tstillenableexportingthechangetothevalidlevelwithinthiscycle;Nextcycle,themistakeiscorrected.So,solongasdoesnotmakemistakesin2cyclesinsuccession,itisveryfault-toleranttoexportCertainly,thiskindofmethodwillmakethenormaloutputchangelagbehindforonecycle,justreallyreflecttheoutputendson.
2.5hastheelectricitytomeasureandrestoret