On Thu, 08 Sep 2005 00:56:50 -0700, Spider_mce wrote:
> Hi
> Can anybody help me out with the problem below.
> i am supposed to create standard quadrature o/p (2 or 3 oututs, A B and
> RM) from PWM or outputcompare pins of a dsPIC 30F3010 or dsPIC 30f3011
> The preferred frequency could be in the range of 1Mhz or a bit lesser.
> The timing parameters for these outputs will be obtained to 2
> Inputcapture modules in the dsPIC from the outside analogue world. Can
> we create this output at good resolution (around 0.1um resolution) when
> the linear change is around 1m/s? dsPIC is running at 30Mhz Fcy
>
> Many thanks
>
> Sandeep
I am not sure I understand what you are trying to do.
Do you want to
1. simulate quadrature output - generate quadrature A/B output signals?
2. Read
- two quadrature encoders
- linear change 1 m/s
- 1 MHz sample rate
- interpolate changes to 0.1 m/s
- simulate quadrature A/B outputs from the interpolated 0.1 m/s
To figure out how to simulate quadrature outputs, look at and understand
the methods for decoding quadrature encoder decoding in software. There
are software encoder algorithms either in a Microchip application note or
a posting on piclist.
Try using google or your favorite search engine to search on
"software quadrature encoder decoding"
Reply by Sandeep●September 8, 20052005-09-08
Can anybody help me out please!!
Reply by Spider_mce●September 8, 20052005-09-08
Hi
Can anybody help me out with the problem below.
i am supposed to create standard quadrature o/p (2 or 3 oututs, A B and
RM) from PWM or outputcompare pins of a dsPIC 30F3010 or dsPIC 30f3011
The preferred frequency could be in the range of 1Mhz or a bit lesser.
The timing parameters for these outputs will be obtained to 2
Inputcapture modules in the dsPIC from the outside analogue world. Can
we create this output at good resolution (around 0.1um resolution) when
the linear change is around 1m/s? dsPIC is running at 30Mhz Fcy
Many thanks
Sandeep