Updated: Oct 7
This week at TechCrunch Disrupt 2023, AMD announced the next in the series of their very popular Kria SOM platform, the K24. The Kria K24 provides developers with a cost-optimized SOM in a much smaller and compact footprint (60mm, 41.3mm, 30mm), thanks to the use of the InFO packaging on the device itself.
The K24 offers developers a Zynq UltraScale+ MPSoC, LPDDR4 (2Gbytes 1066 Mb/s), 32 GB eMMC, 512 MB QSPI and 64Kb EEPROM, while root of trust is assisted by the provision of a TPM 2.0 module. Of course, the fact that this is a SOM means that all of the necessary power management and clocking management is contained within.
Resource wise, the Zynq UltraScale+ MPSoC on the K24 contains 154K system logic cells, 70K LUTs, 216 Block RAMS and 360 DSP elements.
Interfacing with the K24 SOM is done via two connectors: the first is a 240-pin connector which is backwards compatible with the K26 240-1 connector (more on this to come). The second connector is a 40-pin connector.
Across these two connectors, the user is provided with access to the PS MIO, PL HDIO, PL HPIO and PS GTR lines, along with interfaces controlling and monitoring the SOM itself (e.g., power and power status).
Having worked with the K24 for a few weeks now, I find myself liking not only the SOM’s capabilities but also the compact size and the intelligent use of the InFO packaging. This InFO packaging, combined with the mechanical design, creates a very effective thermal solution.
Similar to the K26 which was supported by the vision and robotics starter kits, the K24 comes with a KD240 drives starter kit. This is a great application for the K24 because effective and efficient control of motors is increasingly important and something that’s not only calculation intensive but also lends itself to the parallelisation within programmable logic.
The KD240 Drive Starter kit offers the K24 mounted on a board designed for motor control. This board provides a range of interfaces including:
PL Ethernet * 2
Dual Port USB 3.0
Quadrature Encoder Interface
Torque Sensor System
Brake Control Connector
The application itself is supported by a new Vitis HLS motor control library which enables the implementation of field oriented control (FOC) of the motor in one of two modes. The first mode controls the torque of the motor, ensuring a specified torque is maintained by the motor. The second mode is speed control and maintains the motor at a constant speed. A closed-loop system is also used to achieve this.
If you are not familiar with FOC, it leverages the sensor position estimation using either sensor or sensor less approaches, PI controllers, park, inverse park and clarke transformations. These are ideal for implementation within programmable logic. The ability to interface with several sensors at once is required for phase current and phase voltage monitoring is provided along with the ability to implement the transforms in concurrently.
Included with the out-of-the-box application (which works with the KD240 Motor Accessor Pack) is a PMSM motor which uses sensor control, coupled with the AMD-developed FOC implementation leveraging the Vitis motor control library.
The control aspects of the demo runs within Petalinux and communicates with the PL design using Industrial IO (IIO). The demo application provides a web-based dashboard which displays information on the motor parameters, along with the ability to change the operating mode (torque/speed) and the setpoints target.
Running this, we can see the motor as it works under the control of the KD240.
As you can see, the board is well designed and working with the application in the KD240. Heat losses are minimal.
I really like both the KD240 Drives Starter Kit and the K24 SOM. I can see both will be of interest to our customers and I am looking forward to trying out the new Vitis libraries.
Workshops and Webinars
If you enjoyed the blog why not take a look at the free webinars, workshops and training courses we have created over the years. Highlights include
Introduction to Vivado learn how to use AMD Vivado
Ultra96, MiniZed & ZU1 three day course looking at HW, SW and Petalinux
Arty Z7-20 Class looking at HW, SW and Petalinux
Mastering MicroBlaze learn how to create MicroBlaze solutions
HLS Hero Workshop learn how to create High Level Synthesis based solutions
Perfecting Petalinux learn how to create and work with petalinux OS
Embedded System Book Do you want to know more about designing embedded systems from scratch? Check out our book on creating embedded systems. This book will walk you through all the stages of requirements, architecture, component selection, schematics, layout, and FPGA / software design. We designed and manufactured the board at the heart of the book! The schematics and layout are available in Altium here Learn more about the board (see previous blogs on Bring up, DDR validation, USB, Sensors) and view the schematics here.
Sponsored by AMD