Go to Post I suggest that FIRST should include a "big red button" in the KOP next year to make everyone happy. :p - Jay H 237 [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 17-04-2016, 13:08
Ryan-Greenblatt Ryan-Greenblatt is offline
A foolish programmer
FRC #0900 (Zebracorns)
Team Role: Programmer
 
Join Date: Oct 2015
Rookie Year: 2015
Location: NC
Posts: 8
Ryan-Greenblatt has a spectacular aura aboutRyan-Greenblatt has a spectacular aura about
Issues with Motion Profile Generator

One of our programming teams post-season goals (yes post-season ) is to start using motion profiling. I wrote a motion profile generator in labview which utilizes the "Copioli" method (Motion Profile Generater-Demo.vi). I directly copied the math from the excel spread sheet released by CTR electronics (Motion Profile Generator.xlsx) and it appeared to work fine. However, in some specific situations the profile generator either fails to get to the location as fast as it could (acceleration maxes out at a value below the specified max acceleration) or it doesn't get to the location at all. I thought this was a problem with how I copied the math but I put the same inputs in the spread sheet and got the same incorrect results. I also checked my math using a different spread sheet which uses the same method (Motion Profile - Copioli Method-2.xlsx) and I got the same results. Images of the profile failing to get to the target are attached. Please note I changed the inputs so instead of inputting T1, T2 you can input max acceleration and max jerk into the vi.
Click image for larger version

Name:	Motion Profile VI not getting to target.PNG
Views:	74
Size:	33.9 KB
ID:	20626
Click image for larger version

Name:	Motion profile excel doc not getting to target.PNG
Views:	55
Size:	23.7 KB
ID:	20628
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 23:07.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi