201234784 六、發明說明: 【發明所屬之技術領域】 本發明係關於—種無線發射“,尤指―射減時脈訊號自動 發射無線訊號之無線發射晶片。 【先前技術】 請參考第1圖,第!圖為習知無線發射晶片⑽的示意圖。如第 1圖所不,無線發射晶片1〇〇係轉接於一微控制單元⑽,而微控制 早疋_根據其内部之程式運作以產生指令。無線發射晶片謂 =含一無線發射單元11G,—第—時脈⑼,-狀態機器刚,以及 :記憶單it 150。微控制單元13〇包含—第二雜16G。無線發射單 疋11 〇係用以發射無線訊號。第一時脈i20係用以產生一第一時脈 如虎。第―日梅⑽係用以產生—第二時脈訊號。第—時脈⑵係 為石英振蘯時脈’而第二時脈160係為一電子式振盪時脈。電子 式振盪時脈係岭阻、電容、電感料子元件根據所需之振射員率 斤排歹j組5而成’且電子式振盪時脈較石英振盪時脈省電。其中無 線%射晶>5 1GG係於—啟動軸根據第一時脈訊號來運作,且無線 I射a曰片100係於一休眠時期根據第二時脈訊號來運作,如此可使 無線發射晶片100較為省電。舉例來說,當無線發射晶片漏啟動 t,無線發射單元11(3會發射無線域,由於無線減之發射頻率 精♦ ’ 線魏晶M1GG必娜據石英紐時脈訊號來 運作,而當無線發射晶片1⑻休眠時,無線發射單元110停止發射 201234784 無線訊號’因此無線發射晶片1〇〇可 … 運作。狀態機_係_於微控制單以⑽及:祕射來 =據=鮮元__令__料】 存無線 之2:可以使無線發射晶片卿根據微控制單内部 複:=所需要執行的動作’然而’微控制單元之結構較為 f理單元、記憶單元、時脈等,不像 來^ 一 Γ所而成。習知無線發射晶片無法獨立藉由狀態機器 ^订其所需要執行的動作,增加了習知無線發射晶片於應用上的 【發明内容】 本發明提供-種可根據時脈訊號自動發射無線峨之無線發射 曰曰私其包含-無線發射單元,一第一時脈,—第二時脈,一第_ 狀態機益’以及-第二狀態機器。該無線發射單元係用以發射無線 =號。該第-時脈侧以產生—第一時脈訊號。該第二時脈係用以 生-第二時脈訊號。該第—狀態機器_接於該第—時脈及該第 了時脈’用以根據該第-時脈訊號及該第二時脈訊號產生指令。該 第二狀態機器餘接於該$—狀態機n及該無線發射單元,用以根 據該第-狀祕n產生之指令控綱無線發射單元發射無線訊號。 201234784 本發明另提供_種無線發射方法,其包含—外雜鄉元傳送— 部狀態機器以設定該第—狀態機器;中斷該外 第一時脈訊號及-第二時脈訊號產生指令;以及 f 據該第-狀咖產生之指令控制一無線發射軍元聽==根 相較於先前技術,本發明無線發射晶片可根據時脈峨自動 二線訊號,賴_微控财元之控雜,因此本發明益線發 射晶片之應用上可省去微控制單元之設計。 x 【實施方式】 睛參考第2圖,第2圖為本發明無線發射晶片扇的示意圖。如 第2圖所示,無線發射晶片200包含一無線發射單元11〇,一第一 時脈120 ’ -第二時脈16〇,一第一狀態機器23〇,一第二狀態機器 24〇,-輸人端21Q ’以及-記憶單元15G。無線發射單元11〇係用 以發射無線訊號。第-時脈12〇制以產生一第—時脈訊號。第二 時脈⑽係用以產生一第二時脈減。第一時脈⑽係為一石英振 盪時脈,而第二時脈16G係為—f子式振麟脈。電子式振盪時脈 係由電阻、電容、賴等電子播根據所需之振勤轉所排列組合 而成,且電子式振盪時脈較石英振盪時脈省電。其中無線發射晶片 200係於一啟動時期根據第一時脈訊號來運作,且無線發射晶片2⑻ 係於一休眠時期根據第二時脈訊號來運作,如此可使無線發射晶片 2〇〇較為省電。舉例來說,當無線發射晶片200啟動時,無線發射 201234784 早7L 110會發射無線訊號’由於無線訊號之發射頻率需相當精準, 此’、’、線I射曰曰片200必須根據石英振盪時脈訊號來運作,而當無 線發射晶片200休眠時,無線發射單元11()停止發射無線訊號,因 此無線發射晶片可只根據電子式缝時脈訊號來運作。 相異於先前技術的係,本發明無線發射晶片2〇〇並不須藉由微控 制早就控制來運作。本發明無線發射晶片勘係藉由第一狀態機 ^ 230及第二狀態韻240絲行其所需要執行的動作。第-狀態 機請係雛於第一時脈12〇、第二時脈16〇以及輸入端21〇。第 -狀態機器230係藉由輸入端則接收一外部控制單元挪傳來之 外雜制為虎。外部控制單元22〇之外部控制訊號係用以設定第一 狀態機器230之狀態流程,以使第一狀態機器23〇能根鮮一時脈 訊號及第二時脈訊號來改變其狀態並進而產生指令。其中第一狀離 機器230係於啟動狀態時根據石英鐘時脈訊號產生指令,以及^ 休眠狀I、時根據電子式振盈時脈訊號產生指令,且當第—狀態機器 23〇設定完成後,即可中斷外部控制單元22〇與第一狀態機器23〇 之麵接狀心以使無線發射晶片200獨立運作。而第二狀態機器24〇 係輕接於第-狀態機器230及無線發射單元11〇,用以根據第一狀 態機器230產生之指令控制無線發射單元nG發射無線訊號。無線 發射單元no發射之無線訊號係對應於記憶單元15〇所儲存之資料。 根據上述设計’本發明無線發射晶片2〇〇可於外部控制單元 設定完第-狀態機器230後中斷與外_制單元22()之祕狀態並 201234784 自行獨立運作,柯料具有—觀鮮元。雖錄關器所能執 =動作倾控制^簡單,然而本發明無線發射⑼能在不 咖㈣概峨蝴應麟 另外, 由於€子趣_脈峨⑽卩第二時脈罐)較石英紐 日夺脈訊號(亦即第-時脈訊號)不準確,因此可每隔—預定時間根據 第一時脈訊號來校正第二時脈訊號。201234784 VI. Description of the Invention: [Technical Field] The present invention relates to a wireless transmission ", especially a wireless transmission chip that automatically transmits a wireless signal by a shot-reduction clock signal. [Prior Art] Please refer to FIG. The figure is a schematic diagram of a conventional wireless transmitting chip (10). As shown in Fig. 1, the wireless transmitting chip 1 is switched to a micro control unit (10), and the micro control is operated according to its internal program to generate The wireless transmitting chip is said to include a wireless transmitting unit 11G, a first-clock (9), a state machine, and a memory single it 150. The micro control unit 13 includes a second hybrid 16G. The system is used to transmit wireless signals. The first clock i20 is used to generate a first clock such as a tiger. The first-day (10) is used to generate a second clock signal. The first clock (2) is a quartz oscillator. The second clock 160 is an electronic oscillation clock. The electronic oscillation clock system ridge, capacitance, and inductance material components are formed according to the required vibration rate. Electronic oscillation clock is more oscillating than quartz The power saving is performed, wherein the wireless % radiant > 5 1GG is connected to the start axis according to the first clock signal, and the wireless I shot a cymbal 100 is operated according to the second clock signal during a sleep period, The wireless transmitting chip 100 can be made more power-saving. For example, when the wireless transmitting chip leaks start t, the wireless transmitting unit 11 (3 will transmit the wireless domain, due to the wireless reduction of the transmission frequency fine ♦ 'line Wei Jing M1GG Bina according to quartz The New Zealand clock signal operates, and when the wireless transmitting chip 1 (8) sleeps, the wireless transmitting unit 110 stops transmitting the 201234784 wireless signal 'so the wireless transmitting chip 1 can be operated. The state machine _ is _ in the micro control list (10) and: Secret shot = according to = fresh yuan __ order __ material] Save wireless 2: can make the wireless transmitter chip according to the micro-control single internal complex: = the action required to perform 'however' the structure of the micro-control unit is more Units, memory units, clocks, etc., are not like a single device. Conventional wireless transmitter chips cannot independently perform the actions required by the state machine, adding a conventional wireless transmitter chip to the application. 【hair The present invention provides a wireless transmitting device that can automatically transmit wireless wireless devices according to a clock signal, including a wireless transmitting unit, a first clock, a second clock, a first state machine, and a a second state machine. The wireless transmitting unit is configured to transmit a wireless number. The first-clock side generates a first clock signal. The second clock system uses a second-second clock signal. a state machine _ connected to the first clock and the second clock </ RTI> for generating an instruction according to the first clock signal and the second clock signal. The second state machine is connected to the $-state machine And the wireless transmitting unit is configured to transmit a wireless signal according to the instruction-generating wireless transmitting unit generated by the first-order secret. The invention further provides a wireless transmitting method, which includes an external hetero-metaphase transmission-partial state. The machine sets the first state machine; interrupts the outer first clock signal and the second clock signal to generate an instruction; and f controls the wireless transmitting military unit to listen to the == root according to the instruction generated by the first coffee In the prior art, the wireless transmitting chip of the present invention can be rooted Bauer automatic wire clock signal, the microcontroller Choi Lai _ membered heteroaryl control, the present invention is therefore beneficial application line may be omitted emitting wafer design of the micro control unit. x [Embodiment] The eye is referred to Fig. 2, and Fig. 2 is a schematic view of the wireless transmitting wafer fan of the present invention. As shown in FIG. 2, the wireless transmitting chip 200 includes a wireless transmitting unit 11A, a first clock 120'-second clock 16〇, a first state machine 23〇, and a second state machine 24〇. - Input terminal 21Q 'and - memory unit 15G. The wireless transmitting unit 11 is used to transmit wireless signals. The first-clock 12 is configured to generate a first-clock signal. The second clock (10) is used to generate a second clock subtraction. The first clock (10) is a quartz oscillating clock, and the second clock 16G is a -f sub-vibration. The electronic oscillating clock is formed by combining the electric shock, the capacitor, the ray, etc. according to the required vibration transfer, and the electronic oscillating clock saves power compared to the quartz oscillating clock. The wireless transmitting chip 200 operates according to the first clock signal during a startup period, and the wireless transmitting chip 2 (8) operates according to the second clock signal during a sleep period, so that the wireless transmitting chip 2 can save power. . For example, when the wireless transmitting chip 200 is activated, the wireless transmitting 201234784 early 7L 110 will transmit a wireless signal 'Because the transmitting frequency of the wireless signal needs to be quite accurate, the ', ', line I shot 200 must be oscillated according to the quartz. The pulse signal operates, and when the wireless transmitting chip 200 sleeps, the wireless transmitting unit 11 () stops transmitting the wireless signal, so the wireless transmitting chip can operate only according to the electronic slit clock signal. Different from the prior art, the wireless transmitting chip 2 of the present invention does not have to be operated by the micro control. The wireless transmitter chip of the present invention performs the actions required by the first state machine 230 and the second state machine 240. The first-state machine is tied to the first clock 12 〇, the second clock 16 〇, and the input 21 〇. The first state machine 230 receives an external control unit by the input terminal and transmits it to the tiger. The external control signal of the external control unit 22 is used to set the state flow of the first state machine 230 so that the first state machine 23 can change the state of the clock signal and the second clock signal to generate the command. . The first state is generated according to the clock signal of the quartz clock when the machine 230 is in the startup state, and the command is generated according to the electronic vibration signal of the sleep state I, and when the first state machine 23 is set, The interface between the external control unit 22 and the first state machine 23 can be interrupted to allow the wireless transmitting wafer 200 to operate independently. The second state machine 24 is spliced to the first state machine 230 and the wireless transmitting unit 11A for controlling the wireless transmitting unit nG to transmit the wireless signal according to the command generated by the first state machine 230. The wireless signal transmitted by the wireless transmitting unit no corresponds to the data stored in the memory unit 15A. According to the above design, the wireless transmitting chip 2 of the present invention can be interrupted and the external state of the external unit 22 () can be independently operated after the external control unit sets the first state machine 230, and the device has its own independent operation. yuan. Although the recorder can perform the action control control ^ simple, however, the wireless transmission (9) of the present invention can be used in the absence of coffee (four), and the other is due to the other, because the child is _ pulse (10) 卩 second clock can) The day pulse signal (ie, the first-clock signal) is inaccurate, so the second clock signal can be corrected according to the first clock signal every predetermined time.
請參考第3圖’第3圖為本發明無線發射方法之流程圖期。 本發明無線發射方法之流程如下列步驟: ^驟31〇 .外部控制單元22〇傳送一外部控制訊號至第一狀態機器 230以設定第一狀態機器230 ; 步驟320.中斷外部控制單元22〇與第一狀態機器23〇之輕接狀態; ^驟330 ·第一狀態機器23〇根據第一時脈訊號及第二時脈訊號產 生指令;及 步驟340 .第二狀態機器240根據第一狀態機器230產生之指令控 制無線發射單元110發射無線訊號。 基本上’上述結果的達成’流程圖300的步驟並不一定要遵守以 上順序,且各個步驟並不一定係相鄰的,其他的步驟也可介於上述 步驟之間。 8 201234784 相較於先前技術,本發明無線發射晶片勘係可根據時脈訊號自 動發射無線滅,而不需根據微控制單元純行其所需要執行的動 作。因此本發明無線發射;之應社可省去微控制單元之机 計’不僅可縮小應職置之體積,也降低了無線發射晶片應用j 以上所述僅為本發明之較佳實施例,凡依本發明巾請專利範圍 鲁所做之均等變化與修飾,皆應屬本發明之涵蓋範圍。 【圖式簡單說明】 第1圖為習知無線發射晶片的示意圖。 第2圖為本發明無線發射晶片的示意圖。 第3圖為本發明無線發射方法之流程圖。 【主要元件符號說明】 100,200 無線發射晶片 110 無線發射单元 120 第一時脈 130 Φι支控制單元 140 狀態機器 150 記憶單元 160 第二時脈 210 輸入端 201234784 220 外部控制單元 230 第一狀態機器 240 第二狀態機器 300 流程圖 310 至 340 步驟Please refer to FIG. 3'. FIG. 3 is a flow chart of the wireless transmission method of the present invention. The flow of the wireless transmitting method of the present invention is as follows: Step 31: The external control unit 22 transmits an external control signal to the first state machine 230 to set the first state machine 230; Step 320. Interrupt the external control unit 22 The first state machine 23 is in a light state; the first state machine 23 generates an instruction according to the first clock signal and the second clock signal; and the step 340. The second state machine 240 is based on the first state machine The instructions generated by 230 control the wireless transmitting unit 110 to transmit a wireless signal. Substantially the 'achievement of the above results' step 300 does not necessarily have to follow the above order, and the steps are not necessarily adjacent, and other steps may be interposed between the above steps. 8 201234784 Compared with the prior art, the wireless transmission chip mapping system of the present invention can automatically emit wireless extinction according to the clock signal, without performing the operations required by the micro control unit. Therefore, the wireless transmission of the present invention can reduce the size of the application unit by reducing the volume of the application and reducing the wireless transmitting chip application. The above is only a preferred embodiment of the present invention. Equivalent changes and modifications made by the invention in accordance with the invention are intended to be within the scope of the invention. BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is a schematic view of a conventional wireless transmitting chip. Figure 2 is a schematic diagram of a wireless transmitting wafer of the present invention. Figure 3 is a flow chart of the wireless transmitting method of the present invention. [Main component symbol description] 100,200 wireless transmitting chip 110 wireless transmitting unit 120 first clock 130 Φι control unit 140 state machine 150 memory unit 160 second clock 210 input terminal 201234784 220 external control unit 230 first state machine 240 Two-State Machine 300 Flowchart 310 to 340 Steps
1010