PWM - Heating fan

RagnarF

Member
Join Date
Oct 2023
Location
Gotland
Posts
4
Hi,

I am trying to have my PLC start a heating fan in a linear manner. A certain percentage at a certain received setpoint.

To do this, I use a PWM and Solid State Relay and break up the current. I have been using free software from Crouzet and I can’t figure out how to do this. Any hints are most appreciated.
 
Try using Timed Proportional Control. This is basic Proportional control with no "ID". It works well for digital control when the variable reverses when in an opposite state. Ex: Temperature increases when on and decreases when off which can also be reversed for cooling control. Timed Proportional also does not wear out components as much as PWM.

Below is a calculation example:

TimerPreset = Always running repeating timer set to 4 seconds (4000 milliseconds or whatever. A higher resolution is more accurate)
PBand = 1.0
StartPoint = SetPoint - PBand
Variable = Analog Input
Error = SetPoint - Variable

Output% =:
Variable < StartPoint = 100%
Variable > SetPoint = 0%
Variable > StartPoint &< SetPoint = Error/PBand

PropOut = TimerPreset*Output% (Ex: 4000*0.25 = 1000)

Compare = TimerPreset - running timer value

DigitalOut =:
At repeat start of timer & PropOut > 500 = 1
PropOut < Compare = 0

The 500 is a 1/2 second limit for anti-chatter.

An example of Increase Control with a 4 second repeating timer:
If the input value is less than the set point by more than the PBand, the output is always ON.
If the input is above the set point, the output is allways OFF.
If the input is in the PBand at 25%, the output is ON for only 1 second and off for 3.

The best about this type of rudimentary calculation is that all different types of controllers from Allen Bradley to Raspberry Pi will work exactly the same way.
 
"A certain percentage at a certain received setpoint."

If an analog output is used, remove the timer and use the "Output%" from the last post. This is basic raw Proportional control. Expand the PBand if necessary for a longer ramp.
 
Are you sure that solid state relay is fast enough to follow the frequency of the PWM pulses?

You should use a specific amplifier for PWM
 
Try using Timed Proportional Control. This is basic Proportional control with no "ID". It works well for digital control when the variable reverses when in an opposite state. Ex: Temperature increases when on and decreases when off which can also be reversed for cooling control. Timed Proportional also does not wear out components as much as PWM.

This sounds interesting. Being new to this, I have never heard of this. I have read some articles about this now. Some questions arise. 'TPC' will then controle my Solid state relay or Thristor, right? So I can have any current!

I will receive a Setpoint four times per second which I then will "translate" to an Output. Would that frequency be a problem?
 
Last edited:
If the PLC has a PWM output use that...
Or use a DO to start your existing ramp circuit ...
Or provide a lot more detail.

Hi TheWaterboy,
I can't stress enough how new I am to this. And eager to learn.

The PLC I am planing to use does have a PWM output. Would I controle it with a timer? Or is there an other "block" / funktion to use?
 
Are you sure that solid state relay is fast enough to follow the frequency of the PWM pulses?

You should use a specific amplifier for PWM

Hi lfe,
My ignorance is unlimited :) I have not yet purschased the SSR nor Thyristor so I will make sure I verify the capability of the SSR. Thank you!
 
This sounds interesting. Being new to this, I have never heard of this. I have read some articles about this now. Some questions arise. 'TPC' will then controle my Solid state relay or Thristor, right? So I can have any current!

I will receive a Setpoint four times per second which I then will "translate" to an Output. Would that frequency be a problem?
We use TPC very effectively for controlling a valve for temperatures and pressures. There is a popular article describing it to control a chemical pump. In your case, the PLC output will send a signal to a SSR. The current draw is limited to the SSR rating and not the PLC control.

PWM will turn on and off rhythmically at different speeds whereas TPC may turn on and off at odd intervals according to the reaction of the input in relation to the setpoint.

If "I will receive a Setpoint four times per second" means that the target is moving or bouncing every 1/4 second, I am not sure what the reaction would be for both TPC and PWM. With TPC, the output is only turned on at the timer reset point and then turned off according to the output percentage. If you meant ramping, then that is commonly added by resetting the setpoint limit at every timer interval (4 seconds in my example).
 

Similar Topics

Hi all! Helping a co-worker out with a home brewing setup. He wants an accurate temperature control, so we have divided up the element in two...
Replies
12
Views
4,404
Good morning! I'm trying to find a DIN rail-mountable 4-0channel PWM amplifier that is capable of accepting a 5VDC PWM with a maximum frequency...
Replies
2
Views
109
I have a project to control the speed of motor DC using PWM Output on PLC and when im on working i have a several trouble and of of them is the...
Replies
6
Views
220
Hi All, I came up with this for ramping the PWM pin on the micro 820. I'm new to ladder logic so I am not sure if this will even work? Once...
Replies
6
Views
354
Hi guys, i have never had to do a PWM Output or input before i have a Device that to dimm the lamp output from the ballast, the ballast has a 24V...
Replies
6
Views
1,052
Back
Top Bottom