Links and documentation:
- Cityscape Technical report
- CityScape Deployments
- Spectrum Plots
- CityScape test suite
- CityScape Release Notes
- CityScape Installation & Operation Guide
ScanFile: This is the file format that all wireless spectrum data will be stored in on the client and what raw data will be stored in on the server.
Scanner Service: This scanner service is responsible for communicating with the RF sensor and then writing a file in the ScanFile format with the feature vectors that we are trying to extract such as max, min and average power over a specific time period.
Upload Service: The upload service is responsible for reliably uploading the ScanFiles to the Azure cloud and then sending a notification to the Upload Web Service when the upload is complete.
Upload Web Service: The upload web service is responsible for queueing complete ScanFile uploads for processing by the data processor worker role to the correct storage account.
Data Processor Worker Role: The data processor is responsible for processing the uploaded ScanFiles and aggregating the information within those files to Azure tables.
Azure Table Storage: All of the aggregated data for time periods such as Hourly, Daily, Weekly, and Monthly are stored in Azure. Additionally, all of the metadata for the website operation is stored in Azure.
Azure Blob Storage: All of the raw ScanFiles are stored in blob storage within Azure.
Figure: CityScape set-up
Knobs available on CityScape observatory:
- Name – Name of the device. This is used for logging purposes only. Type: String, Value: Limit to 64 characters or less
- Device type – Type of the device to scan the data. The values are determined by devices that have been supported in the code base. Type: String, Value: Usrp
- Start frequency in Hz – Frequency, inclusive, at which device should start collecting data. Type: Int, Value: 50000000 (WBX), 2200000000 (SBX)
- Stop frequency in Hz – Frequency, inclusive, at which device should stop collecting data. Type: Int, Value: 2200000000 (WBX), 4400000000 (SBX)
- Device address – Address of the device that is being communicated with. Type: String, Value: 192.168.10.2
- Gain – To adjust the gain (dB) of the USRP. Only applies to USRPs. Type: Int, Value: 38
- Antenna port – Antenna receiver port on the USRP. Type: String, Value: RX1 or RX2
- Scan pattern –
- Standard scan: Based on the start and stop frequencies, the USRP is tuned to take multiple snapshots. The number of snapshots is decided by the instantaneous bandwidth chosen and is given by
Number of snapshots = (Stop frequency – Start frequency) / Instantaneous bandwidth
The center frequency of the USRP is retuned sequentially from the lowest to the highest frequency. The below diagram describes the process.
- DC spike adaptive scan: To remove the DC spike at the USRP center frequency, this scan method is used. First, a standard scan (discussed in part a.) is implemented. Second, a standard scan with a new start frequency is implemented. The new start frequency is given by
fnew start = fstart + (1/3)*(Instantaneous bandwidth)
= fstart + foffset
For the power spectral density charts, the FFT of both the scans are taken and for every snapshot in the first scan, the center 1/3rd of the FFT values are replaced by the corresponding FFT values from the second scan. The below diagram describes the same.
Type: String, Value: “StandardScan” or “DCSpikeAdaptiveScan”
- Communication channel – String that specifies the communication channel being used. Type: String, Value: “addr” – IP based communications, “serial” – USB based communications.
- Locking communication channel – Applies only if the hardware has a call to see if the sensor is locked after tuning to a new frequency. Type: Boolean, Value: N200 – true, B200 – false.
- Instantaneous bandwidth – Value entered should be in Hz. Type: Int, Value: 25000000
- Tune sleep – The duration of time to wait after tuning the USRP center frequency. Type: Int, Value: 0 (in seconds)
- Samples per snapshot – Indicates number of samples to capture for each snapshot. Type: Int, Value: 512, 1024, etc.
- Number of snapshots per channel visit – Number of samples to take before retuning the RF sensor. Type: Int, Value: 1
- Number of snapshots to throw away – Number of snapshots to throw away after tuning the RF Sensor. Type: Int, Value: 0
- GPS enabled – This will output GPS data to the scan files and the raw IQ data files if the device supports GPS. Type: Boolean, Value: true or false
Experiment 1: Time averaged PSD
- Minutes of data per upload file – Minutes of data after which an upload file is written and a new one is started. This value must be greater than or equal to 60. Type: Int, Value: 60
- Minutes of data per sweep – Seconds of data per sample data captured within a scan file. A maximum, minimum and average will be calculated for this time period. Type: Int, Value: 60
Experiment 2: Raw IQ
- Output data – Used to determine if a raw IQ data files are written. The default value is ‘true’. This is only supported if the device supports this. Type: Boolean, Value: true or false
- Start frequency in Hz – Frequency, inclusive, at which device should start collecting data. Type: Int, Value: frequency in Hz
- Stop frequency in Hz – Frequency, inclusive, at which device should stop collecting data. Type: Int, Value: frequency in Hz
- Seconds of data per upload file – Seconds of data written to a file before creating another one. Type: Int, Value: 300 (for 5 min of data in each file)
- Retention seconds – This value is used to determine of how long a Raw IQ data file can be retained on the disk (time to live). This is to prevent the scenario where all the disk space is consumed with raw data files. Type: Int, Value: 3600 (for 1 hour)