emaayan said:
i was trying to match an infinion controller to mac drive, and it seemed to work, then it didn't. i didn't go WOT i had a 5 amp circuit braker in the middle and volt meter, and yet nothing works not , throttling doesn't give me anything.
Well - the 5A breaker and only using only a little throttle was a good plan while you are just matching phase colors, but depending on the breaker, it might not like the arcing from the capacitor charge current in-rush when turning it on.
You seem to know about doing the phase and hall mapping, but that's a little unclear - it's also not clear exactly what is not working... so here's a bunch of things to test (some sort of dumb, but...

):
- Power up the controller to draw a little of power and probe the connectors:
- Do you have battery voltage at the battery connector? If not and you didn't first charge the battery when you got it, the BMS may simply have shut down. If no volts, then charge it.
- Do you have battery voltage on the other side of the breaker? If not, try jumping the breaker - it may have toasted contacts.
- Measure the voltage at across the Gnd and +5v pins of both throttle and/or the hall connectors (red/black).
- If either one measures 4.5v-5v then the logic supply is good.
- If voltage is not present on either, then the controller logic supply is either switched off or dead. Check for the small gauge red 'ignition' wire and verify that it's hooked to Vbatt+.
- If present on only one then the other connector (without the voltage) has a broken Gnd or 5v connection.
If you got this far then the controller is powered, the logic power supply is good, and the halls and throttle have power.
- Power the controller down and unplug the halls and phases.
- Use your meter to test for continuity between each of the phase and hall connections and the motor case. There should be none - no lead should be shorted to the case.
- Spin the wheel backward (so the clutch engages) - it should turn with just minimal drag from the gears - note the level of drag for comparison.
- Short the Y+B phase wires together and spin the wheel backward - there should be noticeable drag as the dead short loads the motor in 'regen mode'. Repeat for the other phase pair combinations: Y+G and B+G. If any pair does not have drag then there is a broken phase wire.
If you get this far then the phases and phase wiring are okay.
- Just take a moment to examine the hall and throttle connections for wire breaks near the connectors.
- With the phases disconnected and the controller powered down, try to rotate the wheel backwards. Note the amount of drag. Now connect the phases and try to rotate the wheel backwards again. The drag should be the same. If there is more drag then you probably have shorted FETs.
- Connect the halls, power up the controller, and using your meter check the voltage from the black hall lead to each of the three hall wires (B,G,Y) individually while slowly turning the wheel backward (so the clutch engages). For each hall the voltage should switch up and down about every 2 degrees of wheel rotation.
- You have to turn the wheel extremely slowly and carefully when testing a MAC because of the 1:5 speedup of the rotor caused by the internal gearing - the hall transition is very easy to miss with a meter. If you are using an auto-ranging meter - lock it to 'volts' range so it won't waste time doing ranging.
- If this was DD instead of MAC (no clutch and gears), the signal would change 5 times more slowly (10 degrees or so) and the wheel could be turned in either direction to test.
If you got this far then the halls should be okay.
- Power up the controller.
- For a hall throttle, probe the throttle connector and verify that the throttle sense wire varies from about 1v to 4v (more or less) as you advance the throttle from ZERO to WOT. A resistive throttle (Magura) should have a larger range of 0v - 5v (or close to it).
If you got this far the throttle is supplying a workable input voltage to the controller.
If all this worked, then your controller/motor/throttle all should be good - if not then you probably have FET or other controller issue. If things seem to be alive,try resuming your search for the proper hall/phase mapping....
Needless to say, it's easy to short things out when doing all this stuff - alligator clips are really not advised. A safe quick approach is to probe the pins in the connectors from behind, slipping the meter probe into the backside to hit the rear of the pins. Better is to take a few minutes prior to testing and make up some connectors and jumpers that will give you secure meter connections, make it easy to probe connectors, and that won't short to neighboring pins, etc. For instance, a pair of male/female hall connectors wired as a passthru with the wires tapped to a terminal strip or aux connectors to get access to the live signals will make this all go reliably and quickly. This isn't strictly necessary, but....
Ebike testers are readily available on eBay and are a good investment since sooner or later something will go wrong (also available from
Lyen and
EM3EV). It's a good plan to extend the wires on your tester and add appropriate connectors to match your build. This will let you safely diagnose problems in just a couple of minutes. You need connectors for M+F phase, M+F halls, and mating throttle - it's easy to order these extra connectors from your controller/motor vendor at the outset.
Here's a
link to a quickie manual for the ebike tester.