some good advice (pid)

More
30 Oct 2012 01:37 - 30 Oct 2012 01:39 #26004 by jlviloria
here are testing:

7000mm/min
450mm distance.

P = 5
other zero.

any suggestions.

When I move the machine faster (8000mm/min), I get the drive alarm.

Note: the scale error is 100m/div

thanks
Attachments:
Last edit: 30 Oct 2012 01:39 by jlviloria.
The following user(s) said Thank You: PCW

Please Log in or Create an account to join the conversation.

More
30 Oct 2012 02:30 #26008 by PCW
Replied by PCW on topic some good advice (pid)
As mentioned before, the next step is to tune FF1

You notice the ferror follows the velocity, this means not enough FF1
You should be able to keep adding FF1 until the error is nearly flat

(with too much FF1, the error will go in the opposite direction as the velocity)

However, You may have drive problems/ or at least require drive tuning

if you get errors going faster and if lowering the P term does not make these go away, you may need to tune the drive itself (and I see some oscillation and the end of the velocity ramp-up which may in fact be a drive tuning issue).
The following user(s) said Thank You: jlviloria

Please Log in or Create an account to join the conversation.

More
30 Oct 2012 02:58 #26011 by jlviloria
Replied by jlviloria on topic some good advice (pid)
Thanks Peter for your attention

Look at this new image


this is more or less what it should be?

one silly question, of how serious the error in this case?


thanks
Attachments:

Please Log in or Create an account to join the conversation.

More
30 Oct 2012 04:06 #26018 by PCW
Replied by PCW on topic some good advice (pid)
can you do the same plot at P = 1?

also you can see the you need a little bit more FF1

(since ignoring the oscillation, the following error is in the same direction as the velocity - not flat)
The following user(s) said Thank You: jlviloria

Please Log in or Create an account to join the conversation.

More
30 Oct 2012 04:49 #26022 by jlviloria
Replied by jlviloria on topic some good advice (pid)
peter,

just change the P to 1.

I have lost again FF1.

drive unit think this right or missing something?


0 to 200mm
7000mm/min


thanks
Attachments:

Please Log in or Create an account to join the conversation.

More
30 Oct 2012 04:56 - 30 Oct 2012 04:57 #26023 by PCW
Replied by PCW on topic some good advice (pid)
You have not lost FF1, it just shows up better when P is lower

The lower the P the more the the FF1 error will show up

so now adjust FF1 for flattest ferror trace
(ignore the "spikey" errors for now)

Note that the changes in FF1 should be very small at this point say .01 at a time
Last edit: 30 Oct 2012 04:57 by PCW. Reason: ommision

Please Log in or Create an account to join the conversation.

More
30 Oct 2012 05:23 #26025 by jlviloria
Replied by jlviloria on topic some good advice (pid)
Peter I think now I understand.

this is data.

300mm distance
7000 mm / min
Attachments:

Please Log in or Create an account to join the conversation.

More
30 Oct 2012 05:42 #26026 by PCW
Replied by PCW on topic some good advice (pid)
Good so now FF1 is done, next: P

P of 5 seemed to be on the edge of oscillation so maybe try 3 or 4

Please Log in or Create an account to join the conversation.

More
30 Oct 2012 05:53 - 30 Oct 2012 06:08 #26028 by jlviloria
Replied by jlviloria on topic some good advice (pid)
peter,

these are the results.

the same values​​:

300mm distance
7000mm/min

FF1 goes away, I have to put in 50m/div to read.

that's okay?
Attachments:
Last edit: 30 Oct 2012 06:08 by jlviloria.

Please Log in or Create an account to join the conversation.

More
30 Oct 2012 06:00 #26029 by PCW
Replied by PCW on topic some good advice (pid)
No, something is wrong if FF1 is not independent of P

Please Log in or Create an account to join the conversation.

Time to create page: 0.168 seconds
Powered by Kunena Forum