Subversion Repositories svnkaklik

Rev

Rev 1112 | Rev 1114 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 1112 Rev 1113
1
\chap Trial design
1
\chap Trial design
2
 
2
 
3
The whole design of radioastronomy receiver digitalization unit is constructed to be used in a wide range of applications and tasks related to digitalization of signal from radioastronomy receivers. A good illustrating problem for its use is a signal digitalisation from multiple antenna arrays. This design will eventually become a part of MLAB Advanced Radio Astronomy System. 
3
The whole design of radioastronomy receiver digitalization unit is constructed to be used in a wide range of applications and tasks related to digitalization of signal from radioastronomy receivers. A good illustrating problem for its use is a signal digitalisation from multiple antenna arrays. This design will eventually become a part of MLAB Advanced Radio Astronomy System. 
4
 
4
 
5
\sec Required parameters
5
\sec Required parameters
6
 
6
 
7
Wide dynamical range and high IP3 are desired. The receiver must accept wide dynamic signals because a typical radioastronomical signal has a form of a weak signal covered by a strong man-made noise.    
7
Wide dynamical range and high IP3 are desired. The receiver must accept wide dynamic signals because a typical radioastronomical signal has a form of a weak signal covered by a strong man-made noise.    
8
 
8
 
9
Summary of main required parameters follows 
9
Summary of main required parameters follows 
10
 
10
 
11
\begitems
11
\begitems
12
  * Dynamical range better than 80 dB
12
  * Dynamical range better than 80 dB
13
  * Phase stability between channels 
13
  * Phase stability between channels 
14
  * Noise (all types)
14
  * Noise (all types)
15
  * Sampling jitter better than 100 metres
15
  * Sampling jitter better than 100 metres
16
  * Support for any number of receivers in range 1 to 8
16
  * Support for any number of receivers in range 1 to 8
17
\enditems
17
\enditems
18
 
18
 
19
\sec Sampling frequency
19
\sec Sampling frequency
20
 
20
 
21
Sampling frequency is limited by the technical constrains in the trial design. This parameter is especially limited by the sampling frequencies of analog-to-digital conversion chips available on the market and interface bandwidth. Combination of the required parameters -- dynamic range requiring at least 16bit and a minimum sampling frequency of 1 MSPS leads to need of high end ADC chips which does not support such low sampling frequencies at all. Their minimum sampling frequency is 5 MSPS.
21
Sampling frequency is limited by the technical constrains in the trial design. This parameter is especially limited by the sampling frequencies of analog-to-digital conversion chips available on the market and interface bandwidth. Combination of the required parameters -- dynamic range requiring at least 16bit and a minimum sampling frequency of 1 MSPS leads to need of high end ADC chips which does not support such low sampling frequencies at all. Their minimum sampling frequency is 5 MSPS.
22
 
22
 
23
We calculate minimum data bandwidth data rate for eight receivers, 2 bytes per sample and 5MSPS as $8 * 2 * 5e6 = 80$ MB/s. Such data rate is at the limit of real writing speed o classical HDD and it is almost double of real bandwidth of USB 2.0 interface. 
23
We calculate minimum data bandwidth data rate for eight receivers, 2 bytes per sample and 5MSPS as $8 * 2 * 5e6 = 80$ MB/s. Such data rate is at the limit of real writing speed o classical HDD and it is almost double of real bandwidth of USB 2.0 interface. 
24
 
24
 
25
 
25
 
26
\sec System scalability
26
\sec System scalability
27
 
27
 
28
For analogue channels scalability, special parameters of ADC modules are required. Ideally, there should be a separate output for each analogue channel in ADC module. ADC module must also have separate outputs for frames and data output clocks. These parameters allow for conduction at relatively low digital data rates. As a result, the digital signal can be conducted even through long wires. 
28
For analogue channels scalability, special parameters of ADC modules are required. Ideally, there should be a separate output for each analogue channel in ADC module. ADC module must also have separate outputs for frames and data output clocks. These parameters allow for conduction at relatively low digital data rates. As a result, the digital signal can be conducted even through long wires. 
29
 
29
 
30
Clock signal will be handled distinctively in our scalable design. Selected ADC chip are guaranteed to have defined clock skew between sampling and data output clock. This allows taking data and frame clocks from the first ADC module only. The rest of the data and frame clocks from other ADC modules can be measured for diagnostic purposes (failure detection, jitter measurement etc.).
30
Clock signal will be handled distinctively in our scalable design. Selected ADC chip are guaranteed to have defined clock skew between sampling and data output clock. This allows taking data and frame clocks from the first ADC module only. The rest of the data and frame clocks from other ADC modules can be measured for diagnostic purposes (failure detection, jitter measurement etc.).
31
 
31
 
32
This system concept allows for scalability, that is technically limited by a number of differential signals on host side and its computational power.  There is another advantage of scalable data acquisition system -- an economic one. Observatories or end users can make a choice of how much money are they willing to spent on radioastronomy receiver system. This freedom of choice is especially useful for science sites without previous experience in radioastronomy observations.     
32
This system concept allows for scalability, that is technically limited by a number of differential signals on host side and its computational power.  There is another advantage of scalable data acquisition system -- an economic one. Observatories or end users can make a choice of how much money are they willing to spent on radioastronomy receiver system. This freedom of choice is especially useful for science sites without previous experience in radioastronomy observations.     
33
 
33
 
34
\secc Differential signaling 
34
\secc Differential signaling 
35
 
35
 
36
The concept of scalable design requires relatively long circuit traces between ADC and digital unit which captures the data and performs the computations. The long distance between the digital processing unit and the analog-to-digital conversion unit has an advantage in noise retention typically produced by digital circuits. Those digital circuits, such as FPGA or other flip-flops block and circuit traces, usually work at high frequencies and emit wide-band noise with relatively low power. In such cases any increase in a distance between the noise source and analog signal source increase S/N significantly. However, at the same time a long distance brings problems with the digital signal transmission between ADC and computational unit. This obstacle should be resolved more easily in free-space than on board routing. The high-quality differential signalling shielded cables should be used. This technology has two advantages over PCB signal routing. First, it can use twisted pair of wires for leak inductance suppression in signal path and second, the twisted pair may additionally be shielded by uninterrupted metal foil.              
36
The concept of scalable design requires relatively long circuit traces between ADC and digital unit which captures the data and performs the computations. The long distance between the digital processing unit and the analog-to-digital conversion unit has an advantage in noise retention typically produced by digital circuits. Those digital circuits, such as FPGA or other flip-flops block and circuit traces, usually work at high frequencies and emit wide-band noise with relatively low power. In such cases any increase in a distance between the noise source and analog signal source increase S/N significantly. However, at the same time a long distance brings problems with the digital signal transmission between ADC and computational unit. This obstacle should be resolved more easily in free-space than on board routing. The high-quality differential signalling shielded cables should be used. This technology has two advantages over PCB signal routing. First, it can use twisted pair of wires for leak inductance suppression in signal path and second, the twisted pair may additionally be shielded by uninterrupted metal foil.              
37
 
37
 
38
\secc Phase matching
38
\secc Phase matching
39
 
39
 
40
For multiple antenna radioastronomy projects, system phase stability is a mandatory condition. It allows precise high resolution imaging of objects. 
40
For multiple antenna radioastronomy projects, system phase stability is a mandatory condition. It allows precise high resolution imaging of objects. 
41
 
41
 
42
High phase stability in our scalable design is achieved through centralized frequency generation  and distribution with multi-output LVPECL hubs, that have equiphased outputs for multiple devices. 
42
High phase stability in our scalable design is achieved through centralized frequency generation  and distribution with multi-output LVPECL hubs, that have equiphased outputs for multiple devices. 
43
 
43
 
44
This design ensures that all devices have access to the defined phase and known frequency.     
44
This design ensures that all devices have access to the defined phase and known frequency.     
45
 
45
 
46
 
46
 
47
\sec System description
47
\sec System description
48
 
48
 
49
In this section testing system will be described.
49
In this section testing system will be described.
50
 
50
 
51
\secc Frequency synthesis       
51
\secc Frequency synthesis       
52
 
52
 
53
We have used a centralized topology as a basis for frequency synthesis. One precise high-frequency and low-jitter digital oscillator has been used \cite[MLAB-GPSDO], while other working frequencies have been derived from it by the division of its signal. This central oscillator has a software defined GPS disciplined control loop for frequency stabilization.\fnote{SDGPSDO design has been developed in parallel to this diploma thesis as a related project, but it is not explicitly required by the diploma thesis.}
53
We have used a centralized topology as a basis for frequency synthesis. One precise high-frequency and low-jitter digital oscillator has been used \cite[MLAB-GPSDO], while other working frequencies have been derived from it by the division of its signal. This central oscillator has a software defined GPS disciplined control loop for frequency stabilization.\fnote{SDGPSDO design has been developed in parallel to this diploma thesis as a related project, but it is not explicitly required by the diploma thesis.}
54
We have used methods of frequency monitoring compensation in order to meet modern requirements on radioastronomy equipment which needs precise frequency and phase stability over a wide scale for effective radioastronomy imaging. 
54
We have used methods of frequency monitoring compensation in order to meet modern requirements on radioastronomy equipment which needs precise frequency and phase stability over a wide scale for effective radioastronomy imaging. 
55
 
55
 
56
GPSDO device consists the Si570 chip with LVPECL output. Phase jitter of GPSDO is determined mainly by Si570 phase noise. Parameters of used Si570 from source ... are summarised in table.
56
GPSDO device consists the Si570 chip with LVPECL output. Phase jitter of GPSDO is determined mainly by Si570 phase noise. Parameters of used Si570 from source ... are summarised in table \ref[LO-noise].
57
 
57
 
58
 
58
 
-
 
59
\midinsert \clabel[LO-noise]{Available ADC types}
59
		dBc/Hz		
60
\ctable{lcc}{
-
 
61
	&	\multispan2 Phase Noise [dBc/Hz] 		\cr
60
Offset Frequency		156.25 MHz	&	622.08 MHz
62
Offset Frequency	&	$F_out$ 156.25 MHz	& $F_out$ 622.08 MHz \cr
61
100 Hz	&	–105	&	–97
63
100 [Hz]	&	–105	&	–97 \cr
62
1 kHz	&	–122	&	–107
64
1 [kHz]	&	–122	&	–107 \cr
63
10 kHz	&	–128	&	–116
65
10 [kHz]	&	–128	&	–116 \cr
64
100 kHz	&	–135	&	–121
66
100 [kHz]	&	–135	&	–121 \cr
65
1 MHz	&	–144	&	–134
67
1 [MHz]	&	–144	&	–134 \cr
66
10 MHz	&	–147	&	–146
68
10 [MHz]	&	–147	&	–146 \cr
67
100 MHz	&	n/a	&	–148
69
100 [MHz]	&	n/a	&	–148 \cr
-
 
70
}
-
 
71
\caption/t The summary of available ADC types and theirs characteristics. 
-
 
72
\endinsert
68
 
73
 
69
 
-
 
70
Every ADC module will be directly connected to CLKHUB02A module which takes sampling clock signal delivered by FPGA from main local oscillator.  This signal should use high quality differential signaling cable -- we should use SATA cable for this purpose. 
74
Every ADC module will be directly connected to CLKHUB02A module which takes sampling clock signal delivered by FPGA from main local oscillator.  This signal should use high quality differential signaling cable -- we should use SATA cable for this purpose. FPGA may slightly affect clock signal quality by additive noise, but has negligible effect in application where developed system will be used.
71
 
75
 
72
GPSDO design included in data acquisition system has special feature -- generates time marks for precise time-stamping of received signal. Timestamps are created by disabling of local oscillator for 100 us as result rectangle click in input signal is created which appears as horizontal line in spectrogram.   
76
GPSDO design included in data acquisition system has special feature -- generates time marks for precise time-stamping of received signal. Timestamps are created by disabling of local oscillator for 100 us as result rectangle click in input signal is created which appears as horizontal line in spectrogram.   
73
Timestamps should be seen in image \ref[meteor-reflection] (above and below meteor reflection).
77
Timestamps should be seen in image \ref[meteor-reflection] (above and below meteor reflection).
74
 
78
 
75
Time-marking should be improved in future by digitalisation GPS signal directly with dedicated ADC channel.  Datafile then consists samples from channels of radio-astronomy receivers along with GPS signal containing precise time information. 
79
Time-marking should be improved in future by digitalisation GPS signal directly with dedicated ADC channel.  Datafile then consists samples from channels of radio-astronomy receivers along with GPS signal containing precise time information. 
76
 
80
 
77
\secc Signal cable connectors 
81
\secc Signal cable connectors 
78
 
82
 
79
Several widely used and commercially easily accessible differential connectors were considered to be use in our design. 
83
Several widely used and commercially easily accessible differential connectors were considered to be use in our design. 
80
 
84
 
81
\begitems
85
\begitems
82
* HDMI % [[http://en.wikipedia.org/wiki/Hdmi|HDMI]]</del>
86
* HDMI % [[http://en.wikipedia.org/wiki/Hdmi|HDMI]]</del>
83
* SATA  		%{http://en.wikipedia.org/wiki/Serial_attached_SCSI#Connectors|SAS]]/[[http://en.wikipedia.org/wiki/Serial_ATA|SATA]]
87
* SATA  		%{http://en.wikipedia.org/wiki/Serial_attached_SCSI#Connectors|SAS]]/[[http://en.wikipedia.org/wiki/Serial_ATA|SATA]]
84
* DisplayPort 		%[[http://en.wikipedia.org/wiki/Display_port|DisplayPort]]</del>
88
* DisplayPort 		%[[http://en.wikipedia.org/wiki/Display_port|DisplayPort]]</del>
85
* SAS/miniSAS
89
* SAS/miniSAS
86
\enditems
90
\enditems
87
 
91
 
88
At the end, MiniSAS connector was chosen as the best option to be used in connecting together multiple ADC modules. It is compatible with existing SATA cabling systems and aggregates multiple SATA cables to a single connector. It can be seen on the following picture \ref[img-miniSAS-cable]. A transition between SATA and miniSAS is achieved by SAS to SATA adapter cable which is commonly used in servers to connect SAS controller to multiple SATA hard disc in RAID systems and thus is commercially easily available. 
92
At the end, MiniSAS connector was chosen as the best option to be used in connecting together multiple ADC modules. It is compatible with existing SATA cabling systems and aggregates multiple SATA cables to a single connector. It can be seen on the following picture \ref[img-miniSAS-cable]. A transition between SATA and miniSAS is achieved by SAS to SATA adapter cable which is commonly used in servers to connect SAS controller to multiple SATA hard disc in RAID systems and thus is commercially easily available. 
89
The main drawback of miniSAS PCB connectors lies in the fact, that they are manufactured in SMT versions only. The outer metal housing of connector is designed to be mounted using a standard through-hole mounting scheme, a design that unfortunately decreases the durability of the connector. 
93
The main drawback of miniSAS PCB connectors lies in the fact, that they are manufactured in SMT versions only. The outer metal housing of connector is designed to be mounted using a standard through-hole mounting scheme, a design that unfortunately decreases the durability of the connector. 
90
 
94
 
91
 
95
 
92
\midinsert
96
\midinsert
93
\clabel[img-miniSAS-cable]{Used miniSAS cable}
97
\clabel[img-miniSAS-cable]{Used miniSAS cable}
94
\picw=10cm \cinspic ./img/miniSAS_SATA_cable.jpg
98
\picw=10cm \cinspic ./img/miniSAS_SATA_cable.jpg
95
\caption/f A type of miniSAS cable similar to used.
99
\caption/f A type of miniSAS cable similar to used.
96
\endinsert
100
\endinsert
97
 
101
 
98
\secc Signal integrity requirements
102
\secc Signal integrity requirements
99
\label[diff-signaling]
103
\label[diff-signaling]
100
 
104
 
101
We use ADC modules that have DATA clock frequency eight times higher than sampling frequency in single line output mode, implying a 40 MHz output bit rate. This imply $ 1/4*10^7 = 25$ ns time length of data bit, which is equivalent to 7.5m light path in free space. If we use copper PCB with FR4 substrate layer or coaxial/twinax cable, we could obtain velocity factor of 0.66 at worst condition. Then the light path for the same bit rate will be 4.95 m. Although we do not have any cables in system with comparable lengths, worst data bit skew described by data sheets of used components is $0.3*sample time$ time which is 1.485 m. Therefore length matching is not critical in our design. 
105
We use ADC modules that have DATA clock frequency eight times higher than sampling frequency in single line output mode, implying a 40 MHz output bit rate. This imply $ 1/4*10^7 = 25$ ns time length of data bit, which is equivalent to 7.5m light path in free space. If we use copper PCB with FR4 substrate layer or coaxial/twinax cable, we could obtain velocity factor of 0.66 at worst condition. Then the light path for the same bit rate will be 4.95 m. Although we do not have any cables in system with comparable lengths, worst data bit skew described by data sheets of used components is $0.3*sample time$ time which is 1.485 m. Therefore length matching is not critical in our design. 
102
 
106
 
103
 
107
 
104
\secc ADC modules design
108
\secc ADC modules design
105
 
109
 
106
 
110
 
107
\secc ADC selection
111
\secc ADC selection
108
 
112
 
109
There exist several ADC signaling formats currently used in communication with FPGA. 
113
There exist several ADC signaling formats currently used in communication with FPGA. 
110
 
114
 
111
\begitems
115
\begitems
112
  * DDR LVDS
116
  * DDR LVDS
113
  * JEDEC 204B
117
  * JEDEC 204B
114
  * JESD204A
118
  * JESD204A
115
  * Paralel LVDS
119
  * Paralel LVDS
116
  * Serdes
120
  * Serdes
117
  * serial LVDS
121
  * serial LVDS
118
\enditems
122
\enditems
119
 
123
 
120
Because it uses the smallest number of differential pairs, the choice fell on the serial LVDS format. Small number of differential pairs is an important parameter determining the construction complexity and reliability\cite[serial-lvds]. 
124
Because it uses the smallest number of differential pairs, the choice fell on the serial LVDS format. Small number of differential pairs is an important parameter determining the construction complexity and reliability\cite[serial-lvds]. 
121
 
125
 
122
An ultrasound AFE chip seems to be ideal for this purpose -- the chip has integrated both front-end amplifiers and filters. It has a drawback though - it is incapable of handling differential input signal and has a relatively low dynamic range (as it consists only of 12bit ADC). Because this IO has many ADC channels the scaling is possible only by a factor of 4 receivers (making 8 analogue channels).
126
An ultrasound AFE chip seems to be ideal for this purpose -- the chip has integrated both front-end amplifiers and filters. It has a drawback though - it is incapable of handling differential input signal and has a relatively low dynamic range (as it consists only of 12bit ADC). Because this IO has many ADC channels the scaling is possible only by a factor of 4 receivers (making 8 analogue channels).
123
 
127
 
124
If we require a separate output for every analogue channel and a 16bit depth we find that there are only a few 2-Channel simultaneous sampling ADCs currently existing which meet these requirements.  We have summarized the ADCs in the following table \ref[ADC-type] 
128
If we require a separate output for every analogue channel and a 16bit depth we find that there are only a few 2-Channel simultaneous sampling ADCs currently existing which meet these requirements.  We have summarized the ADCs in the following table \ref[ADC-type] 
125
 
129
 
126
\midinsert \clabel[ADC-types]{Available ADC types}
130
\midinsert \clabel[ADC-types]{Available ADC types}
127
\ctable{lrrrrrcc}{
131
\ctable{lrrrrrcc}{
128
\hfil ADC Type & LTC2271 & LTC2190 & LTC2191 & LTC2192 & LTC2193 & LTC2194 & LTC2195 \cr
132
\hfil ADC Type & LTC2271 & LTC2190 & LTC2191 & LTC2192 & LTC2193 & LTC2194 & LTC2195 \cr
129
SNR [dB] & 84.1 & 77 & 77 & 77 & 76.8 & 76.8 & 76.8 \cr
133
SNR [dB] & 84.1 & 77 & 77 & 77 & 76.8 & 76.8 & 76.8 \cr
130
SFDR [dB] & 99 & 90 & 90 & 90 & 90 & 90 & 90 \cr
134
SFDR [dB] & 99 & 90 & 90 & 90 & 90 & 90 & 90 \cr
131
S/H Bandwidth [MHz] & 200 & \multispan6 550 \cr
135
S/H Bandwidth [MHz] & 200 & \multispan6 550 \cr
132
Sampling rate [MSPS] & 20 & 25 & 40 & 65 & 80 &  105 & 125 \cr
136
Sampling rate [MSPS] & 20 & 25 & 40 & 65 & 80 &  105 & 125 \cr
133
Configuration & \multispan7 SPI \cr
137
Configuration & \multispan7 SPI \cr
134
Package & \multispan7 52-Lead (7mm $×$ 8mm) QFN \cr
138
Package & \multispan7 52-Lead (7mm $×$ 8mm) QFN \cr
135
}
139
}
136
\caption/t The summary of available ADC types and theirs characteristics. 
140
\caption/t The summary of available ADC types and theirs characteristics. 
137
\endinsert
141
\endinsert
138
 
142
 
139
All parts in this category are compatible with one board layout. Main differences lay in the sampling frequency and signal to noise ratio, with the slowest having a maximum sampling frequency of 20 MHz. However all of them have a minimal sampling frequency of 5 MSPS and all are configurable over a serial interface (SPI). SPI seems to be a standard interface used in high-end ADC chips made by the largest manufacturers (Analog Devices, Linear technology, Texas instruments, Maxim integrated..). 
143
All parts in this category are compatible with one board layout. Main differences lay in the sampling frequency and signal to noise ratio, with the slowest having a maximum sampling frequency of 20 MHz. However all of them have a minimal sampling frequency of 5 MSPS and all are configurable over a serial interface (SPI). SPI seems to be a standard interface used in high-end ADC chips made by the largest manufacturers (Analog Devices, Linear technology, Texas instruments, Maxim integrated..). 
140
 
144
 
141
 
145
 
142
 
146
 
143
The ADC modules have a standard MLAB construction scheme with four mounting holes in corners aligned in defined raster. 
147
The ADC modules have a standard MLAB construction scheme with four mounting holes in corners aligned in defined raster. 
144
 
148
 
145
Data serial data outputs of ADC modules should be connected directly to FPGAs for the basic primary signal processing. The ADC chip used in the modules has a selectable bit width of data output bus and thus the output SATA connectors have signals arranged to contain a single bit from every ADC channel.  This creates a signal concept enabling a selection of a proper bus bit-width according to the sampling rate (higher bus bit-width downgrades signalling speed and vice versa.)
149
Data serial data outputs of ADC modules should be connected directly to FPGAs for the basic primary signal processing. The ADC chip used in the modules has a selectable bit width of data output bus and thus the output SATA connectors have signals arranged to contain a single bit from every ADC channel.  This creates a signal concept enabling a selection of a proper bus bit-width according to the sampling rate (higher bus bit-width downgrades signalling speed and vice versa.)
146
 
150
 
147
In order to connect the above mentioned signalling layout, miniSAS to multiple SATA cable should be used.  
151
In order to connect the above mentioned signalling layout, miniSAS to multiple SATA cable should be used.  
148
 
152
 
149
A KiCAD design suite had been chosen for PCB layout. However, the version is, despite having integrated CERN Push \& Shove routing capability, slightly unstable as it sometimes crushes due to an exception during routing. On the basis of these stability issues, the design had to be saved quite often. On the other hand, compared to commercially available solutions, such as MentorGraphics PADS or Cadence Orcad,  the Open-source KiCAD provides an acceptable option and it easily surpasses a widely used Eagle software.
153
A KiCAD design suite had been chosen for PCB layout. However, the version is, despite having integrated CERN Push \& Shove routing capability, slightly unstable as it sometimes crushes due to an exception during routing. On the basis of these stability issues, the design had to be saved quite often. On the other hand, compared to commercially available solutions, such as MentorGraphics PADS or Cadence Orcad,  the Open-source KiCAD provides an acceptable option and it easily surpasses a widely used Eagle software.
150
 
154
 
151
As a part of work on the thesis, new PCB footprints for FMC, SATA a and miniSAS connectors have been designed and were committed to KiCAD github library repository. They are now publicly available on the official KiCAD repository at GitHub.  
155
As a part of work on the thesis, new PCB footprints for FMC, SATA a and miniSAS connectors have been designed and were committed to KiCAD github library repository. They are now publicly available on the official KiCAD repository at GitHub.  
152
 
156
 
153
 
157
 
154
 
158
 
155
ADCdual01A module has several digital data output formats
159
ADCdual01A module has several digital data output formats
156
 
160
 
157
\begitems
161
\begitems
158
    * 1-lane mode
162
    * 1-lane mode
159
\enditems
163
\enditems
160
 
164
 
161
All of these modes are supported by module design. For discused data acquisition system the 1-lane mode was selected. 1-lane mode allows minimal number of differential pairs between ADCdual01A and FPGA. Digital signaling scheme used in 1-lane mode is shown in image \ref[1-line-out]. 
165
All of these modes are supported by module design. For discused data acquisition system the 1-lane mode was selected. 1-lane mode allows minimal number of differential pairs between ADCdual01A and FPGA. Digital signaling scheme used in 1-lane mode is shown in image \ref[1-line-out]. 
162
 
166
 
163
\midinsert
167
\midinsert
164
\clabel[1-line-out]{Single line ADC output signals}
168
\clabel[1-line-out]{Single line ADC output signals}
165
\picw=15cm \cinspic ./img/ADC_single_line_output.png
169
\picw=15cm \cinspic ./img/ADC_single_line_output.png
166
\caption/f Digital signaling shema for  1-line  ADC digital output mode.
170
\caption/f Digital signaling shema for  1-line  ADC digital output mode.
167
\endinsert
171
\endinsert
168
 
172
 
169
ADCdual01A parameters can be set either by jumper setup (refered as parallel programming  in device's data sheet) or by SPI interface. SPI interface has been selected for our system, because parallel programming lacks of options (test pattern output setup for example). 
173
ADCdual01A parameters can be set either by jumper setup (refered as parallel programming  in device's data sheet) or by SPI interface. SPI interface has been selected for our system, because parallel programming lacks of options (test pattern output setup for example). 
170
 
174
 
171
Complete schematic diagram of ADCdual01A module board is included in the appendix. 
175
Complete schematic diagram of ADCdual01A module board is included in the appendix. 
172
 
176
 
173
 
177
 
174
\secc ADC modules interface
178
\secc ADC modules interface
175
 
179
 
176
Both of the ADCdual01A modules were connected to FPGA ML605 board trough FMC2DIFF01A adapter board. The design of this adapter module expects the presence of FMC LPC connector and the board is, at the same time, not compatible with MLAB. It is, on the other hand, designed to meet the VITA 57 standard specifications for boards which support region 1 and region 3. VITA 57 regions are explained in the picture \ref[VITA57-regions].
180
Both of the ADCdual01A modules were connected to FPGA ML605 board trough FMC2DIFF01A adapter board. The design of this adapter module expects the presence of FMC LPC connector and the board is, at the same time, not compatible with MLAB. It is, on the other hand, designed to meet the VITA 57 standard specifications for boards which support region 1 and region 3. VITA 57 regions are explained in the picture \ref[VITA57-regions].
177
This industry standard guarantees the compatibility with other FPGA boards that have FMC LPC connectors for Mezzanine Card. Schematic diagram of designed adapter board is included in the appendix. 
181
This industry standard guarantees the compatibility with other FPGA boards that have FMC LPC connectors for Mezzanine Card. Schematic diagram of designed adapter board is included in the appendix. 
178
 
182
 
179
The primary purpose of the PCB is to enable the connection of ADC modules located outside the PC case. (In PC box analog circuits cannot be realised without the use of massive RFI mitigation techniques). 
183
The primary purpose of the PCB is to enable the connection of ADC modules located outside the PC case. (In PC box analog circuits cannot be realised without the use of massive RFI mitigation techniques). 
180
Differential signalling connectors should be used for conducting digital signal over relatively long cables. The signal integrity sensitive links (clocks) are equipped with output driver and translator to LVPECL logic for better signal transmission quality.  
184
Differential signalling connectors should be used for conducting digital signal over relatively long cables. The signal integrity sensitive links (clocks) are equipped with output driver and translator to LVPECL logic for better signal transmission quality.  
181
 
185
 
182
\midinsert
186
\midinsert
183
\picw=10cm \cinspic ./img/ML605-board.jpg
187
\picw=10cm \cinspic ./img/ML605-board.jpg
184
\caption/f FPGA ML605 development board.
188
\caption/f FPGA ML605 development board.
185
\endinsert
189
\endinsert
186
 
190
 
187
\midinsert
191
\midinsert
188
\clabel[VITA57-regions]{VITA57 board geometry}
192
\clabel[VITA57-regions]{VITA57 board geometry}
189
\picw=10cm \cinspic ./img/VITA57_regions.png
193
\picw=10cm \cinspic ./img/VITA57_regions.png
190
\caption/f Definition of VITA57 regions.
194
\caption/f Definition of VITA57 regions.
191
\endinsert
195
\endinsert
192
 
196
 
193
Several SATA connectors and two miniSAS connectors are populated on this board.  This set of connectors allows a connection of any number of ADC modules within the range of 1 to 8. ADC data outputs should be connected to the miniSAS connectors, while other supporting signals should be routed directly to SATA connectors on adapter. 
197
Several SATA connectors and two miniSAS connectors are populated on this board.  This set of connectors allows a connection of any number of ADC modules within the range of 1 to 8. ADC data outputs should be connected to the miniSAS connectors, while other supporting signals should be routed directly to SATA connectors on adapter. 
194
 
198
 
195
Lengths of differential pairs routed on PCB of module are not matched between pairs. Length variation of differential pairs is not critical in our design according to facts discussed in paragraph \ref[diff-signaling]. Nevertheless signals within differential pairs itself are matched for length. Internal signal traces length mating of differential pairs is mandatory in order to avoid dynamic logic hazard conditions on digital signals. Thus clocks signals are routed most precisely on all designed boards.
199
Lengths of differential pairs routed on PCB of module are not matched between pairs. Length variation of differential pairs is not critical in our design according to facts discussed in paragraph \ref[diff-signaling]. Nevertheless signals within differential pairs itself are matched for length. Internal signal traces length mating of differential pairs is mandatory in order to avoid dynamic logic hazard conditions on digital signals. Thus clocks signals are routed most precisely on all designed boards.
196
 
200
 
197
 
201
 
198
Signal configuration used in our trial design is described in the following tables. 
202
Signal configuration used in our trial design is described in the following tables. 
199
 
203
 
200
\secc Output data format
204
\secc Output data format
201
 
205
 
202
\midinsert
206
\midinsert
203
\ctable {clllllllll}{
207
\ctable {clllllllll}{
204
\hfil
208
\hfil
205
 & \multispan9 \hfil 160bit packet \hfil \crl \tskip4pt
209
 & \multispan9 \hfil 160bit packet \hfil \crl \tskip4pt
206
Data name &  FRAME  & \multispan2 \hfil ADC1 CH1 \hfil & \multispan2 \hfil ADC1 CH2 \hfil & \multispan2  \hfil ADC2 CH1 \hfil & \multispan2 \hfil ADC2 CH2 \hfil  \cr
210
Data name &  FRAME  & \multispan2 \hfil ADC1 CH1 \hfil & \multispan2 \hfil ADC1 CH2 \hfil & \multispan2  \hfil ADC2 CH1 \hfil & \multispan2 \hfil ADC2 CH2 \hfil  \cr
207
Data type & uint32 & int16 & int16 & int16 & int16 & int16 & int16 & int16 & int16 \cr
211
Data type & uint32 & int16 & int16 & int16 & int16 & int16 & int16 & int16 & int16 \cr
208
Content & saw signal & $t1$ &  $t_{1+1}$ &  $t1$ &  $t_{1+1}$ &  $t1$ &  $t_{1+1}$ &  $t1$ &  $t_{1+1}$ \cr
212
Content & saw signal & $t1$ &  $t_{1+1}$ &  $t1$ &  $t_{1+1}$ &  $t1$ &  $t_{1+1}$ &  $t1$ &  $t_{1+1}$ \cr
209
}
213
}
210
\caption/t System device "/dev/xillybus_data2_r" data format
214
\caption/t System device "/dev/xillybus_data2_r" data format
211
\endinsert
215
\endinsert
212
 
216
 
213
\sec Achieved parameters
217
\sec Achieved parameters
214
 
218
 
215
\secc Data reading and recording 
219
\secc Data reading and recording 
216
 
220
 
217
We use Gnuradio software to read the data stream from the ADC drive. Gnuradio suite consist of gnuradio-companion which is a graphical tool for creating signal-flow graphs and generating flow-graph source code. This tool was used to create a basic RAW data grabber to record and interactively view the data stream output from ADC modules. 
221
We use Gnuradio software to read the data stream from the ADC drive. Gnuradio suite consist of gnuradio-companion which is a graphical tool for creating signal-flow graphs and generating flow-graph source code. This tool was used to create a basic RAW data grabber to record and interactively view the data stream output from ADC modules. 
218
 
222
 
219
\midinsert
223
\midinsert
220
\picw=15cm \cinspic ./img/screenshots/Grabber.grc.png
224
\picw=15cm \cinspic ./img/screenshots/Grabber.grc.png
221
\caption/f An ADC recorder flow graph created in gnuradio-companion.
225
\caption/f An ADC recorder flow graph created in gnuradio-companion.
222
\endinsert
226
\endinsert
223
 
227
 
224
\midinsert
228
\midinsert
225
\picw=15cm \cinspic ./img/screenshots/Grabber_running.png
229
\picw=15cm \cinspic ./img/screenshots/Grabber_running.png
226
\caption/f User interface window of a running ADC grabber.
230
\caption/f User interface window of a running ADC grabber.
227
\endinsert
231
\endinsert
228
 
232
 
229
Interactive grabber viewer user interface shows live oscilloscope-like time-value display for all data channels and live time-frequency scrolling display (a waterfall view) for displaying the frequency components of the grabbed signal. 
233
Interactive grabber viewer user interface shows live oscilloscope-like time-value display for all data channels and live time-frequency scrolling display (a waterfall view) for displaying the frequency components of the grabbed signal. 
230
 
234
 
231
\secc ADC module parameters
235
\secc ADC module parameters
232
 
236
 
233
Two pieces of ADC modules were completed and tested. The first piece, labeled ADC1, has LTC2190
237
Two pieces of ADC modules were completed and tested. The first piece, labeled ADC1, has LTC2190
234
ADC chip populated with LT6600-5 front-end operational amplifier. It also has a 1kOhm resistors populated on inputs which gives it an ability of an internal attenuation of input signal. The value of this attenuation $A$ is described by the following formula \ref[ADC1-gain]
238
ADC chip populated with LT6600-5 front-end operational amplifier. It also has a 1kOhm resistors populated on inputs which gives it an ability of an internal attenuation of input signal. The value of this attenuation $A$ is described by the following formula \ref[ADC1-gain]
235
 
239
 
236
\label[ADC1-gain]
240
\label[ADC1-gain]
237
$$
241
$$
238
A = {806 \times R_1 \over R_1 + R_2}
242
A = {806 \times R_1 \over R_1 + R_2}
239
$$
243
$$
240
 
244
 
241
Where is 
245
Where is 
242
\begitems
246
\begitems
243
  * $A$ -  Gain of input amplifier.
247
  * $A$ -  Gain of input amplifier.
244
  * $R_1$ - Output impedance of signal source (usually 50 Ohm).
248
  * $R_1$ - Output impedance of signal source (usually 50 Ohm).
245
  * $R_2$ - Value of serial resistors at operational amplifier inputs.
249
  * $R_2$ - Value of serial resistors at operational amplifier inputs.
246
\enditems
250
\enditems
247
 
251
 
248
We have $R_2 = 1000 \Omega$ and $R_1 = 50 \Omega$ which imply $A = 0.815$. That value of A is confirmed by measurement. 
252
We have $R_2 = 1000 \Omega$ and $R_1 = 50 \Omega$ which imply $A = 0.815$. That value of A is confirmed by measurement. 
249
In our measurement setup we have H1012 Ethernet transformer connected at inputs of ADC. Transformer has 10\% tolerance in impedance and amplification. We measured ADC saturation voltage 705.7 mV (generator output) in this setup due to impedance mismatch and uncalibrated transformer gain. 
253
In our measurement setup we have H1012 Ethernet transformer connected at inputs of ADC. Transformer has 10\% tolerance in impedance and amplification. We measured ADC saturation voltage 705.7 mV (generator output) in this setup due to impedance mismatch and uncalibrated transformer gain. 
250
 
254
 
251
 
255
 
252
\midinsert
256
\midinsert
253
\clabel[ADC1-FFT]{ADC1 sine test FFT}
257
\clabel[ADC1-FFT]{ADC1 sine test FFT}
254
\picw=15cm \cinspic ./img/screenshots/ADC1_CH2_FFT.png
258
\picw=15cm \cinspic ./img/screenshots/ADC1_CH2_FFT.png
255
\caption/f Sine signal sampled by ADC1 module with LTC2190 and LT6600-5 devices.
259
\caption/f Sine signal sampled by ADC1 module with LTC2190 and LT6600-5 devices.
256
\endinsert
260
\endinsert
257
 
261
 
258
 
262
 
259
For ADC2 we must use formula with different constant \ref[ADC1-gain]. ADC2 module has LT6600-2.5 populated and gain is $A = 2.457$ with same $R_2$ resistors. We measured saturation voltage of 380 mV (generator output) at channel 1 on this ADC. It is well in parameter tolerances  of used setup.   
263
For ADC2 we must use formula with different constant \ref[ADC1-gain]. ADC2 module has LT6600-2.5 populated and gain is $A = 2.457$ with same $R_2$ resistors. We measured saturation voltage of 380 mV (generator output) at channel 1 on this ADC. It is well in parameter tolerances  of used setup.   
260
 
264
 
261
\label[ADC2-gain]
265
\label[ADC2-gain]
262
$$
266
$$
263
A = {1580 \times R_1 \over R_1 + R_2}
267
A = {1580 \times R_1 \over R_1 + R_2}
264
$$
268
$$
265
 
269
 
266
Where is 
270
Where is 
267
\begitems
271
\begitems
268
  * $A$ -  Gain of input amplifier.
272
  * $A$ -  Gain of input amplifier.
269
  * $R_1$ - Output impedance of signal source (usually 50 Ohm).
273
  * $R_1$ - Output impedance of signal source (usually 50 Ohm).
270
  * $R_2$ - Value of serial resistors at operational amplifier inputs.
274
  * $R_2$ - Value of serial resistors at operational amplifier inputs.
271
\enditems
275
\enditems
272
 
276
 
273
\midinsert
277
\midinsert
274
\clabel[ADC2-FFT]{ADC2 sine test FFT}
278
\clabel[ADC2-FFT]{ADC2 sine test FFT}
275
\picw=15cm \cinspic ./img/screenshots/ADC2_CH1_FFT.png
279
\picw=15cm \cinspic ./img/screenshots/ADC2_CH1_FFT.png
276
\caption/f Sine signal sampled by ADC2 module with LTC2271 and LT6600-2.5 devices.
280
\caption/f Sine signal sampled by ADC2 module with LTC2271 and LT6600-2.5 devices.
277
\endinsert
281
\endinsert
278
 
282
 
279
Computed FFT spectra for measured signal are shown in images \ref[ADC2-FFT] and \ref[ADC1-FFT].  Both images confirms that ADCdual01A modules have input dynamical range 80 dB at least. 
283
Computed FFT spectra for measured signal are shown in images \ref[ADC2-FFT] and \ref[ADC1-FFT].  Both images confirms that ADCdual01A modules have input dynamical range 80 dB at least. 
280
 
284
 
281
\chap Example of usage
285
\chap Example of usage
282
 
286
 
283
For additional validation of system design a receiver setup was constructed. 
287
For additional validation of system design a receiver setup was constructed. 
284
    
288
    
285
\sec Basic interferometer station
289
\sec Basic interferometer station
286
 
290
 
287
Interferometry station was selected as most basic setup. We connected the new data acquisition system to two SDRX01B receivers. Block schematic of used setup is shown in image \ref[block-schematic]. Two ground-plane antennas were used and mounted outside of balcony at CTU building at location 50$^\circ$4'36.102"N, 14 $^\circ$ 25'4.170" E. Antennas were equipped  by LNA01A amplifiers. Coaxial cable length are matched for 5 meters. And antennas were isolated by common mode ferrite bead mounted on cable for minimize signal coupling between antennas. Evaluation system consists SDGPSDO local oscillator subsystem used for tuning local oscillator frequency. 
291
Interferometry station was selected as most basic setup. We connected the new data acquisition system to two SDRX01B receivers. Block schematic of used setup is shown in image \ref[block-schematic]. Two ground-plane antennas were used and mounted outside of balcony at CTU building at location 50$^\circ$4'36.102"N, 14 $^\circ$ 25'4.170" E. Antennas were equipped  by LNA01A amplifiers. Coaxial cable length are matched for 5 meters. And antennas were isolated by common mode ferrite bead mounted on cable for minimize signal coupling between antennas. Evaluation system consists SDGPSDO local oscillator subsystem used for tuning local oscillator frequency. 
288
 
292
 
289
\midinsert
293
\midinsert
290
\clabel[block-schematic]{Receiver block schematic}
294
\clabel[block-schematic]{Receiver block schematic}
291
\picw=10cm \cinspic ./img/Coherent_UHF_SDR_receiver.png
295
\picw=10cm \cinspic ./img/Coherent_UHF_SDR_receiver.png
292
\caption/f Complete receiver block schematic of dual antenna interferometric station.
296
\caption/f Complete receiver block schematic of dual antenna interferometric station.
293
\endinsert
297
\endinsert
294
 
298
 
295
 
299
 
296
 
300
 
297
\midinsert
301
\midinsert
298
\clabel[meteor-reflection]{Meteor reflection}
302
\clabel[meteor-reflection]{Meteor reflection}
299
\picw=10cm \cinspic ./img/screenshots/observed_meteor.png
303
\picw=10cm \cinspic ./img/screenshots/observed_meteor.png
300
\caption/f Meteor reflection received by evaluation setup.
304
\caption/f Meteor reflection received by evaluation setup.
301
\endinsert
305
\endinsert
302
 
306
 
303
\midinsert
307
\midinsert
304
\clabel[phase-phase-difference]{Phase difference}
308
\clabel[phase-phase-difference]{Phase difference}
305
\picw=10cm \cinspic ./img/screenshots/phase_difference.png
309
\picw=10cm \cinspic ./img/screenshots/phase_difference.png
306
\caption/f Demonstration of phase difference between antennas.
310
\caption/f Demonstration of phase difference between antennas.
307
\endinsert
311
\endinsert
308
 
312
 
309
 
313
 
310
 
314
 
311
%\sec Simple passive Doppler radar
315
%\sec Simple passive Doppler radar
312
 
316
 
313
%\sec Simple polarimeter station
317
%\sec Simple polarimeter station
314
 
318
 
315
\chap Proposed final system
319
\chap Proposed final system
316
 
320
 
317
Construction of a final system which is supposed to be employed for real radioastronomy observations will be described. This chapter is mainly a theoretical analysis of data handling systems. Realization of these ideas might be possible as a part of our future development after we fully evaluate and test the current trial design. 
321
Construction of a final system which is supposed to be employed for real radioastronomy observations will be described. This chapter is mainly a theoretical analysis of data handling systems. Realization of these ideas might be possible as a part of our future development after we fully evaluate and test the current trial design. 
318
 
322
 
319
The system requires proper handling of huge amounts of data and either huge and fast storage capacity is needed for store captured signal data, or enormous computational power is required for online data processing and filtering. Several hardware approach currently exist and are in use for data processing problem handling. Either powerful multi gigahertz CPUs, GPUs, FPGAs, or specially  constructed ASICs are used for this task.
323
The system requires proper handling of huge amounts of data and either huge and fast storage capacity is needed for store captured signal data, or enormous computational power is required for online data processing and filtering. Several hardware approach currently exist and are in use for data processing problem handling. Either powerful multi gigahertz CPUs, GPUs, FPGAs, or specially  constructed ASICs are used for this task.
320
 
324
 
321
\sec Custom design of FPGA board
325
\sec Custom design of FPGA board
322
 
326
 
323
In the beginning of the project, a custom design of FPGA interface board had been considered. This FPGA board should include PCI express interface and should sell at lower price than trial design. It should be compatible with MLAB which is further backward compatible with the existing or improved design of ADC modules. For a connection of this board to another adapter board with PCIe we expect a use of a host interface. 
327
In the beginning of the project, a custom design of FPGA interface board had been considered. This FPGA board should include PCI express interface and should sell at lower price than trial design. It should be compatible with MLAB which is further backward compatible with the existing or improved design of ADC modules. For a connection of this board to another adapter board with PCIe we expect a use of a host interface. 
324
Thunderbolt technology standard was expected to be used in this PC to PCIe -> FPGA module. Thunderbolt chips are currently available on the market for reasonable prices. However, a problem lies in the accessibility to their specifications, as they are only available for licensed users and Intel has a mass market oriented licensing policy, that makes this technology inaccessible for low quantity production. As a consequence, an external PCI Express cabling and expansion slots should be considered as a better solution. 
328
Thunderbolt technology standard was expected to be used in this PC to PCIe -> FPGA module. Thunderbolt chips are currently available on the market for reasonable prices. However, a problem lies in the accessibility to their specifications, as they are only available for licensed users and Intel has a mass market oriented licensing policy, that makes this technology inaccessible for low quantity production. As a consequence, an external PCI Express cabling and expansion slots should be considered as a better solution. 
325
 
329
 
326
However, these systems and cables are still very expensive. Take Opal Kelly XEM6110 \cite[fpga-pcie] as an example, with its price tag reaching 995 USD at time of writing of thesis.
330
However, these systems and cables are still very expensive. Take Opal Kelly XEM6110 \cite[fpga-pcie] as an example, with its price tag reaching 995 USD at time of writing of thesis.
327
Therefore, a better solution probably needs to be found.
331
Therefore, a better solution probably needs to be found.
328
 
332
 
329
\sec Parralella board computer
333
\sec Parralella board computer
330
 
334
 
331
%Parallella is gon
335
%Parallella is gon
332
 
336
 
333
\sec GPU based computational system 
337
\sec GPU based computational system 
334
 
338
 
335
A new GPU development board NVIDIA K1, shown in the following picture \ref[img-NVIDIA-K1], has recently been released. These boards are intended to be used in fields including computer vision, robotics, medicine, security or automotive industry. They have ideal parameters for signal processing for a relatively low price of 192 USD.  Unfortunately, they are currently only in pre-order release stage (in April 2014). 
339
A new GPU development board NVIDIA K1, shown in the following picture \ref[img-NVIDIA-K1], has recently been released. These boards are intended to be used in fields including computer vision, robotics, medicine, security or automotive industry. They have ideal parameters for signal processing for a relatively low price of 192 USD.  Unfortunately, they are currently only in pre-order release stage (in April 2014). 
336
 
340
 
337
\midinsert
341
\midinsert
338
\clabel[img-NVIDIA-K1]{NVIDIA Jetson TK1 Development Kit}
342
\clabel[img-NVIDIA-K1]{NVIDIA Jetson TK1 Development Kit}
339
\picw=15cm \cinspic ./img/Jetson_TK1_575px.jpg
343
\picw=15cm \cinspic ./img/Jetson_TK1_575px.jpg
340
\caption/f The NVIDIA Jetson TK1 Development Kit \url{https://developer.nvidia.com/jetson-tk1}.
344
\caption/f The NVIDIA Jetson TK1 Development Kit \url{https://developer.nvidia.com/jetson-tk1}.
341
\endinsert
345
\endinsert
342
 
346