Method and apparatus for image alignment
Apparatus, systems, and methods presented herein allow for the alignment of images. In some embodiments, a plurality of PWM modules each receive input data and corresponding input phase-shifted clock signals. In some embodiments, each PWM module generates an output phase-shifted PWM signal based on the input data and its corresponding input phase-shifted clock signal. In some embodiments, a selector selects one of the output phase-shifted PWM signal based on timing relationships between an event signal and the phase-shifted clock signals.
1. A pulse width modulation (PWM) device comprising:
a plurality of PWM modules that each receive input data and corresponding input phase-shifted clock signals, wherein each PWM module generates an output phase-shifted shifted PWM signal based on the corresponding input phase-shifted clock signal and the input data; and
a selector that selects one of the output phase-shifted PWM signals based on timing relationships between a first event signal and the input phase-shifted clock signals, wherein the selector comprises a plurality of circuits, each circuit corresponding to one of the PWM modules and receiving the corresponding input phase-shifted clock signals, and wherein each circuit generates a second event signal based on its corresponding input phase-shifted clock signals and the first event signal.
2. The PWM device of claim 1 , wherein timing relationships used to select one of the output phase-shifted PWM signals are based further on time duration between the first event signal and one of the second event signals.
3. A pulse width modulation (PWM) device comprising:
a plurality of PWM modules that each receive input data and corresponding input phase-shifted clock signals, wherein each PWM module generates an output phase-shifted PWM signal based on the corresponding input phase-shifted clock signal and the input data; and
a selector that selects one of the output phase-shifted PWM signals based on timing relationships between a first event signal and the input phase-shifted clock signals;
wherein each of the PWM modules comprises:
a first circuit that receives the input phase-shifted clock signal corresponding to the PWM module, and wherein the first circuit generates a second event signal based on its corresponding input phase-shifted clock signal and the first event signal; and
a second circuit that produces a count based on its corresponding input phase-shifted clock signal, wherein the count is reset based on the second event signal.
4. The PWM device of claim 3 , wherein each PWM module generates its output phase-shifted PWM signal based on the count and the input data.
5. The PWM device of claim 4 , wherein each PWM module receives the input data in synchronization with its corresponding one of the plurality of input phase-shifted clock signal.
6. A method for image alignment comprising:
receiving input data and corresponding input phase-shifted clock signals;
generating an output phase-shifted PWM signal corresponding to each input phase-shifted clock signal and the input data; and
selecting one of the output phase-shifted PWM signals based on timing relationships between a first event signal and the input phase-shifted clock signals;
wherein generating an output phase-shifted PWM signal further comprises generating a second event signal for each input phase-shifted clock signal based on the corresponding input phase-shifted clock signal and the first event signal.
7. The method of claim 6 , wherein timing relationships used to select one of the output phase-shifted PWM signals are based further on the time duration between the first event signal and one of the second event signals.
8. The method of claim 6 , wherein generating an output phase-shifted PWM signal further comprises:
producing a count based on the corresponding one of the plurality of input phase-shifted clock signal; and
resetting the count based on the second event signal.
9. The method of claim 8 , wherein the output phase-shifted PWM signal is based on the count and the input data.
10. The method of claim 9 , wherein the input data is received in synchronization with its corresponding one of the plurality of input phase-shifted clock signal.
11. A system comprising:
a plurality of PWM modules that each receive input data and corresponding input phase-shifted clock signals, wherein each PWM module generates an output phase-shifted PWM signal based on its corresponding input phase-shifted clock signal and the input data; and
a selector that selects one of the output phase-shifted PWM signal based on timing relationships between an event signal and the phase-shifted clock signals;
wherein each of the PWM modules comprises:
a first circuit that receives the input phase-shifted clock signal corresponding to the PWM module, and wherein the first circuit generates a second event signal based on its corresponding input phase-shifted clock signal and the event signal; and
a second circuit that produces a count based on the corresponding input phase-shifted clock signal, wherein the count is reset based on the second event signal.