




版權(quán)說(shuō)明:本文檔由用戶(hù)提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
Unit5EmbeddedSystems教學(xué)目標(biāo)教學(xué)內(nèi)容教學(xué)目標(biāo)掌握嵌入式技術(shù)的基本概念了解嵌入式技術(shù)的的發(fā)展簡(jiǎn)史掌握嵌入式系統(tǒng)的體系結(jié)構(gòu)了解嵌入式技術(shù)的應(yīng)用情況掌握嵌入式軟件的體系結(jié)構(gòu)教學(xué)內(nèi)容Text1IntroductionofEmbeddedSystemsText2EmbeddedsoftwarearchitecturesText1IntroductionofEmbeddedSystemsMainContentsWordsandExpressionsExercisesAnembeddedsystemisaspecial-purposecomputersystemdesignedtoperformoneorafewdedicatedfunctions,oftenwithreal-timecomputingconstraints.Itisusuallyembeddedaspartofacompletedeviceincludinghardwareandmechanicalparts.Incontrast,ageneral-purposecomputer,suchasapersonalcomputer,candomanydifferenttasksdependingonprogramming.Embeddedsystemscontrolmanyofthecommondevicesinusetoday.Ingeneral,“embeddedsystem”isnotanexactlydefinedterm,asmanysystemshavesomeelementofprogrammability.Forexample,Handheldcomputerssharesomeelementswithembeddedsystems—suchastheoperatingsystemsandmicroprocessorswhichpowerthem—butarenottrulyembeddedsystems,becausetheyallowdifferentapplicationstobeloadedandperipheralstobeconnected.Embeddedsystemsspanallaspectsofmodernlifeandtherearemanyexamplesoftheiruse.Text1IntroductionofEmbeddedSystemsText1IntroductionofEmbeddedSystemsTelecommunicationssystemsemploynumerousembeddedsystemsfromtelephoneswitchesforthenetworktomobilephonesattheend-user.Computernetworkingusesdedicatedroutersandnetworkbridgestoroutedata.Consumerelectronicsincludepersonaldigitalassistants(PDAs),mp3players,mobilephones,videogameconsoles,digitalcameras,DVDplayers,GPSreceivers,andprinters.Manyhouseholdappliances,suchasmicrowaveovens,washingmachinesanddishwashers,areincludingembeddedsystemstoprovideflexibility,efficiencyandfeatures.AdvancedHVACsystemsusenetworkedthermostatstomoreaccuratelyandefficientlycontroltemperaturethatcanchangebytimeofdayandseason.Homeautomationuseswired-andwireless-networkingthatcanbeusedtocontrollights,climate,security,audio/visual,surveillance,etc.,allofwhichuseembeddeddevicesforsensingandcontrolling.Text1IntroductionofEmbeddedSystemsTransportationsystemsfromflighttoautomobilesincreasinglyuseembeddedsystems.NewairplanescontainadvancedavionicssuchasinertialguidancesystemsandGPSreceiversthatalsohaveconsiderablesafetyrequirements.Variouselectricmotors—brushlessDCmotors,inductionmotorsandDCmotors—areusingelectric/electronicmotorcontrollers.Automobiles,electricvehicles,andhybridvehiclesareincreasinglyusingembeddedsystemstomaximizeefficiencyandreducepollution.Otherautomotivesafetysystemssuchasanti-lockbrakingsystem(ABS),ElectronicStabilityControl(ESC/ESP),tractioncontrol(TCS)andautomaticfour-wheeldrive.Medicalequipmentiscontinuingtoadvancewithmoreembeddedsystemsforvitalsignsmonitoring,electronicstethoscopesforamplifyingsounds,andvariousmedicalimaging(PET,SPECT,CT,MRI)fornon-invasiveinternalinspections.Text1IntroductionofEmbeddedSystemsInadditiontocommonlydescribedembeddedsystemsbasedonsmallcomputers,anewclassofminiaturewirelessdevicescalledmotesarequicklygainingpopularityasthefieldofwirelesssensornetworkingrises.Wirelesssensornetworking,WSN,makesuseofminiaturizationmadepossiblebyadvancedICdesigntocouplefullwirelesssubsystemstosophisticatedsensor,enablingpeopleandcompaniestomeasureamyriadofthingsinthephysicalworldandactonthisinformationthroughITmonitoringandcontrolsystems.Thesemotesarecompletelyselfcontained,andwilltypicallyrunoffabatterysourceformanyyearsbeforethebatteriesneedtobechangedorcharged.WordsandExpressionsreliability[ri,lai?'biliti]n.可靠性portable['p?:t?bl]adj.輕便的,手提式的stationary['stei?(?)n?ri]adj.不動(dòng)的,穩(wěn)定的,靜止的microcontroller
n.微型控制器,微控制器,單片機(jī)peripheral[p?'rif?r?l]n.(電腦的)外部設(shè)備;adj.不重要的,外圍的chassis['??si]n.底座,(車(chē)身)底盤(pán),enclosure[in'kl?u??]n.附件,圍墻,圍繞,【計(jì)】圍封部分programmabilityn.可編程性:減少應(yīng)用方案的開(kāi)發(fā)時(shí)間,降低系統(tǒng)運(yùn)行和維護(hù)成本,提高系統(tǒng)使用效率;handheldadj.手持式,掌上型microprocessor[maikr??'pr??ses?(r)]n.微處理器flashmemory
n.閃存telecommunication[‘telik?mju:ni’kei??n]n.電傳視訊,遠(yuǎn)距離通信,電磁通信WordsandExpressionsrouter['ru:t?(r),'ra?-]n.路由程序,路由器PDA個(gè)人數(shù)字助理,掌上電腦,是PersonalDigitalAssistant的縮寫(xiě)GPS
即全球定位系統(tǒng),GlobalPositioningSystem
HVAC(HeatVentilationAirConditionar)暖通空調(diào);HeatingVentilatingandAirConditioning制熱、通風(fēng)與空調(diào)控制thermostat['θ?:m?st?t]n.恒溫器,節(jié)溫器surveillance[s?:'veil?ns]n.監(jiān)視,監(jiān)督avionics[,eivi'?niks]n.航空電子學(xué)(航空用電子設(shè)備,控制系統(tǒng)),電子設(shè)備inertialguidancesystems
慣性制導(dǎo)系統(tǒng)considerable[k?n'sid?r?bl]adj.相當(dāng)?shù)?可觀的,重要的hybridvehicle混合驅(qū)動(dòng)汽車(chē),合成車(chē)anti-lockbrakingsystem(ABS)防抱死制動(dòng)系統(tǒng) WordsandExpressions
electronicstethoscope電子聽(tīng)診器amplify['?mpli,fai]v.擴(kuò)大,詳述,使...增幅,放大,加強(qiáng)non-invasiveadj.非侵入,非損傷inspection[in'spek??n]n.檢查,視察miniature['minj?t??]n.縮圖,小畫(huà)像;adj.小規(guī)模的,纖小的mote[m?ut]n.微塵(塵埃,瑕疵),導(dǎo)火線wirelesssensor無(wú)線傳感器miniaturization[,mini?t??rai'zei??n]n.小型化,微型化sophisticated[s?'fistikeitid]adj.高級(jí)的,先進(jìn)的,復(fù)雜的myriad['miri?d]adj.無(wú)數(shù)的n.極大數(shù)量ExercisesI.Trueorfalse?Ifcorrect,writeTinparentheses;Otherwise,writeF.()1.Anembeddedsystemisaspecial-purposecomputersystemdesignedtoperformonlyonededicatedfunctions,oftenwithreal-timecomputingconstraints.()2.Ageneral-purposecomputer,suchasapersonalcomputer,candomanydifferenttasksdependingonprogramming.()3.Sincetheembeddedsystemisdedicatedtospecifictasks,designengineerscanoptimizeit,increasingthesizeandcostoftheproduct,orreducingthereliabilityandperformance.()4.Ingeneral,“embeddedsystem”isanexactlydefinedterm,asmanysystemshavesomeelementofprogrammability.()5.Handheldcomputerssharesomeelementswithembeddedsystems—suchastheoperatingsystemsandmicroprocessorswhichpowerthem—butarenottrulyembeddedsystems,becausetheyallowsimilarapplicationstobeloadedandperipheralstobeconnected.()6.Transportationsystemsfromflighttoautomobilesincreasinglyuseembeddedsystems.NewairplanescontainadvancedavionicssuchasinertialguidancesystemsandPDAsthatalsohaveconsiderablesafetyrequirements.()7.Homeautomationonlyuseswired-networkingthatcanbeusedtocontrollights,climate,security,audio/visual,surveillance,etc.,allofwhichuseembeddeddevicesforsensingandcontrolling.ExercisesII.Fillintheblankswithproperwords.Anembeddedsystemisa_________computersystemdesignedtoperformoneorafewdedicatedfunctions,oftenwithreal-timecomputingconstraints.2.Physically,embeddedsystemsrangefrom_____devicessuchasdigitalwatchesandMP4players,tolargestationaryinstallationsliketrafficlights,factorycontrollers,orthesystemscontrollingnuclearpowerplants.3.Newairplanescontainadvanced_____suchasinertialguidancesystemsandGPSreceiversthatalsohaveconsiderablesafetyrequirements.4.Automobiles,electricvehicles,andhybridvehiclesareincreasinglyusingembeddedsystemsto_____efficiencyandreducepollution.Text2EmbeddedsoftwarearchitecturesMainContentsWordsandExpressionsExercisesThereareseveraldifferenttypesofsoftwarearchitectureincommonuse.SimplecontrolloopInthisdesign,thesoftwaresimplyhasaloop.Theloopcallssubroutines,eachofwhichmanagesapartofthehardwareorsoftware.InterruptcontrolledsystemSomeembeddedsystemsarepredominantlyinterruptcontrolled.Thismeansthattasksperformedbythesystemaretriggeredbydifferentkindsofevents.Aninterruptcouldbegeneratedforexamplebyatimerinapredefinedfrequency,orbyaserialportcontrollerreceivingabyte.Text2EmbeddedsoftwarearchitecturesText2EmbeddedsoftwarearchitecturesThesekindsofsystemsareusedifeventhandlersneedlowlatencyandtheeventhandlersareshortandsimple.Usuallythesekindsofsystemsrunasimpletaskinamainloopalso,butthistaskisnotverysensitivetounexpecteddelays.Sometimestheinterrupthandlerwilladdlongertaskstoaqueuestructure.Later,aftertheinterrupthandlerhasfinished,thesetasksareexecutedbythemainloop.Thismethodbringsthesystemclosetoamultitaskingkernelwithdiscreteprocesses.CooperativemultitaskingAnonpreemptivemultitaskingsystemisverysimilartothesimplecontrolloopscheme,exceptthattheloopishiddeninanAPI.Theprogrammerdefinesaseriesoftasks,andeachtaskgetsitsownenvironmentto“run”in.Whenataskisidle,itcallsanidleroutine,usuallycalled“pause”,“wait”,“yield”,“nop”(standsfornooperation),etc.Text2EmbeddedsoftwarearchitecturesTheadvantagesanddisadvantagesareverysimilartothecontrolloop,exceptthataddingnewsoftwareiseasier,bysimplywritinganewtask,oraddingtothequeue-interpreter.Preemptivemultitaskingormulti-threadingInthistypeofsystem,alow-levelpieceofcodeswitchesbetweentasksorthreadsbasedonatimer(connectedtoaninterrupt).Thisisthelevelatwhichthesystemisgenerallyconsideredtohavean“operatingsystem”kernel.Dependingonhowmuchfunctionalityisrequired,itintroducesmoreorlessofthecomplexitiesofmanagingmultipletasksrunningconceptuallyinparallel.Asanycodecanpotentiallydamagethedataofanothertask(exceptinlargersystemsusinganMMU)programsmustbecarefullydesignedandtested,andaccesstoshareddatamustbecontrolledbysomesynchronizationstrategy,suchasmessagequeues,semaphoresoranon-blockingsynchronizationscheme.Text2EmbeddedsoftwarearchitecturesBecauseofthesecomplexities,itiscommonfororganizationstobuyareal-timeoperatingsystem,allowingtheapplicationprogrammerstoconcentrateondevicefunctionalityratherthanoperatingsystemservices,atleastforlargesystems;smallersystemsoftencannotaffordtheoverheadassociatedwithagenericrealtimesystem,duetolimitationsregardingmemorysize,performance,and/orbatterylife.Amicrokernelisalogicalstepupfromareal-timeOS.TheusualarrangementisthattheoperatingsystemkernelallocatesmemoryandswitchestheCPUtodifferentthreadsofexecution.Usermodeprocessesimplementmajorfunctionssuchasfilesystems,networkinterfaces,etc.Ingeneral,microkernelssucceedwhenthetaskswitchingandintertaskcommunicationisfast,andfailwhentheyareslow.Exokernelscommunicateefficientlybynormalsubroutinecalls.Thehardware,andallthesoftwareinthesystemareavailableto,andextensiblebyapplicationprogrammers.MicrokernelsandexokernelsMonolithickernelsInthiscase,arelativelylargekernelwithsophisticatedcapabilitiesisadaptedtosuitanembeddedenvironment.ThisgivesprogrammersanenvironmentsimilartoadesktopoperatingsystemlikeLinuxorMicrosoftWindows,andisthereforeveryproductivefordevelopment;onthedownside,itrequiresconsiderablymorehardwareresources,isoftenmoreexpensive,andbecauseofthecomplexityofthesekernelscanbelesspredictableandreliable.CommonexamplesofembeddedmonolithickernelsareEmbeddedLinuxandWindowsCE.Despitetheincreasedcostinhardware,thistypeofembeddedsystemisincreasinginpopularity,especiallyonthemorepowerfulembeddeddevicessuchasWirelessRoutersandGPSNavigationSystems.Herearesomeofthereasons:Portstocommonembeddedchipsetsareavailable.MonolithickernelsTheypermitre-useofpubliclyavailablecodeforDeviceDrivers,WebServers,Firewalls,andothercode.Developmentsystemscanstartoutwithbroadfeature-sets,andthenthedistributioncanbeconfiguredtoexcludeunneededfunctionality,andsavetheexpenseofthememorythatitwouldconsume.Manyengineersbelievethatrunningapplicationcodeinusermodeismorereliable,easiertodebugandthatthereforethedevelopmentprocessiseasierandthecodemoreportable.Manyembeddedsystemslackthetightrealtimerequirementsofacontrolsystem.AsystemsuchasEmbeddedLinuxhasfastenoughresponseformanyapplications.Featuresrequiringfasterresponsethancanbeguaranteedcanoftenbeplacedinhardware.ManyRTOSsystemshaveaper-unitcost.Whenusedonaproductthatisorwillbecomeacommodity,thatcostissignificant.ExoticcustomoperatingsystemsAsmallfractionofembeddedsystemsrequiresafe,timely,reliableorefficientbehaviorunobtainablewiththeoneoftheabovearchitectures.Inthiscaseanorganizationbuildsasystemtosuit.Insomecases,thesystemmaybepartitionedintoa“mechanismcontroller”usingspecialtechniques,anda“displaycontroller”withaconventionaloperatingsystem.Acommunicationsystempassesdatabetweenthetwo.AdditionalsoftwarecomponentsInadditiontothecoreoperatingsystem,manyembeddedsystemshaveadditionalupper-layersoftwarecomponents.ThesecomponentsconsistofnetworkingprotocolstackslikeCAN,TCP/IP,FTP,HTTP,andHTTPS,andalsoincludedstoragecapabilitieslikeFATandFlashmemorymanagementsystems.Iftheembeddeddeviceshasaudioandvideocapabilities,thentheappropriatedriversandcodeswillbepresentinthesystem.Inthecaseofthemonolithickernels,manyofthesesoftwarelayersareincluded.IntheRTOScategory,theavailabilityoftheadditionalsoftwarecomponentsdependsuponthecommercialoffering.WordsandExpressionspredominantly[,pri'd?min?nt]adj.占優(yōu)勢(shì)的,支配其他的,優(yōu)越的,突出的,最顯著的,主要的subroutine[,s?bru:'ti:n]n.子程序,【計(jì)算機(jī)】=subprogram21世紀(jì)大英漢詞典》triggered['triɡ?d]adj.有觸發(fā)器的,觸發(fā)器啟動(dòng)的,有扳機(jī)的frequency['fri:kw?nsi]n.頻繁,頻率handler['h?ndl?]n.處理程序21世紀(jì)大英漢詞典》latency['leit?nsi]n.潛伏,潛在,等待時(shí)間queue[kju:]n.【計(jì)算機(jī)】等候行列,排隊(duì)nonpreemptiveadj.非搶占式scheme[ski:m]n.方案,計(jì)劃,陰謀;v.計(jì)畫(huà),設(shè)計(jì),體系,結(jié)構(gòu),圖謀idle['aidl]adj.【機(jī)械學(xué)】空轉(zhuǎn)的;慢轉(zhuǎn)的;怠速的;【電子學(xué)】空載的;無(wú)功的routine[ru:'ti:n]n.【計(jì)算機(jī)】程序;例行程序Interpretern.【計(jì)算機(jī)】翻譯器,譯印機(jī),解釋程序,翻譯程序functionality[,f??k???'n?liti]n.函數(shù)性(泛函性,官能度),功能(尤指軟件、硬件的功能)21世紀(jì)大英漢詞典》WordsandExpressionsconceptually[k?n'septju?li]adv.概念地21世紀(jì)大英漢詞典》
parallel['p?r?lel]adj.【電子學(xué)、計(jì)算機(jī)】并聯(lián)的;n.【電子學(xué)、計(jì)算機(jī)】并聯(lián)的potentially[p?'ten??li]adv.潛在地,假定地.MMUabbr.MemoryManagerUnit內(nèi)存管理單元synchronization[,si?kr?nai'zei??n]n.同步化21世紀(jì)大英漢詞典》
semaphore
['sem?f?:]n.信號(hào)燈,旗語(yǔ)non-blockingadj.非阻塞microkernel微核Shelln.命令解譯程序(連接并解譯用戶(hù)命令,調(diào)用并執(zhí)行存儲(chǔ)器中的程序)allocate['?l?ukeit]vi.&vt.【計(jì)算機(jī)】分配,指定,保留extensible[ik‘stens?bl]adj.可展開(kāi)的,可伸展的,可延續(xù)的;可擴(kuò)大的,可擴(kuò)展的;可延伸的WordsandExpressionsdownside['daun,said]n.消極面,負(fù)面navigation[,n?vi'gei??n]n.航行,航海guarantee[,g?r?n'ti:]v.&n.保證,擔(dān)保;vt.保證RTOSabbr.RealTimeOperatingSystems實(shí)時(shí)操作系統(tǒng)exotic[,iɡ'z?tik]adj.1.外來(lái)的,非本地的;2.【核物理學(xué)】異的;極不穩(wěn)定的unobtainable['?n?b'tein?bl]adj.無(wú)法得到的,難獲得的partition[pɑ:'ti??n]n.分割,隔離物,隔墻;v.區(qū)分,隔開(kāi),分割mechanism['mek?niz?m]n.機(jī)械,機(jī)構(gòu),結(jié)構(gòu),機(jī)制,原理upper-layeradj.上層的category['k?tig?ri]n.種類(lèi),類(lèi)別availability[?,veil?'bil?ti]n.有效性;可用性,可得性,利用(或獲得)的可能性ExercisesI.Trueorfalse?Ifcorrect,writeTinparentheses;Otherwise,writeF.()1.Theloopcallssubroutines,eachofwhichmanagesallofthehardwareorsoftware.()2.Thisgivesprogrammersanenvironmentdifferenttoa
溫馨提示
- 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶(hù)所有。
- 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ì)用戶(hù)上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶(hù)上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶(hù)因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 制藥生產(chǎn)設(shè)備管理制度
- 小學(xué)餐飲浪費(fèi)管理制度
- DB3410T 51-2025 工程建設(shè)項(xiàng)目全流程一碼管地技術(shù)規(guī)范
- 別墅轉(zhuǎn)讓方案(3篇)
- 消防窗戶(hù)整改方案(3篇)
- 消防孫峰課件
- 廠區(qū)立柱保護(hù)方案(3篇)
- 村莊彩繪方案(3篇)
- 小學(xué)課程規(guī)劃方案(3篇)
- 采石場(chǎng)承包合同礦產(chǎn)資源保護(hù)與綜合利用協(xié)議
- 2025年棉紗代加工合同3篇
- 理論聯(lián)系實(shí)際談一談如何傳承發(fā)展中華優(yōu)-秀傳統(tǒng)文化?參考答案
- T/CCS 049-2023綠色煤炭資源評(píng)價(jià)技術(shù)規(guī)范
- 順路接送免責(zé)協(xié)議書(shū)
- 2025年春江蘇開(kāi)放大學(xué)中國(guó)文化概論060692過(guò)程性考核作業(yè)123參考答案
- 國(guó)開(kāi)2025年《中華民族共同體概論》形考作業(yè)1-4終考答案
- 《手術(shù)室圍術(shù)期的護(hù)理》課件
- 金融租賃測(cè)試題及答案
- 2025貴州省專(zhuān)業(yè)技術(shù)人員繼續(xù)教育公需科目考試題庫(kù)(2025公需課課程)
- 2025年跨文化溝通能力考試試卷及答案
- 陜西、山西省天一大聯(lián)考2024-2025學(xué)年高中畢業(yè)班階段性測(cè)試(七)英語(yǔ)試題及答案
評(píng)論
0/150
提交評(píng)論