Difference between revisions of "Reverse Engineering"

From EG1004 Lab Manual
Jump to: navigation, search
(No difference)

Revision as of 17:43, 15 February 2005

EG1004 Lab 3: Reverse Engineering

3.1 OBJECTIVES

The experimental objective of this lab is to use the principles of reverse engineering to discover a robot’s function. To do this, you will take apart a robot, measure its gear and velocity ratios, and describe its gear trains.

We will learn the importance of reverse engineering and develop the ability to take a mechanism apart, analyze its parts, and then describe how they work.

3.2 OVERVIEW

Adapted from http://www.whatis.com.15

Reverse engineering is taking apart an object to see how it works in order to improve or reproduce it. The practice, taken from older industries, is now used frequently in computer hardware and software development.

Automobile manufacturers often reverse engineer competitor's vehicles. They buy them, disassemble them, and examine the components and manufacturing elements of the vehicles in order to improve their own products. Sometimes, engi­neers will reverse engineer a part by producing a 3D image of the manufactured part when a blueprint isn't available. The part is measured, and a 3D wireframe image is generated and dimensioned. This image serves as a blueprint for manufacturing. Almost any part can be recreated by reverse engineering it this way.

Reverse engineering software involves reversing a program's machine code to obtain the original source code. This needs to be done when source code is lost. For example, when an older company is taken over by new ownership, or when an unfin­ished project is reassigned to a different team. Sometimes, this process is also under­taken as a way to improve the performance of a program, to fix a bug, or to find a virus. When the source code is obtained in this way for any of these reasons it is legal and necessary. Reverse engineering software in order to copy it constitutes a copy­right violation and is illegal.

Hardware reverse engineering involves taking apart a device to see how it works. If a processor manufacturer wants to see how a competitor's processor works, the company can purchase the processor, disassemble it, and then make a new processor similar to it. In some countries, this process is illegal. Hardware reverse engineering is quite expensive and requires an expert in the field.

When you begin the process of reverse engineering your robot, identifying the gear trains and the individual gears used in the original design is critical to your understanding of the robot's operation.

There are two types of gear trains: simple and compound. A simple gear train has its gears arranged in a line (see Figure 3.1).

File:Lab3 1.jpg

Figure 3.1: Simple gear train

Compound gear trains use axles to connect the component gears (see Figure 3.2).

File:Lab3 2.jpg

Figure 3.2 Compound gear train

Gear trains have measurable characteristics known as gear ratio and gear velocity. These characteristics are inversely proportional. Gear ratio equals output over input, while velocity ratio equals input over output. To determine input and output values, measure the gear’s radius.

For example, to compute the gear ratio of the gear trains above, use these formulas:

File:Lab3 3.gif

File:Lab3 4.gif

Simple gear train

Compound gear train

For example, to compute the velocity ratio of the gear trains above, use these formulas:

File:Lab3 5.gif

File:Lab3 6.gif

Simple gear train

Compound gear train

It is important to note that the input is the source of rotation in a system, like a motor, and the output is the final gear of rotation in a system, like a wheel.

Figure 3.3: Types of Gears

File:Lab3 7.jpg

File:Lab3 8.jpg

Figure 3.3a: Rack gear. Its purpose is to change
the direction of rotation perpendicularly, and to
change the motion from.
 

Figure 3.3b: Crown gear. Its purpose is to change
the direction of rotation perpendicularly rotation to
linear translation.
 

File:Lab3 9.jpg

File:Lab3 10.jpg

Figure 3.3c: Spur gear. Its purpose is to
transmit torque through the gear train.
 

Figure 3.3d: Worm gear. Its purpose is to change the
direction of rotation perpendicularly
 

File:Lab3 11.jpg

File:Lab3 12.jpg

Figure 3.3e: Idler gear. Its purpose is to
transfer force while not affecting the gear or velocity ratios.
 

Figure 3.3f: Pulley gear. Its purpose is to transmit
rotation from one point to one or more other points.
 

Figures 3.3a-d courtesy of www.howthingswork.com
Figure 3.3f courtesy of Honda Motor Company, Inc.

Gears are used in product design to increase or decrease speed and torque. Torque is a turning force. Gear trains are designed to transmit a turning force, or torque, from one point to another. The force, F, produced by any mass is equal to the product of mass, m, and acceleration, a:

F = m *a

The torque produced by that force is equal to the product of force, F, and distance, D, from the rotational axis:

T = F * D

Your objective as you reverse engineer your robot is to understand how it works and to calculate the gear and velocity ratios for its gear trains. Remember, engineers reverse engineer products to reproduce or improve them. As you disassemble your device, consider how you would improve your robot's design.

3.3 YOUR ASSIGNMENT

PowerPoint Presentation and Individual Lab Report (one individual report per student)

The following discussion points must be addressed in the appropriate section of your lab report and in your PowerPoint presentation:

  • What is the robot’s function?
  • Describe how the components fit together and how the device was constructed.
  • Describe how you calculated the gear and velocity ratios, and discuss their importance in the overall robot design.
  • Isthe design adequate for its function?
  • Suggest design improvements.

3.4 MATERIALS AND EQUIPMENT

  • Previously Built Robot
  • Graph Paper
  • Ruler

Remember: You are required to take notes. Experimental details are easily forgotten unless written down. You should keep a laboratory notebook for this purpose. Use your lab notes to write the Procedure section of your lab report. You must hand in a copy of your lab notes to the WC. Keeping careful notes is an essential component of all scientific practice.

3.5 PROCEDURE

  1. Visually assess the robot's design. Consider how it works. Form a hypothesis based on your observations.
  2. Sketch the front, top, and most detailed side of the robot. Be sure to include dimensions in your sketch.
  3. Also sketch the most detailed view of the gear train.
  4. Before disassembling your robot, ask your TA to take a picture of it.
  5. Disassemble the robot. Analyze its inner workings and sketch the gear train(s). Note: All sketches in EG must be done in pencil.
  6. Label major components and describe their functions.
  7. Compute the velocity and gear ratios.
  8. Have all sketches and original data signed by your TA.

Your lab work is now complete. Please clean up your workstation. Return all unused materials to your TA. Refer to Section 3.3 Your Assignment for the instructions you need to prepare your lab report.


Return to Index