[[Commissioning and Science Verification]]

* Optical pointing > Optical telescope setup [#oe36b510]

:What's this page?|
This page describes the way to setup the optical telescope for optical pointing measurements.

:Revision history|
-- 2006 - K. Nakanishi - prepared ASTE_OPT_FOCUS.pdf
-- 2010-04-02 - N. UKITA - modified.
-- 2010-09-03 - B. Hatsukade - created Pukiwiki pages from the PDF.
-- 2013-08-05 - N. UKITA - modified.
-- 2014-04-21 - BH and YW - updated.
-- 2016-08-01 - Kamazaki,T. - modified for Linux COSMOS3.

:Table of contents|
#contents

----

** Optical telescope setup [#vd1328b1]
-- ASTE光学望遠鏡hardwareの立ち上げ手順
&br;
&ref(ASTE_OPT_Get-Started_v2.pdf);
--
#ref(dcpower_for_opt.jpg,,25%)
光望遠鏡用DC電源

** OPT image check [#i2744578]
*** Display an optical image [#f3f9226e]
+ Start an observation table (table with name starting with 't', e.g. 't163-16C.start'), which will just point the telescope to a star and keep tracking it
-- CSV lead will instruct the observation table to be used in Observing Log.
+ Login to the Mitaka analysis computer (e.g. aste-ms1) with asteXX (e.g. aste16)
 % ssh -Y asteXX@aste-ms1
-- Don't forget to add '-Y' option to forward windows.
+ Initialize the video capture board (at the start of measurements once a day)
 asteXX@aste-ms1: ~/analysis/bin/optinit.sh
 * ping aste-c1c
 * ssh astecntl@aste-c1c /cosmos3/naoj/sbinSol/optinit
 device:    [ ok ]
 mmap:      [ ok ]
 init bcr:  [ ok ]
 init:      [ ok ]
 initLUT:   [ ok ]
 clear FB:  [ ok ]
 AVME-338B -> successfully initialized    <--- confirm this message
+ Display (a part of) an optical image
 asteXX@aste-ms1: ~/analysis/bin/optshot.sh r  1  128
                                           (1)(2) (3)
 (1) Frame color to be dumped (normally, 'r'=Red is used)
 (2) Number of frames to be taken (set '-1' for infinite loop)
 (3) Image size [pixel] (set '448' for a full-size image)
 This will display an image whose center is (256, 256) pixels and size is 128 pixels.
 NOTE pixel scale is 1.27 [arcsec/pixel].
#ref(opt_optpon.png)
-- A star would be close to the image center, if antenna pointing is appropriately adjusted.
+ Stop the running observation

** Focus adjustment of OPT [#y0313ac6]
-- ASTE光学望遠鏡ピント合わせ手順 (obsolete)
&br;
&ref(ASTE_OPT_Focus.pdf);
*** Adjust focus position [#fe8f117c]
+ Run a observation table just tracking a star
 group: asteXX
 project: opttrk
 observation table: Select a table close to the current LST
 e.g.) t132-36B.start for LST13h
        (1)(2)(3)
 (1) R.A.
 (2) Dec.
 (3) Brightness (A>B>C>D)
     夜間Aの星はサチる可能性がある
+ Display (a part of) an optical image
 asteXX@aste-ms1: ~/analysis/bin/optshot.sh r -1  128
                                           (1)(2) (3)
 (1) Frame color to be dumped (normally, 'r'=Red is used)
 (2) Number of frames to be taken (set '-1' for infinite loop)
 (3) Image size [pixel] (set '448' for a full-size image)
 This will display an image whose center is (256, 256) pixels and size is 128 pixels.
 NOTE pixel scale is 1.27 [arcsec/pixel].
+ Login to aste-c1c with astecntl
 > ssh astecntl@aste-c1c
+ Connect the stage controller
 astecntl@aste-c1c: tip serial2
 connected    <--- confirm this message for successful connection
+ Move the focus stage so as to achieve sharp image in OPT
-- There is no command prompt
-- &color(red){Each command has to be followed by twice inputs of ''RETURN''};
-- Input "''~.''" to disconnect.
-- Print status
 Q:1  
 1, +12345, ACK1, ACK2, ACK3
 +12345: current position
 ACK1 X: command error / K: command success
 ACK2 K: stop successfully / P: stop due to '+' limit / M: stop due to '-' limit
 ACK3 B: busy / R: ready
-- Move to the origin
 H:1                      <- set the origin to the move parameter of the focus stage
                             (The origin is the near side of the stage edges to OPT lens)
 G                        <- start to move (typically wait for about 10 seconds)
 Q:1                      <- check status
 1,         0,K,K,R       <- confirm the complete message
-- Move (&color(red){Don't forget OPT image update every time};)
 M:1+P20100               <- set 20100 pulses to the move parameter of the focus stage
 G                        <- start to move
 Q:1                      <- check status
 1,         +20100,K,K,R  <- confirm the complete message
-- ピントが大きくズレていると判断されたときには、数百パルス程度ステージを前後に動かしてみる。
 M:1+P500        ←+500パルス移動
 G               ←移動開始
 Q:1             ←ステータス確認
 L:1             ←ステージを緊急停止させる

*** History of focus positions [#s0898412]
|2003-04|RIGHT: 13700(参考値)|外気温0+-5°Cでの最適値(赤フィルターなし)|
|2009-07|RIGHT: 20100近辺|[[Observing Log/2009-07-29]]|
|2010-04|RIGHT: 21100|[[Observing Log/2010-04-12]]|
|2010-09|RIGHT: 0|[[Observing Log/2010-09-09]]|
|2011-04|RIGHT: -500|[[Observing Log/2011-04-14]]|
|2012-06|RIGHT: 20700|[[Observing Log/2012-06-15]]|
|2014-04|RIGHT: 20500|[[Observing Log/2014-04-21]]|

** Troubleshooting [#s6cde231]
- Cannot login to aste-c1c
-- Visit [[Trouble Shooting]].
- Cannot initialize the capture board or take optical images
-- TBD
- No star in an optical image
-- Make sure no auxiliary offset in dAZ and dEL. That is (dAZ, dEL) = (0.0, 0.0).
-- Move the focus stage.

- Connection failures to the focus stage controller
-- aste-c1cをrebootした直後は接続に失敗する場合が多いので、以下の対症療法を試してみてください(ほぼ百発百中)
++ rootになる
++ admintoolを立ち上げる
++ 「シリアルポートの設定」を選び
++ term/2を選び、(ダイアログが開く)
++ 設定変更をしないでOKボタンを押す (あるいは、適当に設定をいじるが最後は元に戻しOKボタン)
-- all ports busyが出た場合は tip のprocessをkillすることでも大丈夫
==>要確認
-- キャビン(前室)に行って、ステージの電源を入れ直す (ラックの裏側のケーブルがやたらととぐろを巻いている中に、「光望遠鏡タップ」とか書いたケーブルがあり、100Vに差してあるはず。これを抜き差しすればよい)
-- 電源を切ってもステージ位置は保存されます (ただしQ:1を送ったときに帰ってくる位置値は0になる。すなわち、原点(位置値=0)は、電源が入った時点でステージがあった位置に設定されてしまう←仕様)

- Focus stage: status error / command error
 Q:1
 
 1,         0,X,K,R

コマンド入力の際、ステータスを読んでからパルス値を入力する前にリターンを2回押していない可能性がある。

- Focus stage: cannot display the status
 Q:1
 
一度 ''"G"'' (移動コマンド) を打って、再度ステータス表示コマンドを打つと、表示される場合がある。

// End of the page


Front page   Edit Diff History Attach Copy Rename Reload   New Page list Search Recent changes   Help   RSS of recent changes