OUTPUT_MAX_LIMIT and OUTPUT_MIN_LIMIT question
- aleksamc
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 567
- Thank you received: 65
22 Oct 2020 08:32 #186882
by aleksamc
OUTPUT_MAX_LIMIT and OUTPUT_MIN_LIMIT question was created by aleksamc
I use mesa 7I77 board to operate analog servos.
I set OUTPUT_MAX_LIMIT =2 and OUTPUT_MIN_LIMIT=-2. As I anderstand they limit maximum voltage from output board.
My servos are very fast, they have 3000 rev/min and directly connected to the axe, Their velocity is 5m/sec!
I want to limit their maximum speed even if they will go in unstable state.
So I increase gain parameter P to make my servo unstable. And it became it. When servo become unstable, on the board voltage was not limited by 2V. It was maximum 10V. How can I solve this problem?
I set OUTPUT_MAX_LIMIT =2 and OUTPUT_MIN_LIMIT=-2. As I anderstand they limit maximum voltage from output board.
My servos are very fast, they have 3000 rev/min and directly connected to the axe, Their velocity is 5m/sec!
I want to limit their maximum speed even if they will go in unstable state.
So I increase gain parameter P to make my servo unstable. And it became it. When servo become unstable, on the board voltage was not limited by 2V. It was maximum 10V. How can I solve this problem?
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
Less
More
- Posts: 7780
- Thank you received: 2075
22 Oct 2020 14:28 #186900
by cmorley
Replied by cmorley on topic OUTPUT_MAX_LIMIT and OUTPUT_MIN_LIMIT question
can you show your config files?
Please Log in or Create an account to join the conversation.
- bevins
- Offline
- Platinum Member
Less
More
- Posts: 1937
- Thank you received: 335
22 Oct 2020 17:31 #186911
by bevins
Replied by bevins on topic OUTPUT_MAX_LIMIT and OUTPUT_MIN_LIMIT question
OUTPUT_SCALE?
Please Log in or Create an account to join the conversation.
- PCW
- Away
- Moderator
Less
More
- Posts: 17987
- Thank you received: 4835
22 Oct 2020 18:04 - 22 Oct 2020 18:05 #186917
by PCW
Replied by PCW on topic OUTPUT_MAX_LIMIT and OUTPUT_MIN_LIMIT question
The limits are relative to the output scale
so if output scale is 10, limits of 2 and -2
will limit the output voltage to +-2V
but if the output scale is 1 you would need
limits set to 0.2 and -0.2 to limit the output to +-2V
so if output scale is 10, limits of 2 and -2
will limit the output voltage to +-2V
but if the output scale is 1 you would need
limits set to 0.2 and -0.2 to limit the output to +-2V
Last edit: 22 Oct 2020 18:05 by PCW.
Please Log in or Create an account to join the conversation.
- aleksamc
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 567
- Thank you received: 65
23 Oct 2020 05:24 - 23 Oct 2020 05:30 #186973
by aleksamc
Replied by aleksamc on topic OUTPUT_MAX_LIMIT and OUTPUT_MIN_LIMIT question
I posted INI file in
Oher post
. I supposed that for this question is better to create separete thread.
And there Output Scale = 1
MAX_OUTPUT = 0
So I need to change MAX_OUTPUT.
Than what purpose of OUTPUT_MAX_LIMIT?
And there Output Scale = 1
MAX_OUTPUT = 0
So I need to change MAX_OUTPUT.
Than what purpose of OUTPUT_MAX_LIMIT?
Last edit: 23 Oct 2020 05:30 by aleksamc.
Please Log in or Create an account to join the conversation.
- PCW
- Away
- Moderator
Less
More
- Posts: 17987
- Thank you received: 4835
23 Oct 2020 14:08 #187001
by PCW
Replied by PCW on topic OUTPUT_MAX_LIMIT and OUTPUT_MIN_LIMIT question
If your OUTPUT_SCALE is 1 then you need
OUTPUT_MAX_LIMIT to be 0.2 and
OUTPUT_MIN_LIMIT to be -0.2 to limit the
analog output voltage to +-2V
MAX_OUTPUT probably changes the PID maximum output
but like most INI file values it depends on how they are used in
the hal file
OUTPUT_MAX_LIMIT to be 0.2 and
OUTPUT_MIN_LIMIT to be -0.2 to limit the
analog output voltage to +-2V
MAX_OUTPUT probably changes the PID maximum output
but like most INI file values it depends on how they are used in
the hal file
Please Log in or Create an account to join the conversation.
Time to create page: 0.067 seconds