Control Systems Based on the Work of Professor Andrew Alleyne Copyright © 2012 Board of Trustees,...

38
Control Systems Based on the Work of Professor Andrew Alleyne Copyright © 2012 Board of Trustees, University of Illinois. All

Transcript of Control Systems Based on the Work of Professor Andrew Alleyne Copyright © 2012 Board of Trustees,...

Page 1: Control Systems Based on the Work of Professor Andrew Alleyne Copyright © 2012 Board of Trustees, University of Illinois. All rights reserved.

Control Systems

Based on the Work of Professor Andrew Alleyne

Copyright © 2012 Board of Trustees, University of Illinois. All rights reserved.

Page 2: Control Systems Based on the Work of Professor Andrew Alleyne Copyright © 2012 Board of Trustees, University of Illinois. All rights reserved.

2

What is a control system?

• A system designed to control an object automatically

• Decision making– Get information– Decide on action– Tell object to perform action

• Essential in nanotechnology

Page 3: Control Systems Based on the Work of Professor Andrew Alleyne Copyright © 2012 Board of Trustees, University of Illinois. All rights reserved.

3

A toaster

• Question – how can we control a toaster?

We want the bread to be brown, but not burned.

Page 4: Control Systems Based on the Work of Professor Andrew Alleyne Copyright © 2012 Board of Trustees, University of Illinois. All rights reserved.

4

A toaster

• Question – how can we control a toaster?

We can watch the bread.

- Cheap to control- But we might forget

Page 5: Control Systems Based on the Work of Professor Andrew Alleyne Copyright © 2012 Board of Trustees, University of Illinois. All rights reserved.

5

A toaster

• Question – how can we control a toaster?

System can watch the bread.

- Very accurate- Very expensive

Page 6: Control Systems Based on the Work of Professor Andrew Alleyne Copyright © 2012 Board of Trustees, University of Illinois. All rights reserved.

6

A toaster

• Question – how can we control a toaster?

We can time the bread.

- Cheap control- Often works well enough

Page 7: Control Systems Based on the Work of Professor Andrew Alleyne Copyright © 2012 Board of Trustees, University of Illinois. All rights reserved.

7

You try it

• Design a Lego Mindstorm system to travel from one end of the room to the other.

Page 8: Control Systems Based on the Work of Professor Andrew Alleyne Copyright © 2012 Board of Trustees, University of Illinois. All rights reserved.

8

Control systems

• You will use Lego Mindstorms to follow a black line

Page 9: Control Systems Based on the Work of Professor Andrew Alleyne Copyright © 2012 Board of Trustees, University of Illinois. All rights reserved.

9

Some important parts

Page 10: Control Systems Based on the Work of Professor Andrew Alleyne Copyright © 2012 Board of Trustees, University of Illinois. All rights reserved.

10

Controller and IR tower

• Download program to RCX from IR tower

• Controls robot

• Runs program with green button

RCX IR tower

Page 11: Control Systems Based on the Work of Professor Andrew Alleyne Copyright © 2012 Board of Trustees, University of Illinois. All rights reserved.

11

Motor

• Use to make left wheel and right wheel turn

• Need 2, one for each side

Page 12: Control Systems Based on the Work of Professor Andrew Alleyne Copyright © 2012 Board of Trustees, University of Illinois. All rights reserved.

12

Skid

• Use in place of front wheels

• Lower friction, tight turns

Page 13: Control Systems Based on the Work of Professor Andrew Alleyne Copyright © 2012 Board of Trustees, University of Illinois. All rights reserved.

13

Let’s begin!

Page 14: Control Systems Based on the Work of Professor Andrew Alleyne Copyright © 2012 Board of Trustees, University of Illinois. All rights reserved.

14

A toilet

• Question – how can we control a toilet?

We want the water to fill, but not overfill.

Page 15: Control Systems Based on the Work of Professor Andrew Alleyne Copyright © 2012 Board of Trustees, University of Illinois. All rights reserved.

15

A toilet

• Question – how can we control a toilet?

We can watch the toilet.

- Cheap to control- Might forget- Don’t want to wait

Page 16: Control Systems Based on the Work of Professor Andrew Alleyne Copyright © 2012 Board of Trustees, University of Illinois. All rights reserved.

16

A toilet

• Question – how can we control a toilet?

We can time the fill.

- Cheap to control- Could be disastrous!

Page 17: Control Systems Based on the Work of Professor Andrew Alleyne Copyright © 2012 Board of Trustees, University of Illinois. All rights reserved.

17

System can get feedback.

- Very accurate

A toilet

• Question – how can we control a toilet?

Page 18: Control Systems Based on the Work of Professor Andrew Alleyne Copyright © 2012 Board of Trustees, University of Illinois. All rights reserved.

18

A toilet

• Question – how can we control a toilet?

• Answer – use water level to shut off valve

Page 19: Control Systems Based on the Work of Professor Andrew Alleyne Copyright © 2012 Board of Trustees, University of Illinois. All rights reserved.

19

Controlling a system

• A key distinction is whether the system gets feedback

Open loop – no feedback Closed loop - feedback

Page 20: Control Systems Based on the Work of Professor Andrew Alleyne Copyright © 2012 Board of Trustees, University of Illinois. All rights reserved.

20

Open loop

• The controller doesn’t monitor the consequences of its decisions

Desired resultDesired resultControl Control

commandcommand

ControllerController Controlled systemControlled system

Actual resultActual result

Page 21: Control Systems Based on the Work of Professor Andrew Alleyne Copyright © 2012 Board of Trustees, University of Illinois. All rights reserved.

21

Closed loop

• The controller DOES monitor the consequences of its decision.

• Modifies commands it gives to the system

DesiredDesiredresultresult

Control Control commandcommand

ControllerController Controlled systemControlled system

Actual resultActual result

Feedback(!)

errorerror

ComparisonComparison

Page 22: Control Systems Based on the Work of Professor Andrew Alleyne Copyright © 2012 Board of Trustees, University of Illinois. All rights reserved.

22

Example: Thermoregulation

sweat glands

nerve cells

ref=98.6 body temp

Disturbances• High temp• High activity

core body temp

body

Classic example of a Closed Loop Control System

Page 23: Control Systems Based on the Work of Professor Andrew Alleyne Copyright © 2012 Board of Trustees, University of Illinois. All rights reserved.

23

The toaster

• Remember the toaster. Does it monitor the consequences of its actions?

• Is the toaster open loop or closed loop?

Page 24: Control Systems Based on the Work of Professor Andrew Alleyne Copyright © 2012 Board of Trustees, University of Illinois. All rights reserved.

24

The toilet

• Is the toilet open loop or closed loop?

Page 25: Control Systems Based on the Work of Professor Andrew Alleyne Copyright © 2012 Board of Trustees, University of Illinois. All rights reserved.

25

Open loop

• Engineers use open loop when they need to save money and performance isn’t critical

• Often timer based

ToasterToaster WasherWasher DishwasherDishwasher

Page 26: Control Systems Based on the Work of Professor Andrew Alleyne Copyright © 2012 Board of Trustees, University of Illinois. All rights reserved.

26

Closed loop

• Used when high performance demands it

Page 27: Control Systems Based on the Work of Professor Andrew Alleyne Copyright © 2012 Board of Trustees, University of Illinois. All rights reserved.

27

The present

• New features on cars are largely due to more microprocessors on board (more than 50 on today’s cars)

Ford ECUFord ECU

Page 28: Control Systems Based on the Work of Professor Andrew Alleyne Copyright © 2012 Board of Trustees, University of Illinois. All rights reserved.

28

The future

• Trend is towards more and more control systems– Engine management– ABS systems– Cruise control– Climate control– Windows, doors,

lights

Average Semiconductor Content per Passenger Automobile (in Dollars)

0

500

1000

1500

2000

2500

1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000

Dolla

rs~E

uros

Control systems are not going away!

Average Computer Content per Car (in Dollars)

Page 29: Control Systems Based on the Work of Professor Andrew Alleyne Copyright © 2012 Board of Trustees, University of Illinois. All rights reserved.

29

Staying on the line

• How can we keep the robots on the straight line more precisely and consistently?

• What kind of controls can we use?

Page 30: Control Systems Based on the Work of Professor Andrew Alleyne Copyright © 2012 Board of Trustees, University of Illinois. All rights reserved.

30

Light sensor

• Detect light on both sides of black line

• Need 2

• Should be about 2 LEGO pegs apart

Page 31: Control Systems Based on the Work of Professor Andrew Alleyne Copyright © 2012 Board of Trustees, University of Illinois. All rights reserved.

31

90° angle

• Use piece to point light sensor down

Page 32: Control Systems Based on the Work of Professor Andrew Alleyne Copyright © 2012 Board of Trustees, University of Illinois. All rights reserved.

32

Let’s begin!

• Create a computer program with closed controls that will run your robot on a line

• Make adjustments to the robot and program as needed

Page 33: Control Systems Based on the Work of Professor Andrew Alleyne Copyright © 2012 Board of Trustees, University of Illinois. All rights reserved.

33

Nanotechnology

• Was following a line a challenge?

• Imagine working with atoms and molecules!

Page 34: Control Systems Based on the Work of Professor Andrew Alleyne Copyright © 2012 Board of Trustees, University of Illinois. All rights reserved.

34

Nanomanufacturing

• Aims to control, place, and sense nanometer scale elements of matter

• Positioning at the nanoscale is not easy

• Building nanostructures atom by atom requires control systems

• John Rogers• Nick Fang and Placid

FerreiraPicture from Professor John Rogers, UIUC

Page 35: Control Systems Based on the Work of Professor Andrew Alleyne Copyright © 2012 Board of Trustees, University of Illinois. All rights reserved.

35

Scale

Page 36: Control Systems Based on the Work of Professor Andrew Alleyne Copyright © 2012 Board of Trustees, University of Illinois. All rights reserved.

36

Scale

Page 37: Control Systems Based on the Work of Professor Andrew Alleyne Copyright © 2012 Board of Trustees, University of Illinois. All rights reserved.

37

Nanoscale patterning

Page 38: Control Systems Based on the Work of Professor Andrew Alleyne Copyright © 2012 Board of Trustees, University of Illinois. All rights reserved.

38

Conclusion

• Remember:– Controls pervasive in natural and human-made

systems.– Difference between open loop and closed loop

control.– High relevance to nanomanufacturing.