Research and Practice of Course Design on Microcomputer Principle

0 downloads 0 Views 243KB Size Report
Advanced in Control Engineeringand Information Science. Research and ... and positive effect on training student's ability of system design and practice.
Available online at www.sciencedirect.com Available online at www.sciencedirect.com

Procedia Engineering

Procedia Engineering 00 (2011) 000–000 Procedia Engineering 15 (2011) 4211 – 4215 www.elsevier.com/locate/procedia

Advanced in Control Engineeringand Information Science

Research and Practice of Course Design on Microcomputer Principle and Interface Technology Yanping Zhoua* College of Information Science and Technology, Qingdao University of Science and Technology, Qingdao 266061, China

Abstract It is urgent to strengthen student’s ability of practice and innovation according to demand for talent and development of computer education. Course design on microcomputer principle and interface technology can reinforce student comprehension for computer system through some design instances, and promote student’s practice ability and innovation ability. This paper introduces design objective, design demand and design scheme of course design on microcomputer principle and interface technology, some design topics are given, which can help students grasp general knowledge and strengthen manipulative ability. The practice shows that this course design has flexible ways and positive effect on training student’s ability of system design and practice.

© 2011 Published by Elsevier Ltd. Selection and/or peer-review under responsibility of [CEIS 2011] Open access under CC BY-NC-ND license.

Keywords: Microcomputer Principle and Interface Technology, Course Design, Practice Teaching;

1. Introduction Microcomputer principle and interface technology is a base hardware course with stronger comprehension and practice in computer education [1]. The content of this course includes microcomputer principle, assemble language and interface technology, and it is difficult for student to mastery and apply these knowledge. In order to deepen student’s comprehension and strengthen student’s ability of practice and innovation according to demand for talent and development of computer education, course design of

* Corresponding author. Tel.: +086-532-88959036. E-mail address: [email protected].

1877-7058 © 2011 Published by Elsevier Ltd. Open access under CC BY-NC-ND license. doi:10.1016/j.proeng.2011.08.790

4212 2

Yanping Zhou / Procedia Engineering (2011) 4211 – 4215 Yanping Zhou/ Procedia Engineering 00 15 (2011) 000–000

microcomputer principle and interface technology is set. The course design examines whether or not students have mastery basic theory of microcomputer principle and interface technology and trains their practical abilities. Through a series of design and development, students can strength the comprehension on microcomputer system, instruction system, assemble language and interface technology, and learn design methods, then they can obtain the ability of analyzing problem, solving problem, and innovation. In the literature, some researches have discussed course design of microcomputer principle and interface technology. Zamov [2] introduces course design for a computer-aided instruction system using assembler language macro tools. Chen [3] emphasizes student-centered pedagogy in computer technology application course design. In [4] a microcomputer-dependent statistics and design course is given, author proposed student understanding of the logic of the material and its application is enhanced through this design course. In [5] the exploration of course design of parallel computing in information and computer science specialty is introduced. In URL [6], which is the link of MIT free online course, faculty advisers emphasize the course design is helpful for studying of principles of computer system. The organization of the paper is as follows. In section 2, design objective, design demand is given. In section 3, design scheme is introduced, which includes time arrangement, organization mode, design tasks and examination means. In section 4, a concrete design instances is given, associated hardware design and soft design are introduced. Finally, section 5 gives conclusions. 2. Objective and Demands of Course Design 2.1. Design Objective After completing the course of microcomputer principle and interface technology, students have learned the basal knowledge and hold associated practical ability in designing simple applied system. In the course design, some comprehensive design topics are given. Students select one of the design topics. They confirm design scheme, choose appropriate equipment, design system circuit, and then build hardware system, compile and debug assemble language program, until completing design topics. Through the course design, students learn to solve practical problem of microcomputer system using associated knowledge, student’s ability of analyzing problem and solving problem in comprehensive application of microcomputer system should be emphasized, then they can improved their ability of practice and innovation, which are very important for their following study and work. 2.2. Design Demands Students are required to design a comprehensive microcomputer system with definite practicability using associated knowledge in microcomputer principle and interface technology. Some design topics are given, students can select one of them, and also they can select other topics which satisfy the demands of this course design. In the process of course design, concrete design demands are as follows: • After selecting one design topic, students put forward design scheme, study associated function module, give design steps, and compose design instruction manual. • Every group design hardware circuit for design topic, and protract principle drawings of microcomputer system using PROTEL software. • Every group build hardware system, compile and debug assemble language program. • The work of course design can be completed in the experiment equipment, or in simulation software, such as PROTEUS, PSPICE, MULTISIM, etc.

Yanping Zhou / Procedia Engineering 15 00 (2011) 4211 – 4215 Yanping Zhou/ Procedia Engineering (2011) 000–000

• After completing design tasks, every group should compose design report and give a speech on their design work. 3. Scheme of Course Design 3.1. Time Arrangement The course design of microcomputer principle and interface technology can be arranged after completing the course of microcomputer principle and interface technology. Usually, an individual week is appropriate, total period is 40 hours, which including 20 hours in class and 20 hours out class. 3.2. Organization mode The course design of microcomputer principle and interface technology is mainly processed by students independently. Items of organization mode are listed as follows: • Students select design topic and constitute group independently. Every group includes 2 or 3 students, and chooses a group leader who coordinates the process schedule of the design. • Every 10 groups need a faculty adviser who guide the design process and give some required help to student’s problem. • Students spent 20 hours in classroom or laboratory, and extra 20 hours can be used in searching datum at library or having discussion at other place. • All students should participate report meeting. Group leader report associated problem of design course and answer questions proposed by faculty adviser. • Faculty advisers give estimations to every group according to their performance at design work and design report. 3.3. Design topics Students are required to design a comprehensive microcomputer system with definite practicability. Controller module of microcomputer system can select 8086 CPU, single chip, PC104, programmable logic controller, etc. Interface module includes digital interface unit, analog input unit, analog output unit, timer and counter unit, display unit, driver unit, etc. Selecting given design topics or optional topics are both permitted. Given design topics include motor control, traffic lamp control, temperature control, elevator control, charge measure of taxi, etc. Optional topics should satisfy the demands of this course design and be acknowledged by faculty adviser. 4. Instance of Course Design This section introduces an instance of course design of microcomputer principle and interface technology, associated system scheme and soft design are given. 4.1. Design Topic and Demands Design a DC motor control system, the demands and functions include: DC motor can be started and stopped by computer, the rotation direction and speed of DC motor can be set, the actual value and the set value of rotation speed of DC motor can be displayed on LCD.

4213 3

4214 4

Yanping Zhou / Procedia Engineering (2011) 4211 – 4215 Yanping Zhou/ Procedia Engineering 00 15 (2011) 000–000

4.2. Design Scheme PC104 CPU is used as the core of this microcomputer system, and other interface modules include 8255 unit, switch unit, LED unit, AD unit, DA unit, DC motor unit, LCD unit. Design scheme is given as follows and fig.1 is the principle drawing of designed system. • The signal of starting, stopping, positive rotation and reversal rotation of DC motor is provided by switch unit. These signals enter PC104 through A gate of 8255 unit, and then are sent to LED unit for displaying through B gate of 8255 unit, to DC motor for controlling through C gate of 8255 unit. • The set value of rotation speed of DC motor is given by resistor and is sent to PC104 through AD unit. After range switching in PC104, the rotation speed is sent to DC motor through DA unit. The actual value of rotation speed of DC motor enters PC/104 through AD unit and display on LCD unit. A0-A7

A0-A7

D0-D7

D0-D7

IORD

RD

IOWR

WR

IOY0

CE

IOY1 IOY2

PC104 A0-A7 D0-D7 RD LCD WR

8255

PA0 ··· PA7 PB0 ··· PB7 PC0 PC7

Aout A0-A7 D0-D7 WR CS DAC0832 A0-A7 IN2 D0-D7 IN1 RD WR CS ADC0809

+5V Switch +5V LED CH0 CH1 DJ OJ DC motor

Resistor VCC VSS

Fig. 1. The principle drawing of designed system

4.3. Soft Design Control soft is programmed by assemble language, and fig.2 is the flow chart of designed system. The following assemble language program is main program of code segment. MY_PROC PROC FAR MAIN: MOV AX, MY_DATA MOV DS, AX MOV DX,M8255 MOV AL,90H OUT DX,AL ;work mode STAR: MOV DX, AD0809 MOV AL,00H ;select channel OUT DX,AL ;start ADC MOV CX,DELAY_SET LOOP $ ;loop and wait IN AL,DX ;read set value MOV BL,AL MOV DX,DA0832 OUT DX,AL ;export set value

MOV IN MOV OUT MOV OUT MOV OUT MOV LOOP IN CALL CALL JMP MY_PROC ENDP

DX, A8255 AL,DX ;read control signal DX,B8255 DX,AL ;output for display DX,C8255 DX,AL ;output to DC motor AL,01H ; select channel DX,AL CX,DELAY_SET $ AL,DX ;read actual value DSUP ;call LCD display BREAK ;call program end STAR

Yanping Zhou / Procedia Engineering 15 00 (2011) 4211 – 4215 Yanping Zhou/ Procedia Engineering (2011) 000–000 Begin

End

Initialization

N

Start AD convertor for the set value of rotation speed

Wait time reach? Y Read the set value of rotation speed from ADC0809

N

Process the set value and send it to DAC0832 Read control signal of motor from A gate of 8255

Y Run end? The set and actual value of rotation speed display on LCD Read the actual value of rotation speed from ADC0809 Y Wait time reach?

N

Start AD convertor for the actual value of rotation speed Send control signal of motor to B and C gate of 8255

Fig. 2. The flow chart of designed system

5. Conclusions Facing to modern society with acute competition, the ability of practice and innovation is very important for the student of computer specialty. The course design of microcomputer principle and interface technology is practice course with stronger comprehension, it can consolidate student’s basal knowledge, help them form the realistic work style, and cultivate ability of application, design, practice and innovation. In the process course design, traditional mode, which usually give fixed design topic, is been changed. Students have more freedom in selecting design topic, design thought and design scheme. Since this course design implementing, students participated in this course generally give good evaluation, and the practice shows that this course design has flexible ways and positive effect on training student’s ability of system design and practice. References [1] Flynn, M. J., Harris N. R. Microcomputer System Design: An Advanced Course. Springer-Verlag, Subsequent edition; 2004 [2] Zamov N. K., Zvyagina N. I. and Samitov R. K. Assembler Language Macro Tools for the ES Computer: Course design for a computer-aided instruction system. Journal of Mathematical Sciences 1981; 46(6), 2243-2247 [3] Chen, Z.Y. Student-centred pedagogy in Computer Application course design. The China Papers 2006; 11, 73-77. [4] Richard S. L.A microcomputer-dependent statistics and design course. Behavioral Science 1987; 19(2), 128-130. [5] Qian, Y,G., Guan X.H. and Zhang S.L.The Exploration of Course Design of Parallel Computing in Information and Computer Science Specialty. In: 2010 International Conference on E-Business and E-Government (ICEE); 5576-5578. [6] Principles of Computer System Design: An Introduction, MIT free online course, http://ocw.mit.edu/resources/res-6-004principles-of-computer-system-design-an-introduction-spring-2009/.

4215 5

Suggest Documents