Velocity Filter Settings in NI-MotionHardware: Motion Control
Problem: I am using the NI-Motion driver, and I would like to filter the velocity from my encoder feedback. What do the velocity filter settings mean, and how can they be set? Solution: The velocity filter settings determine how often velocity is computed based on encoder feedback from a motion system. Velocity filtering is used to reduce error caused by noise, jittery systems, and feedback quantization. The velocity filter settings consist of two parameters: Filter Time and Filter Distance. The values of these parameters allow NI-Motion to compute velocity in one of two ways: by averaging the number of encoder counts within a specific time window, or by averaging the time expired within a specific number of encoder counts. For example, if the default settings of 10 ms Filter Time and 100 counts Filter Distance are used, then one of the two following cases would occur:
The velocity filter settings can be specified in Measurement & Automation Explorer (MAX), or they can be set programmatically in LabVIEW. Velocity Filter Settings in MAX: The velocity filter settings can be specified for a given axis of an NI-Motion controller on the Trajectory Settings Page. ![]() Velocity Filter Settings in LabVIEW: The velocity filter settings can be specified with Load Velocity Filter Parameter.flx in LabVIEW. It is found on the functions palette by going to Vision and Motion» NI-Motion»Axis and Resource Configuration. ![]() Related Links: KnowledgeBase 466HEDS4: Configure and Test a Stepper Motorz Attachments:
Report Date: 11/29/2006 Last Updated: 04/24/2009 Document ID: 43SEFNMS |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||


