Date post: | 23-Dec-2015 |
Category: |
Documents |
Upload: | owen-dalton |
View: | 214 times |
Download: | 0 times |
SAO CCD ControllerMegcam
Minicam
Hectospec
Hectoechelle
SWIRC
MMIRS
FAST
Keplercam
LSST (Brookhaven)
AFOE
TRES
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
EDTPCI-RCIInterface
IOTIMINGDRIVERA/D
DEWAR
SAO SYSTEM
115 Kbaud
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.
Serial 0Serial 1Serial 2Serial 3
4k4k4k4k
Parallel 16k
PATTERN RAM
SIGNAL RAM16 Mhz
DRIVER A/D
CCDSerial CounterParallel Counter
Signal Counter
SKIPADDREAD
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.
Master Bus
Slave Bus
Megacam Physical Layout (72-Channel)
#!/bin/sh
# ccdsetup
initedtx # initialize edt interfacecrst
#edtwriten -c 50300000 # gain high edtwriten -c 50200000 # gain low edtwriten -c 46000006 # paralleledtwriten -c 41000001 # split on#edtwriten -c 41000000 # split offedtwriten -c 43000001 # uni on#edtwriten -c 43000000 # uni off
sigtosc.pl ccd.sig ccdsc.binedtwriteblk -f ccdsc.binpattopc.pl ccd.pat ccdpc.binedtwriteblk -f ccdpc.binedtwriteblk –f ccd_pidlesc.bin
edtwriten -c a0384a65 # RD = 13sleep 1;edtwriten -c a0080800 # Vhi = 5edtwriten -c a0084333 # Phi = 2edtwriten -c a0088ccc # Rhi = 8edtwriten -c a008c666 # Shi = 4
edtwriten -c a0180666 # Slo = -4edtwriten -c a0184ccc # Plo = -8edtwriten -c a0188000 # Vlo = 0edtwriten -c a018c199 # Rlo = -1
edtwriten -c a0288b32 # OG2 = -2edtwriten -c a028c999 # OG1 = -1
edtwriten -c a0380a65 # DD = 13edtwriten -c a0388cf6 # OD2 = 21#edtwriten -c a038cd94 # OD1 = 22edtwriten -c a038ce32 # OD1 = 23
edtwriten -c 30080100 # a/d channel 1edtwriten -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 orderedtwriten -c 51008141 # pattopc.pl ccd.pat ccdpc.binedtwriteblk -f ccdpc.binsize=$(crsize ccdpc.bin)edtwriteblk -f ccd_nidlesc.binfclr 5edtwriteblk -f ccd_freezesc.bin#expose 3edtwriteblk -f ccd_unfreezesc.bintaker -F -f goo.fits $size -n 2 -vedtwriteblk -f ccd_pidlesc.binds9 goo.fits &