Knightrider::kitty
About the project
An autonomous vehicle in scale 1:18 powered by two independent electric engines and steering by using servo. Our car is adapt to race in EMEA NXP CUP competition. The goal is use a PIXI CAM 2 camera to give our car eyes and to write perfect algorithm to be the fastest.
Project info
Difficulty: Difficult
Platforms: Arm Mbed, MATLAB, NXP
Estimated time: 7 months+
License: GNU General Public License, version 3 or later (GPL3+)
Items used in this project
Hardware components
View all
Software apps and online services
View all
Hand tools and fabrication machines
Story
About the project
The project contains multiple hardware, software and mechanical elements, combined together in order to create an autonomous car, capable to move on the track without any human control. Vehicle is programmed to move on the track and support some features defined by the NXP Cup competition rules.
The project is maintained using the Git repository system. Navigate to the following location to find our embedded firmware and software libraries, as well as hardware platform and mechanical parts designs.Story
Mechanical platform
As expected, the vehicle needs to have a chassis that will ensure a stable fixation of all components. There are several chassis models recommended by the NXP Cup competition organizers and the Landzo Alamak chassis is the one selected for this project.
The Alamak set contains chassis, servo steering system and motors, but the last two elements were replaced in order to reduce response time of the steering system, provide better durability and allow car to reach higher velocity.
There are also plenty of elements that were created using 3D printing technology in order to enhance the car chassis by adding holders, stabilizers and reinforcement elements.
The steering system
System consists of a few elements, which goal is to fix servo to the chassis and allow turning the wheels by moving swingarms. Additionally, the servo holder is combined with the camera mast holder and the microcontroller board holder, what provides durable and stable fastening of all elements. The 3D models and photos were presented below:
Whole system:
Servo holder:
Element attaching the wheel to the swingarm:
Front bumper
Alamak chassis is equipped with a small front bumper, but it does not provide sufficient protection against damaging steering system in case of hitting some obstacles. That is why the vehicle was supplied with the bigger bumper, having additional holders for the distance measuring sensors. Those are planned to be used for detecting obstacles on the car way and allowing to avoid them.
ray Bumper top view:
Battery holder
The holder is simple element to stabilize the battery on the car chassis and allow replacing it in the comfortable way.
Holder model view:
PIXY camera holder
The holder goal is to attach a PIXY camera to the mast in a way allowing to easily adjust camera tilt. Moreover, thanks to the special holder ring, it is possible to mount additional camera lens in order to widen the viewing angle.
Camera holder model:
Encoder disc
The controlling system and tracking algorithm take advantage from the encoders, getting the actual rotation speed of the wheels. This information is used as a kind of feedback for the algorithm to know whether desired velocity is achieved or not and adjust controlling signals depending on it.
Currently used encoders are optical, which means that they measure rotation speed basing on the reflection of the laser beam. The optical encoder needs to have a disc reflecting laser beam in a way representing current velocity and for this reason, an encoder disc covered with evenly distributed holes was created. Those holes cause that laser beam is periodically reflected or not and the sensor is able to measure frequency of such blinking.
Encoder disc model:
Mounted encoder disc: