Top Banner
Programmable Systems Gary Plimer 2004 MUSSELBURGH GRAMMAR SCHOOL
44

Programmable Systems

Jan 04, 2016

Download

Documents

darryl-mack

MUSSELBURGH GRAMMAR SCHOOL. Programmable Systems. Gary Plimer 2004. Programmable Systems Outcome 1. Outcome 1 - Control Systems The purpose of this unit is to introduce the operation of control systems. When students have completed this unit they should be able to: - PowerPoint PPT Presentation
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Programmable Systems

Programmable Systems

Gary Plimer 2004

MUSSELBURGH GRAMMAR SCHOOL

Page 2: Programmable Systems

Programmable Systems Outcome 1

Outcome 1 - Control Systems

The purpose of this unit is to introduce the operation of control systems.

When students have completed this unit they should be able to:

Recognise and identify common control systems.

Describe the operation of open and closed loop control systems.

Make use of systems diagrams and systems technology.

Page 3: Programmable Systems

Gary Plimer 2004

MUSSELBURGH GRAMMAR SCHOOL

Programmable Systems Outcome 1

Page 4: Programmable Systems

Programmable Systems Outcome 1

Systems Diagrams

Most industrial product design is solved by the systems approach. This approach involves studying the desired function of the product, and then breaking this function down into a series of subsystems.

When applied to control systems, a Systems Diagram is a useful way of visually representing the desired function of the system. The systems diagram is a form of block diagram than contains all the subsystems within a dashed box, called the systems boundary. The systems boundary indicates the extent of the control system.

CO NTRO L O UTPUTDRIVERINPUT O UTPUT

Page 5: Programmable Systems

Programmable Systems Outcome 1

The "real world" input and output conditions of the system are shown as arrows entering, and leaving, the systems diagram.

CO NTRO L O UTPUTDRIVERINPUT O UTPUT

Page 6: Programmable Systems

Programmable Systems Outcome 1

C O NTR O LSET W ASHIN G

C YC LE

C LEAN C O LDW ATER

D IRTYC LO THES

H O T D IRTYW ATER

C LEANC LO THES

M O TO RH EATER

D RU M

PUM P

A simplified systems diagram of a washing machine is shown below.

Page 7: Programmable Systems

Programmable Systems Outcome 1

Open Loop Control

At the simplest level a control system can process an input condition to produce a specified output.

A good example of this type of system is a hand-held electric hairdryer. The heating element and fan motor are switched on when the appropriate switches are held down.

C O N TR O L O UTPU TD R IVER

SW ITC HH ELD

D O W N

FAN & H EATERSW ITC H ED O N

Page 8: Programmable Systems

Programmable Systems Outcome 1

This is an example of Open Loop Control, where an input is processed to produce an output.

With the hairdryer example the heater and fan motor are held on until the switches are released.

The air being blown out of the hairdryer is not temperature monitored or adjusted - the air is simply just blown out at whatever temperature the heater is capable of achieving.

C O N TR O L O UTPU TD R IVER

SW ITC HH ELD

D O W N

FAN & H EATERSW ITC H ED O N

Page 9: Programmable Systems

Programmable Systems Outcome 1

C O N TR O L O U TPU TD R IVER

D ETEC TLIG H TLEVEL

SW ITC HLAM P

O N /O FF

V cc

0V

Another Open Loop System is shown above.

By splitting the circuit shown opposite into INPUT, PROCESS & OUTPUT, describe the operation of each subsystem

Page 10: Programmable Systems

Programmable Systems Outcome 1

OPEN LOOP

An open loop control system represents the simplest and cheapest form of control.

However, although open loop control has many application, the basic weakness in this type of control lies in the lack of capability to adjust to suit the changing output requirements.

Page 11: Programmable Systems

Programmable Systems Outcome 1

CLOSED LOOP

Closed loop control systems are capable of making decisions and adjusting their performance to suit changing output conditions.

A personal cassette player is capable of detecting the end of the tape and switching the motor off, hence protecting the tape from snapping (or the motor burning out).

CO NTR O L O U TPUTDR IVER

END O FTAPE

Page 12: Programmable Systems

Programmable Systems Outcome 1

CLOSED LOOP

C O N TR O L O U TPU TD R IVER

FEED BAC KSEN SIN G

IN PU T O U TPU T

All closed loop control systems include a feedback sensing subsystem within the systems diagram. The control subsystem will process the feedback signal by making a 'decision' on whether the state of the output should change.

Page 13: Programmable Systems

Programmable Systems Outcome 1

Pupil Assignment 1

Explain what is meant by the term 'systems diagram'.

Describe the differences between an open loop and closed loop control system.

Describe the purpose of the feedback sensing subsystem in a closed loop control system.

Page 14: Programmable Systems

Programmable Systems Outcome 1

Pupil Assignment 2

The figures above show two types of electric fire. The second electric fire is a more modern device fitted with a thermostat.

a) Name the type of control system used in each type of electric fireb) Draw a system diagram for each type of electric fire.c) Name a type of electronic sensor that may used for measuring temperature.

Page 15: Programmable Systems

Programmable Systems Outcome 1

Pupil Assignment 3

SW ITCHUN IT IN VERTER LATCH TR AN SDUCER

DR IVERIN PU T/O UTPUT

UN IT

LIFT PLATFO RM

LIM ITSW ITCH

M O TO R/G EARBO X

CO N TR O L O UTPUTDRIVER

PLATFO R M PO SITIO NSEN SO R

STARTLIFT

RAISE LIFTPLATFO R M

The systems diagram for a simple lift control system is shown below.

Continued

Page 16: Programmable Systems

Programmable Systems Outcome 1

Pupil Assignment 3

Continued

A limit switch at the top of the lift detects when the lift platform has reached the top of the run. The block diagram below shows the system diagram sub-systems broken down into smaller blocks.

SW ITC HU N IT IN VERTER LATC H TR AN SD U C ER

D R IVER

LIM ITSW ITC H

M O TO R

G EAR BO X

STARTLIFT

R AISE LIFTPLATFO R M

Page 17: Programmable Systems

Programmable Systems Outcome 1

Pupil Assignment 3 +V

0V

S Q

R Q

Simulate the circuit shown.

a) Clearly explain how the system operates.

R ELAY

(b) Explain the purpose of the relay, transistor and diode within the

relay driver circuit.

Page 18: Programmable Systems

Programmable Systems Outcome 1

Pupil Assignment 4

IN VERTER LATCH TR AN SDUCERDR IVER

IN PU T/O UTPUTUN IT

IN PU T/O UTPUTUN IT

LIFT PLATFO RM

LIM ITSW ITCH 1

LIM ITSW ITCH 2

M O TO R/G EARBOX

+V

O V

Build the circuit shown, using modular electronics system boards. a) Draw a system diagram of the control system.b) Draw a circuit diagram of the control system.c) Explain the operation (function and effect) of the DPDT relay.

Page 19: Programmable Systems

Programmable Systems Outcome 2

Gary Plimer 2004

MUSSELBURGH GRAMMAR SCHOOL

Page 20: Programmable Systems

Programmable Systems Outcome 2

Outcome 2 - Analogue Control Systems

The purpose of this unit is to introduce the operation of analogue control systems.

When students have completed this unit they should be able to:

Correctly identify common applications of analogue control.

Represent analogue control systems using control diagrams and circuit diagrams.

Select the appropriate configuration of op-amp in the design of analogue closed loop control systems.

select appropriate output drive subsystems for control applications.

Page 21: Programmable Systems

Programmable Systems Outcome 2

Analogue Closed Loop Control Systems

V 1

V 2Vo

Many control systems involve processing analogue signals such as heat, light and movement. Therefore analogue closed loop control systems require analogue processing devices such as the operational amplifier (op-amp).One of the most common control applications involves using the op-amp as a comparator. In it's simplest form a comparator just compares two voltage signals, V1 and V2. If V1 is higher than V2 the output, Vo, is 'low', if V1 is lower than V2 the output is 'high'

Page 22: Programmable Systems

Programmable Systems Outcome 2

Pupil Assignment 1

IN PU T/O U TPU TU N IT

C O M PAR ATO R TR ANSD U C ERD R IVER

BU LB U N IT

BEAD TH ER M ISTO R

The block diagram below simulates an automatic heating system. When the bulb heats up the temperature rise is detected by the bead thermistor, which sends a feedback signal back to the comparator.

Continued

Page 23: Programmable Systems

Programmable Systems Outcome 2

Pupil Assignment 1

Continued

R

R

R V

R T

R V

+V C C

-V C C

O V

TEM PER ATU R E FEED BAC K S IG N AL

The circuit for the heating system is shown opposite

Page 24: Programmable Systems

Programmable Systems Outcome 2

Pupil Assignment 1

The variable resistor, RV1 (connecting to the non-inverting input of the op-amp) is used to set the reference level (or threshold). This sets the desired temperature of the bulb.

Simulate the circuit shown. Calibrate the system to the following performance criteria:

When the bulb heats above the reference level the thermistor should sense the temperature and send a signal to the comparator which will switch the bulb off.

When the bulb cools below the reference level the bulb should switch on again. The system should operate continuously

a) Describe how the circuit operates.b) Explain clearly how you calibrated the system.

Page 25: Programmable Systems

Programmable Systems Outcome 2

Control Diagrams

C O N TR O L O U TPU TD R IVER

TEM PER ATU R ESEN SO R

SETTEM PER ATU R E

LEVEL

C O N STAN TO U TPU T

TEM PER ATU R E

The circuit constructed in the last activity, can be shown as a Control Diagram, (see above).

However, when we use an Op-Amp, the circuit shown on the next slide is used.

Page 26: Programmable Systems

Programmable Systems Outcome 2

Control Diagrams

O PER ATIO N ALAM PLIFIER

O U TPU TD R IVER

TEM PER ATU R ESEN SO R

SETTEM PER ATU R E

LEVEL

C O N STAN TO U TPU T

TEM PER ATU R E

The control diagram breaks the generalised 'control' subsystem of the systems diagram into more specific blocks.

The error-detection symbol is also used to indicate that the control involves two signals. The feedback signal is connected to the negative symbol to indicate the use of negative feedback

Page 27: Programmable Systems

Programmable Systems Outcome 2

Negative Feedback

The purpose of closed loop control is to ensure that the output is maintained, as closely as possible, to the desired output level. In the case of a central heating system, a graph of the temperature in a room might appear as in the graph below.

AC TUAL TEM PER ATU R E

SET TEM PER ATU R E

TEM

PERA

TURE

T IM E

As can be seen from the graph, the control system is constantly trying to pull the temperature of the room back towards the set temperature level by reducing the error. This type of control uses negative feedback to reduce the error.

Page 28: Programmable Systems

Programmable Systems Outcome 2

The opposite effect can be created by reinforcing the error, as can sometimes happen with public address systems when the microphone is held too close to the speakers. A sound is picked up by the microphone, amplified, and then output through the speaker. The amplified sound is then picked up, re-amplified and so on. The net result is a high pitch sound, which can be represented by the graph below

Positive Feedback

AC TU AL SO U N DSIG NAL

R EQ U IR ED SO U N DSIG NAL

SO U N DSIG NAL

TIM E

Page 29: Programmable Systems

Programmable Systems Outcome 2

Pupil Assignment 2

Explain the following terms when applied to control systems:

open loop, closed loop, negative feedback, positive feedback, error detector

Page 30: Programmable Systems

Programmable Systems Outcome 2

Positional Control

A good example of positional control is the model servo motor commonly found in radio-control cars and aeroplanes.

The servo contains a motor, gearbox, feedback potentiometer and electronic control circuit on a small printed circuit board.The feedback potentiometer is directly connected to the output shaft. Therefore, when the motor spins, the output shaft is turned slowly by the gearbox, which in turn moves the potentiometer. Naturally movement of the output shaft is restricted to 180º as the potentiometer cannot spin continuously.

Page 31: Programmable Systems

Programmable Systems Outcome 2

Positional Control

O PER ATIO N ALAM PLIFIER

O UTPU TD R IVER

FEED BACKPO TEN TIO M ETER

SETPO SITIO N

C O N STAN TPO SITIO N

Note how the feedback signal from the feedback potentiometer is fed into the negative symbol of the control diagram, indicating negative feedback.

The control diagram for the servo is shown below.

Page 32: Programmable Systems

Programmable Systems Outcome 2

Positional Control

Push-Pull Follower Analogue Driver

An important element in producing positional control, such as that required in the servo, is a dual rail push-pull follower analogue driver circuit, that allows the motor to spin in both directions. The op-amp cannot source sufficient current to drive most output components, and so the dual rail push-pull follower is required to drive the output components.The dual rail push-pull follower is based around a two transistor circuit as shown opposite.

LO AD

0V

+V cc

-V cc

O P-AM PSIG NAL

NPN

PNP

Page 33: Programmable Systems

Programmable Systems Outcome 2

Positional Control

When the signal from the op-amp is positive the NPN transistor will switch on, and current will flow through the load from the positive supply rail, +Vcc, to the ground rail, 0V.

+ V

I

I

I

I

LO AD

0V

+V cc

-V cc

O P-AM PSIG N AL

Page 34: Programmable Systems

Programmable Systems Outcome 2

Positional Control

When the signal from the op-amp is negative the PNP transistor will switch on and current will flow through the load from the ground rail, 0V, to the negative supply rail -Vcc.

- V

II

I

I

LO AD

0V

+V cc

-V cc

O P-AM PSIG N AL

Page 35: Programmable Systems

Programmable Systems Outcome 2

Pupil Assignment 4

A proportional control system is used to regulate the flow rate of coal onto a conveyer belt. The system should sense the weight of coal on the conveyer belt and automatically adjust the gate height to ensure that a constant flow of coal is supplied. VAR IABLE H EIG H T

G ATE

R AC KAN D

PIN IO NC O N TR O L

U N IT

PO W ERSU PPLY

C O N VEYO R

C O N STAN T SPEEDD R IVE M O TO R

LO AD SEN SO R

FR AM E P IVO TEDH ER E

P

Page 36: Programmable Systems

Programmable Systems Outcome 2

Pupil Assignment 4

VAR IABLE H EIG H TG ATE

R AC KAN D

PIN IO NC O N TR O L

U N IT

PO W ERSU PPLY

C O N VEYO R

C O N STAN T SPEEDD R IVE M O TO R

LO AD SEN SO R

FR AM E P IVO TEDH ER E

P

• Draw a systems & control diagram of the flow rate control system

• Explain the term 'proportional control‘

• Name the configuration of op-amp used in proportional control systems• Name a suitable

output driver circuit which could be used with the control

system

• Draw a circuit diagram of the driver circuit.

Page 37: Programmable Systems

Programmable Systems Outcome 2

Pupil Assignment 5

The figure shows the layout of an audio mixing desk.

AUDIO M IXINGHEAD

TAC HO G ENERATO R

R EC O R D IN G R EEL D R IVEN BY D C M O TO R

The tape is fed through the audio mixing head by being pulled on to a recording reel driven by a dc motor. As the tape builds up on the recording reel, the tape speed through the audio mixing head will increase. To prevent this from happening, the dc motor is fitted to a closed loop control system.A tachogenerator connected to a pulley senses the tape feed rate and sends an error signal to the control system.

Page 38: Programmable Systems

Programmable Systems Outcome 2

Pupil Assignment 5

AUDIO M IXINGHEAD

TAC HO G ENERATO R

R EC O R D IN G R EEL D R IVEN BY D C M O TO R

• Name the type of closed loop control used in this application

• Name the amplifier used in this type of closed loop control

• Draw a control diagram of the system

• Draw a circuit diagram of the control system and explain the function of each

part of the circuit.

Page 39: Programmable Systems

Programmable Systems Outcome 2

Pupil Assignment 6

The figure illustrates a system for controlling the wing mirrors on a car by adjusting remote dials on the dash.

DIALS

A control diagram of the system for rotational movement in the X-axis (one mirror) is shown in the figure below. Similar systems are used for the Y-axis and for the other mirror.

O PERATIO NALAM PLIF IER

O UTPUTDRIVER

M O TO R

FEEDBACKSENSO R

REM O TEDIAL

W ING M IRRO RPO SITIO N

Page 40: Programmable Systems

Programmable Systems Outcome 2

Pupil Assignment 6

O PERATIO NALAM PLIF IER

O UTPUTDRIVER

M O TO R

FEEDBACKSENSO R

REM O TEDIAL

W ING M IRRO RPO SITIO N

• With reference to the control diagram, explain clearly how the system operates• Name the type of control used in this system• Name the configuration of op-amp required• State two reasons why the op-amp cannot be used to drive the motor directly• Name a suitable output driver which could be used with this system.

Page 41: Programmable Systems

Programmable Systems Outcome 2

Sequential Control Systems

Sequential control is used to control systems whose outputs are required to follow a fixed cycle of events (i.e. a sequence).An interesting example of sequential control was used in music boxes. Actuators on the drum are arranged to produce notes, as the rum rotates the notes are played in the correct sequence to produce a tune.

A more modern example of sequential control is a robot arm used to weld cars together on a large production line.

Page 42: Programmable Systems

Programmable Systems Outcome 2

Common Input Transducers used in Computer Control

Potentiometers are used to provide feedback on position. This might be a simple potentiometer or a combined system such as a servo motor.

Tachogenerators are used to provide feedback on speed.

Light Dependent Resistors are used to provide feedback on lux level changes.

Thermistors are used to provide feedback on temperature changes.

However, there are other methods available to us, Slotted Discs, Binary Coded Discs, Grey Scale Discs.

Page 43: Programmable Systems

Programmable Systems Outcome 2

Binary Coded DiscSlotted Disc

Gray Code

A problem with Binary discs is that more than 1 bit can change at a time which may cause errors. A gray disc changes only 1 bit at each stage.

Page 44: Programmable Systems

Programmable Systems Outcome 2

We need to be aware of the types of signal produced from these encoders are and how a computer could use them to control its output.

Consider each of the encoders or input transducers, state for each the type of signal produced and how this could be used by the microcontroller.