TWM665384U - Electric hand tool device capable of reading internal data - Google Patents
Electric hand tool device capable of reading internal data Download PDFInfo
- Publication number
- TWM665384U TWM665384U TW113201219U TW113201219U TWM665384U TW M665384 U TWM665384 U TW M665384U TW 113201219 U TW113201219 U TW 113201219U TW 113201219 U TW113201219 U TW 113201219U TW M665384 U TWM665384 U TW M665384U
- Authority
- TW
- Taiwan
- Prior art keywords
- battery
- pin
- unit
- microcontroller
- hand tool
- Prior art date
Links
- 238000000034 method Methods 0.000 claims abstract description 36
- 238000001514 detection method Methods 0.000 claims description 17
- 230000005540 biological transmission Effects 0.000 claims description 14
- 238000010586 diagram Methods 0.000 description 10
- 238000004891 communication Methods 0.000 description 9
- 230000006870 function Effects 0.000 description 4
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000006467 substitution reaction Methods 0.000 description 3
- 101100233916 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) KAR5 gene Proteins 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 2
- 101001121408 Homo sapiens L-amino-acid oxidase Proteins 0.000 description 1
- 101000827703 Homo sapiens Polyphosphoinositide phosphatase Proteins 0.000 description 1
- 102100026388 L-amino-acid oxidase Human genes 0.000 description 1
- 102100023591 Polyphosphoinositide phosphatase Human genes 0.000 description 1
- 101100012902 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) FIG2 gene Proteins 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000005669 field effect Effects 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 229910044991 metal oxide Inorganic materials 0.000 description 1
- 150000004706 metal oxides Chemical class 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
Images
Landscapes
- Portable Power Tools In General (AREA)
- Secondary Cells (AREA)
Abstract
一種可讀取內部資料之電動手工具裝置,包含一電動手工具電路、一微控制單元、一電池介面結構及一電池單元,該微控制單元含一第一接腳及一第二接腳,該電池單元係嵌入該電池介面結構。該微控制單元透過該電池介面結構接收一驅動電源,使得該微控制單元透過該第一接腳、該第二接腳及該電池介面結構對該電池單元執行一真假電池判斷程序以判斷該電池單元係為一真電池或一假電池;在該電池單元被判斷為該假電池時,該微控制單元透過該第一接腳、該第二接腳、該電池介面結構及該電池單元輸出複數之資料。 An electric hand tool device capable of reading internal data comprises an electric hand tool circuit, a microcontroller unit, a battery interface structure and a battery unit. The microcontroller unit comprises a first pin and a second pin, and the battery unit is embedded in the battery interface structure. The microcontroller unit receives a driving power source through the battery interface structure, so that the microcontroller unit executes a true or false battery judgment procedure on the battery unit through the first pin, the second pin and the battery interface structure to judge whether the battery unit is a true battery or a false battery; when the battery unit is judged to be the false battery, the microcontroller unit outputs a plurality of data through the first pin, the second pin, the battery interface structure and the battery unit.
Description
本揭露係有關於一種手工具裝置,特別是一種可讀取內部資料之電動手工具裝置。 The present disclosure relates to a hand tool device, in particular an electric hand tool device capable of reading internal data.
當電動手工具被使用時,電動手工具會隨時記錄複數之資料,例如電流數值、馬達轉速值、馬達溫度值以及異常狀態資訊。使用者可藉由藍牙通訊讀取該些資料,或是拆開電動手工具的外殼以有線的方式讀取該些資料。 When an electric hand tool is used, it will record multiple data at any time, such as current value, motor speed value, motor temperature value and abnormal status information. Users can read the data through Bluetooth communication, or disassemble the outer casing of the electric hand tool to read the data in a wired manner.
然而,藉由藍牙通訊讀取該些資料必需在電動手工具內安裝藍牙通訊模組,此無疑增加了電動手工具的成本,且藍牙通訊模組也會佔據電動手工具內的空間;而拆開電動手工具的外殼則非常麻煩。 However, in order to read the data through Bluetooth communication, a Bluetooth communication module must be installed in the electric hand tool, which undoubtedly increases the cost of the electric hand tool, and the Bluetooth communication module will also take up space in the electric hand tool; and it is very troublesome to disassemble the outer casing of the electric hand tool.
綜上所述,目前讀取電動手工具內的資料的方式都不夠簡易。 In summary, the current methods of reading data from electric hand tools are not simple enough.
為解決上述問題,本揭露之目的在於提供一種可讀取內部資料之電動手工具裝置。 In order to solve the above problems, the purpose of this disclosure is to provide an electric hand tool device that can read internal data.
為達成本揭露之上述目的,本揭露之可讀取內部資料之電動手工具裝置包含:一電動手工具電路;一微控制單元,該微控制單元係電性連接至該電動手工具電路並且包含一第一接腳及一第二接腳;一電池介面結構,該電池介面結構係電性連接至該電動手工具電路及該微控制單元;及一電池單元, 該電池單元係嵌入該電池介面結構並且電性連接至該電池介面結構以透過該電池介面結構電性連接至該電動手工具電路及該微控制單元,其中,該微控制單元透過該電池介面結構接收一驅動電源,使得該微控制單元被配置為透過該第一接腳、該第二接腳及該電池介面結構對該電池單元執行一真假電池判斷程序以判斷該電池單元係為一真電池或一假電池;在該電池單元被判斷為該假電池時,該微控制單元透過該第一接腳、該第二接腳、該電池介面結構及該電池單元輸出複數之資料。 To achieve the above-mentioned purpose of the present disclosure, the electric hand tool device capable of reading internal data of the present disclosure comprises: an electric hand tool circuit; a microcontroller unit, the microcontroller unit being electrically connected to the electric hand tool circuit and comprising a first pin and a second pin; a battery interface structure, the battery interface structure being electrically connected to the electric hand tool circuit and the microcontroller unit; and a battery unit, the battery unit being embedded in the battery interface structure and electrically connected to the battery interface structure to electrically read the battery through the battery interface structure Connected to the electric hand tool circuit and the microcontroller unit, wherein the microcontroller unit receives a driving power source through the battery interface structure, so that the microcontroller unit is configured to execute a true or false battery judgment procedure on the battery unit through the first pin, the second pin and the battery interface structure to judge whether the battery unit is a true battery or a false battery; when the battery unit is judged to be the false battery, the microcontroller unit outputs a plurality of data through the first pin, the second pin, the battery interface structure and the battery unit.
再者,在如上所述之本揭露之可讀取內部資料之電動手工具裝置之一具體實施例當中,該可讀取內部資料之電動手工具裝置係應用於一電腦及一電源供應裝置,其中,該電池單元係為該假電池且包含一外殼及設置於該外殼內的複數之連接線;該微控制單元透過該電池介面結構及該電池單元接收由該電源供應裝置所提供之該驅動電源;在該電池單元被判斷為該假電池時,該微控制單元透過該第一接腳、該第二接腳、該電池介面結構及該電池單元輸出該些資料至該電腦。 Furthermore, in a specific embodiment of the electric hand tool device capable of reading internal data disclosed above, the electric hand tool device capable of reading internal data is applied to a computer and a power supply device, wherein the battery unit is the fake battery and comprises an outer shell and a plurality of connection wires disposed in the outer shell; the micro-control unit receives the driving power provided by the power supply device through the battery interface structure and the battery unit; when the battery unit is judged to be the fake battery, the micro-control unit outputs the data to the computer through the first pin, the second pin, the battery interface structure and the battery unit.
再者,在如上所述之本揭露之可讀取內部資料之電動手工具裝置之一具體實施例當中,該真假電池判斷程序依序包含:該微控制單元被配置為初始化該第一接腳及該第二接腳以分別作為一資料傳送接腳及一資料接收接腳;該微控制單元被配置為透過該第一接腳輸出一連接命令信號;如果一等待接收時間結束且該微控制單元透過該第二接腳接收到該電腦所傳送的一連接命令回覆信號,則該電池單元被判斷為該假電池。 Furthermore, in a specific embodiment of the electric hand tool device capable of reading internal data disclosed above, the true or false battery judgment procedure sequentially includes: the microcontroller is configured to initialize the first pin and the second pin to serve as a data transmission pin and a data reception pin respectively; the microcontroller is configured to output a connection command signal through the first pin; if a waiting reception time ends and the microcontroller receives a connection command reply signal sent by the computer through the second pin, the battery unit is judged to be the false battery.
再者,在如上所述之本揭露之可讀取內部資料之電動手工具裝置之一具體實施例當中,該真假電池判斷程序依序包含:該微控制單元被配置為初始化該第一接腳及該第二接腳以分別作為一電池溫度係數接腳及一電池識別碼接腳;如果一等待接收時間結束且該微控制單元透過該第一接腳所偵測之一 第一偵測信號大於等於一第一預設值而且該微控制單元透過該第二接腳所偵測之一第二偵測信號大於等於一第二預設值,則該電池單元被判斷為該假電池,接著該微控制單元被配置為反初始化分別作為該電池溫度係數接腳及該電池識別碼接腳的該第一接腳及該第二接腳,並且該微控制單元被配置為初始化該第一接腳及該第二接腳以分別作為一資料傳送接腳及一資料接收接腳。 Furthermore, in a specific embodiment of the electric hand tool device capable of reading internal data disclosed above, the true or false battery judgment procedure sequentially includes: the microcontroller is configured to initialize the first pin and the second pin to serve as a battery temperature coefficient pin and a battery identification code pin respectively; if a waiting reception time is over and the microcontroller detects a first detection signal through the first pin that is greater than or equal to a first preset value and When a second detection signal detected by the microcontroller unit through the second pin is greater than or equal to a second preset value, the battery cell is judged to be the fake battery, and then the microcontroller unit is configured to deinitialize the first pin and the second pin that serve as the battery temperature coefficient pin and the battery identification code pin, respectively, and the microcontroller unit is configured to initialize the first pin and the second pin to serve as a data transmission pin and a data receiving pin, respectively.
再者,在如上所述之本揭露之可讀取內部資料之電動手工具裝置之一具體實施例當中,該電池單元係為該真電池且包含複數之電池芯;該微控制單元透過該電池介面結構接收由該電池單元所提供之該驅動電源;在該電池單元被判斷為該真電池時,該微控制單元透過該第一接腳、該第二接腳及該電池介面結構接收由該電池單元所傳送的一電池溫度係數信號及一電池識別碼信號。 Furthermore, in a specific embodiment of the electric hand tool device capable of reading internal data disclosed above, the battery unit is the real battery and includes a plurality of battery cells; the microcontroller receives the driving power provided by the battery unit through the battery interface structure; when the battery unit is judged to be the real battery, the microcontroller receives a battery temperature coefficient signal and a battery identification code signal transmitted by the battery unit through the first pin, the second pin and the battery interface structure.
再者,在如上所述之本揭露之可讀取內部資料之電動手工具裝置之一具體實施例當中,該真假電池判斷程序依序包含:該微控制單元被配置為初始化該第一接腳及該第二接腳以分別作為一資料傳送接腳及一資料接收接腳;該微控制單元被配置為透過該第一接腳輸出一連接命令信號;如果一等待接收時間結束且該微控制單元透過該第二接腳沒有接收到一連接命令回覆信號,則該電池單元被判斷為該真電池,接著該微控制單元被配置為反初始化分別作為該資料傳送接腳及該資料接收接腳的該第一接腳及該第二接腳,並且該微控制單元被配置為初始化該第一接腳及該第二接腳以分別作為一電池溫度係數接腳及一電池識別碼接腳。 Furthermore, in a specific embodiment of the electric hand tool device capable of reading internal data disclosed above, the true or false battery judgment procedure sequentially includes: the microcontroller is configured to initialize the first pin and the second pin to serve as a data transmission pin and a data receiving pin respectively; the microcontroller is configured to output a connection command signal through the first pin; if a waiting time for receiving is over and the microcontroller is If the control unit does not receive a connection command reply signal through the second pin, the battery unit is judged to be the real battery, and then the micro-control unit is configured to deinitialize the first pin and the second pin which are respectively used as the data transmission pin and the data receiving pin, and the micro-control unit is configured to initialize the first pin and the second pin to respectively serve as a battery temperature coefficient pin and a battery identification code pin.
再者,在如上所述之本揭露之可讀取內部資料之電動手工具裝置之一具體實施例當中,該真假電池判斷程序依序包含:該微控制單元被配置為初始化該第一接腳及該第二接腳以分別作為一電池溫度係數接腳及一電池識別碼接腳;如果一等待接收時間結束且該微控制單元透過該第一接腳所偵測之一 第一偵測信號小於一第一預設值或者該微控制單元透過該第二接腳所偵測之一第二偵測信號小於一第二預設值,則該電池單元被判斷為該真電池。 Furthermore, in a specific embodiment of the electric hand tool device capable of reading internal data disclosed above, the true or false battery judgment procedure sequentially includes: the microcontroller unit is configured to initialize the first pin and the second pin to serve as a battery temperature coefficient pin and a battery identification code pin respectively; if a waiting reception time is over and a first detection signal detected by the microcontroller unit through the first pin is less than a first preset value or a second detection signal detected by the microcontroller unit through the second pin is less than a second preset value, the battery unit is judged to be the true battery.
再者,在如上所述之本揭露之可讀取內部資料之電動手工具裝置之一具體實施例當中,該微控制單元更包含一記憶體單元以儲存該些資料。 Furthermore, in a specific embodiment of the electric hand tool device capable of reading internal data disclosed above, the microcontroller unit further includes a memory unit to store the data.
再者,在如上所述之本揭露之可讀取內部資料之電動手工具裝置之一具體實施例當中,該電動手工具電路包含:複數之電晶體開關,該些電晶體開關係電性連接至該微控制單元及該電池介面結構;一馬達,該馬達係電性連接至該些電晶體開關;及一馬達電流檢測器,該馬達電流檢測器係電性連接至該微控制單元及該些電晶體開關,其中,該馬達電流檢測器包含:一運算放大器,該運算放大器係電性連接至該微控制單元及該些電晶體開關;及一電阻,該電阻係電性連接至該些電晶體開關及該運算放大器。 Furthermore, in a specific embodiment of the electric hand tool device capable of reading internal data disclosed above, the electric hand tool circuit includes: a plurality of transistor switches, the transistor switches are electrically connected to the microcontroller unit and the battery interface structure; a motor, the motor is electrically connected to the transistor switches; and a motor current detector, the motor current detector is electrically connected to the microcontroller unit and the transistor switches, wherein the motor current detector includes: an operational amplifier, the operational amplifier is electrically connected to the microcontroller unit and the transistor switches; and a resistor, the resistor is electrically connected to the transistor switches and the operational amplifier.
再者,在如上所述之本揭露之可讀取內部資料之電動手工具裝置之一具體實施例當中,該記憶體單元係為一電子可抹除可程式化唯讀記憶體。 Furthermore, in one specific embodiment of the electric hand tool device capable of reading internal data disclosed above, the memory unit is an electronically erasable programmable read-only memory.
本揭露之功效在於簡易地讀取電動手工具內的資料。 The purpose of this disclosure is to easily read the data in the electric hand tool.
為了進一步理解本揭露的技術、方法和效果並實現本揭露預定的目的,請參閱以下的詳細描述和附圖;此外,可以更深入和具體地理解本揭露的目的、特性和特徵;然而,提供附圖僅用於參考和描述,並不旨在限制本揭露的範圍。 In order to further understand the technology, method and effect of the present disclosure and achieve the intended purpose of the present disclosure, please refer to the following detailed description and drawings; in addition, the purpose, characteristics and features of the present disclosure can be understood more deeply and specifically; however, the drawings are provided for reference and description only and are not intended to limit the scope of the present disclosure.
10:可讀取內部資料之電動手工具裝置 10: Electric hand tool device capable of reading internal data
20:電腦 20: Computer
30:電源供應裝置 30: Power supply device
102:電動手工具電路 102: Electric hand tool circuit
104:微控制單元 104: Microcontroller unit
106:記憶體單元 106:Memory unit
108:第一接腳 108: First leg
110:第二接腳 110: Second pin
112:電池介面結構 112: Battery interface structure
114:電池單元 114:Battery unit
116:資料 116: Data
118:驅動電源 118:Drive power
120:連接命令信號 120: Connection command signal
122:連接命令回覆信號 122: Connection command reply signal
124:第一偵測信號 124: First detection signal
126:第二偵測信號 126: Second detection signal
128:電池溫度係數信號 128: Battery temperature coefficient signal
130:電池識別碼信號 130: Battery identification code signal
132:電池芯 132:Battery core
134:外殼 134: Shell
136:連接線 136:Connection line
138:電晶體開關 138: Transistor switch
140:馬達 140: Motor
142:馬達電流檢測器 142: Motor current detector
144:運算放大器 144: Operational amplifier
146:電阻 146:Resistance
S501:步驟 S501: Step
S502:步驟 S502: Step
S503:步驟 S503: Step
S504:步驟 S504: Step
S505:步驟 S505: Step
S506:步驟 S506: Step
S507:步驟 S507: Step
S508:步驟 S508: Step
S601:步驟 S601: Step
S602:步驟 S602: Step
S603:步驟 S603: Step
S604:步驟 S604: Step
S605:步驟 S605: Step
S606:步驟 S606: Step
S607:步驟 S607: Step
圖1為依據本揭露之第一實施例之可讀取內部資料之電動手工具裝置之電路圖。 FIG1 is a circuit diagram of an electric hand tool device capable of reading internal data according to the first embodiment of the present disclosure.
圖2為依據本揭露之第二實施例之可讀取內部資料之電動手工具裝置之電路圖。 FIG2 is a circuit diagram of an electric hand tool device capable of reading internal data according to the second embodiment of the present disclosure.
圖3為依據本揭露之第三實施例之可讀取內部資料之電動手工具裝置之電路圖。 FIG3 is a circuit diagram of an electric hand tool device capable of reading internal data according to the third embodiment of the present disclosure.
圖4為依據本揭露之第四實施例之可讀取內部資料之電動手工具裝置之電路圖。 FIG4 is a circuit diagram of an electric hand tool device capable of reading internal data according to the fourth embodiment of the present disclosure.
圖5為依據本揭露之真假電池第一判斷程序之流程圖。 Figure 5 is a flow chart of the first process of judging genuine or fake batteries according to the present disclosure.
圖6為依據本揭露之真假電池第二判斷程序之流程圖。 Figure 6 is a flow chart of the second process for judging genuine or fake batteries according to the present disclosure.
圖7為依據本揭露之可讀取內部資料之電動手工具裝置連接電腦及電源供應裝置之示意圖。 FIG7 is a schematic diagram of an electric hand tool device capable of reading internal data according to the present disclosure connected to a computer and a power supply device.
在本揭露中,提供了許多具體的細節,藉以提供對本揭露的實施例的全面理解;然而,本領域技術人員可以理解,在沒有這些具體細節中的一個或多個具體細節下也可以實踐本揭露;在其他情況下,則未顯示或描述眾所周知的細節以避免模糊本揭露的特徵。本揭露的技術內容及詳細說明如下,並以附圖進行說明。 In this disclosure, many specific details are provided to provide a comprehensive understanding of the embodiments of the disclosure; however, those skilled in the art will appreciate that the disclosure can be practiced without one or more of these specific details; in other cases, well-known details are not shown or described to avoid obscuring the features of the disclosure. The technical content and detailed description of the disclosure are as follows, and are illustrated with attached figures.
請參考圖1,其係為依據本揭露之第一實施例之一種可讀取內部資料之電動手工具裝置10之電路圖。該可讀取內部資料之電動手工具裝置10包含一電動手工具電路102、一微控制單元104、一電池介面結構112及一電池單元114,該微控制單元104包含一記憶體單元106、一第一接腳108及一第二接腳110,該電動手工具電路102包含複數之電晶體開關138、一馬達140及一馬達電流檢測器142,該馬達電流檢測器142包含一運算放大器144及一電阻146,上述
該些元件彼此電性連接,且該電池單元114係嵌入該電池介面結構112並且電性連接至該電池介面結構112以透過該電池介面結構112電性連接至該電動手工具電路102及該微控制單元104。
Please refer to FIG. 1, which is a circuit diagram of an electric
該微控制單元104係為該可讀取內部資料之電動手工具裝置10之控制主體,具有類比轉數位功能、輸入輸出偵測功能、通訊傳輸功能、脈波寬度調變信號輸出功能…等等功能。該記憶體單元106亦可設置在該微控制單元104之外;該記憶體單元106可為例如但本揭露不限制為一電子可抹除可程式化唯讀記憶體(electrically erasable programmable read only memory,通常簡稱為EEPROM)。該電晶體開關138可為例如但本揭露不限制為一金屬氧化物半導體場效電晶體。該可讀取內部資料之電動手工具裝置10更可包含未示於圖1的電位計(係為一種可變電阻)…等等習知的電動手工具的部件。
The
當使用者欲讀取儲存在該記憶體單元106內的複數之資料116(例如電流數值、馬達轉速值、馬達溫度值以及異常狀態資訊)時,使用者可將該可讀取內部資料之電動手工具裝置10設置成如圖1所示的狀態;亦即,圖1所示之該可讀取內部資料之電動手工具裝置10係應用於一電腦20及一電源供應裝置30,且該電池單元114係為一假電池且包含一外殼134、設置於該外殼134內的複數之連接線136以及設置於該外殼134上用以連接該些連接線136的複數之外露接點(未示於圖1)。該微控制單元104透過該電池介面結構112及該電池單元114接收由該電源供應裝置30所提供之一驅動電源118,使得該微控制單元104被配置為透過該第一接腳108、該第二接腳110及該電池介面結構112對該電池單元114執行一真假電池第一判斷程序以判斷該電池單元114係為一真電池或該假電池。該可讀取內部資料之電動手工具裝置10係透過一通用串列匯流排介面(未示於圖1)與該電腦20連接。請參考圖7,其係為依據本揭露之該可讀取內部資料之電動手工具裝置10連接該電腦20及該電源供應裝置30之示意圖。
When the user wants to read the multiple data 116 (such as current values, motor speed values, motor temperature values and abnormal status information) stored in the
請參考圖5,其係為依據本揭露之該真假電池第一判斷程序之流程圖;並請同時參考圖1。上述該真假電池第一判斷程序依序包含下列步驟: Please refer to Figure 5, which is a flow chart of the first true and false battery judgment procedure according to the present disclosure; and please refer to Figure 1 at the same time. The first true and false battery judgment procedure mentioned above includes the following steps in sequence:
步驟S501:該微控制單元104被配置為初始化該第一接腳108及該第二接腳110以分別作為一資料傳送接腳及一資料接收接腳(亦可稱為電池介面通用異步接收發射器(UART)初始化)。接著,該真假電池第一判斷程序進入步驟S502。
Step S501: The
步驟S502:該微控制單元104被配置為透過該第一接腳108輸出一連接命令信號120。接著,該真假電池第一判斷程序進入步驟S503。
Step S502: The
步驟S503:該微控制單元104等待一等待接收時間(例如100毫秒)。接著,該真假電池第一判斷程序進入步驟S504。
Step S503: The
步驟S504:該微控制單元104判斷是否透過該第二接腳110接收到該電腦20所傳送的一連接命令回覆信號122。如果是,則該真假電池第一判斷程序進入步驟S505。
Step S504: The
步驟S505:該微控制單元104判斷該電池單元114為該假電池。
Step S505: The
在該電池單元114被判斷為該假電池之後,該微控制單元104透過該第一接腳108、該第二接腳110、該電池介面結構112及該電池單元114之該些連接線136輸出儲存在該記憶體單元106內的該些資料116至該電腦20;藉此,使用者即可透過該電腦20讀取該些資料116。
After the
除了該真假電池第一判斷程序之外,本揭露還提供一真假電池第二判斷程序;請參考圖6,其係為依據本揭露之該真假電池第二判斷程序之流程圖;並請同時參考圖2,其係為依據本揭露之第二實施例之可讀取內部資料之電動手工具裝置10之電路圖;圖2所示之元件與圖1所示之元件相同者,為簡潔因素,故於此不再重複其敘述。
In addition to the first true and false battery judgment procedure, the present disclosure also provides a second true and false battery judgment procedure; please refer to FIG. 6, which is a flow chart of the second true and false battery judgment procedure according to the present disclosure; and please refer to FIG. 2 at the same time, which is a circuit diagram of the electric
該真假電池第二判斷程序包含下列步驟: The second process of judging whether the battery is genuine or fake includes the following steps:
步驟S601:該微控制單元104被配置為初始化該第一接腳108及該第二接腳110以分別作為一電池溫度係數接腳及一電池識別碼接腳。接著,該真假電池第二判斷程序進入步驟S602。
Step S601: The
步驟S602:該微控制單元104等待一等待接收時間(例如100毫秒)。接著,該真假電池第二判斷程序進入步驟S603。
Step S602: The
步驟S603:該微控制單元104判斷透過該第一接腳108所偵測之一第一偵測信號124是否大於等於一第一預設值(例如4050),而且透過該第二接腳110所偵測之一第二偵測信號126是否大於等於一第二預設值(例如4050)。如果是,則該真假電池第二判斷程序進入步驟S604。其中,該第一偵測信號124係為有關於電池溫度的信號,而該第二偵測信號126係為有關於電池識別碼的信號。
Step S603: The
步驟S604:該微控制單元104判斷該電池單元114為該假電池。接著,該真假電池第二判斷程序進入步驟S605。
Step S604: The
步驟S605:該微控制單元104被配置為反初始化分別作為該電池溫度係數接腳及該電池識別碼接腳的該第一接腳108及該第二接腳110。接著,該真假電池第二判斷程序進入步驟S606。
Step S605: The
步驟S606:該微控制單元104被配置為初始化該第一接腳108及該第二接腳110以分別作為一資料傳送接腳及一資料接收接腳(亦可稱為電池介面UART初始化)。
Step S606: The
接著,該微控制單元104透過該第一接腳108、該第二接腳110、該電池介面結構112及該電池單元114之該些連接線136輸出儲存在該記憶體
單元106內的該些資料116至該電腦20;藉此,使用者即可透過該電腦20讀取該些資料116。
Then, the
如果使用者沒有要讀取該些資料116,則使用者可將該可讀取內部資料之電動手工具裝置10設置成如圖3或圖4所示的狀態,以正常地使用該可讀取內部資料之電動手工具裝置10;亦即,請參考圖3,其係為依據本揭露之第三實施例之可讀取內部資料之電動手工具裝置10之電路圖;圖3所示之元件與圖1所示之元件相同者,為簡潔因素,故於此不再重複其敘述。如圖3所示,該電池單元114係為該真電池且包含複數之電池芯132;該微控制單元104透過該電池介面結構112接收由該電池單元114所提供之一驅動電源118,使得該微控制單元104被配置為透過該第一接腳108、該第二接腳110及該電池介面結構112對該電池單元114執行該真假電池第一判斷程序(如圖5所示)以判斷該電池單元114係為該真電池或該假電池。
If the user does not want to read the
請復參考圖5的步驟S504,如果該微控制單元104判斷透過該第二接腳110沒有接收到該電腦20所傳送的該連接命令回覆信號122,則該真假電池第一判斷程序進入以下的步驟S506。
Please refer to step S504 in Figure 5 again. If the
步驟S506:該微控制單元104判斷該電池單元114為該真電池。接著,該真假電池第一判斷程序進入以下的步驟S507。
Step S506: The
步驟S507:該微控制單元104被配置為反初始化分別作為該資料傳送接腳及該資料接收接腳的該第一接腳108及該第二接腳110(亦可稱為電池介面UART反初始化)。接著,該真假電池第一判斷程序進入以下的步驟S508。
Step S507: The
步驟S508:該微控制單元104被配置為初始化該第一接腳108及該第二接腳110以分別作為一電池溫度係數接腳及一電池識別碼接腳。
Step S508: The
接著,使用者可正常地使用該可讀取內部資料之電動手工具裝置10,而該微控制單元104透過該第一接腳108、該第二接腳110及該電池介面結構112接收由該電池單元114所傳送的一電池溫度係數信號128及一電池識別碼信號130,藉以得知該真電池的溫度及識別碼。
Then, the user can use the electric
請參考圖4,其係為依據本揭露之第四實施例之可讀取內部資料之電動手工具裝置10之電路圖;圖4所示之元件與圖3所示之元件相同者,為簡潔因素,故於此不再重複其敘述。請復參考圖6的步驟S603,該微控制單元104判斷透過該第一接腳108所偵測之該第一偵測信號124小於該第一預設值或者透過該第二接腳110所偵測之該第二偵測信號126小於該第二預設值,則該真假電池第二判斷程序進入以下的步驟S607。
Please refer to FIG. 4, which is a circuit diagram of an electric
步驟S607:該電池單元114被判斷為該真電池。接著,使用者可正常地使用該可讀取內部資料之電動手工具裝置10,而該微控制單元104透過該第一接腳108、該第二接腳110及該電池介面結構112接收由該電池單元114所傳送的一電池溫度係數信號128及一電池識別碼信號130,藉以得知該真電池的溫度及識別碼。
Step S607: The
本揭露之功效在於簡易地讀取電動手工具內的資料。本揭露既不需要在電動手工具內安裝藍牙通訊模組,也不需要拆開電動手工具的外殼,利用該假電池、該電腦20及該電源供應裝置30即可讀出該些資料116。當該可讀取內部資料之電動手工具裝置10接上該假電池時,該微控制單元104透過該第一接腳108及該第二接腳110使用內部TX/RX功能,藉以輸出該些資料116至該電腦20,其中TX是通訊的資料傳送接腳,而RX是通訊的資料接收接腳,TX/RX為UART通訊用的傳送與接收功能。當該可讀取內部資料之電動手工具裝置10接上該真電池時,該微控制單元104透過該第一接腳108及該第二接腳110使用內部類比轉數位功能,藉以偵知電池溫度及辨識電池種類。
The utility of the present disclosure is to easily read the data in the electric hand tool. The present disclosure does not require the installation of a Bluetooth communication module in the electric hand tool, nor does it require the removal of the outer shell of the electric hand tool. The
雖然已經參照本揭露的實施例描述了本揭露,但是應當理解,本揭露不限於其細節;在前面的描述中已經提出了各種替換和修改,並且本領域一般技術人員將想到其他替換和修改;因此,所有這樣的替換和修改旨在被包含在本揭露的範圍內。 Although the present disclosure has been described with reference to the embodiments of the present disclosure, it should be understood that the present disclosure is not limited to the details thereof; various substitutions and modifications have been proposed in the foregoing description, and other substitutions and modifications will occur to those of ordinary skill in the art; therefore, all such substitutions and modifications are intended to be included within the scope of the present disclosure.
10:可讀取內部資料之電動手工具裝置 10: Electric hand tool device capable of reading internal data
20:電腦 20: Computer
30:電源供應裝置 30: Power supply device
102:電動手工具電路 102: Electric hand tool circuit
104:微控制單元 104: Microcontroller unit
106:記憶體單元 106:Memory unit
108:第一接腳 108: First leg
110:第二接腳 110: Second pin
112:電池介面結構 112: Battery interface structure
114:電池單元 114:Battery unit
116:資料 116: Data
118:驅動電源 118:Drive power
120:連接命令信號 120: Connection command signal
122:連接命令回覆信號 122: Connection command reply signal
134:外殼 134: Shell
136:連接線 136:Connection cable
138:電晶體開關 138: Transistor switch
140:馬達 140: Motor
142:馬達電流檢測器 142: Motor current detector
144:運算放大器 144: Operational amplifier
146:電阻 146:Resistance
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW113201219U TWM665384U (en) | 2024-02-01 | 2024-02-01 | Electric hand tool device capable of reading internal data |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW113201219U TWM665384U (en) | 2024-02-01 | 2024-02-01 | Electric hand tool device capable of reading internal data |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| TWM665384U true TWM665384U (en) | 2025-01-11 |
Family
ID=95124276
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| TW113201219U TWM665384U (en) | 2024-02-01 | 2024-02-01 | Electric hand tool device capable of reading internal data |
Country Status (1)
| Country | Link |
|---|---|
| TW (1) | TWM665384U (en) |
-
2024
- 2024-02-01 TW TW113201219U patent/TWM665384U/en unknown
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7711870B2 (en) | Interface detecting circuit and interface detecting method | |
| CN101398459B (en) | Method and device for identifying charger type | |
| JP4644694B2 (en) | Improved compact flash memory card and interface | |
| EP2480043B1 (en) | Method and device for identifying a computer insertion or a charger insertion in a mobile terminal | |
| US7079038B2 (en) | Method and apparatus for communication between an electronic device and a connected battery | |
| CN103855772B (en) | Mobile terminal and charge control method thereof | |
| TWI700498B (en) | High contact resistance detection | |
| US20140006678A1 (en) | Portable electronic device and accessory device thereof, and operating method for the portable electronic device | |
| CN103905955A (en) | Method and apparatus for detecting insertion of earphones, and interface circuit | |
| CN1158739C (en) | Method and device for measuring temperature in circuit | |
| CN107894941A (en) | A kind of SSD Working state monitoring devices and method | |
| CN115575793A (en) | A multi-channel free combination test method, device and system | |
| TWM665384U (en) | Electric hand tool device capable of reading internal data | |
| JP6931706B2 (en) | How to combine and display message records, and terminal devices | |
| CN111025194A (en) | Interface cable connection detection device and interface module | |
| JP2002116853A (en) | Usb mounted electronic equipment and use cable to be used therefor | |
| CN110571758A (en) | USB interface protection circuit, method, adapter and electronic equipment | |
| CN111882852B (en) | Access detection circuit, method, master device and storage medium | |
| US8266348B2 (en) | System and method of communicating with portable devices | |
| CN214954958U (en) | Electronic device sharing universal sequence bus signal | |
| CN101266536B (en) | Detection device | |
| CN111104361A (en) | Port number query method, device, computer equipment and storage medium of serial port | |
| CN118244115A (en) | Diagnostic control methods | |
| CN101266586A (en) | Storage and connection control device and control method based on USB protocol | |
| JP2021533654A (en) | Command time test methods and systems, as well as computer storage media |