A medical imaging system having a patient support apparatus is provided. A first lookup table has first mask words representing a correspondence between each possible data unit sequence position and bit modifications for the ECC. The reference current command controls an output of the power converter.