版權說明:本文檔由用戶提供并上傳,收益歸屬內容提供方,若內容存在侵權,請進行舉報或認領
文檔簡介
Lesson16EmbeddedSystems:aPrimer
(第十六課嵌入式系統(tǒng):初級)
Vocabulary(詞匯)ImportantSentences(重點句)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.植入的,深入的,內含的,嵌入式。
2.?infrastructuresn.基建,配套結構,基本建設。
3.?impressiveadj.給人印象深刻的,感人的。
4.?pindown把……固定住;使動彈不得,迫使作出決定,采取行動。
5.?reiterate?vt.反復地說,重申。Vocabulary
6.?autopilot?n.自動駕駛儀。
7.?asynchronous?adj.異步的。
8.?unpredictable?adj.無法預言的,不可預測的。
9.?piston?n.活塞。
10.?RTOS(Real-TimeOperatingSystem)實時操作系統(tǒng)。
11.?PDAabbrPersonalDigitalAssistant個人數(shù)字助理,即掌上型電腦。
[1]Anembeddedsystemisanysoftwaresystemthatmustbedesignedonaplatformdifferentfromtheplatformonwhichthesystemisintendedtobedeployed.
嵌入式系統(tǒng)是一種設計平臺與運行平臺不同的軟件系統(tǒng)。deploy,部署,調遣,展開,配置。本句子的主框架是:Aissomethingthat(description).即“嵌入式系統(tǒng)是一種軟件系統(tǒng)”,什么樣的軟件系統(tǒng)呢?這種軟件系統(tǒng)mustbedesignedonaplatformdifferentfromtheplatformonwhichthesystemisintendedtobedeployed.ImportantSentences
[2]Whatismeantbyplatform?Onthedevelopmentside,platformtypicallyreferstoanoperatingsystemcapableofhostingsoftwaredevelopment,suchasWindows,Solaris,HP,etc.Onthetargetside,thewordplatformreferstothedevicesonwhichtheembeddedsystemwillbedeployed.
平臺是什么?對于開發(fā)者來說,平臺指的是一種操作系統(tǒng),能進行軟件的開發(fā)工作,例如Windows、Solaris、HP操作系統(tǒng)等。對目標機來說,平臺指的是一種設備,嵌入式軟件能運行于其上。本句子的結構是:“Whatismeantbyplatform?Onthedevelopmentside,…Onthetargetside,…”什么是平臺?對于開發(fā)者來說……對于目標機來說……。
[3]Whythedesignconstraint?Whyaren’tembeddedtargetscapableofhostingsoftwaredevelopment?Becausethesetargetsareoptimizedforperformanceand/orsimplicity,theylacktheequipmentnecessaryfordevelopment(suchaskeyboards,monitors,networking,etc.).Ingeneral,developmentfortheembeddedenvironmentisreferredtoas“cross-platformdevelopment.”
為什么基于目標機的開發(fā)會受到限制?為什么嵌入式目標機不能用來開發(fā)嵌入式軟件呢?為達到高性能或簡潔性,目標機都進行過優(yōu)化。它們缺乏開發(fā)所必需的設備(例如鍵盤、顯示器、網絡等)。一般而言,嵌入式開發(fā)被稱為“跨平臺開發(fā)”。本句提出兩個問題,Because引導兩個并列句對其進行解釋。
[4]Andhowaboutsimplicity?Dependingontheresponsibilityoftheembeddedsystem,small,inexpensive,low-powermicrochipsareviableandpreferableoptionstomorebulkyalternatives.
為什么要簡潔化?考慮到嵌入式系統(tǒng)的性能,體積小、廉價、低功耗的微處理器芯片是比龐大的設備更可行、更合適的選擇。本句的主框架是:DependingonA,BareviableandpreferableoptionstoC,考慮到A、B是比C更可行、更合適的選擇。
[5]Astheneedforfeaturesincreasesand/orastheneedtoestablishprioritiesarises,itbecomesmoreimportanttohavesomesortofdecision-makingmechanismbepartoftheembeddedsystem.Themostadvancedsystemsactuallyhaveatiny,streamlinedoperatingsystemrunningtheshow,executingona32-bitor64-bitprocessor.ThisiscalledaReal-TimeOperatingSystem(RTOS).
隨著對功能需求的增加,或需要建立優(yōu)先級,在嵌入式系統(tǒng)中加入一些決策機制將顯得尤為重要。最先進的系統(tǒng)實際上有一個微小的、精簡的操作系統(tǒng)在運行,這是在32位或64位處理器上執(zhí)行的。這就是所謂的實時操作系統(tǒng)(RTOS)。兩個并列的現(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等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網頁內容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
- 4. 未經權益所有人同意不得將文件中的內容挪作商業(yè)或盈利用途。
- 5. 人人文庫網僅提供信息存儲空間,僅對用戶上傳內容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內容本身不做任何修改或編輯,并不能對任何下載內容負責。
- 6. 下載文件中如有侵權或不適當內容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 洛陽文化旅游職業(yè)學院《體育法》2023-2024學年第一學期期末試卷
- 2024年植保無人機及其配件采購合同
- 單位人員管理制度范例大全
- 地熱養(yǎng)殖基地施工合同
- 2024年快手電商合作合同樣本版B版
- 商業(yè)街區(qū)巡邏保安協(xié)議
- 大型度假村建設施工管理承包合同
- 臨時健身房租賃與教練服務合同
- 2025運輸保險合同范本
- 消防栓檢查與維護手冊
- 讀了蕭平實導師的《念佛三昧修學次第》才知道原來念佛門中有微妙法
- 周邊傳動濃縮刮泥機檢驗報告(ZBG型)(完整版)
- 紙箱理論抗壓強度、邊壓強度、耐破強度的計算
- 土地增值稅清算審核指南
- 死亡通知書模板
- 鷸蚌相爭課件
- PMC(計劃物控)面試經典筆試試卷及答案
- 失業(yè)保險金申領表_11979
- 《質量管理體系文件》風險和機遇評估分析表
- 食品安全約談通知書
- 舒爾特方格A4直接打印版
評論
0/150
提交評論