单片机5000字中英文对照翻译.docx
《单片机5000字中英文对照翻译.docx》由会员分享,可在线阅读,更多相关《单片机5000字中英文对照翻译.docx(15页珍藏版)》请在冰豆网上搜索。
单片机5000字中英文对照翻译
1.IntheapplicationofIntelligentInstruments
SCMhasasmallsize,lowpowerconsumption,controllingfunction,expansionflexibility,theadvantagesofminiaturizationandeaseofuse,widelyusedinstrument,combiningdifferenttypesofsensorscanberealizedZhuruvoltage,power,frequency,humidity,temperature,flow,speed,thickness,angle,length,hardness,elemental,physicalpressuremeasurement.SCMmakesuseofdigitalinstruments,intelligence,miniaturization,andfunctionalitythanelectronicordigitalcircuitsmorepowerful.Suchasprecisionmeasuringequipment(powermeter,oscilloscope,variousanalyticalinstrument).
1.在智能仪器仪表上的应用
单片机具有体积小、功耗低、控制功能强、扩展灵活、微型化和使用方便等优点,广泛应用于仪器仪表中,结合不同类型的传感器,可实现诸如电压、功率、频率、湿度、温度、流量、速度、厚度、角度、长度、硬度、元素、压力等物理量的测量。
采用单片机控制使得仪器仪表数字化、智能化、微型化,且功能比起采用电子或数字电路更加强大。
例如精密的测量设备(功率计,示波器,各种分析仪)。
2.Intheindustrialcontrolapplication
WiththeMCUcanconstituteavarietyofcontrolsystems,dataacquisitionsystem.Suchasfactoryassemblylineofintelligentcontrol
2.在工业控制中的应用
用单片机可以构成形式多样的控制系统、数据采集系统。
例如工厂流水线的智能化控制
3.InHouseholdAppliances
CanbesaidthattheappliancesarebasicallyusingSCM,praisefromtheelectricrice,washingmachines,refrigerators,airconditioners,colorTV,andotheraudiovideoequipment,totheelectronicweighingequipment,varied,andomnipresent.3.在家用电器中的应用
可以这样说,现在的家用电器基本上都采用了单片机控制,从电饭褒、洗衣机、电冰箱、空调机、彩电、其他音响视频器材、再到电子秤量设备,五花八门,无所不在。
4.Inthefieldofcomputernetworksandcommunicationsapplications
MCUgeneralwithmoderncommunicationinterface,canbeeasywiththecomputerdatacommunication,networkingandcommunicationsincomputerapplicationsbetweendeviceshadexcellentmaterialconditions,arebasicallyallcommunicationequipmenttoachieveacontrolledbyMCUfrommobilephone,telephone,mini-program-controlledswitchboards,buildingautomatedcommunicationscallsystem,trainradiocommunication,tothedailyworkcanbeseeneverywhereinthemobilephones,trunkedmobileradio,walkie-talkies,etc..4.在计算机网络和通信领域中的应用
现代的单片机普遍具备通信接口,可以很方便地与计算机进行数据通信,为在计算机网络和通信设备间的应用提供了极好的物质条件,现在的通信设备基本上都实现了单片机智能控制,从手机,电话机、小型程控交换机、楼宇自动通信呼叫系统、列车无线通信、再到日常工作中随处可见的移动电话,集群移动通信,无线电对讲机等。
5.Microcomputerinthefieldofmedicaldeviceapplications
SCMintheuseofmedicaldevicesisalsoquiteextensive,suchasmedicalrespirator,thevariousanalyzers,monitors,ultrasounddiagnosticequipmentandhospitalbeds,etc.callsystem.
5.单片机在医用设备领域中的应用
单片机在医用设备中的用途亦相当广泛,例如医用呼吸机,各种分析仪,监护仪,超声诊断设备及病床呼叫系统等等。
6.Inavarietyofmajorappliancesinthemodularapplications
Designedtoachievesomespecialsinglespecificfunctiontobemodularinavarietyofcircuitapplications,withoutrequiringtheuseofpersonneltounderstanditsinternalstructure.Ifmusicintegratedsinglechip,seeminglysimplefunction,miniatureelectronicchipinthenet(theprincipleisdifferentfromthetapemachine),youneedacomputersimilartotheprincipleofthecomplex.Suchas:
musicsignaltodigitalformstoredinmemory(likeROM),readbythemicrocontroller,analogmusicintoelectricalsignals(similartothesoundcard).
Inlargecircuits,modularapplicationsthatgreatlyreducethevolume,simplifiesthecircuitandreducethedamage,errorrate,butalsoeasytoreplace.
6.在各种大型电器中的模块化应用
某些专用单片机设计用于实现特定功能,从而在各种电路中进行模块化应用,而不要求使用人员了解其内部结构。
如音乐集成单片机,看似简单的功能,微缩在纯电子芯片中(有别于磁带机的原理),就需要复杂的类似于计算机的原理。
如:
音乐信号以数字的形式存于存储器中(类似于ROM),由微控制器读出,转化为模拟音乐电信号(类似于声卡)。
在大型电路中,这种模块化应用极大地缩小了体积,简化了电路,降低了损坏、错误率,也方便于更换。
7.Microcontrollerintheapplicationfieldofautomotiveequipment
SCMinautomotiveelectronicsiswidelyused,suchasavehicleenginecontroller,CANbus-basedIntelligentElectronicControlEngine,GPSnavigationsystem,absanti-lockbrakingsystem,brakesystem,etc..
Inaddition,theMCUinbusiness,finance,research,education,nationaldefense,aerospaceandotherfieldshasaverywiderangeofapplications.
Applicationofsiximportantpartoflearning
7.单片机在汽车设备领域中的应用
单片机在汽车电子中的应用非常广泛,例如汽车中的发动机控制器,基于CAN总线的汽车发动机智能电子控制器,GPS导航系统,abs防抱死系统,制动系统等等。
此外,单片机在工商,金融,科研、教育,国防航空航天等领域都有着十分广泛的用途。
MCUlearninganimportantpartofthesixapplications
单片机学习应用的六大重要部分
1,Bus:
Weknowthatacircuitisalwaysmadebythedevicesconnectedbywires,inanalogcircuits,theconnectiondoesnotbecomeaproblembecausethedeviceisaserialrelationshipbetweenthegeneral,thedeviceisnotmuchconnectionbetweenthe,butthecomputerisnotthesamecircuit,itisamicroprocessorcore,thedevicemustbeconnectedwiththemicroprocessor,thedevicemustbecoordinationbetween,sotheyneedtoconnectonalot,asifstillanalogcircuitlikethemicroprocessoranddevicesintheconnectionbetweentheindividual,thenumberoflineswillbealittlemoresurprising,thereforetheintroductionofthemicroprocessorbusChongEachdeviceGongtongaccessconnections,alldevices8Shujulineallreceivedeightpubliconline,thatistheequivalentofalldevicestogetherinparallel,butonlythisdoesnotwork,iftherearetwodevicessenddataatthesametime,a0,a1,then,whetherthereceiverreceivedwhatisit?
Thissituationisnotallowed,sotobecontrolledbycontrollingtheline,time-sharingthedevicetoworkatanytimeonlyonedevicetosenddata(whichcanhavemultipledevicestoreceiveboth).Device'sdataconnectionisknownasthedatabus,thedeviceiscalledlineofcontrolallthecontrolbus.Internalorexternalmemoryinthemicrocontrollerandotherdeviceshavememorycells,thememorycelltobeassignedaddresses,youcanuse,distribution,ofcourse,toaddressgivenintheformofelectricalsignals,andasmorememorycells,so,fortheaddressallocationThelineisalsomoreoftheselinesiscalledtheaddressbus.
一、总线:
我们知道,一个电路总是由元器件通过电线连接而成的,在模拟电路中,连线并不成为一个问题,因为各器件间一般是串行关系,各器件之间的连线并不很多,但计算机电路却不一样,它是以微处理器为核心,各器件都要与微处理器相连,各器件之间的工作必须相互协调,所以需要的连线就很多了,如果仍如同模拟电路一样,在各微处理器和各器件间单独连线,则线的数量将多得惊人,所以在微处理机中引入了总线的概念,各个器件共同享用连线,所有器件的8根数据线全部接到8根公用的线上,即相当于各个器件并联起来,但仅这样还不行,如果有两个器件同时送出数据,一个为0,一个为1,那么,接收方接收到的究竟是什么呢?
这种情况是不允许的,所以要通过控制线进行控制,使器件分时工作,任何时候只能有一个器件发送数据(可以有多个器件同时接收)。
器件的数据线也就被称为数据总线,器件所有的控制线被称为控制总线。
在单片机内部或者外部存储器及其它器件中有存储单元,这些存储单元要被分配地址,才能使用,分配地址当然也是以电信号的形式给出的,由于存储单元比较多,所以,用于地址分配的线也较多,这些线被称为地址总线。
2,data,address,command:
Thereasonwhythesethreetogetherbecauseofthenatureofthesethreearethesame-thenumber,orareastringof'0'and'1'formthesequence.Inotherwords,addresses,instructionsarealsodata.Instruction:
fromsinglechipdesignerprovidesanumberofcommonlyusedinstructionswithmnemonicwehaveastrictcorrespondencebetweenthedevelopercannotbechangedbytheMCU.Address:
thesearchforMCUinternal,externalstorageunits,inputandoutputportbasedontheaddressoftheinternalunitvalueprovidedbythechipdesignerisgood,cannotbechanged,theexternalunitcanbesinglechipdeveloperstodecide,butthereareanumberofaddressunitsisamust(seeproceduresfortheimplementationoftheprocess).
二、数据、地址、指令:
之所以将这三者放在一起,是因为这三者的本质都是一样的——数字,或者说都是一串‘0’和‘1’组成的序列。
换言之,地址、指令也都是数据。
指令:
由单片机芯片的设计者规定的一种数字,它与我们常用的指令助记符有着严格的一一对应关系,不可以由单片机的开发者更改。
地址:
是寻找单片机内部、外部的存储单元、输入输出口的依据,内部单元的地址值已由芯片设计者规定好,不可更改,外部的单元可以由单片机开发者自行决定,但有一些地址单元是一定要有的(详见程序的执行过程)。
3,P0port,P2andP3ofthesecondfunctionIuse:
BeginnersoftenontheP0port,P2andP3portIusethesecondfunctionpuzzledthatthesecondfunctionandhaveaswitchbetweentheoriginalfunctionoftheprocess,orhaveadirective,infact,theportthesecondfeatureisautomatic,donotneedinstructionstoconvert.SuchasP3.6,P3.7respectivelyWR,RDsignal,whenthemicrochipprocessingmachinesexternalRAMorexternalI/Oport,theyareusedasasecondfunction,notasageneral-purposeI/Oportused,solongasamicroprocessorimplementationoftheMOVXinstruction,therewillbeacorrespondingsignalsentfromtheP3.6orP3.7,noprioruseofcommands.Infact'notasageneral-purposeI/Oportuse'isalsonota'no'but(user)'not'asageneral-purposeI/Oporttouse.YoucanarrangetheorderofaSETBP3.7'sinstructions,andwhentheMCUexecutiontotheinstruction,thealsomakeP3.7intoahigh,butuserswillnotdosobecausethisisusuallywillcausethesystemtocollapse.
三、P0口、P2口和P3的第二功能用法:
初学时往往对P0口、P2口和P3口的第二功能用法迷惑不解,认为第二功能和原功能之间要有一个切换的过程,或者说要有一条指令,事实上,各端口的第二功能完全是自动的,不需要用指令来转换。
如P3.6、P3.7分别是WR、RD信号,当微片理机外接RAM或有外部I/O口时,它们被用作第二功能,不能作为通用I/O口使用,只要一微处理机一执行到MOVX指令,就会有相应的信号从P3.6或P3.7送出,不需要事先用指令说明。
事实上‘不能作为通用I/O口使用’也并不是‘不能’而是(使用者)‘不会’将其作为通用I/O口使用。
你完全可以在指令中按排一条SETBP3.7的指令,并且当单片机执行到这条指令时,也会使P3.7变为高电平,但使用者不会这么去做,因为这通常会导致系统的崩溃。
4,theprogram'simplementation:
Reductioninpowerafterthe8051microcontrollerwithintheprogramcounter(PC)inthevalueof0000',theprocessisalwaysfromthe0000'unitsstarted,thatis:
thesystemmustexistinROM0000'thisunit,andin0000'unitmustbestoredinasingleinstruction.
四、程序的执行过程:
单片机在通电复位后8051内的程序计数器(PC)中的值为‘0000’,所以程序总是从‘0000’单元开始执行,也就是说:
在系统的ROM中一定要存在‘0000’这个单元,并且在‘0000’单元中存放的一定是一条指令。
5,thestack:
Stackisaregion,isusedtostoredata,thereisnospecialabouttheregionitselfisapartofinternalRAM,specialaccesstoitsdatastorageandthewaythattheso-called'advancedpostoutbackwardfirstout',andthestackhasaspecialdatatransmissioninstructionsthat'PUSH'and'POP',hasaspecialexpertiseinitsservicesunit,thatis,thestackpointerSP,wheneveraPUSHinstructionexecution,SPon(intheBasedontheoriginalvalue)automaticallyadd1,whenevertheimplementationofaPOPinstruction,SPwill(onthebasisoftheoriginalvalue)automaticallyby1.AstheSPvaluescanbechangedwiththeinstructions,solongasthebeginningoftheprocesstochangethevalueoftheSP,youcansetthestackmemoryunitrequired,suchasthepro