Mobot Full Breakdown

Our mobot completed the track successfully without the need for resets or multiple trials with a run time of 7.05 seconds and a stopping distance of 14.5 centimeters. While the stopping distance was slightly short of the intended 15 centimeters it was a rather negligible 3% difference from the goal.

The robot followed the line using a PID controller receiving inputs from several line sensors. The sensors detected whether the lightness value was above an experimentally determined threshold. Based on these flags were set for three locations: left, center and right. The distance sensing mechanic was based on a mathematical function run on the values from an ultrasonic range finder. The function converted the value from the ultrasonic to centimeter values.

Our final PID values were the result of numerous tests and recalibrations of the values. Tuning of the PID coefficients to appropriate values is a delicate and important process. If all the values are not balanced appropriately the results will be substantially different than what is desired. My process for filtering the values of the PID coefficients was applying a pseudo-binary search process. I would have the values to reach an optimal point as quickly as possible.

It was interesting to see how the different values of the PID controller impacted the vehicle's trajectory. Within this context, exceptionally large proportional constants can result in one bad reading throwing the path off. Integral values caused what we referred to as the “windshield wiper” effect. The bot would oscillate over the line often causing errors once a turn occurred.

--

--

--

Project Blog for Sidney Nimako

Recommended from Medium

Triton — an alternative to Nvidia's CUDA

Is an AI Arms Race Inevitable?

Secrets, egos and tacit knowledge in machine learning systems

Chatbots in Advertising & Publishing: Is it Worth Investing?

chatbot development company

針對疫情提出之 AI / ML 解決方案資料庫

Taking care of your shift employees’ health in the midst of the pandemic with an AI Covid symptom…

Another Player Chasing System- Game Dev Series 124

The Baltimore Orioles Effect

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Sidney NiBo

Sidney NiBo

More from Medium

Involving esquites.

So, you want to stop the war in Ukraine.

Open letter to all festive spendthrift; The 100 days of January

Debunking the Myth of Cluster B Abuse.