şŁ˝ÇÍř engineering students compete using the technology that will drive the autonomous vehicles of the future
Ohio Northern University engineering students put the course in coursework at the first annual ONU Robotics Challenge on Friday, Dec. 10, in the lobby of the James Lehr Kennedy Engineering Building. Students in Dr. Ziad Youssfiâs Embedded Real-time Application (ECCS 3351) class battled with wheeled robots that they programmed to follow a course made up of a twisting and turning black line. Two robots from competing teams started on opposite sides of the course and the winner was the first robot to make it back to its starting position, or catch up and bump the other robot from behind. Students remade the course after each round until the bracket-style competition determined its champion.
The course and competition provided students with a hands-on, high-impact learning opportunity to program algorithms for embedded real-time systems, one of the most important and widely used aspects of modern computing. Real-time computing relies on collecting and interpreting data and then responding to that data in a constrained time frame. Advanced applications of embedded real-time systems include the flight controls on SpaceXâs reusable rocket boosters, self-driving cars and even the robot vacuum you might have in your living room. Without this area of computer and electrical engineering, autonomous vehicles simply would not exist.
âI decided to include robotics in ECCS 3351 for the first time this semester. This inclusion not only gave the students more concrete examples for embedded systems, but it also allowed them to have a hands-on and fun experience. As students learned more advanced topics in the lab, it was natural for me to think of giving them a challenge at the end to celebrate their accomplishments,â said Youssfi. âThe atrium of the new JLK Engineering Building provided a perfect setting for the Challenge, with onlookers watching from the upper floors. When the students and I started cheering for the robots, I knew we had succeeded.â
The ONU Robotics Challenge posed a far simpler problem than returning a rocket from spaceâafter all, the robot just had to follow a black line on a white surfaceâbut this simplicity allowed students to be creative in their approaches, and the competition aspect forced them to find the best solution of all the available options. The point of this exercise wasnât just to program a robot that can follow a line around a course, it was to be the best at doing so, and the students took the challenge to heart.
âI talked to a lot of the other teams, and everyone has approached this challenge differently,â said Luke Deweese, a junior electrical engineering major. âEveryoneâs solution to the course is different, how they read the lines, how they approach each turnâthey all have their own solution.â
Deweese and teammate Dominic Hupp, a junior computer engineering major, relied on trial and error to program a robot that made it all the way to the final match. âAll the robots are the same, so itâs really the material that weâve been taught in class that sets the teams apart and determines what the robot does and how well it does it,â said Hupp.
The robots themselves are essentially just collections of wheels, motors, sensors and microcomputers. They have optical sensors on the bottom and mechanical âbumpâ sensors along the leading edges. These sensors collect the data that the software loaded on the microcomputer interprets and then send out instructions to the independent motors at each wheel, propelling the robot forward and backward and turning it side to side. A successful robot can detect the black line via the optical sensor underneath and follow along it even as the line turns to the right or left or ceases to exist at all.
âWe didnât know there would be a gap in the [robot] course until a couple days ago,â said senior electrical engineering major Carisa Hoffman. âWeâve been practicing on a circular track, so to have part of the track missing is new, and itâs something unexpected that we had to account for.â
Hoffmanâs robot had a novel approach for reorienting itself onto the course after encountering a gap in the line; it would travel in a square-shaped pattern until it found the line again. She factored in the friction of the robotâs wheels on the track surface to provide the slight variability needed to make the square incrementally different with each iteration until the robot found its way back.
âWe actually did pretty well. I havenât taken a programming course since freshman year, so there was a bit of a learning curve for me to compete against the computer engineers here who have a lot more experience with programming.â
Hupp and Deweeseâs challenge was deciding how many of the optical sensors to use. The sensors can detect light or dark, so they programmed their sensors to work together to keep their robot on the line. âFor a while we tried to use the four middle sensors instead of the two middle sensors, but we determined that that was a poor approach because the line is only so big that weâd never have more than two sensors on the line. With two sensors, if both read âdarkâ we know we are on the line. If the left one is reading âlightâ and the right one is reading âdarkâ we know we are too far off to the left, so we want to turn a bit to the right to get back on the line,â said Hupp.
With the competition being a race at heart, teams also had to consider speed. However, there were decisions to weigh heavily in that regard. Go too fast and your robot might lose the line and have to waste precious seconds finding its way back. Go too slow and you might get caught from behind. Hupp and Deweese opted for variability.
âWe have the ability in our code to set a multiplier compared to our base values, so right now we are running at 80 percent of what we can do. We think we can do 115 percent of what we set it at but we arenât going to try that unless we have to.â
In the end, they finished a respectable second place to the team of junior electrical engineering majors Maylon Conrad and Colton Nanik, but the lessons they learned will propel them forward and keep themâand all the students who participatedâon track for rewarding careers in the exciting field of engineering.