- Posts: 19311
- Thank you received: 4655
Feedback loop following error
4 years 10 months ago #228275
by andypugh
Replied by andypugh on topic Feedback loop following error
I was asking about the connections inside HAL.The position feedback of the motor is connected directly to the drive, and the position feedback from the linear scales connects directly to the 7i85 MESA board
Please Log in or Create an account to join the conversation.
4 years 10 months ago #228278
by bobi4ko23
Replied by bobi4ko23 on topic Feedback loop following error
Here are my are HAL and INI files. I set the margins of the following error to way too big for the jogging i do. I move it 5 mm and i still get error, if the min_error is 10mm it shouldn't trigger right?
Any glaring mistakes in the files?
Any glaring mistakes in the files?
Please Log in or Create an account to join the conversation.
4 years 10 months ago #228284
by bobi4ko23
Replied by bobi4ko23 on topic Feedback loop following error
Is it also possible that the backlash in the system does something?
Please Log in or Create an account to join the conversation.
4 years 10 months ago #228286
by PCW
Replied by PCW on topic Feedback loop following error
For initial tuning, I would set the following error limits very large
(both at 25 mm or so) so they never trip unless you get a runaway
and then set all pid maxerrors to 0
setp pid.x.maxerror 0
setp pid.y.maxerror 0
setp pid.z.maxerror 0
(both at 25 mm or so) so they never trip unless you get a runaway
and then set all pid maxerrors to 0
setp pid.x.maxerror 0
setp pid.y.maxerror 0
setp pid.z.maxerror 0
Please Log in or Create an account to join the conversation.
4 years 10 months ago #228298
by bobi4ko23
Replied by bobi4ko23 on topic Feedback loop following error
What if i just comment them? Would that work as well? I did that I now realised I uploaded an old version.
Please Log in or Create an account to join the conversation.
4 years 10 months ago #228308
by bobi4ko23
Replied by bobi4ko23 on topic Feedback loop following error
Okay, so after some work on the machine turns out that I have a following error because the encoder doesn't tell the machine to stop. The stepgen position is relatively okay (+/- 0.2 mm) (so the stepscale is fine), and the encoder count position is also okay +/- 1 count (0.005 mm). So why doesn't the encoder tell the axis to stop? I set following error 25 mm and if i move it 1mm it stops on 24mm (following error). What parameters do i check to see if the motor is taking commands from the encoder feedback? I didn't provide a f-error halscope because i see no point in that at the moment because the PID parameters have 0 effect on the movement (i tried to mess with them a little but to no effect). Please help!
Please Log in or Create an account to join the conversation.
Time to create page: 0.140 seconds