Visible to Intel only — GUID: wwq1646934975055
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: wwq1646934975055
Ixiasoft
5.2. Preparing the µC/OS-II HPS Software Files
To complete the software files for the Drive-on-Chip Design Example, you need to download the uC/OS II files from the Micrium web site, then construct the software directory structure with a script provided with the design archive.
- Start a web browser and go to the Weston Embedded website.
- Launch SoC EDS command shell.
- Go to the micrium-examples page by selecting MICRIUM > EXAMPLES from the upper menu.
- Search de10-nano_webserver and click the download link.
- Change the current directory to software\Setup in the command shell by typing cd <project_dir>/software/Setup.
- Type mkdir Micrium_files; cd Micrium_files .
- Type git clone https://github.com/weston-embedded/uC-CPU.git.
If you see this error, fatal: unable to access …: error setting certificate verify locations …, type git config --global http.sslCAInfo /usr/ssl/certs/ca-bundle.crt.The software creates the uC-CPU directory under the current folder.
- Type git clone https://github.com/weston-embedded/uC-LIB.git.
- Type git clone https://github.com/weston-embedded/uC-OS2.git.
- Download the DE10 Nano webserver example design from the Weston Embedded website.
- Register and login.
- Access the DE10 Nano web page.
- Right click Download, and select Save link as....
- Navigate to <project_dir>/software/Setup/Micrium_files directory , and save the file as de10-nano_webserver.zip.
- Change the current directory to the software\Setup directory in the command shell by typing cd <project_dir>/software/Setup .
- Run the script to integrate software files.
- Type source setup_software_files.sh.
Directory | Description |
---|---|
hwlibs | The build process copies selected files from the Intel Quartus Prime Design Suite hardware libraries to this directory. |
objects | The build process creates object files here. |
src\Micrium | Real time operating system. |
src\DriveOnChip\bms | Battery management system. (SOC estimation.) |
src\DriveOnChip\components | Motor control component source and header files. |
src\DriveOnChip\mc | Motor control source and header files. |
src\DriveOnChip\motorsim | Motor simulation model, not applicable for this design. |
src\DriveOnChip\perf | Performance monitor source and header files. |
src\DriveOnChip\platform | Platform (development kit and RTOS) specific source and header files. |
src\DriveOnChip\waveform | Waveform generation for motor control. |
Related Information