




版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(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(問題)
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ù)地說,重申。Vocabulary
6.?autopilot?n.自動(dòng)駕駛儀。
7.?asynchronous?adj.異步的。
8.?unpredictable?adj.無法預(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)遣,展開,配置。本句子的主框架是: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ì)于開發(fā)者來說,平臺(tái)指的是一種操作系統(tǒng),能進(jìn)行軟件的開發(fā)工作,例如Windows、Solaris、HP操作系統(tǒng)等。對(duì)目標(biāo)機(jī)來說,平臺(tái)指的是一種設(shè)備,嵌入式軟件能運(yùn)行于其上。本句子的結(jié)構(gòu)是:“Whatismeantbyplatform?Onthedevelopmentside,…Onthetargetside,…”什么是平臺(tái)?對(duì)于開發(fā)者來說……對(duì)于目標(biāo)機(jī)來說……。
[3]Whythedesignconstraint?Whyaren’tembeddedtargetscapableofhostingsoftwaredevelopment?Becausethesetargetsareoptimizedforperformanceand/orsimplicity,theylacktheequipmentnecessaryfordevelopment(suchaskeyboards,monitors,networking,etc.).Ingeneral,developmentfortheembeddedenvironmentisreferredtoas“cross-platformdevelopment.”
為什么基于目標(biāo)機(jī)的開發(fā)會(huì)受到限制?為什么嵌入式目標(biāo)機(jī)不能用來開發(fā)嵌入式軟件呢?為達(dá)到高性能或簡(jiǎn)潔性,目標(biāo)機(jī)都進(jìn)行過優(yōu)化。它們?nèi)狈﹂_發(fā)所必需的設(shè)備(例如鍵盤、顯示器、網(wǎng)絡(luò)等)。一般而言,嵌入式開發(fā)被稱為“跨平臺(tái)開發(fā)”。本句提出兩個(gè)問題,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)在分詞短語runningtheshow(掌管一切)和executingona32-bitor64-bitprocessor修飾operatingsystem。
(1)?Thefourdescriptionsbelow,whicharetoilluminateembeddedsystem?()
A.?Mustbedevelopedinacross-developmentenvironment.
B.?Implementfunctionsthatprovideanelementofcontrolinanasynchronousworld.
C.?Thesystemwillperformancebetterifit’
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 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ì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 手車買賣合同協(xié)議書
- 商場(chǎng)專柜協(xié)議合同
- 水電合同協(xié)議模板
- 窗紗供貨合同協(xié)議
- 四方協(xié)議合同范本
- 了斷員工合同協(xié)議
- 私人合伙協(xié)議合同
- 供貨合同補(bǔ)充協(xié)議書范本
- 協(xié)議轉(zhuǎn)讓房產(chǎn)合同怎么寫
- 個(gè)人讓利協(xié)議合同
- 普通沖床設(shè)備日常點(diǎn)檢標(biāo)準(zhǔn)作業(yè)指導(dǎo)書
- DBT29-265-2019 天津市市政基礎(chǔ)設(shè)施工程資料管理規(guī)程
- -城鄉(xiāng)規(guī)劃法-最新課件
- DB44∕T 1188-2013 電動(dòng)汽車充電站安全要求
- DB32T 4013-2021 第三方社會(huì)穩(wěn)定風(fēng)險(xiǎn)評(píng)估技術(shù)規(guī)范
- 環(huán)網(wǎng)柜出廠檢驗(yàn)規(guī)范標(biāo)準(zhǔn)
- 人教統(tǒng)編版高中語文必修下冊(cè)第八單元(單元總結(jié))
- 第三章衛(wèi)星運(yùn)動(dòng)基礎(chǔ)與GPS衛(wèi)星星歷
- 三年級(jí)美術(shù)下冊(cè) 第12課《班級(jí)小報(bào)》課件1 浙美版
- 客戶信用等級(jí)評(píng)價(jià)表
- 中國(guó)各省份分地市地圖(矢量圖)
評(píng)論
0/150
提交評(píng)論