Steps to Generate and Run HIL Demo Data - 2024.2 English - XD100

Vitis Tutorials: AI Engine Development (XD100)

Document ID
XD100
Release Date
2024-12-06
Version
2024.2 English

Step #1: Start MATLAB and change directory to the MatlabClient folder and open the Configuration/systemConfig.m file.

Step #2: Configure or update the highlighted system parameters in Configuration/systemConfig.m according to your required system preferences and save the file.

figure

The following diagram is helpful to understand the signal geometry to be configured by the system preferences. The system implements a ULA. Source locations are identified by \((x,y)\) Cartesian coordinates and move with a velocity in that plane with respect to the boresight of the ULA.

figure

Step #3: Configure or update the highlighted MUSIC parameters in Configuration/musicConfig.m according to your designed algorithm preferences and save the file.

figure

Step #4: Run the genSnapshots.m script. Snapshots will be generated and stored in the Snapshots folder. This script applies MUSIC on the batch snapshots and saves the data under the MusicResults folder.

figure

Step #5: It is possible that some of the generated snapshots fall outside the coverage zone. In these cases, tune the parameters to ensure all snapshots fall within the coverage zone.

figure

Step #6: Configure or update the highlighted parameters in Configuration/hilCfg.m and save the file.

figure

Step #7: Configure or update the IP address and port number in TcpIp/getIpAddr.m and save the file.

figure

Step #8: Run the sendSnapshots.m script. The generated snapshots will be sent to the remote server. The client enters listening mode and waits for a response from the server. Once the response is received, MATLAB models launch visualization as shown below.

figure

The TCP/IP server remains in listening mode for a fixed amount of time, while the client is performing data visualization. If no new data is received from the TCP/IP client during the wait time window, the server sends the previous responses again, and MATLAB performs data visualization. To send new data, send the clear client command as shown in the following figure and go to Step #2.

figure