mot_params_ind.h 865 B

1234567891011121314151617181920212223242526272829
  1. #ifndef MOT_PARAMS_IND_H__
  2. #define MOT_PARAMS_IND_H__
  3. #include "os/os_types.h"
  4. #define L_TYPE_NONE 0
  5. #define R_TYPE 1
  6. #define L_TYPE_D 2
  7. #define L_TYPE_Q 3
  8. #define FLUX_TYPE 4
  9. void mot_params_ind_rs(float vd_max, float id_max, s32 time);
  10. void mot_params_ind_ld(float v, float freq);
  11. void mot_params_ind_lq(float v, float freq);
  12. void mot_params_ind_flux(float id, float iq);
  13. void mot_params_high_freq_inject(void);
  14. float mot_params_get_est_rs(void);
  15. bool mot_params_hj_sample_vi(float vd, float vq, float id, float iq);
  16. float mot_params_get_est_ld(void);
  17. float mot_params_get_est_lq(void);
  18. void mot_params_ind_stop(void);
  19. void mot_params_calc_inductance(void);
  20. bool mot_params_rs_ested(void);
  21. bool mot_params_ld_ested(void);
  22. bool mot_params_lq_ested(void);
  23. bool mot_params_flux_ested(void);
  24. float mot_params_get_est_flux(void);
  25. #endif /* MOT_PARAMS_IND_H__ */