TW201216722A - Extension apparatus controlling method and extension apparatus utilizing the extension apparatus controlling method - Google Patents

Extension apparatus controlling method and extension apparatus utilizing the extension apparatus controlling method Download PDF

Info

Publication number
TW201216722A
TW201216722A TW99133857A TW99133857A TW201216722A TW 201216722 A TW201216722 A TW 201216722A TW 99133857 A TW99133857 A TW 99133857A TW 99133857 A TW99133857 A TW 99133857A TW 201216722 A TW201216722 A TW 201216722A
Authority
TW
Taiwan
Prior art keywords
electronic device
control signal
control
expansion
controller
Prior art date
Application number
TW99133857A
Other languages
Chinese (zh)
Inventor
Hai-Feng Chuang
Chao-Nan Chen
Po-Sung Chen
Original Assignee
Jmicron Technology Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Jmicron Technology Corp filed Critical Jmicron Technology Corp
Priority to TW99133857A priority Critical patent/TW201216722A/en
Publication of TW201216722A publication Critical patent/TW201216722A/en

Links

Landscapes

  • Selective Calling Equipment (AREA)

Abstract

A extension apparatus controlling method, for a extension apparatus having a controller and a extension circuit. The controlling method includes: (a) forming a first apparatus controlling signal according to a control signal from the controller, to control the electronic apparatus, if a number of the electronic apparatus is smaller than or equals to a specific number; and (b) utilizing the extension circuit to transform the control signal to generate a second apparatus controlling signal, to control the electronic apparatus, if a number of the electronic apparatus is larger than a specific number.

Description

201216722 六、發明說明: 【發明所屬之技術領域】 本案有關於擴充裝置控制方法以及使用此擴充裝置控制方法的 擴充裝置,特別有關於可讓虛擬擴充電路以及實際擴充電路並存的 擴充裝置控制方法以及使用此擴充裝置控制方法的擴充裝置。 【先前技術】 在易知技術中,一控制器此控制的電子數量往往受限於控制器所 能輸出的控制訊號之位元數。舉例來說,若輸出的控制訊號之位元 數為3,則僅能控制3個電子裝置,若位元數為4,則能控制4個電 子裝置。若要以較少的控制位元控制較多的電子裝置,則須使用擴 充電路(ExtensionI/O)。 第1圖繪示了習知技術中,使用擴充電路來控制較多電子元件的 不意圖。如第1圖所示’擴充裝置100包含了一控制器1〇1以及— 擴充電路103。在此例中,控制器⑼輸出具有3控制位SSQ,S1,幻 的控制訊號。在沒有擴充電路1〇3的情況下,控制器ι〇ι僅能控制 3個電。子裝置。而如第!圖所示,透過擴充電路1〇3 (通常會包含— 解碼β)’可將具有3控制位元S1〜S3的控制訊號轉換成具有8控 位tlDI〜D8秘置控制訊號。使控㈣⑼可以控 電子裝置8(1〇5〜119)。 牧罝1〜 。第2_示了來自控制器的控制訊號(sl〜s3)以及裝置 號(D1〜D8)的波开/干音_ T-. 抓不思圖,而底下表u會示了來自控制器的控制訊 201216722 號(S1〜S3)以及裝置控制tfU虎(m〜D8)之值的關係圖。請注意在第 1圖中’電子裝置1〜電子裝置8 (105〜119)為低電壓,驅動,亦即電壓 為低賴準位時,則代表那電子裝置被選擇。從第2圖的波形和表 1可看出,電子裝置1〜電子裝置8 ( 1〇5〜119)中那-個被選擇,取決 於來自控制ϋ的控制訊號(S1〜S3)的值。舉例來說,若控制訊號中 S0〜S3的值為_(亦即值為〇),則會選擇電子裝置1(卿。若控制 訊號中S0〜S3的值為〇01(亦即值為4),則會選擇電子裝置$⑽卜201216722 VI. Description of the Invention: [Technical Field] The present invention relates to an expansion device control method and an expansion device using the same, and particularly to an expansion device control method that allows a virtual expansion circuit and an actual expansion circuit to coexist. An expansion device that uses this expansion device control method. [Prior Art] In the known technology, the number of electrons controlled by a controller is often limited by the number of bits of the control signal that the controller can output. For example, if the number of bits of the output control signal is 3, only three electronic devices can be controlled. If the number of bits is 4, four electronic devices can be controlled. To control more electronic devices with fewer control bits, an extension I/O must be used. Fig. 1 is a schematic view showing the conventional technique of using an expansion circuit to control a large number of electronic components. As shown in Fig. 1, the expansion device 100 includes a controller 1〇1 and an expansion circuit 103. In this example, the controller (9) outputs a control signal having 3 control bits SSQ, S1, phantom. Without the expansion circuit 1〇3, the controller ι〇ι can only control 3 powers. Sub-device. And as the first! As shown in the figure, the control signal having the three control bits S1 to S3 can be converted into the control signal having the eight control bits tlDI to D8 through the expansion circuit 1〇3 (generally including - decoding β). The control (4) (9) can control the electronic device 8 (1〇5~119). Pastor 1~. The second__ shows the control signal (sl~s3) from the controller and the wave open/dry sound of the device number (D1~D8) _ T-. The figure below shows the slave controller. Control chart 201216722 (S1 ~ S3) and device control tfU tiger (m ~ D8) relationship diagram. Please note that in the first drawing, 'electronic device 1 to electronic device 8 (105 to 119) are low voltage, and driving, that is, when the voltage is low, it means that the electronic device is selected. As can be seen from the waveform of Fig. 2 and Table 1, the one of the electronic device 1 to the electronic device 8 (1〇5 to 119) is selected depending on the value of the control signal (S1 to S3) from the control port. For example, if the value of S0~S3 in the control signal is _ (that is, the value is 〇), the electronic device 1 is selected. If the value of S0~S3 in the control signal is 〇01 (that is, the value is 4) ), will choose the electronic device $ (10)

1而’在沒有擴充電路103時,所採用的控制機制並不會如第2 圖和表1所示。亦即在沒有擴充電路1〇3時 號並不會透仍財雷改…6 工織101輸出的sfi 會透過擴充電路1G3的編碼器來編竭,因此控制訊號的值 _ 選_電子裝置ι _。同樣的,控 201216722 制《Λ號的值SO〜S2即使為1〇〇也無法單獨選擇到電子裝置2(浙), 而控制訊號的值SG〜S2即使為_也無法單觸擇到電 3 (109)。 、 因此’在習知技術中,往往會利用兩個控制器來分別在有擴充電 路和沒有擴充電路的情況下控㈣子裝置,如此不但需要額外的成 本,也需要較複雜的控制機制。 【發明内容】 因此’本發明之—目的為提供_種無論需不需要擴充電路,都可 使用同-_繼來控織子裝置的擴充裝置㈣方法,以及使用 此擴充裝置控制方法的擴充裝置。 本發明之一實施例揭露了一種擴充裝置控制方法,係使用在一 擴充裝置上,該擴絲置包含-控繼以及—擴充電路,該控制方 法包含:(a)當欲控制的電子裝置之數量小於一特定數目時,根據 來自該控制器的-控制訊號來形成一第一裝置控制訊號,來控制該 電子裝置;以及(b)當該電子裝置之數量大於該特定數目時,使用 該擴充電路_控制訊號轉換成—第二裝置控制訊號,來控制該電 子裝置。 本發明之另一實施例揭露了一種擴充裝置,包含:一控制器; 以及一擴充電路,耦接到至少一欲控制的電子裝置;當該電子裝置 之數量小於一特定數目時,該控制器根據該控制器輸出的一控制訊 號來控制該電子裝置,當該電子裝置之數量大於該特定數目時,該 擴充電路將該控制訊號轉換成一裝置控制訊號來控制該電子裝置。 201216722 根據前述之實施例’無論是需要·電路衫需要㈣電路的狀 況下,都仰同-顆控_餘織子裝£,科電子裝置之 數量是小於或大於特定數字,選擇特定數字_電子裝置的邏輯是 固定的,減可崎低硬體上的成本,亦可以降倾計上賴雜度。 【實施方式】 在說明書及後續的申請專利範圍當中使用了某些詞棄來指稱特 定的元件。所屬領域中具有通常知識者應可理解,硬體製造商可能 會用不同的名詞來稱呼同一個元件。本說明書及後續的申請專利範 圍並不以名稱的差異來作為區分元件的方式,而是以元件在功能上 的差異來作為區分的準則。在通篇說明書及後續的請求項當中所提 及的「包含」料-p姐式的聽,故應轉成「包含但*限定於」。 以外二轉接」一詞在此係包含任何直接及間接的電氣連接手段。因 此’若文:描述-第一裝置輕接於一第二裝置,則代表該第一裝置 可接電氣連接於该第二裝置,或透過其他裝置或連接手段間接地 鲁電氣連接至該第二裝置。 第3圖綠不了根縣發明之實關的擴絲置巾,來自控制器的 二號(S1 S3 )以及裝置控制訊號(Dr〜D8,)的波形示意圖。為 了與第1圖中所描述的控制訊號(S1〜S3)和裝置控制訊號⑼〜⑽ 作區隔’第3圖中的控制訊號之值以S1,〜S3,表示,而裝置控制訊 唬之值以D1’〜D8,來表示。而控制訊號之值以S1,〜S3,來表示。此、 外’ S1〜S3’和D1,〜D8,的值之關係亦整理於下列表2之中。根據第 圖斤示之波形以及表2可看出在根據本發明之實施例的擴充裝置 201216722 中,要選擇那一個雷早壯 並沒有絕對相關。舉例;:中:那一個娜訊號之值S1’〜S3, 訊號之值為§在第1圖所7^的控制機财,若控制 實施例中,所選擇的擇的應為電子裝置7(117)。但在本 又如,她置(D1咖邏輯準位)。 表2 編個電子裝====_,卿的卻1 and 'when there is no expansion circuit 103, the control mechanism employed is not as shown in Fig. 2 and Table 1. That is, when there is no expansion circuit 1〇3, the number will not change. The sfi output of the 6 weaving 101 will be exhausted by the encoder of the expansion circuit 1G3, so the value of the control signal _Select_Electronic device ι _. Similarly, the control 201216722 system "the value of the nickname SO~S2 can not be selected to the electronic device 2 (Zhejiang) even if it is 1 ,, and the value SG~S2 of the control signal cannot be single-touched even if it is _3 (109). Therefore, in the prior art, two controllers are often used to control the (four) sub-devices with and without the expansion circuit, which requires not only additional cost but also a more complicated control mechanism. SUMMARY OF THE INVENTION Therefore, the present invention is directed to providing an expansion device (four) method of using the same--continuous control of the weft sub-device, and an expansion device using the expansion device control method, regardless of whether or not an expansion circuit is required. . An embodiment of the present invention discloses an expansion device control method, which is used on an expansion device, the expansion device includes a control-and-expansion circuit, and the control method includes: (a) when the electronic device to be controlled When the number is less than a specific number, a first device control signal is formed according to a control signal from the controller to control the electronic device; and (b) when the number of the electronic device is greater than the specific number, the expansion is used. The circuit_control signal is converted to a second device control signal to control the electronic device. Another embodiment of the present invention discloses an expansion device including: a controller; and an expansion circuit coupled to at least one electronic device to be controlled; when the number of the electronic devices is less than a specific number, the controller The electronic device is controlled according to a control signal output by the controller. When the number of the electronic device is greater than the specific number, the expansion circuit converts the control signal into a device control signal to control the electronic device. 201216722 According to the foregoing embodiment, in the case of the need for the circuit board (4) circuit, the same is true - the number of the electronic devices is less than or greater than a specific number, and the specific number is selected. The logic of the device is fixed, which reduces the cost of the hardware and the low hardware. [Embodiment] Certain words are used in the specification and subsequent claims to refer to specific elements. Those of ordinary skill in the art should understand that a hardware manufacturer may refer to the same component by a different noun. This specification and the subsequent patent application do not use the difference in name as the means of distinguishing the elements, but the difference in function of the elements as the criterion for distinguishing. The "contains" material mentioned in the entire specification and the subsequent requests is intended to be "including but limited to". The term "external transfer" is used herein to include any direct and indirect electrical connection. Therefore, if the first device is lightly connected to a second device, it means that the first device can be electrically connected to the second device, or indirectly connected to the second device through other devices or connection means. Device. Figure 3 shows the waveform diagram of the expanded wire towel from the controller of the county, the second (S1 S3) from the controller and the device control signal (Dr to D8). In order to distinguish from the control signals (S1 to S3) and the device control signals (9) to (10) described in FIG. 1 , the values of the control signals in FIG. 3 are represented by S1, S3, and the device control signal is The value is represented by D1'~D8. The value of the control signal is represented by S1, ~S3. The relationship between the values of the outer and outer 'S1 to S3' and D1, and D8 is also summarized in the following table 2. According to the waveform of the figure and Table 2, it can be seen that in the expansion device 201216722 according to the embodiment of the present invention, the one to be selected is not absolutely correlated. Example:: Medium: The value of the Na signal is S1'~S3, and the value of the signal is § control machine in Figure 1^. If the control embodiment is selected, the selected one should be the electronic device 7 ( 117). But in this case, she set (D1 coffee logic level). Table 2 Edited an electronic device ====_, Qing’s

=將說明在此實施例中,如何根據不同的電子裝置數量,來讓 二制器採用不同的控制機制來選擇電子裝置。請參閱第4圖,在此 =中,當電子裝置的數量不大於3(亦即控制雜制位元數) 時,控制11 健接連接至電子裝置1部〇5〜),因此此時擴 201216722 充電路並未個’可視為—虛擬擴充電路4Q3。在此情況下,當 S〇〜S2’的值為011時’係選擇電子襄置1 (405),當S0,〜S2’的值為 ιοί時’係選擇電子裝置2(407)’而當s〇,〜sl,的值為11〇時係選 擇電子裝I: 3(4G9)。也就是說,相當於墟制峨雜SQ,〜,未編 碼而直接當成裝置控制訊號的值D1,〜D3,使用。須注意的是,本發 明所提供之内容並不限定於當電子裝置的數量不大於3時,把控制 减的值S0〜S2’直接當成裝置控制訊號的值m,〜⑺,使用。亦可略 鲁為變動線路配置(例如將線路錯置或是設計一簡單的電路),改變控 制減的值S0’〜S2’與裝置控制訊號的值D1,〜D3,的誠關係。舉例 來5兒’可讓S0對應D2,、S1,對應D1,,S2,仍對應D3,。如此當 S0,〜S2, 的值為011日寺’所選擇的並非電子裝置i (4〇5),而是電子裝置2 (407)。此類的變化亦應在本發明的範圍之内。 而虽電子裝置的數量大於3時,根據本發明之實關的擴充裝 置之方塊圖可如第5圖所示。其結構與第丨圖所示的擴充裝置類似, 都是將來自控制器的控制訊號s〇,〜S2,編碼成裝置控制訊號 # D1’〜D8,,但其對應關係跟第2圖與表1所描述的,卻是不一樣的。 請再參閱第3圖和表2 ’當控制訊號(s〇,〜S2,)的值為〇11時,會被 擴充電路503編碼成裝置控制訊號(m’〜D8,)〇lullii,即電子裝置 1 (505)被選擇。當控制訊號(s〇,〜S2,)的值為ι〇ι時,會被擴充電路 503編碼成裝置控制訊號(D1,〜D8,)1〇miu,即電子裝置2(5〇乃被 選擇。而當控制訊號(S0,〜S2’)的值為11〇時,會被擴充電路5〇3編 碼成裝置控制訊號(D1,〜D8’)1101U11,即電子裝置3 (5〇9)被選擇。 如此的選擇邏輯,跟電子裝置的數量不大於3是—致的师選擇 201216722 電子裝置1、101選擇電子裝置2、110選擇電子裝置3)。 而在選擇電子裝置4 (511)〜電子裝置8 (519)的機制上,可以任意 變換其對應關係。在第3圖和表2的實施例中,當控制訊號(§〇,〜$2,) 的值為111時,會被擴充電路503編碼成選擇電子裝置4(511)。當 控制訊號(S0,〜S2,)的值為000時,會被擴充電路5〇3編碼成選擇電 子裝置5 (513)。當控制訊號(S0,〜S2,)的值為1〇〇時,會被擴充電路 503編碼成選擇電子裝置6 (515)。當控制訊號(s〇,〜幻,)的值為〇川 時,會被擴充電路503編碼成選擇電子裝置7 (517)。當控制訊號 (S0’〜S2’)的值為〇〇丨時,會被擴充電路5〇3編碼成選擇電子裝置8 (519)。然而,這些關係是可以變動的,並非限定於上述之關係當中。 綜上所述’根據本發明之實施例的擴充裝置運作可簡述如下:去 該電子裝置之數量小於一特定數目時(此例中為3),控制器根據^ 制器輸出的-控制訊號來控制電子裝置,亦即如第4圖的實施例^ 示,可以直接將控制訊號的值S0’〜S2,當成裝置控制訊號的值 01〜D3使用。亦可略為變動線路配置,改變控制訊號的值$〇,〜幻, 與褒置控制訊號的值D1,〜D3,的對應關係,但都不須藉由擴充電路 編碼控制喊則彡成裝置控制職來控觀子裝置。㈣電子裝置 之數量大於特定數目時,電路將㈣訊號SG,〜S2,轉換成裝晋 控制訊號⑴’〜D8,來控制電子裝置。而且電子妓之數量不' 於或大於特定財,特缝钟㈣子裝置(料裝置;^ 邏輯是固定的。 )的 此外’根據前述之實施例亦可得到一擴充裝置控制方法,包 下步驟:當雜_電子裝置之數量小於—特缝目時,根據:自 201216722 控制器的-控制訊號來形成-第-裝置控制訊號,來控制該電子裝 置;以及當電子裝置之數量大於特定數目時,使用擴充電路將控制 也说轉換成一第二裝置控制訊號,來控制電子束置。 根據刖述之實細’無論是需要擴充電路或不需要擴充電路的狀 況下,都可以使用同-顆控制器來控制電子裝置,而且不論電子裝 置之數量是小於或大於特定數字,選擇特定數字内的電子裝置的邏 輯是固定的’如此可以降低硬體上的成本,亦可以降低設計上的= $ 雜度。 以上所述僅為本發明之較佳實施例’凡依本發明申請專利範圍所 做之均等變化與修飾,皆應屬本發明之涵蓋範圍。 【圖式簡單說明】 第1圖繪示了習知技術中’使用擴充電路來控制較多電子元件的 不意圖。 第2圖繪示了來自控制器的控制訊號(S1〜S3)以及裝置控制气 • 號(D1〜D8)的波形示意圖。 第3圖繪示了根據本發明之實施例的擴充裝置中,來自控制器的 控制訊號(S1,〜S3,)以及裝置控制訊號(D1,〜D8,)的波形示意圖。 第4圖繪示了當欲控制的電子裝置之數目小於3時,根據本發明 之實施例的擴充裝置之方塊圖。 第5圖繪示了當欲控制的電子裝置之數目大於3時,根據本發明 之實施例的擴充裝置之方塊圖。 201216722 【主要元件符號說明】 100、 400、500擴充裝置 101、 401、501 控制器 103、403、503擴充電路 105、405、505電子裝置1 107、407、507電子裝置2 109、409、509電子裝置3 111、511電子裝置4 113、513電子裝置5 115、515電子裝置6 117、517電子裝置7 119、519電子裝置8= It will be explained that in this embodiment, how to use the different control mechanisms to select the electronic device according to the number of different electronic devices. Referring to FIG. 4, in this =, when the number of electronic devices is not more than 3 (that is, the number of control miscellaneous bits is controlled), the control 11 is connected to the electronic device 1 〇5~), so 201216722 The charging circuit does not have a 'visible as-virtual expansion circuit 4Q3. In this case, when the value of S〇~S2' is 011, 'the electronic device 1 is selected (405), and when the value of S0, S2' is ιοί, the electronic device 2 (407) is selected. When s〇, ~sl, the value is 11〇, select the electronic device I: 3 (4G9). That is to say, it is equivalent to the market-made noisy SQ, ~, uncoded and used directly as the device control signal value D1, ~D3, used. It should be noted that the content provided by the present invention is not limited to when the number of electronic devices is not more than three, and the values S0 to S2' of the control subtraction are directly used as the values m, ~ (7) of the device control signals. It is also possible to change the line configuration (for example, to dispose the line or design a simple circuit), and change the relationship between the control subtracted values S0' to S2' and the values of the device control signals D1, D3. For example, 5' can make S0 correspond to D2, S1, corresponding to D1, and S2, and still correspond to D3. Thus, when the value of S0, ~S2, the value of 011 day temple is selected, not the electronic device i (4〇5), but the electronic device 2 (407). Such variations are also intended to be within the scope of the invention. When the number of electronic devices is greater than three, the block diagram of the expansion device according to the present invention can be as shown in Fig. 5. The structure is similar to the expansion device shown in the figure, which encodes the control signals s〇,~S2 from the controller into device control signals #D1'~D8, but the correspondence and the second figure and table The description of 1 is different. Please refer to FIG. 3 and Table 2 'When the value of the control signal (s〇, ~S2,) is 〇11, it will be encoded by the expansion circuit 503 into device control signals (m'~D8,) 〇lullii, ie, electronic Device 1 (505) is selected. When the value of the control signal (s〇, ~S2,) is ι〇ι, it will be encoded by the expansion circuit 503 into device control signals (D1, D8,) 1〇miu, that is, the electronic device 2 (5〇 is selected When the value of the control signal (S0, ~S2') is 11〇, it will be encoded by the expansion circuit 5〇3 into the device control signal (D1, D8') 1101U11, that is, the electronic device 3 (5〇9) is The selection logic is such that the number of electronic devices is not more than three, so that the teacher selects 201216722, the electronic device 1, 101 selects the electronic device 2, and 110 selects the electronic device 3). On the mechanism of selecting the electronic device 4 (511) to the electronic device 8 (519), the correspondence relationship can be arbitrarily changed. In the embodiment of Fig. 3 and Table 2, when the value of the control signal (§ 〇, ~ $2,) is 111, it is encoded by the expansion circuit 503 into the selection electronic device 4 (511). When the value of the control signal (S0, ~S2,) is 000, it is encoded by the expansion circuit 5〇3 into the selection electronic device 5 (513). When the value of the control signal (S0, S2,) is 1 ,, it is encoded by the expansion circuit 503 as the selection electronic device 6 (515). When the value of the control signal (s〇, ~幻,) is 〇川, it is encoded by the expansion circuit 503 into the selection electronic device 7 (517). When the value of the control signals (S0' to S2') is 〇〇丨, it is encoded by the expansion circuit 5〇3 as the selection electronic device 8 (519). However, these relationships are subject to change and are not limited to the above relationships. In summary, the operation of the expansion device according to the embodiment of the present invention can be briefly described as follows: when the number of the electronic device is less than a specific number (in this example, 3), the controller outputs a control signal according to the controller. To control the electronic device, that is, as in the embodiment of Fig. 4, the values of the control signals S0' to S2 can be directly used as the values of the device control signals 01 to D3. It is also possible to slightly change the line configuration and change the value of the control signal value 〇, 幻, and the value of the control signal D1, D3, but do not need to be controlled by the expansion circuit coding control. The job is to control the device. (4) When the number of electronic devices is greater than a certain number, the circuit converts the (4) signals SG, ~S2 into the control signals (1)'~D8 to control the electronic device. Moreover, the number of electronic cymbals is not greater than or greater than the specific wealth, and the special sewing clock (four) sub-device (material device; ^ logic is fixed.) In addition, according to the foregoing embodiment, an expansion device control method can also be obtained, and the steps are included. : when the number of miscellaneous electronic devices is less than - the special mesh number, according to: the control signal from the control signal of 201216722 to form a - device control signal to control the electronic device; and when the number of electronic devices is greater than a specific number The expansion circuit is used to convert the control into a second device control signal to control the electron beam. According to the details of the description, whether the expansion circuit or the expansion circuit is required, the same controller can be used to control the electronic device, and the specific number is selected regardless of the number of electronic devices being smaller or larger than a specific number. The logic of the internal electronics is fixed 'this can reduce the cost on the hardware, and can also reduce the design = $ noise. The above are only the preferred embodiments of the present invention. The equivalent variations and modifications of the present invention are intended to be within the scope of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is a view showing a conventional technique of using an expansion circuit to control a large number of electronic components. Figure 2 is a schematic diagram showing the waveforms of the control signals (S1 to S3) from the controller and the device control gas numbers (D1 to D8). FIG. 3 is a schematic diagram showing waveforms of control signals (S1, S3) and device control signals (D1, D8) from the controller in the expansion device according to an embodiment of the present invention. Figure 4 is a block diagram of an expansion device in accordance with an embodiment of the present invention when the number of electronic devices to be controlled is less than three. Figure 5 is a block diagram of an expansion device in accordance with an embodiment of the present invention when the number of electronic devices to be controlled is greater than three. 201216722 [Description of main component symbols] 100, 400, 500 expansion device 101, 401, 501 controller 103, 403, 503 expansion circuit 105, 405, 505 electronic device 1 107, 407, 507 electronic device 2 109, 409, 509 electronic Device 3 111, 511 electronic device 4 113, 513 electronic device 5 115, 515 electronic device 6 117, 517 electronic device 7 119, 519 electronic device 8

Claims (1)

201216722 七、申請專利範圍: 1· 一種擴充裝置控制方法,係使用在一擴充裝置上,該擴充裝置包 含一控制器以及一擴充電路,該控制方法包含: (a)當欲控制的電子裝置之數量小於或等於一特定數目時,根據來 自s玄控制器的一控制訊號來形成一第一裝置控制訊號,來控制 該電子裝置;以及 籲(b)當該電子裝置之數量大於該特定數目時,使用該擴充電路將該 控制sfl號轉換成一第二裝置控制訊號,來控制該電子裝置。 2·如申請專利範圍第1項所述之擴充裝置控制方法,其中該特定數 目為遠控制訊號的位元數。 3·如申請專利範圍第1項所述之擴充裝置控制方法,其中該步 驟係直接將該控制訊號作為該第一裝置控制訊號。 4.如申請專利範圍第1項所述之擴充裝置控制方法,更包含: 當該電子裝置之數量小於姉缝目時,_控制^直接連制該 電子裝置;以及 田該電子裝置之數量大於該特定數目時,使該控制器透過該擴充電 路來耦接該電子裝置。 5·如申睛專利範圍第1項所述之擴充裝置控制方法,其中該特定數 13 201216722 目為3。 6·如申β專利範圍第5項所述之擴充裝置控制方法,其中當該電子 裝置之數置小於該特定數目時,該控制訊號之值若為〇ιι,則 選擇第-個該電子裝置,該控制訊號之值若為1〇1,則選擇第 一個5亥電子裝置,該控制訊號之值若為110,則選擇第三個該 電子裝置。 7. 一種擴充裝置,包含: 一控制器;以及 一擴充電路,耦接到至少一欲控制的電子裝置; 虽孩電子裝置之數量小於或等於一特定數目時,該控制器根據該控 制器輸出的一控制訊號來控制該電子裝置,當該電子裝置之數 量大於該特定數目時,該擴充電路將該控制訊號轉換成一裝置 控制訊號來控制該電子裝置。 8. 如申請專利範圍第丨項所述之擴充裝置,其中該特定數目為該控 制訊號的位元數。 9. 如申請專利範圍第7項所述之擴充裝置’其中該控制器直接以該 控制訊號來控制該電子裝置。 10. 如申請專利範圍第7項所述之擴充裝置,當該電子裝置之數量 201216722 小於該特定數目時,該控制器直接連接到該電子裝置,且當該 電子裝置之數量大於該特定數目時,該控制器透過該擴充電路 來耗接該電子襄置。 11.如申請專利範圍第7項所述之擴充裝置,其中該特定數目為3。 12·如申請專利範圍第11項所述之擴充裝置,其中當該電子裝置之 Φ 數里小於該特定數目時,該控制訊號之值若為011,則該控制 益控制第一個該電子裝置,該控制訊號之值若為101,則該控 制器控制第二個該電子裝置,該控制訊號之值若為110 ’則該 控制器控制第三個該電子裝置。 八、囷式: 15201216722 VII. Patent application scope: 1. An expansion device control method is used on an expansion device, the expansion device includes a controller and an expansion circuit, and the control method comprises: (a) when the electronic device to be controlled When the number is less than or equal to a specific number, a first device control signal is formed according to a control signal from the s-control controller to control the electronic device; and (b) when the number of the electronic device is greater than the specific number And using the expansion circuit to convert the control sfl number into a second device control signal to control the electronic device. 2. The method of controlling an expansion device according to claim 1, wherein the specific number is the number of bits of the far control signal. 3. The method of controlling an expansion device according to claim 1, wherein the step directly uses the control signal as the first device control signal. 4. The method for controlling an expansion device according to claim 1, further comprising: when the number of the electronic device is less than a quilting target, the control device directly connects the electronic device; and the number of the electronic device is greater than At the specified number, the controller is coupled to the electronic device through the expansion circuit. 5. The method of controlling an expansion device according to claim 1, wherein the specific number 13 201216722 is 3. 6. The expansion device control method according to claim 5, wherein when the number of the electronic device is less than the specific number, if the value of the control signal is 〇ι, the first electronic device is selected. If the value of the control signal is 1〇1, the first 5H electronic device is selected, and if the value of the control signal is 110, the third electronic device is selected. 7. An expansion device comprising: a controller; and an expansion circuit coupled to at least one electronic device to be controlled; wherein the controller outputs according to the controller if the number of electronic devices is less than or equal to a specific number A control signal controls the electronic device. When the number of the electronic devices is greater than the specific number, the expansion circuit converts the control signal into a device control signal to control the electronic device. 8. The expansion device of claim 3, wherein the specific number is the number of bits of the control signal. 9. The expansion device of claim 7, wherein the controller directly controls the electronic device with the control signal. 10. The expansion device of claim 7, wherein when the number of electronic devices 201216722 is less than the specific number, the controller is directly connected to the electronic device, and when the number of the electronic devices is greater than the specific number The controller consumes the electronic device through the expansion circuit. 11. The expansion device of claim 7, wherein the specific number is three. 12. The expansion device of claim 11, wherein when the Φ number of the electronic device is less than the specific number, if the value of the control signal is 011, the control device controls the first electronic device. If the value of the control signal is 101, the controller controls the second electronic device. If the value of the control signal is 110 ', the controller controls the third electronic device. Eight, squat: 15
TW99133857A 2010-10-05 2010-10-05 Extension apparatus controlling method and extension apparatus utilizing the extension apparatus controlling method TW201216722A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW99133857A TW201216722A (en) 2010-10-05 2010-10-05 Extension apparatus controlling method and extension apparatus utilizing the extension apparatus controlling method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW99133857A TW201216722A (en) 2010-10-05 2010-10-05 Extension apparatus controlling method and extension apparatus utilizing the extension apparatus controlling method

Publications (1)

Publication Number Publication Date
TW201216722A true TW201216722A (en) 2012-04-16

Family

ID=46787311

Family Applications (1)

Application Number Title Priority Date Filing Date
TW99133857A TW201216722A (en) 2010-10-05 2010-10-05 Extension apparatus controlling method and extension apparatus utilizing the extension apparatus controlling method

Country Status (1)

Country Link
TW (1) TW201216722A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102445904A (en) * 2010-10-13 2012-05-09 智微科技股份有限公司 Control method for expansion device and expansion device using same

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102445904A (en) * 2010-10-13 2012-05-09 智微科技股份有限公司 Control method for expansion device and expansion device using same

Similar Documents

Publication Publication Date Title
JP4524662B2 (en) Semiconductor memory chip
JP2001283589A5 (en)
JP2012501697A (en) Soft generator
EP1139554A3 (en) Microcontroller operated electric motor soft start using a table drive equation with variable timing
TW201216722A (en) Extension apparatus controlling method and extension apparatus utilizing the extension apparatus controlling method
JP2004045090A (en) Semiconductor integrated circuit
JP2004166201A (en) Electronic circuit configuration or electronic circuit having a plurality of selectable functions or states
JP2004166201A5 (en)
JP2006293306A (en) Image photographing device and release device
JP4917357B2 (en) measuring device
US7208977B2 (en) Tristate startup operating mode setting device
DE60332485D1 (en) Multifunctional ARCHITECTURE
KR101100754B1 (en) Timer circuit with double buffer structure
JP2803704B2 (en) Music signal generator
RU2332783C2 (en) Duration pulse selector
JP2010057005A (en) Dll circuit
JP6711932B2 (en) Power converter and method for reducing output current noise thereof
JP2022097906A (en) Musical instrument signal output device, and musical instrument signal control method in musical instrument signal output device
KR101025734B1 (en) Command control circuit for semiconductor integrated device
JP3758664B2 (en) Musical sound signal generator
JP4354038B2 (en) Digital signal level control device and control method
TW200803180A (en) Frequency synthesizer with a plurality of frequency locking circuits
US10028073B2 (en) Effect giving device
JP2725559B2 (en) Attack effect device
KR100241760B1 (en) Adaptive shift register