mcFieldWeaken.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  1. /* --------------------------- (C) COPYRIGHT 2021 Fortiortech ShenZhen -----------------------------
  2. File Name : MotorFiledWeaken.h
  3. Author : Fortiortech Appliction Team
  4. Version : V1.0
  5. Date : 2021-12-08
  6. Description : This file contains motor filed weaken parameter used for Motor Control.
  7. ----------------------------------------------------------------------------------------------------
  8. All Rights Reserved
  9. ------------------------------------------------------------------------------------------------- */
  10. /* Define to prevent recursive inclusion -------------------------------------------------------- */
  11. #ifndef __MOTOR_FILED_WEAKEN_H_
  12. #define __MOTOR_FILED_WEAKEN_H_
  13. typedef struct
  14. {
  15. int16 WeakenRunUq;
  16. int16 WeakenRunUd;
  17. uint16 WeakenUsRef;
  18. uint16 WeakenUsFed;
  19. int16 ThetaOutmin;
  20. int16 ThetaOutmax;
  21. int16 WeakenTheta;
  22. int16 udFlt;
  23. int16 uqFlt;
  24. int16 mcIsref;
  25. int16 IdRef;
  26. int16 IqRef;
  27. }FieldWeakeningTypeDef;
  28. extern FieldWeakeningTypeDef xdata mcFiledWeaken;
  29. extern void FiledWeakenInit(void);
  30. extern void FileWeakenControl(void);
  31. #endif