SlideShare a Scribd company logo
1 of 37
Download to read offline
Wheelchair Group
System Overview
Dan Pettinger, Graham Saunders, Jack Humphries,
Karvin Dassanayake, Siyan Yu, Wesley Schon
Gatech VIP – Secure Hardware
22 April, 2016
Karvin Dassanayake, Kendall Davis
Gatech VIP - Secure Hardware
04 December, 2015
Wesley Schon, Cameron Braun, Yushan Cai, Kendall Davis
Gatech ECE 4812-VPM
17 April, 2015
Content Overview
•Motivation
•Background
•Architecture of HW/SW system
•Subgroups
•Semester Goals
•ROS Implementation
•Odometry
•Motor Control
•Power Management
•Ethernet
•Mobilize Central Computer
•Results
•Future Work
Content
•Green bars at bottom of slides indicates work done by the
Spring 2016 VIP team
•Orange bars at bottom of slides indicates work done by the
Fall 2015 VIP team
•Blue bars at bottom of slides indicates work done by the
Spring 2015 VIP team
Motivation
•This project is intended to create a research platform
•The goal of this project is to create a wheelchair that can map
a floor of the TSRB building, while using CAN bus
•The use of a CAN Bus allows other peripheral devices to be
integrated onto the system
Background
• Results from prior research teams:
• LIDAR interfaced to system
• Odometry data from Arduinos interfaced with Central
Computer
• Wheelchair motor control established
• CAN Bus set up
Target Architecture
Current Architecture
Subgroups
• Due to increased size of team, 3 main subgroups were formed
to tackle different issues
• This allowed multiple issues to be tackled at once
• When needed assistance was provided by members in other
subgroups
Odometry
Graham
Jack
Karvin
Driving
Siyan
Wes
Hardware Architecture
Dan
Graham
Semester Goals
• Goals:
• Solve odometry issues
• Implement SLAM
• CAN data packet design
• Create more sophisticated motor control system
• Shift CAN Bus control to central computer
ROS Topic Overview
• Initial redesign of ROS structure separated every operation,
giving access to any data easy for potential peripherals
ROS: Adapting System Layout
• After feedback, we simplified our planned ROS layout to reduce the
number of components
• This entailed combining package 2 and 3 into 1 package, this meant
that a single package would:
• Combine the position data from the odometry topic, and the
environmental data from the LIDAR unit
• Conduct SLAM
• Determine and publish instructions for motor control
Adapted ROS Topic Overview
LSE N
RSE N
SE
Topic
LIDAR
Node
LIDAR
Topic
Main
Package
PUB
PUB
SUB
PUB
MC
Topic MC N
SUB
SUB
Left Shaft Encoder
PUB
Right Shaft Encoder
LIDAR
Computer
Motor Controller
SLAM and Motor Control
• Once Odometry is implemented, the SLAM package will send
data to move the wheelchair, after conducting SLAM with
Odometry and LIDAR data
CAN Bus Implementation
•Libpcan allows central computer to send CAN messages (using
PCAN-USB interface)
•CAN Messages are read by Arduino and corresponding
messages are sent to 5 way motor control
Shaft Encoder
● There are two outputs A & B.
● Either outputs send a high
signal when a set of bars on
the internal encoder disk pass
an optical sensor.
● From these two outputs there
are 4 possible states based on
the rising edge.
*** The physical shaft encoders contain ~ 2500 bars on the
encoder disk, may have the A & B sensors in a different location
than indicated above, and the encoder disk may not always move
in the direction indicated by the green arrow
Data Acquisition
•The code on the Arduinos is used to
record wheel movement.
•If A outputs a high signal then we look
at output B.
•If B is high then we increase the
encoder count, otherwise we decrease
the encoder count (Encoder count is
used to record the change in encoder
values over a period of time)
Issues – Odometry in use-case
•During use-case testing (mounted on wheelchair), odometry
will not accurately track the position of the wheelchair
•When shaft encoders were individually tested at low
velocities the odometry readings would be accurate
•Error was unsolved, but attributed to hardware
•Odometry system was working previously
Odometry
• At the beginning of the
semester, it was
established that the
encoders were not being
recorded correctly
• The shaft encoders are
flipped on the wheelchair,
so they should produce
opposite readings
Issues: Odometry
• Testing and research suggested that the main
cause of odometry errors was due to hardware
limitations
• In order to ensure the odometry was calculated
accurately, all calculations were moved to the
Central Computer
• This way each arduino would have a lighter
workload, and hence be more accurate in their
readings, leading to more accurate odometry
data
Odometry
• Currently, our main focus
is constructing the
Odometry package for
the Central Computer
• Reading both Right and
Left Encoder topics at the
correct times have
proven difficult
Wheelchair Movement
•Wheelchair is controlled through 5-way proprietary controller
Controller
(Central Computer, Laptop) CAN Arduino
2 1
3 2
4 3
5 4
6 6
5-Way Controller
Wheelchair Motors Proprietary CAN
bus
Motor Control - Problems
• The wheelchair was limited in the motions it could do; its
movements were sharp when instructions/commands were
changed and it was not able to move forward without
accelerating constantly
• The initial implementation of the motor control system would
risk misinterpreting CAN messages intended for
non-motor-control purposes
Motor Control - Solutions
• Due to the lack of documentation for the 5 way motor
controller, testing was done to reverse-engineer it
• A new command scheme was drafted
New Command Scheme for
Wheelchair (First Attempt)
Control byte identifies
message as motor control
message
Motor Control
• Took into account new knowledge of 5 way controller
◦ See Appendix B of accompanying report for detailed
information
• Made use of pulsing to control wheelchair speed and
acceleration in forward and reverse states
• Made use of states to keep track of what wheelchair was doing
before turning
• Middle bits can be used to transmit additional data as needed.
Motor Control State Machine
(One speed)
(One speed)
Updated Command Scheme for
Motor Control
Power Management
• The previous semester’s team had to replace a battery, due
to the system architecture – only one of the two 12V
batteries were interfaced with the odometry system
• This semester another battery was depleted, and was not
rechargeable
• It was identified that in order to ensure long term operation
of the wheelchair, a better power management system
must be implemented
Power Management
• In order to avoid these issues in the future, a power
distribution system was designed
• This would:
• Provide power to the motors, the odometry system, the
motor control system, the central computer, the LIDAR
unit and any other peripherals
• Drain each battery at an equal rate
Power Management
Power Management
● All wheelchair
electronics are
powered by both
batteries
connected in
series
● Load on batteries
is equal
Ethernet Implementation
• Work was done to interface the LIDAR unit to the Central
Computer via Ethernet.
• This communication method would reflect the original target
architecture for the Wheelchair.
• The benefits would be:
• Prevent data collisions
• Expandability through time division multiplexing
• However, the current LIDAR-to-PC connection through a serial
to USB adaptor was done due to ease of use.
Mobilize Central Computer
• Mount computer to back of wheelchair with intent of making
wheelchair autonomous
• Mini ITX case was chosen vs. Micro ATX for size practicalities
• Easier to attach due to smaller size
• Two computers allow 2 subgroups to work at once
• A PCAN PCI Express card was installed, to enable CAN
communication with the Central Computer
Category Specification
Form factor mini-ITX
Case Dimensions 8.27"x7.83"x9.65"
Processor Cores 4
Processor Base Frequency 2 GHz
Memory size 8 GB
Memory Type DDR3L 1333
Ports
PCIe 2.0, mini-PCIe, SATA3 (2), SATA2 (2), VGA, D-Sub, HDMI,
USB 3.0 (4), USB 2.0 (4), Printer Port, COM Port, 7.1 CH audio
Storage type SSD
Storage capacity 250 GB
Wifi Protocol 802.11b/g/n
Input Voltage 6-30VDC
Max Input Current 25A
Max Output Power 250W
Input Connector M4 screw terminal
Output Connector 24-pin ATX
Central Computer Key Specs
Mobilize Central Computer
• New computer fits easily
on wheelchair
• Power supply runs directly
off of wheelchair batteries
• Having two computers on
which to test is more
robust
Semester Results
• ROS architecture redesigned
• New driving scheme created
• Odometry function moved onto the central computer
• Construction of new central computer
Future Work
• SLAM
• Feedback control of wheelchair motion from within ROS
• Encryption of CAN bus, resistance to tampering
• Research on USB timing errors on central computer

More Related Content

What's hot

Husam Sabbah CV2015
Husam Sabbah CV2015Husam Sabbah CV2015
Husam Sabbah CV2015Husam Sabbah
 
Design and development of programmable controller for air sampling machine
Design and development of programmable controller for air sampling machineDesign and development of programmable controller for air sampling machine
Design and development of programmable controller for air sampling machineeSAT Journals
 
UFM Downtown San Francisco – Managing Underground Electric Assets in Densely ...
UFM Downtown San Francisco – Managing Underground Electric Assets in Densely ...UFM Downtown San Francisco – Managing Underground Electric Assets in Densely ...
UFM Downtown San Francisco – Managing Underground Electric Assets in Densely ...UDC
 
1.1 introduction to mechatronics
1.1 introduction to mechatronics1.1 introduction to mechatronics
1.1 introduction to mechatronicskandalkhandeka
 
DuinOS controlled Rover with MATLAB 2009 and Android GingerBread - 2012-11-04
DuinOS controlled Rover with MATLAB 2009 and Android GingerBread - 2012-11-04DuinOS controlled Rover with MATLAB 2009 and Android GingerBread - 2012-11-04
DuinOS controlled Rover with MATLAB 2009 and Android GingerBread - 2012-11-04Aritra Sarkar
 
Focus on the essential / Intelligent Networks
Focus on the essential / Intelligent NetworksFocus on the essential / Intelligent Networks
Focus on the essential / Intelligent NetworksTeleste Corporation
 
Microprocessor applications
Microprocessor applicationsMicroprocessor applications
Microprocessor applicationsRohit Gothwal
 
Scada Based Online Circuit Breaker Monitoring System
Scada Based Online Circuit Breaker Monitoring SystemScada Based Online Circuit Breaker Monitoring System
Scada Based Online Circuit Breaker Monitoring SystemIOSR Journals
 
CONDITION BASED MONITORING AND CONTROL OF INDUCTION MOTOR USSING IOT
CONDITION BASED MONITORING AND CONTROL OF INDUCTION MOTOR USSING IOTCONDITION BASED MONITORING AND CONTROL OF INDUCTION MOTOR USSING IOT
CONDITION BASED MONITORING AND CONTROL OF INDUCTION MOTOR USSING IOTShubhamArora175
 
Smart Solar System
Smart Solar SystemSmart Solar System
Smart Solar Systemjunshi30
 
ME 6702 Mechatronic unit V
ME 6702 Mechatronic unit VME 6702 Mechatronic unit V
ME 6702 Mechatronic unit VNAVEEN UTHANDI
 
TEMPERATURE MONITORING
TEMPERATURE MONITORINGTEMPERATURE MONITORING
TEMPERATURE MONITORINGManisha Chandu
 
Smart Locus Product Presentation
Smart Locus Product PresentationSmart Locus Product Presentation
Smart Locus Product PresentationLoretta Falcone
 

What's hot (19)

Husam Sabbah CV2015
Husam Sabbah CV2015Husam Sabbah CV2015
Husam Sabbah CV2015
 
Design and development of programmable controller for air sampling machine
Design and development of programmable controller for air sampling machineDesign and development of programmable controller for air sampling machine
Design and development of programmable controller for air sampling machine
 
Remote monitoring control
Remote monitoring controlRemote monitoring control
Remote monitoring control
 
Gi oss offering top cell_partnership (1)
Gi oss offering top cell_partnership (1)Gi oss offering top cell_partnership (1)
Gi oss offering top cell_partnership (1)
 
UFM Downtown San Francisco – Managing Underground Electric Assets in Densely ...
UFM Downtown San Francisco – Managing Underground Electric Assets in Densely ...UFM Downtown San Francisco – Managing Underground Electric Assets in Densely ...
UFM Downtown San Francisco – Managing Underground Electric Assets in Densely ...
 
Bosch Internship presentation
Bosch Internship presentationBosch Internship presentation
Bosch Internship presentation
 
Solar work paper
Solar work paperSolar work paper
Solar work paper
 
1.1 introduction to mechatronics
1.1 introduction to mechatronics1.1 introduction to mechatronics
1.1 introduction to mechatronics
 
DuinOS controlled Rover with MATLAB 2009 and Android GingerBread - 2012-11-04
DuinOS controlled Rover with MATLAB 2009 and Android GingerBread - 2012-11-04DuinOS controlled Rover with MATLAB 2009 and Android GingerBread - 2012-11-04
DuinOS controlled Rover with MATLAB 2009 and Android GingerBread - 2012-11-04
 
Focus on the essential / Intelligent Networks
Focus on the essential / Intelligent NetworksFocus on the essential / Intelligent Networks
Focus on the essential / Intelligent Networks
 
Microprocessor applications
Microprocessor applicationsMicroprocessor applications
Microprocessor applications
 
Scada Based Online Circuit Breaker Monitoring System
Scada Based Online Circuit Breaker Monitoring SystemScada Based Online Circuit Breaker Monitoring System
Scada Based Online Circuit Breaker Monitoring System
 
CONDITION BASED MONITORING AND CONTROL OF INDUCTION MOTOR USSING IOT
CONDITION BASED MONITORING AND CONTROL OF INDUCTION MOTOR USSING IOTCONDITION BASED MONITORING AND CONTROL OF INDUCTION MOTOR USSING IOT
CONDITION BASED MONITORING AND CONTROL OF INDUCTION MOTOR USSING IOT
 
leader
leaderleader
leader
 
Smart Solar System
Smart Solar SystemSmart Solar System
Smart Solar System
 
ME 6702 Mechatronic unit V
ME 6702 Mechatronic unit VME 6702 Mechatronic unit V
ME 6702 Mechatronic unit V
 
TEMPERATURE MONITORING
TEMPERATURE MONITORINGTEMPERATURE MONITORING
TEMPERATURE MONITORING
 
AN INSIDE LOOK IN THE ELECTRICAL STRUCTURE OF THE BATTERY MANAGEMENT SYSTEM T...
AN INSIDE LOOK IN THE ELECTRICAL STRUCTURE OF THE BATTERY MANAGEMENT SYSTEM T...AN INSIDE LOOK IN THE ELECTRICAL STRUCTURE OF THE BATTERY MANAGEMENT SYSTEM T...
AN INSIDE LOOK IN THE ELECTRICAL STRUCTURE OF THE BATTERY MANAGEMENT SYSTEM T...
 
Smart Locus Product Presentation
Smart Locus Product PresentationSmart Locus Product Presentation
Smart Locus Product Presentation
 

Similar to VIP - Wheelchair Project Final Presentation

Data at Scale - Michael Peacock, Cloud Connect 2012
Data at Scale - Michael Peacock, Cloud Connect 2012Data at Scale - Michael Peacock, Cloud Connect 2012
Data at Scale - Michael Peacock, Cloud Connect 2012Michael Peacock
 
ROLE OF DIGITAL SIMULATION IN CONFIGURING NETWORK PARAMETERS
ROLE OF DIGITAL SIMULATION IN CONFIGURING NETWORK PARAMETERSROLE OF DIGITAL SIMULATION IN CONFIGURING NETWORK PARAMETERS
ROLE OF DIGITAL SIMULATION IN CONFIGURING NETWORK PARAMETERSDeepak Shankar
 
Built In Self Testing(BIST) Architecture for Motin Estimation and Computing A...
Built In Self Testing(BIST) Architecture for Motin Estimation and Computing A...Built In Self Testing(BIST) Architecture for Motin Estimation and Computing A...
Built In Self Testing(BIST) Architecture for Motin Estimation and Computing A...Shashidhar Reddy
 
Introduction to embedded System.pptx
Introduction to embedded System.pptxIntroduction to embedded System.pptx
Introduction to embedded System.pptxPratik Gohel
 
OBC_Presentation.pptx
OBC_Presentation.pptxOBC_Presentation.pptx
OBC_Presentation.pptxUmairAzam22
 
Wisenet - Complete ppt about the topic wisenet
Wisenet -  Complete ppt about the topic wisenetWisenet -  Complete ppt about the topic wisenet
Wisenet - Complete ppt about the topic wisenetAboo Thahir
 
VIP - Wheelchair Project Final Report
VIP - Wheelchair Project Final ReportVIP - Wheelchair Project Final Report
VIP - Wheelchair Project Final ReportKarvin Dassanayake
 
1. An Introduction to Embed Systems_DRKG.pptx
1. An Introduction to Embed Systems_DRKG.pptx1. An Introduction to Embed Systems_DRKG.pptx
1. An Introduction to Embed Systems_DRKG.pptxKesavanGopal1
 
Evaluating UCIe based multi-die SoC to meet timing and power
Evaluating UCIe based multi-die SoC to meet timing and power Evaluating UCIe based multi-die SoC to meet timing and power
Evaluating UCIe based multi-die SoC to meet timing and power Deepak Shankar
 
SCADA ( Supervisory Control and Data Acquisition system) Software Solutions
SCADA ( Supervisory Control and Data Acquisition system) Software SolutionsSCADA ( Supervisory Control and Data Acquisition system) Software Solutions
SCADA ( Supervisory Control and Data Acquisition system) Software SolutionsEmbitel Technologies (I) PVT LTD
 
10 Steps to Architecting a Sustainable SCADA System
10 Steps to Architecting a Sustainable SCADA System10 Steps to Architecting a Sustainable SCADA System
10 Steps to Architecting a Sustainable SCADA SystemInductive Automation
 
10 Steps to Architecting a Sustainable SCADA System
10 Steps to Architecting a Sustainable SCADA System10 Steps to Architecting a Sustainable SCADA System
10 Steps to Architecting a Sustainable SCADA SystemInductive Automation
 
SagarMShivaram_Embedded Systems
SagarMShivaram_Embedded SystemsSagarMShivaram_Embedded Systems
SagarMShivaram_Embedded SystemsSagar M Shivaram
 
The Central Processing Unit(CPU) for Chapter 4
The Central Processing Unit(CPU) for Chapter 4The Central Processing Unit(CPU) for Chapter 4
The Central Processing Unit(CPU) for Chapter 4MKKhaing
 
Embedded systems
Embedded systemsEmbedded systems
Embedded systemsAshok Raj
 

Similar to VIP - Wheelchair Project Final Presentation (20)

Data at Scale - Michael Peacock, Cloud Connect 2012
Data at Scale - Michael Peacock, Cloud Connect 2012Data at Scale - Michael Peacock, Cloud Connect 2012
Data at Scale - Michael Peacock, Cloud Connect 2012
 
ROLE OF DIGITAL SIMULATION IN CONFIGURING NETWORK PARAMETERS
ROLE OF DIGITAL SIMULATION IN CONFIGURING NETWORK PARAMETERSROLE OF DIGITAL SIMULATION IN CONFIGURING NETWORK PARAMETERS
ROLE OF DIGITAL SIMULATION IN CONFIGURING NETWORK PARAMETERS
 
Built In Self Testing(BIST) Architecture for Motin Estimation and Computing A...
Built In Self Testing(BIST) Architecture for Motin Estimation and Computing A...Built In Self Testing(BIST) Architecture for Motin Estimation and Computing A...
Built In Self Testing(BIST) Architecture for Motin Estimation and Computing A...
 
Introduction to embedded System.pptx
Introduction to embedded System.pptxIntroduction to embedded System.pptx
Introduction to embedded System.pptx
 
Poster_group22
Poster_group22Poster_group22
Poster_group22
 
OBC_Presentation.pptx
OBC_Presentation.pptxOBC_Presentation.pptx
OBC_Presentation.pptx
 
Wisenet - Complete ppt about the topic wisenet
Wisenet -  Complete ppt about the topic wisenetWisenet -  Complete ppt about the topic wisenet
Wisenet - Complete ppt about the topic wisenet
 
VIP - Wheelchair Project Final Report
VIP - Wheelchair Project Final ReportVIP - Wheelchair Project Final Report
VIP - Wheelchair Project Final Report
 
1. An Introduction to Embed Systems_DRKG.pptx
1. An Introduction to Embed Systems_DRKG.pptx1. An Introduction to Embed Systems_DRKG.pptx
1. An Introduction to Embed Systems_DRKG.pptx
 
Evaluating UCIe based multi-die SoC to meet timing and power
Evaluating UCIe based multi-die SoC to meet timing and power Evaluating UCIe based multi-die SoC to meet timing and power
Evaluating UCIe based multi-die SoC to meet timing and power
 
SCADA ( Supervisory Control and Data Acquisition system) Software Solutions
SCADA ( Supervisory Control and Data Acquisition system) Software SolutionsSCADA ( Supervisory Control and Data Acquisition system) Software Solutions
SCADA ( Supervisory Control and Data Acquisition system) Software Solutions
 
10 Steps to Architecting a Sustainable SCADA System
10 Steps to Architecting a Sustainable SCADA System10 Steps to Architecting a Sustainable SCADA System
10 Steps to Architecting a Sustainable SCADA System
 
10 Steps to Architecting a Sustainable SCADA System
10 Steps to Architecting a Sustainable SCADA System10 Steps to Architecting a Sustainable SCADA System
10 Steps to Architecting a Sustainable SCADA System
 
SagarMShivaram_Embedded Systems
SagarMShivaram_Embedded SystemsSagarMShivaram_Embedded Systems
SagarMShivaram_Embedded Systems
 
13 helioscope pvpmc 2017v4
13 helioscope pvpmc 2017v413 helioscope pvpmc 2017v4
13 helioscope pvpmc 2017v4
 
Chap4.ppt
Chap4.pptChap4.ppt
Chap4.ppt
 
Chap4.ppt
Chap4.pptChap4.ppt
Chap4.ppt
 
Chap4.ppt
Chap4.pptChap4.ppt
Chap4.ppt
 
The Central Processing Unit(CPU) for Chapter 4
The Central Processing Unit(CPU) for Chapter 4The Central Processing Unit(CPU) for Chapter 4
The Central Processing Unit(CPU) for Chapter 4
 
Embedded systems
Embedded systemsEmbedded systems
Embedded systems
 

VIP - Wheelchair Project Final Presentation

  • 1. Wheelchair Group System Overview Dan Pettinger, Graham Saunders, Jack Humphries, Karvin Dassanayake, Siyan Yu, Wesley Schon Gatech VIP – Secure Hardware 22 April, 2016 Karvin Dassanayake, Kendall Davis Gatech VIP - Secure Hardware 04 December, 2015 Wesley Schon, Cameron Braun, Yushan Cai, Kendall Davis Gatech ECE 4812-VPM 17 April, 2015
  • 2. Content Overview •Motivation •Background •Architecture of HW/SW system •Subgroups •Semester Goals •ROS Implementation •Odometry •Motor Control •Power Management •Ethernet •Mobilize Central Computer •Results •Future Work
  • 3. Content •Green bars at bottom of slides indicates work done by the Spring 2016 VIP team •Orange bars at bottom of slides indicates work done by the Fall 2015 VIP team •Blue bars at bottom of slides indicates work done by the Spring 2015 VIP team
  • 4. Motivation •This project is intended to create a research platform •The goal of this project is to create a wheelchair that can map a floor of the TSRB building, while using CAN bus •The use of a CAN Bus allows other peripheral devices to be integrated onto the system
  • 5. Background • Results from prior research teams: • LIDAR interfaced to system • Odometry data from Arduinos interfaced with Central Computer • Wheelchair motor control established • CAN Bus set up
  • 8. Subgroups • Due to increased size of team, 3 main subgroups were formed to tackle different issues • This allowed multiple issues to be tackled at once • When needed assistance was provided by members in other subgroups Odometry Graham Jack Karvin Driving Siyan Wes Hardware Architecture Dan Graham
  • 9. Semester Goals • Goals: • Solve odometry issues • Implement SLAM • CAN data packet design • Create more sophisticated motor control system • Shift CAN Bus control to central computer
  • 10. ROS Topic Overview • Initial redesign of ROS structure separated every operation, giving access to any data easy for potential peripherals
  • 11. ROS: Adapting System Layout • After feedback, we simplified our planned ROS layout to reduce the number of components • This entailed combining package 2 and 3 into 1 package, this meant that a single package would: • Combine the position data from the odometry topic, and the environmental data from the LIDAR unit • Conduct SLAM • Determine and publish instructions for motor control
  • 12. Adapted ROS Topic Overview LSE N RSE N SE Topic LIDAR Node LIDAR Topic Main Package PUB PUB SUB PUB MC Topic MC N SUB SUB Left Shaft Encoder PUB Right Shaft Encoder LIDAR Computer Motor Controller
  • 13. SLAM and Motor Control • Once Odometry is implemented, the SLAM package will send data to move the wheelchair, after conducting SLAM with Odometry and LIDAR data
  • 14. CAN Bus Implementation •Libpcan allows central computer to send CAN messages (using PCAN-USB interface) •CAN Messages are read by Arduino and corresponding messages are sent to 5 way motor control
  • 15. Shaft Encoder ● There are two outputs A & B. ● Either outputs send a high signal when a set of bars on the internal encoder disk pass an optical sensor. ● From these two outputs there are 4 possible states based on the rising edge. *** The physical shaft encoders contain ~ 2500 bars on the encoder disk, may have the A & B sensors in a different location than indicated above, and the encoder disk may not always move in the direction indicated by the green arrow
  • 16. Data Acquisition •The code on the Arduinos is used to record wheel movement. •If A outputs a high signal then we look at output B. •If B is high then we increase the encoder count, otherwise we decrease the encoder count (Encoder count is used to record the change in encoder values over a period of time)
  • 17. Issues – Odometry in use-case •During use-case testing (mounted on wheelchair), odometry will not accurately track the position of the wheelchair •When shaft encoders were individually tested at low velocities the odometry readings would be accurate •Error was unsolved, but attributed to hardware •Odometry system was working previously
  • 18. Odometry • At the beginning of the semester, it was established that the encoders were not being recorded correctly • The shaft encoders are flipped on the wheelchair, so they should produce opposite readings
  • 19. Issues: Odometry • Testing and research suggested that the main cause of odometry errors was due to hardware limitations • In order to ensure the odometry was calculated accurately, all calculations were moved to the Central Computer • This way each arduino would have a lighter workload, and hence be more accurate in their readings, leading to more accurate odometry data
  • 20. Odometry • Currently, our main focus is constructing the Odometry package for the Central Computer • Reading both Right and Left Encoder topics at the correct times have proven difficult
  • 21. Wheelchair Movement •Wheelchair is controlled through 5-way proprietary controller Controller (Central Computer, Laptop) CAN Arduino 2 1 3 2 4 3 5 4 6 6 5-Way Controller Wheelchair Motors Proprietary CAN bus
  • 22. Motor Control - Problems • The wheelchair was limited in the motions it could do; its movements were sharp when instructions/commands were changed and it was not able to move forward without accelerating constantly • The initial implementation of the motor control system would risk misinterpreting CAN messages intended for non-motor-control purposes
  • 23. Motor Control - Solutions • Due to the lack of documentation for the 5 way motor controller, testing was done to reverse-engineer it • A new command scheme was drafted
  • 24. New Command Scheme for Wheelchair (First Attempt) Control byte identifies message as motor control message
  • 25. Motor Control • Took into account new knowledge of 5 way controller ◦ See Appendix B of accompanying report for detailed information • Made use of pulsing to control wheelchair speed and acceleration in forward and reverse states • Made use of states to keep track of what wheelchair was doing before turning • Middle bits can be used to transmit additional data as needed.
  • 26. Motor Control State Machine (One speed) (One speed)
  • 27. Updated Command Scheme for Motor Control
  • 28. Power Management • The previous semester’s team had to replace a battery, due to the system architecture – only one of the two 12V batteries were interfaced with the odometry system • This semester another battery was depleted, and was not rechargeable • It was identified that in order to ensure long term operation of the wheelchair, a better power management system must be implemented
  • 29. Power Management • In order to avoid these issues in the future, a power distribution system was designed • This would: • Provide power to the motors, the odometry system, the motor control system, the central computer, the LIDAR unit and any other peripherals • Drain each battery at an equal rate
  • 31. Power Management ● All wheelchair electronics are powered by both batteries connected in series ● Load on batteries is equal
  • 32. Ethernet Implementation • Work was done to interface the LIDAR unit to the Central Computer via Ethernet. • This communication method would reflect the original target architecture for the Wheelchair. • The benefits would be: • Prevent data collisions • Expandability through time division multiplexing • However, the current LIDAR-to-PC connection through a serial to USB adaptor was done due to ease of use.
  • 33. Mobilize Central Computer • Mount computer to back of wheelchair with intent of making wheelchair autonomous • Mini ITX case was chosen vs. Micro ATX for size practicalities • Easier to attach due to smaller size • Two computers allow 2 subgroups to work at once • A PCAN PCI Express card was installed, to enable CAN communication with the Central Computer
  • 34. Category Specification Form factor mini-ITX Case Dimensions 8.27"x7.83"x9.65" Processor Cores 4 Processor Base Frequency 2 GHz Memory size 8 GB Memory Type DDR3L 1333 Ports PCIe 2.0, mini-PCIe, SATA3 (2), SATA2 (2), VGA, D-Sub, HDMI, USB 3.0 (4), USB 2.0 (4), Printer Port, COM Port, 7.1 CH audio Storage type SSD Storage capacity 250 GB Wifi Protocol 802.11b/g/n Input Voltage 6-30VDC Max Input Current 25A Max Output Power 250W Input Connector M4 screw terminal Output Connector 24-pin ATX Central Computer Key Specs
  • 35. Mobilize Central Computer • New computer fits easily on wheelchair • Power supply runs directly off of wheelchair batteries • Having two computers on which to test is more robust
  • 36. Semester Results • ROS architecture redesigned • New driving scheme created • Odometry function moved onto the central computer • Construction of new central computer
  • 37. Future Work • SLAM • Feedback control of wheelchair motion from within ROS • Encryption of CAN bus, resistance to tampering • Research on USB timing errors on central computer