08-14-2014 12:50 AM
Hi Friends, I am working on threhold measurement module.
Find the attached plot
Blue - Servo current signal, Black - Position Command and Red - Position Feedback.
I am trying to find the how much current consumed to reverse the direction, I highlighted my region of intrest in the plot maually and I need the sugession how to automate this threshold measurement. Your ideas are welcome.
08-14-2014 01:21 AM
What are the 'rules' you applied while positioning the markers?
next step is to put them into an LV diagram
for example use search minimum of position t_p_min and use the value corr(t_p_min) as a threshold (positive slope) at corr(t) ....
filtering the data can help.... or fitting ... and most important: understand the physics behind the process!
if you have your rules and fail to code them: Post your try and a dataset.
08-14-2014 02:06 AM
You can see a curve in the Servo current during the direction change, thats my region of intrest. I attached data files for more details.
08-14-2014 07:01 AM
@Baji wrote:
You can see a curve in the Servo current during the direction change, thats my region of intrest. I attached data files for more details.
Yes, we can see that. Now you need to Quantify those rules. Personally, I would go from the minumum of the position command to the minimum of the actual position. You can then do an integration of the current to get your energy usage.
08-18-2014 06:25 AM
I will try the same and give you update soon.