Re: [CAD_CAM_EDM_DRO] Re: Chinese to Quadrature conversion
Posted by
Stephen Wille Padnos
on 2009-07-28 19:10:32 UTC
Peter Mack wrote:
As far as I know, the output from the chinese scales is in a serial data
format, and it only gets updated a few times a second (maybe between 10
and 100 times). Each update contains the new position, which could be
many "steps" away from the previous position. So what the
microcontroller sees is position A, then A+delta. It then has to output
enough quadrature pulses to make the DRO display change by "delta". So
a question arises - how fast do you output those pulses?
You would need to have settings for input scaling (how big is a unit
from the sensor scale?), output scaling (how big is one encoder tick?),
and how fast the DRO can accept quadrature state changes.
It's doable for a specific scale/DRO combination, but I imagine a
product to do it would be more complex, since it would need to handle a
range of settings. (and of course I haven't even mentioned the math to
convert between units - it's not too hard, but it's not trivial in a
microcontroller either). And then you would have people who think they
could use this product for servo feedback (they can't). :)
- Steve
>Thanks David,I think it might be kind of not-so-simple.
>
>Unfortunately Mitutoyo use their own output which is unlike the common chinese output.
>
>Still looking. I know the process of reading and processing the output of the scales has been well and truly sorted out by many people, it's just the step of converting the numbers out of the Chinese device into quadrature output pulses that needs doing.
>
>To my limited knowledge of electronics and microprocessors this appears a pretty simple extra step. It surprises me it's so hard to find a previous example.
>
>
As far as I know, the output from the chinese scales is in a serial data
format, and it only gets updated a few times a second (maybe between 10
and 100 times). Each update contains the new position, which could be
many "steps" away from the previous position. So what the
microcontroller sees is position A, then A+delta. It then has to output
enough quadrature pulses to make the DRO display change by "delta". So
a question arises - how fast do you output those pulses?
You would need to have settings for input scaling (how big is a unit
from the sensor scale?), output scaling (how big is one encoder tick?),
and how fast the DRO can accept quadrature state changes.
It's doable for a specific scale/DRO combination, but I imagine a
product to do it would be more complex, since it would need to handle a
range of settings. (and of course I haven't even mentioned the math to
convert between units - it's not too hard, but it's not trivial in a
microcontroller either). And then you would have people who think they
could use this product for servo feedback (they can't). :)
- Steve
Discussion Thread
Peter Mack
2009-07-27 22:03:03 UTC
Chinese to Quadrature conversion
dgoadby
2009-07-28 05:23:25 UTC
Re: Chinese to Quadrature conversion
dgoadby
2009-07-28 05:24:39 UTC
Re: Chinese to Quadrature conversion
cafeagle
2009-07-28 10:54:58 UTC
Re: Chinese to Quadrature conversion
Roland Jollivet
2009-07-28 17:33:34 UTC
Re: [CAD_CAM_EDM_DRO] Re: Chinese to Quadrature conversion
Peter Mack
2009-07-28 18:43:40 UTC
Re: Chinese to Quadrature conversion
Peter Mack
2009-07-28 18:54:16 UTC
Re: Chinese to Quadrature conversion
Stephen Wille Padnos
2009-07-28 19:10:32 UTC
Re: [CAD_CAM_EDM_DRO] Re: Chinese to Quadrature conversion
Peter Mack
2009-07-29 05:24:46 UTC
Re: Chinese to Quadrature conversion
dgoadby
2009-07-29 05:38:47 UTC
Re: Chinese to Quadrature conversion
Wayne Patterson
2009-07-29 12:59:06 UTC
Re: [CAD_CAM_EDM_DRO] Chinese to Quadrature conversion
Alfredo Sola
2009-07-31 15:38:59 UTC
Re: [CAD_CAM_EDM_DRO] Re: Chinese to Quadrature conversion
Peter Mack
2009-08-07 05:14:09 UTC
Re: Chinese to Quadrature conversion
Geoff
2009-08-09 01:29:02 UTC
Re: Chinese to Quadrature conversion