Flickermeter Simulator

Power line flickermeter according IEC 61000-4-15 Edition 2.0
4.5K Downloads
Updated 19 Dec 2023

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: https://www.solcept.ch/en/blog/complex-systems/flickersim/
The package contains the flickermeter simulator and several examples:
flicker_sim
- Flickermeter Simulator according IEC 61000-4-15 Edition 2.0
Helper functions:
power_to_line_voltage
- Generate line voltage signal from a vector of power samples
power_to_phase_control_line_voltage
- Generate phase controlled line voltage signal
Examples:
example_phase_control
- Example investigating phase control to reduce flicker
example_half_wave_control
- Example investigating half wave control to reduce flicker
example_heater
- Example using measured data of a heater control system
heater_1.mat .. heater_4.mat
- Input data for example_heater
example_testbench_50Hz / example_testbench_60Hz
- Test scripts to check performance (accuracy) of flicker_sim
example_testbench_230V_sin / example_testbench_120V_sin
- Test scripts to check performance (accuracy) of flicker_sim
example_testbench_rectangular_voltage_changes_with_duty_ratio
- Test script to check performance (accuracy) of flicker_sim
example_testbench_half_wave_control
- Test script to check performance (accuracy) of flicker_sim

Cite As

Patrik Jourdan (2024). Flickermeter Simulator (https://www.mathworks.com/matlabcentral/fileexchange/24423-flickermeter-simulator), MATLAB Central File Exchange. Retrieved .

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

Inspired: Light flicker assessment toolbox

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
2.3.0.0

Minor correction according to Corrigendum 1 of IEC 61000-4-15 edition 2.0 2010-08.
Added performance tests according IEC 61000-4-15, section 6.2 with sinusoidal voltage changes.
Bug fix in helper script power_to_line_voltage.m (network impedance).

2.2.0.1

Corrected comment in example_testbench_50Hz.m according to feedback from Søren Vejlgaard Vedstesen

2.2.0.0

Improved numerical stability

2.1.0.0

Minor bug fix in coefficient of weighting filter for 120V system.
Added example investigating half wave control to reduce flicker.

2.0.0.0

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

1.6.0.0

updated URL in description and file comments

1.5.0.0

updated URL in description

1.4.0.0

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

1.2.0.0

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

1.1.0.0

Added description of package contents and updated code comments

1.0.0.0