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

Flux-vector control for induction machines #137

Merged
merged 3 commits into from
Aug 21, 2024

Conversation

lauritapio
Copy link
Member

@lauritapio lauritapio commented Aug 16, 2024

This pull-request adds a simple implementation and an example script for flux-vector control for induction machines.

Documentation could be added at a later time.


# Stator voltage reference
ref.u_s = par.R_s*fbk.i_s + 1j*(fbk.w_m + fbk.w_r)*fbk.psi_s + v
u_ss = ref.u_s*np.exp(1j*fbk.theta_s)
Copy link
Member Author

@lauritapio lauritapio Aug 16, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fbk.w_r

This is coming from the observer. Could be computed here according to eq. (4c), i.e. \omegarb L_sgm \hattauM / (\hatpsis^T\hatpsiR * par.n_p * 1.5). Did not observe any real difference between the two implementations.


# Compute flux and torque references
ref.psi_s = self.get_flux_reference(fbk)
ref.tau_M = np.clip(ref.tau_M, -self.cfg.tau_max, self.cfg.tau_max)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ref.tau_M = np.clip(ref.tau_M, -self.cfg.tau_max, self.cfg.tau_max)

Something better should be implemented for field-weakening operation.

@mhinkkan
Copy link
Member

Thanks for the pull request! I'll merge this now. Let us fix some details in a separate PR soon.

@mhinkkan mhinkkan merged commit 9cc8e69 into Aalto-Electric-Drives:main Aug 21, 2024
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants