Legacy Forum: Preserving Nearly 20 Years of Community History - A Time Capsule of Discussions, Memories, and Shared Experiences.

Feedback jitter

Bioloid robot kit from Korean company Robotis; CM5 controller block, AX12 servos..
3 postsPage 1 of 1
3 postsPage 1 of 1

Feedback jitter

Post by nknotts » Sun Jun 03, 2007 5:41 pm

Post by nknotts
Sun Jun 03, 2007 5:41 pm

Hi,
I'm getting some jitter in my feedback signal from the AX-12. I know this is to be expected from any electrical sensor but the problem is the readings will sometimes jump beyond the acceptable range of output values.
I am commanding the wheel turn speed in continuous rotation to roughly 500 counts. As expected, the average feedback value is close to 500 counts. However occasionally, the value jumps close to 3900 counts, a number I wouldn't expect to see (I thought the maximum was 2047). 3900 maps to -828 if using the first 10 bits as the magnitude and the 11th bit as the sign. The manual says bit 12-16 should always be zero but clearly that is not the case here.
Is this a known problem or am I experiencing something strange and unheard of?

Thanks,
Nate
Hi,
I'm getting some jitter in my feedback signal from the AX-12. I know this is to be expected from any electrical sensor but the problem is the readings will sometimes jump beyond the acceptable range of output values.
I am commanding the wheel turn speed in continuous rotation to roughly 500 counts. As expected, the average feedback value is close to 500 counts. However occasionally, the value jumps close to 3900 counts, a number I wouldn't expect to see (I thought the maximum was 2047). 3900 maps to -828 if using the first 10 bits as the magnitude and the 11th bit as the sign. The manual says bit 12-16 should always be zero but clearly that is not the case here.
Is this a known problem or am I experiencing something strange and unheard of?

Thanks,
Nate
nknotts
Newbie
Newbie
Posts: 3
Joined: Sun Jun 03, 2007 6:47 am

Post by JonHylands » Sun Jun 03, 2007 7:49 pm

Post by JonHylands
Sun Jun 03, 2007 7:49 pm

I don't believe you can reliably use the encoder counts in the 60 degree "dead" zone. I've taken apart the AX-12, and it uses what looks like a fairly standard potentiometer, which means there is most likely an actual dead zone where it doesn't count. That is most likely why it is limited to 300 degree rotation while in servo mode.

Image

- Jon
I don't believe you can reliably use the encoder counts in the 60 degree "dead" zone. I've taken apart the AX-12, and it uses what looks like a fairly standard potentiometer, which means there is most likely an actual dead zone where it doesn't count. That is most likely why it is limited to 300 degree rotation while in servo mode.

Image

- Jon
JonHylands
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 512
Joined: Thu Nov 09, 2006 1:00 am
Location: Ontario, Canada

Post by limor » Mon Jun 04, 2007 2:59 pm

Post by limor
Mon Jun 04, 2007 2:59 pm

Dead zone is one issue. Another is speed reading. I assume you are referring to jitter in the speed feedback value. this value is calculated in software on the servo board and it doesnt seem that they use a kalman estimator or something to smooth out the noise. it also seems that the speed value is updated around 7 times/sec. You are better off reading the position value a few hundred times/sec and calculating the speed yourself. The position value can be read at 400 times/sec.
Dead zone is one issue. Another is speed reading. I assume you are referring to jitter in the speed feedback value. this value is calculated in software on the servo board and it doesnt seem that they use a kalman estimator or something to smooth out the noise. it also seems that the speed value is updated around 7 times/sec. You are better off reading the position value a few hundred times/sec and calculating the speed yourself. The position value can be read at 400 times/sec.
limor
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 1845
Joined: Mon Oct 11, 2004 1:00 am
Location: London, UK


3 postsPage 1 of 1
3 postsPage 1 of 1