CAD CAM EDM DRO - Yahoo Group Archive

Re: [CAD_CAM_EDM_DRO] Re: Position counter stop updating....Still there....

Posted by Jon Elson
on 2002-09-14 21:47:47 UTC
Babar wrote:

> although the stg2diag shows big errornous values
> following is the respone of stg2diag utility:
>
> [root@localhost bin]# stg2diag
> Servo To Go Board IO address = 0x200
> +1.000 +1.000 -2.000
> +1.000 +1.000 -65538.000
> +1.000 +1.000 -2.000
> +1.000 +1.000 -65538.000
> +1.000 +1.000 -2.000
> +65537.000 +65537.000 -65538.000
> +1.000 +1.000 -2.000
> +65537.000 +65537.000 -65538.000
> +1.000 +1.000 -2.000
> +65537.000 +65537.000 -258.000

Bingo! This is the same horrible behavior seen with the STG-I
card! This is not encoder noise, this is noise on the digital position
reading coming OUT of the 7166 encoder chips. NIST put in a filtering
routine to throw away any samples that were too far away from the last
sample. but, notice, these jumping values are almost always jumping ONE BIT
in the middle-most-significant byte! The first bit of that middle byte is changing
from sample to sample, causing a jump of 65536 counts in the total position
value. Since the STG-II is a significant rework of the STG card, I suspect this
is an inherent defect in the 7166 chip, at least in the mode that STG and EMC
use it.

Are these lines sequential samples recorded to memory, or does the computer only
print out a position reading whenever it detects a change from the previous one?
In other words, do these wildly jumping reading pour out of the computer, or do
they come out every now and then?

I noteced the problem was most severe in the STG-I when the encoder position moved
acrosss the boundary from 0 to -1, ie. when all 24 bits changed value at once. This
could be expected to cause noise in the system.

I don't know what to tell you about this, but from previous info you've supplied, it
is a problem of noise getting into the STG card, and upsetting its logic. If you have those
cable shields connected to terminals on your STG breakout board, try grounding them to
the computer's CASE, instead. You don't want to force interference currents through the
board's logic, or through the logic's ground traces.

But, this info you provide here makes it look very clear it is NOT, specifically, noisy
encoder signals causing false counts in the encoder counters.

Jon

Discussion Thread

lti_cnc 2002-08-28 06:50:42 UTC Position counter stop updating.... Jon Elson 2002-08-28 10:09:47 UTC Re: [CAD_CAM_EDM_DRO] Position counter stop updating.... riet91 2002-08-29 21:30:22 UTC Re: Position counter stop updating.... Jon Elson 2002-08-30 10:54:54 UTC Re: [CAD_CAM_EDM_DRO] Re: Position counter stop updating.... Babar 2002-09-02 04:28:15 UTC Re: Position counter stop updating.... Jon Elson 2002-09-02 15:11:56 UTC Re: [CAD_CAM_EDM_DRO] Re: Position counter stop updating.... Babar 2002-09-04 08:39:00 UTC Re: [CAD_CAM_EDM_DRO] Re: Position counter stop updating.... Country Bubba 2002-09-04 13:32:20 UTC Re: [CAD_CAM_EDM_DRO] Re: Position counter stop updating.... Babar 2002-09-13 04:21:42 UTC Re: [CAD_CAM_EDM_DRO] Re: Position counter stop updating....Still there.... Les Watts 2002-09-13 07:17:04 UTC Re: [CAD_CAM_EDM_DRO] Re: Position counter stop updating....Still there.... Jon Elson 2002-09-13 16:40:38 UTC Re: [CAD_CAM_EDM_DRO] Re: Position counter stop updating....Still there.... Babar 2002-09-14 05:05:59 UTC Re: [CAD_CAM_EDM_DRO] Re: Position counter stop updating....Still there.... Les Watts 2002-09-14 16:17:30 UTC Re: [CAD_CAM_EDM_DRO] Re: Position counter stop updating....Still there.... Jon Elson 2002-09-14 21:47:47 UTC Re: [CAD_CAM_EDM_DRO] Re: Position counter stop updating....Still there.... Jon Elson 2002-09-14 22:14:38 UTC Re: [CAD_CAM_EDM_DRO] Re: Position counter stop updating....Still there.... Jon Elson 2002-09-17 10:18:34 UTC Re: [CAD_CAM_EDM_DRO] Re: Position counter stop updating....Still there.... Babar 2002-09-19 02:24:52 UTC Re: [CAD_CAM_EDM_DRO] Re: Position counter stop updating....Still there....