This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi. ALL
I recently use pmsm3_2 & F2812 to control a pmsm .i complete all levels then i combine levels and change some parts of the code. in my algoritm first i use ramp controler ,and theta generated from it (rg1.out) to start motor in open loop and then at 70Hz i switch it to sensorless (close loop) and use pid_spd & smo1.theta to control the motor . furthermore i changed two parts in smo module.I made Rs and cutoff frequency of the backemf filter , variable with frequency ( Rs=F (rc1.setpointvalue) , smo1.kfilter = F(rc1.setpoitntvalue) ).I should ramp up motor to 900Hz.but in close loop it ramps up to 450 Hz and then motor can't go more.i use rs232 to monitor estimated speed ,speed.refrence(rc1.setpointvalue), pid_spd_out (Iq.ref) , pid_id (Vd) , pid_iq (Vq) .when i plot these variables in 0~450Hz ,i see that the deviation of the estimated speed gradualy grows.
please help me!!!!!!!!!!