Pid allways positive
19 Jul 2021 22:49 - 20 Jul 2021 00:19 #215350
by alkabal
Pid allways positive was created by alkabal
Hi all.
Did you know a way for prevent pid to output negative value ?
I have managed a hal config as absolue with acceleration/deceleration ramp for a mill spindle but using halscope when i try to stop spindle at some point the pid try to send negative value, off course i haven't issue for the ral use due to the impossibility for the card to output negative value.
(Problem solved adding a pin to my component for stopping pid if value are less than 0 if mode is absolue.)
Br
Did you know a way for prevent pid to output negative value ?
I have managed a hal config as absolue with acceleration/deceleration ramp for a mill spindle but using halscope when i try to stop spindle at some point the pid try to send negative value, off course i haven't issue for the ral use due to the impossibility for the card to output negative value.
(Problem solved adding a pin to my component for stopping pid if value are less than 0 if mode is absolue.)
Br
Last edit: 20 Jul 2021 00:19 by alkabal.
Please Log in or Create an account to join the conversation.
Time to create page: 0.053 seconds