Compare commits

..

48 Commits

Author SHA1 Message Date
317d8970c0 remove footnote.tex 2024-12-12 16:30:19 +01:00
307553067c 5108: spellcheck, remove noise density graph 2024-12-12 16:17:28 +01:00
c3a87290ce 5432: spellcheck, style 2024-11-17 20:42:11 +01:00
49c06af717 4410-4412: replace dead link 2024-11-16 10:44:21 +08:00
bebd7bbfda 4456: spellcheck, style 2024-11-16 10:44:21 +08:00
a68d5f50d0 4410-4412: spellcheck, style 2024-11-16 10:44:21 +08:00
480e8b2966 preamble: codesection add heading 2024-11-16 10:43:46 +08:00
b9b103b38e 2118-2128, 2245: fixes 2024-11-16 10:43:46 +08:00
a0a1f4056e 2245: spellcheck, style 2024-11-16 10:43:46 +08:00
b3358e9b93 2238: spellcheck, style 2024-11-16 10:43:46 +08:00
5acedc8f40 2118-2128: spellcheck, style 2024-11-16 10:43:46 +08:00
48a0774a46 preamble: macro for code sections 2024-11-16 10:43:46 +08:00
4bc2d4ee6d 5568: spellcheck, style 2024-11-14 22:16:10 +01:00
0a802d29d8 5518-5528: spellcheck, style 2024-11-14 22:16:10 +01:00
173055138a Standard sections as macros 2024-10-30 21:29:39 +01:00
a6985892cf 1124: fix typo 2024-10-30 16:18:31 +08:00
8fa327770f 1124: standardize section capitalization 2024-10-30 16:18:02 +08:00
d5d71da272 1124: update fixes 2024-10-30 16:18:02 +08:00
12e369c395 1124 Carrier Kasli 2.0 update 2024-10-30 16:18:02 +08:00
be2ac83e71 7210: update, add phase noise chart 2024-10-30 15:37:26 +08:00
6b45ec9d28 Add README.md 2024-10-30 14:49:56 +08:00
33efbaa3cf shell.nix -> flake.nix 2024-10-30 14:49:56 +08:00
a7ce1604ee Add makefile and .gitignore 2024-10-30 14:49:56 +08:00
8312ff762e Fix some compilation warnings 2024-10-27 12:36:05 +01:00
c9b68e38b6 Add datasheet template.tex 2024-10-25 11:58:47 +08:00
ed02c0abe2 2218-2128: fix image imports 2024-10-24 22:59:12 +02:00
b7a9d08233 Standardize labels to preamble 2024-10-24 22:59:12 +02:00
c32b128d6f Unify preamble.tex, footnote.tex 2024-10-23 15:51:50 +02:00
a9674e90df Refactor images 2024-10-23 15:51:50 +02:00
3480a1a6d0 4410: fix SUServo DIP switch configuration 2024-08-06 18:53:07 +08:00
f3858552b6 2245: remove absolute maximum specs
Closes #50
2022-09-05 11:55:31 +08:00
ebc1235847 1124: add insn for clock configuation setup 2022-08-11 10:48:50 +08:00
4b9822c07e 1124: init 2022-08-09 17:31:27 +08:00
d387006656 2118-2128: (max. -> min.) sustained event separation 2022-07-27 15:17:32 +08:00
69696899ac 2118-2128: tabulate MSES 2022-07-27 15:16:09 +08:00
8ce5cca85e 2118-2128: update code line range 2022-07-27 15:15:26 +08:00
d6d29c89a1 ttl_in/MTD: fix time.sleep duration 2022-07-27 15:14:42 +08:00
a7dfa03a21 ttl_in/MTD: import time 2022-07-27 15:14:12 +08:00
440b3ef3df 2118-2128: add t_min info from #26 2022-07-26 18:26:52 +08:00
7d993a4800 2238: remove min input edge rate
Updates #48.
2022-07-26 13:11:23 +08:00
77d31568b1 5108: specify noise in RMS
Updates #52.
2022-07-26 13:10:06 +08:00
df564d2375 5108: remove gain condition for terminated voltage spec 2022-07-25 17:29:26 +08:00
b8e89f4d01 4410/linearity: expected -> ideal 2022-07-25 17:01:03 +08:00
8138e793d7 7210: cite waveform plot 2022-07-25 16:33:42 +08:00
a14aa89a76 7210: fix specs
Replaced plot with the one produced by a faster scope (20 GSa/s).
2022-07-25 16:25:26 +08:00
5d8dc38db7 7210: clarify on clock in/out format 2022-07-25 14:56:20 +08:00
688f5fdf23 7210: add phaser clock input to application
Closes #42.
2022-07-25 14:30:45 +08:00
3a6ed63f0a 2118-2128: add RTIO constraint 2022-07-22 17:46:35 +08:00
108 changed files with 1420 additions and 1628 deletions

9
.gitignore vendored Normal file
View File

@ -0,0 +1,9 @@
*.out
*.log
*.aux
_minted-*
build
result
images/unsorted

307
1124.tex Normal file
View File

@ -0,0 +1,307 @@
\include{preamble.tex}
\graphicspath{{images/1124}{images}}
\title{1124 Carrier Kasli 2.0}
\author{M-Labs Limited}
\date{October 2024}
\revision{Revision 2}
\companylogo{\includegraphics[height=0.73in]{artiq_sinara.pdf}}
\begin{document}
\maketitle
\section{Features}
\begin{itemize}
\item{4 SFP 6Gb/s slots for Ethernet and DRTIO}
\item{12 EEM ports for daughtercards}
\item{4 MMCX clock outputs}
\item{Xilinx Artix-7 FPGA core}
\item{DDR3 SDRAM}
\end{itemize}
\section{Applications}
\begin{itemize}
\item{Run ARTIQ kernels}
\item{Communicate with the host}
\item{Control other Sinara EEM cards}
\item{Distributed Real-Time I/O}
\end{itemize}
\section{General Description}
The 1124 Kasli 2.0 Carrier card is an 8hp EEM module, designed to run ARTIQ kernels sent from a host machine over the network. It supports up to 12 EEM connections to other EEM cards in the ARTIQ-Sinara family and up four SFP connections, used for comunications with other carriers and/or Ethernet.
Real-time control of EEM daughtercards is implemented using the ARTIQ RTIO system. 1ns temporal resolution can be achieved for TTL events.
4 SFP 6Gb/s slots are provided. One may be used for Ethernet, which supports communication with a host machine. Remaining slots can be used by the ARTIQ Distributed Real-Time Input/Output (DRTIO) system, which allows for the use of additional core devices (e.g. Kasli 2.0, Kasli-SoC) as satellite cards, capable of running subkernels or distributing commands from the \mbox{DRTIO} master.
% Switch to next column
\vfill\break
\begin{figure}[h]
\centering
\scalebox{1.15}{
\begin{circuitikz}[european, every label/.append style={align=center}]
\begin{scope}[]
% Draw the FPGA
\draw (0, 0) node[twoportshape, t={FPGA}, circuitikz/bipoles/twoport/height=1.5, circuitikz/bipoles/twoport/width=1.2, scale=1] (fpga) {};
% External clock for RTIO, west of the FPGA
\draw [color=white, text=black] (-3.1, 0) node[twoportshape, circuitikz/bipoles/twoport/width=1.2, scale=0.4] (ext_clk) {};
\node [label=left:\tiny{EXT CLK}] at (-2.65, 0) {};
\begin{scope}[scale=0.07 , rotate=-90, xshift=0cm, yshift=-40cm]
\draw (0,0.65) -- (0,3);
\clip (-1.5,0) rectangle (1.5,1.5);
\draw (0,0) circle(1.5);
\clip (-0.8,0) rectangle (0.8,0.8);
\draw (0,0) circle(0.8);
\end{scope}
\draw [-latexslim] (ext_clk) -- (fpga.west);
% USB Mirco B port with USB-UART converter, north west of the FPGA
\draw (-3.2, 1.2) node[twoportshape, t={USB Micro B}, circuitikz/bipoles/twoport/width=1.8, scale=0.5, rotate=-90] (usb) {};
\draw (-2, 1.2) node[twoportshape, t={\fourcm{USB-UART}{Converter}}, circuitikz/bipoles/twoport/width=1.8, scale=0.5, rotate=-90] (uart) {};
\draw [latexslim-latexslim] (usb.north) -- (uart.south);
\draw [latexslim-latexslim] (uart.north) -- (-1.3, 1.2) -- (-1.3, 0.4) -- (-0.85, 0.4);
% 4-SFP cage, south west of the FPGA
\draw (-3.4, -0.8) node[twoportshape, t={SFP 0}, circuitikz/bipoles/twoport/height=0.6, circuitikz/bipoles/twoport/width=1, scale=0.5, rotate=-90] (sfp0) {};
\draw (-3, -0.8) node[twoportshape, t={SFP 1}, circuitikz/bipoles/twoport/height=0.6, circuitikz/bipoles/twoport/width=1, scale=0.5, rotate=-90] (sfp1) {};
\draw (-3.4, -1.5) node[twoportshape, t={SFP 2}, circuitikz/bipoles/twoport/height=0.6, circuitikz/bipoles/twoport/width=1, scale=0.5, rotate=-90] (sfp2) {};
\draw (-3, -1.5) node[twoportshape, t={SFP 3}, circuitikz/bipoles/twoport/height=0.6, circuitikz/bipoles/twoport/width=1, scale=0.5, rotate=-90] (sfp3) {};
\draw [latexslim-latexslim] (-2.8, -1.15) -- (-2.2, -1.15) -- (-2.2, -0.4) -- (-0.85, -0.4);
% Clock signal cleaning path, south of the FPGA,
% clock signal loop from the south west to the south east
\draw (-0.8, -2.1) node[twoportshape, t={\fourcm{Clock}{Multiplier}}, circuitikz/bipoles/twoport/width=1.6, scale=0.5, rotate=-90] (clk_mul) {};
\draw (0.8, -2.1) node[twoportshape, t={\fourcm{Clock}{Buffer}}, circuitikz/bipoles/twoport/width=1.6, scale=0.5, rotate=-90] (clk_buf) {};
\draw [-latexslim] (-0.85, -0.8) -- (-1.6, -0.8) -- (-1.6, -1.9) -- (-1.05, -1.9);
% % A dashed path from EXT CLK to CDR CLK
\draw [dashed, -latexslim] (fpga.west) -- (-0.6, 0) -- (-0.6, -0.8) -- (-0.85, -0.8);
% % Internal oscillator for the RTIO clock
\draw (-2.2, -2.3) node[twoportshape, t={OSC}, circuitikz/bipoles/twoport/width=1, scale=0.5] (rtio_osc) {};
\draw [-latexslim] (rtio_osc.east) -- (-1.05, -2.3);
\draw [-latexslim] (clk_mul.north) -- (clk_buf.south);
\draw [-latexslim] (clk_buf.north) -- (1.6, -2.1) -- (1.6, -0.4) -- (0.85, -0.4);
% % MMCX output
\draw [color=white, text=black] (2.75, -1.05) node[twoportshape, circuitikz/bipoles/twoport/width=1.2, scale=0.4] (mmcx0) {};
\draw [color=white, text=black] (2.75, -1.4) node[twoportshape, circuitikz/bipoles/twoport/width=1.2, scale=0.4] (mmcx1) {};
\draw [color=white, text=black] (2.75, -1.75) node[twoportshape, circuitikz/bipoles/twoport/width=1.2, scale=0.4] (mmcx2) {};
\draw [color=white, text=black] (2.75, -2.1) node[twoportshape, circuitikz/bipoles/twoport/width=1.2, scale=0.4] (mmcx3) {};
\node [label=right:\tiny{MMCX 0}] at (2.3, -1.05) {};
\node [label=right:\tiny{MMCX 1}] at (2.3, -1.4) {};
\node [label=right:\tiny{MMCX 2}] at (2.3, -1.75) {};
\node [label=right:\tiny{MMCX 3}] at (2.3, -2.1) {};
\begin{scope}[scale=0.07 , rotate=90, xshift=-30cm, yshift=-35cm]
\draw (0,0.65) -- (0,3);
\clip (-1.5,0) rectangle (1.5,1.5);
\draw (0,0) circle(1.5);
\clip (-0.8,0) rectangle (0.8,0.8);
\draw (0,0) circle(0.8);
\end{scope}
\begin{scope}[scale=0.07 , rotate=90, xshift=-25cm, yshift=-35cm]
\draw (0,0.65) -- (0,3);
\clip (-1.5,0) rectangle (1.5,1.5);
\draw (0,0) circle(1.5);
\clip (-0.8,0) rectangle (0.8,0.8);
\draw (0,0) circle(0.8);
\end{scope}
\begin{scope}[scale=0.07 , rotate=90, xshift=-20cm, yshift=-35cm]
\draw (0,0.65) -- (0,3);
\clip (-1.5,0) rectangle (1.5,1.5);
\draw (0,0) circle(1.5);
\clip (-0.8,0) rectangle (0.8,0.8);
\draw (0,0) circle(0.8);
\end{scope}
\begin{scope}[scale=0.07 , rotate=90, xshift=-15cm, yshift=-35cm]
\draw (0,0.65) -- (0,3);
\clip (-1.5,0) rectangle (1.5,1.5);
\draw (0,0) circle(1.5);
\clip (-0.8,0) rectangle (0.8,0.8);
\draw (0,0) circle(0.8);
\end{scope}
\draw [-latexslim] (1.6, -1.05) -- (mmcx0);
\draw [-latexslim] (1.6, -1.4) -- (mmcx1);
\draw [-latexslim] (1.6, -1.75) -- (mmcx2);
\draw [-latexslim] (1.6, -2.1) -- (mmcx3);
% Memory modules, north of the FPGA
\draw (-0.55, 2.4) node[twoportshape, t={\fourcm{SPI}{Flash}}, circuitikz/bipoles/twoport/width=1.3, scale=0.5] (spi_flash) {};
\draw (0.55, 2.4) node[twoportshape, t={SDRAM}, circuitikz/bipoles/twoport/width=1.3, scale=0.5] (sdram) {};
\draw [latexslim-latexslim] (spi_flash.south) -- (-0.55, 1.05);
\draw [latexslim-latexslim] (sdram.south) -- (0.55, 1.05);
% EEM connectors x12, horizontally located at y=0.4
\draw (2, 1.8) node[twoportshape, t={EEM Port 0}, circuitikz/bipoles/twoport/width=1.6, scale=0.5, rotate=-90] (eem0) {};
\node at (2.4, 1.8)[circle,fill,inner sep=0.7pt]{};
\node at (2.6, 1.8)[circle,fill,inner sep=0.7pt]{};
\node at (2.8, 1.8)[circle,fill,inner sep=0.7pt]{};
\draw (3.2, 1.8) node[twoportshape, t={EEM Port 11}, circuitikz/bipoles/twoport/width=1.6, scale=0.5, rotate=-90] (eem11) {};
\draw [decorate, decoration = {brace}] (3.4, 1.1) -- (1.8, 1.1);
\draw [latexslim-latexslim] (2.6, 1) -- (2.6, 0.4) -- (0.85, 0.4);
\end{scope}
\end{circuitikz}
}
\caption{Simplified Block Diagram}
\end{figure}
\begin{figure}[hbt!]
\centering
\includegraphics[height=2in]{photo1124.jpg}
\caption{Kasli 2.0 card}
\end{figure}
\begin{figure}[hbt!]
\centering
\includegraphics[angle=90,height=0.9in]{Kasli_FP.pdf}
\caption{Kasli 2.0 front panel}
\end{figure}
% For wide tables, a single column layout is better. It can be switched
% page-by-page.
\onecolumn
\sourcesection{Kasli 2.0}{https://github.com/sinara-hw/Kasli}
\section{Electrical Specifications}
External clock parameters are derived based on the internal termination specified in
UG471\footnote{\label{ug471}\url{https://docs.xilinx.com/v/u/en-US/ug471\_7Series\_SelectIO}}
and the voltage range specified in
DS181\footnote{\label{ds181}\url{https://docs.xilinx.com/v/u/en-US/ds181\_Artix\_7\_Data\_Sheet}}. These figures account for the insertion loss of the RF transformer (TC2-1TX+\footnote{\label{rf_trans}\url{https://www.minicircuits.com/pdfs/TC2-1TX+.pdf}}).
\begin{table}[h]
\centering
\begin{threeparttable}
\caption{Recommended Operating Conditions}
\begin{tabularx}{0.85\textwidth}{l | c c c | c | X}
\thickhline
\textbf{Parameter} & \textbf{Min.} & \textbf{Typ.} & \textbf{Max.} &
\textbf{Unit} & \textbf{Conditions} \\
\hline
Clock input & & & & &\\
\hspace{3mm} Input frequency & & 125 & & MHz & Si5324 synthesizer bypassed \\
\cline{2-6}
% 100R termination & 100/350/600 mV differential input after the transformer.
& \multicolumn{3} {c|}{10/100/125} & MHz & RTIO clock synthesized from input \\
\cline{2-6}
\hspace{3mm} Power & -9 & 1.5 & 5.5 & dBm & \\
\hline
Power supply rating & \multicolumn{4}{c|}{12V, 5A} & \\
\thickhline
\end{tabularx}
\end{threeparttable}
\end{table}
Power is to be supplied through the barrel connector in the front panel, size 5.5 mm OD, 2.5 mm ID, and is passed on to daughtercards through the EEM connections. Locking barrel connectors are supported.
\section{FPGA}
Kasli 2.0 features an XC7A100T-3FGG484E Xilinx Artix-7 FPGA to facilitate reconfigurable high-speed real-time control of inputs and outputs. Most commonly, this FPGA is flashed with binaries compiled from the ARTIQ (Advanced Real-Time Infrastructure for Quantum physics) control system, which equips the carrier board with specialized gateware for handling other Sinara EEMs and an on-FPGA CPU for running ARTIQ experiment \mbox{kernels}.
ARTIQ is open-source and can be found in the repository \url{https://github.com/m-labs/artiq}. Orders of Sinara hardware are normally accompanied with precompiled binaries. Long-term support for ARTIQ systems can also be purchased.
A micro-USB located on the front panel is equipped for JTAG, I2C, and UART serial output. The serial interface runs at 115200bps 8-N-1.
\subsection{Note on distributed RTIO (DRTIO)}
DRTIO is the time and data transfer system that allows ARTIQ RTIO channels to be distributed among several core device carrier boards, synchronized and controlled by a central core device. The system itself is more fully described in the ARTIQ documentation\footnote{\label{manual-drtio}\url{https://m-labs.hk/artiq/manual/drtio.html}}. With ARTIQ firmware/gateware, supported core devices, including Kasli 2.0, can take one of three roles:
\begin{enumerate}
\item \textbf{Master} \\
The DRTIO master is unique in a DRTIO system. It requires a direct network connection to the host machine. It may make downstream connections to satellites. It controls its own local RTIO channels and the downstream DRTIO satellite(s).
\item \textbf{Satellite} \\
Any other core devices in a DRTIO system are DRTIO satellites. They require an upstream connection to one other core device, master or satellite, through which communications will ultimately be chained to the master. They may make further downstream connections to other satellites. They may control RTIO channels through subkernels or simply pass on communications from the master.
\item \textbf{Standalone}\\
When run in a non-distributed ARTIQ configuration, with a single central core device but no satellites, that core device is instead known as standalone.
\end{enumerate}
\section{Communication Interfaces}
Communication between devices is implemented using 1000Base-T small form-factor pluggable (SFP) interfaces. Four are available on the Kasli 2.0. Appropriate SFP transceivers must be plugged inside the corresponding SFP cages. Each SFP connector possesses an indicator LED.
\subsection{Upstream connection}
A Kasli 2.0 board must acquire an upstream connection through the \texttt{SFP0} slot.
\begin{itemize}
\item \textbf{Standalone/Master} \\
An Ethernet-capable SFP transceiver should be inserted into the \texttt{SFP0} slot. Typically, a 10000Base-X RJ45 SFP module is used, with an network-connected Ethernet cable attached to the module.
\item \textbf{Satellite} \\
The \texttt{SFP0} port should be connected to one of the free SFP slots on an upstream core device, using a cable connection with SFP transceivers.
\end{itemize}
\subsection{Downstream connection}
Kasli 2.0 supports up to 3 DRTIO satellite connections per device. Any of the 3 downstream SFP ports (i.e. \texttt{SFP1}, \texttt{SFP2}, \texttt{SFP3}) may be used.
\section{Clock Routing}
\subsection{Standalone/Master}
The RTIO clock is typically synthesized by the Si5324 clock multiplier and distributed by the ADCLK948 clock fanout buffer to both the FPGA and the MMCX connectors. Alternatively, an external reference can be supplied through the front panel SMA connector. It is then buffered in the FPGA and sent to the Si5324 for clock synthesis. Kasli 2.0 supports a set of RTIO clock options:
\begin{table}[H]
\centering
\begin{tabular}{|c|c|c|}
\hline
RTIO frequency & Configuration & Clock generation \\ \hline
100 MHz & \texttt{int\char`_100} & internal crystal oscillator using PLL, 100 MHz output \\ \hline
\multirow{4}{*}{125 MHz} & \texttt{int\char`_125} & internal crystal oscillator using PLL, 125 MHz output (default) \\ \cline{2-3}
& \texttt{ext0\char`_synth0\char`_10to125} & external 10 MHz reference using PLL, 125 MHz output \\ \cline{2-3}
& \texttt{ext0\char`_synth0\char`_100to125} & external 100 MHz reference using PLL, 125 MHz output \\ \cline{2-3}
& \texttt{ext0\char`_synth0\char`_125to125} & external 125 MHz reference using PLL, 125 MHz output \\ \hline
150 MHz & \texttt{int\char`_150} & internal crystal oscillator using PLL, 150 MHz output \\ \hline
\end{tabular}
\end{table}
The clock synthesizer may also be bypassed, using the \texttt{ext0\char`_bypass} option, which will accept a RTIO clock directly supplied to the SMA connector. The resulting signal is then routed to both the RTIO system and downstream satellites.
Clocking options in a running system should be configured by setting the value of the \texttt{rtio\char`_clock} key to the desired configuration through \texttt{artiq\char`_coremgmt}. For example, a RTIO frequency of 125MHz will be synthesized from an external 10 MHz signal after issuing the following command:
\begin{minted}{bash}
artiq_coremgmt config write -s rtio_clock ext0_synth0_10to125
\end{minted}
and rebooting.
\subsection{Satellite}
The RTIO clock is recovered from the SFP transceiver connected to the upstream device. The resulting signal is then cleaned up by the Si5324 and routed to both the RTIO system and downstream satellites.
\subsection{WRPLL}
Kasli 2.0 can be configured to use WRPLL, a clock recovery method making use of White Rabbit's DDMTD (Digital Dual Mixer Time Difference) and the card's Si549 oscillators, both to lock the main RTIO clock and to lock satellite clocks to master.
\section{User LEDs}
Kasli 2.0 supplies three user LEDs for debugging purposes. Two are located on the front panel. The third is located on the PCB itself, beside the SFP cage. An additional ERR LED on the front panel is used by ARTIQ firmware to indicate a runtime panic.
\newpage
\codesection{Kasli 2.0 1124 carrier}
\subsection{Direct Memory Access (DMA)}
Instead of directly emitting RTIO events, sequences of RTIO events can be recorded in advance and stored in the local SDRAM. The event sequence can then be replayed at a specified timestamp. This is of special advantage in cases where RTIO events are too closely placed to be generated as they are executed, as events can be replayed at a higher speed than the on-FPGA CPU alone is capable of.
The following example records an LED event sequence and replays it twice consecutively using \texttt{CoreDMA}. When run, the LED should blink twice.
\inputcolorboxminted{firstline=10,lastline=29}{examples/dma.py}
Stored waveforms can be referenced and replayed in different kernels, but cannot be retrieved and must be regenerated if the core device is rebooted.
\newpage
\subsection{Dataset manipulation with core device cache}
Experiments may require values computed or found in previously executed kernels. To avoid invoking an RPC or sacrificing the pre-computation in \texttt{prepare()} stage, data can be stored in the core device cache.
The following code snippets describe two experiments, in which the data from the first experiment is cached. The data is then retrieved and printed in hexadecimal form in the second experiment.
\inputcolorboxminted{firstline=9,lastline=16}{examples/cache.py}
\inputcolorboxminted{firstline=24,lastline=35}{examples/cache.py}
Similar to DMA, cached data is no longer retrievable once the core device has been rebooted.
\ordersection{1124 Carrier Kasli 2.0}
\finalfootnote
\end{document}

View File

@ -1,25 +1,5 @@
\documentclass[10pt]{datasheet} \input{preamble.tex}
\usepackage{palatino} \graphicspath{{images/2118-2128}{images}}
\usepackage{textgreek}
\usepackage{minted}
\usepackage{tcolorbox}
\usepackage{etoolbox}
\usepackage[justification=centering]{caption}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage[english]{isodate}
\usepackage{graphicx}
\usepackage{subfig}
\usepackage{tikz}
\usepackage{pgfplots}
\usepackage{circuitikz}
\usepackage{pifont}
\usetikzlibrary{calc}
\usetikzlibrary{fit,backgrounds}
\title{2118 BNC-TTL / 2128 SMA-TTL} \title{2118 BNC-TTL / 2128 SMA-TTL}
\author{M-Labs Limited} \author{M-Labs Limited}
@ -33,45 +13,34 @@
\section{Features} \section{Features}
\begin{itemize} \begin{itemize}
\item{8 channels.} \item{8 TTL channels}
\item{Input and output capable.} \item{Input- and output-capable}
\item{Galvanically isolated.} \item{Galvanically isolated}
\item{3ns minimum pulse width.} \item{3ns minimum pulse width}
\item{BNC or SMA connectors.} \item{BNC or SMA connectors}
\end{itemize} \end{itemize}
\section{Applications} \section{Applications}
\begin{itemize} \begin{itemize}
\item{Photon counting.} \item{Photon counting}
\item{External equipment trigger.} \item{External equipment trigger}
\item{Optical shutter control.} \item{Optical shutter control}
\end{itemize} \end{itemize}
\section{General Description} \section{General Description}
The 2118 BNC-TTL card is a 8hp EEM module, while the 2128 SMA-TTL card is a 4hp EEM module.
Both TTL cards add general-purpose digital I/O capabilities to carrier cards such as 1124 Kasli and 1125 Kasli-SoC.
Each card provides two banks of four digital channels each, with BNC (2118) or SMA (2128) connectors. The 2118 BNC-TTL card is an 8hp EEM module; the 2128 SMA-TTL is a 4hp EEM module. Both TTL cards add general-purpose digital I/O capabilities to carrier cards such as 1124 Kasli and 1125 Kasli-SoC.
Each bank has individual ground isolation.
The direction (input or output) of each bank can be selected using DIP switches.
Each channel supports 50\textOmega~terminations individually controllable using DIP switches.
Outputs tolerate short circuits indefinitely.
The card support a minimum pulse width of 3ns.
Each card provides two banks of four digital channels, for a total of eight digital channels, with respectively either BNC (2118) or SMA (2128) connectors. Each bank possesses individual ground isolation. The direction (input or output) of each bank can be selected using DIP switches, and applies to all four channels of the bank.
Each channel supports 50\textOmega~terminations, individually controllable using DIP switches. Outputs tolerate short circuits indefinitely.
Both cards are capable of a minimum pulse width of 3ns.
% Switch to next column % Switch to next column
\vfill\break \vfill\break
\newcommand*{\MyLabel}[3][2cm]{\parbox{#1}{\centering #2 \\ #3}}
\newcommand*{\MymyLabel}[3][4cm]{\parbox{#1}{\centering #2 \\ #3}}
\newcommand{\repeatfootnote}[1]{\textsuperscript{\ref{#1}}}
\newcommand{\inputcolorboxminted}[2]{%
\begin{tcolorbox}[colback=white]
\inputminted[#1, gobble=4]{python}{#2}
\end{tcolorbox}
}
\begin{figure}[h] \begin{figure}[h]
\centering \centering
\scalebox{0.88}{ \scalebox{0.88}{
@ -119,8 +88,6 @@ The card support a minimum pulse width of 3ns.
\draw (0,0) circle(0.8); \draw (0,0) circle(0.8);
\end{scope} \end{scope}
\draw (1.6,-1.05) node[twoportshape,t={IO Bus Transceiver}, circuitikz/bipoles/twoport/width=2.5, scale=0.7, rotate=-90 ] (bus1) {}; \draw (1.6,-1.05) node[twoportshape,t={IO Bus Transceiver}, circuitikz/bipoles/twoport/width=2.5, scale=0.7, rotate=-90 ] (bus1) {};
\draw (3.05,-0) node[twoportshape,t={Isolator}, circuitikz/bipoles/twoport/width=1.3, scale=0.4] (iso1) {}; \draw (3.05,-0) node[twoportshape,t={Isolator}, circuitikz/bipoles/twoport/width=1.3, scale=0.4] (iso1) {};
@ -129,15 +96,15 @@ The card support a minimum pulse width of 3ns.
\draw (3.05,-2.1) node[twoportshape,t={Isolator}, circuitikz/bipoles/twoport/width=1.3, scale=0.4] (iso4) {}; \draw (3.05,-2.1) node[twoportshape,t={Isolator}, circuitikz/bipoles/twoport/width=1.3, scale=0.4] (iso4) {};
\draw (3.05,-2.7) node[twoportshape,t={Isolator}, circuitikz/bipoles/twoport/width=1.3, scale=0.4] (i2ciso1) {}; \draw (3.05,-2.7) node[twoportshape,t={Isolator}, circuitikz/bipoles/twoport/width=1.3, scale=0.4] (i2ciso1) {};
\draw (4.5,-1.15) node[twoportshape,t=\MymyLabel{4-Channel LVDS}{Line Transceiver}, circuitikz/bipoles/twoport/width=2.6, scale=0.7, rotate=-90] (lvds1) {}; \draw (4.5,-1.15) node[twoportshape,t=\fourcm{4-Channel LVDS}{Line Transceiver}, circuitikz/bipoles/twoport/width=2.6, scale=0.7, rotate=-90] (lvds1) {};
\draw (6.8,-0.9) -- ++(0.00001,0) node[twoportshape, anchor=left, t={EEM port}, circuitikz/bipoles/twoport/width=6, scale=0.6, rotate=-90] (kasli) {} ; \draw (6.8,-0.9) -- ++(0.00001,0) node[twoportshape, anchor=left, t={EEM port}, circuitikz/bipoles/twoport/width=6, scale=0.6, rotate=-90] (kasli) {} ;
\draw (0.8,-3.5) node[twoportshape,t=\MymyLabel{Per-bank \phantom{spac} }{Input/Output Switch}, circuitikz/bipoles/twoport/width=2.7, scale=0.44] (ioswitch) {}; \draw (0.8,-3.5) node[twoportshape,t=\fourcm{Per-bank \phantom{spac} }{Input/Output Switch}, circuitikz/bipoles/twoport/width=2.7, scale=0.44] (ioswitch) {};
\draw (3.05,-3.5) node[twoportshape,t=\MymyLabel{IO Expander}{for I2C Bus}, circuitikz/bipoles/twoport/width=1.8, scale=0.5] (i2c) {}; \draw (3.05,-3.5) node[twoportshape,t=\fourcm{IO Expander}{for I2C Bus}, circuitikz/bipoles/twoport/width=1.8, scale=0.5] (i2c) {};
\draw (5.68,-2.3) node[twoportshape,t=EEPROM, circuitikz/bipoles/twoport/width=1.2, scale=0.5] (eeprom) {}; \draw (5.68,-2.3) node[twoportshape,t=EEPROM, circuitikz/bipoles/twoport/width=1.2, scale=0.5] (eeprom) {};
\draw (0.8,-2.7) node[twoportshape,t=\MymyLabel{High-Z/50\textOmega}{Switch \phantom{ssssss} }, circuitikz/bipoles/twoport/width=2, scale=0.4] (termswitch1) {}; \draw (0.8,-2.7) node[twoportshape,t=\fourcm{High-Z/50\textOmega}{Switch \phantom{ssssss} }, circuitikz/bipoles/twoport/width=2, scale=0.4] (termswitch1) {};
% Termination Switch 1,2,3,4 % Termination Switch 1,2,3,4
\begin{scope}[xshift=0.9cm, yshift=-2.66cm, scale=0.12, every node/.style={scale=0.1}, rotate=-90 ] \begin{scope}[xshift=0.9cm, yshift=-2.66cm, scale=0.12, every node/.style={scale=0.1}, rotate=-90 ]
@ -175,7 +142,7 @@ The card support a minimum pulse width of 3ns.
\draw (1.25,0)to[short,o-](1.6,0); \draw (1.25,0)to[short,o-](1.6,0);
\end{scope} \end{scope}
\draw (0.8,-3.05) node[twoportshape,t=\MymyLabel{High-Z/50\textOmega}{Switch \phantom{ssssss} }, circuitikz/bipoles/twoport/width=2, scale=0.4] (termswitch2) {}; \draw (0.8,-3.05) node[twoportshape,t=\fourcm{High-Z/50\textOmega}{Switch \phantom{ssssss} }, circuitikz/bipoles/twoport/width=2, scale=0.4] (termswitch2) {};
% Termination Switch 5,6,7,8 % Termination Switch 5,6,7,8
\begin{scope}[xshift=0.9cm, yshift=-3.02cm, scale=0.12, every node/.style={scale=0.1}, rotate=-90 ] \begin{scope}[xshift=0.9cm, yshift=-3.02cm, scale=0.12, every node/.style={scale=0.1}, rotate=-90 ]
@ -250,7 +217,7 @@ The card support a minimum pulse width of 3ns.
\draw (3.05,-2.1) node[twoportshape,t={Isolator}, circuitikz/bipoles/twoport/width=1.3, scale=0.4] (iso8) {}; \draw (3.05,-2.1) node[twoportshape,t={Isolator}, circuitikz/bipoles/twoport/width=1.3, scale=0.4] (iso8) {};
\draw (3.05,0.6) node[twoportshape,t={Isolator}, circuitikz/bipoles/twoport/width=1.3, scale=0.4] (i2ciso2) {}; \draw (3.05,0.6) node[twoportshape,t={Isolator}, circuitikz/bipoles/twoport/width=1.3, scale=0.4] (i2ciso2) {};
\draw (4.5,-1.05) node[twoportshape,t=\MymyLabel{4-Channel LVDS}{Line Transceiver}, circuitikz/bipoles/twoport/width=2.6, scale=0.7, rotate=-90] (lvds2) {}; \draw (4.5,-1.05) node[twoportshape,t=\fourcm{4-Channel LVDS}{Line Transceiver}, circuitikz/bipoles/twoport/width=2.6, scale=0.7, rotate=-90] (lvds2) {};
\end{scope} \end{scope}
@ -327,47 +294,41 @@ The card support a minimum pulse width of 3ns.
\begin{figure}[hbt!] \begin{figure}[hbt!]
\centering \centering
\subfloat[\centering BNC-TTL]{{ \includegraphics[height=1.8in]{photo2118-2128.jpg }
\includegraphics[height=1.8in]{DIO_BNC_FP.jpg} \caption{BNC-TTL and SMA-TTL cards}%
\includegraphics[height=1.8in]{photo2118.jpg} \includegraphics[angle=90, height=0.7in]{DIO_BNC_FP.jpg}
}}% \includegraphics[angle=90, height=0.4in]{DIO_SMA_FP.jpg}
\subfloat[\centering SMA-TTL]{{ \caption{BNC-TTL and SMA-TTL front panels}%
\includegraphics[height=1.8in]{DIO_SMA_FP.jpg}
\includegraphics[height=1.8in]{photo2128.jpg}
}}%
\caption{BNC-TTL/SMA-TTL Card photos}%
\label{fig:example}% \label{fig:example}%
\end{figure} \end{figure}
% For wide tables, a single column layout is better. It can be switched
% page-by-page.
\onecolumn \onecolumn
\sourcesectiond{2118 BNC-TTL}{2128 SMA-TTL}{https://github.com/sinara-hw/DIO_BNC}{https://github.com/sinara-hw/DIO_SMA}
\section{Electrical Specifications} \section{Electrical Specifications}
All specifications are in $0\degree C \leq T_A \leq 70\degree C$ unless otherwise noted. All specifications are in $0\degree C \leq T_A \leq 70\degree C$ unless otherwise noted.
Specifications are based on the bus transceivers IC (SN74BCT25245DW\footnote{\label{transceiver}https://www.ti.com/lit/ds/symlink/sn74bct25245.pdf}) Specifications were derived based on the datasheets of the bus transceiver IC (SN74BCT25245DW\footnote{\label{transceiver}\url{https://www.ti.com/lit/ds/symlink/sn74bct25245.pdf}}) and the isolator IC (SI8651BB-B-IS1\footnote{\label{isolator}\url{https://www.skyworksinc.com/-/media/Skyworks/SL/documents/public/data-sheets/si865x-datasheet.pdf}}). The typical value of minimum pulse width is based on test results\footnote{\label{sinara187}\url{https://github.com/sinara-hw/sinara/issues/187}}.
and the isolator IC (SI8651BB-B-IS1\footnote{\label{isolator}https://www.skyworksinc.com/-/media/Skyworks/SL/documents/public/data-sheets/si865x-datasheet.pdf}).
The typical value of minimum pulse width is based on test results\footnote{\label{sinara187}https://github.com/sinara-hw/sinara/issues/187}.
\begin{table}[h] \begin{table}[h]
\begin{threeparttable} \begin{threeparttable}
\caption{Recommended Operating Conditions} \caption{Recommended Operating Conditions}
\begin{tabularx}{\textwidth}{l | c | c c c | c | X} \begin{tabularx}{\textwidth}{l | c c c | c | X}
\thickhline \thickhline
\textbf{Parameter} & \textbf{Symbol} & \textbf{Min.} & \textbf{Typ.} & \textbf{Max.} & \textbf{Parameter} & \textbf{Min.} & \textbf{Typ.} & \textbf{Max.} &
\textbf{Unit} & \textbf{Conditions} \\ \textbf{Unit} & \textbf{Conditions} \\
\hline \hline
High-level input voltage\repeatfootnote{transceiver} & $V_{IH}$ & 2 & & 5.5* & V & \\ High-level input voltage\repeatfootnote{transceiver} & 2 & & 5.5* & V & \\
\hline \hline
Low-level input voltage\repeatfootnote{transceiver} & $V_{IL}$ & -0.5 & & 0.8 & V & \\ Low-level input voltage\repeatfootnote{transceiver} & -0.5 & & 0.8 & V & \\
\hline \hline
Input clamp current\repeatfootnote{transceiver} & $I_{OH}$ & & & -18 & mA & termination disabled \\ Input clamp current\repeatfootnote{transceiver} & & & -18 & mA & termination disabled \\
\hline \hline
High-level output current\repeatfootnote{transceiver} & $I_{OH}$ & & & -160 & mA & \\ High-level output current\repeatfootnote{transceiver} & & & -160 & mA & \\
\hline \hline
Low-level output current\repeatfootnote{transceiver} & $I_{OL}$ & & & 376 & mA & \\ Low-level output current\repeatfootnote{transceiver} & & & 376 & mA & \\
\thickhline \thickhline
\multicolumn{7}{l}{*With the 50\textOmega~termination enabled, the input voltage should not exceed 5V.} \multicolumn{6}{l}{*With the 50\textOmega~termination enabled, the input voltage should not exceed 5V.}
\end{tabularx} \end{tabularx}
\end{threeparttable} \end{threeparttable}
\end{table} \end{table}
@ -375,165 +336,52 @@ The typical value of minimum pulse width is based on test results\footnote{\labe
\begin{table}[h] \begin{table}[h]
\begin{threeparttable} \begin{threeparttable}
\caption{Electrical Characteristics} \caption{Electrical Characteristics}
\begin{tabularx}{\textwidth}{l | c | c c c | c | X} \begin{tabularx}{\textwidth}{l | c c c | c | X}
\thickhline \thickhline
\textbf{Parameter} & \textbf{Symbol} & \textbf{Min.} & \textbf{Typ.} & \textbf{Max.} & \textbf{Parameter} & \textbf{Min.} & \textbf{Typ.} & \textbf{Max.} &
\textbf{Unit} & \textbf{Conditions} \\ \textbf{Unit} & \textbf{Conditions} \\
\hline \hline
High-level output voltage\repeatfootnote{transceiver} & $V_{OH}$ & 2 & & & V & $I_{OH}$=-160mA \\ High-level output voltage\repeatfootnote{transceiver} & 2 & & & V & $I_{OH}$=-160mA \\
& & 2.7 & & & V & $I_{OH}$=-6mA \\ & 2.7 & & & V & $I_{OH}$=-6mA \\
\hline \hline
Low-level output voltage\repeatfootnote{transceiver} & $V_{OL}$ & & 0.42 & 0.55 & V & $I_{OL}$=188mA \\ Low-level output voltage\repeatfootnote{transceiver} & & 0.42 & 0.55 & V & $I_{OL}$=188mA \\
& & & & 0.7 & V & $I_{OL}$=376mA \\ & & & 0.7 & V & $I_{OL}$=376mA \\
\hline \hline
Minimum pulse width\repeatfootnote{isolator}\textsuperscript{,}\repeatfootnote{sinara187} & & & 3 & 5 & ns & \\ Minimum pulse width\repeatfootnote{isolator}\textsuperscript{,}\repeatfootnote{sinara187} & & 3 & 5 & ns & \\
\hline \hline
Pulse width distortion\repeatfootnote{isolator} & $PWD$ & & 0.2 & 4.5 & ns & \\ Pulse width distortion\repeatfootnote{isolator} & & 0.2 & 4.5 & ns & \\
\hline \hline
Peak jitter\repeatfootnote{isolator} & $T_{JIT(PK)}$ & & 350 & & ps & \\ Peak jitter\repeatfootnote{isolator} & & 350 & & ps & \\
\hline \hline
Data rate\repeatfootnote{isolator} & & 0 & & 150 & Mbps & \\ Data rate\repeatfootnote{isolator} & 0 & & 150 & Mbps & \\
\thickhline \thickhline
\end{tabularx} \end{tabularx}
\end{threeparttable} \end{threeparttable}
\end{table} \end{table}
\newpage Minimum pulse width was measured by generating pulses of progressively longer duration through a DDS generator and using them as input for a BNC-TTL card. The input BNC-TTL card was connected to another BNC-TTL card as output. The output signal is measured and shown in Figure \ref{fig:pulsewidth}.
Minimum pulse width was measured\repeatfootnote{sinara187}. \begin{figure}[ht]
Pulses were generated from a DDS generator as an input of a BNC-TTL card.
The input BNC-TTL card is connected to another BNC-TTL card as an output.
The output signal is measured and shown.
\begin{figure}[h]
\centering \centering
\includegraphics[height=3in]{bnc_ttl_min_pulse_width.png} \includegraphics[height=3in]{bnc_ttl_min_pulse_width.png}
\caption{Minimum pulse width required for BNC-TTL card} \caption{Minimum pulse width required for BNC-TTL card}
\label{fig:pulsewidth}
\end{figure} \end{figure}
The red trace refers to the input pulses from the DDS generator, while the blue trace is the measured signal from the output BNC-TTL card.
Note that the first input (red) pulse could not propagate through the signal chain.
The first output (blue) pulse is the result of the second input (red, 3ns width) pulse.
\newpage \newpage
\section{Front Panel Drawings} The red trace shows the DDS generator input pulses. The blue trace shows the measured signal from the output BNC-TTL. Note that the first red pulse failed to reach the 2.1V threshold required by TTL and was not propagated. The first blue (output) pulse is the result of the second red (input) pulse, of 3ns width, which propagated correctly.
\begin{multicols}{2}
\begin{center}
\centering
\includegraphics[height=2.8in]{bnc_ttl_drawings.pdf}
\captionof{figure}{2118 BNC-TTL front panel drawings}
\end{center}
\columnbreak
\begin{center}
\centering
\includegraphics[height=2.8in]{bnc_ttl_assembly.pdf}
\captionof{figure}{2118 BNC-TTL front panel assembly}
\end{center}
\end{multicols}
\begin{multicols}{2}
\begin{center}
\captionof{table}{Bill of Material (2118 Standalone)}
\tiny
\begin{tabular}{|c|c|c|c|}
\hline
Index & Part No. & Qty & Description \\ \hline
1 & 90560220 & 1 & FP-FRONT PANEL, EXTRUDED, TYPE 2, STATIC, 3Ux8HP \\ \hline
2 & 3218843 & 2 & FP-ALIGNMENT PIN (LOCALIZATION) \\ \hline
3 & 3020716 & 0.04 & SLEEVE GREY PLAS.M2.5 (100PCS) \\ \hline
\end{tabular}
\end{center}
\columnbreak
\begin{center}
\captionof{table}{Bill of Material (2118 Standalone)}
\tiny
\begin{tabular}{|c|c|c|c|}
\hline
Index & Part No. & Qty & Description \\ \hline
1 & 90457987 & 4 & CSCR M2.5*12.3 PAN PHL SS \\ \hline
2 & 3040138 & 2 & PB HOLDER DIE-CAST \\ \hline
3 & 3001012 & 2 & SCR M2.5*6 PAN PHL NI DIN7985 \\ \hline
4 & 3010110 & 0.02 & WASHER PLN.M2.7 DIN125 (100X) \\ \hline
5 & 3201099 & 0.01 & SCR M2.5*8 OVL PHL ST NI 100EA \\ \hline
6 & 3040005 & 1 & HANDLE 8HP GREY PLASTIC \\ \hline
7 & 3207076 & 0.01 & SCR M2.5*16 PAN 100 21101-222 \\ \hline
8 & 3207075 & 0.01 & SCR M2.5*12 PAN 100 21101-221 \\ \hline
9 & 3010124 & 0.1 & EMC GASKET FABRIC 3U (10PCS) \\ \hline
10 & 3201130 & 0.01 & NUT M2.5 HEX ST NI KIT(100PCS) \\ \hline
11 & 90560220 & 1 & FP-LYKJ 3U8HP PANEL \\ \hline
\end{tabular}
\end{center}
\end{multicols}
\begin{multicols}{2}
\begin{center}
\centering
\includegraphics[height=3in]{sma_ttl_drawings.pdf}
\captionof{figure}{2128 SMA-TTL front panel drawings}
\end{center}
\columnbreak
\begin{center}
\centering
\includegraphics[height=3in]{sma_ttl_assembly.pdf}
\captionof{figure}{2128 SMA-TTL front panel assembly}
\end{center}
\end{multicols}
\begin{multicols}{2}
\begin{center}
\captionof{table}{Bill of Material (2128 Standalone)}
\tiny
\begin{tabular}{|c|c|c|c|}
\hline
Index & Part No. & Qty & Description \\ \hline
1 & 90531967 & 1 & FRONT PANEL 3U 4HP PIU TYPE2 \\ \hline
2 & 3020716 & 0.02 & SLEEVE GREY PLAS.M2.5 (100PCS) \\ \hline
3 & 3218843 & 2 & FP-ALIGNMENT PIN (LOCALIZATION) \\ \hline
\end{tabular}
\end{center}
\columnbreak
\begin{center}
\captionof{table}{Bill of Material (2128 Assembled)}
\tiny
\begin{tabular}{|c|c|c|c|}
\hline
Index & Part No. & Qty & Description \\ \hline
1 & 90531967 & 1 & FP-LYKJ 3U4HP PANEL \\ \hline
2 & 3001012 & 2 & SCR M2.5*6 PAN PHL NI DIN7985 \\ \hline
3 & 3010110 & 0.02 & WASHER PLN.M2.7 DIN125 (100X) \\ \hline
4 & 3010124 & 0.1 & EMC GASKET FABRIC 3U (10PCS) \\ \hline
5 & 3001012 & 1 & HANDLE 4HP GREY PLASTIC \\ \hline
6 & 3040138 & 2 & PB HOLDER DIE-CAST \\ \hline
7 & 3207075 & 0.01 & SCR M2.5*12 PAN 100 21101-221 \\ \hline
8 & 3033098 & 0.02 & SCREW COLLAR M2.5X12.3 (100X) \\ \hline
9 & 3201099 & 0.01 & SCR M2.5*8 OVL PHL ST NI 100EA \\ \hline
\end{tabular}
\end{center}
\end{multicols}
\section{Configuring IO Direction \& Termination} \section{Configuring IO Direction \& Termination}
The termination and IO direction can be configured by switches.
The per-channel termination and per-bank IO direction switches are found at the middle-left and middle-right of both cards respectively.
Termination switches selects the termination of each channel, between high impedence (OFF) and 50\textOmega~(ON). IO direction and termination must be configured by setting physical switches on the board. The termination switches are found on the middle-left and the IO direction switches on the middle-right of both cards. Termination switches select between high impedance (\texttt{OFF}) and 50\textOmega~(\texttt{ON}). Note that termination switches are by-channel but IO direction switches are by-bank.
IO direction switches partly decides the IO direction of each bank.
\begin{itemize} \begin{itemize}
\itemsep0em \itemsep0em
\item Closed switch (ON) \\ \item IO direction switch closed (\texttt{ON}) \\
Fix the corresponding bank to output. The direction cannot be changed by I\textsuperscript{2}C. Fixes the corresponding bank to output. The IO direction cannot be changed by I\textsuperscript{2}C.
\item Opened switch (OFF) \\ \item IO direction switch open (OFF) \\
Switch to input mode. The direction is input by default. Configurable by I\textsuperscript{2}C. The corresponding bank is set to input by default. IO direction \textit{can} be changed by I\textsuperscript{2}C.
\end{itemize} \end{itemize}
\begin{figure}[hbt!] \begin{figure}[hbt!]
@ -548,60 +396,73 @@ IO direction switches partly decides the IO direction of each bank.
\end{figure} \end{figure}
\newpage \newpage
\section{Example ARTIQ code} \codesection{2118 BNC-TTL/2128 SMA-TTL cards}
The sections below demonstrate simple usage scenarios of the 2118 BNC-TTL/2128 SMA-TTL card with the ARTIQ control system.
They do not exhaustively demonstrate all the features of the ARTIQ system.
The full documentation for the ARTIQ software and gateware is available at \url{https://m-labs.hk}.
Timing accuracy in the examples below is well under 1 nanosecond thanks to the ARTIQ RTIO system. Timing accuracy in these examples is well under 1 nanosecond thanks to ARTIQ RTIO infrastructure.
\subsection{One pulse per second} \subsection{One pulse per second}
The channel should be configured as output in both the gateware and hardware. The channel should be configured as output in both the gateware and hardware.
\inputcolorboxminted{firstline=9,lastline=14}{examples/ttl.py} \inputcolorboxminted{firstline=9,lastline=14}{examples/ttl.py}
\subsection{Sub-coarse-RTIO-cycle pulse}
With the use of the ARTIQ RTIO, only 1 event can be enqueued per coarse RTIO cycle, which is typically 8ns.
Therefore, to emit a pulse that is less than 8ns, additional delay is needed such that the \texttt{ttl.on()} \& \texttt{ttl.off()} event are submitted at different coarse RTIO cycles.
The TTL pulse must satisfy the minimum pulse width stated in the electircal specifications.
\inputcolorboxminted{firstline=88,lastline=92}{examples/ttl.py}
\newpage
\subsection{Morse code} \subsection{Morse code}
This example demonstrates some basic algorithmic features of the ARTIQ-Python language. This example demonstrates some basic algorithmic features of the ARTIQ-Python language.
\inputcolorboxminted{firstline=22,lastline=39}{examples/ttl.py} \inputcolorboxminted{firstline=22,lastline=39}{examples/ttl.py}
\subsection{Counting rising edges in a 1ms window} \newpage
The channel should be configured as input in both the gateware and hardware. \subsection{Sub-coarse-RTIO-cycle pulse}
\inputcolorboxminted{firstline=47,lastline=52}{examples/ttl.py} With the use of ARTIQ RTIO, only one event can be enqueued per \textit{coarse RTIO cycle}, which typically corresponds to 8ns. To emit pulses of less than 8ns, careful timing is needed to ensure that the \texttt{ttl.on()} \& \texttt{ttl.off()} event are submitted during different coarse RTIO cycles.
This example code uses the software counter, which has a maximum count rate of approximately 1 million events per second. \inputcolorboxminted{firstline=60,lastline=64}{examples/ttl.py}
If the gateware counter is enabled on the TTL channel, it can typically count up to 125 million events per second:
\inputcolorboxminted{firstline=60,lastline=65}{examples/ttl.py}
To count falling edges or both rising \& falling edges, use \texttt{gate\char`_falling()} or \texttt{gate\char`_both()}. \subsection{Edge counting in a 1ms window}
The \texttt{TTLInOut} class implements \texttt{gate\char`_rising()}, \texttt{gate\char`_falling()} \& \texttt{gate\char`_both()} for rising edge, falling edge, both rising edge \& falling edge detection respectively.
The channel should be configured as input in both gateware and hardware. Invoke one of the 3 methods to start edge detection.
\inputcolorboxminted{firstline=14,lastline=15}{examples/ttl_in.py}
Input signal can generated from another TTL channel or from other sources. Manipulate the timeline cursor to generate TTL pulses using the same kernel.
\inputcolorboxminted{firstline=10,lastline=22}{examples/ttl_in.py}
The detected edges are registered to the RTIO input FIFO. By default, the FIFO can hold 64 events. The FIFO depth is defined by the \texttt{ififo\char`_depth} parameter for \texttt{Channel} class in \texttt{rtio/channel.py}.
Once the threshold is exceeded, an \texttt{RTIOOverflow} exception will be triggered when the input events are read by the kernel CPU.
Finally, invoke \texttt{count()} to retrieve the edge count from the input gate.
The RTIO system can report at most one edge detection event for every coarse RTIO cycle. In principle, to guarantee all rising edges are counted (with \texttt{gate\char`_rising()} invoked), the theoretical minimum separation between rising edges is one coarse RTIO cycle (typically 8 ns). However, both the electrical specifications and the possibility of triggering \texttt{RTIOOverflow} exceptions should also be considered.
\newpage \newpage
\subsection{Edge counting using \texttt{EdgeCounter}}
This example code uses a gateware counter to substitute the software counter, which has a maximum count rate of approximately 1 million events per second. If a gateware counter is enabled on the TTL channel, it can typically count up to 125 million events per second:
\inputcolorboxminted{firstline=31,lastline=36}{examples/ttl_in.py}
Edges are detected by comparing the current input state and that of the previous coarse RTIO cycle. Therefore, the theoretical minimum separation between 2 opposite edges is 1 coarse RTIO cycle (typically 8 ns).
\subsection{Responding to an external trigger} \subsection{Responding to an external trigger}
One channel needs to be configured as input, and the other as output. One channel needs to be configured as input, and the other as output.
\inputcolorboxminted{firstline=74,lastline=80}{examples/ttl.py} \inputcolorboxminted{firstline=45,lastline=51}{examples/ttl_in.py}
\subsection{62.5 MHz clock signal generation} \subsection{62.5 MHz clock signal generation}
A TTL channel can be configured as a \texttt{ClockGen} channel, which generates a periodic clock signal. A TTL channel can be configured as a \texttt{ClockGen} channel, which generates a periodic clock signal. Each channel has a phase accumulator operating on the RTIO clock, where it is incremented by the frequency tuning word at each coarse RTIO cycle. Therefore, jitter should be expected when the desired frequency cannot be obtained by dividing the coarse RTIO clock frequency with a power of 2.
Each channel has a phase accumulator operating on the RTIO clock, where it is incremented by the frequency tuning word at each coarse RTIO cycle.
Therefore, jitter should be expected when the desired frequency cannot be obtained by dividing the coarse RTIO clock frequency with a power of 2. \\
Typically, with the coarse RTIO clock at 125 MHz, a \texttt{ClockGen} channel can generate up to 62.5 MHz. Typically, with the coarse RTIO clock at 125 MHz, a \texttt{ClockGen} channel can generate up to 62.5 MHz.
\inputcolorboxminted{firstline=100,lastline=103}{examples/ttl.py}
\section{Ordering Information} \inputcolorboxminted{firstline=72,lastline=75}{examples/ttl.py}
To order, please visit \url{https://m-labs.hk} and select the 2118 BNC-TTL/2128 SMA-TTL in the ARTIQ Sinara crate configuration tool. The card may also be ordered separately by writing to \url{mailto:sales@m-labs.hk}.
\section*{} \newpage
\vspace*{\fill} \subsection{Minimum sustained event separation}
The minimum sustained event separation is the least time separation between input gated events for which all gated edges can be continuously \& reliabily timestamped by the RTIO system without causing \texttt{RTIOOverflow} exceptions. The following \texttt{run()} function finds the separation by approximating the time of running \texttt{timestamp\char`_mu()} as a constant. Import the \texttt{time} library to use \texttt{time.sleep()}.
\begin{footnotesize} \inputcolorboxminted{firstline=63,lastline=98}{examples/ttl_in.py}
Information furnished by M-Labs Limited is provided in good faith in the hope that it will be useful. However, no responsibility is assumed by M-Labs Limited for its use. Specifications may be subject to change without notice.
\end{footnotesize} \begin{center}
\begin{table}[H]
\captionof{table}{Minimum sustained event separation of different carriers}
\centering
\begin{tabular}{|c|c|c|}
\hline
Carrier & Kasli v1.1 & Kasli-SoC \\ \hline
Duration & 650 ns & 600 ns \\ \hline
\end{tabular}
\end{table}
\end{center}
\ordersection{2118 BNC-TTL/2128 SMA-TTL}
\finalfootnote
\end{document} \end{document}

168
2238.tex
View File

@ -1,24 +1,5 @@
\documentclass[10pt]{datasheet} \input{preamble.tex}
\usepackage{palatino} \graphicspath{{images/2238}{images}}
\usepackage{textgreek}
\usepackage{minted}
\usepackage{tcolorbox}
\usepackage{etoolbox}
\usepackage[justification=centering]{caption}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage[english]{isodate}
\usepackage{graphicx}
\usepackage{subfig}
\usepackage{tikz}
\usepackage{pgfplots}
\usepackage{circuitikz}
\usetikzlibrary{calc}
\usetikzlibrary{fit,backgrounds}
\title{2238 MCX-TTL} \title{2238 MCX-TTL}
\author{M-Labs Limited} \author{M-Labs Limited}
@ -32,43 +13,32 @@
\section{Features} \section{Features}
\begin{itemize} \begin{itemize}
\item{16 channels.} \item{16 MCX-TTL channels}
\item{Input and output capable.} \item{Input and output capable}
\item{No galvanic isolation.} \item{No galvanic isolation}
\item{High speed and low jitter.} \item{High speed and low jitter}
\item{MCX connectors.} \item{MCX connectors}
\end{itemize} \end{itemize}
\section{Applications} \section{Applications}
\begin{itemize} \begin{itemize}
\item{Photon counting.} \item{Photon counting}
\item{External equipment trigger.} \item{External equipment trigger}
\item{Optical shutter control.} \item{Optical shutter control}
\end{itemize} \end{itemize}
\section{General Description} \section{General Description}
The 2238 MCX-TTL card is a 4hp EEM module.
It adds general-purpose digital I/O capabilities to carrier cards such as 1124 Kasli and 1125 Kasli-SoC.
Each card provides four banks of four digital channels each, with MCX connectors, controlled through 2 EEM connectors. The 2238 MCX-TTL card is a 4hp EEM module. It adds general-purpose digital I/O capabilities to carrier cards such as 1124 Kasli and 1125 Kasli-SoC.
Each EEM connector controls two banks independently.
Single EEM operation is possible. Each card provides four banks of four digital channels each for a total of sixteen digital channels, with MCX connectors in the front panel, controlled through two EEM connectors. Each individual EEM connector controls two banks independently. Single EEM operation is possible. The direction (input or output) of each bank can be selected using DIP switches, and applies to all four channels of the bank.
The direction (input or output) of each bank can be selected using DIP switches.
Each channel supports 50\textOmega~terminations individually controllable using DIP switches. Each channel supports 50\textOmega~terminations individually controllable using DIP switches. This card can achieve higher speed and lower jitter than the isolated 2118/2128 BNC/SMA-TTL cards.
This card can achieve higher speed and lower jitter than the isolated 2118/2128 BNC/SMA-TTL cards.
% Switch to next column % Switch to next column
\vfill\break \vfill\break
\newcommand*{\MyLabel}[3][2cm]{\parbox{#1}{\centering #2 \\ #3}}
\newcommand*{\MymyLabel}[3][4cm]{\parbox{#1}{\centering #2 \\ #3}}
\newcommand{\inputcolorboxminted}[2]{%
\begin{tcolorbox}[colback=white]
\inputminted[#1, gobble=4]{python}{#2}
\end{tcolorbox}
}
\begin{figure}[h] \begin{figure}[h]
\centering \centering
\scalebox{0.88}{ \scalebox{0.88}{
@ -241,12 +211,12 @@ This card can achieve higher speed and lower jitter than the isolated 2118/2128
\node[fill=white, scale=0.7, rotate=-90] at (bank3.west) {Bank 3}; \node[fill=white, scale=0.7, rotate=-90] at (bank3.west) {Bank 3};
% Draw bus transceivers % Draw bus transceivers
\draw (3.25, -0.7) node[twoportshape,t=\MymyLabel{IO Bus}{Transceivers}, circuitikz/bipoles/twoport/width=3.2, scale=0.7, rotate=-90 ] (bus0) {}; \draw (3.25, -0.7) node[twoportshape,t=\fourcm{IO Bus}{Transceivers}, circuitikz/bipoles/twoport/width=3.2, scale=0.7, rotate=-90 ] (bus0) {};
\draw (3.25, -5.6) node[twoportshape,t=\MymyLabel{IO Bus}{Transceivers}, circuitikz/bipoles/twoport/width=3.2, scale=0.7, rotate=-90 ] (bus1) {}; \draw (3.25, -5.6) node[twoportshape,t=\fourcm{IO Bus}{Transceivers}, circuitikz/bipoles/twoport/width=3.2, scale=0.7, rotate=-90 ] (bus1) {};
% Draw termination switches % Draw termination switches
% Bus transceiver 0 % Bus transceiver 0
\draw (1.7, 1.2) node[twoportshape,t=\MymyLabel{High-Z/50\textOmega}{Switch \phantom{ssssss} }, circuitikz/bipoles/twoport/width=2, scale=0.4] (termswitch0) {}; \draw (1.7, 1.2) node[twoportshape,t=\fourcm{High-Z/50\textOmega}{Switch \phantom{ssssss} }, circuitikz/bipoles/twoport/width=2, scale=0.4] (termswitch0) {};
\begin{scope}[xshift=1.8cm, yshift=1.23cm, scale=0.12, every node/.style={scale=0.1}, rotate=-90 ] \begin{scope}[xshift=1.8cm, yshift=1.23cm, scale=0.12, every node/.style={scale=0.1}, rotate=-90 ]
\draw (0.4,0) to[short,-o](0.75,0); \draw (0.4,0) to[short,-o](0.75,0);
\draw (0.78,0)-- +(30:0.46); \draw (0.78,0)-- +(30:0.46);
@ -269,7 +239,7 @@ This card can achieve higher speed and lower jitter than the isolated 2118/2128
\end{scope} \end{scope}
% Bus transceiver 1 % Bus transceiver 1
\draw (1.5, -2.6) node[twoportshape,t=\MymyLabel{High-Z/50\textOmega}{Switch \phantom{ssssss} }, circuitikz/bipoles/twoport/width=2, scale=0.4] (termswitch1) {}; \draw (1.5, -2.6) node[twoportshape,t=\fourcm{High-Z/50\textOmega}{Switch \phantom{ssssss} }, circuitikz/bipoles/twoport/width=2, scale=0.4] (termswitch1) {};
\begin{scope}[xshift=1.6cm, yshift=-2.57cm, scale=0.12, every node/.style={scale=0.1}, rotate=-90 ] \begin{scope}[xshift=1.6cm, yshift=-2.57cm, scale=0.12, every node/.style={scale=0.1}, rotate=-90 ]
\draw (0.4,0) to[short,-o](0.75,0); \draw (0.4,0) to[short,-o](0.75,0);
\draw (0.78,0)-- +(30:0.46); \draw (0.78,0)-- +(30:0.46);
@ -292,7 +262,7 @@ This card can achieve higher speed and lower jitter than the isolated 2118/2128
\end{scope} \end{scope}
% Bus transceiver 2 % Bus transceiver 2
\draw (1.7, -3.7) node[twoportshape,t=\MymyLabel{High-Z/50\textOmega}{Switch \phantom{ssssss} }, circuitikz/bipoles/twoport/width=2, scale=0.4] (termswitch2) {}; \draw (1.7, -3.7) node[twoportshape,t=\fourcm{High-Z/50\textOmega}{Switch \phantom{ssssss} }, circuitikz/bipoles/twoport/width=2, scale=0.4] (termswitch2) {};
\begin{scope}[xshift=1.8cm, yshift=-3.67cm, scale=0.12, every node/.style={scale=0.1}, rotate=-90 ] \begin{scope}[xshift=1.8cm, yshift=-3.67cm, scale=0.12, every node/.style={scale=0.1}, rotate=-90 ]
\draw (0.4,0) to[short,-o](0.75,0); \draw (0.4,0) to[short,-o](0.75,0);
\draw (0.78,0)-- +(30:0.46); \draw (0.78,0)-- +(30:0.46);
@ -315,7 +285,7 @@ This card can achieve higher speed and lower jitter than the isolated 2118/2128
\end{scope} \end{scope}
% Bus transceiver 3 % Bus transceiver 3
\draw (1.5, -7.5) node[twoportshape,t=\MymyLabel{High-Z/50\textOmega}{Switch \phantom{ssssss} }, circuitikz/bipoles/twoport/width=2, scale=0.4] (termswitch3) {}; \draw (1.5, -7.5) node[twoportshape,t=\fourcm{High-Z/50\textOmega}{Switch \phantom{ssssss} }, circuitikz/bipoles/twoport/width=2, scale=0.4] (termswitch3) {};
\begin{scope}[xshift=1.6cm, yshift=-7.47cm, scale=0.12, every node/.style={scale=0.1}, rotate=-90 ] \begin{scope}[xshift=1.6cm, yshift=-7.47cm, scale=0.12, every node/.style={scale=0.1}, rotate=-90 ]
\draw (0.4,0) to[short,-o](0.75,0); \draw (0.4,0) to[short,-o](0.75,0);
\draw (0.78,0)-- +(30:0.46); \draw (0.78,0)-- +(30:0.46);
@ -384,20 +354,20 @@ This card can achieve higher speed and lower jitter than the isolated 2118/2128
\draw [latexslim-latexslim] (mcx15) -- (2.9, -7); \draw [latexslim-latexslim] (mcx15) -- (2.9, -7);
% Draw LVDS transceivers % Draw LVDS transceivers
\draw (5.05, -0.025) node[twoportshape,t={\MymyLabel{LVDS}{Transceiver}}, circuitikz/bipoles/twoport/width=2, scale=0.5, rotate=-90 ] (lvds0) {}; \draw (5.05, -0.025) node[twoportshape,t={\fourcm{LVDS}{Transceiver}}, circuitikz/bipoles/twoport/width=2, scale=0.5, rotate=-90 ] (lvds0) {};
\draw (5.05, -1.675) node[twoportshape,t={\MymyLabel{LVDS}{Transceiver}}, circuitikz/bipoles/twoport/width=2, scale=0.5, rotate=-90 ] (lvds1) {}; \draw (5.05, -1.675) node[twoportshape,t={\fourcm{LVDS}{Transceiver}}, circuitikz/bipoles/twoport/width=2, scale=0.5, rotate=-90 ] (lvds1) {};
\draw (5.05, -4.625) node[twoportshape,t={\MymyLabel{LVDS}{Transceiver}}, circuitikz/bipoles/twoport/width=2, scale=0.5, rotate=-90 ] (lvds2) {}; \draw (5.05, -4.625) node[twoportshape,t={\fourcm{LVDS}{Transceiver}}, circuitikz/bipoles/twoport/width=2, scale=0.5, rotate=-90 ] (lvds2) {};
\draw (5.05, -6.275) node[twoportshape,t={\MymyLabel{LVDS}{Transceiver}}, circuitikz/bipoles/twoport/width=2, scale=0.5, rotate=-90 ] (lvds3) {}; \draw (5.05, -6.275) node[twoportshape,t={\fourcm{LVDS}{Transceiver}}, circuitikz/bipoles/twoport/width=2, scale=0.5, rotate=-90 ] (lvds3) {};
% Aesthetic EEPROM at each end of LVDS transceivers % Aesthetic EEPROM at each end of LVDS transceivers
\draw (5.05, 1.1) node[twoportshape,t={EEPROM}, circuitikz/bipoles/twoport/width=1.2, scale=0.5] (eeprom0) {}; \draw (5.05, 1.1) node[twoportshape,t={EEPROM}, circuitikz/bipoles/twoport/width=1.2, scale=0.5] (eeprom0) {};
\draw (5.05, -7.4) node[twoportshape,t={EEPROM}, circuitikz/bipoles/twoport/width=1.2, scale=0.5] (eeprom1) {}; \draw (5.05, -7.4) node[twoportshape,t={EEPROM}, circuitikz/bipoles/twoport/width=1.2, scale=0.5] (eeprom1) {};
% I/O expander % I/O expander
\draw (6.65, -3.5) node[twoportshape,t=\MymyLabel{IO Expander}{for I2C Bus}, circuitikz/bipoles/twoport/width=1.8, scale=0.5] (i2c) {}; \draw (6.65, -3.5) node[twoportshape,t=\fourcm{IO Expander}{for I2C Bus}, circuitikz/bipoles/twoport/width=1.8, scale=0.5] (i2c) {};
% I/O direction switches % I/O direction switches
\draw (5.05, -2.8) node[twoportshape,t=\MymyLabel{Per-bank \phantom{space} }{Input/Output Switch}, circuitikz/bipoles/twoport/width=2.7, scale=0.44] (ioswitch) {}; \draw (5.05, -2.8) node[twoportshape,t=\fourcm{Per-bank \phantom{space} }{Input/Output Switch}, circuitikz/bipoles/twoport/width=2.7, scale=0.44] (ioswitch) {};
\begin{scope}[xshift=5.3cm, yshift=-2.57cm, scale=0.12, every node/.style={scale=0.1}, rotate=-90 ] \begin{scope}[xshift=5.3cm, yshift=-2.57cm, scale=0.12, every node/.style={scale=0.1}, rotate=-90 ]
\draw (0.4,0) to[short,-o](0.75,0); \draw (0.4,0) to[short,-o](0.75,0);
\draw (0.78,0)-- +(30:0.46); \draw (0.78,0)-- +(30:0.46);
@ -467,65 +437,66 @@ This card can achieve higher speed and lower jitter than the isolated 2118/2128
\begin{figure}[hbt!] \begin{figure}[hbt!]
\centering \centering
\includegraphics[height=1.8in]{DIO_MCX_FP.pdf}
\includegraphics[height=2in]{photo2238.jpg} \includegraphics[height=2in]{photo2238.jpg}
\caption{MCX-TTL Card photo} \caption{MCX-TTL card}
\includegraphics[angle=90, height=0.6in]{DIO_MCX_FP.pdf}
\caption{MCX-TTL front panel}
\end{figure} \end{figure}
% For wide tables, a single column layout is better. It can be switched % For wide tables, a single column layout is better. It can be switched
% page-by-page. % page-by-page.
\onecolumn \onecolumn
\sourcesection{2238 MCX-TTL}{https://github.com/sinara-hw/DIO_MCX/wiki}
\section{Electrical Specifications} \section{Electrical Specifications}
Both recommended operating conditions and electrical characteristics are based on the datasheet of the bus transceivers IC (74LVT162245MTD\footnote{\label{transceiver}https://www.onsemi.com/pdf/datasheet/74lvt162245-d.pdf}). All specifications are in $-40\degree C \leq T_A \leq 85\degree C$ unless otherwise noted. Information in this section is based on the datasheet of the bus transceiver IC (74LVT162245MTD\footnote{\label{transceiver}\url{https://www.onsemi.com/pdf/datasheet/74lvt162245-d.pdf}}).
\begin{table}[h] \begin{table}[h]
\begin{threeparttable} \begin{threeparttable}
\caption{Recommended Operating Conditions} \caption{Recommended Operating Conditions}
\begin{tabularx}{\textwidth}{l | c | c c c | c | X} \begin{tabularx}{\textwidth}{l | c c c | c | X}
\thickhline \thickhline
\textbf{Parameter} & \textbf{Symbol} & \textbf{Min.} & \textbf{Typ.} & \textbf{Max.} & \textbf{Parameter} & \textbf{Min.} & \textbf{Typ.} & \textbf{Max.} &
\textbf{Unit} & \textbf{Conditions} \\ \textbf{Unit} & \textbf{Conditions} \\
\hline \hline
Input voltage & $V_{I}$ & 0 & & 5.5* & V \\ Input voltage & 0 & & 5.5* & V \\
\hline \hline
High-level output current & $I_{OH}$ & & & -24 & mA \\ High-level output current & & & -24 & mA \\
\hline \hline
Low-level output current & $I_{OL}$ & & & 24 & mA \\ Low-level output current & & & 24 & mA \\
\hline \hline
Input edge rate & $\frac{\Delta t}{\Delta V}$ & 0 & & 10 & ns/V & $0.8V \leq V_I \leq 2.0V$ \\ Input edge rate & & & 10 & ns/V & $0.8V \leq V_I \leq 2.0V$ \\
\thickhline \thickhline
\multicolumn{7}{l}{*With the 50\textOmega~termination enabled, the input voltage should not exceed 5V.} \multicolumn{6}{l}{*With the 50\textOmega~termination enabled, the input voltage should not exceed 5V.}
\end{tabularx} \end{tabularx}
\end{threeparttable} \end{threeparttable}
\end{table} \end{table}
The recommended operating temperature is $-40\degree C \leq T_A \leq 85\degree C$.
All specifications are in the recommended operating temperature range unless otherwise noted.
\begin{table}[h] \begin{table}[h]
\begin{threeparttable} \begin{threeparttable}
\caption{Electrical Characteristics} \caption{Electrical Characteristics}
\begin{tabularx}{\textwidth}{l | c | c c c | c | X} \begin{tabularx}{\textwidth}{l | c c c | c | X}
\thickhline \thickhline
\textbf{Parameter} & \textbf{Symbol} & \textbf{Min.} & \textbf{Typ.} & \textbf{Max.} & \textbf{Parameter} & \textbf{Min.} & \textbf{Typ.} & \textbf{Max.} &
\textbf{Unit} & \textbf{Conditions} \\ \textbf{Unit} & \textbf{Conditions} \\
\hline \hline
Input clamp diode voltage & $V_{IK}$ & & & -1.2 & V & $I_I =-36 mA$ \\ Input clamp diode voltage & & & -1.2 & V & $I_I =-36 mA$ \\
\hline \hline
Input high voltage & $V_{IH}$ & 2.0 & & & V & \\ Input high voltage & 2.0 & & & V & \\
\hline \hline
Input low voltage & $V_{IL}$ & & & 0.8 & V & \\ Input low voltage & & & 0.8 & V & \\
\hline \hline
Output high voltage & $V_{OH}$ & 2.0 & & & V & $I_{OH}=-24mA$ \\ Output high voltage & 2.0 & & & V & $I_{OH}=-24mA$ \\
& & 3.1 & & & V & $I_{OH}=-200\mu A$ \\ & 3.1 & & & V & $I_{OH}=-200\mu A$ \\
\hline \hline
Output low voltage & $V_{OL}$ & & & 0.8 & V & $I_{OL}=-24mA$ \\ Output low voltage & & & 0.8 & V & $I_{OL}=-24mA$ \\
& & & & 0.2 & V & $I_{OL}=-200\mu A$ \\ & & & 0.2 & V & $I_{OL}=-200\mu A$ \\
\hline \hline
Input current & $I_I$ & & & 20 & \textmu A & $V_I=5.5V$ \\ Input current & & & 20 & \textmu A & $V_I=5.5V$ \\
& & & & 2 & \textmu A & $V_I=3.3V$ \\ & & & 2 & \textmu A & $V_I=3.3V$ \\
& & & & -10 & \textmu A & $V_I=0V$ \\ & & & -10 & \textmu A & $V_I=0V$ \\
\thickhline \thickhline
\end{tabularx} \end{tabularx}
\end{threeparttable} \end{threeparttable}
@ -534,18 +505,16 @@ All specifications are in the recommended operating temperature range unless oth
\newpage \newpage
\section{Configuring IO Direction \& Termination} \section{Configuring IO Direction \& Termination}
The termination and IO direction can be configured by switches. IO direction and termination must be configured by switches. The termination switches are found at the top and the IO direction switches at the middle of the card respectively.
The per-channel termination and per-bank IO direction switches are found at the top and middle of the card respectively.
\begin{multicols}{2} \begin{multicols}{2}
Termination switches selects the termination of each channel, between high impedence (OFF) and 50\textOmega~(ON). Termination switches between high impedence (OFF) and 50\textOmega~(ON). Note that termination switches are by-channel but IO direction switches are by-bank.
IO direction switches partly decides the IO direction of each bank.
\begin{itemize} \begin{itemize}
\itemsep0em \itemsep0em
\item Closed switch (ON) \\ \item IO direction switch closed (\texttt{ON}) \\
Fix the corresponding bank to output. The direction cannot be changed by I\textsuperscript{2}C. Fixes the corresponding bank to output. The IO direction cannot be changed by I\textsuperscript{2}C.
\item Opened switch (OFF) \\ \item IO direction switch open (OFF) \\
Switch to input mode. The direction is input by default. Configurable by I\textsuperscript{2}C. The corresponding bank is set to input by default. IO direction \textit{can} be changed by I\textsuperscript{2}C.
\end{itemize} \end{itemize}
\columnbreak \columnbreak
\begin{center} \begin{center}
@ -556,12 +525,9 @@ IO direction switches partly decides the IO direction of each bank.
\end{multicols} \end{multicols}
\newpage \newpage
\section{Example ARTIQ code} \codesection{2238 MCX-TTL card}
The sections below demonstrate simple usage scenarios of the 2245 LVDS-TTL card with the ARTIQ control system.
They do not exhaustively demonstrate all the features of the ARTIQ system.
The full documentation for the ARTIQ software and gateware is available at \url{https://m-labs.hk}.
Timing accuracy in the examples below is well under 1 nanosecond thanks to the ARTIQ RTIO system. Timing accuracy in these examples is well under 1 nanosecond thanks to ARTIQ RTIO infrastructure.
\subsection{One pulse per second} \subsection{One pulse per second}
The channel should be configured as output in both the gateware and hardware. The channel should be configured as output in both the gateware and hardware.
@ -572,8 +538,8 @@ This example demonstrates some basic algorithmic features of the ARTIQ-Python la
\inputcolorboxminted{firstline=22,lastline=39}{examples/ttl.py} \inputcolorboxminted{firstline=22,lastline=39}{examples/ttl.py}
\newpage \newpage
\subsection{Counting rising edges in a 1ms window} \subsection{Edge counting in an 1ms window}
The channel should be configured as input in both the gateware and hardware. The channel should be configured as input in both gateware and hardware.
\inputcolorboxminted{firstline=47,lastline=52}{examples/ttl.py} \inputcolorboxminted{firstline=47,lastline=52}{examples/ttl.py}
This example code uses the software counter, which has a maximum count rate of approximately 1 million events per second. This example code uses the software counter, which has a maximum count rate of approximately 1 million events per second.
@ -584,14 +550,8 @@ If the gateware counter is enabled on the TTL channel, it can typically count up
One channel needs to be configured as input, and the other as output. One channel needs to be configured as input, and the other as output.
\inputcolorboxminted{firstline=74,lastline=80}{examples/ttl.py} \inputcolorboxminted{firstline=74,lastline=80}{examples/ttl.py}
\section{Ordering Information} \ordersection{2238 MCX-TTL}
To order, please visit \url{https://m-labs.hk} and select the 2238 MCX-TTL in the ARTIQ Sinara crate configuration tool. The card may also be ordered separately by writing to \url{mailto:sales@m-labs.hk}.
\section*{} \finalfootnote
\vspace*{\fill}
\begin{footnotesize}
Information furnished by M-Labs Limited is provided in good faith in the hope that it will be useful. However, no responsibility is assumed by M-Labs Limited for its use. Specifications may be subject to change without notice.
\end{footnotesize}
\end{document} \end{document}

246
2245.tex
View File

@ -1,24 +1,5 @@
\documentclass[10pt]{datasheet} \input{preamble.tex}
\usepackage{palatino} \graphicspath{{images/2245}{images}}
\usepackage{textgreek}
\usepackage{minted}
\usepackage{tcolorbox}
\usepackage{etoolbox}
\usepackage[justification=centering]{caption}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage[english]{isodate}
\usepackage{graphicx}
\usepackage{subfig}
\usepackage{tikz}
\usepackage{pgfplots}
\usepackage{circuitikz}
\usetikzlibrary{calc}
\usetikzlibrary{fit,backgrounds}
\usepackage{tikz-timing} \usepackage{tikz-timing}
\usetikztiminglibrary{counters} \usetikztiminglibrary{counters}
@ -35,62 +16,47 @@
\section{Features} \section{Features}
\begin{itemize} \begin{itemize}
\item{16 LVDS channels.} \item{16 LVDS-TTL channels.}
\item{Input and output capable.} \item{Input- and output-capable}
\item{No galvanic isolation.} \item{No galvanic isolation}
\item{High speed and low jitter.} \item{High speed and low jitter}
\item{RJ45 connectors.} \item{RJ45 connectors}
\end{itemize} \end{itemize}
\section{Applications} \section{Applications}
\begin{itemize} \begin{itemize}
\item{Photon counting.} \item{Photon counting}
\item{External equipment trigger.} \item{External equipment trigger}
\item{Optical shutter control.} \item{Optical shutter control}
\item{Serial communication to remote devices.} \item{Serial communication with remote devices}
\end{itemize} \end{itemize}
\section{General Description} \section{General Description}
The 2245 LVDS-TTL card is a 4hp EEM module. The 2245 LVDS-TTL card is a 4hp EEM module. It adds general-purpose digital I/O capabilities to carrier cards such as 1124 Kasli and 1125 Kasli-SoC.
It adds general-purpose digital I/O capabilities to carrier cards such as 1124 Kasli and 1125 Kasli-SoC.
Each card provides sixteen digital channels each, controlled through 2 EEM connectors. Each card provides sixteen total digital channels, with four RJ45 connectors in the front panel, controlled through 2 EEM connectors. Each RJ45 connector exposes four LVDS digital channels. Each individual EEM connector controls eight channels independently. Single EEM operation is possible. The direction (input or output) of each channel can be selected individually using DIP switches.
Each EEM connector controls eight channels independently.
Single EEM operation is possible.
Each RJ45 connector exposes four digital channels in the LVDS format.
The direction (input or output) of each channel can be selected using DIP switches.
Outputs are intended to drive 100\textOmega~loads, inputs are 100\textOmega~terminated.
This card can achieve higher speed and lower jitter than the isolated 2118/2128 BNC/SMA-TTL cards.
Only shielded Ethernet Cat-6 cables should be connected.
Outputs are intended to drive 100\textOmega~loads and inputs are 100\textOmega~terminated. This card can achieve higher speed and lower jitter than the isolated 2118/2128 BNC/SMA-TTL cards. Only shielded Ethernet Cat-6 cables should be connected.
% Switch to next column % Switch to next column
\vfill\break \vfill\break
\newcommand*{\MyLabel}[3][2cm]{\parbox{#1}{\centering #2 \\ #3}}
\newcommand*{\MymyLabel}[3][4cm]{\parbox{#1}{\centering #2 \\ #3}}
\newcommand{\inputcolorboxminted}[3][4]{%
\begin{tcolorbox}[colback=white]
\inputminted[#2, gobble=#1]{python}{#3}
\end{tcolorbox}
}
\begin{figure}[h] \begin{figure}[h]
\centering \centering
\scalebox{0.88}{ \scalebox{0.88}{
\begin{circuitikz}[european, scale=0.95, every label/.append style={align=center}] \begin{circuitikz}[european, scale=0.95, every label/.append style={align=center}]
% RJ45 Connectors % RJ45 Connectors
\draw (0, 2.8) node[twoportshape, t={\MyLabel{RJ45}{CH 0-3}}, circuitikz/bipoles/twoport/width=1.4, scale=0.5, rotate=-90] (eth0) {}; \draw (0, 2.8) node[twoportshape, t={\twocm{RJ45}{CH 0-3}}, circuitikz/bipoles/twoport/width=1.4, scale=0.5, rotate=-90] (eth0) {};
\draw (0, 1.0) node[twoportshape, t={\MyLabel{RJ45}{CH 4-7}}, circuitikz/bipoles/twoport/width=1.4, scale=0.5, rotate=-90] (eth1) {}; \draw (0, 1.0) node[twoportshape, t={\twocm{RJ45}{CH 4-7}}, circuitikz/bipoles/twoport/width=1.4, scale=0.5, rotate=-90] (eth1) {};
\draw (0, -1.0) node[twoportshape, t={\MyLabel{RJ45}{CH 8-11}}, circuitikz/bipoles/twoport/width=1.4, scale=0.5, rotate=-90] (eth2) {}; \draw (0, -1.0) node[twoportshape, t={\twocm{RJ45}{CH 8-11}}, circuitikz/bipoles/twoport/width=1.4, scale=0.5, rotate=-90] (eth2) {};
\draw (0, -2.8) node[twoportshape, t={\MyLabel{RJ45}{CH 12-15}}, circuitikz/bipoles/twoport/width=1.4, scale=0.5, rotate=-90] (eth3) {}; \draw (0, -2.8) node[twoportshape, t={\twocm{RJ45}{CH 12-15}}, circuitikz/bipoles/twoport/width=1.4, scale=0.5, rotate=-90] (eth3) {};
% Repeaters for channels % Repeaters for channels
% Channel 7 repeaters % Channel 7 repeaters
\draw (1.8, 0.4) node[twoportshape, t={\MyLabel{CH 7}{Repeaters}}, circuitikz/bipoles/twoport/width=1.6, scale=0.5] (rep7) {}; \draw (1.8, 0.4) node[twoportshape, t={\twocm{CH 7}{Repeaters}}, circuitikz/bipoles/twoport/width=1.6, scale=0.5] (rep7) {};
% Omission dots % Omission dots
\node at (1.8, 0.8)[circle,fill,inner sep=0.7pt]{}; \node at (1.8, 0.8)[circle,fill,inner sep=0.7pt]{};
@ -98,10 +64,10 @@ Only shielded Ethernet Cat-6 cables should be connected.
\node at (1.8, 1.2)[circle,fill,inner sep=0.7pt]{}; \node at (1.8, 1.2)[circle,fill,inner sep=0.7pt]{};
% Channel 4 repeaters % Channel 4 repeaters
\draw (1.8, 1.6) node[twoportshape, t={\MyLabel{CH 4}{Repeaters}}, circuitikz/bipoles/twoport/width=1.6, scale=0.5] (rep4) {}; \draw (1.8, 1.6) node[twoportshape, t={\twocm{CH 4}{Repeaters}}, circuitikz/bipoles/twoport/width=1.6, scale=0.5] (rep4) {};
% Channel 3 repeaters % Channel 3 repeaters
\draw (1.8, 2.2) node[twoportshape, t={\MyLabel{CH 3}{Repeaters}}, circuitikz/bipoles/twoport/width=1.6, scale=0.5] (rep3) {}; \draw (1.8, 2.2) node[twoportshape, t={\twocm{CH 3}{Repeaters}}, circuitikz/bipoles/twoport/width=1.6, scale=0.5] (rep3) {};
% Omission dots % Omission dots
\node at (1.8, 2.6)[circle,fill,inner sep=0.7pt]{}; \node at (1.8, 2.6)[circle,fill,inner sep=0.7pt]{};
@ -109,10 +75,10 @@ Only shielded Ethernet Cat-6 cables should be connected.
\node at (1.8, 3.0)[circle,fill,inner sep=0.7pt]{}; \node at (1.8, 3.0)[circle,fill,inner sep=0.7pt]{};
% Channel 0 repeaters % Channel 0 repeaters
\draw (1.8, 3.4) node[twoportshape, t={\MyLabel{CH 0}{Repeaters}}, circuitikz/bipoles/twoport/width=1.6, scale=0.5] (rep0) {}; \draw (1.8, 3.4) node[twoportshape, t={\twocm{CH 0}{Repeaters}}, circuitikz/bipoles/twoport/width=1.6, scale=0.5] (rep0) {};
% Channel 8 repeaters % Channel 8 repeaters
\draw (1.8, -0.4) node[twoportshape, t={\MyLabel{CH 8}{Repeaters}}, circuitikz/bipoles/twoport/width=1.6, scale=0.5] (rep8) {}; \draw (1.8, -0.4) node[twoportshape, t={\twocm{CH 8}{Repeaters}}, circuitikz/bipoles/twoport/width=1.6, scale=0.5] (rep8) {};
% Omission dots % Omission dots
\node at (1.8, -0.8)[circle,fill,inner sep=0.7pt]{}; \node at (1.8, -0.8)[circle,fill,inner sep=0.7pt]{};
@ -120,10 +86,10 @@ Only shielded Ethernet Cat-6 cables should be connected.
\node at (1.8, -1.2)[circle,fill,inner sep=0.7pt]{}; \node at (1.8, -1.2)[circle,fill,inner sep=0.7pt]{};
% Channel 11 repeaters % Channel 11 repeaters
\draw (1.8, -1.6) node[twoportshape, t={\MyLabel{CH 11}{Repeaters}}, circuitikz/bipoles/twoport/width=1.6, scale=0.5] (rep11) {}; \draw (1.8, -1.6) node[twoportshape, t={\twocm{CH 11}{Repeaters}}, circuitikz/bipoles/twoport/width=1.6, scale=0.5] (rep11) {};
% Channel 12 repeaters % Channel 12 repeaters
\draw (1.8, -2.2) node[twoportshape, t={\MyLabel{CH 12}{Repeaters}}, circuitikz/bipoles/twoport/width=1.6, scale=0.5] (rep12) {}; \draw (1.8, -2.2) node[twoportshape, t={\twocm{CH 12}{Repeaters}}, circuitikz/bipoles/twoport/width=1.6, scale=0.5] (rep12) {};
% Omission dots % Omission dots
\node at (1.8, -2.6)[circle,fill,inner sep=0.7pt]{}; \node at (1.8, -2.6)[circle,fill,inner sep=0.7pt]{};
@ -131,11 +97,11 @@ Only shielded Ethernet Cat-6 cables should be connected.
\node at (1.8, -3.0)[circle,fill,inner sep=0.7pt]{}; \node at (1.8, -3.0)[circle,fill,inner sep=0.7pt]{};
% Channel 15 repeaters % Channel 15 repeaters
\draw (1.8, -3.4) node[twoportshape, t={\MyLabel{CH 15}{Repeaters}}, circuitikz/bipoles/twoport/width=1.6, scale=0.5] (rep15) {}; \draw (1.8, -3.4) node[twoportshape, t={\twocm{CH 15}{Repeaters}}, circuitikz/bipoles/twoport/width=1.6, scale=0.5] (rep15) {};
% Direction switches % Direction switches
\draw (4.6, 0.4) node[twoportshape,t=\MymyLabel{Per-channel \phantom{spac} x8 }{Input/Output Switch}, circuitikz/bipoles/twoport/width=2.7, scale=0.5] (ioswitch0) {}; \draw (4.6, 0.4) node[twoportshape,t=\fourcm{Per-channel \phantom{spac} x8 }{Input/Output Switch}, circuitikz/bipoles/twoport/width=2.7, scale=0.5] (ioswitch0) {};
\draw (4.6, -0.4) node[twoportshape,t=\MymyLabel{Per-channel \phantom{spac} x8 }{Input/Output Switch}, circuitikz/bipoles/twoport/width=2.7, scale=0.5] (ioswitch1) {}; \draw (4.6, -0.4) node[twoportshape,t=\fourcm{Per-channel \phantom{spac} x8 }{Input/Output Switch}, circuitikz/bipoles/twoport/width=2.7, scale=0.5] (ioswitch1) {};
\begin{scope}[xshift=5cm, yshift=0.65cm, scale=0.12, every node/.style={scale=0.1}, rotate=-90 ] \begin{scope}[xshift=5cm, yshift=0.65cm, scale=0.12, every node/.style={scale=0.1}, rotate=-90 ]
\draw (0.4, 0) to[short,-o](0.75, 0); \draw (0.4, 0) to[short,-o](0.75, 0);
\draw (0.78, 0)-- +(30: 0.46); \draw (0.78, 0)-- +(30: 0.46);
@ -148,8 +114,8 @@ Only shielded Ethernet Cat-6 cables should be connected.
\end{scope} \end{scope}
% I2C I/O expanders % I2C I/O expanders
\draw (4.6, 1.6) node[twoportshape,t=\MymyLabel{IO Expander}{for I2C Bus}, circuitikz/bipoles/twoport/width=2.7, scale=0.5] (i2c0) {}; \draw (4.6, 1.6) node[twoportshape,t=\fourcm{IO Expander}{for I2C Bus}, circuitikz/bipoles/twoport/width=2.7, scale=0.5] (i2c0) {};
\draw (4.6, -1.6) node[twoportshape,t=\MymyLabel{IO Expander}{for I2C Bus}, circuitikz/bipoles/twoport/width=2.7, scale=0.5] (i2c1) {}; \draw (4.6, -1.6) node[twoportshape,t=\fourcm{IO Expander}{for I2C Bus}, circuitikz/bipoles/twoport/width=2.7, scale=0.5] (i2c1) {};
% 2 Aesthetic EEPROMs % 2 Aesthetic EEPROMs
\draw (4.6, 2.2) node[twoportshape,t={EEPROM}, circuitikz/bipoles/twoport/width=2.7, scale=0.5] (eeprom0) {}; \draw (4.6, 2.2) node[twoportshape,t={EEPROM}, circuitikz/bipoles/twoport/width=2.7, scale=0.5] (eeprom0) {};
@ -330,9 +296,9 @@ Only shielded Ethernet Cat-6 cables should be connected.
\begin{figure}[hbt!] \begin{figure}[hbt!]
\centering \centering
\includegraphics[height=2.1in]{DIO_RJ45_FP.pdf} \includegraphics[angle=90, height=1.7in]{photo2245.jpg}
\includegraphics[height=2.1in]{photo2245.jpg} \includegraphics[angle=90, height=0.4in]{DIO_RJ45_FP.pdf}
\caption{LVDS-TTL Card photo} \caption{LVDS-TTL card and front panel}
\end{figure} \end{figure}
@ -340,30 +306,11 @@ Only shielded Ethernet Cat-6 cables should be connected.
% page-by-page. % page-by-page.
\onecolumn \onecolumn
\sourcesection{2245 LVDS-TTL}{https://github.com/sinara-hw/DIO_LVDS_RJ45/wiki}
\section{Electrical Specifications} \section{Electrical Specifications}
Information in this section is based on the datasheet of the repeaters IC (FIN1101K8X\footnote{\label{repeaters}https://www.onsemi.com/pdf/datasheet/fin1101-d.pdf}). All specifications are in $-40\degree C \leq T_A \leq 85\degree C$ unless otherwise noted. Information in this section is based on the datasheet of the repeater IC (FIN1101K8X\footnote{\label{repeaters}\url{https://www.onsemi.com/pdf/datasheet/fin1101-d.pdf}}).
The Absolute Maximum Ratings are those values beyond which damage to the device may occur.
Other specifications should be met without exception.
\begin{table}[h]
\begin{threeparttable}
\caption{Absolute Maximum Ratings}
\begin{tabularx}{\textwidth}{l | c | c c c | c | X}
\thickhline
\textbf{Parameter} & \textbf{Symbol} & \textbf{Min.} & \textbf{Typ.} & \textbf{Max.} &
\textbf{Unit} & \textbf{Conditions} \\
\hline
LVDS DC input voltage & $V_{IN}$ & -0.5 & & 4.6 & V \\
\hline
LVDS DC output voltage & $V_{OUT}$ & -0.5 & & 4.6 & V \\
\hline
Continuous Short Circuit Current & $I_{OSD}$ & & 10 & & mA \\
\thickhline
\end{tabularx}
\end{threeparttable}
\end{table}
\begin{table}[h] \begin{table}[h]
\begin{threeparttable} \begin{threeparttable}
@ -376,13 +323,15 @@ Other specifications should be met without exception.
Magnitude of differential input & $|V_{ID}|$ & 0.1 & & 3.3 & V \\ Magnitude of differential input & $|V_{ID}|$ & 0.1 & & 3.3 & V \\
\hline \hline
Common mode input & $V_{IC}$ & $|V_{ID}|/2$ & & $3.3-|V_{ID}|/2$ & V \\ Common mode input & $V_{IC}$ & $|V_{ID}|/2$ & & $3.3-|V_{ID}|/2$ & V \\
\hline
Differential input threshold HIGH & $V_{TH}$ & & & 100 & mV & \\
\hline
Differential input threshold LOW & $V_{TL}$ & -100 & & & mV & \\
\thickhline \thickhline
\end{tabularx} \end{tabularx}
\end{threeparttable} \end{threeparttable}
\end{table} \end{table}
The recommended operating temperature is $-40\degree C \leq T_A \leq 85\degree C$.
All specifications are in the recommended operating temperature range unless otherwise noted.
All typical values of DC specifications are at $T_A = 25\degree C$. All typical values of DC specifications are at $T_A = 25\degree C$.
\begin{table}[h] \begin{table}[h]
@ -393,11 +342,7 @@ All typical values of DC specifications are at $T_A = 25\degree C$.
\textbf{Parameter} & \textbf{Symbol} & \textbf{Min.} & \textbf{Typ.} & \textbf{Max.} & \textbf{Parameter} & \textbf{Symbol} & \textbf{Min.} & \textbf{Typ.} & \textbf{Max.} &
\textbf{Unit} & \textbf{Conditions} \\ \textbf{Unit} & \textbf{Conditions} \\
\hline \hline
Differential input threshold HIGH & $V_{TH}$ & & & 100 & mV & \\ Output differential voltage & $V_{OD}$ & 250 & 330 & 450 & mV & \multirow{4}{*}{With 100$\Omega$ load.} \\
\hline
Differential input threshold LOW & $V_{TL}$ & -100 & & & mV & \\
\hline
Output differentiual Voltage & $V_{OD}$ & 250 & 330 & 450 & mV & \multirow{4}{*}{With 100$\Omega$ load.} \\
\cline{0-5} \cline{0-5}
$|V_{OD}|$ change (LOW-to-HIGH) & $\Delta V_{OD}$ & & & 25 & mV & \\ $|V_{OD}|$ change (LOW-to-HIGH) & $\Delta V_{OD}$ & & & 25 & mV & \\
\cline{0-5} \cline{0-5}
@ -407,7 +352,35 @@ All typical values of DC specifications are at $T_A = 25\degree C$.
\hline \hline
Short circuit output current & $I_{OS}$ & & $\pm3.4$ & $\pm6$ & mA & \\ Short circuit output current & $I_{OS}$ & & $\pm3.4$ & $\pm6$ & mA & \\
\hline \hline
Input current & $I_{IN}$ & & & $\pm20$ & \textmu A & Recommended Input Voltage \\ Input current & $I_{IN}$ & & & $\pm20$ & \textmu A & Recommended input voltage \\
\thickhline
\end{tabularx}
\end{threeparttable}
\end{table}
All typical values of AC specifications are at $T_A = 25\degree C$, $V_{ID} = 300mV$, $V_{IC} = 1.3V$ unless otherwise given.
\begin{table}[h]
\begin{threeparttable}
\caption{AC Specifications}
\begin{tabularx}{\textwidth}{l | c c c | c | X}
\thickhline
\textbf{Parameter} & \textbf{Min.} & \textbf{Typ.} & \textbf{Max.} &
\textbf{Unit} & \textbf{Conditions} \\
\hline
Differential output rise time & \multirow{2}{*}{0.29} & \multirow{2}{*}{0.40} & \multirow{2}{*}{0.58} & \multirow{2}{*}{ns} & Duty cycle = 50\%.\\
(20\% to 80\%) & & & & & \\
\cline{0-5}
Differential output fall time & \multirow{2}{*}{0.29} & \multirow{2}{*}{0.40} & \multirow{2}{*}{0.58} & \multirow{2}{*}{ns} & \\
(80\% to 20\%) & & & & & \\
\cline{0-5}
Pulse width distortion & & 0.01 & 0.2 & ns & \\
\hline
LVDS data jitter, & & \multirow{2}{*}{85} & \multirow{2}{*}{125} & \multirow{2}{*}{ps} & $PRBS=2^{23}-1$\\
deterministic & & & & & 800 Mbps\\
\hline
LVDS clock jitter, & & \multirow{2}{*}{2.1} & \multirow{2}{*}{3.5} & \multirow{2}{*}{ps} & \multirow{2}{*}{400 MHz clock}\\
random (RMS) & & & & & \\
\thickhline \thickhline
\end{tabularx} \end{tabularx}
\end{threeparttable} \end{threeparttable}
@ -415,46 +388,18 @@ All typical values of DC specifications are at $T_A = 25\degree C$.
\newpage \newpage
All typical values of AC specifications are at $T_A = 25\degree C$, $V_{ID} = 300mV$, $V_{IC} = 1.3V$ unless otherwise specified.
\begin{table}[h]
\begin{threeparttable}
\caption{AC Specifications}
\begin{tabularx}{\textwidth}{l | c | c c c | c | X}
\thickhline
\textbf{Parameter} & \textbf{Symbol} & \textbf{Min.} & \textbf{Typ.} & \textbf{Max.} &
\textbf{Unit} & \textbf{Conditions} \\
\hline
Differential Output Rise Time & \multirow{2}{*}{$t_{TLHD}$} & \multirow{2}{*}{0.29} & \multirow{2}{*}{0.40} & \multirow{2}{*}{0.58} & \multirow{2}{*}{ns} & duty Cycle = 50\%.\\
(20\% to 80\%) & & & & & & \\
\cline{0-5}
Differential Output Fall Time & \multirow{2}{*}{$t_{THLD}$} & \multirow{2}{*}{0.29} & \multirow{2}{*}{0.40} & \multirow{2}{*}{0.58} & \multirow{2}{*}{ns} & \\
(80\% to 20\%) & & & & & & \\
\cline{0-5}
Pulse width distortion & $PWD$ & & 0.01 & 0.2 & ns & \\
\hline
LVDS data jitter, & \multirow{2}{*}{$t_{DJ}$} & & \multirow{2}{*}{85} & \multirow{2}{*}{125} & \multirow{2}{*}{ps} & $PRBS=2^{23}-1$\\
deterministic & & & & & & 800 Mbps\\
\hline
LVDS clock jitter, & \multirow{2}{*}{$t_{RJ}$} & & \multirow{2}{*}{2.1} & \multirow{2}{*}{3.5} & \multirow{2}{*}{ps} & \multirow{2}{*}{400 MHz clock}\\
random (RMS) & & & & & & \\
\thickhline
\end{tabularx}
\end{threeparttable}
\end{table}
\section{Configuring IO Direction \& Termination} \section{Configuring IO Direction \& Termination}
The IO direction can be configured by switches, which are found at the top of the card.
\begin{multicols}{2} \begin{multicols}{2}
IO direction switches partly decides the IO direction of each bank. The IO direction of each channel can be configured by DIP switches, which are found at the top of the card.
\begin{itemize} \begin{itemize}
\itemsep0em \itemsep0em
\item Closed switch (ON) \\ \item IO direction switch closed (\texttt{ON}) \\
Fix the corresponding channel to output. The direction cannot be changed by I\textsuperscript{2}C. Fixes the corresponding bank to output. The IO direction cannot be changed by I\textsuperscript{2}C.
\item Opened switch (OFF) \\ \item IO direction switch open (OFF) \\
Switch to input mode. The direction is input by default. Configurable by I\textsuperscript{2}C. The corresponding bank is set to input by default. IO direction \textit{can} be changed by I\textsuperscript{2}C.
\end{itemize} \end{itemize}
\columnbreak
\vspace*{\fill}\columnbreak
\begin{center} \begin{center}
\centering \centering
\includegraphics[height=1.5in]{lvds_ttl_switches.jpg} \includegraphics[height=1.5in]{lvds_ttl_switches.jpg}
@ -464,15 +409,12 @@ IO direction switches partly decides the IO direction of each bank.
\newpage \newpage
\section{Example ARTIQ code} \codesection{2245 LVDS-TTL card}
The sections below demonstrate simple usage scenarios of the 2245 LVDS-TTL card with the ARTIQ control system.
They do not exhaustively demonstrate all the features of the ARTIQ system.
The full documentation for the ARTIQ software and gateware is available at \url{https://m-labs.hk}.
Timing accuracy in the examples below is well under 1 nanosecond thanks to the ARTIQ RTIO system. Timing accuracy in these examples is well under 1 nanosecond thanks to ARTIQ RTIO infrastructure.
\subsection{One pulse per second} \subsection{One pulse per second}
The channel should be configured as output in both the gateware and hardware. The channel should be configured as output in both gateware and hardware.
\inputcolorboxminted{firstline=9,lastline=14}{examples/ttl.py} \inputcolorboxminted{firstline=9,lastline=14}{examples/ttl.py}
\subsection{Morse code} \subsection{Morse code}
@ -481,7 +423,7 @@ This example demonstrates some basic algorithmic features of the ARTIQ-Python la
\newpage \newpage
\subsection{Counting rising edges in a 1ms window} \subsection{Counting rising edges in a 1ms window}
The channel should be configured as input in both the gateware and hardware. The channel should be configured as input in both gateware and hardware.
\inputcolorboxminted{firstline=47,lastline=52}{examples/ttl.py} \inputcolorboxminted{firstline=47,lastline=52}{examples/ttl.py}
This example code uses the software counter, which has a maximum count rate of approximately 1 million events per second. This example code uses the software counter, which has a maximum count rate of approximately 1 million events per second.
@ -507,8 +449,7 @@ One channel needs to be configured as input, and the other as output.
\newpage \newpage
\subsection{SPI Master Device} \subsection{SPI Master Device}
If a EEM port is configured as \texttt{dio\char`_spi} instead of \texttt{dio}, its associated TTL channels can be configured as SPI master devices. If one of the two card EEM ports is configured as \texttt{dio\char`_spi} instead of \texttt{dio}, its associated TTL channels can be configured as SPI master devices. Invocation of an SPI transfer follows this pattern:
Invocation of an SPI transfer follows this pattern:
\begin{enumerate} \begin{enumerate}
% The config register can be set using set_config. % The config register can be set using set_config.
% However, the only difference between these 2 methods is that set_config accepts an arbitrary % However, the only difference between these 2 methods is that set_config accepts an arbitrary
@ -541,7 +482,7 @@ The list of configurations supported in the gateware are listed as below:
\end{tabular} \end{tabular}
\end{table} \end{table}
The following ARTIQ example demonstrates the flow of an SPI transcation with a typical SPI setup with 3 homogeneous slaves. The following ARTIQ example demonstrates the flow of an SPI transaction on a typical SPI setup with 3 homogeneous slaves.
The direction switches on the LVDS-TTL card should be set to the correct IO direction for all relevant channels before powering on. The direction switches on the LVDS-TTL card should be set to the correct IO direction for all relevant channels before powering on.
\begin{center} \begin{center}
\begin{circuitikz}[european, scale=1, every label/.append style={align=center}] \begin{circuitikz}[european, scale=1, every label/.append style={align=center}]
@ -625,14 +566,11 @@ The base line configuration for an \texttt{SPIMaster} instance can be defined as
The \texttt{SPI\char`_END} \& \texttt{SPI\char`_INPUT} flags will be modified during runtime in the following example. The \texttt{SPI\char`_END} \& \texttt{SPI\char`_INPUT} flags will be modified during runtime in the following example.
\subsubsection{SPI frequency} \subsubsection{SPI frequency}
Frequency of the SPI clock must be the result of RTIO clock frequency divided by an integer factor from [2, 257]. Frequency of the SPI clock must be the result of RTIO clock frequency divided by an integer factor in [2, 257]. In the folowing examples, the SPI frequency will be set to 1 MHz by dividing the RTIO frequency (125 MHz) by 125.
In the folowing examples, the SPI frequency will be set to 1 MHz by dividing the RTIO frequency (125 MHz) by 125.
\inputcolorboxminted[0]{firstline=10,lastline=10}{examples/spi.py} \inputcolorboxminted[0]{firstline=10,lastline=10}{examples/spi.py}
\subsubsection{SPI write} \subsubsection{SPI write}
Typically, an SPI write operation involves sending an instruction and data to the SPI slaves. Typically, an SPI write operation involves sending an instruction and data to the SPI slaves. Suppose the instruction and data are 8 bits and 32 bits respectively. The timing diagram of such a write operation is shown in the following:
Suppose the instruction and data are 8 bits and 32 bits respectively.
The timing diagram of such write operation is shown in the following.
\begin{center} \begin{center}
\begin{tikztimingtable} \begin{tikztimingtable}
@ -653,11 +591,11 @@ The timing diagram of such write operation is shown in the following.
\end{center} \end{center}
\newpage \newpage
Suppose the instruction is \texttt{0x13}, while the data is \texttt{0xDEADBEEF}. In addition, both slave 1 \& 2 are selected. This SPI transcation can be performed by the following code. Suppose the instruction is \texttt{0x13}, while the data is \texttt{0xDEADBEEF}. In addition, both slave 1 \& 2 are selected. This SPI transaction can be performed with the following code:
\inputcolorboxminted{firstline=18,lastline=27}{examples/spi.py} \inputcolorboxminted{firstline=18,lastline=27}{examples/spi.py}
\subsubsection{SPI read} \subsubsection{SPI read}
A 32-bits read is represented by the following timing diagram. A 32-bit read is represented by the following timing diagram:
\begin{center} \begin{center}
\begin{tikztimingtable} \begin{tikztimingtable}
@ -682,14 +620,8 @@ Suppose the instruction is \texttt{0x81}, where only slave 0 is selected. This S
\inputcolorboxminted{firstline=35,lastline=49}{examples/spi.py} \inputcolorboxminted{firstline=35,lastline=49}{examples/spi.py}
\newpage \newpage
\section{Ordering Information} \ordersection{2245 LVDS-TTL}
To order, please visit \url{https://m-labs.hk} and select the 2245 LVDS-TTL in the ARTIQ Sinara crate configuration tool. The card may also be ordered separately by writing to \url{mailto:sales@m-labs.hk}.
\section*{} \finalfootnote
\vspace*{\fill}
\begin{footnotesize}
Information furnished by M-Labs Limited is provided in good faith in the hope that it will be useful. However, no responsibility is assumed by M-Labs Limited for its use. Specifications may be subject to change without notice.
\end{footnotesize}
\end{document} \end{document}

View File

@ -1,25 +1,5 @@
\documentclass[10pt]{datasheet} \input{preamble.tex}
\usepackage{palatino} \graphicspath{{images/4410-4412}{images}}
\usepackage{textgreek}
\usepackage{minted}
\usepackage{tcolorbox}
\usepackage{etoolbox}
\usepackage[justification=centering]{caption}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage[english]{isodate}
\usepackage{graphicx}
\usepackage{subfigure}
\usepackage{tikz}
\usepackage{pgfplots}
\usepackage{circuitikz}
\usepackage{pifont}
\usetikzlibrary{calc}
\usetikzlibrary{fit,backgrounds}
\title{4410/4412 DDS Urukul} \title{4410/4412 DDS Urukul}
\author{M-Labs Limited} \author{M-Labs Limited}
@ -33,46 +13,32 @@
\section{Features} \section{Features}
\begin{itemize} \begin{itemize}
\item{4-channel 1GS/s DDS.} \item{4-channel 1GS/s DDS}
\item{Output frequency ranges from \textless 1 to \textgreater 400 MHz.} \item{Output frequency from \textless 1 to \textgreater 400 MHz}
\item{Sub-Hz frequency resolution.} \item{Sub-Hz frequency resolution}
\item{Controlled phase steps.} \item{Controlled phase steps}
\item{Accurate output amplitude control.} \item{Accurate output amplitude control}
\end{itemize} \end{itemize}
\section{Applications} \section{Applications}
\begin{itemize} \begin{itemize}
\item{Dynamic low-noise RF source.} \item{Dynamic low-noise RF source}
\item{Driving RF electrodes in ion traps.} \item{Driving RF electrodes in ion traps}
\item{Driving acousto-optic modulators.} \item{Driving acousto-optic modulators}
\item{Form a laser intensity servo with 5108 Sampler.} \item{Form a laser intensity servo with 5108 Sampler}
\end{itemize} \end{itemize}
\section{General Description} \section{General Description}
The 4410/4412 DDS Urukul card is a 4hp EEM module part of the ARTIQ Sinara family. The 4410/4412 DDS Urukul card is a 4hp EEM module, part of the ARTIQ/Sinara family. It adds frequency generation capabilities to carrier cards such as 1124 Kasli and 1125 Kasli-SoC.
It adds frequency generation capabilities to carrier cards such as 1124 Kasli and 1125 Kasli-SoC.
It provides 4 channels of DDS at 1GS/s. It provides 4 channels of DDS (direct digital synthesis) at 1GS/s. Output frequencies from \textless 1 to \textgreater 400 MHz are supported. The nominal maximum output power of each channel is 10dBm. Each channel can be attenuated from 0 to -31.5 dB by a digital attenuator. RF switches (1ns temporal resolution) on each channel provide 70 dB isolation.
Output frequency from \textless 1 to \textgreater 400 MHz are supported.
The nominal maximum output power of each channel is 10dBm.
Each channel can be attenuated from 0 to -31.5 dB by a digital attenuator.
RF switches (1ns temporal resolution) on each channel provides 70 dB isolation.
4410 DDS Urukul comes with AD9910 chips, while 4412 DDS Urukul comes with AD9912 chips instead.
4410 DDS Urukul features AD9910 chips, while 4412 DDS Urukul features AD9912 chips. AD9912 is capable of higher frequency precision (~8 \textmu Hz) than the AD9910 (~0.25 Hz). The ARTIQ SU-Servo configuration is only available for AD9910.
% Switch to next column % Switch to next column
\vfill\break \vfill\break
\newcommand*{\MyLabel}[3][2cm]{\parbox{#1}{\centering #2 \\ #3}}
\newcommand*{\MymyLabel}[3][4cm]{\parbox{#1}{\centering #2 \\ #3}}
\newcommand{\repeatfootnote}[1]{\textsuperscript{\ref{#1}}}
\newcommand{\inputcolorboxminted}[2]{%
\begin{tcolorbox}[colback=white]
\inputminted[#1, gobble=4]{python}{#2}
\end{tcolorbox}
}
\begin{figure}[h] \begin{figure}[h]
\centering \centering
\scalebox{0.88}{ \scalebox{0.88}{
@ -179,7 +145,7 @@ RF switches (1ns temporal resolution) on each channel provides 70 dB isolation.
\draw (3.8, -0.35) node[twoportshape, t={CPLD}, circuitikz/bipoles/twoport/width=1.1, scale=0.8, rotate=-90] (cpld) {}; \draw (3.8, -0.35) node[twoportshape, t={CPLD}, circuitikz/bipoles/twoport/width=1.1, scale=0.8, rotate=-90] (cpld) {};
% Synthronization clock buffer for DDS block % Synthronization clock buffer for DDS block
\draw (3.5, -2.5) node[twoportshape, t=\MymyLabel{Sync}{Buffer}, circuitikz/bipoles/twoport/width=1.2, scale=0.5] (sync_buf) {}; \draw (3.5, -2.5) node[twoportshape, t=\fourcm{Sync}{Buffer}, circuitikz/bipoles/twoport/width=1.2, scale=0.5] (sync_buf) {};
% Connect CPLD to: % Connect CPLD to:
% DDS clock buffer % DDS clock buffer
@ -195,10 +161,10 @@ RF switches (1ns temporal resolution) on each channel provides 70 dB isolation.
\draw [-latexslim] (sync_buf.south) -- ++ (0, -0.3) -- ++ (-1.05, 0); \draw [-latexslim] (sync_buf.south) -- ++ (0, -0.3) -- ++ (-1.05, 0);
% LVDS Transceivers % LVDS Transceivers
\draw (6, 0) node[twoportshape, t=\MymyLabel{LVDS}{Transceiever}, circuitikz/bipoles/twoport/width=1.8, scale=0.5] (lvds0) {}; \draw (6, 0) node[twoportshape, t=\fourcm{LVDS}{Transceiever}, circuitikz/bipoles/twoport/width=1.8, scale=0.5] (lvds0) {};
\draw (6, -0.7) node[twoportshape, t=\MymyLabel{LVDS}{Transceiever}, circuitikz/bipoles/twoport/width=1.8, scale=0.5] (lvds1) {}; \draw (6, -0.7) node[twoportshape, t=\fourcm{LVDS}{Transceiever}, circuitikz/bipoles/twoport/width=1.8, scale=0.5] (lvds1) {};
\draw (6, -2.5) node[twoportshape, t=\MymyLabel{LVDS}{Transceiever}, circuitikz/bipoles/twoport/width=1.8, scale=0.5] (lvds2) {}; \draw (6, -2.5) node[twoportshape, t=\fourcm{LVDS}{Transceiever}, circuitikz/bipoles/twoport/width=1.8, scale=0.5] (lvds2) {};
\draw (6, -3.2) node[twoportshape, t=\MymyLabel{LVDS}{Transceiever}, circuitikz/bipoles/twoport/width=1.8, scale=0.5] (lvds3) {}; \draw (6, -3.2) node[twoportshape, t=\fourcm{LVDS}{Transceiever}, circuitikz/bipoles/twoport/width=1.8, scale=0.5] (lvds3) {};
% Connect CPLD to transceivers % Connect CPLD to transceivers
\draw [latexslim-latexslim] (lvds0.west) -- ++ (-1.13, 0); \draw [latexslim-latexslim] (lvds0.west) -- ++ (-1.13, 0);
@ -264,7 +230,7 @@ RF switches (1ns temporal resolution) on each channel provides 70 dB isolation.
\draw (3, 0) node[buffer, circuitikz/bipoles/twoport/width=1.2, scale=-0.5] (amp) {}; \draw (3, 0) node[buffer, circuitikz/bipoles/twoport/width=1.2, scale=-0.5] (amp) {};
% Attenuators {0, 1, 2, 3} for amplifiers {0, 1, 2, 3} % Attenuators {0, 1, 2, 3} for amplifiers {0, 1, 2, 3}
\draw (4.6, 0) node[twoportshape, t=\MymyLabel{Digital}{Attenuator}, circuitikz/bipoles/twoport/width=2, scale=0.6, rotate=-90] (att) {}; \draw (4.6, 0) node[twoportshape, t=\fourcm{Digital}{Attenuator}, circuitikz/bipoles/twoport/width=2, scale=0.6, rotate=-90] (att) {};
% DDS {0, 1, 2, 3} for attenuators {0, 1, 2, 3} % DDS {0, 1, 2, 3} for attenuators {0, 1, 2, 3}
\draw (6.6, 0) node[twoportshape, t={DDS}, circuitikz/bipoles/twoport/width=1.2, scale=0.7] (dds) {}; \draw (6.6, 0) node[twoportshape, t={DDS}, circuitikz/bipoles/twoport/width=1.2, scale=0.7] (dds) {};
@ -305,22 +271,23 @@ RF switches (1ns temporal resolution) on each channel provides 70 dB isolation.
\centering \centering
\includegraphics[height=2.2in]{Urukul_FP.jpg} \includegraphics[height=2.2in]{Urukul_FP.jpg}
\includegraphics[height=2.2in]{photo4410.jpg} \includegraphics[height=2.2in]{photo4410.jpg}
\caption{Urukul Card photo} \caption{Urukul card and front panel}
\end{figure} \end{figure}
% For wide tables, a single column layout is better. It can be switched % For wide tables, a single column layout is better. It can be switched
% page-by-page. % page-by-page.
\onecolumn \onecolumn
\sourcesection{4410/4412 DDS Urukul}{https://github.com/sinara-hw/Urukul/}
\section{Electrical Specifications} \section{Electrical Specifications}
Specifications of parameters are based on the datasheets of the Specifications of parameters are based on the datasheets of the DDS IC
DDS IC(AD9910\footnote{\label{ad9910}https://www.analog.com/media/en/technical-documentation/data-sheets/AD9910.pdf}, (AD9910\footnote{\label{ad9910}\url{https://www.analog.com/media/en/technical-documentation/data-sheets/AD9910.pdf}},
AD9912\footnote{\label{ad9912}https://www.analog.com/media/en/technical-documentation/data-sheets/AD9912.pdf}), AD9912\footnote{\label{ad9912}\url{https://www.analog.com/media/en/technical-documentation/data-sheets/AD9912.pdf}}),
clock buffer IC (Si53312\footnote{\label{clock_buffer}https://www.skyworksinc.com/-/media/Skyworks/SL/documents/public/data-sheets/Si53312.pdf}), clock buffer IC (Si53312\footnote{\label{clock_buffer}\url{https://www.skyworksinc.com/-/media/SkyWorks/SL/documents/public/data-sheets/Si5331x_datasheet.pdf}}),
digital attenuator IC (HMC542BLP4E\footnote{\label{attenuator}https://www.analog.com/media/en/technical-documentation/data-sheets/hmc542b.pdf}), digital attenuator IC (HMC542BLP4E\footnote{\label{attenuator}\url{https://www.analog.com/media/en/technical-documentation/data-sheets/hmc542b.pdf}}), Sinara project information\footnote{\label{urukul_wiki}\url{https://github.com/sinara-hw/Urukul/wiki\#details-specification-and-typical-performance-data}}
various information from Sinara wiki\footnote{\label{urukul_wiki}https://github.com/sinara-hw/Urukul/wiki\#details-specification-and-typical-performance-data} and corresponding test results\footnote{\label{sinara354}\url{https://github.com/sinara-hw/sinara/issues/354\#issuecomment-352859041}}.
and corresponding test results\footnote{\label{sinara354}https://github.com/sinara-hw/sinara/issues/354\#issuecomment-352859041}.
\begin{table}[h] \begin{table}[h]
\centering \centering
\begin{threeparttable} \begin{threeparttable}
@ -361,11 +328,9 @@ and corresponding test results\footnote{\label{sinara354}https://github.com/sina
Resolution & & & & & \\ Resolution & & & & & \\
\hspace{3mm} Frequency\repeatfootnote{ad9910}\textsuperscript{,}\repeatfootnote{urukul_wiki} & & 0.25 & & Hz & AD9910 \\ \hspace{3mm} Frequency\repeatfootnote{ad9910}\textsuperscript{,}\repeatfootnote{urukul_wiki} & & 0.25 & & Hz & AD9910 \\
& & 8 & & $\mu$Hz & AD9912 \\ & & 8 & & $\mu$Hz & AD9912 \\
\hspace{3mm} Phase offset\repeatfootnote{ad9910}\textsuperscript{,}\repeatfootnote{ad9912} & & 16 & & bits & AD9910 \\ \hspace{3mm} Phase offset\repeatfootnote{ad9910}\textsuperscript{,}\repeatfootnote{ad9912} & & 16/14 & & bits & AD9910/AD9912 respectively \\
& & 14 & & bits & AD9912 \\
\hspace{3mm} Digital amplitude\repeatfootnote{ad9910} & & 14 & & bits & AD9910 \\ \hspace{3mm} Digital amplitude\repeatfootnote{ad9910} & & 14 & & bits & AD9910 \\
\hspace{3mm} DAC full scale current\repeatfootnote{ad9910}\textsuperscript{,}\repeatfootnote{ad9912} & & 8 & & bits & AD9910 \\ \hspace{3mm} DAC full scale current\repeatfootnote{ad9910}\textsuperscript{,}\repeatfootnote{ad9912} & & 8/10 & & bits & AD9910/AD9912 respectively \\
& & 10 & & bits & AD9912 \\
\hspace{3mm} Temporal (I/O Update)\repeatfootnote{urukul_wiki} & & 4 & & ns & \\ \hspace{3mm} Temporal (I/O Update)\repeatfootnote{urukul_wiki} & & 4 & & ns & \\
\hspace{3mm} Digital attenuation\repeatfootnote{attenuator} & & 0.5 & & dB & \\ \hspace{3mm} Digital attenuation\repeatfootnote{attenuator} & & 0.5 & & dB & \\
\thickhline \thickhline
@ -373,14 +338,12 @@ and corresponding test results\footnote{\label{sinara354}https://github.com/sina
\end{threeparttable} \end{threeparttable}
\end{table} \end{table}
\newpage The tabulated performance characteristics are produced using the following setup unless otherwise noted:
The tabulated performance characteristics are produced using the following setup unless otherwise noted.
\begin{itemize} \begin{itemize}
\item 100 MHz input clock into SMA, 10 dBm. \item 100 MHz input clock into SMA, 10 dBm
\item Input clock divided by 4. \item Input clock divided by 4
\item PLL with x40 multiplier. \item PLL with x40 multiplier
\item Output frequency at 80 MHz or 81 MHz. \item Output frequency at 80 MHz or 81 MHz
\end{itemize} \end{itemize}
\begin{table}[h] \begin{table}[h]
@ -428,7 +391,7 @@ The tabulated performance characteristics are produced using the following setup
\newpage \newpage
Harmonic content of the DDS signals from 4410 DDS Urukul is tabulated below\footnote{\label{urukul29}https://github.com/sinara-hw/Urukul/issues/29}. An external 125 MHz clock signal were supplied. Harmonic content of the DDS signals from 4410 DDS Urukul is tabulated below\footnote{\label{urukul29}\url{https://github.com/sinara-hw/Urukul/issues/29}}. An external 125 MHz clock signal was supplied.
\newcommand{\ts}{\textsuperscript} \newcommand{\ts}{\textsuperscript}
\newcolumntype{Y}{>{\centering\arraybackslash}X} \newcolumntype{Y}{>{\centering\arraybackslash}X}
@ -581,9 +544,7 @@ Harmonic content of the DDS signals from 4410 DDS Urukul is tabulated below\foot
\newpage \newpage
The RMS voltage of a 4410 DDS Urukul channel at different amplitude scale factor is measured. The RMS voltage of a 4410 DDS Urukul channel at different amplitude scale factors is measured below. The DDS channel is directly connected to an oscilloscope with a 50\textOmega~termination. The reported values are obtained from the oscilloscope.
The DDS channel is directly connected to an oscilloscope with a 50\textOmega~termination.
The reported values are obtained from the oscilloscope.
\begin{multicols}{2} \begin{multicols}{2}
\begin{figure}[H] \begin{figure}[H]
@ -702,8 +663,8 @@ The reported values are obtained from the oscilloscope.
\end{multicols} \end{multicols}
The expected RMS voltage is described by the linear function $V_\mathrm{rms,exp}(\mathrm{ASF})=\frac{V_\mathrm{rms}(0.1)}{0.1}*\mathrm{ASF}$. The ideal RMS voltage is described by the linear function $V_\mathrm{rms,ideal}(\mathrm{ASF})=\frac{V_\mathrm{rms}(0.1)}{0.1}*\mathrm{ASF}$.
The measured RMS voltage divided by the full scale expected RMS voltage (i.e. $V_\mathrm{rms,exp}(1)$) is shown below. The measured RMS voltage divided by the full scale ideal RMS voltage (i.e. $V_\mathrm{rms,ideal}(1)$) is shown below.
\begin{figure}[H] \begin{figure}[H]
\centering \centering
@ -732,7 +693,7 @@ The measured RMS voltage divided by the full scale expected RMS voltage (i.e. $V
color=blue, color=blue,
mark=square, mark=square,
samples=11, samples=11,
y filter/.code={\pgfmathparse{\pgfmathresult/0.089807*0.1}\pgfmathresult} y filter/.expression={y/0.089807 * 0.1}
] coordinates { ] coordinates {
(0.0, 0) (0.1, 0.089807) (0.2, 0.179723) (0.3, 0.268852) (0.4, 0.354310) (0.5, 0.441055) (0.0, 0) (0.1, 0.089807) (0.2, 0.179723) (0.3, 0.268852) (0.4, 0.354310) (0.5, 0.441055)
(0.6, 0.526386) (0.7, 0.61233) (0.8, 0.69044) (0.9, 0.75856) (1.0, 0.81703) (0.6, 0.526386) (0.7, 0.61233) (0.8, 0.69044) (0.9, 0.75856) (1.0, 0.81703)
@ -742,7 +703,7 @@ The measured RMS voltage divided by the full scale expected RMS voltage (i.e. $V
color=orange, color=orange,
mark=square, mark=square,
samples=11, samples=11,
y filter/.code={\pgfmathparse{\pgfmathresult/50.0729*0.1}\pgfmathresult} y filter/.expression={y/50.0729 * 0.1}
] coordinates { ] coordinates {
(0, 0) (0.1, 50.0729) (0.2, 100.309) (0.3, 150.996) (0.4, 200.905) (0.5, 250.004) (0, 0) (0.1, 50.0729) (0.2, 100.309) (0.3, 150.996) (0.4, 200.905) (0.5, 250.004)
(0.6, 297.000) (0.7, 345.980) (0.8, 394.391) (0.9, 442.869) (1.0, 490.651) (0.6, 297.000) (0.7, 345.980) (0.8, 394.391) (0.9, 442.869) (1.0, 490.651)
@ -752,7 +713,7 @@ The measured RMS voltage divided by the full scale expected RMS voltage (i.e. $V
color=green, color=green,
mark=square, mark=square,
samples=11, samples=11,
y filter/.code={\pgfmathparse{\pgfmathresult/28.4696*0.1}\pgfmathresult} y filter/.expression={y/28.4696 * 0.1}
] coordinates { ] coordinates {
(0, 0) (0.1, 28.4696) (0.2, 57.143) (0.3, 85.776) (0.4, 114.694) (0.5, 143.302) (0, 0) (0.1, 28.4696) (0.2, 57.143) (0.3, 85.776) (0.4, 114.694) (0.5, 143.302)
(0.6, 171.911) (0.7, 200.098) (0.8, 227.816) (0.9, 256.321) (1.0, 281.930) (0.6, 171.911) (0.7, 200.098) (0.8, 227.816) (0.9, 256.321) (1.0, 281.930)
@ -762,16 +723,16 @@ The measured RMS voltage divided by the full scale expected RMS voltage (i.e. $V
color=red, color=red,
mark=square, mark=square,
samples=11, samples=11,
y filter/.code={\pgfmathparse{\pgfmathresult/16.6691*0.1}\pgfmathresult} y filter/.expression={y/16.6691 * 0.1}
] coordinates { ] coordinates {
(0, 0) (0.1, 16.6691) (0.2, 33.3762) (0.3, 49.8844) (0.4, 67.055) (0.5, 83.652) (0, 0) (0.1, 16.6691) (0.2, 33.3762) (0.3, 49.8844) (0.4, 67.055) (0.5, 83.652)
(0.6, 99.970) (0.7, 116.906) (0.8, 133.368) (0.9, 150.839) (1.0, 167.033) (0.6, 99.970) (0.7, 116.906) (0.8, 133.368) (0.9, 150.839) (1.0, 167.033)
}; };
\legend{Expected response, 0dB attenuation, 5dB attenuation, 10dB attenuation, 15dB attenuation} \legend{Ideal response, 0dB attenuation, 5dB attenuation, 10dB attenuation, 15dB attenuation}
\end{axis} \end{axis}
\end{tikzpicture} \end{tikzpicture}
\caption{RMS voltage scaled by expected voltage at ASF=1, 100 MHz} \caption{RMS voltage scaled by ideal voltage at ASF=1, 100 MHz}
\end{figure} \end{figure}
\newpage \newpage
@ -815,7 +776,7 @@ The measured RMS voltage divided by the full scale expected RMS voltage (i.e. $V
\end{multicols} \end{multicols}
\footnotetext{\label{urukul64}https://github.com/sinara-hw/Urukul/issues/64} \footnotetext{\label{urukul64}\url{https://github.com/sinara-hw/Urukul/issues/64}}
\begin{figure}[H] \begin{figure}[H]
\centering \centering
@ -836,61 +797,8 @@ The measured RMS voltage divided by the full scale expected RMS voltage (i.e. $V
\end{figure} \end{figure}
\newpage \newpage
\section{Configuring Operation Mode}
\section{Front Panel Drawings} Mode of operation is specified by a DIP switch. The DIP switch can be found at the top right corner of the card. The following table summarizes the required setting for each mode.
\begin{multicols}{2}
\begin{center}
\centering
\includegraphics[height=3in]{dds_drawings.pdf}
\captionof{figure}{4410 DDS Urukul front panel drawings}
\end{center}
\begin{center}
\captionof{table}{Bill of Material (Standalone)}
\tiny
\begin{tabular}{|c|c|c|c|}
\hline
Index & Part No. & Qty & Description \\ \hline
1 & 90498177 & 1 & FRONT PANEL 3U 4HP PIU TYPE2 \\ \hline
2 & 3020716 & 0.02 & SLEEVE GREY PLAS.M2.5 (100PCS) \\ \hline
3 & 3218843 & 2 & FP-ALIGNMENT PIN (LOCALIZATION) \\ \hline
\end{tabular}
\end{center}
\columnbreak
\begin{center}
\centering
\includegraphics[height=3in]{dds_assembly.pdf}
\captionof{figure}{4410 DDS Urukul front panel assembly}
\end{center}
\begin{center}
\captionof{table}{Bill of Material (Assembled)}
\tiny
\begin{tabular}{|c|c|c|c|}
\hline
Index & Part No. & Qty & Description \\ \hline
1 & 90498177 & 1 & FP-LYKJ 3U4HP PANEL \\ \hline
2 & 3001012 & 2 & SCR M2.5*6 PAN PHL NI DIN7985 \\ \hline
3 & 3010110 & 0.02 & WASHER PLN.M2.7 DIN125 (100X) \\ \hline
4 & 3010124 & 0.1 & EMC GASKET FABRIC 3U (10PCS) \\ \hline
5 & 3033098 & 0.02 & SCREW COLLAR M2.5X12.3 (100X) \\ \hline
6 & 3040012 & 1 & HANDLE 4HP GREY PLASTIC \\ \hline
7 & 3040138 & 2 & PB HOLDER DIE-CAST \\ \hline
8 & 3201099 & 0.01 & SCR M2.5*8 OVL PHL ST NI 100EA \\ \hline
9 & 3207075 & 0.01 & SCR M2.5*12 PAN 100 21101-221 \\ \hline
\end{tabular}
\end{center}
\end{multicols}
\newpage
\section{Urukul Mode Configurations}
Mode of operation is specified by a DIP switch.
The DIP switch can be found at the top right corner of the card.
The following table summarizes the required setting for each mode.
\ding{51} indicates ON, while \ding{53} indicates OFF. \ding{51} indicates ON, while \ding{53} indicates OFF.
\begin{multicols}{2} \begin{multicols}{2}
@ -902,7 +810,7 @@ The following table summarizes the required setting for each mode.
\multicolumn{1}{|c|}{\multirow{2}{*}{Mode}} & \multicolumn{4}{c|}{DIP Switch} \\ \cline{2-5} \multicolumn{1}{|c|}{\multirow{2}{*}{Mode}} & \multicolumn{4}{c|}{DIP Switch} \\ \cline{2-5}
\multicolumn{1}{|c|}{} & \multicolumn{1}{c|}{1} & \multicolumn{1}{c|}{2} & \multicolumn{1}{c|}{3} & 4 \\ \hline \multicolumn{1}{|c|}{} & \multicolumn{1}{c|}{1} & \multicolumn{1}{c|}{2} & \multicolumn{1}{c|}{3} & 4 \\ \hline
Default & \multicolumn{1}{c|}{\ding{53}} & \multicolumn{1}{c|}{\ding{53}} & \multicolumn{1}{c|}{\ding{53}} & \ding{53} \\ \hline Default & \multicolumn{1}{c|}{\ding{53}} & \multicolumn{1}{c|}{\ding{53}} & \multicolumn{1}{c|}{\ding{53}} & \ding{53} \\ \hline
SU-Servo & \multicolumn{1}{c|}{\ding{53}} & \multicolumn{1}{c|}{\ding{51}} & \multicolumn{1}{c|}{\ding{53}} & \ding{53} \\ \hline SU-Servo & \multicolumn{1}{c|}{\ding{51}} & \multicolumn{1}{c|}{\ding{51}} & \multicolumn{1}{c|}{\ding{53}} & \ding{53} \\ \hline
\end{tabular} \end{tabular}
\end{center} \end{center}
@ -916,47 +824,37 @@ The following table summarizes the required setting for each mode.
\end{multicols} \end{multicols}
\section{Urukul 1-EEM/2-EEM Modes} \section{Urukul Single-/Double-EEM Modes}
4410/4412 DDS Urukul can operate with either 1 or 2 EEM connections.
It is in 1-EEM mode when only EEM0 is connected, 2-EEM mode when both EEM0 \& EEM1 are connected.
2-EEM mode provides these additional features in comparison to 1-EEM mode.
\begin{itemize}
\item 1 ns temporal resolution RF switches \\
Without EEM1, the only way to access the switches is through the CPLD using SPI. \\
With EEM1, RF switches can be controlled as a TTL output through the LVDS transceiver.
1 ns temporal resolution is achieved using the ARTIQ RTIO system.
\item SU-Servo (4410 DDS Urukul feature) \\ 4410/4412 DDS Urukul cards can operate with either a single or double EEM connections. When only EEM0 is connected, the card will act in single-EEM mode; when both EEM0 and EEM1 are connected, the card will act in double-EEM mode. 2-EEM mode when both EEM0 \& EEM1 are connected. Double-EEM mode provides these additional features in comparison to single-EEM mode:
SU-Servo requires both EEM0 \& EEM1 to control multiple DDS channels simultaneously using the QSPI interface. \begin{itemize}
\item \textbf{1 ns temporal resolution RF switches} \\
Without EEM1, the only way to access the switches is through the CPLD, using SPI. \\
With EEM1, RF switches can be controlled as a TTL output through the LVDS transceiver. 1 ns temporal resolution can then be achieved using the ARTIQ RTIO system.
\item \textbf{SU-Servo (4410 DDS Urukul feature)} \\
SU-Servo requires both EEM0 \& EEM1 to allow the control of multiple DDS channels simultaneously using the QSPI interface.
\end{itemize} \end{itemize}
\newpage \newpage
\section{Example ARTIQ code} \codesection{4410/4412 DDS Urukul}
The sections below demonstrate simple usage scenarios of the 4410/4412 DDS Urukul card with the ARTIQ control system.
They do not exhaustively demonstrate all the features of the ARTIQ system.
The full documentation for the ARTIQ software and gateware is available at \url{https://m-labs.hk}.
\subsection{10 MHz Sinusoidal Wave} \subsection{10 MHz sinusoidal wave}
Generate a 10MHz sinusoid from RF0 with full scale amplitude, attenuated by 6 dB. Generates a 10MHz sinusoid from RF0 with full scale amplitude, attenuated by 6 dB. Both the CPLD and the DDS channels should be initialized. By default, AD9910 single-tone profiles are programmed to profile 7.
Both the CPLD and the DDS channels should be initialized.
By default, AD9910 single-tone profiles are programmed to profile 7.
\inputcolorboxminted{firstline=11,lastline=18}{examples/dds.py} \inputcolorboxminted{firstline=11,lastline=18}{examples/dds.py}
If the synchronization feature of AD9910 was enabled, RF signal across different channels of the same Urukul can be synchronized. If the synchronization feature of AD9910 is enabled, RF signal across different channels of the same Urukul can be synchronized. For example, phase-coherent RF signal can be produced on both channel 0 and channel 1 after configuring an appropriate phase mode.
For example, phase-coherent RF signal can be produced on both channel 0 and channel 1 after configuring an appropriate phase mode.
\inputcolorboxminted{firstline=28,lastline=43}{examples/dds.py} \inputcolorboxminted{firstline=28,lastline=43}{examples/dds.py}
Note that the phase difference between the 2 channels might not be exactly 0.25 turns, but it is a constant. Note that the phase difference between the 2 channels might not be exactly 0.25 turns, but it is a constant. It can be negated by adjusting the \texttt{phase} parameter.
It can be negated by adjusting the \texttt{phase} parameter.
\newpage \newpage
\subsection{Periodic RF pulse (AD9910 Only)} \subsection{Periodic RF pulse (AD9910 Only)}
This examples demonstrates that the RF signal can be modulated by amplitude using the RAM modulation feature of AD9910. This example demonstrates that the RF signal can be modulated by amplitude using the RAM modulation feature of the AD9910. By default, RAM profiles are programmed to profile 0.
By default, RAM profiles are programmed to profile 0.
\inputcolorboxminted{firstline=53,lastline=91}{examples/dds.py} \inputcolorboxminted{firstline=53,lastline=91}{examples/dds.py}
@ -968,8 +866,7 @@ The generated RF output of the above example consists of the following features
\item No signal for 3 microseconds. \item No signal for 3 microseconds.
\item Go back to item 1. \item Go back to item 1.
\end{enumerate} \end{enumerate}
The expected waveform is plotted on the following figure. The expected waveform is plotted on the following figure. Note that phase of the RF pulses may drift gradually.
Note that phase of the RF pulses may drift gradually.
Urukul was operated with a 50$\Omega$ termination to produce the waveform. Urukul was operated with a 50$\Omega$ termination to produce the waveform.
\begin{tikzpicture}[ \begin{tikzpicture}[
@ -977,7 +874,7 @@ Urukul was operated with a 50$\Omega$ termination to produce the waveform.
func(\x)= (\x<0) * (0) + func(\x)= (\x<0) * (0) +
and(\x>=0, \x<2) * (0.42*cos(deg(10*pi*\x))) + and(\x>=0, \x<2) * (0.42*cos(deg(10*pi*\x))) +
and(\x>=2, \x<3) * (0) + and(\x>=2, \x<3) * (0) +
and(\x>=3, \x<4) * (0.42*cos(deg(10*pi*\x)))) + and(\x>=3, \x<4) * (0.42*cos(deg(10*pi*\x))) +
and(\x>=4, \x<7) * (0) + and(\x>=4, \x<7) * (0) +
and(\x>=7, \x<7.5) * (0.42*cos(deg(10*pi*\x))); and(\x>=7, \x<7.5) * (0.42*cos(deg(10*pi*\x)));
} }
@ -1002,15 +899,12 @@ Urukul was operated with a 50$\Omega$ termination to produce the waveform.
\end{axis} \end{axis}
\end{tikzpicture} \end{tikzpicture}
\subsection{Simple Amplitude Ramp (AD9910 Only)} \subsection{Simple amplitude ramp (AD9910 only)}
An amplitude ramp of an RF signal can be generated by modifying the \texttt{self.amp} array in the previous example. An amplitude ramp of an RF signal can be generated by modifying the \texttt{self.amp} array in the previous example.
\inputcolorboxminted{firstline=95,lastline=98}{examples/dds.py} \inputcolorboxminted{firstline=95,lastline=98}{examples/dds.py}
The generated RF output has an incrementing amplitude scale factor (ASF), increasing by 0.1 at every microsecond. The generated RF output has an incrementing amplitude scale factor (ASF), increasing by 0.1 at every microsecond. Once the ASF reaches 1.0, it drops back to 0.0 at the next microsecond. The expected waveform over 1 cycle is plotted on the following figure. Note that phase of the RF pulses may drift gradually.
Once the ASF reaches 1.0, it drops back to 0.0 at the next microsecond.
The expected waveform over 1 cycle is plotted on the following figure.
Note that phase of the RF pulses may drift gradually.
Urukul was operated with a 50$\Omega$ termination to produce the waveform. Urukul was operated with a 50$\Omega$ termination to produce the waveform.
\begin{tikzpicture}[ \begin{tikzpicture}[
@ -1052,26 +946,23 @@ Urukul was operated with a 50$\Omega$ termination to produce the waveform.
\newpage \newpage
\subsection{RAM Synchronization (AD9910 Only)} \subsection{RAM synchronization (AD9910 only)}
Multiple RAM channels can also be synchronized. Multiple RAM channels can also be synchronized. Similar to the 10 MHz single-tone RF signals, specify \texttt{phase} when calling \texttt{dds.set()} in \texttt{configure\char`_ram\char`_mode}. For example, set phase to 0 for the channels (\texttt{phase=0.0}):
Similar to the 10 MHz single-tone RF signals, specify \texttt{phase} when calling \texttt{dds.set()} in \texttt{configure\char`_ram\char`_mode}.
For example, set phase to 0 for the channels (\texttt{phase=0.0}).
\inputcolorboxminted{firstline=116,lastline=116}{examples/dds.py} \inputcolorboxminted{firstline=116,lastline=116}{examples/dds.py}
Then, replace the \texttt{run()} function with the following. Then, replace the \texttt{run()} function with the following:
\inputcolorboxminted{firstline=122,lastline=134}{examples/dds.py} \inputcolorboxminted{firstline=122,lastline=134}{examples/dds.py}
Two phase-coherent RF signal with the same waveform as the previous figure (from either RAM examples) should be generated. Two phase-coherent RF signal with the same waveform as the previous figure (from either RAM examples) should be generated.
\subsection{Voltage-controlled DDS Amplitude (SU-Servo Only)} \subsection{Voltage-controlled DDS amplitude (SU-Servo only)}
The SU-Servo feature can be enabled by integrating the 4410 DDS Urukul with a 5108 Sampler. The SU-Servo feature can be enabled by integrating the 4410 DDS Urukul with a 5108 Sampler. Amplitude of the DDS output can be controlled by the ADC input of the Sampler through PI control, characterised by the following transfer function:
Amplitude of the DDS output can be controlled by the ADC input of the Sampler through PI control, characterised by the following transfer function.
\[H(s)=k_p+\frac{k_i}{s+\frac{k_i}{g}}\] \[H(s)=k_p+\frac{k_i}{s+\frac{k_i}{g}}\]
In the following example, the amplitude of DDS is proportional to the ADC input from Sampler.
First, initialize the RTIO, SU-Servo and its channel. In the following example, the amplitude of DDS is proportional to the ADC input from Sampler. First, initialize the RTIO, SU-Servo and its channel. Note that the programmable gain of the Sampler is $10^0=1$ and the input range is [-10V, 10V].
Note that the programmable gain of the Sampler is $10^0=1$, the input range is [-10V, 10V].
\inputcolorboxminted{firstline=10,lastline=17}{examples/suservo.py} \inputcolorboxminted{firstline=10,lastline=17}{examples/suservo.py}
@ -1084,17 +975,13 @@ When input voltage $\geq$ offset voltage, the DDS output amplitude is 0.
\inputcolorboxminted{firstline=26,lastline=30}{examples/suservo.py} \inputcolorboxminted{firstline=26,lastline=30}{examples/suservo.py}
SU-Servo encodes the ADC voltage in a linear scale [-1, 1]. SU-Servo encodes the ADC voltage in a linear scale [-1, 1]. Therefore, 3V is converted to 0.3. Note that the ASF of all DDS channels are capped at 1.0 and the amplitude clips when ADC input $\leq -7V$ with the above IIR filter.
Therefore, 3V is converted to 0.3.
Note that the ASF of all DDS channels are capped at 1.0, the amplitude clips when ADC input $\leq -7V$ with the above IIR filter.
Finally, enable the SU-Servo channel with the IIR filter programmed beforehand. Finally, enable the SU-Servo channel with the IIR filter programmed beforehand:
\inputcolorboxminted{firstline=32,lastline=33}{examples/suservo.py} \inputcolorboxminted{firstline=32,lastline=33}{examples/suservo.py}
A 10 MHz DDS signal is generated from the example above, with amplitude controllable by ADC. A 10 MHz DDS signal is generated from the example above, with amplitude controllable by ADC. The RMS voltage of the DDS channel against the ADC voltage is plotted. The DDS channel is terminated with 50\textOmega.
The RMS voltage of the DDS channel against the ADC voltage is plotted.
The DDS channel is terminated with 50\textOmega.
\begin{center} \begin{center}
\begin{tikzpicture}[ \begin{tikzpicture}[
@ -1127,22 +1014,10 @@ The DDS channel is terminated with 50\textOmega.
\end{tikzpicture} \end{tikzpicture}
\end{center} \end{center}
DDS signal should be attenuated. DDS signal should be attenuated. High output power affects the linearity due to the 1 dB compression point of the amplifier at 13 dBm output power. 15 dB attenuation at the digital attenuator was applied in this example.
High output power affects the linearity due to the 1 dB compression point of the amplifier at 13 dBm output power.
15 dB attenuation at the digital attenuator was applied in this example.
\section{Ordering Information} \ordersection{4410/4412 DDS Urukul}
To order, please visit \url{https://m-labs.hk} and select the 4410 DDS Urukul in the ARTIQ Sinara crate configuration tool.
The default chip is AD9910 (4410 DDS Urukul), which supports more features.
If you need the higher frequency resolution of the AD9912 (4412 DDS Urukul), leave us a note when placing the order.
To enable SU-Servo feature between 4410 Urukul and 5108 Sampler, specify that SU-Servo is to be integrated into the gateware when placing the order.
The cards may also be ordered separately by writing to \url{mailto:sales@m-labs.hk}.
\section*{} \finalfootnote
\vspace*{\fill}
\begin{footnotesize}
Information furnished by M-Labs Limited is provided in good faith in the hope that it will be useful. However, no responsibility is assumed by M-Labs Limited for its use. Specifications may be subject to change without notice.
\end{footnotesize}
\end{document} \end{document}

131
4456.tex
View File

@ -1,25 +1,5 @@
\documentclass[10pt]{datasheet} \input{preamble.tex}
\usepackage{palatino} \graphicspath{{images/4456}{images}}
\usepackage{textgreek}
\usepackage{minted}
\usepackage{tcolorbox}
\usepackage{etoolbox}
\usepackage[justification=centering]{caption}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage[english]{isodate}
\usepackage{graphicx}
\usepackage{subfigure}
\usepackage{tikz}
\usepackage{pgfplots}
\usepackage{circuitikz}
\usepackage{pifont}
\usetikzlibrary{calc}
\usetikzlibrary{fit,backgrounds}
\title{4456 Synthesizer Mirny} \title{4456 Synthesizer Mirny}
\author{M-Labs Limited} \author{M-Labs Limited}
@ -33,45 +13,33 @@
\section{Features} \section{Features}
\begin{itemize} \begin{itemize}
\item{4-channel VCO/PLL.} \item{4-channel VCO/PLL}
\item{Output frequency ranges from 53 MHz to \textgreater 4 GHz.} \item{Output frequency ranges from 53 MHz to \textgreater 4 GHz}
\item{Up to 13.6 GHz with Almazny mezzanine.} \item{Up to 13.6 GHz with Almazny mezzanine}
\item{Higher frequency resolution than Urukul.} \item{Higher frequency resolution than Urukul}
\item{Lower jitter and phase noise.} \item{Lower jitter and phase noise}
\item{Large frequency changes take several milliseconds.} \item{Large frequency changes take several milliseconds}
\end{itemize} \end{itemize}
\section{Applications} \section{Applications}
\begin{itemize} \begin{itemize}
\item{Low-noise microwave source.} \item{Low-noise microwave source}
\item{Quantum state control.} \item{Quantum state control}
\item{Driving acousto/electro-optic modulators.} \item{Driving acousto/electro-optic modulators}
\end{itemize} \end{itemize}
\section{General Description} \section{General Description}
The 4456 Synthesizer Mirny card is a 4hp EEM module part of the ARTIQ Sinara family. The 4456 Synthesizer Mirny card is a 4hp EEM module, part of the ARTIQ/Sinara family. It adds microwave generation capabilities to carrier cards such as 1124 Kasli and 1125 Kasli-SoC.
It adds microwave generation capabilities to carrier cards such as 1124 Kasli and 1125 Kasli-SoC.
It provides 4 channels of PLL frequency synthesis. It provides 4 channels of PLL frequency synthesis. Output frequencies from 53 MHz to \textgreater 4 GHz are supported.The range can be expanded up to 13.6 GHz with the Almazny mezzanine (4467 HF Synthesizer).
Output frequency from 53 MHz to \textgreater 4 GHz are supported.
The range can be expanded up to 13.6 GHz with Almazny mezzanine. Each channel can be attenuated from 0 to -31.5 dB by a digital attenuator. RF switches on each channel provides at least 50 dB isolation.
Each channel can be attenuated from 0 to -31.5 dB by a digital attenuator.
RF switches on each channel provides at least 50 dB isolation.
% Switch to next column % Switch to next column
\vfill\break \vfill\break
\newcommand*{\MyLabel}[3][2cm]{\parbox{#1}{\centering #2 \\ #3}}
\newcommand*{\MymyLabel}[3][4cm]{\parbox{#1}{\centering #2 \\ #3}}
\newcommand{\repeatfootnote}[1]{\textsuperscript{\ref{#1}}}
\newcommand{\inputcolorboxminted}[2]{%
\begin{tcolorbox}[colback=white]
\inputminted[#1, gobble=4]{python}{#2}
\end{tcolorbox}
}
\begin{figure}[h] \begin{figure}[h]
\centering \centering
\scalebox{0.95}{ \scalebox{0.95}{
@ -228,8 +196,8 @@ RF switches on each channel provides at least 50 dB isolation.
\draw [latexslim-latexslim] (cpld.east) -- (afe.west); \draw [latexslim-latexslim] (cpld.east) -- (afe.west);
% Draw LVDS transceivers, EEM % Draw LVDS transceivers, EEM
\draw (6.2, 0) node[twoportshape, t=\MymyLabel{LVDS}{Transceiever}, circuitikz/bipoles/twoport/width=1.8, scale=0.5, rotate=-90] (lvds0) {}; \draw (6.2, 0) node[twoportshape, t=\fourcm{LVDS}{Transceiever}, circuitikz/bipoles/twoport/width=1.8, scale=0.5, rotate=-90] (lvds0) {};
\draw (6.2, -1.6) node[twoportshape, t=\MymyLabel{LVDS}{Transceiever}, circuitikz/bipoles/twoport/width=1.8, scale=0.5, rotate=-90] (lvds1) {}; \draw (6.2, -1.6) node[twoportshape, t=\fourcm{LVDS}{Transceiever}, circuitikz/bipoles/twoport/width=1.8, scale=0.5, rotate=-90] (lvds1) {};
\draw (7.8, -1.5) node[twoportshape, t={EEM Port}, circuitikz/bipoles/twoport/width=3.8, scale=0.7, rotate=-90] (eem) {}; \draw (7.8, -1.5) node[twoportshape, t={EEM Port}, circuitikz/bipoles/twoport/width=3.8, scale=0.7, rotate=-90] (eem) {};
% Connect LVDS transceiver to CPLD % Connect LVDS transceiver to CPLD
@ -268,7 +236,7 @@ RF switches on each channel provides at least 50 dB isolation.
\draw (3, 0) node[buffer, circuitikz/bipoles/twoport/width=1.2, scale=-0.5] (amp) {}; \draw (3, 0) node[buffer, circuitikz/bipoles/twoport/width=1.2, scale=-0.5] (amp) {};
% Attenuators {0, 1, 2, 3} for amplifiers {0, 1, 2, 3} % Attenuators {0, 1, 2, 3} for amplifiers {0, 1, 2, 3}
\draw (4.6, 0) node[twoportshape, t=\MymyLabel{Digital}{Attenuator}, circuitikz/bipoles/twoport/width=2, scale=0.6, rotate=-90] (att) {}; \draw (4.6, 0) node[twoportshape, t=\fourcm{Digital}{Attenuator}, circuitikz/bipoles/twoport/width=2, scale=0.6, rotate=-90] (att) {};
% PLL {0, 1, 2, 3} for attenuators {0, 1, 2, 3} % PLL {0, 1, 2, 3} for attenuators {0, 1, 2, 3}
\draw (6.6, 0) node[twoportshape, t={PLL}, circuitikz/bipoles/twoport/width=1.2, scale=0.7] (pll) {}; \draw (6.6, 0) node[twoportshape, t={PLL}, circuitikz/bipoles/twoport/width=1.2, scale=0.7] (pll) {};
@ -307,22 +275,24 @@ RF switches on each channel provides at least 50 dB isolation.
\begin{figure}[hbt!] \begin{figure}[hbt!]
\centering \centering
\includegraphics[height=2in]{Mirny_FP.pdf}
\includegraphics[height=2in]{photo4456.jpg} \includegraphics[height=2in]{photo4456.jpg}
\caption{Mirny Card photo} \includegraphics[height=3in, angle=90]{Mirny_FP.pdf}
\caption{Mirny card and front panel}
\end{figure} \end{figure}
% For wide tables, a single column layout is better. It can be switched % For wide tables, a single column layout is better. It can be switched
% page-by-page. % page-by-page.
\onecolumn \onecolumn
\sourcesection{4456 Synthesizer Mirny}{https://github.com/sinara-hw/mirny}
\section{Electrical Specifications} \section{Electrical Specifications}
Specifications of parameters are based on the datasheets of the Specifications of parameters are based on the datasheets of the PLL IC
PLL IC(ADF5356\footnote{\label{adf5356}https://www.analog.com/media/en/technical-documentation/data-sheets/ADF5356.pdf}), (ADF5356\footnote{\label{adf5356}\url{https://www.analog.com/media/en/technical-documentation/data-sheets/ADF5356.pdf}}),
clock buffer IC (Si53340-B-GM\footnote{\label{clock_buffer}https://www.skyworksinc.com/-/media/Skyworks/SL/documents/public/data-sheets/si5334x-datasheet.pdf}), clock buffer IC (Si53340-B-GM\footnote{\label{clock_buffer}\url{https://www.skyworksinc.com/-/media/Skyworks/SL/documents/public/data-sheets/si5334x-datasheet.pdf}}),
digital attenuator IC (HMC542BLP4E\footnote{\label{attenuator}https://www.analog.com/media/en/technical-documentation/data-sheets/hmc542b.pdf}). and digital attenuator IC (HMC542BLP4E\footnote{\label{attenuator}\url{https://www.analog.com/media/en/technical-documentation/data-sheets/hmc542b.pdf}}).
Test results are from the Krzysztof Belewicz's thesis ``Microwave synthesizer for driving ion traps in quantum computing"\footnote{\label{mirny_thesis}https://m-labs.hk/Krzysztof\_Belewicz\_V1.1.pdf}. Test results are from Krzysztof Belewicz's thesis. "Microwave synthesizer for driving ion traps in quantum computing"\footnote{\label{mirny_thesis}\url{https://m-labs.hk/Krzysztof\_Belewicz\_V1.1.pdf}}.
\begin{table}[h] \begin{table}[h]
\centering \centering
@ -371,16 +341,12 @@ Test results are from the Krzysztof Belewicz's thesis ``Microwave synthesizer fo
\newpage \newpage
Phase noise performance of Mirny was tested using the ADF4351 evaluation kit\repeatfootnote{mirny_thesis}. Phase noise performance of Mirny was tested using the ADF4351 evaluation kit\repeatfootnote{mirny_thesis}. The SPI signal was driven by the evaluation kit, converted into LVDS signal by propagating through the DIO-tester card, finally arriving at the Mirny card. Mirny was then connected to the RSA5100A spectrum analyzer for measurement.
The SPI signal is driven by the evaluation kit, converted into LVDS signal by propagating through the DIO-tester card, finally arriving at the Mirny card.
Mirny is then connected to the RSA5100A spectrum analyzer for measurement.
Noise response spike can be improved by inserting an additional common-mode choke between the power supply and Mirny. Noise response spike can be improved by inserting an additional common-mode choke between the power supply and Mirny; note that this common-mode choke is not present on the card itself. The following is a comparison between the two setups at 1 GHz output:
Note that the common-mode choke is not present on the Mirny card.
The following is a comparison between 2 setups at 1 GHz output:
\begin{itemize} \begin{itemize}
\item Red: Before any modifications \item Red: Before any modifications
\item Blue: Adding a CM choke with an 100 \textmu F capacitor after the CM choke \item Blue: CM choke added with an 100 \textmu F capacitor after the CM choke
\end{itemize} \end{itemize}
\begin{figure}[H] \begin{figure}[H]
@ -389,7 +355,7 @@ The following is a comparison between 2 setups at 1 GHz output:
\caption{Phase noise measurement at 1 GHz} \caption{Phase noise measurement at 1 GHz}
\end{figure} \end{figure}
Phase noise at different output frequencies are then measured. Phase noise at different output frequencies is then measured:
\newcolumntype{Y}{>{\centering\arraybackslash}X} \newcolumntype{Y}{>{\centering\arraybackslash}X}
@ -425,22 +391,15 @@ Phase noise at different output frequencies are then measured.
\caption{Phase noise measurement} \caption{Phase noise measurement}
\end{figure} \end{figure}
\newpage \codesection{4456 Synthesizer Mirny}
\section{Example ARTIQ code} \subsection{1 GHz sinusoidal wave}
The sections below demonstrate simple usage scenarios of the 4456 Synthesizer Mirny card with the ARTIQ control system. Generates a 1 GHz sinusoid from RF0 with full scale amplitude, attenuated by 12 dB. Both the CPLD and the PLL channels should be initialized.
They do not exhaustively demonstrate all the features of the ARTIQ system.
The full documentation for the ARTIQ software and gateware is available at \url{https://m-labs.hk}.
\subsection{1 GHz Sinusoidal Wave}
Generate a 1 GHz sinusoid from RF0 with full scale amplitude, attenuated by 12 dB.
Both the CPLD and the PLL channels should be initialized.
\inputcolorboxminted{firstline=10,lastline=17}{examples/pll.py} \inputcolorboxminted{firstline=10,lastline=17}{examples/pll.py}
\subsection{ADF5356 Power Control} \subsection{ADF5356 power control}
Output power can be controlled be configuring the PLL channels individually, in addition to the digital attenuators. Output power can be controlled be configuring the PLL channels individually in addition to the digital attenuators. After initialization of the PLL channel (ADF5356), the following line of code can change the output power level:
After initialization of the PLL channel (ADF5356), the following line of code can change the output power level.
\inputcolorboxminted{firstline=28,lastline=28}{examples/pll.py} \inputcolorboxminted{firstline=28,lastline=28}{examples/pll.py}
@ -458,27 +417,17 @@ The parameter corresponds to a specific change of output power according to the
\end{tabular} \end{tabular}
\end{center} \end{center}
ADF5356 gives +5 dBm by default. The stored parameter in ADF5356 can be read using the folowing line. ADF5356 gives +5 dBm by default. The stored parameter in ADF5356 can be read using the following line"
\inputcolorboxminted{firstline=29,lastline=29}{examples/pll.py} \inputcolorboxminted{firstline=29,lastline=29}{examples/pll.py}
\newpage
\subsection{Periodic 100\textmu s pulses} \subsection{Periodic 100\textmu s pulses}
The output can be toggled on and off periodically using the RF switches. The output can be toggled on and off periodically using the RF switches. The following code emits a 100\textmu s pulse in every millisecond. A microwave signal should be programmed in prior (such as the 1 GHz wave example).
The following code emits a 100\textmu s pulse in every millisecond.
A microwave signal should be programmed in prior (such as the 1 GHz wave example).
\inputcolorboxminted{firstline=42,lastline=44}{examples/pll.py} \inputcolorboxminted{firstline=42,lastline=44}{examples/pll.py}
\section{Ordering Information} \ordersection{4456 Synthesizer Mirny}
To order, please visit \url{https://m-labs.hk} and select the 4456 Synthesizer Mirny in the ARTIQ Sinara crate configuration tool.
The cards may also be ordered separately by writing to \url{mailto:sales@m-labs.hk}.
\section*{} \finalfootnote
\vspace*{\fill}
\begin{footnotesize}
Information furnished by M-Labs Limited is provided in good faith in the hope that it will be useful. However, no responsibility is assumed by M-Labs Limited for its use. Specifications may be subject to change without notice.
\end{footnotesize}
\end{document} \end{document}

323
5108.tex
View File

@ -1,24 +1,5 @@
\documentclass[10pt]{datasheet} \input{preamble.tex}
\usepackage{palatino} \graphicspath{{images/5108}{images}}
\usepackage{textgreek}
\usepackage{minted}
\usepackage{tcolorbox}
\usepackage{etoolbox}
\usepackage[justification=centering]{caption}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage[english]{isodate}
\usepackage{graphicx}
\usepackage{subfigure}
\usepackage{tikz}
\usepackage{pgfplots}
\usepackage{circuitikz}
\usetikzlibrary{calc}
\usetikzlibrary{fit,backgrounds}
\title{5108 ADC Sampler} \title{5108 ADC Sampler}
\author{M-Labs Limited} \author{M-Labs Limited}
@ -32,47 +13,33 @@
\section{Features} \section{Features}
\begin{itemize} \begin{itemize}
\item{8-channel ADC.} \item{8-channel ADC}
\item{16-bits resolution.} \item{16-bits resolution}
\item{1.5 MSPS simultaneously on all channels.} \item{1.5 MSPS simultaneously on all channels}
\item{Full scale input voltage $\pm$10mV to $\pm$10V.} \item{Full scale input voltage, $\pm$10mV to $\pm$10V}
\item{BNC connector.} \item{BNC connector}
\item{SMA breakout with 5528 SMA-IDC adapter.} \item{SMA breakout with 5528 SMA-IDC adapter}
\end{itemize} \end{itemize}
\section{Applications} \section{Applications}
\begin{itemize} \begin{itemize}
\item{Sample intermediate-frequency (IF) waveform.} \item{Sample intermediate-frequency (IF) waveform}
\item{Monitor laser power with a photodiode.} \item{Monitor laser power with a photodiode}
\item{Synchronize laser frequencies with a phase frequency detector.} \item{Synchronize laser frequencies with a phase frequency detector}
\item{Form a laser intensity servo with 4410 Urukul.} \item{Form a laser intensity servo with 4410 Urukul}
\end{itemize} \end{itemize}
\section{General Description} \section{General Description}
The 5108 ADC Sampler is a 8hp EEM module part of the ARTIQ Sinara family. The 5108 ADC Sampler is a 8hp EEM module, part of the ARTIQ/Sinara family. It adds analog-digital converting capabilities to carrier cards such as 1124 Kasli and 1125 Kasli-SoC.
It adds analog-digital converting capabilities to carrier cards such as 1124 Kasli and 1125 Kasli-SoC.
It provides 8 analog-to-digital channels, each exposed by a BNC connector. It provides eight analog-to-digital channels, exposed by eight BNC connectors. Each channel supports input voltage ranges from \textpm 10mV to \textpm 10V. All channels can be sampled simultaneously. Channels can broken out to SMA by adding a 5528 SMA-IDC card.
Each channel supports input voltage ranges from \textpm 10mV to \textpm 10V.
All channels can be sampled simultaneously.
Channels can broken out to SMA by adding a 5528 SMA-IDC card.
5108 ADC Sampler provides a sample rate of 1.5 MSPS. 5108 ADC Sampler provides a sample rate of 1.5 MSPS. However, the sample rate in practice is typically limited by the use of ARTIQ-Python kernel code.
However, the sample rate in practice is typically limited by the use of ARTIQ-Python kernel code.
% Switch to next column % Switch to next column
\vfill\break \vfill\break
\newcommand*{\MyLabel}[3][2cm]{\parbox{#1}{\centering #2 \\ #3}}
\newcommand*{\MymyLabel}[3][4cm]{\parbox{#1}{\centering #2 \\ #3}}
\newcommand{\repeatfootnote}[1]{\textsuperscript{\ref{#1}}}
\newcommand{\inputcolorboxminted}[2]{%
\begin{tcolorbox}[colback=white]
\inputminted[#1, gobble=4]{python}{#2}
\end{tcolorbox}
}
\begin{figure}[h] \begin{figure}[h]
\centering \centering
\scalebox{1}{ \scalebox{1}{
@ -158,7 +125,7 @@ However, the sample rate in practice is typically limited by the use of ARTIQ-Py
\end{scope} \end{scope}
% Draw termination switches % Draw termination switches
\draw (1.0, 1.925) node[twoportshape,t=\MymyLabel{100k/50\textOmega}{Switch \phantom{s} x8}, circuitikz/bipoles/twoport/width=1.5, scale=0.5] (termswitch) {}; \draw (1.0, 1.925) node[twoportshape,t=\fourcm{100k/50\textOmega}{Switch \phantom{s} x8}, circuitikz/bipoles/twoport/width=1.5, scale=0.5] (termswitch) {};
\begin{scope}[xshift=1.2cm, yshift=1.925cm, scale=0.12, every node/.style={scale=0.1}, rotate=-90 ] \begin{scope}[xshift=1.2cm, yshift=1.925cm, scale=0.12, every node/.style={scale=0.1}, rotate=-90 ]
\draw (0.4,0) to[short,-o](0.75,0); \draw (0.4,0) to[short,-o](0.75,0);
\draw (0.78,0)-- +(30:0.46); \draw (0.78,0)-- +(30:0.46);
@ -170,14 +137,14 @@ However, the sample rate in practice is typically limited by the use of ARTIQ-Py
% Draw PGIAs % Draw PGIAs
% The connections are too complicated for the usual buffer/op-amp symbol % The connections are too complicated for the usual buffer/op-amp symbol
\draw (3, 2.45) node[twoportshape,t=\MymyLabel{CH 0}{PGIA}, circuitikz/bipoles/twoport/width=1.2, scale=0.5] (pgia0) {}; \draw (3, 2.45) node[twoportshape,t=\fourcm{CH 0}{PGIA}, circuitikz/bipoles/twoport/width=1.2, scale=0.5] (pgia0) {};
\draw (3, 1.75) node[twoportshape,t=\MymyLabel{CH 1}{PGIA}, circuitikz/bipoles/twoport/width=1.2, scale=0.5] (pgia1) {}; \draw (3, 1.75) node[twoportshape,t=\fourcm{CH 1}{PGIA}, circuitikz/bipoles/twoport/width=1.2, scale=0.5] (pgia1) {};
\draw (3, 1.05) node[twoportshape,t=\MymyLabel{CH 2}{PGIA}, circuitikz/bipoles/twoport/width=1.2, scale=0.5] (pgia2) {}; \draw (3, 1.05) node[twoportshape,t=\fourcm{CH 2}{PGIA}, circuitikz/bipoles/twoport/width=1.2, scale=0.5] (pgia2) {};
\draw (3, 0.35) node[twoportshape,t=\MymyLabel{CH 3}{PGIA}, circuitikz/bipoles/twoport/width=1.2, scale=0.5] (pgia3) {}; \draw (3, 0.35) node[twoportshape,t=\fourcm{CH 3}{PGIA}, circuitikz/bipoles/twoport/width=1.2, scale=0.5] (pgia3) {};
\draw (3, -0.35) node[twoportshape,t=\MymyLabel{CH 4}{PGIA}, circuitikz/bipoles/twoport/width=1.2, scale=0.5] (pgia4) {}; \draw (3, -0.35) node[twoportshape,t=\fourcm{CH 4}{PGIA}, circuitikz/bipoles/twoport/width=1.2, scale=0.5] (pgia4) {};
\draw (3, -1.05) node[twoportshape,t=\MymyLabel{CH 5}{PGIA}, circuitikz/bipoles/twoport/width=1.2, scale=0.5] (pgia5) {}; \draw (3, -1.05) node[twoportshape,t=\fourcm{CH 5}{PGIA}, circuitikz/bipoles/twoport/width=1.2, scale=0.5] (pgia5) {};
\draw (3, -1.75) node[twoportshape,t=\MymyLabel{CH 6}{PGIA}, circuitikz/bipoles/twoport/width=1.2, scale=0.5] (pgia6) {}; \draw (3, -1.75) node[twoportshape,t=\fourcm{CH 6}{PGIA}, circuitikz/bipoles/twoport/width=1.2, scale=0.5] (pgia6) {};
\draw (3, -2.45) node[twoportshape,t=\MymyLabel{CH 7}{PGIA}, circuitikz/bipoles/twoport/width=1.2, scale=0.5] (pgia7) {}; \draw (3, -2.45) node[twoportshape,t=\fourcm{CH 7}{PGIA}, circuitikz/bipoles/twoport/width=1.2, scale=0.5] (pgia7) {};
% Draw termination connection to input lines % Draw termination connection to input lines
\draw [-] (0.65, 1.675) -- (0.65, 1.225); \draw [-] (0.65, 1.675) -- (0.65, 1.225);
@ -210,7 +177,7 @@ However, the sample rate in practice is typically limited by the use of ARTIQ-Py
\draw [-latexslim] (bnc7.east) -- (1.9, -1.225) -- (1.9, -2.45) -- (pgia7.west); \draw [-latexslim] (bnc7.east) -- (1.9, -1.225) -- (1.9, -2.45) -- (pgia7.west);
% Draw shift register & ADC % Draw shift register & ADC
\draw (4.7, 1) node[twoportshape,t=\MymyLabel{Shift}{Registers}, circuitikz/bipoles/twoport/width=1.6, scale=0.6, rotate=-90] (sr) {}; \draw (4.7, 1) node[twoportshape,t=\fourcm{Shift}{Registers}, circuitikz/bipoles/twoport/width=1.6, scale=0.6, rotate=-90] (sr) {};
\draw (4.7, -1) node[twoportshape,t={ADC}, circuitikz/bipoles/twoport/width=1.6, scale=0.6, rotate=-90] (adc) {}; \draw (4.7, -1) node[twoportshape,t={ADC}, circuitikz/bipoles/twoport/width=1.6, scale=0.6, rotate=-90] (adc) {};
% Connect PGIA -> ADC paths % Connect PGIA -> ADC paths
@ -234,7 +201,7 @@ However, the sample rate in practice is typically limited by the use of ARTIQ-Py
\draw [latexslim-] (3.45, -1.85) -- ++ (0.35, 0); \draw [latexslim-] (3.45, -1.85) -- ++ (0.35, 0);
% Draw LVDS transceivers & repeaters % Draw LVDS transceivers & repeaters
\draw (6.3, 1) node[twoportshape,t=\MymyLabel{LVDS}{Transceivers}, circuitikz/bipoles/twoport/width=1.8, scale=0.6, rotate=-90] (lvds) {}; \draw (6.3, 1) node[twoportshape,t=\fourcm{LVDS}{Transceivers}, circuitikz/bipoles/twoport/width=1.8, scale=0.6, rotate=-90] (lvds) {};
\draw (6.3, -1) node[twoportshape,t={Repeaters}, circuitikz/bipoles/twoport/width=1.8, scale=0.6, rotate=-90] (rep) {}; \draw (6.3, -1) node[twoportshape,t={Repeaters}, circuitikz/bipoles/twoport/width=1.8, scale=0.6, rotate=-90] (rep) {};
% ADC & SR connection lines % ADC & SR connection lines
@ -282,17 +249,19 @@ However, the sample rate in practice is typically limited by the use of ARTIQ-Py
\caption{Simplified Block Diagram} \caption{Simplified Block Diagram}
\end{figure} \end{figure}
\begin{figure}[h] \begin{figure}[hbt!]
\centering \centering
\includegraphics[height=1.9in]{Sampler_FP.jpg} \includegraphics[height=2.3in]{photo5108.jpg}
\includegraphics[height=1.9in]{photo5108.jpg} \includegraphics[height=2.5in, angle=90]{Sampler_FP.jpg}
\caption{Sampler Card photo} \caption{Sampler card and front panel}
\end{figure} \end{figure}
% For wide tables, a single column layout is better. It can be switched % For wide tables, a single column layout is better. It can be switched
% page-by-page. % page-by-page.
\onecolumn \onecolumn
\sourcesection{5108 ADC Sampler}{https://github.com/sinara-hw/Sampler}
\section{Electrical Specifications} \section{Electrical Specifications}
\begin{table}[h] \begin{table}[h]
@ -314,15 +283,15 @@ However, the sample rate in practice is typically limited by the use of ARTIQ-Py
\hline \hline
Resolution &\multicolumn{4}{c|}{16 bits}& \\ Resolution &\multicolumn{4}{c|}{16 bits}& \\
\thickhline \thickhline
\multicolumn{6}{l}{*At 1x gain with 50\textOmega~termination enabled, the input voltage magnitude must not exceed 5V.} \multicolumn{6}{l}{*With the 50\textOmega~termination enabled, the input voltage magnitude must not exceed 5V.}
\end{tabularx} \end{tabularx}
\end{threeparttable} \end{threeparttable}
\end{table} \end{table}
The electrical characteristics are based on various test results\footnote{\label{sinara226}https://github.com/sinara-hw/sinara/issues/226}\textsuperscript{,} The electrical characteristics are based on various test results\footnote{\label{sinara226}\url{https://github.com/sinara-hw/sinara/issues/226}}\textsuperscript{,}
\footnote{\label{sinara489}https://github.com/sinara-hw/sinara/issues/489}\textsuperscript{,} \footnote{\label{sinara489}\url{https://github.com/sinara-hw/sinara/issues/489}}\textsuperscript{,}
\footnote{\label{sampler2}https://github.com/sinara-hw/Sampler/issues/2}. \footnote{\label{sampler2}\url{https://github.com/sinara-hw/Sampler/issues/2}}.
\begin{table}[hbt!] \begin{table}[hbt!]
\centering \centering
@ -340,16 +309,28 @@ The electrical characteristics are based on various test results\footnote{\label
& & 90 & & kHz & 1000x gain \\ & & 90 & & kHz & 1000x gain \\
\hline \hline
Noise\repeatfootnote{sampler2} & & & & & 83.33 kHz sampling rate \\ Noise\repeatfootnote{sampler2} & & & & & 83.33 kHz sampling rate \\
\hspace{18mm} 1x gain & & 1.78 & & LSB & Termination on \\ \hspace{18mm} 1x gain & & 1.78 & & LSB RMS & Termination on \\
& & 1.75 & & LSB & Termination off \\ & & 1.75 & & LSB RMS & Termination off \\
\hspace{18mm} 10x gain & & 1.84 & & LSB & Termination on \\ \hspace{18mm} 10x gain & & 1.84 & & LSB RMS & Termination on \\
& & 3.09 & & LSB & Termination off \\ & & 3.09 & & LSB RMS & Termination off \\
\hspace{18mm} 100x gain & & 3.47 & & LSB & Termination on \\ \hspace{18mm} 100x gain & & 3.47 & & LSB RMS & Termination on \\
& & 26.02 & & LSB & Termination off \\ & & 26.02 & & LSB RMS & Termination off \\
\hspace{18mm} 1000x gain & & 13.87 & & LSB & Termination on \\ \hspace{18mm} 1000x gain & & 13.87 & & LSB RMS & Termination on \\
& & 206.3 & & LSB & Termination off \\ & & 206.3 & & LSB RMS & Termination off \\
% \hline % \hline
DC cross-talk\repeatfootnote{sinara226} & & & -96 & dB & 1x gain\\ DC cross-talk\repeatfootnote{sinara226} & & & -96 & dB & 1x gain\\
\thickhline
\end{tabularx}
\end{threeparttable}
\end{table}
\begin{table}[h]
\begin{threeparttable}
\caption{Electrical Characteristics (cont.)}
\begin{tabularx}{\textwidth}{l | c c c | c | X}
\thickhline
\textbf{Parameter} & \textbf{Min.} & \textbf{Typ.} & \textbf{Max.} &
\textbf{Unit} & \textbf{Conditions / Comments} \\
\hline \hline
% AC cross-talk data on wiki is also outdated (when it was still novo) % AC cross-talk data on wiki is also outdated (when it was still novo)
% sinara-hw/sinara #489 is a better source of info % sinara-hw/sinara #489 is a better source of info
@ -359,49 +340,33 @@ The electrical characteristics are based on various test results\footnote{\label
& & -51 & & dBc & 0.1 V\textsubscript{pp} (-48dBFS), limited by ADC (-100dBFS) \\ & & -51 & & dBc & 0.1 V\textsubscript{pp} (-48dBFS), limited by ADC (-100dBFS) \\
& & -69 & & dBc & 1 V\textsubscript{pp} (-28dBFS) \\ & & -69 & & dBc & 1 V\textsubscript{pp} (-28dBFS) \\
& & -58.8 & & dBc & 10 V\textsubscript{pp} (-8dBFS) \\ & & -58.8 & & dBc & 10 V\textsubscript{pp} (-8dBFS) \\
\thickhline
\end{tabularx}
\end{threeparttable}
\end{table}
\newpage
\begin{table}[h]
\begin{threeparttable}
\caption{Electrical Characteristics (cont.)}
\begin{tabularx}{\textwidth}{l | c | c c c | c | X}
\thickhline
\textbf{Parameter} & \textbf{Symbol} & \textbf{Min.} & \textbf{Typ.} & \textbf{Max.} &
\textbf{Unit} & \textbf{Conditions / Comments} \\
\hline \hline
Common-mode rejection ratio\repeatfootnote{sinara226} & CMRR & & & & & 2 V\textsubscript{pp} sine wave as CM input, termination on\\ Common-mode rejection ratio\repeatfootnote{sinara226} & & & & & 2 V\textsubscript{pp} sine wave as CM input, termination on\\
\hspace{12mm} 1x gain & & & & -98 & dB & $f=0.01,0.1,1$ kHz \\ \hspace{12mm} 1x gain & & & -98 & dB & $f=0.01,0.1,1$ kHz \\
& & & -87 & & dB & $f=10$ kHz \\ & & -87 & & dB & $f=10$ kHz \\
& & & -55 & & dB & $f=100$ kHz \\ & & -55 & & dB & $f=100$ kHz \\
& & & -83 & & dB & $f=1$ MHz \\ & & -83 & & dB & $f=1$ MHz \\
& & & -85 & & dB & $f=10$ MHz \\ & & -85 & & dB & $f=10$ MHz \\
\cline{3-7} \cline{2-6}
\hspace{12mm} 100x gain & & & & -118 & dB & $f=0.01$ kHz \\ \hspace{12mm} 100x gain & & & -118 & dB & $f=0.01$ kHz \\
& & & -98 & & dB & $f=0.1$ kHz \\ & & -98 & & dB & $f=0.1$ kHz \\
& & & -88 & & dB & $f=1$ kHz \\ & & -88 & & dB & $f=1$ kHz \\
& & & -70 & & dB & $f=10$ kHz \\ & & -70 & & dB & $f=10$ kHz \\
& & & -50 & & dB & $f=100$ kHz \\ & & -50 & & dB & $f=100$ kHz \\
& & & -80 & & dB & $f=1$ MHz \\ & & -80 & & dB & $f=1$ MHz \\
& & & & -118 & dB & $f=10$ MHz \\ & & & -118 & dB & $f=10$ MHz \\
\thickhline \thickhline
\end{tabularx} \end{tabularx}
\end{threeparttable} \end{threeparttable}
\end{table} \end{table}
\newpage \subsection{Channel crosstalk}
Crosstalk between ADC channels of 5108 ADC Sampler is shown below\repeatfootnote{sinara489}. Crosstalk between ADC channels of 5108 ADC Sampler is shown below\repeatfootnote{sinara489}.
A 10 V\textsubscript{pp} signal is the input. A 10 V\textsubscript{pp} signal was used as the input. The aggressor channel always has 1x gain. All channels have 50 \textOmega~termination enabled.
The aggressor channel always has 1x gain.
All channels have 50 \textOmega~termination enabled.
Data is acquired by taking 512 samples at 80 kHz sampling rate 20 times to average out the FFT. Data was acquired by taking 512 samples at 80 kHz sampling rate 20 times to average out the FFT.
\newcolumntype{Y}{>{\centering\arraybackslash}X} \newcolumntype{Y}{>{\centering\arraybackslash}X}
@ -455,7 +420,7 @@ Data is acquired by taking 512 samples at 80 kHz sampling rate 20 times to avera
\end{threeparttable} \end{threeparttable}
\end{table} \end{table}
\newpage \clearpage
% The plots are quite small given that it is 8-plots-in-1, but the numbers should give a better picture % The plots are quite small given that it is 8-plots-in-1, but the numbers should give a better picture
\begin{figure}[hbt!] \begin{figure}[hbt!]
@ -493,7 +458,7 @@ Data is acquired by taking 512 samples at 80 kHz sampling rate 20 times to avera
\end{threeparttable} \end{threeparttable}
\end{table} \end{table}
\newpage \clearpage
\begin{figure}[hbt!] \begin{figure}[hbt!]
\centering \centering
@ -501,38 +466,14 @@ Data is acquired by taking 512 samples at 80 kHz sampling rate 20 times to avera
\caption{Crosstalk with 300 kHz input frequency, 1x gain on victim, channel 3 as the aggressor} \caption{Crosstalk with 300 kHz input frequency, 1x gain on victim, channel 3 as the aggressor}
\end{figure} \end{figure}
Noise density is measured using the following configuration\repeatfootnote{sampler2}: \subsection{Bandwidth}
\begin{enumerate}
\item 1/12\textmu s sampling rate
\item 10k samples per measurement, averaging over 100 measurements
\item Measured at channels 6 \& 7. Channel 6 has the 50\textOmega~termination on, channel 7 has it off
\end{enumerate}
Noise density with respect to different gain settings with termination on/off are plotted below.
\begin{multicols}{2} Bandwidth of small signal and large signal input is shown below\repeatfootnote{sampler2}. The setup is as follows:
\begin{figure}[H]
\includegraphics[width=3.3in]{sampler_noise_term.png}
\caption{Noise density with termination enabled}
\end{figure}
\columnbreak
\begin{figure}[H]
\includegraphics[width=3.3in]{sampler_noise_no_term.png}
\caption{Noise density with termination disabled}
\end{figure}
\end{multicols}
\newpage
Bandwidth of small signal and large signal input is shown below\repeatfootnote{sampler2}. The setup is as the following:
\begin{enumerate} \begin{enumerate}
\itemsep0em \itemsep0em
\item 10k samples, sampled at 79.37 kHz \item 10k samples, sampled at 79.37 kHz
\item Driven by sinusoid from Keysight 33500B generator; Sampled using channel 7 without termination \item Driven by sinusoid from Keysight 33500B generator; sampled using channel 7 without termination
\item Small signal measured using 2V\textsubscript{pp}/gain; Large signal measured using 15V\textsubscript{pp}/gain \item Small signal measured using 2V\textsubscript{pp}/gain; large signal measured using 15V\textsubscript{pp}/gain
\end{enumerate} \end{enumerate}
\begin{multicols}{2} \begin{multicols}{2}
@ -552,66 +493,13 @@ Bandwidth of small signal and large signal input is shown below\repeatfootnote{s
\newpage \newpage
\section{Front Panel Drawings}
\begin{multicols}{2}
\begin{center}
\centering
\includegraphics[height=2.7in]{sampler_drawings.pdf}
\captionof{figure}{5108 ADC Sampler front panel drawings}
\end{center}
\columnbreak
\begin{center}
\centering
\includegraphics[height=2.7in]{sampler_assembly.pdf}
\captionof{figure}{5108 ADC Sampler front panel assembly}
\end{center}
\end{multicols}
\begin{multicols}{2}
\begin{center}
\captionof{table}{Bill of Material (Standalone)}
\tiny
\begin{tabular}{|c|c|c|c|}
\hline
Index & Part No. & Qty & Description \\ \hline
1 & 90504202 & 1 & FP-FRONT PANEL, EXTRUDED, TYPE 2, STATIC, 3Ux8HP \\ \hline
2 & 3218843 & 2 & FP-ALIGNMENT PIN (LOCALIZATION) \\ \hline
3 & 3020716 & 0.04 & SLEEVE GREY PLAS.M2.5 (100PCS) \\ \hline
\end{tabular}
\end{center}
\columnbreak
\begin{center}
\captionof{table}{Bill of Material (Assembled)}
\tiny
\begin{tabular}{|c|c|c|c|}
\hline
Index & Part No. & Qty & Description \\ \hline
1 & 90504202 & 1 & FP-LYKJ 3U4HP PANEL \\ \hline
2 & 3033098 & 0.04 & SCREW COLLAR M2.5X12.3 (100X) \\ \hline
3 & 3040138 & 2 & PB HOLDER DIE-CAST \\ \hline
4 & 3001012 & 2 & SCR M2.5*6 PAN PHL NI DIN7985 \\ \hline
5 & 3010110 & 0.02 & WASHER PLN.M2.7 DIN125 (100X) \\ \hline
6 & 3201099 & 0.01 & SCR M2.5*8 OVL PHL ST NI 100EA \\ \hline
7 & 3040005 & 1 & HANDLE 8HP GREY PLASTIC \\ \hline
8 & 3207076 & 0.01 & SCR M2.5*12 PAN 100 21101-222 \\ \hline
9 & 3201130 & 0.01 & NUT M2.5 HEX ST NI KIT (100PCS) \\ \hline
10 & 3211232 & 1 & SCR M2.5*14 PAN PHL SS \\ \hline
\end{tabular}
\end{center}
\end{multicols}
\section{Configuring Termination} \section{Configuring Termination}
\begin{multicols}{2} \begin{multicols}{2}
The input termination can be configured by switches. The input termination must be configured by setting physical switches on the board. The termination switches are found at the middle left part of the card are by-channel. Switching the termination switches on adds a 50\textOmega~termination between the differential input signals.
The per-channel termination switches are found at the middle left part of the card.
Switching on the termination switch adds a 50\textOmega~termination between the differential input signals. Regardless of switch configurations, the differential input signals are separately terminated with 100k\textOmega~to the PCB ground.
Regardless of the switch configurations, the differential input signals are separately terminated with 100k\textOmega~to the PCB ground. \vspace*{\fill}
\columnbreak \columnbreak
\begin{center} \begin{center}
\centering \centering
@ -620,24 +508,20 @@ Regardless of the switch configurations, the differential input signals are sepa
\end{center} \end{center}
\end{multicols} \end{multicols}
\newpage \codesection{5108 ADC Sampler}
\section{Example ARTIQ code}
The sections below demonstrate simple usage scenarios of the 5108 ADC Sampler card with the ARTIQ control system.
They do not exhaustively demonstrate all the features of the ARTIQ system.
The full documentation for the ARTIQ software and gateware is available at \url{https://m-labs.hk}.
\subsection{Get input voltage} \subsection{Get input voltage}
The following example initializes the Sampler card with 1x gain on all ADC channels. The following example initializes the Sampler card with 1x gain on all ADC channels. At the end all ADC channels are sampled.
Sample all ADC channels at the end.
\inputcolorboxminted{firstline=9,lastline=21}{examples/sampler.py} \inputcolorboxminted{firstline=9,lastline=21}{examples/sampler.py}
\subsection{Voltage-controlled DDS Amplitude (SU-Servo Only)} \newpage
The SU-Servo feature can be enabled by integrating the 5108 ADC Sampler with 4410 DDS Urukuls.
Amplitude of the DDS output can be controlled by the ADC input of the Sampler through PI control, characterised by the following transfer function. \subsection{Voltage-controlled DDS amplitude (SU-Servo only)}
SU-Servo configuration can be enabled by integrating the 5108 ADC Sampler with 4410 DDS Urukul. Amplitude of the DDS output can be controlled by the ADC input of the Sampler through PI control, characterised by the following transfer function:
\[H(s)=k_p+\frac{k_i}{s+\frac{k_i}{g}}\] \[H(s)=k_p+\frac{k_i}{s+\frac{k_i}{g}}\]
In the following example, the amplitude of DDS is proportional to the ADC input from Sampler. In the following example, the amplitude of DDS is proportional to the ADC input from Sampler.
First, initialize the RTIO, SU-Servo and its channel with 1x gain. First, initialize the RTIO, SU-Servo and its channel with 1x gain.
\inputcolorboxminted{firstline=10,lastline=17}{examples/suservo.py} \inputcolorboxminted{firstline=10,lastline=17}{examples/suservo.py}
@ -646,22 +530,19 @@ Next, setup the PI control as an IIR filter. It has -1 proportional gain $k_p$ a
\inputcolorboxminted{firstline=18,lastline=25}{examples/suservo.py} \inputcolorboxminted{firstline=18,lastline=25}{examples/suservo.py}
Then, configure the DDS frequency to 10 MHz with 3V input offset. Then, configure the DDS frequency to 10 MHz with 3V input offset. When input voltage $\geq$ offset voltage, the DDS output amplitude is 0.
When input voltage $\geq$ offset voltage, the DDS output amplitude is 0.
\inputcolorboxminted{firstline=26,lastline=30}{examples/suservo.py} \inputcolorboxminted{firstline=26,lastline=30}{examples/suservo.py}
SU-Servo encodes the ADC voltage in a linear scale [-1, 1]. SU-Servo encodes the ADC voltage in a linear scale [-1, 1]. Therefore, 3V is converted to 0.3. Note that the ASF of all DDS channels are capped at 1.0; the amplitude clips when ADC input $\leq -7V$ with the above IIR filter.
Therefore, 3V is converted to 0.3.
Note that the ASF of all DDS channels are capped at 1.0, the amplitude clips when ADC input $\leq -7V$ with the above IIR filter.
Finally, enable the SU-Servo channel with the IIR filter programmed beforehand. Finally, enable the SU-Servo channel with the IIR filter programmed beforehand:
\inputcolorboxminted{firstline=32,lastline=33}{examples/suservo.py} \inputcolorboxminted{firstline=32,lastline=33}{examples/suservo.py}
A 10 MHz DDS signal is generated from the example above, with amplitude controllable by ADC. \newpage
The RMS voltage of the DDS channel against the ADC voltage is plotted.
The DDS channel is terminated with 50\textOmega. A 10 MHz DDS signal is generated from the example above, with amplitude controllable by ADC. The RMS voltage of the DDS channel against the ADC voltage is plotted. The DDS channel is terminated with 50\textOmega.
\begin{center} \begin{center}
\begin{tikzpicture}[ \begin{tikzpicture}[
@ -694,18 +575,10 @@ The DDS channel is terminated with 50\textOmega.
\end{tikzpicture} \end{tikzpicture}
\end{center} \end{center}
DDS signal should be attenuated. DDS signal should be attenuated. High output power affects the linearity due to the 1 dB compression point of the amplifier at 13 dBm output power. 15 dB attenuation at the digital attenuator was applied in this example.
High output power affects the linearity due to the 1 dB compression point of the amplifier at 13 dBm output power.
15 dB attenuation at the digital attenuator was applied in this example.
\section{Ordering Information} \ordersection{5108 ADC Sampler}
To order, please visit \url{https://m-labs.hk} and select the 5108 ADC Sampler in the ARTIQ Sinara crate configuration tool. The card may also be ordered separately by writing to \url{mailto:sales@m-labs.hk}.
\section*{} \finalfootnote
\vspace*{\fill}
\begin{footnotesize}
Information furnished by M-Labs Limited is provided in good faith in the hope that it will be useful. However, no responsibility is assumed by M-Labs Limited for its use. Specifications may be subject to change without notice.
\end{footnotesize}
\end{document} \end{document}

182
5432.tex
View File

@ -1,24 +1,5 @@
\documentclass[10pt]{datasheet} \input{preamble.tex}
\usepackage{palatino} \graphicspath{{images/5432}{images}}
\usepackage{textgreek}
\usepackage{minted}
\usepackage{tcolorbox}
\usepackage{etoolbox}
\usepackage[justification=centering]{caption}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage[english]{isodate}
\usepackage{graphicx}
\usepackage{subfig}
\usepackage{tikz}
\usepackage{pgfplots}
\usepackage{circuitikz}
\usetikzlibrary{calc}
\usetikzlibrary{fit,backgrounds}
\title{5432 DAC Zotino} \title{5432 DAC Zotino}
\author{M-Labs Limited} \author{M-Labs Limited}
@ -32,43 +13,30 @@
\section{Features} \section{Features}
\begin{itemize} \begin{itemize}
\item{32-channel DAC.} \item{32-channel DAC}
\item{16-bits resolution.} \item{16-bits resolution}
\item{1 MSPS shared between all channels.} \item{1 MSPS shared between all channels}
\item{Output voltage $\pm$10V.} \item{Output voltage $\pm$10V}
\item{HD68 connector.} \item{HD68 connector}
\item{Can be broken out to BNC/SMA/MCX.} \item{Can be broken out to BNC/SMA/MCX}
\end{itemize} \end{itemize}
\section{Applications} \section{Applications}
\begin{itemize} \begin{itemize}
\item{Controlling setpoints of PID controllers for laser power stabilization.} \item{Controlling setpoints of PID controllers for laser power stabilization}
\item{Low-frequency arbitrary waveform generation.} \item{Low-frequency arbitrary waveform generation}
\item{Driving DC electrodes in ion traps.} \item{Driving DC electrodes in ion traps}
\end{itemize} \end{itemize}
\section{General Description} \section{General Description}
The 5432 Zotino is a 4hp EEM module part of the ARTIQ Sinara family. The 5432 Zotino is a 4hp EEM module and part of the ARTIQ/Sinara family. It adds digital-analog conversion capabilities to carrier cards such as 1124 Kasli and 1125 Kasli-SoC.
It adds digital-analog converting capabilities to carrier cards such as 1124 Kasli and 1125 Kasli-SoC.
It provides 4 groups of 8 analog channels each, exposed by 1 HD68 connector. It provides four groups of eight analog channels each, exposed by one HD68 connector. Each channel supports output voltage from -10 V to 10 V. All channels can be updated simultaneously. Channels can broken out to BNC, SMA or MCX by adding external 5518 BNC-IDC, 5528 SMA-IDC or 5538 MCX-IDC cards.
Each channel supports output voltage from -10 V to 10 V.
All channels can be updated simultaneously.
Channels can broken out to BNC, SMA or MCX by adding external 5518 BNC-IDC, 5528 SMA-IDC or 5538 MCX-IDC cards.
% Switch to next column % Switch to next column
\vfill\break \vfill\break
\newcommand*{\MyLabel}[3][2cm]{\parbox{#1}{\centering #2 \\ #3}}
\newcommand*{\MymyLabel}[3][4cm]{\parbox{#1}{\centering #2 \\ #3}}
\newcommand{\repeatfootnote}[1]{\textsuperscript{\ref{#1}}}
\newcommand{\inputcolorboxminted}[2]{%
\begin{tcolorbox}[colback=white]
\inputminted[#1, gobble=4]{python}{#2}
\end{tcolorbox}
}
\begin{figure}[h] \begin{figure}[h]
\centering \centering
\scalebox{0.88}{ \scalebox{0.88}{
@ -78,20 +46,20 @@ Channels can broken out to BNC, SMA or MCX by adding external 5518 BNC-IDC, 5528
\draw (0, 0) node[muxdemux, muxdemux def={Lh=6.5, Rh=8, w=2, NL=0, NB=0, NR=0}, circuitikz/bipoles/twoport/width=3.2, scale=0.7] (hd68) {HD68}; \draw (0, 0) node[muxdemux, muxdemux def={Lh=6.5, Rh=8, w=2, NL=0, NB=0, NR=0}, circuitikz/bipoles/twoport/width=3.2, scale=0.7] (hd68) {HD68};
% IDC Connectors to IDC cards % IDC Connectors to IDC cards
\draw (2.2, 1.2) node[twoportshape, t={\MyLabel{IDC}{DAC 16-23}}, circuitikz/bipoles/twoport/width=1.8, scale=0.5, rotate=-90] (eem2) {}; \draw (2.2, 1.2) node[twoportshape, t={\twocm{IDC}{DAC 16-23}}, circuitikz/bipoles/twoport/width=1.8, scale=0.5, rotate=-90] (eem2) {};
\draw (1.4, 1.2) node[twoportshape, t={\MyLabel{IDC}{DAC 24-31}}, circuitikz/bipoles/twoport/width=1.8, scale=0.5, rotate=-90] (eem3) {}; \draw (1.4, 1.2) node[twoportshape, t={\twocm{IDC}{DAC 24-31}}, circuitikz/bipoles/twoport/width=1.8, scale=0.5, rotate=-90] (eem3) {};
\draw (2.2, -1.2) node[twoportshape, t={\MyLabel{IDC}{DAC 8-15}}, circuitikz/bipoles/twoport/width=1.8, scale=0.5, rotate=-90] (eem1) {}; \draw (2.2, -1.2) node[twoportshape, t={\twocm{IDC}{DAC 8-15}}, circuitikz/bipoles/twoport/width=1.8, scale=0.5, rotate=-90] (eem1) {};
\draw (1.4, -1.2) node[twoportshape, t={\MyLabel{IDC}{DAC 0-7}}, circuitikz/bipoles/twoport/width=1.8, scale=0.5, rotate=-90] (eem0) {}; \draw (1.4, -1.2) node[twoportshape, t={\twocm{IDC}{DAC 0-7}}, circuitikz/bipoles/twoport/width=1.8, scale=0.5, rotate=-90] (eem0) {};
% Op-amp x32 % Op-amp x32
\draw (3, 0) node[buffer, circuitikz/bipoles/twoport/width=1.2, scale=-0.5] (amp) {}; \draw (3, 0) node[buffer, circuitikz/bipoles/twoport/width=1.2, scale=-0.5] (amp) {};
% DAC AD5372 % DAC AD5372
\draw (4.6, 0.2) node[twoportshape, t=\MyLabel{32-CH}{DAC}, circuitikz/bipoles/twoport/width=1.2, circuitikz/bipoles/twoport/height=1.2, scale=0.7] (dac) {}; \draw (4.6, 0.2) node[twoportshape, t=\twocm{32-CH}{DAC}, circuitikz/bipoles/twoport/width=1.2, circuitikz/bipoles/twoport/height=1.2, scale=0.7] (dac) {};
% LVDS Transceivers % LVDS Transceivers
\draw (6.6, 0) node[twoportshape, t=\MymyLabel{LVDS}{Transceiever}, circuitikz/bipoles/twoport/width=1.8, scale=0.5, rotate=-90] (lvds0) {}; \draw (6.6, 0) node[twoportshape, t=\fourcm{LVDS}{Transceiever}, circuitikz/bipoles/twoport/width=1.8, scale=0.5, rotate=-90] (lvds0) {};
\draw (6.6, -1.6) node[twoportshape, t=\MymyLabel{LVDS}{Transceiever}, circuitikz/bipoles/twoport/width=1.8, scale=0.5, rotate=-90] (lvds1) {}; \draw (6.6, -1.6) node[twoportshape, t=\fourcm{LVDS}{Transceiever}, circuitikz/bipoles/twoport/width=1.8, scale=0.5, rotate=-90] (lvds1) {};
% Aesthetic EEPROM % Aesthetic EEPROM
\draw (6.6, 1.6) node[twoportshape, t={EEPROM}, circuitikz/bipoles/twoport/width=1.6, scale=0.5, rotate=-90] (eeprom) {}; \draw (6.6, 1.6) node[twoportshape, t={EEPROM}, circuitikz/bipoles/twoport/width=1.6, scale=0.5, rotate=-90] (eeprom) {};
@ -122,10 +90,10 @@ Channels can broken out to BNC, SMA or MCX by adding external 5518 BNC-IDC, 5528
% TEC Cooler on top of the DAC % TEC Cooler on top of the DAC
% To make it more obvious that it is cooling the DAC % To make it more obvious that it is cooling the DAC
\draw (4.6, 1.45) node[twoportshape, t=\MymyLabel{TEC}{Cooler}, circuitikz/bipoles/twoport/width=1.2, circuitikz/bipoles/twoport/height=1.2, scale=0.7] (tec_cooler) {}; \draw (4.6, 1.45) node[twoportshape, t=\fourcm{TEC}{Cooler}, circuitikz/bipoles/twoport/width=1.2, circuitikz/bipoles/twoport/height=1.2, scale=0.7] (tec_cooler) {};
% TEC Controller lined up with EEM IN % TEC Controller lined up with EEM IN
\draw (8.2, 3.5) node[twoportshape, t=\MymyLabel{TEC Controller}{Connector}, circuitikz/bipoles/twoport/width=2.6, scale=0.7, rotate=-90] (tec_conn) {}; \draw (8.2, 3.5) node[twoportshape, t=\fourcm{TEC Controller}{Connector}, circuitikz/bipoles/twoport/width=2.6, scale=0.7, rotate=-90] (tec_conn) {};
% Thermistor for TEC controller % Thermistor for TEC controller
\draw (6.6, 3.3) node[thermistorshape, scale=0.7, rotate=-90] (thermistor) {}; \draw (6.6, 3.3) node[thermistorshape, scale=0.7, rotate=-90] (thermistor) {};
@ -143,24 +111,33 @@ Channels can broken out to BNC, SMA or MCX by adding external 5518 BNC-IDC, 5528
\caption{Simplified Block Diagram} \caption{Simplified Block Diagram}
\end{figure} \end{figure}
\begin{figure}[h]
\begin{figure}[hbt!]
\centering \centering
\includegraphics[height=2in]{Zotino_FP.jpg}
\includegraphics[height=2in]{photo5432.jpg} \includegraphics[height=2in]{photo5432.jpg}
\caption{Zotino Card photo} \caption{Zotino card photograph}
\end{figure}
\begin{figure}[hbt!]
\centering
\includegraphics[height=2.3in, angle=90]{Zotino_FP.jpg}
\caption{Zotino front panel}
\end{figure} \end{figure}
% For wide tables, a single column layout is better. It can be switched % For wide tables, a single column layout is better. It can be switched
% page-by-page. % page-by-page.
\onecolumn \onecolumn
\sourcesection{5432 DAC Zotino}{https://github.com/sinara-hw/Zotino/}
\section{Electrical Specifications} \section{Electrical Specifications}
% \hypersetup{hidelinks} % \hypersetup{hidelinks}
% \urlstyle{same} % \urlstyle{same}
The specifications are based on the datasheet of the DAC IC These specifications are based on the datasheet of the DAC IC
(AD5372BCPZ\footnote{\label{dac}https://www.analog.com/media/en/technical-documentation/data-sheets/AD5372\_5373.pdf}), (AD5372BCPZ\footnote{\label{dac}\url{https://www.analog.com/media/en/technical-documentation/data-sheets/AD5372\_5373.pdf}}),
and various information from Sinara wiki\footnote{\label{zotino_wiki}https://github.com/sinara-hw/Zotino/wiki}. and various information from the Sinara wiki\footnote{\label{zotino_wiki}\url{https://github.com/sinara-hw/Zotino/wiki}}.
\begin{table}[h] \begin{table}[h]
\centering \centering
@ -185,9 +162,7 @@ and various information from Sinara wiki\footnote{\label{zotino_wiki}https://git
\end{threeparttable} \end{threeparttable}
\end{table} \end{table}
The following are cross-talk and transient behavior of Zotino\footnote{\label{zotino21}https://github.com/sinara-hw/Zotino/issues/21}. The following table records the cross-talk and transient behavior of Zotino\footnote{\label{zotino21}\url{https://github.com/sinara-hw/Zotino/issues/21}}. In terms of output noise, measurements were made after a 15-cm IDC cable, IDC-SMA, 100 cm coax ($\sim$50 pF), and 500 k$\Omega$ $||$ 150 pF\footnote{\label{zotino27}\url{https://github.com/sinara-hw/Zotino/issues/27}}. DAC output during noise measurement was 3.5 V.
In terms of output noise, it was measured after 15 cm IDC cable, IDC-SMA, 100 cm coax ($\sim$50 pF), and 500 k$\Omega$ $||$ 150 pF\footnote{\label{zotino27}https://github.com/sinara-hw/Zotino/issues/27}.
The DAC output during noise measurement is 3.5 V.
\begin{table}[h] \begin{table}[h]
\centering \centering
@ -222,7 +197,7 @@ The DAC output during noise measurement is 3.5 V.
\newpage \newpage
Step response are found by setting the DAC register to 0x0000 (-10V) or 0xFFFF (10V) and observe the waveform\repeatfootnote{zotino21}. Step response was found by setting the DAC register to 0x0000 (-10V) or 0xFFFF (10V) and observing the waveform\repeatfootnote{zotino21}.
\begin{figure}[hbt!] \begin{figure}[hbt!]
\centering \centering
@ -235,12 +210,12 @@ Step response are found by setting the DAC register to 0x0000 (-10V) or 0xFFFF (
\caption{Step response}% \caption{Step response}%
\end{figure} \end{figure}
Far-end crosstalk is measured using the following setup\repeatfootnote{zotino21}. Far-end crosstalk was measured using the following setup\repeatfootnote{zotino21}:
\begin{enumerate} \begin{enumerate}
\item CH1 as aggressor, CH0 as victim \item CH1 as aggressor, CH0 as victim
\item CH0, 2-7 terminated, CH 8-31 open \item CH0, 2-7 terminated, CH 8-31 open
\item Aggressor signal from BNC passed through 15cm IDC26, 2m HD68-HD68 SCSI-3 shielded twisted pair, 15cm IDC26, converted back to BNC with adapters between all different cables \& connectors. \item Aggressor signal from BNC passed through 15cm IDC26, 2m HD68-HD68 SCSI-3 shielded twisted pair, 15cm IDC26, converted back to BNC with adapters between all different cables and connectors.
\end{enumerate} \end{enumerate}
\begin{figure}[hbt!] \begin{figure}[hbt!]
@ -251,85 +226,24 @@ Far-end crosstalk is measured using the following setup\repeatfootnote{zotino21}
\newpage \newpage
\section{Front Panel Drawings} \codesection{5432 DAC Zotino}
\begin{multicols}{2}
\begin{center} \subsection{Setting output voltage}
\centering The following example initializes the Zotino card, then emits 1.0 V, 2.0 V, 3.0 V and 4.0 V at channels 0, 1, 2, and 3 respectively. Voltages of all 4 channels are updated simultaneously with the use of \texttt{set\char`_dac()}.
\includegraphics[height=3in]{zotino_drawings.pdf}
\captionof{figure}{5432 DAC Zotino front panel drawings}
\end{center}
\begin{center}
\captionof{table}{Bill of Material (Standalone)}
\tiny
\begin{tabular}{|c|c|c|c|}
\hline
Index & Part No. & Qty & Description \\ \hline
1 & 90503572 & 1 & FRONT PANEL 3U 4HP PIU TYPE2 \\ \hline
2 & 3020716 & 0.02 & SLEEVE GREY PLAS.M2.5 (100PCS) \\ \hline
3 & 3218843 & 2 & FP-ALIGNMENT PIN (LOCALIZATION) \\ \hline
\end{tabular}
\end{center}
\columnbreak
\begin{center}
\centering
\includegraphics[height=3in]{zotino_assembly.pdf}
\captionof{figure}{5432 DAC Zotino front panel assembly}
\end{center}
\begin{center}
\captionof{table}{Bill of Material (Assembled)}
\tiny
\begin{tabular}{|c|c|c|c|}
\hline
Index & Part No. & Qty & Description \\ \hline
1 & 90503572 & 1 & FP-LYKJ 3U4HP PANEL \\ \hline
2 & 3001012 & 2 & SCR M2.5*6 PAN PHL NI DIN7985 \\ \hline
3 & 3010110 & 0.02 & WASHER PLN.M2.7 DIN125 (100X) \\ \hline
4 & 3010124 & 0.1 & EMC GASKET FABRIC 3U (10PCS) \\ \hline
5 & 3033098 & 0.02 & SCREW COLLAR M2.5X12.3 (100X) \\ \hline
6 & 3040012 & 1 & HANDLE 4HP GREY PLASTIC \\ \hline
7 & 3040138 & 2 & PB HOLDER DIE-CAST \\ \hline
8 & 3207075 & 0.01 & SCR M2.5*12 PAN 100 21101-221 \\ \hline
9 & 3201099 & 0.01 & SCR M2.5*8 OVL PHL ST NI 100EA \\ \hline
\end{tabular}
\end{center}
\end{multicols}
\newpage
\section{Example ARTIQ code}
The sections below demonstrate simple usage scenarios of the 5432 DAC Zotino card with the ARTIQ control system.
They do not exhaustively demonstrate all the features of the ARTIQ system.
The full documentation for the ARTIQ software and gateware is available at \url{https://m-labs.hk}.
\subsection{Set output voltage}
The following example initializes the Zotino card, then emits 1.0 V, 2.0 V, 3.0 V and 4.0 V at channel 0, 1, 2, 3 respectively.
Voltages of all 4 channels are updated simultaneously with the use of \texttt{set\char`_dac()}.
\inputcolorboxminted{firstline=11,lastline=22}{examples/zotino.py} \inputcolorboxminted{firstline=11,lastline=22}{examples/zotino.py}
\newpage \newpage
\subsection{Triangular Wave} \subsection{Triangular wave}
A triangular waveform at 10 Hz, 16 V peak-to-peak. Generates a triangular waveform at 10 Hz, 16 V peak-to-peak. Timing accuracy of the RTIO system can be demonstrated by the precision of the frequency.
Timing accuracy of the RTIO system can be demonstrated by the precision of the frequency.
Import \texttt{scipy.signal} and \texttt{numpy} modules to run this example. Import \texttt{scipy.signal} and \texttt{numpy} modules to run this example.
\inputcolorboxminted{firstline=30,lastline=49}{examples/zotino.py} \inputcolorboxminted{firstline=30,lastline=49}{examples/zotino.py}
\section{Ordering Information} \ordersection{5432 DAC Zotino}
To order, please visit \url{https://m-labs.hk} and select the 5432 DAC Zotino in the ARTIQ Sinara crate configuration tool. The card may also be ordered separately by writing to \url{mailto:sales@m-labs.hk}.
\section*{} \finalfootnote
\vspace*{\fill}
\begin{footnotesize}
Information furnished by M-Labs Limited is provided in good faith in the hope that it will be useful. However, no responsibility is assumed by M-Labs Limited for its use. Specifications may be subject to change without notice.
\end{footnotesize}
\end{document} \end{document}

View File

@ -1,25 +1,5 @@
\documentclass[10pt]{datasheet} \input{preamble.tex}
\usepackage{palatino} \graphicspath{{images/5518-5528}{images}}
\usepackage{textgreek}
\usepackage{minted}
\usepackage{tcolorbox}
\usepackage{etoolbox}
\usepackage[justification=centering]{caption}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage[english]{isodate}
\usepackage{graphicx}
\usepackage{subfig}
\usepackage{tikz}
\usepackage{pgfplots}
\usepackage{circuitikz}
\usepackage{pifont}
\usetikzlibrary{calc}
\usetikzlibrary{fit,backgrounds}
\title{5518 BNC-IDC / 5528 SMA-IDC} \title{5518 BNC-IDC / 5528 SMA-IDC}
\author{M-Labs Limited} \author{M-Labs Limited}
@ -33,44 +13,31 @@
\section{Features} \section{Features}
\begin{itemize} \begin{itemize}
\item{8 channels.} \item{8 channels}
\item{Internal IDC connector.} \item{Internal IDC connector}
\item{External BNC or SMA connectors.} \item{External BNC or SMA connectors}
\end{itemize} \end{itemize}
\section{Applications} \section{Applications}
\begin{itemize} \begin{itemize}
\item{Breaks out analog signals.} \item{Break out analog signals}
\item{BNC or SMA adapters for: \begin{itemize} \item{BNC or SMA adapters for: \begin{itemize}
\item{5432 DAC Zotino} \item{5432 DAC Zotino}
\item{5632 DAC Fastino} \item{5632 DAC Fastino}
\end{itemize}} \end{itemize}}
\item{(5528 only) SMA adapter for 5108 Sampler.} \item{(5528 only) SMA adapter for 5108 Sampler}
\item{Convert from/to HD68 with 5568 HD68-IDC.} \item{Convert from/to HD68 with 5568 HD68-IDC}
\end{itemize} \end{itemize}
\section{General Description} \section{General Description}
The 5518 BNC-IDC card is a 8hp EEM module, while the 5528 SMA-IDC card is a 4hp EEM module. The 5518 BNC-IDC card is a 8hp EEM module; the 5528 SMA-IDC card is a 4hp EEM module. Both adapter cards break out analog signals from IDC connectors to BNC (5518) or SMA (5528). IDC connectors can be found on 5108 Sampler, 5432 DAC Zotino, 5632 DAC Fastino and 5568 HD68-IDC.
Both adapter cards break out analog signal from IDC connectors to BNC (5518) or SMA (5528).
IDC connectors can be found on 5108 Sampler, 5432 DAC Zotino, 5632 DAC Fastino \& 5568 HD68-IDC.
Each card provides 8 channels, with BNC (5518) or SMA (5528) connectors. Each card provides 8 channels, with respectively BNC or SMA connectors. Breaking out all 32 channels of 5432 DAC Zotino, 5632 DAC Fastino or 5568 HD68-IDC requires four BNC/SMA-IDC cards. Breaking out all 8 ADC channels of 5108 Sampler requires only one BNC/SMA-IDC card.
Breaking out all 32 channels from 5432 DAC Zotino, 5632 DAC Fastino or 5568 HD68-IDC requires 4 BNC/SMA-IDC cards.
Only 1 BNC/SMA-IDC is required to break out all 8 ADC channels from a 5108 Sampler.
% Switch to next column % Switch to next column
\vfill\break \vfill\break
\newcommand*{\MyLabel}[3][2cm]{\parbox{#1}{\centering #2 \\ #3}}
\newcommand*{\MymyLabel}[3][4cm]{\parbox{#1}{\centering #2 \\ #3}}
\newcommand{\repeatfootnote}[1]{\textsuperscript{\ref{#1}}}
\newcommand{\inputcolorboxminted}[2]{%
\begin{tcolorbox}[colback=white]
\inputminted[#1, gobble=4]{python}{#2}
\end{tcolorbox}
}
\begin{figure}[h] \begin{figure}[h]
\centering \centering
\scalebox{0.95}{ \scalebox{0.95}{
@ -157,9 +124,9 @@ Only 1 BNC/SMA-IDC is required to break out all 8 ADC channels from a 5108 Sampl
\end{scope} \end{scope}
% Draw CH0, CH1 & CH7 CM chokes % Draw CH0, CH1 & CH7 CM chokes
\draw (3, 1.2) node[twoportshape, t=\MymyLabel{Common Mode}{Line Filter}, circuitikz/bipoles/twoport/width=2.2, scale=0.6] (cm0) {}; \draw (3, 1.2) node[twoportshape, t=\fourcm{Common Mode}{Line Filter}, circuitikz/bipoles/twoport/width=2.2, scale=0.6] (cm0) {};
\draw (3, 0.4) node[twoportshape, t=\MymyLabel{Common Mode}{Line Filter}, circuitikz/bipoles/twoport/width=2.2, scale=0.6] (cm1) {}; \draw (3, 0.4) node[twoportshape, t=\fourcm{Common Mode}{Line Filter}, circuitikz/bipoles/twoport/width=2.2, scale=0.6] (cm1) {};
\draw (3, -1.1) node[twoportshape, t=\MymyLabel{Common Mode}{Line Filter}, circuitikz/bipoles/twoport/width=2.2, scale=0.6] (cm7) {}; \draw (3, -1.1) node[twoportshape, t=\fourcm{Common Mode}{Line Filter}, circuitikz/bipoles/twoport/width=2.2, scale=0.6] (cm7) {};
% Omission dots for other channels % Omission dots for other channels
\node at (3, -0.15)[circle,fill,inner sep=0.7pt]{}; \node at (3, -0.15)[circle,fill,inner sep=0.7pt]{};
@ -200,15 +167,12 @@ Only 1 BNC/SMA-IDC is required to break out all 8 ADC channels from a 5108 Sampl
\begin{figure}[hbt!] \begin{figure}[hbt!]
\centering \centering
\subfloat[\centering BNC-IDC]{{ \subfloat[\centering BNC-IDC]{{
\includegraphics[height=2.5in]{BNC_IDC_FP.jpg}
\includegraphics[height=2.5in]{photo5518.jpg} \includegraphics[height=2.5in]{photo5518.jpg}
}}% }}%
\subfloat[\centering SMA-IDC]{{ \subfloat[\centering SMA-IDC]{{
\quad \includegraphics[height=2.6in]{photo5528.jpg}
\includegraphics[height=2.5in]{SMA_IDC_FP.pdf}
\quad
}}% }}%
\caption{BNC-IDC/SMA-IDC Card photos}% \caption{BNC-IDC/SMA-IDC card photos}%
\label{fig:example}% \label{fig:example}%
\end{figure} \end{figure}
@ -216,39 +180,41 @@ Only 1 BNC/SMA-IDC is required to break out all 8 ADC channels from a 5108 Sampl
% page-by-page. % page-by-page.
\onecolumn \onecolumn
\sourcesectiond{5518 BNC-IDC}{5528 SMA-IDC}{https://github.com/sinara-hw/BNC\_IDC}{https://github.com/sinara-hw/SMA\_IDC\_Adapter}
\section{Electrical Specifications} \section{Electrical Specifications}
Specifications of parameters are based on the datasheet of the Specifications of parameters are based on the datasheet of the
common mode line filter\footnote{\label{cm_choke}https://www.we-online.com/catalog/datasheet/744229.pdf}. common mode line filter\footnote{\label{cm_choke}\url{https://www.we-online.com/catalog/datasheet/744229.pdf}}.
\begin{table}[h] \begin{table}[h]
\centering \centering
\begin{threeparttable} \begin{threeparttable}
\caption{Electrical Specifications} \caption{Electrical Specifications}
\begin{tabularx}{0.65\textwidth}{l | c | c | c | X} \begin{tabularx}{0.65\textwidth}{l | c | c | X}
\thickhline \thickhline
\textbf{Parameter} & \textbf{Symbol} & \textbf{Max. Value} & \textbf{Unit} & \textbf{Conditions} \\ \textbf{Parameter} & \textbf{Max. Value} & \textbf{Unit} & \textbf{Conditions} \\
\hline \hline
Rated voltage & $V_{R}$ & 80 & V & \\ Rated voltage & 80 & V & \\
\hline \hline
Rated current & $I_{R}$ & 400 & mA & $\Delta T^{*}=40K$ \\ Rated current & 400 & mA & $\Delta T^{*}=40K$ \\
\thickhline \thickhline
\end{tabularx} \end{tabularx}
*$\Delta T$ refers to the temperature of the CM line filter minus the ambient. *$\Delta T$ refers to the temperature of the CM line filter minus the ambient.
\end{threeparttable} \end{threeparttable}
\end{table} \end{table}
Impedance characteristics of common mode \& differential mode signal at different frequencies are shown in the following graph. Impedance characteristics of common mode \& differential mode signal at different frequencies are shown in the following graph:
\begin{figure}[H] \begin{figure}[H]
\centering \centering
\includegraphics[]{idc_cm_choke.pdf} \includegraphics[height=4.8in]{idc_cm_choke.jpg}
\caption{Common Mode Line Filter Impedance Characteristics} \caption{Common Mode Line Filter Impedance Characteristics}
\end{figure} \end{figure}
\newpage \newpage
\section{Channel Mapping} \section{Channel Mapping}
The following table shows the corresponding channel number of the BNC/SMA-IDC adapter IO ports, when it is connected to Sinara cards that support IDC connections. The following table shows the corresponding channel numbers of the BNC/SMA-IDC adapter IO ports when connected to Sinara cards that support IDC connections.
\begin{table}[h] \begin{table}[h]
\caption{Channel Mapping of BNC/SMA-IDC to Zotino, Fastino \& HD68-IDC} \caption{Channel Mapping of BNC/SMA-IDC to Zotino, Fastino \& HD68-IDC}
\centering \centering
@ -272,113 +238,9 @@ The following table shows the corresponding channel number of the BNC/SMA-IDC ad
\end{tabular} \end{tabular}
\end{table} \end{table}
\section{Front Panel Drawings} \ordersection{5518 BNC-IDC/5528 SMA-IDC}
\begin{multicols}{2} \finalfootnote
\begin{center}
\centering
\includegraphics[height=2.7in]{bnc_idc_drawings.pdf}
\captionof{figure}{5518 BNC-IDC front panel drawings}
\end{center}
\begin{center}
\captionof{table}{Bill of Material (5518 Standalone)}
\tiny
\begin{tabular}{|c|c|c|c|}
\hline
Index & Part No. & Qty & Description \\ \hline
1 & 90506946 & 1 & FP-FRONT PANEL, EXTRUDED, TYPE 2, STATIC, 3Ux8HP \\ \hline
2 & 3218843 & 2 & FP-ALIGNMENT PIN (LOCALIZATION) \\ \hline
3 & 3020716 & 0.04 & SLEEVE GREY PLAS.M2.5 (100PCS) \\ \hline
\end{tabular}
\end{center}
\columnbreak
\begin{center}
\centering
\includegraphics[height=2.7in]{bnc_idc_assembly.pdf}
\captionof{figure}{5518 BNC-IDC front panel assembly}
\end{center}
\begin{center}
\captionof{table}{Bill of Material (5518 Assembled)}
\tiny
\begin{tabular}{|c|c|c|c|}
\hline
Index & Part No. & Qty & Description \\ \hline
1 & 90506946 & 1 & FP-LYKJ 3U8HP PANEL \\ \hline
2 & 3033098 & 0.04 & SCREW COLLAR M2.5X12.3 (100X) \\ \hline
3 & 3040138 & 2 & PB HOLDER DIE-CAST \\ \hline
4 & 3001012 & 2 & SCR M2.5*6 PAN PHL NI DIN7985 \\ \hline
5 & 3010110 & 0.02 & WASHER PLN.M2.7 DIN125 (100X) \\ \hline
6 & 3201099 & 0.01 & SCR M2.5*8 OVL PHL ST NI (100EA) \\ \hline
7 & 3040005 & 1 & HANDLE 8HP GREY PLASTIC \\ \hline
8 & 3207076 & 0.01 & SCR M2.5*16 PAN 100 21101-222 \\ \hline
9 & 3201130 & 0.01 & NUT M2.5 HEX ST NI KIT (100PCS) \\ \hline
10 & 3211232 & 1 & SCR M2.5*14 PAN PHL SS \\ \hline
11 & 3010124 & 0.1 & EMC GASKET FABRIC 3U (10PCS) \\ \hline
\end{tabular}
\end{center}
\end{multicols}
\begin{multicols}{2}
\begin{center}
\centering
\includegraphics[height=3in]{sma_idc_drawings.pdf}
\captionof{figure}{5528 SMA-IDC front panel drawings}
\end{center}
\begin{center}
\captionof{table}{Bill of Material (5528 Standalone)}
\tiny
\begin{tabular}{|c|c|c|c|}
\hline
Index & Part No. & Qty & Description \\ \hline
1 & 90506946 & 1 & FRONT PANEL 3U 4HP PIU TYPE2 \\ \hline
2 & 3020716 & 0.02 & SLEEVE GREY PLAS.M2.5 (100PCS) \\ \hline
3 & 3218843 & 2 & FP-ALIGNMENT PIN (LOCALIZATION) \\ \hline
\end{tabular}
\end{center}
\columnbreak
\begin{center}
\centering
\includegraphics[height=3in]{sma_idc_assembly.pdf}
\captionof{figure}{5528 SMA-IDC front panel assembly}
\end{center}
\begin{center}
\captionof{table}{Bill of Material (5528 Assembled)}
\tiny
\begin{tabular}{|c|c|c|c|}
\hline
Index & Part No. & Qty & Description \\ \hline
1 & 90506949 & 1 & FP-LYKJ 3U4HP PANEL \\ \hline
2 & 3001012 & 2 & SCR M2.5*6 PAN PHL NI DIN7985 \\ \hline
3 & 3010110 & 0.02 & WASHER PLN.M2.7 DIN125 (100X) \\ \hline
4 & 3010124 & 0.1 & EMC GASKET FABRIC 3U (10PCS) \\ \hline
5 & 3040012 & 1 & HANDLE 4HP GREY PLASTIC \\ \hline
6 & 3040138 & 2 & PB HOLDER DIE-CAST \\ \hline
7 & 3201099 & 0.01 & SCR M2.5*8 OVL PHL ST NI (100EA) \\ \hline
8 & 3207075 & 0.01 & SCR M2.5*12 PAN 100 21101-221 \\ \hline
9 & 3033098 & 0.02 & SCREW COLLAR M2.5X12.3 (100X) \\ \hline
\end{tabular}
\end{center}
\end{multicols}
\section{Ordering Information}
To order, please visit \url{https://m-labs.hk} and select the 5518 BNC-IDC/5528 SMA-IDC in the ARTIQ Sinara crate configuration tool.
The card may also be ordered separately by writing to \url{mailto:sales@m-labs.hk}.
\section*{}
\vspace*{\fill}
\begin{footnotesize}
Information furnished by M-Labs Limited is provided in good faith in the hope that it will be useful. However, no responsibility is assumed by M-Labs Limited for its use. Specifications may be subject to change without notice.
\end{footnotesize}
\end{document} \end{document}

View File

@ -1,25 +1,5 @@
\documentclass[10pt]{datasheet} \input{preamble.tex}
\usepackage{palatino} \graphicspath{{images/5568}{images}}
\usepackage{textgreek}
\usepackage{minted}
\usepackage{tcolorbox}
\usepackage{etoolbox}
\usepackage[justification=centering]{caption}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage[english]{isodate}
\usepackage{graphicx}
\usepackage{subfig}
\usepackage{tikz}
\usepackage{pgfplots}
\usepackage{circuitikz}
\usepackage{pifont}
\usetikzlibrary{calc}
\usetikzlibrary{fit,backgrounds}
\title{5568 HD68-IDC} \title{5568 HD68-IDC}
\author{M-Labs Limited} \author{M-Labs Limited}
@ -33,9 +13,9 @@
\section{Features} \section{Features}
\begin{itemize} \begin{itemize}
\item{32 channels.} \item{32 channels}
\item{Internal IDC connector.} \item{Internal IDC connector}
\item{External HD68 connectors.} \item{External HD68 connectors}
\end{itemize} \end{itemize}
\section{Applications} \section{Applications}
@ -52,25 +32,13 @@
\end{itemize} \end{itemize}
\section{General Description} \section{General Description}
The 5568 HD68-IDC card is a 4hp EEM module part of the ARTIQ Sinara family. The 5568 HD68-IDC card is a 4hp EEM module, part of the ARTIQ/Sinara family. It is an adapter card that converts IDC connections to or from HD68 connections. It can be connected via external HD68 cable to 5518 BNC-IDC or 5528 SMA-IDC cards.
It is an adapter that converts IDC connection from/to HD68 connection.
It connects to an external HD68 cable to 5518 BNC-IDC or 5528 SMA-IDC cards.
Each card support 32 channels, with 1 HD68 connector and 4 IDC connectors. Each card supports 32 channels, with one HD68 connector and four IDC connectors. Each IDC connector supports 8 channels. All 32 channels can be accessed using an external HD68 cable.
Each IDC connector supports 8 channels, while all 32 channels are accessible using an external HD68 cable.
% Switch to next column % Switch to next column
\vfill\break \vfill\break
\newcommand*{\MyLabel}[3][2cm]{\parbox{#1}{\centering #2 \\ #3}}
\newcommand*{\MymyLabel}[3][4cm]{\parbox{#1}{\centering #2 \\ #3}}
\newcommand{\repeatfootnote}[1]{\textsuperscript{\ref{#1}}}
\newcommand{\inputcolorboxminted}[2]{%
\begin{tcolorbox}[colback=white]
\inputminted[#1, gobble=4]{python}{#2}
\end{tcolorbox}
}
\begin{figure}[h] \begin{figure}[h]
\centering \centering
\scalebox{1}{ \scalebox{1}{
@ -80,10 +48,10 @@ Each IDC connector supports 8 channels, while all 32 channels are accessible usi
\draw (0, 0) node[muxdemux, muxdemux def={Lh=6.5, Rh=8, w=2, NL=0, NB=0, NR=0}, circuitikz/bipoles/twoport/width=3.2, scale=0.7] (hd68) {HD68}; \draw (0, 0) node[muxdemux, muxdemux def={Lh=6.5, Rh=8, w=2, NL=0, NB=0, NR=0}, circuitikz/bipoles/twoport/width=3.2, scale=0.7] (hd68) {HD68};
% IDC Connectors to IDC cards % IDC Connectors to IDC cards
\draw (3.0, 1.8) node[twoportshape, t={\MyLabel{IDC}{CH 16-23}}, circuitikz/bipoles/twoport/width=1.8, scale=0.7, rotate=-90] (eem2) {}; \draw (3.0, 1.8) node[twoportshape, t={\twocm{IDC}{CH 16-23}}, circuitikz/bipoles/twoport/width=1.8, scale=0.7, rotate=-90] (eem2) {};
\draw (1.8, 1.8) node[twoportshape, t={\MyLabel{IDC}{CH 24-31}}, circuitikz/bipoles/twoport/width=1.8, scale=0.7, rotate=-90] (eem3) {}; \draw (1.8, 1.8) node[twoportshape, t={\twocm{IDC}{CH 24-31}}, circuitikz/bipoles/twoport/width=1.8, scale=0.7, rotate=-90] (eem3) {};
\draw (3.0, -1.8) node[twoportshape, t={\MyLabel{IDC}{CH 8-15}}, circuitikz/bipoles/twoport/width=1.8, scale=0.7, rotate=-90] (eem1) {}; \draw (3.0, -1.8) node[twoportshape, t={\twocm{IDC}{CH 8-15}}, circuitikz/bipoles/twoport/width=1.8, scale=0.7, rotate=-90] (eem1) {};
\draw (1.8, -1.8) node[twoportshape, t={\MyLabel{IDC}{CH 0-7}}, circuitikz/bipoles/twoport/width=1.8, scale=0.7, rotate=-90] (eem0) {}; \draw (1.8, -1.8) node[twoportshape, t={\twocm{IDC}{CH 0-7}}, circuitikz/bipoles/twoport/width=1.8, scale=0.7, rotate=-90] (eem0) {};
% Connect Op-amp to EEM OUT and HD68 % Connect Op-amp to EEM OUT and HD68
\draw [-latexslim] (3.0, 0) -- (hd68.east); \draw [-latexslim] (3.0, 0) -- (hd68.east);
@ -100,36 +68,30 @@ Each IDC connector supports 8 channels, while all 32 channels are accessible usi
\begin{figure}[h] \begin{figure}[h]
\centering \centering
\includegraphics[height=2.1in]{HD68_IDC_FP.pdf} \includegraphics[height=3.5in, angle=90]{photo5568.jpg}
\includegraphics[height=2.1in]{photo5568.jpg} \includegraphics[height=3in, angle=90]{HD68_IDC_FP.pdf}
\caption{HD68-IDC Card photo} \caption{Card and front panel}
\end{figure} \end{figure}
% For wide tables, a single column layout is better. It can be switched % For wide tables, a single column layout is better. It can be switched
% page-by-page. % page-by-page.
\onecolumn \onecolumn
\sourcesection{5568 HD68-IDC}{https://github.com/sinara-hw/IDC_HD68_Adapter}
\section{Cable Connection Diagram} \section{Cable Connection Diagram}
The 5568 HD68-IDC card can convert signal from HD68 format to IDC format. The 5568 HD68-IDC card can convert signals from HD68 format to IDC format. Within the Sinara family, the analog output of 5432 DAC Zotino \& 5632 DAC Fastino cards is exported using HD68 connectors. To break out the analog signal into a different crate, connect 5568 HD68-IDC with the DAC card using an external SCSI cable. Then plug in IDC cables to the appropriate IDC connectors to break out the signal to e.g. 5518 BNC-IDC, 5528 SMA-IDC, or 5538 MCX-IDC.
In the Sinara family, analog output of 5432 DAC Zotino \& 5632 DAC Fastino cards are exported using HD68 connectors.
To break out the analog signal in a different crate, connect 5568 HD68-IDC with the DAC card using an external SCSI cable.
Then, plug in IDC cables to the appropriate IDC connectors to break out the signal to 5518 BNC-IDC or 5528 SMA-IDC cards.
The cable connections for 5568 HD68-IDC can be seen in the diagram below. The cable connections for 5568 HD68-IDC can be seen in the diagram below.
\begin{figure}[h] \begin{figure}[h]
\centering \centering
\includegraphics[height=5in]{hd68_idc_connection.pdf} \includegraphics[height=4in]{hd68_idc_connection.pdf}
\caption{HD68-IDC connection diagram} \caption{HD68-IDC connection diagram}
\end{figure} \end{figure}
\section{Ordering Information} \ordersection{5568 HD68-IDC}
To order, please visit \url{https://m-labs.hk} and select the 5568 HD68-IDC in the ARTIQ Sinara crate configuration tool.
The card may also be ordered separately by writing to \url{mailto:sales@m-labs.hk}.
\section*{} \finalfootnote
\vspace*{\fill}
\begin{footnotesize}
Information furnished by M-Labs Limited is provided in good faith in the hope that it will be useful. However, no responsibility is assumed by M-Labs Limited for its use. Specifications may be subject to change without notice.
\end{footnotesize}
\end{document} \end{document}

143
7210.tex
View File

@ -1,29 +1,10 @@
\documentclass[10pt]{datasheet} \input{preamble.tex}
\usepackage{palatino} \graphicspath{{images/7210}{images}}
\usepackage{textgreek}
\usepackage{minted}
\usepackage{tcolorbox}
\usepackage{etoolbox}
\usepackage[justification=centering]{caption}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage[english]{isodate}
\usepackage{graphicx}
\usepackage{subfig}
\usepackage{tikz}
\usepackage{pgfplots}
\usepackage{circuitikz}
\usetikzlibrary{calc}
\usetikzlibrary{fit,backgrounds}
\title{7210 Clocker} \title{7210 Clocker}
\author{M-Labs Limited} \author{M-Labs Limited}
\date{January 2022} \date{January 2024}
\revision{Revision 2} \revision{Revision 3}
\companylogo{\includegraphics[height=0.73in]{artiq_sinara.pdf}} \companylogo{\includegraphics[height=0.73in]{artiq_sinara.pdf}}
\begin{document} \begin{document}
@ -32,48 +13,36 @@
\section{Features} \section{Features}
\begin{itemize} \begin{itemize}
\item{Distribute a low jitter clock signal.} \item{Low-jitter clock signal distribution}
\item{SMA \& MMCX clock input.} \item{SMA \& MMCX input}
\item{4 SMA \& 6 MMCX output.} \item{4 SMA \& 6 MMCX output}
\item{\textless100 fs clock jitter.} \item{\textless100 fs RMS jitter}
\end{itemize} \end{itemize}
\section{Applications} \section{Applications}
\begin{itemize} \begin{itemize}
\item{Distribute clock signal.} \item{Distribute clock signals}
\item{Clock distribution amplifier.} \item{Amplify clock signals}
\item{Drive clocks input for:\begin{itemize} \item{Drive clock input for:\begin{itemize}
\item{4410/4412 DDS Urukul} \item{4410/4412 DDS Urukul}
\item{4456 Synthesizer Mirny} \item{4456 Synthesizer Mirny}
\item{4624 Phaser}
\end{itemize}} \end{itemize}}
\end{itemize} \end{itemize}
\section{General Description} \section{General Description}
The 7210 Clocker card is a 4hp EEM module. The 7210 Clocker card is a 4hp EEM module, capable of distributing clock signals with \textless100 fs RMS jitter.
It distrubites clock signal with \textless100 fs jitter.
Clock input can be supplied to Clocker through the external SMA connector or the internal MMCX connector. Clock input can be supplied to Clocker through the external SMA connector or the internal MMCX connector. The input source is selected using an SPDT switch.
The input source can be selected using an SPDT switch.
Each card distributes the input to 10 outputs.
4 outputs are interfaced with SMA connectors, the other 6 are with MMCX connectors.
Clocker can be powered externally or internally. Each Clocker card distributes an input to 10 outputs. 4 outputs are interfaced with SMA connectors, the other 6 with MMCX connectors.
To provide external power, connect an external 12V power source through the front panel power jack.
Otherwise, connect it to a carrier card (1124 Kasli or 1125 Kasli-SoC) using the EEM port. Clocker can be powered externally or internally. To provide external power, connect an external 12V power source either through front panel power jack or rear connector. Alternatively, connect it to a carrier card (e.g. 1124 Kasli, 1125 Kasli-SoC) using the EEM port.
% Switch to next column % Switch to next column
\vfill\break \vfill\break
\newcommand*{\MyLabel}[3][2cm]{\parbox{#1}{\centering #2 \\ #3}}
\newcommand*{\MymyLabel}[3][4cm]{\parbox{#1}{\centering #2 \\ #3}}
\newcommand{\repeatfootnote}[1]{\textsuperscript{\ref{#1}}}
\newcommand{\inputcolorboxminted}[2]{%
\begin{tcolorbox}[colback=white]
\inputminted[#1, gobble=4]{python}{#2}
\end{tcolorbox}
}
\begin{figure}[h] \begin{figure}[h]
\centering \centering
\scalebox{0.95}{ \scalebox{0.95}{
@ -210,7 +179,7 @@ Otherwise, connect it to a carrier card (1124 Kasli or 1125 Kasli-SoC) using the
\node [label=right:\tiny{SMA CLK IN}] at (sma_clkin) {}; \node [label=right:\tiny{SMA CLK IN}] at (sma_clkin) {};
% Draw the SPDT switch % Draw the SPDT switch
\draw (2.6, -2) node[twoportshape,t=\MymyLabel{Input Clock \phantom{spac} }{Selection Switch}, circuitikz/bipoles/twoport/width=2.7, scale=0.6] (clk_sel) {}; \draw (2.6, -2) node[twoportshape,t=\fourcm{Input Clock \phantom{spac} }{Selection Switch}, circuitikz/bipoles/twoport/width=2.7, scale=0.6] (clk_sel) {};
\begin{scope}[xshift=3cm, yshift=-1.78cm, scale=0.12, every node/.style={scale=0.1}, rotate=-90 ] \begin{scope}[xshift=3cm, yshift=-1.78cm, scale=0.12, every node/.style={scale=0.1}, rotate=-90 ]
\draw (0.4,0) to[short,-o](0.75,0); \draw (0.4,0) to[short,-o](0.75,0);
\draw (0.78,0)-- +(30:0.46); \draw (0.78,0)-- +(30:0.46);
@ -245,24 +214,24 @@ Otherwise, connect it to a carrier card (1124 Kasli or 1125 Kasli-SoC) using the
\caption{Simplified Block Diagram} \caption{Simplified Block Diagram}
\end{figure} \end{figure}
\vspace{5mm}
\begin{figure}[hbt!] \begin{figure}[hbt!]
\centering \centering
\includegraphics[height=3in]{Clocker_FP.jpg} \includegraphics[height=3.5in]{photo7210.jpg}
\includegraphics[height=3in]{photo7210.jpg} \includegraphics[height=3.5in]{clocker_front_panel.jpg}
\caption{Clocker Card photo} \caption{Clocker card and front panel}
\end{figure} \end{figure}
% For wide tables, a single column layout is better. It can be switched % For wide tables, a single column layout is better. It can be switched
% page-by-page. % page-by-page.
\onecolumn \onecolumn
\sourcesection{7210 Clocker}{https://github.com/sinara-hw/Clocker}
\section{Electrical Specifications} \section{Electrical Specifications}
Specifications are derived based on the datasheets of Specifications are derived based on the datasheets of the clock buffer (ADCLK950BCPZ\footnote{\url{https://www.analog.com/media/en/technical-documentation/data-sheets/ADCLK950.pdf}}) and the RF transformer (TCM2-43X+\footnote{\url{https://www.minicircuits.com/pdfs/TCM2-43X+.pdf}}) used. Clock output specifications are tested by supplying a 100 MHz DDS signal to the SMA input connector\footnote{\label{clocker6}\url{https://github.com/sinara-hw/Clocker/issues/6\#issuecomment-414048168}}. The output is connected to an oscilloscope with 50\textOmega~termination.
the clock buffer (ADCLK950BCPZ\footnote{\label{clock_buffer}https://www.analog.com/media/en/technical-documentation/data-sheets/ADCLK950.pdf}) \&
the RF transformer (TCM2-43X+\footnote{\label{rf_transformer}https://www.minicircuits.com/pdfs/TCM2-43X+.pdf}).
Clock output specifications is tested by supplying a 100 MHz DDS signal to the SMA input connector.
The output is connected to an oscilloscope with 50\textOmega~termination.
\begin{table}[h] \begin{table}[h]
\centering \centering
@ -273,15 +242,13 @@ The output is connected to an oscilloscope with 50\textOmega~termination.
\textbf{Parameter} & \textbf{Min.} & \textbf{Typ.} & \textbf{Max.} & \textbf{Parameter} & \textbf{Min.} & \textbf{Typ.} & \textbf{Max.} &
\textbf{Unit} & \textbf{Conditions} \\ \textbf{Unit} & \textbf{Conditions} \\
\hline \hline
Clock input\repeatfootnote{clock_buffer}\textsuperscript{,}\repeatfootnote{rf_transformer} & & & & & \\ Clock input & & & & & \\
\hspace{3mm} Differential peak-to-peak voltage & 0.40 & & 2.40 & V\textsubscript{p-p} & \\ \hspace{3mm} Peak-to-peak voltage & 0.40 & & 2.40 & V\textsubscript{p-p} & \\
\hspace{3mm} Frequency & 10 & & 4000 & MHz & \\ \hspace{3mm} Frequency & 10 & & 4000 & MHz & \\
\hline \hline
Differential output Clock output & & & & & \\
& & 0.8 & & V\textsubscript{p-p} & \multirow{3}{*}{50\textOmega~load, 100 MHz} \\ \hspace{3mm} Peak-to-peak voltage & & 0.8 & & V\textsubscript{p-p} & \multirow{3}{*}{50\textOmega~load, 100 MHz} \\
& & 5 & & dBm & \\ \hspace{3mm} Power & & 5 & & dBm & \\
\cline{0-4}
Rise time (-200mV to 200mV) & & 415 & & ps & \\
\thickhline \thickhline
\end{tabularx} \end{tabularx}
\end{threeparttable} \end{threeparttable}
@ -289,46 +256,44 @@ The output is connected to an oscilloscope with 50\textOmega~termination.
\begin{figure}[H] \begin{figure}[H]
\centering \centering
\includegraphics[width=5in]{clocker_waveform.png} \includegraphics[width=6in]{clocker_waveform.png}
\caption{Waveform of Clocker at 100 MHz} \caption{Waveform of Clocker at 100 MHz\repeatfootnote{clocker6}}
\end{figure} \end{figure}
\newpage
\section{Phase-Noise Performance}
Performance measured against 100 MHz Wenzel Quartz, phase-locked to 10MHz Wenzel Blue Top oscillator\footnote{\label{clockerpn}\url{https://github.com/sinara-hw/Clocker/issues/4\#issuecomment-1310591042}}. Blue trace represents measurement against itself for reference.
\begin{figure}[H] \begin{figure}[H]
\centering \centering
\includegraphics[width=5in]{clocker_rise_time.png} \includegraphics[width=6.5in]{clocker_phase_noise.png}
\caption{Rising Edge of Clocker at 100 MHz} \caption{Absolute phase noise of Clocker measured @ 100 MHz (pink trace)\repeatfootnote{clockerpn}}
\end{figure} \end{figure}
\newpage
\section{Selecting Clock Source} \section{Selecting Clock Source}
Clock input can be supplied to the 7210 Clocker using either the internal MMCX connector or the external SMA connector on the front panel. Clock input can be supplied to 7210 Clocker using either the internal MMCX connector or the external SMA connector on the front panel. The selection of clock input is configurable by an SPDT switch, located between the MMCX input connector (\texttt{INT CLK IN}) and the MMCX output connectors. See Figure 5.
The selection of clock input is configurable by a SPDT switch.
It is located between the MMCX input connector (\texttt{INT CLK IN}) and the MMCX output connectors.
\begin{multicols}{2} \begin{multicols}{2}
Either INT or EXT can be selected.
Either \texttt{INT} or \texttt{EXT} can be selected.
\begin{itemize} \begin{itemize}
\itemsep0em \item Internal MMCX (\texttt{INT}) \\
\item Internal MMCX (INT) \\ Clock signal from the MMCX connector \texttt{INT CLK IN} is distributed to all outputs.
Clock signal from the MMCX connector \texttt{INT CLK IN} is distributed to all MMCX outputs. \item External SMA (\texttt{EXT}) \\
\item External SMA (EXT) \\ Clock signal from the SMA connector \texttt{CLK IN} on the front panel is distributed to all outputs.
Clock signal from the SMA connector \texttt{CLK IN} on the front panel is distributed to all MMCX outputs.
\end{itemize} \end{itemize}
\columnbreak
\vspace*{\fill}\columnbreak
\begin{center} \begin{center}
\centering \centering
\includegraphics[height=1.7in]{clocker_spdt_switch.jpg} \includegraphics[height=1.5in]{clocker_spdt_switch.jpg}
\captionof{figure}{Position of the SPDT switch} \captionof{figure}{Position of the SPDT switch}
\end{center} \end{center}
\end{multicols} \end{multicols}
\section{Ordering Information} \ordersection{7210 Clocker}
To order, please visit \url{https://m-labs.hk} and select the 7210 Clocker in the ARTIQ Sinara crate configuration tool. The card may also be ordered separately by writing to \url{mailto:sales@m-labs.hk}. \finalfootnote{}
\section*{}
\vspace*{\fill}
\begin{footnotesize}
Information furnished by M-Labs Limited is provided in good faith in the hope that it will be useful. However, no responsibility is assumed by M-Labs Limited for its use. Specifications may be subject to change without notice.
\end{footnotesize}
\end{document} \end{document}

13
Makefile Normal file
View File

@ -0,0 +1,13 @@
inputs = 1124 2118-2128 2238 2245 4410-4412 4456 5108 5432 5518-5528 5568 7210
dir = build
all: $(inputs)
$(inputs) : % : %.tex
pdflatex -shell-escape $@.tex
if ! test -d "$(dir)"; then mkdir build; fi
mv $@.pdf build/
rm $@.log
clean:
rm -r _minted* *.aux *.out

20
README.md Normal file
View File

@ -0,0 +1,20 @@
# sinara-hw/datasheets
Repository for Sinara hardware datasheets.
## Build all
```shell
nix build .#all-pdfs
```
Output files will be in `result`.
### Build individual sheets
```shell
nix develop
make 1124
```
Output files will be in `build`. Run make twice in a row to get correct output for all LaTeX features, i.e. in particular correct "page x of y" footnotes, which require two passes of the compiler. (`#all-pdfs` already does this automatically). Auxiliary files and clutter can be removed with `make clean`.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 80 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 81 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

View File

@ -40,17 +40,12 @@
\RequirePackage{threeparttable} \RequirePackage{threeparttable}
% Align figure and table captions to left. % Align figure and table captions to left.
\RequirePackage[font=bf, skip=5pt, justification=raggedright, format=hang, singlelinecheck=off]{caption} \RequirePackage[font=bf,
skip=5pt,
% Format hyperlinks as blue and set PDF title based on \title{} in the document. justification=raggedright,
\RequirePackage[pdfusetitle]{hyperref} format=hang,
\hypersetup{ singlelinecheck=off,
pdftex, hypcap=false]{caption}
breaklinks=true,
colorlinks=true,
linkcolor=.,
urlcolor=blue
}
% Configure page margins % Configure page margins
\RequirePackage{geometry} \RequirePackage{geometry}
@ -124,6 +119,17 @@
% No numbering for section titles % No numbering for section titles
\setcounter{secnumdepth}{0} \setcounter{secnumdepth}{0}
% Section and subsection spacing
\usepackage{titlesec} \usepackage{titlesec}
\titlespacing*{\section}{0pt}{.2ex}{.2ex} \titlespacing*{\section}{0pt}{.2ex}{.2ex}
\titlespacing*{\subsection}{0pt}{.2ex}{.2ex} \titlespacing*{\subsection}{0pt}{.2ex}{.2ex}
% Format hyperlinks as blue and set PDF title based on \title{} in the document.
% Hyperref must be loaded last (in particular after titlesec)
\RequirePackage[pdfusetitle]{hyperref}
\hypersetup{
breaklinks=true,
colorlinks=true,
linkcolor=.,
urlcolor=blue
}

Binary file not shown.

Binary file not shown.

35
examples/cache.py Normal file
View File

@ -0,0 +1,35 @@
from artiq.experiment import *
class CachePut(EnvExperiment):
def build(self):
self.setattr_device("core")
self.setattr_device("core_cache")
@kernel
def put(self, key, value):
self.core_cache.put(key, value)
# First experiment
@kernel
def run(self):
self.put("data", [0xCAFE, 0xDEAD, 0xBEEF])
class CacheGet(EnvExperiment):
def build(self):
self.setattr_device("core")
self.setattr_device("core_cache")
@kernel
def get(self, key):
return self.core_cache.get(key)
@rpc(flags={"async"})
def p(self, p):
print([hex(_) for _ in p])
# Second experiment
@kernel
def run(self):
self.p(self.get("data"))

29
examples/dma.py Normal file
View File

@ -0,0 +1,29 @@
from artiq.experiment import *
class DMA(EnvExperiment):
def build(self):
self.setattr_device("core")
self.setattr_device("core_dma")
self.setattr_device("led0")
@kernel
def record(self):
with self.core_dma.record("led_blink"):
delay(100*ms)
self.led0.on()
delay(100*ms)
self.led0.off()
@kernel
def playback(self, n):
handle = self.core_dma.get_handle("led_blink")
self.core.break_realtime()
for _ in range(n):
self.core_dma.playback_handle(handle)
@kernel
def run(self):
self.core.reset()
self.record()
self.playback(2)

View File

@ -52,34 +52,6 @@ class SoftwareEdgeCount(EnvExperiment):
print(counts) print(counts)
class EdgeCounter(EnvExperiment):
def build(self):
self.setattr_device("core")
self.edgecounter0 = self.get_device("ttl0_counter")
@kernel
def run(self):
self.core.reset()
self.edgecounter0.gate_rising(1*ms)
counts = self.edgecounter0.fetch_count()
print(counts)
class ExternalTrigger(EnvExperiment):
def build(self):
self.setattr_device("core")
self.ttlin = self.get_device("ttl0")
self.ttlout = self.get_device("ttl4")
@kernel
def run(self):
self.core.reset()
gate_end_mu = self.ttlin.gate_rising(5*ms)
timestamp_mu = self.ttlin.timestamp_mu(gate_end_mu)
at_mu(timestamp_mu + self.core.seconds_to_mu(10*ms))
self.ttlout.pulse(1*us)
class ShortPulse(EnvExperiment): class ShortPulse(EnvExperiment):
def build(self): def build(self):
self.setattr_device("core") self.setattr_device("core")

98
examples/ttl_in.py Normal file
View File

@ -0,0 +1,98 @@
from artiq.experiment import *
class SoftwareEdgeCount(EnvExperiment):
def build(self):
self.setattr_device("core")
self.ttlin = self.get_device("ttl0")
self.ttlout = self.get_device("ttl7")
@kernel
def run(self):
self.core.reset()
gate_start_mu = now_mu()
# Start input gate & advance timeline cursor to gate_end_mu
gate_end_mu = self.ttlin.gate_rising(1*ms)
at_mu(gate_start_mu)
for _ in range(64):
self.ttlout.pulse(8*ns)
delay(8*ns)
counts = self.ttlin.count(gate_end_mu)
print(counts)
class EdgeCounter(EnvExperiment):
def build(self):
self.setattr_device("core")
self.edgecounter0 = self.get_device("ttl0_counter")
@kernel
def run(self):
self.core.reset()
self.edgecounter0.gate_rising(1*ms)
counts = self.edgecounter0.fetch_count()
print(counts)
class ExternalTrigger(EnvExperiment):
def build(self):
self.setattr_device("core")
self.ttlin = self.get_device("ttl0")
self.ttlout = self.get_device("ttl4")
@kernel
def run(self):
self.core.reset()
gate_end_mu = self.ttlin.gate_rising(5*ms)
timestamp_mu = self.ttlin.timestamp_mu(gate_end_mu)
at_mu(timestamp_mu + self.core.seconds_to_mu(10*ms))
self.ttlout.pulse(1*us)
import time
class MeanTimestampDuration(EnvExperiment):
def build(self):
self.setattr_device("core")
self.ttlin = self.get_device("ttl0")
self.ttlclk = self.get_device("ttl7")
@kernel
def get_timestamp_duration(self, pulse_num) -> TInt64:
self.core.break_realtime()
delay(1*ms)
gate_start_mu = now_mu()
# Start input gate & advance timeline cursor to gate_end_mu
gate_end_mu = self.ttlin.gate_rising(1*ms)
at_mu(gate_start_mu)
self.ttlclk.set_mu(0x800000)
delay(16*pulse_num*ns)
self.ttlclk.set_mu(0)
# Guarantee t0 > gate_end_mu
# Otherwise timestamp_mu may wait for pulses till gate_end_mu
rtio_time_mu = self.core.get_rtio_counter_mu()
sleep_mu = float(gate_end_mu - rtio_time_mu)
self.rpc_sleep(self.core.mu_to_seconds(sleep_mu))
t0 = self.core.get_rtio_counter_mu()
while self.ttlin.timestamp_mu(gate_end_mu) >= 0:
pass
t1 = self.core.get_rtio_counter_mu()
return t1 - t0
@rpc
def rpc_sleep(self, duration):
time.sleep(duration)
@kernel
def run(self):
self.core.reset()
t64 = self.get_timestamp_duration(64)
t8 = self.get_timestamp_duration(8)
print("Mean timestamp_mu duration:")
print(self.core.mu_to_seconds((t64 - t8)/((64 + 1) - (8 + 1))))

27
flake.lock generated Normal file
View File

@ -0,0 +1,27 @@
{
"nodes": {
"nixpkgs": {
"locked": {
"lastModified": 1729880355,
"narHash": "sha256-RP+OQ6koQQLX5nw0NmcDrzvGL8HDLnyXt/jHhL1jwjM=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "18536bf04cd71abd345f9579158841376fdd0c5a",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"nixpkgs": "nixpkgs"
}
}
},
"root": "root",
"version": 7
}

43
flake.nix Normal file
View File

@ -0,0 +1,43 @@
{
description = "Sinara datasheets";
inputs.nixpkgs.url = github:NixOS/nixpkgs/nixos-unstable;
outputs = { self, nixpkgs }:
let
pkgs = import nixpkgs { system = "x86_64-linux";};
latex-pkgs = pkgs.texlive.combine {
inherit (pkgs.texlive)
scheme-small collection-latexextra collection-fontsextra
collection-fontsrecommended cbfonts-fd cbfonts palatino textgreek helvetic
greek-inputenc maths-symbols mathpazo babel isodate tcolorbox etoolbox
pgfplots visualtikz quantikz tikz-feynman circuitikz
minted pst-graphicx;
};
python-pkgs = with pkgs.python3Packages; [ pygments ];
in rec {
all-pdfs = pkgs.stdenvNoCC.mkDerivation rec {
name = "datasheets-pdfs";
src = self;
buildInputs = [ latex-pkgs ] ++ python-pkgs;
# is there a better way to get .aux/.out files correct than to just run latexpdf twice?
buildPhase = ''
make all
make all
'';
installPhase = ''
mkdir $out
cp build/*.pdf $out
'';
};
devShells.x86_64-linux.default = pkgs.mkShell {
name = "datasheet-dev-shell";
buildInputs = [ latex-pkgs ] ++ python-pkgs;
};
};
}

Binary file not shown.

BIN
images/1124/Kasli_FP.pdf Normal file

Binary file not shown.

BIN
images/1124/photo1124.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 102 KiB

View File

Before

Width:  |  Height:  |  Size: 60 KiB

After

Width:  |  Height:  |  Size: 60 KiB

View File

Before

Width:  |  Height:  |  Size: 31 KiB

After

Width:  |  Height:  |  Size: 31 KiB

View File

Before

Width:  |  Height:  |  Size: 33 KiB

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 208 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 360 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 226 KiB

View File

Before

Width:  |  Height:  |  Size: 80 KiB

After

Width:  |  Height:  |  Size: 80 KiB

View File

Before

Width:  |  Height:  |  Size: 104 KiB

After

Width:  |  Height:  |  Size: 104 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 108 KiB

View File

Before

Width:  |  Height:  |  Size: 81 KiB

After

Width:  |  Height:  |  Size: 81 KiB

View File

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 30 KiB

View File

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 30 KiB

View File

Before

Width:  |  Height:  |  Size: 42 KiB

After

Width:  |  Height:  |  Size: 42 KiB

View File

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 20 KiB

View File

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 24 KiB

View File

Before

Width:  |  Height:  |  Size: 141 KiB

After

Width:  |  Height:  |  Size: 141 KiB

View File

Before

Width:  |  Height:  |  Size: 162 KiB

After

Width:  |  Height:  |  Size: 162 KiB

View File

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 25 KiB

View File

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 24 KiB

View File

Before

Width:  |  Height:  |  Size: 208 KiB

After

Width:  |  Height:  |  Size: 208 KiB

View File

Before

Width:  |  Height:  |  Size: 97 KiB

After

Width:  |  Height:  |  Size: 97 KiB

View File

Before

Width:  |  Height:  |  Size: 33 KiB

After

Width:  |  Height:  |  Size: 33 KiB

View File

Before

Width:  |  Height:  |  Size: 249 KiB

After

Width:  |  Height:  |  Size: 249 KiB

View File

Before

Width:  |  Height:  |  Size: 62 KiB

After

Width:  |  Height:  |  Size: 62 KiB

View File

Before

Width:  |  Height:  |  Size: 98 KiB

After

Width:  |  Height:  |  Size: 98 KiB

View File

Before

Width:  |  Height:  |  Size: 140 KiB

After

Width:  |  Height:  |  Size: 140 KiB

View File

Before

Width:  |  Height:  |  Size: 60 KiB

After

Width:  |  Height:  |  Size: 60 KiB

View File

Before

Width:  |  Height:  |  Size: 140 KiB

After

Width:  |  Height:  |  Size: 140 KiB

View File

Before

Width:  |  Height:  |  Size: 36 KiB

After

Width:  |  Height:  |  Size: 36 KiB

View File

Before

Width:  |  Height:  |  Size: 33 KiB

After

Width:  |  Height:  |  Size: 33 KiB

View File

Before

Width:  |  Height:  |  Size: 80 KiB

After

Width:  |  Height:  |  Size: 80 KiB

View File

Before

Width:  |  Height:  |  Size: 152 KiB

After

Width:  |  Height:  |  Size: 152 KiB

View File

Before

Width:  |  Height:  |  Size: 172 KiB

After

Width:  |  Height:  |  Size: 172 KiB

View File

Before

Width:  |  Height:  |  Size: 172 KiB

After

Width:  |  Height:  |  Size: 172 KiB

View File

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 32 KiB

View File

Before

Width:  |  Height:  |  Size: 140 KiB

After

Width:  |  Height:  |  Size: 140 KiB

View File

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 19 KiB

View File

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 26 KiB

View File

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 30 KiB

View File

Before

Width:  |  Height:  |  Size: 60 KiB

After

Width:  |  Height:  |  Size: 60 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 218 KiB

View File

Before

Width:  |  Height:  |  Size: 80 KiB

After

Width:  |  Height:  |  Size: 80 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 140 KiB

View File

Before

Width:  |  Height:  |  Size: 80 KiB

After

Width:  |  Height:  |  Size: 80 KiB

View File

Before

Width:  |  Height:  |  Size: 61 KiB

After

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 244 KiB

View File

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

BIN
images/7210/photo7210.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 257 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 81 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 81 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 82 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 81 KiB

64
preamble.tex Normal file
View File

@ -0,0 +1,64 @@
\documentclass[10pt]{datasheet}
\usepackage{palatino}
\usepackage{textgreek}
\usepackage{minted}
\usepackage{tcolorbox}
\usepackage{etoolbox}
\usepackage[justification=centering]{caption}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage[english]{isodate}
\usepackage{graphicx}
\usepackage{subfig}
\usepackage{tikz}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\usepackage{circuitikz}
\usepackage{pifont}
\usetikzlibrary{calc}
\usetikzlibrary{fit,backgrounds}
\newcommand*{\twocm}[3][2cm]{\parbox{#1}{\centering #2 \\ #3}}
\newcommand*{\fourcm}[3][4cm]{\parbox{#1}{\centering #2 \\ #3}}
\newcommand{\inputcolorboxminted}[3][4]{%
\begin{tcolorbox}[colback=white]
\inputminted[#2, gobble=#1]{python}{#3}
\end{tcolorbox}
}
\newcommand{\repeatfootnote}[1]{\textsuperscript{\ref{#1}}}
\newcommand*{\sourcesection}[2]{
\section{Source}
#1, like all the Sinara hardware family, is open-source hardware, and design files (schematics, PCB layouts, BOMs) can be found in detail at the repository \url{#2}.
}
\newcommand*{\sourcesectiond}[4]{
\section{Source}
#1 and #2, like all the Sinara hardware family, are open-source hardware, and design files (schematics, PCB layouts,
BOMs) can be found in detail at the repositories \url{#3} and \url{#4}.
}
\newcommand*{\ordersection}[1]{
\section{Ordering Information}
To order, please visit \url{https://m-labs.hk} and choose #1 in the ARTIQ/Sinara hardware selection tool. Cards can be ordered as part of a fully-featured ARTIQ/Sinara crate or standalone through the 'Spare cards' option. Otherwise, orders can also be made by writing directly to \url{mailto:sales@m-labs.hk}.
}
\newcommand{\codesection}[1] {
\section{Example ARTIQ Code}
The sections below demonstrate simple usage scenarios of extensions on the ARTIQ control system. These extensions make use of the resources of the #1. They do not exhaustively demonstrate all the features of the ARTIQ system.
The full documentation for ARTIQ software and gateware, including the guide for its use, is available at \url{https://m-labs.hk/artiq/manual/}. Please consult the manual for details and reference material of the functions and structures used here.
}
\newcommand*{\finalfootnote}{
\section*{}
\vspace*{\fill}
\begin{footnotesize}
Information furnished by M-Labs Limited is provided in good faith in the hope that it will be useful. However, no responsibility is assumed by M-Labs Limited for its use. Specifications may be subject to change without notice.
\end{footnotesize}
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 70 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 54 KiB

View File

@ -1,47 +0,0 @@
let
pkgs = import <nixpkgs> {};
in
pkgs.mkShell {
buildInputs = with pkgs;[
#pkgs.texlive.combined.scheme-small
(pkgs.texlive.combine {
inherit (pkgs.texlive)
scheme-small
collection-latexextra
collection-fontsextra
collection-fontsrecommended
palatino
textgreek
minted
tcolorbox
etoolbox
maths-symbols
greek-inputenc
babel
isodate
pst-graphicx
visualtikz
quantikz
tikz-feynman
pgfplots
cbfonts-fd
cbfonts
mathpazo
helvetic
circuitikz ;
# To compile, call:
# $ pdflatex -shell-escape xxx.tex
# if missing packages, you can search if the required tex packages is in nixpkgs or not from here
# https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/tools/typesetting/tex/texlive/pkgs.nix
# if available, just add it to the above list
})
python3
] ++ (with python3Packages; [
pygments
]);
}

Some files were not shown because too many files have changed in this diff Show More