Information Technology Topic

Expert Systems and Robots

  1. Read notes
  2. Flashcards
  3. Quiz
  4. Confident

Study focus - 3 things

  1. An expert system is software that stores an expert's knowledge as facts and rules and uses it to advise a user, for example by finding a fault or suggesting a diagnosis
  2. An industrial robot is a machine that works automatically, can be reprogrammed, is a multipurpose manipulator and moves on at least three axes, and it is often a robotic arm
  3. An expert system advises, a robot acts: one is software that gives answers, the other is a machine that does physical work

Section 1Two current trends in ICT

The syllabus lists expert systems and robots among the current and emerging trends in ICT. They are different things, and exam questions often ask you to tell them apart. An expert system is software that gives advice. A robot is a machine that carries out a physical job. Here's the trick: ask whether the thing thinks and advises, or moves and works. Advising points to an expert system. Moving and working points to a robot.

Section 2What an expert system is

An expert system is a computer program that holds the knowledge of human experts and uses it to give advice in one specialist area, such as finding a fault or suggesting a diagnosis. It has three main parts. The knowledge base stores the facts and rules collected from experts. The inference engine applies those rules to the answers the user gives, to reach a conclusion. The user interface asks the questions and shows the advice. A rule is written as IF something is true THEN do or conclude something.

Section 3An expert system at work

Think of a help program for a printer that will not print. It asks: Is the power light on? Is there paper in the tray? Is there a paper jam message? Each answer is matched against the rules in the knowledge base. If the power light is off, the rule says check the power cable. If the light is on and the tray is empty, the rule says add paper. When a rule fits all the answers, the system gives its advice. These rules are made up to show the idea; a real help program would hold many more. The user does not need to be an expert. The system asks the questions an expert would ask and works out the advice from the answers.

Section 4Uses and limits of expert systems

Uses: helping to find the fault in a machine or computer, helping to suggest the cause of an illness from symptoms, and giving advice in other specialist areas. A rural clinic with no specialist nearby can still get help from the system. Advantages: it is available at any time, it asks the same questions every time, and it gives advice quickly. Limits: it only knows the facts and rules it was given, it has no common sense, and its rules must be updated when knowledge changes. Watch out: an expert system supports a person and does not replace one. A trained person should make the final decision.

Section 5What a robot is

An industrial robot works automatically, can be reprogrammed to do different jobs, is a multipurpose manipulator, and moves on at least three axes. An axis is one separate way a part of the robot can move, such as turning or sliding. The most familiar form is the robotic arm, which typically has between three and ten axes. Easy to mix up: a robot does not have to look like a person. In a factory it is often just an arm fixed to the floor or a bench.

Section 6What robots do and why they are used

In manufacturing, robots move and place parts, stack products on pallets (flat platforms for carrying goods), and inspect and test products. Because they can be reprogrammed, the same robot can be set up for a new product. For example, a factory near Kingston that packs bottles into crates could reprogram its robot arm when it changes to a larger crate. The benefits are speed, precision and adaptability. Robots are also used for dangerous or repetitive tasks, so people are not put at risk or worn out by them.

Section 7Telling them apart, and the effect on people

An expert system is software with a knowledge base, an inference engine and a user interface. It gives advice. A robot has a body and moves to do physical work, and it is controlled by a computer program. Both change the way people work. An expert system can help a worker make a decision, and a robot can take over tasks that used to be done by hand. Later topics cover how this affects jobs and retraining. Exam tip: when a question describes a program that asks questions and gives a diagnosis, the answer is an expert system. When it describes a machine that lifts, stacks or inspects, the answer is a robot.

Examples

Identify each as an expert system, a robot, or neither. (a) A program asks a car mechanic questions about a car that will not start and then suggests the likely fault. (b) A machine arm in a factory lifts boxes and stacks them on pallets, and is reprogrammed when the box size changes. (c) A spreadsheet adds up a shop's weekly sales. (d) A program in a clinic asks a nurse about symptoms and suggests possible illnesses for the nurse to check.

(a) Expert system. It asks questions, applies stored rules and gives advice on a fault. (b) Robot. It is a machine doing physical work (stacking on pallets), and it can be reprogrammed for a new job. (c) Neither. A spreadsheet only calculates what it is told to, and it does not hold expert rules or move anything. (d) Expert system. It gives advice from symptoms, but the nurse still makes the final decision. Here's the trick: advice from questions and rules means expert system, and physical work by a programmable machine means robot.

A help program for a printer holds these rules in its knowledge base. (The rules are invented for practice; a real program would hold many more.) Rule 1: IF the power light is off THEN check the power cable. Rule 2: IF the power light is on AND the tray is empty THEN add paper. Rule 3: IF the power light is on AND the tray has paper AND the message is 'paper jam' THEN open the cover and clear the jam. Rule 4: IF the power light is on AND the tray has paper AND there is no message AND the ink-low light is on THEN replace the ink. (a) Name the three main parts of the expert system. (b) A user answers: light on, tray has paper, message 'paper jam'. State the advice and the rule used. (c) A second user answers: light on, tray has paper, no message, ink-low light on. State the advice. (d) Explain why a technician should still check the printer when the advice fails.

(a) The knowledge base (the four rules), the inference engine (which applies them to the answers) and the user interface (which asks the questions and shows the advice). (b) Rule 1 fails because the light is on. Rule 2 fails because the tray has paper. Rule 3 fits all three answers, so the advice is to open the cover and clear the jam. (c) Rules 1, 2 and 3 do not fit. Rule 4 fits, so the advice is to replace the ink. (d) The system only knows the four rules it was given. If the fault is something else, such as a broken part, no rule fits and the system has no common sense to try anything new. A trained person decides what to do next.

Now let's water it

Session runs notes to flashcards to quiz back-to-back.

Where this comes from