1459903140-abe5b8d6-a343-4de0-8841-fa6ac76f9d51

A system for controlling torque ripple in a permanent magnet synchronous machine includes a power converter configured to be coupled to the permanent magnet synchronous machine and to receive converter control signals and a system controller coupled to the power converter. In certain examples, the interceptor module can replace an address of a selected routine in an address table with an address to the interceptor routine, such that the native operating system process can call the interceptor routine in place of the selected routine. The system also includes a scheduling processor configured to extract a bandwidth allocation message from a data stream and to re-stamp each of at least one timestamp in the bandwidth allocation message in the local time domain based on the clock signal to generate a corresponding updated bandwidth allocation message comprising a respective at least one re-stamped timestamp.