PHD Discussions Logo

Ask, Learn and Accelerate in your PhD Research

Question Icon Post Your Answer

Question Icon

2 months ago in Aerospace By Madhu B

Can i change the sample time in dspace 1104?

I'm using a dSPACE 1104 with Simulink. Can I change the sample time to, say, 0.001 seconds?

All Answers (1 Answers In All)

By Kumar Answered 4 months ago

Yes but consistency is critical. In your Simulink model, set the fixed-step size to your desired sample time (e.g., 0.001). Any pulse periods in your model must be an integer multiple of this step size. If you have a 50 Hz PWM carrier, its period must align exactly with the solver step. Check both the pulse generator block and the solver settings before building for dSPACE. Misalignment = runtime errors or weird behavior.

Your Answer