From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with PID VI

Hello, I recently started building a ball on plate system. A webcam tracks a ball on a plate aquires the ball position with the Vision Assistent. sends the currenty position of the ball to process variable input of the PID.vi, in both X and Y directions. The setpoint is set to the middle of the plate in pixels. The minimum and maximum are set to a Duty Cycle values that are the min and max angle for the servo motors, thus the plate. The problem is that the duty cycles that come out of the PID.vi are always the min or the max value, never in between:O!! Is there anything I'm doing wrong? Ill attach the VI.

0 Kudos
Message 1 of 2
(2,226 Views)

Hi Thomas,

 

maybe because you're using the default PID parameters?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 2
(2,202 Views)