Trenz Electronic Products > EDDP-EDPS Support
How to initialize the EDDP by BTN3
Jason bourne:
When I use IIOT-EDDP, I want to see how the motor is initialized.
However, I only found that BTN3 was used to achieve the motor's return to 0, but I did not find the program to achieve it.
May I ask which module or file is used to realize the return to 0 operation?
Looking forward to your answer.
Andrei Errapart:
Hi Jason Bourne,
By now it is definitely too late.
In this program, the motor initialization code is a copy of the one found in "focserver".
You can send me a message to request the sources. There is nothing new when compared to the "focserver".
best regards,
Andrei
Jason bourne:
Sir, thank you very much for taking time out of your busy schedule to reply me. Now I have realized the initialization of FOC by my own way. I first guided the motor to rotate through a virtual electrical Angle to find the place where I of the encoder is located. Then, by setting the electrical Angle to 0, electrode A is found and the Angle deviation is calculated. :-*
Jason bourne:
At the same time, I hope you can provide the project of implementing FOC only through FPGA, because I am a student who only learns FPGA, and I have not learned Linux embedded, so I feel very confused when I look at the code, I hope you can provide the implementation of vivado. :'(
Yours sincerely,
Jason
Andrei Errapart:
Hi Jason Bourne,
This version of EDDP control code is also running on a CPU, but it might be easier to understand than the Linux one. Please find it attached to this post.
best regards,
Andrei
Navigation
[0] Message Index
[#] Next page
Go to full version