TW201230512A - Cap and electronic device using the same - Google Patents

Cap and electronic device using the same Download PDF

Info

Publication number
TW201230512A
TW201230512A TW100100148A TW100100148A TW201230512A TW 201230512 A TW201230512 A TW 201230512A TW 100100148 A TW100100148 A TW 100100148A TW 100100148 A TW100100148 A TW 100100148A TW 201230512 A TW201230512 A TW 201230512A
Authority
TW
Taiwan
Prior art keywords
cap
pin
electronic device
data transmission
transmission interface
Prior art date
Application number
TW100100148A
Other languages
Chinese (zh)
Other versions
TWI415337B (en
Inventor
wan-jun Jiang
Chun-Wei Pan
Gang Wang
Hui Yuan
Original Assignee
Hon Hai Prec Ind Co Ltd
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 Hon Hai Prec Ind Co Ltd filed Critical Hon Hai Prec Ind Co Ltd
Priority to TW100100148A priority Critical patent/TWI415337B/en
Publication of TW201230512A publication Critical patent/TW201230512A/en
Application granted granted Critical
Publication of TWI415337B publication Critical patent/TWI415337B/en

Links

Abstract

The present invention provides a cap and an electronic device using the same. The cap is positioned facing a Data transmission interface of the electronic device. The interface includes a ground pin and an ID pin. A convex hull button is defined on the outer surface of the cap, which includes a pair of metal contact pins connected together. One of the pair of the metal contact pins is positioned facing the ground pin, and the other is positioned facing the ID pin. The ID pin is connected to an on/off control circuit and a voltage input pin of the central processor unit of the electronic device in that order. The ID pin is also connected to a charging delay circuit, a reset control circuit and a reset pin of the central processor unit of the electronic device in that order. User can turn on, turn off or reboot the system of the electronic device by pressing the convex hull button.

Description

201230512 六、發明說明: 【發明所屬之技術領域】 [0001] 本發明涉及一種蓋帽,特別是涉及一種可控制電子裝置 的電源開關機及重啟功能的蓋帽及具有該蓋帽的電子裝 置。 【先前技#?】 [0002] 目前電子設備的殼體上通常會設置有儲存卡槽或是USB介 面,並在該卡槽或USB介面的相應位置設置一個蓋帽,該 蓋帽通常只起防塵、防潮的作用,功能單一。 【發明内容】 [0003] 有鑒於此,有必要提供一種具有按鈕結構的蓋帽。 [0004] 還有必要提供一種具有蓋帽的電子裝置,該蓋帽可控制 電子裝置的電源開關機及重啟功能。 [0005] 一種蓋帽,該蓋帽採用塑膠材料,該蓋帽的外側面凸設 有一凸包按鈕,該凸包按鈕在蓋帽的内侧相應地形成一 凹腔,凹腔内封裝有兩個相互連接的金屬觸腳。 [0006] 一種電子裝置,包括資料傳輸介面、蓋帽、開/關機控制 電路、充電延遲電路、重啟控制電路及中央處理器,該 蓋帽的位置與該資料傳輸介面的位置相對。資料傳輸介 面包括接地引腳及標識引腳,該蓋帽的外側面凸設有一 凸包按鈕,該凸包按鈕在蓋帽的内側封裝有兩個相互連 接的金屬觸腳,該兩個金屬觸腳的位置分別與資料傳輸 介面的接地引腳和標識引腳的位置相對。資料傳輸介面 的標識引腳與開/關機控制電路及中央處理器的電壓輸入 100100148 表單編號A0101 第4頁/共20頁 1002000244-0 201230512 ❹ [0007] 〇國 [0009] 100100148 引腳依次連接’該標識引腳還與充電延遲電路、重啟控 制電路及中央處理器的復位引腳依次連接。當用戶按下 凸包按紐使兩個金屬觸腳與資料傳輸介面的接地引腳和 ^識引腳分別接觸時,標識引腳與接地引腳導通而處於 低電平’開/關機控制電路產生一個開機或關機控制信號 給中央處理器的電壓輸入引腳,從而使中央處理器相應 地控制電子裝置進入開機或關機狀態;同時,該充電延 遲電路開始充電,當用戶按壓到達一預定長的時間使充 電延遲電路的電壓輸出端的電壓達到一預設值後,重啟 控制電路產生一個重定控制信號給中央處理器的復位引 腳’從而使中央處理器控制電子裝置重新啟動系統。 本發明的電子裝置通過在資料傳輪介面的對應位置上設 置具有按紐的蓋帽結構,不僅可以實現普通的帽蓋防塵 、防潮的功能,而且可以實現按鈕控制電子裝置的電源 開關機與重啟的功能,方便用戶操作。 【實施方式】 請同時參閱圖1、2 ,電子裝置1〇〇侧緣的殼體1〇上設置有 ί·: 一個貧料傳輪介面11及對應於該資料傳輸介面11位置的 蓋帽20,該蓋帽20用於保護資料傳輸介面】丨不受外界環 境的污染。 凊同%參閱圖3,該資料傳輸介面u具有多個功能引腳 1H ’該多個功能引腳ln中包括接地引腳哪及標識引 腳ID,其中,該接地引腳GND接地。本實施方式中,該資 料傳輸介面11為USB介面。 请同時參閱圖4,該蓋帽20採用塑膠材料,該蓋帽2〇的外 表單編號A0101 第5頁/共20頁 1002000244-0 [0010] 201230512 側面上凸設有一個凸包按鈕21,該凸包按鈕21在蓋帽2〇 ’的内侧相應地形成一個凹腔22,使用戶可向蓋帽2〇的内 側按壓該凸包按鈕21,凹腔22内封裝有兩個相互連接的 金屬觸腳23 ’本實施方式中,兩個金屬觸腳23的形狀為H 形、Π形或Π形中的一種’且兩個金屬觸腳2 3之間的距 離與資料傳輸介面11的接地引腳GND和標識引腳id之間的 距離一致。當蓋帽20安裝到殼體1〇上並處於關閉狀態時 ’蓋帽20上的兩個金屬觸腳23的位置分別與資料傳輸介 面11的接地引腳GND和標識引腳ID的位置相對。該兩個金 屬觸腳23與資料傳輸介面11的功能引腳in在無外力作用 的情況下皆不接觸。當用户向蓋帽20内側按下凸包按鈕 21時,兩個金屬觸腳23分別與資料傳輸介面^的接地引 腳GND和標識引腳ID接觸’從而控制電子裝置1〇〇進入相 應的狀態。 [0011] 蓋帽20的内側面的一端上凸設有固定軸24,該固定軸24 的端部附近設有一凸沿2 41,用於將蓋帽2 0的一端不可拆 卸地固定到電子裝置1 〇〇的殼難1 〇及電子裝置丨〇〇的其他 ' 内部結構(圖未示)上。另一端上凸設有卡勾25,用於 當蓋帽20處於關閉狀態時將蓋帽2〇的另一端卡在殼體1〇 上(如圖2所示)。在其他實施方式中,蓋帽2〇設有卡勾 25的一端部與殼體1〇之間預留有近imin的縫隙,用於留給 用戶從殼體10上抠出蓋帽20。 [0012] 請參閱圖5,電子裝置1〇〇還包括一開/關機控制電路3〇、 充電延遲電路40、重啟控制電路50及中央處理器60,其 中’資料傳輸介面11的標識引腳ID與開/關機控制電路30 100100148 表單編號A0101 第6頁/共20頁 1002000244-0 201230512 及中央處理器60的電壓輸入引腳VIN依次連接,當用戶按 下凸包按鈕21使兩個金屬觸腳23與資料傳輸介面丨丨的接 地引腳GND和標識引腳ID分別接觸時,標識引腳ID與接地 引腳GNi>導通而處於低電平,開/關機控制電路30產生一 個開機或關機重啟控制信號給中央處理器60的電壓輸入 引腳VIN,從而使中央處理器60相應地控制電子裝置1〇〇 進入開機或關機狀態。 [0013] 0 ❹ [0014] 貝料傳輪介面11的標識引腳ID還與充電延遲電路4〇、重 啟控制電路50及中央處理器60的復位引腳RESET依次連 接’當用戶長按凸包按鈕21使兩個金屬觸腳23與資料傳 輸介面11的接地引腳GND和標識弓丨腳Π)分ij接觸時,標識 引腳ID與接地引腳GND導通而處於低.¾平,充電延遲電路 40開始緩慢充電,當用戶按壓到達一預定長的時間使充 電延遲電路40的電壓輸出端(圖未示)的電壓達到一預 设值後,重啟控制電路5 〇產生一個重定控制信號給中央 處理器60的復位引腳RESEt,從而使中央處理器制 電子裝置10 0重新啟動系統。 .,” η. 請參閱圖6,為電子裝置1〇〇内部的具體電路圖 其中, 資料傳輸介面11的標識引腳ID通過電阻R1及一第一開關 元件Q1連接到系統的待機電源輸出端VEXT,本實施方式 中,該待機電源輸出端VEXT輸出+5V的系統電源,該第_ 開關元件Q1採用PNP三極管。三極管Q1的基極b通過電阻 R1與資料傳輸介面11的標識引腳ID連接,發射極£與系統 的待機電源輸出端VEXT連接。 100100148 開/關機控制電路30包括第二開關元件Q2 表單編號A0101 第7頁/共20頁 第二開關元件 1002000244-0 [0015] 201230512 Q3及第四開關元件q4,本實施方式中,該第二開關元件 Q2、第三開關元件q3均採用NPN三極管,第四開關元件 Q4採用PM0S官。其中,三極管q2的基極β依次通過電阻 R3、R2與二極官Q1的集電極c連接,電阻R2、R3之間的 連接節點構成一電壓偵測點p 1,該電壓偵測點p 1與中央 處理器60的通用輸入/輸出引腳Gpi〇 〇連接;三極管Q2 的發射極E接地,並依次通過電阻R4、R3與三極管的的基 極B連接。二極管Q3的基極β通過電阻μ、μ與發射極連 接,電阻R5、R6之間的連接節點構成一電壓輸入點ρ2, 該電壓輸入點Ρ2與中央處理器6〇的通用輸入/輸出引腳 GPIO 1連接;三極管Q3的發_•極Ε接地e三極管Q2、Q3 的集電極C分別通過電阻R7與M0S管的栅極G連接,並 通過電阻R7、電阻R8和電容C1的並聯支路與M〇s管以的 源極S連接。M0S管Q4的漏極d與中央處理器6〇的電壓輸 入引腳VIN連接’源極s還與待機電源輸出端VEVT連接。 [0016]該開/關機控制電路3 〇的具體工作過程如下:當用戶按下 凸包按紐21時’資料傳輸介面u的標識引腳1]}與接地引 腳GND連接而處於低電平,此時,三極管Ql的基極b處於 低電平,二極管Q1導通,三極管卯的基極β通過電阻”、 R2及導通的二極管…連接到待機電源輸出端νΕχτ,三極 管Q2導通。此時’電壓偵測點P1處於高電平,中央處理 $ 6〇的通用輸入/輪出引腳GPI01根據通用輸入/輸出引 腳GP10〇情測到的電壓偵測點p2的高電平信號輸出—個 3‘ 3V的開啟電壓給電壓輪入點,從而三極管⑽的基極 β處於兩電平’三極管Q3導通。電阻R8、R7所在的支路形 100100148 表單編號A0101 第8頁/共20頁 1〇〇2〇〇〇244 201230512 Ο [0017] Ο [0018] 二’ _R8兩端具有電壓差’ Μ〇_4的拇極G MOS?S之間由於連接有電阻R8而具有電壓差,因此, 2通中央處理器60的電壓輪入端VIN通過導通的 Μ〇=4連接到待機電壓輸出端™τ而獲得一個+5V的開 機:壓二此時,中央處理器控制電子裝置1〇〇進入開機 狀L。畲用戶鬆開凸包按紐21後,標識腳11}與接地引 腳⑽斷開,因此,三極歸斷開,電壓仙點通過電 阻以、R10連接到地而處於低電平,三極管⑽截止。此時 ,中央處理器6〇的通用輸入/輸出GPI01給電壓輸入點P2 提供3.3V的持續電壓,使電子裝置1〇〇維持開機狀態。 ®用戶再-欠按下凸包按紐21時,如上所.述,中央處理器 60的通用輪入/輸出引腳GPIOO再次偵測到電壓偵測點?1 的電壓為高電平,通用輸入/輸出引腳GP101根據該高電 平信號輸出—個〇V的關機電壓給電壓輸入點P2,從而使 二極官Q3截止。當用戶鬆開凸包按鈕21後,如上所述, 三極管Q2截止,MOS管Q4的栅極G與源極S之間由於沒有 電壓差而斷開,中央處理器6〇的電壓輸入端VIN由於沒有 接收到一個+ 5V的開機電壓而控制電子裝置1〇〇進入關機 狀態。 當用戶又—次按下凸包按鈕21時,如上所述,中央處理 器60的通用輸入/輸出引腳GPIOO又一次偵測到電壓偵測 點P1的電壓為高電平,通用輸入/輸出引腳GPI01根據該 同電平仏號輸出一個3. 3V的開機電壓給電壓輸入點p2, 從而使電子裝置100進入開機狀態《如此重複。 [0019] 充電延遲電路40包括一個電容C2 100100148 表單編號A0101 該電容C2的負極接地 第9頁/共20頁 1002000244-0 201230512 正極通過電阻{?9與三極管以的集電極c連接,並通過電 BaR9,11()與負極連接。電紅2的正極與電議之間的 連接節點構成-個電壓偵測點p3,該電壓_針3即為 充電延遲電路40的電壓輸出端。 [0020] [0021] 重啟控制電路50包括第五„元件Q5,本實施方式中, 該第五開關元修採用_3管。該管的的柵極G與充 电延遲電路4〇的電壓债測點Μ連接源極§接地,漏極D 通過一個上拉電阻R11與一電源端vcc連接,該漏極1)與 電阻R11之間的連接節點構成一個電壓輸出點p4,該電壓 輸出點P4與中央處理器60的復位引腳RESET連接,並通 過電容C3或穩壓管D1接地。其中,該復位引腳rESEt為 低電平時,中央處理器60控制電子裝置100重新啟動系統 該充電延遲電路4〇及該重啟控制電路50的具體工作過程 如下:當用戶長按下凸包按鈕21時,如上所述,三極管 Q1導通,電容C2通過電阻R9及導通的三極管Q1連接到待 機電源輪出端VEXT而充電,當用戶長按凸包按鈕2丨的時 間達到一預設時間,使電壓偵測點P3的電壓達到一預設 值後,MOS管Q5導通,電壓輸出點p4通過導通的MOS管連 接到地而處於低電平,此時,中央處理器60的重定引腳 RESET與電壓輸出點P4連接而獲得一個低電平信號’中央 處理器6 0控制電子裝置1 〇 〇重新啟動系統。當用戶鬆開凸 包按鈕21後,標識引腳id與接地引腳GND斷開,因此,三 極管Q1斷開,充電延遲電路40的電容C2通過電阻R9、 R10放電,使電壓偵測點P3的電壓降低,導致M0S管Q5截 100100148 表單編號A0101 第10頁/共20頁 1002000244-0 201230512 電壓輸出點Ρ4通過電阻rii連接到電源端vcc而獲得 個呵電平,此時,中央處理器6〇的重定引腳reset與電 壓輸出點P4連接而獲得—個高電平信號。 [0022] [0023] ❹ [0024] [0025] Ο [0026] [0027] [0028] [0029] [0030] 本發明的電子裝置通過在資料傳輸介面的對應位置上設 置-、有按鈕的蓋帽結構,不僅可以實現普通的帽蓋防塵 防潮的功能,而且可以實現按鈕控制電子裝置的電源 在任何條件下開關機與重啟的功能,讀用戶操作。 本技術領域的普通技術人員應當認識到,以上的實施方 式僅是用來說明本發明,而並非用作為對本發明的限定 八要在本發明的實質精神範圍之内,對以上實施例所 作的適當改變和變化都落在本發明要求保護的範圍之内 〇 【圖式簡單說明】 圖1為本發明中的電子裝置的局部立體圖,該電子裝置側 緣的殼體上設有一個蓋帽。 圖2為圖1中的電子裝置的局部内部結構圖,該電子裝置 側緣的殼體上設有一個資剩:傳輪介面。 圖3為圖2中的資料傳輸介面的局部立體圖。 圖4為圖2中蓋帽的立體圖。 圖5為圖1中的電子裝置的内部功能模組圖。 圖6為圖5中的電子裝置内部的具體電路圖。 【主要元件符號說明】 電子裝置:100 100100148 表單編號A0101 第11頁/共20頁 1002000244-0 201230512 [0031] 殼體:10 [0032] 資料傳輸介面:11 [0033] 功能引腳:111 [0034] 蓋帽:20 [0035] 按鈕:21 [0036] 凹腔:22 [0037] 金屬觸腳:23 [0038] 固定軸:24 [0039] 凸沿:241 [0040] 卡勾:2 5 [0041] 開/關機控制電路:30 [0042] 充電延遲電路:40 [0043] 重啟控制電路:5 0 [0044] 中央處理器:60 100100148 表單編號A0101 第12頁/共20頁 1002000244-0201230512 VI. Description of the Invention: [Technical Field] The present invention relates to a cap, and more particularly to a cap for controlling a power switch of an electronic device and a restart function, and an electronic device having the cap. [0002] [0002] Currently, the housing of the electronic device is usually provided with a memory card slot or a USB interface, and a cap is disposed at a corresponding position of the card slot or the USB interface, and the cap is usually only dustproof. The role of moisture protection, a single function. SUMMARY OF THE INVENTION [0003] In view of the above, it is necessary to provide a cap having a button structure. It is also necessary to provide an electronic device having a cap that controls the power on/off and restart function of the electronic device. [0005] A cap having a plastic material, a convex-clad button protruding from an outer side surface of the cap, the convex-clad button correspondingly forming a cavity on the inner side of the cap, and the cavity is provided with two interconnected metal Touch the feet. An electronic device includes a data transmission interface, a cap, an on/off control circuit, a charging delay circuit, a restart control circuit, and a central processing unit, and the position of the cap is opposite to a position of the data transmission interface. The data transmission interface includes a grounding pin and an identification pin, and a convex-clad button is protruded from an outer side of the cap, and the convex-clad button is provided with two interconnected metal contact pins on the inner side of the cap, and the two metal-contacting pins The position is opposite to the position of the ground pin and the identification pin of the data transmission interface. The identification pin of the data transmission interface and the voltage input of the on/off control circuit and the central processing unit 100100148 Form No. A0101 Page 4 / Total 20 pages 1002000244-0 201230512 ❹ [0007] 〇国[0009] 100100148 Pins are connected in turn' The identification pin is also sequentially connected to the charging delay circuit, the restart control circuit, and the reset pin of the central processing unit. When the user presses the convex splicing button to make the two metal contact pins contact the grounding pin and the igniting pin of the data transmission interface respectively, the identification pin and the grounding pin are turned on and are at a low level 'on/off control circuit Generating a power-on or power-off control signal to the voltage input pin of the central processing unit, so that the central processing unit controls the electronic device to enter a power-on or power-off state accordingly; meanwhile, the charging delay circuit starts to charge when the user presses to reach a predetermined length After the time causes the voltage at the voltage output of the charge delay circuit to reach a predetermined value, the restart control circuit generates a reset control signal to the reset pin of the central processor' to cause the central processor to control the electronic device to restart the system. The electronic device of the present invention can not only realize the function of dustproof and moistureproof of the common cap by setting the cap structure with the button at the corresponding position of the data transfer interface, but also realize the power switch of the button control electronic device and the restart. Features, user-friendly. [Embodiment] Please refer to FIG. 1 and FIG. 2 at the same time, the housing 1 of the side edge of the electronic device 1 is provided with ί·: a lean transport interface 11 and a cap 20 corresponding to the position of the data transmission interface 11 The cap 20 is used to protect the data transmission interface from contamination by the external environment. Referring to FIG. 3, the data transmission interface u has a plurality of function pins 1H'. The plurality of function pins ln include a ground pin and an identification pin ID, wherein the ground pin GND is grounded. In this embodiment, the data transmission interface 11 is a USB interface. Please refer to FIG. 4 at the same time, the cap 20 is made of plastic material, and the outer form number of the cap 2 is A0101. Page 5 / 20 pages 1002000244-0 [0010] 201230512 A convex bulge button 21 is protruded on the side, the convex bulge The button 21 correspondingly forms a cavity 22 on the inner side of the cap 2〇', so that the user can press the convex bag button 21 to the inner side of the cap 2〇, and the cavity 22 is provided with two interconnected metal contact pins 23' In the embodiment, the shape of the two metal contact pins 23 is one of an H shape, a Π shape or a Π shape, and the distance between the two metal contact pins 23 and the ground pin GND and the reference of the data transmission interface 11 The distance between the foot ids is the same. When the cap 20 is mounted to the housing 1 并 and is in the closed state, the positions of the two metal contacts 23 on the cap 20 are opposite to the positions of the ground pin GND and the identification pin ID of the data transfer interface 11, respectively. The two metal contacts 23 and the function pin in of the data transmission interface 11 are not in contact without external force. When the user presses the convex hull button 21 toward the inside of the cap 20, the two metal contact pins 23 are in contact with the grounding pin GND and the identification pin ID of the data transmission interface, respectively, thereby controlling the electronic device 1 to enter the corresponding state. [0011] A fixing shaft 24 is protruded from one end of the inner side surface of the cap 20, and a protruding edge 2 41 is disposed near the end of the fixing shaft 24 for non-detachably fixing one end of the cap 20 to the electronic device 1 The shell of the crucible is difficult to 1 and the other 'internal structure of the electronic device 图 (not shown). A hook 25 is protruded from the other end for engaging the other end of the cap 2 on the housing 1 when the cap 20 is in the closed state (as shown in Fig. 2). In other embodiments, the cap 2 is provided with a slit near the end of the hook 25 and the housing 1〇 for leaving the user with a cap 20 from the housing 10. [0012] Referring to FIG. 5, the electronic device 1 further includes an on/off control circuit 3, a charge delay circuit 40, a restart control circuit 50, and a central processing unit 60, wherein the identification pin ID of the data transmission interface 11 And the on/off control circuit 30 100100148 Form No. A0101 Page 6 / Total 20 pages 1002000244-0 201230512 and the voltage input pin VIN of the central processing unit 60 are sequentially connected, when the user presses the convex hull button 21 to make two metal contacts When the grounding pin GND and the identification pin ID of the data transmission interface are respectively in contact, the identification pin ID and the ground pin GNi> are turned on at a low level, and the on/off control circuit 30 generates a power on or off restart. The control signal is applied to the voltage input pin VIN of the central processing unit 60, thereby causing the central processing unit 60 to control the electronic device 1 to enter the power-on or power-off state accordingly. [0013] 0 ❹ [0014] The identification pin ID of the material transfer interface 11 is also sequentially connected with the charge delay circuit 4, the restart control circuit 50, and the reset pin RESET of the central processing unit 'When the user presses the convex hull When the button 21 makes the two metal contacts 23 contact the ground pin GND of the data transmission interface 11 and the identification pin ij, the identification pin ID is electrically connected to the ground pin GND and is at a low level. 3⁄4 level, charging delay The circuit 40 begins to charge slowly. When the user presses for a predetermined period of time to bring the voltage of the voltage output terminal (not shown) of the charging delay circuit 40 to a predetermined value, the restart control circuit 5 generates a re-control signal to the center. The reset pin RESEt of the processor 60 causes the central processing unit electronics 10 to restart the system. ”. η. Please refer to FIG. 6 , which is a specific circuit diagram inside the electronic device 1 . The identification pin ID of the data transmission interface 11 is connected to the standby power output terminal VEXT of the system through the resistor R1 and a first switching element Q1 . In this embodiment, the standby power output terminal VEXT outputs a system power supply of +5 V, and the first _ switching element Q1 adopts a PNP transistor. The base b of the transistor Q1 is connected to the identification pin ID of the data transmission interface 11 through the resistor R1. The emitter is connected to the standby power output VEXT of the system. 100100148 The on/off control circuit 30 includes a second switching element Q2 Form No. A0101 Page 7 / Total 20 Second Switch Element 1002000244-0 [0015] 201230512 Q3 and In the present embodiment, the second switching element Q2 and the third switching element q3 each adopt an NPN transistor, and the fourth switching element Q4 uses a PM0S official. The base β of the transistor q2 sequentially passes through the resistors R3 and R2. Connected to the collector c of the diode Q1, the connection node between the resistors R2 and R3 constitutes a voltage detection point p1, and the voltage detection point p1 and the general-purpose input/output of the central processing unit 60 The pin Gpi is connected; the emitter E of the transistor Q2 is grounded, and is connected to the base B of the transistor through the resistors R4 and R3 in sequence. The base β of the diode Q3 is connected to the emitter through the resistor μ, μ, and the resistors R5 and R6 The connection node constitutes a voltage input point ρ2, which is connected to the general-purpose input/output pin GPIO 1 of the central processing unit 6〇; the _• pole of the transistor Q3 is grounded to the set of the e-transistors Q2 and Q3. The electrode C is connected to the gate G of the MOS tube through the resistor R7, and is connected to the source S of the M〇s tube through the parallel branch of the resistor R7, the resistor R8 and the capacitor C1. The drain d and the center of the MOS transistor Q4 The voltage input pin VIN of the processor 6 is connected to the 'source s is also connected to the standby power output VEVT. [0016] The specific working process of the on/off control circuit 3 is as follows: when the user presses the convex hull button 21 When the 'data transmission interface u identification pin 1]} is connected to the ground pin GND and is at a low level, at this time, the base b of the transistor Q1 is at a low level, the diode Q1 is turned on, and the base β of the triode 通过 passes Resistor", R2 and turned-on diode... connected to the standby power supply The end νΕχτ, triode Q2. At this time, the voltage detection point P1 is at a high level, and the general-purpose input/round-out pin GPI01 of the central processing unit is 6 〇 according to the high-level signal of the voltage detection point p2 measured by the general-purpose input/output pin GP10. The output is a 3' 3V turn-on voltage to the voltage turn-in point, so that the base β of the transistor (10) is at the two-level 'transistor Q3 conducting. The branch shape where the resistors R8 and R7 are located 100100148 Form No. A0101 Page 8/Total 20 pages 1〇〇2〇〇〇244 201230512 Ο [0017] Ο [0018] Two '_R8 have voltage difference at both ends Μ〇_4 The voltage between the thumb G MOS?S has a voltage difference due to the connection of the resistor R8. Therefore, the voltage input terminal VIN of the 2-way central processing unit 60 is connected to the standby voltage output terminal TMτ through the turned-on Μ〇=4. A +5V boot: Press 2 At this point, the central processing unit controls the electronic device 1 to enter the power-on L.畲 After the user releases the convex hull button 21, the identification pin 11} is disconnected from the ground pin (10). Therefore, the three poles are turned off, the voltage fairy point is connected to the ground through the resistor, R10 is at a low level, and the triode (10) cutoff. At this time, the general-purpose input/output GPI01 of the central processing unit 6〇 supplies a continuous voltage of 3.3V to the voltage input point P2, so that the electronic device 1〇〇 maintains the power-on state. ® User Re-Under Pressing the Bulge Button 21, as described above, the general-purpose wheel input/output pin GPIOO of the CPU 60 detects the voltage detection point again. The voltage of 1 is high level, and the general-purpose input/output pin GP101 outputs a shutdown voltage of 〇V to the voltage input point P2 according to the high level signal, thereby turning off the bipolar official Q3. When the user releases the convex hull button 21, as described above, the transistor Q2 is turned off, and the gate G and the source S of the MOS transistor Q4 are disconnected due to no voltage difference, and the voltage input terminal VIN of the central processing unit 6〇 is The power-on voltage of the +5V is not received and the control electronics 1 is turned off. When the user presses the convex hull button 21 again and again, as described above, the general-purpose input/output pin GPIOO of the central processing unit 60 detects that the voltage of the voltage detection point P1 is once again high level, general-purpose input/output. The pin GPI01 outputs a 3.3V starting voltage to the voltage input point p2 according to the same level nickname, thereby causing the electronic device 100 to enter the power-on state. [0019] The charging delay circuit 40 includes a capacitor C2 100100148 Form No. A0101 The negative pole of the capacitor C2 is grounded. Page 9 / Total 20 pages 1002000244-0 201230512 The positive pole is connected to the collector c of the triode via a resistor {? BaR9, 11 () is connected to the negative electrode. The connection node between the positive electrode of the red 2 and the power is constituted by a voltage detecting point p3, which is the voltage output terminal of the charging delay circuit 40. [0021] The restart control circuit 50 includes a fifth element Q5. In the present embodiment, the fifth switch element is repaired with a _3 tube. The voltage G of the gate G of the tube and the charge delay circuit 4〇 The connection source is grounded, the drain D is connected to a power supply terminal vcc through a pull-up resistor R11, and the connection node between the drain 1) and the resistor R11 constitutes a voltage output point p4, and the voltage output point P4 and The reset pin RESET of the central processing unit 60 is connected and grounded through the capacitor C3 or the Zener diode D1. When the reset pin rESEt is low level, the central processing unit 60 controls the electronic device 100 to restart the system. The charging delay circuit 4 The specific working process of the restart control circuit 50 is as follows: when the user presses the convex hull button 21, as described above, the transistor Q1 is turned on, and the capacitor C2 is connected to the standby power supply terminal VEXT through the resistor R9 and the turned-on transistor Q1. And charging, when the user presses the convex sag button 2 达到 for a preset time, after the voltage of the voltage detecting point P3 reaches a preset value, the MOS transistor Q5 is turned on, and the voltage output point p4 is connected through the turned-on MOS tube. To the ground At a low level, at this time, the re-set pin RESET of the central processing unit 60 is connected to the voltage output point P4 to obtain a low-level signal. The central processing unit 60 controls the electronic device 1 to restart the system. When the user releases After the convex hull button 21, the identification pin id is disconnected from the ground pin GND. Therefore, the transistor Q1 is turned off, and the capacitor C2 of the charging delay circuit 40 is discharged through the resistors R9 and R10, so that the voltage of the voltage detecting point P3 is lowered, resulting in a decrease in voltage of the voltage detecting point P3. M0S tube Q5 cut 100100148 Form No. A0101 Page 10 / Total 20 pages 1002000244-0 201230512 Voltage output point Ρ4 is connected to the power supply terminal vcc through the resistor rii to obtain a level, at this time, the central processor 6〇 re-pin Reset is connected to the voltage output point P4 to obtain a high level signal. [0023] [0025] [0028] [0028] [0030] [0030] The electronic device of the present invention By setting - in the corresponding position of the data transmission interface, the cap structure with the button can not only realize the function of dustproof and moistureproof of the common cap, but also realize the power of the button to control the power of the electronic device under any conditions. , READING USER OPERATION. It is to be understood by those skilled in the art that the above embodiments are merely illustrative of the invention, and are not intended to limit the scope of the invention. The appropriate changes and modifications of the embodiments are within the scope of the claimed invention. [FIG. 1 is a partial perspective view of an electronic device in the present invention. a cap. 2 is a partial internal structural view of the electronic device of FIG. 1. The housing on the side edge of the electronic device is provided with a surplus: a transfer wheel interface. 3 is a partial perspective view of the data transmission interface of FIG. 2. Figure 4 is a perspective view of the cap of Figure 2. FIG. 5 is a diagram showing an internal function module of the electronic device of FIG. 1. FIG. FIG. 6 is a specific circuit diagram of the inside of the electronic device of FIG. 5. [Main component symbol description] Electronic device: 100 100100148 Form No. A0101 Page 11 / Total 20 pages 1002000244-0 201230512 [0031] Housing: 10 [0032] Data transmission interface: 11 [0033] Function pin: 111 [0034 Cap: 20 [0035] Button: 21 [0036] Cavity: 22 [0037] Metal Contact: 23 [0038] Fixed Axis: 24 [0039] Bulge: 241 [0040] Hook: 2 5 [0041] On/Off Control Circuit: 30 [0042] Charge Delay Circuit: 40 [0043] Restart Control Circuit: 5 0 [0044] Central Processing Unit: 60 100100148 Form Number A0101 Page 12 / Total 20 Page 1002000244-0

Claims (1)

201230512 七、申請專利範圍: 1 種蓋帽,該蓋帽採用塑膠材料,其改良在於,該蓋帽的 外側面凸設有一凸包按鈕,該凸包按鈕在蓋帽的内側相應 地形成一凹腔,凹腔内封装有兩個相互連接的金屬觸腳。 2,如申請專利範圍第1項所述之蓋帽,其中,兩個金屬觸腳 的形狀為η形、门形或η形中的一種。 3 .如申請專利範圍第1項所述之蓋帽,其中,蓋帽的内側面 的—端上凸設有固定軸,該固定轴的端部附近設有—凸沿 ,用於將蓋帽的一端不可拆卸地固定到一電子裝置的殼體 〇 上。 4. 如申請專利範圍第3項所述之蓋帽,其中,蓋帽的内侧面 的另一端上凸設有卡勾,用於當蓋帽處於關閉狀態時將蓋 帽的另一端卡在該電子裝置的殼體上。 5. 如申請專利範圍第4項所述之蓋帽,其中,蓋帽設有卡勾 的一端部與該電子裝置的殼體之間預留有縫隙,用於留給 用戶從殼體上抠出蓋帽。 0 6 . —種電子裝置,包括資料#輪介面、蓋帽、開/關機控制 電路、充電延遲電路、重啟控亲電扭及中央處理器,該蓋 帽的位置與該資料傳輸介面的位置相對;資料傳輸介面包 括接地引腳及標識引腳,其改良在於,該蓋帽的外側面凸 設有一凸包按鈕,該凸包按鈕在蓋帽的内側封裝有兩個相 互連接的金屬觸腳,該兩個金屬觸腳的位置分別與資料傳 輸介面的接地引腳和標識引腳的位置相對;資料傳輸介面 的標識引腳與開/關機控制電路及中央處理器的電壓輸入 引腳依次連接,該標識引腳還與充電延遲電路、重啟控制 100100148 表單編號A0101 第13頁/共20頁 1002000244-0 201230512 電路及中央處理器的復位引腳依次連接;當用戶按下&包 按鈕使兩個金屬觸腳與資料傳輸介面的接地引腳和標識引 腳分別接觸時,標識引腳與接地引腳導通而處於低電平, 開/關機控制電路產生-個開機或關機控制信號給中央處 理器的電壓輸入引腳,從而使中央處理器相應地控制電子 裝置進入開機或關機狀態;同時,該充電延遲電路開始充 電,當用戶按壓到達一預定長的時間使充電延遲電路的電 壓輸出端的電麼達到-預設值後,重啟控制電路產生一個 重定控制信號給中央處理器的復位引腳,從而使中央處理 器控制電子裝置重新啟動系統。 7.如申請專利範圍第6項所述之電子裝置,其中,兩個金屬 觸腳的形狀為η形、η形或门形中的一種,且兩個金屬觸 腳之間的距離與資料傳輸介面的接地引腳和標識引腳之間 的距離一致。 8 .如申請專利範圍第7項所述之電子裝置,其中,該兩個金 屬觸腳與資料傳輸介面的引腳在無外力作用的情況下皆不 接觸;當用戶向蓋帽内側按下凸包按鈕時,兩個金屬觸腳 分別與資料傳輸介面的接地引腳和標識引腳接觸,從而控 制電子裝置進入相應的狀態。 100100148 表單編號Α0101 第14頁/共20頁 1002000244-0201230512 VII. Patent application scope: 1 type of cap, the cap is made of plastic material, and the improvement is that the outer side of the cap is convexly provided with a convex bag button, and the convex bag button correspondingly forms a cavity on the inner side of the cap, the cavity The inner package has two interconnected metal contacts. 2. The cap according to claim 1, wherein the two metal contact pins are in the shape of an n-shape, a gate shape or an n-shape. 3. The cap of claim 1, wherein the inner side of the cap has a fixed shaft protruding from the end, and the end of the fixed shaft is provided with a convex edge for not closing one end of the cap It is detachably fixed to the casing of an electronic device. 4. The cap of claim 3, wherein the other end of the inner side of the cap is provided with a hook for engaging the other end of the cap in the shell of the electronic device when the cap is in the closed state. Physically. 5. The cap of claim 4, wherein a slit is provided between the end of the cap and the housing of the electronic device for leaving a user to remove the cap from the housing. . 0 6 . — an electronic device comprising a data wheel interface, a cap, an on/off control circuit, a charge delay circuit, a restart control, and a central processing unit, the position of the cap being opposite to the position of the data transmission interface; The transmission interface includes a grounding pin and an identification pin, and the improvement is that a convex-clad button is protruded from an outer side of the cap, and the convex-clad button is provided with two interconnected metal contact pins on the inner side of the cap, the two metals The positions of the contact pins are respectively opposite to the positions of the ground pins and the identification pins of the data transmission interface; the identification pins of the data transmission interface are sequentially connected with the on/off control circuit and the voltage input pins of the central processing unit, and the identification pins are sequentially connected. Also connected with the charge delay circuit, restart control 100100148 Form No. A0101, page 13 / 20 pages 1002000244-0 201230512 circuit and the reset pin of the central processor; when the user presses the & package button to make the two metal contacts When the ground pin and the identification pin of the data transmission interface are respectively in contact, the identification pin and the ground pin are turned on and are at a low level, on/off. The control circuit generates a power-on or power-off control signal to the voltage input pin of the central processing unit, so that the central processing unit controls the electronic device to enter a power-on or power-off state accordingly; meanwhile, the charging delay circuit starts to charge, and when the user presses to reach a After a predetermined period of time has caused the power of the voltage output terminal of the charging delay circuit to reach a predetermined value, the restart control circuit generates a reset control signal to the reset pin of the central processing unit, thereby causing the central processing unit to control the electronic device to restart the system. 7. The electronic device according to claim 6, wherein the two metal contact pins are in the shape of an n-shape, an n-shape or a gate, and the distance between the two metal contacts and the data transmission The distance between the ground pin of the interface and the identification pin is the same. 8. The electronic device of claim 7, wherein the two metal contacts are not in contact with the pin of the data transmission interface without external force; when the user presses the convex hull to the inside of the cap When the button is pressed, the two metal contacts are respectively in contact with the ground pin and the identification pin of the data transmission interface, thereby controlling the electronic device to enter the corresponding state. 100100148 Form number Α0101 Page 14 of 20 1002000244-0
TW100100148A 2011-01-04 2011-01-04 Electronic device TWI415337B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW100100148A TWI415337B (en) 2011-01-04 2011-01-04 Electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW100100148A TWI415337B (en) 2011-01-04 2011-01-04 Electronic device

Publications (2)

Publication Number Publication Date
TW201230512A true TW201230512A (en) 2012-07-16
TWI415337B TWI415337B (en) 2013-11-11

Family

ID=46934178

Family Applications (1)

Application Number Title Priority Date Filing Date
TW100100148A TWI415337B (en) 2011-01-04 2011-01-04 Electronic device

Country Status (1)

Country Link
TW (1) TWI415337B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104731680A (en) * 2013-12-24 2015-06-24 鸿富锦精密工业(武汉)有限公司 Startup and shutdown testing circuit

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3493915A (en) * 1968-05-17 1970-02-03 Lyall Electric Safety plug for electrical devices

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104731680A (en) * 2013-12-24 2015-06-24 鸿富锦精密工业(武汉)有限公司 Startup and shutdown testing circuit

Also Published As

Publication number Publication date
TWI415337B (en) 2013-11-11

Similar Documents

Publication Publication Date Title
KR101163997B1 (en) Universal serial bus connector for sensing insertion
TWI468920B (en) Electronic device with power consumption detection function
US8627122B2 (en) USB charging circuit for a computer
US20120166697A1 (en) Electronic device with power output function
TW201601392A (en) Connector
US20130181660A1 (en) Charge control circuit for usb device
US8445798B2 (en) USB connector cover and electronic device using the same
KR20130043841A (en) Electronic apparatus served as stylus pen
TW201348939A (en) Power control circuit for USB
WO2020088388A1 (en) Charging control circuit, charging circuit and charging control method
US8463978B2 (en) Computer with ability to charge electronic device in power off state and USB interface module thereof
WO2019179129A1 (en) Usb interface circuit and mobile device
US20130283077A1 (en) Wake-up circuit and electronic device
TW201230512A (en) Cap and electronic device using the same
US8300442B2 (en) Power adaptation device and power supply management method
US9148014B2 (en) Battery protection circuit
KR101581113B1 (en) Apparatus for Assisting External Interface of Mobile Device
US20150364874A1 (en) Connector device
TW201324132A (en) Circuit for clearing password of CMOS
TWI530242B (en) Electronic apparatus and electronic component thereof
TWI618057B (en) Storage device and operating method thereof
CN217136853U (en) Electronic cigarette for preventing use of juveniles through pressure sensor
US7944198B1 (en) Multimeter
TW201608778A (en) Electrical contact detection circuit and portable electrical system using the same
US9658606B2 (en) Protection circuit to prevent power-on operation motherboard

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees