ATV Power System

From Elcano Project Wiki
Jump to navigation Jump to search

Motor Driver Board August 2025

Overview

Motor Driver Overview.png

There are 4 identical motor controller systems, which are made up of a gate driver and a 3-phase H-Bridge. All of them are all attached to the central microcontroller, a NUCLEO-L476RG, arranged in a way the optimized trace distance. Each motor controller is attached to its own wheel and provides feedback to the microcontroller to aid it in determining what new speed the wheels need to be set at. This is done via hall effect sensors, which are not implemented on the schematic due to being directly connected with wires in this iteration. In addition, there are connections for our additional systems, such as the Jetson Nano, to be powered through an external buck regulator. This can be seen on the bottom right corner with 2- and 4-hole connectors connected to the battery supply and ground.

Microcontroller

Microcontroller.png

The RJ45 connector inputs 8 signals from the Drive-By-Wire board into the microcontroller, which gives the throttle signals, and also takes in current speed from hall effect sensors for each wheel. These inputs are read and processed by the microcontroller, which then outputs signals that determine the speed and direction that are needed. The relevant signals necessary to achieve this are then fed to the Gate Drivers, for a total of 6 outputs for each Gate Driver. Each set of outputs has been placed to optimize distance to the Gate Drivers. The MCU is powered through the VCC pin which operates at 5 volts, taken off of a 5-volt buck converter. Future signals may need to be added later on, depending on what full testing reveals, as the system this is based on, VESC, has feedback signals from the Gate Drivers. These should all ideally fit on to the current MCU if needed, but each wheel maybe need is own board if there is no more room.

Gate Driver

Motor Driver Gate Driver.png

The Gate Driver is both supplied by the battery and off of the 5 volts regulator. It takes in the output signals from the microcontroller and amplifies them for use by the 3-Phase H-Bridge. It also takes in feedback from the H-Bridge’s bottom MOSFETS sensor resistors to aid in correctly amplifying the input signals into the MOSFETs.

3-Phase H-Bridge

Motor Driver H-Bridge.png

The H-Bridge is controlled by the Gate Driver’s outputs to the MOSFETs’ gate pin, and by the 12 Volt battery supply, which firstly determines the operation mode the MOSFETs should be in. In addition, the output signals determine the speed via the frequency they are being sent at. This combined determines if the ATV needs to go forwards or backwards, and how fast it needs to do so. The sensor resistors attached to the bottom MOSFETs again provide feedback to the Gate Driver, and there are analog switches which have not been implemented into the overall design yet.

Voltage Regulator

Motor Driver Voltage Regulator.png

The voltage regulator takes in 12 Volts from the battery and outputs 5 Volts, which is labeled as VCC through the system. The 5-volt rail powers the smaller ICs on the board which need a lower voltage to operate. In 2025, students attempted to convert a child's mini ATV to self-driving. The project was never completed.


Printed Circuit Board (PCB)

Motor Driver PCB.png

The PCB was never fabricated. The issue of how to provide control to all four wheels with a differential on turns was never addressed.

The current PCB is a 2-sided board which was made that way to reduce its size from initial designs. The microcontroller board is a NUCLEO-L476RG, which sits in the middle of the motor controller systems. The input power from the battery is labeled as Battery In and Battey Out (GND). The connections to each of the motors are labeled as A, B, and C. The top the PCB shows where the RJ-45 connector currently will sit, along with the wire housings on its right. The wiring housings have + symbols to indicate where to place the relevant power, where the rest are to be ground. These are to be connected to external buck regulators which are then connected to systems like the Jeston Nano, Pixhawk, and Latte Panada. The external buck regulator is labeled Out/In power on the back to initiate where to place the wires as shown below. This regulator needs to be tested before full integration system. If proven successful, it can be implemented fully into system.

More buck regulators can be found here: https://www.amazon.com/dp/B07G446KHJ?ref=ppx_yo2ov_dt_b_fed_asin_title

Back of Buck Regulator

Buck Back.jpg

Front of Buck Regulator

Buck Front.jpg

This board has not been fabricated due to its cost from the manufacture OSH Park. A different manufacture can be chosen to make the board, or splitting the current design into 4 individual boards are options to possibly reduce the cost needed. This will make it so that each wheel has one board, meaning that a smaller microcontroller board can be chosen to use instead.