The little black box controls the bike power and does things like automatically shut off the battery if the bike is left for a few minutes without significant current being drawn (saves accidentally leaving the bike switched on and killing the battery!). It also keeps track of total Ah used from the battery, and stores this every time the bike is switched off, so that if you use the bike a few times between being charged the "fuel gauge" display always shows the remaining battery capacity. The next version will have an RFID tag reader to provide security and stop anyone just turning the bike on with the on/off button.That is a nice wattmeter you have put together Jeremy. Am interested in what you mean by a 'torque driven controller'?
The controller I'm currently building uses a variation on Field Oriented Control, a method of providing more accurate control of the motor than the simple 6 step commutation that ordinary ebike controllers use. This measures the phase current in each motor phase, very quickly, and the throttle controls this phase current directly. The result is that the throttle works rather like that on a car or motorcycle and controls the motor output torque fairly directly, rather than the motor speed.
I'm hoping that this will remove some of the mid-speed jerkiness that results from using a speed throttle control. There are other fixes for this, like using a two or three speed switch with the controller, to vary the throttle range, but I've always wanted to see what true torque control would feel like, as I have a suspicion it may feel more natural.