Professional Documents
Culture Documents
Lakshmi Report
Lakshmi Report
ASSIGNMENT-2
(Academic Year 2022-23)
CASE STUDY ON
ELECTRIC WHEELCHAIR
Name: DHANALAKSHMI R
1. INTRODUCTION/SIGNIFICANCE OF THE
DEVICE
10 REFERENCES
INTRODUCTION: ELECTRIC WHEELCHAIR
Electric wheelchairs are vital assistive devices designed to enhance the mobility
and independence of individuals with mobility impairments. These wheelchairs
are equipped with embedded systems that incorporate advanced electronics,
sensors, and control mechanisms to provide users with safe and efficient means
of transportation. In this case study , we will explore the fundamental aspects of
electric wheelchairs as embedded system devices.
SIGNIFICANCE OF ELECTRIC WHEELCHAIR:
Tilt and Recline: Some electric wheelchairs feature tilt and recline
functions, allowing users to adjust their seating position for comfort and
pressure relief.
User Profiles: Embedded systems can store user profiles, enabling quick
and easy access to personalized settings and preferences.
+------------------+
| User Interface |
+------------------+
|
+----------v----------+
| Microcontroller |
| (Embedded System) |
+----------|----------+
|
+----------v----------+
| Motor Control |
+------------------+
|
+-----------------v------------------+
| Motors |
| (Drive and Steering Mechanisms) |
+-----------------|------------------+
|
+----------v----------+
| Power Supply |
+------------------+
FLOWCHART INDICATING THE WORKING OF THE
ELECTRIC WHEELCHAIR
Start
|
v
User Interface
|
v
User Controls Movement?
|
+--------- No -------------- Yes -----------+
| |
| |
| |
v v
Stop the Chair Microcontroller
| |
v |
End Interpret User Input
| |
| v
+---------- Yes |
| |
| |
v |
Microcontroller Motor Control
Interprets User Input |
| |
| v
| |
v |
Determine Direction & Motor Speed
Steering Control
| |
| |
v |
Drive Motors |
| |
v |
End End
2. User Interface: This is where the user interacts with the electric wheelchair
through controls like a joystick or buttons.
3. User Controls Movement? : The system checks if the user is trying to control
the movement of the wheelchair. If not, the flowchart proceeds to "Stop the
Chair" and ends. If yes, it moves to the next step.
7. Motor Control: This subsystem manages the motor control, ensuring that the
motors respond correctly to the microcontroller's commands.
8. End: The flowchart ends here, and the electric wheelchair continues to
operate according to the user's input until the user decides to stop or change
direction.
SOFTWARE PROGRAM USED IN THE ELECTRIC
WHEELCHAIR
(C++ CODE)
#include <iostream>
#include <cstdlib>
#include <unistd.h> // For sleep function
using namespace std;
// Define constants for motor control
const int LEFT_MOTOR_PIN = 1;
const int RIGHT_MOTOR_PIN = 2;
// Functions for controlling motors
void moveForward(int speed) {
// Code to move the wheelchair forward at the given speed
cout << "Moving forward at speed " << speed << endl;
}
void moveBackward(int speed) {
// Code to move the wheelchair backward at the given speed
cout << "Moving backward at speed " << speed << endl;
}
void turnLeft(int speed) {
// Code to turn the wheelchair left at the given speed
cout << "Turning left at speed " << speed << endl;
}
void turnRight(int speed) {
// Code to turn the wheelchair right at the given speed
cout << "Turning right at speed " << speed << endl;
}
void stop() {
// Code to stop the wheelchair
cout << "Stopping" << endl;
}
int main() {
// Main program loop
while (true) {
char command;
int speed;
// Prompt the user for input
cout << "Enter command (F/B/L/R/S): ";
cin >> command;
switch (command) {
case 'F':
cout << "Enter speed (0-100): ";
cin >> speed;
moveForward(speed);
break;
case 'B':
cout << "Enter speed (0-100): ";
cin >> speed;
moveBackward(speed);
break;
case 'L':
cout << "Enter speed (0-100): ";
cin >> speed;
turnLeft(speed);
break;
case 'R':
cout << "Enter speed (0-100): ";
cin >> speed;
turnRight(speed);
break;
case 'S':
stop();
break;
default:
cout << "Invalid command. Please try again." << endl;
}
// Sleep for a short time to simulate real-time operation
usleep(500000); // Sleep for 500 milliseconds
}
return 0;
}
EXPLAINANTION OF THE LOGIC USED IN ELECTRIC
WHEELCHAIR
User Interface and Input Handling: The electric wheelchair begins its
operation with user input from a control interface, which could include a
joystick, buttons, touchpad, or other input devices. The logic for handling
user input typically involves reading the user's commands and translating
them into specific actions, such as moving forward, backward, turning
left, turning right, or stopping.
7. User Profiles: Many electric wheelchairs with embedded systems allow users
to save and recall custom user profiles. This is particularly helpful when
multiple users share the same wheelchair, as it enables quick adjustments to suit
individual preferences.
6. Weight and Size: Electric wheelchairs can be heavy and bulky, which can
make transportation and storage challenging, especially for users who require a
compact and lightweight solution.
7. Dependency on Electronics: The reliance on embedded electronics means
that a technical failure or software glitch can lead to a loss of mobility,
potentially leaving users stranded.
11. Risk of Accidents: Electric wheelchairs, like any motorized vehicle, can be
involved in accidents if not operated carefully. Users must be cautious,
especially when moving in crowded or busy areas.
12. Weight Capacity: Electric wheelchairs have weight limits, and exceeding
these limits can affect the device's performance and safety.
6. Outdoor Activities: Some electric wheelchairs are designed for outdoor use
and have all-terrain capabilities. They allow users to enjoy outdoor activities
such as hiking, camping, and off-road adventures.
7. Travel and Transportation: Electric wheelchairs are used in airports, train
stations, and other transportation hubs to help passengers with mobility
impairments move through terminals and access various modes of
transportation.
8. Sports and Recreation: Adapted electric wheelchairs are used in sports and
recreational activities such as wheelchair basketball, rugby, and tennis. These
chairs are designed for increased maneuverability and durability.
12. Research and Development: Electric wheelchairs are used in research and
development laboratories to study mobility solutions for individuals with
disabilities and to test new technologies and innovations.
13. Tourism and Hospitality: In the tourism and hospitality industry, electric
wheelchairs are provided to guests with mobility impairments to enhance their
experiences in hotels, resorts, and tourist attractions.
16. Veterinary Care: Some veterinary clinics and hospitals use adapted electric
wheelchairs to provide mobility assistance to animals with disabilities.
https://www.researchgate.net/publication/
355137353_Embedded_System_Based_Smart_Wheelchair_For_Physically_Challeng
ed_People
https://www.e3sconferences.org/articles/e3sconf/abs/2021/85/
e3sconf_icmed2021_01122/e3sconf_icmed2021_01122.html