Because of using a different kind of pulspattern to control a three-phase inductor mashine, i implemented an own puls-generation-model.
The first try was to use the digital output pins of the dSPACE DS1103-board, that means, that everytime a timevalue matches a timeramp, the pins are set high or low. Using the dSPACE control desk, i recognized, that the turnaround time is much too high (ca. 20 micoseconds). :-(
The DS1103-Board works with a TMS320F240 DSP from Texas Instruments and provides therewith a puls creation module, which sets high/low if a match of a compareregister and a timerregister occurs. This could be executed in some nanoseconds. :-)
Now my question: Can anyone tell me, how i could overwrite the compare registers from within my model? How can i manipulate the hardware? Shall i implement a completely new usercode (imitating the dSPACE blocksets), or manipulate the existing software (however)?
Thanks a lot !
-- Enrico Schulz Student of Chemnitz University of Technology Electric mashines and drives