mot_params_ind.h 728 B

12345678910111213141516171819202122232425
  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. void mot_params_ind_rs(float vd_max, float id_max, s32 time);
  9. void mot_params_ind_ld(float v, float freq);
  10. void mot_params_ind_lq(float v, float freq);
  11. void mot_params_high_freq_inject(void);
  12. float mot_params_get_est_rs(void);
  13. bool mot_params_hj_sample_vi(float vd, float vq, float id, float iq);
  14. float mot_params_get_est_ld(void);
  15. float mot_params_get_est_lq(void);
  16. void mot_params_ind_stop(void);
  17. void mot_params_calc_inductance(void);
  18. bool mot_params_rs_ested(void);
  19. bool mot_params_ld_ested(void);
  20. bool mot_params_lq_ested(void);
  21. #endif /* MOT_PARAMS_IND_H__ */