Help Needed in PID // Micrologix 1500 AB PLC

hem

Member
Join Date
Mar 2010
Location
gurgaon
Posts
3
dear all:

we have a automated vehicle which runs on a magnetic tape.

we are taking analog input [0 to 10] volts from a reader
this has a midpoint of 5volt. based on this 2 motors
are given analog output which is 0 to 5 volts.

thru pid we need to keep reader around 5volt mid point,

we are doing this [first time] pl. comment what is wrong !!!!!o_O

* reader reads from analogue port and this is in 0 to 10 volts [raw // no scaling].

* this is than scaled to 0 to 5 volt

* this is further scaled to 0 to 16383

* our motors also take 0 to 16383 [zero to max speed]

* in pid our setpoint is 8190 and we have selected timed
response ; loop update about 0.5; kp = 3.5; kd=0; ki =0;
auto mode

* the pid gives output in PDxx.CVP [%] - this is shown to vary from 0 to 100%

* we take this number and multiply this by set speed
1500 X %PID correction/100 = becomes correction factor.

* from 1 wheel we substract this factor and in 1 wheel we add this factor [differential speed control]. so we get new speed for each wheel. the analog output module is scaled for pid to accept these numbers.

* now how do we find kp, ki, kd so that reader stays as close to 5 V always ???

our vehicle is very lethargic and responds slowly by the time it responds it has left the tape.

tips will be helpful.

hem
 
dear all:

we have a automated vehicle which runs on a magnetic tape.

we are taking analog input [0 to 10] volts from a reader
this has a midpoint of 5volt. based on this 2 motors
are given analog output which is 0 to 5 volts.

thru pid we need to keep reader around 5volt mid point,

we are doing this [first time] pl. comment what is wrong !!!!!o_O

* reader reads from analogue port and this is in 0 to 10 volts [raw // no scaling].

* this is than scaled to 0 to 5 volt

* this is further scaled to 0 to 16383

* our motors also take 0 to 16383 [zero to max speed]

* in pid our setpoint is 8190 and we have selected timed
response ; loop update about 0.5; kp = 3.5; kd=0; ki =0;
auto mode

* the pid gives output in PDxx.CVP [%] - this is shown to vary from 0 to 100%

* we take this number and multiply this by set speed
1500 X %PID correction/100 = becomes correction factor.

* from 1 wheel we substract this factor and in 1 wheel we add this factor [differential speed control]. so we get new speed for each wheel. the analog output module is scaled for pid to accept these numbers.

* now how do we find kp, ki, kd so that reader stays as close to 5 V always ???

our vehicle is very lethargic and responds slowly by the time it responds it has left the tape.

tips will be helpful.

hem

The first thing that jumps out at me is Scaling the 0-10 Volt Signal to 0-5 Volts then to 0-16383 for the PID, that makes no sense. I don't fully understand how you are controlling your Wheel Motors. It seems to me you have to Control Points, desired speed of the Vehicle, and then trimming of the Wheel Motor Speeds to keep it centered on the Ribbon.

As to your PID, I would recommend a faster update time, and for this application, you are going to need some Integral (Ki) and probably Derivative (Kd). You can also set your PID Engineering Units i.e. 0-100% Speed without loss of PID Control Resolution.

Can you post your PLC Code so we can look at your Scaling and Output Control. Give us the exact 1500 Model, and any add on Cards installed. Also, a simple diagram of the Vehicle with the Wheel Placement etc would be helpful.


Stu....
 
Last edited:
dear stu:

we are using Allen Bradley Micrologix 1400 PLC
+ Output Card -1762 OFY; + Input Card-1762 IFY.

it has 2 front wheels with dc motors [0 to 5volt control]
& 2 free wheels at the back.

how do we send u code ??

hem
 

Similar Topics

Dear all, I have a problem tuning a PID loop. I am trying to control the temperature of a pasteurizer for beer cans and bottles. I am using S7-200...
Replies
8
Views
4,166
Hello, I have a problem with tuning my PID loop in my RS5000 project. In my program I am using a PID loop to control the KW output of an engine...
Replies
11
Views
4,305
Hi, I'm new here and horribly inept in working with Step7 and i have a problem. I am trying to use PID control on two analog valves in order to...
Replies
2
Views
1,699
Hi Experts; I attached an image of pid parameters setting. When i increase the speed of gas turbine the speed goes 1% up then come back 1% down...
Replies
17
Views
4,332
Hi experts; I have Ge 90-30 CPU 352. I use PID (ISA) and first set only the proportional and setting as under; Error term= SP-PV Upper clamp=32000...
Replies
4
Views
2,045
Back
Top Bottom