Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Send the opposite value of a slider controlled by Artisan PID to another slider #1230

Closed
Robjones6146 opened this issue Jul 13, 2023 · 5 comments

Comments

@Robjones6146
Copy link

Robjones6146 commented Jul 13, 2023

I would like to send the opposite value of a slider to another slider that is controlled by Artisan PID. When the Hot air slider is at 60 (6 volts output), I want the Cold air slider to be 40 (4 volts) and visa versa.

I have two damper paddles that need to equal 100% (if the cold is 20% then the hot must be 80% and visa versa) I am using the Set Value >> Background in PID Control. I am using two OUT1002 Phidgets that send 0 - 10v signals to two Belimo rotary actuators that rotate the damper paddle through 90 degrees (The Belimo works with a 0 - 10 volt signal for positioning). The voltage corresponds nicely with the damper position eg. 3 volts = 30% open. I want to send the other actuator 7 volts (10 - 3 = 7) for 70% open.

I have tried achieving this in PID Control with no success. (Lots of variations)
PID settings (p - 3, i - 0.05, d - 10)
Positive - Cold air
Negative - Hot air
Invert Control - checked
Duty Max - 100%
Duty Min -100%

Windows 10
Artisan 2.8.5 (47c8ae6)
Phidgets Vint Hub

I have requested assistance in the Discussions where there is a detailed description. Artisan PID question. Control two damper paddles controlled via sliders

I can't find anything in the documentation that deals with this issue.
I have tried this, and although it doesn't exactly apply, it might be relevant when used with other settings. #621
I would appreciate any hardware or software advice or solution to achieve this.

@Robjones6146
Copy link
Author

Can anybody help me with this please?

@MAKOMO
Copy link
Member

MAKOMO commented Aug 28, 2023

What you request is simply not directly possible. However, you can go with just one slider that sends two commands (separated by a semicolon), the first just sends the slider value v and the other the 100-v.

@MAKOMO MAKOMO closed this as completed Aug 28, 2023
@Robjones6146
Copy link
Author

I know this is over a year ago. I am only implementing it now and cant get it to work.

Please can you confirm that this is correct. In the Sliders Tab:
Event (Slider): VOUT Command out(0,{},687340:4);out(0,100-{},687340:3)

  • No space after semicolon
  • replace v with {}

slider

@MAKOMO
Copy link
Member

MAKOMO commented Oct 27, 2024

You forgot to state WHAT exactly is not working. Your slider VOUT command looks fine.

@Robjones6146
Copy link
Author

Robjones6146 commented Oct 27, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants