13

I have a Dobsonian telescope.

It is using Altazimuth mount.

Basic idea of using it is to target the object by moving telescope vertical axis perpendicular to the ground, and an elevation axis that is parallel to the ground.

I have installed two step motors to automate the movement along both vertical and elevation axis.

I would like to find out how can I cancel out earth rotation speed by simultaneously moving both vertical axis and elevation axis motors.

Idea behind it is to point telescope at the object and press the button. Then the step motors driver software would follow the object as the earth rotate.

I will quote few lines from The Basic Astronomical Telescope Mounting Designs to help me explain what I am trying to achieve:

[Using altazimuth telescope...:]

If you happen to be observing from the North or South Pole, the vertical axis would be aligned with the Earth's spin axis. The nice thing about that would be that when you found an object to observe, rotation in only the vertical axis would be needed to keep the object in the field of view. Rotating at the Earth's spin rate in the opposite direction as the Earth's rotation would keep and object motionless in the eyepiece.

However, for any other latitude on the planet, the vertical axis is not aligned with the Earth's spin axis. This means that to keep an object in the field of view requires motion in both axes. The motion rates will change over time as the elevation angle changes. Tracking objects near the horizon requires mostly changes in elevation, and tracking objects more straight up requires mostly changes in azimuth.

I need to find mathematical algorithm that will help me solve the problem described in the second paragraph.

Hope this is clear.

Kocur4d
  • 233
  • 1
  • 6
  • Nowadays there's usually an Arduino involved somewhere: https://www.google.com/search?q=Dobsonian+%22star+tracking%22+arduino&ie=utf-8&oe=utf-8 Without a latitude wedge, you'll get frame rotation over time. https://www.google.com/search?q=tracking+azimuth+wedge&ie=utf-8&oe=utf-8#q=tracking+wedge+latitude – Wayfaring Stranger Dec 29 '14 at 14:34
  • So you're trying to create your own clock drive? http://en.wikipedia.org/wiki/Clock_drive –  Dec 29 '14 at 21:55
  • @barrycarter clock drive is used with equatorial mounts. My telescope is altazimuth mount. I need to find the algorithm to drive both motors using altazimuth mount. – Kocur4d Dec 30 '14 at 00:36
  • @Wayfaring Stranger I plan to use Arduino but at this stage I would like to stay away from net ready solutions and see if it is possible to build it from scratch. – Kocur4d Dec 30 '14 at 00:41
  • 1
    @Kocur4d Understood. When I need to make something a little complicated, I usually have a look at the "Make" sites and the like, figure out what's wrong with those designs for my purposes and design new from a position of knowing what others have tried. Someone is likely to have a great bearing design, but poor stepper/servo control or vice versa. If you look at a enough designs you can get a feel for what's best for you. – Wayfaring Stranger Dec 30 '14 at 01:51
  • There are well-known formulas that convert right ascension and declination to altitude and azimuth as a function of time. Are these the formulas you seek or am I still missing something? –  Dec 30 '14 at 12:36
  • @barrycarter yes it sounds like a move in the right direction. I will update the question in a minute to make it more accurate. – Kocur4d Dec 30 '14 at 14:09
  • I am interested in this kind of mounting too. I just took a look at this problem and find out that for photography you will need a third axis, as the field rotates when using two axis. In the two axis mounting, how are you progressing? I will start my project and I´m considering any hardware available, with focus on arduino and raspberry. I´m not sure if Arduino alone could make such calculations. –  Feb 06 '15 at 14:34

2 Answers2

7

Given ra, dec, lat, lon in radians, and d in number of fractional days since '1970-01-01 00:00:00 UTC', the azimuth of a star is:

$-\cot ^{-1}(\tan (\text{dec}) \cos (\text{lat}) \sec (\text{d1}+\text{lon}-\text{ra})+\sin (\text{lat}) \tan (\text{d1}+\text{lon}-\text{ra}))$

and the elevation is:

$\tan ^{-1}\left(\frac{\sin (\text{dec}) \sin (\text{lat})-\cos (\text{dec}) \cos (\text{lat}) \sin (\text{d1}+\text{lon}-\text{ra})}{\sqrt{(\cos (\text{dec}) \sin (\text{lat}) \sin (\text{d1}+\text{lon}-\text{ra})+\sin (\text{dec}) \cos (\text{lat}))^2+\cos ^2(\text{dec}) \cos ^2(\text{d1}+\text{lon}-\text{ra})}}\right)$

where d1 is: $\frac{\pi (401095163740318 d+11366224765515)}{200000000000000}$

(you will need to resolve the ambiguity in the arc(co)tangent, but this isn't difficult).

These formulas aren't as daunting as they seem, since, for you, lat, lon, ra, and dec will be fixed, and the only thing that changes is d.

Hope this helps, but I'm worried that it just demonstrates how complicated these formulas are.

  • 1
    "401095163740318" and its like will push 64 bit math pretty hard. If Arduino, it might be best to look for a library already optimized for this particular calc. – Wayfaring Stranger Dec 31 '14 at 14:48
  • Good point. I perhaps went the route of excessive (and probably unwarranted) precision. Most people build this formula up in steps, but, ultimately, this is what you'll end up calculating. –  Dec 31 '14 at 15:26
  • It is complicated. I can't confirm it atm. It will take some time before I can understand it... – Kocur4d Jan 05 '15 at 00:48
0

Note that how fast - and which direction - you need to move also depends on where you're pointing; it's not a one rate fits everything solution.

For example, if you're pointing at the celestial pole, you don't need to move the scope at all. While if you're pointing at the celestial equator, that needs the fastest tracking rate. What you end up doing is tracking along a circle that represents the declination.

Which means that in order to work out what the declination is, you're going to need angle encoders on both your alt and az axes.

JerryTheC
  • 654
  • 3
  • 3