130 likes | 322 Views
SAO CCD Controller. FEATURES: Altera PLDs - programmable eletronics Programmable Pattern and Signal Ram Both Guider and Science Mode Programmable DACs A/D channel control programming 24 bit shutter timer split mode switch gain switch. SAO SYSTEM. IO TIMING DRIVER A/D. EDT
E N D
FEATURES: • Altera PLDs - programmable eletronics • Programmable Pattern and Signal Ram • Both Guider and Science Mode • Programmable DACs • A/D channel control programming • 24 bit shutter timer • split mode switch • gain switch
SAO SYSTEM IO TIMING DRIVER A/D EDT PCI-RCI Interface 115 Kbaud DEWAR 30 MB/s
Rev. 1 4-Channel Backplane All interconnects to CCD, panel switches, and power are via mounted connectors on the backside of the backplane.
I/O Board with mounted EDT Fiber-Optic Interface module. Output to the computer has been tested up to 28 MB/sec.
Timing Board. Extensive use of EPLDs greatly simplifies design and programming.
Signal Counter PATTERN RAM SKIP ADD READ SIGNAL RAM 16 Mhz DRIVER A/D Serial Counter Parallel Counter CCD
Rev. 1 Driver Board. Each of the 3 sections may drive 1-3 CCDs, depending on requirements.
Rev. 1 A/D Board. The noisy and power-hungry Datel converters will be replaced by Burr-Brown ADS7811 modules for Rev. 2.
Slave Bus MasterBus Megacam Physical Layout (72-Channel)
#!/bin/sh # ccdsetup initedtx # initialize edt interface crst #edtwriten -c 50300000 # gain high edtwriten -c 50200000 # gain low edtwriten -c 46000006 # parallel edtwriten -c 41000001 # split on #edtwriten -c 41000000 # split off edtwriten -c 43000001 # uni on #edtwriten -c 43000000 # uni off sigtosc.pl ccd.sig ccdsc.bin edtwriteblk -f ccdsc.bin pattopc.pl ccd.pat ccdpc.bin edtwriteblk -f ccdpc.bin edtwriteblk –f ccd_pidlesc.bin edtwriten -c a0384a65 # RD = 13 sleep 1; edtwriten -c a0080800 # Vhi = 5 edtwriten -c a0084333 # Phi = 2 edtwriten -c a0088ccc # Rhi = 8 edtwriten -c a008c666 # Shi = 4 edtwriten -c a0180666 # Slo = -4 edtwriten -c a0184ccc # Plo = -8 edtwriten -c a0188000 # Vlo = 0 edtwriten -c a018c199 # Rlo = -1 edtwriten -c a0288b32 # OG2 = -2 edtwriten -c a028c999 # OG1 = -1 edtwriten -c a0380a65 # DD = 13 edtwriten -c a0388cf6 # OD2 = 21 #edtwriten -c a038cd94 # OD1 = 22 edtwriten -c a038ce32 # OD1 = 23 edtwriten -c 30080100 # a/d channel 1 edtwriten -c 30180100 # a/d channel 2 edtwriten -c 51000040 # ioram channel order edtwriten -c 51008141 # #bias.pl -r
CCD Readout Script #!/bin/bash edtwriten -c 51000040 # ioram channel order edtwriten -c 51008141 # pattopc.pl ccd.pat ccdpc.bin edtwriteblk -f ccdpc.bin size=$(crsize ccdpc.bin) edtwriteblk -f ccd_nidlesc.bin fclr 5 edtwriteblk -f ccd_freezesc.bin #expose 3 edtwriteblk -f ccd_unfreezesc.bin taker -F -f goo.fits $size -n 2 -v edtwriteblk -f ccd_pidlesc.bin ds9 goo.fits &