7i76e and opto ancoder TCST2103

More
6 years 7 months ago #159682 by alkabal
The PID and also the limit input is for now fully bypassed until having good result with encoder i use spindle open loop.

Regarding to the encoder.input-index it is possible to invert ?

Really sorry to ask many things but this spindle is for me a real big problem from 2 years ago :
motor shunt burned due to oxydation
burned 2x kbmg + 2x ebay controler
order many Dac/opto board/
Loose a very huge amount of time
Replace 2x wall system with mesa card


Regarding to the capacitor on the power supply port from 7i83, i think is not enough because some time the spindle stop herself without any action...

Thansk a lot, i'm close to cry

Please Log in to join the conversation.

More
6 years 7 months ago #159683 by alkabal

PCW wrote: One change is that you had a 560 Ohm load before and now have a 2000 Ohm load
This may have affected the quadrature symmetry. You may be able to adjust this by lowering the LED current.

Note that you cannot actually see the quadrature signals accurately in halscope unless
you rotate the spindle very slowly



Well you mean increase the 120 ohm resistor ?
halscope with something like 30 rpm is possible but need to test all mode ? (filter/counter/sample-frequency)
the reverted input is not a problem ? (especially for index ?)

Please Log in to join the conversation.

More
6 years 7 months ago #159684 by PCW
Replied by PCW on topic 7i76e and opto ancoder TCST2103
Yes, you can invert the index, its one of the encoder parameters

It may simply be that running the 7I83 from the KBMG 15V is not practical
Having a "hot"= floating at line voltage analog control is a problematic

It should have worked with an external supply. I suspect your supply was not isolated hence the line power short

Please Log in to join the conversation.

More
6 years 7 months ago #159685 by alkabal
near 30 rpm
quadrature mode
sample-frequency 500000
filter = 1
120 Ohm resistor
no pull down


Attachment not found

Please Log in to join the conversation.

More
6 years 7 months ago #159686 by alkabal
For now i don't found at home a supply than work without cutting the house power !

if you have any link you are welcome lol

Please Log in to join the conversation.

More
6 years 7 months ago #159690 by PCW
Replied by PCW on topic 7i76e and opto ancoder TCST2103
If you look at the right side of the trace it very close to violating quadrature
you may be able to mechanically adjust this or adjust the symmetry with the
LED current, I suspect a quadrature violation is why you have the 0 velocity spikes.

As far as isolated power supplies go almost any transformer based
wall adapter should work, but should be verified with an Ohmmeter
on the megohm range

Please Log in to join the conversation.

More
6 years 7 months ago #159701 by alkabal
Wall adapter isolated found :woohoo:

Found the parameter
setp [HMOT](CARD0).encoder.00.index-invert 1
trying to sets spindle-index-enable 1, turn the spindle = does not reset the index-enable (sensor is ok checked by multimeter)

I have unconnected encoder B
set to counter mode 1
speed near 30rpm
200 ohm resistor for led

Attachment not found



speed near 450 rpm

Attachment not found

Please Log in to join the conversation.

More
6 years 7 months ago #159706 by PCW
Replied by PCW on topic 7i76e and opto ancoder TCST2103
Can you post your hal/ini files? looks like something is really broken there

Please Log in to join the conversation.

More
6 years 7 months ago #159707 by alkabal
attached the config 100% from this test

I not remember if i says here that i use rpi4 4gb with buster with information from gnipsel.com tutorial.


Hmm i think about something : my Kill switch is connected to 5v from encoder gnd plugg sharing the same 5v for encoder (second wire from kill switchconnected to input 0)
Gnd from optocoupler encoder connected to encoder gnd plugg

Please Log in to join the conversation.

More
6 years 7 months ago #159708 by PCW
Replied by PCW on topic 7i76e and opto ancoder TCST2103
Can you look at the encoder velocity pin to eliminate other possible problems
also, if you have a 1 KHz servo thread you should use 1 KHz for Halscope
so you dont miss things

Please Log in to join the conversation.

Time to create page: 0.189 seconds
Powered by Kunena Forum