I am designing a cheap electric skateboard.
I have played around with various parameters for quite a while until I finally converged towards a specific motor and a specific battery. Lithium batteries are too expensive so I'm going for an AGM motorcycle battery. The problem is that the 0.025Ohm resistance of the motor leads to a huge current (hundreds of amps) up to 10km/hr which is most of my operational range. Other motors do not provide me with sufficient torque, therefore I need to include a current limiter to protect the ESC and maximise the battery capacity. For information, the continuous rating of the ESC I'm using is 60A.
I'm planning on measuring the current with a Hall Effect current sensor such as the Allegro modules out there, and an Arduino. Then map the current to a % of the duty cycle to subtract to the setpoint, before sending it to the ESC. For example, up to 30A => 0 feedback, 60A and above => 100% feedback, varying linearly in between. My gut feeling says it's basically a bang-bang controller which should be converging.
Any better alternatives?