Skip to content

Managing Power Systems with Linux Operating System

A freely accessible Linux application, written in C/C++, for controlling power system management devices, can be found on GitHub.

Linux Utilization in Power System Administration
Linux Utilization in Power System Administration

Managing Power Systems with Linux Operating System

In the realm of power system management (PSM), a new solution has emerged that simplifies the process of custom software design, device programming, and power system debugging. This solution, known as Linux PSM, is a comprehensive tool designed to streamline the setup and debug of PSM devices.

The core hardware components of Linux PSM consist of a Devantech USB-to-IC adapter, a Devantech adapter, and a Total Phase Beagle (IC sniffer) for connecting to PMBus, SMBus, or IC bus of evaluation or end-product boards. To utilise this hardware with the Linux PSM software, connect the Devantech adapter and the Beagle to a Linux computer with two Type A-to-B USB cables.

The goal with Linux PSM is to achieve successful downloading, compiling, and running the application. The Linux PSM application note covers the use of Linux PSM with evaluation boards and PSM debugging techniques. It also introduces the code framework, debugging, and web-based tool support.

For those familiar with writing Linux C applications for user-mode executables, Linux PSM offers a valuable learning tool. It is common for engineers to copy and paste Linux code snippets into an existing application. The foundation of PSM software/firmware is the PMBus, which is the basis of the SMBus, and the cornerstone of the SMBus is IC.

When paired with LTpowerPlay, the setup and debug of PSM devices are further simplified. Most power system management designs follow a set-and-forget model, but with LTpowerPlay, engineers can enjoy a more interactive and manageable experience.

The recommended hardware for optimal learning includes the DC1613A, DC1962C, Devantech adapter, and Total Phase Beagle. Figure 1 shows the recommended hardware connected by grabber clips. If the Beagle's USB is not connected, separate the Beagle's ribbon cable from the grabber clips to prevent interference with PMBus traffic to/from the DC1962C.

It is important to note that Linux PSM is not a replacement for a board management controller (BMC). Instead, it is a set of classes and an example application that is compatible with typical BMC software/firmware. This application runs in user space using IC communication, and it is open-source, making it easily accessible on GitHub.

For detailed information on protocols and generic programming questions, refer to Application Note 135 and industry standards for IC/SMBus/PMBus. When working with large systems, many require a board management controller (BMC). Software/firmware is not required when combined with a bulk programming solution, but a BMC may be necessary in such cases.

In conclusion, Linux PSM offers a powerful and user-friendly solution for power system management, enabling engineers to debug, program, and design custom software with ease. With its open-source nature and compatibility with industry standards, Linux PSM is a valuable addition to any engineer's toolkit.

Read also:

Latest