单片机英文资料+英文文献.docx
《单片机英文资料+英文文献.docx》由会员分享,可在线阅读,更多相关《单片机英文资料+英文文献.docx(7页珍藏版)》请在冰豆网上搜索。
单片机英文资料+英文文献
单片机英文资料+英文文献
Dormancyoftheone-chipcomputer---restoretothethroneintheoperationwayandimproveanti-interferenceability
Introduceakindofdormancyofusing-restoretothethrone
intheoperationwayandimprovetheanti-interferenceabilitymethodof
theone-chipcomputer;Analyseitsscopeofapplication,provideanduse
thecircuitconcretly;Combinetheinstance,analysethecharacteristic
ofthehardwareandsoftwaredesignunderthesekindofoperationway.
Keyword:
One-chipcomputerRestoretothethrone/dormancyanti-interferenceForeword
Withthedevelopmentatfullspeedofthemicroelectrictechnique,theperformanceoftheone-chipcomputerimprovesrapidly,demonstrate
theoutstandingadvantageintheoperation,logiccontrol,intelligent
respect,replacedandenlargedthemeasuringthatthecircuitmadeup,
controlcircuitbydigitallogicalcircuit,operationoriginallytoa
greatextent,useveryextensivly.Butbecauseithavesystemhalted,
procedureruncriticaldefectofflyingetc,makeitlimitinalotof
importantapplicationofoccasion.Alotoftechnologyin
anti-interference,forexamplesetupthesoftwaretrap,addthehardware
toguardthegateindog'scircuitetc,canmakethisproblemhavebetter
settlement,butstilltheexistingproblem:
?
Guardthegatedogatthe
movement,meanandappearmistakealreadyandrunsometime,thisisnot
allowedinsomeoccasions;?
Procedureappearcirculationmistakevery
muchsometimes,butjustguardthegatedogcontrollinkincludeandenter,
adoptandguardthegateastosuchamistakedogunabletodiscern;?
Inmeasureandcontrolcycleamongthelongsystem,one-chipcomputer
spendwaitfortheperipheralhardwarealargeamountoftime,willbe
interferedtoowhencarryoutandwaitfortheorder.Tothesesituations,
wehavetriedthemethodrestoredtothethronevoluntarilyinpractice,
alternatepulseofadoptingetcorrestoretothethronewakingaccording
toexternaltermstotheone-chipcomputerup.Afterbeingrestoredto
thethroneeachtime,theone-chipcomputercarriesoutthecorresponding
procedure,entersdormancyintimeafterfinishingcarryingoutthetask,
waittoberestoredtothethronenextly.Havesolvedabove-mentioned
problemswellwiththismethod,andhasgotbetterresultinthe
agriculturalvoltagetransformercomprehensiveprotectorexperiment.Now
take51serialone-chipcomputersasanexampleandprobeintotheconcrete
principleandimplementationmethod,restoredtothethronethesignal
asthehighlevel.
1.Aprincipleandimplementationmethod
1.1Restoredtothethronethelawregularlyunconditionally
Usetimer,special-purposeclockchiporotherpulsegenerator,producesignalofrestoringtothethroneregularlyaccordingtointervalthatsetfor.Thiskindofmethodisespeciallysuitableforthemeasuringinstrument.Innotrunningactually,sampletheanalogquantityof
introductionwithA/Dconverteroften,thenstoreshowing.Thiscourse
isveryfast,butsteadyforreading,thedatapersecondareonlyupgraded1-2times,alargeamountoftimeofCPUisusedforwaiting.LetCPU
carryoutandenterdormancydirectlyafterthetask,restoretothe
throneandwakebyexternalworldupItcarryoutthenextoperation,thisistorestoretothethronethelawregularlyInthiswaycanmake
anti-interferenceabilitystrengthengreatly,have2pointsmainly:
?
.
Atthedormancy,procedurestoprun,canappearPCindicatordisorderly
procedurethatcausesrunandfly.Worktimeindormancyproportion1:
9,thatistosay1shave0.1timeofsusedformeasuring,sendingoffshowing,thereistimedormancyof0.9s,theprobabilitythattheprocedureis
interferedis1/10whilerunningatfullspeed,wholeanti-interference
abilityraiseby10times.?
Becauseevery1sisrestoredtothethrone
onceunconditionally,oncepresentthesystemhaltedduringajob,can
certainlyresumewhenrestoredtothethronenexttime.Astoonly
instrumentthatshow,somereadingmistakethat1sappearaccidentally
thereisnomemorytothenextmeasurement,becouldbear,belongto
“pass”mistake.Thiskindisrestoredtothethronetheadvantageof
dog'scircuitforguardingthegateregularly,first,changewaitingtimeintoadormancystate,timetoshortenandmaybeinterfered;Second,
avoidedhappenningthatthedogcontrolsthedeathcirculationofthelinktoincludeguardingthegate.
1.2Theexternalconditionisrestoredtothethronethelaw
Somearrivalthatexportormeasureiscontrolledbytheoutside.For
instance,thehotform.ofheating,rotatethepulseproducedand
calculateheatbyhotwaterwaterwheels,thereisnohotwatertoflow,thereisnoheattoexport,CPUonlyneedinfactkeepnumbervalue,do
notneedtocount.Canimaginehotwaterwaterwheelsrotatewhenparkingwarm,CPUidleinwillitbewillitbeoneseasonautumnspringandsummer,Ifletdormancyits,measurehavewaterwheelspulseconstantly,
anti-interferenceabilitycanstrengthengreatly.So,solongaslinkuptherestoringtothethroneofthepulseofthewaterwheelsandCPU,thewaterwheelsrotateacircleeachtime,CPUisrestoredtothethroneonce,hotform.canworknormally,thisisrestoredtothethronethelawby
theexternalcondition.Similarapplicationhavehalfelectron
kilowatt-hourmeter,goononecountjustwhenthemachinerydegreewheelsandtransferstoacircle,usersdonotneedtheelectricity,CPUhasbeen
knowingthedormancyallthetime.Therestoringtothethroneinthe
intervalnottoberegular,butconfirmedaccordingtotheexternal
conditionofthismethod.Insomeoccasions,thetimeofthedormancywill
beverylong,veryeffectivetoimprovinganti-interferenceability.
2.Thehardwarerealizesthemainpoint
2.1Restoredtothethroneregularlyunconditionally
Generallyhave2kindsofmethods.?
Usetheitimerorthe
special-purposeclockchiptoberestoredtothethrone.Fig1,inorder
tousethetimingcircuitthat555circuitmakesup;Canusetheclock
chipsofX1126,etctoo,wakeCPUupwiththealarmsignalaftersetting
upwarningtime.Thiskindofmethodissuitablewhenthelonginterval
ismade,canalsofollowtheresultofthisoperation,determinetowake
timeupinalarmnexttimetemporarily,veryflexibleandconvenient.?
Thesignalofusingthesystemtobeinherentisasreducingthepulse
regularly.Use50Hzworkerpowermakereducingafterhavingafacelift
frequently,alreadyomitthetimer,gatheredthecorrespondingsignalfor
thephaseplacewhichmeasuredtheelectriccurrentsignalatthesame
time,asFig.2shows.
2.2Externalconditionsarerestoredtothethrone
Sendexternalconditionpulsetoandisrestoredtothethronethe
endsonafterhavingafacelift.Tothatabove-mentionedwaterwheelsor
theammeterspendapulseproduced,canuseSchmitt'striggertohavea
facelift;Forwritingdowntheinstrumentofthebiggestorminimum,
canusethewindowcomparator.Inordertorealizetheelectronization
thatisregulated,canusetheelectronicelectricpotentialdevice,establishupperandlowerlimitswiththeorderoftheone-chipcomputer.
2.3Reducecycleandrestoredtothethronethehighelectricityat
ordinarytimes
InFig3,restoredtothethronethesignalduringhighlevelTr,the
one-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-chipcomputerturnintothehighlevel
whenrestoringtothethrone.Thatistosayoutputforlowpinnormally,willaccordingtorestoretothethronecycleappearthewidthforthestraightpulseofTr.Thisstraightpulsewillinfluencethenormaloutput,2methodsaredealtwith:
?
Connectinparallelelectriccapacity
suppress,capacityconfirmaccordingtoTrtimethatrestoretothethroneonthesoninend.ReducingTrcanbereducedandconnectedtheelectriccapacityinparallel.?
Itisinvalidtodesigntheperipheralcircuit
intothehighlevel.
(2)Fault-tolerant
Choosethecapacitythattheoutputendconnectstheelectriccapacity
inparallelfault-tolerantlyandproperly,canrealizefault-tolerantcontrol.Reducedcycleinacertain,becauseinterferedexportingthewronglevel.Becausethekeepingfunctionofelectriccapacity,can'tstillenableexportingthechangetothevalidlevelwithinthiscycle;Nextcycle,themistakeiscorrected.So,solongasdoesnotmakemistakesin2cyclesinsuccession,itisveryfault-toleranttoexportCertainly,thiskindofmethodwill