200536688 九、發明說明: 【發明所屬之技術領域】 本發明關於無線動力工具。更特定言之,本發明關於經 由該動力工具之電源端子在該動力工具與一數據轉移裝置 之間連通資訊。該等電源端子與被用來在該工具作業期間 連接至一工具電源供應器、亦即一可攜式電池組的電源端 子相同。 【先前技術】 現代無線動力工具在家庭和商業性施工場所越來越常見 …、線動力工具之進化已導致有相當多種動力工具被製造 成::、、線版纟I例來說’諸如打釘器類、鑽機類、螺絲起 子類、圓鋸類、往復鋸類、曲線鋸類及喷砂器類的動力工 八在見5通书被製迨成無線版本。伴隨著無線動力工具類 型之增加而來的是無線動力工具之技術複雜度的提高。當 7之電子組件譬如微控制器和記憶體模組已經小到足以使 其被輕易地安裝在許多無線動力卫具的殼體内。有-些習 知動力工具結合此等電子組件以收集並存健與工具使用有 關之數據及其他關於工具運作的相關資訊。此外,此等電 子組件被用來存儲用於控制卫具運作的演算法和程式。 #習知與無線動力卫具連通以提取作業數據、輸人控制演 算去更新控制私序且/或更新控制係數的方法通常是勞力 :集的:、麻煩的、昂貴Η且可能降低工具的可靠度。 “列來說’工具可能必須被拆解方能得到對於電子組件的 存取。在其他情況中,可能必須對工具添加額外的電或光 98962.doc 200536688 通信端子或埠口方能與電子組件連通。因此非常需要提出 一種無須拆解一無線動力工具或包含額外通信埠即可與該 工具内之數據儲存模組及/或控制模組連通的構件。 【發明内容】 本务明針對一種用於透過一無線動力工具之電源端子連 通資訊和數據的系統與方法。 在一較佳實施例中提出一種方法,其包含將一主機裝置 連接到該工具之至少一電源端子。該電源端子亦被用來在 該工具之作業期間將一電源供應器連接至該工具。該方法 更包含使一由該主機裝置供予該工具之電塵在一第一位準 與一第二位準之間變動,以便從該工具處傳輸數據至該主 機裝置。該方法更包含使一供予該工具之一微控制器之電 壓信號在一第一電壓與一第二電壓之間移位以從該主機裝 置處傳輸數據至該工具。 在另一車父佳貫施例中提出一種系統,其包含一適於被連 接至該工具之至少一電源端子上的主機裝置,其中該電源 知;子在該工具之作業期間亦被連接至一工具電源供應器上 。該系統更包含一被包容在該工具内的第一通信電路。該 第一通信電路適於使一由該主機裝置供予該工具之電壓在 一第一位準與一第二位準之間變動,藉以從該工具處傳輸 數據至該主機裝置。該系統更包含一被包容在該主機裝置 内的第二通信電路。該第二通信電路適於使一供予該工具 之一微控制器之電壓信號在一第一位準與一第二位準之間 移位’措以從該主機裝置處傳輸數據至該工具。 98962.doc 200536688 本1¾明之其他可應用範疇將在以下詳細說明中展露。應 理解到這些詳細說明和指定實例雖然表現出本發明之較佳 實施例,但僅希望以其作為範例而不希望限制本發明的範 圍。 【實施方式】 藉由以下詳細說明及所附圖式將會使本發明更易於理解。 以下較佳實施例說明本質上僅為範例說明,不就任何方 面限制本發明、其應用或使用。 圖1是一依據本發明一較佳實施例之一種用於連通數據 至及/或自一無線動力工具14之系統1〇的方塊簡圖。應理解 到雖然無線工具14在圖1中被繪為一無線鑽機,但工具14 得為任何無線工具譬如一打釘器、鑽機、螺絲起子、圓鋸 、往復鋸、曲線鋸或喷砂器等。系統1〇包含一數據轉移裝 置丨8,亦稱為一主機裝置,其適於連接至動力工具14之電 源端子22a和22b,以便在動力工具14處於一通信模式時可 與動力工具14連通。電源端子22a和22b亦被用來連接一工 具電源供應器譬如一可拆的可攜式電池組至工具14,以便 在一作業模式期間可提供電力以操作工具14之一馬達24。 在一較佳實施例中,數據轉移裝置18被構形為大致相似 於該電源供應器,譬如可拆的可攜式電池組,以致使數據 轉移裝置18以與該電源供應器相同的方式被連接至動力工 具14。舉例來說,如圖i所示,數據轉移裝置“被構形為大 致相似於一已從動力工具14之一電池座19移出之可拆的可 攜式電池組。因此,數據轉移裝置18以與該電池組在動力 98962.doc 200536688 工具14處於一運作模式時連接至動力工具14相同的方式被 連接至動力工具14。故數據轉移裝置丨8可快速且容易地與 電池組互換。在另一較佳實施例中,數據轉移裝置Μ是一 包含下文所述之一通信電路的可拆的可攜式電池組。 參照圖1A,在一替代較佳實施例中,一數據轉移裝置”, 匕含计异機裝置i8a譬如一膝上型或手持式電腦,及一連 接器18b。計算機裝置18a被可通信地聯結至連接器i8b且包 含如下所述之一通信電路。連接器18b可透過一適當介面纜 線18 c或甚至藉由一無線連線而可通信地聯結至計算機裝 置18a。連接器18b被構形為相似於已從動力工具14移出之 可拆的可攜式電池組。數據轉移裝置18藉由將連接器18b 以與電池組相似之方式插入動力工具14内而被連接至動力 工具14。因此,數據轉移裝置18,由本質上與圖丨所示裝置以 之介接組件相同功能的連接器18b及介面纜線1心達成其與 工具14的介接。為了方便起見,以下詳細說明將針對於數 據轉移裝置1 8的使用。 再回到圖1,系統1 〇包含一被容納在動力工具14内的第一 通h電路26。第一通信電路26適於透過動力工具14之電源 端子22a和22b與被包容在數據轉移裝置18内之一第二通信 電路30連通。更特定言之,電源端子22a有雙重用途。電源 端子22a被用來對動力工具14及第一通信電路26提供電力 ’且被用來在第一和第二通信電路26和30之間傳輸數據。 在一較佳實施例中,系統10適於在第一通信電路26與第 二通信電路3 0之間提供雙向通信。舉例來說,數據和資訊 98962.doc 200536688 ’譬如作業參數及具作f歷史資訊,可被從第—通信電 路:6下:亦即傳輸)到第二通信電路3〇。同樣的,數據和資 吕fl譬如演异法、程式、、、宫瞀 次^法及/或程式係數以及作業參數 可被從第二通信電路30上傳(亦即傳輸)到第一通信電路26 。另-㈣’系㈣可被建構為在第-通信電路26與第二 通信電路3G之間僅提供單向通信。舉例來說,在-案例中 ,系統1G適於僅從第—通信電路⑽輸數據和資訊給第二 通信電路30。在另一索你丨由,么„,^ ” j中糸、、先1 〇僅適於從第二通信電 路30傳輸數據和資訊給第一通信電路%。 圖2是圖1所示第一和第二通信電路26和30之一方塊簡圖 。第-通信電路26包含一微控制器34,其控制數據轉移裝 置18與動力工具14之間的通信。更特定言之,微控制器μ 與被包容在第二通信電路30内之—控制器、較佳為一微處 理器36-同作用以控制第一和第二通信電路⑽。之間的 通信。另一選擇’微處理器36可為在第二通信電路3〇以外 之一裝置,例如一膝上型或手持式電腦。 此外,第-通信電路26包含至少—電壓調節㈣及一電 壓移位偵測電路42。電壓調節器38使供予微控制器“之一 電壓輸出維持在一適合致能微控制器34運作的位準。在一 較佳實施例中’第一通信電路26更包含—連接於電壓調節 器3 8之一輸出與微控制器3 4之一埠3 4 a之間的第一電阻器 R1。埠34a處的阻抗被預設為高達除非微控制器^將埠“a 處的信號拉到低位否則電流無法通過第一雷 电丨丑R1的程度 。當34a處的信號為低,電流會通過第一電阻器ri。另一選 98962.doc 200536688 第一通信電 R1可被換成 擇’ R1可被換成適合依據埠34a之阻抗水準控制 路26内之電流流量的任何電組件。舉例來說, - LED、-電感器或-電晶體。因此,雖然將針對使用第 一電阻器R1的情況說明第一通信電路26的運作,應理解到 第一電阻器R1可被換成適合藉由切換埠34a處之阻抗而容 許微控制器34控制流過電源端子22a之電流之水準的任何 其他電組件且仍在本發明的範圍内。200536688 IX. Description of the invention: [Technical field to which the invention belongs] The present invention relates to wireless power tools. More specifically, the present invention relates to communicating information between the power tool and a data transfer device via a power terminal of the power tool. The power terminals are the same as those used to connect to a tool power supply, that is, a portable battery pack, during the operation of the tool. [Previous technology] Modern wireless power tools are becoming more and more common in homes and commercial construction sites ... The evolution of line power tools has led to the creation of quite a number of power tools: Power tools for nails, drills, screwdrivers, circular saws, reciprocating saws, jigsaws and sandblasters are made into wireless versions in the 5th book. With the increase in the types of wireless power tools, the technical complexity of wireless power tools has increased. When electronic components such as microcontrollers and memory modules are small enough to be easily installed in the housings of many wireless powered guards. Some conventional power tools combine these electronic components to collect and store data related to the use of the tool and other relevant information about the operation of the tool. In addition, these electronic components are used to store algorithms and programs used to control the operation of the safety gear. # 习 知 The method of communicating with wireless power-assisted gears to extract operational data, input control calculations to update the control sequence and / or update the control coefficients is usually labor: collective: troublesome, expensive, and may reduce the reliability of the tool degree. "For the sake of the column," the tool may have to be disassembled to gain access to the electronic components. In other cases, you may have to add extra electricity or light to the tool. 98962.doc 200536688 Therefore, there is a great need to propose a component that can communicate with the data storage module and / or the control module in the tool without disassembling a wireless power tool or including an additional communication port. [Summary of the Invention] The present invention is directed to a kind of System and method for communicating information and data through a power terminal of a wireless power tool. In a preferred embodiment, a method is proposed that includes connecting a host device to at least one power terminal of the tool. The power terminal is also The method is used to connect a power supply to the tool during the operation of the tool. The method further includes changing an electric dust supplied by the host device to the tool between a first level and a second level In order to transmit data from the tool to the host device. The method further includes making a voltage signal to a microcontroller of the tool a first Voltage and a second voltage to shift data from the host device to the tool. In another embodiment of the car driver Jia Guan, a system is proposed that includes at least one power source adapted to be connected to the tool. The host device on the terminal, wherein the power source is known; the sub is also connected to a tool power supply during the operation of the tool. The system further includes a first communication circuit contained in the tool. The first communication The circuit is adapted to change a voltage supplied by the host device to the tool between a first level and a second level, so as to transmit data from the tool to the host device. The system further includes an encapsulation A second communication circuit in the host device. The second communication circuit is adapted to shift a voltage signal supplied to a microcontroller of the tool between a first level and a second level In order to transfer data from the host device to the tool. 98962.doc 200536688 Other applicable areas of the present invention will be disclosed in the following detailed description. It should be understood that these detailed descriptions and specific examples show the invention The preferred embodiment, but it is only intended as an example and does not wish to limit the scope of the present invention. [Embodiment] The following detailed description and attached drawings will make the present invention easier to understand. The following description of the preferred embodiment Essentially, it is only an example, and does not limit the present invention, its application or use in any respect. FIG. 1 is a system for connecting data to and / or from a wireless power tool 14 according to a preferred embodiment of the present invention A block diagram of 10. It should be understood that although the wireless tool 14 is depicted as a wireless drill in FIG. 1, the tool 14 may be any wireless tool such as a nailer, drill, screwdriver, circular saw, reciprocating saw, Jigsaw or sandblaster, etc. The system 10 includes a data transfer device, also known as a host device, which is adapted to be connected to the power terminals 22a and 22b of the power tool 14 so that the power tool 14 is in a communication mode It can communicate with the power tool 14. Power terminals 22a and 22b are also used to connect a tool power supply such as a removable portable battery pack to the tool 14 so that power can be provided to operate a motor 24 of the tool 14 during an operating mode. In a preferred embodiment, the data transfer device 18 is configured substantially similar to the power supply, such as a detachable portable battery pack, so that the data transfer device 18 is treated in the same manner as the power supply. Connected to power tool 14. For example, as shown in FIG. I, the data transfer device "is configured to be substantially similar to a removable portable battery pack that has been removed from a battery holder 19 of the power tool 14. Therefore, the data transfer device 18 is The battery pack is connected to the power tool 14 in the same manner as the battery pack is connected to the power tool 14 when the power tool 98962.doc 200536688 is in an operating mode. Therefore, the data transfer device 8 can be quickly and easily interchanged with the battery pack. In a preferred embodiment, the data transfer device M is a detachable portable battery pack including a communication circuit described below. Referring to FIG. 1A, in an alternative preferred embodiment, a data transfer device ", The dagger includes a unique device i8a such as a laptop or handheld computer, and a connector 18b. The computer device 18a is communicably connected to the connector i8b and includes one of the communication circuits described below. The connector 18b may be communicatively connected to the computer device 18a through an appropriate interface cable 18c or even through a wireless connection. The connector 18b is configured similar to a removable portable battery pack that has been removed from the power tool 14. The data transfer device 18 is connected to the power tool 14 by inserting the connector 18b into the power tool 14 in a similar manner to the battery pack. Therefore, the data transfer device 18 achieves its interface with the tool 14 by the connector 18b and the interface cable 1 which have substantially the same functions as the interface components of the device shown in FIG. For convenience, the following detailed description will be directed to the use of the data transfer device 18. Returning again to FIG. 1, the system 10 includes a first pass circuit 26 housed in a power tool 14. The first communication circuit 26 is adapted to communicate with one of the second communication circuits 30 contained in the data transfer device 18 through the power terminals 22a and 22b of the power tool 14. More specifically, the power terminal 22a serves a dual purpose. The power terminal 22a is used to supply power to the power tool 14 and the first communication circuit 26 'and is used to transmit data between the first and second communication circuits 26 and 30. In a preferred embodiment, the system 10 is adapted to provide two-way communication between the first communication circuit 26 and the second communication circuit 30. For example, data and information 98962.doc 200536688 ', such as operating parameters and historical information, can be transferred from the first communication circuit: 6 times: that is, transmitted) to the second communication circuit 30. Similarly, the data and data, such as the algorithm, program, method, program method, and / or program coefficients, and operating parameters can be uploaded (that is, transmitted) from the second communication circuit 30 to the first communication circuit 26. . In addition, the system can be configured to provide only one-way communication between the first communication circuit 26 and the second communication circuit 3G. For example, in the case, the system 1G is adapted to transmit data and information from the first communication circuit to the second communication circuit 30 only. In another case, why, ^, j, 先, 先 1 are only suitable for transmitting data and information from the second communication circuit 30 to the first communication circuit%. FIG. 2 is a block diagram of one of the first and second communication circuits 26 and 30 shown in FIG. 1. FIG. The first communication circuit 26 includes a microcontroller 34 that controls communication between the data transfer device 18 and the power tool 14. More specifically, the microcontroller µ functions in conjunction with a controller, preferably a microcontroller 36, contained in the second communication circuit 30 to control the first and second communication circuits ⑽. Communication between. Alternatively, the microprocessor 36 may be a device other than the second communication circuit 30, such as a laptop or handheld computer. In addition, the first communication circuit 26 includes at least a voltage regulator and a voltage shift detection circuit 42. The voltage regulator 38 maintains one of the voltage outputs to the microcontroller at a level suitable for enabling the operation of the microcontroller 34. In a preferred embodiment, the 'first communication circuit 26 further includes-connected to the voltage regulator The first resistor R1 between the output of one of the microcontrollers 38 and one of the microcontrollers 34 and port 3 4a. The impedance at port 34a is preset to be as high as possible unless the microcontroller ^ pulls the signal at port "a" To a low level, otherwise the current cannot pass through the first lightning ugly R1. When the signal at 34a is low, a current will pass through the first resistor ri. Alternatively, 98962.doc 200536688, the first communication power R1 may be replaced with the option R1 may be replaced with any electrical component suitable for the current flow in the control circuit 26 according to the impedance level of the port 34a. For example,-LED,-inductor or-transistor. Therefore, although the operation of the first communication circuit 26 will be explained for the case where the first resistor R1 is used, it should be understood that the first resistor R1 can be replaced to allow the microcontroller 34 to control by switching the impedance at the port 34a Any other electrical component of the level of current flowing through the power terminal 22a is still within the scope of the present invention.
微控制器34包含一適合存儲與動力工具14之所有作業態 樣有關之資訊、數據及程式編製(pr〇gramming)的電子記憶 體46。舉例來說,微控制器記憶體牝可存儲待傳輸給第二 通k電路30的數據。相似地,從第二通信電路3〇傳出的數 據可被存儲在微控制器記憶體46内。在另一較佳實施例中 ,第一通信電路26包含一在微控制器34以外的記憶裝置5〇 。系統10使用記憶裝置50的方式與使用微控制器記憶體46 的方式大致相同。雖說本說明書中將會參照於微控制器記 憶體46說明系統1 〇,應理解到微控制器記憶體46和記憶裝 置5 0對於系統1 〇的運作來說是可互換的。在另一較佳實施 例中’微控制器34除了控制第一和第二通信電路26和3〇間 之通信更控制工具14的運作。 第二通信電路30包含一電路電源54譬如一電池以及一電 壓移位裝置或電路58。較佳來說,電源54在數據轉移裝置 18以内’以致使系統1〇之運作不需要在數據轉移裝置18以 外的電源。然電源54可在數據轉移裝置1 8以外且仍在本發 明的範圍内。在數據轉移裝置18是一包含第二通信電路3〇 98962.doc -10- 200536688 斥的可攜式電池組的情況中,該電池組本身即是電源 “電C移位4置58調節由電路電源54供應的電壓。此外 =電星移位裝置58適於使已調節電壓在—第—㈣位準與 第二電壓位準之間移位。電壓移位裝置以被微處理器, f制。微處理器36控制錢移位裝置58,以致使電麼移位 裝置58之輸出電麼在第一通信電路^正對第二通信電路⑼ 傳輸數據時是大錄定。微處理H 36更控制電㈣位裝置 58以致使電壓移位裝置58之輸出電|在第二通信電路⑼正 對第一通信電路26傳輸數據時於該第一電壓位準與該第二 電壓位準之間變動。 、 電麼移位裝置58較佳包含二電壓調節器及—電壓切換裝 置’譬如一雙向交流觸發三極體⑻ae)、一場效電晶體(fet) 絕緣閘雙極性電晶體(IGB丁)或一石夕控整流器(scr)。另 選擇’電壓移位裝置58得為適合輸出在二電壓位準間移 電壓的任何裝置。電壓移位裝置58之電壓輸出得為 已調節或未調節的。 第二通信電路30額外包含一第二電阻器们、一數據讀取 器66及-差分電路7〇,例如一差分放大器。在一較佳實施 例中,數據讀取器66在微處理器36以外,如圖2所示。在一 替代較佳實施例中,數據讀取器66被納人微處理器36内(亦 即在該微處理器以内)。差分電路7〇得為適合產生代表跨第 一電阻裔R2之一電壓之一輸出信號並且對數據讀取器“輸 出一數位信號的任何電路或裝置。更特定言之,差分電路 7〇輸出一依據跨第二電阻器R2之電壓變化而變動的信號。 98962.doc 200536688 “列來說,差分電路70可為-運算放大器、-差動比較号 或-信號調節裝置。差分電路7〇之輸出較佳是一數位輸: 1亦可為-類比信號且仍在本發明的範圍内。在— 幸又佳實施例中’數據讀取器66係在第二通信電路%以外。 舉例來說’數據讀取器66可為—連接至差分電路7〇之輸出 的膝上型電腦或手持式電腦。The microcontroller 34 includes an electronic memory 46 suitable for storing information, data and programming related to all operating modes of the power tool 14. For example, the microcontroller memory 牝 may store data to be transmitted to the second k-circuit 30. Similarly, the data transmitted from the second communication circuit 30 can be stored in the microcontroller memory 46. In another preferred embodiment, the first communication circuit 26 includes a memory device 50 outside the microcontroller 34. The manner in which the system 10 uses the memory device 50 is substantially the same as the manner in which the microcontroller memory 46 is used. Although the system will be described with reference to the microcontroller memory 46 in this specification, it should be understood that the microcontroller memory 46 and the memory device 50 are interchangeable for the operation of the system 10. In another preferred embodiment, the 'microcontroller 34 controls the operation of the tool 14 in addition to controlling the communication between the first and second communication circuits 26 and 30. The second communication circuit 30 includes a circuit power source 54 such as a battery and a voltage shifting device or circuit 58. Preferably, the power source 54 is within the data transfer device 18 'so that the operation of the system 10 does not require a power source outside the data transfer device 18. However, the power source 54 may be outside the data transfer device 18 and still be within the scope of the present invention. In the case where the data transfer device 18 is a portable battery pack including a second communication circuit 330898962.doc -10- 200536688, the battery pack itself is a power source. The voltage supplied by the power source 54. In addition, the electric star shifting device 58 is adapted to shift the adjusted voltage between the first and second voltage levels. The voltage shifting device is controlled by a microprocessor and f The microprocessor 36 controls the money shifting device 58 so that the output of the electric shifting device 58 is set when the first communication circuit is facing the second communication circuit. The micro processing H 36 is more Control the electrical level device 58 so that the output of the voltage shifting device 58 changes between the first voltage level and the second voltage level when the second communication circuit is transmitting data to the first communication circuit 26 The electric displacement device 58 preferably includes two voltage regulators and a voltage switching device, such as a bidirectional AC trigger triode (⑻ae), a field effect transistor (FET), an insulated gate bipolar transistor (IGB), or A stone evening rectifier (scr). Another option is' voltage shifting device Set 58 as any device suitable for outputting a voltage shifted between two voltage levels. The voltage output of voltage shifting device 58 must be adjusted or unregulated. The second communication circuit 30 additionally includes a second resistor, a The data reader 66 and the differential circuit 70, such as a differential amplifier. In a preferred embodiment, the data reader 66 is outside the microprocessor 36, as shown in FIG. 2. In an alternative preferred embodiment The data reader 66 is housed in the microprocessor 36 (ie, within the microprocessor). The differential circuit 70 is adapted to generate an output signal representative of one of the voltages across the first resistor R2 and Data reader "any circuit or device that outputs a digital signal. More specifically, the differential circuit 70 outputs a signal that varies according to a voltage change across the second resistor R2. 98962.doc 200536688 "In terms of columns, the differential circuit 70 may be-an operational amplifier,-a differential comparison number, or-a signal conditioning device. The output of the differential circuit 70 is preferably a digital input: 1 may also be an analog signal and Still within the scope of the present invention. In a fortunate embodiment, the 'data reader 66 is outside the second communication circuit%. For example, the' data reader 66 may be-connected to a differential circuit 70 Output from a laptop or handheld computer.
為起始工具14之通信帛式,使工具電源供應H例如 攜式電池組脫離與電源端子22a和22b的連接並從工具14移 出。然後使數據轉移裝置18在電源端子22a和22b處連接至 工具14。如前所述,數據轉移裝置18或者是聯結於數據轉 移裝置18之連接器18b被構形為相似於從工具14移出的工 具電源供應器,使得其可輕易地耦接於電池座19。故數據 轉移裝置18或者是連接器18b被以與工具電源供應器相同 的方式插入工具14之電池座19内並連接至電源端子22&和 22b。當數據轉移裝置18或連接器18b被連接至電源端子 和22b,電路電源54對第一通信電路26提供電力。 電壓移位裝置58和第二電阻器R2控制從第二通信電路3〇 送給第一通信電路26的電壓輸出。因此,來自第二通信電 路30的電流輸出會依據該電壓輸出的變化而受影響,如同 被電壓移位裝置58和第二電阻器R2控制。另一選擇,來自 第二通信電路30的電流輸出可受控制藉以影響第二通信電 路30之電壓輸出之一變化。在一較佳樣式中,電壓移位裝 置5 8和第二電阻器R2控制電壓及/或電流致使第二通信電 路30提供的電力足以致能微控制器34運作。此外,電壓調 98962.doc -12- 200536688 節器38調節供予微控制器34的電壓。由第二通信電路”提 供的電力足以致能微㈣器34運#,但$足以驅動馬達24 。因此,馬達24在工具14處於通信模式且數據轉移裝置18 耦接於工具14時不會運作。另一選擇,第二通信電路”能 提供足以對微控制器34和馬達24二者供電的電力。在此實 施例中,微控制器34被程式化為若工具14在處於通信模式 之同時被引動則中止數據傳輸。To start the communication mode of the tool 14, the tool power supply H, such as a portable battery pack, is disconnected from the power terminals 22a and 22b and removed from the tool 14. The data transfer device 18 is then connected to the tool 14 at the power terminals 22a and 22b. As described above, the data transfer device 18 or the connector 18b connected to the data transfer device 18 is configured similarly to the power supply of the tool removed from the tool 14, so that it can be easily coupled to the battery holder 19. Therefore, the data transfer device 18 or the connector 18b is inserted into the battery holder 19 of the tool 14 and connected to the power terminals 22 & and 22b in the same manner as the tool power supply. When the data transfer device 18 or the connector 18b is connected to the power terminals and 22b, the circuit power source 54 supplies power to the first communication circuit 26. The voltage shifting device 58 and the second resistor R2 control the voltage output sent from the second communication circuit 30 to the first communication circuit 26. Therefore, the current output from the second communication circuit 30 is affected in accordance with the change in the voltage output, as if controlled by the voltage shifting device 58 and the second resistor R2. Alternatively, the current output from the second communication circuit 30 may be controlled to affect one of the voltage output changes of the second communication circuit 30. In a preferred form, the voltage shifting device 58 and the second resistor R2 control the voltage and / or current such that the power provided by the second communication circuit 30 is sufficient to enable the microcontroller 34 to operate. In addition, the voltage regulator 98962.doc -12-200536688 adjusts the voltage supplied to the microcontroller 34. The power provided by the "second communication circuit" is sufficient to enable the microcomputer 34, but $ is sufficient to drive the motor 24. Therefore, the motor 24 will not operate when the tool 14 is in communication mode and the data transfer device 18 is coupled to the tool Alternatively, the second communication circuit can provide sufficient power to power both the microcontroller 34 and the motor 24. In this embodiment, the microcontroller 34 is programmed to suspend data transmission if the tool 14 is activated while in the communication mode.
一旦微控制器34被致能運作,微控制器34可對數據讀取 器66傳輸數據、接收第二通信電路3〇發出之數據、或二者 兼具。較佳來說,系統1G適於雙向通信。& 了在此實施例 中對數據讀取器66傳輸數據,第二通信電路3〇向微控制器 34查詢數據。然後微控制器34開始以—預定數據通信曲線 順序地使處於一高阻抗與一低阻抗之間的埠34a產生脈衝 。舉例來說’埠34a之脈衝曲線可有m鲍率脈動的 串=ASCn數據。該脈衝曲線包括待從微控制器州專輸給數 據讀取器66的數據。埠343之順序脈衝導致跨第一電阻器μ 之 電壓依相同順序曲線在 弟 電壓與一第二電壓之間 移位。舉例來說,冑第一電阻器R!的電壓依與埠3 4 &被脈動 相同之順序曲線在0伏特與5伏特之間移位。跨第—電阻写 R1之電壓的移位導致從第二通信電路職到第—通信電路 26的電流在-第一水準與一第二水準之間移位。因此,從 第二通信電路30到第—通信電路26的移位電流導致由第二 通信電路30供予第一通信電路26之電壓在一第一位準二 第二位準之間變動。 〃 98962.doc -13- 200536688 更特定言之,汲自電壓移位裝置58且流過第二電阻器R2 2電流會依與埠343之脈衝相同的順序曲線在第—位準與 第二位準之間移位。流過第二電阻器们之變化電流隨後導 致跨第二電阻器R2之電壓順序地在―第―電壓與一第二電 壓之間交替。跨第二電阻器尺2之該順序交替電壓也會且有 與蟀34a之脈衝相同的順序曲線。差分電路7〇將跨第二電阻 _之變動電壓解析成與跨第二電阻器R2之電塵在第一 和第二電壓位準間之切換有關聯的數位信號。此等數位, 號是微控制器34所發出之數據的代表。 舉例來說,當琿34a處於高阻抗,幾乎不會有電流通過第 -電阻器R1 ’從而導致通過第二電阻器以之電流產生跨第 二電阻器R2之第-電壓。據此,差分電路7〇輸出一對應於 =第二電阻器R2之該第-電壓的數位信號,例如一數位低 H Ik後’當埠34a被拉到低阻抗,電流會流過第—電阻 器導致流過第二電阻器R2之電流有-變化。據此,通 過第:電阻0R2之電流導致跨第二電阻器R2之電遂改變 成第電壓。差分電路7G感測跨第二電阻器R2之電壓降的 變^匕且輸出一對應於該第二電麼的信號,例如一數位高位 準’由於跨第二電阻器R2之電塵依據物a處之 =抗之順序切換而順序地在第一和第二電壓之間交替,差 刀電路7G之輸出信號順序地在數位高和低信號之間切換。 故差分電路70之數位輸出代表著正從工具14傳輸給 移裝置锞轉 來自差分電路70之數位信號隨後被輸入到數據讀取器66 98962.doc 14 200536688 。數據項取裔66將該等數位信號轉譯成一串列數據流且將 數據存儲在一記憶裝置74内。在一較佳實施例中,記憶裝 置74被包容在數據讀取器66内。另一選擇,記憶裝置”得 為在數據頃取為66以外。此外,若數據讀取器66是一外部 計算機裝置,譬如一膝上型電腦,則該外部計算機裝置較 佳會包含用來存儲從微控制器34發出之數據的記憶體。Once the microcontroller 34 is enabled for operation, the microcontroller 34 may transmit data to the data reader 66, receive data from the second communication circuit 30, or both. Preferably, the system 1G is suitable for two-way communication. & In this embodiment, data is transmitted to the data reader 66, and the second communication circuit 30 queries the microcontroller 34 for the data. The microcontroller 34 then sequentially pulses the port 34a between a high impedance and a low impedance with a predetermined data communication curve. For example, the pulse curve of 'port 34a' may have a series of m baud rate pulses = ASCn data. The pulse curve includes data to be input to the data reader 66 exclusively from the microcontroller state. The sequential pulses at port 343 cause the voltage across the first resistor μ to shift between the brother voltage and a second voltage in the same sequence. For example, the voltage of the first resistor R! Is shifted between 0 volts and 5 volts in the same order as that of port 3 4 & The shift of the voltage across the first-resistor write R1 causes the current from the second communication circuit to the first-communication circuit 26 to shift between the first level and a second level. Therefore, the shift current from the second communication circuit 30 to the first communication circuit 26 causes the voltage supplied from the second communication circuit 30 to the first communication circuit 26 to vary between a first level, a second level, and a second level. 〃 98962.doc -13- 200536688 More specifically, the current drawn from the voltage shifting device 58 and flowing through the second resistor R2 2 will follow the same sequence curve as the pulse of port 343 at the first and second levels. Shift between standards. The changing current flowing through the second resistors then causes the voltage across the second resistor R2 to sequentially alternate between the first voltage and a second voltage. This sequential alternating voltage across the second resistor ruler 2 will also have the same sequential curve as the pulse of 蟀 34a. The differential circuit 70 analyzes the fluctuating voltage across the second resistor _ into a digital signal associated with the switching of the electric dust across the second resistor R2 between the first and second voltage levels. These digits represent the data sent by the microcontroller 34. For example, when 珲 34a is at a high impedance, almost no current flows through the first resistor R1 ', which causes the current through the second resistor to generate a first voltage across the second resistor R2. According to this, the differential circuit 70 outputs a digital signal corresponding to the-voltage of the second resistor R2. For example, after a digital low H Ik, when the port 34a is pulled to a low impedance, the current will flow through the first resistor The resistor causes a change in the current flowing through the second resistor R2. Accordingly, the current through the first resistor R2 causes the electricity across the second resistor R2 to change to the second voltage. The differential circuit 7G senses the change in the voltage drop across the second resistor R2 and outputs a signal corresponding to the second resistor, such as a digital high level. Where = the order of reactance is switched sequentially and alternately between the first and second voltages, and the output signal of the differential knife circuit 7G is sequentially switched between digital high and low signals. Therefore, the digital output of the differential circuit 70 represents that the digital signal from the differential circuit 70 is being transmitted from the tool 14 to the transfer device and is then input to the data reader 66 98962.doc 14 200536688. Data item 66 translates these digital signals into a series of data streams and stores the data in a memory device 74. In a preferred embodiment, the memory device 74 is contained in a data reader 66. Alternatively, the "memory device" may be taken as data other than 66. In addition, if the data reader 66 is an external computer device, such as a laptop computer, the external computer device preferably includes a memory device for storing data. Memory for data sent from microcontroller 34.
為了從數據轉移裝置18傳輸數據給工具丨4,第二通信電 路30通知微控制器34有數據待從第二通信電路3〇傳輸給微 控制器34。然後微處理器36命令電壓移位裝置58依據一預 定數據傳輸曲線使電壓移位裝置58輸出之電壓順序地在一 第一電壓位準與一第二電壓位準之間移位,藉此代表待傳 輸的數據。為了清楚表示和方便起見,電壓移位裝置58之 第一和第二電壓輸出位準在下文中將分別被稱為…和… 。電壓移位曲線可包括被依一指定鮑率移位之一串列AsCH 數據形式或是任何其他數據轉移格式。 電壓移位裝置58之移位電壓輸出驅使電卿節器%對微 控制器34提供電力。因此,電壓調節器刊具有接受輸入電 麼之一範圍的能力。微控制器34在電壓移位裝置58之輸出 電壓是在VI或V2或是介於¥1與¥2之間時被完全致能。第一 輸出電壓vi足以起動(亦即致能)微控制器34,但不足以致 月匕馬達24運作。同樣的,第二輸出電壓^足以起動微控制 杰34但不足以致能馬達24運作。由電壓移位裝置輸出的 順序移位電壓亦被輸入至電壓移位偵測電路42。而電壓移 位_電路42輸出一在一第一位準與一第二位準之間移位 98962.doc -15- 200536688 的電壓信號。由電壓移位偵測電路42輸出之移位電壓信號 追蹤由電壓移位裝置58輸出之電壓的移位曲線。由電壓移 • 位偵測電路42輸出的電壓信號得為數位的或是類比的,且 • 在一埠34b處輸入至微控制器34。微控制器34將該順序移位 信號轉譯成一串列數據流且採取一適當動作。舉例來說, 微控制器34可將數據存儲在記憶裝置46内,或者該微控制 器可執行該數據命令的一些動作。 電壓移位偵測電路42得為適合將電壓移位裝置58之輸出 籲 電壓調制成適於輸入給微控制器34之位準的任何電路。在 一較佳實施例中,電壓移位偵測電路42包括一電阻分壓器 ,如圖3所示。在此實施例中,電壓移位偵測電路42包含一 第電壓移位電阻器Rvsi及一第二電壓移位電阻器Rvs2。由 • 電壓移位裝置58輸出的電壓在節點A處輸入。跨rVS2之電壓 降在點B處被感測且輸入至微控制器34之埠34b。舉例來說 ,若RvS1*62K歐姆、RVS2是10K歐姆且電壓移位裝置58之 _ 輸出電壓在25 V與7 V間移位,則節點Β處的信號會在3·5ν 與〇·5 V間移位。因此,由電壓輸出偵測電路42輸出的電壓 信號適合輸入給微控制器34。節點B處的信號可被微控制器 34項取並轉譯成一數位信號或一類比信號。 圖4繪出電壓移位偵測電路42之另一較佳實施例,其包括 一電壓減法電路。在此實施例中,電壓移位偵測電路42包 含一基納二極體(Zener diode)Dvsl及一電壓移位電阻器 , Rvs3。基納二極體Dvsj來做為一電壓減法器。由電壓移位 裝置58輸出的電壓在節點a處輸入,然後被降低且在節點6 98962.doc -16- 200536688 處以一適合輸入給微控制器34之電壓位準輸出給微控制器 34。舉例來說’若DVS1是一 1〇 V基納二極體,rvs3是一簡單 電阻器’且電壓移位裝置58之輸出電麼在13.5V與10.5V間 • 移位,則節點B處輸出的信號會在3·5 V與〇·5 V間移位。節 點Β處的信號可被讀取並轉譯成類比的或數位的。 圖5繪出電壓移位偵測電路42之另一較佳實施例,其包含 被用來在卽點Β處對微控制器34輸出一數位信號的比較器 ci。在此實施例中,除了比較器C1,電壓移位偵測電路42 • 更包含一電壓移位電阻Rvs4及一電壓移位電阻RvS5。比較器 C1在其反相輸入端上有一固定電壓參考值Vref,且其非反相 輸入端被連接在電壓移位電阻器RVS4和Rvs5之間。由比較器 C1輸出的電壓信號相關於由電壓移位裝置58輸出之電壓之 • 順序移位曲線而在一邏輯高位準信號與一邏輯低位準信號 之間移位。舉例來說,若Rvs4是25K歐姆,Rvs5是10K歐姆 ,vref疋2.5 V,且電壓移位裝置58之輸出電壓V1*8V,則 在節點Β處輸出的信號會處於一邏輯低位準。但是,如果電 壓移位裝置58之輸出電壓ν 2是9 V或更高,則節點β會處於 一邏輯向位準。因此,由電壓移位裝置58輸出之電壓在νι 與V2(例如8 ¥和9 v或更高)之間的移位在節點B處產生一對 應脈衝列(pulse train)。此數位信號在埠34b處被微控制器% 讀取並轉譯。在一替代較佳實施例中,崎器C1未被包容 在電壓移位偵測電路42内,而是被包容在微控制器34内。 ,在另較佳貫施例中’系統10適於進行從微控制器3 4到 數據口貝取器66的單向通信。在此實施例中,一旦微控制器 98962.doc 200536688 34被致能運作,微控制器34立即以與前述相同的方式下傳( 亦即傳輸)數據給數據讀取器66。 • 在另一較佳實施例中,系統10適於進行從第二通鱼 ♦ 30到微控制器34的單向通信。在此實施例中,一旦微控制 器34被致能運作,第二通信電路3〇立即以與前述相同的方 式上傳(亦即傳輸)數據給微控制器34。 雖說單向通信是在本發明的範圍内,可想見雙向通信很 可能會是更佳的施行方式。雙向通信能使微控制器34之重 • 要程式編寫作業被輕易地達成,並且容許工具效能資訊被 從工具14下傳。 圖6是一繪出用來起始工具14之通信模式之另一較佳實 施例的流程圖200。一開始,將數據轉移裝置18連接至電源 • 端子22&和22b,如202處所示。然後微控制器34判定由電源 54輸出之電壓是否大於或小於一預定閾電壓例如6 5伏特 ,如204處所示。如果電源54之輸出小於該閾電壓,則微控 制器34進入通信模式,如206處所示。該通信模式得為前文 鲁 所述雙向或單向通信模式之任一者。一旦處於通信模式, 數據依前文所述方式在第一通信電路26與第二通信電路3〇 之間傳輸,如208處所示。如果電源54之輸出大於或等於該 閾電壓,則微控制器34不會進入通信模式,且致能工具14 之一正常作業模式,如210處所示。 , 圖7—繪出用來起始工具14之通信模式之另一較佳實施 , 例的流程圖300。一開始,將數據轉移裝置18連接至電源端 子22a和22b ’如302處所示。然後微控制器34判定在端子22a 98962.doc -18- 200536688 處疋否有一電壓移位信號,如304處所示。也就是說,微控 制& 34判定當數據轉移裝置18被連接至電源端子22a和22b 致穩定電壓信號(例如DC信號) 或一移位電壓信號(例如AC信號)。如果端子22a處的信號是 移位彳°號’則微控制器34進入通信模式,如306處所示。 該通信模式得為前文所述雙向或單向通信模式之任一者。 旦處於通信模式,數據依前文所述方式在第一通信電路 26與第二通信電路3〇之間傳輸,如3〇8處所示。如果端子22a 處的信號是一穩定信號,則微控制器34不會進入通信模式 ,且致能工具14之一正常作業模式,如31〇處所示。 在另一較佳實施例中,其中數據轉移裝置18是一可拆的 可攜式電池組,系統1〇在該電池組連接至電源端子22a和 22b後立即轉移數據。舉例來說,在該電池組插入工具^ 内之後,微控制器34立即下傳數據給第二通信電路3〇。相 似地,來自第二通信電路3〇之數據可在該電池組插入工具 14内之後立即被上傳給第一通信電路%。作為另一實例, 雙向通信亦可在數據轉移裝置18、亦即包含第二通信電路 30之電池組連接至電源端子22a和22b之後立即發生。雙向 通信可發生為立即下傳數據給數據讀取器66且在下傳完成 後立即上傳數據給微控制器34,或是前後顛倒。在此實施 例中,該電池組不僅立即致能微控制器34,且亦立即提供 作業電力給工具14。因此,在通信模式之任一者中,微控 制器34會在想要工具14運作時中止或停止數據轉移。 系統10因而提供一種用於與位在動力工具殼體内之一電 98962.doc -19- 200536688 子組件進行單向或雙向通信而不要求拆解該工具的構件。 重要的工具程式編寫可被快速且輕易地達成而不用 大幅簡化工具14^^造。同 的是’存儲的工具作業/效能資訊可被快速且輕易地下傳而 不用工具14之任何拆解。 以上發明說明本質上只是範例說明,因此未脫離本發明 之主旨的變異意料會在本發明的範圍以内。此等變異並不 被視為是本發明之精神和範圍的歧異。 【圖式簡單說明】 圖1是一依據本發明一較佳實施例之一種用於來往於一 無線動力工具連通數據之系統的方塊簡圖; 圖1A是一圖1所示之系統之一替代較佳實施例的方塊簡 圖; 圖2是一圖1所示之一第一通信電路和—第二通信電路的 方塊簡圖; 圖3是一圖2所示之一電壓移位偵測電路之—較佳實施例 的簡圖; 圖4是一圖2所示之一電壓移位偵測電路之 J电降夂另一較佳實施 例的簡圖; 圖5是一圖2所示之一電壓移位偵測電路 之另一較佳實施 例的簡圖; 圖6是一繪出該工具之起始通信模式之χ 力〜較佳實施例 的流程圖;且 圖7是一繪出該工具之起始通信模式之另 飞 < 另〜較佳實施例 98962.doc -20- 200536688 的流程圖。 【主要元件符號說明】 10 系統 14 無線動力工具 18 數據轉移裝置 18a 計算機裝置 18b 連接器 18c 介面纜線 19 電池座 22a 電源端子 22b 電源端子 24 馬達 26 第一通信電路 30 第二通信電路 34 微控制器 34a 埠 34b 埠 36 微處理器 38 電壓調節器 42 電壓移位偵測電路 46 微控制器記憶體 50 記憶裝置 54 電路電源 58 電壓移位裝置 98962.doc -21 - 200536688 66 數據讀取器 70 差分電路 - 74 記憶裝置 • A 節點 B 節點 Dvs l 基納二極體 R1 第一電阻器 R2 第二電阻器 鲁 Rvsi 第一電壓移位電阻器 RvS2 第二電壓移位電阻器 RvS3 電壓移位電阻器 RvS4 電壓移位電阻器 RvS5 電壓移位電阻器 • 98962.doc 22-In order to transmit data from the data transfer device 18 to the tool 4, the second communication circuit 30 notifies the microcontroller 34 that data is to be transmitted from the second communication circuit 30 to the microcontroller 34. The microprocessor 36 then instructs the voltage shifting device 58 to sequentially shift the voltage output by the voltage shifting device 58 between a first voltage level and a second voltage level according to a predetermined data transmission curve, thereby representing Data to be transmitted. For clarity and convenience, the first and second voltage output levels of the voltage shifting device 58 will hereinafter be referred to as ... and ..., respectively. The voltage shift curve may include a serial AsCH data format shifted by a specified baud rate or any other data transfer format. The shifted voltage output of the voltage shifting device 58 causes the controller to provide power to the microcontroller 34. Therefore, voltage regulators have the ability to accept a range of input voltages. The microcontroller 34 is fully enabled when the output voltage of the voltage shifting device 58 is at VI or V2 or between ¥ 1 and ¥ 2. The first output voltage vi is sufficient to start (ie, enable) the microcontroller 34, but not enough to cause the moon motor 24 to operate. Similarly, the second output voltage ^ is sufficient to start the micro-controller 34 but not enough to enable the motor 24 to operate. The sequential shift voltage output from the voltage shift device is also input to the voltage shift detection circuit 42. The voltage shifting circuit 42 outputs a voltage signal shifted between a first level and a second level by 98962.doc -15-200536688. The shift voltage signal output from the voltage shift detection circuit 42 tracks the shift curve of the voltage output from the voltage shift device 58. The voltage signal output by the voltage shifting circuit 42 must be digital or analog, and input to the microcontroller 34 at a port 34b. The microcontroller 34 translates the sequentially shifted signal into a series of data streams and takes an appropriate action. For example, the microcontroller 34 may store data in the memory device 46, or the microcontroller may perform some actions of the data command. The voltage shift detection circuit 42 may be any circuit suitable for modulating the output voltage of the voltage shifting device 58 to a level suitable for input to the microcontroller 34. In a preferred embodiment, the voltage shift detection circuit 42 includes a resistor divider, as shown in FIG. 3. In this embodiment, the voltage shift detection circuit 42 includes a first voltage shift resistor Rvsi and a second voltage shift resistor Rvs2. The voltage output from the voltage shifting device 58 is input at the node A. The voltage drop across rVS2 is sensed at point B and input to port 34b of microcontroller 34. For example, if RvS1 * 62K ohms, RVS2 is 10K ohms, and the output voltage of voltage shifting device 58_ is shifted between 25 V and 7 V, the signal at node B will be between 3 · 5ν and 0.5 · V Between shifts. Therefore, the voltage signal output from the voltage output detection circuit 42 is suitable for input to the microcontroller 34. The signal at node B can be taken by the microcontroller and translated into a digital signal or an analog signal. FIG. 4 illustrates another preferred embodiment of the voltage shift detection circuit 42 which includes a voltage subtraction circuit. In this embodiment, the voltage shift detection circuit 42 includes a Zener diode Dvsl and a voltage shift resistor Rvs3. Kina diode Dvsj is used as a voltage subtractor. The voltage output by the voltage shifting device 58 is input at the node a, then is lowered and output to the microcontroller 34 at a voltage level suitable for input to the microcontroller 34 at the node 6 98962.doc -16- 200536688. For example, 'If DVS1 is a 10V quina diode and rvs3 is a simple resistor' and the output of voltage shifting device 58 is between 13.5V and 10.5V • shift, then output at node B The signal will shift between 3.5 V and 0.5 V. The signal at node B can be read and translated into analog or digital. FIG. 5 illustrates another preferred embodiment of the voltage shift detection circuit 42 which includes a comparator ci which is used to output a digital signal to the microcontroller 34 at the point B. In this embodiment, in addition to the comparator C1, the voltage shift detection circuit 42 • further includes a voltage shift resistor Rvs4 and a voltage shift resistor RvS5. Comparator C1 has a fixed voltage reference Vref on its inverting input, and its non-inverting input is connected between voltage shift resistors RVS4 and Rvs5. The voltage signal output from the comparator C1 is related to the voltage output from the voltage shifting device 58. The voltage shift signal 58 sequentially shifts the curve to shift between a logic high signal and a logic low signal. For example, if Rvs4 is 25K ohms, Rvs5 is 10K ohms, vref 疋 2.5 V, and the output voltage V1 * 8V of the voltage shifting device 58, the signal output at the node B will be at a logic low level. However, if the output voltage ν 2 of the voltage shifting device 58 is 9 V or higher, the node β will be at a logic level. Therefore, the shift of the voltage output by the voltage shifting device 58 between vm and V2 (for example, 8 ¥ and 9 v or higher) generates a corresponding pulse train at the node B. This digital signal is read and translated by the microcontroller% at port 34b. In an alternative preferred embodiment, the device C1 is not contained in the voltage shift detection circuit 42, but is contained in the microcontroller 34. In another preferred embodiment, the 'system 10 is adapted to perform one-way communication from the microcontroller 34 to the data port fetcher 66. In this embodiment, once the microcontroller 98962.doc 200536688 34 is enabled to operate, the microcontroller 34 immediately transmits (ie, transmits) data to the data reader 66 in the same manner as described above. • In another preferred embodiment, the system 10 is adapted for unidirectional communication from the second communication port 30 to the microcontroller 34. In this embodiment, once the microcontroller 34 is enabled to operate, the second communication circuit 30 immediately uploads (i.e. transmits) data to the microcontroller 34 in the same manner as described above. Although one-way communication is within the scope of the present invention, it is envisioned that two-way communication is likely to be a better implementation. Two-way communication enables the microcontroller 34 to be programmed easily and allows tool performance information to be downloaded from the tool 14. FIG. 6 is a flowchart 200 illustrating another preferred embodiment of the communication mode used to initiate the tool 14. As shown in FIG. Initially, connect the data transfer device 18 to a power source • Terminals 22 & 22b, as shown at 202. The microcontroller 34 then determines whether the voltage output by the power source 54 is greater than or less than a predetermined threshold voltage, such as 65 volts, as shown at 204. If the output of the power source 54 is less than the threshold voltage, the microcontroller 34 enters a communication mode, as shown at 206. The communication mode may be any one of the bidirectional or unidirectional communication modes described in the foregoing. Once in the communication mode, data is transmitted between the first communication circuit 26 and the second communication circuit 30 in the manner described above, as shown at 208. If the output of the power source 54 is greater than or equal to the threshold voltage, the microcontroller 34 will not enter the communication mode, and one of the normal operating modes of the tool 14 is enabled, as shown at 210. FIG. 7—Draws a flowchart 300 of another preferred implementation of the communication mode of the tool 14. Initially, the data transfer device 18 is connected to the power terminals 22a and 22b 'as shown at 302. The microcontroller 34 then determines whether there is a voltage shift signal at terminal 22a 98962.doc -18- 200536688, as shown at 304. That is, the micro controller & 34 determines that when the data transfer device 18 is connected to the power terminals 22a and 22b, a stable voltage signal (such as a DC signal) or a shift voltage signal (such as an AC signal) is caused. If the signal at the terminal 22a is shifted by '°', the microcontroller 34 enters the communication mode, as shown at 306. The communication mode may be any one of the bidirectional or unidirectional communication modes described above. Once in communication mode, data is transmitted between the first communication circuit 26 and the second communication circuit 30 in the manner described above, as shown at 308. If the signal at the terminal 22a is a stable signal, the microcontroller 34 will not enter the communication mode, and one of the normal operating modes of the tool 14 is enabled, as shown at 31. In another preferred embodiment, wherein the data transfer device 18 is a removable portable battery pack, the system 10 transfers data immediately after the battery pack is connected to the power terminals 22a and 22b. For example, after the battery pack is inserted into the tool ^, the microcontroller 34 immediately transmits data to the second communication circuit 30. Similarly, the data from the second communication circuit 30 can be uploaded to the first communication circuit% immediately after the battery pack is inserted into the tool 14. As another example, two-way communication may also occur immediately after the data transfer device 18, that is, the battery pack including the second communication circuit 30 is connected to the power terminals 22a and 22b. The two-way communication can occur as downloading data to the data reader 66 immediately and uploading the data to the microcontroller 34 immediately after the download is completed, or upside down. In this embodiment, the battery pack not only immediately enables the microcontroller 34, but also provides working power to the tool 14 immediately. Therefore, in either of the communication modes, the microcontroller 34 will suspend or stop data transfer when it wants the tool 14 to operate. The system 10 thus provides a component for one-way or two-way communication with an electrical subassembly located within the power tool housing without requiring disassembly of the tool. Important tool programming can be achieved quickly and easily without greatly simplifying tooling. The same is that the stored tool operation / performance information can be quickly and easily transmitted without any disassembly of the tool 14. The above description of the invention is merely illustrative in nature, and variations that do not depart from the gist of the invention are expected to be within the scope of the invention. Such variations are not to be regarded as a departure from the spirit and scope of the invention. [Brief Description of the Drawings] Figure 1 is a block diagram of a system for communicating data to and from a wireless power tool according to a preferred embodiment of the present invention; Figure 1A is an alternative to the system shown in Figure 1 A block diagram of a preferred embodiment; FIG. 2 is a block diagram of a first communication circuit and a second communication circuit shown in FIG. 1; FIG. 3 is a voltage shift detection circuit shown in FIG. 2 -A simplified diagram of the preferred embodiment; Figure 4 is a simplified diagram of another preferred embodiment of the J-voltage drop of a voltage shift detection circuit shown in Figure 2; Figure 5 is a diagram of Figure 2 A simplified diagram of another preferred embodiment of a voltage shift detection circuit; FIG. 6 is a flowchart illustrating the χ force of the initial communication mode of the tool ~ the preferred embodiment; and FIG. 7 is a flowchart Another flow of the initial communication mode of the tool < another ~ flow chart of the preferred embodiment 98962.doc -20-200536688. [Description of Symbols of Main Components] 10 System 14 Wireless Power Tool 18 Data Transfer Device 18a Computer Device 18b Connector 18c Interface Cable 19 Battery Holder 22a Power Terminal 22b Power Terminal 24 Motor 26 First Communication Circuit 30 Second Communication Circuit 34 Micro Control Device 34a port 34b port 36 microprocessor 38 voltage regulator 42 voltage shift detection circuit 46 microcontroller memory 50 memory device 54 circuit power supply 58 voltage shift device 98962.doc -21-200536688 66 data reader 70 Differential Circuit-74 Memory Device • A Node B Node Dvs l Kena Diode R1 First Resistor R2 Second Resistor Luvsi First Voltage Shift Resistor RvS2 Second Voltage Shift Resistor RvS3 Voltage Shift Resistor RvS4 Voltage Shift Resistor RvS5 Voltage Shift Resistor • 98962.doc 22-