File Exchange

image thumbnail

Flickermeter Simulator

version (18.4 KB) by Patrik Jourdan
Power line flickermeter according IEC 61000-4-15 Edition 2.0


Updated 08 Jan 2018

View License

All devices and equipment must pass the oldest EMC standard which is the flicker-test. This standard defines how an equipment is allowed to draw power from the network without generating voltage fluctuations which would disturb lightning.
In most modern devices flicker is controlled by software (e.g. switching on and off of a heater), also hardware can be affected, e.g. if performance specification and flicker standard can only be reached through optimization of the form of the switching transient.
For more information visit:

The package contains the flickermeter simulator and several examples:

- Flickermeter Simulator according IEC 61000-4-15 Edition 2.0

Helper functions:

- Generate line voltage signal from a vector of power samples
- Generate phase controlled line voltage signal


- Example using measured data of a heater control system
heater_1.mat .. heater_4.mat
- Input data for example_heater
- Example investigating phase control to reduce flicker
- Example for performance (accuracy) testing of flicker_sim
- Example for performance (accuracy) testing of flicker_sim
- Example for performance (accuracy) testing of flicker_sim

Cite As

Patrik Jourdan (2020). Flickermeter Simulator (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (3)


The first block is the main source of wrong results when are changed made during the test (for example: a situation off-on big load off/to elec. network):
here you get full program with an offline flickermeter as MATLAB m-file to compare your results with.

xiaoguo lv

Erdal Bizkevelci


updated simulator to IEC 61000-4-15 Edition 2.0
updated performance test scripts

updated simulator to IEC 61000-4-15 Edition 2.0
updated performance test scripts

updated URL in description and file comments

updated URL in description

minor bug fix in flicker_sim: fixed typo in computation of p_50s
enhancement: use higher sampling rate in testbench examples for higher accuracy

minor bug fix in power_to_line_voltage: missing scaling factor sqrt(2) (reported by: Kjar Soren Bakhoj)

Added description of package contents and updated code comments

MATLAB Release Compatibility
Created with R2007b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Inspired: Light flicker assessment toolbox