Home Техника Вградена операционна система

Вградена операционна система



История

Всъщност концепцията за вграден е съществувала отдавна. По отношение на комуникациите вградените системи са били използвани за управление на електронно-механични телефонни централи през 60-те години на миналия век и по това време са били наричани „Контрол на съхранена програма“ (StoredProgramControl).

Therealdevelopmentofembeddedcomputerswasaftertheadventofmicroprocessors.InNovember1971,Intelsuccessfullyintegratedthearithmeticunitandthecontrollercircuit,andlaunchedthefirstmicroprocessorIntel4004.Sincethen,variousmanufacturershavesuccessivelyintroducedmany8-bitand16-bitmicroprocessors.IncludingIntel8080/8085,8086,Motorola's6800,68000,andZilog'sZ80,Z8000,etc.Thesystemcomposedofthesemicroprocessorsasthecoreiswidelyusedinthefieldsofinstrumentation,medicalequipment,robots,andhouseholdappliances.Theextensiveapplicationofmicroprocessorshasformedabroadembeddedapplicationmarket.ComputermanufacturershavebeguntoprovideuserswithOEMproductsinalargenumberofplug-ins,andthenuserscanchooseasetofsuitableCPUboards,memoryboardsandvarioustypesaccordingtotheirneeds.TheI/Oplug-inboardconstitutesadedicatedembeddedcomputersystemandembedsitinitsownsystemequipment.

Forthesakeofflexibilityandcompatibility,serializedandmodularsingle-boardcomputershaveappeared.Popularsingle-boardcomputersincludeIntel’siSBCseriesandZilog’sMCB.Later,peoplecandesignadedicatedembeddedcomputerwithoutchoosingthechip,butaslongasselectingeachfunctionalmodule,adedicatedcomputersystemcanbebuilt.BothusersanddevelopershopetopurchasethemostsuitableOEMproductsfromdifferentmanufacturersandinsertthemintothepurchasedorself-madechassistoformanewsystem.Inthisway,itishopedthattheplug-insarecompatiblewitheachother,whichleadstotheindustrialcontrolmicrocomputersystembus.Birth.IntelintroducedMultibusin1976andexpandedtoMultibusIIwithabandwidthof40MB/sin1983.ThesimpleSTDbusdesignedbyPrologin1978iswidelyusedinsmallembeddedsystems.

The1980scanbesaidtobeanerawhenallkindsofbusesemergedinanendlessstream.Withtheimprovementofthelevelofmicroelectronicstechnology,integratedcircuitmanufacturersbegantointegratethemicroprocessor,I/Ointerface,A/D,D/Aconversion,serialinterface,RAM,ROMandothercomponentsrequiredinembeddedapplications.IntegrateintoaVLSI,therebymanufacturingamicrocontrollerforI/Odesign,whichiswhatwecommonlycallasingle-chipmicrocomputer,andbecomearookieintheemergenceofembeddedcomputersystems.SubsequentdevelopmentofDSPproductsfurtherimprovedthetechnicallevelofembeddedcomputersystems,andquicklypenetratedintovariousfieldssuchasconsumerelectronics,medicalelectronics,intelligentcontrol,communicationelectronics,instrumentation,andtransportation.

Inthe1990s,drivenbyhugedemandsfordistributedcontrol,flexiblemanufacturing,digitalcommunications,andinformationappliances,embeddedsystemsfurtheracceleratedtheirdevelopment.DSPproductsforreal-timesignalprocessingalgorithmsaredevelopingtowardshighspeed,highprecision,andlowpowerconsumption.Texaslaunchedthethird-generationDSPchipTMS320C30,leadingthedevelopmentofmicrocontrollersto32-bithigh-speedintelligence.Intermsofapplications,handheldcomputers,handheldPCs,andset-topboxesarerelativelymatureanddeveloprapidly.Especiallyhandheldcomputers.In1997,therewereonlyfourorfivebrandsofhandheldcomputersintheUSmarket.Attheendof1998,varioushandheldcomputershavesprungup.Inaddition,Nokialaunchedsmartphones,Siemenslaunchedset-topboxes,Wyselaunchedsmartterminals,andNSlaunchedWebPAD.Thesmallcomputermountedonthecarcannotonlycontrolvariousdevices(suchasaudio,etc.)inthecar,butcanalsobeconnectedtotheGPStoautomaticallycontrolthecar.

The21stcenturyisundoubtedlyaneraofnetworks,andtheapplicationofembeddedcomputersystemstovariousnetworksmustalsobeanimportantdirectionforthedevelopmentofembeddedsystems.

Характеристики

1)Системното ядро ​​е малко

Тъй като вградените системи обикновено се използват в малки електронни устройства, системните ресурси са сравнително ограничени, така че ядрото е по-традиционноОперационната система е много по-малка.

2)Highspecificity

Embeddedsystemsarehighlypersonalized,andthesoftwaresystemandhardwareareverytightlyintegrated.Generally,thesystemmustbetransplantedtothehardware,eveninTheproductsofthesamebrandandthesameseriesalsoneedtobecontinuouslymodifiedaccordingtothechanges,additionsandreductionsofthesystemhardware.Atthesametime,fordifferenttasks,itisoftennecessarytomakemajorchangestothesystem.Thecompilationanddownloadofprogramsmustbecombinedwiththesystem.Thismodificationandthe"upgrade"ofgeneralsoftwarearecompletelytwoconcepts.

3)Systemsimplification

Embeddedsystemsgenerallydonothaveacleardistinctionbetweensystemsoftwareandapplicationsoftware,anddonotrequiretheirfunctionaldesignandimplementationtobetoocomplicated,whichwillhelpcontrolsystemcostsontheonehand,Butalsoconducivetotherealizationofsystemsecurity.

4)Висока производителност в реално време

Системният софтуер (ОС) във високо реално време е основното изискване за вградения софтуер. И софтуерът изисква твърдотелно хранилище за по-голяма скорост; софтуерният код изисква високо качество и висока надеждност.

5)Multitaskingoperatingsystem

Ifembeddedsoftwaredevelopmentistobestandardized,itmustuseamultitaskingoperatingsystem.Embeddedsystemapplicationscanrundirectlyonthechipwithoutanoperatingsystem;butinordertorationallyschedulemultipletasks,utilizesystemresources,systemfunctions,andinterfacewithspeciallibraryfunctions,usersmustchooseRTOS(Real-TimeOperatingSystem)bythemselvesDevelopmentplatform,soastoensurethereal-timeperformanceandreliabilityofprogramexecution,reducedevelopmenttime,andensuresoftwarequality.

6)Developmenttoolsandenvironmentarerequired

Developmenttoolsandenvironmentarerequiredforembeddedsystemdevelopment.Becauseitdoesnothavetheabilityofindependentdevelopment,usersusuallycannotmodifytheprogramfunctionsevenafterthedesigniscompleted.Asetofdevelopmenttoolsandenvironmentscanbeusedfordevelopment.Thesetoolsandenvironmentsaregenerallybasedonsoftwareandhardwareongeneral-purposecomputers.Equipmentandvariouslogicanalyzers,mixedsignaloscilloscopes,etc.Thereisoftentheconceptofahostandatargetmachineduringdevelopment.Thehostisusedforprogramdevelopment,andthetargetmachineisthefinalexecutionmachine.Thedevelopmentneedstobecombinedalternately.

Ядро

Ядрото на вградената система е вграден микропроцесор. Вградените микропроцесори обикновено имат следните четири характеристики:

1)Ithasstrongsupportforreal-timetasks,cancompletemulti-tasksandhasashortinterruptresponsetime,sothattheinternalcodeandreal-timeTheexecutiontimeoftheinnercoreisreducedtoaminimum.

2)Ithasaverypowerfulstorageareaprotectionfunction.Thisisbecausethesoftwarestructureoftheembeddedsystemhasbeenmodularized,andinordertoavoidfalsecross-effectsbetweensoftwaremodules,itisnecessarytodesignapowerfulstorageareaprotectionfunction,whichisalsoconducivetosoftwarediagnosis.

3)Extensibleprocessorstructure,inordertobeabletodevelopthehighestperformanceembeddedmicroprocessorthatmeetstheapplicationmostquickly.

4)Embeddedmicroprocessorsmusthavelowpowerconsumption,especiallyforbattery-poweredembeddedsystemsusedinportablewirelessandmobilecomputingandcommunicationdevices.mWorevenμWlevel.

Класификация

Разделена от хардуер и софтуер.

Базиран на хардуер

Вграден микропроцесор (микропроцесорен модул,MPU)

EmbeddedmicroprocessorevolvedfromtheCPUingeneral-purposecomputers.Itscharacteristicisthatithasa32-bitormoreprocessor,withhigherperformance,andofcourseitspriceiscorrespondinglyhigher.Butunlikecomputerprocessors,inactualembeddedapplications,onlyfunctionalhardwarecloselyrelatedtoembeddedapplicationsisretained,andotherredundantfunctionalpartsareremoved,sothatembeddedapplicationscanbeimplementedwiththelowestpowerconsumptionandresources.specialrequirements.Comparedwithindustrialcontrolcomputers,embeddedmicroprocessorshavetheadvantagesofsmallsize,lightweight,lowcost,andhighreliability.ThemainembeddedprocessortypesareAm186/88,386EX,SC-400,PowerPC,68000,MIPS,ARM/StrongARMseries,etc.

Сред тях Arm/StrongArmisa вградени микропроцесори, специално разработени за ръчни устройства, чиято цена е средна.

Вграден микроконтролер (MCU)

Thetypicalrepresentativeofembeddedmicrocontrolleristhesingle-chipmicrocomputer.Fromtheappearanceofsingle-chipmicrocomputerinthelate1970stotoday,Althoughmorethan30yearshavepassed,this8-bitelectronicdevicestillhasanextremelywiderangeofapplicationsinembeddeddevices.ThemicrocontrollerchipintegratesROM/EPROM,RAM,bus,buslogic,timer/counter,watchdog,I/O,serialport,pulsewidthmodulationoutput,A/D,D/A,FlashRAM,EEPROM,etc.Kindsofnecessaryfunctionsandperipherals.Comparedwithembeddedmicroprocessors,thebiggestfeatureofmicrocontrollersismonolithicandgreatlyreducedvolume,whichreducespowerconsumptionandcost,andimprovesreliability.Theon-chipperipheralresourcesofamicrocontrolleraregenerallyricherandsuitableforcontrol,soitiscalledamicrocontroller.

Поради ниската цена и отличните функции на MCU, той има най-голямо разнообразие и количество. По-представителните включват 8051, MCS-251, MCS-96/196/296, P51XA, C166/167, 68K серия и MCU8XC930/931, C540, C541 и поддържат I2C, CAN -Bus, LCD и много специализирани MCU и съвместими серии, MCU представлява около 70% от пазарния дял на вградените системи, Avr, произведени от Atmel поради неговото интегриране на FPGA и други устройства, така че има много висока производителност ,е длъжен да насърчи по-високото развитие на едночипови микрокомпютри.

Вграден цифров сигнален процесор (EDSP)

DSPprocessorisaprocessordedicatedtosignalprocessing.Thesystemstructureandinstructionalgorithmarespeciallydesigned,withhighcompilationefficiencyandinstructionexecutionspeed.DSPhasbeenwidelyusedinvariousinstrumentssuchasdigitalfiltering,FFT,andspectrumanalysis.

ThetheoreticalalgorithmofDSPhasappearedinthe1970s,butsincethespecializedDSPprocessorhasnotyetappeared,thistheoreticalalgorithmcanonlyberealizedbydiscretecomponentssuchasMPU.ThelowerprocessingspeedofMPUcannotmeetthealgorithmrequirementsofDSP,anditsapplicationfieldislimitedtosomecutting-edgehigh-techfields.Withthedevelopmentoflarge-scaleintegratedcircuittechnology,theworld'sfirstDSPchipwasbornin1982.ItscomputingspeedisdozensoftimesfasterthanMPU,andithasbeenwidelyusedinspeechsynthesisandcodecs.Bythemid-1980s,withtheadvancementanddevelopmentofCMOStechnology,thesecondgenerationofDSPchipsbasedonCMOStechnologycameintobeing,andtheirstoragecapacityandcomputingspeedweredoubled,becomingthebasisofvoiceprocessingandimagehardwareprocessingtechnology.Bythelate1980s,thecomputingspeedofDSPwasfurtherimproved,andtheapplicationfieldexpandedfromtheabove-mentionedscopetocommunicationsandcomputers.Afterthe1990s,DSPhasdevelopedtothefifthgenerationofproducts,withhigherintegrationandawiderrangeofapplications.

Най-широко използваната серия TMS320C2000/C5000 на TI. В допълнение, MCS-296 на Intel и TriCoreal на Siemens също имат свои собствени диапазони на приложение.

ВграденSystemOnChip

SoCpursuesthemosttolerantintegrateddevicesintheproductsystemandisoneofthehottopicsintheembeddedapplicationfield.ThebiggestfeatureofSOCisthatithassuccessfullyrealizedtheseamlessintegrationofsoftwareandhardware,anddirectlyembedsthecodemoduleoftheoperatingsystemintheprocessorchip.AndSOChasextremelyhighcomprehensiveness,usingVHDLandotherhardwaredescriptionlanguages​​insideasiliconchiptorealizeacomplexsystem.Usersnolongerneedtodrawhugeandcomplexcircuitboardsandmakealittleconnectionandsolderingliketraditionalsystemdesign.Theyonlyneedtousepreciselanguageandcomprehensivetimingdesigntodirectlycallvariousgeneral-purposeprocessorstandardsinthedevicelibrary,andthenAfterthesimulation,itcanbedirectlydeliveredtothechipmanufacturerforproduction.Sincemostofthesystemcomponentsareinsidethesystem,theentiresystemisparticularlysimple,whichnotonlyreducesthesizeandpowerconsumptionofthesystem,butalsoimprovesthereliabilityofthesystemandimprovesthedesignandproductionefficiency.

Тъй като SOC често са посветени, повечето от тях са непознати на потребителите. Нетипичен SOC продукт е Philips SmartXA. Няколко серии с общо предназначение като TriCore на Siemens, M-Core на Motorola, някои устройства от серия ARM, неврочипове, съвместно разработени от Echelon и Motorola и др.

Itisexpectedthatinthenearfuture,somelargechipcompanieswillrepelcompetitorsinonefellswoopbylaunchingmatureSOCchipsthatcanoccupymostmarkets.SOCchipswillalsoplayanimportantroleinapplicationfieldssuchassound,image,film,networkandsystemlogic.

Въз основа на софтуер

От гледна точка на софтуера, той може да бъде разделен главно според типа на операционната система. Има два основни вида софтуер за вградени системи: системи в реално време и системи за споделяне на време. Сред тях системите в реално време са разделени на две категории: системи в твърдо време в реално време и системи в реално време със софтуер.

Thereal-timeembeddedsystemisdesignedtoperformspecificfunctionsandcanperformfunctionsstrictlyaccordingtotimesequence.Itsbiggestfeatureisthattheexecutionoftheprogramisdeterministic.Inareal-timesystem,ifthesystemfailstoachieveacertaintaskwithinaspecifiedtime,itwillleadtoacompletefailureofthesystem,thesystemiscalledahardreal-timesystem.Inasoftreal-timesystem,althoughresponsetimeisequallyimportant,overtimedoesnotcausefatalerrors.Ahardreal-timesystemoftenneedstoaddacontrolchipdedicatedtotimeandprioritymanagementonthehardware,whileasoftreal-timesystemmainlyimplementstimelimitmanagementthroughprogramminginsoftware.Forexample,WindowsCEisamultitaskingtime-sharingsystem,whileUcos-IIisatypicalreal-timeoperatingsystem.

Състав

Хардуерен слой

Хардуерният слой включва вграден микропроцесор, памет (SDRAM, ROM, Flash и т.н.), общ интерфейс на оборудването и I/O интерфейс (A/D, D/A, I/O и т.н.) .).Добавянето на захранваща верига, верига на часовник и верига на паметта на базата на вграден процесор представлява вграден контролен модул на ядрото. Операционната система и приложните програми могат да бъдат затвърдени в ROM.

Вграден микропроцесор

Thecoreofthehardwarelayeroftheembeddedsystemistheembeddedmicroprocessor.ThebiggestdifferencebetweentheembeddedmicroprocessorandthegeneralCPUistheembeddedMostoftheembeddedmicroprocessorsworkinsystemsspeciallydesignedforspecificusergroups.Itintegratesmanytaskscompletedbytheboardinthegeneral-purposeCPUinsidethechip,whichisconducivetothetrendofminiaturizationinthedesignofembeddedsystems,anditalsohasVeryhighefficiencyandreliability.

ThearchitectureoftheembeddedmicroprocessorcanadoptthevonNeumannsystemortheHarvardarchitecture;theinstructionsystemcanchoosethereducedinstructionsystem(ReducedInstructionSetComputer,RISC)andthecomplexinstructionsystemCISC(ComplexInstruction)SetComputer,CISC).TheRISCcomputeronlycontainsthemostusefulinstructionsinthechannel,ensuringthatthedatachannelexecuteseachinstructionquickly,therebyimprovingtheexecutionefficiencyandmakingtheCPUhardwarestructuredesignsimpler.

Embeddedmicroprocessorshaveavarietyofdifferentsystems.Eveninthesamesystem,theymayhavedifferentclockfrequenciesanddatabuswidths,orintegratedifferentperipheralsandinterfaces.Accordingtoincompletestatistics,therearemorethan1,000kindsofembeddedmicroprocessorsintheworld,andtherearemorethan30seriesofarchitectures,amongwhichthemainstreamsystemsareARM,MIPS,PowerPC,X86andSH.ButunliketheglobalPCmarket,noembeddedmicroprocessorcandominatethemarket.Intermsof32-bitproductsalone,therearemorethan100embeddedmicroprocessors.Thechoiceofembeddedmicroprocessorisdeterminedaccordingtothespecificapplication.

Памет

Embeddedsystemsneedmemorytostoreandexecutecode.ThememoryoftheembeddedsystemincludesCache,mainmemoryandauxiliarymemory.

1)Кеш

Cacheisasmall-capacity,fast-speedmemoryarray.Itislocatedbetweenthemainmemoryandtheembeddedmicroprocessorcore.Whendatareadoperationsarerequired,ThemicroprocessorreadsdatafromtheCacheasmuchaspossible,ratherthanfromthemainmemory,whichgreatlyimprovestheperformanceofthesystemandincreasesthedatatransferratebetweenthemicroprocessorandthemainmemory.ThemaingoalofCacheistoreducethememoryaccessbottleneckcausedbythememory(suchasmainmemoryandauxiliarymemory)tothemicroprocessorcore,sothattheprocessingspeedisfasterandthereal-timeperformanceisstronger.

Intheembeddedsystem,Cacheisallintegratedintheembeddedmicroprocessor,andcanbedividedintodataCache,instructionCacheorhybridCache.ThesizeofCachedependsondifferentprocessors.Cacheisgenerallyintegratedintohigh-endembeddedmicroprocessors.

2) Основна памет

Themainmemoryisaregisterthattheembeddedmicroprocessorcandirectlyaccess,usedtostoresystemanduserprogramsanddata.Itcanbelocatedinsideoroutsidethemicroprocessor,anditscapacityis256KB~1GB,dependingonthespecificapplication.Generally,theon-chipmemoryhasasmallcapacity,highspeed,andalargeoff-chipmemory.

Паметите, често използвани като основна памет, са:

ROM typeNORFlash,EPROMиPROM и т.н.

RAM тип SRAM, DRAM и SDRAM и др.

Amongthem,NORFlashhasbeenwidelyusedintheembeddedfieldduetoitsadvantagessuchasmanyerasingtimes,faststoragespeed,largestoragecapacity,andlowprice.

3) Спомагателна памет

Auxiliarymemoryisusedtostoreprogramcodesorinformationwithalargeamountofdata.Ithasalargecapacity,butitsreadingspeedismuchslowerthanthatofmainmemory.,Usedforlong-termpreservationofuserinformation.Commonlyusedexternalstorageinembeddedsystemsare:harddisk,NANDFlash,CFcard,MMCandSDcard,etc.

Универсален интерфейс на устройство и I/O интерфейс

Interactionbetweenembeddedsystemandtheoutsideworldrequiresacertainformofuniversaldeviceinterface,suchasA/D,D/A.I/O,etc.Peripheralsrealizetheinput/outputfunctionofthemicroprocessorthroughtheconnectionwithotherdevicesorsensorsoutsidethechip.Eachperipheralusuallyhasonlyasinglefunction,anditcanbeoutsidethechiporbuiltintothechip.Therearemanytypesofperipherals,rangingfromasimpleserialcommunicationdevicetoaverycomplex802.11wirelessdevice.

Интерфейси на общи устройства, често използвани вградени системи, включват A/D (интерфейс за аналогово/цифрово преобразуване), D/A (интерфейс за цифрово/аналогово преобразуване) и I/O интерфейси имат RS-232 интерфейси (комуникационен интерфейс по серийна линия), Ethernet (Ethernet интерфейс), USB (интерфейс за универсална серийна шина), аудиоинтерфейс, VGAвидео изходен интерфейс, I2C (полева шина ),SPI (сериен периферен интерфейс) и IrDA (инфрачервен интерфейс) и др.

Intermediatelayer

Thereisanintermediatelayerbetweenthehardwarelayerandthesoftwarelayer,alsoknownastheHardwareAbstractLayer(HAL)orBoardSupportPackage(BoardSupportPackage,BSP),whichseparatestheupper-layersoftware(application)ofthesystemfromthelower-layerhardware,sothatthelower-layerdriverofthesystemhasnothingtodowiththeupperlayer.Theupper-layersoftwaredevelopersdonotneedtocareaboutthespecificconditionsoftheunderlyinghardware,andcanproceedaccordingtotheinterfaceprovidedbytheBSPlayer.Development.Thislayergenerallyincludestheinitializationofrelatedunderlyinghardware,datainput/outputoperations,andhardwaredeviceconfigurationfunctions.BSPhasthefollowingtwocharacteristics.

Hardwarerelevance:Becausethehardwareenvironmentofembeddedreal-timesystemshasapplicationrelevance,asaninterfacebetweenupper-levelsoftwareandhardwareplatforms,BSPneedstoprovideoperatingsystemswithmethodstooperateandcontrolspecifichardware.

Operatingsystemrelevance:Differentoperatingsystemshavetheirownsoftwarehierarchicalstructure,therefore,differentoperatingsystemshavespecifichardwareinterfaceforms.

Actually,BSPisasoftwarelevelbetweentheoperatingsystemandtheunderlyinghardware,includingmostofthesoftwaremodulesinthesystemthatarecloselyrelatedtothehardware.DesigningacompleteBSPneedstocompletetwoparts:thehardwareinitializationoftheembeddedsystemandtheBSPfunction,andthedesignofhardware-relateddevicedrivers.

Инициализация на хардуера на вградената система

Процесът на инициализация на системата може да бъде разделен на 3 основни връзки, които са в ред отдолу нагоре, от хардуер до софтуер.: Инициализация на ниво чип, инициализация на ниво платка и инициализация на ниво система.

Инициализация на ниво чип

Completetheinitializationoftheembeddedmicroprocessor,includingsettingthecoreregisterandcontrolregisteroftheembeddedmicroprocessor,thecoreworkingmodeoftheembeddedmicroprocessorandtheembeddedmicroprocessorLocalbusmodeandsoon.Chip-levelinitializationgraduallysetstheembeddedmicroprocessorfromthedefaultstatewhenitispoweredontotheworkingstaterequiredbythesystem.Thisisapurehardwareinitializationprocess.

Инициализация на ниво дъска

Completetheinitializationofhardwaredevicesotherthanembeddedmicroprocessors.Inaddition,somesoftwaredatastructuresandparametersneedtobesettoestablishahardwareandsoftwareenvironmentforsubsequentsystem-levelinitializationandapplicationprogramoperation.Thisisaninitializationprocessthatincludesbothsoftwareandhardware.

Системна инициализация

Theinitializationprocessismainlysoftwareinitialization,mainlyfortheinitializationoftheoperatingsystem.TheBSPtransfersthecontroloftheembeddedmicroprocessortotheembeddedoperatingsystem,andtheoperatingsystemcompletestheremaininginitializationoperations,includingloadingandinitializingdevicedriversthathavenothingtodowithhardware,establishingasystemmemoryarea,loadingandinitializingothersystemsoftwaremodules,Suchasnetworksystems,filesystems,etc.Finally,theoperatingsystemcreatestheapplicationenvironmentandpassescontroltotheentranceoftheapplication.

Устройства, свързани с хардуераДрайвери

AnothermainfunctionofBSPishardware-relateddevicedrivers.Theinitializationofhardware-relateddevicedriversisusuallyaprocessfromhightolow.AlthoughtheBSPcontainshardware-relateddevicedrivers,thesedevicedriversareusuallynotdirectlyusedbytheBSP.Instead,theBSPassociatesthemwiththegeneraldevicedriversintheoperatingsystemduringthesysteminitializationprocess,andthenlaterTheapplicationiscalledbythegeneraldevicedrivertorealizetheoperationofthehardwaredevice.DriversrelatedtohardwareareanotherverycriticallinkinBSPdesignanddevelopment.

Системен софтуерен слой

Системният софтуерен слой се състои от Операционна система в реално време (RTOS), файлова система, графичен потребителски интерфейс (GUI), мрежова система и модули на общи компоненти. RTOS е основата и платформата за разработка на вграден приложен софтуер.

Вградена операционна система

EmbeddedOperationSystem(EOS)isawide-rangingsystemsoftware.Inthepast,itwasmainlyusedinThefieldofindustrialcontrolanddefensesystems.EOSisresponsiblefortheallocationofallsoftwareandhardwareresourcesembeddedinthesystem,taskscheduling,andcontrolandcoordinationofconcurrentactivities.Itmustreflectthecharacteristicsofthesysteminwhichitislocated,andbeabletoachievetherequiredfunctionsofthesystembyloadingandunloadingcertainmodules.SomeEOSproductserieswithrelativelysuccessfulapplicationshavebeenlaunched.WiththedevelopmentofInternettechnology,thepopularizationandapplicationofinformationappliances,andtheminiaturizationandspecializationofEOS,EOShasbeguntodevelopfromasingleweakfunctiontoahighlyspecializedandstrongfunction.Theembeddedoperatingsystemhasmoreprominentfeaturesinthereal-timeefficiencyofthesystem,thedependencyofthehardware,thesolidificationofthesoftware,andthespecificityoftheapplication.EOSisrelativetothegeneraloperatingsystem.Inadditiontothemostbasicfunctionsofthegeneraloperatingsystem,EOSalsohasthefollowingfunctions:suchastaskscheduling,synchronizationmechanism,interruptprocessing,fileprocessing,etc.

Applications

IndustrialControl

Industrialautomationequipmentbasedonembeddedchipswillmakegreatprogress.Therearealreadyalargenumberof8,16,32-bitembeddedmicrocomputers.Intheapplicationofcontrollers,networkingisthemainwaytoimproveproductionefficiency,productquality,andreducehumanresources,suchasindustrialprocesscontrol,digitalmachinetools,powersystems,powergridsecurity,powergridequipmentmonitoring,andpetrochemicalsystems.Asfarastraditionalindustrialcontrolproductsareconcerned,thelow-endmodelsoftenuse8-bitmicrocontrollers.However,withthedevelopmentoftechnology,32-bitand64-bitprocessorshavegraduallybecomethecoreofindustrialcontrolequipment,andtheywillsurelyachieveconsiderabledevelopmentinthenextfewyears.

Trafficmanagement

Intheaspectsofvehiclenavigation,flowcontrol,informationmonitoringandcarservices,embeddedsystemtechnologyhasbeenwidelyused.EmbeddedGPSmodule,GSMmodulemobilePositioningterminalshavebeensuccessfullyusedinvarioustransportationindustries.GPSequipmenthasenteredthehomesofordinarypeoplefromcutting-edgeproducts,andyoucanfindyourlocationanytimeandanywherewithonlyafewthousandyuan.

Informationappliances

Thiswillbecalledthelargestapplicationfieldofembeddedsystems.Thenetworkingandintelligenceofrefrigeratorsandairconditionerswillleadpeople'slivesintoabrandnewspace.Evenifyouarenotathome,youcanremotelycontrolitviatelephonelineandinternet.Inthesedevices,embeddedsystemswillbeveryuseful.

Управление на интелигентния дом

Дистанционно автоматично отчитане на водомери, електричество и газомери, противопожарна безопасност, система против кражба и вграден специален контролен чип ще замени традиционната ръчна проверка и ще постигне по-висока, по-точна и по-безопасна производителност. В сервизната зона, като устройства за дистанционно поръчване, предимствата на вградените системи са въплътени.

POS мрежа

Система за издаване на безконтактни смарт карти (ContactlessSmartcard, CSC) за обществен транспорт, система за издаване на обществени телефонни карти, автоматични машини, различни интелигентни банкомати ще бъдат напълно интегрирани в живота на хората, когато държите карта, можете да пътувате по целия свят.

EnvironmentalEngineeringandNature

Real-timemonitoringofhydrologicaldata,floodcontrolsystemandwaterandsoilqualitymonitoring,damsafety,earthquakemonitoringnetwork,real-timeweatherinformationnetwork,watersourceandairpollutionmonitoring.Inmanyareaswithharshenvironmentsandcomplexterrain,embeddedsystemswillrealizeunmannedmonitoring.

Robots

Thedevelopmentofembeddedchipswillmakerobotsmoreobviousinminiaturizationandhighintelligence.Atthesametime,theywillgreatlyreducethepriceofrobots,makingthemmoresuitableforindustrialapplicationsandservices.Thefieldhasbeenwidelyused.

Intheseapplications,youcanfocusontheapplicationofcontrol.Asfarasremotehomeappliancecontrolisconcerned,inadditiontodevelopingembeddedsystemsthatsupportTCP/IP,homeapplianceproductcontrolprotocolsalsoneedtobeformulatedandunified,whichrequireshomeappliancemanufacturerstodo.Inthesameway,allnetwork-basedremotecontroldevicesneedtorealizeaninterfacewiththeembeddedsystem,andthentheembeddedsystemcontrolsandrealizescontrolthroughthenetwork.Therefore,itisveryimportanttodevelopanddiscussembeddedsystems.

Applicationofelectromechanicalproducts

Comparedwithotherfields,electromechanicalproductscanbesaidtobeoneofthemosttypicalandbroadestapplicationsofembeddedsystems.Therearehugemarketsforsingle-chipmicrocomputers,industrialcomputers,andSOCsinvariouselectromechanicalproducts.

Поле за мобилен интернет

ManymobileInternetfieldsalsorequireembeddeddevelopmenttechnology

Тенденции

ВграденаВградената операционна система ще бъде незаменим компонент в бъдещата вградена система.Бъдещите й тенденции за развитие включват:

1.Customization:Theembeddedoperatingsystemwillprovideasimplifiedsystemcallinterfaceforspecificapplications.Supportoneoronetypeofembeddedapplications.Theembeddedoperatingsystemwillalsohaveascalableandscalablesystemarchitecture,providingamulti-levelsystemarchitecture.Theembeddedoperatingsystemwillincludevariousplug-and-playdevicedriverinterfaces;

2.Energysaving:Theembeddedoperatingsystemwillcontinuetousemicrokerneltechnologytoachievesmallsize,lowpowerconsumption,andlowcost.Supportsmallelectronicdevices.Atthesametime,improvethereliabilityandmaintainabilityoftheproduct.Embeddedoperatingsystemwillformaminimumcoreprocessingset,reducesystemoverhead,improveoperatingefficiency,andcanbeusedinvariousnon-computerequipment;

3,humanization:embeddedoperatingsystemwillprovidesophisticatedmultimediaHuman-machineinterfacetomeettheever-increasingneedsofusers;

4.Security:Theembeddedoperatingsystemshouldbeabletoprovideasecurityguaranteemechanism,andthereliabilityofthesourcecodeisgettinghigherandhigher;

5.Networking:Forthenetworkandforspecificapplications,theembeddedoperatingsystemrequiresastandardnetworkcommunicationinterface.Thedevelopmentofembeddedoperatingsystemswillbecomeeasiertotransplantandnetwork.Theembeddedoperatingsystemwillhavenetworkaccessfunctions,provideTCP/UDP/IP/PPPprotocolsupportandaunifiedMACaccesslayerinterface,andreserveinterfacesforvariousmobilecomputingdevices;

6.Standardization:Withthedevelopmentofthewidespreadapplicationofembeddedoperatingsystems,theemergenceofproblemssuchasinformationexchangeandresourcesharingopportunities,itisnecessarytoestablishcorrespondingstandardstoregulateitsapplications.

Вградените операционни системи имат определена производителност в реално време, лесни за рязане и мащабиране и могат да бъдат подходящи за различни ARMCPU и различни степени на приложения от ARM7 до Xscale. Вградените операционни системи могат да използват широко популярните инструменти за разработка на ARM, като SDT/ADS и RealViewofARM, могат да използват и софтуер за разработка, като GCC/GDB, KDE или Ecli среда за развитие. На пазара има специални инструменти за разработка, като Tornado, μC/View, μC/KA, CODE/Lab, Metroworks и др.

NewproductsfromMicrosoft

MicrosoftplanstolaunchtheWindowsEmbedded8embeddedoperatingsysteminMarch2013,whichisthepuzzleformofWindows8.TheWindowsEmbedded8StandardoperatingsystemisamodularTheversionofWindows,whichrunssimilartoLinux-stylecustomization,allowsmanufacturerstomodifyandcustomizeit,andnewtouchandgesture-basedinterfaceswillbeappliedonthisembeddedoperatingsystem.

PeoplearealreadyfamiliarwithdeviceswithembeddedoperatingsystemssuchasVOIPphones,DVDplayers,GPSreceivers,andprinters.Asmoreandmoredevicesareaddedtocomputerchipsusingembeddedoperatingsystems,ithasbecomeanever-increasingdemandtomanagethesedevicesthroughsoftware.Inthepast,thebarebonesversionofLINUXwasanoptionforembeddedoperatingsystems,thankstoitslowsystemrequirementsandeasycustomization.Moreandmorehouseholditemsareenteringthefieldofintelligenceanddigital,arousingpeople'sinterestinthe"InternetofThings",andthisnetworkcanconnectallthecomputerizeditemsinyourhome,makingthemeasyfortheirownerstocontrolandsearch.Thingsareassimpleasfindingfilesonacomputer.

WindowsEmbedded8maybejustonestepinMicrosoft'srevivalplan.ThisplanwilltransformMicrosoftfromasoftwarecompanyintoacompanyof"devicesandservices".TheMicrosoftfolksareseekingtoreleaseanembeddedroadmap,mostlikelytoshowstockholdersthattheyarenotbulkydinosaursthatwillbedestroyedbythecomingwaveofmobile.Infact,theWindowsembeddedoperatingsystemhasexistedforsometime,andtheearliestWin3.xhasanembeddedversionthatcanrunonPOSterminals.ButtherealWindowsembeddeddevicewasbuiltin1999calledWindowsNTEmbedded.TheWindowsXPcodewasusedtocreate"XPembedded"atthattime.FollowingitspaceisWindowsEmbeddedcompact,somepeopleareveryunfamiliarwiththisname,butyoumusthaveheardofitsotherwell-knownname,WindowsCE.Thisproductismoreusedinset-topboxes,especiallyafteritisusedintheSegaill-fatedDreamcastconsole,itiswidelyknown.

In2009,WindowsXPEmbeddedwasupgradedtoWindowsEmbeddedStandard.ItprovidesacompleteWin32API,butunlikeWindowsCE,itcanrunonARM,MIPSandSuperHprocessors.WindowsEmbeddedStandardCanonlyrunonx86.Itisfullycompatiblewith"standard"projects,suchasNETframework,IE7,WindowsMediaPlayer,Silverlight,etc.WindowsEmbeddedStandardallowsmanufacturerstocustomizethesystem,deleteunnecessaryparts,whileretainingthecorefunctionsofthesystem.AndthisfeaturehasbeenusedbysomesmartpeopleinthepastforWindowson-siteCDSproductionsuchasBartPE.

Обща система

μTenux

uC/OSII

RT-нишка

uCLinux

FreeRTOS

RTX

Arm-Linux

VxWorks

RTEMS

pSOS

Ядро

PalmOS

WindowsCE

Вграден WindowsXPE

WindowsVistaEmbedded

Вграден Linux

ECOS

QNX

Рис

Symbian

HOPENOS

Android

Маемо

Мийго

This article is from the network, does not represent the position of this station. Please indicate the origin of reprint
TOP