Non-PID Speed Control

Hello. I have an application where I'm controlling a spindle motor as a yarn package builds in diameter. As the diameter increases the motor slows to keep the yarn speed more or less constant.

This works great except some VFD's don't exactly output the frequency that they are commanded to run. I'm using a variety of drives. (AB 160 & 523 and Yaskawa G500. The Yaskawa runs almost perfect the AB's not so much.)

I would like to find a non PI(D) way to bump the frequency up or down to keep the speed within a window. This doesn't need to be tight control, just keep it in a ballpark. For example: If yarn speed target is 800 yds/min I can live with 825-775 yds/min

I don't want any surging - just a nice controlled bump up or down.

I'm using an AB Micro 850 controller for this application which has PID capability but I'd prefer not to use it if there is another way to "trim" the speed.

I'm monitoring yarn speed & spindle speed on the machine.

I'm replacing a single board computer that was installed about 30 years ago - so, I'm thinking that the calculations at that time were probably not real complicated.

Thanks in advance for any feedback.
 
What is the data type of the speed value e.g. integer, real, etc.?

Also, what is the signal to the drive (4-20mA; E/IP value over a network)?

How does the PLC initially ramp up the speed?

Are the errors you see in the AB VFD operation always high or always low?

Basically I am thinking that the ratio of yarn speed (yd/min) divided by spindle speed (rpm) is proportional to diameter, so if you have those three values, you can estimate how much a decrease of 1 bit to the output signal will decrease the yarn speed.

Another approach would be to scale the spindle speed to be linear with the square root of yarn length on the spool (assuming that length is measured or calculated). You might need to add a "phantom length" to the length to account for the spool, and if there are different yarns this might get too complex to bother.

One thing I wonder is that, if the current system, drive included cannot set the speed correctly, how do you know some other algorithm will not have the same problem? Is this intended as a trim to correct for inaccuracies in the PLC-drive-motor system? Is it possible the dead band on the VFD is set too high; the default on the AB 160 is 0, and it is only active when P46 is 9, if I am reading the documentation correctly; 775-825 is +/-3%+?
 
In a former life I worked on a lot of machines that had center driven winders and unwinders. In most cases, there was some sort of a feedback mechanism that could be used as an input to a PID. The code I inherited was strictly a PI loop with the input being a dancer or slack loop height (same principle) and the output went to the drives.

I replaced that code with what was termed a "ratio detector" so that the PID had a much smaller influence on the winder speed and the bulk of it was determined by the velocity of the material feeding into (or out of) it. Our equipment had somewhat frequent changes to the overall line speed which made the reliance on an error in the dancer much more problematic.

Since I knew the range of ratios between line speed and an empty spool versus a full spool were fixed and limited, I could apply those limits and scaling to the "ratio detector", multiply it by the line speed, then send that to the drive. The end result was a system that allowed stops and starts with faster decel and accel rates and much smoother operation of the winders which improved quality as well as productivity.

If you do not have a way to measure the speed error, then the above strategy won't work.
 
I think he is saying, he already calculates the Hertz required for a given diameter, but the AB drives have too much drift. (Depending on the drive, you may be able to adjust the slippage parameter and get closer response.)

So once he sends the speed reference he wants to compensate for the drift.


For something similar, conveying solids via air flow.
I have used a self resetting timer, set for say 500 milliseconds ( you can adjust as needed).
When timer is done check yarn speed, if low increase setpoint by 0.2 Hz (adjust as needed). If high decrease by 0.1 Hz.
It works best if your increase and decrease are not the same value.
 
Basically I am thinking that the ratio of yarn speed (yd/min) divided by spindle speed (rpm) is proportional to diameter,
Did you eat the PI? Where did it go? I didn't eat it. Well I guess it is still proportional but not accurate.


Seriously, the VFD and motor should be able to track very well unless the speed of the yarn changes rapidly.


PIDs with dead bands will oscillate unless there is a lot of damping. Look at the equation for PI control here
https://lost-contact.mit.edu/afs/umich.edu/class/ctms/Public/html/matlab42/examples/cruise/ccpid.htm
if Kp is small the system will be under damped. Figure out the roots using the quadratic root formula. If the term under the square root is negative then the system is under damped.
To keep the system damped B^2>=4*A*C. Since the C in the quadratic formula is the integrator term, it can't be very big.
 
That depends on the amount of noise in the PV signal, the sensitivity of the PV to CV, and the size of the dead band.

If there is noise in the PV, a PID without deadband actually amplifies the noise.
That is why there are output filters. Dead bands are not good when using PID control. It introduces non-linearities.
 
https://www.indiamart.com/proddetai...recision-soft-package-winder-21504938997.html This is basically the machine. It uses a propeller to control the lay of the yarn.



Not using a dancer. The package arm has an inclinometer (0-5V analog) that detects the package size and then the PLC calculates the speed based on main motor 50Hz/1500RPM.



Originally we were using the yarn speed/length measuring wheel to run a PID loop but ran out of motor torque on the largest end of the package. Was running without PID and it worked good until the AB 523 wouldn't keep up with commanded speed (0-10V analog on all drives) It would start out on the small end 3.2" and run OK then as the diameter increased speed would continuously drop off, until at about 11" it was running about 650 yards/min instead of the commanded 800 yards/min. The AB 160 drive was within 1 Hz of commanded speed all the way through the package and the Yaskawa G500 was dead on target all the way through the package.


I tried using a multiplier and "bumping" the speed up or down as the package built. Worked great until about 9.5 or 10" and then it started surging out of control very wildly.


As I originally stated I don't need tight control of the yarn speed just in the ballpark +/- 3% is acceptable as the lay will follow at that speed. As it drops below that speed the lay is affected.
 
Originally we were using the yarn speed/length measuring wheel to run a PID loop but ran out of motor torque


If the AB 523 and 160 VFDs are unable to provide the necessary torque, then I don't see how changing the control scheme, i.e. changing how the PLC commands the VFD speed, is going to fix the problem.

The PLC, or perhaps the VFD configuration, needs to tell/enable the VFD to get more torque out of the motor, not more speed. Isn't that what @Ken Moore wrote in post #7 i.e. slip parameter?
 
First a question How are you determining the actual diameter of the yarn as it’s wound up?
Do you have a dancer of some sort or just use the run time and pump the speed down based on the runtime.
I assume that you are outputting an analog speed reference to the VFD.

As for your statement that VFD’s don’t output exactly the commanded speed. Maybe the older ones had that problems but the newer ones certainly do not have that problem. I have run them from zero speed to 2X the base speed on a regular bases
That’s usually 120hz I have rum them up to over 300hz without any problems.(You need to make sure the motor can handle the higher speed)
I think what you are referring to is when you set the vfd to 45hz and you see the output is 48hz or so. What that happening is the vfd is compensating for the load on the motor. Ac motors are rate at base speed a 4 pole motor running at 60hz at no load will be running at 1800 rpm as the load increases the motor speed will decrease this is called slip. On the motor name plate it will state the full load rpm’s 1750rpm would be a typical full load value. If the motor is running between 1750 and 1800 rpm’s it running in its rated range if it slips below the 1750rpm range it is over loaded. The vfd will increase the output frequency as the load increases to try and keep the motor running at the set point. So the name plate rpm’s doesn’t mean much with a vfd it will try to keep the motor running at the commanded rpm speed by increasing the output frequency.

Now for you original problem
One solution would be to use the MOP (Motor Operated Pot) function of the vfd to bump the commanded speed down as the diameter increases.
If you want the speed command to be from an analog signal from a plc you could easily setup an MOP function in the program.
To do what you want you really need to have some way to measure the actual diameter and work. As the diameter increases the winder speed in bumped down.
Most winders have a dancer or an ultrasonic system or other device to measure the diameter
You really don’t need a PID control for what you are doing.
Another way would to create a function that would output the winder speed based on the diameter.
 

Similar Topics

Hi All, Has anyone any experience in controlling a non linear valve with a PID? Traditionally this valve is controlled on flow but would like to...
36
Replies
14,868
Views
I am trying to build ladder logic in rsl5k to turn on a contactor with a digital output. I have a 1769-IT6 input card and a 1769-OA16 output card...
8
Replies
2,693
Views
We have a machine controlled by a GE Fanuc 90-30 PLC with CPU 350 processor & Motion Mate DSM302, talking to an IC752DPA062A HMI. When...
1
Replies
123
Views
Does anyone know who makes non-contact transmiter/receivers for remote pallet monitoring? I've never used one but seen them used on shuttles...
18
Replies
597
Views
Trying to make a input signal to home servo and to stop when proximity sensor activates or homed made fist part work by multitasking input for...
0
Replies
278
Views
Top