how to program a sevcon gen4

General Discussion about large electric scooters and motorcycles and other things with no pedals.
Robinev   100 W

100 W
Posts: 112
Joined: Feb 22 2020 3:37am

Re: how to program a sevcon gen4

Post by Robinev » Nov 22 2020 6:46am

Try running another trace see where your dots end up.


Sent from my iPhone using Tapatalk

Robinev   100 W

100 W
Posts: 112
Joined: Feb 22 2020 3:37am

Re: how to program a sevcon gen4

Post by Robinev » Nov 22 2020 6:47am

Also turn reboot controller after every adjustment


Sent from my iPhone using Tapatalk

aymenkhalaf   1 µW

1 µW
Posts: 3
Joined: Nov 19 2020 6:03pm

Re: how to program a sevcon gen4

Post by aymenkhalaf » Nov 22 2020 7:48pm

anyone can provide me with ME1304 DCF?
Much appreciated <3

rider119   1 mW

1 mW
Posts: 16
Joined: Mar 17 2020 11:29am

Re: how to program a sevcon gen4

Post by rider119 » Nov 26 2020 12:23am

I have picked up a Gev4 Size2 and old IXXAT and DVT. What else is the minimum I need to program the controller? As in do I have to have a motor, battery, throttle, etc. all wired up? Or can I get away with less? I'm wanting to make sure that the DVT and IXXAT actually work before I fork over the money on the other items.

Thanks

User avatar
darseygodwin   100 mW

100 mW
Posts: 42
Joined: Jul 31 2016 5:51pm

Re: how to program a sevcon gen4

Post by darseygodwin » Nov 26 2020 9:12am

@rider119 you'll need a power supply or battery to power it with at least the minimum operating voltage, and basic wiring harness to connect your serial cable canbus and B+/B- leads pins to a couple of the harness pins to simulate key voltage. I've never tried to hook up one with ONLY those connections, but I'm pretty sure that should get it connected to the computer anyway just to show it turns on.

If that's all you've got, I'm assuming you're not quite there with the wiring either, The wiring harness and pins are available as standard serial db9 and 35 pin ampseal header parts from mouser/digikey, and I recommend using small gauge crimpers, not needle nose pliers. The "PA-09 Engineer" micro crimping tool worked well from Amazon for doing one at a time.

Good luck!
Darsey

Sent from my SM-N770F using Tapatalk


rider119   1 mW

1 mW
Posts: 16
Joined: Mar 17 2020 11:29am

Re: how to program a sevcon gen4

Post by rider119 » Nov 26 2020 9:46am

I have a Kobalt 80v battery I was hoping to be able to use just for programming. I have the 35 pin ampseal and DB9 connectors all wired up as well as the Molex minifit for the Size2 programming port. Not sure if the size2 will program through either connection or just the minifit port? The USB light on my IXXAT is lighting up green, but red is the only thing I can get out of the CAN end of the IXXAT. It lights up red when I click the Helper button in DVT and gives me an error message that the controller is not turned on. When I connect the battery to the controller there is no green light coming on from the LED. Am I missing something other than just connecting power? I guess I need to wire in the key switch?

If using a variable power supply, what amperage would you set it to? Just curious as I don't have one, would like to pick one up though.

rider119   1 mW

1 mW
Posts: 16
Joined: Mar 17 2020 11:29am

Re: how to program a sevcon gen4

Post by rider119 » Nov 26 2020 10:53am

Just missed the logic switch, I'm rock'n & roll'n now! Thanks for the help, I'll likely be back for more.

User avatar
Ingo   1 W

1 W
Posts: 59
Joined: Nov 03 2016 6:22am
Location: Germany

Re: how to program a sevcon gen4

Post by Ingo » Nov 28 2020 5:28am

aymenkhalaf wrote:
Nov 22 2020 7:48pm
anyone can provide me with ME1304 DCF?
Much appreciated <3
hi, here some files
DCF files.rar
(342.31 KiB) Downloaded 58 times

User avatar
Ingo   1 W

1 W
Posts: 59
Joined: Nov 03 2016 6:22am
Location: Germany

Re: how to program a sevcon gen4

Post by Ingo » Nov 28 2020 5:30am

rider119 wrote:
Nov 26 2020 12:23am
I have picked up a Gev4 Size2 and old IXXAT and DVT. What else is the minimum I need to program the controller? As in do I have to have a motor, battery, throttle, etc. all wired up? Or can I get away with less? I'm wanting to make sure that the DVT and IXXAT actually work before I fork over the money on the other items.

Thanks
hi, you must connect motor, sensor, battery, throttle, and some switches to get the controller run.

User avatar
Ingo   1 W

1 W
Posts: 59
Joined: Nov 03 2016 6:22am
Location: Germany

Re: how to program a sevcon gen4

Post by Ingo » Nov 28 2020 5:49am

Robinev wrote:
Nov 22 2020 6:46am
Try running another trace see where your dots end up.


Sent from my iPhone using Tapatalk
hi, here the photos
1.jpg
1.jpg (368.81 KiB) Viewed 849 times
2.png
2.png (483.95 KiB) Viewed 849 times

User avatar
darseygodwin   100 mW

100 mW
Posts: 42
Joined: Jul 31 2016 5:51pm

Re: how to program a sevcon gen4

Post by darseygodwin » Nov 28 2020 10:18am

@ingo that still looks like interference noise. Especially given the earlier comment that it looks like the offset is changing when current is applied. I could show you countless traces that looked like that when I learned the hard way.

Remind us how it's hooked up? Do you have a picture with the phase leads, encoder cable, and other battery connections? I mention all other battery connections because the encoder is grounded to traction pack b-. All of your wires like seat switch and forward select switch are typically selected by connecting the pin to b-. That b- wire is a long antenna. Add them all up, and if you even touch the throttle, just barely, the encoder is full of noise like that. So absolutely everything has to be shielded.

Similarly, the frame will carry that noise if you shielded your phase leads and grounded the shields to actual frame. Think of any shorts to frame too then.

Darsey.

Sent from my SM-N770F using Tapatalk


User avatar
Ingo   1 W

1 W
Posts: 59
Joined: Nov 03 2016 6:22am
Location: Germany

Re: how to program a sevcon gen4

Post by Ingo » Dec 04 2020 1:52pm

@darseygodwin

hi,
thanks for the report.

yes i can make some pictures. with the first original me1304 motor i dont have this noise.
i try the shield the encorder cable but doesent make any difference. then I moved the encoder cable differently (away from the phases). does not make a difference.
also i connect and disconnect the encoder shield (green) to frame. makes no difference
seatswitch i dont have (motorcycle)

all my phase cables und battery cables are shielded. the shield is connect to frame.
i can not connect B- to frame because B- is 12V - (sec. battery for light etc.)

User avatar
darseygodwin   100 mW

100 mW
Posts: 42
Joined: Jul 31 2016 5:51pm

Re: how to program a sevcon gen4

Post by darseygodwin » Dec 04 2020 3:32pm

Hi @ingo, I'm with you so far. Do you have any logic cables? Typically, on a motorcycle you'll have a red "run" switch for your right thumb to meet automotive standards and pass a technical inspection. Lol to "cut off the fuel supply" in Canadian standards. I set that to the forward switch, connecting the pin to b- to permit the throttle. This needs to be shielded full loop. Then the Sevcon has pins within the 35-way ampseal for b- on the throttle, b- in general (generally a short lead to the b- terminal) and then your b- to a dc-dc converter to power/charge your 12v system. Those b- connections too, all need shielding, and any others like it connecting to traction pack leads.

If you didn't have this on a different motor but do now, is the encoder now a sin-cos encoder when previously it was different?

Sent from my SM-N770F using Tapatalk


User avatar
Ingo   1 W

1 W
Posts: 59
Joined: Nov 03 2016 6:22am
Location: Germany

Re: how to program a sevcon gen4

Post by Ingo » Dec 09 2020 7:49am

@darseygodwin

hi,

i have only a killswitch (cut batttery in a half) my technikal inspector says this is ok.
then i have a drive select switch and when you operate the brake then the throttle signal goes to 0V.

the throttlesignal comes from my cycle analyst so there is no B- to throttle, only to CA

the motor before was also a rewind ME1304 but now i have put in more copper and stronger magnets. it also works with sin cos sensor

the cables are not fully in place because of testing and because of noise so i lose some cables to measure
DSCF2558.JPG
DSCF2559.JPG
DSCF2560.JPG
DSCF2561.JPG

User avatar
Ingo   1 W

1 W
Posts: 59
Joined: Nov 03 2016 6:22am
Location: Germany

Re: how to program a sevcon gen4

Post by Ingo » Dec 18 2020 8:34am

hi,

i have now measured the sensor while the motor was running and the noise was there.

there is no mutch elektrical noise, so i think the sensor and the wires are not the problem.
when the motor speeds up sometimes the nois disapears.
i will upload a youtube video where you can hear the squeaking noise

i think the problem is the controller / frequenzy or some gain settings at the controller.
does someone here is familiar with Kp and Ki controlls?
settings 1.JPG
settings 1.JPG (35.85 KiB) Viewed 720 times
settings 2.JPG
settings 2.JPG (46.09 KiB) Viewed 720 times
DSCF2577.jpg
DSCF2577.jpg (330.94 KiB) Viewed 720 times
DSCF2578.jpg
DSCF2578.jpg (477.99 KiB) Viewed 720 times


User avatar
Ingo   1 W

1 W
Posts: 59
Joined: Nov 03 2016 6:22am
Location: Germany

Re: how to program a sevcon gen4

Post by Ingo » Dec 20 2020 3:20pm

hi all,

i fixed the problem .

it was lowering the d axis current protortional gain

User avatar
darseygodwin   100 mW

100 mW
Posts: 42
Joined: Jul 31 2016 5:51pm

Re: how to program a sevcon gen4

Post by darseygodwin » Dec 20 2020 5:15pm

Hey @ingo sorry I didn't catch your earlier posts. Glad you figured it out.

Just for reference, my setup was looking similar with gains below 1! I was surprised your system actually ran without instantly tripping at 6! So, yea I'd say you should be pretty good by the time you drop the P-I gains down. Btw I found best performance with the integral gains roughly 10-20% of my proportional. Logging traces helps compare noise values, but you might want to fix the load and throttle level as best you can to compare what the changes are actually doing. Either way, you might not need to tune further if you feel like it's solid now. Good luck!
Darsey

Sent from my SM-N770F using Tapatalk


Bartosh   100 W

100 W
Posts: 144
Joined: May 10 2017 3:32pm

Re: how to program a sevcon gen4

Post by Bartosh » Dec 25 2020 3:02am

Hey. Anyone willing to share a ME1616 / 1507 (or other ipmsm) dcf for gen4? I found some interesting info in the dict and wondering if there's an id lookup table enabled for these ipm motors. I'm trying to figure out how it's set up:
Attachments
sevcon id lookup.png
sevcon id lookup.png (84.85 KiB) Viewed 652 times
sevcon id lookup table possible.png
sevcon id lookup table possible.png (25.15 KiB) Viewed 652 times

User avatar
Ingo   1 W

1 W
Posts: 59
Joined: Nov 03 2016 6:22am
Location: Germany

Re: how to program a sevcon gen4

Post by Ingo » Dec 25 2020 9:40am

hi @darseygodwin

thanks for your support and information.

unfortunately my engine didn't last long. I think it was a winding failure in the winding.
i now want to mount a EMRAX 208 LV inside my motorcycle.
anyone has this combination with a gen4 size6?

User avatar
ZALO   1 mW

1 mW
Posts: 16
Joined: Dec 25 2019 7:27am
Contact:

Re: how to program a sevcon gen4

Post by ZALO » Dec 26 2020 4:54pm

I used this kit and I do not recommend the Emrax LV motor version

buddhafragt   10 mW

10 mW
Posts: 21
Joined: Oct 15 2014 3:33am

Re: how to program a sevcon gen4

Post by buddhafragt » Dec 27 2020 7:02am

What is wrong with the Emrax motors?

User avatar
ZALO   1 mW

1 mW
Posts: 16
Joined: Dec 25 2019 7:27am
Contact:

Re: how to program a sevcon gen4

Post by ZALO » Jan 01 2021 4:09pm

LV version motors have too low inductance and it is even impossible to control the current

buddhafragt   10 mW

10 mW
Posts: 21
Joined: Oct 15 2014 3:33am

Re: how to program a sevcon gen4

Post by buddhafragt » Jan 01 2021 8:24pm

Thanks for the information.
The price is also too much!

User avatar
Arlo1   100 GW

100 GW
Posts: 8420
Joined: Apr 26 2009 10:36pm
Location: Nanaimo
Contact:

Re: how to program a sevcon gen4

Post by Arlo1 » Jan 07 2021 1:39am

Bartosh wrote:
Dec 25 2020 3:02am
Hey. Anyone willing to share a ME1616 / 1507 (or other ipmsm) dcf for gen4? I found some interesting info in the dict and wondering if there's an id lookup table enabled for these ipm motors. I'm trying to figure out how it's set up:
I tried the Speed dependent FW and so far it has not made any difference by turning it on.

Working on playing with these settings now.
Does your project need a high performance motor drive, battery charger or other power electronics developed? Let's talk!
www.powerdesigns.ca
Leaf motor controller build. http://endless-sphere.com/forums/viewto ... 27#p963227
YSR build http://www.youtube.com/watch?v=BRo8r5g4NBg
Never above 4.2v never below 2.7v EVER!!!
Support me on Patreon. https://www.patreon.com/user/posts?u=6842045
http://www.undergroundelectrics.ca/

Post Reply