




版權(quán)說(shuō)明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
Lesson16EmbeddedSystems:aPrimer
(第十六課嵌入式系統(tǒng):初級(jí))
Vocabulary(詞匯)ImportantSentences(重點(diǎn)句)Multiple-choiceQuestion(多選題)
Problems(問(wèn)題)
GeoffreyBessinisamarketmanagerforIBMRational?’ssoftwarequalityproducts.Afrequentlecturerwithsales,marketing,andproductmanagementexperience,Geoffrey’sentirecareerwithRationalandIBMhasbeendedicatedtohelpingcustomersimprovetheirskillswhiledeliveringbetterqualityapplicationsinlesstime.
Intheworldofsoftwaredevelopment,theindustrycanbedividedintothreelargesectors:embeddedsystems/network-connecteddevices,infrastructure,ande-businesssystems.
Woulditsurpriseyoutoknowthatbothofthefirsttwosectors(infrastructuresandembeddedsystems/network-connecteddevices)relyheavilyonembeddedsystemtechnology?It’strue.Buthowimportantarethey,really?Well,ifyou’veevercalledsomeoneonyourcellphone,youhaveanembeddedsystemtothank.Ifyou’veeverdrivenacarorlandedsafelyinanairplane,thankembeddedsystems.ThesamegoesforusingyourPersonalDigitalAssistant(PDA),benefitingfromcomplexmedicalequipment,orconsumingelectricityfromyourlocalpowercompany.Embeddedsystemsareeverywhere.
Impressive?Soarethenumbers.Everyyear,morethanabilliondollarsarespentonthetechnologyandknow-hownecessarytomakeallofthesesystemsareality.
Embeddedsystemshaveavocabularyandgrammaralltheirown.Ifyouarenewtoembeddedsystems,thisprimerwillgiveyouusefulbackgroundandabasicunderstandingoftheunderlyingconcepts.1WhatisanEmbeddedSystem?
Toughquestion,really.Thereisnooneanswer.Iaskedatleastahalfdozenindustryexpertsandgotasmanyanswers.Infact,itwassohardtopindownadefinitionthatIalmoststartedthinking“embeddedsystem”wasjustanothertermfor“software”.Nevertheless,there’sonefactaboutembeddedsystemsthatalltheexpertsdoseemtoagreeon:
Anembeddedsystemisanysoftwaresystemthatmustbedesignedonaplatformdifferentfromtheplatformonwhichthesystemisintendedtobedeployed.[1]
Whatismeantbyplatform?Onthedevelopmentside,platformtypicallyreferstoanoperatingsystemcapableofhostingsoftwaredevelopment,suchasWindows,Solaris,HP,etc.Onthetargetside,thewordplatformreferstothedevicesonwhichtheembeddedsystemwillbedeployed.[2]
OKthen,whythedesignconstraint?Whyaren’tembeddedtargetscapableofhostingsoftwaredevelopment?Becausethesetargetsareoptimizedforperformanceand/orsimplicity,theylacktheequipmentnecessaryfordevelopment(suchaskeyboards,monitors,networking,etc.).Ingeneral,developmentfortheembeddedenvironmentisreferredtoas“cross-platformdevelopment.”[3]2EmbeddedSystemPerformance
Toreiterate,targetplatforms,theactualembeddeddevicesandsystemsthemselves,areoptimizedforperformanceand/orsimplicity.Whatdowemeanbyperformance?Ifyouthinkitmeansthetargethastobeextremelyfast,thenyou’reonlypartiallycorrect.Formostembeddedsystems,amaximallyacceptableprocesstimeisrigidlyobserved,butthattimeneednotbesuperfast—justfastenoughforthesysteminquestion.Considertheairplane:Howmuchtimeisacceptablebetweenachangeinexternalatmosphericconditionsandtheappropriatealterationmadebytheautopilot?Perhapsthereactionneednotbelightningquick,butitcertainlycan'tbesluggish.
Andhowaboutsimplicity?Dependingontheresponsibilityoftheembeddedsystem,small,inexpensive,low-powermicrochipsareviableandpreferableoptionstomorebulkyalternatives.[4]Didyouknowthatthereismorecomputationalpowerinamodern-dayautomobilethantherewasintheApollo13moonlander?Canyouimaginethecostandsizeoftoday’sautomobilesiftheirembeddedsystemswerecomplexandbulky?
Sowhat’stheoverallresponsibilityofanembeddedsystem?Again,Ifoundtheexpertscouldagreeonthisstatement:
Theobjectiveofanembeddedsystemistoexecuteasfastasnecessaryinanasynchronousworldusingthesmallestamountofcodeandwiththehighestlevelofpredictability.(Note:Predictabilityistheembeddedworld’stermforreliability.)
Howcouldthisevenbepossible?Bydefinition,inanasynchronousworld,inputsareunpredictable;insuchaworldthereisnosuchthingasareliable,dependable,predictableenvironment!
Tounderstand,thinkintermsofyourcar:everytimeapistonintheengineexpands,yourcarhastomeasuretemperatureandpressuretodecidehowmuchgasolineandairtoinjectintothecylinderbeforethenextcompression.Ifyoudriveyourcarat130mphonadesertedhighway,itwillforceyourcar’sembeddedcomputertomakethatdecisionthousandsoftimespersecondbecauseyourcarwillberunningat6000rpm.Everyreadingwillsupplydifferentvaluesthatrequiredifferentdecisions.Butyourembeddedcomputerwillletyouenjoythat130mphridebecausethesystemitselfisverypredictable,veryreliable.Itwillevenstopyouwhentheengineistoohotorthecarisoutofgas.Andithadbetterbepredictableandreliable—youwouldn’twanttorebootyourcarwhilebreakingthesoundbarrier,wouldyou?
Okay,let’sreview.Wenowunderstandthatembeddedsystems:
Mustbedevelopedinacross-developmentenvironment;
Implementfunctionsthatprovideanelementofcontrolinanasynchronousworld;
Usethesmallestamountofcodetoachievethegreatestnecessaryspeedanddegreeofpredictabilitypossible.3TargetPlatforms
Forthesimplesttargetplatforms—platformsthatareinexpensiveandconsumeminimalpower—allfunctionsareconsideredequallyimportant,sothesystemhasnorecognitionofpriority.FunctionsaretypicallywritteninCandthen“burned”intosomeReadOnlyMemoryonan8-bitor16-bitmicroprocessor.Thereisnooperatingsystemandperhaps0.5KofRandomAccessMemoryforsomeminoruse.It’sinformationin,informationout.Lightningquick.(Thebitsizejustreferstotheamountofmemoryaccessedbytheprocessor.Allmemoryisdividedintolittlestoragebinswithindividualaddresses.Themorebitssupportedbyaprocessor,themoreaddressesthatcanbespecified.)
Astheneedforfeaturesincreasesand/orastheneedtoestablishprioritiesarises,itbecomesmoreimportanttohavesomesortofdecision-makingmechanismbepartoftheembeddedsystem.Themostadvancedsystemsactuallyhaveatiny,streamlinedoperatingsystemrunningtheshow,executingona32-bitor64-bitprocessor.ThisiscalledaReal-TimeOperatingSystem(RTOS).[5]
AnRTOSrunsyourPDA.Morethanonethingmaybehappeningatthesametimeonthisdevice,anditisthejoboftheRTOStodirecttraffic.Butwhyreal-time?Here’swhatmyexpertshadtosay:
Intheembeddedindustry,“real-time”isusedtorefertoasystemthatmustcomputearesult,basedoncertaininputs,inlessthanamaximallyacceptabletime—i.e.,itmustrespondinrealtime.
Thefactis,real-timeresponseisnotalwaysnecessaryinanembeddedsystem.Nevertheless,withintheindustry,thetermreal-timehasbecomealmostsynonymouswithembeddedsystem.4EmbeddedSystemCertification
Embeddedsystemsassociatedwithsafetyandmission-criticalapplicationstypicallyhaveextremelyrigorouscertificationstandards.Forexample,allinternationalaviationadministrationsdisallowtheuseofanewembeddedsystemwithinairplanesuntilthatsystemhasbeendevelopedandtestedwiththetechniquesandmethodsdefinedwithinadocumentlabeledDO-178B.Criticaltothiswell-definedprocessisaninsistenceonexposingandtestingcode,baseduponcodecoverageuptothelevelofcompletenesssoftwaredevelopersrefertoasMC-DC(ModifiedConditions—DecisionConditions).
Sohowdoyoutestandcertifysuchcriticalembeddedsystems?Yourtestingtoolsetmust:
Executeitstestsdirectlyonthetargetsystem.
Supportallpotentialdevelopmentplatformsanddevelopmenttools.
Accommodate,andnotinterferewith,thepotentiallylimitedmemoryandprocesspowerofthetargetsystem.
Enableeverythingfromunittesting(i.e.,testingoffunctions,classes,tasks)tooverallsystemtesting.
ProvidecodecoveragemetricsuptotherigorousMC-DCstandard.
WiththeadditionofRationalTestRealTime,Rationalcannowsupplyatoolsetthatmeetsalltherequirementsonthislist.Ofcourse,notallembeddedsystemsmustmeetsuchrigorouscertificationstandards,buttestingtoolsthatcanmeetastrictcertificationstandardcaneasilyaccommodatesimpler,lessrestricted,embeddedsystems.
That’sit!Nowthatyouknowthebasicsaboutembeddedsystems,youcanunderstandwhatthebigfussisabout.FutureRationalEdgearticleswillprovideinformationabouthowtoapplythetoolsRationalsuppliestodevelopandtestembeddedsystems,sostaytuned!
1.?embeddedadj.植入的,深入的,內(nèi)含的,嵌入式。
2.?infrastructuresn.基建,配套結(jié)構(gòu),基本建設(shè)。
3.?impressiveadj.給人印象深刻的,感人的。
4.?pindown把……固定住;使動(dòng)彈不得,迫使作出決定,采取行動(dòng)。
5.?reiterate?vt.反復(fù)地說(shuō),重申。Vocabulary
6.?autopilot?n.自動(dòng)駕駛儀。
7.?asynchronous?adj.異步的。
8.?unpredictable?adj.無(wú)法預(yù)言的,不可預(yù)測(cè)的。
9.?piston?n.活塞。
10.?RTOS(Real-TimeOperatingSystem)實(shí)時(shí)操作系統(tǒng)。
11.?PDAabbrPersonalDigitalAssistant個(gè)人數(shù)字助理,即掌上型電腦。
[1]Anembeddedsystemisanysoftwaresystemthatmustbedesignedonaplatformdifferentfromtheplatformonwhichthesystemisintendedtobedeployed.
嵌入式系統(tǒng)是一種設(shè)計(jì)平臺(tái)與運(yùn)行平臺(tái)不同的軟件系統(tǒng)。deploy,部署,調(diào)遣,展開(kāi),配置。本句子的主框架是:Aissomethingthat(description).即“嵌入式系統(tǒng)是一種軟件系統(tǒng)”,什么樣的軟件系統(tǒng)呢?這種軟件系統(tǒng)mustbedesignedonaplatformdifferentfromtheplatformonwhichthesystemisintendedtobedeployed.ImportantSentences
[2]Whatismeantbyplatform?Onthedevelopmentside,platformtypicallyreferstoanoperatingsystemcapableofhostingsoftwaredevelopment,suchasWindows,Solaris,HP,etc.Onthetargetside,thewordplatformreferstothedevicesonwhichtheembeddedsystemwillbedeployed.
平臺(tái)是什么?對(duì)于開(kāi)發(fā)者來(lái)說(shuō),平臺(tái)指的是一種操作系統(tǒng),能進(jìn)行軟件的開(kāi)發(fā)工作,例如Windows、Solaris、HP操作系統(tǒng)等。對(duì)目標(biāo)機(jī)來(lái)說(shuō),平臺(tái)指的是一種設(shè)備,嵌入式軟件能運(yùn)行于其上。本句子的結(jié)構(gòu)是:“Whatismeantbyplatform?Onthedevelopmentside,…Onthetargetside,…”什么是平臺(tái)?對(duì)于開(kāi)發(fā)者來(lái)說(shuō)……對(duì)于目標(biāo)機(jī)來(lái)說(shuō)……。
[3]Whythedesignconstraint?Whyaren’tembeddedtargetscapableofhostingsoftwaredevelopment?Becausethesetargetsareoptimizedforperformanceand/orsimplicity,theylacktheequipmentnecessaryfordevelopment(suchaskeyboards,monitors,networking,etc.).Ingeneral,developmentfortheembeddedenvironmentisreferredtoas“cross-platformdevelopment.”
為什么基于目標(biāo)機(jī)的開(kāi)發(fā)會(huì)受到限制?為什么嵌入式目標(biāo)機(jī)不能用來(lái)開(kāi)發(fā)嵌入式軟件呢?為達(dá)到高性能或簡(jiǎn)潔性,目標(biāo)機(jī)都進(jìn)行過(guò)優(yōu)化。它們?nèi)狈﹂_(kāi)發(fā)所必需的設(shè)備(例如鍵盤、顯示器、網(wǎng)絡(luò)等)。一般而言,嵌入式開(kāi)發(fā)被稱為“跨平臺(tái)開(kāi)發(fā)”。本句提出兩個(gè)問(wèn)題,Because引導(dǎo)兩個(gè)并列句對(duì)其進(jìn)行解釋。
[4]Andhowaboutsimplicity?Dependingontheresponsibilityoftheembeddedsystem,small,inexpensive,low-powermicrochipsareviableandpreferableoptionstomorebulkyalternatives.
為什么要簡(jiǎn)潔化?考慮到嵌入式系統(tǒng)的性能,體積小、廉價(jià)、低功耗的微處理器芯片是比龐大的設(shè)備更可行、更合適的選擇。本句的主框架是:DependingonA,BareviableandpreferableoptionstoC,考慮到A、B是比C更可行、更合適的選擇。
[5]Astheneedforfeaturesincreasesand/orastheneedtoestablishprioritiesarises,itbecomesmoreimportanttohavesomesortofdecision-makingmechanismbepartoftheembeddedsystem.Themostadvancedsystemsactuallyhaveatiny,streamlinedoperatingsystemrunningtheshow,executingona32-bitor64-bitprocessor.ThisiscalledaReal-TimeOperatingSystem(RTOS).
隨著對(duì)功能需求的增加,或需要建立優(yōu)先級(jí),在嵌入式系統(tǒng)中加入一些決策機(jī)制將顯得尤為重要。最先進(jìn)的系統(tǒng)實(shí)際上有一個(gè)微小的、精簡(jiǎn)的操作系統(tǒng)在運(yùn)行,這是在32位或64位處理器上執(zhí)行的。這就是所謂的實(shí)時(shí)操作系統(tǒng)(RTOS)。兩個(gè)并列的現(xiàn)在分詞短語(yǔ)runningtheshow(掌管一切)和executingona32-bitor64-bitprocessor修飾operatingsystem。
(1)?Thefourdescriptionsbelow,whicharetoilluminateembeddedsystem?()
A.?Mustbedevelopedinacross-developmentenvironment.
B.?Implementfunctionsthatprovideanelementofcontrolinanasynchronousworld.
C.?Thesystemwillperformancebetterifit’
溫馨提示
- 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 公共關(guān)系中的領(lǐng)導(dǎo)力試題及答案
- 水利水電工程考試答疑和試題及答案
- 2025年少數(shù)民族勞動(dòng)合同新規(guī)定
- 工程項(xiàng)目管理程序試題及答案
- 水利水電工程綜合評(píng)價(jià)試題及答案
- 戰(zhàn)勝困難的2025年工程經(jīng)濟(jì)試題及答案
- 2025年經(jīng)濟(jì)師復(fù)習(xí)全攻略試題及答案
- 2025年工程項(xiàng)目管理有效策略試題及答案
- 2025年市政工程考試能力評(píng)估的試題及答案
- 總結(jié)市政工程考試中的關(guān)鍵技能提升方法試題及答案
- 消防應(yīng)急疏散演練人員簽到表(標(biāo)準(zhǔn)通用版)
- 數(shù)據(jù)中心基礎(chǔ)設(shè)施管理系統(tǒng)DCIM整體方案
- 核電站入廠安全培訓(xùn)課件
- 陜旅版五年級(jí)英語(yǔ)上冊(cè)句型詞匯知識(shí)點(diǎn)總結(jié)
- 漢字構(gòu)字的基本原理和識(shí)字教學(xué)模式分析
- 圍術(shù)期過(guò)敏反應(yīng)診治的專家共識(shí)(全文)
- 2013年俄語(yǔ)專業(yè)四級(jí)歷年真題詳解
- 論中學(xué)語(yǔ)文教師美學(xué)素養(yǎng)的培養(yǎng)
- 送貨單ECEL模板
- 模切檢驗(yàn)標(biāo)準(zhǔn)
- 保潔員工考勤表
評(píng)論
0/150
提交評(píng)論