1 / 36

Group Lab Assignment (50 Points)

Group Lab Assignment (50 Points). Robot starts behind line, delivers Ping-pong ball to destination and returns to behind line 10 Point bonus – first group to succeed 10 Point bonus – each ball consecutively delivered Any mechanical modification Autonomous. Design Axioms.

malo
Download Presentation

Group Lab Assignment (50 Points)

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Group Lab Assignment (50 Points) • Robot starts behind line, delivers Ping-pong ball to destination and returns to behind line • 10 Point bonus – first group to succeed • 10 Point bonus – each ball consecutively delivered • Any mechanical modification • Autonomous

  2. Design Axioms • Main Entry: ax·i·omPronunciation: 'ak-sE-&mFunction: noun1: a maxim widely accepted on its intrinsic merit2: a statement accepted as true as the basis for argument or inference : POSTULATE 13: an established rule or principle or a self-evident truth Wikipedia: …The method gets its name from its use of design principles or design Axioms (i.e., given without proof) governing the analysis and decision making process in developing high quality product or system designs.

  3. Robotics Design Axioms • Software cannot overcome weak mechanical design • A machine cannot control what it cannot sense

  4. Lego Robotics Design Axioms • Lighter is better than heavier • Smaller is better than larger • Solutions requiring the least travel are better • Direct actuation is better than relying on Gravity • Fewer parts is better than many parts • Constrained objects behave better than unconstrained • Active sensing of location is better than deducing from navigation • Self-aligning is better than requiring careful aim • Reaching low is better than reaching high • Reaching near is better than reaching far • Mechanical solutions are better than robotic solutions • Solutions that allow easy return or retrieval are better • Solutions with fewer causes of failure are better

  5. Design project • Milestone 1 Friday 12th. • Make the iStamp play a song of your choosing,e.g. Mary had a little lamb or Stairway to heaven, see detailed description • Example lab0701.bsp – read manual for Piezo output

  6. Introduction to Mechatronics ENGR450 Presentation Matthew Stein

  7. Mecha-what? The word itself is a portmanteau of 'Mechanics' and 'Electronics'. • Main Entry: • 1port·man·teau • Pronunciation: • \pȯrt-ˈman-(ˌ)tō\ • Function: • noun • Etymology: • Middle French portemanteau, from porter to carry + manteau mantle, from Latin mantellum • Date: • 1579 • 1: a large suitcase 2 : a word or morpheme whose form and meaning are derived from a blending of two or more distinct forms (as smog from smoke and fog)

  8. Basics of Mechatronics Always described as a combination of mechanical and electronic devices Figure courtesy of Kevin Craig Marquette University

  9. Like what? Formerly mechanical control system replaced Performance improved by digital control Figure courtesy of Kevin Craig Marquette University

  10. How is it done?

  11. A little more detail Power Physical Signal Physical Signal Power Mechanical Electronic Electronic signal Electronic signal

  12. For Example: From: Howstuffworks.com

  13. Anti-lock brakes Hydraulics Physical Signal Mechanical Physics of car Electronic Wires Wires

  14. This class

  15. Signals • Arrows in the diagram are signals • Signals are either mechanical • Pneumatic/Hydraulic pressure or flow • Position/velocity/acceleration/rotation • Deformation/deflection/pressure • Or electrical • Voltage/current/charge • Analog or digital • Mechatronics always has both

  16. What’s the difference • A digital signal is a voltage • Either 5V or 0V (logical 1 or logical 0) • In between is undefined • Chosen for convenience • Konrad Zuse, Eckerd&Mauchley (1940’s) • Represented in binary

  17. Lab Exercise (10 minutes) • Hook a DVM to port 0 • Write a simple program to toggle ON/OFF • What is the reading on the DVM? • Mechatronics makes use of the physical implementation of digital logic • Makes electrical use of 0V to 5V transition

  18. Analog signals • An analog signal is also voltage • Range chosen for convenience • Any value in a given range • 0V-5V • -5V – 5V • 0 V– 10V • All physical signals are inherently analog

  19. How to handle • Digital computer cannot handle directly • 3.7V not immediately usable by a computer • Convert between Analog and Digital • Analog to digital conversion (A/D) • Digital to Analog conversion (D/A) • Produce a voltage to represent the value of a signal relative to its range

  20. How’s it done? • Start with D/A: • Lab exercise (Start now, complete by Friday) Probe • Build this circuit • Any resistor > 1K will do • Get 13 identical resistors • Wire them up like this Output ports 0-3

  21. Digital Range • 4-Bit number • Range 0-15 • Represents in volts 0 to VREF in increments of 1/15th • If VREF = +5V • Every bit is 5/15V or 1/3V

  22. Possible Representations • 4-Bit number representing 0V – 5V

  23. Possible Representations • 4-Bit number representing 0V – 5V

  24. Voltage Equivalents • B0 “Bit Zero” The Least Significant Bit (LSB) • B0 = 0.3125V (1/16 VREF) • B1 = 0.625V (2/16 VREF) • B2 = 1.25V (4/16 VREF) • B3 = 2.5V (8/16 VREF)

  25. Easy conversion • If each bit is a 5V/0V signal • This circuit effectively adds bits together

  26. Easy conversion Wikipedia Thevenin Example: R-2R Ladder

  27. D/A Conversion • D/A works by a relatively straightforward resistor network. • 4 bit nibble represents 16 distinct voltages scaled by VREF • More bits more distinct voltages • Conversion instantaneous (i.e speed of light)

  28. Simple A/D Conversion • Uses D/A and successive approximation. • Counter increases binary number until voltages match • Once matched, signal the end of A/D More complex schemes are faster but not that different

  29. A/D Conversion • Result is a n-bit binary number representing voltage (percentage of VREF) • More bits more precision • 8 bits = 256 distinct voltages • 10 bits = 1024 voltages (2 10 )

  30. From izeBot Manual Since the i-stamp or Basic Stamp 2SX, which is the main micro-controller in the iZEBOT Stamp-BOX, does not have an analog to digital converter module (A/D converter), an external converter must be connected in order to communicate with components that send out voltage signals, such as Module GP2D120. Therefore, IC QP410 will be used to convert and send digital signals to the main micro-controller. (pg 35)

  31. Program to read the ADC

  32. Notes from manual (1) Pauses or delays for 1 second so that the IC QP410 is ready to operate. (2) Sends a pulse signal so that the IC QP410 can acknowledge and get ready to communicate with the Stamp-BOX (3) The i-Stamp sends the value of the channel to be read to the IC QP410. From Listing A12-1, the value is 1 which means that it will be communicate with ANALOG1 (4) The i-Stamp reads the value from channel ANALOG1 of the IC QP410 and stores it in the variable ADC. The variable is defined as type word, which can store up to 16 bits of data, therefore easily storing the 10 bit data from the IC QP410. (5) i-stamp sends the value that it reads to be displayed on the Debug Terminal.

  33. Lab Exercise (20 minutes) • Build the structure to attach the GP2D120 to the ezbot • Use the program to determine basic functionality

  34. How does it work? • Figure from manual • “Array of photransistors” will be discussed later

  35. Group Lab Assignment 1 (30 minutes, 20 Points) • Use the relationship given in the manual • Calibrate the GPD • Write a program that displays distance in CM • Instructor will test +/1 2cm for credit

More Related