Vous êtes sur la page 1sur 17

Welcome to ME235: Switching Control and Computer Interfacing

Course staff Course web This week

Steve Kraft (Instructor) Office hours, Tuesday and Thursday, 5:15 - 6:15, 5138 Etcheverry
www.me.berkeley.edu/ME235.S2002/ Why are we here? Who is taking this class? What are you going to learn? What will we be doing in this class?

ME 235 - Spring 2002 - Introduction - 1

Why are we here?


Obvious reasons?

Course is not required


Learn how to build an embedded system! Digital logic design Interfacing computers to the world Embedded software

Most important reason Details

ME 235 - Spring 2002 - Introduction - 2

What will we learn in ME 235?


Language of logic design

Boolean algebra, logic minimization, state, timing, CAD tools


Analogous to variables and program counters in software systems Hardware description languages Tools to simulate the workings of our designs Logic compilers to synthesize the hardware blocks of our designs Mapping onto programmable hardware (code generation) Both map well-posed problems to physical devices Both must be flawlessthe price we pay for using discrete math

Concept of state in digital systems

How to specify/simulate/compile our designs

Contrast with software design

ME 235 - Spring 2002 - Introduction - 3

What will we learn in ME 235 (continued)?


Interface with the world Embedded computing

Connecting digital logic to the world Isolating digital logic from the world
Common architectures of embedded systems Embedded software Digital signal processing

ME 235 - Spring 2002 - Introduction - 4

Applications of these topics


Conventional computer design
CPUs, busses, peripherals
Phones, modems, routers

Networking and communications Embedded products

Cars, toys, appliances, entertainment devices Testing, sensing, reporting

Scientific equipment

World of computing much bigger than just PCs!

ME 235 - Spring 2002 - Introduction - 5

The changing face of ME 235


In the age of the dinosaurs...

Build circuits out of discrete logic parts (NAND, NOT, etc.) In that world, logic reduction drove the entire class This is not the case today - logic minimization will be relevant for a very small percentage of CS 150 students, and a smaller percentage of ME 235 students.
Focus more on using CAD tools, less on hand-solving logic minimization problems Hardware and software design are significantly blurred, and will continue to be blurred

Today

ME 235 - Spring 2002 - Introduction - 6

Comments and changes from previous class


Student comments...

Resulting changes

More of a lab and project focused class. All homework will be laboratory based More of a focus during class on designs, less on implementation details

ME 235 - Spring 2002 - Introduction - 7

Course lectures overview


Digital logic design from now until week 6

1 week of midterm review and midterm


2 weeks of computer to PLD interfacing 2 weeks of real world devices and interfacing

2 weeks of real-time software

ME 235 - Spring 2002 - Introduction - 8

Course labs overview


Labs held in 2170, Friday 2-5

1st lab is introduction to building simple circuits and using the laboratory equipment
Building a closed loop position control system where you handle encoder monitoring, PWM generation, bus interface, and realtime software.

ME 235 - Spring 2002 - Introduction - 9

Course hardware overview


Digilent manufactured Xilinx development board with Xilinx foundation tools - these are state of the art tools and parts, albeit for small designs SHARC development boards from Analog Devices excellent toolchain, easy to use Begin with logic design, eventually wire the SHARC board bus to the Xilinx board Build systems that bring data in through the Xilinx board, process it on the SHARC board, and put it out through the Xilinx board.

ME 235 - Spring 2002 - Introduction - 10

Course project overview


Most of your grade comes from this project

The design, and documentation of that design, is as important as the implementation


Start thinking NOW about what you want to build.
Most fun to build something that is interesting to you Example: open water swimming navigating device? Example: see some projects at www.me.berkeley.edu/ME235/

Couple of guidelines: working on or viewing your project should not require E-stop circuit, guard doors, etc. Using voltages over perhaps 24 V is discouraged. Check with me for higher voltages.
ME 235 - Spring 2002 - Introduction - 11

Course grading
Philosophy

Midterm: 10%
Labs: 30% (10 of 12) Final project: 60%
Proposal (10%) Detailed design (20%) Implementation (20%) Other (10%)

ME 235 - Spring 2002 - Introduction - 12

Group web sites


Each lab group has a project web site

Each project phase will be web published


Everything is included, from initial design documents to complete source code for DSP and Xilinx part.

ME 235 - Spring 2002 - Introduction - 13

Homework assignment
Big goal of project

Protect the Xilinx chip from the world!


Voltage regulators DC/DC converters Optocouplers A/D, D/A converters Operational amplifiers Comparators Diodes Buffers Inverters

Get samples on order of the following useful parts:

ME 235 - Spring 2002 - Introduction - 14

Homework assignment (continued)


For your components:

DIP or PDIP packages Ease of interfacing LS, TTL, HCT families if possible

Send me links to the parts that you have ordered.

Choose at least two and get familiar with Digikey, Jameco, Al Lashers, and Cory. Post a half page description on your website.
Everyone should learn what is available in Etcheverry.

ME 235 - Spring 2002 - Introduction - 15

Consider for your project


Precut and stripped wires from Lashers

Your own small toolset (wirecutters, etc.)

ME 235 - Spring 2002 - Introduction - 16

Summary
That was what the entire course is about

Learning lots of new material Dont get frustrated - dig into suppliers information Use the larger team - somebody will have the component you need, and will have insight into how to use it Start thinking about the project now.

ME 235 - Spring 2002 - Introduction - 17

Vous aimerez peut-être aussi