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:

  1. Download the ZMPT101B library from the official Proteus library website or other reliable sources.
  2. Extract the downloaded zip file to a folder on your computer.
  3. Open Proteus and navigate to the "Library" menu.
  4. Click on "Install Library" and select the extracted folder.
  5. Follow the installation prompts to complete the installation.

Adding the ZMPT101B Library to Your Project

Once the library is installed, you can add it to your Proteus project:

  1. Open your Proteus project or create a new one.
  2. Navigate to the "Components" menu.
  3. Search for "ZMPT101B" in the search bar.
  4. Select the ZMPT101B component from the search results.
  5. Click "OK" to add the component to your project.

Configuring the ZMPT101B Component

To configure the ZMPT101B component, follow these steps:

  1. Double-click on the ZMPT101B component in your project.
  2. In the "Component Properties" window, set the following parameters:
    • "Voltage Range": Select the desired voltage range (e.g., 0-100V).
    • "Output Type": Select the desired output type (e.g., Analog).
    • "Other parameters": Configure any additional parameters as required by your application.

Simulating the ZMPT101B Component

To simulate the ZMPT101B component, follow these steps:

  1. Run the simulation by clicking on the "Run" button or pressing F5.
  2. The ZMPT101B component will simulate the voltage measurement based on the configured parameters.
  3. You can view the simulated output in the Proteus waveform viewer or other analysis tools.

Tips and Tricks


⚠️ Known Issues (depending on the specific library version)

What is the ZMPT101B?

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.

Q5: Where can I request a better library?

A: Labcenter Electronics forums or GitHub. The community is responsive to feature requests like phase response modeling.


Accessing Parameters:

Common parameters in good libraries:

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.

Step-by-Step Installation

  1. Close Proteus if it’s open.
  2. Copy ZMPT101B.LIB and ZMPT101B.IDX to:
    C:\Program Files (x86)\Labcenter Electronics\Proteus 8\LIBRARY
    
    (Adjust for your Proteus version)
  3. Restart Proteus.
  4. Open ISIS, click Component ModePick from Libraries.
  5. Search for “ZMPT101B” – it should now appear.

What is the ZMPT101B and why simulate it?

Example Firmware Logic (Arduino C)

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.

Components Needed:

  1. ZMPT101B (from library)
  2. Arduino Uno (from Proteus library)
  3. LM016L (16x2 LCD)
  4. VSINE (AC voltage source, from Simulator Primitives)
  5. Resistors (for LCD contrast)
  6. Virtual Terminal (for debugging)
img
Conversations
img
img
Typing....
close
Privacy Notice

We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you accept and understand our Privacy Settings.

Please wait…