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.
Hello,
We are using the TI TMS570LC4357 for electric motor control of a brushless 3-phase permanent magnet motor.
I´m currently looking in to implementing variable switching frequency. By variable I mean as close to continuously variable as possibly, at least in steps of less than 100Hz.
We are currently using a fixed switching frequency implementation, which in essence follows the standard way of implementing this; The implementation is driven by the PWM module which generates PWM signals and sends ADC conversion trig pulses to the ADC module. When the ADC conversion is done, an interrupt is taken and the ADC values for currents, voltage and resolver position (sin and cos) are read out and the motor controller is run. The motor controller calculates new duty setting for the PWMs and writes these to the PWM shadow registers. The values are then used in the next PWM period. We are using the PWM module to produce a resolver excitation signal and the ADC module samples the resulting resolver sin and cos signals.
Implementing variable switching frequency based on this setup seems to be challenging. Two of the currents needs to be sampled at exactly the same time (requiring the use of both the ADCs) synchronized with the PWM signal generation, which in this case has a variable frequency. The resolver position signals need to be synchronized with the resolver excitation signal which has a fixed frequency. The challenge lies in coordinating the use of the ADCs. To run one ADC for currents and voltage and one for resolver signals, as well as running the ADCs in continuous conversion mode, have significant drawbacks.
My question is if you have any advice on how to implement this in a good way? Are there any application examples or similar?
I have searched the TI documentation and forums. The application examples I have seen so far use a resolver encoder which makes the implementation of variable switching frequency easier since the ADCs are only used to sample the currents and voltage.
Best regards
Hi user4313736,
Please note, that TI has a nice integrated solution for a resolver encoder the PGA411-Q1 and that this device is also part of SafeTI-26262.
Best Regards,
Christian