- Posts: 19311
- Thank you received: 4655
Are you using the bldc component? If you are, that has a parameter bldc.N.encoder-offset s32 rw [if personality & 0x0A] (default: 0)The offset, in encoder counts, between the motor electrical zero and the encoder zero modulo the number of counts per electrical revolutionOkay, so the problem im realising now is that my encoder "z" signal isn't set to the motor zero point. ( I read somewhere that you need to apply a dc voltage to u, with v and w connected to the other polarity. To get the motor zero point). There doesn't seem to be any offset available to correct this. Is there?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
I measured 781 counts from encoder zero this morning. Its an 8 pole motor so should the value be 269?
Subtract 512 for previous pole, etc
Should lead angle be 45deg?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.