Skip to content

Power Management in Software

Related Config File Sections:

MPF will try to prevent concurrent pulses on the same power supply unit to reduce the maximum current draw. This is important for certain switching power supplies since they might just shutdown on over current. However, MPF will not mess with any timing critical things such as slings, pops or flippers as they are controlled by hardware rules. Instead MPF will delay resets of drop target, ejects of ball devices or advancing of score reels for up to a few milliseconds (configurable). You won't notice this in your machine but it makes eject power much more consistent and drop target resets more reliable. Without this kind of magic most score reels won't work at all because if you pulse 15 coils at once none of them will move.

By default MPF assumes that you have only one single power supply unit for all your coils. If this is not true you can configure multiple PSUs and assign them to coils:

psus:
  default:  # this is configured by default
    voltage: 48
  psu_12v:
    voltage: 12

coils:
  c_score_reel_1k_p1:
    psu: psu_12v
    number:
  c_score_reel_100_p1:
    psu: psu_12v
    number:
  c_score_reel_10_p1:
    psu: psu_12v
    number:
  c_score_reel_1_p1:
    psu: psu_12v
    number:

This way MPF will sequentialize those coils independently from your coils on the other PSU.

To give your PSU some breathing room MPF will apply some spacing between two pulses. This can be configured using release_wait_ms:

psus:
  default:
    voltage: 48
    release_wait_ms: 50    # defaults to 10ms

Something missing or wrong? You can fix it!

This website is edited by people like you! Is something wrong or missing? Is something out of date, or can you explain it better?

Please help us! You can fix it yourself and be an official "open source" contributor!

It's easy! See our Beginner's guide to editing the docs.

Page navigation via the keyboard: < >

You can navigate this site via the keyboard. There are two modes:

General navigation, when search is not focused:

  • F , S , / : open search dialog
  • P , , : go to previous page
  • N , . : go to next page

While using the search function:

  • Down , Up : select next / previous result
  • Esc , Tab : close search
  • Enter : go to highlighted page in the results