Wiki

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
resources:eval:user-guides:circuits-from-the-lab:cn0566 [02 Feb 2022 18:31] – Add a couple of photos, link to device tree, latest Kuiper image Mark Thorenresources:eval:user-guides:circuits-from-the-lab:cn0566 [15 Jun 2023 20:52] (current) – [Phased Array Software] Dongmin Lee
Line 1: Line 1:
-======EVAL-CN0566-RPIZ Overview======+====== CN0566 Phased Array User Guide ======
  
-[[ADI>CN0566]] is a phased-array beamforming antenna demonstration platform that allows the user to experience the principles and applications of phased array antennas. +===== Introduction =====
  
-The RF input signal is received from an onboard 8 element patch antenna that operates from 10 to 10.5 GHz. Each antenna element is input to an [[ADI>ADL8107]], low noise amplifier (LNA) that operates from 6-18GHz with 1.3dB NF and 24 dB gainThe output of these amplifiers are fed into the main core of this circuitry, two of the [[ADI>ADAR1000]]The [[ADI>ADAR1000]] is an 8 GHz to 16 GHz4-Channelbeamformer that allow per-channel360° phase adjustment with 2.8° resolution and 31dB gain adjustment with 0.5dB resolution.  The ADAR1000s are capable of bidirectionalhalf-duplex operation However[[ADI>CN0566]] only connects the ADAR1000 receive paths The outputs of four LNAs get phase and amplitude shifted by an [[ADI>ADAR1000]]then summed together at its RFIO output+Phased array communications and radar systems are finding increased use in a variety of applicationsThis places greater importance on training engineers and rapidly prototyping new phased array conceptsHowever, both those imperatives have historically been difficult and expensiveThat is why Analog Devices launched the ADALM-PHASER It is a low cost, simplified phased array radar which allows real beamforming hardware to be used for educationproject proposalsand even software development.\\ 
 +Most of the labs are run on a Python GUI, with several helper scriptsThese can be run on a remote host computer, or directly on the phaser's Raspberry Pi computer with the addition of a keyboardmouse, and display.\\ 
 +For more advanced application development, the Phaser is also supported in the MATLAB RF Microwave ToolboxEquivalent MATLAB lab exercises are in developmentand will be added below as they are completed.
  
-The ADAR1000's RFIO output passes through a low pass filter before entering the [[ADI>LTC5548]] mixer.  The low pass filter removes the high side image of the mixer as well as any re-radiation of the high side LO.  [[ADI>LTC5548]] outputs an IF of approximately 2.2 GHz which passes through a low pass filter (LPF) to remove mixer spurs and attenuate any RF or LO leakage. The LPF's output, at Rx1 and Rx2, can then be mixed down and sampled by an external 2-channel SDR receiver, such as the ADALM-Pluto. +{{ :resources:eval:user-guides:circuits-from-the-lab:cn0566:phaser_with_topics.png?600 |}}
- +
-The system consists of the EVAL-CN0566-RPIZ, Raspberry Pi 3 or 4 running ADI Kuiper Linux, an ADALM-Pluto Rev. C, 5V power source, and either keyboard/mouse/monitor OR separate host connected via VNC. The Raspberry Pi 4 provides all SPI, I2C, and discrete digital I/O control signals. \\ +
- +
-{{ :resources:eval:user-guides:circuits-from-the-lab:cn0566:cn0566_complete_array.jpg?direct&400 |}}+
  
 +Here is a brief video introduction to beamforming and the Phased Array Platform:
 <WRAP centeralign> <WRAP centeralign>
-<fc>Figure 1. EVAL-CN0566-RPIZ Circuit Evaluation Board, array/Raspberry Pi side</fc>+{{youtube>dUn2_fiOh94?large}}
 </WRAP> </WRAP>
 +
 +===== Quick Start Guide =====
 +  * There are a few steps that need to be performed before diving into the lab exercises. Please visit the **[[:resources:eval:user-guides:circuits-from-the-lab:cn0566:quickstart|Quick Start Guide]]**.
 \\ \\
-{{ :resources:eval:user-guides:circuits-from-the-lab:cn0566:cn0566_complete_top.jpg?direct&400 |}} +===== Phased Array Hardware ===== 
-<WRAP centeralign+ 
-Figure 2EVAL-CN0566-RPIZ Circuit Evaluation Board, RF circuitry/Pluto side+  * To get acquainted with the hardware, see the **[[resources:eval:user-guides:circuits-from-the-lab:cn0566:overview_setup|Phaser Hardware Overview]]** page. 
 + 
 +===== Phased Array Software ====== 
 + 
 +There are several pieces of software used with the CN0566 Phaser, including a user-friendly Graphical User Interface (GUI) and a number of command-line utilities. This page describes the various pieces of software: 
 + 
 +  * **[[resources:eval:user-guides:circuits-from-the-lab:cn0566:software|Phaser Software guides (GUI and CLI utilities)]]** 
 +  * **[[:phaser_matlab|Phaser Software guide for MATLAB]]** 
 +===== Phased Array Assembly and Testing ====== 
 + 
 +The phaser ships fully assembled and ready to go. Should you need to re-assemble a disassembled board, or do a quick functionality test, refer to this page: 
 + 
 +  * **[[resources:eval:user-guides:circuits-from-the-lab:cn0566:assy_prod_test|CN0566 Assembly and Production Test]]** 
 + 
 +===== Labs and Lectures ===== 
 + 
 +{{ :resources:eval:user-guides:circuits-from-the-lab:cn0566:phasers_to_fun.png?direct&800 |}} 
 + 
 +The ADALM-PHASER is meant for you to experience, first hand, phased array beamforming and radar concepts.  But to go along with the hardware, we’ve put together a series of short lectures followed by hands-on labs that you can perform with your own Phaser. A complete, printable lab manual is available here: 
 +<WRAP round 80% download
 +**{{ :resources:eval:user-guides:circuits-from-the-lab:cn0566:phaser_lab_instructions_june14_2022_no_title.docx |Printable Phaser Lab Instructions (DOCX)}}** 
 + 
 +**{{ :resources:eval:user-guides:circuits-from-the-lab:cn0566:phaser_lab_instructions_june14_2022_no_title.pdf |Printable Phaser Lab Instructions (PDF)}}**
 </WRAP> </WRAP>
  
----- +The expanded list of topics is as follows:
-===== Features ===== +
-  * Provides CN0566 software control via Raspberry Pi w/ Kuiper Linux +
-  * Includes an 10-10.5 GHz onboard antenna array design but with option to connect your own antenna +
-  * Supports applications running GNURadio, Python, or MATLAB+
  
-===== Videos =====+  * Phaser Hardware Overview, Software Setup, and Frequency Plan 
 +    * **[[resources:eval:user-guides:circuits-from-the-lab:cn0566:overview_setup|Phaser Hardware Overview]]** 
 +    * Lecture Video 
 +      * {{youtube>-Vqbgf0MjPk?small}}
  
-{{youtube>0hnWfTvETcU?medium}}+  * Basics of SDR and Beamforming Control 
 +    * **[[resources:eval:user-guides:circuits-from-the-lab:cn0566:basic_example|Lab: Controlling the Phaser with Python]]** 
 +    * **[[resources:eval:user-guides:circuits-from-the-lab:cn0566:matlab_basic_example|Lab: Controlling the Phaser with MATLAB]]** 
 +    * Lecture Video 
 +      * {{youtube>jBGzOlThpRE?small}} 
 +    * Lab Video 
 +      * {{youtube>5lihNPh4Rm0?small}}
  
-===== Documents Needed =====+  * Phased Array Beam Steering 
 +    * **[[resources:eval:user-guides:circuits-from-the-lab:cn0566:steering_angle|Lab Material]]** 
 +    * Lecture and Lab Video 
 +      * {{youtube>AKmxmQUwYw0?small}}
  
-  * [[ADI>CN0566]] Circuit Note+  * Phased Array Antenna Patterns 
 +    * **[[resources:eval:user-guides:circuits-from-the-lab:cn0566:antenna_patterns|Lab Material]]** 
 +    * Lecture and Lab Video 
 +      * {{youtube>UQgmtWChNfM?small}}
  
-===== Equipment Required ===== +  Sidelobes and Beam Tapering 
-  * **Hardware*+    * **[[resources:eval:user-guides:circuits-from-the-lab:cn0566:sidelobes_tapering|Lab Material]]** 
-    * EVAL-CN0566-RPIZ Circuit Evaluation Board +    * Lecture and Lab Video 
-    Raspberry Pi 4 +      {{youtube>be_5D4eNtCY?small}}
-    15.3W USB-C Power Supply  +
-    SMA cables +
-    Monitor with HDMI display +
-    * Micro HDMI to HDMI adaptor +
-    * HDMI to HDMI cable +
-    * 16GB or larger SD card +
-    * USB keyboard and mouse +
-  **Software** +
-    * ADI Kuiper Linux image +
-\\ +
----- +
-===== Block Assignments =====+
  
-<wrap center 50%> +  * Grating Lobes 
-//<fc>Figure 2. EVAL-CN0566-RPIZ Circuit Evaluation Board Top View</fc>// +    * **[[resources:eval:user-guides:circuits-from-the-lab:cn0566:grating_lobes|Lab Material]]** 
-</wrap> +    Lecture and Lab Video 
-\\ +      * {{youtube>qksh4lGysbI?small}}
-{{ :resources:eval:user-guides:circuits-from-the-lab:cn0508:tbd.png?nolink&350 EVAL-CN0566-RPIZ Circuit Evaluation Board Side View}} +
-<wrap center 50%> +
-//<fc>Figure 3. EVAL-CN0566-RPIZ Circuit Evaluation Board Side View</fc>// +
-</wrap> +
-\\ +
-  Connector **P1** is the 14 pin header for connection to ADALM-Pluto +
-  Connector **P2** is the 40 pin connector for Raspberry Pi 4 +
-  Connector **P16** is the type C port for the supply +
-  * Connector **RX1** is the SMA connector for RX1 output +
-  * Connector **RX2** is the SMA connector for RX2 output +
-  * Connector **TX_IN** is the SMA connector for TX input +
-  * Connector **TX_OUT_1** is the SMA connector for first TX output +
-  * Connector **TX_OUT_2** is the SMA connector for second TX output +
-  * Connector **LO_OUT** is the SMA connector for LO output +
-  * Connector **EXT_LO** is the SMA connector for external LO input +
-  * Connector **P11** is the TR pins of ADAR1000s +
-  * Connector **J3 to J10** are the footprints for SMP connectors in case external antenna is to be used +
-  * Potentiometer **R43** is the manual control of output voltage +
-  * Potentiometer **R14** is the manual control of output current limit +
-  * Header **P12** contains the output signal for the fan control +
-\\ +
----- +
-===== Running the System =====  +
-{{ :resources:eval:user-guides:circuits-from-the-lab:cn0508:tbd.png?nolink&350 | Figure 4. Test Setup Functional Block Diagram}} +
-<wrap center 50%> +
-//<fc #c0c0c0>Figure 4. Test Setup Functional Block Diagram</fc>// +
-</wrap> +
-  - Set solder jumpers for the desired settings.  +
-  - Proceed with the [[/resources/eval/user-guides/circuits-from-the-lab/cn0566#hardware_setup | hardware setup]]. Ensure the power supply  Raspberry Pi are connected properly +
-  - Burn the SD card with the latest ADI Kuiper Linux image. Insert the flashed SD card on designated slot on Raspberry Pi. +
-  - Turn on the input supply. Wait for the Raspberry Pi to boot up. +
-  - Open terminal and configure the device tree overlay file. See [[/resources/eval/user-guides/circuits-from-the-lab/cn0566#software_setup | software section]] for detailed instructions. Make sure to reboot the Raspberry Pi after saving the //config.txt// file. +
-  - Wait for the Raspberry Pi to boot up again. +
  
-<fc #ff0000>**TO BE EDITED**</fc>+  * Beam Squint 
 +    * **[[resources:eval:user-guides:circuits-from-the-lab:cn0566:beam_squint|Lab Material]]** 
 +    Lecture and Lab Video 
 +      {{youtube>LYVD014ClZI?small}}
  
-\\ +  * Quantization Sidelobes 
----- +    * **[[resources:eval:user-guides:circuits-from-the-lab:cn0566:quantization_sidelobes|Lab Material]]** 
-===== Solder Jumper Settings and Configuration===== +    * Lecture and Lab Video 
-The [[ADI>CN0566]] has jumper headers which configure different settings as shown below. Also, the default shunt positions are highlighted.\\ +      * {{youtube>51O5FLVZE4c?small}}
-{{ :resources:eval:user-guides:circuits-from-the-lab:cn0508:tbd.png?nolink&350 EVAL-CN0566-RPIZ Evaluation Board Solder Jumper Guide}} +
-<wrap center 50%> +
-//<fc #c0c0c0>Figure 5. EVAL-CN0566-RPIZ Evaluation Board Solder Jumper Guide</fc>// +
-</wrap>\\+
  
-<wrap center 50%> +  * Analog, Digital, and Hybrid Beamforming 
-<fc #ff0000>**TO BE EDITED**</fc> +    * **[[resources:eval:user-guides:circuits-from-the-lab:cn0566:hybrid_beamforming|Lab Material]]** 
-</wrap>+    * Lecture and Lab Video 
 +      * {{youtube>hMiJs2NdXZY?small}}
  
-\\ +  * Monopulse Tracking 
-===EEPROM_ID: EEPROM Address Selection=== +    * **[[resources:eval:user-guides:circuits-from-the-lab:cn0566:monopulse_tracking|Lab Material]]** 
-EEPROM_ID sets the EEPROM I2C address. It consists of P4, P5 and P6 solder jumpers connected respectively to A2, A1 and A0 address selection pins of U7. The default address configuration is “111”. This EEPROM I2C address is configurable from 001 to 111. It cannot be set to "000" since U4 already uses this address for RPi HAT identification. +    * Lecture and Lab Video 
-^   A0    ^   A1    ^   A2    ^   Address Set   ^  +      {{youtube>hZDopcNjVzY?small}}
-|                        0x51       | +
-|                        0x52       | +
-|                        0x53       | +
-|                        0x54       | +
-|                        0x55       | +
-|                        0x56       | +
-|                        0x57       | +
-\\ +
----- +
-===== Hardware Setup ===== +
-==== Setting up and Connecting the Raspberry Pi ==== +
-The output display of the system will be through an external monitor with HDMI capability. To do this, connect the micro HDMI to HDMI adapter on the Raspberry Pi 4 HDMI port. Connect this to the monitor via the HDMI to HDMI cable. +
-{{ :resources:eval:user-guides:circuits-from-the-lab:cn0508:tbd.png?nolink&300 Hardware connection of Raspberry Pi to Monitor Display}} +
-<wrap center 50%> +
-//<fc #c0c0c0>Figure 6. Hardware connection of Raspberry Pi to Monitor Display</fc>// +
-</wrap>\\ +
-Connect an USB mouse and keyboard on the USB port of the Raspberry Pi Zero W. This shall allow us to control the Raspberry Pi upon boot up. +
-{{ :resources:eval:user-guides:circuits-from-the-lab:cn0508:tbd.png?nolink&300 | Hardware connection of Input Devices to Raspberry Pi}} +
-<wrap center 50%> +
-//<fc #c0c0c0>Figure 7. Hardware connection of Input Devices to Raspberry Pi</fc>// +
-</wrap>\\ +
-Raspberry Pi connects to the EVAL-CN0508-RPIZ through P2 which is a 40-pin connector. You may do this directly by connecting the RPi on the bottom side of the connector or through a 40-pin ribbon cable. +
-{{ :resources:eval:user-guides:circuits-from-the-lab:cn0508:tbd.png?nolink&300 | Hardware connection of CN0566 Board and Raspberry Pi}} +
-<wrap center 60%> +
-//<fc #c0c0c0>Figure 8. Hardware connection of EVAL-CN0566-RPIZ and Raspberry Pi Zero W</fc>// +
-</wrap>\\ +
-\\ +
-==== Input Supply ==== +
-Power to the EVAL-CN0566-RPIZ can be connected through P16. P16 is a 3.0A USB-C receptacle. +
-{{ :resources:eval:user-guides:circuits-from-the-lab:cn0508:tbd.png?nolink&300 | Hardware Connection of Input Power Supply to CN0566 Evaluation Board}} +
-<wrap center 60%> +
-//<fc #c0c0c0>Figure 9. Hardware Connection of Input Power Supply to EVAL-CN0566-RPIZ</fc>// +
-</wrap>\\ +
-\\ +
-==== Output connections ==== +
-Connect an ADALM-Pluto on RX1 or RX2 to process the output of CN0566 +
-{{ :resources:eval:user-guides:circuits-from-the-lab:cn0508:tbd.png?nolink&300 | EVAL-CN0566-RPIZ Evaluation Board Output Connections}} +
-<wrap center 50%> +
-//<fc #c0c0c0>Figure 10. EVAL-CN0566-RPIZ Evaluation Board Output Connections</fc>// +
-</wrap>\\ +
-\\+
  
----- +  * Radar:  Simple FMCW 
-===== Software Setup ===== +    **[[resources:eval:user-guides:circuits-from-the-lab:cn0566:fmcw_radar|Lab Material]]** 
-==== Loading CN0566 Image on SD Card ==== +    Lecture and Lab Video 
-In order to control the CN0566 from the Raspberry Pi, you will need to install ADI Kuiper Linux on an SD card. Complete instructions, including where to download the SD card image, how to write it to the SD card, and how to configure the system are provided at **[[resources:tools-software:linux-software:adi-kuiper_images| Analog Devices Kuiper Linux]]**. +      {{youtube>CXSbLQgRFAA?small}}
-\\ +
-<WRAP todo> +
-REMOVE when Kuiper 12/13/2022 RC released.\\ +
-For now, use this release candidate:\\ +
-[[https://swdownloads.analog.com/cse/kuiper/image_2021-12-13-ADI-Kuiper-full.zip|image_2021-12-13-ADI-Kuiper-full.zip]] +
-</WRAP> +
-Write the image and follow the system configuration procedure. +
-==== Configuring the SD Card ==== +
-Follow the Hardware Configuration procedure under **Preparing the Image: Raspberry Pi** in the [[resources:tools-software:linux-software:adi-kuiper_images|Analog Devices Kuiper Linux]] page, adding the following lines in **/boot/config.txt**:+
  
-<code> +  * Radar CFAR, Range Normalization, Clutter Suppression, and Range/Velocity 
-# Phaser board overlay+    * Lab Material (Coming Soon) 
-dtoverlay=rpi-cn0566+    * Lecture Video (Coming Soon) 
 +    * Lab Video (Coming Soon)
  
-# Heartbeat blinky: 
-dtparam=act_led_trigger=heartbeat 
  
-# Short GPIO121 (pin 40) to ground for shutdown: +===== Additional Resources =====
-dtoverlay=gpio-shutdown,gpio_pin=21,active_low=1,gpiopull=up +
-</code>+
  
-<WRAP todo> +This series is partially derived from several sources that also provide valuable background information. 
-REMOVE this when merged:\\ +  * Analogue Dialogue Phased array paper series
-For now the CN0566 overlay is not yet merged to master or included in the latest Kuiper Linux image. Copy this file to /boot/overlays (this can be done from Windows, Linux, MacIf your computer has drive encryption, you can do this from within the Raspberry Pi itself.)\\ +    * [[adi>en/analog-dialogue/articles/phased-array-antenna-patterns-part1.html|Phased Array Antenna Patterns—Part 1: Linear Array Beam Characteristics and Array Factor]]   
-[[https://github.com/mthoren-adi/devicetree_overlays/raw/main/rpi-cn0566.dtbo|CN0566 Device Tree Overlay]]\\ +    [[adi>en/analog-dialogue/articles/phased-array-antenna-patterns-part2.html|Phased Array Antenna Patterns—Part 2: Grating Lobes and Beam Squint]] 
-Or from the Raspberry Pi command line: +    * [[adi>en/analog-dialogue/articles/phased-array-antenna-patterns-part3.html|Phased Array Antenna Patterns—Part 3: Sidelobes and Tapering]]
-<code> +
-wget https://github.com/mthoren-adi/devicetree_overlays/raw/main/rpi-cn0566.dtbo +
-sudo cp rpi-cn0566.dtbo /boot/overlays +
-sudo reboot +
-</code>+
  
-</WRAP> 
-\\ 
-\\ <WRAP center round tip 50%>Make sure to have the latest version of IIO Oscilloscope. Complete instructions and update scripts are found at **[[resources:tools-software:linux-software:iio_oscilloscope| Analog Devices IIO Oscilloscope]]**. </WRAP>\\  
----- 
-===== CN0566 Configuration/Setup Examples ===== 
-{{ :resources:eval:user-guides:circuits-from-the-lab:cn0566:ex1.png?nolink&750 |}}\\ 
-{{ :resources:eval:user-guides:circuits-from-the-lab:cn0566:ex2.png?nolink&750 |}}\\ \\ 
-{{ :resources:eval:user-guides:circuits-from-the-lab:cn0566:ex3.png?nolink&750 |}}\\ 
-{{ :resources:eval:user-guides:circuits-from-the-lab:cn0566:ex4.png?nolink&700 |}} 
-\\ 
----- 
 ===== More Information and Useful Links  ===== ===== More Information and Useful Links  =====
- +  * [[ADI>CN0566|CN0566 Product Page]] 
-  * [[adi>media/en/reference-design-documentation/design-integration-files/CN0566-DesignSupport.zip|CN0566 Design Support Package]] +  * [[:resources:eval:user-guides:circuits-from-the-lab:cn0566:software CN0566 Software Guide]] 
-  * [[ADI>CN0566|CN0566 Circuit Note Page]] +  * [[:resources:eval:user-guides:circuits-from-the-lab:cn0566:overview_setup | CN0566 Hardware Guide]]
-  * [[ADI>ADAR1000|ADAR1000 Product Page]] +
-  * [[ADI>ADF4159|ADF4159 Product Page]] +
-  * [[ADI>ADRF5019|ADRF5019 Product Page]] +
-  * [[ADI>ADL8107|ADL8107 Product Page]] +
-  * [[ADI>HMC654LP2E|HMC654LP2E Product Page]] +
-  * [[ADI>LT3042|LT3042 Product Page]] +
-  * [[ADI>LTC5548|LTC5548 Product Page]] +
-  * [[ADI>LT3045|LT3045 Product Page]] +
-  * [[ADI>AD7291|AD7291 Product Page]] +
-  * [[ADI>LT3461|LT3461 Product Page]] +
-  * [[ADI>ADP7158|ADP7158 Product Page]] +
-  * [[ADI>hmc655-die|HMC655 Product Page]] +
-  * [[ADI>HMC735|HMC735 Product Page]] +
-  * [[ADI>LTC4217|LTC4217 Product Page]] +
-  * [[ADI>LT8609S|LT8609S Product Page]] +
- +
-===== Schematic, PCB Layout, Bill of Materials, Casing ===== +
-<WRAP round 80% download> +
-[[adi>media/en/reference-design-documentation/design-integration-files/CN0566-DesignSupport.zip|EVAL-CN0566-RPIZ Design & Integration Files]] +
-  * Schematics  +
-  * PCB Layout  +
-  * Bill of Materials  +
-  * Allegro Project +
-  * LTSpice Simulations +
-</WRAP>+
  
 //End of Document// //End of Document//
resources/eval/user-guides/circuits-from-the-lab/cn0566.1643823114.txt.gz · Last modified: 02 Feb 2022 18:31 by Mark Thoren