View Single Post
Old 05-01-2018, 07:48 PM   #3175 (permalink)
wootwootman
EcoModding Lurker
 
Join Date: Mar 2018
Location: Sacramento, CA
Posts: 17
Thanks: 9
Thanked 4 Times in 4 Posts
Hmmm I might be having a problem along the same lines as thingstodo

Quote:
Originally Posted by MPaulHolmes View Post
Could you do:

stream-poscnt 1
data-stream-period 100

then slowly turn the motor shaft by hand to see if you get smoothly changing position. That will show that the encoder is working properly.
I tried this but still only saw 0s. I was able to get my hands on a scope, so I hooked it up to the resolver and then encoder outputs, captures of which I've attached. From what I can tell, the encoder output seems to be fine (90deg shift between QEA-QEB, 0-5V, Index pulse every 1/4 turn, etc).



However, this was done without current sensors or throttle connected, so there were faults triggered. Are these faults preventing the "poscnt" variable from being updated/streamed properly? Or can there be another issue at play here?
Attached Thumbnails
Click image for larger version

Name:	Enc_CCW_I_QEA_QEB.png
Views:	41
Size:	24.6 KB
ID:	24065   Click image for larger version

Name:	Enc_CW_I_QEA_QEB.png
Views:	27
Size:	24.5 KB
ID:	24066   Click image for larger version

Name:	Res_1_EX_SIN_COS.png
Views:	29
Size:	76.2 KB
ID:	24067   Click image for larger version

Name:	Res_2_EX_SIN_COS.png
Views:	31
Size:	81.1 KB
ID:	24068   Click image for larger version

Name:	Res_3_EX_SIN_COS.png
Views:	26
Size:	80.9 KB
ID:	24069  

  Reply With Quote
The Following User Says Thank You to wootwootman For This Useful Post:
MPaulHolmes (05-01-2018)