Docsity

Position Rotary Encoder-Control Systems-Project Report, Study Guides, Projects, Research of Control Systems

Toggle sidebar
bg1
Objectives
Objectives
๎šƒ
๎šƒTruck will operate at constant velocity
Truck will operate at constant velocity
๎šƒ
๎šƒUse encoder subprogram
Use encoder subprogram
๎šƒ
๎šƒPID controller
PID controller
๎šƒ
๎šƒTrack will be adjustable
Track will be adjustable
๎šƒ
๎šƒ3% hill grade
3% hill grade
๎šƒ
๎šƒ6% hill grade
6% hill grade
docsity.com
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff

Partial preview of the text

Download Position Rotary Encoder-Control Systems-Project Report and more Study Guides, Projects, Research Control Systems in PDF only on Docsity!

ObjectivesObjectives

ยƒ^ ยƒ

Truck will operate at constant velocityTruck will operate at constant velocity

ยƒ^ ยƒ

Use encoder subprogramUse encoder subprogram

ยƒ^ ยƒ

PID controllerPID controller

ยƒ^ ยƒ

Track will be adjustableTrack will be adjustable

ยƒ^ ยƒ

3% hill grade3% hill grade

ยƒ^ ยƒ

6% hill grade6% hill grade

Required HardwareRequired Hardware

ยƒ^ ยƒ

MiniMini

TruckTruck

ยƒ^ ยƒ

TrailerTrailer

ยƒ^ ยƒ

Carries Handy BoardCarries Handy Board

ยƒ^ ยƒ

Holds encoderHolds encoder

ยƒ^ ยƒ

Adjustable trackAdjustable track

ยƒ^ ยƒ

3% hill grade3% hill grade

ยƒ^ ยƒ

6% hill grade6% hill grade

ยƒ^ ยƒ

ElectronicElectronicconnections^ connections

ยƒ^ ยƒ

Handy BoardHandy Board

ยƒ^ ยƒ

EncoderEncoder

ยƒ^ ยƒ

MotorMotor

Wiring LayoutWiring Layout

Handy Board TrailerHandy Board Trailer

Handy Board

Encoder

Trailer

Previous ProblemPrevious Problem

& Corrective Action Taken^ & Corrective Action Taken

ยƒ^ ยƒ

Original motorOriginal motorproduced excess^ produced excessamperage^ amperage

ยƒ^ ยƒ

New Handy BoardNew Handy Board

ยƒ^ ยƒ

New batteryNew battery

ยƒ^ ยƒ

Changed motor inChanged motor intruck^ truck

Previous ProblemPrevious Problem

& Corrective Action Taken^ & Corrective Action Taken

ยƒ^ ยƒ

Trailer tires slippedTrailer tires slippedon track surface^ on track surface

ยƒ^ ยƒ

Small rubber bandsSmall rubber bands

ยƒ^ ยƒ

Large oLarge o

ringsrings

ยƒ^ ยƒ

Friction tapeFriction tape

Feedback SystemFeedback System

DesiredVelocity

PID

Motor

Car

Sensor

ActualVelocity

Tracking Error

Layout of CodeLayout of Code

MAIN^ MAINSTART^ START

Declare variables^ Declare variablesStart press function^ Start press functionWHILE stop button not pressed^ WHILE stop button not pressed

Begin encoder program^ Begin encoder programSend encoder value to PID program^ Send encoder value to PID programSend PID value to run motor^ Send PID value to run motor

Capture data (velocity)^ Capture data (velocity)

Feedback loop^ Feedback loop

END WHILE stop button not pressed^ END WHILE stop button not pressedBreak programs^ Break programsStop motors^ Stop motors

END^ END

Control InputControl Input

Control Input Plot

U_ControlKp=1.

Ti=80 Td=0.

U_ControlKp=1.

Ti=80 Td=0.

U_ControlKp=1.

Ti=50 Td=0.

Poly. (U_ControlKp=1.

Ti=80 Td=0.02)

Poly. (U_ControlKp=1.

Ti=80 Td=0.015)

Poly. (U_ControlKp=1.

Ti=50 Td=0.05)

docsity.com

Real Time HistogramReal Time Histogram

Real Time Histogram

Tim e (seconds)

Frequency

Avg.

StdDev