TWI626542B - Signal switching device for electronic device, application thereof, and method for actively switching signal - Google Patents

Signal switching device for electronic device, application thereof, and method for actively switching signal Download PDF

Info

Publication number
TWI626542B
TWI626542B TW106101225A TW106101225A TWI626542B TW I626542 B TWI626542 B TW I626542B TW 106101225 A TW106101225 A TW 106101225A TW 106101225 A TW106101225 A TW 106101225A TW I626542 B TWI626542 B TW I626542B
Authority
TW
Taiwan
Prior art keywords
electronic device
peripheral device
actively
earphone
stylus
Prior art date
Application number
TW106101225A
Other languages
Chinese (zh)
Other versions
TW201826129A (en
Inventor
馮天憲
劉秉杰
曾億伩
Original Assignee
飛捷科技股份有限公司
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 飛捷科技股份有限公司 filed Critical 飛捷科技股份有限公司
Priority to TW106101225A priority Critical patent/TWI626542B/en
Application granted granted Critical
Publication of TWI626542B publication Critical patent/TWI626542B/en
Publication of TW201826129A publication Critical patent/TW201826129A/en

Links

Landscapes

  • Position Input By Displaying (AREA)

Abstract

一種信號切換裝置配置於一電子裝置中,透過信號切換裝置的傳感器的偵測,將連接於信號切換裝置的連接埠的一周邊裝置的使用狀態轉化成一觸發信號,電子裝置依據此觸發信號主動切換對應周邊裝置的運作,如此促進電子裝置因應使用者使用周邊裝置的情形來切換運作,為使用者提供更人性化的操作。 A signal switching device is disposed in an electronic device, and the state of use of a peripheral device connected to the connection port of the signal switching device is converted into a trigger signal by the detection of the sensor of the signal switching device, and the electronic device actively switches according to the trigger signal Corresponding to the operation of the peripheral device, the electronic device is facilitated to switch operations according to the situation in which the user uses the peripheral device, thereby providing a more user-friendly operation for the user.

Description

電子裝置的信號切換裝置、應用及其主動切換信號的方法 Signal switching device of electronic device, application and method for actively switching signal

本案是關於一種信號切換的領域,特別是一種電子裝置主動切換周邊裝置的信號切換的領域。 The present invention relates to the field of signal switching, and more particularly to the field of signal switching in which an electronic device actively switches peripheral devices.

現今的電腦等電子裝置配有不同的連接埠來連接周邊裝置,且現今電腦的作業系統能偵測到周邊裝置的介入並發出通知提醒使用者。 Today's computers and other electronic devices are equipped with different ports to connect peripheral devices, and today's computer operating systems can detect the intervention of peripheral devices and issue notifications to remind users.

雖有些周邊裝置,例如滑鼠,能夠與內建的觸控板並行使用,然而,對於使用者而言,大多數的周邊裝置需要使用者的介入,例如按下任意鍵或開啟/關閉或停止對應的軟體等,故使用上仍有待改進。 Although some peripheral devices, such as a mouse, can be used in parallel with the built-in touchpad, for the user, most peripheral devices require user intervention, such as pressing any key or turning on/off or stopping. Corresponding software, etc., so there is still room for improvement.

為了解決現有電子裝置僅有通知使用者有周邊裝置連接的通知,本案提供一種電子裝置的信號切換裝置及其方法,其配置傳感器來偵測使用者有無接觸連接至電子裝置的周邊裝置。 In order to solve the problem that the existing electronic device only informs the user that there is a peripheral device connection, the present invention provides a signal switching device for an electronic device and a method thereof, which are configured to detect whether the user has a contact device connected to the electronic device.

為了解決即使有周邊裝置連接的電子裝置仍須使用者介入指令才能執行/停止對應的運作,本案提供一種電子裝置的信號切 換裝置及其方法,其配置傳感器來因應使用者的接觸有無產生觸發信號,電子裝置以此觸發信號主動切換信號來對應對周邊裝置的運作。 In order to solve the problem that the electronic device connected to the peripheral device still needs the user to intervene to execute/stop the corresponding operation, the present invention provides a signal cut of the electronic device. The device and the method thereof are configured to generate a trigger signal according to whether the user's contact is generated, and the electronic device actively switches the signal according to the trigger signal to correspond to the operation of the peripheral device.

依據上述,提供一種電子裝置的信號切換裝置,可與一周邊裝置交互作用,該電子裝置的信號切換裝置包括:一連接埠,用以有線地電連接該周邊裝置;以及一電感式線性傳感器,其因應該周邊裝置的一使用狀態以產生一電感變化,該電感變化用以提供該電子裝置主動切換對應該周邊裝置的運作。 According to the above, there is provided a signal switching device for an electronic device, which can interact with a peripheral device, the signal switching device of the electronic device comprising: a connection port for electrically connecting the peripheral device by wire; and an inductive linear sensor, It generates a change in inductance due to a state of use of the peripheral device, and the change in inductance is used to provide active switching of the electronic device to the operation of the peripheral device.

依據上述,提供一種具有主動信號切換裝置的電子裝置,可與一周邊裝置交互作用,該具有主動信號切換裝置的電子裝置包括:一系統單晶片;一連接埠,用以有線地電連接該周邊裝置;以及一傳感器,其因應該周邊裝置的一使用狀態以產生一物理量變化作為一觸發信號,其中,該觸發信號通過一串列通訊匯流排傳送至該系統單晶片,該系統單晶片依據該觸發信號主動切換對應該周邊裝置的運作。 According to the above, an electronic device having an active signal switching device is provided, which can interact with a peripheral device. The electronic device having an active signal switching device includes: a system single chip; and a connection port for electrically connecting the periphery by wire And a sensor for generating a physical quantity change as a trigger signal according to a usage state of the peripheral device, wherein the trigger signal is transmitted to the system single chip through a serial communication bus, the system single chip according to the The trigger signal actively switches to the operation of the peripheral device.

於一例中,該傳感器包括一電感式線性傳感器,以及該物理量變化為一電感變化。 In one example, the sensor includes an inductive linear sensor and the change in physical quantity is an inductance change.

於一例中,該串列通訊匯流排包括一積體電路匯流排。 In one example, the serial communication bus includes an integrated circuit bus.

於一例中,該連接埠為一輸入/輸出端口插孔。 In one example, the port is an input/output port jack.

依據上述,提供一種電子裝置主動切換信號的方法,包括:電連接一周邊裝置與一電子裝置的一連接埠;響應該連接埠感測該周邊裝置的一使用狀態形成一物理量變化;因應該物理量變化 產生一觸發信號;以及依據該觸發信號主動切換對應該周邊裝置的運作。 According to the above, a method for actively switching signals by an electronic device includes: electrically connecting a connection device of a peripheral device and an electronic device; and sensing a usage state of the peripheral device to form a physical quantity change in response to the connection; Variety Generating a trigger signal; and actively switching the operation of the corresponding peripheral device according to the trigger signal.

於一例中,該電連接步驟包括提供一耳機作為該周邊裝置,以及提供一輸入/輸出端口插孔作為該連接埠;該感測步驟的該使用狀態包括一使用者是否穿載或脫離該耳機,以及該物理量變化為一電感變化量;以及該主動切換步驟包括該電子裝置執行或停止一音訊播放。 In one example, the electrical connection step includes providing an earphone as the peripheral device, and providing an input/output port jack as the connection port; the use state of the sensing step includes whether a user wears or detaches the earphone And the physical quantity change is an inductance change amount; and the active switching step includes the electronic device performing or stopping an audio play.

於一例中,該物理量變化為一電感變化量。 In one example, the physical quantity changes as an inductance change.

於一例中,該主動切換的步驟包括:通過一串列通訊匯流排傳送該觸發信號給一系統單晶片;以及該系統單晶片發出一控制信號執行或停止對應該周邊裝置的一軟體,或是執行或停止擷取資料或指令給該周邊裝置,或是執行或停止從該周邊裝置擷取資料或指令。 In one example, the step of actively switching includes: transmitting the trigger signal to a system single chip through a serial communication bus; and the system single chip sends a control signal to execute or stop a software corresponding to the peripheral device, or Execute or stop capturing data or instructions to the peripheral device, or execute or stop capturing data or instructions from the peripheral device.

於一例中,該電連接步驟包括提供一觸控筆作為該周邊裝置,以及提供一輸入/輸出端口插孔作為該連接埠;該感測步驟的該使用狀態包括一使用者是否握持該觸控筆,以及該物理量變化為一電感變化量;以及該主動切換步驟包括該電子裝置主動將一輸入模式切換至該觸控筆或是將該輸入模式切換至一內建輸入裝置。 In one example, the electrical connection step includes providing a stylus as the peripheral device and providing an input/output port jack as the connection port; the usage state of the sensing step includes whether a user holds the touch The control pen, and the physical quantity change is an inductance change amount; and the active switching step includes the electronic device actively switching an input mode to the stylus or switching the input mode to a built-in input device.

於一例中,該主動切換步驟包括通過該電子裝置的一積體電路匯流排傳送該觸發信號給該電子裝置的一系統單晶片;以及該系統單晶片發出一控制信號執行或停止對應該周邊裝置的一軟 體,或是執行或停止擷取資料或指令給該周邊裝置,或是執行或停止從該周邊裝置擷取資料或指令。 In one example, the active switching step includes transmitting the trigger signal to a system single chip of the electronic device through an integrated circuit bus of the electronic device; and the system single chip sends a control signal to execute or stop the corresponding peripheral device. One soft Body, either executing or stopping the retrieval of data or instructions to the peripheral device, or executing or stopping the retrieval of data or instructions from the peripheral device.

於一例中,該連接埠為一輸入/輸出端口插孔,該周邊裝置為一耳機或一觸控筆,該使用狀態為一使用者是否接觸該耳機或該觸控筆。 In one example, the port is an input/output port jack, and the peripheral device is an earphone or a stylus. The state of use is whether a user touches the earphone or the stylus.

於一例中,該電連接步驟包括校正該周邊裝置,該校正步驟包括將該周邊裝置的一電場設定為0單位準位以及設定一環境誤差範圍和一判定範圍;以及,該響應步驟包括當該周邊裝置的該電場超過該判定範圍時,判斷該使用者接觸該耳機或該觸控筆而形成該物理量變化。 In one example, the electrically connecting step includes correcting the peripheral device, the correcting step includes setting an electric field of the peripheral device to a 0 unit level and setting an environmental error range and a determination range; and the responding step includes When the electric field of the peripheral device exceeds the determination range, it is determined that the user contacts the earphone or the stylus to form the physical quantity change.

於一例中,該環境誤差範圍為正負3%,以及該判定範圍為正負10%。 In one example, the environmental error range is plus or minus 3%, and the determination range is plus or minus 10%.

於一例中,該電連接步驟包括校正該周邊裝置,該校正步驟包括將該周邊裝置的一電場設定為0單位準位以及設定一環境誤差範圍和一判定範圍;以及,該響應步驟包括當該周邊裝置的該電場超過該判定範圍時,判斷該使用狀態為一取用狀態而形成該物理量變化。 In one example, the electrically connecting step includes correcting the peripheral device, the correcting step includes setting an electric field of the peripheral device to a 0 unit level and setting an environmental error range and a determination range; and the responding step includes When the electric field of the peripheral device exceeds the determination range, it is determined that the use state is an access state to form the physical quantity change.

於一例中,該判定範圍大於且涵蓋該環境誤差範圍。 In one example, the determination range is greater than and encompasses the environmental error range.

依據上述,一種信號切換裝置配置於一電子裝置中,透過信號切換裝置的傳感器的偵測,將連接於信號切換裝置的連接埠的一周邊裝置的使用狀態轉化成一觸發信號,電子裝置依據此觸發信號主動切換對應周邊裝置的運作,如此促進電子裝置因應使用 者使用周邊裝置的情形來切換運作,為使用者提供更人性化的操作。 According to the above, a signal switching device is disposed in an electronic device, and the detection state of a peripheral device connected to the connection port of the signal switching device is converted into a trigger signal by the detection of the sensor of the signal switching device, and the electronic device is triggered according to the triggering signal. The signal actively switches to the operation of the peripheral device, thus facilitating the use of the electronic device The use of peripheral devices to switch operations, to provide users with more humane operations.

10‧‧‧信號切換裝置 10‧‧‧Signal switching device

12‧‧‧連接埠 12‧‧‧Links

14‧‧‧傳感器 14‧‧‧ Sensor

20‧‧‧電子裝置 20‧‧‧Electronic devices

21‧‧‧串列通訊匯流排 21‧‧‧ Serial communication bus

22‧‧‧系統單晶片 22‧‧‧System Single Chip

30‧‧‧周邊裝置 30‧‧‧ Peripheral devices

40、42、44、46、48‧‧‧步驟 40, 42, 44, 46, 48 ‧ ‧ steps

圖1為本案的信號切換裝置和配備其的電子裝置和周邊裝置的方塊示意圖。 1 is a block diagram of a signal switching device and an electronic device and peripheral device equipped therewith.

圖2為本案的主動切換信號的流程示意圖。 FIG. 2 is a schematic flow chart of the active switching signal in the present case.

本案以下所稱的電子裝置,基本上具有一系統單晶片(System on Chip,SoC)負責控制、整合和協調本身或本身和周邊裝置溝通的運作。除此之外,本案的電子裝置更包括和周邊裝置有線地連接的至少一連接埠,透過連接埠將電信號傳遞於電子裝置和周邊裝置之間。故,本案的電子裝置,舉例但不限地,可以是桌上型或行動電腦、平板電腦、穿戴式電子裝置或智慧型手機等。 The electronic device referred to in the following is basically a system on chip (SoC) responsible for controlling, integrating and coordinating the operation of itself or its own communication with peripheral devices. In addition, the electronic device of the present invention further includes at least one connection port wiredly connected to the peripheral device, and the electrical signal is transmitted between the electronic device and the peripheral device through the connection port. Therefore, the electronic device of the present case may be, for example but not limited to, a desktop or mobile computer, a tablet computer, a wearable electronic device or a smart phone.

其次,周邊裝置可和電子裝置通信,其可傳送資料或指令給電子裝置,或是接受來自電子裝置的資料或指令。本案的周邊裝置,主要是透過本身的一部分實體地接觸電子裝置的連接埠以進行通信,故以配置有線連接埠為主,舉例但不限地,例如觸控板(touch pad)、觸控筆、手套式輸入裝置或耳機等。再者,本案的周邊裝置在使用上是和使用者有實際接觸的,也就是使用者在使用本案的周邊裝置時,至少身體的一部分皮膚接觸周邊裝置,舉例但不限地,例如使用者的手部、腳部、四肢、軀幹、口、耳或頭部等等。 Second, the peripheral device can communicate with the electronic device, which can transmit data or instructions to the electronic device, or accept data or instructions from the electronic device. The peripheral device of the present invention mainly communicates with the connection of the electronic device through a part of itself, so that the wired connection is mainly configured, for example, but not limited to, for example, a touch pad or a stylus , glove input device or earphones, etc. Furthermore, the peripheral device of the present invention is in actual use with the user, that is, when the user uses the peripheral device of the present case, at least a part of the skin of the body contacts the peripheral device, for example, but not limited to, for example, the user. Hands, feet, limbs, torso, mouth, ears or head, etc.

又,本案所稱電子裝置的連接埠,主要提供一容置空間接觸和固定周邊裝置的一部分,並且傳送電信號和資料於兩者之間,故連接埠可有線地電連接周邊裝置,舉例但不限地,例如音訊插孔。 Moreover, the connection port of the electronic device referred to in the present invention mainly provides a part of the accommodation space for contacting and fixing the peripheral device, and transmits the electrical signal and the data between the two, so that the connection port can be electrically connected to the peripheral device by wire, for example, Not limited to, for example, an audio jack.

又,傳感器(sensor)可以是光學距離傳感器、紅外線距離傳感器、超聲波距離傳感器、線性傳感器等等,本案優選以線性傳感器為主。線性傳感器可以是利用不同的物理量變化的原理,舉例但不限地,例如電感式、電容式、光電式、位移式、波式或霍爾式等等,本案以下舉例則以電感式的線性傳感器為主。 Moreover, the sensor may be an optical distance sensor, an infrared distance sensor, an ultrasonic distance sensor, a linear sensor, etc., and the present invention is preferably a linear sensor. The linear sensor can be a principle that utilizes different physical quantity changes, for example, but not limited to, for example, inductive, capacitive, photoelectric, displacement, wave or Hall, etc., the following examples are inductive linear sensors. Mainly.

圖1為本案的信號切換裝置和配備其的電子裝置和周邊裝置的方塊示意圖。請參考圖1,信號切換裝置10包括一連接埠12和與連接埠12電連接的一傳感器14,配備於一電子裝置20時,連接埠12和傳感器14可用適當的方式被固定於電子裝置20上。電子裝置20主要包括一系統單晶片22,系統單晶片22則透過主機板、手機或嵌入式系統(圖上未繪)控制、整合或通訊電子裝置20或電子裝置20和周邊裝置30之間。於本實施例中,系統單晶片22透過一串列通訊匯流排21,例如積體電路匯流排(Inter-Integrated Circuit,I2C)與信號切換裝置10電連接並且相互通信。再者,連接埠12可透過串列通訊匯流排21或是其他輸入/輸出線路(圖上未繪)與系統單晶片22電連接。 1 is a block diagram of a signal switching device and an electronic device and peripheral device equipped therewith. Referring to FIG. 1, the signal switching device 10 includes a connector 12 and a sensor 14 electrically connected to the connector 12. When the electronic device 20 is provided, the connector 12 and the sensor 14 can be fixed to the electronic device 20 in an appropriate manner. on. The electronic device 20 mainly includes a system single chip 22, and the system single chip 22 is controlled, integrated or communicated between the electronic device 20 or the electronic device 20 and the peripheral device 30 through a motherboard, a mobile phone or an embedded system (not shown). In the present embodiment, the system single chip 22 is electrically connected to the signal switching device 10 and communicates with each other through a serial communication bus 21, such as an integrated circuit (I2C). Moreover, the port 12 can be electrically connected to the system single chip 22 via the serial communication bus 21 or other input/output lines (not shown).

續參考圖1,電子裝置20可與周邊裝置30交互作用,例如以周邊裝置30作為輸出入裝置,直接接受周邊裝置30的輸入資料、 指令;或是輸出資料、指令給周邊裝置30;或是啟動、執行、停止、關閉對應周邊裝置30的軟體。周邊裝置30的一部分可接觸並固定於連接埠12中,並且在固定後形成周邊裝置30和連接埠12的信號通路。舉例來說,周邊裝置30為具有音訊插頭的耳機,連接埠12為一輸入/輸出端口插孔(I/O port jack),例如一音訊插孔,其可和耳機的音訊插頭對接,對接後的連接埠12和周邊裝置30可建立信號通路。其次,連接埠12電連接傳感器14,傳感器14可透過連接埠12和周邊裝置30之間的信號通路來響應周邊裝置30的一使用狀態,並進而因應該使用狀態產生一物理量變化作為一觸發信號。於本實施例中,此觸發信號透過串列通訊匯流排21傳送給系統單晶片22,進而由系統單晶片22主動地切換周邊裝置30的運作。 With continued reference to FIG. 1, the electronic device 20 can interact with the peripheral device 30, for example, the peripheral device 30 is used as an input/output device to directly receive input data from the peripheral device 30, The instruction; or outputting data, instructions to the peripheral device 30; or starting, executing, stopping, and closing the software corresponding to the peripheral device 30. A portion of the peripheral device 30 can be contacted and secured in the port 12 and form a signal path for the peripheral device 30 and the port 12 after attachment. For example, the peripheral device 30 is an earphone with an audio plug, and the connection port 12 is an I/O port jack, such as an audio jack, which can be connected with the audio plug of the earphone, and after docking The port 12 and peripheral device 30 establish a signal path. Next, the connection port 12 is electrically connected to the sensor 14, and the sensor 14 can respond to a use state of the peripheral device 30 through the signal path between the connection port 12 and the peripheral device 30, and further generate a physical quantity change as a trigger signal according to the state of use. . In the present embodiment, the trigger signal is transmitted to the system single chip 22 through the serial communication bus 21, and the operation of the peripheral device 30 is actively switched by the system single chip 22.

續參考圖1,舉例來說,傳感器14包括一電感式線性傳感器,其可產生一電感變化來作為一觸發信號。在周邊裝置30為一耳機的例子中,使用者(圖上未繪)將耳機的音訊插頭對接連接埠12形成信號通路,電感式線性傳感器即可偵測使用者的戴上或放下耳機的不同使用狀態,並且因應上述使用狀態而產生一電感變化來作為觸發信號。系統單晶片22依據此觸發信號,主動地啟動音訊軟體播放音訊或是讓已開啟的音訊軟體繼續播放音訊,並由耳機輸出音訊(當使用者戴上耳機時);或是,主動地停止音訊軟體的播放音訊或將音訊輸出切換至電子裝置20的內建喇叭(當使用者脫下耳機時)。是以,通過信號切換裝置10的設置,電子裝置20可主動切換對應周邊裝置30的運作,其中,對應周邊裝置30的運作, 舉例但不限地,直接以周邊裝置30作為主要輸入/輸出裝置,或是啟動或停止對應周邊裝置30的軟體。 With continued reference to FIG. 1, for example, sensor 14 includes an inductive linear sensor that produces an inductive change as a trigger signal. In the example where the peripheral device 30 is an earphone, the user (not shown) connects the audio plug of the earphone to the port 12 to form a signal path, and the inductive linear sensor can detect the difference between the user wearing or dropping the earphone. The state of use is used, and an inductance change is generated as a trigger signal in response to the above-described use state. The system single chip 22 actively activates the audio software to play the audio according to the trigger signal or allows the opened audio software to continue playing the audio, and the audio is output by the earphone (when the user puts on the earphone); or, the voice is actively stopped. The software plays the audio or switches the audio output to the built-in speaker of the electronic device 20 (when the user takes off the earphone). Therefore, by the setting of the signal switching device 10, the electronic device 20 can actively switch the operation of the corresponding peripheral device 30, wherein, corresponding to the operation of the peripheral device 30, By way of example and not limitation, the peripheral device 30 is directly used as the primary input/output device, or the software corresponding to the peripheral device 30 is activated or stopped.

是以,電子裝置如正以播放音樂軟體執行播放音樂(音訊),現有技術在耳機對接到音訊插孔的同時,僅是以對接的耳機為音樂輸出裝置,在使用者尚未戴上耳機時,音樂仍在繼續播放。但以本案技術應用於電子裝置上來看,在使用者尚未戴上耳機時,本案的信號切換裝置可將使用者的佩戴與否的使用狀態提供給電子裝置,電子裝置可依據耳機的使用狀態主動地暫停音樂軟體的執行播放,待使用者佩戴上耳機後主動地使音樂軟體繼續執行播放。同理,本案技術可讓使用者無需自行暫停音樂軟體的執行播放,當使用者脫下耳機後,電子裝置可依據耳機的使用狀態主動地暫停音樂軟體的執行播放。 Therefore, the electronic device is playing music (audio) by playing the music software. In the prior art, when the earphone is connected to the audio jack, only the docked earphone is used as the music output device, when the user has not put on the earphone, The music is still playing. However, when the technology of the present invention is applied to an electronic device, when the user has not put on the earphone, the signal switching device of the present invention can provide the wearing state of the user to the electronic device, and the electronic device can take the initiative according to the state of use of the earphone. The music software is paused for execution, and the user actively plays the music software after the user wears the earphone. Similarly, the technology of the present invention allows the user to pause the execution of the music software by itself. When the user takes off the earphone, the electronic device can actively suspend the execution of the music software according to the state of use of the earphone.

續參考圖1,另一例子中,電子裝置20為一平板電腦,內建觸控顯示幕的輸入方式,周邊裝置30則為一觸控筆。是以,本案的傳感器14偵測到使用者握取觸控筆時產生電感變化來作為觸發信號,平板電腦的系統單晶片22依據此觸發信號,主動地將輸入模式切換到觸控筆。則,無須如現有技術般先利用觸控筆點選顯示幕,使用者即可開始使用觸控筆輸入資料;同理,當使用者放下觸控筆時,傳感器14傳送觸發信號給電子裝置20,進而讓電子裝置20主動地切換信號,將輸入模式切換到內建的觸控顯示幕(內建輸入裝置)。 Referring to FIG. 1 , in another example, the electronic device 20 is a tablet computer, and the input mode of the touch display screen is built in, and the peripheral device 30 is a stylus. Therefore, the sensor 14 of the present invention detects that the user changes the inductance when the user touches the stylus as a trigger signal, and the system single chip 22 of the tablet actively switches the input mode to the stylus according to the trigger signal. Therefore, the user can start to use the stylus to input the display without using the stylus as in the prior art. Similarly, when the user puts down the stylus, the sensor 14 transmits a trigger signal to the electronic device 20 In turn, the electronic device 20 actively switches signals to switch the input mode to the built-in touch display screen (built-in input device).

圖2為本案的主動切換信號的流程示意圖。請參考圖2,本案 的方法必須透過電子裝置的連接埠,即在有連接埠存在的條件下(步驟40)。其次,周邊裝置電連接連接埠以建立一信號通路(步驟42)來偵測周邊裝置的使用狀態,其中,周邊裝置的使用狀態,主要是指使用者和周邊裝置的接觸與否,尤其是使用者的一部分,例如頭、身體、四肢等是否接觸周邊裝置的一部份或全部。再者,電連接後的周邊裝置會先被校正,校正的步驟包括將周邊裝置的一電場設定為0單位準位以及設定一環境誤差範圍和一判定範圍,例如環境誤差範圍為正負3%,判定範圍為正負10%,其中,該判定範圍大於且涵蓋該環境誤差範圍。 FIG. 2 is a schematic flow chart of the active switching signal in the present case. Please refer to Figure 2, this case The method must pass through the connection of the electronic device, that is, in the presence of a connection port (step 40). Next, the peripheral device electrically connects the port to establish a signal path (step 42) to detect the state of use of the peripheral device. The state of use of the peripheral device mainly refers to the contact between the user and the peripheral device, especially the use. A part of the person, such as the head, body, limbs, etc., contacts some or all of the peripheral devices. Furthermore, the peripheral device after the electrical connection is first corrected, and the step of correcting comprises setting an electric field of the peripheral device to a 0 unit level and setting an environmental error range and a determination range, for example, the environmental error range is plus or minus 3%. The determination range is plus or minus 10%, wherein the determination range is greater than and encompasses the environmental error range.

接著,具有主動信號切換裝置的電子裝置響應連接埠偵測該周邊裝置的一使用狀態形成一物理量變化(步驟44),在主動信號切換裝置包括一電感式線性傳感器的例子中,此物理量變化為一電感變化,也就是使用者的皮膚接觸周邊裝置的與否會透過信號通路傳遞而引起主動信號切換裝置的電感變化。舉例來說,當周邊裝置的電場在環境誤差範圍內,例如0+/-2%時,判斷是周邊裝置的環境干擾,而並非使用者接觸周邊裝置。當周邊裝置的電場超過該判定範圍,例如+12%或-13%時,判斷該使用者接觸該耳機或該觸控筆,即周邊裝置的使用狀態為一取用狀態,進而形成該電感變化。本案的特徵之一在於,電子裝置因應此物理量變化產生一觸發信號(步驟46),進而電子裝置應用此觸發信號主動切換對應周邊裝置的運作(步驟48)。具有系統單晶片的電子裝置可以發出一控制信號執行或停止對應周邊裝置的一軟體,或是執行或 停止擷取資料或指令給周邊裝置,或是執行或停止從周邊裝置擷取資料或指令。 Then, the electronic device having the active signal switching device forms a physical quantity change in response to the connection detecting a usage state of the peripheral device (step 44). In the example where the active signal switching device includes an inductive linear sensor, the physical quantity changes to A change in inductance, that is, whether the user's skin contacts the peripheral device or not, is transmitted through the signal path to cause an inductance change of the active signal switching device. For example, when the electric field of the peripheral device is within an environmental error range, for example, 0 +/- 2%, it is judged to be an environmental disturbance of the peripheral device, and not the user touches the peripheral device. When the electric field of the peripheral device exceeds the determination range, for example, +12% or -13%, it is determined that the user contacts the earphone or the stylus, that is, the use state of the peripheral device is an access state, thereby forming the inductance change. . One of the features of the present invention is that the electronic device generates a trigger signal according to the change of the physical quantity (step 46), and the electronic device applies the trigger signal to actively switch the operation of the corresponding peripheral device (step 48). An electronic device having a system single chip can issue a control signal to execute or stop a software corresponding to the peripheral device, or execute or Stop capturing data or instructions to peripheral devices, or execute or stop capturing data or commands from peripheral devices.

以上所述僅為本案之較佳實施例,並非用以限定本案之申請專利範圍,因此凡其它未脫離本案所揭示之精神下所完成之等效改變或修飾,均應包含於本案之申請專利範圍內。 The above is only the preferred embodiment of the present invention, and is not intended to limit the scope of the patent application in this case. Therefore, any equivalent changes or modifications made without departing from the spirit of the present disclosure should be included in the patent application in this case. Within the scope.

Claims (8)

一種電子裝置主動切換信號的方法,包括:電連接一周邊裝置與一電子裝置的一連接埠並校正該周邊裝置,其中,該校正步驟包括將該周邊裝置的一電場設定為0單位準位以及設定一環境誤差範圍和一判定範圍;響應該連接埠感測該周邊裝置的一使用狀態形成一物理量變化,其中,當該周邊裝置的該電場超過該判定範圍時,判斷該使用狀態為一取用狀態而形成該物理量變化;因應該物理量變化產生一觸發信號;以及依據該觸發信號主動切換對應該周邊裝置的運作。 A method for actively switching signals by an electronic device includes: electrically connecting a peripheral device to a connection between an electronic device and correcting the peripheral device, wherein the correcting step comprises setting an electric field of the peripheral device to a 0 unit level and Setting an environmental error range and a determination range; and sensing a usage state of the peripheral device to form a physical quantity change in response to the connection, wherein when the electric field of the peripheral device exceeds the determination range, determining that the usage state is a The physical quantity change is formed by the state; a trigger signal is generated due to the change of the physical quantity; and the operation of the corresponding peripheral device is actively switched according to the trigger signal. 如申請專利範圍第1項所述的電子裝置主動切換信號的方法,其中,該電連接步驟包括提供一耳機作為該周邊裝置,以及提供一輸入/輸出端口插孔作為該連接埠;該感測步驟的該使用狀態包括一使用者是否穿載或脫離該耳機,以及該物理量變化為一電感變化量;以及該主動切換步驟包括該電子裝置執行或停止一音訊播放。 The method for actively switching signals by an electronic device according to claim 1, wherein the electrical connection step comprises: providing an earphone as the peripheral device, and providing an input/output port jack as the connection port; the sensing The usage state of the step includes whether a user wears or detaches the earphone, and the physical quantity changes to an inductance change amount; and the active switching step includes the electronic device performing or stopping an audio playback. 如申請專利範圍第1項所述的電子裝置主動切換信號的方法,其中,該電連接步驟包括提供一觸控筆作為該周邊裝置,以及提供一輸入/輸出端口插孔作為該連接埠;該感測步驟的該使用狀態包括一使用者是否握持該觸控筆,以及該物理量變化為一電感變化量;以及該主動切換步驟包括該電子裝置主動將一輸入模式切換至該觸控筆或是 將該輸入模式切換至一內建輸入裝置。 The method for actively switching signals by an electronic device according to claim 1, wherein the electrical connection step comprises providing a stylus as the peripheral device, and providing an input/output port jack as the connection port; The usage state of the sensing step includes whether the user holds the stylus and the physical quantity changes to an inductance change amount; and the active switching step includes the electronic device actively switching an input mode to the stylus or Yes Switch the input mode to a built-in input device. 如申請專利範圍第1項所述的電子裝置主動切換信號的方法,其中,該主動切換步驟包括通過該電子裝置的一積體電路匯流排傳送該觸發信號給該電子裝置的一系統單晶片;以及該系統單晶片發出一控制信號執行或停止對應該周邊裝置的一軟體,或是執行或停止擷取資料或指令給該周邊裝置,或是執行或停止從該周邊裝置擷取資料或指令。 The method for actively switching signals by an electronic device according to claim 1, wherein the active switching step comprises transmitting the trigger signal to a system single chip of the electronic device through an integrated circuit bus of the electronic device; And the system single chip sends a control signal to execute or stop a software corresponding to the peripheral device, or to execute or stop capturing data or instructions to the peripheral device, or to execute or stop capturing data or instructions from the peripheral device. 如申請專利範圍第4項所述的電子裝置主動切換信號的方法,其中,該連接埠為一輸入/輸出端口插孔,該周邊裝置為一耳機或一觸控筆,該使用狀態為一使用者是否接觸該耳機或該觸控筆。 The method for actively switching signals by an electronic device according to claim 4, wherein the connection port is an input/output port jack, and the peripheral device is an earphone or a stylus, and the use state is a use. Whether the person touches the earphone or the stylus. 如申請專利範圍第5項所述的電子裝置主動切換信號的方法,其中,該響應步驟包括當該周邊裝置的該電場超過該判定範圍時,判斷該使用者接觸該耳機或該觸控筆而形成該物理量變化。 The method for actively switching signals by an electronic device according to claim 5, wherein the responding step comprises: when the electric field of the peripheral device exceeds the determination range, determining that the user contacts the earphone or the stylus This physical quantity change is formed. 如申請專利範圍第6項所述的電子裝置主動切換信號的方法,其中,該環境誤差範圍為正負3%,以及該判定範圍為正負10%。 The method for actively switching signals by an electronic device according to claim 6, wherein the environmental error range is plus or minus 3%, and the determination range is plus or minus 10%. 如申請專利範圍第1項所述的電子裝置主動切換信號的方法,其中,該判定範圍大於且涵蓋該環境誤差範圍。 The method for actively switching signals by an electronic device according to claim 1, wherein the determination range is greater than and encompasses the environmental error range.
TW106101225A 2017-01-13 2017-01-13 Signal switching device for electronic device, application thereof, and method for actively switching signal TWI626542B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW106101225A TWI626542B (en) 2017-01-13 2017-01-13 Signal switching device for electronic device, application thereof, and method for actively switching signal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW106101225A TWI626542B (en) 2017-01-13 2017-01-13 Signal switching device for electronic device, application thereof, and method for actively switching signal

Publications (2)

Publication Number Publication Date
TWI626542B true TWI626542B (en) 2018-06-11
TW201826129A TW201826129A (en) 2018-07-16

Family

ID=63255768

Family Applications (1)

Application Number Title Priority Date Filing Date
TW106101225A TWI626542B (en) 2017-01-13 2017-01-13 Signal switching device for electronic device, application thereof, and method for actively switching signal

Country Status (1)

Country Link
TW (1) TWI626542B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW508532B (en) * 2000-08-16 2002-11-01 Xybernaut Corp Operating system for a dynamically re-configurable PC
US20060233413A1 (en) * 2005-03-25 2006-10-19 Seong-Hyun Nam Automatic control earphone system using capacitance sensor
US20100057946A1 (en) * 2008-07-30 2010-03-04 Apple Inc. Type a usb receptacle with plug detection

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW508532B (en) * 2000-08-16 2002-11-01 Xybernaut Corp Operating system for a dynamically re-configurable PC
US20060233413A1 (en) * 2005-03-25 2006-10-19 Seong-Hyun Nam Automatic control earphone system using capacitance sensor
US20100057946A1 (en) * 2008-07-30 2010-03-04 Apple Inc. Type a usb receptacle with plug detection

Also Published As

Publication number Publication date
TW201826129A (en) 2018-07-16

Similar Documents

Publication Publication Date Title
TWI763645B (en) Headset controller
US9465455B2 (en) Active pen system
JP7329150B2 (en) Touch button, control method and electronic device
US9697745B2 (en) Auxiliary sensor for touchscreen device
KR102297473B1 (en) Apparatus and method for providing touch inputs by using human body
JP2017517084A (en) Wearable touch device and wearable touch method
WO2018039881A1 (en) Electric charging protection method, terminal, and charger
WO2017107813A1 (en) Control apparatus of smart device, smart device, and method and apparatus for operation control
KR20210021858A (en) Electronic device for managing power and operating method thereof
CN112468922A (en) Earphone interaction method and earphone
TWI700624B (en) Method for calculating center of touch area, touch system and touch device
CN104035553A (en) Systems and methods for indicating that an interface is being touched
WO2020181423A1 (en) Method and system for transmitting writing note information, and electronic device
TW201405290A (en) Electronic apparatus with touch sensing modules and cooling control method thereof
TWI626542B (en) Signal switching device for electronic device, application thereof, and method for actively switching signal
KR20130004892U (en) Earphone with control pad for audio device
US20150148923A1 (en) Wearable device that infers actionable events
KR102242120B1 (en) Method for operating a touchscreen and electronic device implementing the same
CN108304332A (en) The method of electronic device and its signal switching apparatus and active switching signal
KR20190068543A (en) Information processing apparatus, method and program
CN111669678A (en) True wireless earphone volume adjusting device and method
KR20210101580A (en) Electronic device to distinguish different input operations and method of thereof
CN109756625A (en) control method, control device, electronic device and storage medium
TWI749877B (en) Wireless control device
WO2021103999A1 (en) Method for recognizing touch operation and wearable apparatus