AN 1000: Drive-on-Chip Design Example: Agilex™ 5 Devices
ID
826207
Date
7/08/2024
Public
1. About the Drive-on-Chip Design Example for Agilex™ 5 Devices
2. Features of the Drive-on-Chip Design Example for Agilex Devices
3. Getting Started with the Drive-on-Chip Design Example
4. Rebuilding the Drive-on-Chip Design Example
5. Modifying the Design Example for a Different Board
6. About the Scaling of Feedback Signals
7. Motor Control Software
8. Functional Description of the Drive-on-Chip Design Example for Agilex 5 Devices
9. Signals
10. Registers
11. Design Security Recommendations
12. Document Revision History for AN 1000: Drive-on-Chip Design Example for Agilex™ 5 Devices
3.1. Software Requirements for the Drive-on-Chip Design Example for Agilex 5 Devices
3.2. Hardware Requirements for the Drive-on-Chip Design Example for Agilex 5 Devices
3.3. Downloading and Installing the Design
3.4. Setting Up your Development Board for the Drive-on-Chip Design Example for Agilex 5 Devices
3.5. Configuring the FPGA Hardware for the Drive-on-Chip Design Example for Agilex 5 Devices
3.6. Programming the Nios V/g Software to the Device for the Drive-on-Chip Design Example for Agilex Devices
3.7. Debugging and Monitoring the Drive-on-Chip Design Example for Agilex 5 Devices with Python GUI
8.3.6.1. DSP Builder Model for the Drive-on-Chip Designs
8.3.6.2. Avalon Memory-Mapped Interface
8.3.6.3. About DSP Builder for Intel FPGAs
8.3.6.4. DSP Builder for Intel FPGAs Folding
8.3.6.5. DSP Builder for Intel FPGAs Design Guidelines
8.3.6.6. Generating VHDL for the DSP Builder Models for the Drive-on-Chip Designs
6.1. Signal Sensing in Sigma-Delta
Sigma-delta modulators on the power board model convert analog signals to a one-wire digital bitstream. The design demodulates or filters the bitstream in the FPGA. The FPGA uses two types of sigma-delta filter IP in the FPGA, ADC modules and DC link modules, each with different scaling and offset.
The design downloads and filters all sigma delta inputs in parallel so no skew exists between the samples that it feeds to the software application.
Each ADC type has a different input and output ranges with the corresponding 'C' data type.
ADC Type | Count Range | C Data type |
Sigma-delta ADC | -32768…+32767 | Signed 16-bit |
Sigma-delta DC link | 0…+32767 | Signed 16-bit |
Position feedback samples are scaled to a 23 bit unsigned integer, for consistency across all encoder types supported by this and previous Drive-on-Chip designs.
Feedback Quantity | Sigma Delta Interface IP | Sigma Delta Scaling for Tandem Motion Power Board |
---|---|---|
Motor phase voltages | ADC interface | 545 counts/V |
Motor input voltage | DC Link interface | 545 counts/V |
Motor phase currents | ADC interface | 1024 counts/A |