Power supply device and electric tool

JPWO2024190243A5Pending Publication Date: 2025-11-14
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
JP2025506604
Authority / Receiving Office
JP · JP
Patent Type
Applications
Filing Date
2025-09-01
Publication Date
2025-11-14

AI Technical Summary

Technical Problem

Existing power tools lack a standardized and adaptable power supply system that can efficiently connect and control multiple types of power tool bodies, leading to inefficiencies and compatibility issues.

Method used

A power supply device equipped with a control circuit and communication circuit that identifies and controls connected power tool bodies using specific control methods, utilizing a resistor-divided voltage for identification and wireless communication to manage power distribution and control signals.

Benefits of technology

Enables seamless connection and control of various power tool bodies, enhancing efficiency and compatibility, and allows for updates to control programs via external devices, ensuring compatibility with evolving tool types.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader

Abstract

The present invention provides a power supply device that can be connected to each of a plurality of types of electric tool body. The power supply device comprises a control circuit and a power supply unit. The control circuit controls a connected tool body, which is the electric tool body connected to the power supply device. The power supply unit supplies electric power to the connected tool body and the control circuit. The control circuit stores a plurality of types of control method each corresponding to each of the plurality of types of electric tool body. The control circuit identifies the type of the connected tool body and controls the connected tool body through the control method corresponding to the identified type of the plurality of types of control method.
Need to check novelty before this filing date? Find Prior Art

Description

Power supplies and power tools

[0001] The present disclosure relates to power tools.

[0002] Patent Document 1 describes a technique related to a power tool.

[0003] U.S. Pat. No. 5,203,242

[0004] A power supply device and a power tool are disclosed. In one embodiment, the power supply device is connectable to each of a plurality of types of power tool bodies. The power supply device includes a control circuit and a power supply unit. The control circuit controls a power tool body, which is a power tool body connected to the power supply device. The power supply unit supplies power to the power tool body and the control circuit. The control circuit stores a plurality of control methods corresponding to the plurality of types of power tool bodies. The control circuit identifies the type of the power tool body and controls the power tool body using one of the plurality of control methods corresponding to the identified type.

[0005] In one embodiment, the power supply device is a power supply device connected to a power tool body. The power supply device includes a communication circuit, a control circuit, and a power supply unit. The communication circuit receives a first control program stored in a device external to the power supply device. The control circuit controls the power tool body based on the first control program received by the communication circuit. The power supply unit outputs power to the power tool body and the control circuit.

[0006] In one embodiment, a power tool includes the power supply device and a power tool body to which the power supply device is connected.

[0007] FIG. 1 is a schematic diagram showing an example of the configuration of a power tool. FIG. 1 is a schematic diagram showing an example of how a power supply device can be connected to a plurality of types of power tool bodies. FIG. 2 is a schematic diagram mainly showing an example of the circuit configuration of a power tool. FIG. 3 is a schematic diagram showing an example of the configuration of a microcomputer. FIG. 4 is a schematic diagram showing an example of the configuration of a power tool. FIG. 5 is a schematic diagram showing an example of the configuration of a power tool. FIG. 6 is a schematic diagram showing an example of the configuration of a power tool. FIG. 7 is a schematic diagram for explaining an example of a method for updating a control program in a power supply device. FIG. 8 is a schematic diagram showing an example of the configuration of a power tool. FIG. 9 is a schematic diagram showing an example of the configuration of a power tool.

[0008] Fig. 1 is a schematic diagram showing an example of a power tool 1. As shown in Fig. 1, the power tool 1 includes, for example, a power tool main body 2 including a motor 21, a power supply unit 3 that supplies power to the power tool main body 2, a connection cable 4 that connects the power tool main body 2 and the power supply unit 3 to each other, and a connection cable 5 that connects the power supply unit 3 to a commercial power source. As shown in Fig. 2, the power supply unit 3 is connectable to each of multiple types of power tool main bodies 2. The power supply unit 3 is connectable to each of multiple types of power tool main bodies 2 via the connection cable 4, for example. Because the power supply unit 3 is connectable to multiple types of power tool main bodies 2, a user can share the power supply unit 3 among multiple types of power tool main bodies 2.

[0009] The power tool 1 shown in Fig. 1 is, for example, a handheld disc grinder. The power tool 1 may be a handheld power tool other than a disc grinder. For example, the power tool 1 may be an impact driver, a driver drill, a circular saw, a reciprocating saw, or a polisher. Hereinafter, the power tool body 2 may be simply referred to as the tool body 2.

[0010] The multiple types of tool body 2 to which the power supply device 3 can be connected may include a tool body 2 of a disc grinder as shown in Fig. 1, an impact driver, a drill driver, a circular saw, a reciprocating saw, or a polisher. Hereinafter, the tool body 2 connected to the power supply device 3 may be referred to as a connected tool body 2. Furthermore, the example of the tool body 2 shown in Fig. 1 may be particularly referred to as a tool body 2A.

[0011] The tool body 2A includes, for example, a housing 20 that contains multiple components and is held by a user. The housing 20 contains a motor 21, a sensor board 22, a cooling fan 23, a connector 24, a communication circuit 26, a resistor voltage divider circuit 27, etc. The motor 21 is, for example, a brushless DC motor.

[0012] The tool body 2A includes a drive unit driven by a motor 21. The drive unit includes, for example, a gear unit housed in the housing 20 and a disc-shaped grinding wheel 25 exposed from the housing 20. The gear unit transmits the rotation of the motor 21 to the grinding wheel 25 while reducing the rotation speed. The motor 21 can rotate the grinding wheel 25 via the gear unit. The power tool 1 can perform grinding, cutting, polishing, and the like by rotating the grinding wheel 25. The motor 21 is driven by a power supply 3.

[0013] The sensor board 22 is capable of detecting the rotational position of the motor 21. More specifically, the sensor board 22 is capable of detecting the rotational position of a rotor provided in the motor 21. The cooling fan 23 is connected to a rotary shaft 210 of the motor 21. The cooling fan 23 rotates when the rotary shaft 210 rotates. When the cooling fan 23 rotates, air is taken into the housing 20 through an air intake port provided at the rear of the housing 20. The air taken in through the air intake port cools the motor 21 and other components inside the housing 20, and is then discharged to the outside of the housing 20 through an air exhaust port provided at the front of the housing 20. The connector 24 is partially exposed from the housing 20, and a connection cable 4 is connected to the connector 24.

[0014] The communication circuit 26 is capable of communicating with a communication circuit 36 ​​included in the power supply device 3. The communication circuit 26, for example, performs wireless communication with the communication circuit 36. The communication circuit 26 performs wireless communication in accordance with Bluetooth (registered trademark), for example. Note that the wireless method that the communication circuit 26 complies with is not limited to Bluetooth. For example, the wireless method that the communication circuit 26 complies with may be Wi-Fi, ZigBee (registered trademark), or NFC (Near Field Communication).

[0015] The resistive voltage divider circuit 27 divides a predetermined voltage to generate a resistive divided voltage V1 (see FIG. 3 described later). As will be described later, the value of the resistive divided voltage V1 is used as identification information indicating the type of the tool body 2. This identification information can also be said to be information for identifying the type of the tool body 2. The identification information indicating the type of the tool body 2 indicates the value of the resistive divided voltage V1. Hereinafter, the term "identification information" simply refers to the identification information indicating the type of the tool body 2.

[0016] Each of the multiple types of tool bodies 2 to which the power supply device 3 can be connected includes, for example, at least a motor 21, a drive unit driven by the motor 21, a connector 24, a communication circuit 26, and a resistor voltage divider circuit 27. The drive unit is capable of machining an object by being driven by the motor 21.

[0017] The power supply device 3 is a separate device from the tool body 2. The power supply device 3 includes a housing 30 that houses a plurality of components. The housing 30 houses a circuit board 31, a connector 37, and a connector 38.

[0018] The circuit board 31 includes a board 32 and a power supply unit 33, a control circuit 34, an inverter 35, and a communication circuit 36 ​​mounted on the board 32. The power supply unit 33 is capable of supplying the power required by the tool connection body 2 to the tool connection body 2. The power supply unit 33 is also capable of supplying power to circuits mounted on the circuit board 31 other than the power supply unit 33. The power supply unit 33 converts, for example, AC voltage supplied from a commercial power source into DC voltage and supplies the generated DC voltage to the inverter 35 and the control circuit 34. The power supply unit 33 can also be considered a power supply circuit. The inverter 35 can drive the motor 21 provided in the tool connection body 2. The inverter 35 can also be considered a drive circuit that drives the motor 21, and the control circuit 34 can control the inverter 35. The control circuit 34 can control the motor 21 of the tool connection body 2 by controlling the inverter 35. It can also be said that the control circuit 34 can control the motor 21 of the tool connection body 2 via the inverter 35.

[0019] The connector 38 is partially exposed from the housing 30. A connection cable 5 is connected to the connector 38. The connector 37 is partially exposed from the housing 30. A connection cable 4 is connected to the connector 37. The connection cable 4 extends from the housing 30 of the power supply device 3 to the housing 20 of the tool body 2. The length of the connection cable 4 is, for example, several tens of centimeters to several meters. The length of the connection cable 4 is not limited to this.

[0020] One end of the connection cable 4 is provided with a connector 41 that is connected to the connector 24 of the tool body 2. The other end of the connection cable 4 is provided with a connector 42 that is connected to the connector 37 of the power supply device 3. One end of the connection cable 5 is provided with a connector 51 that is connected to the connector 38 of the power supply device 3. The other end of the connection cable 5 is provided with a connector 52 that is connected to an outlet that supplies AC voltage from a commercial power source. The connector 52 is sometimes called a power plug.

[0021] In this example, one end of the connection cable 4 is detachable from the tool body 2. Specifically, the connector 41 of the connection cable 4 is detachable from the connector 24 of the tool body 2. The other end of the connection cable 4 is detachable from the power supply device 3. Specifically, the connector 42 of the connection cable 4 is detachable from the connector 37 inside the housing 30.

[0022] In this example, one end of the connection cable 5 is detachable from the power supply unit 3. Specifically, the connector 51 of the connection cable 5 is detachable from the connector 38 in the housing 30. The connector 52 of the connection cable 5 is detachable from the outlet. It can be said that the power tool 1 includes a cabled power supply unit 300 that includes the power supply unit 3 and the connection cables 4 and 5.

[0023] Fig. 3 is a diagram mainly showing an example of the circuit configuration of the power tool 1. As shown in Fig. 3, a single-phase AC voltage from a commercial power source is supplied to the connector 52 of the connection cable 5. The AC voltage is supplied to the connector 38 of the power supply device 3 through the connection cable 5. The connection cable 5 has two signal lines 50a. An AC voltage with an effective value of 100 V, for example, is supplied to the connector 38.

[0024] The AC voltage supplied to the connector 38 is supplied to the power supply unit 33. The power supply unit 33 includes an AC-DC converter 330. The AC-DC converter 330 converts the AC voltage into a DC voltage and outputs it. The AC-DC converter 330 is configured, for example, with a rectifier circuit and includes a diode and a capacitor. The AC-DC converter 330 outputs a DC voltage of, for example, about 140 V. The DC voltage output by the AC-DC converter 330 is supplied to the control circuit 34. In addition, the DC voltage output by the AC-DC converter 330 is supplied to the inverter 35 as a power source.

[0025] The inverter 35 includes, for example, six switching elements 350. The switching elements 350 are, for example, semiconductor elements. For example, FETs (Field Effect Transistors) are used as the switching elements 350. The switching elements 350 may be IGBTs (Insulated Gate Bipolar Transistors) or other semiconductor elements. In the inverter 35, three switching circuits, each consisting of two switching elements 350 connected in series, are connected in parallel. In each switching circuit, the voltage at the connection point of the two switching elements is supplied to the motor 21 as a drive signal 351. The drive signal 351 can also be referred to as a drive voltage 351.

[0026] Three drive signals 351 generated by the inverter 35 are supplied to the motor 21 via the connector 37 of the power supply device 3, the connection cable 4, and the connector 24 of the tool body 2. The connection cable 4 includes three signal lines 40a that transmit the three drive signals 351 from the power supply device 3 to the tool body 2. The motor 21 is, for example, a three-phase motor and includes a U-phase coil 21a, a V-phase coil 21b, and a W-phase coil 21c. The three drive signals 351 are supplied to the U-phase coil 21a, the V-phase coil 21b, and the W-phase coil 21c, respectively.

[0027] The sensor board 22 included in the tool body 2 includes, for example, three sensors 220. Each sensor 220 detects the rotational position of the motor 21. The sensor board 22 can also be said to constitute a sensor circuit that detects the rotational position of the motor 21. The three sensors 220 are arranged, for example, at 120-degree intervals along the rotational direction of the motor 21. The sensors 220 may be, for example, Hall sensors or other types of sensors. An output signal (i.e., a position detection signal) 230 from each sensor 220 is supplied to the connector 24. The three output signals 230 supplied to the connector 24 are supplied to the control circuit 34 via the connection cable 4 and the connector 37 of the power supply device 3. The connection cable 4 includes three signal lines 40d that transmit the output signals 230 of the three sensors 220 from the tool body 2 to the power supply device 3, respectively. Hereinafter, the output signals 230 of the sensors 220 may be referred to as sensor signals 230.

[0028] The control circuit 34 includes, for example, a microcomputer 341 and a DC-DC converter 340. The DC-DC converter 340 reduces and outputs the DC voltage supplied from the AC-DC converter 330. The DC-DC converter 340 can be considered a step-down circuit. The DC-DC converter 340 generates power for the microcomputer 341. The DC-DC converter 340 also generates power for specific circuits included in the connected tool body 2. These specific circuits include the sensor board 22 (i.e., the sensor circuit) and the communication circuit 26. The power supply (e.g., +5 V) for the specific circuits generated by the DC-DC converter 340 is supplied to the sensors 220 on the sensor board 22 and the communication circuit 26 via the connector 37, the connection cable 4, and the connector 24. The connection cable 4 includes a signal line 40b that transmits a positive power supply (e.g., a positive potential V0) for the specific circuits from the power supply device 3 to the tool body 2, and a signal line 40c that transmits a negative power supply (e.g., a ground potential G) for the specific circuits from the power supply device 3 to the tool body 2. In this example, the connection cable 4 has eight signal lines. The DC-DC converter 340 may be provided in the power supply unit 33.

[0029] The resistive voltage divider circuit 27 divides the voltage between the positive potential V0 transmitted through the signal line 40b and the ground potential G transmitted through the signal line 40c to generate a resistively divided voltage V1 and outputs it to the communication circuit 26. The resistive voltage divider circuit 27 includes, for example, a resistive element R1 and a resistive element R2 connected in series between the positive potential V0 and the ground potential G. The resistive voltage divider circuit 27 outputs a voltage between the potential at the connection point of the resistive elements R1 and R2 and the ground potential G as the resistively divided voltage V1 to the communication circuit 26. The value of the resistively divided voltage V1 can be changed by changing the value of at least one of the resistive elements R1 and R2.

[0030] The value of the resistor-divided voltage V1 is used as identification information indicating the type of tool body 2. The value of the resistor-divided voltage V1 differs among multiple types of tool bodies 2. The value of the resistor-divided voltage V1 can also be said to be a value specific to the type of tool body 2. For example, the value of the resistor-divided voltage V1 in the tool body 2 of a disc grinder is set to 4.5 V, the value of the resistor-divided voltage V1 in the tool body 2 of an impact driver is set to 4 V, the value of the resistor-divided voltage V1 in the tool body 2 of a drill driver is set to 3.5 V, the value of the resistor-divided voltage V1 in the tool body 2 of a circular saw is set to 3 V, the value of the resistor-divided voltage V1 in the tool body 2 of a reciprocating saw is set to 2.5 V, and the value of the resistor-divided voltage V1 in the tool body 2 of a polisher is set to 2 V. However, the value of the resistor-divided voltage V1 is not limited to these.

[0031] The communication circuit 26 of the tool connection body 2 transmits the value of the resistor-divided voltage V1 as identification information to the communication circuit 36 ​​of the power supply device 3. The communication circuit 26 includes, for example, a wireless circuit and a microcomputer 26a. The microcomputer 26a includes, for example, an A / D converter. The A / D converter converts the value of the resistor-divided voltage V1 into digital data. The wireless circuit included in the communication circuit 26 wirelessly transmits the digital data identification information to the communication circuit 36. The configuration of the microcomputer 26a may be the same as, for example, the configuration example of the microcomputer 341 shown in FIG. 4, which will be described later.

[0032] The communication circuit 36 ​​of the power supply device 3 includes, for example, a wireless circuit and a microcomputer 36a. The wireless circuit included in the communication circuit 36 ​​receives the identification information wirelessly transmitted from the communication circuit 26. The microcomputer 36a included in the communication circuit 36 ​​then outputs the identification information received by the wireless circuit to the microcomputer 341. The configuration of the microcomputer 36a may be the same as the configuration example of the microcomputer 341 shown in FIG. 4, which will be described later, for example.

[0033] The microcomputer 341 is capable of controlling the tool connection body 2. The microcomputer 341 can also be considered a computer device. The microcomputer 341 can also be considered a control circuit that controls the tool connection body 2. The microcomputer 341 can also be considered a control circuit that can control each of multiple types of tool bodies 2.

[0034] The microcomputer 341 controls the inverter 35 based on, for example, three sensor signals 230 from the sensor board 22, thereby controlling the rotation of the motor 21 of the tool connection main body 2. The microcomputer 341 controls the voltages at the control terminals of each switching element 350 of the inverter 35 based on the three sensor signals 230, thereby controlling the on / off state of each switching element 350. As a result, the inverter 35 supplies appropriate drive signals 351 (in other words, drive voltages 351) to each of the U-phase coil 21a, V-phase coil 21b, and W-phase coil 21c of the motor 21, thereby controlling the rotation of the motor 21. The microcomputer 341 generates six control signals 342 and supplies the six generated control signals 342 to the control terminals of the six switching elements 350, respectively. How the six control signals 342 are generated determines how the motor 21 of the tool connection main body 2 is controlled. The control method of the tool connecting body 2 , specifically the control method of the motor 21 of the tool connecting body 2 is determined by six control signals 342 .

[0035] Microcomputer 341 includes at least one processor to provide control and processing power for performing various functions, as described in more detail below.

[0036] According to various embodiments, the at least one processor may be implemented as a single integrated circuit (IC) or as multiple communicatively connected integrated circuits ICs and / or discrete circuits. The at least one processor may be implemented according to various known techniques.

[0037] In one embodiment, a processor includes one or more circuits or units configured to perform one or more data computational procedures or processes, for example, by executing instructions stored in associated memory. In other embodiments, a processor may be firmware (e.g., discrete logic components) configured to perform one or more data computational procedures or processes.

[0038] According to various embodiments, the processor may include one or more processors, controllers, microcomputers, microcontrollers, application specific integrated circuits (ASICs), digital signal processors, programmable logic devices, field programmable gate arrays, or any combination of these devices or configurations, or other known combinations of devices and configurations, to perform the functions described below.

[0039] FIG. 4 is a schematic diagram showing an example of the configuration of the microcomputer 341. As shown in FIG. 4, the microcomputer 341 includes, for example, a CPU (Central Processing Unit) 400 as a processor. The microcomputer 341 also includes a storage unit 410 and a peripheral circuit 450. The storage unit 410 may include a non-transitory recording medium readable by the CPU 400, such as a ROM (Read Only Memory) or a RAM (Random Access Memory). The storage unit 410 can also be referred to as, for example, a memory circuit. The storage unit 410 stores, for example, a program 420 for controlling the operation of the microcomputer 341. Various functions of the CPU 400 are realized, for example, by the CPU 400 executing the program 420 in the storage unit 410.

[0040] The peripheral circuit 450 may include, for example, multiple output ports and multiple input ports. The peripheral circuit 450 may also include an A / D converter that converts analog values ​​into digital data. The peripheral circuit 450 may also include a communication circuit for wired communication or wireless communication. The peripheral circuit 450 acquires three sensor signals 230 from the sensor board 22 output by the communication circuit 26 and outputs them to the CPU 400. The CPU 400 controls the peripheral circuit 450 based on the three sensor signals 230, causing the peripheral circuit 450 to output six control signals 342 to the inverter 35. The CPU 400 controls the inverter 35 through the peripheral circuit 450, and by controlling the inverter 35, it can control the motor 21 of the tool connection body 2. The CPU 400 can also be considered a control circuit that controls the tool connection body 2. The CPU 400 can also be considered a control circuit that can control each of multiple types of tool bodies 2.

[0041] The program 420 in the storage unit 410 includes, for example, a control program 430 for controlling multiple types of tool bodies 2 to which the power supply device 3 is connected. The control program 430 describes multiple types of control methods corresponding to the multiple types of tool bodies 2. It can also be said that the microcomputer 341 stores multiple types of control methods corresponding to the multiple types of tool bodies 2. The CPU 400 is able to control multiple types of tool bodies 2 based on the control program 430. In other words, the CPU 400 is able to control multiple types of tool bodies 2 by executing the control program 430.

[0042] The control program 430 describes, for example, a control method according to the tool body 2 of a disc grinder, a control method according to the tool body 2 of an impact driver, a control method according to the tool body 2 of a drill driver, a control method according to the tool body 2 of a circular saw, a control method according to the tool body 2 of a reciprocating saw, and a control method according to the tool body 2 of a polisher.

[0043] The CPU 400 executes the control program 430 to control the tool connection body 2 using one of a plurality of control methods that corresponds to the type of the tool connection body 2. The CPU 400 executing the control program 430 outputs each control signal 342 supplied to the inverter 35 to the peripheral circuit 450 so that the motor 21 of the tool connection body 2 is controlled using the control method that corresponds to the type of the tool connection body 2. It can also be said that the microcomputer 341 executing the control program 430 generates each control signal 342 so that the motor 21 of the tool connection body 2 is controlled using the control method that corresponds to the type of the tool connection body 2.

[0044] The appropriate rotation speed, rotation direction, and acceleration / deceleration method of the motor 21 vary depending on the type of tool body 2. The CPU 400 can appropriately control the motor 21 of the tool connection body 2 by controlling the motor 21 of the tool connection body 2 using one of multiple control methods that corresponds to the type of tool connection body 2. That is, the CPU 400 can control the motor 21 of the tool connection body 2 so that the rotation speed, rotation direction, and acceleration / deceleration method of the motor 21 of the tool connection body 2 correspond to the type of tool connection body 2. The control program 430 includes, for example, a common module in which control content common to multiple types of tool bodies 2 is described, and multiple specific modules in which control content specific to each of the multiple types of tool bodies 2 is described. When executing the control program 430, the CPU 400 can control the motor 21 of the tool connection body 2 using a control method that corresponds to the type of tool connection body 2 by executing a combination of the common module and the specific module corresponding to the type of tool connection body 2.

[0045] When the power supply device 3 is connected to the tool body 2, power is supplied from the control circuit 34 to the communication circuit 26 of the tool connection body 2 through the connection cable 4. When power is supplied, the communication circuit 26 wirelessly transmits identification information to the communication circuit 36 ​​of the power supply device 3. The communication circuit 36 ​​inputs the received identification information to the microcomputer 341. The identification information input to the microcomputer 341 is input to the CPU 400 through the peripheral circuit 450. The CPU 400 identifies the type of the tool connection body 2 based on the identification information. Then, the CPU 400 controls the motor 21 of the tool connection body 2 using a control method corresponding to the identified type based on the control program 430.

[0046] As described above, in this example, the control circuit 34 stores multiple control methods corresponding to multiple types of power tool bodies. The control circuit 34 then identifies the type of connected tool body and controls the connected tool body using a control method corresponding to the identified type from among the multiple control methods stored. This allows the power supply device 3 to appropriately control the connected tool body 2. For example, as shown in FIG. 1 , when a disc grinder tool body 2 is connected to the power supply device 3, the power supply device 3 can control the disc grinder tool body 2 using a control method corresponding to the disc grinder tool body 2. Furthermore, when an impact driver tool body 2 is connected to the power supply device 3, the power supply device 3 can control the impact driver using a control method corresponding to the impact driver tool body 2.

[0047] Furthermore, as in this example, when the control circuit 34 acquires identification information indicating the type of the connecting tool body 2 and identifies the type of the connecting tool body 2, the control circuit 34 can easily identify the type of the connecting tool body 2.

[0048] Furthermore, as in this example, when the identification information indicates the value of the resistive voltage divider voltage V1 generated by the resistive voltage divider circuit 27, the identification information of multiple types of tool body 2 can be easily set by adjusting the value of the resistive element of the resistive voltage divider circuit 27.

[0049] Furthermore, in the case where the tool connection body 2 transmits the identification information to the power supply device 3 as in this example, the power supply device 3 can easily obtain the identification information of the tool connection body 2 .

[0050] The communication circuits 26 and 36 may communicate with each other via a wire. FIG. 5 is a schematic diagram showing an example of a state in which the communication circuits 26 and 36 are connected via a wire. When the communication circuits 26 and 36 communicate with each other via a wire, at least one signal line 40z connecting the communication circuits 26 and 36 is provided in the connection cable 4. The communication circuits 26 and 36 exchange signals with each other using at least one signal line 40z. The microcomputer 26a of the communication circuit 26 and the microcomputer 36a of the communication circuit 36 ​​may communicate with each other via a wire. The standard for the wired communication between the communication circuits 26 and 36 may be, for example, SPI (Serial Peripheral Interface) or I / O. 2 It may be an Inter Integrated Circuit (C) or a Universal Asynchronous Receiver / Transmitter (UART).

[0051] In this way, when the communication circuits 26 and 36 communicate with each other via wires, it is necessary to provide at least one signal line 40z in the connection cable 4. In contrast, when the communication circuits 26 and 36 are wireless communication circuits as in the example of FIG. 3 , the number of signal lines included in the connection cable 4 can be reduced.

[0052] As shown in FIG. 6 , the resistively divided voltage V1 output by the resistive voltage divider circuit 27 may be transmitted to the power supply device 3 via a signal line 40y provided in the connection cable 4. In this case, the resistively divided voltage V1 transmitted to the power supply device 3 via the signal line 40y is input to, for example, a microcomputer 341. In the microcomputer 341, an A / D converter provided in the peripheral circuit 450 converts the value of the resistively divided voltage V1 into digital data and outputs it to the CPU 400. This allows the CPU 400 to obtain the identification information. In the example of FIG. 6 , the communication circuits 26 and 36 are not required.

[0053] In the above example, both the resistive elements R1 and R2 of the resistive voltage divider circuit 27 are provided in the tool body 2, but one of the resistive elements R1 and R2 may be provided in the tool body 2 and the other of the resistive elements R1 and R2 may be provided in the power supply device 3. In this case, the communication circuits 26 and 36 are not necessary.

[0054] 7 is a schematic diagram showing an example of a configuration in which the resistor element R1 is provided in the tool body 2 and the resistor element R2 is provided in the power supply device 3. In the example of FIG. 7, a signal line 40x connecting the resistor element R1 on the tool body 2 side and the resistor element R2 on the power supply device 3 side is provided in the connection cable 4. The resistor-divided voltage V1 is input to the microcomputer 341. As in the example of FIG. 6, in the microcomputer 341, an A / D converter provided in the peripheral circuit 450 converts the value of the resistor-divided voltage V1 into digital data and inputs it to the CPU 40. By varying the value of the resistor element R1 among multiple types of tool bodies 2, it is possible to set a unique resistor-divided voltage V1 value for each of the multiple types of tool bodies 2.

[0055] FIG. 8 is a schematic diagram showing an example in which the resistor element R2 is provided in the tool body 2 and the resistor element R1 is provided in the power supply unit 3. In the example of FIG. 8, a signal line 40w is provided in the connection cable 4, connecting the resistor element R1 on the power supply unit 3 side and the resistor element R2 on the tool body 2 side. The resistor-divided voltage V1 is then input to the microcomputer 341. As in the example of FIG. 6, in the microcomputer 341, an A / D converter provided in the peripheral circuit 450 converts the value of the resistor-divided voltage V1 into digital data and inputs it to the CPU 40. By varying the value of the resistor element R2 among multiple types of tool bodies 2, it is possible to set a unique resistor-divided voltage V1 value for each of the multiple types of tool bodies 2.

[0056] In this way, when one of the resistance elements R1 and R2 is provided in the tool body 2 and the other of the resistance elements R1 and R2 is provided in the power supply unit 3, the configuration of the tool body 2 can be simplified compared to the example of Figure 6.

[0057] The microcomputer 26a of the communication circuit 26 may acquire identification information of the connected tool body 2 based on the resistive divided voltage V1, rather than using the resistive divided voltage V1 as identification information. In this case, for example, a plurality of different ranges of the resistive divided voltage V1 are set for each of a plurality of types of tool bodies 2. For example, a first range, a second range, a third range, a fourth range, a fifth range, and a sixth range of the resistive divided voltage V1 are set for each of the tool bodies 2 of a disc grinder, an impact driver, a drill driver, a circular saw, a reciprocating saw, and a polisher. The first range, the second range, the third range, the fourth range, the fifth range, and the sixth range are different from one another. The first range is set, for example, from 4.4 V to 4.5 V.

[0058] The storage unit of the microcomputer 341 stores digital data indicating the type of tool body 2 for which each range of the resistor-divided voltage V1 is set as identification information. The microcomputer 26a identifies the range to which the A / D converted resistor-divided voltage V1 belongs among the multiple ranges of the resistor-divided voltage V1. The microcomputer 26a then reads from the storage unit identification information indicating the type of tool body 2 for which the identified range is set, and uses the read identification information as identification information for the connected tool body 2. For example, when the A / D converted resistor-divided voltage V1 belongs to the first range, the microcomputer 26a reads from the storage unit identification information for the tool body 2 of a disc grinder for which the first range is set, and uses the read identification information as identification information for the tool body 2 to which the microcomputer 26a belongs. When the identification information is acquired in this manner, even if there is an error in the resistor-divided voltage V1, the connected tool body 2 can appropriately transmit identification information corresponding to its type to the power supply device 3. Furthermore, the data volume of the identification information can be reduced compared to when the resistor-divided voltage V1 is used as the identification information directly. For example, if there are six types of tool bodies 2, the identification information may be 3-bit digital data. For example, the 3-bit data "000" may be used as the identification information of the tool body 2 of a disc grinder, and the 3-bit data "001" may be used as the identification information of the tool body 2 of an impact driver.

[0059] The identification information may also be obtained without using the resistive voltage divider voltage V1. In this case, for example, identification information corresponding to the type of tool body 2 to which the microcomputer 26a belongs may be pre-stored in the microcomputer 26a of the communication circuit 26, and the communication circuit 26 may transmit the identification information stored in the microcomputer 26a to the power supply device 3. The communication circuit 26 may transmit the identification information pre-stored in the microcomputer 26a to the communication circuit 36 ​​of the power supply device 3 wirelessly as in the example of FIG. 3 or via a wire as in FIG. 5. If the identification information corresponding to the type of tool body 2 is pre-stored in the tool body 2, the resistive voltage divider circuit 27 is not necessary.

[0060] Furthermore, in the above example, the power supply unit 33 supplies power to the communication circuits 26 and 36. However, as shown in FIG. 9 , a battery 260 that supplies power to the communication circuit 26 may be provided in the tool body 2. The battery 260 may be a secondary battery or a primary battery. Furthermore, a battery 360 that supplies power to the communication circuit 36 ​​may be provided in the power supply device 3. The battery 360 may be a secondary battery or a primary battery. When the battery 260 is provided, the battery 360 does not have to be provided, and when the battery 360 is provided, the battery 260 does not have to be provided.

[0061] In the above example, the program 420 in the storage unit 410 of the microcomputer 341 includes a control program 430 in which a plurality of types of control methods are described, but the program 420 may also include a plurality of control programs 440 in which a plurality of types of control methods are each individually described. Figure 10 is a schematic diagram showing an example of the configuration of the microcomputer 341 in this case.

[0062] 10 , the CPU 400 controls the tool connection body 2 based on one of the plurality of control programs 440 that corresponds to the type of the tool connection body 2. The CPU 400 can control the tool connection body 2 using the control method that corresponds to the type of the tool connection body 2 by executing one of the plurality of control programs 440 in the storage unit 410, the control program 440 in which a control method that corresponds to the type of the tool connection body 2 is described.

[0063] 10 , when a plurality of control programs 440 are used, each of which describes a plurality of types of control methods, it is necessary to describe the control content common to a plurality of types of tool bodies 2 in each of the plurality of control programs 440. In contrast, when a control program 430 is used, in which a plurality of types of control methods are described, it is not necessary to describe the control content common to a plurality of types of tool bodies 2 in separate programs, and therefore the capacity of the program 420 in the storage unit 410 can be reduced.

[0064] In the above example, the communication circuit 36 ​​is provided separately from the microcomputer 341, but a communication circuit included in the peripheral circuit 450 of the microcomputer 341 may function as the communication circuit 36. In other words, the microcomputer 341 may receive information transmitted wirelessly or via a wire from the communication circuit 26. Furthermore, the microcomputer 26a included in the communication circuit 26 and the microcomputer 341 may communicate with each other wirelessly or via a wire.

[0065] <Regarding Updating the Control Program> When the number of types of tool bodies 2 connectable to the power supply device 3 increases, it is necessary to update the control program 430 in the power supply device 3. The power supply device 3 obtains the latest control program 430, for example, from an external device that stores the latest control program 430. The power supply device 3 then updates the control program 430 in the storage unit 410 with the obtained latest control program 430. This allows the control program 430 in the power supply device 3 to be appropriately updated. A specific example of a method for updating the control program 430 in the power supply device 3 will be described below.

[0066] FIG. 11 is a schematic diagram illustrating an example of a method for updating the control program 430 in the power supply device 3. In the example of FIG. 11, the latest control program 430 (also referred to as the latest program 430a) is stored in a server device 600 connected to a network 500, such as the Internet. If the number of types of tool bodies 2 connectable to the power supply device 3 increases, an updated program 430a corresponding to the increase is created and stored in the server device 600. For example, if the number of types of tool bodies 2 connectable to the power supply device 3 increases from five to six, an updated program 430a describing control methods for the six types of tool bodies 2 is created and stored in the server device 600. The server device 600 may be, for example, a cloud server. The power supply device 3 can obtain the latest program 430a stored in the server device 600.

[0067] The power supply device 3 can obtain the latest program 430a from the server device 600, for example, via a portable electronic device 700 connected to the network 500. The portable electronic device 700 obtains the latest program 430a from the server device 600 via the network 500. The portable electronic device 700 then transmits the obtained latest program 430a to the communication circuit 36 ​​of the power supply device 3. The communication circuit 36 ​​of the power supply device 3 can communicate directly with the portable electronic device 700. The communication circuit 36 ​​may communicate with the portable electronic device 700 wirelessly or via a wired connection. The portable electronic device 700 may be, for example, a mobile phone such as a smartphone, a tablet terminal, a notebook personal computer, or a wearable terminal.

[0068] The server device 600 and the portable electronic device 700 each include, for example, a microcomputer and a communication circuit. The microcomputers included in the server device 600 and the portable electronic device 700 may have the same configuration as the microcomputer 341 included in the power supply device 3, for example. The microcomputer in the server device 600 stores the latest program 430a and the version number (also referred to as the latest version number) of the latest program 430a in association with each other. The communication circuit in the server device 600 is capable of communicating with the network 500. The communication circuit in the server device 600 transmits the latest program 430a and the latest version number to the communication circuit in the portable electronic device 700 via the network 500. The communication circuit in the portable electronic device 700 is capable of communicating with the network 500 and also with the communication circuit 36 ​​in the power supply device 3. The communication circuit in the portable electronic device 700 receives the latest program 430a and the latest version number from the server device 600 and transmits the received latest program 430a and the latest version number to the communication circuit 36 ​​in the power supply device 3.

[0069] An update application for updating the control program 430 in the power supply device 3 is installed in the portable electronic device 700. The update of the control program 430 in the power supply device 3 is executed, for example, when the tool body 2 is not connected to the power supply device 3. The portable electronic device 700 has, for example, a touch panel display, and is capable of displaying an icon for executing the update application (also referred to as an update app icon) on the touch panel display.

[0070] Here, when the user of the power supply device 3 purchases a new tool body 2, there is a possibility that the control program 430 in the power supply device 3 is not compatible with the newly purchased tool body 2. Therefore, the user who has purchased the new tool body 2 performs a predetermined operation on the touch panel display of the portable electronic device 700 to cause an update application icon to be displayed on the portable electronic device 700. Then, the user performs a predetermined operation on the update application icon displayed on the touch panel display of the portable electronic device 700 to cause the portable electronic device 700 to execute the update application.

[0071] The portable electronic device 700 executing the update application downloads the latest program 430a and the latest version number from the server device 600 via the network 500. The portable electronic device 700 then transmits the downloaded latest program 430a and the latest version number to the communication circuit 36 ​​of the power supply device 3.

[0072] The communication circuit 36 ​​transmits the received latest program 430a and latest version number to the microcomputer 341. In the microcomputer 341, the latest program 430a and latest version number are input to the CPU 400 via the peripheral circuit 450. The control program 430 and its version number are stored in correspondence with each other in the storage unit 410 of the microcomputer 341. The CPU 400 compares the latest version number with the version number in the storage unit 410. If the latest version number is greater than the version number in the storage unit 410, the CPU 400 updates the control program 430 in the storage unit 410 with the latest program 430a. In other words, if the latest program 430a is a newer version than the control program 430 in the storage unit 410, the CPU 400 replaces the control program 430 in the storage unit 410 with the latest program 430a. Thereafter, when the tool body 2 is connected to the power supply device 3, the CPU 400 executes the updated control program 430 stored in the storage unit 410. This allows the CPU 400 to control each of the latest types of tool bodies 2 that can be connected to the power supply device 3, based on the latest program 430a transmitted from the server device 600. On the other hand, if the latest version number is equal to or lower than the version number stored in the storage unit 410, the CPU 400 discards the latest program 430a and does not update the control program 430 stored in the storage unit 410.

[0073] If the communication circuit 36 ​​of the power supply device 3 is capable of communicating with the network 500 , the communication circuit 36 ​​may directly obtain the latest program 430 a and the latest version number from the server device 600 .

[0074] Fig. 12 is a schematic diagram for explaining another example of a method for updating the control program 430 in the power supply device 3. In the example of Fig. 12, the latest program 430a is stored in the tool body 2. When the tool body 2 is sold, the latest control program 430 at that time is stored in the tool body 2. The power supply device 3 can acquire the latest program 430a stored in the tool body 2.

[0075] 12, the tool body 2 includes a microcomputer 28 that stores, for example, the latest program 430a and the latest version number in association with each other. The microcomputer 28 may have a configuration similar to that of the microcomputer 341 of the power supply device 3. The voltage transmitted through the signal lines 40b and 40c of the connection cable 4 is supplied to the microcomputer 28 as a power source. Therefore, when the tool body 2 is connected to the power supply device 3, the microcomputer 28 of the connected tool body 2 starts operating.

[0076] When the tool body 2 is connected to the power supply device 3, the microcomputer 28 of the connected tool body 2 outputs the latest program 430a and the latest version number to the communication circuit 26. The communication circuit 26 of the connected tool body 2 transmits the input latest program 430a and the latest version number to the communication circuit 36 ​​of the power supply device 3. The communication circuit 26 may communicate with the communication circuit 36 ​​wirelessly or via wire.

[0077] In the power supply device 3, when the communication circuit 36 ​​receives the latest program 430a and the latest version number, it outputs the received latest program 430a and latest version number to the microcomputer 341. In the microcomputer 341, the CPU 400 compares the latest version number with the version number in the storage unit 410, as in the example of FIG. 11 . If the latest version number is greater than the version number in the storage unit 410, the CPU 400 updates the control program 430 in the storage unit 410 with the latest program 430a. The CPU 400 then executes the updated control program 430 in the storage unit 410 to control the tool body 2. On the other hand, if the latest version number is equal to or less than the version number in the storage unit 410, the CPU 400 discards the latest program 430a and does not update the control program 430 in the storage unit 410.

[0078] 11 and 12, the control circuit 34 updates the control program 430 in the storage unit 410 with the latest program 430a received by the communication circuit 36. This allows the power supply device 3 to appropriately respond to an increase in the variety of tool bodies 2.

[0079] 12, the microcomputer 28 is provided separately from the communication circuit 26, but the microcomputer 26a included in the communication circuit 26 may perform the same function as the microcomputer 28. In other words, the microcomputer 26a may store the latest program 430a and the latest version number in association with each other.

[0080] As shown in FIG. 10 , when the power supply device 3 stores multiple control programs 440 corresponding to multiple types of tool bodies 2, the server device 600 may store multiple control programs 440 corresponding to the latest multiple types of tool bodies 2 connectable to the power supply device 3. When a new type of tool body 2 connectable to the power supply device 3 is added, a control program 440 corresponding to the added type (i.e., a control program 440 describing a control method corresponding to the added type) is generated and stored in the server device 600. The CPU 400 of the power supply device 3 identifies the type of connected tool body 2 as described above. Then, when a control program 440 describing a control method corresponding to the identified type (also referred to as a corresponding control program 440) is not stored in the storage unit 410, the CPU 400 generates request information requesting transmission of the corresponding control program 440. The CPU 400 then outputs the request information to the communication circuit 36 ​​via the peripheral circuit 450. The communication circuit 36 ​​transmits the request information. The server device 600 receives the request information transmitted by the communication circuit 36. Upon receiving the request information, the server device 600 transmits a corresponding control program 440 from among the plurality of control programs 440 stored therein. The communication circuit 36 ​​of the power supply device 3 receives the corresponding control program 440 transmitted by the server device 600. In the power supply device 3, the corresponding control program 440 received by the communication circuit 36 ​​is stored in the storage unit 410. Thereafter, the CPU 400 executes the corresponding control program 440 in the storage unit 410, i.e., the control program 440 in which a control method corresponding to the type of connection tool main body 2 is described.

[0081] The tool body 2 may also store a control program 440 that describes a control method appropriate for the tool body 2's type. For example, as shown in the example of FIG. 12 , if the tool body 2 includes a microcomputer 28, the microcomputer 28 may store the control program 440. In this case, when the tool body 2 is connected to the power supply device 3, the CPU 400 of the power supply device 3 identifies the type of the tool body 2 as described above. Next, if a control program 440 describing a control method appropriate for the identified type, i.e., a corresponding control program 440, is not stored in the storage unit 410, the CPU 400 generates request information requesting transmission of the corresponding control program 440. The CPU 400 then outputs the request information to the communication circuit 36 ​​via the peripheral circuit 450. The communication circuit 36 ​​transmits the request information to the communication circuit 26 of the tool body 2. In the tool body 2, the communication circuit 26 outputs the received request information to the microcomputer 28. Upon receiving the request information, the microcomputer 28 outputs the control program 440 stored therein to the communication circuit 26. The communication circuit 26 transmits the input control program 440 to the communication circuit 36. In the power supply device 3, the control program 440 received by the communication circuit 36 ​​is stored in the storage unit 410. As a result, the control program 440 in which a control method according to the type of tool connection body 2 is described is stored in the storage unit 410. The CPU 400 executes the control program 440 in which a control method according to the type of tool connection body 2 is described, which is stored in the storage unit 410.

[0082] In the above example, the control program 430 is pre-stored in the power supply device 3, but it does not have to be pre-stored in the power supply device 3. In this case, the power supply device 3 may acquire the latest control program 430 from the server device 600 that stores the latest control program 430, and store the acquired control program 430 in the storage unit 410. Alternatively, the power supply device 3 may acquire the latest control program 430 from the tool connection body 2 that stores the latest control program 430, and store the acquired control program 430 in the storage unit 410. After the control program 430 is stored in the storage unit 410, the power supply device 3 can update the control program 430 in the storage unit 410 in the same manner as described above.

[0083] 10 , the multiple control programs 440 do not have to be stored in advance in the power supply device 3. In this case, the power supply device 3 may acquire the multiple control programs 440 from a server device 600 that stores multiple control programs 440 corresponding to the latest multiple types of tool bodies 2 connectable to the power supply device 3, and store the acquired multiple control programs 440 in the storage unit 410. The power supply device 3 may also acquire the control program 440 from a connected tool body 2 that stores a control program 440 corresponding to its own type, and store the acquired control program 440 in the storage unit 410. In this case, when each of the multiple types of tool bodies 2 is connected to the power supply device 3, the storage unit 410 of the power supply device 3 stores the multiple control programs 440 corresponding to the multiple types of tool bodies 2.

[0084] As described above, the control circuit 34 controls the connecting tool body 2 based on the control program 430 or the control program 440 received by the communication circuit 36 ​​from an external device, thereby enabling the connecting tool body 2 to be appropriately controlled.

[0085] The communication circuit 26 of the tool body 2 may transmit information other than the identification information to the microcomputer 36a (i.e., the communication circuit 36) or the microcomputer 341 (i.e., the control circuit 34) of the power supply device 3. For example, the microcomputer 26a of the communication circuit 26 acquires rotation speed information of the motor 21 based on three sensor signals 230 output by the sensor board 22. The communication circuit 26 then transmits the acquired rotation speed information to the microcomputer 36a or the microcomputer 341. Furthermore, if an acceleration sensor is provided in the tool body 2, the microcomputer 26a acquires information about an impact applied to the tool body 2 based on an output signal of the acceleration sensor. The communication circuit 26 then transmits the acquired information to the microcomputer 36a or the microcomputer 341.

[0086] Furthermore, the microcomputer 36a or the microcomputer 341 may perform error detection on the received information (in other words, received data) received from the communication circuit 26. That is, the microcomputer 36a or the microcomputer 341 may function as an error detection unit that performs error detection on the received information received from the communication circuit 26. In this case, the microcomputer 26a of the communication circuit 26 generates information to which an error detection code such as a parity code or a checksum is added (also referred to as information with an error detection code), and the communication circuit 26 transmits the information with the error detection code. The microcomputer 36a or the microcomputer 341 performs error detection on the information with the error detection code received from the communication circuit 26.

[0087] If the microcomputer 36a or the microcomputer 341 detects an error in the received information (i.e., information with an error detection code) received from the communication circuit 26, it may discard the received information and request the communication circuit 26 to resend it.

[0088] Furthermore, the microcomputer 36a or the microcomputer 341 may perform error detection on the received information multiple times. For example, the microcomputer 36a or the microcomputer 341 may perform error detection on the received information a predetermined number of times, two or more times. However, if the microcomputer 36a or the microcomputer 341 detects an error in the received information, it will not perform further error detection even if the predetermined number of error detections has not been performed. If the microcomputer 36a or the microcomputer 341 completes the predetermined number of error detections without detecting an error, it determines that the received information has been properly received and uses the received information. On the other hand, if the microcomputer 36a or the microcomputer 341 detects an error, it will discard the received information and request the communication circuit 26 to retransmit it.

[0089] When the microcomputer 36a or the microcomputer 341 receives identification information with an error detection code added from the communication circuit 26 of the connecting tool main body 2, the number of times error detection is performed may be changed depending on the type indicated by the identification information.

[0090] For example, consider a case where the tool connection unit 2 is a driver drill or polisher, which are relatively low risk. In this case, the microcomputer 36a or microcomputer 341 performs error detection on the identification information with the error detection code only once. In this case, if the microcomputer 36a or microcomputer 341 does not detect an error in the identification information with the error detection code and the identification information indicates a driver drill or a polisher, it does not perform error detection on the identification information with the error detection code a second time. If no error is detected in the identification information with the error detection code, the control circuit 34 controls the motor 21 of the tool connection unit 2 using a control method corresponding to the type indicated by the identification information.

[0091] In contrast, consider a case where the connecting tool body 2 is a relatively dangerous tool such as a grinder or circular saw. In this case, the microcomputer 36a or microcomputer 341 performs error detection on the identification information with the error detection code a predetermined number of times (two or more times). However, if the microcomputer 36a or microcomputer 341 detects an error in the identification information with the error detection code, it will not perform further error detection even if the predetermined number of error detections has not been performed. If the microcomputer 36a or microcomputer 341 completes the predetermined number of error detections without detecting an error, it determines that the identification information has been properly received. In this case, the control circuit 34 controls the motor 21 of the connecting tool body 2 using a control method corresponding to the type of identification information. On the other hand, if the microcomputer 36a or microcomputer 341 detects an error, it discards the identification information and requests the communication circuit 26 to resend it.

[0092] In the above example, the inverter 35 is provided in the power supply device 3, but it may also be provided in the tool body 2. Fig. 13 is a schematic diagram showing an example of the inverter 35 provided in the tool body 2. When the inverter 35 is provided in the tool body 2, the connection cable 4 is provided with six signal lines for respectively transmitting six control signals 342 for controlling the inverter 35 output from the control circuit 34, and two signal lines for respectively transmitting the positive power supply and the negative power supply of the inverter 35, instead of the three signal lines 40a. The positive power supply of the inverter 35 is the positive potential of the DC voltage generated by the AC-DC converter 330 of the power supply unit 33, and the negative power supply of the inverter 35 is the ground potential of the DC voltage generated by the AC-DC converter 330.

[0093] Furthermore, in the above example, the connection cable 5 of the cable-attached power supply device 300 is detachable from the power supply device 3, but it may be fixed so as not to be detachable from the power supply device 3. Furthermore, in the cable-attached power supply device 300, the connection cable 4 may be fixed so as not to be detachable from the power supply device 3. Furthermore, in the cable-attached power supply device 300, the connection cable 4 may be fixed so as not to be detachable from the tool body 2.

[0094] Furthermore, since the inverter 35 easily generates heat, the power supply device 3 including the inverter 35 may be provided with a cooling fan for cooling the inverter 35. Note that, when the tool body 2 includes the inverter 35, the inverter 35 may be cooled by the cooling fan 23 of the tool body 2.

[0095] In the above example, the tool body 2 and the power supply device 3 are connected by the connection cable 4, but the power supply device 3 may be directly detachable from the tool body 2. Fig. 14 is a schematic diagram showing an example of the configuration of the power tool 1 in which the power supply device 3 is detachable from the tool body 2. In Fig. 14, some of the configuration inside the housings 20 and 30 is omitted.

[0096] In the example of FIG. 14 , the housing 30 of the power supply device 3 is detachably attached to the housing 20 of the tool body 2. Instead of the connector 37, a connection terminal group 370 consisting of a plurality of connection terminals is provided within the housing 30. Each connection terminal of the connection terminal group 370 is exposed from the housing 30. Instead of the connector 24, a connection terminal group 240 consisting of a plurality of connection terminals is provided within the housing 20. Each connection terminal of the connection terminal group 240 is exposed from the housing 20. When the housing 30 is attached to the housing 20, the plurality of connection terminals of the connection terminal group 370 contact the plurality of connection terminals of the connection terminal group 240, respectively. In the power tool 1 in which the power supply device 3 includes the power supply unit 33, the control circuit 34, and the inverter 35, when the housing 30 is attached to the housing 20, the control circuit 34 is electrically connected to the sensor board 22, and the inverter 35 is electrically connected to the motor 21, as in FIG. 3 described above. Furthermore, when the inverter 35 is provided in the tool body 2, when the housing 30 is attached to the housing 20, the control circuit 34 of the power supply unit 3 is electrically connected to the inverter 35 of the tool body 2 and the sensor board 22, and the DC voltage output from the AC-DC converter 330 of the power supply unit 3 is supplied to the inverter 35 of the tool body 2.

[0097] In the above example, the power supply unit 33 of the power supply device 3 includes the AC-DC converter 330, but a battery may be included instead of the AC-DC converter 330. If the power supply unit 33 includes a battery, the connection cable 5 is not required. The battery may be rechargeable by a charger separate from the power tool 1. In this case, charging terminals for charging the battery are provided inside the housing 30 of the power supply device 3 so as to be exposed from the housing 30. A charging voltage from the charger is then supplied to the charging terminals to charge the battery. The DC voltage output from the battery is supplied to the inverter 35 and the DC-DC converter 340 of the control circuit 34 instead of the DC voltage generated by the AC-DC converter 330.

[0098] Furthermore, in the above example, the power supply device 3 is connectable to a plurality of types of tool bodies 2, but the power supply device 3 may be connectable to only one type of tool body 2. In this case, the storage unit 410 of the power supply device 3 may store a control program 440 that describes a control method corresponding to one type of tool body 2 to which the power supply device 3 can be connected.

[0099] Although the power supply device and the power tool have been described in detail above, the above description is merely illustrative in all respects and does not limit the scope of this disclosure. Furthermore, the various examples described above can be combined and applied as long as they are not mutually inconsistent. It is understood that countless examples not illustrated can be envisioned without departing from the scope of this disclosure.

[0100] This disclosure includes the following:

[0101] In one embodiment, (1) the power supply device is a power supply device connectable to each of a plurality of types of power tool bodies, and includes a control circuit that controls a connecting tool body, which is a power tool body connected to the power supply device, and a power supply unit that supplies power to the connecting tool body and the control circuit, wherein the control circuit stores a plurality of control methods corresponding to the plurality of types of power tool bodies, and the control circuit identifies the type of the connecting tool body and controls the connecting tool body using a control method corresponding to the identified type from the plurality of control methods.

[0102] (2) In the power supply device of (1) above, the control circuit acquires identification information indicating the type of the tool connection body and identifies the type of the tool connection body.

[0103] (3) The power supply device of (2) above includes a communication circuit that receives the identification information transmitted by the tool connection body.

[0104] (4) In the power supply device of (3) above, the communication circuit is a wireless communication circuit.

[0105] (5) In the power supply device according to any one of (2) to (4) above, the identification information indicates a value of a resistor-divided voltage generated by a resistor voltage divider circuit.

[0106] (6) In the power supply device of (5) above, the resistive voltage divider circuit has a first resistive element and a second resistive element, the first resistive element being provided in the power supply device, and the second resistive element being provided in the connecting tool body.

[0107] (7) In the power supply device of (3) or (4) above, the connection tool body transmits the identification information to which an error detection code has been added, and is equipped with an error detection unit that performs error detection on the identification information to which the error detection code has been added, and the error detection unit changes the number of times the error detection is performed depending on the type indicated by the identification information.

[0108] (8) In any one of the power supply devices (1) to (7) above, the control circuit controls the tool connection body based on a control program that describes a control method according to the type of tool connection body.

[0109] (9) In the power supply device of (8) above, the control program describes the multiple types of control methods, and the control circuit is capable of controlling each of the multiple types of power tool bodies based on the control program.

[0110] (10) The power supply device of (8) or (9) above includes a communication circuit that receives the control program stored in a device external to the power supply device.

[0111] (11) The power supply device is connected to an electric power tool body and includes a communication circuit that receives a first control program stored in a device external to the power supply device, a control circuit that controls the electric power tool body based on the first control program received by the communication circuit, and a power supply unit that outputs power to the electric power tool body and the control circuit.

[0112] (12) In the power supply device of (11) above, the communication circuit is a wireless communication circuit.

[0113] (13) In the power supply device of (11) or (12) above, the power tool body functions as the external device that stores the first control program.

[0114] (14) In the power supply device of (11) or (12) above, the communication circuit receives the first control program from the external device via a portable electronic device.

[0115] (15) In any one of the power supply devices (11) to (14) above, the power supply device can be connected to each of multiple types of power tool bodies including the power tool body, the first control program is a program common to the multiple types of power tool bodies, and the control circuit can control each of the multiple types of power tool bodies based on the first control program.

[0116] (16) In the power supply device of (15) above, the control circuit updates the second control program stored in the power supply device for controlling each of the multiple types of power tool bodies with the first control program received by the communication circuit.

[0117] (17) An electric power tool includes any one of the power supply devices described above in (1) to (16) and an electric power tool body to which the power supply device is connected.

[0118] REFERENCE SIGNS LIST 1 Power tool 2 Power tool main body 2A Connected tool main body 3 Power supply device 27 Resistive voltage dividing circuit 33 Power supply unit 34 Control circuit 341 Microcomputer 36 Communication circuit 400 CPU 430, 440 Control program 450 Peripheral circuit 600 Server device 700 Portable electronic device R1, R2 Resistive element

Claims

1. A power supply device that can be connected to each of a plurality of types of power tool bodies, a control circuit for controlling a power tool body connected to the power supply device; a power supply unit that supplies power to the connection tool body and the control circuit; Preparation, the control circuit stores a plurality of control methods corresponding to the plurality of types of power tool bodies, The control circuit identifies the type of the tool connection body and controls the tool connection body using a control method corresponding to the identified type from among the plurality of control methods.

2. 2. The power supply device according to claim 1, The control circuit acquires identification information indicating the type of the tool connection body, and identifies the type of the tool connection body.

3. 3. The power supply device according to claim 2, A power supply device including a communication circuit that receives the identification information transmitted by the connection tool body.

4. 4. The power supply device according to claim 3, The power supply device, wherein the communication circuit is a wireless communication circuit.

5. 5. The power supply device according to claim 2, The power supply device, wherein the identification information indicates a value of a resistor-divided voltage generated by a resistor voltage divider circuit.

6. 6. The power supply device according to claim 5, the resistive voltage divider circuit has a first resistive element and a second resistive element, the first resistor element is provided in the power supply device, The second resistance element is provided in the connecting tool body.

7. 5. The power supply device according to claim 3 or 4, the connecting tool body transmits the identification information to which an error detection code has been added, an error detection unit that performs error detection on the identification information to which the error detection code has been added, The power supply device, wherein the error detection unit changes the number of times the error detection is performed depending on the type indicated by the identification information.

8. 5. The power supply device according to claim 1, The control circuit controls the tool connection body based on a control program that describes a control method according to the type of the tool connection body.

9. 9. The power supply device according to claim 8, the control program describes the plurality of control methods, The control circuit is capable of controlling each of the plurality of types of power tool bodies based on the control program.

10. 9. The power supply device according to claim 8, A power supply device comprising a communication circuit for receiving the control program stored in a device external to the power supply device.

11. A power supply device connected to a power tool body, a communication circuit that receives a first control program stored in an external device of the power supply device; a control circuit that controls the power tool body based on the first control program received by the communication circuit; a power supply unit that outputs power to the power tool body and the control circuit; A power supply device comprising:

12. 12. The power supply device of claim 11, The power supply device, wherein the communication circuit is a wireless communication circuit.

13. 13. The power supply device according to claim 11 or 12, The power supply device wherein the power tool main body functions as the external device that stores the first control program.

14. 13. The power supply device according to claim 11 or 12, The power supply device, wherein the communication circuit receives the first control program from the external device through a portable electronic device.

15. 13. The power supply device according to claim 11 or 12, the power supply device is connectable to each of a plurality of types of power tool bodies including the power tool body; the first control program is a program common to the plurality of types of power tool bodies, The control circuit is capable of controlling each of the plurality of types of power tool bodies based on the first control program.

16. 16. The power supply device of claim 15, The power supply device, wherein the control circuit updates a second control program stored in the power supply device for controlling each of the plurality of types of power tool bodies with the first control program received by the communication circuit.

17. a power supply device according to any one of claims 1 to 4, 11 and 12; an electric tool body to which the power supply device is connected; A power tool comprising: