Cycle Analyst 3.15b2 - Release Notes
SETTINGS SUMMARY    CAV3 ONLINE

----- Summary of Changes in this Release -----


Section titles show the feature/problem tracking number and description.


Release: 3.15b2                                                      2021-05-03

    NOTE: This firmware is instrumented to detect illegal writes to any setting
          in EEPROM.  The CA intercepts these errors before they occur, ceases
	  normal operation, and displays a special 'watchdog' screen.  If this
          occurs, please record all screen information either by manual
          transcription or (phone) photo, press the right console button, and
          repeat until all screens have been recorded and the CA reboots.

          Please forward the recorded information with a description of the
          failure circumstances to Grin at: info@ebikes.ca.  Please include a
          setup file if possible. Thank you!


		  
(1) 7933 - %Regen Calculation Error

    The 3.15b1 release introduced a bug causing erroneous computation of %regen
	on the 5th display screen, resulting in a 999.9% value in most situations. 
	
    This has been fixed to show the correct regen percentage. 

    This is an internal change with no consequences for CA setup or existing
    setup files.

(2) 2020 - Setup Utility Error with Preset Names

    Version 3.15b1 introduced a bug in the setup utility causing it to to show a
	different preset name from what the user had selected in the console itself. 
	
    This has been fixed and the preset names shown in the Setup Utility dropdown
	menu now match 1:1 with the name shown on the console display. 

    This is a data file change to Setup Utility with no consequences for CA
    setup or existing setup files. 	
_______________________________________________________________________________
Release: 3.15b1                                                      2021-03-18

(1) 6663 - Temp Setup Preview screen does not show live temperature

    The Temp Setup Preview screen updates voltage in real time, but the oC
    reading stays constant. This is inconsistent behavior and somewhat confusing
    for initial temp setup.

    The temp display field is revised to show the live instantaneous temperature
    in deg C.

    This is an internal change with no consequences for CA setup or existing
    setup files.

    
(2) 7189 - Setup Utility 'Miscellaneous Menu Mask' has incorrect options

    There are two issues with the Setup Utility 'Miscellaneous Menu Mask'
    pulldown menu:

        1. The mask bit option for 'Misc->Vshutdown' is missing.
        2. The mask bit option for 'Misc->Defaults' erroneously appears in the
           pulldown menu for Setup Utility 'Calibration Menu Mask' instead of
           'Miscellaneous Menu Mask'.
        
    These issues cause several incorrect masking behaviors in CA Console Setup.

    Data defining/controlling Setup Utility operation has been revised to
    correct these issues. There is no change to CA FW code proper.

    This is a data file change to Setup Utility with no consequences for CA
    setup or existing setup files.


(3) 7161 - Create two new NTC options for thermistors with Beta = 3450

    Bafang motors and the new Grin 'standard' thermistor for geared hubs do not 
    show accurate temperatures with the classic 'NTC10K beta=3900' sensor option. 
    Two new options are required to support geared motors with a 10K NTC and 3450 
    Beta constant.

    'NTC10K beta=3450' is for motors that do not have any additional pull-up 
    resistor on the thermistor.  The Shengyi geared motors from Grin fall in this 
    class. 

    'NTC10K Bafang' is for motors with a B3450 thermistor which also have a 10K 
    pullup resistor to 5V inside the motor itself. Bafang motors often have their 
    thermistor wired this way. 

    The new NTC options change the temp sensor drop-down selector menu, and users 
    will need to reselect their temperature sensor type when upgrading to this 
    firmware.


(4) 7345 - Measured speed shows glitches

    The calculated speed shows transient erroneous values for certain motors
    under particular circumstance (e.g. GMAC drawing over 1200W).

    Processing for the SPEED signal has been modified to ignore aspects of the
    signal that were previously being erroneously included in Calculations.

    This is an internal change with no consequences for CA setup or existing
    setup files.


(5) 7365 - Add 'ERider' Torque Sensor option and remove 'Cycle Stoker' option

    This versions adds the new 'ERider' torque sensing BB as a predefined torque
    device option for setting PASD->SensrType. This new setting automatically
    applies these other PAS device settings for proper operation of this BB:

            PASD->PASPoles  = 18 poles
            PAS ->AsstAvg   = 18 poles
            PASD->SignlType = 1-wire
            PASD->DirPlrty  = Forward
            PASD->TrqScale  = 70 Nm/V
            PASD->ZeroTorq  = 1.5V

    The existing predefined 'Cycle Stoker' option has been removed.  Cycle
    Analysts currently using the 'Cycle Stoker' option can be updated in
    either of two ways:
    
    a) Prior to firmware update, reconfigure PASD->SensrType = 'Custom TRQ'.
       Other existing settings for the Cycle Stoker will be retained when the
       firmware is updated under the guise of the user-defined custom type.

    b) Update the firmware first.  The preexisting 'Cycle Stoker' device will
       then appear as an 'ERider' device and so will operation improperly.
       This can be remedied by manually reconfiguring the following settings:

            PASD->SensrType = 'Custom TRQ'
            PASD->PASPoles  = 12 poles
            PASD->SignlType = 2-wire
            PASD->DirPlrty  = Forward
            PASD->TrqScale  = 50 Nm/V
            PASD->ZeroTorq  = 1.2V      (may need subsequent adjustment)
            PAS ->AsstAvg   = 12 poles

    This is an internal change with no consequences for existing CA configuration
    or setup files except for those configurations presently using the 'Cycle
    Stoker' device type as noted above.


(6) 7427 - Rounding error in AuxA/AuxD scaling calculations

    Scaling operations for Aux limit functions can operate improperly because of
    a rounding error. This can cause slightly jumpy behavior where smooth
    scaling should have occurred.

    The misbehaving math routine has been corrected.

    This is an internal change with no consequences for existing CA configuration
    or setup files.


(7) 7909 - Increased Max PAS Poles to 36 with support for ERider_T9

    The maximum number of PAS poles has been increased from 32 to 36 in order to
    support the latest ERider-T9 torque sensors which have 36 poles. A new torque
    sensor preset (ERider_T9) was added to support these bottom bracket devices 
    with the following preset values:

            PASD->PASPoles  = 36 poles
            PAS ->AsstAvg   = 36 poles
            PASD->SignlType = 1-wire
            PASD->DirPlrty  = Forward
            PASD->TrqScale  = 70 Nm/V
            PASD->ZeroTorq  = 1.5V

    This change does not affect existing CA configurations or setup files. 

_______________________________________________________________________________
Release: 3.14                                                        2019-02-05


(1) 6426 - ThrOFastThresh and MaxPower ToolTips are inoperative

    ThrOFastThresh and MaxPower ToolTips do not appear in Setup Utility
    although the associated documentation is accessible by the Help menu item.

    Internal meta data to key ToolTip operation to the 'Settings Summary' help
    file has been corrected to properly solicit ToolTip display for the
    affected two settings.

    This is an internal change with no consequences for CA setup or existing
    setup files.


(2) 6383 - Voltage display has transient low value on Setup Exit

    version 3.13 introduced transient display of a low voltage when leaving
    Console Setup.  The period of the erroneous display is related to the
    display averaging setting.

    Immediate display of the proper voltage has been restored.

    This is an internal change with no consequences for CA setup or existing
    setup files.


(3) 6463 - 'Processing Overrun' & 'Illegal EE Write' error screens are identical

    'Processing Overrun' and 'Illegal EE Write' errors use the same console
    WatchDog display screen can make error reporting and resolution more
    difficult.

    'Illegal EE Write' errors now report 'Watch EE' instead of 'WatchDog'.

    This is an internal change with no consequences for CA setup or existing
    setup files.


_______________________________________________________________________________
Release: 3.13                                                        2018-12-22


This production release of Cycle Analyst firmware remedies issues in earlier
3.1x releases. Upgrade to this release is strongly recommended.  Changes
implemented in this and intermediate beta versions are outlined below.


(1) 6313 - Leaving Setup from right-press power-up causes Watchdog trap

    Holding the right console button depressed at power-up causes Setup to be
    entered immediately instead of showing the splash screen. When entered by
    this means, exiting Setup causes a Watchdog trap as 'normal' writes to
    EEPROM are incorrectly detected as critical errors.  This only affects
    firmware releases where EEPROM write protection code is active as noted in
    the Release Notes.

    EEPROM write protection code has been corrected for power-up Setup entry.

    This is an internal change with no consequences for CA setup or existing
    setup files.


(2) 6243 - Hot-swapping batteries causes a watchdog trap

    CA beta firmware is instrumented to detect illegal attempts to modify
    settings and to report details by means of a 'watchdog' screen.  Changing
    batteries using a console hot-swap button-press causes the change to be
    erroneously detected as an illegal EEPROM modification.

    Hot-swap battery changes are now excepted from EEPROM write checks.

    This is an internal change with no consequences for CA setup or existing
    setup files.


(3) 6371 - Console Setup of MxNoPdlSpd only works properly for preset 1

    Setting SLim->MxNoPdlSpd via the CA Console buttons works properly for
    preset 1 but incorrectly alters EEPROM for presets 2 and 3.  This problem is
    unique to the CA - the Setup Utility works properly to inspect and configure
    this setting for all presets.

    Console Setup operation for SLim->MxNoPdlSpd has been corrected.

    This change affects EEPROM configuration. Existing CA configuration and
    setup files may require manual adjustment.  Inspect all SLim (Speed)
    category parameters for each configured preset and correct values as
    appropriate.


_______________________________________________________________________________
Release: 3.13b2                                                      2018-11-20


(1) 6243 - Hot-swapping presets causes a watchdog trap if PAS is configured

    CA beta firmware is specially instrumented to detect illegal attempts to
    modify settings and report details by means of a 'watchdog' screen.  If PAS
    is enabled, changing presets using a console hot-swap button-press causes
    the change to be erroneously detected as an illegal EEPROM modification.

    Hot-swap preset changes are now excepted from EEPROM write checks.

    This is an internal change with no consequences for CA setup or existing
    setup files.


(2) 6241 - SU Fast Ramp Thresh Display is not scaled x10 for Hi-Range

    Setup Utility incorrectly accepts ThrO->FastThrsh input only as 'x.xx A'
    regardless of Cal->Range Lo or Hi setting.  When in Hi-Range, this
    misrepresents values as 1/10 the value that the CA actually uses. CA Console
    Setup handles this setting properly.

    Setup Utility operation has been corrected to allow entry of:
    'x.xx A' in Lo-Range and 'xx.x A' in Hi-Range with proper internal value
    scaling.

    This is a Setup Utility data file change with no consequences for CA setup
    or existing setup files.


(3)  6247 - SU Power Limit Max displays incorrect # of decimal places

    Setup Utility displays PLim->MaxPower as 'xxxx.00 W' in Lo-Range and
    'xxxx kW' in Hi-Range.  These formats are interchanged. CA Console Setup
    handles this setting properly.

    Setup Utility formatting has been corrected to:
    'xxxx W' in Lo-Range and 'xx.xx kW' in Hi-Range.
    
    This is a Setup Utility data file change with no consequences for CA setup
    or existing setup files.


_______________________________________________________________________________
Release: 3.13b1                                                      2018-11-16


(1) 3888 - Slow Power off causes an 'empty' SOC graphic for LiFePo4 chemistry

    Power-cycling a CA with LiFePo4 chemistry and slow power down can result in
    the SOC graphic 'sticking' at empty. This situation arises because of
    difficulties in accounting for the low confidence in Open circuit voltage
    (OCV) as a good indicator of SOC for LiFePo4 batteries except near full and
    empty charge levels. Other chemistries do not have this issue.
    
    State of Charge calculation for LiFePo4 chemistry has been revised to
    minimize the effects of power cycling with slow power off situations.  This
    corrects the SOC graphic.

    This is an internal change with no consequences for CA setup or existing
    setup files.


(2) 5941 - Rowbike PAS mode computes erratic SPM values

    PAS changes in release 3.11 introduced a bug in rowbike SPM computation
    (strokes per minute) that resulted in large persistent errors that would
    appear sometime after a period of normal operation.  A pause in rowing
    briefly restored the proper values, but errors would shortly occur.

    Rowbike SPM calculations have been corrected.
    
    This is an internal change with no consequences for CA setup or existing
    setup files.


(3) 5971 - Low cadence results in spurious RPM errors

    Spurious RPM errors could occur at cadences under 12rpm for certain PAS
    configurations.  Because RPM is a factor in other calculations, this problem
    could directly cause spurious Human Watts errors and peculiar fluctuations
    in power assist.

    RPM calculation has been repaired.
    
    This is an internal change with no consequences for CA setup or existing
    setup files.


(4) 4474 - Autocruise 'engaged' state persists when preset is changed

    Switching presets using an Aux control will carry an engaged autocruise
    state to the new preset even if the new preset has autocruise disabled.
    
    This behavior has been corrected and autocruise is now disengaged whenever
    the preset is changed by any means.
    
    This is an internal change with no consequences for CA setup or existing
    setup files.


(5) 5981 - AutoMain does not skip to proper unmasked screen when timer expires

    The AutoMain feature resumes display of the Main Screen automatically after
    the timer expires. Presently display always returns to the Main Screen
    irrespective of masking bits.
    
    Code has been revised such that timer expiration examines the still or
    moving masks and causes Main or the next right unmasked screen to appear
    appropriately.

    This is an internal change with no consequences for CA setup or existing
    setup files.


(6) 5983 - Diagnostic Screen Rate flags are undocumented

    Rate Limit flags displayed on the Diagnostic Screen were introduced in 3.1
    but were documented only in the beta release announcement.  Since they
    appear on the screen only fleetingly when active, this feature is largely
    unknown to customers.
    
    Although not a 'Setup Feature' per se, a brief summary of the flags has been
    added to the ThrO section header of ToolTips and the Help File.
    
    This is a documentation change with no consequences for CA setup or existing
    setup files.


(7) 6105 - PAS Basic(Pwr) mode does not work in Calibration HiRange

    Basic(Pwr) PAS mode is inoperative when Cal->Range = Hi(kW).

    PAS now properly supports Basic(Pwr) mode.

    This is an internal change with no consequences for CA setup or existing
    setup files.


(8) 6135 - Small pedal motions can cause false PAS Start detection

    Improved PAS start/stop sensitivity introduced in version 3.11 can cause
    Sempu sensors to mistakenly detect pedaling startup when the cranks are
    positioned near a point of sensor signal transition and jiggled back and
    forth.  This can occur when coasting on rough surfaces and appears as a
    brief application of assist without actual crank rotation.  TDCM, Thun,
    simple cadence wheels, and other sensors with lower pole counts do not
    experience this behavior.

    PAS logic has been revised to activate enhanced start/stop sensitivity only
    for sensors with less than 16 poles. Sensors with 16 or more poles will
    continue to benefit from the start/stop advantages inherent in greater pole
    count, but without the extra sensitivity enhancement (i.e will operate as in
    version 3.1).

    This is an internal change with no consequences for CA setup or existing
    setup files.


(9) 6157 - PAS Power Modes use Start Threshold for both starting and stopping

    When pedaling stops in either 'Basic(Pwr)' or 'Torque' PAS modes, assist
    power remains applied for PAS->StartThrsh instead of PAS->StopThrsh seconds
    even though RPM==0 is detected and reported correctly.
    
    PAS logic now removes power immediately when RPM==0 is detected.
    
    This is an internal change with no consequences for CA setup or existing
    setup files.


_______________________________________________________________________________
Release: 3.12                                                      2018-08-30


This production release of Cycle Analyst firmware remedies program hangs when CA
versions 3.1 or 3.11 communicate with Setup Utilty 1.54. All other documentation
and operational aspects of the previous 3.11 release are unchanged.

Changes are listed below for intermediate beta versions.


(1) 5893 - Torque Device Scaling for some predefined devices are incorrect

    Selecting predefined devices TDCM, Sempu, or CycleStoker improperly copies
    the stored table value resulting in a torque scale factor error of approx
    +2%.  Errors for these specific devices are of little consequence but the
    underlying flaw might have greater impact with other scaling values.

    Programming to copy the table scaling value has been corrected.

    This is an internal change with no consequences for CA setup or existing
    setup files.


_______________________________________________________________________________
Release: 3.12b1                                                      2018-06-21


(1) 5885 - 3.1/3.11 experience communications problems with the Setup Utility

    Communication timeout problems on can occur between Cycle Analysts running
    firmware versions 3.1 or 3.11 and the Setup Utility running on certain PC
    platforms.  These difficulties occur when either 3.1 or 3.11 firmware is
    already loaded and one of the following Setup Utility operations are
    attempted:
    
        a. 'Update Firmware' - either the program flash does not start or
           the last step updating the setup fails
        b. 'Read CA' or 'Write CA' operations hang and fail to retrieve or
           modify the CA setup
    
    In either case the CA typically hangs showing "PC Connection..." and the
    Setup Utility reports a timeout error.
    
    CA serial comms programming has been revised to better provide timely
    communication with Setup Utility.

    This is an internal change with no CA setup or setup file consequences.


_______________________________________________________________________________
Release: 3.11                                                      2018-07-19


This production release of Cycle Analyst firmware remedies issues in the
original 3.1 release as well as providing other improvements.  It should in all
cases be installed in place of the original 3.1 production release.

Changes are listed below for intermediate beta versions.


_______________________________________________________________________________
Release: 3.11b3                                                      2018-06-21


(1) 5781 - Battery 'Hot Swap' screen shows 0V and corrupted special characters

    The transient Battery 'Hot Swap' screen shows the nominal pack volatge as
    zero.  Other non-ASCII custom characters on the screen are corrupted.

    Proper display of this screen has been restored.

    This is a display change with no CA setup or setup file consequences.


(2) 5785 - (new) improve PAS startup performance for crank bikes

    For bikes other than rowbikes, version 3.1 implemented a conservative
    strategy to detect when pedaling starts and assist begins.  This aspect of
    PAS relates to the degree of crank rotation and is distinct from cadence
    detection controlled by the Start and Stop Thresholds
    
    A less conservative strategy has been implemented so that PAS is (re)applied
    more briskly from a standing start or when pedaling resumes while underway.
    This gives most noticeable benefit when the PAS sensor has few poles
    (magnets).
    
    This is an operational enhancement with no CA setup or setup file
    compatibility consequences.


_______________________________________________________________________________
Release: 3.11b2                                                      2018-06-05


(1) 5575 - Browsing Console Setup Aux Analog menu causes settings to be corrupted

    Traversing 'Lo/Hi Deadband' or 'Switch Lo/Med Level' settings of the AuxA
    menu in Console Setup causes the PAS device to change to 'Disabled' or other
    settings to be unintentionally altered. Other unintended setup changes might
    also occur on the next power-up causing a 'Setup Changed!' message to appear.

    This issue has been corrected.

    Setup files read from the CA under version 3.1 may contain errors and should
    be rebuilt or visually checked in the Setup Utility or CA Console. There are
    no compatibility issues with setup files produced in prior versions.


(2) 5547 - Speedometer reads improperly over 45mph (72kph)

    The speedometer debounce logic limits accurate speed display to a specific
    maximum (only) for pole counts of 1, 2, or 3.  In 3.0x firmware this maximum
    speed was approximately 90mph (145kph), however, 3.1 firmware reduces that
    limit to only 45mph (72kph).  Many ebikes can exceed this limit resulting in
    improper speed display.
 
    The original limit of 90mph (145kph) has been restored.

    This is an operational issue with no CA setup or setup file consequences.


(3) 5617 - Aux Change PAS Power indication displays 'true power'/10 in Hi Range

    Actual applied PAS power is correct, but in Hi Range the AuxChange display
    is 1/10 the true value.
 
    The Aux Change PAS power display is now multiplied by 10 to show the correct
    value to the nearest 10 watts.

    This is a display issue with no CA setup or setup file consequences.

    
(4) 5427 - Setup Utility sometimes fails to communicate with CA

    The Setup Utility occasionally fails to read/write CA settings or to update
    firmware.  An issue with CA processing of communication messages has been
    identified and repaired.

    This is related only to communication using the programming cable and does
    not affect CA settings or setup files.


(5) 5369 - Help files don't have link in category index to battery setup menu

    A proper hyperlink to the referenced Battery Category has been added to the
    Setting Summary Help file "2.0 Category Index".

    This is a documentation change with no CA setup or setup file consequences.


(6) 2020 - The 'Miscellaneous' Setup category identifies settings using 'Pref'

    The earlier 'Preferences' 3.0x category was split into 'Disp' and 'Misc' in
    3.1.  Settings in CA Console setup continue to use the 'Pref' designation.

    This labeling has been corrected.

    This is a display change with no CA setup or setup file consequences.


(7) 5539 - Setup 'Disp' Category Preview Screen shows 'Misc->DspAvging'

    The reorganization from the Preferences' to 'Display' and 'Misc' categories
    left the CA Console Setup erroneously showing the 'Display Averaging'
    setting on the display category preview screen.

    The Display Preview screen has been revised to show the selected Custom
    Views in place of the previous content.

    This is a display change with no CA setup or setup file consequences.


(8) 2020 - Navigation arrows in Setup MISC category are incorrect

    The submenu navigation arrows in the MISC category have been corrected to
    properly show the first and last menu items.

    This is an operational issue with no CA setup or setup file consequences.


(9) 5699 - Negative PAS Start Level does not work correctly

    Both PAS Start level and Scale Factor can be specified as signed numbers,
    however negative Start Levels were previously treated as zero in Basic(Pwr)
    mode.

    Proper handling has been implemented allowing an initial negative power
    assist to postpone PAS assist until the cadence power contribution exceeds
    the initial negative power level.
    
    This is an operational issue with no CA setup or setup file consequences.


(10) 4982 - (new) Improve PAS start/Stop sensitivity

    PAS Start/Stop sensitivity is related to the time between pulses from the
    PAS sensor.  PAS sensors with more magnets have to rotate less to create
    faster pulse streams. The PAS firmware has been revised to effectively
    double the pulse rate allowing the CA to detect crank motion much sooner.
    This enhancement works for all PAS modes and devices including rowbikes.

    An accompanying change has been made to PAS->StrtThrsh and PAS->StopThrsh
    default values to reduce sensitivity to slow pedal motion (e.g. PAS starts
    too soon, stops too late). This issue may present after upgrading the
    firmware and inheriting settings from the previous version (i.e. upgrading
    without loading defaults). If so, reset the PAS Start/Stop thresholds to the
    new defaults (Start, Stop) = (0.30, 0.19) or reduce custom setting values by
    about one third.

    This is an operational enhancement with no CA setup or setup file
    compatibility consequences.


(11) 5543 - (new) Change default PAS Start Levels for various modes

    The default PAS Start Levels are lower than might typically be useful and
    require adjustment, defeating the out-0f0box operation idea of default
    values.  The power levels have been adjusted upward to:

        Basic (Pwr) = 500 Watts
        Basic (ThO) = 50% throttle
        Torque      = 62 Human Watts

    This is an operational enhancement with no CA setup or setup file
    compatibility consequences.  The new defaults appear on a fresh firmware
    flash or when PAS->PASMode is altered.


(12) 5092 - (new) Reduce maximum pole count to 30

    The previous v3.1 maximum pole count of 60 has been reduced to 30 to
    conserve memory resources.  The previous value accommodated a limited number
    of unusual motor and gearing configurations that can be addressed indirectly
    with a lower pole count by making a corresponding alteration to wheel
    circumference.


_______________________________________________________________________________
Release: 3.1                                                      2018-02-18


Initial production release of Cycle Analyst 3.1 firmware.



		
  2021-05-03 [top]