Industrial Robotics and Machine VisionIntroduction and ContextIndustrial robotics combines mechanical systems, sensing, control, computation, and manufacturing processes to perform tasks with repeatable speed and precision. Machine vision extends robot capability by allowing a system to observe objects, measure features, locate parts, identify defects, and guide motion. Together, robotics and vision form a central technology platform for flexible manufacturing, automated inspection, packaging, assembly, welding, logistics, and process monitoring. A modern robotic cell is not simply a robot arm. It is an integrated system containing a manipulator, controller, end effector, sensors, safety devices, fixtures, communication networks, production software, and human operators. Successful application therefore requires both technical analysis and consideration of process capability, safety, maintainability, and cost. Learning ObjectivesBy the end of this chapter, the reader should be able to: - Classify industrial robots according to structure, motion, and application.
- Explain forward and inverse kinematics, workspace, singularities, and repeatability.
- Select end effectors and plan collision-free robot trajectories.
- Describe robot programming, calibration, and coordinate transformations.
- Distinguish conventional industrial robots from collaborative robots.
- Explain the principles of machine-vision inspection and robot guidance.
- Evaluate an integrated robotic-vision application, including limitations and safety requirements.
1. Industrial Robot FundamentalsAn industrial robot is a reprogrammable, multifunctional manipulator designed to move materials, parts, tools, or specialized devices through programmed motions. A robot system normally includes: - Manipulator: links and joints that create motion.
- Actuators: electric servomotors, hydraulic cylinders, or pneumatic drives.
- Controller: computer hardware and software that generate motion commands.
- End effector: device attached to the wrist for grasping, processing, or sensing.
- Teach pendant or programming interface: used to create, test, and modify programs.
- External equipment: fixtures, conveyors, presses, welding sources, vision systems, and safety devices.
Important performance terms include: - Payload: maximum permissible mass at a specified wrist configuration, including the tool and workpiece.
- Reach: maximum distance from the robot base to an accessible point.
- Position accuracy: closeness of the achieved position to the commanded position.
- Repeatability: closeness of repeated motions to one another.
- Resolution: smallest detectable or commanded movement.
- Cycle time: time required to complete one operation or production cycle.
Accuracy and repeatability are not interchangeable. A robot can repeatedly reach the wrong location if its geometric model or calibration is incorrect. In many production operations, high repeatability combined with accurate fixtures is more valuable than absolute accuracy. 2. Robot Classifications2.1 Classification by Mechanical Structure| Robot type | Principal geometry | Typical applications | Main characteristics |
|---|
| Cartesian | Three mutually orthogonal linear axes | CNC loading, 3D printing, palletizing | Simple kinematics, rectangular workspace | | Cylindrical | Rotary base and linear axes | Machine tending, assembly | Cylindrical workspace | | Spherical or polar | Rotary and angular joints with extension | Older handling and welding systems | Large radial reach | | SCARA | Two parallel rotary joints plus vertical motion | High-speed assembly, packaging | Selective compliance in horizontal plane | | Articulated | Several rotary joints | Welding, painting, assembly, handling | Flexible orientation and reach | | Delta or parallel | Parallel linkages driven from a fixed frame | High-speed pick-and-place, food packaging | Low moving mass, limited payload |
An articulated robot is often described by its number of axes or degrees of freedom (DOF). Six-axis robots are common because they can independently control three-dimensional position and three-dimensional orientation of a tool. A typical six-axis arrangement contains base rotation, shoulder, elbow, and three wrist axes. 2.2 Classification by Control and ApplicationRobots may also be classified as fixed-sequence, point-to-point, continuous-path, or intelligent/sensor-based systems. Point-to-point control is suitable when only target locations matter, such as palletizing. Continuous-path control is required for welding, painting, dispensing, and machining, where the path between points affects quality. Applications include material handling, arc and spot welding, assembly, machine tending, painting, packaging, inspection, and additive or subtractive processing. Selection should consider payload, reach, speed, environmental protection, accuracy, tooling, cycle time, and integration cost—not merely the number of axes. 3. Robot KinematicsKinematics describes motion without considering forces or torques. A robot's joint variables are commonly represented by the vector q = [q1, q2, ..., qn]T, where revolute-joint variables are angles and prismatic-joint variables are linear displacements. 3.1 Coordinate Frames and Homogeneous TransformationA rigid-body pose consists of position and orientation. The homogeneous transformation from frame B to frame A is {}A TB = [ R p ] [ 0 1 ] where R is a 3 × 3 rotation matrix, p is a 3 × 1 position vector, and the bottom row is [0 0 0 1]. Position has units of length; rotation is dimensionless. The transformation is valid for rigid frames using right-handed coordinates. Transformations compose by matrix multiplication: {}A TC = {}A TB {}B TC The order matters. In general, matrix multiplication is not commutative. The inverse transformation is {}A TB-1 = [ RT −RT p ] [ 0 1 ] because a rotation matrix satisfies R-1 = RT. 3.2 Forward KinematicsForward kinematics calculates the tool pose from known joint variables. For a serial robot, individual link transformations are multiplied: {}0 Tn(q) = {}0 T1(q1) {}1 T2(q2) ... {}n−1 Tn(qn) The result gives the position and orientation of the tool frame relative to the base. The Denavit–Hartenberg convention is a systematic way to assign frames and describe each link using four parameters: link length, link twist, link offset, and joint angle. Different frame conventions are acceptable, but they must be used consistently. 3.3 Inverse KinematicsInverse kinematics determines joint variables that produce a desired tool pose. It may have zero, one, or multiple solutions. Some solutions may violate joint limits, cause collisions, or produce an undesirable posture. Numerical methods are widely used for complex robots, while analytical solutions are valuable when available because they are fast and reveal alternative configurations. 3.4 Jacobian and SingularitiesThe Jacobian relates joint rates to tool linear and angular velocity: v = J(q) q̇ where v is the six-component spatial velocity, J(q) is the Jacobian matrix, and q̇ is the joint-rate vector. The Jacobian depends on configuration and uses consistent units, typically metres per second and radians per second. A singularity occurs when the Jacobian loses rank. At such a configuration, some Cartesian motions cannot be produced independently, and very large joint rates may be required for a modest tool velocity. Singularities should be detected during trajectory planning and avoided where possible. 3.5 WorkspaceThe workspace is the set of positions, or poses, reachable under joint limits, mechanical constraints, and collision restrictions. The theoretical workspace may be larger than the usable workspace because of tooling, fixtures, safety zones, orientation requirements, and payload limitations. Workspace analysis is essential when locating the robot, conveyor, fixture, and safety fencing. 4. End Effectors and Tool SelectionAn end effector connects the robot to the process. Grippers may be mechanical, vacuum, magnetic, adhesive, or compliant. Process tools include welding guns, spray guns, screwdrivers, milling spindles, dispensing nozzles, and inspection probes. Selection should address: - workpiece mass, shape, surface, temperature, and fragility;
- required gripping force and allowable contact pressure;
- tool mass and centre of gravity;
- quick-change requirements;
- pneumatic, electrical, hydraulic, or data connections;
- failure behavior during loss of energy;
- contamination, wear, and maintenance;
- sensing of grip confirmation.
For a simple friction gripper, a conservative holding condition can be expressed as n μ Fg ≥ S m g where n is the number of frictional contact surfaces, μ is the coefficient of friction, Fg is normal force per contact, S is a safety factor, m is workpiece mass, and g is gravitational acceleration. This simplified relation assumes the load acts vertically, friction is the primary retention mechanism, and dynamic loads and moments are either negligible or included conservatively in S. Real gripper design must also evaluate acceleration, torque, contact geometry, and failure modes. 5. Trajectory Planning and ProgrammingA robot program specifies targets, speeds, accelerations, tool data, frames, I/O actions, and logic. Programming methods include teach-and-repeat, offline programming, textual languages, graphical simulation, and sensor-driven adaptive programming. A motion may be commanded as: - Joint interpolation: each joint moves to its target; the tool path may be curved.
- Linear interpolation: the tool follows a straight Cartesian path between points.
- Circular interpolation: the tool follows a circular arc defined by suitable points.
A common smooth scalar trajectory uses a cubic polynomial: s(t) = s0 + (3Δs/T2)t2 − (2Δs/T3)t3, 0 ≤ t ≤ T where s0 is the initial coordinate, Δs is the displacement, T is motion duration, and t is time. This trajectory has zero initial and final velocity, since its derivative is zero at t = 0 and t = T. It is useful when endpoint velocity must be zero, but it does not generally ensure zero acceleration at both endpoints. Higher-order profiles may be selected when acceleration continuity is important. Trajectory planning must check joint limits, velocity and acceleration limits, singularities, collision avoidance, tool orientation, process speed, and emergency-stop behavior. A safe program includes interlocks, part-present confirmation, gripper feedback, and recovery logic rather than assuming every cycle succeeds. 6. Calibration and Coordinate SystemsCalibration reduces the difference between the robot's mathematical model and the physical cell. Relevant frames include the robot base, tool center point (TCP), work object or fixture, camera, conveyor, and part. TCP calibration determines the location and orientation of the tool reference point relative to the robot wrist. Work-object calibration establishes the relationship between a fixture and the robot base. Hand–eye calibration determines the transformation between a camera and robot, either with the camera mounted on the robot or fixed in the cell. A vision-guided point is transformed through a chain such as {}B p = {}B TC {}C p where {}C p is a point measured in the camera frame and {}B TC is the calibrated camera-to-base transformation. Errors in camera calibration, lens distortion correction, robot mastering, fixture location, or timing can produce systematic placement errors. Calibration should therefore be verified using independent reference points and repeated measurements. 7. Collaborative RoboticsCollaborative robots, or cobots, are designed for applications in which humans and robots may share a workspace under defined safeguards. Collaboration is not created merely by purchasing a robot marketed as collaborative. The complete application—including tool, workpiece, speed, force, sharp edges, pinch points, and foreseeable misuse—must be assessed. Common collaborative strategies include safety-rated monitored stop, hand guiding, speed and separation monitoring, and power-and-force limiting. Risk assessment determines which strategy and protective measures are appropriate. A cobot may still require guarding, scanners, interlocks, or restricted operating modes. Standards and local regulations should be consulted, including applicable robot safety requirements such as ISO 10218 and collaborative-operation guidance such as ISO/TS 15066, together with national legislation. 8. Machine Vision for Inspection and GuidanceA machine-vision system typically contains illumination, lens, camera, image-acquisition hardware, processing software, and communication with a controller. The basic sequence is: - present and illuminate the object;
- acquire an image;
- correct or filter the image;
- segment the object or feature;
- extract measurements or descriptors;
- classify the result or calculate pose;
- communicate the decision or target to the robot.
Lighting is often more important than the camera. Backlighting emphasizes silhouettes, diffuse lighting reduces glare, structured lighting reveals surface shape, and polarized lighting can suppress reflections. Lens selection determines field of view, working distance, distortion, and spatial resolution. For a camera with horizontal sensor width Ws, image width Np pixels, and object field width Wo, the approximate object-plane resolution is r = Wo / Np where r is length per pixel. This estimate assumes a calibrated, approximately uniform scale and does not account for perspective, lens distortion, or subpixel measurement. If a 12.8 mm field is represented by 1,280 pixels, r = 12.8/1280 = 0.010 mm/pixel. This does not mean that every feature can be measured accurately to 0.010 mm; optical contrast, noise, calibration, and algorithm performance also matter. Typical vision operations include thresholding, blob analysis, edge detection, template matching, optical character recognition, barcode reading, dimensional measurement, and defect classification. A binary threshold may separate foreground from background, but changing illumination can cause false rejects or false accepts. Production systems therefore require controlled lighting, statistical validation, and monitoring of image quality. For robot guidance, the vision system estimates a part's position and orientation. The robot then transforms that pose into its base or work-object frame and applies an approach, grasp, and retreat strategy. Conveyor tracking may additionally require time synchronization and encoder feedback because the part moves between image capture and robot action. 9. Integrated Application: Illustrative Case of Vision-Guided Bin PickingBackgroundConsider a fictional but representative manufacturing cell in which a six-axis robot removes randomly oriented aluminum housings from a bin and places them into a machining fixture. A fixed overhead camera observes the bin. ProblemA conventional fixed-location program fails because parts overlap, orientations vary, and occasional empty regions cause the gripper to descend without a valid target. The process also experiences placement errors when the fixture is manually repositioned. AnalysisThe system requires three capabilities: reliable object detection, estimation of part pose, and collision-safe motion. The camera must distinguish the housing from the bin and identify graspable regions. The robot must use a calibrated camera-to-base transformation. The controller must reject targets that are too close to bin walls or other parts. Approach and SolutionDiffuse structured lighting is installed to improve contrast. The vision algorithm segments candidate housings, extracts contours, and estimates two-dimensional position and orientation. A calibrated transformation maps the selected target into the robot frame. The robot approaches vertically at reduced speed, closes a compliant parallel gripper, verifies grip using force or position feedback, and then moves through a programmed retreat path. Fixture sensors confirm correct seating before machining begins. The program includes timeouts, image-quality checks, empty-bin detection, collision monitoring, and a recovery routine. The fixture is referenced to calibrated datums rather than manual marks. Before production release, the cell is tested across part batches, lighting conditions, temperature changes, and representative failure cases. OutcomeThe integrated system improves flexibility and reduces manual handling, but performance depends on part separation, stable illumination, calibration quality, and gripper reliability. The case illustrates that vision does not eliminate fixturing or process design; it shifts the design emphasis toward sensing, uncertainty management, and fault recovery. Learning Points- The camera, robot, tool, fixture, and software must be designed as one system.
- Calibration errors are systematic and can often be diagnosed using reference artifacts.
- A successful demonstration is not equivalent to a validated production process.
- Recovery behavior is part of automation quality, not an optional feature.
10. Performance, Reliability, and Professional PracticeImportant evaluation measures include cycle time, throughput, first-pass yield, false-reject rate, false-accept rate, uptime, mean time between failures, and maintainability. Vision performance should be tested with known-good and known-defective samples. Robot performance should be verified at realistic payloads and speeds, not only in no-load demonstrations. Automation engineers should document coordinate frames, tool data, software versions, calibration records, safety circuits, maintenance procedures, and change-control decisions. Cybersecurity is increasingly relevant because robots and vision controllers may be connected to industrial networks. Access control, network segmentation, secure backups, patch management, and recovery plans reduce operational risk. Ethically and professionally, designers must protect workers, avoid misleading performance claims, provide adequate training, and consider the effects of automation on job roles. Data collected by cameras may raise privacy concerns, especially in shared workspaces. Safety decisions must be based on risk assessment and applicable standards rather than convenience. 11. Limitations and Contemporary DevelopmentsRobots remain sensitive to unmodeled flexibility, backlash, payload changes, vibration, thermal drift, and uncertain contact. Vision systems are affected by glare, occlusion, contamination, changing illumination, and domain differences between training and production images. Artificial intelligence and deep learning can improve classification and pose estimation, particularly for variable appearance, but they require representative data, validation, monitoring, and a defined response to low-confidence results. An AI prediction should not silently command unsafe motion. Current developments include mobile manipulators, 3D vision, force-controlled assembly, digital twins, edge computing, adaptive welding, human-aware planning, and data-driven predictive maintenance. These technologies increase flexibility but also increase integration complexity. Engineering judgment remains necessary to determine whether the added capability produces measurable process value. Chapter SummaryIndustrial robots are integrated mechatronic systems whose performance depends on mechanics, control, tooling, sensing, programming, and safety. Robot classification helps engineers match structure and motion capability to an application. Kinematics provides the mathematical relationship between joint variables and tool pose; homogeneous transformations support coordinate conversion, while the Jacobian explains velocity relationships and singularities. Workspace, payload, reach, accuracy, and repeatability must be evaluated together. End effectors must be selected for load, geometry, friction, compliance, utilities, and failure behavior. Trajectory planning must respect limits, collisions, singularities, and process requirements. Calibration establishes reliable relationships among robot, tool, fixture, and camera frames. Collaborative operation requires application-specific risk assessment. Machine vision depends on controlled illumination, suitable optics, robust image processing, calibration, and validated communication with the robot. In all applications, fault recovery, documentation, cybersecurity, and human safety are as important as nominal cycle performance. Key TermsRobot: Reprogrammable machine that performs programmed physical operations. Manipulator: Mechanical structure consisting of links and joints. Payload: Maximum specified load carried by a robot under defined conditions. Repeatability: Ability to return repeatedly to nearly the same location. Accuracy: Closeness of an achieved result to its commanded value. Degree of freedom: Independent motion variable of a mechanical system. Workspace: Set of positions or poses reachable by a robot. Forward kinematics: Calculation of pose from joint variables. Inverse kinematics: Calculation of joint variables from a desired pose. Homogeneous transformation: Matrix representation of rigid-body position and orientation. Jacobian: Matrix relating joint rates to Cartesian velocity. Singularity: Configuration in which the Jacobian loses rank. End effector: Tool or gripper mounted on the robot wrist. Trajectory: Time-varying path and motion profile. Calibration: Determination or correction of geometric relationships and measurement errors. Machine vision: Computer-based acquisition and interpretation of images. Field of view: Physical region imaged by a camera. Collaborative robot: Robot application designed for defined human–robot interaction. False reject: Good part incorrectly classified as defective. Hand–eye calibration: Estimation of the transformation between a camera and robot. Review QuestionsShort Answer Questions- Distinguish robot accuracy from repeatability.
- What is the purpose of a homogeneous transformation matrix?
- Why should robot singularities be avoided during trajectory planning?
- Name four factors that influence machine-vision image quality.
- Why does purchasing a collaborative robot not by itself make an application safe?
Long Answer Questions- Compare Cartesian, SCARA, articulated, and delta robots in terms of structure, workspace, and applications.
- Explain forward and inverse kinematics and discuss why inverse kinematics may have multiple solutions.
- Describe a complete calibration procedure for a camera-guided robot cell.
- Explain how end-effector selection affects payload, reliability, and worker safety.
- Discuss the stages of a machine-vision inspection system, from illumination to production decision.
Analytical / Application Questions- A robot must pick parts from a moving conveyor using a fixed camera. Identify the coordinate transformations, timing information, and failure checks required for reliable operation.
- A gripper has two friction contacts, coefficient of friction 0.30, and normal force 80 N per contact. For a 3 kg stationary vertical load, determine whether the simplified condition n μ Fg ≥ S m g is satisfied for a safety factor of 2. State the assumptions and limitations of your conclusion.
- A vision system produces many false rejects after a factory light is replaced. Diagnose likely causes and propose a validation and corrective-action plan.
Multiple Choice Questions with AnswersQuestion 1Which robot type is especially associated with high-speed horizontal-plane assembly and vertical insertion? A. SCARA robot B. Spherical robot C. Cartesian gantry only D. Hydraulic excavator Correct Answer: A. SCARA robot Question 2What does forward kinematics calculate? A. Joint variables from a desired pose B. Tool pose from known joint variables C. Camera exposure from lens diameter D. Payload from cycle time Correct Answer: B. Tool pose from known joint variables Question 3In the transformation matrix {}A TB, what does the vector p represent? A. The position of frame B relative to frame A B. The robot's payload C. The joint-rate vector D. The image pixel resolution Correct Answer: A. The position of frame B relative to frame A Question 4A robot singularity is associated with which condition? A. The gripper has zero mass B. The Jacobian loses rank C. The camera has excessive brightness only D. The workpiece is perfectly centered Correct Answer: B. The Jacobian loses rank Question 5Which motion command is intended to make the tool follow a straight Cartesian path? A. Joint interpolation B. Linear interpolation C. Random interpolation D. Open-loop calibration Correct Answer: B. Linear interpolation Question 6A camera images a 12.8 mm-wide field across 1,280 pixels. What is the approximate object-plane scale? A. 0.001 mm/pixel B. 0.010 mm/pixel C. 0.100 mm/pixel D. 10.0 mm/pixel Correct Answer: B. 0.010 mm/pixel Question 7Which lighting arrangement most directly emphasizes the silhouette of an opaque part? A. Backlighting B. Uncontrolled overhead lighting C. Laser heating D. Dark-field audio sensing Correct Answer: A. Backlighting Question 8What is the main purpose of hand–eye calibration? A. To determine the relationship between camera and robot frames B. To increase motor voltage C. To measure gripper friction only D. To remove all robot joint limits Correct Answer: A. To determine the relationship between camera and robot frames Question 9Which statement about collaborative robots is correct? A. They never require risk assessment B. Their safety depends on the complete application and safeguards C. They can exceed all force limits when operating slowly D. They eliminate the need for emergency stops Correct Answer: B. Their safety depends on the complete application and safeguards Question 10For a friction gripper, increasing the coefficient of friction generally does what under the simplified holding model? A. Decreases available frictional holding force B. Increases available frictional holding force C. Eliminates the effect of gravity D. Makes payload independent of contact force Correct Answer: B. Increases available frictional holding force
|