經濟部中央標準局貝工消費合作杜印製 A7 B7五、發明説明(1 ) 〔產業上之利用領域〕 本發明有關,對於顯示在顯示畫面上之靶子以模擬鎗手 段打靶,按中靶位置與靶子之位置關係,以控制電玩之進行 的打靶電玩裝置。 〔先行技術〕 先行的此種打靶電玩裝置有如,在模擬鎗設受光單元, 當玩家扣模擬鎗的板擊之同時,使顯示裝置之顯示畫面變白 ,由顯示裝置之角落依序對於白畫面進行光柵掃描,以受光 單元由此光柵掃描盡面受光之時刻(亦即光柵掃描位置), 檢測出中靶位置者。 〔發明所欲解決之課題〕 然而,上述先行的打靶電玩裝置,有如下之問題點:存 在: (1 )每當拉模擬鎗之板擊時,顯示耋面變白,此白畫 面的光線强度容易刺激眼睛,不但妨礙電玩畫面的畫質,且 可能使玩家眼睛產生閃爍。 (2 )不切換爲白畫面則無法檢測出中靶位置,因而中 靶位置的中靶時之位置顯示等需要連績檢測時,有連績檢測 困難之情形。也就是,即使,使電玩盡面與白盡面交替顯現 ,也只能以電玩畫面重寫畫面的一倍周期之間隔的速率檢測 出。 因而有,將顯示於顯示裝置之畫面以半透明鏡反射引導 (請先閲讀背面之注意事項再填寫本頁) .裝. 訂 線 本紙張尺度適用中國國家標準(CNS ) A4規格(210X297公釐) 經濟部中央樣準局負工消费合作社印製 ^"430 λ7 ____Β7 五、發明説明(2 ) 之同時,在半透明鏡後面以矩陣狀配置發光單元,使由發光 單元所發出之光線重複於晝像,以發光單元的光線之受光位 置檢測出中靶位置的打靶電玩裝置之提案(實開平2 — 6 5 9 8 3號公報)。然而,此種打靶電玩裝置,需要將很 多發光單元以矩陣狀配置,而且需要正確的對正發光單元與 顯示裝置之畫像,所以構成複雜且組裝,配置需有精密度之 要求。 另外,也有在靶子中央所設光源之位置,以設於鎗枝內 部之半導體位置檢測單元檢測,以檢測出中靶位置的鎗枝打 靶裝置之提案(特開昭6 0 — 1 1 1 6 7 6號公報),但此 種鎗枝打靶裝置係因靶子爲固定的,所以才能在其中央也就 是固定位置配置光源,至於時時刻刻變化的電玩畫面,甚至 具有其位置隨時會變化的靶子之打靶電玩裝置,則難於適用 Ο 本發明有鑑於上述問題而爲,其目的在於提供,以簡單 的構成而可正確檢測出模擬鎗的中靶位置之打靶電玩裝置。 〔爲解決課題之手段〕 申請專利範圍第1項之發明,適用於具有,具有顯示標 的之顯示畫面的顯示手段與,射擊靶子的模擬鎗手段,之打 靶電玩裝置。而上述目的以設置,配置在顯示畫面近旁的至 少一個目檫與,攝取模擬鎗手段的鎗口方向之攝像領域的攝 像手段與,檢測出由攝像手段所獲得畫像內的目標之位置的 位置檢測手段與,以位置檢測手段所檢測出的目標之位置, 本紙張尺度適用中國國家標準(CNS ) A4規格(2丨ο X 297公釐〉 (請先閱讀背面之注意事項再填寫本頁) .裝· 訂 經濟部中央標隼局員工消費合作社印袈 A7 B7 五、發明説明(3 ) 檢測出模擬鎗手段在顯示畫面上的中靶位置之中靶位置檢測 位段,而得達成。 在攝像手段設置,將由攝像領域送來的電磁波每一掃描 均能顯像一次的,以矩陣狀配置的顯像單元時,位置檢測手 段以攝像手段的每一掃描之攝像信號檢測出目標的位置也可 以。 再者,在位置檢測手段設置,轉送攝像手段所獲得的攝 像信號之幀存儲與,指示幀存儲之至少一部分的領域之領域 手段時,針對領域指示手段所指示之領域,讀取幀存儲之記 憶內容,以讀取之內容檢測出目標的位置也可以。 而且,在位置檢測手段位置,對應於領域指示手段所指 示的領域之幀存儲的記憶內容,計算出攝取目標的顯像單二 計數手段與,計算以計數手段所計數在幀存儲上的顯像單元 之座標値的座標値計算手段時,以計數手段及座標計算手段 之輸出,檢測出目標位置也可以。 設置至少兩個目標也可以,在此場合,領域指示手段根 據攝像手段所送來的攝像信號,將領域設定成在一個領域內 只有一個目標有所對應也可以。 設置,根據顯像單元上的目標間之距離與實際的目標間 之距離,以推測模擬鎗手段與顯示畫面之間的距離之距離推 測手段也可以。再者,當目標輸出可視領域以外的波長之電 磁波時,使攝像手段能選擇接收由目標送來的電磁波也可以 本紙張尺度適用中國國家標準(CNS ) Μ規格(210X 297公釐) - - -i nn ^^^1 n I (請先閲讀背面之注意事項再填寫本頁) 訂 線 經濟部中央標準局員工消費合作社印聚 A7 B7 五、發明説明(4 ) 〔作用〕 一申請專利範圍第1項一 位置檢測手段檢測出由攝像手段所獲得的畫像內之目標 的位置,中靶位置檢測手段由位置檢測手段所檢測出的目標 之位置檢測模擬鎗手段在顯示畫面上的中靶位置。 —申請專利範圍第2項一 配置成矩陣狀的顯像單元把由攝像領域送來的電磁波每 一掃描均予顯像,位置檢測手段由攝像手段的每一掃描之攝 像信號檢測出目標的位置。 一申請專利範圔第3項_ 領域指示手段指示幀存儲之至少一部分領域,位置檢測 手段針對領域指示手段所指示之領域讀取幀存儲之記憶內容 ,由讀取之內容檢測出目標的位置。 一申請專利範圍第4項一 計數手段由對應於領域指示手段的領域之幀存儲的記憶 內容計算出攝取目標後的顯像單元之個數,座標値計算手段 計算出由計數手段所計算出的顯像單元在幀存儲上之座標値 。而位置檢測手段則由此等計數手段及座標値計算手段之輸 出檢測出目標的位置。 一申請專利範圍第5項一 領域指示手段根據攝像手段所送來的攝像信號決定領域 使1個領域內對應1個目標。 一申請專利範圍第6項一 位置檢測手段檢測出至少設置了兩個目標的各個位置, 本紙張尺度適用中國國家標準(CNS ) A4規格(210X297公釐) (請先閲讀背面之注意事項再填寫本頁) .裝. 訂 A7 B7 經濟部中央標準局貝工消費合作杜印製 五、發明説明(5 ) 中靶位置檢測手段由複數個目標位置檢測出模擬鎗之中靶位 置0 一申請專利範圍第7項一 距離推測手段根據顯像單元上的目標間之距離與實際距 離,測定出模擬鎗手段與顯示畫面之間的距離。 一申請專利範圍第8項_ 攝像手段選擇性的接收由輸出可視領域以外的波長之電 磁波的目標所傳送的電磁波。 〔實施例〕 以下參照圖面詳細說明本發明之實施例。 圖1表示本發明的一實施例之打靶電玩裝置的全體構成 之透視側面圖,圖2爲透視正面圓。此等圆中,1爲電玩裝 置之筐體,筐體1前面則設有顯示用銀幕1 a。2爲收納於 筐體1內之投影器,而根據後述的電玩控制電路5所送來的 影像信號,將電玩畫面形成用的光線投影於投影部2 a前面 。本實施例,投影器2之投影光係往筐體1後方投射,而由 設於筐體1內後部的半透明鏡3將其光路往筐體1前方折射 ,投影於顯示用銀幕1 a。由此,電玩畫面乃得顯現於顯示 用銀幕1 a。 4爲同樣收納於筐體1內之紅外線投射裝置,如將示於 圖2,由左右裝設一對之投光部4 a,4 b投射光點狀之紅 外線光束。於本實施例,由紅外線投光裝置4所投射出之一 對紅外線光束亦投影於筐體1之後方,經由半透明鏡3將其 本紙張尺度適用中國國家標準(CNS > A4規格(210X297公釐) (請先閲讀背面之注意事項再填寫本頁) -裝. 訂 線 經濟部中央標準局員工消費合作社印製 A7 ___Β7__ 五、發明説明(6 ) 光路折返到筐體1前面,而投影在顯示用銀幕1 a。在顯示 用銀幕1 a上面,紅外線光點之位置,可經由變更紅外線投 光裝置4之位置或由其位置之投光光路,而自由調整。另外 ,於本實施例,紅外線光點L S之投影位置,定在顯示用銀 幕la之左右兩端〔請參照圚2及圖4 (a)〕。但,紅外 線光具有可視領域外之波長,所以電玩裝置之玩家無法視認 Ο 5爲電玩控制電路,最好是形成在1張基板上。該電玩 控制電路5,包含存儲電玩程序等之ROM,存儲寊行程序 時所需要之變數等之RAM,實行電玩程序以產生所需要的 電玩畫面之處理電路,及所需要的接口電路等的周邊電路等 。對於電玩控制電路5,有由後述之位置檢測電路6的,後 述之模擬鎗1 0的中靶位置資料之输入,又,向投影器2及 紅外線投光裝置4,各有電玩畫面產生用影像信號及投光部 點燈用電源信號之輸出。這裡的所謂電玩畫面,是指包括以 模擬鎗10打靶時的靶子之靜止畫像或動畫像而言。 \ 6爲位置檢測電路,最好是形成在1張基板上。該位置 檢測電路,根據模擬鎗1 0送出的攝像信號檢測出模擬鎗之 中靶位置,並將中靶位置資料輸出到電玩控制電路5。於本 實施例’如圖2所示有3個攝像信號.輸入口 6 a〜6 c設在 位置檢測電路6,而可連接3支模擬鎗1 〇。有關位置檢測 電路6 ,待後詳述。 1 〇爲模擬實鎗形狀的模擬鎗,亦設有類似實鎗的搖動 自如之板擊11。該模擬鎗10內藏有,經玩家扣板擊}i I紙尺度適用中家標準(CNS ) A4規格(2!〇X297公釐)' (請先閲讀背面之注意事項再填寫本頁) 訂 經濟部中央橾準局貝工消費合作社印製 A7 B7 五、發明説明(7 ) 而產生板擊信號的板擊信號產生電路(未圖示),板擊信號 則介由位置檢測電路6而输出到電玩控制電路5。 模擬鎗1 0的鎗口部1 0 a之內部,介由橡皮等防霣構 件1 2,內藏有CCD攝影器1 3。此處所謂CCD攝影器 1 3 ,是指以CCD感知器(未圖示)爲攝像單元,將感知 器受光面上之光强度分布畫像化者,於本實施例則使用對於 紅外線領域亦有充分感度的CCD領域感知器。CCD攝影 器1 3,在模擬鎗1 0內配置成,可將模擬鎗1 0的鎗口 方向正前方的一片景像攝取的狀態,而CCD攝影器13之 攝像信號則輸出到位置檢測電路6。於本實施例配置成, CCD攝影器13之受光面與,沿艙口方向之中心軸(等於 顯示用銀幕1 a上的中靶位置與模擬鎗1 0之連結軸線)成 爲直交之狀態。 14爲成像鏡頭,15爲紅外線濾鏡片,而分別配置在 CCD感知器的受光面前面。再詳細說,成像鏡頭14之焦 點距離及與CCD感知器之間的距離,定成在CCD感知器 的受光面上能結成鮮明的畫像之狀態。而,紅外線濾鏡片 1 5係只容許具有紅外線領域波長的光線透過,最好是,只 容許對應於紅外線投影裝置4的紅外光之波長的光線透過之 構成。 圖3係,爲詳細說明位置檢測電路6之方塊圚。 雙態化處理電路6 2,係將CCD攝影器1 3所攝取的 晝像轉變成髙,低之雙態資料並導引至幀存儲。於此處理, 雙態化電平(亦即門檻値)係隨受光感度而變更基準電壓以 本紙張尺度適用中國國家標準(CNS ) A4規格(210 X 297公釐) n^— n^i * 1— - I - I - — 1- 士 (請先閲讀背面之注意事項再填寫本頁) 訂 線 10 A7 B7 經濟部中央標準局員工消費合作社印製 五、發明説明( 8 ) 1 調 整 成 適 正 水 準 〇 幀 存 儲 6 0 備 有 9 各 白 Cki 與 C C D 攝 影 器 1 I 1 3 之 像 素 數 一 致 或 相 對 應 之 記 憶 容 量 的 幀 存 儲 6 0 1 9 1 1 I 6 0 2 並 按 選 擇 可 交 互 切 換 成 每 —~- 場 周 期 ( 幀 周 期 之 1 1 I 1 / 2 ) 或 每 -- 幀 周 期 而 記 憶 畫 像 資 料 之 構 成 0 於 本 實 施 例 請 先 1 1 > C C D 攝 影 器 1 3 係 輸 出 縱 5 1 2 像 素 X 橫 5 1 2 像 素 之 W 讀 背 1 1 畫 像 資 料 > 而 相 對 應 的 定 有 幀 存 儲 6 0 1 9 6 0 2 之 記 億 容 面 之 注 1 I 意 1 1 量 及 地 址 0 事 項 卜 再 1 1 6 3 係 爲 作 爲 幀 存 儲 6 0 的 寫 入 地 址 之 寫 入 址 址 產 生 電 填 寫 本 1 路 9 例 如 输 出 1 4 Μ Η Ζ 的 基 準 時 鐘 脈 衝 之 基 準 時 鐘 產 生 電 頁 1 | 路 6 3 1 與 > 產 生 Η 、 V 地 址 之 Η V 計 數 器 6 3 2 所 構 成 ! 1 | 〇 Η 、 V 計 數 器 6 3 2 係 用 以 輸 出 以 與 場 周 期 同 步 的 速 度 1 1 I 掃 描 幀 存 儲 6 0 的 全 地 址 之 寫 入 地 址 而 將 由 雙 態 化 處 理 電 1 訂 路 6 2 送 來 的 雙 態 資 料 交 互 寫 入 幀存儲 6 0 1 9 6 0 2 之 1 1 方 〇 1 1 6 4 係 用 以 產 生 9 對 於 幀 存 儲 6 0 內 的 所 定 領域 ( 以 下 | 稱 爲 計 數 方 塊 ) 之 讀 出 地 址 的 讀 出 地 址 產 生 電 路 9 係 由 設 定 線 I 計 數 方 塊 的 起 始 位 置 之 計 數 位 置 控 制 器 6 4 1 與 9 Η > V 計 1 1 I 數 器 6 4 2所 構 成 0 讀 出 地 址 產 生 電 路 6 4 係 在 後 述 的 初 期 1 1 1 位 置 認 知 處 理 之 後 才 動 作 , 係 根 據 由 位 置 檢 測 用 C Ρ U 6 1 1 1 所 供 給 的 計 數 方 塊 之 起 始 地 址 ( Η > S V S ) 與 計 數 方 塊 尺 寸 1 1 資 料 5 而 產 生 計 數 方 塊 之 讀 出 地 址 〇 由 此 9 僅 讀 出 相 關 計 數 1 1 方 塊 內 雙 態 資 料 0 1 1 C C D 攝 影 器 控 制 器 6 6 , 係 用 以 根 據 基 準 時 鐘 產 生 電 1 I 路 之 基 準 時 鐘 以 產 生 同 步 信 號 與 攝 影 器 同 步 信 號 9 並 以 此 等 1 1 1 本紙張尺度適用中國國家標準(CNS ) A4規格(2丨OX297公釐) 經濟部中央標準局貝工消費合作社印製 本紙張尺度適用中國國家榡準< CNS ) Α4規格(210X297公釐) A7 B7 五、發明説明(9 ) 同步信號,對於幀存儲之切換或幀存儲之地址產生,控制 CCD攝影器13之掃描周期及此等的時機之同步。 6 7 1 、6 7 2係做爲觸排選擇器之多路轉換器,其中 多路轉換器6 7 1把由H、V計數器6 3 2、6 4 2及位置 檢測用CPU 6 1送來的PC地址適宜切換並導引至幀存儲 6 0,而多路轉換器6 7 2則切換幀存儲6 0 1、6 0 2之 輸出端。 6 8爲資料累稹電路,係由累加電路6 8 1 ,閂鎖電路 6 8 2及點計數器6 8 3所構成。累積結果所引導至位置檢 測用CPU6 1 ,而由累積結果如後述計算出中靶位置。 圖4係爲說明資料累積電路68的動作之圓,(a)表 示目視CCD攝影器1 3之視野內的顯示用銀幕1 a時之狀 態,(b)爲攝取示於(a)的顯示用銀幕la時之CCD 攝影器13之畫像,(c)爲擴大計數方塊BL之圖。 在以下之說明,除了另有聲明之外,顯示用銀幕1 a的 橫方向爲Η軸,縱方向爲V軸,而座標原點則配置在顯示用 銀幕1 a之左上角。同樣的,CCD攝影器1 3的畫像之橫 方向爲X軸,縱方向爲Y軸,圖4 (b)的左上之座標値爲 (1、1),右下之座標値爲(512,512)。 在圚4 (a),有電玩畫面GP投影在顯示用銀幕la ,且,在其左右兩端各投影有紅外線光點LS1,LSr。在 H4 (b),有對應於左右紅外線光點LS^LSr之紅外 線光像素資料D:,Dr以髙電平攝成像。另外,BL表示計 數方塊。 -12 - ---------1------,ΤΓ------^ (請先閲讀背面之注意事項再填寫本 經濟部中央標準局貝工消費合作杜印製 A7 ____B7_ 五、發明説明(10) 於圖4 (C),計數方塊BL內的各方格表示CCD攝 影器1 3之像素,亦即幀存儲6 0之各地址。計數方塊BL 左上端(Hs、Vs)爲計數方塊之起始地址,係由計數位置 控制器6 4 1所設定。而H、V計數器6 4 2則起始地址( HS,VS)往列方向〔圖4 (c)箭號所示方向〕,以如(Du Printed A7 B7 by Beigong Consumer Cooperation, Central Bureau of Standards, Ministry of Economic Affairs V. Description of the invention (1) [Industry application field] The present invention relates to the target displayed on the display screen is simulated by the gun, and the target position is clicked. A target video game device that controls the progress of the video game in relation to the position of the target. [Advance Technology] This type of prior-art target video game device is similar to a light-receiving unit in a simulated gun. When the player buckles the board shot of the simulated gun, the display screen of the display device turns white, and the corner of the display device sequentially orders the white screen. Raster scan is performed to detect the target position at the time when the light-receiving unit receives light from the entire raster scan (that is, the raster scan position). [Problems to be solved by the invention] However, the above-mentioned prior target video game device has the following problems: There are: (1) When the board shot of the simulated gun is pulled, the display surface turns white, and the light intensity of this white screen It is easy to irritate the eyes, not only hinders the picture quality of the video game screen, but also may cause the player's eyes to flicker. (2) The mid-target position cannot be detected without switching to the white screen. Therefore, when the continuous target detection is required for the mid-target position, such as the mid-target position display, it may be difficult to detect the continuous target. That is, even if the end of the video game is displayed alternately with the end of the white video, it can only be detected at a rate that rewrites the video game screen at an interval of one cycle. Therefore, the screen displayed on the display device is guided by the reflection of the translucent mirror (please read the precautions on the back before filling in this page). Binding. The paper size of the binding book is applicable to the Chinese National Standard (CNS) A4 specification (210X297 mm ) Printed by the Consumer Labor Cooperative of the Central Prototype Bureau of the Ministry of Economic Affairs ^ " 430 λ7 ____ Β7 5. Invention Description (2) At the same time, the light-emitting units are arranged in a matrix behind the translucent mirror to repeat the light emitted by the light-emitting units In the daytime image, the target video game device that detects the middle target position by the light receiving position of the light of the light emitting unit (Shikai Hei 2-6 5 9 8 3) However, in such a target video game device, many light-emitting units need to be arranged in a matrix, and the portraits of the light-emitting units and the display device need to be correctly aligned. Therefore, the structure is complicated and assembled, and the arrangement requires precision requirements. In addition, there is also a proposal to detect the position of the light source provided in the center of the target with a semiconductor position detection unit provided inside the gun to detect the middle target position of the gun (Patent Open 6 0 — 1 1 1 6 7 (Gazette No. 6), but this kind of gun shooting device is because the target is fixed, so the light source can be arranged in the center, that is, a fixed position, as for the video game screen that changes from moment to moment, even with a target whose position changes at any time The target video game device is difficult to apply. The present invention has been made in view of the above problems, and its object is to provide a target video game device that can accurately detect the center position of the simulated gun with a simple structure. [Means to solve the problem] The invention claimed in item 1 is applicable to display devices having a display screen with a display target, a simulated gun device to shoot a target, and a target video game device. The above purpose is to set and arrange at least one eyepiece near the display screen, to capture the imaging means in the imaging area of the muzzle direction of the simulated gun means, and to detect the position of the target within the image obtained by the imaging means Means and the position of the target detected by the position detection means, this paper scale is applicable to the Chinese National Standard (CNS) A4 specification (2 丨 ο X 297mm) (please read the precautions on the back before filling this page). Binding · Order A7 B7 of the Central Standard Falcon Bureau Employee Consumer Cooperative V. Invention Description (3) The detection position of the target position among the middle target positions on the display screen is detected by the simulated gun means, and it is achieved. Means setting, the electromagnetic wave sent from the imaging field can be developed once per scan. When the imaging unit is arranged in a matrix, the position detection means can detect the position of the target with the imaging signal of each scan of the imaging means Furthermore, the position detection means is provided to transfer the frame storage of the imaging signal obtained by the imaging means and to indicate at least a part of the frame storage In the field means of the field, for the field indicated by the field instruction means, the memory content stored in the frame may be read, and the target position may be detected based on the read content. Furthermore, the position of the position detection means corresponds to the field instruction means The memory content of the frame storage of the indicated field is calculated by the single-two counting means of the imaging target of the imaging target and the coordinate value calculation means of the coordinate value of the developing unit counted on the frame storage by the counting means. And the output of the coordinate calculation means can detect the target position. It is also possible to set at least two targets. In this case, the field indication means sets the field to only one target in a field based on the imaging signal sent by the imaging means Correspondence is also possible. Setting, based on the distance between the target on the display unit and the actual distance between the target, it is also possible to estimate the distance between the simulated gun means and the display screen. In addition, when the target When outputting electromagnetic waves with wavelengths outside the visible field, the imaging method can be selectively received by the target. Incoming electromagnetic waves can also be applied to the Chinese National Standard (CNS) Μ specifications (210X 297mm) on this paper scale----i nn ^^^ 1 n I (please read the precautions on the back before filling in this page) Ministry of Central Standards Bureau employee consumer cooperative printed and printed A7 B7 V. Description of the invention (4) [Function] Item 1 of the scope of patent application 1 Position detection means detected the position of the target in the image obtained by the camera means, the target position Detection means Detects the middle target position on the display screen of the simulated gun means by the position of the target detected by the position detection means. —Patent application No. 2 — A display unit arranged in a matrix form the electromagnetic wave sent from the imaging field Each scan is imaged, and the position detection means detects the position of the target from the imaging signal of each scan of the imaging means. Item 3 of the patent application _ field indication means indicates at least part of the field of the frame storage, position detection means The memory content stored in the frame is read for the domain indicated by the domain instruction means, and the target position is detected from the read content. A patent application item 4-a counting means calculates the number of developing units after the shooting target from the memory content stored in the frame of the field corresponding to the field indicating means, and the coordinate value calculation means calculates the number calculated by the counting means The coordinate value of the developing unit on the frame storage. The position detection means detects the position of the target from the output of the counting means and the coordinate value calculation means. 1. Item 5 of the patent application area 1. The domain instruction means determines the domain based on the imaging signal sent by the imaging means so that one target corresponds to one domain. One item 6 of the patent application scope and one position detection method detects each position where at least two targets are set. This paper scale is applicable to the Chinese National Standard (CNS) A4 specification (210X297 mm) (please read the precautions on the back before filling in This page). Packing. Ordered A7 B7 Printed by Beigong Consumer Cooperation of the Central Standards Bureau of the Ministry of Economic Affairs. 5. Description of the target (5) The target position detection means detects the target position in the simulated gun from a plurality of target positions. 1 Patent application Scope item 7-Distance estimation means measures the distance between the simulated gun means and the display screen based on the distance between the target on the developing unit and the actual distance. Item 8 of the patent application range_ The imaging means selectively receives electromagnetic waves transmitted by targets that output electromagnetic waves of wavelengths outside the visible field. [Embodiments] Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. Fig. 1 is a perspective side view showing the overall configuration of a target video game device according to an embodiment of the present invention, and Fig. 2 is a perspective frontal circle. In these circles, 1 is the casing of the video game device, and a display screen 1 a is provided in front of the casing 1. 2 is a projector housed in the housing 1, and projects light for forming a video game screen on the front of the projection unit 2a based on the video signal sent from the video game control circuit 5 described later. In this embodiment, the projection light of the projector 2 is projected toward the rear of the cabinet 1, and the light path is refracted by the translucent mirror 3 provided at the rear of the cabinet 1 toward the front of the cabinet 1, and is projected on the display screen 1a. As a result, the video game screen must appear on the display screen 1 a. 4 is an infrared projection device similarly housed in the housing 1, and as shown in Fig. 2, a pair of light projection sections 4a, 4b installed on the left and right project a spot-shaped infrared beam. In this embodiment, a pair of infrared light beams projected by the infrared light projection device 4 are also projected behind the casing 1, and the paper size of the paper is applied to the Chinese national standard (CNS > A4 specification (210X297 Mm) (Please read the precautions on the back before filling in this page)-Packing. Printed A7 ___ Β7__ by the Consumer Cooperative of the Central Standards Bureau of the Ministry of Economics. 5. Description of the invention (6) The optical path returns to the front of the housing 1 and projects On the display screen 1 a. On the display screen 1 a, the position of the infrared light spot can be freely adjusted by changing the position of the infrared light projection device 4 or the light projection path of the position. In addition, in this embodiment The projection position of the infrared light spot LS is set at the left and right ends of the display screen la [please refer to Fig. 2 and Fig. 4 (a)]. However, the infrared light has a wavelength outside the visible field, so players of video game devices cannot recognize it Ο 5 is a video game control circuit, preferably formed on a single board. The video game control circuit 5 includes a ROM that stores video game programs, etc., and a RAM that stores variables necessary for running programs. Video game processing circuit to generate the required video game screen, and peripheral circuits such as the required interface circuit, etc. For the video game control circuit 5, there are the position detection circuit 6 described later, and the middle target of the simulated gun 10 described later The input of position data, and to the projector 2 and the infrared light projecting device 4, each has an image signal for video game screen output and a power signal for lighting the light emitting part. The so-called video game screen here refers to the analog gun 10 For still images or animated images of targets during shooting. 6 is a position detection circuit, preferably formed on a substrate. The position detection circuit detects the simulated gun based on the imaging signal sent by the simulated gun 10 The target position, and output the target position data to the video game control circuit 5. In this embodiment, as shown in Figure 2, there are three camera signals. The input ports 6a ~ 6c are provided in the position detection circuit 6, and can be connected 3 simulated guns 10. The position detection circuit 6 will be described in detail later. 1 〇 is a simulated gun that simulates the shape of a real gun, and is also equipped with a shakeable board shot 11 similar to a real gun. The simulated gun 10 has built-in , Players hit the board} i I paper size applies to the Chinese standard (CNS) A4 specification (2! 〇X297mm) '(please read the precautions on the back before filling out this page). A7 B7 printed by the cooperative. 5. Description of the invention (7) A board hit signal generating circuit (not shown) that generates a board hit signal. The board hit signal is output to the video game control circuit 5 through the position detection circuit 6. The analog gun 1 The inside of the muzzle part 1 0 a of 0 is a CCD camera 1 3 embedded in the anti-smoke member 1 2 such as rubber. The CCD camera 1 3 here refers to a CCD sensor (not shown) As an imaging unit, a person who visualizes the light intensity distribution on the light-receiving surface of the sensor, in this embodiment, a CCD field sensor with sufficient sensitivity in the infrared field is used. The CCD camera 13 is arranged in the simulated gun 10 such that it can capture a scene directly in front of the muzzle direction of the simulated gun 10, and the imaging signal of the CCD camera 13 is output to the position detection circuit 6 . In this embodiment, the light receiving surface of the CCD camera 13 and the central axis along the hatch direction (equal to the connecting axis between the center target position on the display screen 1 a and the simulated gun 10) are in a state of being orthogonal. 14 is an imaging lens and 15 is an infrared filter lens, which are respectively arranged in front of the light receiving surface of the CCD sensor. In more detail, the focal distance of the imaging lens 14 and the distance from the CCD sensor are determined to be in a state where a bright portrait can be formed on the light receiving surface of the CCD sensor. On the other hand, the infrared filter lens 15 only allows light having a wavelength in the infrared region to pass through, and preferably, only allows light corresponding to the wavelength of infrared light of the infrared projection device 4 to pass through. FIG. 3 is a block diagram for explaining the position detection circuit 6 in detail. The two-state processing circuit 62 converts the day image captured by the CCD camera 13 into a high-level, low-state two-state data and guides it to the frame storage. In this process, the bistate level (that is, the threshold value) is to change the reference voltage according to the light sensitivity. The Chinese national standard (CNS) A4 specification (210 X 297 mm) is applied to this paper scale n ^ — n ^ i * 1—-I-I-— 1- taxi (please read the precautions on the back before filling in this page) Order line 10 A7 B7 Printed by the employee consumer cooperative of the Central Bureau of Standards of the Ministry of Economy V. Description of invention (8) 1 Adjusted to proper Level 0 Frame storage 6 0 Frame storage with 9 white Cki and CCD camera 1 I 1 3 with the same number of pixels or corresponding memory capacity 6 0 1 9 1 1 I 6 0 2 and press select to switch interactively In every-~-field period (1 1 I 1/2 of the frame period) or every-frame period and the composition of the memorized image data 0 In this embodiment please first 1 1 > CCD camera 1 3 series output vertical 5 1 2 pixels X horizontal 5 1 2 pixels W read back 1 1 portrait data> And the corresponding frame storage must be 6 0 1 9 6 0 2 Memories of the 100 million face 1 I Meaning 1 1 Amount and address 0 matters Bu 1 1 6 3 is a reference for the write address generated as the write address of the frame memory 6 0. This circuit is filled in. 1 channel 9 For example, the reference clock pulse output 1 4 Μ Η ZO Clock generation page 1 | Road 6 3 1 and> HM counter 6 3 2 that generates Η and V addresses! 1 | 〇Η, V counter 6 3 2 is used to output the speed synchronized with the field cycle 1 1 I Scan the frame to store the write address of the full address of 6 0 and write the path by the bistate processing circuit 1 2 Send the bistate data sent to the frame storage 6 0 1 9 6 0 2 of 1 1 square 〇1 1 6 4 is used to generate 9 the read address generation circuit 9 for the read address of the predetermined area (hereinafter | referred to as the counting block) within the frame storage 6 0. The counting position of the starting position of the counting block is set by the setting line I Controller 6 4 1 and 9 Η > V meter 1 1 I counter 6 4 2 constitute 0 read address generation circuit 6 4 operates after the position recognition process in the initial stage 1 1 1 described later, based on the position detection C Ρ U 6 1 1 1 The starting address of the supplied counting block (Η > SVS) and the counting block size 1 1 data 5 to generate the reading address of the counting block. Thus 9 only read the relevant count 1 1 block Bi-state data 0 1 1 CCD camera controller 6 6 is used to generate a reference clock based on the reference clock 1 I channel reference clock to generate a synchronization signal and camera synchronization signal 9 and so on 1 1 1 This paper size is suitable for China National Standard (CNS) A4 specification (2 丨 OX297mm) The paper standard printed by the Beigong Consumer Cooperative of the Central Standards Bureau of the Ministry of Economic Affairs is applicable to the Chinese National Standard < CNS) A4 specification (210X297mm) A7 B7 V. Description of invention (9) Synchronization signal, for switching of frame storage or place of frame storage Generating, controls the CCD photographic device 13 of the scanning period and the timing of such sync. 6 7 1 and 6 7 2 are multiplexers used as contact selectors. Among them, multiplexer 6 7 1 is sent by H and V counters 6 3 2, 6 4 2 and position detection CPU 6 1 The PC address of is suitable for switching and leading to the frame storage 60, while the multiplexer 6 7 2 switches the output of the frame storage 6 0 1, 6 0 2. 6 8 is a data accumulation circuit, which is composed of an accumulation circuit 6 8 1, a latch circuit 6 8 2 and a point counter 6 8 3. The accumulation result is guided to the CPU 61 for position detection, and the middle target position is calculated from the accumulation result as described later. FIG. 4 is a circle illustrating the operation of the data accumulation circuit 68, (a) shows the state when the display screen 1 a in the visual field of the CCD camera 13 is visually observed, (b) shows the display shown in (a). The portrait of the CCD camera 13 at the time of the screen la, (c) is a picture of the enlarged counting block BL. In the following description, unless otherwise stated, the horizontal direction of the display screen 1 a is the H axis and the vertical direction is the V axis, and the coordinate origin is arranged at the upper left corner of the display screen 1 a. Similarly, the horizontal direction of the portrait of the CCD camera 13 is the X axis, and the vertical direction is the Y axis. The coordinate value in the upper left of FIG. 4 (b) is (1, 1), and the coordinate value in the lower right is (512, 512 ). In 圚 4 (a), there is a video game screen GP projected on the display screen la, and infrared light spots LS1, LSr are projected on each of the left and right ends thereof. In H4 (b), there is infrared light pixel data D: corresponding to the left and right infrared light points LS ^ LSr, and Dr is imaged at a high level. In addition, BL represents a counting square. -12---------- 1 ------, ΤΓ ------ ^ (Please read the precautions on the back first and then fill in the Duiyin Consumer Cooperation of the Central Standards Bureau of the Ministry of Economic Affairs System A7 ____B7_ V. Description of the invention (10) In FIG. 4 (C), the squares in the counting block BL represent the pixels of the CCD camera 1 3, that is, each address of the frame storage 60. The upper left end of the counting block BL ( Hs, Vs) is the starting address of the counting block, which is set by the counting position controller 6 4 1. The H, V counter 6 4 2 is the starting address (HS, VS) in the column direction (Figure 4 (c) Arrow direction], as (
Hs+ 1,Vs) ,.........,( H s+ h,Vs)進行地址指定 ,一行完了則依序移至下一行,而在終極地址(Hs+h, Vs+v )終了。由此,以像素寬度算,則有hXv的計數 方塊B L指定完了。 再者,經由選擇設於CCD攝影器13的攝像面之鏡頭 ,紅外線光點L S :,L Sr之形狀或亮度,而可使LED資 料01〔如圖4 (c)之斜線部分所示〕以複數個地址存在 ,經由如此獲得複數個點而使紅外線光點資料與其他的雜波 等之識別成爲可能。 其次,對於稹累處理以圖3及圖4 (c)說明之。由於 讀出地址產生電路6 4對於計數方塊BL之地址指定,由幀 存儲6 0 1 (或6 0 2 )依序讀出地址之記憶內容之同時, 將此時的讀出地址引導至累加電路6 8 1。 每當由幀存儲讀出紅外線光點Di之點(髙電平資料) 時,由於此點資料而點計數器6 8 3之計數値將增量之同時 ,引導至閂鎖電路6 8 2。閂鎖電路6 8 2只有在點資枓输 入時才將由累加電路6 8 1輸出的地址値閂鎖之同時,將此 値再度引導至累加電路6 8 1 °如此,每當由幀存儲6 0 1 输出點資料,則記憶該點資料的地址値輸出到累加電路 本紙張尺度適用中國國家標準(CNS ) A4規格(2丨0X297公釐) (請先閱讀背面之注意事項再填寫本頁) 裝· 訂 經濟部中央樣準局員工消費合作社印製 A7 B7 五、發明説明(11 ) 6 8 1而累稹下來。 其結果,點計數器6 8 3取進存在於計數方塊BL內之 點的個數,而閂鎖電路6 8 2則取進點所存在的地址之累積 値。而,位置檢測用CPU61於計數方塊BL之地址指定 完了,則取進閂鎖電路6 8 2與點計數器6 8 3所獲得的資 料,而由點數判斷是紅外線光點像之資料或是雜波,累積値 則以點數除而算出點的中心地址(H c,V c )。此中心地址 則成爲查面全體之重心位置,而根據此位置資料實行計數方 塊之設定或中靶位置之檢測處理。 至於,是紅外線光點資料或雜波之判斷,則譬如設定點 個數之門檻値,以門檻値以上的點個數爲紅外線光點資料, 等手法就可以。另外,上述中心地址之計算以硬體構成進行 ,而位置檢測用CPU 6 1則僅傳達Η、V的計算結果之構 成也可以。再者,座標之累稹値不使用絕對座標而使用由基 準座標之相對座標,最後才加算在基準座標以求得目的座標 也可以。如此做,則位數減少,而有硬體之加算處理可髙速 化之利點。 接著,參照圖5〜圖9的流程圖及圖10,圖1 1,說 明本實施例的打靶電玩裝置之動作。 (1 )電玩處理(圖5 ) 圖5係,爲說明在電玩控制電路5實行的程序之動作的 流程圚。首先,在步驟S1進行系統全體之初期化處理,其 次在步驟S 2進行爲產生電玩畜面的電玩資料處理。於電玩 本紙張尺度適用中國國家標準(CNS ) Α4规格(210X297公釐) I--------y I裝-- (請先閱讀背面之注意事項再填寫本頁) 訂 線 -14 - 經濟部中央標準局員工消費合作社印製 A7 ---------B7 五、發明説明(12) 資料處理,例如電玩畫面中的符號等要以多邊形做成時,貝11 包含多邊形處理。電玩資料處理,每一場周期均實行,而每 一場周期均由電玩控制電路5將影像信號送到投影器2以換 寫電玩畫面。 於步驟S 3,確認由模擬鎗送來的板擊信號,其結果, 在步驟S 4判定板擊信號是否在on狀態。如果板擊信號爲 ON,亦即玩家有扣模擬鎗1 〇的板擊1 1則進入步驟S 5 ,如果板擊信號爲OFF,亦即玩家沒有扣模擬鎗1 〇的板 擊1 1則跳到步驟S 9。 在步驟S 5,則取進由位置檢測電路6所檢測出的中靶 位置(Η,V)之資料。位置檢測電路6的動作待後述。在 步驟S 6,判定於步驟S 5所取進之中靶位置是否在(Η, V) = (〇,〇),亦即在電玩盡面之範圔外,如判定爲肯 定則進入步驟S 8,判定爲否定則進入步琛S 7。在步驟S 7,則進行按所檢測出的中靶位置之資料處理。舉一例,則 有打靶次數之計數,是否命中耙子的判斷,剩餘子弾數之減 算等。 另一方面,於步驟S 8則進行中靶位置在電玩畫面外時 之處理。此場合之處理是什麼都不做,或亦有顯示「不中」 等,但本實施例則進行模擬鎗1 0的子彈上鏜處理。 在步驟S 9,則按所定的電玩規則等,進行終了確認, 如能滿足終了條件等則電玩程序完了,否則回到步驟S 2反 覆上述處理。 本紙張尺度適用中國國家標準(CNS ) Α4規格(2丨0 X 297公釐) ----------装------ΐτ------^ (請先閱請背面之注意事項再填寫本頁) 15 - 經濟部中央標準局員工消费合作杜印装 A7 ____B7五、發明説明(〗3) (2 )位置檢測處理(圖6 ) 圚6,係爲說明在位置檢測電路6實行的程序之動作的 流程91。 於本實施例,如圖10 (a)所示,先將以CCD攝影 器所攝得的全畫面設定在計數方塊b1 ,求出左右亦紅外光 像素資BD,(Xi,Yi) ,Dr(Xr,Yr)的重心 D (X ,Y)之位置。其次,根據所求得的重心D之位置(X,Y ),如圖1 〇 ( b )所示將重心D的左側之衋面設定在計數 方塊BL,求出左紅外線光像素資料D: (X:,Yi)的位 置,再如圖10 (c)所示將重心D的右側之奎面設定在計 數方塊BL,求出右紅外線光像素資料Dr(Xr,Yr)的 位置。然後,以此等左右紅外線光像素資料Di,Dr的位置 及資料間之距離d檢測出中靶位置。 此時,如圖10 (b) , (c)所示,由重心D之位置 起算紅外線光像素資料01,DI•的寬度(以像素數計算設左 右各有t)之左右做爲紅外線光像素資料不存在來設定計數 方塊BL。於是,圖10 (a)〜(c)之各個的起始地址 及終極地址成爲如下。 〔數1〕 1 ·全盡面(園1 0 ( a )) (請先閲讀背面之注意事項再填寫本頁) 裝. 訂 線 本紙張尺度適用中國國家標準(CNS > A4規格(210X297公釐) 16 - 29^430 A7 B7 五、發明説明(14) 2·左塞面(圖10(b)) 3.右畫面(圚10(c)) 經濟部中央橾準局貝工消費合作杜印製 資料寬度t使用經實驗所求得的既定値也可以,或利用 將計數方塊設定在全畫面時之實測値而求出也可以。 於圖6,先進行步驟S10的系統全體之初期化處理, 其次在步驟S 1 1則清除位置檢測電路6內的各計數器(H 、V計數器6 3 2,6 4 2,點計數器6 8 3 )之數値。在 步驟S12則解除插入掩蔽成爲待插入狀態。本實施例備有 2個插入通道(插入I、插入I I )。 圖7係爲說明插入I的插入通道之動作的流程圖。該插 入I ,以每當對於幀存儲6 0 1 (或6 0 2 )的畫像資料之 寫入完了時產生的插入信號而開始。首先,在步騄S 1 0 0 ,畫像資料寫入完了之一方的幀存儲6 0 1 (或6 0 2 )將 切換输出端觸排的信號輸出到多路轉換器6 7 2。 其次,在步驟S 1 0 1 ,則設定計數方塊BL,具體的 說,則設定計數方塊B L之起始地址(Hs,Vs〉及終極地 址(Hs+h,VS+V)。在此步驟S1 0 1 ,CCD攝影 器1 3所攝取的全畫面設定成計數方塊BL〔參照圖1 〇 ( ^— (請先閲讀背面之注意事項再填寫本頁) 訂 線 本紙張尺度適用中國國家揉準(CNS ) A4規格(2丨0X29*7公釐) 17 - A7 B7 經濟部中央標準局員工消费合作社印製 五、發明説明( 15 ) 1 a ) ) 0 在 步 驟 S 1 0 2 9 則 在 計 數 標 記 F 代 入 0 0 該 計 數 1 I 標 記 F 係 爲 表 示 9 計 數 方 塊 Β L 究 竟 設 定 有 如 何 的 方 塊 之 標 1 1 I 記 9 而 標 記 的 數 値 各 有 如 下 的 意 思 〇 1 1 請 1 1 先 1 閲 1 ( 數 2 ) S 背 1 I 面 I 之 1 注 杳 1 F = 0 … … … 全 畫 面 ( 圖 1 0 ( a ) 1 XS 1 再 1 ^ F = 1 … … … 左 盡 面 ( 圖 1 0 ( b ) % 1 本 裝 F 2 右 畫 面 ( 圖 1 0 ( c ) 頁 1 1 I 在 步 驟 S 1 0 3 9 由 位 置 檢 測 用 C P U 6 1 對 於 計 數 位 1 1 1 置 控 制 器 6 4 1 输 出 起 始 地 址 ( Η s, V S ) 及 計 數 方 塊 尺 寸 1 訂 ( h V ) 9 並 指 示 計數起 始 Ο 而 在 步 驟 S 1 0 4 則 解 除 插 1 1 入 掩蔽 而 成 爲 待 插 入 狀 態 Ο 1 | 圖 8 及 圖 9 係 爲 說 明 插 入 I I 的 插 入 通 道 之 動 作 的 流 程 1 I 一 圖 0 此 插 入 I I 9 每 當 Η > V 計 數 器 6 4 2 對 於 計 數 方 塊 之 線 | 地 址 指 定 完 了 時 所 產 生 的 插 入 信 號 而 開 始 0 1 1 首 先 在 步 驟 S 1 1 0 由 點 計 數 器 6 8 3 讀 進 點 數 9 其 1 1 次 9 在 步 驟 S 1 1 1 則 判 定 所 讀 進 的 點 數 爲 0 與 否 9 判 定 結 1 1 果 爲 肯 定 則跳 到 步 驟 S 1 3 2 9 設 左 右 紅 外 線 光 點 L S 1, 1 1 L S !未被C :C D攝影器所攝取而設定特定的重心位置資料 1 I ( X 9 Y ) = ( 0 9 0 ) 〇 如 判 定 結 果 爲 否 定 則 進 入 步 騍 S 1 1 1 1 2 > 而 由 閂 鎖 電 路 6 8 2 讀 取 X 方 向 , Y 方 向 的 座 標 累 I 1 稹 資 料 〇 1 1 1 本紙張尺度適用中國國家揉準(CNS ) Ar4規格(210X297公釐) -18 - 經濟部中央樣準局員工消費合作杜印製 Α7 Β7 五、發明説明(16 ) 在步驟S 1 1 3則判定計數標記F是否設定在〇,如判 定爲肯定則進入步驟S 1 1 4,而由次式求得左右紅外線光 像素資料D!,Dr之重心D的座檫(X,Y)。 〔數3〕 在步驟S 1 1 5則再度設定計數方塊BL。該步驟S 1 1_5將重心D以左的畫面設定成計數方塊BL〔參照圖 1 0 (b)〕。在步驟SI 1 6,由位置檢測用CPU6 1 對於計數位置控制器6 4 1輸出起始地址(Hs,Vs)及計 數方塊尺寸(h,v ),並指示計數開始。在步驟S 1 1 7 則在計數標記F代入1 ,而在步驟SI 1 8則解除插入掩蔽 而成爲待插入狀態。 另一方面,在步驟S113判定爲否定則進入步驟S 1 2 0,以判定計數標記F是否有設定1。如判定爲肯定則 進入步驟S 1 2 1 ,並由次式求得左紅外線光像素資料Dj 之座標(X !,Y !)。 〔數4〕 在步驟S 1 2 2則判定在步驟S 1 2 1所算出的紅外線 光像素資料D,之座標(Χι,Υ,)是否爲(〇,〇),如 判定爲肯定則跳到上述的步驟S 1 3 2,而以爲左紅外線光 點LS1未被CCD攝影器13所攝取而設定特定的中靶位 置資料(Η,V〉= (〇,0)。如判定爲否定則進入步驟 S 1 2 3而再度設定計數方塊BL。在該步驟S 1 2 3,則 本紙張尺度適用中國國家標準(CNS > Α4規格(210Χ297公釐) i-1 —I- - - I- - —^ I ...... I (請先閱讀背面之注意事項再填寫本頁) 訂 19 - 經濟部中央標準局員工消費合作社印製 A7 ______ B7 五、發明説明(17) 將重心D以右的畫面設定成計數方塊BL〔參照圖1 0 (c )〕。在步驟S 1 2 4 ,則由位置檢測用CPU6 1對於計 數位置控制器6 4 1輸出起始地址(Hs,Vs)及計數方塊 尺寸(h,v),並指示計數開始。在步驟S125,則在 計數標記F代入2,然後程序進入步驟S 1 1 8,成爲待插 入狀態。 如在步驟S 1 2 0之判定爲否定則進入步驟S 1 3 0, 而由次式求得右紅外線光像素資料Dr之座標(Xr,Yr) Ο 〔數5〕 在步驟S 1 3 1 ,則判定在步驟S 1 3 0所算出的右紅 外線光像素資料Dr之座標(Xr,Yr)是否爲(0,0) ,如判定爲肯定則進入上述的步驟S 1 3 2,而以爲右紅外 線光點L Sr未被C CD攝影器1 3所攝取,而設定特定的 中靶位置資料(Η,V ) = ( 0,0 )。如判定爲否定則跳 到步驟S 1 1 8,而成爲待插入狀態。 再回到圖6 ,插入I I之流程圖完了則在步驟si 3禁 止插入,接著在步驟S 1 4讀進左右紅外線光像素資料Di ,Dr之座標(X1,Y】),(Xr,Yr〉及重心D之座標 (X,Y )。 在步驟S 1 5,則判定在步驟S 1 4所讀進的重心D之 座標是否爲(X,Y) = (0,〇)。如果,判定爲肯定時 ,則判斷爲左右紅外線光點L S 1,L Sr2中有一邊未被 本紙張尺度適用中國國家標準(CNS ) A4規格(21〇X:297公釐) * ' -20 - (請先閲讀背面之注意事項再填寫本頁) -裝. 訂 線 A7 B7 經濟部中央標準局員工消費合作社印製 五、發明説明 ( 18 ) 1 C C D 攝 影 器 1 3 所 攝 取 到 ( 與 圖 9 之 步 驟 S 1 3 2 相 對 應 1 1 ) 9 並 判 斷 爲 中 靶 位 置 在 顯 示 用 銀 幕 1 a 之 外 9 而 在 步 驟 1 1 I S 1 7 設 定 特 定 的 中 靶 位 置 資 料 ( Η > V ) = ( 0 0 ) Ο 1 1 如 果 9 判 定 爲 否 定 時 9 則 判 斷 爲 左 右 紅 外 線 光 點 L S 1 } 請 先 1 1 L S 1•均攝入CCD攝影器: L 3內 ,而在步驟S L 5算出左 閲 背 1 1 右 紅 外 線 光 像 素 資 料 D 1 D r 間 之 距 離 9 並 以 所 算 出 之 距 離 面 1 I * 1 | d 及 重 心 D 之 座 標 ( X 9 Y ) > 算 出 在 顯 示 用 銀 幕 1 a 上 的 事 項 1 中 靶 位 置 之 座 標 ( Η 9 V ) 0 導 1 寫 本 ά 現 在 說 明 具 體 的 計 算 方 法 0 首 先 9 左 右 紅 外 線 光 像 素 資 .頁 1 I 料 D 1 D r 間 之 距 離 d 9 從 左 右 紅 外 線 光 像 素 資 料 D 1 D r 1 1 1 之 座 標 ( X 1 • Y】) 9 ( X r Y r ) 9 以 下 式 算 出 1 1 | 1 訂 C 數 6 ) 1 1 其 次 如 圖 1 1 所 示 , 做 座 標 變 換 將 座 標 原 點 0 配 置 在 1 1 C C D 攝 影 器 1 3 的 畫 像 內 之 中 央 在 實 行 座 標 變 換後 的 畫 1 像 內 假 想 的 形 成 一 個 對 應 於 電 玩 晝 面 G P 的 假 想 窗 G P J ( 線 I 窗 G P - 之 寬 度 Cb3 與 上 述距 離 d 相 等 ) Ο 如 圖 4 ( a ) 所 示 5 1 1 電 玩 畫 面 G P cfca 與 顯 示 用 銀 幕 1 a 爲 相 似 形 , 所 以 假 想 窗 G P 1 1 亦 與 顯 示 用 銀 幕 1 a 爲 相 似 形 0 因 而 9 設 顯 7»*SK 示 用 銀 幕 1 a 1 1 之 寬 度爲 W , 髙 爲 Τ 9 則 座 標 原 點 0 到 重 心 D 的 X 方 向 9 Y 1 1 方 向 的 距 離 Δ X , △ Y 各 以 下 式 可 算 出 ♦ 1 1 I [ 數 7 1 1 反 過 來 9 在 顯 示 用 銀 幕 1 a 上 的 假 想 窗 G P 一 之 座 標 原 1 本紙張尺度適用中國國家標準(CNS ) A4規格(210X297公釐) -21 - 經濟部中央標準局員工消費合作杜印製 A7 B7 五、發明説明(19 ) 點,亦即中靶位置之座標値(Η,V)可以下式算出; 〔數8〕 如果電玩畫面GP投影在顯示用銀幕1 a的全幕面則W 与L,於是上式的右邊第1項可省略,又將L置換成W則; 〔數9〕 而可算出Η及V。另外,模擬鎗1 0與顯示用銀幕1 a 之間的距離D可以下式求得: 〔數 1 0〕 式中,f爲成像鏡頭1 4之焦點距離。 再回到圖6,在步驟S 1 8則將在步驟S 1 6 (或步驟 S 1 7 )所算出的中靶位置之座檩値(Η,V)轉送到電玩 控制電路5。在步驟S 1 9,則解除插入掩蔽成爲待插入狀 態,而插入程序實行後,則反覆步驟S 1 3以後的處理。 因而,按本實施例之打靶電玩裝置,係以內藏於模擬鎗 10內的CCD攝影器13攝取配置在電玩畫面的左右兩端 之紅外線光點LS,,LSr,而根據此攝像位置檢測出模擬 鎗1 0的中靶位置,所以不須要如先行的打靶電玩裝置每當 模擬鎗送出板擊信號就須要把顯示畫面變白,而可以連續的 顯示電玩畫面使電玩畫面的畫質提昇,且可以避免玩家的眼 睛閃爍。 加以本實施例的打靶電玩裝置,能夠做與電玩畫面之重 本紙張尺度適用中國國家標準(CNS ) A4規格(210X297公釐) n I - ^^1 - - - I - - n ^ n (請先閲讀背面之注意事項再填寫本頁) 訂 線. -22 - 經濟部中央標準局負工消費合作杜印製 A7 ______ B7 五、發明説明(2〇 ) 寫周期(在本實施例爲場周期)同步而連續到動作間隔的位 置檢測,當中靶位置的彈著時之位置顯示等,須要連績顯示 中靶位置時亦能夠做實質上的連續位置檢測。這一點,參照 圖1 2及圖1 3說明之; 圇12爲先行的打靶電玩裝置的主要信號之時間圖,( a)爲顯示裝置之熄滅信號,(b)爲電玩控制電路端之 I/O—READ信號,(c)爲鎗的板擊信號,(d)爲 設在模擬鎗端的受光單元之輸出信號,(e)爲HV計數器 之閂鎖信號。當板擊信號輸出則由電玩畫面切換成白畫面而 畫面閃爍,同時白晝面被光柵掃描,而受光單元受到此光柵 掃描光之光後,HV計數器使閂鎖。當1畫面的光柵掃描完 了後,由於HV計時器之閂鎖時間而檢測中靶位置並讀進電 玩控制電路。因此,由於從模擬鎗輸出板擊信號到位置檢測 完了之間必須有一畫面的光柵掃描,所以位置檢測周期始終 不會比電玩畫面重寫周期爲快。 另一方面,圖1 3爲本實施例之打靶電玩裝置之主要信 號的時間圖,(a)爲投影器2之熄滅信號,(b)爲 CCD攝影器之熄滅信號,(c)爲由位置檢測電路6所输 出的中靶位置檢測信號,(d )爲模擬鎗1 0的板擊信號, (e )爲電玩控制電路5的I/O — READ信號。投影器 2之熄滅信號與CCD攝影器13之熄滅信號爲同步,而每 —場周期均輸出中靶位置信號。當模擬鎗1 0輸出板擊信號 ,隨即將該時點的中靶位置讀進電玩控制電路5。所以,能 使場周期與位置檢測周期一次,而中靶位置的連績檢測成爲 本紙張尺度適用中國國家標準(CNS〉A4規格(210X25»7公釐) ~ -23 - (請先閱讀背面之注意事項再填寫本頁) .裝· 訂 線 經濟部中央標準局員工消費合作社印製 A7 __B7 五、發明説明(21 ) 可能。 而且,由於本實施例係使用投影兩個紅外線光點LS:, LSr的紅外線投光裝置4及內藏於模擬鎗1〇的CCD攝 影器1 3以檢測中靶位置,所以與將發光單元配置成矩陣狀 的先行打靶電玩裝置相比較構成簡易,而且,事先實測紅外 線點LS】,LSr間之距離及顯示用銀幕1 a之尺寸(實質 上爲顯示用銀幕1 a之寬度),則可檢測出中靶位置,所以 組裝,配置不須要精密作業。 並且,本實施例係以紅外線C C D檢測紅外線光點的位 置,所以不易受具有可視領域之波長的外亂光之影響,成爲 對於外來的雜波具有堅强抗阻力的構成。 而且,本實施例不僅可以推定顯示用銀幕1 a上的中靶 位置,也可以推定模擬鎗10與顯示用銀幕1a之間的距離 D,所以例如於命中靶子時也可以隨距離D來計分等給與多 樣的形態,以提供更富興趣性的電玩。 還有,本發明的打靶電玩裝置,其細部不限定於上述一 實施例,可以做種種變形。舉一例,上述之一實施例,係以 兩個紅外線光點的攝像位置檢測出中靶位置,但紅外線光點 之個數並無限定。而且產生紅外線光點的手段也由已周知手 段當中適宜選擇就可以,例如紅外線發光二極管(I RED ),雷射(氣體,液體,固體,半導體雷射之任一種),在 紅外領域具有發光特性的白熱燈泡等都可以。加以,產生紅 外線光點的手段之配置位置也不限定於一實施例,舉一例, 如一實施例採用介由半透明鏡將光路折返的形式時,在半透 本紙張尺度適用中國國家標準(CNS ) A4規格(210X 297公釐) (請先閲讀背面之注意事項再填寫本頁) -裝. 訂 • 24 - 經濟部中央標準局員工消費合作社印製 A7 _B7 _ 五、發明説明(22) 明鏡背後配置產生紅外線光點的手段也可以。 如果,採用一種,將CCD感知器及處理電路形成在1 個基板上的,所謂C C D卡片式攝影器,則不但可輕量化且 可提升保養性。相反的,模擬鎗僅搭載CCD感知器,而將 處理電路全部形成在沒有位置檢測電路的基板上也可以。 而且,上述一實施例係將做爲目標之紅外線光點以 C C D攝影器攝取以檢測出中靶位置,但做爲目標的並不限 定於紅外線光點。舉一例,紫外線,音波,電磁波等,由銀 幕往前放射的構成都可以採用,如果容許玩家視認,也容許 易於受外亂光的影響,則將可視光由銀幕往前放射的構成也 可以採用。 〔發明之效果〕 如上所詳明說明,按申請專利範圍第1項之發明,則因 將配置於顯示畫面近傍的目標以內藏於模擬鎗手段的攝像手 段攝取,而根據此攝像位置檢測出模擬鎗的中靶位置,所以 不須要先行的打靶電玩裝置每當模擬鎗發出板擊信號就須要 把顯示畫面變白,而可以連續顯示電玩畫面提升電玩畫面的 畫質,而且可抑制玩家眼睛的閃爍。 而且,因以顯示畫面近傍的目標及攝取此目標的攝取手 段檢測出中靶位置,所以與將發光單元配置成矩陣狀的先行 打靶電玩裝置相比較構成爲簡易,並且有組裝,配置均不須 要精密作業之利點。 按申請專利範圍第2項之發明,則目標的位置可在1掃 本紙張尺度適用中國國家標準(CNS ) A4規格(2丨0父297公釐) 一 — (請先閲讀背面之注意事項再填寫本頁) 訂 -25 - 經濟部中央標隼局員工消費合作社印裝 kl ___B7 五、發明説明(23 ) 描中高速高測出,且可有到與顯示畫面的重寫周期同步的動 作間隔之位置檢測,所以在中靶位置的著彈時之位置顯示等 ,須要中靶位置之連續顯示時,也可以做事實上的連續位置 檢測。 按申請專利範圍第3項之發明,則可以僅由指定領域( 計數方塊)內之資料做爲位置檢測,使中靶位置檢測更加的 迅速。 按申請專利範圍第4項之發明,則可將中靶位置檢測以 更簡易的構成實現。 按申請專利範圍第5項及第6項之發明,則由於檢測出 複數的目標位置而中靶位置之檢測精度提升。尤其按申請專 利範圍第5項之發明,則更加能夠排除目標以外的雜波之影 響,而中靶位置的檢測精度更加的提高。 按申請專利範圍第7項之發明,則由於利用模擬鎗手段 與顯示畫面之間的距離而可給與電玩更多樣的形態,並能提 供更富於興趣的電玩。 按申請專利範圍第8項之發明,則難於受到具有可視領 域之波長的外亂光之影響,成爲對於外來的雜波有强大抗阻 力的系統之構成。 〔圖面之簡單說明〕 〔圖1〕 表示本發明之一實施例的打靶電玩裝置之全體構成的透 視側面圖。 本紙張尺度適用中國國家標準(CNS ) A4規格(210X297公釐) (請先閱讀背面之注意事項再填寫本頁) -裝- 訂 經濟部中央標隼局員工消費合作社印製 A7 B7 i、發明説明(24) 〔圖2〕 表示一實施例的打靶電玩裝置之全體構成的透視正面圚 0 〔圖3〕 爲說明位置檢測電路之細節的方塊圖。 〔圖4〕 爲說明資料累積電路的動作之圖,其中(a )爲表示觀 看CCD攝影器視野內之顯示用銀幕的狀態之圖,(b)爲 表示攝取表示於(a )之顯示用銀幕時的CCD攝影器之奎 像之圖,(c)爲擴大計數方塊之圖。 〔圖5〕 爲說明在電玩控制電路實行的程序之動作之流程圖。 〔圖6〕 爲說明在位置檢測電路實行的程序之動作之流程圖。 〔圖7〕 表示插入I的插入通道之流程圖。 〔圖8〕 表示插入II的插入通道之流程圖。 〔圖9〕 接續圖8之流程圖。 〔圖 1 0〕 表示本實施例之計數方塊的設定範圍之圖。 〔圖 1 1〕 爲說明中靶位置檢測的程序之圖。 本紙張尺度適用中國國家標準(CNS ) A4規格(210X297公釐) -------4 -裝— (請先閲讀背面之注意事項再填寫本頁) 訂 27 經濟部中央標準局員工消費合作社印聚 A7 B7 五、發明説明(25) 〔圖 1 2〕 先行的打靶電玩裝置的主要信號之時間圖。 〔圖 1 3〕 本實施例之打靶電玩裝置的主要信號之時間圖。 〔圖號之說明〕 B L 計數方塊(c 〇 u n t b 1 〇 c k ) D ! » D r 紅外線光像素資料 G P 電玩畫面 L S ! » L S , 紅外線光點 la 顯示用銀幕 2 投影器 3 半透明鏡 4 紅外線投光裝置 5 電玩控制電路 6 位置檢測電路Hs + 1, Vs), ..., (H s + h, Vs) for address designation, move to the next line in order after a line is completed, and at the final address (Hs + h, Vs + v) end. Therefore, in terms of pixel width, the hXv counting block B L is specified. Furthermore, by selecting the lens or the brightness of the infrared light spot LS :, L Sr provided on the imaging surface of the CCD camera 13, the LED data 01 (as shown by the slanted part of FIG. 4 (c)) can be A plurality of addresses exist. By obtaining the plurality of points in this way, it is possible to identify the infrared light spot data and other clutter. Next, FIG. 3 and FIG. 4 (c) will be described for the accumulation processing. Since the read address generation circuit 64 specifies the address of the counting block BL, the memory contents of the address are sequentially read from the frame storage 6 0 1 (or 6 0 2), and the read address at this time is directed to the accumulation circuit 6 8 1. Whenever the point (high level data) of the infrared light spot Di is read out from the frame storage, the count value of the point counter 6 8 3 will increase as a result of this point data, and it is led to the latch circuit 6 8 2. The latch circuit 6 8 2 only latches the address value output by the accumulation circuit 6 8 1 when inputting the data, and at the same time, guides this value to the accumulation circuit 6 8 1 ° again. Thus, whenever the frame stores 6 0 1 Output point data, the address value of the point data is memorized and output to the accumulation circuit. The paper standard is applicable to the Chinese National Standard (CNS) A4 specification (2 丨 0X297mm) (please read the precautions on the back and fill in this page) · Printed the A7 B7 printed by the Consumer Cooperative of the Central Prototype Bureau of the Ministry of Economic Affairs. V. Invention Instructions (11) 6 8 1 and exhausted. As a result, the point counter 6 8 3 takes the number of points existing in the counting block BL, and the latch circuit 6 8 2 takes the accumulated value of the address where the point exists. However, the position detection CPU 61 has finished designating the address of the counting block BL, and then takes in the data obtained by the latch circuit 6 8 2 and the point counter 6 8 3, and judges by the number of points whether it is infrared light point image data or miscellaneous Wave, the cumulative value is divided by the number of points to calculate the center address of the point (H c, V c). This center address becomes the center of gravity of the entire survey surface, and the counting block is set or the target position is detected based on this position data. As for the determination of infrared spot data or clutter, for example, the threshold value of the number of points can be set, and the number of points above the threshold value can be used as infrared spot data. In addition, the calculation of the center address described above is performed by a hardware configuration, and the position detection CPU 61 may only transmit the calculation results of H and V. Furthermore, instead of using absolute coordinates, the relative coordinates of the coordinates may be relative coordinates based on the reference coordinates, and finally added to the reference coordinates to obtain the destination coordinates. In doing so, the number of digits is reduced, and there are advantages of hardware addition processing that can speed up. Next, referring to the flowcharts of FIGS. 5 to 9 and FIGS. 10 and 11, the operation of the target video game device of the present embodiment will be described. (1) Video game processing (FIG. 5) FIG. 5 is a flow chart for explaining the operation of the program executed in the video game control circuit 5. First, in step S1, an initialization process of the entire system is performed, and in step S2, video game data processing for generating a video game animal face is performed. For the paper size of the video game, the Chinese National Standard (CNS) Α4 specification (210X297mm) is applied. I -------- y I installed-- (please read the precautions on the back before filling out this page). -14 -A7 --------- B7 printed by the Staff Consumer Cooperative of the Central Bureau of Standards of the Ministry of Economic Affairs 5. Description of the invention (12) Data processing, for example, the symbols on the video game screen should be made of polygons, shell 11 contains polygons deal with. Video game data processing is carried out every field period, and the video signal is sent to the projector 2 by the video game control circuit 5 for each field period to overwrite the video game screen. In step S3, the board strike signal sent by the simulated gun is confirmed, and as a result, it is determined in step S4 whether the board strike signal is in the on state. If the board strike signal is ON, that is, the player has a board shot 11 that has a simulative gun 10, then step S5 is entered, and if the board hit signal is OFF, that is, the player does not have a board shot 11 that has a spur simulated gun 10. Go to step S9. In step S5, the data of the middle target position (H, V) detected by the position detection circuit 6 is taken. The operation of the position detection circuit 6 will be described later. In step S6, it is determined whether the target position taken in step S5 is (Η, V) = (〇, 〇), that is, outside the range of video games, if it is determined to be positive, then step S 8. If the judgment is negative, enter Buchen S7. In step S7, data processing according to the detected middle target position is performed. As an example, there are counts of the number of hits, whether to hit the rake or not, and the number of remaining sub-bits. On the other hand, in step S8, processing is performed when the target position is outside the video game screen. In this case, the processing does nothing, or "missing" is displayed, but in this embodiment, the bullet boring processing of the gun 10 is performed. In step S9, the final confirmation is performed according to the predetermined video game rules, etc. If the termination conditions are satisfied, the video game program is completed, otherwise it returns to step S2 to repeat the above process. The size of this paper is applicable to the Chinese National Standard (CNS) Α4 specification (2 丨 0 X 297 mm) ---------- installed ------ lτ ------ ^ (please read first Please fill out the precautions on the back and then fill out this page) 15-Employee's Consumer Cooperation Du Printed Set A7 ____B7 of the Ministry of Economic Affairs V. Invention description (〗 3) (2) Position detection process (Figure 6) 圚 6, it is for explanation Flow 91 of the operation of the program executed by the position detection circuit 6. In this embodiment, as shown in FIG. 10 (a), first set the full frame captured by the CCD camera to the counting block b1, and obtain the infrared light pixel resources BD, (Xi, Yi), and Dr ( The position of the center of gravity D (X, Y) of Xr, Yr). Next, according to the obtained position (X, Y) of the center of gravity D, as shown in FIG. 10 (b), set the left side of the center of gravity D to the counting block BL, and obtain the left infrared light pixel data D: ( X :, Yi). Then, as shown in FIG. 10 (c), set the right side of the center of gravity D to the counting block BL, and find the position of the right infrared light pixel data Dr (Xr, Yr). Then, based on the positions of the left and right infrared light pixel data Di, Dr and the distance d between the data, the middle target position is detected. At this time, as shown in FIG. 10 (b) and (c), the infrared light pixel data 01 from the position of the center of gravity D, and the width of DI • The data does not exist to set the counting block BL. Therefore, the start address and the end address of each of Fig. 10 (a) to (c) become as follows. 〔Number 1〕 1 · Full coverage (Park 1 0 (a)) (please read the precautions on the back before filling in this page). Packing. The paper size of the binding book is applicable to the Chinese national standard (CNS & A4 specifications (210X297 ) 16-29 ^ 430 A7 B7 V. Description of the invention (14) 2. The left plug surface (Figure 10 (b)) 3. The right screen (圚 10 (c)) Ministry of Economic Affairs Central Bureau of Industry and Fisheries Consumer Cooperation The width t of the printed data may be a predetermined value obtained through experiments, or may be obtained by using a measured value when the counting box is set on the full screen. In FIG. 6, the entire system of step S10 is initialized first Processing, and then in step S11, the value of each counter (H, V counter 6 3 2, 6 4 2, point counter 6 8 3) in the position detection circuit 6 is cleared. In step S12, the insertion mask is released and becomes Insertion state. In this embodiment, there are two insertion channels (insert I, insert II). FIG. 7 is a flowchart illustrating the operation of the insert channel of insert I. The insert I stores 60 1 (for each frame) Or 6 0 2) The insertion signal generated when the writing of the picture data is completed. First, at step S 1 0 0, After the data is written, one of the frames stores 6 0 1 (or 6 0 2) and outputs the signal of the switch output terminal to the multiplexer 6 7 2. Next, in step S 1 0 1, the counting block is set BL, specifically, the starting address (Hs, Vs> and the final address (Hs + h, VS + V) of the counting block BL are set. In this step S1 0 1, the full frame captured by the CCD camera 13 Set as a counting box BL [Refer to Figure 1 〇 (^ — (Please read the precautions on the back before filling in this page) The paper size of the binding book is applicable to the Chinese National Standard (CNS) A4 specification (2 丨 0X29 * 7mm) 17-A7 B7 Printed by the Employee Consumer Cooperative of the Central Bureau of Standards of the Ministry of Economy V. Description of Invention (15) 1 a)) 0 In step S 1 0 2 9 then substitute 0 in the count mark F 0 0 The count 1 I mark F is the representation 9 Counting block B L What kind of block is set? 1 1 I Mark 9 and the value of the mark has the following meanings 〇1 1 Please 1 1 first 1 Read 1 (number 2) S back 1 I surface I of 1 Note 1 F = 0……… full screen (Figure 1 0 (a) 1 XS 1 then 1 ^ F = 1……… left side (Figure 1 0 (b)% 1 Install F 2 right screen (Figure 1 0 (c) Page 1 1 I In step S 1 0 3 9 by the position detection CPU 6 1 For the counting bit 1 1 1 Set the controller 6 4 1 output The starting address (Η s, VS) and the counting block size 1 set (h V) 9 and indicate the counting start Ο In step S 1 0 4, the insertion is released 1 1 into the mask to become the state to be inserted Ο 1 | Figure 8 And FIG. 9 is a flowchart illustrating the operation of the insertion channel of the insertion II 1 I a picture 0 this insertion II 9 whenever the Η > V counter 6 4 2 for the line of the counting block | the insertion signal generated when the address designation is completed And start 0 1 1 First, in step S 1 1 0, the point counter 6 8 3 reads the number of points 9 which is 1 1 times 9 In step S 1 1 1 it is judged whether the number of points read is 0 or not 9 Judgment knot 1 1 If yes, skip to step S 1 3 2 9 Set left and right infrared spot LS 1, 1 1 LS! Not set by C: CD camera and set specific center of gravity position data 1 I (X 9 Y) = ( 0 9 0) 〇If the judgment result is negative, enter step S 1 1 1 1 2 > and the latch circuit 6 8 2 reads the coordinates in the X direction and Y direction and accumulates I 1 稹 data 〇1 1 1 paper The standard is applicable to China National Standard (CNS) Ar4 (210X297mm) -18-The Central Sample Bureau of the Ministry of Economic Affairs of the People ’s Republic of China Consumer Cooperation Co., Ltd. Printed A7 Β7 V. Description of the invention (16) In step S 1 1 3, the count mark is determined Whether F is set to 0, if the determination is affirmative, proceed to step S 114, and obtain the left and right infrared light pixel data D !, the center of gravity D of Dr (X, Y) from the sub-form. [Number 3] In step S 115, the counting block BL is set again. In this step S 1 1_5, the center of gravity D is set to the counting block BL on the left screen [refer to FIG. 10 (b)]. In step SI 16, the position detection CPU 6 1 outputs the start address (Hs, Vs) and the counting block size (h, v) to the counting position controller 6 4 1 and instructs the counting to start. In step S 1 1 7, 1 is substituted in the count flag F, and in step SI 18, the insertion mask is released to become the state to be inserted. On the other hand, if it is determined to be negative in step S113, it proceeds to step S 1 2 0 to determine whether the count flag F is set to 1. If the determination is affirmative, proceed to step S 1 2 1, and the coordinates (X!, Y!) Of the left infrared light pixel data Dj are obtained from the formula. [Number 4] In step S 1 2 2, it is determined whether the coordinates (Χι, Υ,) of the infrared light pixel data D ′ calculated in step S 1 2 1 are (〇, 〇), and if the determination is positive, skip to In the above step S 1 3 2, it is assumed that the left infrared light spot LS1 is not captured by the CCD camera 13 and a specific mid-target position data (H, V> = (〇, 0) is set. If the determination is negative, the process proceeds to step S 1 2 3 and set the counting block BL again. At this step S 1 2 3, the paper size is in accordance with the Chinese National Standard (CNS> Α4 specification (210Χ297 mm) i-1 —I---I--- ^ I ...... I (please read the precautions on the back before filling in this page) Order 19-Printed by the Ministry of Economic Affairs Central Standards Bureau Employee Consumer Cooperative A7 ______ B7 V. Description of the invention (17) Focus on D to the right The screen is set to the counting block BL [refer to FIG. 10 (c)]. In step S 1 2 4, the position detection CPU 6 1 outputs the start address (Hs, Vs) and the count to the counting position controller 6 4 1 Block size (h, v), and indicate the start of counting. In step S125, enter 2 in the counting flag F, and then the program proceeds to step S 1 1 8 It becomes a state to be inserted. If the determination in step S 1 2 0 is negative, the process proceeds to step S 1 3 0, and the coordinates (Xr, Yr) of the right infrared light pixel data Dr are obtained from the sub-form. Ο [Number 5] In step S 1 3 1, it is determined whether the coordinate (Xr, Yr) of the right infrared light pixel data Dr calculated in step S 1 3 0 is (0, 0), and if it is determined to be positive, the above step S 1 3 2 is entered , And think that the right infrared light spot L Sr is not taken by the CD camera 13 and set a specific mid-target position data (Η, V) = (0, 0). If the determination is negative, skip to step S 1 18, and it is ready to be inserted. Returning to FIG. 6, after the flow chart of insertion II is completed, the insertion is prohibited in step si 3, and then the coordinates of the left and right infrared light pixel data Di, Dr (X1, Y]), (Xr, Yr> and the coordinates (X, Y) of the center of gravity D. In step S 15, it is determined whether the coordinates of the center of gravity D read in step S 14 are (X, Y) = ( 0, 〇). If the judgment is affirmative, it is judged that one of the left and right infrared light spots LS 1, L Sr2 is not applicable to the Chinese national standard for this paper standard. (CNS) A4 specification (21〇X: 297 mm) * '-20-(please read the precautions on the back and then fill out this page)-installed. Thread A7 B7 Printed by the Employee Consumer Cooperative of the Central Bureau of Standards, Ministry of Economic Affairs 1. Description of the invention (18) 1 The CCD camera 1 3 captured (corresponding to step S 1 3 2 in FIG. 9 1 1) 9 and judged that the middle target position is outside the display screen 1 a 9 and in step 1 1 IS 1 7 Set specific mid-target position data (Η > V) = (0 0) Ο 1 1 If 9 is negative, then 9 is the left and right infrared spot LS 1} Please first 1 1 LS 1 Intake CCD camera: within L 3, and at step SL 5 calculate the distance 9 between the left reading back 1 1 and the right infrared light pixel data D 1 D r and use the calculated distance surface 1 I * 1 | d and center of gravity D Coordinate (X 9 Y) > Calculate the coordinate of the target position in item 1 on the display screen 1 a (Η 9 V) 0 1 Writing this book Now explain the specific calculation method 0 First of all 9 the left and right infrared light pixel data. Page 1 I material D 1 D r The distance between d 9 from the left and right infrared light pixel data D 1 D r 1 1 1 coordinates (X 1 • Y]) 9 (X r Y r) 9 Calculate the following formula 1 1 | 1 Set the C number 6) 1 1 Secondly, as shown in Figure 1 1, do the coordinate transformation and arrange the coordinate origin 0 at 1 1 CCD camera 1 3 The center of the portrait in the picture after the coordinate transformation is carried out 1 The imaginary inside the image forms a virtual window GPJ corresponding to the daytime GP of the video game (line I window GP-the width Cb3 is equal to the above distance d) Ο As shown in Figure 4 (a ) The shown 5 1 1 game screen GP cfca is similar to the display screen 1 a, so the imaginary window GP 1 1 is also similar to the display screen 1 a 0. Therefore, the 9 display 7 »* SK display screen 1 a The width of 1 1 is W, high Τ 9 is the distance from coordinate origin 0 to the center of gravity D in the X direction 9 Y 1 1 direction Δ X, △ Y can be calculated by the following formula ♦ 1 1 I [Number 7 1 1 Inverse 9 On the display screen 1 a The original coordinates of the imaginary window GP 1 1 The paper scale is applicable to the Chinese National Standard (CNS) A4 specification (210X297 mm) -21-A7 B7 printed by the consumer cooperation of the Central Bureau of Standards of the Ministry of Economy V. Invention description (19), That is, the coordinate value (Η, V) of the middle target position can be calculated by the following formula; [Number 8] If the video game screen GP is projected on the full screen surface of the display screen 1 a, then W and L, then the first item on the right side of the above formula It can be omitted, and L is replaced by W; [Number 9] and H and V can be calculated. In addition, the distance D between the simulated gun 10 and the display screen 1 a can be obtained by the following formula: [Number 1 0] where f is the focal distance of the imaging lens 14. Returning to FIG. 6 again, in step S 18, the seat value (H, V) of the middle target position calculated in step S 16 (or step S 17) is transferred to the game control circuit 5. In step S19, the insertion mask is released to be inserted, and after the insertion procedure is executed, the processing after step S13 is repeated. Therefore, according to the target video game device of this embodiment, the infrared light spots LS, LSr arranged at the left and right ends of the video game screen are captured by the CCD camera 13 built in the simulation gun 10, and the simulation is detected based on the imaging position The middle target position of the gun 10, so there is no need for the previous target video game device. When the simulated gun sends a boarding signal, the display screen needs to be white, and the video game screen can be continuously displayed to improve the quality of the video game screen. Avoid blinking the player's eyes. With the target video game device of this embodiment, it can be used as a copy of the video game screen. The paper size is applicable to the Chinese National Standard (CNS) A4 specification (210X297 mm) n I-^^ 1---I--n ^ n (please Read the precautions on the back before filling in this page). Line-up. -22-A7 ______ B7 produced by the Consumer Labor Cooperation of the Central Bureau of Standards of the Ministry of Economic Affairs A7 ______ B7 V. Description of invention (2〇) Write cycle (in this embodiment is the field cycle ) Position detection that is synchronous and continuous to the action interval, the position display when the target position is hitting, etc., when the target position is required to be displayed continuously, the continuous position detection can be done substantially. This is explained with reference to FIGS. 12 and 13; FIG. 12 is a time chart of the main signals of the prior target video game device, (a) is the extinguishing signal of the display device, (b) is the I / O-READ signal, (c) is the board strike signal of the gun, (d) is the output signal of the light-receiving unit provided at the analog gun end, (e) is the latch signal of the HV counter. When the board strike signal is output, the video game screen is switched to a white screen and the screen flickers. At the same time, the daylight plane is raster-scanned, and after the light-receiving unit receives this raster-scanned light, the HV counter latches. When the raster scan of one frame is completed, the position of the middle target is detected due to the latch time of the HV timer and read into the game control circuit. Therefore, since there must be a raster scan of the screen from the output of the simulated gun's boarding signal to the completion of the position detection, the position detection cycle will never be faster than the video game rewrite cycle. On the other hand, FIG. 13 is a time chart of the main signals of the target video game device of this embodiment, (a) is the extinguishing signal of the projector 2, (b) is the extinguishing signal of the CCD camera, (c) is the position by The mid-target position detection signal output by the detection circuit 6 is (d) the board shot signal of the analog gun 10, and (e) the I / O — READ signal of the video game control circuit 5. The extinguishing signal of the projector 2 is synchronized with the extinguishing signal of the CCD camera 13, and the mid-target position signal is output every field period. When the simulated gun 10 outputs a board strike signal, the mid-target position at that time is read into the video game control circuit 5. Therefore, the field cycle and the position detection cycle can be made once, and the continuous performance detection of the middle target position becomes the paper standard applicable to the Chinese national standard (CNS> A4 specification (210X25 »7mm) ~ -23-(please read the back (Notes need to fill out this page). Packing and Threading A7 __B7 printed by the Employees ’Consumer Cooperative of the Central Standards Bureau of the Ministry of Economy V. Invention description (21) Possible. Moreover, since this embodiment uses the projection of two infrared light spots LS :, The infrared projection device 4 of the LSr and the CCD camera 13 built in the simulation gun 10 detect the position of the middle target, so it is simpler to construct than the previous target video game device in which the light emitting units are arranged in a matrix, and it is measured in advance Infrared point LS], the distance between LSr and the size of the display screen 1 a (essentially the width of the display screen 1 a), the position of the middle target can be detected, so assembly and configuration do not require precision work. And, this The embodiment uses the infrared CCD to detect the position of the infrared light spot, so it is not easily affected by external light with a wavelength in the visible field, and it has strong resistance to external clutter. In addition, in this embodiment, not only can the position of the center target on the display screen 1 a be estimated, but also the distance D between the simulated gun 10 and the display screen 1 a can be estimated. D provides various forms such as scoring to provide more interesting video games. In addition, the details of the target video game device of the present invention are not limited to the above-mentioned embodiment, and various modifications can be made. For example, the above In one embodiment, the mid-target position is detected by the imaging positions of two infrared light spots, but the number of infrared light spots is not limited. Moreover, the means for generating infrared light spots can be appropriately selected from well-known means, for example Infrared light emitting diodes (I RED), lasers (gases, liquids, solids, semiconductor lasers), incandescent light bulbs with luminous properties in the infrared field, etc. Also, the position of the means for generating infrared light spots is also available It is not limited to an embodiment. For example, if an embodiment adopts a form in which the optical path is folded back through a semi-transparent mirror, the size of the translucent paper is suitable. China National Standards (CNS) A4 Specification (210X 297mm) (Please read the notes on the back before filling in this page)-Packing. Order • 24-Printed by the Ministry of Economic Affairs Bureau of Central Standards Staff Consumer Cooperative A7 _B7 _ V. Invention Description (22) It is also possible to arrange the infrared light spot behind the mirror. If one kind is adopted, the CCD sensor and the processing circuit are formed on one substrate, the so-called CCD card camera is not only lightweight but also Improve maintenance. On the contrary, the simulation gun is only equipped with a CCD sensor, and it is also possible to form all the processing circuits on the substrate without the position detection circuit. Moreover, the above embodiment uses the CCD photography of the infrared spot as the target The device picks up to detect the middle target position, but the target is not limited to the infrared spot. For example, ultraviolet rays, sound waves, electromagnetic waves, etc., can be used to radiate forward from the screen. If the player is allowed to see and is easily affected by external light, then the structure that radiates visible light from the screen can also be used. . [Effects of the invention] As explained in detail above, according to the invention according to item 1 of the patent application range, the target placed near the display screen is captured by the camera means embedded in the analog gun means, and the analog gun is detected based on this imaging position The target position of the middle, so there is no need for the first target video game device. When the simulated gun sends a boarding signal, the display screen needs to be whitened, and the video game screen can be continuously displayed to improve the quality of the video game screen, and can suppress the flicker of the player's eyes. In addition, since the target near the display screen and the ingesting means for capturing the target detect the position of the middle target, the structure is simpler than that of the prior-art target video game device in which the light emitting units are arranged in a matrix, and there is no need for assembly and configuration. Advantages of precision operations. According to the invention claimed in item 2 of the patent scope, the position of the target can be applied to the Chinese paper standard (CNS) A4 specification (2 丨 0 father 297 mm) in 1 scan of paper size.-(Please read the notes on the back before (Fill in this page) Order-25-Kl ___B7 printed by the Consumer Standardization Facility of the Ministry of Economic Affairs of the Ministry of Economic Affairs ___B7 V. Description of the invention (23) High speed measured at high speed, and there may be an action interval synchronized with the rewrite cycle of the display screen Position detection, so the position display at the time of impact of the middle target position, etc., when the continuous display of the middle target position is required, it can also be used for the actual continuous position detection. According to the invention of the third item in the scope of patent application, only the data in the designated field (counting box) can be used for position detection, which makes the detection of the middle target position more rapid. According to the invention in item 4 of the patent application scope, the detection of the middle target position can be realized with a simpler structure. According to the inventions in items 5 and 6 of the patent application scope, the detection accuracy of the middle target position is improved due to the detection of a plurality of target positions. In particular, according to the invention of claim 5 of the patent scope, the influence of clutter other than the target can be eliminated, and the detection accuracy of the middle target position is further improved. The invention according to item 7 of the patent application scope can give the video game more various forms due to the distance between the simulated gun means and the display screen, and can provide more interesting video games. The invention according to item 8 of the patent application range is difficult to be affected by external turbulence with a wavelength in the visible range, and becomes a system structure with strong resistance to extraneous clutter. [Brief description of drawings] [FIG. 1] A perspective side view showing the overall configuration of a target video game device according to an embodiment of the present invention. This paper scale is applicable to the Chinese National Standard (CNS) A4 specification (210X297mm) (please read the precautions on the back before filling in this page)-Binding-Order A7 B7 i, invention printed by the Employees ’Consumer Cooperative of the Central Standard Falcon Bureau of the Ministry of Economic Affairs Description (24) [FIG. 2] A perspective front view showing the overall structure of a target video game device according to an embodiment [FIG. 3] A block diagram illustrating details of a position detection circuit. [Figure 4] A diagram for explaining the operation of the data accumulation circuit, where (a) is a diagram showing the state of viewing the display screen in the field of view of the CCD camera, and (b) is a display screen showing the capture shown in (a) The picture of the quasi-image of the CCD camera at the time, (c) is the picture of the enlarged counting block. [FIG. 5] is a flowchart illustrating the operation of the program executed in the video game control circuit. [Fig. 6] is a flowchart for explaining the operation of the program executed by the position detection circuit. [Fig. 7] A flowchart showing the insertion channel of I. [Figure 8] A flowchart showing the insertion channel of II. [Figure 9] Continued from the flowchart of Figure 8. [Figure 10] A diagram showing the setting range of the counting block in this embodiment. [Fig. 11] It is a diagram of the target position detection procedure in the explanation. This paper scale is applicable to the Chinese National Standard (CNS) A4 specification (210X297mm) ------- 4 -installed- (please read the precautions on the back before filling this page). Order 27 Employee consumption of the Central Standards Bureau of the Ministry of Economic Affairs Cooperative cooperative printing and printing A7 B7 V. Description of the invention (25) [Figure 1 2] Time chart of the main signals of the first target video game device [Fig. 13] A time chart of the main signals of the target video game device of this embodiment. [Explanation of drawing number] BL counter square (c 〇untb 1 〇ck) D! »D r infrared light pixel data GP game screen LS!» LS, infrared light spot la display screen 2 projector 3 translucent mirror 4 infrared Projector 5 Video game control circuit 6 Position detection circuit
6 0,6 0 1,6 0 2 幀存儲(frame memory) 6 1 位置檢測用C P U 6 4 讀出地址產生電路 6 7 1 ,6 7 2 多路轉換器(mu.ltiplexer) 6 8 資料累積電路 10 模擬鎗 11 板擊 13 C C D攝影器 本紙張尺度適用中國國家標準(CNS ) A4規格(210X297公釐) --------\ i-- (請先閲讀背面之注意事項再填寫本頁) 訂 -28 - 經濟部中央標準局員工消費合作社印製 ^^9430 A7 B7五、發明説明(26 ) 15 紅外線濾鏡片 〔文書名〕記載化學式等之文書 〔數3〕 X方向點累積計數値 X =- 點數計數値 Y方向點累積計數値 Y =- 點數計數値 〔數4〕 L方塊X方向座標累積計數値 X 1 =- 點數計數值 L方塊Y方向座標累積計數値 Y 1 =- 點數計數値 〔數5 〕 { -¾衣-- (請先閲請背面之注意事項再填寫本頁)6 0,6 0 1,6 0 2 frame memory (frame memory) 6 1 CPU for position detection 6 4 readout address generation circuit 6 7 1, 6 7 2 multiplexer (mu.ltiplexer) 6 8 data accumulation circuit 10 Simulated gun 11 Board shot 13 CCD camera This paper scale is applicable to the Chinese National Standard (CNS) A4 specification (210X297mm) -------- \ i-- (Please read the precautions on the back before filling in this Page) Order-28-Printed by the Staff Consumer Cooperative of the Central Bureau of Standards of the Ministry of Economic Affairs ^^ 9430 A7 B7 5. Description of invention (26) 15 Infrared filter lens [document name] Documents that record chemical formulas etc. [Number 3] X-point accumulation Counting value X =-point count value Y point cumulative count value Y =-point number count value [number 4] L square X direction coordinate cumulative count value X 1 =-point count value L square Y direction coordinate cumulative count value Y 1 =-point count value [number 5] {-¾ clothing-- (please read the notes on the back before filling this page)
*1T 本紙張尺度適用中國國家標準(CNS ) Α4規格(210Χ297公釐) -29 - 五、發明説明(27* 1T The size of this paper is applicable to China National Standard (CNS) Α4 specification (210Χ297mm) -29-V. Description of invention (27
XX
Y A7 B7 R方塊X方向座標累積計數値 點數計數値 R方塊Y方向座標累積計數値 點數計數値 〔數6 〕 〔數 (請先閱讀背面之注意事項再填寫本頁)Y A7 B7 R block X direction coordinate cumulative count value point count value R block Y direction coordinate cumulative count value point count value [number 6] [number (please read the precautions on the back before filling this page)
經濟部中央標隼局員工消費合作社印製 〔數8 〕 〔數9 〕 本紙張尺度適用'中國國家標準(CNS ) A4規格(210X297公釐) 30 A7 B7 五、發明説明(28) ο 數 (請先閱讀背面之注意事項再填寫本頁) ‘裝- *·1Τ Μ 經濟部中央標準局員工消費合作社印製 本紙張尺度適用中國國家標準(CNS ) Α4規格(210Χ297公釐)Printed by the Employee Consumer Cooperative of the Central Standard Falcon Bureau of the Ministry of Economic Affairs [Number 8] [Number 9] This paper scale applies the 'Chinese National Standard (CNS) A4 specification (210X297 mm) 30 A7 B7 V. Invention description (28) ο Number ( Please read the precautions on the back and then fill out this page) 'Installed-* · 1Τ M The Ministry of Economic Affairs Central Standards Bureau employee consumer cooperatives printed this paper standard is applicable to China National Standards (CNS) Α4 specifications (210Χ297 mm)