Other Parts Discussed in Thread: CONTROLSUITE
Dear Team,
I hope this message finds you well.
We are currently in the process of implementing the FOC algorithm using the C2000 MCU. In our design, we have opted for a low side current sensing technique, where the shunt outputs are fed to the op-amp, and the op-amp reference voltage has been set to zero. However, we've realized that ideally, it should be set to half of the operating voltage, which was an oversight on our part. Our corrected board will soon be in our hands.
We've encountered a bit of confusion regarding the current sensing method. Upon reviewing your example code, we noticed that you utilize an inline current sensing method, resulting in both positive and negative values at the ADC pin. Consequently, your alpha and beta values fluctuate between positive and negative.
However, due to our op-amp configuration, we only receive positive values, capturing solely the positive half cycle of current data. Consequently, our alpha and beta values consistently remain positive.
We're concerned that this discrepancy might pose challenges for our software algorithm. Could you please advise if there's a method to obtain both positive and negative current values, or if there's an alternative approach we should consider?
Any assistance you could provide would be greatly appreciated.
Warm regards,
Raj