You are here

Flipsky FSESC75450 ABI encoder setup

2 posts / 0 new
Last post
CheatingBoy6890
Offline
Last seen: 5 days 15 hours ago
VESC Free
Joined: 2025-06-26 17:53
Posts: 2
Flipsky FSESC75450 ABI encoder setup

Hello everybody,

I'm currently building an electric Gokart as a learning-by-doing-project. As expected nothing went according to plan but this is kind of intended.

But now I am struggling to get the power train to work

It consists of a flipsky FSESC 75450 and a QS180 motor with an integrated quadrature encoder. The motor works fine in sensorless mode, but the encoder setup doesn't work at all. The encoder has 1024 pulses per revolution so 4096 counts per revolution, at least I guess so. The seller didn't know the pulse count so I tested it myself using an Arduino counting the pulses. The encoder also offers a PWM position signal.

When looking at the signals I noticed the first strange thing:

Although the supply voltage is 5V and the the pins are pulled-up to 5V the logic level is 3,3V. 

 

When I try to use the encoder with the FSESC75450 there is no offset or ration detected in ABI mode. In PWM mode I get a ration and offset detected at least, but the motor just draws high current but doesn't spin up.

 

I you have an idea that could point me in the right direction, I'd really appreciate it.

 

PS: I'm not sure if this is the right thread. If it isn't I hope the mods can move it where it belongs.

CheatingBoy6890
Offline
Last seen: 5 days 15 hours ago
VESC Free
Joined: 2025-06-26 17:53
Posts: 2

Hi every one, I was able to figure it out.

When setting up the encoder and watching the real-time rotor position, I noticed it was jumping around from 0° to 359° so I figured I got index pulses the entire time.

Then I checked the Hall signals using

hall_analyze 40

When I checked the output in experiment data I saw that Hall 1 had only one pulse while Hall 2 and Hall 3 had pulses the entire time. This indicates that Hall1 and Hall3 need to be swapped. But the connection on the cables looked correct. It turned out Flipsky fucked up and connected the cable labeled "Hall1" to Hall3 internally and vice versa.

When I swapped the cables the encoder works perfectly with 4096 cpm. 

 

One note on the PWM signal. After checking again it seems like it worked the entire time. The problem is that the pulse width can be 0% and 100%, meaning the signal is on or off the entire time. This leads to the VESC not being able to measure the pulse width. But for finding the index pulses it works, since the index pulses happens right as the VESC loses track of the PWM signal.

 

I hope people with the same problem will find this.

Have a good day everyone.