SlideShare a Scribd company logo
CoE
Drones &
Robotics
Whiteline Follower Robot
February 17, 2025 White_Line_Follower_Robot_Firebird 2
Agenda
• Concepts of Adaptive Control
• Line follower Robot –
Firebird V robot using the ATMEGA 2560 microcontroller.
February 17, 2025 White_Line_Follower_Robot_Firebird 3
Adaptive Control System
• Control system - parameters and behavior in real-time to adapt to
changes in the system it is controlling
Performance
Stability
Uncertainities
February 17, 2025 White_Line_Follower_Robot_Firebird 4
Classification – Different Approaches
Control Methods
Direct Adaptive
Control
Indirect
Adaptive
Control
February 17, 2025 White_Line_Follower_Robot_Firebird 5
Atmega2560 Robot
February 17, 2025 White_Line_Follower_Robot_Firebird 6
White line Follower
• LCD interfacing
• Motion Control
• PWM generation - Velocity Control
• ADC interfacing
February 17, 2025 White_Line_Follower_Robot_Firebird 7
White Line Sensor
• Transmitter – Red LED
• Receiver – Phototransistor
February 17, 2025 White_Line_Follower_Robot_Firebird 8
Photo Transistor
• Light activated device
• Transistor enclosed in a glass casing
February 17, 2025 White_Line_Follower_Robot_Firebird 9
Working
February 17, 2025 White_Line_Follower_Robot_Firebird 11
LCD Interfacing
February 17, 2025 White_Line_Follower_Robot_Firebird 12
Various Motion
February 17, 2025 White_Line_Follower_Robot_Firebird 13
Driver Circuit – L293D-IC
February 17, 2025 White_Line_Follower_Robot_Firebird 14
Motor Pin Connection
February 17, 2025 White_Line_Follower_Robot_Firebird 15
Logic Table
February 17, 2025 White_Line_Follower_Robot_Firebird 16
Motion Control using PWM
February 17, 2025 White_Line_Follower_Robot_Firebird 17
Duty Cycle
February 17, 2025 White_Line_Follower_Robot_Firebird 18
PWM generation in Firebird
February 17, 2025 White_Line_Follower_Robot_Firebird 21
Registers Used
• TCNT5H = 0xFF
• TCNT5L = 0x00
• TCCR5A = 0xA9
• TCCR5A = 0x0B
• OCR5AH = 0x00
• OCR5AL = 0xFF
• OCR5BH = 0x00
• OCR5BH = 0xFF
February 17, 2025 White_Line_Follower_Robot_Firebird 22
Interrupts
February 17, 2025 White_Line_Follower_Robot_Firebird 23
Position Encoder
February 17, 2025 White_Line_Follower_Robot_Firebird 24
February 17, 2025 White_Line_Follower_Robot_Firebird 25
February 17, 2025 White_Line_Follower_Robot_Firebird 27
Need for ADC
• IR Proximity sensors
• Sharp IR range sensors
• White line sensors
• Battery voltage sensors etc.,
February 17, 2025 28
ADC Channels
White_Line_Follower_Robot_Firebird
February 17, 2025 White_Line_Follower_Robot_Firebird 29
ADC Registers
• ADCSRA
• ADCSRB
• ADMUX
• ACSR
February 17, 2025 White_Line_Follower_Robot_Firebird 30
ADC Control and Status Register A
February 17, 2025 White_Line_Follower_Robot_Firebird 31
ADMUX
February 17, 2025 White_Line_Follower_Robot_Firebird 32
ACSR- Analog Comparator control ans
Status Register
February 17, 2025 White_Line_Follower_Robot_Firebird 34
Program
White_Line_Following.c
lcd.c
February 17, 2025 White_Line_Follower_Robot_Firebird 35
libraries
• #include <avr/io.h>
• #include <avr/interrupt.h>
• #include <util/delay.h>
• #include <math.h> //included to support power function
• #include "lcd.c"
February 17, 2025 White_Line_Follower_Robot_Firebird 36
Function Prototypes
• void port_init();
• void timer5_init();
• void velocity(unsigned char,
unsigned char);
• void motors_delay();
• Unsigned char
ADC_Conversion(unsigned char);
• void lcd_port_config(void);
• void adc_pin_config(void);
void motion_pin_config(void);
void adc_init(void);
void print_sensor(char, char, unsigned char);
void motion_set(unsigned char);
void forward(void);
void stop(void);
void init_devices(void);
February 17, 2025 White_Line_Follower_Robot_Firebird 37
Variables Declarations
• unsigned char ADC_Value;
• unsigned char flag = 0;
• unsigned char Left_white_line = 0;
• unsigned char Center_white_line = 0;
• unsigned char Right_white_line = 0;
February 17, 2025 White_Line_Follower_Robot_Firebird 38
Initialization Functions
• void lcd_port_config(void);
• void adc_pin_config(void);
• void motion_pin_config(void);
• void port_init(void);
• void timer5_init(void);
• void adc_init(void);
February 17, 2025 White_Line_Follower_Robot_Firebird 39
• Sensor Reading and Robot Control:
• The main loop continuously reads values from three white
line sensors (Left_white_line, Center_white_line,
Right_white_line).
• The robot adjusts its movement based on the sensor
readings, attempting to follow a path.
• Motor velocities are adjusted to guide the robot.
February 17, 2025 White_Line_Follower_Robot_Firebird 40
Output
February 17, 2025 White_Line_Follower_Robot_Firebird 41
THANK YOU

More Related Content

PDF
Robotics Overview
PDF
Lessons Learned from Using Spark for Evaluating Road Detection at BMW Autonom...
PPTX
appu.pptxpaga of the plchduddddrrhddjdidu
PPTX
Slope Final Review Meeting - WP3
PDF
New Opportunity & Applications by IIoT Technology -Water, Electricity, Gas
PPTX
ADAR4002_SV_Model_Webinar_May2023_Final.pptx
PDF
apidays London 2023 - API Metrics matters in APIOps, Ludovic Pourrat, Lombar...
PPTX
Reading Flow Meters With Revenue-Grade Accuracy Through Your SCADA, Telemetry...
Robotics Overview
Lessons Learned from Using Spark for Evaluating Road Detection at BMW Autonom...
appu.pptxpaga of the plchduddddrrhddjdidu
Slope Final Review Meeting - WP3
New Opportunity & Applications by IIoT Technology -Water, Electricity, Gas
ADAR4002_SV_Model_Webinar_May2023_Final.pptx
apidays London 2023 - API Metrics matters in APIOps, Ludovic Pourrat, Lombar...
Reading Flow Meters With Revenue-Grade Accuracy Through Your SCADA, Telemetry...

More from ChithraM26 (6)

PPTX
SYNCHRONOUS MOTOR DRIVES in Industrial Drives
PPTX
Control systems in drones and robotics (1).pptx
PPTX
Applications of smart inverter in engineering
PPTX
Power system Planning - Basic Techniques
PDF
01_Introduction (1).pdf
PPTX
CLASSIFICATION OF CHOPPER.pptx
SYNCHRONOUS MOTOR DRIVES in Industrial Drives
Control systems in drones and robotics (1).pptx
Applications of smart inverter in engineering
Power system Planning - Basic Techniques
01_Introduction (1).pdf
CLASSIFICATION OF CHOPPER.pptx
Ad

Recently uploaded (20)

PDF
Categorization of Factors Affecting Classification Algorithms Selection
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PDF
R24 SURVEYING LAB MANUAL for civil enggi
PPTX
additive manufacturing of ss316l using mig welding
PPTX
Construction Project Organization Group 2.pptx
PPTX
Current and future trends in Computer Vision.pptx
PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PDF
PREDICTION OF DIABETES FROM ELECTRONIC HEALTH RECORDS
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PDF
null (2) bgfbg bfgb bfgb fbfg bfbgf b.pdf
PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PDF
737-MAX_SRG.pdf student reference guides
PDF
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
PDF
Level 2 – IBM Data and AI Fundamentals (1)_v1.1.PDF
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PPT
Introduction, IoT Design Methodology, Case Study on IoT System for Weather Mo...
PPT
introduction to datamining and warehousing
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
Categorization of Factors Affecting Classification Algorithms Selection
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
R24 SURVEYING LAB MANUAL for civil enggi
additive manufacturing of ss316l using mig welding
Construction Project Organization Group 2.pptx
Current and future trends in Computer Vision.pptx
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
UNIT-1 - COAL BASED THERMAL POWER PLANTS
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PREDICTION OF DIABETES FROM ELECTRONIC HEALTH RECORDS
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
null (2) bgfbg bfgb bfgb fbfg bfbgf b.pdf
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
737-MAX_SRG.pdf student reference guides
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
Level 2 – IBM Data and AI Fundamentals (1)_v1.1.PDF
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
Introduction, IoT Design Methodology, Case Study on IoT System for Weather Mo...
introduction to datamining and warehousing
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
Ad

Concepts of adaptive control in engineering applications

  • 2. February 17, 2025 White_Line_Follower_Robot_Firebird 2 Agenda • Concepts of Adaptive Control • Line follower Robot – Firebird V robot using the ATMEGA 2560 microcontroller.
  • 3. February 17, 2025 White_Line_Follower_Robot_Firebird 3 Adaptive Control System • Control system - parameters and behavior in real-time to adapt to changes in the system it is controlling Performance Stability Uncertainities
  • 4. February 17, 2025 White_Line_Follower_Robot_Firebird 4 Classification – Different Approaches Control Methods Direct Adaptive Control Indirect Adaptive Control
  • 5. February 17, 2025 White_Line_Follower_Robot_Firebird 5 Atmega2560 Robot
  • 6. February 17, 2025 White_Line_Follower_Robot_Firebird 6 White line Follower • LCD interfacing • Motion Control • PWM generation - Velocity Control • ADC interfacing
  • 7. February 17, 2025 White_Line_Follower_Robot_Firebird 7 White Line Sensor • Transmitter – Red LED • Receiver – Phototransistor
  • 8. February 17, 2025 White_Line_Follower_Robot_Firebird 8 Photo Transistor • Light activated device • Transistor enclosed in a glass casing
  • 9. February 17, 2025 White_Line_Follower_Robot_Firebird 9 Working
  • 10. February 17, 2025 White_Line_Follower_Robot_Firebird 11 LCD Interfacing
  • 11. February 17, 2025 White_Line_Follower_Robot_Firebird 12 Various Motion
  • 12. February 17, 2025 White_Line_Follower_Robot_Firebird 13 Driver Circuit – L293D-IC
  • 13. February 17, 2025 White_Line_Follower_Robot_Firebird 14 Motor Pin Connection
  • 14. February 17, 2025 White_Line_Follower_Robot_Firebird 15 Logic Table
  • 15. February 17, 2025 White_Line_Follower_Robot_Firebird 16 Motion Control using PWM
  • 16. February 17, 2025 White_Line_Follower_Robot_Firebird 17 Duty Cycle
  • 17. February 17, 2025 White_Line_Follower_Robot_Firebird 18 PWM generation in Firebird
  • 18. February 17, 2025 White_Line_Follower_Robot_Firebird 21 Registers Used • TCNT5H = 0xFF • TCNT5L = 0x00 • TCCR5A = 0xA9 • TCCR5A = 0x0B • OCR5AH = 0x00 • OCR5AL = 0xFF • OCR5BH = 0x00 • OCR5BH = 0xFF
  • 19. February 17, 2025 White_Line_Follower_Robot_Firebird 22 Interrupts
  • 20. February 17, 2025 White_Line_Follower_Robot_Firebird 23 Position Encoder
  • 21. February 17, 2025 White_Line_Follower_Robot_Firebird 24
  • 22. February 17, 2025 White_Line_Follower_Robot_Firebird 25
  • 23. February 17, 2025 White_Line_Follower_Robot_Firebird 27 Need for ADC • IR Proximity sensors • Sharp IR range sensors • White line sensors • Battery voltage sensors etc.,
  • 24. February 17, 2025 28 ADC Channels White_Line_Follower_Robot_Firebird
  • 25. February 17, 2025 White_Line_Follower_Robot_Firebird 29 ADC Registers • ADCSRA • ADCSRB • ADMUX • ACSR
  • 26. February 17, 2025 White_Line_Follower_Robot_Firebird 30 ADC Control and Status Register A
  • 27. February 17, 2025 White_Line_Follower_Robot_Firebird 31 ADMUX
  • 28. February 17, 2025 White_Line_Follower_Robot_Firebird 32 ACSR- Analog Comparator control ans Status Register
  • 29. February 17, 2025 White_Line_Follower_Robot_Firebird 34 Program White_Line_Following.c lcd.c
  • 30. February 17, 2025 White_Line_Follower_Robot_Firebird 35 libraries • #include <avr/io.h> • #include <avr/interrupt.h> • #include <util/delay.h> • #include <math.h> //included to support power function • #include "lcd.c"
  • 31. February 17, 2025 White_Line_Follower_Robot_Firebird 36 Function Prototypes • void port_init(); • void timer5_init(); • void velocity(unsigned char, unsigned char); • void motors_delay(); • Unsigned char ADC_Conversion(unsigned char); • void lcd_port_config(void); • void adc_pin_config(void); void motion_pin_config(void); void adc_init(void); void print_sensor(char, char, unsigned char); void motion_set(unsigned char); void forward(void); void stop(void); void init_devices(void);
  • 32. February 17, 2025 White_Line_Follower_Robot_Firebird 37 Variables Declarations • unsigned char ADC_Value; • unsigned char flag = 0; • unsigned char Left_white_line = 0; • unsigned char Center_white_line = 0; • unsigned char Right_white_line = 0;
  • 33. February 17, 2025 White_Line_Follower_Robot_Firebird 38 Initialization Functions • void lcd_port_config(void); • void adc_pin_config(void); • void motion_pin_config(void); • void port_init(void); • void timer5_init(void); • void adc_init(void);
  • 34. February 17, 2025 White_Line_Follower_Robot_Firebird 39 • Sensor Reading and Robot Control: • The main loop continuously reads values from three white line sensors (Left_white_line, Center_white_line, Right_white_line). • The robot adjusts its movement based on the sensor readings, attempting to follow a path. • Motor velocities are adjusted to guide the robot.
  • 35. February 17, 2025 White_Line_Follower_Robot_Firebird 40 Output
  • 36. February 17, 2025 White_Line_Follower_Robot_Firebird 41 THANK YOU

Editor's Notes

  • #1: © Copyright PresentationGO.com – The free PowerPoint and Google Slides template library
  • #3: © Copyright PresentationGO.com – The free PowerPoint and Google Slides template library
  • #7: The main advantage of using red LED is that  It is near to the infra red region  It could be easily seen with eyes and used for easier calibration  All phototransistor and photo diodes are sensitive to infra red but not to red light
  • #21: Registers to initialize
  • #29: All these are 8 bit registers AD MUX multiplier selection register ACSR- Analog Comparator and control register
  • #37: Declaration of global variables used in the code
  • #38: These functions configure the necessary ports and peripherals, such as LCD, ADC (Analog-to-Digital Converter), and timers, for the proper functioning of the robot.