vortexntnu / vortex-asv

GNC for the Vortex ASV. Purpose built for competing in ASV competitions.
MIT License
7 stars 0 forks source link

[TASK] ESC Revamp #92

Open PizzaAllTheWay opened 1 year ago

PizzaAllTheWay commented 1 year ago

Description

Thruster system will be revamped from ESC perspective as old ones kept frying themselves to death X)))))))))

Electrical will get 8 new ESCs (we only need 4) These ESCs need to be flashed and configured to allwow propper control and failsafe implementation Electrical will upgrade failsafe PCB on ASV to include a inbuilt PWM IC for all the 4 new ESCs on board Our objective is to controle ESCs through this PWM IC from RPI on board. Here is the though process ROS -> PRI -> Failsafe PCB -> PWM IC -> ESCs -> Thrusters We willl also have to add a rampup for thrusters (ie, instead of giving 100% power, it slowely creeps up from 0 to 100% in 1 second). We need rampup since going from 0 to 100% instantly creates a lot of EMI at the same time as we get a startup current rush effect witch after a while damage ESCs.

Tasks:

Usefull links:

PizzaAllTheWay commented 1 year ago

Flash ESCs on Beluga with this song https://www.youtube.com/watch?v=Ze3SXD1VDsM&list=PLwip8UXl_Wqg4FUnzJBpHO_VSBquJgiac&index=34&ab_channel=NinjaSauce

PizzaAllTheWay commented 1 year ago

Electrical will use a on board embedded ATmega2560-16AU chip to controll PWM and handle failsafe logic as well as comunication between I2C and RC Controller

PizzaAllTheWay commented 1 year ago

ESC seems to have no documentation, however there are no need to flash them as they are already flashed. And ESCs work on standard ESC control pulses, neutral at 1500 us and has a range of 1100 - 1900 us. Here is the specs: https://www.thrustme.no/eu/thruster-more-eu#Specs