A control device with a plurality of ports for outputting a plurality of pulses with duties that are set independently for each port, the control device comprising: a schedule creation section configured to create a schedule indicating an on-timing and an off-timing for each of the plurality of pulses, said on-timing indicating a point in time at which the pulse is turned on and said off-timing indicating a point in time at which the pulse is turned off; a setting section configured to set a timer for counting time until a next point in time at which a pulse of the plurality of pulses is to be turned on or off in accordance with the schedule; and a pulse output section configured to turn on or off the pulse in accordance with the schedule when the timer finishes counting the set time, characterized in that the schedule creation section is further configured to divide the plurality of pulses into a first group and a second group, and includes a first schedule creation section and a second schedule creation section, the first schedule creation section and the second schedule creation section are configured to alternately create the schedule, wherein each of the first and the second schedule creation sections is configured to create the schedule such that the off-timing of a first pulse among the plurality of pulses and the on-timing of a second pulse among the plurality of pulses are simultaneous with each other, based on the set duties and a cycle of the pulse, the first schedule creation section is configured to create the schedule by selecting, as said first pulse, a pulse from the first group and selecting, as said second pulse, a pulse from the second group, the second schedule creation section is configured to create the schedule by selecting, as said first pulse, the corresponding pulse from the second group and selecting, as said second pulse, the corresponding pulse from the first group, the schedule creation section is configured to create the schedule such that all the pulses of the first group are turned on in the first half of one cycle, and all the pulses of the second group are turned on in the latter half of the one cycle. a schedule creation section configured to create a schedule indicating an on-timing and an off-timing for each of the plurality of pulses, said on-timing indicating a point in time at which the pulse is turned on and said off-timing indicating a point in time at which the pulse is turned off; a setting section configured to set a timer for counting time until a next point in time at which a pulse of the plurality of pulses is to be turned on or off in accordance with the schedule; and a pulse output section configured to turn on or off the pulse in accordance with the schedule when the timer finishes counting the set time, characterized in that the schedule creation section is further configured to divide the plurality of pulses into a first group and a second group, and includes a first schedule creation section and a second schedule creation section, the first schedule creation section and the second schedule creation section are configured to alternately create the schedule, wherein each of the first and the second schedule creation sections is configured to create the schedule such that the off-timing of a first pulse among the plurality of pulses and the on-timing of a second pulse among the plurality of pulses are simultaneous with each other, based on the set duties and a cycle of the pulse, the first schedule creation section is configured to create the schedule by selecting, as said first pulse, a pulse from the first group and selecting, as said second pulse, a pulse from the second group, the second schedule creation section is configured to create the schedule by selecting, as said first pulse, the corresponding pulse from the second group and selecting, as said second pulse, the corresponding pulse from the first group, the schedule creation section is configured to create the schedule such that all the pulses of the first group are turned on in the first half of one cycle, and all the pulses of the second group are turned on in the latter half of the one cycle.