TECHNION - ISRAEL INSTITUTE OF TECHNOLOGY Department of Electrical Engineering Control and Robotics Lab Design a digitally controlled analog PID controller.

Slides:



Advertisements
Similar presentations
PID Control for Embedded Systems
Advertisements

PID Controllers and PID tuning
Discrete Controller Design
© 2002 QxDesign, Inc. Building a PI controller This unit discusses Installation of Visual ModelQ The Visual ModelQ default model Placing and configuring.
Pulse Width Modulation and Motor Control
What is Arduino?  Arduino is a ATMEL 168 micro-controller kit designed specially for small projects  User friendly IDE(Integrated Development Environment)
Add and Use a Sensor & Autonomous For FIRST Robotics
ELECTRONIC GUIDING CANE FINAL PRESENTATION Students : David Eyal Tayar Yosi Instructor : Miki Itzkovitz Technion – Israel Institute Of Technology Electrical.
In this presentation you will:
Proximity Sensor Theremin Khoa Nguyen Walter Hudson Dennis Gilbert G. Hewage Thushara.
ELECTRICAL. Circuits Outline Power Hub Microcontroller Sensor Inputs Motor Driver.
The Proportional-Integral-Derivative Controller
CHE 185 – PROCESS CONTROL AND DYNAMICS
FRC LabVIEW Software Overview Joe Hershberger Staff Software Engineer National Instruments.
Handwritten Character Recognition Using Artificial Neural Networks Shimie Atkins & Daniel Marco Supervisor: Johanan Erez Technion - Israel Institute of.
1 Control System Using LabVIEW Performed by: Goldfeld Uri Schwartz David Project instructor: Alkalay Daniel Reuben Amir Technion – Israel Institute of.
Characterization Presentation Spring 2006 Implementation of generic interface To electronic components via USB2 Connection Supervisor Daniel Alkalay System.
DIFFERENTIAL POLARIZATION DELAY LINE controller Supervisor : Mony Orbach Performed by: Maria Terushkin Guy Ovadia Technion – Israel Institute of Technology.
ECE 4951 Lecture 5: PID Control of Processes. PID Control A closed loop (feedback) control system, generally with Single Input-Single Output (SISO) A.
A Solder Reflow Oven Dylan Gifford David Cobler. A typical $30,000 Reflow Oven Solder Paste Surface Mount Technology.
Design Realization lecture 23
Design of a Control Workstation for Controller Algorithm Testing Aaron Mahaffey Dave Tastsides Dr. Dempsey.
Timers and Interrupts Shivendu Bhushan Summer Camp ‘13.
Introduction to Op Amps
Engineering 1040: Mechanisms & Electric Circuits Fall 2011 Introduction to Embedded Systems.
The Technion Israel institute of technology Electrical Engineering Dept. HSDS lab ECU project Part A final presentation By: Ehab Shakour & Gaby Shakour.
Proportional/Integral/Derivative Control
1 © Unitec New Zealand Embedded Hardware ETEC 6416 Date: - 10 Aug,2011.
Computer Control: An Overview Wittenmark, Åström, Årzén Computer controlled Systems The sampling process Approximation of continuous time controllers Aliasing.
Robot Sensors Kevin Watson and Rich Petras. Overview ➲ Sensors ● Micro Switch ● Gyro ● Encoders ➲ Command Sequencing ➲ PID Control.
CHAPTER 11 Op-Amp Applications. Objectives Describe and Analyze: Audio mixers Integrators Differentiators Peak detectors Comparators Other applications.
Professor : Chi-Jo Wang Student’s name : Nguyen Van Binh Student ID: MA02B203 Two Wheels Self Balancing Robot 1 Southern Taiwan University Department of.
1 Lab 5: Controls and feedback. 2 Lab 5: Control and Feedback This embedded system uses the Photo sensor to detect the light intensity of the environment.
HARDWARE INTERFACE FOR A 3-DOF SURGICAL ROBOT ARM Ahmet Atasoy 1, Mehmed Ozkan 2, Duygun Erol Barkana 3 1 Institute of Biomedical Engineering, Bogazici.
Chapter 2 Basic Principle of PLC PLC Configuration &Function   Basic Configuration  CPU  Memory  Programming Interface  Communication.
Control Theory Control System Objectives  Establish a final condition  Provide safe operation  Eliminate the human element  Assure economical operation.
Design Realization lecture 22
PID. The proportional term produces an output value that is proportional to the current error value. Kp, called the proportional gain constant.
Modern Control System EKT 308
Final Exam M.Eng. Amjad Elshenawy RTECS Gc(s)Gc(s) Gc(s)Gc(s) Controller   n sensor noise  w load disturbance  Gp(s)Gp(s) Gp(s)Gp(s) Plant.
PID CONTROLLERS By Harshal Inamdar.
CSCI1600: Embedded and Real Time Software Lecture 12: Modeling V: Control Systems and Feedback Steven Reiss, Fall 2015.
Control systems KON-C2004 Mechatronics Basics Tapio Lantela, Nov 5th, 2015.
The George Washington University Department of ECE ECE Intro: Electrical & Computer Engineering Dr. S. Ahmadi Class 4/Lab3.
Digital Control CSE 421.
Embedded Control Systems Dr. Bonnie Heck School of ECE Georgia Tech.
Chapter 8 Operational Amplifiers Tai-Cheng Lee Electrical Engineering/GIEE 1.
Flow of signal So you have a sensor, now to process data taken from a sensor you will need a processing unit and that is your controller. sensorcontroller.
Advanced Programming Analog Operation % 0 8 steps 100% True Analog Volts.
EKT 314/4 WEEK 2 : CHAPTER 1 INTRODUCTION TO EI ELECTRONIC INSTRUMENTATION.
Lecture Notes / PPT UNIT III
Intelligent Control Grant Agreement No LLP UK-LEONARDO-LMP Project acronym: CLEM Project title: Cloud services for E-Learning in Mechatronics.
Digital Control CSE 421.
Purpose of This Minilab
AUTOMATIC TEMPERATURE CONTROLLED FAN USING 8051
PID Control for Embedded Systems
IPC (GROUP-5) SR. NO NAME EN. NO 1 SAVAN PADARIYA
Chapter 7 The Root Locus Method The root-locus method is a powerful tool for designing and analyzing feedback control systems The Root Locus Concept The.
Intelligent Traction Control Smart Robot
Feedback Control System
DC MOTOR SPEED CONTROL 1. Introduction
‘SONAR’ using Arduino & ultrasonic distance sensor
CSCI1600: Embedded and Real Time Software
What is an Op-Amp? – The Surface
6: Processor-based Control Systems
Basic Design of PID Controller
Cole Perrault Spring 2015 ET 493 Wesley Deneke
Lesson 1: Overview of Sequential Control and Data Acquisition
Overview of Control System
The Design of Feedback Control Systems
Presentation transcript:

TECHNION - ISRAEL INSTITUTE OF TECHNOLOGY Department of Electrical Engineering Control and Robotics Lab Design a digitally controlled analog PID controller Designer: Idan Yahav Supervisor: David Gidony 1

PID controller - Intro 2 The PID controller helps get your output where you want it, with minimal overshoot, and with little error. PID stands for: P -Proportional, I - Integral, D - Derivative. We apply this functions on the error signal. V error is the difference between where you want to go (V set ), and where you're actually at (V sensor ). V error = V set - V sensor.

PID controller - Intro 3

Term Math Function Effect on Control System P Proportional KP x V error Typically the main drive in a control loop, KP reduces a large part of the overall error. I Integral KI x ∫ V error dt Reduces the final error in a system. Summing even a small error over time produces a drive signal large enough to move the system toward a smaller error. D Derivative KD x dV error / dt Counteracts the KP and KI terms when the output changes quickly. This helps reduce overshoot and ringing. It has no effect on final error. PID controller - Intro 4 The controller performs the PID mathematical functions on the error and applies their sum to a process

Goal Main goal : To design a digital controlled PID controller. Part A - Analog Design the analog amplifiers PID and summing. Part B – digital: Design a microcontroller that will control an LCD screen and a variable gain element. 5

Chosen Architecture 6 Amplifiers supply ±15[V]. Digital supplier 5 ]V[. Red arrows indicate digital potentiometer.

Part A : analog design Spec: Input signal is 0.1 [V] Functionality BW- 10m-200 [Hz] Issues Feedback amplifiers : stability check. R out and R in of the P and summing amplifiers. Check the synergy between the blocks. 7

P amplifier Rout=1 ohm PM is 87 Close loop: BW=19K. 8

D amplifier 9 Lowers the gain in high frequency and help stabilize the amplifier Main conflicts: Stability of the block. Functionality of the block

D amplifier 10 PM=87 Close loop BW = 200[Hz]

I amplifier 11 Cancel the affect of bias voltage Cancels affect of bias currents Main conflicts: Stability of the block. Functionality of the block

I amplifier 12 Cancel the affect of bias voltage Cancels affect of bias currents PM=20 Close loop BW 8m[Hz]

Summing amplifier Rin=Ri PM is 87 Close loop BW=17K. 13

Part B : Digital Design The microcontroller is like a small computer. It includes a CPU, memory and I/Os. In order to design the digital solution we need: C code (with a CCS compiler). Interrupts. (do not return to the start of main) Timers. Datasheets. 14

Part B : Digital Design For a single press: count = count ± 0.1 (depend on the button that was pressed). For a long press: count = count ± 0.9 the first time and count = count ± 1 on the rest. If count >10 :count=count-10.

Flow chart 16 Stop timer Start timer Count+0.1 In=1 Timer=0 In=1 Timer=1 In=0 Timer=x Start timer Count+1

Part B : Digital Design A function that writes to the screen was implemented 2 denounce solution were implemented 17

Opens and Next steps Stabilize the integrator. Design a power supply: ±15 [V], gnd, 5[V] and an adjustable voltage down to -5 [V]. Implement a code for the digital potentiometer. Design protection blocks for the card. Calibration solution. Design a printed card. Measurements on the card. 18

Q&A 19

References lating-resistor-and-capacitor-values-for-an-op-amp- differentiator-circuit-d _loop.htm lating-resistor-and-capacitor-values-for-an-op-amp- differentiator-circuit-d _loop.htm