Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

7
  • 2
    $\begingroup$ What is your processing clock rate, and your input data rate? $\endgroup$ Commented Feb 11, 2016 at 19:34
  • $\begingroup$ What is the accuracy that you require? I assume also you're using fixed-point computation. What bit depth are you using? A polynomial approximation (or LUT) with quadrant adjustment is a common method to implement atan2. Not sure if you can get by without a division, though. $\endgroup$ Commented Feb 11, 2016 at 19:38
  • $\begingroup$ Input clock is 150MHz, input data rate is 150 MSamps/sec. Basically I get a new input every clock cycle. Having latency is fine, but I must produce an output at 150 MSamps/sec as well. $\endgroup$ Commented Feb 11, 2016 at 19:38
  • $\begingroup$ My simulations show I can live with about 1*10^-9. Not sure the absolute minimum fixed point bits, but I've been simulating with a Q10.32 fixed point format $\endgroup$ Commented Feb 11, 2016 at 19:45
  • $\begingroup$ This article explains a fixed-point implementation of atan2. You will still need a division though. $\endgroup$ Commented Feb 11, 2016 at 21:24