init_model.m 351 B

12345678910111213141516171819202122232425262728293031
  1. % Motor Parameter
  2. Ls=0.0000765;
  3. Ld=0.0000765;
  4. Lq=0.000102;
  5. Rs=0.015;
  6. Ra=Rs;
  7. P=7;
  8. Psif=0.0048;
  9. J=2500e-7;
  10. InerRate=1;
  11. % AC Voltage
  12. Vac=310;
  13. % DC Voltage
  14. Vdc=38;
  15. % Control Speed
  16. Rpm=1620;
  17. Freq=Rpm/60*P;
  18. w=Rpm/60*2*pi;
  19. we=Freq*2*pi;
  20. % Sample Parameter
  21. MaxIphase = 140; % Code = 156
  22. MaxIdc = 95.24;
  23. MaxVdc = 60.5;
  24. load('injection_dtype.mat');