Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

1. Check the requirements

  1. An EDDP Kit.
  2. A network cable.
  3. A wired LAN.
  4. A computer that is:
    1. Connected to the LAN.
    2. Capable of running a web browser.
    3. Capable of editing files on a SD card.
    4. 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.

 

2. Assemble the demo setup

  1. Connect the Arty Z7 board Pmod connectors JA, JB to the corresponding Pmod connectors J8,J9 on the TEC0053 board.
  2. Insert the SD card to the slot on the underside of Arty Z7.
  3. Connect the power supplies to the Arty Z7 and to the TEC0053.
  4. Check the motor connection.
  5. Check the encoder connection.
  6. Check that the jumpers on the connector J13 on the TEC0053 match the description of the configuration "Single" printed next to the connector.

 

3. Start motor in the demo setup

  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.

 

  • No labels