Sunteți pe pagina 1din 6

rt--"

i L---

1\
#b$,organisations
l*---/
useICT2 -t

controlsystems
workingpractices
advertising
t e a c h i n ga n d l e a r n i n g
publishing
t r m em a n a g e m e n t
d a t am a n a g e m e n t
payrollapplications
technicaland customersupport.

D ovnorf qrr<fom<

l monitoring
and measurement
) projectmanagement
) modelling
) marketresearch
) researchapplications
) o n l i n ea p p l i c a t i o n s
) stockcontrol.

t,l Expertsystems It should be rememberedthat expert systemscan


[,xpert
svsterns are computer-basedsystemsthat only operate in fields where there are already hr-rman
make
useof a wide range of human knowledge on expertsin exister.rce.
They can only be used in areas
aspecific
topic to solve various problems. They are where there are clearlydefined ruies and established
different
to other problem-solving software as they facts. They cannot be used in areaswhere there are gaps
usereasoningto produce the solution. Such a system in the availablefacts or where rules are open to different
data inside the computer, which represents the interpretations.
:dge,and uses a set of rules, which is a form of Expert systemsare not like most problem-solving
ing. One way of approaching this section is to programs.Problem-solvingprograms are produced to
of encyclopedias.They contain a huge amount solveparticular problems - such a program can only
information,otherwise known as knowledee. This produce solutionsto that particular problern and the
ledgeis used to solvea problem by the system knowledge required to solve the problem is embedded
a seriesof questions.The answersto these within the program instructions.If the knowledge
ionsare usedto producepossiblesolutions.The changesthen the whole program may need to be
thenconsidersthesebeforemakinga decisionon re-written. In contrast, expert systemsare used to gather
mostappropriatesolution. the knowledge of expertsto form 3 lirrou,lerlgrhasc.

How organisations
use ICT2 77
A rules baseis a setof ruleswhich an inferenceengine often includesknowledgebaseediting softwarethat
uses,togetherwith the dataor factsin the knowledge enables the knowledge engineer to edit rules and
base,to reasonthrough a problem.Consequently, a within the knowledge base.
differentproblemcanbe solvedwith the sameexpert The inference engine is able to find solutionsby
systemusingthe knowledgethat is appropriate. using a form of reasoning. This reasoning involves
In addition,the systemexplainsthe logicalreasoning forward chaining, backward chaining or a combinati
that it hasusedto cometo its conclusions. of both.
In order to createan expert
systemit is necessary to employa Shell Knowledge
knowledgeengineer.The engineer
collectsinformationand knowledge Explanation
from the subjectspecialists (experts), system
basedon the experts'experiencein
the field concerned,aswell asfinding
out their requirementsfor the system.
Theengineeralsogathersdatafrom Knowledgebase
databasesthat may exist for the editor
topic.This processis often referred
to asdatamining, so calledbecause
it canbe thought ofas extractingrelevantand accurate Forwardchainingallowsan expertsystemto add
information and knowledgewhilst siftingout what can to its knowledgebase.If we havesomerulessuchas:
be thought of asthe impurities,i.e.the irfelevantdata. I If a studentis 16,they aretaking GCSEs.
The knowledgeengineermust then designthe 2 If a studentis 16,they wearschooluniformbut
knowledgebaseand the rules base.Theseoften come not weara tie.
as two interrelatedparts of the systemrather than as 3 If a studentis taking GCSEs,they will takeAS
separateentities.The knowledgebasecan be considered next year.
to be the data relatedto the problem and the rules. Supposeyou now tell the systemthat Ahmedis 16.
Theserules are usuallyof the form IF... THEN, which A forward-chainingsystemwould seethatRules I
is used in many forms of programming.Another and2 areboth obeyedand would add the newfacts:
aspectof the expert systemthat has to be designed New fact 1: Ahmed is taking GCSEs.
and createdis the inferenceengine,which is the New fact 2: Ahmed wearsschooluniformbut
reasoningpart of the system.A good inferenceengine doesnot weara tie.
is independentof the subject.For example,it may This first new fact causesRule3 to be obeyed
soa
be specificto a particular aspectof the use of expert third new fact is added:
systems,such as diagnosis- of illnessesor engine New fact 3: Ahmed will takeAS levelsnext
faults. The second new fact does not causeany rule to be
The other important featureof an expertsystemis obeyed. This means that no new fact arisesfrom it.
the user interface.This is how the computerinteracts Forwardchainingleadsto new factsbeingadded
with the user.It displaysquestionsand informationon the knowledsebaseall the time.
a screenand enablesthe userto t)?e in answersto the Backwardchainingis different.Referringto the
questions,therebyenablingthe inferenceengineto find ruleslistedaboveand usingbackwardchaining,ifwe
appropriatesolutionsor evenfurther questions.There input that Ahmed is 16to the system,it will do nothi
area number of validationchecksimposedwithin the all. Il however,we askthe systemif thereis anybody
userinterfacein order to preventthe input ofinvalid will be taking AS levelsnext year,the following
responses to the system. Rules and facts are'checkedto see ifanvbodvis
Here is a schematicview of an expertsystem.As AS levelsnext year.The only rule which helpsis
you can see,many of the componentsare represented The systemthen checksbackwardsand seesthat
diagrammaticallyas being part of a shell.The shell is linked to Rule3. As it hasbeeninformedthat

78 AppliedICT
it canmake the correct inference that Ahmed is Hugeknowledgebasescontainingfactsaboutthe prices
GCSEs and thereforewill be taking AS levelsnext of a multitude of stocksoyer yearsare kept and the
Rule2 is ignored asbeing irrelevant to the question expertsystemcan suggestpossibletrends.Theyare
in addition,no new factsareaddedto the systemas not foolproof,sincethe human expertscontributingto
oftheprocess. their knowledgebasesarenot, but usingsuchsy'tems
applicationsuse a combination of both these in combinationwith human expertscan resultin some
profitabledecisionsbeingmade.
useof expert systemsto gain facts and generate Theyarealsousedby investmentcompaniesto select
fromthe'experts'meansthat when expertsor the companiesthat their investorsshouldput their
ioersleavea company,it still has the benefit of their moneyinto. The questionsaskedby the expertsystemare
. It also means that staff who are not much the sameasthosethat an expertfinancialadviser
trained or have not got a great deal of would ask,for example:
can make decisions with help fiom the I Doesthe investormind investingin risky
system. companieswith a possiblehigh return or arethey
ingoutlinedthe basicelementsof an expert happy to havea lower return on their investment
we will now consider a number of specific but with a'safe'company?
ions. I Hasthe investorgot specificareasthat they want to
investin (e.g.oil, gold or other commodities)?
prospecting a Are therespecificcompaniesthe investorwants
istheexplorationof geologicalsiteswith a view 'to
avoid (e.g.companiesthat contributeto global
ing the likelihood of a particularore being warming)?
Thistypeofexpert systemcan gatherinputs
fromsensorssitedin a particularlocationor Theexpertsystemusesthe answersto previousquestions
datafrom such sensors.Alternatively,the to decideon the next questionto be asked.In orderto
couldbe input by an expert. The systemis used cometo a conclusionaboutthe stocksto be recommended
atetheprobabilityof mineralsbeingfound to the investor,the expertsystemusesits extremelylarge
location.This is doneby comparingthe input storeoffacts.Severalpossiblescenariosarecreatedby the
withmodelsof similar areas,storedin the form systemand the investor,with the guidanceof a financial
knowledge basethat representsthe knowledgeand adviser,choosesoneofthe options.
ingprocesses of geologicalexperts.This type of
isusedby an explorationgeologistinvestigating planning
Financipl
drillingsite. Expertsystemsareusedby individualsfor their own
informationrequiredbv the svstemis datasuch personalsituationor by companieson a largescale.They
geological make-upof the areaand the ty?es canbe usedto assess what actionsto takein a given
and minerals present, as well as those which situationor to setout a financialplan for an individual.
red.Thesystemcomparesthe inputs with its Sucha plan would includesuggestions asto how
baseof storedmodelsof the make-upof sites someonecan managetheir debts,reducethe amountof
thoseparticularore depositsareto be found.The incometax they pay and organiseinvestments,aswell as
engineis usedto determinethe similarities suggesting the amountof insurancethey shouldhaveand
betweenthe modelsand the siteunder how to plan for their retirement.In addition,short-term
personalsavingplanscould be recommended.
Theuserentersthe individual'spersonaland financial
analysis informationand the expertsystemthen devisdspersonal
of major investorsuseexpert systemsfor a financialplans.
of purposes. Theyareusedto monitor stock
bylookingat how pricesofthe variousstocks Credit analysis
Theycanalsobe usedto sellsharesautomatically Banksoften useexpertsystemsto help them decide
iswhatthe rulesin the knowledgebasesuggest. on the creditworthiness
of potentialcustomers,both

How organisationsuse ICT2 79


companiesand individuals.The speedwith which the Systemsdealingwith other forms of tax, suchas
bank can respondto requestsis much fasterif it usesan tax (VAT,calledGST in a number of countriesand
expertsystem,ratherthan relyingon human advisers in France) are available, as well as company tax systems,
to makethe necessary calculationsand judgements. It
hasalsoled to a markedreductionin the number of bad Insurance planning
debtswhich havehad to be written off. Theseengines,quite often basedon the worldwideweb,
Expertsarepresentedwith requestsfrom companies takecertaindetailsfrom a userand searchthroughthe
for loans.Thefactsthey requestand the rulesthat they database to find the bestdealfor that userfor, say,car
applyin decidingon suchrequestsareaddedto the life insurance.This subsectiondiscusses the exampleof
expertsystem's knowledgebase.In addition,the balance life insurance but the same approach is used in
sheets(the recordsof incomeand expenditure)of all generally.
the companieswho haverequestedloansin the pastare No parent would knowingly leavetheir children
added. debtsto pay shouldthe parentdie. To safeguard agai
For companies,usershaveto respondto questions this, many parents take out life insurance. They pay
askingaboutthe sectorthe companyworksin and insurance company a certain amount of money every
detailedbalancesheetinformation,aswell asthe more month and shouldthey die the insurancecompany
technicaldetailsof how they managetheir accounts. the dependentsan agreedamount of money.The
Requestsfor loansor creditcardsfrom individualsare a personlivesthe more profitableit is for the insurance
dealtwith by an expertsystemaskingquestionsrelating companyasthey can investthe money the individuali
to how much the individual earns,what their outgoings payingthem. Somepoliciesareonly for a fixed
areand other loansand creditcardsthey might have of yearsand so if the individual diesafterthistimethe
already. insurancecompanydoesnot haveto pay out.
As with all expertsystems,only recommendations are The insurancecompanymust work out howmany
made.Theydo not takeoverthe decisionprocess.That policiesit may haveto pay out on comparedwithhow
is left to the user,taking into accountthe expertsystems' manypoliciesit will not. This will help it to workout
suggestions. likely profitability of approving a particular life i
policy.
Tax systems Insuranceadvisersareableto decidewhetheran
Expert systemsarequite frequentlyusedin connection individual shouldbe offereda policy and,if so,how
with tax calculations.Many countriesrequiretheir much they shouldpay eachmonth. By interviewing
citizensto completetheir own tax form, which expertsa setofrules canbe setup, providinggui
determineshow much incometax they haveto pay.The on whetherindividual applicationsshouldbe
systemasksquestionsabout: ln addition, if all the existing policies of an insurance
o their income company are examined, a mqch broader rangeof
I the number of childrenthey have(somecountries and rules can emerge.
allow tax relief for children) When somebodyappliesfor a life insurance
I savingsthey have(most countriesmakepeoplepay the expertsystemasksthe individual questions about
tax on any interestthey earn) their age,whetherthey smoke,abouttheir health
I pensioncontributionsthey make(somecountries recordand so on. Basedon the responses, it will
allow tax reliefon these) recommendations asto whetherthe policyshould be
o how old they are (peopleof a certainagepay lesstax issued,for what lengthand at what cost.
in somecountries)
I whetherthey area resident(somecountriesallow Carenginefault diagnosis
non-residentsto pay a differentleveloftax). Most car drivers are not very knowledgeable whenit
comesto understandinghow their carswork.When
It then calculatesthe tax payable.As with any expert somethinggoeswrong with a car an experienced
system,the way a questionis framed (worded) will mechanicis neededto identify what is wrong.As
dependon the responses to the previousquestion. experienced or expert mechanics are not aswi

80 AppliedICT
wouldlike, expert systemshavebeen created. shortestroutefor the vehicleto enableit to visit all the
necessary
rulesand datahavebeencollectedfrom deliverypoints.This enablesthe deliverycompanyro
icsand knowledge baseshave been developed. make the deliveriesin the cheapestway. Typicalusersare
Iherearetwo forms of such a system.One is the usual postalservicedelivery
vehicles,couriercompaniesand
-and-answer session,wherethe systemasksthe travellingsalespeople.
ic questionsabout what is wrong with the car Theinputsrequiredaredetailsabout:
thensuggests possiblecauses.Themechaniccan
I the number of drop-offpoints
decide which of the suggestions aremost likely.This I the distancebetweeneachpoint
icecanbe fed into the expert systemso that it has
o the type and speedof the vehiclebeingused
rulesandfactson which to basefuture diasnoses.
I the total availabletime
Thesecondsystemis an expertfault diagnosissystem
o the layoutof the areabeingdeliveredto, for example
typefittedto many modern carsand connected
whetherit is mountainousor flat.
enginemanagementsystem.When the car owner
aparticularsymbollight up on the dashboardthis Somesystemsalso allow for the price of fuel at the
warning that thereis a possiblefault with the engine. yariouslocationsto be
entered,so that the most
caris then driven to the garagewhere a mechanic economicalroutecan be produced.
a connectorfrom the portableexpertsysteminto Themanagerof the transportsystemwill be ableto
ialsocket.This enablesthe portablecomputer take suggestionsfrom the expert systemand decideon
to interrogate the engine management system. the number of vehiclesand driyersneededand the total
thisthe systemis able to suggestprobablefaults. time to be taken.
experienced mechanicis ableto selectthe most likely
andsuggest correctivetreatment. Plantandanimalidentification
The useris askedquestionsabout thefeaturesof the
diagnosis speciesof the plant or animal.From the responsesto
typeot expertsystemis usedby doctors.Some the questions,the expertsystemcan suggestthe likely
allowthe patient to type in their symptomsand plant or animal.For example,the systemmight askthe
generate possibleillnesses.However,most requirea followingquestionsaboutan animal:
to input the symptomsfor a particularpatientand
I Doesit eatmeat?
system outputsthe possibleillnessesthat the patient
a Doesit havea long neck?
besufferingfrom. The doctor then considersthe
I Doesit havefour long legs?
ivesand, using their own expert knowledgeand
, makesa diagnosis.Many peoplethink that If the answerto the first questionis 'no,and the answers
expertsystemreplacesthe doctor but this is not the to the other two questionsareboth'yesl then the system
Rather,it actsin a consultativeand supporting role. might suggestgiraffe.Alternatively,if the answerwas .no'
A medicaldiagnosisexpert systemis probably the to the lastquestion,it might suggestostrich.
of all expert systems.Thereis an incredible Both thesesystemsuseforwardchainingasthey
offactsor dataand the rulesarevariedand arerequiredto expandthe extentof their knowledge.
intricate.It hasto takeinto accountthat simple Theyarecreatedby usingreferencebooksaboutplants
ms like stomach ache can have a large number of and animalsaswell asby gatheringdatafrom expertsin
ial causes.Therefore, it is important that in such a the field.
which framessuccessivequestionson previous
, that responses
areenteredaccuratelyand Advantages
anddisadvantages
ously. Advantages
of the useof expertsystems:
I It reducesthe time takento solvea problem (e.g.
scheduling
for deliveryvehicles for a technicianto find a fault.ora doctor to makea
typeot expert systemcalculatesthe most efficient diagnosis).
for delivery vehicles.The towns or areasto be r As it is basedon the knowledgeof many experts,it
tedareinput to the systemand it then outputsthe is more accuratethan a singleexpert.

How organisations
use ICT2 8l
a It improvescustomer/patient serviceand the
Dependingon the output from the system,the resu
standingof the expert(e.g.technicianor doctor).
will be shownon a monitor, printed on a printer or eve
a It can predictfuture problemsaswell ascurrent
output through speakersifthe output is sound.
ones.
Thesoftwareusedin suchsystemsto recordthe
I It savescompaniesmoneydue to fasterservicetime.
resultsand interpretthem is genericallytermed
a In someareassuchascar fault diagnosis,it can
measuringsoftwareor dataloggingsoftware.These
meanthat a lessskilledwork forceis required,
systemsarethereforeoften referredto asdata logging
thereforeresultingin a lower wagebill.
systems.Theyareusedin a variety of applications,som
Disadvantages
of the useof expertsystems: of which we will look at now.
o Expertsystemscosta lot to setup.
r The users(mechanics/patients/doctors) will need Medical applications
training in how to useit, which takestime and Patientmonitoring systemsareusedin intensivecare
money. units in hospitals.Sensorsareconnectedto the patient
r It will needcontinuallyupdating,which cantakeit and then the computer.Many variablesarefed backto th
temporarilyout of use. computer,includingpulserate,rateof breathing,blood
r In a companyor doctors'practice,therewill needto pressure, body temperatureand the amountof oxygenir
be one in everygarage/branch/surgery. the blood.For eachpatientthereis a computermonitor
networkedto a centraldisplayfor the nursesto observe
Thesepatientmonitoring systemsarefitted with
5.2 Monitoring
andmeasurement alarms.The computeris constantlycomparingthe
This involves the use of a computer ormicroprocessor- physicalvariablesto a rangeofpre-setvalues.This
based device to monitor or measure physical variables Aboveor belowthes
rangeis the limit of acceptability.
over a period of time. For this course you will need valuessignifiesthat the patientis in danger.The alarm
to know which sensors would be appropriate in a soundswhen any of the patient'sreadingsfall outsidetl
given scenario to measure physical variables such as acceptable range.
temperature, pressure,humidity, moisture, light, sound, This tlpe of systemis not to be confusedwith a
blood pressureand pH (acidity). control system,which would actuallytake actionto
In Chapter I, we saw that a sensor is a device that restorethe statusquo.
is used to input data about physical changesin an
environment that is being monitored. For example, a Weather monitoring
temperature sensor could be used to feed data back Sensorsareusedin weatherstations,wherethe main
to the computer about the temperature in a weather function of the computeris to collectdata.Thevariabk
station. Monitoring and measuring systems are not like quite commonlymeasuredare:
control systems,which use the data to take actions r wind speed,usingthe rotation of a rotor to gener
that modify the environment, such as in a central pulsesthat areproportionalto the wind speed
heating system. They only record data for the purpose r wind direction,usingan anglesensor
of enabling users to identify trends in the patterns of a temperature,usinga temperaturesensor
changing data. I barometricpressure,usinga form of pressuresen
The computer is continually monitoring the sensors. I rainfall,usinga tipping mechanism- when a
Sensorssend data continually, not just when a certain certaindepth is reached(typically0.025cm) it
event happens, such as a sudden increasein temperature. closesa normally open circuit, generatinga pulst
The data sent to the computer or microprocessor is in an a counterwhich is recorded
analogue form. As the computer can only processdigital o humidity,using a humidity sensor
data the analogue data must be converted to digital using I sunshine,usihga light sensor.
an analogue-to-digital converter, which can be built into
an interface box that the sensor plugs into and is itself is Thedatais collectedand input to a databaseor
plugged into a computer. Weatherstatisticscanbe collectedover1<
spreadsheet.

82 AppliedICT

S-ar putea să vă placă și