Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于psi数值放缩请教的问题 #6

Open
chenmengqi52421314 opened this issue Sep 4, 2022 · 0 comments
Open

关于psi数值放缩请教的问题 #6

chenmengqi52421314 opened this issue Sep 4, 2022 · 0 comments

Comments

@chenmengqi52421314
Copy link

chenmengqi52421314 commented Sep 4, 2022

在ipark处理完输出导SVPWM的模块中会有一个角度的输出,我在使用您的程序尝试进行控制BLDC时,由于我的编码器是1000脉冲,因此在输出的电角度时,我采用您的公式 psi <= {4'h0, POLE_PAIR} * (phi - init_phi ); 无法将电机转动,但我发现电机已经转动了180度,此时我将 输出改为 psi <= {4'h0, POLE_PAIR} * ((phi - init_phi) << 1 ); 这时,电机便能转动起来了;我想请教下,输出到SVPWM的电角度是否需要进行放缩处理;
同时,我希望能和前辈沟通下相关的FPGA控制的内容

@chenmengqi52421314 chenmengqi52421314 changed the title 关于phi数值放缩请教的问题 关于psi数值放缩请教的问题 Sep 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant