Currently I'm using the ATMega328 but intend porting the code across to something with a bit more power. I have designs based on the Tamagawa chip and Analog devices resolver to digital chips but they both require monitoring by a separate CPU so it seems redundant in this case to use a CPU capable of doing the job to monitor for errors and or "clock" another chip.arber333 wrote: ↑Sat Mar 21, 2020 8:36 pm @kiwifiat, which chip are you using for resolver to 6 step conversion?
I have the circuit drawn for AU6802N1 chip on my Lebowski board, but i am lacking incentive since Leaf motor is just as good with my RLS modified UVW sensor.
Of course i have AU6802N1 chips scavenged from Prius main board!![]()
Regarding your syncofs issue, it seems to me that if syncofs is correct the motor will run identically in CW and CCW directions unless there is asymmetry in the motor or something weird going on with the control algorithm. As previously discussed there is no indication that there is any asymmetry in the Nissan Leaf motor nor the Toyota IPM's for that matter. Given that IPM's produce torque from Id it seems to me that the recommended procedure for finding syncofs will yield an incorrect result. If the motor was an SPM then it would be correct since Id produces no torque. I would keep adjusting syncofs until the motor runs correctly in either direction. Maybe johu can chime in?