Integrator block

Reza Hakimi_21894
Reza Hakimi_21894 New Altair Community Member
edited April 18 in Community Q&A

Hello

In the integrator block, the sampling time should be set to what number?

I am going to put this program in dsp 28335 and run it practically.

 

image

Tagged:

Answers

  • Rhonda_20369
    Rhonda_20369 New Altair Community Member
    edited April 18

    Hi, Reza,

    The sampling frequency of this integrator is determined by your feedback or loop response.

    If this integrator is in the feedback path, not within a control loop, you may decide how often you want to sample this signal.

    If this integrator is part of your PID controller, when you design your digital PID controller, you would have set the sampling frequency for the whole loop.

    For example, some motor drive systems have the speed loop sampled at 1KHz while the current control loop sampled at 10kHz.

    If this integrator is in the speed loop, the sampling frequency should be 1KHz. If it is in the current loop, its sampling frequency would be 10KHz.