1309133 九、發明說明: 【發明所屬之技術領域】 本發明關於-種投影電視開關機及待機方法 利用旗標導引之投影電視開關機及待機之方法。将別是有關於-種 【先前技術】 目前投影電視機係由電源、光源 早7^所構成,光源提供液晶面板顯示所 日日面板及控制 將光源所產生之熱帶走。一般而言,關機:、’風屬則迅速 此-般開機動作係由待機轉換心 機程成哥叩,通常要等待—段時間待系統穩定後才為維 :程序’即等待系統各單元之電壓穩定麦,完成開 啟。關機時系統仍處於高溫狀態,若"錢先源開 =將熱帶走時,則易損害系統,故未能迅 :式’待散熱後才能關機。然而,若使用者誤觸:;用系統 =统進人關機程序時’則需等待關機後再開啟系關機’導 費時間且影響產品於使用者心中之形象。 、'、,此時將 =習知技術中提供兩段式的關機模式 間内階段關機,把系統之畫面關閉,若於4'Γ =下其他按鍵則進入第二階段關機程序。於第並若未 動即ΐ用者按下任何按鍵將被忽略,且在第二階段關機ϊϊ序 入,機程序,使用者須等待關機完成後方能再開機。啟 再進術提供一種計數器之設計,在計數—段時間後 1:源關閉,此種做法雖可保護電路,但關閉電源 &供細,,需手動方可打開電源,對使用者而言不甚方便法 此時,了習知技術,提供一關機程序,先將燈泡關閉並計時: 、並同步加速風扇轉速散熱,燈泡關閉5分鐘後才關閉 1309133 源。此種做法之控制系統集中在一主要控制區塊,若系統的某 一副程式產生錯誤便無法繼續進行下一階段,進而導致程序無 法終止。 根據上述,提供一種縮短開關機時間、關機時誤按之補救 及使用者反悔的處理,為投影電視開關及待機控制方法設計的 重要課題。 【發明内容】 為了避免集中式控制系統所衍生的問題,於此提供一種投 影顯示裝置開關機與待機系統與方法,將投影顯示裝置之各元 件視為一子控制系統,並配置各自的獨立判斷單元,避免整個 程序因錯誤產生無法終止的情形。 為了改善開關機與待機流程的效率,於此提供一種投影電 視機之開關機與待機系統與方法,子控制系統具有各自的狀態 改變完成旗標,並以此作為程序處理之優先順序的指引,如此 可有效控制開關機與待機的流程。 根據上述,一種投影電視機之控制系統包含具有一計時控 制單元的一電視程序控制單元,計時控制單元係用以延遲計 時,一按鍵控制單元、一光源控制單元、一散熱控制單元電性 連接、及一電源控制單元電性連接至電視程序控制單元。多數 個狀態設定旗標分別對應電視程序控制單元、按鍵控制單元、 光源控制單元、散熱控制單元與電源控制單元,其中任一狀態 設定旗標用以指示對應控制單元之一目標狀態。多數個狀態完 成旗標分別對應電視程序控制單元、按鍵控制單元、光源控制 單元、散熱控制單元與電源控制單元,其中任一狀態完成旗標 用以指示對應單元之一轉換驅動。當按鍵控制單元驅動投影電 視機之一狀態轉換時,電視程序控制單元根據一預定轉換順 序、並利用計時控制單元及基於複數個狀態完成旗標,轉換光 1309133 源控制單元、散熱控制單元與電源控制單元以符合複數個目標 狀態。 再者,-種投影電視機的控制方法,應用於包含複數個控 制單元與—程序控制早疋的-投影電視機,此控制方h A外 定複數個狀態設定旗標與複數個狀態完成旗 數:二 值,其中任一狀態,定旗標與任一狀態完成旗標對應 單元Η貞測-電源疋否被驅動,並且基於電源的被、1309133 IX. Description of the Invention: [Technical Field] The present invention relates to a projection television switch machine and a standby method using a flag-guided projection television switch and a standby method. There will be something about it. [Prior Art] At present, the projection TV is composed of a power source and a light source. The light source provides a liquid crystal panel to display the daytime panel and control the tropical light generated by the light source. In general, the shutdown:, 'wind is rapid, this kind of boot action is from the standby conversion heart machine into a brother, usually have to wait - the time to wait for the system to stabilize after the dimension: the program 'that is waiting for the voltage stability of each unit of the system , complete the opening. When the system is turned off, the system is still in a high temperature state. If the money is first turned on, the system will be damaged, so it will not be able to damage the system. However, if the user accidentally touches:; when using the system = system to shut down the program, then you need to wait for the power to turn off and then turn off the system and affect the image of the product in the user's mind. , ',, at this time = the two-stage shutdown mode is provided in the prior art, and the system screen is turned off, and the screen of the system is turned off. If the other buttons are pressed under 4' Γ =, the second stage shutdown procedure is entered. If the user presses any button, the button will be ignored if it is not activated, and the system will be shut down in the second phase. The user must wait for the shutdown to complete before turning it back on. The re-entry technique provides a counter design, which is turned off after the counting-time period: the source can be turned off. This method can protect the circuit, but the power supply is turned off and the manual power is turned on for the user. Inconveniently, at this time, the conventional technology provides a shutdown procedure, first turning off the bulb and timing: and simultaneously speeding up the cooling of the fan speed, and turning off the 1309133 source after the bulb is turned off for 5 minutes. The control system of this kind of practice is concentrated in one main control block. If one of the system's programs generates an error, the next stage cannot be continued, and the program cannot be terminated. According to the above, there is provided an important subject for designing a projection television switch and a standby control method by shortening the time of switching on and off, the remedy of accidental pressing at the time of shutdown, and the handling of user remorse. SUMMARY OF THE INVENTION In order to avoid the problems caused by the centralized control system, a projection display device switching machine and a standby system and method are provided, and each component of the projection display device is regarded as a sub-control system, and each of them is independently judged. Unit, to avoid the situation where the entire program cannot be terminated due to an error. In order to improve the efficiency of the switching machine and the standby process, the present invention provides a switching machine and a standby system and method for a projection television. The sub-control system has respective state change completion flags, and serves as a guide for the priority of the program processing. This can effectively control the process of switching the machine and standby. According to the above, a control system for a projection television set includes a television program control unit having a timing control unit for delaying timing, a button control unit, a light source control unit, and a heat dissipation control unit electrically connected, And a power control unit is electrically connected to the television program control unit. A plurality of state setting flags respectively correspond to a television program control unit, a button control unit, a light source control unit, a heat dissipation control unit, and a power control unit, wherein any state setting flag is used to indicate a target state of the corresponding control unit. Most of the status completion flags correspond to the TV program control unit, the button control unit, the light source control unit, the heat dissipation control unit, and the power control unit, and any of the status completion flags are used to indicate one of the corresponding units to convert the drive. When the button control unit drives a state transition of the projection television, the television program control unit converts the light 1309133 source control unit, the heat dissipation control unit, and the power source according to a predetermined conversion sequence and using the timing control unit and completing the flag based on the plurality of states. The control unit is in compliance with a plurality of target states. Furthermore, the control method of the projection television set is applied to a projection television set comprising a plurality of control units and a program control, and the control party h A sets a plurality of state setting flags and a plurality of state completion flags. Number: two values, any one of the states, the flag is associated with any state completion flag corresponding to the unit speculation - the power supply is driven, and based on the power supply,
一未完成旗標值給複數個狀態完成旗標以及設定一目^離 值給複數個狀態設定旗標’根據複數個未完成旗標值執至^ 一預設控制程序以達到複數個狀態設定旗標之目標狀織 [實施方式】An unfinished flag value is given to a plurality of state completion flags and a set of values is set to a plurality of state setting flags 'According to a plurality of unfinished flag values to a predetermined control program to achieve a plurality of state setting flags Target target weaving [embodiment]
第-圖說明投影電視裝置·_實施例之各控制單元方塊示 意圖。紅外線控制單元110以無線方式電性連接 單元2。〇,按鍵控制單元120及顯示控制單元13== 式電性連接電視程序控制單元200。於一實施例中,顯示控制 單元130作為影像播放裝置,紅外線控制單元11〇及按鍵控制 單元120為系統操作之控制單元驅動投影電視機進行狀態轉 換。散熱控制單元210、光源控制單元220及電源控制單元^3〇 電性連接至電視程序控制單元200。當電視程序控制單元2〇〇 被驅動以進行狀態轉換時,投影電視機依一預設控制程序進行 各控制單元的狀態轉換(transformation)。於本實施例中,各_ 制單元具有狀態設定旗標(〇n〇ff Flag)、狀態完成旗標 (OnOffOk Flag)及一執行器,上述可由執行迴路或軟體程式實 作。除了與上述各控制單元類似地具有狀態設定旗標與狀態完 成旗標外,電視程序控制單元200尚包含一計時控制單元24〇 用以延遲計時。 狀態設定旗標(記為〇n〇ff)係用以指示對應的控制單元之 7 1309133 一目標狀態,例如以”〇N”對應的控制單元之一開啟狀態’及 *· 以’’OFF”對應的控制單元之一關閉狀態。狀態完成旗標(記為Fig. 1 is a block diagram showing the control unit of the projection television apparatus. The infrared control unit 110 is electrically connected to the unit 2 in a wireless manner. The button control unit 120 and the display control unit 13== are electrically connected to the television program control unit 200. In one embodiment, the display control unit 130 functions as a video playback device, and the infrared control unit 11 and the button control unit 120 drive the projection television to perform state transitions for the system-operated control unit. The heat dissipation control unit 210, the light source control unit 220, and the power control unit 〇3 are electrically connected to the television program control unit 200. When the television program control unit 2 is driven to perform state transition, the projection television performs state transition of each control unit in accordance with a preset control program. In this embodiment, each _ unit has a state setting flag (〇n〇ff Flag), a status completion flag (OnOffOk Flag), and an actuator, which can be implemented by an execution loop or a software program. In addition to having a status setting flag and a status completion flag similar to each of the above control units, the television program control unit 200 further includes a timing control unit 24 for delaying timing. The status setting flag (denoted as 〇n〇ff) is used to indicate the target state of the corresponding control unit 7 1309133, for example, one of the control units corresponding to "〇N" is turned on ' and *· is ''OFF' One of the corresponding control units is turned off. The status completion flag (marked as
OnOffOk)係用以指示對應的控制單元之一轉換驅動,例如控制 單元的狀態轉換未完成以、'!〇K〃表示,轉換已完成則標示為 &0Κ〃。執行器,例如執行控制電路、軟體函式或副程式驅動 該等控制單元執行所設定之動作,當狀態完成旗標被設為未完 ^ 成(!ΟΚ)時,執行器執行所設定之動作,當動作完成,狀態完 . 成旗標則設定為完成(0Κ)。特別說明地,計時控制單元240 用以達成該等控制單元延遲之效果,利用計時控制單元240之 φ 狀態完成旗標作為控制旗標,將計時控制單元2 4 0之狀態完成 旗標設為ΝΟΚ〃時,執行器執行計時並於計時完成後將狀態 完成旗標設為''ΟΚ〃,計時期間即為延遲時間。 投影電視機區分為穩定狀悲(stable state)狀悲及狀悲轉換 • (transformation)。穩定狀態下電視程序控制單元之狀態完成旗 標設定為、OK〃,相對地,狀態轉換中則設定為A!OK〃。再者, 穩定狀態區分為關機狀態及開機狀態,分別由電視程序控制單 元200之狀態完成旗標的ON及OFF表示。狀態轉換程序包 含開機程序及關機程序,開機程序表示系統由關機狀態進入開 φ 機狀態之程序,關機程序表示系統由開機狀態進入關機狀態之 程序。於本實施例中,狀態的轉換由紅外線控制單元110或按 鍵控制單元120之電源鍵(圖上未示)所驅動。其次,一方面於 開機狀態或關機狀態中會不斷偵測狀態轉換是否被驅動,另一 方面於關機或開機程序中則不斷偵測狀態轉換是否完成。 再者,由於開機程序啟動時需先將電源開啟穩壓後再開啟 光源及散熱系統,以保護光源的壽命,故本發明之一實施例係 利用延遲計時來開啟光源以確保光源壽命。可以理解的,關機 , 程序啟動並關閉光源後,散熱系統仍持續運轉一段時間以帶走 光源產生之熱量,之後才能真正將電源關閉,一般光源係以燈 8 1309133 泡,但因燈泡易因過熱而損毁,散熱系統則以風扇實作,以轉 • 速控制散熱效能。 根據本發明的精神之一,穩定狀態下由一主控制廻圈負責 偵測電源鍵是否被驅動及狀態轉換_之轉換程序是否已完 成,開機程序及關機程序則分別依一預定順序將系統開啟或關 閉並設定狀態完成旗標值以供主控制迴圈偵測以判斷程序是 - 否完成。第二圖即為本發明之一實施例的流程圖,說明系統之 , 主控制廻圈,解說如下: 啟動系統310,設定系統初始值311。 φ 偵測狀態完成旗標320、321 :即偵測系統之紅外線控制 單元或按鍵控制單元狀態轉換是否完成,若狀態完成旗標值 OK則表示系統並非在進行狀態轉換中或待機狀態,!OK表示 系統在轉換狀態的過程中。 偵測電源鍵322是否被驅動:系統在非狀態轉換中 (OnOffOk=OK)時能不斷進行偵測電源鍵是否被驅動之廻圈。 若電源鍵被驅動(YES)則表示系統將進行狀態轉換,此時跳出 偵測電源鍵迴圈。若未驅動(NO)則繼續進行下一次偵測,即再 次進入偵測電源鍵廻圈。 φ 設定旗標330 : —旦電源鍵被驅動(YES)後,跳出偵測電 源鍵廻圈,並連續設定各子控制單元之狀態設定旗標為反原始 設定值(OnOff = !OnOff),狀態完成旗標則設為未完成 (OnOffOkHOK)。OnOff的值可能為ON或是OFF,分別代表 開機程序或關機程序。 偵測計時控制單元之狀態完成旗標331 :系統處於轉換狀 態的過程中(OnOffOkH OK)時,彳貞測電視程序控制單元的計時 控制單元之狀態完成旗標(TIMER OnOffOk?),當狀態完成旗 , 標值= !〇K表示系統需等待延遲計時完成,進入延遲關閉偵測 之迴圈直到計時完成,旗標值=ΟΚ則表示計時完成。 1309133 偵測電視程序控制單元的狀態完成旗標332:完成延遲計 時(TIMEROnOff〇k=〇K)後,偵測電視程序控制單元狀態完成 旗標(TVOnOffOk?),旗標值=〇尺表示程序已經完成,系統進 入偵測電源鍵迴圈,旗標值= !〇κ表示系統將進行狀態轉換。 檢視電視程序控制單元的狀態設定旗標333 :檢視電視程 序控制單元的狀態設定旗標值(TV 〇n〇ff?),旗標值=〇Ν表示 要進行開機程序’旗標值=〇FF則為關機程序。 - 第三圖為開機程序的一實施例之流程圖,說明系統開機程 序,此實施例設定開機程序為依序開啟電源、光源及散熱系統。 • 偵測狀態完成旗標410 :偵測電源控制單元之狀態完成旗標 (POWER OnOffOk?),旗標值=〇κ表示電源已開啟,旗標值 . ΗΟΚ表示未開啟電源。 設定控制單元411 :開啟電源(POWER switch on)、設定電 " 源狀態完成旗標為完成(POWER OnOffOk=OK)及設定延遲計 時。 設定計時控制單元412 :設定計時器控制單元之狀態完成 旗標為未完成(TIMEROnOffOk=!OK),執行器開始計時,計時 完成後將狀態完成旗標設為完成(TIMER OnOffOk=OK)。 • 偵測狀態完成旗標420 :偵測光源控制單元之狀態完成旗 標(LAMP OnOffOk?),旗標值=OK表示光源已開啟,旗標值 ΗΟΚ表示光源未開啟。 設定控制單元421 :開啟光源(LAMP switch on)、設定狀 態完成旗標為完成(LAMP OnOffOk=OK)及設定延遲計時。 設定計時控制單元422 :設定計時器控制單元之狀態完成 旗標為未完成(TIMEROnOffOkHOK),執行器開始計時,計時 完成後將狀態完成旗標設為完成(TIMER OnOffOk^OK)。 . 偵測狀態完成旗標430 :偵測散熱控制單元散熱控制單元 之狀態完成旗標(HEAT-DISPERSANT OnOffOk?),狀態完成旗 1309133 標值=ΟΚ表示散熱系統已開啟,狀態完成旗標值= !〇Κ表示散 熱系統未開啟。 設定程序控制單元431 :開啟散熱控制單元 (HEAT-DISPERSANT switch on)、設定狀態完成旗標為完成 (HEAT-DISPERSANT OnOffOk=OK)及設定延遲計時。 設定計時控制單元432 :設定計時器控制單元之狀態完成 旗標為未完成(TIMER OnOffOkHOK),執行器開始計時,計時 - 完成後將狀態完成旗標設為完成(TIMER OnOffOk=OK)。 設定狀態完成旗標440 :設定電視程序控制單元之狀態旗 # 標為完成(TVOnOffOk=OK),表示開機程序完成,並將紅外線 控制單元及按鍵控制單元之狀態完成旗標設為完成、、OK,。 . 開機延遲時間足夠使電源穩定始將光源開啟,或於延遲時 間内散熱系統加速運轉以達穩定確保系統所產生的熱量能夠 ' 被帶走。 第四圖為關機程序的一實施例之流程圖,說明系統關機程 序’此實施例設定關機程序依序為關閉光源、關閉散熱系統及 關閉電源。 偵測狀態完成旗標510 :偵測光源程序控制單元之狀態完 # 成旗標(LAMPOnOffOk?),旗標值=〇K表示光源程序控制單元 已關閉,旗標值= !ΟΚ表示光源未關閉。 設定程序控制單元511 :關閉光源(LAMP switch off)、設 定光源程序控制單元之狀態完成旗標為完成(LAMP 0n0ff0k=0K)及設定延遲計時。 設定計時控制單元512 :設定計時控制單元之狀態完成旗 標為未完成(TIMER OnOffOk=!OK),執行器開始計時,計時完 成後將狀態完成旗標設為完成(TIMER OnOffOk=OK)。 # 偵測狀態完成旗標520 :偵測散熱控制單元之狀態完成旗 標(HEAT-DISPERSANT OnOffOk?) ’旗標值=〇K表示散熱系統 11 1309133 已關閉,旗標值= !ΟΚ表示散熱系統未關閉。 設定程序控制單元521 :關閉散熱系統 (HEAT-DISPERSANT switch Off)、設定散熱控制單元之狀態完 成旗標為完成(HEAT-DISPERSANT 0n0ff0k=0K)及設定延遲 計時。 設定狀態完成旗標522 :設定計時控制單元之狀態完成旗 標為未完成(TIMER 0n0ff0k=!0K),執行器開始計時,計時完 成後將狀態完成旗標設為完成(TIMER 0n0ff0k=0K)。 偵測狀態完成旗標530 :偵測電源控制單元之狀態完成旗 標(POWEROnOffOk?),旗標值=0K表示電源已關閉,旗標值 = !ΟΚ表示電源未關閉。 設定程序控制單元531 :關閉電源(POWER switch Off)、 設定狀態完成旗標為完成(POWER OnOffOk=OK)及設定延遲 計時。 設定狀態完成旗標532 :設定計時控制單元之狀態完成旗 標為未完成(TIMER OnOffOk=!OK)執行器開始計時,計時完成 後將狀態完成旗標設為完成(TIMER OnOffOk=OK)。 設定狀態完成旗標540 :設定電視程序控制單元之狀態完 成旗標為完成(TVOnOffOk=OK),表示關機程序完成,並將紅 外線控制單元及按鍵控制單元之狀態完成旗標設為完成 'W。 根據本發明之精神之一,關機延遲時間足夠讓光源溫度降 至低溫並達到可開機之溫度,且為了縮短關機時間,可於延遲 時間内加速散熱系統運轉。關於誤觸電源建的判斷處理方式 是,若於延遲時間内偵測到其他控制鍵被按下時,則將電源開 啟並恢復狀態完成旗標,系統可迅速重新開啟。 以上實施例,主要是透過狀態設定旗標、狀態完成旗標、 一執行電路或函式(Switch)及計時器之延遲效果,達到主控制 12 1309133 廻圈及開機及關機程序之流程,利用程式軟體完成或利用ic 設計實現皆可達成狀態轉換程序之控制方法。 唯以上所述,僅為本發明之較佳實施例,當不能以之限制 本發明的範圍。即大凡依本發明申請專利範圍所做之均等變化 及修飾,仍將不失本發明之要義所在,亦不脫離本發明之精神 及範圍,故都應視為本發明之進一步實施狀況。 【圖式簡單說明】 第一圖為根據本發明之一實施例之投影電視各單元方塊圖。 第二圖為根據本發明之一實施例之系統主控制廻區流程圖。 第三圖為根據本發明之一實施例之系統開機程序流程圖。 第四圖為根據本發明之一實施例之系統關機程序流程圖。 【主要元件符號說明】 100 多功能控制模組 400 開機程序 110 紅外線控制單元 410 偵測狀態完成旗標 120 按鍵控制單元 411 設定程序控制單元 130 顯示控制單元 412 設定計時控制單元 200 電視程序控制單元 420 偵測狀態完成旗標 210 散熱控制單元 421 設定程序控制單元 220 光源控制單元 422 設定計時控制單元 230 電源控制單元 430 偵測狀態完成旗標 310 啟動系統 431 設定程序控制單元 311 設定初始值 432 設定計時控制單元 320 偵測狀態完成旗標 440 設定狀態完成旗標 321 偵測狀態完成旗標 500 關機程序 322 偵測電源鍵 510 4貞測狀態完成旗標 330 設定狀態設定旗標 511 設定程序控制單元 13 1309133 331 偵測狀態完成旗標 512 設定計時控制單元 332 偵測狀態完成旗標 520 偵測狀態完成旗標 333 檢視狀態設定旗標 521 設定程序控制單元 240 計時控制單元 522 設定計時控制單元 530 偵測狀態完成旗標 531 設定程序控制單元 532 設定計時控制單元 540 設定狀態完成旗標 14OnOffOk) is used to indicate one of the corresponding control units to convert the drive. For example, the state transition of the control unit is not completed, and the value of '!〇K〃 is indicated, and the conversion is completed and marked as &0Κ〃. An actuator, such as an execution control circuit, a software function, or a subprogram, drives the control units to perform the set actions. When the status completion flag is set to not completed (!ΟΚ), the actuator performs the set action. When the action is completed, the status is completed. The flag is set to complete (0Κ). Specifically, the timing control unit 240 is configured to achieve the effect of the delay of the control units, and uses the φ state completion flag of the timing control unit 240 as a control flag to set the state completion flag of the timing control unit 240 to ΝΟΚ. When 〃, the actuator performs timing and sets the status completion flag to ''ΟΚ〃 after the timing is completed, and the delay time is the time period. The projection TV is divided into a stable state of sadness and a sadness transformation (transformation). In the steady state, the status completion flag of the TV program control unit is set to OK, and relatively, in the state transition, it is set to A!OK. Furthermore, the steady state is divided into a power-off state and a power-on state, which are respectively indicated by ON and OFF of the state completion flag of the television program control unit 200. The state transition program includes a boot program and a shutdown program. The boot program indicates that the system enters the state of turning on the machine from the power-off state, and the shutdown program indicates that the system enters the power-off state from the power-on state. In the present embodiment, the state transition is driven by the infrared control unit 110 or the power button (not shown) of the key control unit 120. Secondly, on the one hand, the state transition is continuously detected during the power on state or the power off state, and the state transition is continuously detected in the shutdown or boot process. Moreover, since the power source and the heat dissipation system are turned on after the power-on program is started, the light source and the heat dissipation system are turned on to protect the life of the light source. Therefore, an embodiment of the present invention uses the delay timing to turn on the light source to ensure the life of the light source. Understandably, after the program is turned off and the light source is turned off, the heat dissipation system continues to run for a period of time to take away the heat generated by the light source, and then the power is turned off. Generally, the light source is lighted by the lamp 8 1309133, but the light bulb is easily overheated. In the case of damage, the cooling system is implemented by a fan to control the heat dissipation performance at a speed. According to one of the spirits of the present invention, in a steady state, a main control loop is responsible for detecting whether the power button is driven and the state transition _ conversion procedure has been completed, and the booting procedure and the shutdown procedure respectively turn the system on in a predetermined order. Or close and set the status completion flag value for the main control loop detection to determine if the program is - no. The second figure is a flow chart of an embodiment of the present invention, illustrating the system, the main control loop, and the explanation is as follows: The system 310 is started, and the system initial value 311 is set. φ detection status completion flag 320, 321 : that is, whether the state control of the infrared control unit or the button control unit of the detection system is completed. If the status completion flag value is OK, the system is not in the state transition or standby state! OK means the system is in the process of transitioning state. Detect whether the power button 322 is driven: the system can continuously detect whether the power button is driven or not during the non-state transition (OnOffOk=OK). If the power button is driven (YES), the system will perform a state transition, and the detection power button will exit the loop. If it is not driven (NO), continue to the next detection, that is, enter the detection power button again. φ Set flag 330: After the power button is driven (YES), the detection power button is turned off, and the status setting flag of each sub-control unit is continuously set to the reverse original setting value (OnOff = !OnOff). The completion flag is set to incomplete (OnOffOkHOK). The value of OnOff may be ON or OFF, which means the boot program or shutdown program. Detecting the status completion flag of the timing control unit 331: When the system is in the transition state (OnOffOkH OK), the status of the timing control unit of the TV program control unit is completed (TIMER OnOffOk?), when the status is completed. Flag, value = !〇K indicates that the system needs to wait for the delay to complete, enter the loop of the delayed close detection until the timing is completed, and the flag value = 表示 indicates that the timing is completed. 1309133 Detecting the status completion flag 332 of the television program control unit: after completing the delay timer (TIMEROnOff 〇 k = 〇 K), detecting the TV program control unit status completion flag (TVOnOffOk?), the flag value = the ruler indicating the program Already completed, the system enters the detection power key loop, and the flag value = !〇κ indicates that the system will perform state transition. View the status setting flag 333 of the TV program control unit: View the status setting flag value of the TV program control unit (TV 〇n〇ff?), the flag value = 〇Ν indicates that the booting procedure is to be performed, 'flag value = 〇 FF Then it is the shutdown program. - The third figure is a flow chart of an embodiment of the booting process, illustrating the system booting procedure. In this embodiment, the booting process is set to sequentially turn on the power, the light source, and the heat dissipation system. • Detection Status Completion Flag 410: Detects the status completion flag (POWER OnOffOk?) of the power control unit. The flag value = 〇 κ indicates that the power is on, the flag value. ΗΟΚ indicates that the power is not turned on. The setting control unit 411: POWER switch on, set power " source state completion flag is completed (POWER OnOffOk = OK) and set delay timer. The setting timing control unit 412: sets the state completion of the timer control unit to be incomplete (TIMEROnOffOk=!OK), the actuator starts timing, and the status completion flag is set to completion (TIMER OnOffOk=OK) after the timing is completed. • Detection Status Completion Flag 420: Detects the status completion flag (LAMP OnOffOk?) of the light source control unit. The flag value = OK indicates that the light source is turned on, and the flag value ΗΟΚ indicates that the light source is not turned on. The setting control unit 421: turns on the light source (LAMP switch on), sets the state completion flag to completion (LAMP OnOffOk = OK), and sets the delay timing. Setting the timing control unit 422: setting the state completion of the timer control unit flag is not completed (TIMEROnOffOkHOK), the actuator starts timing, and the status completion flag is set to completion (TIMER OnOffOk^OK) after the timing is completed. Detection status completion flag 430: Detecting the status completion flag (HEAT-DISPERSANT OnOffOk?) of the heat dissipation control unit of the heat dissipation control unit, the status completion flag 1309133 value = ΟΚ indicates that the heat dissipation system is turned on, and the status completion flag value = !〇Κ indicates that the cooling system is not turned on. The setting program control unit 431: activates the HEAT-DISPERSANT switch on, sets the status completion flag to completion (HEAT-DISPERSANT OnOffOk=OK), and sets the delay timing. The setting timing control unit 432: sets the state completion of the timer control unit flag is not completed (TIMER OnOffOkHOK), the actuator starts timing, and the timing-completed state complete flag is set to completion (TIMER OnOffOk=OK). Set status completion flag 440: Set the status flag of the TV program control unit # marked as complete (TVOnOffOk=OK), indicating that the boot process is completed, and set the status completion flag of the infrared control unit and the button control unit to completion, OK ,. The power-on delay time is sufficient to stabilize the power supply to turn the light on, or to accelerate the cooling system for a stable period of time to ensure that the heat generated by the system can be 'taken away. The fourth figure is a flow chart of an embodiment of the shutdown procedure, illustrating the system shutdown procedure. This embodiment sets the shutdown procedure to turn off the light source, turn off the heat dissipation system, and turn off the power. Detection status completion flag 510: The status of the detection light source program control unit is finished #成标标(LAMPOnOffOk?), the flag value = 〇K indicates that the light source program control unit is turned off, the flag value = !ΟΚ indicates that the light source is not turned off. . The setting program control unit 511: turns off the light source (LAMP switch off), sets the state completion flag of the light source program control unit to completion (LAMP 0n0ff0k=0K), and sets the delay timing. The setting timing control unit 512: sets the state completion flag of the timing control unit to be incomplete (TIMER OnOffOk=!OK), the actuator starts timing, and the state completion flag is set to completion (TIMER OnOffOk=OK) after the timing is completed. #Detect Status Completion Flag 520: Detecting the status completion flag of the thermal control unit (HEAT-DISPERSANT OnOffOk?) 'Flag value=〇K indicates that the cooling system 11 1309133 is turned off, the flag value = !ΟΚ indicates the cooling system Not closed. The setting program control unit 521: closes the heat dissipation system (HEAT-DISPERSANT switch Off), sets the state completion flag of the heat dissipation control unit to completion (HEAT-DISPERSANT 0n0ff0k=0K), and sets the delay timing. Set status completion flag 522: Set the status completion flag of the timing control unit to incomplete (TIMER 0n0ff0k=!0K), the actuator starts timing, and the status completion flag is set to completion (TIMER 0n0ff0k=0K) after the timing is completed. Detection status completion flag 530: Detects the status completion flag of the power control unit (POWEROnOffOk?), flag value = 0K indicates that the power is off, and flag value = ! ΟΚ indicates that the power is not off. The setting program control unit 531: POWER switch Off, the setting status completion flag is completed (POWER OnOffOk = OK), and the setting delay time is set. Set status completion flag 532: Set the status completion flag of the timing control unit to incomplete (TIMER OnOffOk=!OK). The actuator starts timing, and the status completion flag is set to completion (TIMER OnOffOk=OK). Set status completion flag 540: Set the status completion flag of the TV program control unit to completion (TVOnOffOk=OK), indicating that the shutdown procedure is completed, and set the status completion flag of the infrared control unit and the button control unit to completion 'W. According to one of the spirits of the present invention, the shutdown delay time is sufficient to allow the temperature of the light source to drop to a low temperature and reach a temperature at which it can be turned on, and in order to shorten the shutdown time, the heat dissipation system can be accelerated in a delay time. The judgment processing method for the accidental power supply establishment is that if other control keys are detected during the delay time, the power is turned on and the status completion flag is restored, and the system can be quickly turned back on. In the above embodiment, mainly through the state setting flag, the status completion flag, an execution circuit or a function of a switch (Switch) and a timer, the main control 12 1309133 loop and the startup and shutdown procedures are executed. The completion of the software or the implementation of the ic design can achieve the control method of the state transition program. The above is only the preferred embodiment of the present invention, and the scope of the present invention is not limited thereto. It is to be understood that the scope of the present invention is not limited by the spirit and scope of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS The first figure is a block diagram of various units of a projection television according to an embodiment of the present invention. The second figure is a flow chart of a system main control zone according to an embodiment of the present invention. The third figure is a flow chart of a system booting procedure in accordance with an embodiment of the present invention. The fourth figure is a flow chart of a system shutdown procedure in accordance with an embodiment of the present invention. [Main component symbol description] 100 multi-function control module 400 startup program 110 infrared control unit 410 detection status completion flag 120 button control unit 411 setting program control unit 130 display control unit 412 setting timing control unit 200 television program control unit 420 Detection status completion flag 210 Thermal control unit 421 Setting program control unit 220 Light source control unit 422 Setting timing control unit 230 Power control unit 430 Detection status completion flag 310 Activation system 431 Setting program control unit 311 Setting initial value 432 Setting timing The control unit 320 detects the status completion flag 440. Sets the status completion flag 321 detection status completion flag 500 shutdown program 322 detection power button 510 4 detection status completion flag 330 setting status setting flag 511 setting program control unit 13 1309133 331 Detection status completion flag 512 Setting timing control unit 332 Detection status completion flag 520 Detection status completion flag 333 View status setting flag 521 Setting program control unit 240 Timing control unit 522 Setting timing control Unit 530 Detect Status Completion Flag 531 Set Program Control Unit 532 Set Timing Control Unit 540 Set Status Completion Flag 14