User Tools

Site Tools


tcs:periodic_error_correction

This is an old revision of the document!


Periodic Error

Periodic Error is caused by imperfections in the worm gear that drives the right ascension axis. It periodic over one full rotation of the worm gear. TCSng corrects for this by mapping the error along an indexed rotation of the worm gear. This is called training.

Periodic Error Correction (PEC)

IF the PEC has been trained, periodic error can be corrected. Begin this process by turning the PEC on. Once the PEC has been turned on, TCSng waits for an index pulse from the worm gear. This can take several minutes.

TCSng PEC Commands and Requests

PEC requests and commands follow the TCSng protocal. Communication is executed through TCP/IP sockets. There is only on command/request per socket.

Requests

There are two PEC Requests. “PECSTAT” and “PECPROG”.

PECSTAT

“PECSTAT” returns four items condition, count, index, mode in that order. The condition can be 0 (OFF), 1 (ON), or 3 (WAITING) . WAITING simply means waiting for an index pulse. The mode can be 0 (OFF), 1 (ON) or 2 TRAINING. Count is the number of times since PEC was turned on that TCSng saw an index pulse in other words the number of full revolutions of the worm gear. Index is how far along this rotation since the last index pulse. The index starts over at each new index pulse.

Conditon
Meaning Value
0OFF
1ON
3WAITING

PECPROG

“PECPROG” returns two items, progress and correction . The progress is only non zero while the PEC is being trained. It is the percentage of the completed rotation of the worm gear since the index pulse. The correction is only non-zero when the pec is on. It will be zero when the pec is off or being trained. It is the amount the telescope will move in right ascension to correct for periodic error in arcseconds.

Commands

The only PEC command is “PEC” it has one argument. This argument can be “ON”, “OFF”, or “Train”. Anything else will be ignored with no indication from TCSng.

tcs/periodic_error_correction.1403041716.txt.gz · Last modified: 2014/06/17 14:48 by scott