LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to limit the slope of a signal

Solved!
Go to solution

Hi,

   I am trying to limit the slope of my speed control reference signal, say I want to change from 100rpm to 200rpm, I don't want it to step from 100 to 200 (which is what the code is doing now), I hope it can change gradually with a changeable slope. Could anyone help me on this ? Thank you very much.

 

0 Kudos
Message 1 of 7
(3,820 Views)

There are many ways to do this, here is one possibility.

 

 

0 Kudos
Message 2 of 7
(3,794 Views)

Thank you for your reply. But I can't open your file since I am using a labview 14.0.2. Could you do a screen shot maybe for your diagram? 

0 Kudos
Message 3 of 7
(3,778 Views)
Solution
Accepted by topic author yingxiong10
0 Kudos
Message 4 of 7
(3,749 Views)

Hi ying,

 

see "PID Output Rate Limiter" function…

(Despite its name you can also use it for input signals! :D)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 5 of 7
(3,734 Views)

Thank you very much, now I see it.

0 Kudos
Message 6 of 7
(3,710 Views)

Thanks GerdW, this is a good suggestion.

0 Kudos
Message 7 of 7
(3,706 Views)