版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
Lesson16EmbeddedSystems:aPrimer
(第十六课嵌入式系统:初级)
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)实时操作系统。
11. PDAabbrPersonalDigitalAssistant个人数字助理,即掌上型电脑。
[1]Anembeddedsystemisanysoftwaresystemthatmustbedesignedonaplatformdifferentfromtheplatformonwhichthesystemisintendedtobedeployed.
嵌入式系统是一种设计平台与运行平台不同的软件系统。deploy,部署,调遣,展开,配置。本句子的主框架是:Aissomethingthat(description).即“嵌入式系统是一种软件系统”,什么样的软件系统呢?这种软件系统mustbedesignedonaplatformdifferentfromtheplatformonwhichthesystemisintendedtobedeployed.ImportantSentences
[2]Whatismeantbyplatform?Onthedevelopmentside,platformtypicallyreferstoanoperatingsystemcapableofhostingsoftwaredevelopment,suchasWindows,Solaris,HP,etc.Onthetargetside,thewordplatformreferstothedevicesonwhichtheembeddedsystemwillbedeployed.
平台是什么?对于开发者来说,平台指的是一种操作系统,能进行软件的开发工作,例如Windows、Solaris、HP操作系统等。对目标机来说,平台指的是一种设备,嵌入式软件能运行于其上。本句子的结构是:“Whatismeantbyplatform?Onthedevelopmentside,…Onthetargetside,…”什么是平台?对于开发者来说……对于目标机来说……。
[3]Whythedesignconstraint?Whyaren’tembeddedtargetscapableofhostingsoftwaredevelopment?Becausethesetargetsareoptimizedforperformanceand/orsimplicity,theylacktheequipmentnecessaryfordevelopment(suchaskeyboards,monitors,networking,etc.).Ingeneral,developmentfortheembeddedenvironmentisreferredtoas“cross-platformdevelopment.”
为什么基于目标机的开发会受到限制?为什么嵌入式目标机不能用来开发嵌入式软件呢?为达到高性能或简洁性,目标机都进行过优化。它们缺乏开发所必需的设备(例如键盘、显示器、网络等)。一般而言,嵌入式开发被称为“跨平台开发”。本句提出两个问题,Because引导两个并列句对其进行解释。
[4]Andhowaboutsimplicity?Dependingontheresponsibilityoftheembeddedsystem,small,inexpensive,low-powermicrochipsareviableandpreferableoptionstomorebulkyalternatives.
为什么要简洁化?考虑到嵌入式系统的性能,体积小、廉价、低功耗的微处理器芯片是比庞大的设备更可行、更合适的选择。本句的主框架是:DependingonA,BareviableandpreferableoptionstoC,考虑到A、B是比C更可行、更合适的选择。
[5]Astheneedforfeaturesincreasesand/orastheneedtoestablishprioritiesarises,itbecomesmoreimportanttohavesomesortofdecision-makingmechanismbepartoftheembeddedsystem.Themostadvancedsystemsactuallyhaveatiny,streamlinedoperatingsystemrunningtheshow,executingona32-bitor64-bitprocessor.ThisiscalledaReal-TimeOperatingSystem(RTOS).
随着对功能需求的增加,或需要建立优先级,在嵌入式系统中加入一些决策机制将显得尤为重要。最先进的系统实际上有一个微小的、精简的操作系统在运行,这是在32位或64位处理器上执行的。这就是所谓的实时操作系统(RTOS)。两个并列的现在分词短语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. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025年重庆机床(集团)有限责任公司磐联传动科技分公司招聘6人备考题库及答案详解1套
- 2025年上海对外经贸大学后勤综合管理处行政管理人员招聘备考题库及一套完整答案详解
- 2025年大连市皮肤病医院招聘合同制工作人员36人备考题库带答案详解
- 2025年杭州城站广场物业管理有限公司招聘备考题库及答案详解1套
- 2025年南平市浦城县事业单位公开招聘35人备考题库及一套参考答案详解
- 2025年宁波舜瑞产业控股集团有限公司招聘备考题库参考答案详解
- 上海市滴水湖学校2026年校园招聘32人备考题库及一套答案详解
- 中国航海博物馆2025年度高层次人才公开招聘备考题库及一套完整答案详解
- 2025年南丹县消防救援大队招聘备考题库带答案详解
- 2025年武汉某初级中学招聘骨干教师6人备考题库含答案详解
- 初三励志、拼搏主题班会课件
- Cuk斩波完整版本
- GB/T 3521-2023石墨化学分析方法
- 一年级数学重叠问题练习题
- 三维动画及特效制作智慧树知到课后章节答案2023年下吉林电子信息职业技术学院
- 胰腺囊肿的护理查房
- 临床医学概论常见症状课件
- 物业管理理论实务教材
- 仁川国际机场
- 全检员考试试题
- 光刻和刻蚀工艺
评论
0/150
提交评论