Hey guys, we're probably not going to hit our Jan 1st target for the next batch of Phaserunner controllers to be available. We've run into difficult to solve issues with our soft latching on/off button for handling a situation when the Phaserunner is plugged in and there is a short between V+ and Gnd on the CA lead. So it's up to the 4th daughterboard revision now and getting close.
But we do have great news about our simplified Grin software package for configuration the Phaserunner controller without needing to install the bacdoor software, and it's ready for some testing from all you beta users. Here is the download for windows:
(MacOS as always will come a bit later).
What we've done is pair things down to the parameters that we felt were important for people to be able to setup and tweak on a single page, and also to remap a lot of parameters into familiar scales rather than the "per-unit" normalized scaling that is used internally in the controller. That means that there are dependencies, so if you change say the rated system voltage, then all the the Low voltage and high voltage rollbacks will scale in proportion. Similarly, change the max forwards phase current, and the regen phase current, field weakening, autostart currents etc. will change accordingly. And rather than having the sensorless ramp-up RPM configured in Hertz, we show it here in terms of the much more intuitive motor RPM, but that means if you change the # motor pole pair parameter, then the autostart RPM will change too:
The other main goal was to simplify the initial motor tuning to a couple button clicks. Rather than entering the motor parameter discovery codes, then polling the autotune data, then manually copying the values of Ls, Rs, hall mapping etc. to the input fields, then saving it to flash etc. now you can just click the "autotune" wizard.
It's quite important that you have the correct effective pole-pair count and a good approximate RPM/V value, since the phaserunner uses these values to determine the frequency that it injects for the static test parameter detection. Click the "launch static test" and it will set the discovery in place, show you the measured values, and save it all to flash.
After that, it will do the motor spinning test and determine both the hall mapping (if halls are present) and the actual motor kV constant and save these to flash. If the motor spins in reverse, then just set the checkbox and click the test launch again. If there are valid halls connected, it will map them and set the motor mode to sensored start - sensorless run, if there aren't halls it will set it to purely sensorless operation.
If the motor doesn't actually spin up but just starts and stutters, then you may need to play with the values in the "Sensorless Starting Parameters" section. If you give the motor a relatively long spinup time (like 1000 mS) to a reasonable RPM (like 10-20% of the no-load RPM) then it will normally start fine for the self test, and you can tweak those later for nice behavior for starting the bike.
If you want to set or read one of the parameters that we haven't shown on this screen, then you can go to Edit->Edit Parameters, which brings up a new window that lets you add any number of parameters in a list and read/write as you wish. We've put in appropriate scaling for most of these, but the bit fields (like the Flag bits) are not handled yet as individual boolean parameters so if you want to play with those then Bacdoor will be more convenient.
And finally there's a development screen for those that want to have a look at all the communications with the Phaserunner, from which you can also read and write individual parameters.
So it's a start, and we'd appreciate and welcome any feedback from Phaserunner users who can download and test this out over the holidays!