摘要 |
PURPOSE: A method for measuring a synchronization signal period and compensating a time delay in a 3D conversion system using a single digital projector and a liquid crystal display (LCD) panel is provided to reduce the manufacturing cost of a 3D display system by omitting a mechanical operation by liquid crystal shutter polarization. CONSTITUTION: A microprocessor receives a trigger type of a synchronization signal and a time delay to be compensated. The microprocessor calculates a timer value with respect to the time delay. The microprocessor classifies an interrupt service routine into an interrupt by capturing and an interrupt by a timer (S201). In a case where the interrupt service routine is classified as the interrupt by capturing, the microprocessor classifies the interrupt by capturing into a CLEAR case or a SET case according to flags, and performs each step of the cases (S202-S212). In the other case where the interrupt service routine is classified as the interrupt by the timer, the microprocessor performs each step of the interrupt by the timer (S213-S215). [Reference numerals] (S201) Interrupt by what ?; (S202) Is Flag CLEAR or SET ?; (S203) Output = HIGH; (S204) CaptureValue = CaptureReg.(CaptureReg. value is a period(frequency) value); (S205) Capture initialization (Capture deactivation); (S206) Value = CaptureValue + TimerValue (TimerValue calculated in MainLoop and CaptureValue by Capture); (S207) TimerReg = Value(input Value in Timer register); (S208) Flag=SET; (S210) CaptureConReg. = RegConValue + Sync.TrigType (RegConValue is set as Capture mode. every falling edge (activated)) (Sync.TrigType is MainLoop's Sync.TrigType); (S211,S215) ResetTimer (Timer initialization); (S212) Flag=CLEAR; (S213) Output=LOW; (S214) CaptureConReg. = RegConValue + Sync.TrigType (RegConValue is set as Capture mode. every rising edge. (activated)) (Sync.TrigType is MainLoop's Sync.TrigType) |