ZMPT101B voltage sensor is a vital component for monitoring AC mains voltage (up to 250V) in electronic designs. Since this sensor is not included in the standard Proteus database, you must manually add a custom library to simulate it. How to Install the ZMPT101B Library in Proteus
To use the sensor in your schematic, follow these steps to import the necessary files: Download the Files : Search for and download the ZMPT101B Proteus Library
(typically a ZIP or RAR file) from reputable engineering community sites like The Engineering Projects Locate Proteus Directories : Find where your Proteus software is installed, usually in
C:\Program Files (x86)\Labcenter Electronics\Proteus 8 Professional Copy Library & Model Files Open the downloaded folder and copy the files into the folder of your Proteus installation. If the library includes a file, copy it into the Restart Proteus
: Close and reopen the software to refresh the component list. Search & Place : Click the
(Pick Devices) button and search for "ZMPT101B" or "Voltage Sensor" to find and place it in your workspace. Key Features for Simulation
The ZMPT101B library for Proteus is a custom simulation component that allows engineers and hobbyists to test AC voltage monitoring circuits before building them. Since Proteus does not include this specific sensor in its default library, users must manually integrate it to simulate real-world AC voltage measurement up to 250V AC. Integrating the Library into Proteus
To make the ZMPT101B available in your workspace, you must place the library files into the Proteus installation directories:
Download the Files: Obtain the ZMPT101B library package, which typically includes .lib (Library) and .idx (Index) files, and sometimes a .mdf (Model) file. Locate the Proteus Folders:
Find the Proteus icon on your desktop, right-click, and select Open file location.
Navigate to the LIBRARY folder (often within the main Labcenter Electronics directory) and paste the .lib and .idx files.
If a model file is provided, navigate to the MODELS folder and paste the .mdf file there.
Restart and Search: Close Proteus and reopen it. You can now find the component by searching for "ZMPT101B" in the Component Mode. Key Features and Simulation Behavior
The simulated ZMPT101B module behaves like its physical counterpart, which is built around a precision voltage transformer and an LM358 operational amplifier.
AC Input & DC Isolation: It measures single-phase AC voltage while keeping the microcontroller (like an Arduino) safely isolated from high voltage.
Analog Output: The simulated sensor provides an analog signal (typically 0-5V or 0-3.3V) proportional to the input AC voltage.
Calibration: In Proteus, you can often interact with a virtual potentiometer on the module to adjust the sensitivity, just as you would on the real board.
Voltage Range: It is designed to handle a wide range of input voltages, typically from 80V to 250V AC. Common Connections in Proteus
When building your circuit in the software, the ZMPT101B usually follows this standard pinout:
Introduction
The ZMPT101B is a voltage sensor module that can measure AC and DC voltages. It's commonly used in applications such as voltage monitoring, power quality analysis, and industrial control systems. The ZMPT101B library for Proteus allows you to simulate the behavior of this module in a virtual environment.
Installation
To use the ZMPT101B library in Proteus, you'll need to install it first. Here are the steps:
Adding the ZMPT101B Library to Your Project
Once the library is installed, you can add it to your Proteus project:
Configuring the ZMPT101B Component
To configure the ZMPT101B component, follow these steps:
Simulating the ZMPT101B Component
To simulate the ZMPT101B component, follow these steps:
Tips and Tricks
The ZMPT101B is a precision voltage transformer module that:
In real hardware, you connect it to an ADC pin. In simulation, we need a model that mimics this behavior.
A: Labcenter Electronics forums or GitHub. The community is responsive to feature requests like phase response modeling.
SENSITIVITY or GAIN.Common parameters in good libraries:
V_RMS_MAX : Maximum measurable RMS voltage (default 250V).OUT_V_MAX : Max output voltage (default 5V).OFFSET_V : No-input output voltage (default 2.5V).To simulate a poorly calibrated module, you can set GAIN too high, causing the output to clip at 5V or 0V — exactly what happens in real hardware if the pot is misadjusted.
ZMPT101B.LIB and ZMPT101B.IDX to:
C:\Program Files (x86)\Labcenter Electronics\Proteus 8\LIBRARY
(Adjust for your Proteus version)float readACvoltage()
int raw = analogRead(A0);
float voltage = (raw / 1023.0) * 5.0; // ADC to voltage
// Convert output voltage back to primary AC (calibration required)
float rms = (voltage - 2.5) * scaleFactor;
return rms;
In simulation, you can adjust the scaleFactor until the output matches the input sine source.