Control device, illumination device, and program for control device
AssigneeYazaki Corporation
InventorTerumitsu Sugimoto
Life of this patent
Estimating the term…
Abstract
A control device including a CPU is provided. The CPU outputs a plurality of pulses each having a duty set independently to LED. The CPU creates a schedule in which on-timing and off-timing of the plurality of pluses are designated such that the on-timing or the off-timing of two or more of the plurality of pulses is respectively not close to each other based on the set duty and a duty of the pulse. Further, the CPU sets, in a timer for counting time, time from a time point where the timer finishes counting the time already set to on-timing or off-timing of a pulse to be first turned on or off after the time point in accordance with the schedule. The CPU turns on or off the pulse in accordance with the schedule when the timer finishes counting the set time.
Claims9
A control device that outputs a plurality of pulses each having a duty set independently, the control device comprising:
- a schedule creation section configured to create a schedule in which on-timing and off-timing of the plurality of pulses are designated such that the on-timing or the off-timing of two or more of the plurality of pulses is respectively not close to each other, based on the set duty and a cycle of the pulse;
- a setting section configured to set, in a timer for counting time, time from a time point where the timer finishes counting the time already set to on-timing or off-timing of a pulse to be first turned on or off after the time point 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,
- wherein the schedule creation section comprises:
- a correction section configured to correct the schedule so as to shift the on-timing and the off-timing of the pulses when the on-timing and the off-timing of two of the plurality of pulses is close.
A control method for a control device that outputs a plurality of pulses each having a duty set independently, the control method comprising:
- a schedule creation step configured to create a schedule in which on-timing and off-timing of the plurality of pulses are designated such that the on-timing or the off-timing of two or more of the plurality of pulses is respectively not close to each other, based on the set duty and a cycle of the pulse;
- a setting step configured to set, in a timer for counting time, time from a time point where the timer finishes counting the time already set to on-timing or off-timing of a pulse to be first turned on or off after the time point in accordance with the schedule;
- and
- a pulse output step configured to turn on or off the pulse in accordance with the schedule when the timer finishes counting the set time,
- wherein the schedule creation section comprises:
- correcting the schedule so as to shift the on-timing and the off-timing of the pulses when the on-timing and the off-timing of two of the plurality of pulses is close.
Dependencies are inferred from the claim text.