ElectricMotorcycleForum.com

  • November 23, 2024, 11:04:14 PM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

Electric Motorcycle Forum is live!

Pages: 1 ... 16 17 [18] 19 20 ... 23

Author Topic: My homemade 'Supercharger' for a ZERO Version 2  (Read 37582 times)

hubert

  • Full Member
  • ***
  • Posts: 236
  • '14 Zero S, nuke charged
    • View Profile
Re: My homemade 'Supercharger' for a ZERO Version 2
« Reply #255 on: June 20, 2017, 04:23:56 PM »

My "fast" charger works now pretty good. 4.9 to 5kW alltogether. There is no leonardo board installed, it's just max voltage max power max current. Connected to a 3 phase type 2 (Mennekes) outlet. Thank you so much to all  guys who helped make this setup possible and procure the chargers.  :)
« Last Edit: June 20, 2017, 04:28:23 PM by hubert »
Logged
2014 Zero S
Velomobile "Quest"
Mitsubishi i-MiEV

Fred

  • Sr. Member
  • ****
  • Posts: 486
    • View Profile
Re: My homemade 'Supercharger' for a ZERO Version 2
« Reply #256 on: June 22, 2017, 01:28:45 AM »

I'm having a very frustrating time trying to set the voltage on my Flatpack 2 HEs (the ones with the single fan and black fascia). I wonder if anyone can help.

I have the CAN BUS happily connected. I see the initial walk-in messages. I can log in and then get the regular messages with the input and output voltages. However, it seems to completely ignore the command to set the voltage. I even gave in and bought an Arduino from hobbytronics so I could use the same hardware and the code that's been helpfully provided and rule out any other issues. With a multimeter connected it just stays at a reported 53.5V (measured at 54.3V with no load). The amber light comes on briefly when logging in, but otherwise no change from the Flatpack.


My login code (working) is:
  CAN0.sendMsgBuf(0x05004804, 1, 8, login);

I wait for the status messages and then send the set voltage code (ignored) is:
  unsigned char setdefaultvolt[5] = {0x2B, 0x15, 0x00, 0x76, 0x16}; // for 57.5V
  CAN0.sendMsgBuf(0x05009C02, 1, 5, setdefaultvolt);
Logged
Zero SR/F
Ducati Hypermotard 950

remmie

  • Sr. Member
  • ****
  • Posts: 318
    • View Profile
Re: My homemade 'Supercharger' for a ZERO Version 2
« Reply #257 on: June 22, 2017, 01:38:19 AM »

I'm having a very frustrating time trying to set the voltage on my Flatpack 2 HEs (the ones with the single fan and black fascia). I wonder if anyone can help.

I have the CAN BUS happily connected. I see the initial walk-in messages. I can log in and then get the regular messages with the input and output voltages. However, it seems to completely ignore the command to set the voltage. I even gave in and bought an Arduino from hobbytronics so I could use the same hardware and the code that's been helpfully provided and rule out any other issues. With a multimeter connected it just stays at a reported 53.5V (measured at 54.3V with no load). The amber light comes on briefly when logging in, but otherwise no change from the Flatpack.


My login code (working) is:
  CAN0.sendMsgBuf(0x05004804, 1, 8, login);

I wait for the status messages and then send the set voltage code (ignored) is:
  unsigned char setdefaultvolt[5] = {0x2B, 0x15, 0x00, 0x76, 0x16}; // for 57.5V
  CAN0.sendMsgBuf(0x05009C02, 1, 5, setdefaultvolt);

Hi Fred. Try the following code for setting the default voltage :

unsigned char setdefaultvolt[5] = {0x29, 0x15, 0x00, 0x76, 0x16}; //this is the command for setting the default output voltage 57.5v (0x1676 = 5750 Last two bytes, LSB first). 80 16 is the maximum voltage of 57.6 V
CAN.sendMsgBuf(0x05019C00, 1, 5, setdefaultvolt);

as you can see 2 changes : the 2B in the message is changed to 29 and the last 2 in the CANID is changed to 0

I think you have the code from the endless sphere forum where later in the thread i correct the code to the one above. I really should edit this on endless sphere  8) ???

Excuse me for the confusion.

Gr Remco
Logged
Current : Red Premium Zero SR/F (ordered May 25, delivered August 23 2019) with Rapid charger for 12kW charging
Former : White Zero SR 2018 ZF14.4 kWh (17.500 km)
Former : Black Zero SR 2014 ZF11.4 kWh (25.000 km)
SR's outfitted with Homemade "Supercharger" 6x eltek Flatpack S (12 kW)

Fred

  • Sr. Member
  • ****
  • Posts: 486
    • View Profile
Re: My homemade 'Supercharger' for a ZERO Version 2
« Reply #258 on: June 22, 2017, 01:59:21 AM »

Awesome. Worked first time! Thank you, remmie.  :)

I came across that version late last night and thought I'd tried it already. It was sitting there in my code commented out. Maybe I'd run the wrong version as it was getting late.
Logged
Zero SR/F
Ducati Hypermotard 950

remmie

  • Sr. Member
  • ****
  • Posts: 318
    • View Profile
Re: My homemade 'Supercharger' for a ZERO Version 2
« Reply #259 on: June 22, 2017, 02:00:29 AM »

Here's a link to the endless sphere forum where the correct(ed) code is given

https://endless-sphere.com/forums/viewtopic.php?f=14&t=71139&hilit=05009c02&start=50#p1112822

the code itself is :

Code: [Select]
#include <mcp_can.h>
#include <mcp_can_dfs.h>
#include <SPI.h>

const int SPI_CS_PIN = 10;                                                          // Set CS pin to pin 10 (could be 9 for other CANshields)
MCP_CAN CAN(SPI_CS_PIN);                                                            // Set CS pin for CANBUS shield

void setup()                                                                        // Initialisation routine
{

START_INIT:

    if(CAN_OK == CAN.begin(CAN_125KBPS))                                            // init can bus : baudrate = 125k !!
    {
    }
    else
    {
    delay(100);
    goto START_INIT;
    }
    unsigned char login[8] = {0x14, 0x14, 0x71, 0x11, 0x08, 0x20, 0x00, 0x00};     //this is the serial number of the unit + 2 added bytes of 00 each, sernr on the unit reads 141471110820)
    CAN.sendMsgBuf(0x05004804, 1, 8, login);                                       //send message to log in and assign ID=1 (last 04 means ID=1, for ID=2 use 05004808 )

    unsigned char setdefaultvolt[5] = {0x29, 0x15, 0x00, 0x80, 0x16};              //this is the command for setting the default output voltage (Last two bytes, LSB first). 16 80 is the maximum voltage of 57.6 V
    CAN.sendMsgBuf(0x05019C00, 1, 5, setdefaultvolt);                              //send message to set ouput voltage to all chargers connected to the CAN-bus
}

void loop()                                                                        // main program (LOOP)
{                                                                                  // nothing to do :)
}

/*********************************************************************************************************
  END FILE
  Voltage settings
  80 16 => 1680 HEX = 57,60 Volt (= highest possible voltage
  E6 14 => 14E6 HEX = 53,50 Volt (= factory set voltage)
  FE 10 => 10FE HEX = 43,50 Volt (= lowest possible voltage)
*********************************************************************************************************/

Logged
Current : Red Premium Zero SR/F (ordered May 25, delivered August 23 2019) with Rapid charger for 12kW charging
Former : White Zero SR 2018 ZF14.4 kWh (17.500 km)
Former : Black Zero SR 2014 ZF11.4 kWh (25.000 km)
SR's outfitted with Homemade "Supercharger" 6x eltek Flatpack S (12 kW)

remmie

  • Sr. Member
  • ****
  • Posts: 318
    • View Profile
Re: My homemade 'Supercharger' for a ZERO Version 2
« Reply #260 on: June 22, 2017, 03:11:53 AM »

Keeping the Quad charger in the frunk and pulling it out and connecting it every time i had to charge is OK but i figured this could be improved. (yeah i'm lazy   8) )
I've been thinking of putting the charger in a watertight case but i don't like the look of the big topcases or side-cases. Putting it in a case would free up the frunk for the cables and some small items like a drinking bottle etc.

So I sought for the smallest Pelicase (or equivalent) to put the QUADpack in. It turned out the Peli 1170 case would JUST be able to fit the QUAD pack. 5 cm to spare in the length, 0.5 cm to spare in the height and absolutely no margin in the depth.

It does fit but it was very very tight and required some modifications to the flatpacks.
Now i can charge within 30 seconds of reaching a charging point. Park the bike, pull out the type 2 charging cable from the frunk, insert it into the chargepoint, open the pelicase, activate the chargepoint with the RFID tag and press the button on the Quadpack a couple of times to select the correct charging current for the chargepoint.
Logged
Current : Red Premium Zero SR/F (ordered May 25, delivered August 23 2019) with Rapid charger for 12kW charging
Former : White Zero SR 2018 ZF14.4 kWh (17.500 km)
Former : Black Zero SR 2014 ZF11.4 kWh (25.000 km)
SR's outfitted with Homemade "Supercharger" 6x eltek Flatpack S (12 kW)

remmie

  • Sr. Member
  • ****
  • Posts: 318
    • View Profile
Re: My homemade 'Supercharger' for a ZERO Version 2
« Reply #261 on: June 22, 2017, 03:15:33 AM »

and some more pictures

The Aux anderson connector is permanently attached as well as a angles C13 plug to switch on the onboard charger.

Logged
Current : Red Premium Zero SR/F (ordered May 25, delivered August 23 2019) with Rapid charger for 12kW charging
Former : White Zero SR 2018 ZF14.4 kWh (17.500 km)
Former : Black Zero SR 2014 ZF11.4 kWh (25.000 km)
SR's outfitted with Homemade "Supercharger" 6x eltek Flatpack S (12 kW)

remmie

  • Sr. Member
  • ****
  • Posts: 318
    • View Profile
Re: My homemade 'Supercharger' for a ZERO Version 2
« Reply #262 on: June 22, 2017, 03:26:59 AM »

The grey cable (for the 3-phase connection to the chargepoint is now blacked out and routed to the frunk, so this cable is "permanently"  attached to the bike. I can take the case off by unplugging the three connectors and unscrewing the 4 bolts which hold the case brackets to the connection points of the licenseplate holder.

It is still charging around 8.5 kW even when confined to this little case. The outlet temperatures have risen a bit but not to the point of thermal cutback. After about 30 minutes of charging they topped in temperature at about 58 degrees celcius with an outside temperature of around 30 degrees and the sun pointed directly at the case (reminder to place the bike so the case is in the shade of the bike :)

A Peli 1400 case is much larger and can house 4 (or even 6) flatpack S units and still have the charge cable and connector inside it. (see the third picture where the 1170 case with the QuadFP is inside the 1400 case. Also a 3D mockup of the peli 1400 with 4 FPs and theres still room for some arduino boards an an OLED display in the case :)
« Last Edit: June 22, 2017, 03:28:48 AM by remmie »
Logged
Current : Red Premium Zero SR/F (ordered May 25, delivered August 23 2019) with Rapid charger for 12kW charging
Former : White Zero SR 2018 ZF14.4 kWh (17.500 km)
Former : Black Zero SR 2014 ZF11.4 kWh (25.000 km)
SR's outfitted with Homemade "Supercharger" 6x eltek Flatpack S (12 kW)

Neuer_User

  • Full Member
  • ***
  • Posts: 125
    • View Profile
Re: My homemade 'Supercharger' for a ZERO Version 2
« Reply #263 on: June 22, 2017, 01:00:26 PM »

Very nice work, indeed, @remmie! Looks perfect!
Logged

wijnand71

  • Full Member
  • ***
  • Posts: 109
    • View Profile
Re: My homemade 'Supercharger' for a ZERO Version 2
« Reply #264 on: June 30, 2017, 04:44:28 PM »

Does anyone know the size of these bolts? I'd like to order some cable shoes, and don't want to pull my bike apart for this only. (and being lazy;-)
Logged

Булгаков

  • Jr. Member
  • **
  • Posts: 95
  • давай быстрее!
    • View Profile
Re: My homemade 'Supercharger' for a ZERO Version 2
« Reply #265 on: July 01, 2017, 02:12:41 AM »

Does anyone know the size of these bolts? I'd like to order some cable shoes, and don't want to pull my bike apart for this only. (and being lazy;-)

I am sure that it is M8 bolts. I believe 13mm socket.
Logged
2014 Zero 11.4

Shadow

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1085
  • 130,000mi electric since 2016
    • View Profile
Re: My homemade 'Supercharger' for a ZERO Version 2
« Reply #266 on: July 01, 2017, 08:52:19 AM »

Does anyone know the size of these bolts? I'd like to order some cable shoes, and don't want to pull my bike apart for this only. (and being lazy;-)
"Controller bolts are lead M8x16"
Logged

wijnand71

  • Full Member
  • ***
  • Posts: 109
    • View Profile
Re: My homemade 'Supercharger' for a ZERO Version 2
« Reply #267 on: July 03, 2017, 02:40:39 AM »

Thanks everyone on commenting on my boldy question ;-)
Logged

Neuer_User

  • Full Member
  • ***
  • Posts: 125
    • View Profile
Re: My homemade 'Supercharger' for a ZERO Version 2
« Reply #268 on: July 04, 2017, 01:29:04 PM »

I remember having seen a post about a modification of the male Typ 2 plug to allow it to mate with a female plug instead of a socket.

Here in Switzerland we seem to have about 50% of the stations having a socket and 50% a cable with a female plug. So, either I would need to take a second cable with me, or I look at that modification.

I, however, cannot find the post. Anyone remembers?
Logged

Skidz

  • Sr. Member
  • ****
  • Posts: 319
    • View Profile
Re: My homemade 'Supercharger' for a ZERO Version 2
« Reply #269 on: July 04, 2017, 02:04:04 PM »

I remember somebody cutting approximately 10mm from the connector so the CP pin would reach. The socket end is a bit more shallow, preventing insertion like an extension cord so the mating connector needs to be a bit more shallow...
Logged
Pages: 1 ... 16 17 [18] 19 20 ... 23