DIY Electric Car Forums banner
1 - 5 of 12 Posts

· Registered
Joined
·
42 Posts
Discussion Starter · #1 · (Edited)
How to change Motor perceived direction on Sevcon

Hi All,
Hopefully someone can chime in.
I Converted from a Kelly to a Sevcon (ME0913 Motor) and was having all sorts of issues but have finally figured out that my unexplainable runaway acceleration and over current fault issues are caused by my encoder direction and motor direction are inverted. That is, every time I tried to accelerate to 100rpm the 3 hall sensors would report the motor was moving at -100rpm and then continue to accelerate to -5000rpm in order to try and reach 100rpm. Obviously it would never get there.

I figured I need to swap M1 and M2 on the motor to reverse the motor direction but that only caused the motor to shake as it must now be misaligned with the encoder. So.

My question:
Anyone think that if I switch hall B and Hall C I will reverse the reported RPM direction and not change the Motor direction?
Is there a bit in Sevcon I can flip with DVT that can just invert the direction reported?

Any help would be huge.
Thanks all.
 

· Registered
Joined
·
42 Posts
Discussion Starter · #4 ·
OK, I used the following approach to solving the issue.
I am still not 100% sure exactly how I fixed it but this is what I think I did.
I swapped encoder lines and ran a trace from the help menu.
I did this until I found that When I rotated the wheel the forward direction the RPM readout was positive.
I then found the motor would not spin any more so I then swapped two motor phases and it allowed the motor to rotate.
I am not sure how but also somewhere in there I changed the encoder from UVW to UVW inverted only.

I honestly don't know what that did. (invert the square wave?)

Either way. At this point the RPMs are now positive when moving forward and neutral braking works.

Foot braking still doesn't work along with my foot brake analog sensor.
But atleast now it is not all cattywompus.
 

· Registered
Joined
·
42 Posts
Discussion Starter · #6 ·
Yup, no magic smoke. Took it out for an extended spin today and everything seemed great. I agree about the hall sensors. I have no encoder. They do make encoder versions of my motor but I have the hall sensor version. My guess is that when I converted from Kelly I looked and the kelly wiring guide says to swap Hall lines, so UVW are matched with Hall sensors ACB respectively.
I think sevcon wanted UVW to ABC. So when I rewired it was unhappy.

Happy Now :)
 
1 - 5 of 12 Posts
This is an older thread, you may not receive a response, and could be reviving an old thread. Please consider creating a new thread.
Top