Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. An EDDP Kit.
  2. A network cable.
  3. A wired LAN.
  4. A computer capable that is:
    1. Connected to the LAN.
    2. Capable of running a web browser
    , that is connected to the LAN
    1. .
    2. Capable of editing files on a SD card.
    3. Has Vivado SDSoC installed to modify the motor control algorithm.
  5. Micro-USB cable
  6. Serial terminal program; for example Putty available at https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html or TeraTerm available at https://ttssh2.osdn.jp/index.html.en.

...

  1. Power up the Arty Z7 10 and the TEC0053 boards.
  2. Open the serial terminal program.
  3. Note the IP address either from the serial console or from the DHCP server logs. If the automatic IP address acquisition fails, default IP address of 192.168.42.123 will be used after 10 second timeout.
  4. Point a web browser to the IP address of the board. An EDDP web site appears.
  5. Click button "Motor" to start the motor. The button will change color.
  6. To enable live charts, enable checkbox "Live", which is under the charts.

 

4. Customize the run-time parameters of the motor control

  1. Modify the file "focserver.conf" on the SD card to match your needs; most probably "FixedDelay", "RPMKi" and "TorqueKi" are to be changed. See the guide "Embedded Linux Code" for more detailed description.
  2. Power cycle the Arty Z7 board to reload the parameters.

 

5. Modify the motor control algorithm

  1. On the computer, start Vivado SDSoC.
  2. Create a new SDSoC Application Project based on the custom platform "arty_z7_10_foc" provided in the EDDP and using the sample program "foc".
  3. In the application, modify the files "src/foc.h" and "src/foc.cpp" to suite your needs.
  4. Build the SDSoC Application Project. This can take about 15 minutes, depending on the speed of the computer.
  5. Copy the files from the project directory "Debug\sd_card" to the SD card.
  6. Insert the SD card to the Arty Z7.
  7. Power-cycle the Arty Z7.