外文以及翻译-基于单片机的电子琴设计.docx

上传人:b****9 文档编号:76120 上传时间:2022-10-02 格式:DOCX 页数:7 大小:22.90KB
下载 相关 举报
外文以及翻译-基于单片机的电子琴设计.docx_第1页
第1页 / 共7页
外文以及翻译-基于单片机的电子琴设计.docx_第2页
第2页 / 共7页
外文以及翻译-基于单片机的电子琴设计.docx_第3页
第3页 / 共7页
外文以及翻译-基于单片机的电子琴设计.docx_第4页
第4页 / 共7页
外文以及翻译-基于单片机的电子琴设计.docx_第5页
第5页 / 共7页
点击查看更多>>
下载资源
资源描述

外文以及翻译-基于单片机的电子琴设计.docx

《外文以及翻译-基于单片机的电子琴设计.docx》由会员分享,可在线阅读,更多相关《外文以及翻译-基于单片机的电子琴设计.docx(7页珍藏版)》请在冰豆网上搜索。

外文以及翻译-基于单片机的电子琴设计.docx

外文资料原文

Microcontroller-baseddesignandmanufacture

(1)MCU

Amicrocontroller(orMCU)isacomputer-on-a-chip.Itisatypeofmicroprocessoremphasizingself-sufficiencyandcost-effectiveness,incontrasttoageneral-purposemicroprocessor(thekindusedinaPC).

Themajorityofcomputersystemsinusetodayareembeddedinothermachinery,suchastelephones,clocks,appliances,vehicles,andinfrastructure.Anembeddedsystemusuallyhasminimalrequirementsformemoryandprogramlengthandmayrequiresimplebutunusualinput/outputsystems.Forexample,mostembeddedsystemslackkeyboards,screens,disks,printers,orotherrecognizableI/Odevicesofapersonalcomputer.Theymaycontrolelectricmotors,relaysorvoltages,andreadswitches,variableresistorsorotherelectronicdevices.Often,theonlyI/Odevicereadablebyahumanisasinglelight-emittingdiode,andseverecostorpowerconstraintscaneveneliminatethat.

Incontrasttogeneral-purposeCPUs,microcontrollersdonothaveanaddressbusoradatabus,becausetheyintegratealltheRAMandnon-volatilememoryonthesamechipastheCPU.Becausetheyneedfewerpins,thechipcanbeplacedinamuchsmaller,cheaperpackage.

Integratingthememoryandotherperipheralsonasinglechipandtestingthemasaunitincreasesthecostofthatchip,butoftenresultsindecreasednetcostoftheembeddedsystemasawhole.(EvenifthecostofaCPUthathasintegratedperipheralsisslightlymorethanthecostofaCPU+externalperipherals,havingfewerchipstypicallyallowsasmallerandcheapercircuitboard,andreducesthelaborrequiredtoassembleandtestthecircuitboard).Thistrendleadstodesign.

Amicrocontrollerisasingleintegratedcircuit,commonlywiththefollowingfeatures:

centralprocessingunit-rangingfromsmallandsimple4-bitprocessorstosophisticated32-or64-bitprocessors

input/outputinterfacessuchasserialports(UARTs)

otherserialcommunicationsinterfaceslikePC,SerialPeripheralInterfaceandControllerAreaNetworkforsysteminterconnectperipheralssuchastimersandwatchdogRAMfordatastorageROM,EPROM,EEPROMorFlashmemoryforprogramstorageclockgenerator-oftenanoscillatorforaquartztimingcrystal,resonatororRCcircuitmanyincludeanalog-to-digitalconverters.

ThisintegrationdrasticallyreducesthenumberofchipsandtheamountofwiringandPCBspacethatwouldbeneededtoproduceequivalentsystemsusingseparatechipsandhaveprovedtobehighlypopularinembeddedsystemssincetheirintroductioninthe1970s.

SomemicrocontrollerscanaffordtouseaHarvardarchitecture:

separatememorybusesforinstructionsanddata,allowingaccessestotakeplaceconcurrently.

Thedecisionofwhichperipheraltointegrateisoftendifficult.TheMicrocontrollervendorsoftentradeoperatingfrequenciesandsystemdesignflexibilityagainsttime-to-marketrequirementsfromtheircustomersandoveralllowersystemcost.Manufacturershavetobalancetheneedtominimizethechipsizeagainstadditionalfunctionality.

Microcontrollerarchitecturesareavailablefrommanydifferentvendorsinsomanyvarietiesthateachinstructionsetarchitecturecouldrightlybelongtoacategoryoftheirown.Chiefamongthesearethe8051,Z80andARMderivatives.[citationneeded]

Amicrocontroller(alsoMCUorpC)isafunctionalcomputersystem-on-a-chip.Itcontainsaprocessorcore,memory,andprogrammableinput/outputperipherals.

MicrocontrollersincludeanintegratedCPU,memory(asmallamountofRAM,programmemory,orboth)andperipheralscapableofinputandoutput.

Itemphasizeshighintegration,incontrasttoamicroprocessorwhichonlycontainsaCPU(thekindusedinaPC).Inadditiontotheusualarithmeticandlogicelementsofageneralpurposemicroprocessor,themicrocontrollerintegratesadditionalelementssuchasread-writememoryfordatastorage,read-onlymemoryforprogramstorage,Flashmemoryforpermanentdatastorage,peripherals,andinput/outputinterfaces.Atclockspeedsofaslittleas32KHz,microcontrollersoftenoperateatverylowspeedcomparedtomicroprocessors,butthisisadequatefortypicalapplications.Theyconsumerelativelylittlepower(milliwattsorevenmicrowatts),andwillgenerallyhavetheabilitytoretainfunctionalitywhilewaitingforaneventsuchasabuttonpressorinterrupt.Powerconsumptionwhilesleeping(CPUclockandperipheralsdisabled)maybejustnanowatts,makingthemidealforlowpowerandlonglastingbatteryapplications.

Microcontrollersareusedinautomaticallycontrolledproductsanddevices,suchasautomobileenginecontrolsystems,remotecontrols,officemachines,appliances,powertools,andtoys.Byreducingthesize,cost,andpowerconsumptioncomparedtoadesignusingaseparatemicroprocessor,memory,andinput/outputdevices,microcontrollersmakeitec

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 自然科学 > 物理

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1