{"id":21405,"date":"2017-06-28T01:00:44","date_gmt":"2017-06-28T11:00:44","guid":{"rendered":"http:\/\/darkerview.com\/wordpress\/?p=21405"},"modified":"2019-09-15T12:45:47","modified_gmt":"2019-09-15T22:45:47","slug":"old-school-drive-corrector","status":"publish","type":"post","link":"https:\/\/darkerview.com\/wordpress\/?p=21405","title":{"rendered":"Old School Drive Corrector"},"content":{"rendered":"\n<p>Telescope clock drives from the 1980&#8217;s or earlier often used <a href=\"https:\/\/en.wikipedia.org\/wiki\/Synchronous_motor\" target=\"_blank\" rel=\"noopener\">AC synchronous motors<\/a>. These commonly available AC motors are used to power timeclocks, record player turntables, and telescopes, anyplace a motor needed to run at a very accurate speed.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"alignright\"><a href=\"https:\/\/darkerview.com\/wordpress\/?attachment_id=22146\" rel=\"attachment wp-att-22146\"><img decoding=\"async\" loading=\"lazy\" width=\"200\" height=\"200\" src=\"https:\/\/darkerview.com\/wordpress\/wp-content\/uploads\/2017\/06\/CI72-64-17211-DC-200x200.jpg\" alt=\"Sidereal Drive Platform\" class=\"wp-image-22146\" srcset=\"https:\/\/darkerview.com\/wordpress\/wp-content\/uploads\/2017\/06\/CI72-64-17211-DC-200x200.jpg 200w, https:\/\/darkerview.com\/wordpress\/wp-content\/uploads\/2017\/06\/CI72-64-17211-DC-600x600.jpg 600w, https:\/\/darkerview.com\/wordpress\/wp-content\/uploads\/2017\/06\/CI72-64-17211-DC.jpg 900w\" sizes=\"(max-width: 200px) 85vw, 200px\" \/><\/a><figcaption>A Celestron telescope drive configured as a sidereal rate tracking camera platform<\/figcaption><\/figure><\/div>\n\n\n\n<p>The speed of a synchronous motor is set by the frequency of the powerline, in North America and many other places this is 60Hz. As the frequency must be synchronized for every power station on the grid the frequency is quite accurate, a feature exploited by clockmakers and telescope builders. Once found everywhere these motors are less common, but are still around.<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">Drive Correctors<\/h5>\n\n\n\n<p>It was the common use of these motors in telescope drives that led to the invention of the drive corrector, a device that was once a required piece of kit for serious amateur astronomers. Drive correctors like this were needed when operating from a battery at some remote location, generating AC from a 12Vdc car battery.<\/p>\n\n\n\n<p>You also needed a drive corrector for guiding while doing astrophotography. The corrector could speed up or slow down the telescope drive a bit to correct the telescope drive speed and stay on target, something not possible with the fixed 60Hz of the mains supply. Thus the term drive corrector.<\/p>\n\n\n\n<!--more-->\n\n\n\n<div class=\"wp-block-image\"><figure class=\"alignleft\"><a href=\"https:\/\/darkerview.com\/wordpress\/?attachment_id=21406\" rel=\"attachment wp-att-21406\"><img decoding=\"async\" loading=\"lazy\" width=\"200\" height=\"200\" src=\"https:\/\/darkerview.com\/wordpress\/wp-content\/uploads\/2017\/04\/DriveCorrector-200x200.jpg\" alt=\"An typical telescope drive corrector schematic from the 1980's\" class=\"wp-image-21406\"\/><\/a><figcaption>An typical telescope drive corrector schematic from the 1980&#8217;s<\/figcaption><\/figure><\/div>\n\n\n\n<p>Modern telescopes use stepper or servo motors, operating directly from a 12Vdc source, no need for drive correctors. Thus these drive correctors have disappeared along with the designs to build them.<\/p>\n\n\n\n<p>A web search will still turn up a few schematics showing how this was done. Basically a pair of power transistors is used to drive either side of a 12V center tapped transformer. Normally such a transformer would have been used to create +\/- 12V power from a 120Vac line. Here it is used in reverse, to create a 120Vac signal from a 12Vdc source.<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">Yet Another Project<\/h5>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"alignright\"><a href=\"https:\/\/darkerview.com\/wordpress\/?attachment_id=21475\" rel=\"attachment wp-att-21475\"><img decoding=\"async\" loading=\"lazy\" width=\"200\" height=\"200\" src=\"https:\/\/darkerview.com\/wordpress\/wp-content\/uploads\/2017\/04\/CI53-13-17078-DC-200x200.jpg\" alt=\"Celestron Mount Teardown\" class=\"wp-image-21475\"\/><\/a><figcaption>A dismantled Celestron telescope mount awaiting cleanup and re-painting<\/figcaption><\/figure><\/div>\n\n\n\n<p>Why do I need a drive corrector? A 1980&#8217;s era Celestron C8 mount that needed heavy refurbishment. How heavy? Pretty much a complete rebuild as the paint was peeling off, the grease turned to glue, the declination clutch was frozen, and more. This would require a complete strip down, painting and reassembly.<\/p>\n\n\n\n<p>I considered just throwing the mount out, it was that bad. In the other hand I realized I could use this mount as a camera tracking platform, a time lapse setup, or to mount other small telescopes, maybe as a photographic platform for the eclipse later this year. All it needs is some paint and grease&#8230; Right? Maybe a bit more than that.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"alignleft\"><a href=\"https:\/\/darkerview.com\/wordpress\/?attachment_id=21474\" rel=\"attachment wp-att-21474\"><img decoding=\"async\" loading=\"lazy\" width=\"200\" height=\"200\" src=\"https:\/\/darkerview.com\/wordpress\/wp-content\/uploads\/2017\/04\/CI53-14-17078-DC-200x200.jpg\" alt=\"Repainting the Mount\" class=\"wp-image-21474\"\/><\/a><figcaption>Repainting the classic Celestron mount<\/figcaption><\/figure><\/div>\n\n\n\n<p>May as well take it apart and check everything out. Things may look bad, but there was no real damage to anything, the parts were quite sound under that peeling paint.<\/p>\n\n\n\n<p>Better yet, the two synchronous motors are operational. Good, as these motors are long out of production and difficult to obtain.<\/p>\n\n\n\n<p>A few hours to wire brush all of the failing paint off, sanding an cleaning the parts for re-painting. Then a few evenings of spray paint coats to create a pile of very nice looking aluminum castings where there was previously a pile that looked like junk.<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">Building the Drive Corrector<\/h5>\n\n\n\n<p>To make the mount operational in the field I would need a drive corrector. Away from any 60Hz AC power line you need to make the AC to power those synchronous motors.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"alignright\"><a href=\"https:\/\/darkerview.com\/wordpress\/?attachment_id=21780\" rel=\"attachment wp-att-21780\"><img decoding=\"async\" loading=\"lazy\" width=\"200\" height=\"200\" src=\"https:\/\/darkerview.com\/wordpress\/wp-content\/uploads\/2017\/06\/ClassicC8-200x200.jpg\" alt=\"Classic C8 telescope\" class=\"wp-image-21780\"\/><\/a><figcaption>A classic C8 telescope with the same model mount. Image credit: Opoterser CC BY 3.0 on Wikipedia<\/figcaption><\/figure><\/div>\n\n\n\n<p>There was also the small matter of an AC power cord connector that was entirely obsolete and difficult to source. This is the old <a href=\"http:\/\/madrona.ca\/e\/powerConn\/index.html\">PH-163 style<\/a> cord that predates the <a rel=\"noopener\" href=\"https:\/\/en.wikipedia.org\/wiki\/IEC_60320\" target=\"_blank\">now common IEC-320<\/a> cords we use today. I was going to replace the connector anyway, may as well just put a 12V connector in place of the 120V power cord.<\/p>\n\n\n\n<p>A 12V connector? Of course&#8230; Just to make this project a bit more challenging I decided to build the entire setup into the base of the telescope mount, not a separate box. I needed to entirely dismantle the mount to renovate it anyway, it was in horrible shape. Why not build some extra circuitry inside the mount before I put it back together?<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">Technical Challenges<\/h5>\n\n\n\n<p>I found a surprising amount of room inside the cast aluminum base, enough for a circuit board and transformer if I was careful. The transformer would mount to one side, the circuit to the other right beside the connectors.<\/p>\n\n\n\n<p>The transformer is the single largest part of this circuit by far, the most difficult to fit within the telescope mount base. Before deciding to make this circuit I needed to source a transformer. No classic square transformer would fit in the needed dimensions, not as long as it was large enough to handle the 10-15VA power level needed by the two motors. There is another option however, a toroidal transformer, often more compact and flatter than a traditional transformer.<\/p>\n\n\n\n<p>What I found was the Amveco or Talema 62052, a 15VA transformer only 25mm high, just the right size! This just might work.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"alignleft\"><a href=\"https:\/\/darkerview.com\/wordpress\/?attachment_id=21788\" rel=\"attachment wp-att-21788\"><img decoding=\"async\" loading=\"lazy\" width=\"200\" height=\"200\" src=\"https:\/\/darkerview.com\/wordpress\/wp-content\/uploads\/2017\/06\/CI53-56-17098-DC-200x200.jpg\" alt=\"Drive corrector inside the Celestron mount\" class=\"wp-image-21788\"\/><\/a><figcaption>The circuitry for the drive corrector inside the mount, just a few wires left to connect.<\/figcaption><\/figure><\/div>\n\n\n\n<p>Next step was to lightly machine out the original connector position to enlarge it. This allows mounting of a small plate of aluminum with two connectors and an LED. One connector is the DC power in, a standard 5.5&#215;2.5mm power jack. The second connector is a 1\/8&#8243; stereo audio connector to allow connection of a small handpad for traditional drive corrector functions. On the handpad is one button to drive faster, and a second to drive slower. The red LED offers indications for power and low battery alarm.<\/p>\n\n\n\n<p>The old drive corrector schematic shown above uses an LM555 with an RC circuit to set the frequency. This works, but is not very accurate, and may change with time and temperature. The PIC microcontroller offered an internal source, an RC oscillator that could be trimmed for more accuracy, but it too drifts quite a bit with temperature. I wanted a crystal source for good accuracy.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"alignright\"><a href=\"https:\/\/darkerview.com\/wordpress\/?attachment_id=21523\" rel=\"attachment wp-att-21523\"><img decoding=\"async\" loading=\"lazy\" width=\"200\" height=\"200\" src=\"https:\/\/darkerview.com\/wordpress\/wp-content\/uploads\/2017\/04\/DriveCorr-200x200.png\" alt=\"An old-school telescope drive corrector schematic\" class=\"wp-image-21523\"\/><\/a><figcaption>An old-school telescope drive corrector schematic<\/figcaption><\/figure><\/div>\n\n\n\n<p>Problem&#8230; The PIC timer module is flexible, but can not generate just any frequency, I needed a source frequency that would divide neatly into 60Hz using the limited dividing options of the TMR0 module. A few calculations showed I could not get the desired frequency from a standard 1, 4, or 6MHz crystal.<\/p>\n\n\n\n<p>I began digging through all of the crystals I had on hand and entering the values into a little spreadsheet to do the needed dividing. it took a while, but I found a 1.8432MHz crystal in my stash that could be divided down to an even 1800Hz with the timer module. Dividing by another 30 in software I could get a perfect 60Hz&#8230; Success!<\/p>\n\n\n\n<p>Building a simple series resonant crystal oscillator around another old school chip, the 74LS04, created a neat 1.84MHz square wave. Another possible roadblock has been dealt with.<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">Construction<\/h5>\n\n\n\n<p>Technical challenges solved I just needed to build it, and write a bit more code for the microcontroller needed to run it.<\/p>\n\n\n\n<p>The drive circuit is built on a scrap of perfboard left over from a previous project, just enough room for the crystal oscillator, microcontroller, and power supply. The power transistors are bolted to the aluminum case of the mount, this creates a very large heat sink. A few connectors, a small pile of wire to weave everything together, and we have a complete circuit.<\/p>\n\n\n\n<p>I only ran into one problem. I had intended to use the LED to indicate what was going on. Maybe a fast flash for low battery shutdown, slow flash for tracking, etc. No can do, the PIC12C674 has only six pins, I was going to use the GP4 pin to run the LED. Unfortunately this pin becomes clock-out when using the GP5\/clock-in pin from the crystal oscillator and cannot be reassigned to general I\/O. What? That makes no sense on a very pin limited microcontroller, a bad design decision Microchip!<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">Code<\/h5>\n\n\n\n<p>The code is written in raw assembler, no need for anything fancy here. All we are doing is creating two complementary 60Hz drive signals.<\/p>\n\n\n\n<p><a href=\"https:\/\/darkerview.com\/wordpress\/wp-content\/uploads\/2017\/06\/DriveCorr20170410.zip\">Drive Corrector Code<\/a><\/p>\n\n\n\n<p>Care was taken in creating the 60Hz signals needed to drive the transistors and the transformer. These signals need to start up properly, no glitches or partial pulses. There should never be a condition that will leave one or another transistor on for more than 20ms. There must be a slight dead time between the two complementary signals. I did a fair amount of testing to ensure this condition is met.<\/p>\n\n\n\n<p>The drive signals are generated entirely within the interrupt routine to ensure completely consistent timing with no jitter.<\/p>\n\n\n\n<p>The fast\/slow buttons and the low battery shut-down are not yet implemented. Will get to these eventually&#8230; Maybe.<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">Result<\/h5>\n\n\n\n<p>It works! What else can I say. Plug in the telescope mount and the motors come on a few moments later, running smoothly at the correct speed.<\/p>\n\n\n\n<p>For a re-creation of a common piece of kit from decades past this was a fun little project. Now to go out and use it on the sky!<\/p>\n\n\n\n<figure><iframe loading=\"lazy\" width=\"560\" height=\"315\" style=\"border: none; overflow: hidden;\" src=\"https:\/\/www.facebook.com\/plugins\/video.php?href=https%3A%2F%2Fwww.facebook.com%2Fandrew.cooper.587268%2Fvideos%2F10211783581816448%2F&amp;show_text=0&amp;width=560\" scrolling=\"no\" frameborder=\"0\" allowtransparency=\"true\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Telescope clock drives from the 1980&#8217;s or earlier often used AC synchronous motors. These commonly available AC motors are used to power timeclocks, record player turntables, and telescopes, anyplace a motor needed to run at a very accurate speed. The speed of a synchronous motor is set by the frequency of the powerline, in North &hellip; <a href=\"https:\/\/darkerview.com\/wordpress\/?p=21405\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Old School Drive Corrector&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[206],"tags":[207,1334,922,1052,158],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/darkerview.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/21405"}],"collection":[{"href":"https:\/\/darkerview.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/darkerview.com\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/darkerview.com\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/darkerview.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=21405"}],"version-history":[{"count":5,"href":"https:\/\/darkerview.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/21405\/revisions"}],"predecessor-version":[{"id":28428,"href":"https:\/\/darkerview.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/21405\/revisions\/28428"}],"wp:attachment":[{"href":"https:\/\/darkerview.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=21405"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/darkerview.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=21405"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/darkerview.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=21405"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}