Showing posts with label Automated Visual Inspection. Show all posts
Showing posts with label Automated Visual Inspection. Show all posts

Friday, 6 July 2012

Aerial Adapting Robots

The key to many applications is finding a way to teach robots how to adapt to the environment they work in. Where industrial robots have made their mark is doing tasks repeatably but the future is really doing their task un-repeatably but still accurately.  

Controlling a robot and asking it to go places in real-time accurately can be very tricky. As you know if you have talked with robotic manufacturers an industrial robot is known to be very repeatable but not accurate. 

You can ask a robot to go to the same point and it will hit the same point every time with great precision.  If you ask a robot to move 100mm from where it is, it will move that distance but with maybe 10x's less precision depending on how that particular robot was put together.  

Often the solution to compensate for this lies outside of the robot with a number of tricks and tools that go into building a system and controlling the process with various forms of feedback.

Below is a link to a great video showing how researchers from the University of Pennsylvania programmed flying robots to perform un-repeatable, agile or adaptive tasks!  Very impressive!

Monday, 5 December 2011

97.3% of all statistics are made up...


Today I wanted to get to the bottom of something I typically left to the pros: statistics.  I must admit that this was never one of my strong points.  In fact in University during our open book mid-term for our stats course I was only able to pull off a mediocre C.  And I thought statistics was the art of never having to say your wrong.

My fun is to compare two approaches often brought to the table when it comes time accepting an automated visual inspection system as an approved replacement for human inspection: Attribute Gauge R&R and Probability of Detection (POD).

First to establish what each means from a high level:

An attribute gauge R&R is a tool often used when a measurement system relies on human judgement and the R&R stands for repeatability and reproducibility. The repeatability is a measure of does the same operator, measuring the same thing, using the same gauge, get the same reading every time. Reproducibility is measuring if different operators, measuring the same thing, using the same gauge, get the same reading every time.

So the idea applying this to automation is to stack up the automated visual inspection system with a defined sample set against an expert inspector or a number of expert inspectors. 
The results of an attribute gage R&R are two percentages - percentage of repeatability and percentage of reproducibility. Ideally, both percentages should be 100 percent but generally anything above 90 percent is often fine. 

Using this test you make the assumption you are happy with the same results as your expert inspectors so if you can achieve a correlation between the inspector and the automated system, you are confident the system is at least as good.  See a small flaw?

Probability of detection gives similar results as far as numbers but it let’s the automated visual inspection system stand on its own.  A formal definition: probability of detection, as a function of the discontinuity size, is the fraction of discontinuities of a nominal size that are expected to be detected. Looking at the results this is normally expressed as a ratio of a probability of detecting a discontinuity with a confidence level (90/95).  The first number represents the probability that the anomaly will be detected, which is given as a percentage. The second number is the confidence level for detecting the anomaly.  This is usually represented as a graph of defect size versus probability of detection.

So stacking them up here are the numbers:
Attribute GR&R           POD
% repeatability                 % probability anomaly will be detected
% reproducibility              Confidence level the anomaly will be detected

And here is the tough part of a POD study.  To make the POD valid, depending which document you read, the number of indications available is usually in the range of 20-100 or more of each defect type you want to find.  So if you have 10 defect types this grows very fast.  The defects need to be smaller than the limit, around the limit and much larger than the limit and you will also need two to three times that number representing regions without discontinuities.

So while the Attribute Gauge R&R hints you are fine with the status quo, the POD study really taxes your resources and may not be even possible depending on the types of parts you are manufacturing.

I actually prefer to go through a POD with a customer.  It is much more of an extensive test and serves as a great platform for learning about automated visual inspection.  If budgets don’t allow for a full test the second best is the Attribute Gauge R&R.  Overall both have implementation flaws if not approached properly.  The key is to understand what you are realistically able to achieve in your production environment then setting expectations and planning appropriately.

Has anyone come across other tests that do a great job of comparing a human process to an automated process?


Saturday, 12 November 2011

Automating Visual Inspection in Copenhagen

This week the big thing taking up a lot of my time was the paper I had to write for the 2012 Turbo Expo conference in Copenhagen.  The topic was automating Visual Inspection.  


The most memorable quote I came across was from a study “ Visual Inspection Research Project Report on Benchmark Inspections” by Floyd W. Spencer.  At the beginning of the paper he adds to the definition of visual inspection saying not only involves the use of the eye but shaking, listening, feeling and sometimes even smelling the aircraft and its components.


Wow, how do you expect to automate that the skeptics are screaming!  And yes I started to sweat a bit thinking I could get that question as I present the paper in front of a bunch of design engineers!  


Automating detail processes that require an intuitive approach is not easy.  But as anyone used to automation does you pick your battles, make your assumptions and layout your plan-of-attack focusing on what can you take on.


The rewards are worth it.  80% of the inspection done on aircraft components is still visual inspection.  And the toughest part of bench marking human visual inspection is the fact that you can't.  Everything depends on the unique site where the person is inspecting the parts.  It depends on the training, environment, the parts, their mood, time of day etc etc.


So definitely the rewards of developing a technology which is linked to quantifiable standards will be a great relief to any company who has been on 3rd party containment or any manufacturing engineer who has had to chase down serial numbers of escaped parts before they get into an engine.....and if they get into the engine the rewards grow exponentially!
3D Image from Surface Profiler
Of the projects I've worked on the toughest part isn't implementing the calibration routines or algorithms to ensure all defects are detected, it is educating the end-user on the system they are receiving and  how to effectively use it in their manufacturing.

All of a sudden they are bombarded with new and important information on their parts.  Normally this was lost because of documentation practices or the fact the final inspector wasn't an inspector, but a rework artist.  So there is a step change required and a team effort that involves people outside of the inspection area.  This data can be used as feedback to improve the manufacturing process to ensure the parts getting to final are actually final parts.

If you target in-line inspection you can reduce the number of rework loops that happen because of the defects that are missed on the first inspection.  But what about the defects that are created by the rework operator?  Is this the next area that should be automated?

www.avr-vr.com
http://ca.linkedin.com/in/muldoonmichael