Search results

  1. P

    Field Oriented Control using dsPic33

    It took much time, but now it works much better using dsPIC33E and single shunt AN1299. So it was not the chip, nor the AN firmware or compiler.. Main issue was the low bandwith of the ACS758 current sensor. Using a single shunt, current measurement needs be very fast to get differents phase...
  2. P

    Field Oriented Control using dsPic33

    Hello, Yes, it may very well be a position estimation failure. I still could not record what happens upon motor stalling, so I am not sure. The current sensor does indeed need a high bandwidth, since the current is measured precisely when the phase of interest is powered (MICROCHIP AN1299...
  3. P

    Field Oriented Control using dsPic33

    I checked the code from C30 and XC16 and could not find very significant differences. As for the optimization issue, I could solve it by changing the local reg definition to volatile. But still, I cannot get high rmp/high amps from my SK6374. I checked that the DSP time in interrupt is low...
  4. P

    Field Oriented Control using dsPic33

    Hi, Actually, I keep optimization to -o0 since it will not compile otherwise, it says: PMSM.c: In function 'FieldWeakening_Inline': PMSM.c:960:1: error: Argument 0 should be an accumulator register (__builtin_sac) PMSM.c:960:1: error: Expected DSP accumulator result (__builtin_mpy) Strange, and...
  5. P

    Field Oriented Control using dsPic33

    Hi, I am stuck with the same issue using FOC from AN1078 and dsPIC33EP512MC504. (actually I use AN1299 with single current measurement on Ibus and an Allegro sensor, but the controller code is mostly the same). I use XC16 compiler and SK6374 motor. As Burtie said, there seems to be some...
Back
Top