JLAB Discriminators: Difference between revisions
No edit summary |
m Text replacement - "clonwiki.jlab.org" to "clonwiki0.jlab.org" |
||
(45 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
Manual for 16-Channel Discriminator/Scaler VME Module (by J.Proffit), 20-Nov-2002, in | |||
[https://clonwiki0.jlab.org/wiki/clondocs/Docs/JLAB_VME_DiscrManual2002.pdf (pdf)] | |||
Manual for New 16-Channel Discriminator/Scaler VME Module (draft by Ben Raydo), 6-Mar-2009, in | |||
[https://clonwiki0.jlab.org/wiki/clondocs/Docs/JLAB_VME_DSC2_Manual.pdf (pdf)] | |||
Manual for New 16-Channel Discriminator/Scaler VME Module (rev.B by Ben Raydo), 28-May-2010, in | |||
[https://clonwiki0.jlab.org/wiki/clondocs/Docs/VME16Chan_DiscScaler_Manual_RevB.pdf (pdf)] | |||
Manual for New 16-Channel Discriminator/Scaler VME Module (rev.C by Ben Raydo), 11-Feb-2011, in | |||
[https://clonwiki0.jlab.org/wiki/clondocs/Docs/VME16Chan_DiscScaler_Manual_RevC.pdf (pdf)] | |||
Manual for New 16-Channel Discriminator/Scaler VME Module (rev.D by Ben Raydo), 11-Feb-2011, in | |||
[https://clonwiki0.jlab.org/wiki/clondocs/Docs/VME16Chan_DiscScaler_Manual_RevD.pdf (pdf)] | |||
== Firmware update == | |||
Unix: | |||
dsc2firmware /usr/clas/clas12/coda/src/rol/firmwares/vmeDSC_firmware_v1_c.bin | |||
VXWORKS (from vxWorks prompt): | |||
dsc2UpdateFirmwareAll("/usr/local/clas12/coda/src/rol/firmwares/vmeDSC_firmware_v1_c.bin") | |||
Current firmware: ''vmeDSC_firmware_v1_c.bin'' | |||
== Development history == | |||
First version was developed by James Proffitt and is used in tagger system. It was tested by Sergey Pozdnyakov. Results of tests are presented on the next few slides: | First version was developed by James Proffitt and is used in tagger system. It was tested by Sergey Pozdnyakov. Results of tests are presented on the next few slides: | ||
* Width distribution ( [https:// | * Width distribution ( [https://clonwiki0.jlab.org/wiki/clondocs/Docs/JLabDiscr_width_vs_dac.eps eps] [https://clonwiki0.jlab.org/wiki/clondocs/Docs/JLabDiscr_width_vs_dac.pdf pdf]) | ||
* Threshold distribution ( [https://clonwiki0.jlab.org/wiki/clondocs/Docs/JLabDiscr_thresh_vs_dac.eps eps] [https://clonwiki0.jlab.org/wiki/clondocs/Docs/JLabDiscr_thresh_vs_dac.pdf pdf]) | |||
* | * Resolution of Leading Edge for JLab Discr. ( [https://clonwiki0.jlab.org/wiki/clondocs/Docs/Res_JLabDiscr_Leading_Edge.pdf pdf] [https://clonwiki0.jlab.org/wiki/clondocs/Docs/Res_JLabDiscr_Leading_Edge.eps eps]) | ||
* Resolution of Leading Edge for | * Resolution of Leading Edge for LeCroy 2313 Discr. (for compare) ( [https://clonwiki0.jlab.org/wiki/clondocs/Docs/Res_2313_Leading_Edge.pdf pdf] [https://clonwiki0.jlab.org/wiki/clondocs/Docs/Res_2313_Leading_Edge.eps eps]) | ||
* Resolution of | * Resolution of Trailing Edge for JLab Discr. ( [https://clonwiki0.jlab.org/wiki/clondocs/Docs/Res_JLabDiscr_Trailing_Edge.pdf pdf] [https://clonwiki0.jlab.org/wiki/clondocs/Docs/Res_JLabDiscr_Trailing_Edge.eps eps]) | ||
Following changes were recommended to make that board suitable for CLAS12: | Following changes were recommended to make that board suitable for CLAS12: | ||
* remove | * remove preamplifiers (at least reduce gain): can be done by not-installing some components; different amplifiers can be installed | ||
* mask outputs | |||
* add test input: directly to digital side | |||
* individual channel thresholds, min 10 mV - real | |||
* add second output connector (or high dense connector ?): yes | |||
* different thresholds for output 1 and output 2 (optional; maybe sacrofise individual threshold, maybe groups of 4 etc) | |||
* individual programmable width step: 8ns -> 4ns, the less the better; max=100ns; non-updating mode | |||
* channel-based output delays for trigger output connector - optional, 500ns max | |||
* 32-channel: will try (backplane board ?) | |||
* fast enough: min 150MHz | |||
* internal delay (20 ns is Ok) | |||
* thermodrift - to be studied | |||
* remove monitor | |||
* | * not-stop scaler readout - optional | ||
* | * keep gate/veto (2 inputs) | ||
* | * OR for trigger output (NIM) | ||
* VME readout: write/read all registers, A32/D64 with DMA | |||
As on October 11, 2007 the possibility of board redesign was discussed with Volker, Chris and Stan Majewski, and we are waiting for Stan's final word. | As on October 11, 2007 the possibility of board redesign was discussed with Volker, Chris and Stan Majewski, and we are waiting for Stan's final word. | ||
Line 28: | Line 84: | ||
Apr 16, 2008: waiting for management to find money to pay James to do a job. | Apr 16, 2008: waiting for management to find money to pay James to do a job. | ||
June 4, 2008: meeting with James and two Sergey's, first discussion on new design and work schedule. | |||
January 28, 2009: CLON meeting with Chris, decided to refresh the project | |||
June 3, 2009: Ben presented first results with 2-channel populated prototype [https://clonwiki0.jlab.org/wiki/clondocs/Docs/Discriminator_Prototype_Measurements.pdf (pdf)]. Next step will be to give prototype to Sergey P. for testing, sometime in the end of June. | |||
Sep 30, 2009: Sergey Pozdnyakov completed first tests, pictures: | |||
[https://clonwiki0.jlab.org/wiki/clondocs/Docs/dsc2_res_TDC_00_07.pdf TDC output resolution ch0-7], | |||
[https://clonwiki0.jlab.org/wiki/clondocs/Docs/dsc2_res_TDC_08_15.pdf TDC output resolution ch8-15], [https://clonwiki0.jlab.org/wiki/clondocs/Docs/dsc2_res_TRG_00_07.pdf TRG output resolution ch0-7], [https://clonwiki0.jlab.org/wiki/clondocs/Docs/dsc2_res_TRG_08_15.pdf TRG output resolution ch8-15]. | |||
== Example Program == | |||
#include "dsc2.h" | |||
int main(){ | |||
vmeOpenDefaultWindows(); /* Map the VME bus memory (For Linux only.). */ | |||
dsc2Init(0xe00000,0,1); /* Base memory: Only last 2 HW switches are relevant, | |||
the rest are lost due to shift of address. */ | |||
/* Memory size per board. */ | |||
/* Number of boards. */ | |||
dsc2Status(0,0); /* Board number and flag which is not used. */ | |||
dsc2PrintScalers(0,0xff);/* Board number and printing option */ | |||
return(0); | |||
} |
Latest revision as of 15:06, 17 April 2015
Manual for 16-Channel Discriminator/Scaler VME Module (by J.Proffit), 20-Nov-2002, in (pdf)
Manual for New 16-Channel Discriminator/Scaler VME Module (draft by Ben Raydo), 6-Mar-2009, in (pdf)
Manual for New 16-Channel Discriminator/Scaler VME Module (rev.B by Ben Raydo), 28-May-2010, in (pdf)
Manual for New 16-Channel Discriminator/Scaler VME Module (rev.C by Ben Raydo), 11-Feb-2011, in (pdf)
Manual for New 16-Channel Discriminator/Scaler VME Module (rev.D by Ben Raydo), 11-Feb-2011, in (pdf)
Firmware update
Unix:
dsc2firmware /usr/clas/clas12/coda/src/rol/firmwares/vmeDSC_firmware_v1_c.bin
VXWORKS (from vxWorks prompt):
dsc2UpdateFirmwareAll("/usr/local/clas12/coda/src/rol/firmwares/vmeDSC_firmware_v1_c.bin")
Current firmware: vmeDSC_firmware_v1_c.bin
Development history
First version was developed by James Proffitt and is used in tagger system. It was tested by Sergey Pozdnyakov. Results of tests are presented on the next few slides:
Following changes were recommended to make that board suitable for CLAS12:
- remove preamplifiers (at least reduce gain): can be done by not-installing some components; different amplifiers can be installed
- mask outputs
- add test input: directly to digital side
- individual channel thresholds, min 10 mV - real
- add second output connector (or high dense connector ?): yes
- different thresholds for output 1 and output 2 (optional; maybe sacrofise individual threshold, maybe groups of 4 etc)
- individual programmable width step: 8ns -> 4ns, the less the better; max=100ns; non-updating mode
- channel-based output delays for trigger output connector - optional, 500ns max
- 32-channel: will try (backplane board ?)
- fast enough: min 150MHz
- internal delay (20 ns is Ok)
- thermodrift - to be studied
- remove monitor
- not-stop scaler readout - optional
- keep gate/veto (2 inputs)
- OR for trigger output (NIM)
- VME readout: write/read all registers, A32/D64 with DMA
As on October 11, 2007 the possibility of board redesign was discussed with Volker, Chris and Stan Majewski, and we are waiting for Stan's final word.
Nov 16, 2007 James responded, asking for details. Sergey responded to Volker and James.
Apr 16, 2008: waiting for management to find money to pay James to do a job.
June 4, 2008: meeting with James and two Sergey's, first discussion on new design and work schedule.
January 28, 2009: CLON meeting with Chris, decided to refresh the project
June 3, 2009: Ben presented first results with 2-channel populated prototype (pdf). Next step will be to give prototype to Sergey P. for testing, sometime in the end of June.
Sep 30, 2009: Sergey Pozdnyakov completed first tests, pictures: TDC output resolution ch0-7, TDC output resolution ch8-15, TRG output resolution ch0-7, TRG output resolution ch8-15.
Example Program
#include "dsc2.h" int main(){ vmeOpenDefaultWindows(); /* Map the VME bus memory (For Linux only.). */ dsc2Init(0xe00000,0,1); /* Base memory: Only last 2 HW switches are relevant, the rest are lost due to shift of address. */ /* Memory size per board. */ /* Number of boards. */ dsc2Status(0,0); /* Board number and flag which is not used. */ dsc2PrintScalers(0,0xff);/* Board number and printing option */ return(0); }