ElectricMotorcycleForum.com

  • April 25, 2024, 02:53:33 AM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

Electric Motorcycle Forum is live!

Pages: [1]

Author Topic: Playing with the 2012 MBB  (Read 2988 times)

Doctorbass

  • Battery tech
  • Hero Member
  • *****
  • Posts: 968
    • View Profile
    • Endless-sphere.com
Playing with the 2012 MBB
« on: July 16, 2013, 11:06:35 AM »

Today i connected my interfce to communicate with the Main Bike Board of my DS 2012.

It worked well and i had acces to the MBB menu

The menu is a bit different and seem to have less commands available.

On the 2011 MBB to change a parameter we obnly had to enter SET and  then the MBB was offering a value range and an exemple on the command to enter to cahnge this value.
On the 2012 it seem impossible to change the value i the SET menu, the MBB only respond: INVALID COMMAND. I have tried to write SET followed by the  command but it was unsuccesfull and there was a message saying it is impossible to overwrite the value. :(

On the 2011 we were able to change the torque or speed mode and on the 2012 there is no command for that, probably it is directly related the the sevcon other level of programming

I have played with few command to display value and i also tested the CALSINCOS command wich i discovered it is to calibrate the encoder of the motor connected to the controller.

The first time i tried that command it returned a message saying that the value are not high enough and recommanded to spin the motor!!

So i did that while i entered a second time the CALSINCOS command and the value from the motor was read and then the motor encoder was apparently successfull calibrated to the Sevcon!!.. I was a bit nervous because i was affraid to make a mistake and have overwrited the encoder value, but when i twisted the throttle the wheel was sucessfully spining!  :)

I was really interested to set new value of the  regen % on eco and sport mode but the SET command can not take new value.

I was able to get the BMS value but there is no possibility to monitor each cell bank voltage like the 2011 MBB does. It only show the low bank and the voltage unbalance.

Here is couple of screen i grabed for you:

2012 zero MBB menu

*            Zero Motorcycles Main Bike Board               *
*                    MBB PCB FAB 2-CONN                     *
*                                                           *
*                   Board PN : 41-03447                     *
*                  Board Rev : 02                           *
*                Firmware PN : 75-03609                     *
*               Firmware Rev : 19                           *
*                      Built : Feb 21 2012 12:41:52         *
*                  Bike Type : S and DS                     *
*                 Serial Num : 2012_s_ds_XXXXXXXXXXXXX   *
*************************************************************
 - Reset Source: POR BOR
 - Running Self-Test.... Passed

 - Logged in***********

ZERO MBB> help


*************************************************************
*                        Main Menu                          *
*************************************************************

  help            - Display this Help screen
  ver             - Display board and firmware revision
  stats           - Display All statistics
  statsrst        - Reset All statistics
  set             - Edit A Specific System Setting, or Show Options
  bms             - Display BMS data
  sevcon          - Display Sevcon Motor Controller Data
  inputs          - Show all inputs
  outputs         - Show all outputs
  errors          - List all present warnings and errors
  calsincos       - Calibrate Sevcon Sin/Cos Encoder
  eeprom          - Show EEPROM usage
  eepromdump      - Dump Entire EEPROM contents
  reset           - Reset CPU with SW reset
  wdt reset       - Force Watchdog Timeout
  format eeprom   - Reset All To Factory Defaults (Reformat EEPROM)
  erase eeprom    - Erase entire EEPROM
  test            - Run Specific Test, or show test options menu
  dump all        - Dump all data (stats, inputs, settings, and logs

ZERO MBB>


2012 zero MBB SET menu


ZERO MBB> set

*************************************************************
*                   System Settings Menu                    *
*************************************************************

  serial          - Serial Number        2012_s_ds_mbb_abd281_00199
  secidle         - Seconds Idle Before Turn Off:  3600
  motstage1       - Motor Temp Stage1           :  145 C
  motstage2       - Motor Temp Stage2           :  152 C
  ctrlstage1      - Controller Temp Stage1      :  70 C
  ctrlstage2      - Controller Temp Stage2      :  75 C
  packstage1      - Pack Temp Stage1            :  50 C
  packstage2      - Pack Temp Stage2            :  60 C


  spfront         - Sprocket Teeth Front        :  25
  sprear          - Sprocket Teeth Rear         :  132
  rwhcirc         - Rear Wheel Circum           :  1834 mm
  kill            - Kill Switch Polarity        :  openrun

  zeroneutral     - Neutral When Off Throt      :  Yes
  zerothresh      - Throttle Off Threshold      :  300 mV
  brakeregen      - Apply Regen On Brake        :  Yes
  brakefilter     - Brake Switch Filter         :  100 ms
  noregenstopped  - Prevent Regen When Stopped  :  Yes
  fuelgaugepes    - Fuel Gauge Pessimism        :   10%

  sevregspeco     - Adjust Sevcon Regen Sp/Eco  :  Yes
  sevnoregspeed   - Prevent Regen At High Speed :  Yes
  sevnoregfull    - Prevent Regen When Full     :  Yes

  sevmaxregv      - Max Regen Cell Voltage      : 4160 mV
  sevmaxregrpm    - Max Regen RPM               : 4500 rpm

  sev01           - Sevcon Neutral Brake Sport  :    7%
  sev02           - Sevcon NB Ramp Up Sport     :   50%/s
  sev03           - Sevcon NB Ramp Down Sport   :  500%/s
  sev04           - Sevcon Foot Brake Sport     :   15%
  sev05           - Sevcon FB Ramp Up Sport     :  150%/s
  sev06           - Sevcon FB Ramp Down Sport   :  500%/s

  sev07           - Sevcon Neutral Brake Eco    :   15%
  sev08           - Sevcon NB Ramp Up Eco       :  150%/s
  sev09           - Sevcon NB Ramp Down Eco     :  500%/s
  sev10           - Sevcon Foot Brake Eco       :   25%
  sev11           - Sevcon FB Ramp Up Eco       :  300%/s
  sev12           - Sevcon FB Ramp Down Eco     :  500%/s

  fuelout x y     - Set Fuel Gauge to x pct for y seconds
  fueloutraw x y  - Set Raw Fuel Gauge to x pct for y seconds (no corrections)

  settingsrst     - Reset all system settings to defaults


ZERO MBB>


2012 zero MBB SEVCON data

ZERO MBB> sevcon
****************************************
*             Sevcon Data              *
****************************************

  - Motor speed               :    -1 RPM
  - Age of motor speed data   :    22 ms
  - Throttle Input Voltage    :     0 mV
  - Age of throttle data      :     2 ms
  - Motor Temp                :    34 C
  - Age of motor temp data    :    22 ms
  - Controller Temp           :    26 C
  - Age of ctrl temp data     :     5 ms
  - Torque Target             :     0 units?
  - Age of torque target data :    30 ms
  - Speed Target              :     0 units?
  - Age of speed target data  :    12 ms
  - Neutral Regen             :     7 %
  - Neutral Ramp Up           :    50 %/s
  - Neutral Ramp Down         :   2000 %/s
  - Foot Brake Regen          :    15 %
  - Foot Brake Ramp Up        :   150 %/s
  - Foot Brake Ramp Down      :   1000 %/s
  - Access Level              :     4


ZERO MBB>


2012 zero MBB sevcon encoder calibration

*************************************************************
*                        Main Menu                          *
*************************************************************

  help            - Display this Help screen
  ver             - Display board and firmware revision
  stats           - Display All statistics
  statsrst        - Reset All statistics
  set             - Edit A Specific System Setting, or Show Options
  bms             - Display BMS data
  sevcon          - Display Sevcon Motor Controller Data
  inputs          - Show all inputs
  outputs         - Show all outputs
  errors          - List all present warnings and errors
  calsincos       - Calibrate Sevcon Sin/Cos Encoder
  eeprom          - Show EEPROM usage
  eepromdump      - Dump Entire EEPROM contents
  reset           - Reset CPU with SW reset
  wdt reset       - Force Watchdog Timeout
  format eeprom   - Reset All To Factory Defaults (Reformat EEPROM)
  erase eeprom    - Erase entire EEPROM
  test            - Run Specific Test, or show test options menu
  dump all        - Dump all data (stats, inputs, settings, and logs



ZERO MBB>calsincos

Reading values from Sevcon
sin_min_read:   0x0519
sin_max_read:   0x0B1F
cos_min_read:   0x0509
cox_max_read:   0x0B28
sin_min_actual: 0x0516
sin_max_actual: 0x0B1E
cos_min_actual: 0x050B
cos_max_actual: 0x0B27
Writing values to Sevcon
Reading back values from Sevcon
sin_min_read:   0x0516
sin_max_read:   0x0B1E
cos_min_read:   0x050B
cox_max_read:   0x0B27

ZERO MBB>



2012 zero MBB can not set   only show invalid command

  spfront         - Sprocket Teeth Front        :  25
  sprear          - Sprocket Teeth Rear         :  132
  rwhcirc         - Rear Wheel Circum           :  1834 mm
  kill            - Kill Switch Polarity        :  openrun

  zeroneutral     - Neutral When Off Throt      :  Yes
  zerothresh      - Throttle Off Threshold      :  300 mV
  brakeregen      - Apply Regen On Brake        :  Yes
  brakefilter     - Brake Switch Filter         :  100 ms
  noregenstopped  - Prevent Regen When Stopped  :  Yes
  fuelgaugepes    - Fuel Gauge Pessimism        :   10%

  sevregspeco     - Adjust Sevcon Regen Sp/Eco  :  Yes
  sevnoregspeed   - Prevent Regen At High Speed :  Yes
  sevnoregfull    - Prevent Regen When Full     :  Yes

  sevmaxregv      - Max Regen Cell Voltage      : 4160 mV
  sevmaxregrpm    - Max Regen RPM               : 4500 rpm

  sev01           - Sevcon Neutral Brake Sport  :    7%
  sev02           - Sevcon NB Ramp Up Sport     :   50%/s
  sev03           - Sevcon NB Ramp Down Sport   :  500%/s
  sev04           - Sevcon Foot Brake Sport     :   15%
  sev05           - Sevcon FB Ramp Up Sport     :  150%/s
  sev06           - Sevcon FB Ramp Down Sport   :  500%/s

  sev07           - Sevcon Neutral Brake Eco    :   15%
  sev08           - Sevcon NB Ramp Up Eco       :  150%/s
  sev09           - Sevcon NB Ramp Down Eco     :  500%/s
  sev10           - Sevcon Foot Brake Eco       :   25%
  sev11           - Sevcon FB Ramp Up Eco       :  300%/s
  sev12           - Sevcon FB Ramp Down Eco     :  500%/s

  fuelout x y     - Set Fuel Gauge to x pct for y seconds
  fueloutraw x y  - Set Raw Fuel Gauge to x pct for y seconds (no corrections)

  settingsrst     - Reset all system settings to defaults


ZERO MBB> sev01
 Sorry, 'sev01' is an invalid command.

ZERO MBB>



Doc









 
« Last Edit: July 16, 2013, 11:10:12 AM by Doctorbass »
Logged
Zero Drag racing bike: 12.2s 1/4 mile and 7.3s 1/8 mile

T w i t t e r  :     http://twitter.com/DocbassMelancon

NoiseBoy

  • Hero Member
  • *****
  • Posts: 819
    • View Profile
Re: Playing with the 2012 MBB
« Reply #1 on: July 16, 2013, 03:23:58 PM »

Nice one Doc.  I wonder if the Ramp settings might have any relation to the slow takeoff?
Logged

Richard230

  • Hero Member
  • *****
  • Posts: 9484
    • View Profile
Re: Playing with the 2012 MBB
« Reply #2 on: July 16, 2013, 08:45:08 PM »

I found the "fuel gauge pessimism" setting interesting.  I guess that adjusts the "hidden bar"?
Logged
Richard's motorcycle collection:  2018 16.6 kWh Zero S, 2009 BMW F650GS, 2020 KTM 390 Duke, 2002 Yamaha FZ1 (FZS1000N) and a 1978 Honda Kick 'N Go Senior.

BSDThw

  • Hero Member
  • *****
  • Posts: 647
    • View Profile
Re: Playing with the 2012 MBB
« Reply #3 on: July 16, 2013, 11:55:50 PM »

Please let me know how did you connect to the MBB, at the plug behind the "rubber hole" or at the OBDII .
What pin is what signal, Baud...
I never played with the MBB :'(
Logged
Air Drag Sucks - 2012 Zero DS ZF9 - 2013 Zero FX ZF5.7
Pages: [1]