We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi. There is a strange entry in the calculations for field weakening
`template <class T_IN, class T_MID, class T_MID2, class T_OUT, int MAX_AD_SCL> void Decoupling_T_ap_fixed( T_OUT& Vd_decoup, T_OUT& Vq_decoup, T_MID Id, T_MID Iq, T_IN Vd, T_IN Vq, T_IN RPM, T_OUT RPM_to_speed) { #pragma HLS INLINE
const T_MID2 Ls = COMM_MOTOR_PARA_LD; const T_MID2 FAI_M = COMM_MOTOR_PARA_FAI_M; T_MID2 Flux_decoup, Torque_decoup; Flux_decoup = Vd + RPM_to_speed * RPM * (Ls * Iq); Torque_decoup = Vq - RPM_to_speed * RPM * ((Ls * Id) + FAI_M); Vd_decoup = Flux_decoup; Vd_decoup = 0; Vq_decoup = Torque_decoup;
}`
Why first Vd_decoup = Flux_decoup; and after Vd_decoup = 0;? Isn't this a mistake?
What equation did you use to field weakening?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi. There is a strange entry in the calculations for field weakening
`template <class T_IN, class T_MID, class T_MID2, class T_OUT, int MAX_AD_SCL>
void Decoupling_T_ap_fixed(
T_OUT& Vd_decoup, T_OUT& Vq_decoup, T_MID Id, T_MID Iq, T_IN Vd, T_IN Vq, T_IN RPM, T_OUT RPM_to_speed) {
#pragma HLS INLINE
}`
Why first Vd_decoup = Flux_decoup; and after Vd_decoup = 0;? Isn't this a mistake?
What equation did you use to field weakening?
The text was updated successfully, but these errors were encountered: