Part Number: TMS320F280049C
Hi All,
I am currently working on the RsOnline feature provided by the FAST estimator but I see some issues regarding functions used in the Lab code.
As far as I understood when the RsOnline feature is active, the estimator calculates a d-current which should then be added to the control. The estimator then uses the feedback values to estimate the resistance with the known applied d-current. Because of the use in the Lab I expected the function EST_getIdRated_A() to return the d-current I need to add to the control and EST_updateId_ref_A as the function where I set the finally resulting reference values.
When I moved certain parts to the CLA I experienced some problems because EST_getIdRated_A seems to return always 0 and EST_updateId_ref_A actually manipulates the input with the desired d-current. Is this behavior expected?
For now I solved the problem by calculating the Rated d-current by substracting the d-current before EST_setIdq_ref_A from the d-current after. This seems to work but it also adds a delay of one ISR before the new calculated rated d-current is used in the control. Would this be a problem? Since we are splitting functionality between CLA and CPU the only other approach would need an additional ping-pong ISR cycle between CPU and CLA.
Thanks in advance
Wolfgang