Ubitekk CC1 User Manual

Handheld coincidence counter

Advertisement

 
USER'S MANUAL 
 
CC1 ‐ Handheld  
Coincidence Counter 
Rev. 1.02 
 June 1, 2015 
www.qubitekk.com
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CC1 and is the answer not in the manual?

Questions and answers

Summary of Contents for Ubitekk CC1

  • Page 1         CC1 ‐ Handheld   Coincidence Counter      USER’S MANUAL                    Rev. 1.02   June 1, 2015    www.qubitekk.com    ...
  • Page 2: Table Of Contents

      Contents 1. Principle of Operation 1.1 Overview ..........................1 1.2 What is Included .......................1 1.3 Powering the Unit ......................2 1.4 Navigating the Menus ......................3 1.5 Setting up a Measurement ....................5 1.6 Making a Measurement ....................6 2. Settings 2.1 Description of Counting Process ..................7 2.2 Coin Window ........................8 2.3 Dwell Time ........................8 2.4 Gate Chan.
  • Page 3   4.2.3 Programming the Cyclone IV FPGA ................18 Appendix A. Electrical Schematics and Connections A.1 Top Board (LCD Board) ....................21 A.2 Bottom Board (Processor Board) ...................22 A.3 Pinout Table ........................25...
  • Page 4: Principle Of Operation

    CC1 for custom applications. Whether it is implementing a time histogram recorder, expanding/modifying the existing features of the CC1, or developing a custom device for use in implementing new cryptographic protocols, the CC1 is a flexible platform that will greatly simplify and speed your development effort.
  • Page 5: Powering The Unit

    Figure 1. Components included with CC1 Coincidence Counter. Powering the Unit and Connecting Inputs The CC1 is powered through its USB port. The USB cable provided with the system should be plugged into the side of the unit as shown in Figure 2.
  • Page 6: Navigating The Menus

    Figure 4. Count Screen on startup. To connect signals to the CC1, three SMA connector jacks are available at the top of the unit. To detect coincident pulses, Channels 1 and 2 must both be connected to a pulse signal. If the counting of single and coincidence pulses should be gated (see next section for more details), then the third channel (“GATE”) should be connected to the associated gate pulse.
  • Page 7   Figure 4. CC1 Buttons and Ports. 4   ...
  • Page 8: Setting Up A Measurement

    Prior to any measurement, the measurement parameters for the CC1 should be configured. The next section of the manual will describe each parameter and discuss their impact on the measurement. The default settings for the CC1 (upon power up) are shown in Table 1 below: Setting...
  • Page 9: Making A Measurement

      Making a Measurement Once all measurement settings have been adjusted, the “menu” button should be pressed to return to the Count Screen. With the Count Screen displayed, press the “ON/OFF” button to start or end a count. Once the “ON/OFF” button has been pressed, the details of the count measurement will be displayed on the LCD as shown in Figure 6.
  • Page 10: Settings

    The time between the rising edges of the two pulses is less than the coincidence window If the GATE signal is enabled, then the two pulses will only be counted by the CC1 as coincident if the following two conditions are satisfied: a.
  • Page 11: Coin Window

    Channel 1 and a pulse on Channel 2 before two pulses are no longer considered to be coincident. The Coin Window can be set on the CC1 to be any integer value between 1 and 8 nanoseconds.
  • Page 12: Trigger

    The CH1 delay setting allows delays of 0, 2, 4, 6, 8, 10, 12, and 14 ns to be programmed into the CC1. Firmware Ver. The firmware version is a four digit identifier of the CC1’s firmware release version. This setting cannot be changed by the user. 9 ...
  • Page 13: Serial Interface

    The CC1 has an emulated COM port for serial communication, and uses SCPI-compliant commands. To use the serial interface, use the included USB-B 2m cable to connect the CC1 to a computer USB port. The USB cable allows the CC1 to both receive power and send data over the USB connection.
  • Page 14: Sample Code

    Returns the coincidence window length in nanoseconds Sample Serial Program The following sample program (written in Visual Basic 6.0) provides a very simple example of how serial commands can be used through third-party programs to control the CC1: MSComm3.PortOpen = True ‘Open COM Port '-- Prepare Coincidence Counter for Measurements -- MSComm3.Output = ":GATE 0"...
  • Page 15: Customization

    Customizing the CC1 Overview The CC1 is an open-source platform that was developed to give as much flexibility to users as possible. This means that the internal firmware that operates the device can be changed by the user, if desired. Inside the CC1, two programmable electronic components are responsible for most of the functionality of the CC1.
  • Page 16: The Rabbit Rcm3400 Microprocessor

    DE0-Nano). This prototyping board has additional functionality that may be used in future versions of the CC1 product. A manual for the Terasic DE0-Nano is available on the flash drive that came with your unit as well as Qubitekk’s website.
  • Page 17: Uploading Custom Firmware

    To upload new firmware to your CC1, it is necessary to first remove the cover at the bottom of the CC1. To do so, first remove the six Phillips screws on the back of the CC1 that hold the two halves of the CC1 instrument case together.
  • Page 18: Programming The Rabbit Rcm3400

    With the bottom cover removed, the programming ports for the RCM3400 and the Cyclone IV FPGA should be visible and accessible. Using the reverse order, the unit should be reassembled without the bottom cover. The bottom of the CC1 will look as shown in Figure 12. RCM3400 Programming Port ...
  • Page 19 With the Rabbit Programming Cable in place, connect the CC1’s USB cable to your computer - or to the provided USB power supply - to power up the CC1. Open the DC RFU program that was installed on your computer. The DC RFU is a programming utility that will use the programming cable to upload any new firmware files (.bin) to the CC1’s RCM3400.
  • Page 20   Select “File -> Load Flash Image…” from the menu, as shown in Figure 15. Once the proper file is selected, the uploading of the firmware should begin immediately. Figure 15. Creating a programming file for the RCM3400. On some systems, the port location of the Rabbit Programming Cable may not be recognized automatically.
  • Page 21: Programming The Cyclone Iv Fpga

      4.2.3 Programming the Cyclone IV FPGA To program the Altera Cyclone IV FPGA - and have that program persist in memory after power cycling the device - a *.jic programming file must be created in the Quartus II development environment.
  • Page 22 To program the FPGA, connect the retractable USB cable (USB-mini) from your computer to the CC1 (this USB cable will provide all necessary power to the CC1 during programming). Select the “Tools -> Programmer” menu option in Quartus II to open the Altera Programmer window.
  • Page 23: Appendix A. Electrical Schematics And Connections

                  APPENDIX A  Electrical Schematics and Connections          20   ...
  • Page 24: Top Board (Lcd Board)

      A.1 Top Board (LCD Display) 21   ...
  • Page 25: Bottom Board (Processor Board)

      A.2 Bottom Board (FPGA and Microprocessor) 22   ...
  • Page 26   23   ...
  • Page 27   24   ...
  • Page 28: Pinout Table

      A.3 Pinout Table The pinout table for the RCM3400 is shown below: Header Pin Number Pin Name Description Not Connected Not Connected Not Connected Not Connected Not Connected Not Connected Not Connected Not Connected VREF Not Connected CONVERT Not Connected Coincidence Window or Delay (Bit 2) Bus to LCD Display (Line E) Bus to FPGA Counter (Bit 7)
  • Page 29   Bus to FPGA Counter (Bit 3) Bus to FPGA Counter (Bit 18) Bus to FPGA Counter (Bit 4) Bus to FPGA Counter (Bit 19) Bus to FPGA Counter (Bit 5) Bus to FPGA Counter (Bit 20) Serial communication with USB chip (Rx) Bus to FPGA Counter (Bit 13) Coincidence Window or Delay (Bit 1) Serial communication with USB chip (Tx)
  • Page 30   IO15 FPGA Counter Output to RCM3400 (Bit 3) IO16 FPGA Counter Output to RCM3400 (Bit 16) IO17 FPGA Counter Output to RCM3400 (Bit 4) IO18 Channel B Signal In IO19 FPGA Counter Output to RCM3400 (Bit 5) IO20 FPGA Counter Output to RCM3400 (Bit 17) IO21 Coincidence Window or Delay (Bit 1) IO22...
  • Page 31   +3.3V Not Connected GND2 Ground IO24 Not Connected IO25 Not Connected IO26 Not Connected IO27 Not Connected IO28 Not Connected IO29 Not Connected IO30 Not Connected IO31 Not Connected IO32 Not Connected IO33 Not Connected 28   ...

Table of Contents