Hello all,
I am still a bit new to the realm of TI MCUs and motor control, and I have a few (basic) questions to ask.
At some point I'm going to have to write my own control code based off of one of the examples TI provided with the (TMDSHVMTRPFCKIT) that I purchased. There has been much discussion on this forum about using the PWM module itself, and I understand that the PWM modules they have written will likely do a better/more efficient job than anything I could write.
What I haven't seen or been able to figure out is how the PWM module interfaces with the inverter. I have looked at the documentation and browsed around here for a few hours, and I'm at a loss. To be more specific, the documentation (and code) for PWM_DRV (or whatever pwm module is being used) chronicles how the space vector inputs are 'converted' to pwm signals (or something like that-- feel free to clarify), but it seems that everything stops after that. Once these PWM signals are generated, how do they talk to the switches (power mosfets?) that comprise the inverter? Where at in this plethora of code does the switch get turned from a 0 to a 1? Is it possible to control this some other way?
FYI, I am assuming that the PWM modules talk to the inverter somehow based on a few things. Namely, the HVACI_scalar.c file essentially 'stops' control wise after calling the pwm macro, and the flow charts in the documentation for Scalar ACI Control show the PWM module talking to the 3 phase inverter.
Furthermore, once this is cleared up for me, is it even possible to replace the PWM module with something else? For instance, could a '6 pulse' macro be written to replace the pwm macro (in theory, I understand that it wouldn't improve performance)?
Thanks,
Mike