View Single Post
Old February 9th, 2018, 01:17 PM   #12
Peter Nachtwey
Member
United States

Peter Nachtwey is offline
 
Peter Nachtwey's Avatar
 
Join Date: Apr 2002
Location: Vancouver, WA, US
Posts: 6,694
Quote:
Originally Posted by Kevbo View Post
In general, you need to convert the differential equation into an approximately equivalent difference equation.
Integrating the differential equations using Runge-Kutta is better because the differential equation can be non-linear and it is easier to model disturbances.

Quote:
Beware that higher order equations may exhibit oscillatory response (limit cycling) when converted to discreet time form when the the continuous time form was stable. For this reason it is better to design the system with discreet time/difference equations from the outset.
I never had that problem because I know where to place the closed loop poles and the sample times on a motion controller are fast and deterministic.
__________________
"Living is easy with eyes closed, misunderstanding all you see...." Strawberry Fields Forever, John Lennon
  Reply With Quote