Simple DCL PI controller demonstration
This example leverages a PI controller from the digital control library(DCL). It demonstrates how to setup and run the PI controller. The example first initializes the datalog DCL_FDLOG to the test vector, run the controller based on the test input and compare the output with the expected value.
| Folder/Files | Description |
|---|---|
| ${SDK_INSTALL_PATH}/examples/dcl/dcl_pi/ | |
| pi_test.c | Main function for PI testing |
| pi_test.h | Contains all initialization of needed strctures |
| data/ | Contains pre-generated data files result compares with |
| ${SDK_INSTALL_PATH}/source/dcl | |
| dcl/ | Folder containing DCL library source |
| Parameter | Value |
|---|---|
| CPU + OS | r5fss0-0 nortos |
| r5fss0-0 freertos | |
| Toolchain | ti-arm-clang |
| Boards | am263x-cc, am263x-lp |
| Example folder | examples/dcl/dcl_pi |
Shown below is a sample output when the application is run: