Visible to Intel only — GUID: swg1648648655828
Ixiasoft
1. About the Drive-On-Chip Design Example for Cyclone V Devices
2. Motor Control Boards
3. Drive-On-Chip Design Example for Cyclone V Devices Features
4. Getting Started
5. Building the Design
6. Debugging and Monitoring the Drive-On-Chip Design Example with System Console
7. About the Scaling of Feedback Signals
8. Motor Control Software
9. Functional Description of the Drive-On-Chip Design Example
10. Achieving Timing Closure on a Motor Control Design
11. Design Security Recommendations
12. Reference Documents for the Drive-on-Chip Design Example
13. Document Revision History for AN 669: Drive-on-Chip Reference Design
4.1. Software Requirements for the Drive-On-Chip Design Example for Cyclone V Devices
4.2. Downloading and Installing the Drive-On-Chip Design Example for Cyclone V Devices
4.3. Setting Up the Motor Control Board with your Development Board
4.4. Programming the Hardware onto the Device
4.5. Setting Up Terminal Emulator
4.6. Downloading the HPS Software to the Device
6.1. System Console GUI Upper Pane for the Drive-On-Chip Design Example
6.2. System Console GUI Lower Pane for the Drive-On-Chip Design Example
6.3. Vibration Suppression Tab
6.4. Controlling the DC-DC Converter
6.5. Tuning the PI Controller Gains
6.6. Controlling the Speed and Position Demonstrations
6.7. Monitoring Performance
9.1. Processor Subsystem
9.2. Six-channel PWM Interface
9.3. DC Link Monitor
9.4. Drive System Monitor
9.5. Quadrature Encoder Interface
9.6. Sigma-Delta ADC Interface for Drive Axes
9.7. DC-DC Converter
9.8. Motor Control Modes
9.9. FOC Subsystem
9.10. FFTs
9.11. DEKF Technique for Battery Management
9.12. Signals
9.13. Registers
9.9.1. DSP Builder for Intel FPGAs Model for the Drive-On-Chip Designs
9.9.2. Avalon Memory-Mapped Interface
9.9.3. About DSP Builder for Intel FPGAs
9.9.4. DSP Builder for Intel FPGAs Folding
9.9.5. DSP Builder for Intel FPGAs Model Resource Usage
9.9.6. DSP Builder for Intel FPGAs Design Guidelines
9.9.7. Generating VHDL for the DSP Builder Models for the Drive-On-Chip Reference Designs
Visible to Intel only — GUID: swg1648648655828
Ixiasoft
8.2. Software Application Configuration Files
You can modify the operation of the software application for the Drive-On-Chip Design Example by editing some C source code and header files.
File | Path | Function |
---|---|---|
demo_cfg.c | . | Declare motors[] Array |
demo_cfg.h | . | Configuration macros and include file for demo_cfg.c |
motor_types.c | Platform/motors | Declares motor types and encoders |
motor_types.h | Platform/motors | Defines motor and encoder types and include file for motor_types.c |
Macro | Default State | Range | Function |
---|---|---|---|
FIRST_MULTI_AXIS | 0 | 0 - 1 | Index of first motor axis to be controlled. |
LAST_MULTI_AXIS | 1 | 0 - 1 | Index of last motor axis to be controlled. |
DEFAULT_ADC_TYPE | ADC_TYPE_SIGMA_DELTA | ADC_TYPE_SIGMA_DELTA | Use sigma delta ADC samples in control loop. |
SD_ADC_FILTER | ADC_D_10US | ADC_D_10US | Sinc3filter delay 10us. |
ADC_D_20US | Sinc3filter delay 20us. | ||
DC_LINK_STARTUP_TARGET_VOLTS | 32 | 12 - 48 | Target voltage for DC-DC converter. |
OPEN_LOOP_INIT | 0 | 0 | Start motors in closed loop mode. |
1 | Start motors in open loop mode. | ||
INTERACTIVE_START | 0 | 0 | Normal startup 1: |
1 | User prompted via terminal emulator console at each stage of startup | ||
ENCODER_SERVICE | Undefined | Undefined | Normal operation. |
DBG_DEFAULT | DBG_INFO | DBG_NEVER | No console output. |
DBG_ALWAYS | Always output. | ||
DBG_FATAL | Debug level set to fatal errors . | ||
DBG_ERROR | Debug level set to nonfatal errors and above . | ||
DBG_WARN | Debug level set to warnings and above . | ||
DBG_INFO | Debug level set to information and above . | ||
DBG_PERF | Debug level set to performance data and above . | ||
DBG_DEBUG | Debug level set to debug messages and above . | ||
DBG_DEBUG_MORE | Debug level set to more debug messages and above . | ||
DBG_ALL | Debug level set to all messages. |