- Posts: 19311
- Thank you received: 4655
thewho wrote: Tried I = 0 & ff0 = 0 and then the pid value stays the same as do the rpm's
Don't know if you saw in the screenshots that the spindle turns about 6times the requested speed. S60 = 380rpm
EDIT: Also, "orient.0.angle" & orient.0.position" is always 0. I would thing one of them should be actual angle of the spindle?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
The PID components both believe that the system is at zero position and zero velocity, so there is no surprise that they are not working.thewho wrote: Output scale is the same as before all closed loop testing, and then it was pretty close to requested.
Well, yes, but you need to try to understand what you are pasting, especially when combining two different HAL files.I've not written any lines in that hal file myself, at best I copy/paste, edit or remove the lines you tell me to
Whichever makes the most sense to you, it is your HAL file and you can call signals (the first thing after "net" anything you like. kara-nopeus-palaute would be fine too.So it should be "spindle-vel" and not "spindle-vel-fb" ?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
It doesn't matter. Much like it does matter where the physical connection in an electrical circuit are made as long as they join to the correct net.thewho wrote: But in my file "pid.0.feedback is first, but that might not matter?
Also,
M3 S500 = 5V
M3 S1000 = 10V
But in my previous config that was pretty much spot on, S500 = 1V, S5000 = 10V.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.