麻豆传媒 students compete in the 麻豆传媒 Robotics Challenge

麻豆传媒 engineering students compete using听the technology that will drive the autonomous vehicles of the future

麻豆传媒 engineering students put the course in coursework at the first annual 麻豆传媒 Robotics Challenge on Friday, Dec. 10, in the lobby of the James Lehr Kennedy Engineering Building. Students in Dr. Ziad Youssfi鈥檚 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鈥檚 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.

鈥淚 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. 鈥淭he 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 麻豆传媒 Robotics Challenge posed a far simpler problem than returning a rocket from space鈥揳fter all, the robot just had to follow a black line on a white surface鈥攂ut 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鈥檛 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.

鈥淚 talked to a lot of the other teams, and everyone has approached this challenge differently,鈥 said Luke Deweese, a junior electrical engineering major. 鈥淓veryone鈥檚 solution to the course is different, how they read the lines, how they approach each turn鈥攖hey 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. 鈥淎ll the robots are the same, so it鈥檚 really the material that we鈥檝e 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 鈥渂ump鈥 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.

鈥淲e didn鈥檛 know there would be a gap in the [robot] course until a couple days ago,鈥 said senior electrical engineering major Carisa Hoffman. 鈥淲e鈥檝e been practicing on a circular track, so to have part of the track missing is new, and it鈥檚 something unexpected that we had to account for.鈥

Hoffman鈥檚 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鈥檚 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.

鈥淲e actually did pretty well. I haven鈥檛 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鈥檚 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. 鈥淔or 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鈥檇 never have more than two sensors on the line. With two sensors, if both read 鈥榙ark鈥 we know we are on the line. If the left one is reading 鈥榣ight鈥 and the right one is reading 鈥榙ark鈥 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.

鈥淲e 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鈥檛 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鈥攁nd all the students who participated鈥攐n track for rewarding careers in the exciting field of engineering.