element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Smarter Life
  • Challenges & Projects
  • Design Challenges
  • Smarter Life
  • More
  • Cancel
Smarter Life
Blog Intelligent Wheelchair:
  • Blog
  • Forum
  • Documents
  • Files
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: vu2iti
  • Date Created: 13 Jan 2014 2:44 PM Date Created
  • Views 1733 views
  • Likes 1 like
  • Comments 5 comments
  • obstacle
  • smarter_life_challenge
  • mani
  • detection
  • thundiyil
  • smarter_life
  • 4
  • ultrasonic
  • psoc
Related
Recommended

Intelligent Wheelchair:

vu2iti
vu2iti
13 Jan 2014

My Wheelchair project needs obstacle detection along the travel path of the wheelchair. It is also needed to see that the floor is even and to detect stairs and dead ends of the floor for safety.  Three sensors are planned for this purpose. The positions of the sensors are as shown below:


image

Figure 1. Wheelchair Sensor Positioning


Ultrasonic forward looking obstacle detection

Forefront obstacle detection is based on the reflection of ultrasonic pulses emitted from the ultrasonic transducer. This is a standard technique, in which a short burst of 40 KHz Ultrasonic signal is emitted from a transducer and then by measuring the time taken to receive its echo the distance is calculated. 

Since PSOC chip has the analog and digital programmable parts inside, the whole operation is possible without the need of a processor control and minimum hardware.  A timing diagram for the logic circuit is given below:

Since there is no highly accurate measurement needed for the wheelchair project no precise clock generators are used. The operation starts with transmission of short burst of 40 KHz signals to drive the piezoelectric transducer. The counter will be enabled only after 2 milliseconds so as to avoid false triggering.  The time base for the timer counter is selected as 8000 Hz. The counter continues to count up to 8 milliseconds after that the counter will be reset and a new cycle begins. If an echo is received, it will be amplified by the Op amp inside the chip, which is then fed to a comparator that generates a capture event to capture the elapsed time and is compared to see that the object is at a safe distance. If not an Interrupt is generated for the processor. Upon receiving the interrupt, the processor stops the wheelchair.

Figure 3 shows the schematic arrangement for generating the timing diagram as shown in figure 2.



Figure 2. Timing diagram of the Ultrasonic obstacle detection

2.  Timing diagram of the Ultrasonic obstacle detection

This is my first PSOC project. It is really fun to work with the PSOC creator (I am using version 3). I need to explore more for other power full features of PSOC4.  Since this is my first project, I would like to get the feedback from the readers if anything is wrong with the schematic or suggestions if any. image

Figure 2. Timing diagram of the Ultrasonic obstacle detection


This is my first PSOC project. It is really fun to work with the PSOC creator (I am using version 3). I need to explore more for other power full features of PSOC4.  Since this is my first project, I would like to get the feedback from the readers if anything is wrong with the schematic or suggestions if any.

 



image

Floor sensors

Two numbers of Sharp Optical distance measuring sensors are used for detecting the floor Thee sensor used is GP2Y0D02YK0F. The output is digital and it goes high when the distance sensed is within the range of 70 to 90 cms. The sensors are mounted on the wheelchair so as to point it towards the plane at a slanting angle with the front the front wheel.  The sensor is mounted in such a way as to get a logical high under normal conditions. If there is a step or gap ahead of the front wheel, the distance will be less than or more than 80 centimeters, then output of sensor goes low, which will be read by the processor and wheel chair is stopped.



  • Sign in to reply
  • vsluiter
    vsluiter over 11 years ago

    Mani, on re-reading your blog post I thought that you could also use an IDAC and a resistor to set the threshold for the detection. That way you can have control of the detection threshold from the PSOC, and adapt the threshold if necessary.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • vu2iti
    vu2iti over 11 years ago in reply to DAB

    Thank you  DAB for the comments. The ultrasonic device is the forward looking sonar. For the floor sensing  I am using the SHARP opto electronics sensors. The one that I am propossing has got a resolution of 10 cms. Opto sensors available  with higher resolution also.   It is a good idea to use a camera for image capture. But the processing  will become more complex.

    Any way thanks for the suggestion.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • DAB
    DAB over 11 years ago

    Nice update.

     

    You might want to include a still camera to look down at what lies in the path of the chair and do some simple object detection.

    I worry that the sonic detectors might miss things like big pebbles, sticks or other small obstacles that could cause you problem.

     

    DAB

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • doctorcdf
    doctorcdf over 11 years ago in reply to vsluiter

    I've taken the liberty of moving it in order to prevent a double post.  Thanks everyone.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • vsluiter
    vsluiter over 11 years ago

    Hello Mani,

     

    Can you please repost this in the Cypress PSOC Kits blog? Thanks!!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube