PWM for PID

Koncarevac

Member
Join Date
Mar 2006
Location
Zagreb
Posts
2
Hi, I have a problem. I am supposed to control gas flow by an automatic motor driven valve. The valve receives 2 input signals, impulses for open and close respectively. I am using a PLC Function Blocks diagrams for the ABB RTU560. There is an analog PID FB, but I need to process its analog output control signal to get a three position control signal. The thing I need is a PWM block, which I don’t have implemented in the PLC.

Does some one have an answer to my problems? A hint how to make my own PWM block?
 
PWM is farily straightforward.
Run a base timer that resets itself for a time period, say 1 second.
Scale the PID output to 0-1 seconds, so if it's 12 bit output, 0-4095, then divide the PID OUTPUT by 409.5
Move the result into the preset value of a second timer.
Reset the second timer with the first timer done bit.
Now the output of the 2nd timer will be a % of the first based on the PID output.
 
PID Control for Gas Burner

I have Motorized valve Gas Burner (open and close) i want to control with PLC PID Control with RTD input and close and open relay, motor full open to close time is 30sec please suggest the logic to control.
 

Similar Topics

Hello Friends, I am looking for a way to take my PID Output( it is the result of my PI Algorithm in Real format) and generate a PWM Signal in...
Replies
16
Views
2,556
I have an application where I will be opening and closing an actuated ball valve to humidify a space. The valve is a pneumatically actuated...
Replies
11
Views
3,561
how can i use pid+pwm to control brightness of the ac light
Replies
4
Views
2,253
in micrologix 1400 we have to enter duty cycle to get particular duty cycle.But i want my duty cycle changes according to values coming from pid...
Replies
2
Views
2,631
- - My question relates to using a PID to control an ON/OFF valve by pulse width modulation. I know how to code the solution. I don’t know...
Replies
23
Views
7,461
Back
Top Bottom