Cycle Analyst V3 preview and first beta release

Get real world experience and user feedback on the electric bicycle products.
User avatar
justin_le   10 MW

10 MW
Posts: 2152
Joined: May 28 2007 3:27am
Location: Vancouver
Contact:

Re: Cycle Analyst V3 preview and first beta release

Post by justin_le » Nov 06 2012 6:31pm

cruzxia wrote: Is it possible to alter the firmware so that you don’t need the diode in direct connection mode? You could set the port as an input when not limiting the throttle. That way you would not need the diode and you could monitor the throttle voltage via the input. It would then be easy for me to compare the two setups, as I can just swap plugs on the throttle line. At present I have to move the green wire from TH0 to THd
That is one of my biggest regrets about the circuit design was not to make it so that I could tri-state the throttle output. Had I done this it would be a lot easier to accomodate people who just want the CA3 as a monitoring device or as a throttle pull-down device. If the signal was just coming from the PIC pin directly that would be doable in software, but the signal goes through an op-amp buffer circuit to produce a much stiffer source and to further isolate the micro from the outside world, making it not so easy. It would require adding some analog switches to flip the circuitry around, and those would require more digital I/O controls from the micro of which there aren't any left.
I have also tested the speed limiting. With the stock CA settings it was surging violently. I think it is due to the high torque motor in a light bike. This bike dose accelerate fast.
I revised the IntSGain down to 40 and the DSGain down to 50 and it smoothed out the surging. I did note that it takes a while for the speed limit to kick in. E.g I set it at 19kph for the test, when I accelerate it over shoots to 36kph and then shuts off the throttle until it drops to about 16kph, then it speeds up and settles around 18.9kph.
36 kph is a lot of overshoot! I did the initial stock tuning with a 750 watt motor setup where the initial overshoot is more like 2-3 kph at most. I would try increasing the DSGain until it starts becoming jittery when the speed has settled, and then back off a bit, and see if that tames the initial response. What is your 0-30 acceleration time like anyways?

-Justin
Currently recovering from the Suntrip race on a back to back tandem solar powered row/cycle trike. 550 watt solar roof, dual Grin All Axle hub motors, dual Phaserunner controllers, 12 LiGo batteries, and a whole wack of gear.

Now back in Vancouver with my Big Dummy Frame (yes This One, thanks ES!) with Grin all-axle front hub, Phaserunner controller, and 52V 19Ah Cellman triangle pack
My website: http://www.ebikes.ca
Please contact via email, info@ebikes.ca, rather than PMs, which are disabled

User avatar
justin_le   10 MW

10 MW
Posts: 2152
Joined: May 28 2007 3:27am
Location: Vancouver
Contact:

Beta 20 Firmware Updates

Post by justin_le » Nov 06 2012 8:15pm

So as has already been discovered, the CA3 Beta20 firmware is finished and available here:
http://www.ebikes.ca/store/store_CAV3.php
At the bottom of the page is the list and description of all items in the setup menu.

There are a lot of changes as I'm trying to get this as close as possible to the look and feel of the first release code.

1) Mode Presets: You can now have 3 different groups of CA limit settings stored on the device. So there is a new menu item for enabling, 1, 2, or 3 presets and naming each of them as well.
Preset_Menu.jpg
Preset_Menu.jpg (19.46 KiB) Viewed 4537 times
For the names, there's a selection to choose from including default, economy, assist, street, offroad, unlimited, and Power, and if you have other suggestions I could fit a few more in for sure:
Preset_Asst.jpg
Preset_Asst.jpg (17.42 KiB) Viewed 4537 times
Preset_OR.jpg
Preset_OR.jpg (18.32 KiB) Viewed 4537 times
The settings which are linked to each preset are those that make sense to change for different operating modes. This includes the speed, current, and power limits, the throttle function and ramp rate, the auxilliary potentiometer function, and the PAS assist mode. It does not include the hardware settings (ex, #poles, wheel size etc), the feedback gains (those should be tuned once to match the hardware), or the calibration or display preferences, all of which will be the same across all presets.

2) Preset Hot Swaps: While you can change between chosen mode presets through the setup menu, this can also be done on the fly at any point by pressing down the left button and then tapping on the right button to switch modes.
PresetSwap.jpg
PresetSwap.jpg (37.04 KiB) Viewed 4537 times
Similarly, if you press the right button and then tap on the left, you can swap between the different battery pack presets. In the Beta20 code there is also a 3rd "C" battery option for those with a collection of packs:
BattSwap.jpg
BattSwap.jpg (37.77 KiB) Viewed 4537 times
3) More "Disabled" Choices: There is a choice to disable the torque sensor if you don't have one connected so that you won't have garbage numbers for human watts etc., and there is also the ability to preset the gain value for a THUN sensor if that's what you are using, and then select "custom" if you want to specify the Nm/V directly.
TrqSens_Disabled.jpg
TrqSens_Disabled.jpg (19.68 KiB) Viewed 4537 times
TrqSens_Thun.jpg
TrqSens_Thun.jpg (18.28 KiB) Viewed 4537 times
4) Torque Offset: This was mentioned previously and is something that I've been really digging on recent test rides. Rather than having the proportional torque assistance engage right from 0 N-m, you can set a torque threshold that the rider has to apply to the pedals before it starts to kick in. So for me, when I am riding in PAS torque control mode I usually don't want any assistance if I'm only putting in like 100-150 watts. This achieves that, and then still allows for proportional boosting with higher levels of pedal torque. You really have to earn your assist wattage!
Trq_Asst_Offset.jpg
Trq_Asst_Offset.jpg (18.32 KiB) Viewed 4537 times

5) More Useful Menu Previews: I've tried to make all the content in the preview line of the setup menu as useful as possible. So for instance, with the speedometer setup, it computes your equivalent inch wheel diameter based on the mm circumference, and the arrow on the right toggles up or down depending on the state of the speedo input sensor.
Spdo_Menu.jpg
Spdo_Menu.jpg (22.1 KiB) Viewed 4537 times
Similarly, for the throttle and the auxiliary potentiometer, it not only shows the voltage on each of those pins but also the scaled value as a percentage between your min and max input points. So it is easy to very the actual limit range with different positions.
ThrotIn_Menu.jpg
ThrotIn_Menu.jpg (18.57 KiB) Viewed 4537 times
AuxPot_Menu.jpg
AuxPot_Menu.jpg (19.11 KiB) Viewed 4537 times
Currently recovering from the Suntrip race on a back to back tandem solar powered row/cycle trike. 550 watt solar roof, dual Grin All Axle hub motors, dual Phaserunner controllers, 12 LiGo batteries, and a whole wack of gear.

Now back in Vancouver with my Big Dummy Frame (yes This One, thanks ES!) with Grin all-axle front hub, Phaserunner controller, and 52V 19Ah Cellman triangle pack
My website: http://www.ebikes.ca
Please contact via email, info@ebikes.ca, rather than PMs, which are disabled

User avatar
teklektik   10 GW

10 GW
Posts: 4020
Joined: Mar 26 2011 1:15pm
Location: CT, USA

Re: Cycle Analyst V3 preview and first beta release

Post by teklektik » Nov 06 2012 8:40pm

Justin-
It's super to see the preset feature - thanks!

But in the spirit of always asking for More!:

My build uses the Vpot/CTRL option to select three different Power levels using Ctrl->AuxFunct=Power(W). However, with the advent of the presets, it would be very nice if this external switching could be extended to provide preset selection as an alternate option (e.g. Ctrl->AuxFunct=Preset ). Here the preset would be selected directly by determining the voltage on the Vpot pad. The voltage range Ctrl->MinAuxIn - Ctrl->MaxAuxIn might be divided into the same number of equally sized voltage bands as there are presets and a preset would be selected by the band in which Vpot fell.

For instance, if
Ctrl->MinAuxIn=0.5v
Ctrl->MaxAuxIn=3.5v
PrSt->Cnt={1,2,&3}


then the three equally sized selection bands would nominally be:
preset1 = [0.5 <= Vpot < 1.5v]
preset2 = [1.5 <= Vpot < 2.5v]
preset3 = [2.5 <= Vpot < 3.5v]


extending the top and bottom bands to include out-of-bound values 0-5v gives:
preset1 = [0.0 <= Vpot < 1.5v]
preset2 = [1.5 <= Vpot < 2.5v]
preset3 = [2.5 <= Vpot < 5.0v]


so Vpot={1v, 2v, 3v} would select presets 1, 2, or 3 respectively. In this example, a 3 preset selection switch could be fabricated using a standard on-off-on switch (or commercial LMH switch) and a simple resistor divider using low precision fixed resistors.

This would extend the preset feature to a 'touch-only' external switch that could safely be done at speed without releasing the bars or diverting eyes from the road - depending on the differences between presets, any single or group of settings would become candidates for external switch control.

Also, adding names to the list of preset names like {High, Medium Low, 1, 2, 3} would provide some generic selection options not so tightly bound to major operating modes or use cases.

Just a thought ;-)
Last edited by teklektik on Nov 07 2012 9:58am, edited 1 time in total.
Visit Grin Technologies at www.ebikes.ca
Build Thread: 2WD Yuba Mundo V4

User avatar
justin_le   10 MW

10 MW
Posts: 2152
Joined: May 28 2007 3:27am
Location: Vancouver
Contact:

Re: Cycle Analyst V3 preview and first beta release

Post by justin_le » Nov 06 2012 10:34pm

teklektik wrote: My build uses the Vpot/CTRL option to select three different Power levels using Ctrl->AuxFunct=Power(W). However, with the advent of the presets, it would be very nice if this external switching could be extended to provide preset selection as an alternate option (e.g. Ctrl->AuxFunct=Preset ). Here the preset would be selected directly by determining the voltage on the Vpot pad. The voltage range Ctrl->MinAuxIn - Ctrl->MaxAuxIn might be divided into the same number of equally sized number of voltage bands as there are presets and a preset would be selected by the band in which Vpot fell.
Well at least when you ask for more it is always well thought out ! The only funky thing about this is that I currently have the aux input function something that is independently set with each preset, so for this to work properly we'd need to change that so that the aux function was global to all 3. Otherwise you could change modes to a preset state that no longer responds to the Aux Input by changing presets. But I can't think of too many cases where say you would want the aux input change in function between modes, so maybe that's not so bad to reduce this to just one option for all 3 modes, and then enable preset selection from the aux input.

OK, I think I'll do it. The screen would definitely need to alert the rider of the mode change, but it's possible to do this without causing any interruption in the CA's operation or throttle output. And for making CA more OEM friendly this helps a lot since the 3 position toggle can easily be mounted on the bike chassis or handlebar.
Also, adding names to the list of preset names like {High, Medium Low, 1, 2, 3} would provide some generic selection options not so tightly bound to major operating modes or use cases.
Great point. The numbers 1,2 and 3 show up as a prefix to each name, but you're right that Hi-Med-Low make a lot of sense.

Also, there is a small something going on with the B20 firmware that if you are running a current or power throttle, the moment the throttle starts to engage you can feel a tiny kick before it then smoothly ramps up. It's subtle on normal powered ebikes but if you have something with lots of oomph it might be more pronounced, and I know just what's going on and will have it sorted in the next update.

-Justin
Currently recovering from the Suntrip race on a back to back tandem solar powered row/cycle trike. 550 watt solar roof, dual Grin All Axle hub motors, dual Phaserunner controllers, 12 LiGo batteries, and a whole wack of gear.

Now back in Vancouver with my Big Dummy Frame (yes This One, thanks ES!) with Grin all-axle front hub, Phaserunner controller, and 52V 19Ah Cellman triangle pack
My website: http://www.ebikes.ca
Please contact via email, info@ebikes.ca, rather than PMs, which are disabled

Opus the Poet   10 µW

10 µW
Posts: 5
Joined: Oct 18 2012 7:39pm

Re: Cycle Analyst V3 preview and first beta release

Post by Opus the Poet » Nov 06 2012 10:45pm

OK I'm sure i saw this somewhere in this thread but how much does swapping a V2CA for a V3CA and adding a Thun change the price of a 9C motor kit? I really don't feel like going through thousands of posts to find that one single post and reply.

User avatar
teklektik   10 GW

10 GW
Posts: 4020
Joined: Mar 26 2011 1:15pm
Location: CT, USA

Re: Cycle Analyst V3 preview and first beta release

Post by teklektik » Nov 07 2012 2:36pm

justin_le wrote:OK, I think I'll do it.
Very cool -Thanks! It will be great to get rid of the annoying trimpots and be able to configure LMH style presets using the CA setup menus. Although the final implementation might differ, assuming the preliminary proposal above, the switch might be wired as:
externalPresetSwitch.gif
externalPresetSwitch.gif (3.64 KiB) Viewed 4482 times
With R1 = R2 = 4.7K I think this is the minimum implementation assuming settings of:
  • Ctrl->AuxFunct=Preset
    Ctrl->MinAuxIn=0.0v
    Ctrl->MaxAuxIn=5.0v
    PrSt->Cnt={1,2,&3}
This would work with the Grin Tech T-3Switch with the resistors positioned either across the CA PCB pads or across pins in the switch JST connector.
ebikesca-3-Position-Switch.jpg
ebikesca-3-Position-Switch.jpg (10.99 KiB) Viewed 4482 times
Visit Grin Technologies at www.ebikes.ca
Build Thread: 2WD Yuba Mundo V4

User avatar
justin_le   10 MW

10 MW
Posts: 2152
Joined: May 28 2007 3:27am
Location: Vancouver
Contact:

Re: Cycle Analyst V3 preview and first beta release

Post by justin_le » Nov 07 2012 6:38pm

Opus the Poet wrote:OK I'm sure i saw this somewhere in this thread but how much does swapping a V2CA for a V3CA and adding a Thun change the price of a 9C motor kit? I really don't feel like going through thousands of posts to find that one single post and reply.
This is not a sales thread so please send email to info@ebikes.ca for any questions like that.
Currently recovering from the Suntrip race on a back to back tandem solar powered row/cycle trike. 550 watt solar roof, dual Grin All Axle hub motors, dual Phaserunner controllers, 12 LiGo batteries, and a whole wack of gear.

Now back in Vancouver with my Big Dummy Frame (yes This One, thanks ES!) with Grin all-axle front hub, Phaserunner controller, and 52V 19Ah Cellman triangle pack
My website: http://www.ebikes.ca
Please contact via email, info@ebikes.ca, rather than PMs, which are disabled

User avatar
cruzxia   100 W

100 W
Posts: 101
Joined: May 18 2012 5:27am

Re: Cycle Analyst V3 preview and first beta release

Post by cruzxia » Nov 09 2012 7:25pm

Justin

0-30 kph is 3.5 seconds, with it limited to 1800w
It is setup to provide 2300w for the first 0.5-1 second of throttle.
launching is hard as it wheel stands.

B20 issues
I setup Mode 1 & 2,
First thing is that the throttle worked in mode 2, but was not transfered to mode 1, (I am back using direct throttle, not pass through) and mode 1 went to pass through throttle after setting up 2 modes . This should not be part of the mode setting as the throttle input type should not alter.

I changed the throttle input in mode 1 to disabled, however it had no effect. The max throttle in mode 1 is limited to the Min throttle setting.
I think that it is in pas through mode even though it is disabled.

cruzxia

User avatar
cruzxia   100 W

100 W
Posts: 101
Joined: May 18 2012 5:27am

Re: Cycle Analyst V3 preview and first beta release

Post by cruzxia » Nov 09 2012 9:20pm

Here is the throttle out images. You can see in mode 1 throttle out is limited to 0.80v
In Mode 2 it is normal set at 4.50v
135.jpg
This is mode 1
135.jpg (64.45 KiB) Viewed 4397 times
1352513753417.jpg
This is mode 2
1352513753417.jpg (60.56 KiB) Viewed 4397 times

User avatar
teklektik   10 GW

10 GW
Posts: 4020
Joined: Mar 26 2011 1:15pm
Location: CT, USA

Re: Cycle Analyst V3 preview and first beta release

Post by teklektik » Nov 11 2012 12:58pm

Printable Setup Summary for CA v3B20

The setting summary for the newer v3B21 release is available here.
The setting summary for the previous v3B19 release is available here.
Unofficial basic setup notes are available here.
Please see the Grin Tech Site for a detailed explanation of Setup Parameters.

Printable versions for saving settings - tabular format for multiple presets (Portrait.PDF, Landscape.PDF, XLS):
CA_V3B20_Setup.zip
(135.46 KiB) Downloaded 110 times
Last edited by teklektik on Dec 23 2012 5:01pm, edited 1 time in total.
Visit Grin Technologies at www.ebikes.ca
Build Thread: 2WD Yuba Mundo V4

wyvernwaddell   1 W

1 W
Posts: 53
Joined: Jun 01 2012 1:00am
Location: Jacksonville, FL

Re: Cycle Analyst V3 preview and first beta release

Post by wyvernwaddell » Nov 11 2012 6:59pm

Thanks teklektik-you are the MAN (and Justin too) I'm buying one for my Yuba. Now I can browse settings...
Yuba Mundo 2012 cargo
2014 upgraded MAC 8T
Phaserunner (love it)
30 amp hour 50 volt Ping bat. with High rate BMS
Cycle Anaylst V3
I am, officially, in heaven with this rig.

User avatar
oatnet   10 MW

10 MW
Posts: 2331
Joined: Apr 26 2007 3:03pm
Location: SoCal, USA

Re: Cycle Analyst V3 preview and first beta release

Post by oatnet » Nov 11 2012 7:41pm

I finally, FINALLY got to use the beta V3 on my xlyte 54xx build (click here).

Justin, the rich feature set has had me smiling for days - from the throttle mapping to the convenient mode-swapping to GPS analogging, I cannot get over how powerful the CA has become. Thank you. I cut the heatshrink on the CA's plug, pulled out the green wire, and ran it into a throttle connector. Have you considered selling a similar cable adaptor for use on controllers with earlier DP plugs? One side has a 6 pin plug that accepts the V3, the other side breaks the green wire out to a 3-pin throttle connector, and the other 5 wires go to an earlier CA-DP plug.

teklektik, thanks for your detailed user guides, it really spoon-fed me the setup, made the new features more accessible, and kept me from posting a dozen or so retrospectively stupid questions. However, I am having trouble putting in an rshunt value. Does this look odd to you, or am I just misunderstanding something?
1_IMG_7991.JPG
So I have a setting of 2.90mOhm, which I got not from an entry of 2900, but...
1_IMG_7991.JPG (27.55 KiB) Viewed 3820 times
2_IMG_7992.JPG
...from entering a value of 9000 mOhm (which the CA changed to 9019)
2_IMG_7992.JPG (26.94 KiB) Viewed 3820 times
3_IMG_7993.JPG
So I change it to 7000 mohm
3_IMG_7993.JPG (26.28 KiB) Viewed 3820 times
4_IMG_7994.JPG
As soon as I get OK on the last 0, the CA changes it from 7000 to 7012mohm
4_IMG_7994.JPG (24.66 KiB) Viewed 3820 times
5_IMG_7995.JPG
and if I go back to the previous setting, my rshunt is 2.70mOhm - I expected 7.00 mOhm, or .700 mOhm. If I put in 1000 mohm, I get 2.10 mOhm.
5_IMG_7995.JPG (27.63 KiB) Viewed 3820 times
-JD
Member 117 of 26,000+

153v DUNE BUGGY © 164v Vectrix E-Moto © 72v Norco A-line/x5403 © 60v Specialized Enduro Comp/BMC © 72v x5tracycle © 48v TF IO/BMC © 36v Kepler FrictionDrive © Spot-Welding a123 © Pelican Front Packs © Vectrix Battery Replacement © MORE !!


Image大鸡巴 Motors
Knowledge is acquired through experience, everything else is just information - Albert Einstein
"Cheater?" I'm not competing, I'm Commuting!

User avatar
teklektik   10 GW

10 GW
Posts: 4020
Joined: Mar 26 2011 1:15pm
Location: CT, USA

Re: Cycle Analyst V3 preview and first beta release

Post by teklektik » Nov 11 2012 11:11pm

oatnet wrote:I finally, FINALLY got to use the beta V3 on my xlyte 54xx build (click here).

teklektik, thanks for your detailed user guides, ... However, I am having trouble putting in an rshunt value. Does this look odd to you, or am I just misunderstanding something?
Thanks for the kind words - appreciated.

From your pics it looks like you are flashed to B20 and have Cal->Range=Hi (kW). There appear to be a couple of wonky things going on there that are reminiscent of an RShunt issue in B19 where the xxxx_NoCal.hex file got the RShunt internal data format out of sync with the data display routines so the data appeared magically transformed just as you report. I tried your '7000' value on my B20 and it worked okay (although I don't understand the display format - seems like there is a missing leading decimal point on the mOhm field).
  • This is going to need assistance from Justin to sort out.
That said, I would like to call your attention to a remark by Justin in a post above:
justin_le wrote:Also, there is a small something going on with the B20 firmware that if you are running a current or power throttle, the moment the throttle starts to engage you can feel a tiny kick before it then smoothly ramps up. It's subtle on normal powered ebikes but if you have something with lots of oomph it might be more pronounced, and I know just what's going on and will have it sorted in the next update.
This is giving my bike quite a jerk when I open the throttle and my controllers are only programmed for a combined 4400W - your bike is a monster by comparison (bike lust!). I am switching back to B19 and perhaps you might consider doing the same (I'm assuming that you want to use closed loop current or power throttle...). I have many hundreds of miles on B19 with power throttle and find it to be very solid and well behaved. Also, the version on the Grin Tech V3 page should handle Cal->Range and Cal->RShunt properly for you, sort of killing two birds with one stone. Justin seems to have a good handle on the throttle jerk issue so B21 will be along before long :D.
Just an option to keep in mind...
Visit Grin Technologies at www.ebikes.ca
Build Thread: 2WD Yuba Mundo V4

User avatar
teklektik   10 GW

10 GW
Posts: 4020
Joined: Mar 26 2011 1:15pm
Location: CT, USA

Re: Cycle Analyst V3 preview and first beta release

Post by teklektik » Nov 12 2012 10:13am

Justin-
I finally had a chance to play with V3B20 - here's a few thoughts and issues:

Aux Preset Function
justin_le wrote:
teklektik wrote: ...it would be very nice if this external switching could be extended to provide preset selection as an alternate option (e.g. Aux->AuxFunct=Preset ).
...The only funky thing about this is that I currently have the aux input function something that is independently set with each preset, so for this to work properly we'd need to change that so that the aux function was global to all 3. Otherwise you could change modes to a preset state that no longer responds to the Aux Input by changing presets. But I can't think of too many cases where say you would want the aux input change in function between modes, so maybe that's not so bad to reduce this to just one option for all 3 modes, and then enable preset selection from the aux input.
After looking at the new B20 Setup scheme, I see that ThrI->CntrlMode is preference-specific. This is kind of handy but brings up an issue with making Aux->AuxFunct global to control the Preset option - it means that throttle scaling might be lost when changing presets because there is no means to make the limit type of Aux->AuxFunct track a preset-dependent limit set in ThrI->CntrlMode. A solution might be to add a new Aux parameter that is global and leave the Aux limit selection associated with the preferences, perhaps like this:
  • Aux -> Funct = { Off | Limit | Preset } (global)
  • Aux -> Limit = { Amps Lim | Speed Lim| Power Lim | Pas Level } (preset-specific)
Software Updater Failure

Using the v1.1 updater I repeated got into a state where the app would report that it was downloading but seemed unable to communicate with the CA, The cursor would just flicker with an hourglass every few seconds and the flash would never proceed. I tried multiple COM ports and restarted the app many times to no avail. I then ran the older not-so-automated version (circa 2012-10-16) and had no difficulty flashing. The 1.1 version had worked previously.

Updater Precharge Button Delay

When using the Software Updater v1.1 and power cycling the CA, my CA comes up on the pre-charge button and the app begins trying to flash before I have an opportunity to get the main power switch ON. This seems to work, but it seems it might be better to delay a few seconds after detecting the CA and before actually attempting the download. This will get power switching transients over with before the flash begins and ensure that the precharge resistor is no longer in play and dropping the voltage. I have the option of power cycling by alternate means, but some bikes may not be so equipped and will be stuck with only the precharge approach and perhaps a more marginal operating voltage as flash begins...

ThrO -> Down Ramp Is Global

It looks like ThrO->UpRamp is preference-specific but ThrO->DownRamp is global. No big deal, but it seems a little asymmetric. DownRamp probably isn't as generally useful as UpRamp, but I just thought I'd call this out in case it was accidental...

"Setup" Button Swap

I see that the button to enter Setup has been swapped back to the V2 style (left button). I'm sure there are good reasons, but I still think using the Right button is easier (just registering a vote here in case design decisions go democratic ;-) )

Changing Number of Presets

There is an issue with the preset management where PrSt->CrntPrst is not forced to be consistent with PrSt->PresetCnt. The problem is manifest when there is more than one preset and the preset count is reduced causing PrSt->CrntPrst to be left referencing a retired preset (e.g. If Cnt=3, Crnt=3, then set Cnt=1. Crnt will still refer to 3). I might suggest simply forcing PrSt->CrntPreset to "1" with associated data shuffling prior to any value reduction of PrSt->PresetCnt, but you get the drift - just a small bookkeeping oversight. It does have some weird effects though: in one instance a combination of meddling with the preset count and changing the current preset using both Setup and the quick-change button shortcut somehow managed to overwrite all my #1 presets with copies of the #2 presets...

Setup Motor Burp

When sequencing through actual setup parameters (not the section headers), my motors bark a bit on leaving each parameter. It's not necessary to actually change anything, just scrolling is enough. This doesn't seem harmful for moderate power bikes like mine, but it's a little unnerving. (Related to throttle kick issue and more noticeable on certain bikes?)
Visit Grin Technologies at www.ebikes.ca
Build Thread: 2WD Yuba Mundo V4

User avatar
teklektik   10 GW

10 GW
Posts: 4020
Joined: Mar 26 2011 1:15pm
Location: CT, USA

Re: Cycle Analyst V3 preview and first beta release

Post by teklektik » Nov 12 2012 12:08pm

teklektik wrote:
oatnet wrote:Does this look odd to you, or am I just misunderstanding something?
...I don't understand the display format - seems like there is a missing leading decimal point on the mOhm field).
JD-
I just checked the Hi-power RShunt entry field in B19 and it is formatted as (0.xxxx) so that may help you interpret the B20 data entry (xxxx). It looks like some rough edges may have cropped up during the diverse changes to implement the nifty preset feature.
Visit Grin Technologies at www.ebikes.ca
Build Thread: 2WD Yuba Mundo V4

User avatar
cruzxia   100 W

100 W
Posts: 101
Joined: May 18 2012 5:27am

Re: Cycle Analyst V3 preview and first beta release

Post by cruzxia » Nov 12 2012 5:01pm

Speed limiting B20
Direct throttle mode.
In B20 the speed limiting is still over shooting on initial throttle. I set 19 kph and it went to 30 kph before it limited. Once working it was very good, no surging, just nice and smooth. :D

:arrow: I think the over shoot is caused by the throttle ramp down. it has to pull the power back from 4.5v down to 1.2v, which takes time, so it over shoots. The slow ramp down is needed for the power settings, but the speed settings could ramp down faster, say twice the ramp down setting, so it activates faster.

User avatar
cruzxia   100 W

100 W
Posts: 101
Joined: May 18 2012 5:27am

Re: Cycle Analyst V3 preview and first beta release

Post by cruzxia » Nov 13 2012 4:16am

Justin

Mode 1 & 2 issue resolved,
I found the issue that was preventing the throttle opening in mode 1. For some reason the start speed in mode 1 had defaulted to 99kph. once I set it back to 0 mode 1 and 2 both worked perfectly.

I did discover that with the throttle voltage limited, the speed was controlled very smoothly by the controller. Eg The max voltage to the controller was limited to 1.30v. The bike went 22kph and did not serge or go over speed, and when there was a hill it maintained speed by increasing the power. The problem is that how do you relate the throttle voltage of each controller to the speed of the bike/car.

I think that you could make the CA learn the voltages at a given speed, and then store them in a look up table, then when you set the max speed to 22kph the throttle will limit at 1.30v as an example. You could enter a speed mapping mode via setup, where the bike accelerates by ramping the voltage up slowly and store the voltages at every 5kph.
Using this method would eliminate surging, use less power, and be easier for the user to setup.
Even if you don't use this method to control the speed, once a speed limit is set E.G 20kph, then the throttle should be limited to 1.30v in this case, to prevent over shooting the chosen speed.

cruzxia

User avatar
pendragon8000   1 MW

1 MW
Posts: 1740
Joined: Sep 28 2012 3:29am
Location: Adelaide, Australia

Re: Cycle Analyst V3 preview and first beta release

Post by pendragon8000 » Nov 13 2012 5:58am

Hi Justin,

Got the V3 from Hyena with a hs3540 and crystalyte controller (72v 50amp). Can you please tell me If I can use the CA V3 to alter acceleration/power/speed etc if I only plug in the controller conection to the CA, then throttle and ebrake into controller? I should probly just try it, but this is my first build and Im heaps busy.
Thanks allot
8)HYENA high power ebike kits
My builds
scott 29er + Hyena kit, mon-goose to MON-STER 6KW, Free Agent RC Mid Drive, videos

my bike goes so fast 'cos it charges the battery while I pedal

User avatar
amberwolf   100 GW

100 GW
Posts: 25451
Joined: Aug 17 2009 6:43am
Location: Phoenix, AZ, USA, Earth, Sol, Local Bubble, Orion Arm, Milky Way, Local Group
Contact:

Re: Cycle Analyst V3 preview and first beta release

Post by amberwolf » Nov 13 2012 3:23pm

Unless you modify the controller connection, you won't have any connection from the CA to the controller to allow it to tell the controller what to do. Look at the wiring diagrams posted in this thread and you'll see what I mean.

Also, unless Hyena modified the controller, most of the crystalytes now come with connectors for their APM display, which is NOT CA compatible.

User avatar
oatnet   10 MW

10 MW
Posts: 2331
Joined: Apr 26 2007 3:03pm
Location: SoCal, USA

Re: Cycle Analyst V3 preview and first beta release

Post by oatnet » Nov 13 2012 5:41pm

teklektik wrote:
teklektik wrote:
oatnet wrote:Does this look odd to you, or am I just misunderstanding something?
...I don't understand the display format - seems like there is a missing leading decimal point on the mOhm field).
JD-
I just checked the Hi-power RShunt entry field in B19 and it is formatted as (0.xxxx) so that may help you interpret the B20 data entry (xxxx). It looks like some rough edges may have cropped up during the diverse changes to implement the nifty preset feature.
Presets were the holy grail on my CA wish-list, so "rough edges" while Beta testing are a small price to pay. :mrgreen:

It occurs to me that I flashed this CA from B12 to B20, discovered my error when it continiously rebooted, then flashed it to B19 and then B20 - wonder if that caused problems. When I set mohm to 1, the CAV3 displayed 2.000, and registered 0.4 amps on a 20a load, and set to 9999, it displayed 2.9999 and registered 4 amps on a 20a load - or do I have that reversed? :oops: At any rate, that leading 2 seems to be the issue. I should have a few minutes tonight to try going back to B19, I'll let you know what I get. :D

-JD
Member 117 of 26,000+

153v DUNE BUGGY © 164v Vectrix E-Moto © 72v Norco A-line/x5403 © 60v Specialized Enduro Comp/BMC © 72v x5tracycle © 48v TF IO/BMC © 36v Kepler FrictionDrive © Spot-Welding a123 © Pelican Front Packs © Vectrix Battery Replacement © MORE !!


Image大鸡巴 Motors
Knowledge is acquired through experience, everything else is just information - Albert Einstein
"Cheater?" I'm not competing, I'm Commuting!

User avatar
teklektik   10 GW

10 GW
Posts: 4020
Joined: Mar 26 2011 1:15pm
Location: CT, USA

Re: Cycle Analyst V3 preview and first beta release

Post by teklektik » Nov 13 2012 6:02pm

oatnet wrote:Presets were the holy grail on my CA wish-list, so "rough edges" while Beta testing are a small price to pay. :mrgreen:
Understood :D...

Something you could try is to configure Cal->Range and Cal->RShunt in B19 before you flash to B20. The calibration settings should be preserved so if this issue is tied to a Setup data entry problem with B20, this might work by using the Setup in B19 instead.
Visit Grin Technologies at www.ebikes.ca
Build Thread: 2WD Yuba Mundo V4

User avatar
pendragon8000   1 MW

1 MW
Posts: 1740
Joined: Sep 28 2012 3:29am
Location: Adelaide, Australia

Re: Cycle Analyst V3 preview and first beta release

Post by pendragon8000 » Nov 13 2012 8:54pm

AmberWolf, thanks. I thought that would be the case. I would assume Hyena would have customised the connections. I'll have to get my s#!t together and just start putting it together. I was holding for minimal connections in case I want to remove the CA while its parked. Might make a custom single plug or mount CA in battery box.
8)HYENA high power ebike kits
My builds
scott 29er + Hyena kit, mon-goose to MON-STER 6KW, Free Agent RC Mid Drive, videos

my bike goes so fast 'cos it charges the battery while I pedal

Architectonic   1 kW

1 kW
Posts: 491
Joined: Nov 05 2011 8:46pm
Location: Adelaide, Australia

Re: Cycle Analyst V3 preview and first beta release

Post by Architectonic » Nov 15 2012 9:54pm

Seems to be a bug on b19, when you set the power scale to kw, the scale for the shunt seems to change (adds an extra digit), and then when you enter in the shunt value and then change back to the watt scale, enter in the shunt value again (1.00 mohm), this extra digit remains, despite not being shown on the calibration input screen.

edit - the bug might not show up unless you enter in a very low shunt value first, eg 0.1 mohm. Not sure.

Not sure if this has been fixed with b20.

User avatar
justin_le   10 MW

10 MW
Posts: 2152
Joined: May 28 2007 3:27am
Location: Vancouver
Contact:

Re: Cycle Analyst V3 preview and first beta release

Post by justin_le » Nov 16 2012 6:43am

cruzxia wrote:Justin
First thing is that the throttle worked in mode 2, but was not transfered to mode 1, (I am back using direct throttle, not pass through) and mode 1 went to pass through throttle after setting up 2 modes . This should not be part of the mode setting as the throttle input type should not alter.
The throttle type is settable to each mode so that you could say have one mode that's a pass-thru throttle, another that's a current or power throttle etc. and then toggle between them easily. So yeah if you are enabling several different modes and you want them all to have the same throttle type, then you'll have to change it to that type in each mode. I agree that in the case of having no throttle input to the CA that it would be convenient if the throttle input "disabled" state carried through to all of the modes, but for most situations I think it's a benefit to be uniquely settable to each one.
I changed the throttle input in mode 1 to disabled, however it had no effect. The max throttle in mode 1 is limited to the Min throttle setting.
I think that it is in pas through mode even though it is disabled.
cruzxia
Hmm, that doesn't sound right. Can you double check in the setup menu while in mode1 it is indeed in a Disabled throttle state? I just tested that with a bench CA with 2 modes enabled, and was able to set both of them to disabled, and in both modes the throttle output was pegged at MaxThrottle until I exceeded one of the limits as expected.

-Justin
Last edited by justin_le on Nov 16 2012 8:23am, edited 1 time in total.
Reason: incomplete sentence
Currently recovering from the Suntrip race on a back to back tandem solar powered row/cycle trike. 550 watt solar roof, dual Grin All Axle hub motors, dual Phaserunner controllers, 12 LiGo batteries, and a whole wack of gear.

Now back in Vancouver with my Big Dummy Frame (yes This One, thanks ES!) with Grin all-axle front hub, Phaserunner controller, and 52V 19Ah Cellman triangle pack
My website: http://www.ebikes.ca
Please contact via email, info@ebikes.ca, rather than PMs, which are disabled

User avatar
hillzofvalp   1 MW

1 MW
Posts: 1861
Joined: Dec 26 2010 2:09am
Location: Los Angeles, CA

Re: Cycle Analyst V3 preview and first beta release

Post by hillzofvalp » Nov 16 2012 7:01am

Is there anyway the current setting for current throttle could be limited to say 10A or the ca will default to a given current profile on boot up? I want to use the v3 on a 15kW motorcycle and I think a10A limit would be a good warning interval.

Recently my hall throttle threshold voltage drifted a bit with less than ideal results.

Thanks

Post Reply