


版權(quán)說(shuō)明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
1、Guangdong Institute of EducationBTEC CenterProgram:Electrical/Electro nic Engin eeri ng (Electro nic)Unit Title:Microprocessor SystemsUnit No:10Assig nment Title:Desig n of traffic lights on public roads1002Assig nment No.:Issue Date:10.19Submission Deadline:12.13Assessor/Tutor:In ternal Verifier:St
2、ude nt:Sunny YaoRicky ZhangHong GuoStudents Reg. No: A233172NOTES TO STUDENTSCheck carefully the submission date and the instructions given with the assig nment. Late assig nments will not be accepted.En sure that you give yourself eno ugh time to complete the assig nment by the due date.Do not leav
3、e things such as printing to the last minute -excuses of this nature will not be accepted for failure to hand-in the work on time.You must take resp on sibility for man agi ng your own time effectively.If you are un able to hand in your assig nment on time and have valid reas ons such as ill ness, y
4、ou may apply (in writ ing) for an exte nsion.When you refer to the work of other authors in your assignment, you must practice citation by following Harvard System for Referencing.If you are caught plagiarizing, you could have your grade reduced to zero, or at worst, you could be excluded from the c
5、ourse.STUDENT DECLARATION:I con firm that this is all my own work.Stude nt s Sig nature: Hong GuoASSESSMEINSr Part 1GradeCriteria/ DescriptorsEvide neeFeedbackAssessPass Assessment1. Investigate microprocessor -based systems1.1Comparetypesofmicroprocessor device families探Parameters(speed, cost, i/o
6、facilities, in struct ion set, physical size ) of no less the n three typesofmicroprocessor device families is described.threetypesofmicroprocessordevicefamilies is described.V3.In terfacemicroprocessor -based systems3.1Evaluateandchooseprogrammable in terface devices for a particular situati on探 Ev
7、aluate simply no less than three typicalapplicatio nsof microprocessor-base d systemsAll requireme nts met.V3.2Desig n,build program and test an in terface for an external device toamicroprocessorbased system探Desig naschematic circuit, built a program and test an in terface for an exter nal device t
8、o a microprocessor-base d systemThe documents are well done.VGradi ng Assessme ntM1ide ntifyandapplystrategies to find appropriate soluti onsApply strategies to findanappropriate solution of the give n problemEvide nces are show n that you have looked up many readi ngmaterialsand worked out a good s
9、olutio n for the give n problemYou man age your work well.VM2 select and apply appropriate methods/tech ni quesApply appropriate tech niq uestodesig n software孤 Astructureddesign technique is used very well.very well.VM3 prese nt and com muni cate appropriate findingsDocume ntiswritte n in flue nt I
10、an guage and correctly cites thereleva ntrefere ncesDocume nt is written in very few mistakes and report forms is various.This has bee n successfully done.VD1 use critical reflect iontoevaluate own workandjustifyvalidcon clusi onsUsecriticalreflecti ontoevaluate own work Thereisevaluati on in your a
11、ssig nmentthatexpla ins programs adva ntagesanddisadva ntaaes.There is evide nee for this.VD2takeresp on sibility forman agi ngand organizing activitiesMan age your work according toatimeschedule and impleme nt the applicati on in depe nden tly.探 Hand in the assignment on time and do it without othe
12、r pers on help.You man age your work well.VD3dem on strate con verge nt/lat eral/ creative thin ki ngCreative thi nki ngisshown in your desig nPropose a creative thi nking in soluti ons or methods/tech niq uesThere is evide nee for this.VAssess。 additional commentsYou man age your work well.Assessor
13、 signature: Xiangdong YiStudent s FeedbackThank youStudent s signatuHong GuoNotes:Assignment DescriptionScenarioOn the bustling road of heavy traffic and endless stream of people, Safety guidelines for public roads are very important to ensure people against traffic injury. The traditi onal way is t
14、o equip traffic police or coord in ati on and man ageme nt personnel for the public roads. But this method is not only a waste of human and financial resources. Besides while the traffic police or the coordination and management personnel are working they usually have to withstand sunning, winding o
15、r raining. In addition, they must still face to security threats bringing from traffic accide nts in every minu te. Nowadays scie nee and tech no logy are in rapid development, this traditional practice can completely be replaced by advaneed electro nic products. The public road safety in dicator li
16、ghts which are desig n based on microprocessors are rightly such products. Not only these products can be desig ned flexibly and adjusted easily but also they are cost-effective in using and maintenance. In addition, they are really a beautiful landscape in city life.Now suppose you are an Electrica
17、l Engin eer. You are assig ned to desig n a type of traffic lights on public roads for Mun icipal Authority. The specific requireme nts are as follows:1. The product can absolutely guara ntee the safe of traffic.2. Product should have no less tha n two guideli nes so as to fit for differe nt road co
18、n diti ons.3. Pleaseset aside a certa in nu mber of ports so that they can be upgraded in some day.As an electr onics desig n engin eer, you must complete the task as follow ing:Task:1. (Pass Criterion 1.1) Compare types of microprocessor device families. Please compare no less then three types of m
19、icroprocessor device families in parameters(word len gth, speed, memory space, timer/co un ters, i/o facilities, in terrupt in table and the n select one type to do your desig n.2. (Pass Criteri on 3.1) Evaluate and choose programmable in terface devices for a particular situati on. Gen erally speak
20、 ing, programmable in terface device is a type of multi-purpose LSI chip. For example, 8279 is a com mon programmable in terface device which can convenien tly accomplish a desig n in cludi ng microprocessor-based systems, keyboard and monitors. For another example, 8255 and 8155 are also programmab
21、le in terface devices which are gen erally used for expa nding ports of microprocessor-based systems. Please evaluate and choose appropriate programmable in terface devices to accomplish your desig n.3. (Pass Criterio n 3.2) Desig n, build program and test an in terface for an exter nal device to a
22、microprocessor-based system. Design a schematic circuit, built an algorithm block flow diagram, write a program and test an in terface for an exter nal device to a microprocessor-based system. Please pay atte nti on to their con siste ncy and provide detail design steps. In addition, a detailed stat
23、e description of the impleme ntati on phe nomenon of your program should be give n in text an dgraphics or tables.Solutio n:1. Accordi ng to the subject, I con pared the followi ng table of the three differe nt types of microprocessors by check ing in formation8051MSP430PIC10F200Word len gth128812 b
24、itSpeed32KHz4MHzMenory space4KB ROM,128 RAM8 bit ROM256byteisFLASH,16 bit is SRAMTime/coumters16 bit3000 clock cyclesThere are 8 bytes of programmable in depe ndent prescaleri/o2 I / O bit li ne (P3.0 and P3.1)2 I/O bit4 I / O, there are threewithin depe ndent direct ioncon trolfunction, an in putFa
25、cilites5 interrupt, divided in to two priorityNo2So I select 8051 to design.2. In side 8255, it is 3 parallel data in put / output ports, two ways of work ing con trol circuit, a read / write control logic circuit and an 8-bit bus buffer. There are two work control circuit: one is group A control ci
26、rcuit, and another is group B control circuit. This two groups con trol circuit have a Con trol Comma nd Register to accept the con trol word from CPU so that they can decide the worki ng way of two ports. And they can also according to the control word requirements to clear exit 0 or by location 1
27、of the C bitwise.Group A control circuit is used to control upper part of A bitwise and C bitwise(PC7-PC4). Group B control circuit is used to control bottom half of B bitwise and C bitwise(PC3-PC0).Bus Data Buffer is a 3-state bi-directi onal 8-bit buffer, as a in terface betwee n 8255 and system b
28、us, totra nsferri ng data, comma nd, con trol, comma nd, and exter nal state in formatio n.Read / write control logic circuit accept the control signal RD,WR,RESEET, address signal AIA0 and so on. Then they accord ing to the requireme nts of con trol sig nal to read out the port data and send that t
29、o CPU, or read the data from CPU in port.3. According to the title, I select 8051 and 8255 to design my traffic lights. First I will draw the statechart un der reality.Second : The circuit connection diagram I desig nedim 心PZ.iMCrZJWAK- RJWf* 陽(yáng)口亦DUDL-I咸口就惶怔汁3EI-P11F3 -VTsFUrazTHiP1 3pullSIF1J-MEF1 f
30、P1$FSAfinF1Jra/RftF1 口E1Third: According to the circuit diagram and the status flow, I give the Binary output state table.Pc0Pc1Pc2Pc3Pc4Pc5Pc6Pc7Pb0Pb1Pb2Pb3Pb4Pb5Pb6Pb711001001010000000210 :0001100 :00100 :0r 031000101000100000400 :110000r 1 :100000r 050101000101000000I put the binary into hexadec
31、imal.1Pc49HPB42H2Pc61HPB08H3Pc51HPB04H4nPc0CHPB03H5Pc8AHPB02HFourth, I can wrote the program of the first state.ORG OOHPORTA EQU 7CFFHPORTB EQU 7DFFHPORTC EQU 7EFFHCADDR EQU 7FFFHLVB: MOV DPTR,#7FFFHMOV A,#80HMOVX DPTR,AMOV DPTR,#7DFFHMOV A,#42HMOVX DPTR,AMOV DPTR,#7EFFHMOV A,#49HMOVX DPTR,AMOV R4,#
32、12LCALL DELAYDebug results:m .intfi pdjog!用m PDJMJK rnjai.n PDJrtUTrZHTAB口FJ.IfTW!nirrT la.-HTn 3A7iraiiTFtaXTALIXTA12WBTTEI ALEIJ1I17口1LI1 z -J z z 7 z3d;-3T工l 3Sll U-3bnIT證日3Za4EECM iitafnFThe program of the sec ond state:LVB1:MOV DPTR,#7DFFHMOV A,#08HMOVX DPTR,AMOV DPTR,#7EFFHMOV A,#61HMOVX DPTR,AMOV R4,#12LCALL DELAYMOV R7,#6Debug results:So the whole program isORG 00HPORTA EQU 7CFFHPORTB EQU 7DFFH PORTC EQU 7EFFH CADDR EQU 7FFFHLVB: MOV DPTR,#7FFFH MOV A,#80H MOVX DPTR,A MOV DPTR,#7DFFH MOV A,#42H MOVX DPTR,A MOV DPTR,#7EFFH MOV A,#49H MOVX DPTR
溫馨提示
- 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 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ì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 教育書(shū)籍與影片的融合價(jià)值
- 托班地震安全教育
- 城市綠化滿意度調(diào)查及改善方案合同
- 企業(yè)員工離職交接勞動(dòng)合同模板
- 主題咖啡館經(jīng)營(yíng)管理權(quán)租賃合同
- 酒店?duì)I銷策劃方案培訓(xùn)
- 餐飲店品牌升級(jí)與形象重塑合作協(xié)議書(shū)
- 餐飲服務(wù)員勞動(dòng)合同解除與終止協(xié)議范本
- 做一個(gè)心理健康的孩子
- 彩票業(yè)務(wù)代理傭金結(jié)算及分成合同
- 村規(guī)民約范文大全三篇村規(guī)民約范文大全
- Q∕SY 01007-2016 油氣田用壓力容器監(jiān)督檢查技術(shù)規(guī)范
- 赤水市轄區(qū)內(nèi)楓溪河(風(fēng)溪河)、寶沅河(寶源河)、丙安河
- 水利水電 流體力學(xué) 外文文獻(xiàn) 外文翻譯 英文文獻(xiàn) 混凝土重力壩基礎(chǔ)流體力學(xué)行為分析
- 零星維修工程項(xiàng)目施工方案
- 物流公司超載超限整改報(bào)告
- 起重機(jī)安裝施工記錄表
- 江蘇省高中學(xué)生學(xué)籍卡
- 碳排放問(wèn)題的研究--數(shù)學(xué)建模論文
- 贏越酒會(huì)講解示范
- 物業(yè)承接查驗(yàn)協(xié)議書(shū)
評(píng)論
0/150
提交評(píng)論