What is PMBus?
PMBus (Power Management Bus) is a standardized, open source digital protocol used to configure, control, and monitor power conversion devices. Built on top of the I2C and SMBus physical layers, it replaces limited analog front panel switches and dry contacts with robust software integration.
Integrating programmable power supplies into an Automated Test Equipment (ATE) cell often presents a common bottleneck. Traditional analog remote sensing limits your control capability. To scale your testing, your system must report real time metrics and accept dynamic software commands.
This guide uses a MEAN WELL NCP-3200 rack system test setup to demonstrate digital power management, covering the configuration workflow across the 24V, 48V, and 380V variants.
Why Use PMBus for Test and Measurement Applications
A few reasons this comes up consistently in ATE and bench test environments:
- Remote sequencing: enable or shut off multiple power supplies in a defined order from a single host controller, instead of physically toggling switches or relying on external sequencing hardware.
- Real time fault and status polling: rather than monitoring a front panel LED indicator, PMBus lets you poll the unit for actual fault code feedback, whether it is overvoltage, overload, or over temperature, giving you near real time visibility into what is happening.
- Automated test integration: the standardized command structure makes it practical to call PMBus commands from the test or bench software you already use, instead of commanding each supply one by one.
- Faster troubleshooting: reading back trim values, output state, and fault state cuts diagnostic time down considerably when something goes wrong on the bench.
Diagnosing PMBus Issues: Signal Integrity vs Protocol Errors
Before the worked example, one note worth flagging: most of the PMBus issues we see in the field are not protocol issues at all, they are signal integrity issues. Long communication cables between the host controller and the module, missing or undersized pull up resistors, and bus capacitance from too many devices on one segment all produce the same symptom, intermittent NACKs or full communication timeouts that look like a system failure. Our application note walks through a top level setup to rule these out first.
Worked Example: Wiring the MEAN WELL NCP-3200 Rack System
This worked example uses MEAN WELL NCP-3200 modules configured for 24V, though the same setup applies to the 48V and 380V variants, with the hardware notes below.
Pre-Setup Hardware Checklist
- Module hardware: MEAN WELL NCP-3200 modules, available in 24V, 48V, and 380V variants.
- Rack shelf capacity: DHP-1UT-B or DHP-1UT-BHV rack shelves hold up to 4 modules per shelf.
- High voltage requirement: the 380V modules require the -BHV shelf variant. Do not assume a standard shelf accepts the high voltage module.
- Bus wiring: communication runs over the JK1 connector on the rear of the rack shelf, carrying the SDA and SCL lines.
- Wiring check before software: confirm the physical wiring at JK1 before touching any software. A loose or reversed connection there looks like an addressing problem, not a wiring problem, and can cost you an afternoon chasing the wrong thing.
Addressing: Master vs Slave
Every module in the rack shelf needs a unique address, and before sending any commands you need to know which module is acting as master for the group.
In a multi-module configuration, one module is designated master and the rest operate as slaves. Commands are only accepted by the master unit. Send a command to a slave unit and you get no response and no error, just silence, which is easy to mistake for a wiring or communication fault if you don't know this going in.
MEAN WELL has confirmed that master assignment on startup is effectively random among the eligible modules. It is not guaranteed to land on the same physical unit every time you power cycle the rack shelf. That means your test sequence needs a step that identifies the current master before it does anything else. Do not hardcode an address and assume it will still be the master next time you power the rack back on.

Figure 1 - Power Cycles
Linear11 Data Format and Trim Calibration
PMBus setpoint values are typically encoded in Linear11 format: an 11 bit mantissa plus a 5 bit two's complement exponent, packed into a 16 bit word. To turn a raw register read into an actual voltage or current value, you apply the exponent to the 11 bit number. To trim to a new setpoint, you run the same conversion in reverse.
The exponent term is not the same across all NCP-3200 variants. The 24V and 48V modules use one exponent, and the 380V module uses another. If you take a conversion routine built and validated against a 48V module and reuse it unmodified against a 380V module, the trim math will be wrong, not obviously wrong, just off by a scaling factor that is easy to miss. Pull the exponent value from each module's own type before you calculate.
Digital Control Mode
Once addressing is confirmed and the master unit is identified, each module needs to be set into digital control mode. In analog mode, the modules are controlled by the onboard potentiometers and the PV/PC pins. In digital mode, they ignore both.
Write operations that change module state must be issued to the master unit. Read operations poll the status of the module in question. Confirm which of your operations are reads and which are writes before you build out the full sequencing script.
Because master assignment is not fixed to a given slot, build a master identification check into the start of every test sequence rather than treating it as a one time setup step. That single step is what keeps your system from failing to respond simply because the master moved to a different module slot since the last power cycle.
DOWNLOAD the full PMBus Application Note
The app note covers the complete addressing scheme, command reference tables, and MCP2221 terminal captures for register level detail.
Protocol Comparison: I2C, SMBus, and PMBus
I2C, SMBus, and PMBus are often used interchangeably in conversation, but each one covers a different layer of the same communication stack.
I2C, SMBus, PMBus
Three related buses for talking to power supplies, in the order each one builds on the last.
Base bus
System rules
Power commands
I2C
General purpose register bus
SMBus
System monitoring bus
PMBus
For power suppliesPower supply command set
Dots show how much structure each bus defines beyond raw wiring: one dot is none, three is a full standard command set.
Why PMBus is the protocol that engineers reach for
PMBus adds a fixed set of named commands (output voltage, current, temperature, status, per rail addressing) on top of the same wiring I2C and SMBus already use. That fixed command set is what lets one controller talk to power supplies from different vendors without custom firmware for each part.
Figure 2 - Protocol Comparisons
Key Takeaways
- PMBus is an open, I2C based protocol for digitally controlling, configuring, and monitoring power conversion products.
- Remote sequencing, fault polling, and automated test integration are the main reasons PMBus shows up in ATE and bench test environments.
- Most reported PMBus failures trace back to signal integrity, not protocol errors.
- On a multi-module rack like the NCP-3200, master assignment is not fixed. Confirm it at the start of every test sequence.
- Linear11 exponent values differ by module voltage variant. Reusing a conversion routine across variants without checking the exponent produces quietly wrong trim math.
Frequently Asked Questions
What is PMBus used for?
PMBus is used to digitally control, configure, and monitor power supplies and other power conversion products. Typical uses include remote on/off, voltage trim, and fault status.
Can PMBus control be used to control more than one power supply?
Yes. PMBus is designed for multi device bus topologies. Each module is assigned a unique bus address, and a host controller can sequence, monitor, and adjust multiple power supplies on the same bus, provided addressing and master slave roles are correctly identified.
Is PMBus the same as I2C?
No, although the two are related. I2C is the physical and electrical layer: the clock line, the data line, and basic signaling. PMBus is an application layer protocol that runs on top of I2C by way of SMBus, defining a standardized command set specific to power management. Think of I2C as the wires and PMBus as the instructions sent over them.
What are the differences between I2C, SMBus, and PMBus?
I2C is the physical layer: the wiring, voltage levels, and basic clock and data timing. SMBus is the data link layer: it adds timeout requirements so a stuck device cannot lock the bus indefinitely, plus packet error checking to reduce erroneous data transmissions. PMBus is the application layer: it sits on top of SMBus and defines a standardized command set specific to power conversion products, so devices from different manufacturers can be addressed with common commands.
How do you identify the master unit vs slave unit in a multi-module PMBus system?
On a system where master assignment is not fixed, like the NCP-3200, the only reliable method is to query each module on startup and confirm which address responds as master. Commands sent to a slave unit simply go unanswered. Build this check into your test sequence rather than assuming a fixed address from a previous session.
Contact TRC to Talk Through Your PMBus Setup
Ready to start programming your rack system? Avoid the trial and error phase on the bench, the application note linked above has the complete addressing scheme, command reference, and worked calculation to get you started. Contact the engineering and sales team at TRC Electronics today, and let us help you scope your PMBus based rack system, whatever power supply brand you are starting from.
References
TRC Electronics, "MEAN WELL NCP-3200 Series Datasheet" TRC Electronics, [Online]. Available: https://files.trcelectronics.com/datasheets/ncp3200.pdf
TRC Electronics, "MEAN WELL DHP-1UT-B Series Datasheet" TRC Electronics, [Online]. Available: https://files.trcelectronics.com/datasheets/dhp-1ut-b.pdf
MEANWELL USA, "MEAN WELL NCP-3200/DHP-1UT-B(HV) Series User's Manual" meanwellusa.com Available: https://meanwellusa.com