TWI483620B - Method for providing charging, charging control system thereof and electronic device having the same - Google Patents
Method for providing charging, charging control system thereof and electronic device having the same Download PDFInfo
- Publication number
- TWI483620B TWI483620B TW102112387A TW102112387A TWI483620B TW I483620 B TWI483620 B TW I483620B TW 102112387 A TW102112387 A TW 102112387A TW 102112387 A TW102112387 A TW 102112387A TW I483620 B TWI483620 B TW I483620B
- Authority
- TW
- Taiwan
- Prior art keywords
- audio transmission
- signal
- charging
- connector
- path
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims description 18
- 230000005540 biological transmission Effects 0.000 claims description 64
- 230000005236 sound signal Effects 0.000 claims description 16
- 238000001514 detection method Methods 0.000 claims description 14
- 239000002184 metal Substances 0.000 description 27
- 230000007274 generation of a signal involved in cell-cell signaling Effects 0.000 description 10
- 238000010586 diagram Methods 0.000 description 6
- 230000008901 benefit Effects 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 230000005611 electricity Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000005669 field effect Effects 0.000 description 1
- 229910044991 metal oxide Inorganic materials 0.000 description 1
- 150000004706 metal oxides Chemical class 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
Landscapes
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
Description
本發明係有關一種提供充電之方法,特別是一種透過電子裝置之音訊傳輸孔以對外接裝置進行充電之提供充電之方法。The present invention relates to a method of providing charging, and more particularly to a method of providing charging by charging an external device through an audio transmission hole of an electronic device.
隨著科技的進步,可攜式電子產品的功能也越來越強大,連帶著與其使用相關的周邊產品也越來越多元化,例如:藍芽耳機、藍芽喇叭;無線鍵盤、主動式觸控筆…等。With the advancement of technology, the functions of portable electronic products are becoming more and more powerful, and the peripheral products related to their use are becoming more and more diversified, such as: Bluetooth headset, Bluetooth speaker; wireless keyboard, active touch Control pen...etc.
然而,這些周邊產品都必須在有電力的情況下才能使用,因此於使用一段時間後,即必須對其進行充電。以主動式觸控筆為例,當使用者外出一時尋找不到可利用的外部電源時,若能透過可攜式電子產品本身對其進行充電的話,將可解決此一困擾。However, these peripheral products must be used in the presence of electricity, so they must be recharged after a period of use. Taking the active stylus as an example, when the user can find out the available external power source for a while, the trouble can be solved if the portable electronic product itself can be charged.
本發明之主要目的係在提供一種提充充電之方法及執行該方法的充電控制系統。SUMMARY OF THE INVENTION A primary object of the present invention is to provide a method of charging and charging and a charging control system for performing the same.
本發明之另一目的係在提供一種可透過其本身的音訊傳輸孔對外接裝置進行充電的電子裝置。Another object of the present invention is to provide an electronic device that can charge an external device through its own audio transmission hole.
為達成本發明之主要目的,本發明之提供充電之方法可用以使電子裝置透過音訊傳輸孔對外接裝置充電。外接裝置包括有接頭,接頭用以插入音訊傳輸孔,且於接頭插入音訊傳輸孔時,接頭與電子裝置之訊號產生開關並聯,並與電子裝置之分壓電路串聯,使得分壓電路於訊號產生開關不導通時,根據接頭之阻抗值產生分壓電位。本發明之提供充電之方法包括有以下步驟:偵測訊號產生開關是否產生一中斷訊號;若是,控制訊號產生開關不導通;偵測分壓電位,藉以根據分壓電位判別外接裝置是否為一待充電裝置;當判別外接裝置為待充電裝置時,控制電子裝置之電源供應模組輸出一電源訊號至待充電裝置,以對待充電裝置進行充電。To achieve the primary object of the present invention, a method of providing charging according to the present invention can be used to cause an electronic device to charge an external device through an audio transmission hole. The external device includes a connector for inserting an audio transmission hole, and when the connector is inserted into the audio transmission hole, the connector is connected in parallel with the signal generating switch of the electronic device, and is connected in series with the voltage dividing circuit of the electronic device, so that the voltage dividing circuit is When the signal generation switch is not turned on, the divided piezoelectric position is generated according to the impedance value of the joint. The method for providing charging of the present invention comprises the steps of: detecting whether the signal generating switch generates an interrupt signal; if so, the control signal generating switch is non-conducting; detecting the divided piezoelectric position, thereby determining whether the external device is based on the divided piezoelectric position When the external device is determined to be the device to be charged, the power supply module of the control electronic device outputs a power signal to the device to be charged to charge the device to be charged.
本發明之充電控制系統適用於電子裝置,以使電子裝置可透過音訊傳輸孔對外接裝置充電。外接裝置包括有接頭,接頭用以插入音訊傳輸孔,且於接頭插入音訊傳輸孔時,接頭與電子裝置之訊號產生開關並聯,並與電子裝置之分壓電路串聯,使得分壓電路於訊號產生開關不導通時,根據接頭之阻抗值產生一分壓電位。本發明之充電控制系統包括有中斷偵測模組、開關控制模組、分壓偵測模組、判斷模組以及電源輸出控制模組。中斷偵測模 組用以偵測訊號產生開關是否產生一中斷訊號。開關控制模組用以根據中斷訊號控制訊號產生開關不導通。分壓偵測模組用以於訊號產生開關不導通時偵測分壓電位。判斷模組用以根據分壓電位判別外接裝置是否為待充電裝置。電源輸出控制模組用以當判斷模組判別外接裝置為待充電裝置時,控制電子裝置之電源供應模組輸出一電源訊號至待充電裝置。The charging control system of the present invention is suitable for use in an electronic device such that the electronic device can charge the external device through the audio transmission hole. The external device includes a connector for inserting an audio transmission hole, and when the connector is inserted into the audio transmission hole, the connector is connected in parallel with the signal generating switch of the electronic device, and is connected in series with the voltage dividing circuit of the electronic device, so that the voltage dividing circuit is When the signal generation switch is not turned on, a minute piezoelectric position is generated according to the impedance value of the joint. The charging control system of the present invention comprises an interrupt detection module, a switch control module, a voltage division detection module, a judgment module and a power output control module. Interrupt detection mode The group is used to detect whether the signal generation switch generates an interrupt signal. The switch control module is configured to generate a switch that does not conduct according to the interrupt signal control signal. The voltage dividing detection module is configured to detect the divided piezoelectric position when the signal generating switch is not turned on. The judging module is configured to determine whether the external device is the device to be charged according to the piezoelectric position. The power output control module is configured to: when the determining module determines that the external device is the device to be charged, the power supply module of the control electronic device outputs a power signal to the device to be charged.
為達成本發明之另一目的,本發明之電子裝置包括有音訊傳輸孔、訊號產生開關、分壓電路、電源供應模組以及控制單元。音訊傳輸孔係供接頭插入。訊號產生開關係與音訊傳輸孔電性連接,用以當接頭插入音訊傳輸孔時,產生一中斷訊號。分壓電路係與音訊傳輸孔電性連接,且當接頭插入音訊傳輸孔時,接頭與訊號產生開關並聯,並與分壓電路串聯,使得分壓電路於訊號產生開關不導通時,根據接頭之一阻抗值產生一分壓電位。電源供應模組係與音訊傳輸孔及分壓電路電性連接,用以產生電源訊號。控制單元係與訊號產生開關及電源供應模組電性連接,用以控制訊號產生開關,並於訊號產生開關不導通時偵測分壓電位,藉以根據分壓電位判斷是否控制電源供應模組輸出電源訊號至外接裝置。In order to achieve another object of the present invention, an electronic device of the present invention includes an audio transmission hole, a signal generation switch, a voltage dividing circuit, a power supply module, and a control unit. The audio transmission hole is for the connector to be inserted. The signal generating relationship is electrically connected to the audio transmission hole for generating an interrupt signal when the connector is inserted into the audio transmission hole. The voltage dividing circuit is electrically connected to the audio transmission hole, and when the connector is inserted into the audio transmission hole, the connector is connected in parallel with the signal generating switch, and is connected in series with the voltage dividing circuit, so that the voltage dividing circuit is not turned on when the signal generating switch is not turned on. A minute piezoelectric position is generated based on the impedance value of one of the joints. The power supply module is electrically connected to the audio transmission hole and the voltage dividing circuit for generating a power signal. The control unit is electrically connected to the signal generating switch and the power supply module for controlling the signal generating switch, and detecting the divided piezoelectric position when the signal generating switch is not turned on, thereby determining whether to control the power supply mode according to the divided piezoelectric position. The group outputs a power signal to the external device.
1‧‧‧電子裝置1‧‧‧Electronic device
10‧‧‧音訊傳輸孔10‧‧‧ audio transmission hole
E1‧‧‧第一彈片E1‧‧‧ first shrapnel
E2‧‧‧第二彈片E2‧‧‧Second shrapnel
20‧‧‧訊號產生開關20‧‧‧Signal generation switch
S‧‧‧源極端S‧‧‧ source extreme
G‧‧‧閘極端G‧‧‧ gate extreme
D‧‧‧汲極端D‧‧‧汲 Extreme
30‧‧‧分壓電路30‧‧‧voltage circuit
31,32‧‧‧電阻31,32‧‧‧resistance
40‧‧‧電源供應模組40‧‧‧Power supply module
41‧‧‧電池41‧‧‧Battery
42‧‧‧電源管理晶片42‧‧‧Power Management Wafer
50‧‧‧音訊處理裝置50‧‧‧Operation processing device
60‧‧‧路徑切換單元60‧‧‧Path switching unit
61‧‧‧第一開關61‧‧‧First switch
62‧‧‧第二開關62‧‧‧Second switch
70‧‧‧控制單元70‧‧‧Control unit
71‧‧‧充電控制系統71‧‧‧Charging control system
711‧‧‧中斷偵測模組711‧‧‧Interrupt Detection Module
712‧‧‧開關控制模組712‧‧‧Switch Control Module
713‧‧‧分壓偵測模組713‧‧‧Voltage detection module
714‧‧‧判斷模組714‧‧‧Judgement module
715‧‧‧電源輸出控制模組715‧‧‧Power Output Control Module
716‧‧‧音訊輸出模組716‧‧‧Optical output module
717‧‧‧路徑切換控制模組717‧‧‧Path Switch Control Module
90‧‧‧外接裝置90‧‧‧External devices
91‧‧‧接頭91‧‧‧Connectors
911‧‧‧第一金屬環911‧‧‧First metal ring
912‧‧‧第二金屬環912‧‧‧Second metal ring
913‧‧‧第三金屬環913‧‧‧ Third metal ring
914‧‧‧第四金屬環914‧‧‧fourth metal ring
V‧‧‧分壓端點V‧‧‧voltage endpoint
P1‧‧‧音訊傳輸路徑P1‧‧‧ audio transmission path
P2‧‧‧充電路徑P2‧‧‧Charging path
R‧‧‧阻抗R‧‧‧ impedance
圖1係本發明之電子裝置之裝置架構圖。1 is a block diagram of an apparatus of an electronic device of the present invention.
圖2係本發明之充電控制系統之系統架構圖。2 is a system architecture diagram of a charging control system of the present invention.
圖3係本發明之提供充電之方法之步驟流程圖。3 is a flow chart showing the steps of the method of providing charging of the present invention.
圖4係表示接頭電性連接音訊傳輸孔形成的模擬電路示意圖。Fig. 4 is a schematic diagram showing an analog circuit in which a connector is electrically connected to an audio transmission hole.
為讓本發明之上述和其他目的、特徵和優點能更明顯易懂,下文特舉出本發明之具體實施例,並配合所附圖式,作詳細說明如下。The above and other objects, features and advantages of the present invention will become more <
以下請先參考圖1及圖2。其中圖1係本發明之電子裝置之裝置架構圖;圖2係本發明之充電控制系統之系統架構圖。Please refer to Figure 1 and Figure 2 below. 1 is a device architecture diagram of an electronic device of the present invention; and FIG. 2 is a system architecture diagram of a charging control system of the present invention.
如圖1所示,本發明之電子裝置1可與外接裝置90電性連接。外接裝置90包括有接頭91。接頭91包括有第一金屬環911、第二金屬環912、第三金屬環913及第四金屬環914。第一金屬環911及第二金屬環912用以接收聲音訊號。第三金屬環913接地。第四金屬環914則用以輸入聲音訊號。進一步言之,本發明之外接裝置90之接頭91為現有的耳機接頭或喇叭接頭,惟外接裝置90不限於耳機或喇叭。若外接裝置90為耳機或喇叭時,第一金屬環911用以接收聲音訊號後,將聲音訊號自耳機的左聲道輸出,而第二金屬環912用以接收聲音訊號後,將聲音訊號自耳機的右聲道輸 出,第四金屬環914則可用以傳輸使用者透過麥克風輸入的聲音訊號。在本發明之實施例中,不同外接裝置90,其接頭91的阻抗值是不相同的。於本發明之具體實施例中,電子裝置1為智慧型手機,但本發明不以此為限。As shown in FIG. 1 , the electronic device 1 of the present invention can be electrically connected to the external device 90 . The external device 90 includes a joint 91. The joint 91 includes a first metal ring 911, a second metal ring 912, a third metal ring 913, and a fourth metal ring 914. The first metal ring 911 and the second metal ring 912 are used to receive an audio signal. The third metal ring 913 is grounded. The fourth metal ring 914 is used to input an audio signal. Further, the connector 91 of the external device 90 of the present invention is an existing earphone connector or a speaker connector, but the external device 90 is not limited to an earphone or a speaker. If the external device 90 is an earphone or a speaker, the first metal ring 911 is used to receive the audio signal, and the audio signal is output from the left channel of the earphone, and the second metal ring 912 is used to receive the audio signal, and then the audio signal is self-initiated. Right channel of the headset The fourth metal ring 914 can be used to transmit an audio signal input by the user through the microphone. In the embodiment of the present invention, the impedance values of the joints 91 of the different external devices 90 are different. In the specific embodiment of the present invention, the electronic device 1 is a smart phone, but the invention is not limited thereto.
於本發明之一實施例中,本發明之電子裝置1包括有音訊傳輸孔10、訊號產生開關20、分壓電路30、電源供應模組40、音訊處理裝置50、路徑切換單元60以及控制單元70。In an embodiment of the present invention, the electronic device 1 of the present invention includes an audio transmission hole 10, a signal generation switch 20, a voltage dividing circuit 30, a power supply module 40, an audio processing device 50, a path switching unit 60, and a control. Unit 70.
於本發明之一實施例中,音訊傳輸孔10包括有第一彈片E1及第二彈片E2。音訊傳輸孔10係供外接裝置90之接頭91插入。進一步言之,音訊傳輸孔10須為與接頭91相應配置的耳機孔或喇叭孔。In an embodiment of the invention, the audio transmission hole 10 includes a first elastic piece E1 and a second elastic piece E2. The audio transmission hole 10 is inserted into the joint 91 of the external device 90. Further, the audio transmission hole 10 must be a headphone hole or a horn hole corresponding to the joint 91.
於本發明之一實施例中,訊號產生開關20係與音訊傳輸孔10電性連接,訊號產生開關20用以當接頭91插入音訊傳輸孔10時,產生中斷訊號。於本發明之具體實施例中,訊號產生開關20為金屬氧化物半導體場效電晶體(Metal-Oxide Semiconductor Field-Effect Transistor,MOSFET),但本發明不以此為限。訊號產生開關20產生中斷訊號之技術內容於以下會有更詳細之說明,故在此暫不予贅述。In one embodiment of the present invention, the signal generating switch 20 is electrically connected to the audio transmission hole 10, and the signal generating switch 20 is configured to generate an interrupt signal when the connector 91 is inserted into the audio transmission hole 10. In a specific embodiment of the present invention, the signal generating switch 20 is a Metal-Oxide Semiconductor Field-Effect Transistor (MOSFET), but the invention is not limited thereto. The technical content of the signal generation switch 20 to generate an interrupt signal will be described in more detail below, and therefore will not be further described herein.
於本發明之一實施例中,分壓電路30包括有兩顆相互串聯的電阻31,32。分壓電路30係與音訊傳輸孔10及訊號產生開關20電性連接。如圖1所示,當外接裝置90之接頭 91插入音訊傳輸孔10,由於訊號產生開關20的源極端S與接頭91之第三金屬環913同為接地,因此,接頭91及訊號產生開關20會形成並聯狀態,分壓電路30則與訊號產生開關20及接頭91形成串聯。In an embodiment of the invention, the voltage dividing circuit 30 includes two resistors 31, 32 connected in series with each other. The voltage dividing circuit 30 is electrically connected to the audio transmission hole 10 and the signal generating switch 20. As shown in Figure 1, when the connector of the external device 90 91 is inserted into the audio transmission hole 10, since the source terminal S of the signal generating switch 20 and the third metal ring 913 of the connector 91 are grounded together, the connector 91 and the signal generating switch 20 form a parallel state, and the voltage dividing circuit 30 is The signal generating switch 20 and the joint 91 are connected in series.
於本發明之一實施例中,電源供應模組40包括電池41及電源管理晶片42(Power Management IC,PMIC),其中電源管理晶片42係與音訊傳輸孔10、分壓電路30、音訊處理裝置50及控制單元70電性連接。電源供應模組40用以產生電源訊號。In one embodiment of the present invention, the power supply module 40 includes a battery 41 and a power management chip 42 (Power Management IC, PMIC), wherein the power management chip 42 is coupled to the audio transmission hole 10, the voltage dividing circuit 30, and the audio processing. The device 50 and the control unit 70 are electrically connected. The power supply module 40 is configured to generate a power signal.
於本發明之一實施例中,音訊處理裝置50係與音訊傳輸孔10電性連接,音訊處理裝置50用以接收控制單元70傳輸過來的音源訊號,並將音源訊號進行解碼後產生聲音訊號,之後再將聲音訊號透過音訊傳輸孔10以傳輸到外接裝置90。In an embodiment of the present invention, the audio processing device 50 is electrically connected to the audio transmission hole 10, and the audio processing device 50 is configured to receive the audio signal transmitted by the control unit 70, and decode the audio signal to generate an audio signal. The audio signal is then transmitted through the audio transmission hole 10 to the external device 90.
於本發明之一實施例中,路徑切換單元60包括有第一開關61及第二開關62。第一開關61係與音訊傳輸孔10及音訊處理裝置50電性連接,用以導通或斷開音訊傳輸路徑P1。第二開關62係與音訊傳輸孔10及電源供應模組40電性連接,用以導通或斷開充電路徑P2。In an embodiment of the invention, the path switching unit 60 includes a first switch 61 and a second switch 62. The first switch 61 is electrically connected to the audio transmission hole 10 and the audio processing device 50 for turning on or off the audio transmission path P1. The second switch 62 is electrically connected to the audio transmission hole 10 and the power supply module 40 for turning on or off the charging path P2.
於本發明之一實施例中,控制單元70係與訊號產生開關20、電源供應模組40、音訊處理裝置50及路徑切換單元60電性連接。控制單元70包括有一充電控制系統71。 如圖2所示,於本發明之一實施例中,充電控制系統71包括有中斷偵測模組711、開關控制模組712、分壓偵測模組713、判斷模組714、電源輸出控制模組715、音訊輸出模組716以及路徑切換控制模組717。In an embodiment of the present invention, the control unit 70 is electrically connected to the signal generating switch 20, the power supply module 40, the audio processing device 50, and the path switching unit 60. Control unit 70 includes a charge control system 71. As shown in FIG. 2, in one embodiment of the present invention, the charging control system 71 includes an interrupt detection module 711, a switch control module 712, a voltage division detection module 713, a determination module 714, and a power output control. The module 715, the audio output module 716, and the path switching control module 717.
於本發明之一實施例中,中斷偵測模組711用以偵測訊號產生開關20是否產生中斷訊號。開關控制模組712用以當中斷偵測模組711偵測到中斷訊號時,根據中斷訊號控制訊號產生開關20不導通。分壓偵測模組713用以於訊號產生開關20不導通時,偵測分壓電路30產生的分壓電位。判斷模組714用以根據偵測到的分壓電位判別外接裝置91究為待充電裝置、聲音播放裝置或其他裝置。電源輸出控制模組715用以當外接裝置91為待充電裝置時,控制電源供應模組40輸出一電源訊號至待充電裝置,以對待充電裝置進行充電。音訊輸出模組716用以當外接裝置91為聲音播放裝置時輸出音源訊號。路徑切換控制模組717用以控制路徑切換單元60導通或斷開音訊傳輸路徑P1或充電路徑P2。關於分壓電位的偵測及外接裝置91的判別之技術內容,以下會有更詳細的說明,在此暫不予說明。In an embodiment of the invention, the interrupt detection module 711 is configured to detect whether the signal generation switch 20 generates an interrupt signal. The switch control module 712 is configured to: when the interrupt detection module 711 detects the interrupt signal, the switch 20 is not turned on according to the interrupt signal. The voltage dividing detection module 713 is configured to detect the divided piezoelectric position generated by the voltage dividing circuit 30 when the signal generating switch 20 is not turned on. The determining module 714 is configured to determine the external device 91 as a device to be charged, a sound playing device or other device according to the detected partial piezoelectric position. The power output control module 715 is configured to control the power supply module 40 to output a power signal to the device to be charged when the external device 91 is the device to be charged, to charge the device to be charged. The audio output module 716 is configured to output an audio source signal when the external device 91 is a sound playback device. The path switching control module 717 is configured to control the path switching unit 60 to turn on or off the audio transmission path P1 or the charging path P2. The technical contents of the detection of the divided piezoelectric position and the discrimination of the external device 91 will be described in more detail below, and will not be described here.
需注意的是,於本發明之一實施例中,上述充電控制系統71中之各個模組除可配置為軟體程式、韌體或其組合外,亦可藉電路迴路或其他適當型式配置。其中,當任一模組為利用軟體實施時,其係可載於一電腦可讀取 儲存媒體。各個模組除可以單獨之型式配置外,亦可以結合之型式配置。It should be noted that, in an embodiment of the present invention, each module in the charging control system 71 may be configured as a software program, a firmware, or a combination thereof, or may be configured by a circuit loop or other suitable type. Wherein, when any module is implemented by using software, the system can be read on a computer readable Storage media. In addition to the individual type configuration, each module can also be combined with the type configuration.
接著請參考圖3,並一併參考圖1、2及4。圖3係表示本發明之提供充電之方法之步驟流程,以下將配合圖1、2及4以依序說明本發明之提供充電之方法之各步驟。惟需注意的是,以下雖以前述之電子裝置1為例,說明本發明所揭露之提供充電之方法,惟本方法並不以使用於前述電子裝置1為限。Please refer to FIG. 3 and refer to FIGS. 1, 2 and 4 together. 3 is a flow chart showing the steps of the method for providing charging according to the present invention. The steps of the method for providing charging of the present invention will be sequentially described below with reference to FIGS. 1, 2 and 4. It should be noted that the method for providing charging disclosed in the present invention is described below by taking the electronic device 1 as an example, but the method is not limited to the electronic device 1 described above.
首先進行步驟S1:偵測訊號產生開關是否產生一中斷訊號。First, step S1 is performed: detecting whether the signal generating switch generates an interrupt signal.
如圖1所示,當外接裝置90之接頭91插入音訊傳輸孔10時,第一金屬環911接觸到第一彈片E1及第二彈片E2,使得第一彈片E1及第二彈片E2相互導通。而由於訊號產生開關20的源極端S接地,且控制單元70對訊號產生開關20的閘極端G會提供一大於臨界電壓的電壓訊號,因此在訊號產生開關20之源極端S與汲極端D間之通道導通的情況下,控制單元70可偵測到一低電位訊號(即中斷訊號)。也因此,控制單元70可藉由中斷訊號是否產生,以判斷是否有外接裝置90透過接頭91插入至電子裝置1之音訊傳輸孔10中。As shown in FIG. 1, when the connector 91 of the external device 90 is inserted into the audio transmission hole 10, the first metal ring 911 contacts the first elastic piece E1 and the second elastic piece E2, so that the first elastic piece E1 and the second elastic piece E2 are electrically connected to each other. Since the source terminal S of the signal generating switch 20 is grounded, and the control unit 70 provides a voltage signal greater than the threshold voltage to the gate terminal G of the signal generating switch 20, between the source terminal S and the 汲 terminal D of the signal generating switch 20 In the case that the channel is turned on, the control unit 70 can detect a low potential signal (ie, an interrupt signal). Therefore, the control unit 70 can determine whether an external device 90 is inserted into the audio transmission hole 10 of the electronic device 1 through the connector 91 by interrupting whether the signal is generated.
進行步驟S2:控制訊號產生開關不導通。Step S2 is performed: the control signal generating switch is not turned on.
在步驟S2中,由於接頭91插入音訊傳輸孔10後,接頭91與訊號產生開關20形成並聯,因此,在進行以下步驟前,必須先 將訊號產生開關20所導通的路徑斷開,以使控制單元70接下來可在圖4所示的分壓端點V上偵測到由分壓電路30及接頭91串聯形成的分壓電位。因此,在中斷訊號產生後,控制單元70會根據中斷訊號而停止對訊號產生開關20的閘極端G供電。一旦訊號產生開關20呈現截止狀態,訊號產生開關20的源極端S與汲極端D間便無法導通,亦即兩端間會形成斷路而不導通。In step S2, since the connector 91 is inserted into the audio transmission hole 10, the connector 91 is connected in parallel with the signal generation switch 20. Therefore, before performing the following steps, it is necessary to The path of the signal generating switch 20 is turned off, so that the control unit 70 can detect the partial piezoelectric formed by the voltage dividing circuit 30 and the joint 91 in series at the voltage dividing end point V shown in FIG. Bit. Therefore, after the interrupt signal is generated, the control unit 70 stops supplying power to the gate terminal G of the signal generating switch 20 according to the interrupt signal. Once the signal generating switch 20 is in the off state, the source terminal S of the signal generating switch 20 and the 汲 terminal D cannot be turned on, that is, an open circuit is formed between the two ends without being turned on.
進行步驟S3:偵測分壓電位,以根據分壓電位判別外接裝置是否為待充電裝置或聲音播放裝置。Step S3 is performed to detect the divided piezoelectric position to determine whether the external device is a device to be charged or a sound playing device according to the divided piezoelectric position.
前已述及,不同外接裝置90之接頭91之阻抗值是不相同的,因此,如圖4所示,一旦訊號產生開關20不導通後,透過電源供應模組40輸出一定電壓至分壓電路30及接頭91所形成的串聯路徑上,便可於圖4所示的分壓端點V上偵測到一分壓電位,且該分壓電位會隨著所串聯的接頭91之阻抗值的不同而改變(虛線部分的阻抗R即表示接頭91的第一金屬環911是有阻抗的,且由於接頭91的第三金屬環913接地,因此所示之阻抗R接地;虛線部分為接頭91的部分虛擬電路圖)。As described above, the impedance values of the connectors 91 of the different external devices 90 are different. Therefore, as shown in FIG. 4, once the signal generating switch 20 is not turned on, a certain voltage is outputted to the divided piezoelectrics through the power supply module 40. A series of piezoelectric positions can be detected on the voltage dividing end point V shown in FIG. 4 in the series path formed by the path 30 and the connector 91, and the divided piezoelectric position will follow the joint 91 in series. The impedance value changes (the impedance R of the broken line portion indicates that the first metal ring 911 of the joint 91 is impedance, and since the third metal ring 913 of the joint 91 is grounded, the impedance R shown is grounded; the broken line portion is Part of the virtual circuit diagram of the connector 91).
舉例而言,假設電源供應模組40輸出定電壓1.8伏特,電阻31之阻抗值為10萬歐姆,電阻32為1萬歐姆,而一般聲音播放裝置(例如:耳機)之接頭91之阻抗值約為32歐姆,因此若是聲音播放裝置之接頭21插入音 訊傳輸孔10時,根據分壓公式,在分壓端點V產生的分壓電位約為:1.8*(32+10000)/(100000+10000+32)=0.16伏特。若為待充電裝置,設待充電裝置之接頭91之阻抗為10萬歐姆的話,則分壓端點V產生的分壓電位約為:1.8*(100000+10000)/(100000+10000+100000)=0.94伏特。For example, suppose the power supply module 40 outputs a constant voltage of 1.8 volts, the resistance value of the resistor 31 is 100,000 ohms, and the resistance 32 is 10,000 ohms, and the impedance value of the joint 91 of a general sound playback device (for example, a headphone) is about 32 ohms, so if the sound player is plugged into the connector 21 When transmitting the hole 10, according to the partial pressure formula, the divided piezoelectric position generated at the voltage dividing end V is about: 1.8*(32+10000)/(100000+10000+32)=0.16 volt. If it is the device to be charged, if the impedance of the connector 91 of the device to be charged is 100,000 ohms, the voltage dividing position generated by the voltage dividing terminal V is about: 1.8*(100000+10000)/(100000+10000+100000) ) = 0.94 volts.
因此,根據偵測到的分壓電位的不同,控制單元70即可據此判別出外接裝置90究為待充電裝置或聲音播放裝置,抑或者皆不是兩者。更進一步言之,控制單元70會將測得的分壓電位與資料庫中儲存的多筆分壓資訊做比對,如果符合其中之一,則根據偵測到的電壓值執行以下所述之其中一步驟。相反地,若偵測到的分壓電位與資料庫中的各分壓資訊均不相符時,即判定外接裝置90既非聲音播放裝置,亦非待充電裝置,則此時控制單元70不執行任何動作。Therefore, according to the difference of the detected partial piezoelectric positions, the control unit 70 can determine whether the external device 90 is a device to be charged or a sound playing device, or neither. Furthermore, the control unit 70 compares the measured partial voltage bits with the plurality of divided voltage information stored in the database, and if one of them is met, performs the following according to the detected voltage value. One of the steps. Conversely, if the detected partial voltage position does not match the partial pressure information in the database, that is, it is determined that the external device 90 is neither a sound playback device nor a device to be charged, then the control unit 70 does not Perform any action.
如果比對分壓電位及分壓資訊而判別出外接裝置90為待充電裝置時,則執行步驟S4:控制路徑切換單元導通充電路徑,並斷開音訊傳輸路徑,同時控制電源供應模組輸出電源訊號至待充電裝置。If it is determined that the external device 90 is the device to be charged, the step S4 is executed: the control path switching unit turns on the charging path, and disconnects the audio transmission path, and controls the power supply module output. Power signal to the device to be charged.
當控制單元70偵測到分壓端點V之分壓電位,並根據該分壓電位而判別出外接 裝置90為待充電裝置時,控制單元70接著控制路徑切換單元60中的第二開關62導通,以導通充電路徑P2,並控制第一開關61斷開,以斷開音訊傳輸路徑P1,同時控制電源供應模組40輸出電源訊號,該電源訊號會透過充電路徑P2傳輸至接頭91的第四金屬環914,以對外接裝置90(即待充電裝置)進行充電。其中斷開音訊傳輸路徑P1之目的係在防止電源訊號回流至音訊處理裝置50。When the control unit 70 detects the divided piezoelectric position of the voltage dividing end point V, and discriminates the external connection according to the divided piezoelectric position When the device 90 is the device to be charged, the control unit 70 then controls the second switch 62 in the path switching unit 60 to be turned on to turn on the charging path P2, and controls the first switch 61 to be turned off to disconnect the audio transmission path P1 while controlling. The power supply module 40 outputs a power signal, which is transmitted to the fourth metal ring 914 of the connector 91 through the charging path P2 to charge the external device 90 (ie, the device to be charged). The purpose of disconnecting the audio transmission path P1 is to prevent the power signal from flowing back to the audio processing device 50.
執行步驟S5:控制路徑切換單元導通音訊傳輸路徑,並斷開充電路徑,同時輸出音源訊號。Step S5 is executed: the control path switching unit turns on the audio transmission path, and disconnects the charging path, and simultaneously outputs the sound source signal.
當控制單元70偵測到分壓端點V的分壓電位,並根據該分壓電位而判別出外接裝置90為聲音播放裝置時,控制單元70接著控制路徑切換單元60中的第一開關61導通,並控制第二開關62斷開,同時輸出音源訊號。音源訊號傳輸至音訊處理裝置50,並經由其解碼後形成聲音訊號,聲音訊號並可透過音訊傳輸孔10、第一金屬環911及第二金屬環912而傳輸至外接裝置90(即聲音播放裝置)輸出。另外,若聲音播放裝置附有麥可風時,使用者透過麥可風輸入的聲音訊號,便可透過接頭91的第四金屬環914及音訊傳輸路徑P1以傳輸至音訊處理裝置50進行編碼。When the control unit 70 detects the divided piezoelectric position of the voltage dividing end point V and determines that the external device 90 is the sound playing device according to the divided piezoelectric position, the control unit 70 then controls the first of the path switching units 60. The switch 61 is turned on, and controls the second switch 62 to be turned off, and simultaneously outputs the sound source signal. The sound source signal is transmitted to the audio processing device 50 and decoded to form an audio signal. The sound signal can be transmitted to the external device 90 through the audio transmission hole 10, the first metal ring 911 and the second metal ring 912 (ie, the sound playing device) ) Output. In addition, when the sound playback device is attached to the microphone, the audio signal input by the user through the microphone can be transmitted to the audio processing device 50 through the fourth metal ring 914 of the connector 91 and the audio transmission path P1 for encoding.
需注意的是,本發明所揭露之控制供電之方法並不以上述步驟次序為限,只要能達成本發明之目的,上述之步驟次序亦可加以 改變。It should be noted that the method for controlling the power supply disclosed in the present invention is not limited to the order of the above steps, and the order of the above steps may be added as long as the object of the present invention can be achieved. change.
由以上說明可知,本發明之電子裝置1之耳機孔(或喇叭孔)不僅可用以傳輸音訊,更可以用以輸出電源訊號以對外接裝置90進行充電。由於不需在電子裝置1上額外增設任何插孔,因此不影響電子裝置1外觀,且在外接裝置90沒電時,可利用電子裝置1本身及時對外接裝置90進行充電,不必再尋找其他外部電源,有效解決了先前技術所遭遇之問題。It can be seen from the above description that the earphone hole (or the horn hole) of the electronic device 1 of the present invention can be used not only to transmit audio but also to output a power signal to charge the external device 90. Since there is no need to additionally add any jack on the electronic device 1, the appearance of the electronic device 1 is not affected, and when the external device 90 is out of power, the electronic device 1 itself can be used to charge the external device 90 in time, without having to look for other external parts. The power supply effectively solves the problems encountered in the prior art.
綜上所陳,本發明無論就目的、手段及功效,在在顯示其迴異於習知技術之特徵,懇請 貴審查委員明察,早日賜准專利,俾嘉惠社會,實感德便。惟應注意的是,上述諸多實施例僅為便於說明而舉例而已,本發明所主張之權利範圍自應以申請專利範圍所述為準,而非僅限於上述實施例。To sum up, the present invention, regardless of its purpose, means and efficacy, is showing its distinctiveness in the characteristics of the prior art, and asks your review board to inspect the patent as soon as possible, and to benefit the society. It should be noted that the various embodiments described above are merely illustrative for ease of explanation, and the scope of the claims is intended to be limited by the scope of the claims.
1‧‧‧電子裝置1‧‧‧Electronic device
10‧‧‧音訊傳輸孔10‧‧‧ audio transmission hole
E1‧‧‧第一彈片E1‧‧‧ first shrapnel
E2‧‧‧第二彈片E2‧‧‧Second shrapnel
20‧‧‧訊號產生開關20‧‧‧Signal generation switch
S‧‧‧源極端S‧‧‧ source extreme
G‧‧‧閘極端G‧‧‧ gate extreme
D‧‧‧汲極端D‧‧‧汲 Extreme
30‧‧‧分壓電路30‧‧‧voltage circuit
31,32‧‧‧電阻31,32‧‧‧resistance
40‧‧‧電源供應模組40‧‧‧Power supply module
41‧‧‧電池41‧‧‧Battery
42‧‧‧電源管理晶片42‧‧‧Power Management Wafer
50‧‧‧音訊處理裝置50‧‧‧Operation processing device
60‧‧‧路徑切換單元60‧‧‧Path switching unit
61‧‧‧第一開關61‧‧‧First switch
62‧‧‧第二開關62‧‧‧Second switch
70‧‧‧控制單元70‧‧‧Control unit
71‧‧‧充電控制系統71‧‧‧Charging control system
90‧‧‧外接裝置90‧‧‧External devices
91‧‧‧接頭91‧‧‧Connectors
911‧‧‧第一金屬環911‧‧‧First metal ring
912‧‧‧第二金屬環912‧‧‧Second metal ring
913‧‧‧第三金屬環913‧‧‧ Third metal ring
914‧‧‧第四金屬環914‧‧‧fourth metal ring
P1‧‧‧音訊傳輸路徑P1‧‧‧ audio transmission path
P2‧‧‧充電路徑P2‧‧‧Charging path
Claims (9)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW102112387A TWI483620B (en) | 2013-04-08 | 2013-04-08 | Method for providing charging, charging control system thereof and electronic device having the same |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW102112387A TWI483620B (en) | 2013-04-08 | 2013-04-08 | Method for providing charging, charging control system thereof and electronic device having the same |
Publications (2)
Publication Number | Publication Date |
---|---|
TW201440537A TW201440537A (en) | 2014-10-16 |
TWI483620B true TWI483620B (en) | 2015-05-01 |
Family
ID=52113983
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW102112387A TWI483620B (en) | 2013-04-08 | 2013-04-08 | Method for providing charging, charging control system thereof and electronic device having the same |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI483620B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI643424B (en) * | 2017-10-24 | 2018-12-01 | 圓展科技股份有限公司 | Charging control system and power supply charging management method thereof |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021243509A1 (en) * | 2020-06-01 | 2021-12-09 | Harman International Industries, Incorporated | 2 pogo pin design for tws headphone |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7263388B2 (en) * | 2001-06-29 | 2007-08-28 | Nokia Corporation | Charging system for portable equipment |
US7548040B2 (en) * | 2005-07-28 | 2009-06-16 | Zerog Wireless, Inc. | Wireless battery charging of electronic devices such as wireless headsets/headphones |
US7973513B2 (en) * | 2007-10-31 | 2011-07-05 | Sony Ericsson Mobile Communications Ab | Systems and methods for ubiquitous charging |
TWM435402U (en) * | 2012-03-23 | 2012-08-11 | yu-ji Xiao | Motorcycle broadcaster with power output |
US20120223673A1 (en) * | 2011-03-01 | 2012-09-06 | Shih-Hui Chen | Charging module |
TWM448867U (en) * | 2012-10-26 | 2013-03-11 | Fluiditech Ip Ltd | Multi-function earphone |
-
2013
- 2013-04-08 TW TW102112387A patent/TWI483620B/en not_active IP Right Cessation
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7263388B2 (en) * | 2001-06-29 | 2007-08-28 | Nokia Corporation | Charging system for portable equipment |
US7548040B2 (en) * | 2005-07-28 | 2009-06-16 | Zerog Wireless, Inc. | Wireless battery charging of electronic devices such as wireless headsets/headphones |
US7973513B2 (en) * | 2007-10-31 | 2011-07-05 | Sony Ericsson Mobile Communications Ab | Systems and methods for ubiquitous charging |
US20120223673A1 (en) * | 2011-03-01 | 2012-09-06 | Shih-Hui Chen | Charging module |
TWM435402U (en) * | 2012-03-23 | 2012-08-11 | yu-ji Xiao | Motorcycle broadcaster with power output |
TWM448867U (en) * | 2012-10-26 | 2013-03-11 | Fluiditech Ip Ltd | Multi-function earphone |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI643424B (en) * | 2017-10-24 | 2018-12-01 | 圓展科技股份有限公司 | Charging control system and power supply charging management method thereof |
US10498147B2 (en) | 2017-10-24 | 2019-12-03 | Aver Information Inc. | Charging control system and power charging management method thereof |
Also Published As
Publication number | Publication date |
---|---|
TW201440537A (en) | 2014-10-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8914555B2 (en) | Methods, systems and apparatus for determining whether an accessory includes particular circuitry | |
US10324507B2 (en) | Methods, systems and apparatus for enabling an accessory for use with a host device | |
US9031253B2 (en) | Plug insertion detection | |
US10042801B2 (en) | System for detecting universal serial bus (USB) device and method thereof | |
JP5714274B2 (en) | Semiconductor devices and electronic devices using them | |
CN103237189B (en) | Electronic equipment, MHL connector, MHL system and connector detection method | |
TWI764195B (en) | Usb interface detection module | |
US20120290742A1 (en) | Portable electronic device having multifunctional audio port | |
WO2018161496A1 (en) | Earphones, terminal and control method | |
TWI520626B (en) | Pin detecting circuit for microphone and pin detecting method thereof | |
CN104335437A (en) | Electronic device power protection circuitry | |
CN103096210B (en) | Signal connection module, electronic device and connector identification method | |
US9848270B2 (en) | Electronic device, earphone, and electronic device system | |
US20140294184A1 (en) | Detection circuit | |
TWI483620B (en) | Method for providing charging, charging control system thereof and electronic device having the same | |
CN113316057B (en) | Earphone, method and device for reducing power consumption and electronic equipment | |
KR20130007696A (en) | System and method for debugging in portable terminal | |
CN204887344U (en) | a wireless earphone | |
CN104969568A (en) | Circuit, terminal and earphone for detecting the key movements of the headset | |
TW201349890A (en) | Combo-jack detecting circuit | |
CN105657606B (en) | Earphone identification and connection method and circuit | |
WO2013090932A1 (en) | Plug insertion detection | |
CN113468094B (en) | USB type A interface, control terminal and OTG identification method thereof | |
TWI523544B (en) | Apparatus method for audio processing and method using the same | |
CN204406286U (en) | Sound card |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
MM4A | Annulment or lapse of patent due to non-payment of fees |