S6-SA2-0529
What is the Use of Trigonometry in Machine Vision for Quality Control?
Grade Level:
Class 10
AI/ML, Physics, Biotechnology, Space Technology, Chemistry, Engineering, Medicine
Definition
What is it?
Trigonometry helps machine vision systems measure and inspect objects accurately for quality control. It uses angles and distances to understand the shape, size, and position of items, ensuring they meet specific standards.
Simple Example
Quick Example
Imagine a machine needs to check if a biscuit is perfectly round. A camera takes its picture. Using trigonometry, the machine can calculate the biscuit's exact diameter and check if it's within the acceptable range, just like you use a ruler to check if your drawing lines are straight.
Worked Example
Step-by-Step
Let's say a machine needs to check the angle of a corner on a mobile phone screen for quality.
1. The camera captures an image of the screen corner.
---
2. The machine identifies three key points: A (the corner point), B (a point on one edge), and C (a point on the other edge).
---
3. The machine calculates the distances between these points (AB, AC, BC) using image pixels, converting them to real-world units.
---
4. It then uses the Cosine Rule (a trigonometry formula: cos(A) = (b^2 + c^2 - a^2) / (2bc)) to find the angle at point A.
---
5. For example, if AB = 30mm, AC = 40mm, and BC = 50mm, then cos(A) = (40^2 + 30^2 - 50^2) / (2 * 40 * 30) = (1600 + 900 - 2500) / (2400) = 0 / 2400 = 0.
---
6. Since cos(A) = 0, the angle A is 90 degrees. This means the corner is a perfect right angle.
---
7. If the required angle for quality is 90 degrees, this screen passes the test.
---
Answer: The angle measured is 90 degrees, meeting the quality standard.
Why It Matters
Trigonometry is crucial in building smart machines that can 'see' and make decisions, like robots in factories or self-driving cars. It opens doors to exciting careers in AI, robotics, and manufacturing, ensuring everything from your smartphone to medicines are made perfectly.
Common Mistakes
MISTAKE: Confusing the camera's pixel measurements directly with real-world distances. | CORRECTION: Always remember to convert pixel distances to actual physical units (like millimeters or centimeters) using a known scale factor or calibration.
MISTAKE: Applying the wrong trigonometric ratio (sine, cosine, tangent) for the given problem. | CORRECTION: Carefully identify the known sides and angles in your right-angled triangle (or use the Cosine/Sine Rule for non-right triangles) before choosing the correct ratio.
MISTAKE: Not understanding that angles are used to determine shape and orientation, not just distance. | CORRECTION: Realize that trigonometry helps machines understand an object's complete geometry – how its parts are positioned relative to each other, not just how long they are.
Practice Questions
Try It Yourself
QUESTION: A machine vision camera measures two sides of a right-angled component as 6 cm and 8 cm. What is the length of the third side (hypotenuse)? | ANSWER: 10 cm (using Pythagoras theorem, a special case of trigonometry for right triangles: 6^2 + 8^2 = 36 + 64 = 100, sqrt(100) = 10)
QUESTION: A robot arm needs to pick up a box. The camera sees the box's top edge at an angle of 30 degrees to the arm's base. If the horizontal distance to the box is 50 cm, what is the direct distance from the arm's base to the box (hypotenuse)? (Hint: Use cos(angle) = adjacent/hypotenuse) | ANSWER: Approximately 57.74 cm (cos(30) = 50 / hypotenuse; hypotenuse = 50 / cos(30) = 50 / 0.866 = 57.74)
QUESTION: A quality control system checks triangular biscuits. One biscuit has sides of 7 cm, 8 cm, and 12 cm. Is this an acute, obtuse, or right-angled triangle? (Hint: Use the Cosine Rule to find the largest angle. If cos(angle) is positive, it's acute; if negative, obtuse; if zero, right.) | ANSWER: Obtuse triangle. (Let a=12, b=7, c=8. cos(A) = (7^2 + 8^2 - 12^2) / (2 * 7 * 8) = (49 + 64 - 144) / 112 = (113 - 144) / 112 = -31 / 112. Since cos(A) is negative, the angle A is obtuse.)
MCQ
Quick Quiz
Which trigonometric concept is most directly used to determine if a manufactured product has a perfect 90-degree corner?
Measuring the area of the corner
Using the Pythagorean theorem or Cosine Rule to find the angle
Counting the number of pixels in the corner
Checking the color of the corner
The Correct Answer Is:
B
Option B is correct because the Pythagorean theorem (for right triangles) and the Cosine Rule (for any triangle) are trigonometric tools specifically designed to calculate angles based on side lengths. The other options do not directly measure angles.
Real World Connection
In the Real World
In Indian factories making car parts or electronic goods, machine vision cameras constantly inspect products on assembly lines. For example, a system might use trigonometry to ensure that the holes drilled in a circuit board are perfectly spaced and aligned, or that the edges of a smartphone display are straight and not curved, preventing faulty products from reaching customers.
Key Vocabulary
Key Terms
Machine Vision: Giving computers the ability to 'see' and interpret images, like human eyes | Quality Control: Checking products to make sure they meet specific standards and are free of defects | Trigonometry: The branch of mathematics dealing with the relationships between the sides and angles of triangles | Calibration: Adjusting a system to ensure accurate measurements, often converting pixel values to real-world units | Cosine Rule: A formula relating the lengths of the sides of a triangle to the cosine of one of its angles.
What's Next
What to Learn Next
Next, you can explore 'Applications of Vectors in Robotics' or 'Introduction to Image Processing'. Understanding trigonometry in machine vision builds a strong foundation for how robots navigate and how computers analyze visual information, opening up more advanced topics.


