Embedded Motion Control 2015 Group 5: Difference between revisions

From Control Systems Technology Group
Jump to navigation Jump to search
No edit summary
No edit summary
Line 57: Line 57:


*Recognize junction <br>
*Recognize junction <br>
[[File:detect_junc.png|right|thumb|upright=1.0|Center skill for on a junction]]
[[File:detect_junc.png|right|thumb|upright=1.0|Distinguish cracks from junctions]]
The robot is able to robustly distinguish cracks from junction. If the laser on the left or right of the robot detects a large distance, a bundle of lasers around the perpendicular laserbeam is analyzed. The angle between the first and last bundle with a large distance is calculated and this angle, combined with the corresponding distances at the outer beams of the bundle, is used to calculate the width of the crack (or junction).  
The robot is able to robustly distinguish cracks from junction. If the laser on the left or right of the robot detects a large distance, a bundle of lasers around the perpendicular laserbeam is analyzed. The angle between the first and last bundle with a large distance is calculated and this angle, combined with the corresponding distances at the outer beams of the bundle, is used to calculate the width of the crack (or junction).  
:<math>
:<math>

Revision as of 12:49, 18 May 2015

Group Members

Name: Student id:
Bart van Willigen 0770142
Joost Peters 0747630
Robin Loose 0771575
Koen Bos 0763939
Joost Franssen 0824821
Lotte de Koning 0655209
Marjon 't Klooster 0819200

Software design assignment

The software design assignment can be found here.

Corridor challenge

Goal: Lead PICO as fast as possible through a corridor with an unknown junction. The first side exit at the junction should be taken.

Approach

System interfaces.
System interfaces.

After a first succesful brainstorm, the first draft of the system interface is determined. In this schematic the different contexts are presented. The goal to solve the maze is monitored by the Task monitor. Based on the observed environment and the maze solving algorithm, a set of skills is selected. Task control feedforward is used when no deterministic choice can be made. These skills are based on the robot's basic functions.

Development

Main

Tasks

  • Aligning and centering the robot:

In order to center the robot, two laser bundles perpendicular to the robot's driving direction are used to determine the distance to the wall on the left and right side of the robot. Based on the difference between these distances, a lateral velocity is send to the robot, using a proportional controller. This controller drives the robot to the middle of the corridor. To align the robot along the corridor, three laser bundles are used. One laser bundle measures the distance to the wall perpendicular to the driving direction, and two bundles around the perpendicular bundle measure the distance to the wall. When the perpendicular bundle does not measure the smallest distance, a rotational velocity, based on the differences between the other bundles, is sent to the robot.

Skills

  • Recognize junction
Distinguish cracks from junctions

The robot is able to robustly distinguish cracks from junction. If the laser on the left or right of the robot detects a large distance, a bundle of lasers around the perpendicular laserbeam is analyzed. The angle between the first and last bundle with a large distance is calculated and this angle, combined with the corresponding distances at the outer beams of the bundle, is used to calculate the width of the crack (or junction).

[math]\displaystyle{ width\_crack = sin(angle\_ crack/2)*distance[outer\_ bundle]; }[/math]

This width is now used to distinguish small cracks from actual junctions in the corridor.





  • Center at junction
Center skill for on a junction

When a junction is detected and the decision has been made to enter a specific corridor, the function ‘junction_mid’ is started. The goal of this function is to stand still at the exact middle (target) of the corridor which is about to be entered. To find this exact middle, the beam to the opposing corner of the entrance is measured (1) as soon as beam (2) passes the corner. Beam (1) can then be used to compute the width of the corridor (corr_width) and therefore, the middle of the corridor is also known. Junction_mid ends when it has reached the half width of the corridor (target).



  • Rotate

Conclusion

See the video of the corridor challenge!

Maze challenge