Skip to content

3 Use Case Example

Andreas Reiter edited this page Jul 4, 2019 · 1 revision

Recommended procedure

  • Open the GUI (start DCLD.exe)
  • Go to the Source Code tab on the right
  • Specify the target paths for every of the four file to be generated (assembly, C-source, C-header, Library header)
  • Choose a name Prefix for the controller on the Source Code tab on the left
  • Go to the Controller tab on the left and select the Bode Plot tab on the right
  • Select your controller, scaling method and adjust poles and zeros
  • Check the rounding error of the coefficients (A-coefficients are the most critical ones)
    => The coefficient table should not show warnings (yellow or red) on any of the coefficients!
  • Select the Source Code tab on the left and the Timing tab on the right
  • Choose your code options (context saving, anti-windup, etc.)
  • Click Tools => Generate Code (ALT+G)
  • Click Tools => Export Generated Files => Export Files (SHIFT+F5)
  • Save the configuration by clicking File => Save/Save As… (CTRL+S)
Clone this wiki locally