Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: on off PID?

on off PID? 2 months 6 days ago #10433

  • Mumriksnus
  • Mumriksnus's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 5
  • Karma: 0
Hello!

Just wanted to check: if I am using the PID function with a relay as output, should I interpret the help page as this would require mode "manual"? I.e., output is 1 or 0?

www.proview.se/doc/sv_se/orm/pwrb_pid.html

Best regards Hans
The administrator has disabled public write access.

on off PID? 2 months 5 days ago #10435

  • brunad
  • brunad's Avatar
  • OFFLINE
  • Gold Boarder
  • Posts: 222
  • Karma: 0
Hello Mumriksnus,

To make a control loop with an actuator driven by a relay (which is a binary device as well) you must connect the analogue output of the PID controller to a pulse width converter (by the way,this is specific to process control, not at all to Proviewr).

Here is an example (tested)for a static relay and an actuator (for example a dimmer driving a resistive thermal heater) supporting pulse equal or greater to a minimum time 0.1s on a period for instance of 10 seconds

Take a look here --> en.wikipedia.org/wiki/Pulse-width_modulation


PWM2.png




Have a good day,

/Bruno
Last Edit: 2 months 4 days ago by brunad.
The administrator has disabled public write access.
The following user(s) said Thank You: marc

on off PID? 2 months 4 days ago #10436

  • marc
  • marc's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 709
  • Karma: 0
Hi Bruno,

Great post.
Thank you!
Something to think about.

/Marc
The administrator has disabled public write access.

on off PID? 2 months 4 days ago #10437

  • brunad
  • brunad's Avatar
  • OFFLINE
  • Gold Boarder
  • Posts: 222
  • Karma: 0
Thank you Marc for your support.
I try to be helpful

(remember, you owe me a beer!) :silly:

P.S.

I would like to add this to ProviewR (and other things).
I have already added the internal model controller (IMC) and a function generator since version 5.5.
Unfortunately, I do not always master the ProviewR compilation procedure to add new objects. Claes helped me, but I'm still struggling.

A step by step detailed video tutorial would be welcome on the procedure from scratch. Could anyone stick to it?

Christmas is comming soon you know ! :)

/Bruno
The administrator has disabled public write access.

on off PID? 2 months 1 day ago #10438

  • Mumriksnus
  • Mumriksnus's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 5
  • Karma: 0
Sorry for late reply, but thank you Bruno! Exactly the explanation i hoped to find! Hope you have a nice weekend! :)
The administrator has disabled public write access.

on off PID? 3 weeks 1 day ago #10451

  • marc
  • marc's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 709
  • Karma: 0
Hi Bruno,

Yeah, yeah I know I owe you a beer and you deserve it.
I am reading pretty often the forum and started to explore the new release.
Building from source seems to be tricky on an ARM based board.
First struggle on 14.04/32 was Qt. But a "$ build.sh gtk" does the trick.
It seems to be pwre is obsolete.

Let's find out what 2020 brings....
Hopefully I can get my act together and become more active with Proview again.

Best wishes and thanks for all!

/Marc
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Time to create page: 3.428 seconds