|
Post by hexpod on Jun 8, 2016 11:13:39 GMT
What sensors do you use? Are they 180 degrees range? Sounds like you are using 360 degrees sensors and it translates wrong the position. Try setting AREF potentiometer on the amc1280usb to middle position to have the range reduced to 180 degrees. Thanks Thanos @thanos,
In my model with "mini servos" the servo calibration is functioning. you can scale the lever course as you want.
why is not working with ac motors is for me a mystery. we need a sensor scalar NOT a limiter, which is working independently in the positive and negative range
@ga-Dawg,
could you please double check that the servo calibration values are present and reduced as in my last post.
Thanks
|
|
|
Post by tronicgr on Jun 8, 2016 12:44:29 GMT
The AREF potentiometer (trimmer) on board amc1280usb (near USB connector) will SCALE down the range of a potentiometer. It's not the same as the feedback limit parameter.
It will scale the voltage reading from 5v top to 2.5v I'd you rotate it to middle position!
Thanks Thanos
|
|
|
Post by hexpod on Jun 8, 2016 12:50:06 GMT
The AREF potentiometer (trimmer) on board amc1280usb (near USB connector) will SCALE down the range of a potentiometer. It's not the same as the feedback limit parameter. It will scale the voltage reading from 5v top to 2.5v I'd you rotate it to middle position! Thanks Thanos I understand but this solution is not optimal.
Any advise how to scale upper and lower range independently in order to fit perfectly the 3d model??
I was hoping that could be achieved by outputting the servo calibration value to the .ini
I don't understand why reducing the upper and/or lower range in the calibration section in the .ini file is not doing the job
Could you please test why it is working with miniservos and not with AC?
When I reduce by a half the calibration values, my mini platform is reducing the angular response also by a half. The scaling seems to work.
cheers
|
|
|
Post by GA-Dawg on Jun 8, 2016 13:53:13 GMT
@thanos..... Hi Thanos, I they are 360. I assumed that it would not be a problem as you referred to them in this post motionsim.freeforums.net/post/2308I will look for the AREF potentiometer and try and adjust. Will report back later today. Cheers GA Dawg EDIT: I have a extra one if anyone needs to borrow to test with.
|
|
|
Post by tronicgr on Jun 8, 2016 17:48:42 GMT
@thanos..... Hi Thanos, I they are 360. I assumed that it would not be a problem as you referred to them in this post motionsim.freeforums.net/post/2308I will look for the AREF potentiometer and try and adjust. Will report back later today. Cheers GA Dawg EDIT: I have a extra one if anyone needs to borrow to test with. Hmm, in the post I gave only the series model, not specific 360 I think. They also have 90 degrees and 180 degrees ones. Sorry if I caused any confusion. Thanks Thanos
|
|
|
Post by GA-Dawg on Jun 8, 2016 18:02:41 GMT
Ugh....I will replace with 180 degrees ones....
|
|
|
Post by paulg100 on Jun 8, 2016 18:10:41 GMT
I think I racked up about £400 worth of waste materials and parts over the course of my build, so your still doing much better than me GA
|
|
|
Post by hexpod on Jun 8, 2016 21:19:45 GMT
Ugh....I will replace with 180 degrees ones.... Before you change, could you answer please? @ga-Dawg, could you please double check that the servo calibration values are present and reduced as in my last post.
|
|
|
Post by GA-Dawg on Jun 8, 2016 23:08:52 GMT
hexpod ....First let me again thank you for all your effort and patience. I will be happy to run the test but it will have to be tomorrow. paulg100....I figured I would make a mistake sooner then latter. Cheers GA-Dawg
|
|
|
Post by GA-Dawg on Jun 8, 2016 23:12:40 GMT
hexpod Forgot that I turn on remote access today. The .ini file had the following servo calibration in it when I ran the test [Servo_Calibration] Servo_positive_range_16383-32737=20586.000000 Servo_negative_range_25-16383=5014.000000 [UseUpperServoLimit] UseUpperServoLimit=0
|
|
|
Post by hexpod on Jun 9, 2016 14:50:09 GMT
vicpopo - to be sure the calibration is NOT working try this:[/p]
Servo_positive_range_16383-32737=18383.000000 Servo_negative_range_25-16383=14383.000000
thanks
|
|
|
Post by vicpopo on Jun 9, 2016 16:45:27 GMT
Hi heXpod ,
Could you also make me a pm in french to be sure that I will test what you ask for.
In fact as the previous plugin release works well I didn't test your last release .But it doesn't matter I can test what you want .
|
|
|
Post by GA-Dawg on Jun 11, 2016 19:14:32 GMT
Hi heXpod,
I tested 3.2. Here is a video i made of the test.
Changing the servo calibration DID limit the movement but it still doesn't match the 3D model.
Cheers, GA Dawg
|
|
|
Post by GA-Dawg on Jun 11, 2016 22:49:38 GMT
The more I think about it, I am not sure there is much value in programing a 360 degree sensor in the motion software. I have been trying to configure my PID and having the position "double" is why I think I have been having problems ( tronicgr does that sound right to you). I have gotten the new sensors and will hold off installing them if you want to try something else. Truth is I have the top platform off right now as I am constructing the seating position. Cheers, GA Dawg
|
|
|
Post by hexpod on Jun 12, 2016 0:35:14 GMT
Good news.
Is it possible to fine tweak the "servo calibration" values in a way that at least the max upper and max lower 3D angle position corresponds the real lever position?
Eventually I could also output the "servo calibration" center position if it's needed for extra calibration.
I might be wrong but I still believe that 360 is the best way to go if you want to fit perfectly the geometry and take benefit from the lever course beyond the vertical position.
I believe also that 360 could give you a better combined movement capability. Of course if your joints will allow those extra displacements.
Maybe the precise movement could be also archived with the 180 ones by offsetting the sensor position, but than again, you will need to correct the servo center position in order to match the software heave offset
It's a very interesting topic.
Cheers.
|
|