WO2021095533A1 - 電動工具、制御方法、カムアウト検知方法、及びプログラム - Google Patents

電動工具、制御方法、カムアウト検知方法、及びプログラム Download PDF

Info

Publication number
WO2021095533A1
WO2021095533A1 PCT/JP2020/040488 JP2020040488W WO2021095533A1 WO 2021095533 A1 WO2021095533 A1 WO 2021095533A1 JP 2020040488 W JP2020040488 W JP 2020040488W WO 2021095533 A1 WO2021095533 A1 WO 2021095533A1
Authority
WO
WIPO (PCT)
Prior art keywords
motor
come
control unit
current
power tool
Prior art date
Application number
PCT/JP2020/040488
Other languages
English (en)
French (fr)
Inventor
隆司 草川
中原 雅之
尊大 植田
Original Assignee
パナソニックIpマネジメント株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from JP2019207502A external-priority patent/JP7390587B2/ja
Priority claimed from JP2019210773A external-priority patent/JP2021079509A/ja
Application filed by パナソニックIpマネジメント株式会社 filed Critical パナソニックIpマネジメント株式会社
Publication of WO2021095533A1 publication Critical patent/WO2021095533A1/ja

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B25HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
    • B25BTOOLS OR BENCH DEVICES NOT OTHERWISE PROVIDED FOR, FOR FASTENING, CONNECTING, DISENGAGING OR HOLDING
    • B25B21/00Portable power-driven screw or nut setting or loosening tools; Attachments for drilling apparatus serving the same purpose
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B25HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
    • B25BTOOLS OR BENCH DEVICES NOT OTHERWISE PROVIDED FOR, FOR FASTENING, CONNECTING, DISENGAGING OR HOLDING
    • B25B21/00Portable power-driven screw or nut setting or loosening tools; Attachments for drilling apparatus serving the same purpose
    • B25B21/02Portable power-driven screw or nut setting or loosening tools; Attachments for drilling apparatus serving the same purpose with means for imparting impact to screwdriver blade or nut socket
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B25HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
    • B25BTOOLS OR BENCH DEVICES NOT OTHERWISE PROVIDED FOR, FOR FASTENING, CONNECTING, DISENGAGING OR HOLDING
    • B25B23/00Details of, or accessories for, spanners, wrenches, screwdrivers
    • B25B23/14Arrangement of torque limiters or torque indicators in wrenches or screwdrivers
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B25HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
    • B25FCOMBINATION OR MULTI-PURPOSE TOOLS NOT OTHERWISE PROVIDED FOR; DETAILS OR COMPONENTS OF PORTABLE POWER-DRIVEN TOOLS NOT PARTICULARLY RELATED TO THE OPERATIONS PERFORMED AND NOT OTHERWISE PROVIDED FOR
    • B25F5/00Details or components of portable power-driven tools not particularly related to the operations performed and not otherwise provided for

Definitions

  • the present disclosure generally relates to power tools, control methods, come-out detection methods, and programs, and more specifically, to power tools that control motors using vector control, power tool control methods, come-out detection methods, and programs.
  • Patent Document 1 discloses a power tool.
  • the power tool described in Patent Document 1 includes a motor, a trigger switch, a control unit, and a chuck.
  • the control unit controls the rotation speed of the motor based on the pull-in amount of the trigger switch.
  • a tip tool such as a hole saw can be attached to and detached from the chuck.
  • the motor is driven by the control unit when the trigger switch is pulled in. As a result, the tip tool rotates, and work such as drilling is possible.
  • the present disclosure has been made in view of the above reasons, and an object thereof is to improve the usability of the power tool.
  • the power tool includes a motor, an operation unit, a control unit, a transmission mechanism, and a housing.
  • the operation unit receives an operation from the user.
  • the control unit uses vector control to control the rotational operation of the motor in response to an operation on the operation unit.
  • the transmission mechanism transmits the rotational force of the rotating shaft of the motor to the tip tool that performs the work on the work object.
  • the housing houses at least the motor and the transmission mechanism.
  • the control unit has a detection function. In the detection function, the control unit detects a steep movement of the housing with respect to the work target or a sign thereof, based on at least one of a torque current and an exciting current supplied to the motor.
  • the control method is a power tool control method.
  • the power tool includes a motor, an operation unit, a transmission mechanism, and a housing.
  • the operation unit receives an operation from the user.
  • the transmission mechanism transmits the rotational force of the rotating shaft of the motor to the tip tool that performs the work on the work object.
  • the housing houses at least the motor and the transmission mechanism.
  • the control method includes controlling the rotational operation of the motor in response to an operation on the operation unit by utilizing vector control.
  • the control method includes detecting a steep movement of the housing with respect to the work object or a sign thereof, based on at least one of a torque current and an exciting current supplied to the motor.
  • the program according to one aspect of the present disclosure is a program for causing one or more processors to execute the control method.
  • the power tool includes a motor, a control unit, an output shaft, a transmission mechanism, and a come-out detection unit.
  • the control unit vector-controls the motor.
  • the output shaft is connected to the tip tool.
  • the transmission mechanism transmits the power of the motor to the output shaft.
  • the come-out detection unit detects a come-out or a sign of the come-out based on a physical quantity that correlates with the amplitude of the exciting current supplied to the motor.
  • the come-out is a phenomenon in which the tip tool and the screw to be worked by the tip tool are released from being fitted during the operation of the motor.
  • the come-out detection method is a come-out detection method executed for an electric tool including a motor, a control unit, an output shaft, and a transmission mechanism.
  • the control unit vector-controls the motor.
  • the output shaft is connected to the tip tool.
  • the transmission mechanism transmits the power of the motor to the output shaft.
  • the come-out detection method detects a come-out or a sign of the come-out based on a physical quantity that correlates with the amplitude of the exciting current supplied to the motor.
  • the come-out is a phenomenon in which the tip tool and the screw to be worked by the tip tool are released from being fitted during the operation of the motor.
  • the program according to one aspect of the present disclosure is a program for causing one or more processors to execute the come-out detection method.
  • FIG. 1 is a block diagram of a power tool according to the first embodiment.
  • FIG. 2 is a schematic view of the same power tool.
  • FIG. 3 is an explanatory diagram of vector control by the control unit of the same power tool.
  • FIG. 4 is a graph showing an operation example of the same power tool.
  • FIG. 5 is a flowchart showing a control method of the same power tool.
  • FIG. 6 is a block diagram of the power tool according to the second embodiment.
  • FIG. 7 is a schematic view of the same power tool.
  • FIG. 8 is an explanatory diagram of vector control by the control unit of the same power tool.
  • FIG. 9 is a cross-sectional view of a screw that is a work target of the power tool of the same.
  • FIG. 10 is a graph showing an operation example of the same power tool.
  • FIG. 11 is a graph showing another operation example of the same power tool.
  • FIG. 12 is a flowchart showing a come-out detection method in the same power tool.
  • Embodiment 1 the power tool 1 according to the present embodiment will be described with reference to the drawings.
  • the following embodiments are only one of the various embodiments of the present disclosure.
  • the following embodiments can be variously modified according to the design and the like as long as the object of the present disclosure can be achieved.
  • each figure described in the following embodiment is a schematic view, and the ratio of the size and the thickness of each component in the figure does not necessarily reflect the actual dimensional ratio. ..
  • the power tool 1 includes a motor 15, an operation unit 29, a control unit 4, a transmission mechanism 18, and a housing 9.
  • the operation unit 29 accepts operations from the user.
  • the control unit 4 uses vector control to control the rotational operation of the motor 15 in response to an operation on the operation unit 29.
  • the transmission mechanism 18 transmits the rotational force of the rotating shaft 16 of the motor 15 to the tip tool 28 that performs work on the work target 100.
  • the housing 9 houses at least the motor 15 and the transmission mechanism 18.
  • the tip tool 28 is, for example, a socket bit, a wrench bit, a driver bit, a hex lobe bit, or the like.
  • the work target 100 is, for example, wood, a wall, or the like.
  • the control unit 4 has a detection function.
  • the detection function is a function of detecting a steep movement of the housing 9 with respect to the work target 100 or a sign thereof.
  • the control unit 4 detects a steep movement of the housing 9 with respect to the work target 100 or a sign thereof, based on at least one of the torque current and the exciting current supplied to the motor 15.
  • the control unit 4 reduces the speed of the motor 15 or stops the motor 15 as a protective operation.
  • the control unit 4 stops the motor 15 as a protective operation.
  • the control unit 4 can take measures such as stopping the motor 15 in response to the sudden movement of the housing 9 or the detection of a sign thereof. Therefore, the usability of the power tool 1 can be improved by providing the detection function.
  • the torque current and exciting current used in the detection function are also used for vector control of the motor 15. Therefore, it is not necessary to newly add a dedicated sensor (for example, an acceleration sensor) for detecting the movement of the housing 9, and it is possible to suppress an increase in size and cost of the power tool 1.
  • a dedicated sensor for example, an acceleration sensor
  • the power tool 1 of the present embodiment will be described in more detail with reference to the drawings.
  • the power tool 1 of this embodiment is a so-called impact tool.
  • the impact tool is used as, for example, an impact driver, a hammer drill, an impact drill, an impact drill driver or an impact wrench.
  • an impact driver a hammer drill
  • an impact drill a hammer drill
  • an impact drill driver a hammer drill
  • an impact drill driver a so-called impact wrench
  • a case where the power tool 1 is used as an impact driver will be described.
  • the power tool 1 includes a motor 15, a transmission mechanism 18, an output shaft 21, a socket (chuck) 23, a tip tool 28, a power supply unit 32, and an operation unit 29.
  • a control unit 4, an inverter circuit unit 51, and a housing 9 are provided.
  • the housing 9 houses the motor 15, the transmission mechanism 18, the control unit 4, the inverter circuit unit 51, and a part of the output shaft 21.
  • the housing 9 is made of, for example, resin.
  • the housing 9 has a body portion 91 and a grip portion 92.
  • the shape of the body portion 91 is cylindrical.
  • the grip portion 92 protrudes from the body portion 91.
  • the motor 15 is a brushless motor.
  • the motor 15 of the present embodiment is a synchronous motor, and more specifically, a permanent magnet synchronous motor (PMSM (Permanent Magnet Synchronous Motor)).
  • the motor 15 includes a rotor 13 having a permanent magnet 131 and a stator 14 having a coil 141.
  • the rotor 13 has a rotating shaft 16 that outputs rotational power.
  • the rotor 13 rotates with respect to the stator 14 due to the electromagnetic interaction between the coil 141 and the permanent magnet 131.
  • the output shaft 21 is a portion that rotates by a driving force transmitted from the motor 15 via the transmission mechanism 18.
  • the socket 23 is fixed to the output shaft 21.
  • a tip tool 28 is detachably attached to the socket 23. That is, the tip tool 28 is connected to the output shaft 21. The tip tool 28 rotates together with the output shaft 21.
  • the power tool 1 rotates the tip tool 28 by rotating the output shaft 21 with the driving force of the motor 15. That is, the electric tool 1 is a tool that drives the tip tool 28 with the driving force of the motor 15. Of the various tip tools 28, the tip tool 28 according to the application is attached to the socket 23 and used. The tip tool 28 may be directly attached to the output shaft 21.
  • the power tool 1 of the present embodiment is provided with the socket 23 so that the tip tool 28 can be replaced according to the application, but it is not essential that the tip tool 28 can be replaced.
  • the power tool 1 may be a tool that can be used only by a specific tip tool 28.
  • the tip tool 28 of this embodiment is a driver bit for tightening or loosening the tightening member 30 (screw). More specifically, the tip tool 28 is a Phillips driver bit having a tip 280 formed in a + (plus) shape. That is, the output shaft 21 holds a driver bit for tightening or loosening a screw, and receives power from the motor 15 to rotate.
  • the type of screw is not particularly limited and may be, for example, a bolt, a screw or a nut.
  • the transmission mechanism 18 has an impact mechanism 17, a planetary gear mechanism 25, and a drive shaft 22.
  • the transmission mechanism 18 transmits the rotational power of the rotary shaft 16 of the motor 15 to the output shaft 21. More specifically, the transmission mechanism 18 adjusts the rotational power of the rotary shaft 16 of the motor 15 and outputs it as the rotation of the output shaft 21.
  • the rotating shaft 16 of the motor 15 is connected to the planetary gear mechanism 25.
  • the drive shaft 22 is connected to the planetary gear mechanism 25 and the impact mechanism 17.
  • the planetary gear mechanism 25 decelerates the rotational power of the rotating shaft 16 of the motor 15 at a predetermined reduction ratio and outputs it as the rotation of the drive shaft 22.
  • the impact mechanism 17 is connected to the output shaft 21.
  • the impact mechanism 17 transmits the rotational power of the motor 15 (rotary shaft 16) received via the planetary gear mechanism 25 and the drive shaft 22 to the output shaft 21.
  • the impact mechanism 17 performs a striking operation according to the magnitude of the torque applied to the output shaft 21.
  • the impact mechanism 17 applies a striking force to the output shaft 21 in the striking operation.
  • the impact mechanism 17 includes a hammer 19, an anvil 20, and a spring 24.
  • the hammer 19 is attached to the drive shaft 22 via a cam mechanism.
  • the anvil 20 is in contact with the hammer 19 and rotates integrally with the hammer 19.
  • the spring 24 pushes the hammer 19 toward the anvil 20.
  • the anvil 20 is integrally formed with the output shaft 21.
  • the anvil 20 may be formed separately from the output shaft 21 and fixed to the output shaft 21.
  • the impact mechanism 17 continuously rotates the output shaft 21 by the rotational power of the motor 15. That is, in this case, the drive shaft 22 and the hammer 19 connected by the cam mechanism rotate integrally, and the hammer 19 and the anvil 20 rotate integrally, so that the output shaft integrally formed with the anvil 20 is formed. 21 rotates with the drive shaft 22.
  • the impact mechanism 17 when a load equal to or higher than a predetermined threshold is applied to the output shaft 21, the impact mechanism 17 performs a striking operation.
  • the impact mechanism 17 converts the rotational power of the motor 15 into a pulsed torque to generate a striking force. That is, in the striking motion, the hammer 19 retracts against the spring 24 (away from the anvil 20) while being regulated by the cam mechanism between the hammer 19 and the drive shaft 22.
  • the connection between the hammer 19 and the anvil 20 is broken due to the retreat of the hammer 19, the hammer 19 advances while rotating (moves to the output shaft 21 side) and applies a striking force in the rotational direction to the anvil 20 to output. Rotate the shaft 21.
  • the impact mechanism 17 applies a rotational impact around the shaft (output shaft 21) to the output shaft 21 via the anvil 20.
  • the hammer 19 repeatedly applies a striking force in the rotational direction to the anvil 20. Each time the hammer 19 moves backward and forward, a striking force is generated once.
  • the power supply unit 32 supplies the current that drives the motor 15.
  • the power supply unit 32 is, for example, a battery pack.
  • the power supply unit 32 includes, for example, one or more secondary batteries.
  • the power supply unit 32 is detachably attached to, for example, the grip unit 92.
  • the operation unit 29 is provided with a trigger switch.
  • the trigger switch protrudes from the grip portion 92.
  • the on / off of the motor 15 can be switched by pulling the trigger switch.
  • the rotation speed of the motor can be adjusted by the pull-in amount of the operation of pulling the trigger switch.
  • the rotation speed of the output shaft 21 can be adjusted by the pull-in amount of the operation of pulling the trigger switch.
  • the larger the pull-in amount the faster the rotation speed of the motor 15 and the output shaft 21.
  • the control unit 4 rotates or stops the motor 15 and the output shaft 21 according to the pull-in amount of the operation of pulling the trigger switch, and also controls the rotation speed of the motor 15 and the output shaft 21.
  • the tip tool 28 is connected to the output shaft 21 via the socket 23. Then, the rotation speed of the tip tool 28 is controlled by controlling the rotation speed of the motor 15 and the output shaft 21 by operating the trigger switch.
  • the trigger switch includes a multi-step switch or a stepless switch (variable resistor) that outputs an operation signal.
  • the operation signal changes according to the operation amount (pull-in amount) to the trigger switch.
  • the trigger switch determines the target value ⁇ 1 * of the speed (rotation speed) of the motor 15 according to the operation signal and gives it to the control unit 4.
  • the control unit 4 controls the rotation of the motor 15 based on the target value ⁇ 1 * received from the trigger switch.
  • the inverter circuit unit 51 is a circuit for driving the motor 15.
  • the inverter circuit unit 51 the voltage V dc from the power supply unit 32, and converts the driving voltage V a of the motor 15.
  • the driving voltage V a is a three-phase AC voltage including a U-phase voltage, V-phase voltage and the W-phase voltage.
  • the U-phase voltage is represented by v u
  • the V-phase voltage is represented by v v
  • the W-phase voltage is represented by v w, if necessary.
  • Each voltage v u , v v , v w is a sinusoidal voltage.
  • the inverter circuit unit 51 can be realized by using a PWM inverter and a PWM converter.
  • the PWM converter pulses according to the target value (voltage command value) v u * , v v * , v w * of the drive voltage V a (U-phase voltage v u , V-phase voltage v v , W-phase voltage v w). Generates a width-modulated PWM signal.
  • the PWM inverter drives the motor 15 by applying a drive voltage Va (v u, v v , v w ) corresponding to the PWM signal to the motor 15. More specifically, the PWM inverter includes a half-bridge circuit for three phases and a driver.
  • the PWM inverter by the driver to turn on / off the switching element in each half bridge circuit in accordance with the PWM signal, * the voltage command value v u, v v *, v w * driving voltage in accordance with V a (v u, v v , v w ) is given to the motor 15.
  • the motor 15 the driving voltage V a (v u, v v , v w) drive current corresponding to the supplied.
  • the drive current includes a U-phase current i u , a V-phase current i v , and a W-phase current i w .
  • the U-phase current i u , the V-phase current i v , and the W-phase current i w are the current of the U-phase armature winding and the V-phase armature winding in the stator 14 of the motor 15. And the current of the W-phase armature winding.
  • the control unit 4 determines the command value ⁇ 2 * of the speed of the motor 15 based on the target value ⁇ 1 * of the speed of the motor 15 given by the operation unit 29.
  • the control unit 4 so that the speed of the motor 15 matches the command value omega 2 *, the drive voltage V target value of a (voltage command value) v u *, v v * , and determines the v w * , Is given to the inverter circuit unit 51.
  • Control Unit 4 controls the motor 15 by using vector control.
  • Vector control is a motor control method that decomposes the motor current into a current component (torque current) that generates torque (torque force) and a current component (excitation current) that generates magnetic flux, and controls each current component independently. It is a kind of.
  • FIG. 3 is an analysis model diagram of the motor 15 in vector control.
  • FIG. 3 shows U-phase, V-phase, and W-phase armature winding fixed shafts.
  • vector control a rotating coordinate system that rotates at the same speed as the rotation speed of the magnetic flux created by the permanent magnet 131 provided in the rotor 13 of the motor 15 is taken into consideration.
  • the direction of the magnetic flux created by the permanent magnet 131 is taken as the d-axis
  • the controlled rotating axis corresponding to the d-axis is taken as the ⁇ -axis.
  • the rotating coordinate system corresponding to the real axis is a coordinate system in which the d-axis and the q-axis are selected as the coordinate axes, and the coordinate axes are called the dq-axis.
  • the control rotating coordinate system is a coordinate system in which the ⁇ -axis and the ⁇ -axis are selected as the coordinate axes, and the coordinate axes are called the ⁇ -axis.
  • the dq axis is rotating, and its rotation speed is represented by ⁇ .
  • the ⁇ axis is also rotating, and its rotation speed is represented by ⁇ e.
  • the angle (phase) of the d axis as seen from the U-phase armature winding fixed axis is represented by ⁇ .
  • the angle (phase) of the ⁇ axis as seen from the U-phase armature winding fixed axis is represented by ⁇ e.
  • the angles represented by ⁇ and ⁇ e are angles in electrical angles, which are also commonly referred to as rotor positions or magnetic pole positions.
  • the rotation speed represented by ⁇ and ⁇ e is the angular velocity at the electric angle.
  • ⁇ or ⁇ e may be referred to as a rotor position
  • ⁇ or ⁇ e may be simply referred to as a velocity.
  • the control unit 4 basically performs vector control so that ⁇ and ⁇ e match.
  • ⁇ and ⁇ e coincide with each other, the d-axis and the q-axis coincide with the ⁇ -axis and the ⁇ -axis, respectively.
  • the gamma-axis component and [delta] -axis component of the drive voltage V a respectively expressed in gamma-axis voltage v gamma and [delta] -axis voltage v [delta], gamma-axis component and [delta] axis of the drive current
  • the components are represented by the ⁇ -axis current i ⁇ and the ⁇ -axis current i ⁇ , respectively.
  • the voltage command values representing the target values of the ⁇ -axis voltage v ⁇ and the ⁇ -axis voltage v ⁇ are represented by the ⁇ -axis voltage command value v ⁇ * and the ⁇ -axis voltage command value v ⁇ * , respectively.
  • the current command values representing the target values of the ⁇ -axis current i ⁇ and the ⁇ -axis current i ⁇ are represented by the ⁇ -axis current command value i ⁇ * and the ⁇ -axis current command value i ⁇ * , respectively.
  • the values of the ⁇ -axis voltage v ⁇ and the ⁇ -axis voltage v ⁇ follow the ⁇ -axis voltage command value v ⁇ * and the ⁇ -axis voltage command value v ⁇ * , respectively, and the ⁇ -axis current i ⁇ and the ⁇ -axis current the value of i [delta] is to follow the gamma-axis current value i gamma * and [delta] -axis current value i [delta] *, respectively, performs the vector control.
  • the control unit 4 includes a computer system having one or more processors and memories.
  • the processor of the computer system executes the program recorded in the memory of the computer system, at least a part of the functions of the control unit 4 are realized.
  • the program may be recorded in a memory, provided through a telecommunication line such as the Internet, or may be recorded and provided on a non-temporary recording medium such as a memory card.
  • the control unit 4 includes a coordinate converter 411, 412, a subtractor 421, 422, 423, a current control unit 43, a magnetic flux control unit 44, a speed control unit 45, and a position / speed. It includes an estimation unit 46, a step-out detection unit 47, a command value generation unit 48, and a movement detection unit 49.
  • the detection unit 49 does not necessarily show a substantive configuration. These show the functions realized by the control unit 4. Therefore, each element of the control unit 4 can freely use each value generated in the control unit 4.
  • the power tool 1 includes a plurality of current sensors 61 and 62 (two in FIG. 1).
  • Each of the plurality of current sensors 61, 62 includes, for example, a Hall element current sensor or a shunt resistance element.
  • the plurality of current sensors 61 and 62 measure the current supplied from the power supply unit 32 to the motor 15 via the inverter circuit unit 51.
  • the plurality of current sensors 61, 62 measure the current of at least two phases. In FIG. 1, the current sensor 61 measures the U-phase current i u , and the current sensor 62 measures the V-phase current i v .
  • the W-phase current i w can be obtained from the U-phase current i u and the V-phase current i v.
  • the coordinate converter (first coordinate converter) 411 transforms the U-phase current i u and the V-phase current i v on the ⁇ ⁇ axis based on the rotor position ⁇ e , thereby performing the ⁇ -axis current i ⁇ and the ⁇ -axis current i ⁇ .
  • ⁇ -axis current i ⁇ is calculated and output.
  • the ⁇ -axis current i ⁇ is an exciting current corresponding to the d-axis current and hardly contributes to torque.
  • the ⁇ -axis current i ⁇ is a current that corresponds to the q-axis current and greatly contributes to torque.
  • the rotor position ⁇ e is calculated by the position / velocity estimation unit 46.
  • the subtractor 423 refers to the velocity ⁇ e and the command value ⁇ 2 *, and calculates the velocity deviation ( ⁇ 2 * ⁇ e) between the two.
  • the velocity ⁇ e is calculated by the position / velocity estimation unit 46.
  • the speed control unit 45 calculates and outputs the ⁇ -axis current command value i ⁇ * so that the speed deviation ( ⁇ 2 * ⁇ e ) converges to zero by using proportional integration control or the like.
  • the magnetic flux control unit 44 determines the ⁇ -axis current command value i ⁇ * and outputs it to the subtractor 421.
  • the ⁇ -axis current command value i ⁇ * can take various values depending on the type of vector control executed by the control unit 4 and the speed ⁇ of the motor 15. For example, when the maximum torque is controlled with the d-axis current set to zero, the ⁇ -axis current command value i ⁇ * is set to 0. Further, when the d-axis current is passed to weaken the magnetic flux control, the ⁇ -axis current command value i ⁇ * is set to a negative value according to the velocity ⁇ e. In the following description, the case where the ⁇ -axis current command value i ⁇ * is 0 is dealt with.
  • the subtractor 421 subtracts the ⁇ -axis current i ⁇ output from the coordinate converter 411 from the ⁇ -axis current command value i ⁇ * output from the magnetic flux control unit 44 to reduce the current error (i ⁇ * -i ⁇ ). calculate.
  • the subtractor 422 subtracts the ⁇ -axis current i ⁇ output from the coordinate converter 411 from the value i ⁇ * output from the speed control unit 45, and calculates the current error (i ⁇ * ⁇ i ⁇ ).
  • the current control unit 43 performs current feedback control using proportional integration control or the like so that both the current error (i ⁇ * ⁇ i ⁇ ) and (i ⁇ * ⁇ i ⁇ ) converge to zero.
  • non-interference control for eliminating interference between the ⁇ axis and the ⁇ axis is used so that both (i ⁇ * -i ⁇ ) and (i ⁇ * -i ⁇ ) converge to zero.
  • the coordinate converter (second coordinate converter) 412 has ⁇ -axis voltage command values v ⁇ * and ⁇ given by the current control unit 43 based on the rotor position ⁇ e output from the position / speed estimation unit 46.
  • the voltage command values (v u * , v v * and v w * ) are calculated and output.
  • the position / velocity estimation unit 46 estimates the rotor position ⁇ e and the velocity ⁇ e . More specifically, the position / velocity estimation unit 46 uses all or a part of i ⁇ and i ⁇ from the coordinate converter 411 and v ⁇ * and v ⁇ * from the current control unit 43 to be proportional. Perform integration control, etc. The position / velocity estimation unit 46 estimates the rotor position ⁇ e and the velocity ⁇ e so that the axis error ( ⁇ e ⁇ ) between the d-axis and the ⁇ -axis converges to zero.
  • Various methods have been conventionally proposed as methods for estimating the rotor position ⁇ e and the velocity ⁇ e , and the position / velocity estimation unit 46 can adopt any known method.
  • the step-out detection unit 47 determines whether or not the motor 15 is step-out. More specifically, the step-out detection unit 47 determines whether or not the motor 15 is step-out based on the magnetic flux of the motor 15.
  • the magnetic flux of the motor 15 is obtained from the d-axis current, the q-axis current, the ⁇ -axis voltage command value v ⁇ *, and the ⁇ -axis voltage command value v ⁇ * . If the amplitude of the magnetic flux of the motor 15 is less than the threshold value, the step-out detection unit 47 may determine that the motor 15 is step-out.
  • the threshold value is appropriately determined based on the amplitude of the magnetic flux generated by the permanent magnet of the motor 15.
  • Various methods have been conventionally proposed as the step-out detection method, and the step-out detection unit 47 can adopt any known method.
  • the command value generation unit 48 is a portion of the control unit 4 that obtains the command value ⁇ 2 * of the speed of the motor 15.
  • the command value generation unit 48 sets the target value ⁇ 1 * received from the operation unit 29 as the command value ⁇ 2 * .
  • the movement detection unit 49 is the execution body of the above-mentioned detection function.
  • the movement detection unit 49 detects a steep movement of the housing 9 with respect to the work target 100 or a sign thereof, based on at least one of the torque current and the exciting current supplied to the motor 15.
  • the movement detection unit 49 detects a sudden increase in acceleration applied to the housing 9 based on at least one of the torque current and the exciting current supplied to the motor 15, and thus the housing 9 with respect to the work target 100. Detects a steep movement or a sign of it. In the present disclosure, when it is predicted that a steep movement of the housing 9 with respect to the work target 100 will occur from now on, there is a sign of a steep movement of the housing 9 with respect to the work target 100.
  • the movement detection unit 49 executes the detection function by using the ⁇ -axis current i ⁇ calculated by the coordinate converter 411 as the measured value of the exciting current and the ⁇ -axis current i ⁇ as the measured value of the torque current.
  • the steep movement of the housing 9 to be detected by the movement detection unit 49 includes, here, the movement of the housing 9 due to the reaction force from the work target 100.
  • the sign of abrupt movement of the housing 9 to be detected by the movement detection unit 49 includes, here, a sudden increase in the acceleration applied to the housing 9 due to the reaction force from the work target 100.
  • the movement detection unit 49 of the control unit 4 of the power tool 1 of the present embodiment makes such a steep movement of the housing 9 (around the output shaft 21) based on at least one of the torque current and the exciting current, here both. (Rotation) or its sign is detected.
  • FIG. 4 shows an outline of the speed ⁇ of the motor 15, the ⁇ -axis current i ⁇ (torque current), and the ⁇ -axis current i ⁇ (excitation current) when the screw is tightened to the work target 100 by the electric tool 1 (impact driver). An example is shown.
  • the supply of the electric current to the motor 15 starts at the time point t0, and the impact mechanism 17 starts the striking operation at the time point t1. Further, at the time point t2, the load applied to the output shaft 21 is increasing.
  • the period between the time points t0 and t1 may be referred to as the first period T1
  • the period between the time points t1 and t2 may be referred to as the second period T2
  • the period after the time point t2 may be referred to as the third period T3.
  • the speed ⁇ of the motor 15 increases following the increase in the pull-in amount of the trigger switch (the increase in the command value ⁇ 2 * of the motor 15). Then, after t4 when the pull-in amount of the trigger switch becomes constant at the upper limit value, the speed ⁇ of the motor 15 also converges to a constant value.
  • the load applied to the output shaft 21 does not exceed the threshold value at which the impact mechanism 17 starts the striking operation. Therefore, the impact mechanism 17 does not perform a striking operation, and the output shaft 21 rotates integrally with the drive shaft 22.
  • the load applied to the output shaft 21 reaches the threshold value at which the impact mechanism 17 starts the striking operation. Then, in the second period T2 after the time point t1, the impact mechanism 17 performs a striking operation. In the second period T2, the velocity ⁇ of the motor 15 vibrates around the command value ⁇ 2 * according to the striking operation of the impact mechanism 17.
  • the ⁇ -axis current i ⁇ (torque current) oscillates around a predetermined value Ip ⁇ 1 according to the striking operation of the impact mechanism 17.
  • the load applied to the rotating shaft 16 of the motor 15 gradually increases while the hammer 19 retracts. Then, when the connection between the hammer 19 and the anvil 20 is disengaged, the load applied to the rotating shaft 16 of the motor 15 is reduced.
  • the control unit 4 controls so that the rotor position ⁇ on the dq axis and the rotor position ⁇ e on the ⁇ axis coincide with each other.
  • the control unit 4 controls so as to compensate for the difference between ⁇ and ⁇ e caused by this, so that the measured value of the ⁇ -axis current i ⁇ Increases or decreases. Specifically, immediately after the load applied to the motor 15 becomes small, the measured value of the ⁇ -axis current i ⁇ decreases, and at the moment when the load applied to the motor 15 increases, the measured value of the ⁇ -axis current i ⁇ decreases. To increase. It should be noted that one round trip of the vibration of the ⁇ -axis current i ⁇ in FIG. 4 corresponds to one striking operation by the impact mechanism 17.
  • the ⁇ -axis current i ⁇ (exciting current) oscillates around a current value of zero according to the striking operation of the impact mechanism 17. That is, the control unit 4 controls so as to compensate the difference between ⁇ and ⁇ e according to the increase or decrease of the load applied to the rotating shaft 16 of the motor 15, so that it is the same as the delta axis current i ⁇ (details).
  • One round trip of the vibration of the ⁇ -axis current i ⁇ in FIG. 4 corresponds to one striking operation by the impact mechanism 17.
  • the control unit 4 detects the presence or absence of vibration of the ⁇ -axis current i ⁇ (torque current) or the ⁇ -axis current i ⁇ (excitation current), thereby causing the impact mechanism 17 to perform a striking operation (striking operation). Start and end) can be detected.
  • the control unit 4 detects the presence or absence of vibration of the ⁇ -axis current i ⁇ or the ⁇ -axis current i ⁇ by comparing the amplitude of the ⁇ -axis current i ⁇ or the ⁇ -axis current i ⁇ with a predetermined threshold value, for example.
  • the amplitude of the current is defined as, for example, 1/2 of the difference between the maximum value and the minimum value of the current per unit time.
  • the load applied to the screw increases rapidly, so that the load applied to the output shaft 21 increases.
  • the impact mechanism 17 continues the striking operation immediately after the time point (time point t2) when the load applied to the screw increases.
  • the control unit 4 increases the torque current ( ⁇ -axis current i ⁇ ) supplied to the motor 15 in accordance with the increase in the load applied to the rotating shaft 16. Therefore, in the third period T3, the ⁇ -axis current i ⁇ (torque current) oscillates around a predetermined value Ip ⁇ 2 (> Ip ⁇ 1) according to the striking operation of the impact mechanism 17.
  • the movement detection unit 49 By detecting the increase in the ⁇ -axis current i ⁇ (torque current), the movement detection unit 49 detects a steep movement of the housing 9 or a sign thereof due to an increase in the load applied to the rotating shaft 16. .. Specifically, the movement detection unit 49 detects that any one of the maximum value, the minimum value, and the average value of the torque current ( ⁇ -axis current i ⁇ ) has increased, so that the housing 9 is steep. Detect movement or its signs.
  • the movement detection unit 49 detects that the maximum value (or minimum value or average value) of the torque current per unit time is increased by a predetermined threshold value or more from the value immediately after the start of the striking operation, the housing It is determined that a steep movement has occurred in 9 or there is a sign thereof.
  • control unit 4 determines in the detection function that there is a steep movement of the housing 9 when the load applied to the rotating shaft 16 obtained based on the torque current becomes a predetermined value or more.
  • the predetermined value here can be set to the above-mentioned predetermined value Ip ⁇ 1 when the detection target is, for example, the average value of the torque current.
  • the control unit 4 performs control so as to compensate for the difference between theta and theta e, an increase in the difference between theta and theta e is, gamma reduction of the minimum value of the axial current i gamma (the maximum value of the negative direction It appears as an increase in absolute value) (see FIG. 4).
  • the movement detection unit 49 detects a sharp movement of the housing 9 or a sign thereof due to an increase in the load applied to the rotating shaft 16 by detecting a decrease in the minimum value of the ⁇ -axis current i ⁇ (exciting current). doing. Specifically, the movement detection unit 49 indicates that the minimum value of the exciting current ( ⁇ -axis current i ⁇ ) has decreased (increased when viewed in absolute value) from the value immediately after the start of the striking operation. By detecting, a steep movement of the housing 9 or a sign thereof is detected. For example, when the movement detection unit 49 detects that the minimum value of the exciting current per unit time is equal to or less than a predetermined threshold value, it may determine that a steep movement has occurred in the housing 9 or that there is a sign thereof. Good.
  • the movement detection unit 49 detects a steep movement of the housing 9 with respect to the work target 100 or a sign thereof, based on at least one of the torque current and the exciting current supplied to the motor 15.
  • the movement detection unit 49 may detect a steep movement of the housing 9 or a sign thereof based on the logical sum of the detection result based on the exciting current and the detection result based on the torque current, or the housing 9 based on the logical product. 9 steep movements or signs thereof may be detected.
  • the control unit 4 When the control unit 4 detects a steep movement of the housing 9 or a sign thereof, the control unit 4 executes a protective operation.
  • the control unit 4 stops the motor 15 as a protective operation.
  • the control unit 4 for example, the target value of the driving voltage V a applied to inverter circuit 51 (voltage value) v u *, v v * , v a w * With 0, stops the motor 15.
  • the control unit 4 for example, the target value of the driving voltage V a applied to inverter circuit 51 (voltage value) v u *, v v * , v a w * With 0, stops the motor 15.
  • the housing 9 has a steep movement or a sign thereof, the rotation of the motor 15 which causes the sudden movement is stopped, so that the load applied to the user from the power tool 1 is reduced. Therefore, according to the power tool 1 of the present embodiment, it is possible to improve the usability.
  • control unit 4 of the power tool 1 may be realized by a control method of the power tool 1, a (computer) program, a non-temporary recording medium on which the program is recorded, or the like.
  • the control method of the power tool 1 includes controlling the rotational operation of the motor 15 in response to an operation on the operation unit 29 by using vector control. Further, the control method includes detecting a steep movement of the housing 9 with respect to the work target 100 or a sign thereof based on at least one of the torque current and the exciting current supplied to the motor 15.
  • the control unit 4 uses the command value ⁇ 2 * set according to the amount of operation to the operation unit 29 to drive the motor 15.
  • Vector control ST1
  • the control unit 4 determines whether or not there is a steep movement of the housing 9 or a sign thereof based on the torque current while the motor 15 is vector-controlled (ST2), and the steepness of the housing 9 is determined based on the exciting current. The presence or absence of movement or its sign is determined (ST3).
  • ST4 detects a steep movement of the housing 9 or a sign thereof based on one or both of the torque current and the exciting current (ST4: Yes)
  • the control unit 4 stops the motor 15 as a protective operation (ST5).
  • FIG. 5 is an example of the control method of the present embodiment, and the process does not necessarily have to be executed according to the flowchart of FIG.
  • step ST2 and step ST3 may be executed in the reverse order or may be executed at the same time.
  • the program according to one aspect is a program for causing one or more processors to execute the control method of the power tool 1 described above.
  • the execution subject of the control unit 4 described above includes a computer system.
  • a computer system mainly consists of a processor and a memory as hardware.
  • the processor executes the program recorded in the memory of the computer system, a part of the function as the control unit 4 in the present disclosure is realized.
  • the program may be pre-recorded in the memory of the computer system, may be provided through a telecommunication line, and may be recorded on a non-temporary recording medium such as a memory card, optical disk, hard disk drive, etc. that can be read by the computer system. May be provided.
  • a processor in a computer system is composed of one or more electronic circuits including a semiconductor integrated circuit (IC) or a large scale integrated circuit (LSI).
  • IC semiconductor integrated circuit
  • LSI large scale integrated circuit
  • the integrated circuit such as IC or LSI referred to here has a different name depending on the degree of integration, and includes an integrated circuit called a system LSI, VLSI (Very Large Scale Integration), or ULSI (Ultra Large Scale Integration).
  • an FPGA Field-Programmable Gate Array
  • a plurality of electronic circuits may be integrated on one chip, or may be distributed on a plurality of chips.
  • the plurality of chips may be integrated in one device, or may be distributed in a plurality of devices.
  • the computer system referred to here includes a microprocessor having one or more processors and one or more memories. Therefore, the microprocessor is also composed of one or a plurality of electronic circuits including a semiconductor integrated circuit or a large-scale integrated circuit.
  • control unit 4 it is not an essential configuration that a plurality of functions in the control unit 4 are integrated in one housing.
  • the components of the control unit 4 may be dispersedly provided in a plurality of housings.
  • a plurality of functions in the control unit 4 may be integrated in one housing as in the first embodiment.
  • at least a part of the functions of the control unit 4, for example, a part of the functions of the control unit 4 may be realized by a cloud (cloud computing) or the like.
  • the power tool 1 of this modified example is, for example, a hammer drill.
  • the steep movement of the housing 9 detected by the movement detection unit 49 causes a sharp decrease in the load applied to the tip tool 28 (output shaft 21) from the work target 100 (loss of load). Includes movement of the housing 9 due to.
  • the sign of abrupt movement of the housing 9 detected by the movement detection unit 49 is a sudden decrease in the load applied to the output shaft 21 from the work target 100 (loss of load), resulting in a sudden acceleration applied to the housing 9. Including increase.
  • the tip tool 28 when a drill bit is used as the tip tool 28 to drill a hole in wood (work target 100), the bit may penetrate the wood. In this case, the load received from the wood is sharply reduced, so that the housing 9 may suddenly move forward together with the tip tool 28 (the steep movement of the housing 9).
  • the movement detection unit 49 of the control unit 4 of the power tool 1 of the present modification detects such a steep movement of the housing 9 or a sign thereof based on at least one of the torque current and the exciting current, here both. ..
  • the speed ⁇ of the motor 15 before the drill bit penetrates the wood the ⁇ -axis current i ⁇ (torque current), and the ⁇ -axis.
  • the outline of the current i ⁇ (exciting current) is the same as that of the first period T1 and the second period T2 of the first embodiment.
  • the ⁇ -axis current i ⁇ (torque current) decreases as the load applied to the rotating shaft 16 decreases. That is, the steep movement of the housing 9 due to the completion of drilling the work target 100 is the opposite of the steep movement of the housing 9 due to the reaction force from the work target 100 (see the first embodiment), and the torque current is increased. It appears as a decrease in the maximum, minimum, and average current values.
  • the movement detection unit 49 detects a steep movement of the housing 9 or a sign thereof due to the decrease in the load applied to the output shaft 21.
  • the movement detection unit 49 detects an increase in the minimum value of the ⁇ -axis current i ⁇ (excitation current) to detect a steep movement of the housing 9 or a sign thereof due to a decrease in the load applied to the output shaft 21. ..
  • the movement detection unit 49 detects a steep movement of the housing 9 with respect to the work target 100 or a sign thereof, based on at least one of the torque current and the exciting current supplied to the motor 15.
  • the movement detection unit 49 may detect a steep movement of the housing 9 or a sign thereof based on the logical sum of the detection result based on the exciting current and the detection result based on the torque current, or the housing 9 based on the logical product. 9 steep movements or signs thereof may be detected.
  • the power tool 1 may have both the detection function of the present modification and the detection function of the first embodiment.
  • the power tool 1 of this modification is different from the power tool 1 of the first embodiment in that the transmission mechanism 18 does not have the impact mechanism 17, for example, the drive shaft 22 and the output shaft 21 are integrally connected. To do.
  • the power tool 1 of this modification is, for example, a drill driver.
  • the outline of the speed ⁇ , the ⁇ -axis current i ⁇ , and the ⁇ -axis current i ⁇ of the motor 15 is as follows in the second period T2. It is the same as those of the first embodiment except that there is no such thing.
  • the outlines of the speed ⁇ of the motor 15, the ⁇ -axis current i ⁇ , and the ⁇ -axis current i ⁇ are as follows, except that there is no second period T2. , The same as described in the first modification.
  • control unit 4 moves the control unit 4 (movement detection unit 49) has a steep housing 9 with respect to the work target 100 based on at least one of the torque current and the exciting current supplied to the motor 15. Movement or its signs can be detected.
  • the current value of the ⁇ -axis current i ⁇ and the current value of the ⁇ -axis current i ⁇ may not oscillate in the third period T3 (or the period after penetration).
  • control unit 4 stops the motor 15 as a protective operation by setting the command value ⁇ 2 * generated by the command value generation unit 48 to 0. May be good.
  • control unit 4 of the power tool 1 may reduce the rotation speed of the motor 15 as a protective operation.
  • control unit 4 may block the transmission of the rotational force of the rotating shaft 16 of the motor 15 to the tip tool 28 as a protective operation.
  • the transmission mechanism 18 includes a clutch mechanism
  • the clutch mechanism may block the transmission of the rotational force of the rotating shaft 16 of the motor 15 to the tip tool 28.
  • the clutch mechanism may be realized by, for example, an electronic clutch.
  • the control unit 4 performs the ratio of the speed of the tip tool 28 to the speed of the rotation shaft 16 of the motor 15 as a protective operation ( The reduction ratio) may be reduced.
  • the power tool 1 may be an electric saw provided with a circular saw blade as the tip tool 28.
  • the power tool 1 may be an electric hydraulic tool (oil pulse impact tool, etc.).
  • the power tool 1 may include an acceleration sensor or a gyro sensor that detects a steep movement of the housing 9 or a sign thereof.
  • the control unit 4 may further refer to the detection result of the sensor and detect a steep movement of the housing 9 or a sign thereof.
  • the power tool 1 may include a switching unit for switching between enabling and disabling the detection function.
  • the switching unit may include, for example, a switch that accepts a user's operation.
  • the detection function is enabled or disabled according to the operation of the switch.
  • control unit 4 may invalidate at least one of the detection function and the protection operation.
  • control unit 4 may include a storage unit that stores the history of the protection operation.
  • the control unit 4 may be configured not to perform the protection operation when, for example, a steep movement of the housing 9 or a sign thereof is detected within a predetermined time after the protection operation is executed. For example, when the steep movement of the housing 9 or its sign is detected once and the motor 15 is stopped (protection operation is executed), and then the steep movement of the housing 9 or its sign is detected again within a predetermined time, the control unit 4 maintains the rotational operation of the motor 15 without stopping the motor 15. As a result, work efficiency can be improved.
  • Embodiment 2 provides a power tool, a come-out detection method, and a program capable of detecting a come-out or a sign of a come-out.
  • the power tool 101 of the present embodiment is an impact tool.
  • the power tool 101 (see FIG. 7) is used as, for example, an impact driver, a hammer drill, an impact drill, an impact drill driver, or an impact wrench.
  • an impact driver a hammer drill
  • an impact drill a drill
  • an impact drill driver a drill
  • an impact wrench a wrench
  • the power tool 1 is used as an impact driver for screwing a screw
  • the same components as those of the power tool 1 of the first embodiment may be designated by the same reference numerals and description thereof may be omitted as appropriate.
  • the power tool 101 includes a motor 15, a control unit 104, an output shaft 21, a transmission mechanism 18, and a come-out detection unit 54.
  • the control unit 104 vector-controls the motor 15.
  • the output shaft 21 is connected to the tip tool 28.
  • the transmission mechanism 18 transmits the power of the motor 15 to the output shaft 21.
  • the come-out detection unit 54 detects a come-out or a sign of come-out based on a physical quantity that correlates with the amplitude of the exciting current (current measurement value id1) supplied to the motor 15.
  • the come-out is a phenomenon in which the tip tool 28 and the screw (tightening member 30) to be worked by the tip tool 28 are released from being fitted during the operation of the motor 15.
  • the power tool 101 of the present embodiment it is possible to detect a come-out or a sign of a come-out. Therefore, it is possible to take measures according to the detection of the come-out or the sign of the come-out automatically or by the operation of the operator.
  • the motor 15 is a brushless motor.
  • the motor 15 of the present embodiment is a synchronous motor, and more specifically, a permanent magnet synchronous motor (PMSM (Permanent Magnet Synchronous Motor)).
  • PMSM Permanent Magnet Synchronous Motor
  • the vector control decomposes the current supplied to the coil 141 of the motor 15 into a current component (exciting current) that generates a magnetic flux and a current component (torque current) that generates a torque (rotational force).
  • a type of motor control method that controls each current component independently.
  • the current measurement value id1 is used for both vector control and detection of come-out or a sign of come-out. Therefore, a part of the circuit for vector control and a part of the circuit for detecting the come-out or the sign of the come-out can be shared. As a result, the area and dimensions of the circuit provided in the power tool 101 can be reduced, and the cost required for the circuit can be reduced.
  • the power tool 101 includes a power supply unit 32, a motor 15, a motor rotation measuring unit 27, a transmission mechanism 18, an output shaft 21, and a socket (chuck). ) 23 and a tip tool 28. Further, the power tool 101 includes a trigger switch 29 and a control unit 104. The control unit 104 has a striking detection unit 149 for detecting the presence or absence of a striking motion of the impact mechanism 17.
  • the power tool 101 rotates the output shaft 21 by the driving force of the motor 15 to rotate the tip tool 28 attached to the socket 23.
  • the tip tool 28 of this embodiment is a driver bit for tightening or loosening the tightening member 30 (screw). More specifically, the tip tool 28 is a Phillips driver bit having a tip 280 formed in a + (plus) shape. That is, the output shaft 21 holds a driver bit for tightening or loosening a screw, and receives power from the motor 15 to rotate.
  • the type of screw is not particularly limited and may be, for example, a bolt, a screw or a nut.
  • the tightening member 30 of this embodiment is a wood screw.
  • the tightening member 30 has a head portion 301, a cylindrical portion 302, and a screw portion 303.
  • the head 301 is connected to the first end of the cylindrical portion 302.
  • a screw portion 303 is connected to the second end of the cylindrical portion 302.
  • the head 301 is formed with a screw hole 310 (see FIG. 9) that fits the tip tool 28.
  • the screw hole 310 is, for example, a + -shaped hole.
  • a thread is formed in the threaded portion 303.
  • the tip tool 28 fits with the tightening member 30. That is, the tip tool 28 is inserted into the screw hole 310 of the head 301 of the tightening member 30. In this state, the tip tool 28 is driven by the motor 15 to rotate, and rotates the tightening member 30. As a result, the tightening member 30 (wood screw) is embedded in the member to be screwed while forming a hole and a screw groove in the member to be screwed (for example, a wall material). That is, the tip tool 28 applies a tightening force (or a loosening force) to the tightening member 30.
  • the tip tool 28 and the tightening member 30 are fitted by pointing to a state in which at least a part of the tip portion 280 of the tip tool 28 is inserted into the screw hole 310 (see FIG. 9) of the tightening member 30.
  • the tip portion 280 of the tip tool 28 goes out of the screw hole 310 from the state where the tip tool 28 and the tightening member 30 are fitted during the operation (rotation) of the motor 15. It is said that a phenomenon in which the tip tool 28 and the tightening member 30 are disengaged, that is, a come-out occurs.
  • the tip portion 280 is in the screw hole 310 and it is predicted that a come-out will occur from now on, it is said that there is a sign of a come-out.
  • the transmission mechanism 18, the operation unit 29, and the power supply unit 32 of the power tool 101 are the same as those of the power tool 1.
  • the operation unit 29 may be referred to as a trigger switch 29.
  • the motor rotation measuring unit 27 measures the rotation angle of the motor 15.
  • a photoelectric encoder or a magnetic encoder can be adopted.
  • the power tool 101 includes an inverter circuit section 51 (see FIG. 6).
  • the inverter circuit unit 51 supplies a current to the motor 15.
  • the control unit 104 is used together with the inverter circuit unit 51, and controls the operation of the motor 15 by feedback control.
  • Control unit 104 includes a computer system having one or more processors and memories. When the processor of the computer system executes the program recorded in the memory of the computer system, at least a part of the functions of the control unit 4 are realized.
  • the program may be recorded in a memory, provided through a telecommunication line such as the Internet, or may be recorded and provided on a non-temporary recording medium such as a memory card.
  • the control unit 104 includes a command value generation unit 140, a speed control unit 142, a current control unit 143, a first coordinate converter 144, a second coordinate converter 145, and a magnetic flux. It has a control unit 146, an estimation unit 147, a step-out detection unit 148, a hit detection unit 149, a come-out detection unit 54, and a notification unit 55. Further, the power tool 101 includes a plurality of current sensors 61 and 62 (two in FIG. 6).
  • Each of the plurality of current sensors 61 and 62 includes, for example, a Hall element current sensor or a shunt resistance element.
  • the plurality of current sensors 61 and 62 measure the current supplied from the power supply unit 32 (see FIG. 7) to the motor 15 via the inverter circuit unit 51.
  • a three-phase current (U-phase current, V-phase current, and W-phase current) is supplied to the motor 15, and the plurality of current sensors 61 and 62 supply currents of at least two of the three phases. Measure.
  • the current sensor 61 measures the U-phase current and outputs the measured current value iu1
  • the current sensor 62 measures the V-phase current and outputs the measured current value iv1.
  • the estimation unit 147 time-differentiates the rotation angle ⁇ 1 of the motor 15 measured by the motor rotation measurement unit 27 to calculate the angular velocity ⁇ 1 of the motor 15 (angular velocity of the rotation shaft 16).
  • the acquisition unit 60 has two current sensors 61 and 62 and a second coordinate converter 145.
  • the acquisition unit 60 acquires the d-axis current (excitation current) and the q-axis current (torque current) supplied to the motor 15. That is, the two-phase currents measured by the two current sensors 61 and 62 are converted by the second coordinate converter 145, so that the current measurement value id1 of the d-axis current and the current measurement value iq1 of the q-axis current are obtained. Calculated.
  • the second coordinate converter 145 converts the current measurement values iu1 and iv1 measured by the plurality of current sensors 61 and 62 based on the rotation angle ⁇ 1 of the motor 15 measured by the motor rotation measurement unit 27.
  • the current measurement values id1 and iq1 are calculated. That is, the second coordinate converter 145 corresponds to the current measurement values iu1 and iv1 corresponding to the three-phase current, the current measurement value id1 corresponding to the magnetic field component (d-axis current), and the torque component (q-axis current). It is converted into the current measured value iq1.
  • the command value generation unit 140 generates the command value c ⁇ 1 of the angular velocity of the motor 15.
  • the command value generation unit 140 generates, for example, the command value c ⁇ 1 according to the pull-in amount of the operation of pulling the trigger switch 29 (see FIG. 7). That is, the command value generation unit 41 increases the command value c ⁇ 1 of the angular velocity as the pull-in amount increases.
  • the speed control unit 142 generates the command value ciq1 based on the difference between the command value c ⁇ 1 generated by the command value generation unit 140 and the angular velocity ⁇ 1 calculated by the estimation unit 147.
  • the command value ciq1 is a command value that specifies the magnitude of the torque current (q-axis current) of the motor 15.
  • the speed control unit 142 determines the command value ciq1 so as to reduce the difference between the command value c ⁇ 1 and the angular velocity ⁇ 1.
  • the magnetic flux control unit 146 generates a command value cid1 based on the angular velocity ⁇ 1 calculated by the estimation unit 147, the command value cvq1 (described later) generated by the current control unit 143, and the current measurement value iq1. ..
  • the command value cid1 is a command value that specifies the magnitude of the exciting current (d-axis current) of the motor 15. That is, the control unit 104 controls the operation of the motor 15 so that the exciting current (d-axis current) supplied to the coil 141 of the motor 15 approaches the command value cid1.
  • the command value cid1 generated by the magnetic flux control unit 146 is a command value for setting the magnitude of the exciting current to 0.
  • the magnetic flux control unit 146 may generate a command value cid1 for constantly setting the magnitude of the exciting current to 0, or, if necessary, to make the magnitude of the exciting current larger or smaller than 0.
  • the command value id1 of may be generated.
  • a negative exciting current weak magnetic flux current
  • the current control unit 143 generates the command value cvd1 based on the difference between the command value cyd1 generated by the magnetic flux control unit 146 and the current measurement value id1 calculated by the second coordinate converter 145.
  • the command value cvd1 is a command value that specifies the magnitude of the d-axis voltage of the motor 15.
  • the current control unit 143 determines the command value cvd1 so as to reduce the difference between the command value cid1 and the current measurement value id1.
  • the current control unit 143 generates the command value cvq1 based on the difference between the command value iq1 generated by the speed control unit 142 and the current measurement value iq1 calculated by the second coordinate converter 145.
  • the command value cvq1 is a command value that specifies the magnitude of the q-axis voltage of the motor 15.
  • the current control unit 143 generates the command value cvq1 so as to reduce the difference between the command value iq1 and the current measurement value iq1.
  • the first coordinate converter 144 converts the command values cvd1 and cvq1 into coordinates based on the rotation angle ⁇ 1 of the motor 15 measured by the motor rotation measuring unit 27, and calculates the command values cvu1, cvv1 and cvw1. That is, the first coordinate converter 144 sets the command value cvd1 corresponding to the magnetic field component (d-axis voltage) and the command value cvq1 corresponding to the torque component (q-axis voltage) to the command value corresponding to the three-phase voltage. Convert to cvu1, cvv1, cvw1.
  • the command value cvu1 corresponds to the U-phase voltage
  • the command value cvv1 corresponds to the V-phase voltage
  • the command value cvw1 corresponds to the W-phase voltage.
  • the control unit 104 controls the electric power supplied to the motor 15 by controlling the inverter circuit unit 51 by PWM (Pulse Width Modulation). As a result, the inverter circuit unit 51 supplies the motor 15 with a three-phase voltage corresponding to the command values cv1, cvv1, and cvw1.
  • PWM Pulse Width Modulation
  • the motor 15 is driven by the electric power (three-phase voltage) supplied from the inverter circuit section 51 to generate rotational power.
  • control unit 104 controls the exciting current so that the exciting current flowing through the coil 141 of the motor 15 has a magnitude corresponding to the command value cid1 generated by the magnetic flux control unit 146. Further, the control unit 4 controls the angular velocity of the motor 15 so that the angular velocity of the motor 15 becomes the angular velocity corresponding to the command value c ⁇ 1 generated by the command value generation unit 41.
  • the step-out detection unit 148 detects the step-out of the motor 15 based on the current measurement values id1 and iq1 acquired from the second coordinate converter 145 and the command values cvd1 and cvq1 acquired from the current control unit 143. To do. When step-out is detected, the step-out detection unit 148 transmits a stop signal cs1 to the inverter circuit unit 51 to stop the power supply from the inverter circuit unit 51 to the motor 15.
  • the hit detection unit 149 detects the presence or absence of a hit operation of the impact mechanism 17. Details of the impact detection unit 149 will be described later.
  • FIG. 8 is an analysis model diagram of vector control.
  • FIG. 8 shows U-phase, V-phase, and W-phase armature winding fixed shafts.
  • a rotating coordinate system that rotates at the same speed as the rotation speed of the magnetic flux created by the permanent magnet 131 provided in the rotor 13 of the motor 15 is taken into consideration.
  • the direction of the actual magnetic flux generated by the permanent magnet 131 is the direction of the d-axis
  • the coordinate axis corresponding to the control of the motor 15 by the control unit 4 and the coordinate axis corresponding to the d-axis is the ⁇ -axis.
  • the q-axis is taken as the phase advanced by 90 degrees in the electric angle from the d-axis
  • the ⁇ -axis is taken as the phase advanced by 90 degrees in the electric angle from the ⁇ -axis.
  • the dq axis is rotating, and its rotation speed is represented by ⁇ .
  • the ⁇ axis is also rotating, and its rotation speed is represented by ⁇ e.
  • the ⁇ e in FIG. 8 coincides with the ⁇ 1 in FIG.
  • the angle (phase) of the d axis as seen from the U-phase armature winding fixed axis is represented by ⁇ .
  • the angle (phase) of the ⁇ axis as seen from the U-phase armature winding fixed axis is represented by ⁇ e.
  • ⁇ e in FIG. 8 coincides with ⁇ 1 in FIG.
  • the angles represented by ⁇ and ⁇ e are angles in the electric angle, and are also called rotor positions or magnetic pole positions.
  • the rotation speed represented by ⁇ and ⁇ e is the angular velocity at the electric angle.
  • the control unit 4 basically controls so that ⁇ and ⁇ e match. Therefore, when the command value cid1 of the d-axis current is 0 and the load applied to the motor 15 increases or decreases, the control unit 4 controls so as to compensate for the difference between ⁇ and ⁇ e caused by this.
  • the current measurement value id1 of the d-axis current becomes a positive value or a negative value.
  • the current measured value id1 of the d-axis current becomes a positive value
  • the current measured value id1 becomes negative. It becomes a value.
  • the impact mechanism 17 performs a striking operation according to the magnitude of the torque applied to the output shaft 21.
  • the impact detection unit 149 detects the presence or absence of a impact operation of the impact mechanism 17 based on at least one of the torque current and the exciting current supplied to the coil 141 of the motor 15.
  • FIGS. 10 and 11 Since the force by which the user presses the tip tool 28 against the tightening member 30 is smaller in the case of FIG. 10 than in the case of FIG. 11, the behavior of the power tool 101 is different between FIGS. 10 and 11. In FIGS.
  • N1 is the rotation speed of the motor 15 (rotor 13)
  • cN1 is the command value of the rotation speed of the motor 15. That is, the command value cN1 is a value obtained by converting the command value c ⁇ 1 of the angular velocity of the motor 15 into the rotation speed.
  • Bd1 is a value obtained by plotting the maximum value (peak value) of the current measurement value id1 of the d-axis current per unit time for each unit time (for example, several milliseconds to several tens of milliseconds).
  • Bd2 is a value obtained by plotting the minimum value of the current measurement value id1 of the d-axis current per unit time for each unit time (for example, several milliseconds to several tens of milliseconds).
  • Bd1 is a positive value
  • Bd2 is a negative value.
  • Bd1 is referred to as a positive d-axis current measurement value
  • Bd2 is referred to as a negative d-axis current measurement value.
  • the positive d-axis current measurement value Bd1 and the negative d-axis current measurement value Bd2 are physical quantities that correlate with the amplitude of the d-axis current (excitation current).
  • the physical quantity that correlates with the amplitude of the d-axis current includes the amplitude of the d-axis current itself and the physical quantity calculated from the amplitude of the d-axis current.
  • the impact detection unit 149 detects the presence or absence of an impact operation based on both the current measurement values id1 and iq1. More specifically, with respect to the current measurement value id1, the impact detection unit 149 determines whether or not the following first condition is satisfied.
  • the first condition is that the amplitude of the measured current value id1 is larger than the predetermined d-axis threshold value.
  • the amplitude of the current measurement value id1 is defined as, for example, 1/2 of the difference between the maximum value and the minimum value of the current measurement value id1 per unit time.
  • the amplitude of the current measurement value id1 is defined as, for example, 1/2 of the difference between the maximum value of the positive d-axis current measurement value Bd1 and the minimum value of the negative d-axis current measurement value Bd2 per unit time. ..
  • the impact detection unit 149 determines, for example, whether or not the first condition is satisfied for each unit time.
  • the amplitude A1 illustrated in FIG. 10 is a current measurement defined by a current measurement value id1 at each time point from a certain time point t15 until a unit time (for example, several milliseconds to several tens of milliseconds) elapses. It is twice the amplitude of the value id1.
  • the impact detection unit 149 detects the presence or absence of the impact operation based on the amplitude of the current measurement value id1 (excitation current).
  • the impact detection unit 149 determines whether or not the following second condition is satisfied.
  • the second condition is that the amount of decrease in the current measurement value iq1 per predetermined time (for example, several tens of milliseconds) is larger than the predetermined q-axis threshold value.
  • the hit detection unit 149 determines, for example, whether or not the second condition is satisfied at each predetermined time.
  • the impact detection unit 149 detects the presence or absence of the impact operation based on the amount of decrease in the current measurement value iq1 (torque current) per predetermined time.
  • the impact detection unit 149 for example, when the time required from the satisfaction of one of the first condition and the second condition to the satisfaction of the other is equal to or less than a predetermined time threshold value, the impact mechanism 17 performs a striking operation. Outputs the detection result that it is doing. Further, the impact detection unit 149 outputs a detection result that the impact mechanism 17 is not performing the impact operation in other cases.
  • the load applied to the motor 15 increases and decreases from moment to moment, and when the striking operation starts, the amount of increase and decrease in the load applied to the motor 15 increases, so that the difference between ⁇ and ⁇ e becomes large, and the current of the exciting current is measured.
  • the amplitude of the value id1 increases.
  • the load applied to the motor 15 is reduced while repeatedly increasing and decreasing, so that the current measured value iq1 of the torque current is reduced.
  • the hitting detection unit 149 detects the presence or absence of a hitting motion by determining the presence or absence of such a change according to the first condition and the second condition.
  • the threshold values such as the d-axis threshold value and the q-axis threshold value are recorded in advance in the memory of the microcontroller constituting the control unit 4, for example.
  • the impact detection unit 149 starts detecting the presence or absence of the impact operation of the impact mechanism 17 after a predetermined mask period Tm1 has elapsed from the start of the motor 15 (at the start of rotation). Therefore, it is possible to prevent the impact detection unit 149 from erroneously detecting the impact operation during the mask period Tm1.
  • the impact mechanism 17 starts the striking operation at the time point t11.
  • the amplitude of the current measurement value id1 increases.
  • the measured current value iq1 decreases while repeatedly increasing and decreasing.
  • the second condition is met once or twice.
  • the hitting detection unit 149 can detect the hitting motion based on the first condition and the second condition in at least a part of the period between the time point t11 and the time point t12.
  • the impact mechanism 17 starts the striking operation at the time point t11.
  • the impact detection unit 149 outputs a detection result that the impact mechanism 17 is performing the impact operation.
  • a tapered surface 311 is provided in the screw hole 310 (see FIG. 9) of the tightening member 30, and when a force in a direction intersecting the axial direction of the tightening member 30 is applied from the tip tool 28 to the tapered surface 311, the tip The tool 28 may move out of the screw hole 310 along the tapered surface 311. That is, a come-out may occur.
  • the direction of the tip tool 28 with respect to the tightening member 30 is oblique, the component of the force applied from the tip tool 28 to the tightening member 30 in the direction intersecting the axial direction of the tightening member 30 becomes relatively large.
  • the mechanism of the second example may cause a come-out. Further, when the pressing force from the tip tool 28 to the tightening member 30 is insufficient with respect to the rotation speed N1 of the motor 15, a come-out may occur by the mechanism of the second example.
  • Come-out may occur due to the mechanism described in the first example, the mechanism described in the second example, or both of them.
  • the come-out detection unit 54 detects a come-out or a sign of come-out based on a physical quantity that correlates with the amplitude of the exciting current (current measurement value id1) supplied to the motor 15.
  • the come-out detection unit 54 uses the positive peak value of the exciting current as a physical quantity that correlates with the amplitude of the exciting current. That is, the come-out detection unit 54 detects a come-out or a sign of a come-out based on the positive d-axis current measurement value Bd1.
  • the come-out detection unit 54 detects a come-out or a sign of come-out based on the fluctuation of the positive peak value of the exciting current. In other words, the come-out detection unit 54 detects a come-out or a sign of come-out based on the fluctuation of the positive d-axis current measurement value Bd1.
  • the come-out detection unit 54 sets a come-out threshold Th1 and compares the come-out threshold Th1 with the positive d-axis current measurement value Bd1 to detect a sign of come-out or come-out. More specifically, the come-out detection unit 54 indicates that a come-out has occurred or a sign of a come-out occurs when the positive d-axis current measurement value Bd1 exceeds the come-out threshold Th1 a predetermined number of times or more in a predetermined determination time. Judge that there is.
  • the force with which the user presses the tip tool 28 against the tightening member 30 is smaller in the case of FIG. 10 than in the case of FIG. Therefore, in FIG. 10, the tip tool 28 is easily separated from the inner surface of the screw hole 310 of the tightening member 30.
  • the power tool 101 is in a state in which a come-out is likely to occur (there is a sign of a come-out).
  • the load applied to the motor 15 becomes small, so that the current measured value id1 becomes a positive value and becomes large. That is, the positive d-axis current measured value Bd1 becomes large.
  • the come-out detection unit 54 can detect a sign of come-out by monitoring the number of times that the positive d-axis current measurement value Bd1 exceeds the come-out threshold Th1.
  • the positive d-axis current measured value Bd1 becomes large before the come-out occurs, so that the positive d-axis current measured value Bd1 exceeds the come-out threshold Th1 in the come-out detection unit 54.
  • Comeout can be detected by monitoring the number of times.
  • the come-out detection unit 54 of the present embodiment detects the come-out and the sign of the come-out without distinguishing them. That is, the condition for the come-out detection unit 54 to detect the come-out and the condition for detecting the sign of the come-out are the same, and the come-out detection unit 54 determines whether the power tool 101 has a come-out or a come-out sign. , Outputs the same detection result.
  • the determination time is, for example, 200 [ms].
  • the predetermined number of times is, for example, 10 times. That is, in this example, the come-out detection unit 54 determines that a come-out has occurred or there is a sign of a come-out when the positive d-axis current measurement value Bd1 exceeds the come-out threshold Th1 10 times or more during 200 [ms]. To do.
  • the come-out detection unit 54 determines that a come-out has occurred or there is a sign of a come-out.
  • the positive d-axis current measurement value Bd1 is smaller than that in FIG. In FIG. 11, the number of times the positive d-axis current measurement value Bd1 exceeds the come-out threshold Th1 is less than 10 times in an arbitrary determination time after the time point t10. Therefore, the come-out detection unit 54 determines that the come-out has not occurred and there is no sign of the come-out.
  • the come-out threshold Th1 may have different values depending on whether the hitting detection unit 149 detects the hitting motion or not.
  • the positive d-axis current measured value Bd1 tends to be larger than when the striking motion is not detected. Therefore, the come-out threshold Th1 may be a value larger when the hitting detection unit 149 is detecting the hitting motion than when it is not.
  • the notification unit 55 of the power tool 101 notifies when the come-out detection unit 54 detects a come-out or a sign of a come-out.
  • the notification unit 55 includes, for example, a light emitting unit such as a light emitting diode, and notifies the user by changing the light emitting state. Changing the light emitting state means, for example, switching between lighting and extinguishing, changing the brightness, changing the color of the light, and the like.
  • the notification unit 55 is provided with, for example, a buzzer, a speaker, or the like, and notifies the user by sound (including voice).
  • the voice notification is, for example, issuing the message "Please press the power tool strongly against the screw.”
  • the notification unit 55 is provided with, for example, a communication interface, and notifies the external device by transmitting a signal to the external device by wire communication or wireless communication.
  • the notification unit 55 When the sign of come-out is detected, the notification unit 55 notifies the user so that the sign of come-out can be known. Further, by notifying the notification unit 55 when the come-out is detected, the user can know that the come-out has occurred even in a situation where the tightening member 30 cannot be visually recognized.
  • the control unit 104 has a come-out response function. In the come-out response function, the control unit 104 reduces the rotation speed N1 of the motor 15 or stops the motor 15 when the come-out detection unit 54 detects a come-out or a sign of a come-out.
  • control unit 104 has a first mode for enabling the come-out response function and a second mode for disabling the come-out response function as operation modes that can be switched between each other.
  • 10 and 11 are graphs when the operation mode of the control unit 104 is the second mode.
  • the broken line portion cN2 in FIG. 10 shows the change in the command value cN1 after the time point t14 when the operation mode of the control unit 10 is the first mode.
  • the come-out detection unit 54 detects a come-out or a sign of a come-out. Then, the control unit 104 reduces the rotation speed N1 of the motor 15 or stops the motor 15.
  • the control unit 104 reduces the rotation speed N1 of the motor 15. That is, at the time point t14, the control unit 104 lowers the command value cN1 of the rotation speed N1 of the motor 15 as shown by the broken line portion cN2. As a result, the rotation speed N1 also decreases.
  • the control unit 104 tentatively determines the command value cN1 according to the pull-in amount of the trigger switch 29, and then lowers the command value cN1. More specifically, the command value generation unit 140 of the control unit 104 substantially lowers the command value cN1 of the rotation speed N1 by lowering the command value c ⁇ 1 of the angular velocity.
  • control unit 104 may determine the rotation speed N1 after the decrease based on the rotation speed N1 before the decrease. For example, when the come-out detection unit 54 detects a come-out or a sign of come-out, the control unit 104 multiplies the command value cN1 at that time by a predetermined value (for example, 0.9) that is greater than 0 and less than 1. May be a new command value cN1. Further, when the come-out detection unit 54 detects a come-out or a sign of come-out, the control unit 104 subtracts a predetermined value (for example, 2000 [rpm]) from the command value cN1 at that time to obtain a new command value cN1. May be. However, the control unit 104 appropriately adjusts the above-mentioned predetermined value so that the command value cN1 becomes 0 or more.
  • a predetermined value for example, 2000 [rpm]
  • the rotation speed N1 of the motor 15 decreases, the interval at which the impact force is generated in the impact operation of the impact mechanism 17 (that is, the cycle of collision between the hammer 19 and the anvil 20) becomes longer, so that a come-out may occur. Can be reduced.
  • the control unit 104 stops the motor 15 when a come-out or a sign thereof is detected
  • the user can take the following measures after the motor 15 is stopped.
  • the user can reduce the possibility of come-out by pulling the trigger switch 29 again to start the motor 15 and pressing the tip tool 28 against the tightening member 30 more strongly. Further, the user can reduce the possibility of come-out by replacing the tip tool 28 with a tip tool of a type suitable for the tightening member 30.
  • the notification unit 55 may notify the content of the measures that the user can take.
  • the power tool 101 is provided with, for example, a first user interface that accepts user operations.
  • the first user interface is, for example, a button, a slide switch, a touch panel, or the like.
  • the control unit 104 switches the operation mode between the first mode and the second mode.
  • the user sets the operation mode of the control unit 104 to the first mode when tightening the screws using the power tool 101, and sets the operation mode to the second mode in other cases.
  • the first user interface may have a display corresponding to come-out detection at a position corresponding to switching to the first mode.
  • the display is, for example, characters such as "come-out detection mode” or “come-out prevention mode", or a figure, a picture, a photograph, or the like showing how a screw comes out.
  • the above-mentioned display may be provided on the mechanical button for switching to the first mode or the button displayed on the screen of the touch panel, or the above-mentioned display may be provided in the vicinity of the button. Further, the above display may be provided near the position of the slide switch in the first mode.
  • the same function as the power tool 101 may be embodied by a come-out detection method, a (computer) program, a non-temporary recording medium on which the program is recorded, or the like.
  • the come-out detection method detects a come-out or a sign of a come-out based on a physical quantity that correlates with the amplitude of the exciting current supplied to the motor 15.
  • the come-out detection unit 54 acquires a positive d-axis current measurement value Bd1 (step ST11). Further, the come-out detection unit 54 determines whether or not the number of times the positive d-axis current measurement value Bd1 exceeds the come-out threshold Th1 in the determination time is equal to or greater than a predetermined number of times (step ST12). When the positive d-axis current measurement value Bd1 exceeds the come-out threshold Th1 a predetermined number of times or more in the determination time (step ST12: YES), the come-out detection unit 54 determines that a come-out has occurred or there is a sign of a come-out. Determine (step ST13). When the come-out detection unit 54 determines that a come-out has occurred or there is a sign of a come-out, the control unit 4 reduces the rotation speed N1 of the motor 15 (protection operation; step ST14).
  • the program according to one aspect is a program for causing one or more processors to execute the above-mentioned come-out detection method.
  • the motor 15 may be an AC motor or a DC motor.
  • the tip tool 28 does not have to be included in the configuration of the power tool 101.
  • the tip tool 28 is not limited to the Phillips driver bit, and may be, for example, a minus driver bit, a hex lobe bit, or a wrench bit.
  • the impact detection unit 149 may be provided separately from the control unit 104. That is, even if a configuration that realizes the function of the control unit 104 that vector-controls the motor 15 and a configuration that realizes the function of the impact detection unit 149 that detects the presence or absence of the impact operation of the impact mechanism 17 are separately provided. Good.
  • the come-out detection unit 54 may be provided separately from the control unit 104. That is, a configuration that realizes the function of the control unit 104 that vector-controls the motor 15 and a configuration that realizes the function of the come-out detection unit 54 that detects the come-out or a sign thereof may be separately provided.
  • an acceleration sensor that measures the angular acceleration or the circumferential acceleration of the rotating shaft 16 of the motor 15 may be used.
  • the impact detection unit 149 detects that the impact mechanism 17 is performing an impact operation when at least one of the first condition regarding the current measurement value id1 and the second condition regarding the current measurement value iq1 is satisfied. The result may be output. Further, the impact detection unit 149 may determine the presence / absence of the impact operation based only on the first condition, or may determine the presence / absence of the impact operation based only on the second condition.
  • the impact detection unit 149 may use a condition relating to the absolute value of the current measurement value iq1 as the second condition. For example, the impact detection unit 149 may set that the absolute value of the current measurement value iq1 (instantaneous value) exceeds a predetermined threshold value as a second condition. Then, the impact detection unit 149 may output a detection result that the impact mechanism 17 is performing a striking operation, for example, when the first condition is satisfied after the second condition is satisfied. Alternatively, in the impact detection unit 149, for example, when the time required from the satisfaction of one of the first condition and the second condition to the satisfaction of the other is equal to or less than a predetermined time threshold value, the impact mechanism 17 strikes. You may output the detection result that it is operating.
  • the impact detection unit 149 indicates that the absolute value of the current measurement value iq1 exceeds a predetermined threshold value, and then the amount of decrease in the current measurement value iq1 per predetermined time is larger than the predetermined q-axis threshold value. It may be the second condition. Then, the impact detection unit 149 hits the impact mechanism 17 when, for example, the time required from the satisfaction of one of the first condition and the second condition to the satisfaction of the other is equal to or less than a predetermined time threshold value. You may output the detection result that it is operating.
  • the impact detection unit 149 determines the presence or absence of the impact operation based on at least one of the absolute value of the current measurement value iq1 (torque current) and the decrease amount of the current measurement value iq1 (torque current) per predetermined time. It may be detected.
  • the impact detection unit 149 may detect the presence or absence of an impact operation based on at least one of the current measurement values id1 and iq1 and the rotation speed N1 of the motor 15.
  • the impact detection unit 149 may detect the presence or absence of an impact operation based on the command value iq1 instead of the current measurement value iq1 of the torque current. That is, the current measurement value iq1 may be replaced with the command value iq1 in the detection of the presence / absence of the striking operation in the second embodiment and each modification.
  • the impact detection unit 149 determines whether or not there is an impact operation based on at least one of the positive d-axis current measurement value Bd1 and the negative d-axis current measurement value Bd2 instead of the exciting current current measurement value id1. It may be detected.
  • the control unit 104 may have a function of changing the come-out threshold Th1.
  • the power tool 101 may include, for example, a second user interface that accepts user operations.
  • the second user interface is, for example, a button, a slide switch, a touch panel, or the like.
  • the control unit 104 changes the come-out threshold Th1 according to the user's operation on the second user interface.
  • the power tool 101 may include, for example, a receiving unit that receives a signal input.
  • the receiving unit receives the above signal from the external device of the power tool 101, and the control unit 104 changes the come-out threshold Th1 accordingly.
  • the communication method between the external device and the receiving unit may be wireless communication or wired communication. At least a part of the configuration may be shared between the second user interface and the first user interface.
  • control unit 104 may change the come-out threshold Th1 based on the current measurement value id1. For example, the control unit 104 obtains the maximum value of the positive d-axis current measurement value Bd1 within the determination time every predetermined determination time (for example, 200 [ms]), and determines the determined maximum value for the next determination time.
  • the come-out threshold value Th1 used in the above may be set.
  • the come-out detection unit 54 may detect the come-out or its sign based on the negative d-axis current measurement value Bd2 instead of the positive d-axis current measurement value Bd1. Further, the come-out detection unit 54 may detect the come-out or a sign thereof based on the positive d-axis current measurement value Bd1 and the negative d-axis current measurement value Bd2. Further, the come-out detection unit 54 may detect the come-out or a sign thereof based on the amplitude of the current measurement value id1 instead of the positive d-axis current measurement value Bd1 and the negative d-axis current measurement value Bd2. ..
  • the come-out detection unit 54 may detect a come-out or a sign thereof based on a variation in a physical quantity that correlates with the amplitude of the current measurement value id1.
  • the come-out detection unit 54 may determine that a come-out has occurred or is a sign thereof, for example, when the variation in the physical quantity that correlates with the amplitude of the current measurement value id1 within a predetermined determination time exceeds a predetermined value.
  • the come-out detection unit 54 detects the come-out or its precursor based on the torque current (current measurement value iq1 or the like) in addition to the exciting current (positive d-axis current measurement value Bd1 or the like). You may. In addition to the exciting current, the come-out detection unit 54 may detect the come-out or a sign thereof, for example, based on at least one of a physical quantity and a waveform pattern that correlate with the magnitude and amplitude of the torque current.
  • the come-out detection unit 54 of the second embodiment detects the come-out and the sign of the come-out without distinguishing them, but the present invention is not limited to this, and the come-out and the sign of the come-out may be detected separately.
  • the tip tool 28 repeats the event of moving away from the inner surface of the screw hole 310 and the event of contacting the inner surface, so that the current measurement value iq1 (or the positive d-axis current measurement value Bd1) sets the come-out threshold Th1. The event of exceeding many times occurs. By detecting this, the come-out detection unit 54 can determine that it is a sign of come-out.
  • a come-out occurs, a sign of the come-out is first detected, and then the come-out occurs so that the tip tool 28 separates from the inner surface of the screw hole 310 and the event of contacting the inner surface does not occur.
  • the amplitude of the measured value iq1 (or the positive d-axis current measured value Bd1) decreases.
  • the come-out detection unit 54 can determine that a come-out has occurred by detecting a decrease in the amplitude (or positive d-axis current measurement value Bd1) of the current measurement value iq1.
  • control unit 104 may reduce the rotation speed N1 of the motor 15 each time the come-out detection unit 54 detects a come-out or a sign thereof.
  • the upper limit of the number of times that the control unit 4 reduces the rotation speed N1 of the motor 15 may be determined between the start of the motor 15 and the stop of the motor 15. The upper limit may be once or may be two or more times.
  • the power tool 101 does not have to include the impact mechanism 17.
  • One power tool may have both the function of the power tool 1 of the first embodiment and its modified example and the function of the electric tool 101 of the second embodiment and its modified example.
  • the power tool (1) of the first aspect includes a motor (15), an operation unit (29), a control unit (4), a transmission mechanism (18), and a housing (9).
  • the operation unit (29) receives an operation from the user.
  • the control unit (4) uses vector control to control the rotational operation of the motor (15) in response to an operation on the operation unit (29).
  • the transmission mechanism (18) transmits the rotational force of the rotating shaft (16) of the motor (15) to the tip tool (28) that performs the work on the work target (100).
  • the housing (9) houses at least the motor (15) and the transmission mechanism (18).
  • the control unit (4) has a detection function that detects a steep movement of the housing (9) with respect to the work target (100) or a sign thereof based on at least one of the torque current and the exciting current supplied to the motor (15). Has.
  • the control unit (4) has a detection function in which the load applied to the rotating shaft (16) obtained based on the torque current is equal to or more than a predetermined value. Then, it is determined that there is a steep movement of the housing (9) or a sign thereof.
  • the steep movement of the housing (9) includes the movement of the housing (9) due to the reaction force from the work object (100).
  • the steep movement of the housing (9) due to the reaction force from the work target (100) can be detected.
  • the control unit (4) detects a steep movement of the housing (9) or a sign thereof, the motor (15) ) Is reduced or the motor (15) is stopped.
  • the motor (15) which causes the sudden movement is stopped or decelerated, so that the power tool (1) is applied to the user.
  • the load is reduced. Therefore, the usability of the power tool (1) is improved.
  • the control unit (4) detects a steep movement of the housing (9) or a sign thereof, the motor (15) ) Is blocked from transmitting the rotational force of the rotating shaft (16) to the tip tool (28).
  • the housing (9) has a steep movement or a sign thereof, the rotation of the output shaft (21) which causes the sudden movement is stopped, so that the power tool (1) tells the user.
  • the load is reduced. Therefore, the usability of the power tool (1) is improved.
  • the power tool (1) of the sixth aspect includes an output shaft (21) to which the tip tool (28) is connected in any one of the first to fifth aspects.
  • the transmission mechanism (18) has an impact mechanism (17) that performs a striking operation that applies a striking force to the output shaft (21) according to the magnitude of torque applied to the output shaft (21).
  • the usability of the so-called impact tool provided with the impact mechanism (17) can be improved.
  • the power tool (1) of the seventh aspect includes a switching unit for switching between valid and invalid of the detection function in any one of the first to sixth aspects.
  • the function when the detection function is unnecessary, the function can be disabled and the usability of the power tool (1) can be improved.
  • the control method of the eighth aspect is a power tool control method.
  • the power tool (1) includes a motor (15), an operation unit (29), a transmission mechanism (18), and a housing (9).
  • the operation unit (29) receives an operation from the user.
  • the transmission mechanism (18) transmits the rotational force of the rotating shaft (16) of the motor (15) to the tip tool (28) that performs the work on the work target (100).
  • the housing (9) houses at least the motor (15) and the transmission mechanism (18).
  • the control method includes controlling the rotational operation of the motor (15) in response to an operation on the operation unit (29) by using vector control.
  • the control method includes detecting a steep movement of the housing (9) with respect to the work object (100) or a sign thereof, based on at least one of a torque current and an exciting current supplied to the motor (15).
  • the program of the ninth aspect is a program for causing one or more processors to execute the control method of the eighth aspect.
  • the power tool (101) includes a motor (15), a control unit (104), an output shaft (21), a transmission mechanism (18), and a come-out detection unit (54). ..
  • the control unit (104) vector-controls the motor (15).
  • the output shaft (21) is connected to the tip tool (28).
  • the transmission mechanism (18) transmits the power of the motor (15) to the output shaft (21).
  • the come-out detection unit (54) detects a come-out or a sign of come-out based on a physical quantity that correlates with the amplitude of the exciting current (current measurement value id1) supplied to the motor (15).
  • the come-out is a phenomenon in which the tip tool (28) and the screw (tightening member 30) to be worked by the tip tool (28) are released from being fitted during the operation of the motor (15).
  • the control unit (104) has a come-out response function.
  • the control unit (104) reduces the rotation speed (N1) of the motor (15) or stops the motor (15) when the come-out detection unit (54) detects a sign of come-out or come-out.
  • the control unit (104) has a first mode and a second mode as operation modes that can be switched between each other. In the first mode, the control unit (104) enables the come-out response function. In the second mode, the control unit (104) disables the come-out response function.
  • the presence / absence of the come-out response function can be switched as needed.
  • the power tool (101) according to the thirteenth aspect includes a notification unit (55) in any one of the tenth to twelfth aspects.
  • the notification unit (55) notifies when the come-out detection unit (54) detects a come-out or a sign of a come-out.
  • the user or the like can know the occurrence of a come-out or a sign of a come-out.
  • the transmission mechanism (18) has an impact mechanism (17).
  • the impact mechanism (17) performs a striking operation of applying a striking force to the output shaft (21) according to the magnitude of the torque applied to the output shaft (21).
  • the come-out detection unit (54) sets a positive peak value of the exciting current (current measurement value id1). It is used as a physical quantity that correlates with the amplitude of the exciting current.
  • the accuracy of detecting a come-out or a sign of a come-out can be improved.
  • the come-out detection unit (54) changes the come-out or the sign of the come-out to the fluctuation of the positive peak value of the exciting current (current measurement value id1). Detect based on.
  • the accuracy of detecting a come-out or a sign of a come-out can be further improved.
  • the come-out detection method is executed for the power tool (101).
  • the power tool (101) includes a motor (15), a control unit (104), an output shaft (21), and a transmission mechanism (18).
  • the control unit (104) vector-controls the motor (15).
  • the output shaft (21) is connected to the tip tool (28).
  • the transmission mechanism (18) transmits the power of the motor (15) to the output shaft (21).
  • the come-out detection method detects a come-out or a sign of a come-out based on a physical quantity that correlates with the amplitude of the exciting current (current measured value id1) supplied to the motor (15).
  • the come-out is a phenomenon in which the tip tool (28) and the screw (tightening member 30) to be worked by the tip tool (28) are released from being fitted during the operation of the motor (15).
  • the program according to the eighteenth aspect is a program for causing one or more processors to execute the come-out detection method according to the seventeenth aspect.
  • various configurations (including modification) of the power tool (1,101) according to the embodiment can be embodied by a method and a program.

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Control Of Electric Motors In General (AREA)

Abstract

本開示の課題は、電動工具の使い勝手を向上させることである。電動工具(1)は、モータ(15)と、ユーザからの操作を受け付ける操作部(29)と、ベクトル制御を利用して、操作部(29)への操作に応じてモータ(15)の回転動作を制御する制御部(4)と、モータ(15)の回転力を、作業対象に対して作業を行う先端工具へと伝達する伝達機構(18)と、モータ(15)及び伝達機構(18)を少なくとも収容するハウジングと、を備える。制御部(4)は、モータ(15)に供給されるトルク電流と励磁電流との少なくとも一方に基づいて、作業対象に対するハウジングの急峻な移動を検出する検出機能(移動検出部49)を有する。

Description

電動工具、制御方法、カムアウト検知方法、及びプログラム
 本開示は一般に電動工具、制御方法、カムアウト検知方法、及びプログラムに関し、より詳細には、ベクトル制御を用いてモータを制御する電動工具、電動工具の制御方法、カムアウト検知方法、及びプログラムに関する。
 特許文献1は、電動工具を開示する。特許文献1記載の電動工具は、モータと、トリガスイッチと、制御部と、チャックと、を備える。制御部は、トリガスイッチの引き込み量に基づいてモータの回転数を制御する。チャックは、ホールソー等の先端工具が着脱可能となっている。トリガスイッチが引き込まれることで制御部によってモータが駆動される。これにより先端工具が回転し、穴開け等の作業が可能となっている。
 特許文献1に記載されているような電動工具では、板材等の作業対象への穴開け作業中に、先端工具が作業対象を噛み込むと、先端工具の回転が阻害される場合がある。その場合、工具本体(ハウジング)が先端工具を中心として作業対象に対して回転する等して、工具本体に急峻な移動が起こる可能性がある。工具本体が急激に移動する可能性があると、使用者はその動きに対して身構えることとなるため、使用者にとって電動工具の使い勝手が低下する可能性がある。
特開2017-030112号公報
 本開示は、上記事由に鑑みてなされており、電動工具の使い勝手を向上させることを目的とする。
 本開示の一態様に係る電動工具は、モータと、操作部と、制御部と、伝達機構と、ハウジングと、を備える。前記操作部は、ユーザからの操作を受け付ける。前記制御部は、ベクトル制御を利用して、前記操作部への操作に応じて前記モータの回転動作を制御する。前記伝達機構は、前記モータの回転軸の回転力を、作業対象に対して作業を行う先端工具へと伝達する。前記ハウジングは、前記モータ及び前記伝達機構を少なくとも収容する。前記制御部は、検出機能を有する。前記検出機能において、前記制御部は、前記モータに供給されるトルク電流と励磁電流との少なくとも一方に基づいて、前記作業対象に対する前記ハウジングの急峻な移動又はその予兆を検出する。
 本開示の一態様に係る制御方法は、電動工具の制御方法である。前記電動工具は、モータと、操作部と、伝達機構と、ハウジングと、を備える。前記操作部は、ユーザからの操作を受け付ける。前記伝達機構は、前記モータの回転軸の回転力を、作業対象に対して作業を行う先端工具へと伝達する。前記ハウジングは、前記モータ及び前記伝達機構を少なくとも収容する。前記制御方法は、ベクトル制御を利用して、前記操作部への操作に応じて前記モータの回転動作を制御することを含む。前記制御方法は、前記モータに供給されるトルク電流と励磁電流との少なくとも一方に基づいて、前記作業対象に対する前記ハウジングの急峻な移動又はその予兆を検出することを含む。
 本開示の一態様に係るプログラムは、1以上のプロセッサに前記制御方法を実行させるためのプログラムである。
 本開示の一態様に係る電動工具は、モータと、制御部と、出力軸と、伝達機構と、カムアウト検知部と、を備える。前記制御部は、前記モータをベクトル制御する。前記出力軸は、先端工具と連結される。前記伝達機構は、前記モータの動力を前記出力軸に伝達する。前記カムアウト検知部は、カムアウト又は前記カムアウトの予兆を、前記モータに供給される励磁電流の振幅に相関する物理量に基づいて検知する。前記カムアウトは、前記モータの動作中に前記先端工具と前記先端工具による作業対象のねじとの嵌合が解除される現象である。
 本開示の一態様に係るカムアウト検知方法は、モータと、制御部と、出力軸と、伝達機構と、を備える電動工具を対象として実行されるカムアウト検知方法である。前記制御部は、前記モータをベクトル制御する。前記出力軸は、先端工具と連結される。前記伝達機構は、前記モータの動力を前記出力軸に伝達する。前記カムアウト検知方法は、カムアウト又は前記カムアウトの予兆を、前記モータに供給される励磁電流の振幅に相関する物理量に基づいて検知する。前記カムアウトは、前記モータの動作中に前記先端工具と前記先端工具による作業対象のねじとの嵌合が解除される現象である。
 本開示の一態様に係るプログラムは、前記カムアウト検知方法を、1以上のプロセッサに実行させるためのプログラムである。
図1は、実施形態1に係る電動工具のブロック図である。 図2は、同上の電動工具の概略図である。 図3は、同上の電動工具の制御部によるベクトル制御の説明図である。 図4は、同上の電動工具の動作例を示すグラフである。 図5は、同上の電動工具の制御方法を示すフローチャートである。 図6は、実施形態2に係る電動工具のブロック図である。 図7は、同上の電動工具の概略図である。 図8は、同上の電動工具の制御部によるベクトル制御の説明図である。 図9は、同上の電動工具の作業対象であるねじの断面図である。 図10は、同上の電動工具の動作例を示すグラフである。 図11は、同上の電動工具の別の動作例を示すグラフである。 図12は、同上の電動工具におけるカムアウト検知方法を示すフローチャートである。
 (1)実施形態1
 以下、本実施形態に係る電動工具1について、図面を用いて説明する。ただし、下記の実施形態は、本開示の様々な実施形態の1つに過ぎない。下記の実施形態は、本開示の目的を達成できれば、設計等に応じて種々の変更が可能である。また、下記の実施形態において説明する各図は、模式的な図であり、図中の各構成要素の大きさ及び厚さそれぞれの比が必ずしも実際の寸法比を反映しているとは限らない。
 (1.1)概要
 図1、図2に示すように、電動工具1は、モータ15と、操作部29と、制御部4と、伝達機構18と、ハウジング9と、を備える。
 操作部29は、ユーザからの操作を受け付ける。制御部4は、ベクトル制御を利用して、操作部29への操作に応じてモータ15の回転動作を制御する。伝達機構18は、モータ15の回転軸16の回転力を、作業対象100に対して作業を行う先端工具28へと伝達する。ハウジング9は、少なくとも、モータ15及び伝達機構18を収容する。先端工具28は、例えばソケットビット、レンチビット、ドライバビット、へクスローブビット等である。作業対象100は、例えば木材、壁等である。
 制御部4は、検出機能を有している。検出機能は、作業対象100に対するハウジング9の急峻な移動又はその予兆を検出する機能である。制御部4は、検出機能において、モータ15に供給されるトルク電流と励磁電流との少なくとも一方に基づいて、作業対象100に対するハウジング9の急峻な移動又はその予兆を検出する。
 また、電動工具1は、ハウジング9の急峻な移動又はその予兆を検出すると、ハウジング9の急峻な移動を抑制するための保護動作を実行する。一例において、制御部4は、保護動作として、モータ15の速度を低下させる又はモータ15を停止させる。ここでは、制御部4は、保護動作として、モータ15を停止させる。
 電動工具1の検出機能では、モータ15に供給されるトルク電流及び/又は励磁電流に基づいて、ハウジング9の急峻な移動又はその予兆が検出される。そのため、制御部4は、ハウジング9の急峻な移動又はその予兆の検出に応じて、モータ15を停止させる等の対処を行うことが可能となる。そのため、検出機能を設けることで、電動工具1の使い勝手を向上できる。
 また、検出機能で用いられるトルク電流及び励磁電流は、モータ15のベクトル制御にも用いられている。そのため、ハウジング9の動きを検出するための専用のセンサ(例えば加速度センサ)等を新たに追加する必要がなく、電動工具1の大型化及びコストの上昇を抑えることができる。
 (1.2)詳細
 (1.2.1)電動工具
 以下、本実施形態の電動工具1について、図面を参照して更に詳細に説明する。本実施形態の電動工具1は、いわゆるインパクト工具である。インパクト工具は、例えば、インパクトドライバ、ハンマドリル、インパクトドリル、インパクトドリルドライバ又はインパクトレンチとして用いられる。本実施形態では、代表例として、電動工具1がインパクトドライバとして用いられる場合について説明する。
 図1、図2に示すように、電動工具1は、モータ15と、伝達機構18と、出力軸21と、ソケット(チャック)23と、先端工具28と、電源部32と、操作部29と、制御部4と、インバータ回路部51と、ハウジング9と、を備えている。
 ハウジング9は、モータ15と、伝達機構18と、制御部4と、インバータ回路部51と、出力軸21の一部と、を収容している。ハウジング9は、例えば樹脂製である。ハウジング9は、胴体部91と、グリップ部92と、を有している。胴体部91の形状は、円筒状である。グリップ部92は、胴体部91から突出している。
 モータ15は、ブラシレスモータである。特に、本実施形態のモータ15は、同期電動機であり、より詳細には、永久磁石同期電動機(PMSM(Permanent Magnet Synchronous Motor))である。モータ15は、永久磁石131を有する回転子13と、コイル141を有する固定子14と、を含んでいる。回転子13は、回転動力を出力する回転軸16を有している。コイル141と永久磁石131との電磁的相互作用により、回転子13は、固定子14に対して回転する。
 出力軸21は、モータ15から伝達機構18を介して伝達された駆動力により回転する部分である。ソケット23は、出力軸21に固定されている。ソケット23には、先端工具28が着脱自在に取り付けられる。すなわち、出力軸21には、先端工具28が連結される。先端工具28は、出力軸21と一緒に回転する。
 電動工具1は、モータ15の駆動力で出力軸21を回転させることで、先端工具28を回転させる。すなわち、電動工具1は、先端工具28をモータ15の駆動力で駆動する工具である。各種の先端工具28のうち用途に応じた先端工具28が、ソケット23に取り付けられて用いられる。なお、出力軸21に直接に先端工具28が装着されてもよい。
 なお、本実施形態の電動工具1はソケット23を備えることで、先端工具28を用途に応じて交換可能であるが、先端工具28が交換可能であることは必須ではない。例えば、電動工具1は、特定の先端工具28のみ用いることができる工具であってもよい。
 本実施形態の先端工具28は、締付部材30(ねじ)を締める又は緩めるためのドライバビットである。より詳細には、先端工具28は、先端部280が+(プラス)形に形成されたプラスドライバビットである。すなわち、出力軸21は、ねじを締める又は緩めるためのドライバビットを保持し、モータ15から動力を得て回転する。ねじの種類は特に限定されず、例えば、ボルト、ビス又はナットであってよい。
 伝達機構18は、インパクト機構17と、遊星歯車機構25と、駆動軸22と、を有している。伝達機構18は、モータ15の回転軸16の回転動力を出力軸21に伝達する。より詳細には、伝達機構18は、モータ15の回転軸16の回転動力を調整して、出力軸21の回転として出力する。
 モータ15の回転軸16は、遊星歯車機構25に接続されている。駆動軸22は、遊星歯車機構25と、インパクト機構17と、に接続されている。遊星歯車機構25は、モータ15の回転軸16の回転動力を所定の減速比で減速して、駆動軸22の回転として出力する。
 インパクト機構17は、出力軸21と連結されている。インパクト機構17は、遊星歯車機構25及び駆動軸22を介して受け取ったモータ15(回転軸16)の回転動力を、出力軸21に伝達する。
 インパクト機構17は、出力軸21に加えられるトルクの大きさに応じて打撃動作を行う。インパクト機構17は、打撃動作において、出力軸21に打撃力を加える。
 図2に示すように、インパクト機構17は、ハンマ19と、アンビル20と、ばね24と、を備えている。ハンマ19は、駆動軸22にカム機構を介して取り付けられている。アンビル20はハンマ19に接触しており、ハンマ19と一体に回転する。ばね24は、ハンマ19をアンビル20側に押している。アンビル20は、出力軸21と一体に形成されている。なお、アンビル20は、出力軸21とは別体に形成されて出力軸21に固定されていてもよい。
 出力軸21にかかる負荷(トルク)が所定の閾値より小さい場合には、インパクト機構17は、モータ15の回転動力により出力軸21を連続的に回転させる。すなわち、この場合には、カム機構により連結された駆動軸22とハンマ19とが一体に回転し、更にハンマ19とアンビル20とが一体に回転するので、アンビル20と一体に形成された出力軸21が駆動軸22と一緒に回転する。
 一方で、出力軸21に所定の閾値以上の負荷がかかった場合には、インパクト機構17は、打撃動作を行う。インパクト機構17は、打撃動作において、モータ15の回転動力をパルス状のトルクに変換して打撃力を発生する。すなわち、打撃動作では、ハンマ19は、駆動軸22との間のカム機構による規制を受けながら、ばね24に抗して後退する(アンビル20から離れる)。ハンマ19の後退によりハンマ19とアンビル20との結合が外れた時点で、ハンマ19は回転しながら前進して(出力軸21側へ移動して)アンビル20に回転方向の打撃力を加え、出力軸21を回転させる。つまり、インパクト機構17は、アンビル20を介して出力軸21に軸(出力軸21)周りの回転打撃を加える。インパクト機構17の打撃動作では、ハンマ19がアンビル20に回転方向の打撃力を加える動作が繰り返される。ハンマ19が後退して前進する度に、打撃力が1回発生する。
 電源部32は、モータ15を駆動する電流を供給する。電源部32は、例えば、電池パックである。電源部32は、例えば、1又は複数の2次電池を含む。電源部32は、例えば、グリップ部92に着脱可能に取り付けられる。
 操作部29は、トリガスイッチを備えている。トリガスイッチは、グリップ部92から突出している。トリガスイッチを引く操作により、モータ15のオンオフを切換可能である。また、トリガスイッチを引く操作の引込み量で、モータの回転速度を調整可能である。その結果として、トリガスイッチを引く操作の引込み量で、出力軸21の回転速度を調整可能である。上記引込み量が大きいほど、モータ15及び出力軸21の回転速度が速くなる。制御部4は、トリガスイッチを引く操作の引込み量に応じて、モータ15及び出力軸21を回転又は停止させ、また、モータ15及び出力軸21の回転速度を制御する。この電動工具1では、先端工具28がソケット23を介して出力軸21に連結される。そして、トリガスイッチへの操作によってモータ15及び出力軸21の回転速度が制御されることで、先端工具28の回転速度が制御される。
 より詳細には、トリガスイッチは、操作信号を出力する多段階スイッチ又は無段階スイッチ(可変抵抗器)を備える。操作信号は、トリガスイッチへの操作量(引込み量)に応じて変化する。トリガスイッチは、操作信号に応じてモータ15の速度(回転数)の目標値ω を決定し、制御部4に与える。制御部4は、トリガスイッチから受け取った目標値ω に基づいて、モータ15の回転を制御する。
 インバータ回路部51は、モータ15を駆動するための回路である。インバータ回路部51は、電源部32からの電圧Vdcを、モータ15用の駆動電圧Vに変換する。本実施形態では、駆動電圧Vは、U相電圧、V相電圧及びW相電圧を含む三相交流電圧である。以下では、必要に応じて、U相電圧をv、V相電圧をv、W相電圧をvで表す。各電圧v,v,vは、正弦波電圧である。
 インバータ回路部51は、PWMインバータとPWM変換器とを利用して実現できる。PWM変換器は、駆動電圧V(U相電圧v、V相電圧v、W相電圧v)の目標値(電圧指令値)v ,v ,v に従って、パルス幅変調されたPWM信号を生成する。PWMインバータは、このPWM信号に応じた駆動電圧V(v,v,v)をモータ15に与えてモータ15を駆動する。より具体的には、PWMインバータは、3相分のハーフブリッジ回路とドライバとを備える。PWMインバータでは、ドライバがPWM信号に従って各ハーフブリッジ回路におけるスイッチング素子をオン/オフすることにより、電圧指令値v ,v ,v に従った駆動電圧V(v,v,v)がモータ15に与えられる。これによって、モータ15には、駆動電圧V(v,v,v)に応じた駆動電流が供給される。駆動電流は、U相電流i、V相電流i、及びW相電流iを含む。より詳細には、U相電流i、V相電流i、及びW相電流iは、モータ15の固定子14における、U相の電機子巻線の電流、V相の電機子巻線の電流及びW相の電機子巻線の電流である。
 制御部4は、操作部29から与えられるモータ15の速度の目標値ω に基づいて、モータ15の速度の指令値ω を定める。また、制御部4は、モータ15の速度が指令値ω に一致するように、駆動電圧Vの目標値(電圧指令値)v ,v ,v を決定して、インバータ回路部51に与える。
 (1.2.2)制御部
 以下、制御部4について更に詳細に説明する。制御部4は、本実施形態では、ベクトル制御を利用して、モータ15の制御を行う。ベクトル制御は、モータ電流を、トルク(回転力)を発生する電流成分(トルク電流)と磁束を発生する電流成分(励磁電流)とに分解し、それぞれの電流成分を独立に制御するモータ制御方式の一種である。
 図3は、ベクトル制御におけるモータ15の解析モデル図である。図3には、U相、V相、W相の電機子巻線固定軸が示されている。ベクトル制御では、モータ15の回転子13に設けられた永久磁石131が作る磁束の回転速度と同じ速度で回転する回転座標系が考慮される。回転座標系において、永久磁石131が作る磁束の方向をd軸にとり、d軸に対応する制御上の回転軸をγ軸とする。また、d軸から電気角で90度進んだ位相にq軸をとり、γ軸から電気角で90度進んだ位相にδ軸をとる。実軸に対応する回転座標系はd軸とq軸を座標軸に選んだ座標系であり、その座標軸をdq軸と呼ぶ。制御上の回転座標系はγ軸とδ軸を座標軸に選んだ座標系であり、その座標軸をγδ軸と呼ぶ。
 dq軸は回転しており、その回転速度をωで表す。γδ軸も回転しており、その回転速度をωで表す。また、dq軸において、U相の電機子巻線固定軸から見たd軸の角度(位相)をθで表す。同様に、γδ軸において、U相の電機子巻線固定軸から見たγ軸の角度(位相)をθで表す。θ及びθにて表される角度は、電気角における角度であり、それらは一般的に回転子位置又は磁極位置とも呼ばれる。ω及びωにて表される回転速度は、電気角における角速度である。以下、必要に応じて、θ又はθを、回転子位置と呼び、ω又はωを単に速度と呼ぶことがある。
 制御部4は、基本的に、θとθとが一致するようにベクトル制御を行う。θとθとが一致しているとき、d軸及びq軸は夫々γ軸及びδ軸と一致することになる。なお、以下の説明では、必要に応じて、駆動電圧Vのγ軸成分及びδ軸成分を、それぞれγ軸電圧vγ及びδ軸電圧vδで表し、駆動電流のγ軸成分及びδ軸成分を、それぞれγ軸電流iγ及びδ軸電流iδで表す。
 また、γ軸電圧vγ及びδ軸電圧vδの目標値を表す電圧指令値を、それぞれγ軸電圧指令値vγ 及びδ軸電圧指令値vδ により表す。γ軸電流iγ及びδ軸電流iδの目標値を表す電流指令値を、それぞれγ軸電流指令値iγ 及びδ軸電流指令値iδ により表す。
 制御部4は、γ軸電圧vγ及びδ軸電圧vδの値がそれぞれγ軸電圧指令値vγ 及びδ軸電圧指令値vδ に追従しかつγ軸電流iγ及びδ軸電流iδの値がそれぞれγ軸電流指令値iγ 及びδ軸電流指令値iδ に追従するように、ベクトル制御を行う。
 制御部4は、1以上のプロセッサ及びメモリを有するコンピュータシステムを含んでいる。コンピュータシステムのメモリに記録されたプログラムを、コンピュータシステムのプロセッサが実行することにより、制御部4の少なくとも一部の機能が実現される。プログラムは、メモリに記録されていてもよいし、インターネット等の電気通信回線を通して提供されてもよく、メモリカード等の非一時的記録媒体に記録されて提供されてもよい。
 図1に示すように、制御部4は、座標変換器411,412と、減算器421,422,423と、電流制御部43と、磁束制御部44と、速度制御部45と、位置・速度推定部46と、脱調検出部47と、指令値生成部48と、移動検出部49と、を備える。なお、座標変換器411、減算器421,422,423、電流制御部43、磁束制御部44、速度制御部45、位置・速度推定部46、脱調検出部47、指令値生成部48及び移動検出部49は、必ずしも実体のある構成を示しているわけではない。これらは、制御部4によって実現される機能を示している。よって、制御部4の各要素は、制御部4内で生成された各値を自由に利用可能となっている。また、電動工具1は、複数(図1では2つ)の電流センサ61,62を備えている。
 複数の電流センサ61,62の各々は、例えば、ホール素子電流センサ又はシャント抵抗素子を含んでいる。複数の電流センサ61,62は、電源部32からインバータ回路部51を介してモータ15に供給される電流を測定する。複数の電流センサ61,62は、少なくとも2相の電流を測定する。図1では、電流センサ61がU相電流iを測定し、電流センサ62がV相電流iを測定する。なお、W相電流iは、U相電流i及びV相電流iから求めることができる。
 座標変換器(第1の座標変換器)411は、回転子位置θに基づいてU相電流i及びV相電流iをγδ軸上に座標変換することにより、γ軸電流iγ及びδ軸電流iδを算出して出力する。ここで、γ軸電流iγは、d軸電流に対応し、励磁的な電流であり、トルクには殆ど寄与しない電流である。δ軸電流iδは、q軸電流に対応し、トルクに大きく寄与する電流である。回転子位置θは、位置・速度推定部46にて算出される。
 減算器423は、速度ωと指令値ω とを参照し、両者間の速度偏差(ω -ω)を算出する。速度ωは、位置・速度推定部46にて算出される。
 速度制御部45は、比例積分制御などを用いることによって、速度偏差(ω -ω)がゼロに収束するようにδ軸電流指令値iδ を算出して出力する。
 磁束制御部44は、γ軸電流指令値iγ を決定して減算器421に出力する。γ軸電流指令値iγ は、制御部4にて実行されるベクトル制御の種類やモータ15の速度ωに応じて、様々な値をとりうる。例えば、d軸電流をゼロとして最大トルク制御を行う場合は、γ軸電流指令値iγ が0とされる。また、d軸電流を流して弱め磁束制御を行う場合は、γ軸電流指令値iγ が速度ωに応じた負の値とされる。以下の説明では、γ軸電流指令値iγ が0である場合を取り扱う。
 減算器421は、磁束制御部44から出力されるγ軸電流指令値iγ より座標変換器411から出力されるγ軸電流iγを減算し、電流誤差(iγ -iγ)を算出する。減算器422は、速度制御部45から出力される値iδ より座標変換器411から出力されるδ軸電流iδを減算し、電流誤差(iδ -iδ)を算出する。
 電流制御部43は、電流誤差(iγ -iγ)及び(iδ -iδ)が共にゼロに収束するように、比例積分制御などを用いた電流フィードバック制御を行う。この際、γ軸とδ軸との間の干渉を排除するための非干渉制御を利用し、(iγ -iγ)及び(iδ -iδ)が共にゼロに収束するようにγ軸電圧指令値vγ 及びδ軸電圧指令値vδ を算出する。
 座標変換器(第2の座標変換器)412は、位置・速度推定部46から出力される回転子位置θに基づいて電流制御部43から与えられたγ軸電圧指令値vγ 及びδ軸電圧指令値vδ を三相の固定座標軸上に座標変換することにより、電圧指令値(v 、v 及びv )を算出して出力する。
 位置・速度推定部46は、回転子位置θ及び速度ωを推定する。より詳細には、位置・速度推定部46は、座標変換器411からのiγ及びiδ並びに電流制御部43からのvγ 及びvδ の内の全部又は一部を用いて、比例積分制御等を行う。位置・速度推定部46は、d軸とγ軸との間の軸誤差(θ-θ)がゼロに収束するように回転子位置θ及び速度ωを推定する。なお、回転子位置θ及び速度ωの推定手法として従来から様々な手法が提案されており、位置・速度推定部46は公知の何れの手法をも採用可能である。
 脱調検出部47は、モータ15が脱調しているか否かを判定する。より詳細には、脱調検出部47は、モータ15の磁束に基づいて、モータ15が脱調しているか否かを判定する。モータ15の磁束は、d軸電流及びq軸電流及びγ軸電圧指令値vγ 及びδ軸電圧指令値vδ から求められる。脱調検出部47は、モータ15の磁束の振幅が閾値未満であれば、モータ15が脱調していると判断してよい。なお、閾値は、モータ15の永久磁石が作る磁束の振幅に基づいて適宜定められる。なお、脱調検出手法として従来から様々な手法が提案されており、脱調検出部47は公知の何れの手法をも採用可能である。
 指令値生成部48は、制御部4において、モータ15の速度の指令値ω を求める部分である。ここでは、指令値生成部48は、指令値ω として、操作部29から受け取った目標値ω を設定する。
 移動検出部49は、上述の検出機能の実行主体である。検出機能において、移動検出部49は、モータ15に供給されるトルク電流と励磁電流との少なくとも一方に基づいて、作業対象100に対するハウジング9の急峻な移動又はその予兆を検出する。移動検出部49は、検出機能において、モータ15に供給されるトルク電流と励磁電流との少なくとも一方に基づいて、ハウジング9に加わる加速度の急激な増加を検出することで、作業対象100に対するハウジング9の急峻な移動又はその予兆を検出する。なお、本開示では、これから作業対象100に対するハウジング9の急峻な移動が起きることが予測されるとき、作業対象100に対するハウジング9の急峻な移動の予兆がある、という。
 移動検出部49は、座標変換器411で算出したγ軸電流iγを励磁電流の測定値、δ軸電流iδをトルク電流の測定値としてそれぞれ用いて、検出機能を実行する。
 移動検出部49が検出対象とするハウジング9の急峻な移動は、ここでは、作業対象100からの反力によるハウジング9の移動を含む。移動検出部49が検出対象とするハウジング9の急峻な移動の予兆は、ここでは、作業対象100からの反力に起因してハウジング9に加わる加速度の急激な増加を含む。
 例えば、電動工具1としてのインパクトドライバ(図2参照)を用いて、木材(作業対象100)にねじ(締付部材30)を締めている途中において、ねじの先端が木材の硬い部分に接触する場合がある。この場合、木材から受ける負荷が急激に増加することで出力軸21の回転速度が低下するが、その一方、モータ15は、出力軸21の速度を維持しようとして回転軸16の速度を維持しようとする。そのため、モータ15の本体(固定子14を収容する部分)ひいてはモータ15を保持するハウジング9には、出力軸21の回転速度の低下にともなうモータ15の回転力が、木材(作業対象100)からの反力として作用する。そのため、電動工具1のハウジング9は、出力軸21の回転方向と反対方向に回転しようとする(ハウジング9の急峻な移動)。
 本実施形態の電動工具1の制御部4の移動検出部49は、トルク電流と励磁電流との少なくとも一方、ここでは両方に基づいて、このようなハウジング9の急峻な移動(出力軸21周りの回転)又はその予兆を検出する。
 図4に、電動工具1(インパクトドライバ)によってねじを作業対象100に締め付ける際の、モータ15の速度ω、δ軸電流iδ(トルク電流)及びγ軸電流iγ(励磁電流)の概略の一例を示す。
 図4では、時点t0にモータ15への電流の供給が開始し、時点t1でインパクト機構17が打撃動作を開始する。また、時点t2で、出力軸21にかかる負荷が増大している。なお、以下では、便宜上、時点t0~t1の間の期間を第1期間T1、時点t1~t2の間の期間を第2期間T2、時点t2以降の期間を第3期間T3ということがある。
 第1期間T1では、トリガスイッチの引込み量の増加(モータ15の指令値ω の増加)に追従して、モータ15の速度ωが増加している。そして、トリガスイッチの引込み量が上限値で一定となった時点t4以降は、モータ15の速度ωも一定値に収束している。第1期間T1では、出力軸21にかかる負荷が、インパクト機構17が打撃動作を開始する閾値を超えていない。そのため、インパクト機構17は打撃動作を行わず、出力軸21は駆動軸22と一体に回転する。なお、実際には、モータ15の速度ωが増加する状態から一定値に維持される状態に転じる際(時点t4)に、モータ15の速度ωが指令値ω を所定量以上超える状態であるオーバーシュートが発生することがあるが、ここでは無視している。
 時点t1において、出力軸21にかかる負荷が、インパクト機構17が打撃動作を開始する閾値に達する。そして、時点t1以降の第2期間T2では、インパクト機構17が打撃動作を行う。第2期間T2では、モータ15の速度ωは、インパクト機構17の打撃動作に応じて、指令値ω の周りで振動する。
 第2期間T2において、δ軸電流iδ(トルク電流)は、インパクト機構17の打撃動作に応じて、所定値Ipδ1周りで振動する。具体的には、インパクト機構17の打撃動作において、ハンマ19が後退する間は、モータ15の回転軸16にかかる負荷は徐々に増加する。そして、ハンマ19とアンビル20との結合が外れると、モータ15の回転軸16にかかる負荷が減少する。上述のように、制御部4は、dq軸における回転子位置θとγδ軸における回転子位置θとが一致するように制御を行う。そのため、制御部4は、モータ15の回転軸16にかかる負荷が増加又は減少すると、これにより生じるθとθとの差分を補償するように制御を行うので、δ軸電流iδの測定値が増加又は減少する。具体的には、モータ15にかかる負荷が小さくなった直後は、δ軸電流iδの測定値が減少し、モータ15にかかる負荷が大きくなった瞬間は、δ軸電流iδの測定値が増加する。なお、図4におけるδ軸電流iδの振動の一往復が、インパクト機構17による1回の打撃動作に相当している。
 また、第2期間T2において、γ軸電流iγ(励磁電流)は、インパクト機構17の打撃動作に応じて、電流値ゼロの周りで振動する。すなわち、制御部4が、モータ15の回転軸16にかかる負荷の増加又は減少に応じてθとθとの差分を補償するように制御を行うことで、δ軸電流iδと同様(詳細にはδ軸電流iδと逆位相で)、γ軸電流iγが振動する。図4におけるγ軸電流iγの振動の一往復が、インパクト機構17による1回の打撃動作に相当している。
 このように、制御部4は、δ軸電流iδ(トルク電流)又はγ軸電流iγ(励磁電流)の振動の有無を検出することで、インパクト機構17の打撃動作の有無(打撃動作の開始及び終了)を検出できる。制御部4は、例えば、δ軸電流iδ又はγ軸電流iγの振幅を所定の閾値と比較することで、δ軸電流iδ又はγ軸電流iγの振動の有無を検出する。なお、電流の振幅は、例えば、単位時間あたりの電流の最大値と最小値との差分の1/2として定義される。
 時点t2において、ねじにかかる負荷が急増することで、出力軸21にかかる負荷が増加する。図4に示すように、時点t2以降の第3期間T3において、ねじにかかる負荷が増加した時点(時点t2)の直後は、インパクト機構17が打撃動作を継続している。
 ここで、第3期間T3では、第2期間T2に比べて出力軸21にかかる負荷が増加し、ひいてはモータ15の回転軸16にかかる負荷が増加する。第3期間T3においては、制御部4は、回転軸16にかかる負荷の増加に応じて、モータ15に供給するトルク電流(δ軸電流iδ)を増加させる。そのため、第3期間T3において、δ軸電流iδ(トルク電流)は、インパクト機構17の打撃動作に応じて、所定値Ipδ2(>Ipδ1)周りで振動する。
 移動検出部49は、このδ軸電流iδ(トルク電流)の増加を検出することで、回転軸16にかかる負荷の増加に起因したハウジング9の急峻な移動又はその予兆を、検出している。具体的には、移動検出部49は、トルク電流(δ軸電流iδ)の最大値、最小値及び平均値のうちのいずれか一つが増加したことを検出することで、ハウジング9の急峻な移動又はその予兆を検出する。例えば、移動検出部49は、単位時間あたりのトルク電流の最大値(又は最小値又は平均値)が、打撃動作の開始直後の値よりも所定の閾値以上増加していることを検出すると、ハウジング9に急峻な移動が起こった又はその予兆があると判定する。
 要するに、制御部4(移動検出部49)は、検出機能において、トルク電流に基づいて求めた回転軸16にかかる負荷が、所定値以上となると、ハウジング9の急峻な移動があると判定する。ここでの所定値は、例えば、検出対象がトルク電流の平均値の場合、上記の所定値Ipδ1に設定され得る。
 また、第3期間T3では、上述のように、第2期間T2に比べて出力軸21にかかる負荷が増加し、モータ15の回転軸16にかかる負荷が増加する。そのため、第3期間T3では、インパクト機構17の打撃動作において、ハンマ19が後退する間に生じるθとθとの差分が、第2期間T2に比べて大きくなる。制御部4はθとθとの差分を補償するように制御を行うので、θとθとの差分の増加は、γ軸電流iγの最小値の低下(負の方向の最大値の絶対値の増加)として現れる(図4参照)。
 移動検出部49は、このγ軸電流iγ(励磁電流)の最小値の低下を検出することで、回転軸16にかかる負荷の増加に起因したハウジング9の急峻な移動又はその予兆を、検出している。具体的には、移動検出部49は、打撃動作の開始直後の値よりも、励磁電流(γ軸電流iγ)の最小値が減少したこと(絶対値で見た場合、増加したこと)を検出することで、ハウジング9の急峻な移動又はその予兆を検出する。例えば、移動検出部49は、単位時間あたりの励磁電流の最小値が、所定の閾値以下となったことを検出すると、ハウジング9に急峻な移動が起こった又はその予兆があると判定してもよい。
 このように、移動検出部49は、モータ15に供給されるトルク電流と励磁電流との少なくとも一方に基づいて、作業対象100に対するハウジング9の急峻な移動又はその予兆を検出する。移動検出部49は、励磁電流に基づく検出結果とトルク電流に基づく検出結果との論理和に基づいて、ハウジング9の急峻な移動又はその予兆を検出してもよいし、論理積に基づいてハウジング9の急峻な移動又はその予兆を検出してもよい。
 制御部4は、ハウジング9の急峻な移動又はその予兆を検出すると、保護動作を実行する。ここでは、制御部4は、保護動作として、モータ15を停止させる。制御部4は、例えば、インバータ回路部51に与えられる駆動電圧Vの目標値(電圧指令値)v ,v ,v を0とすることで、モータ15を停止させる。これにより、ハウジング9に急峻な移動又はその予兆があった場合に、その原因となるモータ15の回転が停止されるので、電動工具1から使用者にかかる負荷が低減される。そのため、本実施形態の電動工具1によれば、使い勝手を向上させることが可能となる。
 (1.3)変形例
 本開示の実施形態は、上記実施形態1に限定されない。上記実施形態1は、本開示の目的を達成できれば、設計等に応じて種々の変更が可能である。以下に、上記実施形態1の変形例を列挙する。
 電動工具1の制御部4と同様の機能は、電動工具1の制御方法、(コンピュータ)プログラム、又はプログラムを記録した非一時的記録媒体等で具現化されてもよい。
 一態様に係る電動工具1の制御方法は、ベクトル制御を利用して、操作部29への操作に応じてモータ15の回転動作を制御することを含む。また、制御方法は、モータ15に供給されるトルク電流と励磁電流との少なくとも一方に基づいて、作業対象100に対するハウジング9の急峻な移動又はその予兆を検出することを含む。
 具体的には、図5に示すように、制御部4は、操作部29が操作されると、操作部29への操作量に応じて設定した指令値ω を用いて、モータ15をベクトル制御する(ST1)。また、制御部4は、モータ15をベクトル制御している間、トルク電流に基づいてハウジング9の急峻な移動又はその予兆の存否を判定し(ST2)、励磁電流に基づいてハウジング9の急峻な移動の存否又はその予兆を判定する(ST3)。制御部4は、トルク電流及び励磁電流のうちの一方又は両方に基づいてハウジング9の急峻な移動又はその予兆を検出すると(ST4:Yes)、保護動作としてモータ15を停止させる(ST5)。
 なお、図5は、本実施形態の制御方法の一例であり、必ずしも図5のフローチャートの通りに処理が実行される必要はない。例えば、ステップST2とステップST3とが逆の順序で実行されてもよいし、同時に実行されてもよい。
 一態様に係るプログラムは、1以上のプロセッサに、上記の電動工具1の制御方法を実行させるためのプログラムである。
 以上述べた制御部4の実行主体は、コンピュータシステムを含んでいる。コンピュータシステムは、ハードウェアとしてのプロセッサ及びメモリを主構成とする。コンピュータシステムのメモリに記録されたプログラムをプロセッサが実行することによって、本開示における制御部4としての機能の一部が実現される。プログラムは、コンピュータシステムのメモリに予め記録されてもよく、電気通信回線を通じて提供されてもよく、コンピュータシステムで読み取り可能なメモリカード、光学ディスク、ハードディスクドライブ等の非一時的記録媒体に記録されて提供されてもよい。コンピュータシステムのプロセッサは、半導体集積回路(IC)又は大規模集積回路(LSI)を含む1ないし複数の電子回路で構成される。ここでいうIC又はLSI等の集積回路は、集積の度合いによって呼び方が異なっており、システムLSI、VLSI(Very Large Scale Integration)、又はULSI(Ultra Large Scale Integration)と呼ばれる集積回路を含む。さらに、LSIの製造後にプログラムされる、FPGA(Field-Programmable Gate Array)、又はLSI内部の接合関係の再構成若しくはLSI内部の回路区画の再構成が可能な論理デバイスについても、プロセッサとして採用することができる。複数の電子回路は、1つのチップに集約されていてもよいし、複数のチップに分散して設けられていてもよい。複数のチップは、1つの装置に集約されていてもよいし、複数の装置に分散して設けられていてもよい。ここでいうコンピュータシステムは、1以上のプロセッサ及び1以上のメモリを有するマイクロコントローラを含む。したがって、マイクロコントローラについても、半導体集積回路又は大規模集積回路を含む1ないし複数の電子回路で構成される。
 また、制御部4における複数の機能が、1つのハウジング内に集約されていることは必須の構成ではない。制御部4の構成要素は、複数のハウジングに分散して設けられていてもよい。反対に、制御部4における複数の機能が、実施形態1のように、1つのハウジング内に集約されてもよい。さらに、制御部4の少なくとも一部の機能、例えば、制御部4の一部の機能がクラウド(クラウドコンピューティング)等によって実現されてもよい。
 (1.3.1)変形例1
 以下、変形例1に係る電動工具1について説明する。本変形例の電動工具1において、実施形態1と同様の構成については、同一の符号を付して説明を省略する。
 本変形例の電動工具1は、例えばハンマドリルである。本変形例の電動工具1では、移動検出部49が検出対象とするハウジング9の急峻な移動は、作業対象100から先端工具28(出力軸21)にかかる負荷の急激な減少(負荷の喪失)に起因するハウジング9の移動を含む。移動検出部49が検出対象とするハウジング9の急峻な移動の予兆は、作業対象100から出力軸21にかかる負荷の急激な減少(負荷の喪失)に起因してハウジング9に加わる加速度の急激な増加を含む。
 例えば、先端工具28としてドリルビットを用いて、木材(作業対象100)に穴開け作業を行っているときに、ビットが木材を貫通する場合がある。この場合、木材から受ける負荷が急激に減少することで、ハウジング9が先端工具28とともに前方へ急激に移動する可能性がある(ハウジング9の急峻な移動)。
 本変形例の電動工具1の制御部4の移動検出部49は、トルク電流と励磁電流との少なくとも一方、ここでは両方に基づいて、このようなハウジング9の急峻な移動又はその予兆を検出する。
 以下、本変形例の電動工具1の動作について、簡単に説明する。
 本変形例の電動工具1によって木材(作業対象100)に穴開け作業を行う場合、ドリルビットが木材を貫通する前におけるモータ15の速度ω、δ軸電流iδ(トルク電流)、及びγ軸電流iγ(励磁電流)の概略は、実施形態1の第1期間T1及び第2期間T2のそれらと同様である。
 一方、ドリルビットが木材を貫通すると、貫通する前に比べて出力軸21にかかる負荷が減少し、モータ15の回転軸16にかかる負荷が減少する。
 そのため、ドリルビットが木材を貫通した後の期間(以下、「貫通後期間」という)では、回転軸16にかかる負荷の減少に応じて、δ軸電流iδ(トルク電流)が減少する。つまり、作業対象100の穴開けの完了に伴うハウジング9の急峻な移動は、作業対象100からの反力によるハウジング9の急峻な移動の場合(実施形態1参照)とは反対に、トルク電流の電流値の最大値、最小値、及び平均値の減少として現れる。移動検出部49は、このδ軸電流iδ(トルク電流)の減少を検出することで、出力軸21にかかる負荷の減少に起因したハウジング9の急峻な移動又はその予兆を検出する。
 また、貫通後期間においては、ハンマ19が後退する間に生じるθとθとの差分は、ドリルビットが木材を貫通する前に比べて小さくなる。そのため、貫通後期間においては、γ軸電流iγの測定値の最小値が増加する(負の方向の最大値の絶対値が減少する;ゼロに近づく)。移動検出部49は、このγ軸電流iγ(励磁電流)の最小値の増加を検出することで、出力軸21にかかる負荷の減少に起因したハウジング9の急峻な移動又はその予兆を検出する。
 このように、移動検出部49は、モータ15に供給されるトルク電流と励磁電流との少なくとも一方に基づいて、作業対象100に対するハウジング9の急峻な移動又はその予兆を検出する。移動検出部49は、励磁電流に基づく検出結果とトルク電流に基づく検出結果との論理和に基づいて、ハウジング9の急峻な移動又はその予兆を検出してもよいし、論理積に基づいてハウジング9の急峻な移動又はその予兆を検出してもよい。
 本変形例の電動工具1でも、ハウジング9の急峻な移動又はその予兆の検出に応じて、モータ15を停止させる等の対処を行うことが可能となり、電動工具1の使い勝手を向上できる。
 電動工具1は、本変形例の検出機能と上記実施形態1の検出機能との両方を兼ね備えていてもよい。
 (1.3.2)変形例2
 以下、変形例2に係る電動工具1について説明する。本変形例の電動工具1において、実施形態1と同様の構成については、同一の符号を付して説明を省略する。
 本変形例の電動工具1では、伝達機構18がインパクト機構17を備えておらず、例えば駆動軸22と出力軸21とが一体に結合されている点で、実施形態1の電動工具1と相違する。本変形例の電動工具1は、例えばドリルドライバである。
 以下、本変形例の電動工具1の動作について、簡単に説明する。
 ドリルドライバとしての本変形例の電動工具1を用いて、ねじ締め作業を行う場合、モータ15の速度ω、δ軸電流iδ(トルク電流)、及びγ軸電流iγ(励磁電流)の概略は、実施形態1の第1期間T1のそれらと同様である。また、出力軸21にかかる負荷が増加した後の、モータ15の速度ω、δ軸電流iδ、及びγ軸電流iγの概略は、実施形態1の第3期間T3のそれらと同様である。つまり、本変形例の電動工具1(ドリルドライバ)を用いてねじ締め作業を行う場合、モータ15の速度ω、δ軸電流iδ、及びγ軸電流iγの概略は、第2期間T2が無い以外は、実施形態1のそれらと同様である。
 また、本変形例の電動工具1を用いて、穴開け作業を行う場合、モータ15の速度ω、δ軸電流iδ、及びγ軸電流iγの概略は、第2期間T2が無い以外は、変形例1で説明したのと同様である。
 したがって、本変形例の電動工具1でも、制御部4(移動検出部49)は、モータ15に供給されるトルク電流と励磁電流との少なくとも一方に基づいて、作業対象100に対するハウジング9の急峻な移動又はその予兆を検出できる。
 なお、作業対象100によっては、第3期間T3(或いは貫通後期間)において、δ軸電流iδの電流値及びγ軸電流iγの電流値が振動しない場合もあり得る。
 (1.3.3)その他の変形例
 一変形例において、制御部4は、保護動作として、指令値生成部48で生成する指令値ω を0とすることでモータ15を停止させてもよい。
 一変形例において、電動工具1の制御部4は、保護動作として、モータ15の回転速度を低下させてもよい。
 一変形例において、制御部4は、保護動作として、モータ15の回転軸16の回転力の、先端工具28への伝達を遮断させてもよい。例えば、伝達機構18がクラッチ機構を含んでいる場合、クラッチ機構により、モータ15の回転軸16の回転力の先端工具28への伝達を遮断させてもよい。クラッチ機構は、例えば電子クラッチにより実現されてもよい。
 一変形例において、伝達機構18(例えば遊星歯車機構25)が変速機構を含んでいる場合、制御部4は、保護動作として、モータ15の回転軸16の速度に対する先端工具28の速度の比(減速比)を低下させてもよい。
 一変形例において、電動工具1は、先端工具28としての丸鋸刃を備える電動のソーであってもよい。
 一変形例において、電動工具1は、電動の油圧式工具(オイルパルスインパクト工具等)であってもよい。
 一変形例において、電動工具1は、ハウジング9の急峻な移動又はその予兆を検出する加速度センサ又はジャイロセンサを備えてもよい。制御部4は、センサの検出結果を更に参照して、ハウジング9の急峻な移動又はその予兆を検出してもよい。
 一変形例において、電動工具1は、検出機能の有効と無効とを切り換える切換部を備えていてもよい。切換部は、例えば、ユーザの操作を受け付けるスイッチ等を備え得る。スイッチへの操作に応じて、検出機能の有効と無効とが切り換えられる。
 一変形例において、制御部4は、モータ15の速度ωが所定の速度閾値以下の場合、検出機能と保護動作とのうちの少なくとも一方を無効としてもよい。
 一変形例において、制御部4は、保護動作の履歴を記憶する記憶部を備えていてもよい。制御部4は、例えば、保護動作を実行してから所定時間内にハウジング9の急峻な移動又はその予兆を検出した場合、保護動作を行わないように構成されていてもよい。例えば、一旦ハウジング9の急峻な移動又はその予兆を検出してモータ15を停止(保護動作を実行)した後、所定時間内に再度ハウジング9の急峻な移動又はその予兆を検出した場合、制御部4は、モータ15を停止させずにモータ15の回転動作を維持する。これにより、作業効率の向上を図ることができる。
 (2)実施形態2
 本実施形態では、カムアウト又はカムアウトの予兆を検知することができる電動工具、カムアウト検知方法及びプログラムを提供する。
 以下、本実施形態に係る電動工具101について、図面を用いて説明する。
 (2.1)概要
 本実施形態の電動工具101は、インパクト工具である。電動工具101(図7参照)は、例えば、インパクトドライバ、ハンマドリル、インパクトドリル、インパクトドリルドライバ又はインパクトレンチとして用いられる。本実施形態では、代表例として、電動工具1がねじをねじ締めするためのインパクトドライバとして用いられる場合について説明する。本実施形態の電動工具101において、実施形態1の電動工具1と同様の構成については、同一の符号を付して適宜説明を省略する場合がある。
 図6、図7に示すように、電動工具101は、モータ15と、制御部104と、出力軸21と、伝達機構18と、カムアウト検知部54と、を備える。制御部104は、モータ15をベクトル制御する。出力軸21は、先端工具28と連結される。伝達機構18は、モータ15の動力を出力軸21に伝達する。カムアウト検知部54は、カムアウト又はカムアウトの予兆を、モータ15に供給される励磁電流(電流測定値id1)の振幅に相関する物理量に基づいて検知する。カムアウトは、モータ15の動作中に先端工具28と先端工具28による作業対象のねじ(締付部材30)との嵌合が解除される現象である。
 本実施形態の電動工具101によれば、カムアウト又はカムアウトの予兆を検知することができる。そのため、カムアウト又はカムアウトの予兆の検知に応じた対処を、自動にて又は作業者の操作にて行うことができる。
 実施形態1の電動工具1と同様、モータ15は、ブラシレスモータである。特に、本実施形態のモータ15は、同期電動機であり、より詳細には、永久磁石同期電動機(PMSM(Permanent Magnet Synchronous Motor))である。
 上述のように、ベクトル制御は、モータ15のコイル141に供給される電流を、磁束を発生する電流成分(励磁電流)とトルク(回転力)を発生する電流成分(トルク電流)とに分解し、それぞれの電流成分を独立に制御するモータ制御方式の一種である。
 電流測定値id1は、ベクトル制御と、カムアウト又はカムアウトの予兆の検知と、の両方に用いられる。そのため、ベクトル制御のための回路の一部とカムアウト又はカムアウトの予兆の検知のための回路の一部とを共有することができる。これにより、電動工具101に備えられる回路の面積及び寸法の低減、並びに、回路に要するコストの低減を図ることができる。
 (2.2)電動工具の詳細
 図7に示すように、電動工具101は、電源部32と、モータ15と、モータ回転測定部27と、伝達機構18と、出力軸21と、ソケット(チャック)23と、先端工具28と、を備えている。また、電動工具101は、トリガスイッチ29と、制御部104と、を備えている。制御部104は、インパクト機構17の打撃動作の有無を検知する打撃検知部149を有している。
 電動工具101は、実施形態1の電動工具1と同様、モータ15の駆動力で出力軸21を回転させることで、ソケット23に取り付けられた先端工具28を回転させる。
 本実施形態の先端工具28は、締付部材30(ねじ)を締める又は緩めるためのドライバビットである。より詳細には、先端工具28は、先端部280が+(プラス)形に形成されたプラスドライバビットである。すなわち、出力軸21は、ねじを締める又は緩めるためのドライバビットを保持し、モータ15から動力を得て回転する。以下では、電動工具101によりねじを締める場合について説明する。ねじの種類は特に限定されず、例えば、ボルト、ビス又はナットであってよい。
 図7に示すように、本実施形態の締付部材30は、木ねじである。締付部材30は、頭部301と、円筒部302と、ねじ部303と、を有している。円筒部302の第1端に、頭部301がつながっている。円筒部302の第2端に、ねじ部303がつながっている。頭部301には、先端工具28に適合するねじ穴310(図9参照)が形成されている。ねじ穴310は、例えば、+形の穴である。ねじ部303には、ねじ山が形成されている。
 先端工具28は、締付部材30と嵌合する。すなわち、先端工具28は、締付部材30の頭部301のねじ穴310に挿入される。この状態で、先端工具28は、モータ15に駆動されて回転し、締付部材30を回転させる。これにより、締付部材30(木ねじ)は、ねじ締め対象の部材(例えば壁材)に穴とねじ溝とを形成しながら、ねじ締め対象の部材に埋め込まれる。すなわち、先端工具28は、締付部材30に締め付ける力(又は緩める力)を加える。
 本実施形態では、締付部材30のねじ穴310(図9参照)に先端工具28の先端部280の少なくとも一部が挿入された状態を指して、先端工具28と締付部材30とが嵌合していると言う。また、モータ15の動作(回転)中に、先端工具28と締付部材30とが嵌合している状態から、先端工具28の先端部280がねじ穴310の外に出ることを指して、先端工具28と締付部材30との嵌合が解除される現象、すなわち、カムアウトが起きると言う。そして、先端部280がねじ穴310の中に有るときであって、これからカムアウトが起きることが予測されるとき、カムアウトの予兆が有ると言う。
 電動工具101の伝達機構18、操作部29、電源部32は、電動工具1のそれらと同様である。以下では、操作部29をトリガスイッチ29ということがある。
 モータ回転測定部27は、モータ15の回転角を測定する。モータ回転測定部27としては、例えば、光電式エンコーダ又は磁気式エンコーダを採用することができる。
 電動工具101は、インバータ回路部51(図6参照)を備えている。インバータ回路部51は、モータ15に電流を供給する。制御部104は、インバータ回路部51と共に用いられ、フィードバック制御によりモータ15の動作を制御する。
 (2.3)制御部
 制御部104は、1以上のプロセッサ及びメモリを有するコンピュータシステムを含んでいる。コンピュータシステムのメモリに記録されたプログラムを、コンピュータシステムのプロセッサが実行することにより、制御部4の少なくとも一部の機能が実現される。プログラムは、メモリに記録されていてもよいし、インターネット等の電気通信回線を通して提供されてもよく、メモリカード等の非一時的記録媒体に記録されて提供されてもよい。
 図6に示すように、制御部104は、指令値生成部140と、速度制御部142と、電流制御部143と、第1の座標変換器144と、第2の座標変換器145と、磁束制御部146と、推定部147と、脱調検出部148と、打撃検知部149と、カムアウト検知部54と、通知部55と、を有している。また、電動工具101は、複数(図6では2つ)の電流センサ61、62を備えている。
 複数の電流センサ61、62はそれぞれ、例えば、ホール素子電流センサ又はシャント抵抗素子を含んでいる。複数の電流センサ61、62は、電源部32(図7参照)からインバータ回路部51を介してモータ15に供給される電流を測定する。ここで、モータ15には、3相電流(U相電流、V相電流及びW相電流)が供給されており、複数の電流センサ61、62は、3相のうちの少なくとも2相の電流を測定する。図6では、電流センサ61がU相電流を測定して電流測定値iu1を出力し、電流センサ62がV相電流を測定して電流測定値iv1を出力する。
 推定部147は、モータ回転測定部27で測定されたモータ15の回転角θ1を時間微分して、モータ15の角速度ω1(回転軸16の角速度)を算出する。
 取得部60は、2つの電流センサ61、62と、第2の座標変換器145と、を有している。取得部60は、モータ15に供給されるd軸電流(励磁電流)及びq軸電流(トルク電流)を取得する。すなわち、2つの電流センサ61、62で測定された2相の電流が第2の座標変換器145で変換されることで、d軸電流の電流測定値id1及びq軸電流の電流測定値iq1が算出される。
 第2の座標変換器145は、複数の電流センサ61、62で測定された電流測定値iu1、iv1を、モータ回転測定部27で測定されたモータ15の回転角θ1に基づいて座標変換し、電流測定値id1、iq1を算出する。すなわち、第2の座標変換器145は、3相電流に対応する電流測定値iu1、iv1を、磁界成分(d軸電流)に対応する電流測定値id1と、トルク成分(q軸電流)に対応する電流測定値iq1とに変換する。
 指令値生成部140は、モータ15の角速度の指令値cω1を生成する。指令値生成部140は、例えば、トリガスイッチ29(図7参照)を引く操作の引込み量に応じた指令値cω1を生成する。すなわち、指令値生成部41は、上記引込み量が大きいほど、角速度の指令値cω1を大きくする。
 速度制御部142は、指令値生成部140で生成された指令値cω1と推定部147で算出された角速度ω1との差分に基づいて、指令値ciq1を生成する。指令値ciq1は、モータ15のトルク電流(q軸電流)の大きさを指定する指令値である。速度制御部142は、指令値cω1と角速度ω1との差分を小さくするように指令値ciq1を決定する。
 磁束制御部146は、推定部147で算出された角速度ω1と、電流制御部143で生成される指令値cvq1(後述する)と、電流測定値iq1と、に基づいて、指令値cid1を生成する。指令値cid1は、モータ15の励磁電流(d軸電流)の大きさを指定する指令値である。すなわち、制御部104は、モータ15のコイル141に供給される励磁電流(d軸電流)を指令値cid1に近づけるようにモータ15の動作を制御する。
 本実施形態では、磁束制御部146で生成される指令値cid1は、励磁電流の大きさを0にするための指令値である。ただし、磁束制御部146は、常時励磁電流の大きさを0にするための指令値cid1を生成してもよいし、必要に応じて、励磁電流の大きさを0よりも大きく又は小さくするための指令値cid1を生成してもよい。励磁電流の指令値cid1が0より小さくなると、モータ15にマイナスの励磁電流(弱め磁束電流)が流れる。
 電流制御部143は、磁束制御部146で生成された指令値cid1と第2の座標変換器145で算出された電流測定値id1との差分に基づいて、指令値cvd1を生成する。指令値cvd1は、モータ15のd軸電圧の大きさを指定する指令値である。電流制御部143は、指令値cid1と電流測定値id1との差分を小さくするように指令値cvd1を決定する。
 また、電流制御部143は、速度制御部142で生成された指令値ciq1と第2の座標変換器145で算出された電流測定値iq1との差分に基づいて、指令値cvq1を生成する。指令値cvq1は、モータ15のq軸電圧の大きさを指定する指令値である。電流制御部143は、指令値ciq1と電流測定値iq1との差分を小さくするように指令値cvq1を生成する。
 第1の座標変換器144は、指令値cvd1、cvq1を、モータ回転測定部27で測定されたモータ15の回転角θ1に基づいて座標変換し、指令値cvu1、cvv1、cvw1を算出する。すなわち、第1の座標変換器144は、磁界成分(d軸電圧)に対応する指令値cvd1と、トルク成分(q軸電圧)に対応する指令値cvq1とを、3相電圧に対応する指令値cvu1、cvv1、cvw1に変換する。指令値cvu1はU相電圧に、指令値cvv1はV相電圧に、指令値cvw1はW相電圧に対応する。
 制御部104は、インバータ回路部51をPWM(Pulse Width Modulation)制御することにより、モータ15に供給される電力を制御する。これにより、インバータ回路部51は、指令値cvu1、cvv1、cvw1に応じた3相電圧をモータ15に供給する。
 モータ15は、インバータ回路部51から供給された電力(3相電圧)により駆動され、回転動力を発生させる。
 この結果、制御部104は、モータ15のコイル141に流れる励磁電流が、磁束制御部146で生成された指令値cid1に対応した大きさとなるように励磁電流を制御する。また、制御部4は、モータ15の角速度が、指令値生成部41で生成された指令値cω1に対応した角速度となるようにモータ15の角速度を制御する。
 脱調検出部148は、第2の座標変換器145から取得した電流測定値id1、iq1と、電流制御部143から取得した指令値cvd1、cvq1と、に基づいて、モータ15の脱調を検出する。脱調が検出された場合は、脱調検出部148は、インバータ回路部51に停止信号cs1を送信して、インバータ回路部51からモータ15への電力供給を停止させる。
 打撃検知部149は、インパクト機構17の打撃動作の有無を検知する。打撃検知部149についての詳細は後述する。
 (2.4)ベクトル制御の詳細
 以下、制御部4によるベクトル制御について更に詳細に説明する。図8は、ベクトル制御の解析モデル図である。図8には、U相、V相、W相の電機子巻線固定軸が示されている。ベクトル制御では、モータ15の回転子13に設けられた永久磁石131が作る磁束の回転速度と同じ速度で回転する回転座標系が考慮される。回転座標系において、永久磁石131が作る実際の磁束の方向をd軸の方向とし、制御部4によるモータ15の制御に対応する座標軸であってd軸に対応する座標軸を、γ軸とする。また、d軸から電気角で90度進んだ位相にq軸を取り、γ軸から電気角で90度進んだ位相にδ軸を取る。
 dq軸は回転しており、その回転速度をωで表す。γδ軸も回転しており、その回転速度をωeで表す。図8のωeは、図6のω1と一致する。また、dq軸において、U相の電機子巻線固定軸から見たd軸の角度(位相)をθで表す。同様に、γδ軸において、U相の電機子巻線固定軸から見たγ軸の角度(位相)をθeで表す。図8のθeは、図6のθ1と一致する。θ及びθeにて表される角度は、電気角における角度であり、回転子位置又は磁極位置とも呼ばれる。ω及びωeにて表される回転速度は、電気角における角速度である。
 θとθeとが一致しているとき、d軸及びq軸はそれぞれγ軸及びδ軸と一致する。ベクトル制御において、制御部4は、基本的に、θとθeとが一致するように制御を行う。そのため、d軸電流の指令値cid1が0の場合に、モータ15にかかる負荷が増加又は減少すると、制御部4は、これにより生じるθとθeとの差分を補償するように制御を行うので、d軸電流の電流測定値id1が正の値又は負の値となる。具体的には、モータ15にかかる負荷が小さくなった直後は、d軸電流の電流測定値id1は正の値となり、モータ15にかかる負荷が大きくなった瞬間は、電流測定値id1は負の値となる。
 (2.5)打撃検知
 インパクト機構17は、出力軸21に加えられるトルクの大きさに応じて打撃動作を行う。打撃検知部149は、モータ15のコイル141に供給されるトルク電流及び励磁電流のうち少なくとも一方に基づいて、インパクト機構17の打撃動作の有無を検知する。以下では、図10、図11を参照して、打撃検知部149による打撃動作の有無の検知方法の一例を説明する。ユーザが先端工具28を締付部材30に押し付ける力は、図10の場合に、図11の場合と比較して小さいため、図10と図11とで電動工具101の挙動が異なっている。図10、図11において、N1は、モータ15(回転子13)の回転数であり、cN1は、モータ15の回転数の指令値である。つまり、指令値cN1は、モータ15の角速度の指令値cω1を回転数に換算した値である。Bd1は、単位時間あたりのd軸電流の電流測定値id1の最大値(ピーク値)を、単位時間(例えば、数ミリ秒~数十ミリ秒)ごとにプロットした値である。Bd2は、単位時間あたりのd軸電流の電流測定値id1の最小値を、単位時間(例えば、数ミリ秒~数十ミリ秒)ごとにプロットした値である。ここでは、Bd1は正の値であり、Bd2は負の値である。以下では、Bd1を正のd軸電流測定値と称し、Bd2を負のd軸電流測定値と称す。
 正のd軸電流測定値Bd1及び負のd軸電流測定値Bd2は、d軸電流(励磁電流)の振幅に相関する物理量である。d軸電流の振幅に相関する物理量とは、d軸電流の振幅そのものと、d軸電流の振幅から算出される物理量と、を含む。
 ここでは、打撃検知部149は、電流測定値id1、iq1の両方に基づいて打撃動作の有無を検知する。より詳細には、電流測定値id1に関しては、打撃検知部149は、次の第1条件が満たされるか否かの判定を行う。第1条件は、電流測定値id1の振幅が所定のd軸閾値よりも大きいことである。電流測定値id1の振幅は、例えば、単位時間あたりの電流測定値id1の最大値と最小値との差分の1/2として定義される。つまり、電流測定値id1の振幅は、例えば、単位時間あたりの正のd軸電流測定値Bd1の最大値と負のd軸電流測定値Bd2の最小値との差分の1/2として定義される。打撃検知部149は、例えば、単位時間ごとに、第1条件が満たされるか否かを判定する。図10に図示されている振幅A1は、ある時点t15から単位時間(例えば、数ミリ秒~数十ミリ秒)が経過するまでの間の各時点の電流測定値id1により定義される、電流測定値id1の振幅の2倍の値である。
 このように、打撃検知部149は、電流測定値id1(励磁電流)の振幅に基づいて打撃動作の有無を検知する。
 また、電流測定値iq1に関しては、打撃検知部149は、次の第2条件が満たされるか否かの判定を行う。第2条件は、所定時間(例えば、数十ミリ秒)あたりの電流測定値iq1の減少量が所定のq軸閾値よりも大きいことである。打撃検知部149は、例えば、上記所定時間ごとに、第2条件が満たされるか否かを判定する。
 このように、打撃検知部149は、所定時間あたりの電流測定値iq1(トルク電流)の減少量に基づいて打撃動作の有無を検知する。
 打撃検知部149は、例えば、第1条件及び第2条件のうち一方が満たされてから、他方が満たされるまでに要した時間が所定の時間閾値以下の場合に、インパクト機構17が打撃動作をしているという検知結果を出力する。また、打撃検知部149は、それ以外の場合に、インパクト機構17が打撃動作をしていないという検知結果を出力する。
 つまり、モータ15にかかる負荷は時々刻々と増減し、打撃動作が開始することにより、モータ15にかかる負荷の増減量が大きくなるので、θとθeとの差分が大きくなり、励磁電流の電流測定値id1の振幅が大きくなる。また、打撃動作が開始することにより、モータ15にかかる負荷が増減を繰り返しながら減少するので、トルク電流の電流測定値iq1が減少する。打撃検知部149は、このような変化の有無を第1条件及び第2条件により判定することで、打撃動作の有無を検知する。
 d軸閾値及びq軸閾値等の閾値は、例えば、制御部4を構成するマイクロコントローラのメモリに予め記録されている。
 なお、打撃検知部149は、モータ15の始動時(回転開始時)から所定のマスク期間Tm1が経過した後に、インパクト機構17の打撃動作の有無の検知を開始する。そのため、マスク期間Tm1において打撃検知部149が打撃動作を誤検知することを抑制できる。
 図10では、時点t10にモータ15が動作を開始した後、時点t11に、インパクト機構17が打撃動作を開始する。時点t11から少し時間が経過してから、電流測定値id1の振幅が増加する。また、時点t11から時点t12まで、電流測定値iq1は、増減を繰り返しながら減少する。時点t11から時点t12までの間に、第2条件が1回又は2回満たされる。打撃検知部149は、時点t11と時点t12との間の少なくとも一部の期間において、第1条件及び第2条件に基づいて打撃動作を検知することができる。
 図11では、図10と同様に、時点t10にモータ15が動作を開始した後、時点t11に、インパクト機構17が打撃動作を開始する。時点t11の後の時点t12に、打撃検知部149は、インパクト機構17が打撃動作をしているという検知結果を出力する。
 図10、図11では、時点t16に、締付部材30を締める作業が完了する。すなわち、時点t16に、締付部材30が着座する。そこで、時点t16に、ユーザがトリガスイッチ29を引き込む操作をやめる。これにより、指令値cN1が0[rpm]まで低下するので、回転数N1が0[rpm]となる。すなわち、モータ15が停止する。
 (2.6)カムアウトが起きるメカニズム
 以下、図9を参照して、カムアウトについて説明する。まず、電動工具101においてカムアウトが起きるメカニズムの第1例を説明する。モータ15の回転数N1が不安定である場合等に、ハンマ19は移動可能な範囲における前端まで前進し、その結果、先端工具28から締付部材30への押付力が瞬間的に増加することがある。その後、締付部材30から先端工具28への反作用により先端工具28が締付部材30から離れ、カムアウトが起きることがある。
 次に、電動工具101においてカムアウトが起きるメカニズムの第2例を説明する。締付部材30のねじ穴310(図9参照)にはテーパ面311が設けられており、締付部材30の軸方向と交差する方向の力が先端工具28からテーパ面311に加わると、先端工具28は、テーパ面311に沿ってねじ穴310の外へ移動することがある。すなわち、カムアウトが起きることがある。例えば、締付部材30に対する先端工具28の向きが斜め向きであるために先端工具28から締付部材30に加わる力のうち締付部材30の軸方向と交差する方向の成分が比較的大きくなる場合等に、第2例のメカニズムでカムアウトが起きることがある。また、モータ15の回転数N1に対して先端工具28から締付部材30への押付力が不足している場合等に、第2例のメカニズムでカムアウトが起きることがある。
 第1例で説明したメカニズム、第2例で説明したメカニズム、又はそれらの両方が原因となって、カムアウトが起きることがある。
 (2.7)カムアウト又はその予兆の検知
 次に、カムアウト検知部54がカムアウト又はその予兆を検知する過程の一例を、図10、図11を参照して説明する。
 カムアウト検知部54は、カムアウト又はカムアウトの予兆を、モータ15に供給される励磁電流(電流測定値id1)の振幅に相関する物理量に基づいて検知する。ここで、カムアウト検知部54は、励磁電流の正のピーク値を、励磁電流の振幅に相関する物理量として用いる。つまり、カムアウト検知部54は、カムアウト又はカムアウトの予兆を、正のd軸電流測定値Bd1に基づいて検知する。
 より詳細には、カムアウト検知部54は、カムアウト又はカムアウトの予兆を、励磁電流の正のピーク値の変動に基づいて検知する。言い換えると、カムアウト検知部54は、カムアウト又はカムアウトの予兆を、正のd軸電流測定値Bd1の変動に基づいて検知する。
 一例として、カムアウト検知部54は、カムアウト閾値Th1を設定し、カムアウト閾値Th1と正のd軸電流測定値Bd1とを比較することで、カムアウト又はカムアウトの予兆を検知する。より詳細には、カムアウト検知部54は、所定の判定時間において正のd軸電流測定値Bd1がカムアウト閾値Th1を上回った回数が所定回数以上であることをもって、カムアウトが生じた又はカムアウトの予兆が有ると判定する。
 ユーザが先端工具28を締付部材30に押し付ける力は、図10の場合に、図11の場合と比較して小さい。そのため、図10では、先端工具28が締付部材30のねじ穴310の内面から離れやすい。言い換えると、図10では、電動工具101は、カムアウトが生じやすい(カムアウトの予兆が有る)状態になっている。先端工具28がねじ穴310の内面から離れた瞬間は、モータ15にかかる負荷が小さくなるため、電流測定値id1は正の値となり大きくなる。すなわち、正のd軸電流測定値Bd1が大きくなる。そして、カムアウトの予兆が有る状態においては、先端工具28がねじ穴310の内面から離れる事象と内面に接する事象とを繰り返す可能性が高い。よって、カムアウト検知部54は、正のd軸電流測定値Bd1がカムアウト閾値Th1を上回った回数を監視することで、カムアウトの予兆を検知できる。
 また、カムアウトが生じる場合も同様に、カムアウトが起きる前に、正のd軸電流測定値Bd1が大きくなるので、カムアウト検知部54は、正のd軸電流測定値Bd1がカムアウト閾値Th1を上回った回数を監視することで、カムアウトを検知できる。
 本実施形態のカムアウト検知部54は、カムアウトとカムアウトの予兆とを区別せずに検知する。つまり、カムアウト検知部54がカムアウトを検知する条件とカムアウトの予兆を検知する条件とは同じであり、カムアウト検知部54は、電動工具101においてカムアウトが生じた場合とカムアウトの予兆が有る場合とで、同じ検知結果を出力する。
 判定時間は、例えば、200[ms]である。所定回数は、例えば、10回である。つまり、この例では、カムアウト検知部54は、200[ms]の間に正のd軸電流測定値Bd1がカムアウト閾値Th1を10回以上上回ると、カムアウトが生じた又はカムアウトの予兆が有ると判定する。
 図10では、時点t13から時点t14までの間の時間(判定時間)において、正のd軸電流測定値Bd1がカムアウト閾値Th1を上回った回数は、12回である。そのため、時点t14において、カムアウト検知部54は、カムアウトが生じた又はカムアウトの予兆が有ると判定する。
 図11では、図10と比較して正のd軸電流測定値Bd1が小さい。図11では、時点t10以降の任意の判定時間において、正のd軸電流測定値Bd1がカムアウト閾値Th1を上回った回数は、10回未満となる。そのため、カムアウト検知部54は、カムアウトが生じておらず、かつ、カムアウトの予兆が無いと判定する。
 ところで、カムアウト閾値Th1は、打撃検知部149が打撃動作を検知しているときと、していないときとで、異なる値であってもよい。打撃検知部149が打撃動作を検知しているときは、していないときよりも正のd軸電流測定値Bd1が大きくなる傾向がある。そのため、カムアウト閾値Th1は、打撃検知部149が打撃動作を検知しているとき、していないときよりも大きい値であってもよい。
 電動工具101の通知部55は、カムアウト検知部54がカムアウト又はカムアウトの予兆を検知すると通知を行う。通知部55は、例えば、発光ダイオード等の発光部を備えており、発光状態を変更することで、ユーザへ通知を行う。発光状態を変更するとは、例えば、点灯と消灯とを切り替えること、明るさを変更すること、及び、光の色を変更すること等である。あるいは、通知部55は、例えば、ブザー又はスピーカ等を備えており、音(音声を含む)によりユーザへ通知を行う。音声による通知とは、例えば、「電動工具をねじに強く押し付けてください。」というメッセージを発することである。あるいは、通知部55は、例えば、通信インタフェースを備えており、有線通信又は無線通信により信号を外部装置へ送信することにより、外部装置へ通知を行う。
 カムアウトの予兆が検知されたときに通知部55が通知を行うことで、ユーザがカムアウトの予兆を知ることができる。また、カムアウトが検知されたときに通知部55が通知を行うことで、ユーザが締付部材30を視認できない状況であっても、ユーザは、カムアウトが生じたことを知ることができる。
 (2.8)カムアウト応答機能
 制御部104は、カムアウト応答機能を有する。カムアウト応答機能において、制御部104は、カムアウト検知部54がカムアウト又はカムアウトの予兆を検知するとモータ15の回転数N1を低下させる又はモータ15を停止させる。
 また、制御部104は、互いに切替え可能な動作モードとして、カムアウト応答機能を有効にする第1のモードと、カムアウト応答機能を無効にする第2のモードと、を有する。図10、図11は、制御部104の動作モードが第2のモードのときのグラフである。ただし、図10の破線部cN2は、仮に制御部10の動作モードが第1のモードである場合の、時点t14以降の指令値cN1の変化を示している。
 制御部104の動作モードが第1のモードの場合に、図10では、時点t14において、カムアウト検知部54は、カムアウト又はカムアウトの予兆を検知する。すると、制御部104は、モータ15の回転数N1を低下させる又はモータ15を停止させる。ここでは、制御部104がモータ15の回転数N1を低下させるとして説明する。すなわち、時点t14において、制御部104は、破線部cN2で示されるように、モータ15の回転数N1の指令値cN1を低下させる。これにより、回転数N1も低下する。制御部104は、例えば、カムアウト検知部54がカムアウト又はカムアウトの予兆を検知した時点以降には、トリガスイッチ29の引込み量に応じて指令値cN1を仮決定した後に、指令値cN1を低下させる。より具体的には、制御部104の指令値生成部140が、角速度の指令値cω1を低下させることで、実質的に回転数N1の指令値cN1を低下させる。
 なお、制御部104は、低下前の回転数N1に基づいて、低下後の回転数N1を決定してもよい。例えば、制御部104は、カムアウト検知部54がカムアウト又はカムアウトの予兆を検知すると、その時点における指令値cN1に0よりも大きく1よりも小さい所定の値(例えば、0.9)を乗じた値を、新たな指令値cN1としてもよい。また、制御部104は、カムアウト検知部54がカムアウト又はカムアウトの予兆を検知すると、その時点における指令値cN1から所定の値(例えば、2000[rpm])を引いた値を、新たな指令値cN1としてもよい。ただし、制御部104は、指令値cN1が0以上となるように、適宜上記所定の値を調整する。
 モータ15の回転数N1を低下させることにより、インパクト機構17の打撃動作における打撃力の大きさが低下する。その結果、先端工具28から締付部材30に加わる力が低下する。また、締付部材30から先端工具28に作用する、先端工具28を締付部材30から離れさせる向きの力(反力)が低下する。その結果、カムアウトが起きる可能性を低減できる。
 また、モータ15の回転数N1が低下することで、インパクト機構17の打撃動作における打撃力の発生間隔(すなわち、ハンマ19とアンビル20との衝突の周期)が長くなるので、カムアウトが起きる可能性を低減できる。
 なお、カムアウト又はその予兆が検知された場合に制御部104がモータ15を停止させる場合には、モータ15の停止後、ユーザは、次のような対処を取ることができる。ユーザは、改めてトリガスイッチ29を引いてモータ15を始動させ、先端工具28を締付部材30に更に強く押し付けることで、カムアウトが起きる可能性を低減させることができる。また、ユーザは、先端工具28を締付部材30に適した種類の先端工具へと取り換えることで、カムアウトが起きる可能性を低減させることができる。通知部55は、ユーザが取り得る対処の内容を通知してもよい。
 なお、電動工具101は、例えば、ユーザの操作を受け付ける第1のユーザインターフェースを備えている。第1のユーザインターフェースは、例えば、釦、スライドスイッチ又はタッチパネル等である。第1のユーザインターフェースに対するユーザの操作に応じて、制御部104は、動作モードを第1のモードと第2のモードとの間で切り替える。一例として、ユーザは、電動工具101を用いてねじ締めをする場合に制御部104の動作モードを第1のモードにし、それ以外の場合に第2のモードにする。
 また、第1のユーザインターフェースは、第1のモードへの切替えに対応する位置に、カムアウト検知に対応する表示を有していてもよい。上記表示は、例えば、「カムアウト検知モード」若しくは「カムアウト防止モード」等の文字、又は、ねじがカムアウトする様子を表す図、絵若しくは写真等である。第1のモードに切り替えるための機械的な釦又はタッチパネルの画面に表示された釦に、上記表示が設けられていてもよいし、釦の近傍に上記表示が設けられていてもよい。また、第1のモードのときのスライドスイッチの位置の近傍に、上記表示が設けられていてもよい。
 (2.9)変形例
 以下、実施形態2の変形例を列挙する。以下の変形例は、適宜組み合わせて実現されてもよい。
 電動工具101と同様の機能は、カムアウト検知方法、(コンピュータ)プログラム、又はプログラムを記録した非一時的記録媒体等で具現化されてもよい。
 一態様に係るカムアウト検知方法は、カムアウト又はカムアウトの予兆を、モータ15に供給される励磁電流の振幅に相関する物理量に基づいて検知する。
 すなわち、図12に示すように、カムアウト検知部54は、正のd軸電流測定値Bd1を取得する(ステップST11)。さらに、カムアウト検知部54は、判定時間において正のd軸電流測定値Bd1がカムアウト閾値Th1を上回った回数が所定回数以上であるか否かを判定する(ステップST12)。カムアウト検知部54は、判定時間において正のd軸電流測定値Bd1がカムアウト閾値Th1を上回った回数が所定回数以上の場合は(ステップST12:YES)、カムアウトが生じた又はカムアウトの予兆が有ると判定する(ステップST13)。カムアウト検知部54がカムアウトが生じた又はカムアウトの予兆が有ると判定すると、制御部4は、モータ15の回転数N1を低下させる(保護動作;ステップST14)。
 一態様に係るプログラムは、上記のカムアウト検知方法を1以上のプロセッサに実行させるためのプログラムである。
  一変形例において、モータ15は、交流モータであってもよいし、直流モータであってもよい。
 一変形例において、先端工具28は、電動工具101の構成に含まれていなくてもよい。
 一変形例において、先端工具28は、プラスドライバビットに限定されず、例えば、マイナスドライバビットであってもよいし、へクスローブビットであってもよいし、レンチビットであってもよい。
 一変形例において、打撃検知部149は、制御部104とは別に設けられていてもよい。つまり、モータ15をベクトル制御する制御部104の機能を実現する構成と、インパクト機構17の打撃動作の有無を検知する打撃検知部149の機能を実現する構成とが、別々に設けられていてもよい。
 一変形例において、カムアウト検知部54は、制御部104とは別に設けられていてもよい。つまり、モータ15をベクトル制御する制御部104の機能を実現する構成と、カムアウト又はその予兆を検知するカムアウト検知部54の機能を実現する構成とが、別々に設けられていてもよい。
 一変形例において、モータ回転測定部27に代えて、モータ15の回転軸16の角加速度又は周方向の加速度を測定する加速度センサを用いてもよい。
 一変形例において、打撃検知部149は、電流測定値id1に関する第1条件及び電流測定値iq1に関する第2条件のうち少なくとも一方が満たされることをもって、インパクト機構17が打撃動作をしているという検知結果を出力してもよい。また、打撃検知部149は、第1条件のみに基づいて打撃動作の有無を判定してもよいし、第2条件のみに基づいて打撃動作の有無を判定してもよい。
 一変形例において、打撃検知部149は、第2条件として、電流測定値iq1の絶対値に関する条件を用いてもよい。例えば、打撃検知部149は、電流測定値iq1(瞬時値)の絶対値が所定の閾値を超えることを、第2条件としてもよい。そして、打撃検知部149は、例えば、第2条件が満たされた後に第1条件が満たされることをもって、インパクト機構17が打撃動作をしているという検知結果を出力してもよい。あるいは、打撃検知部149は、例えば、第1条件及び第2条件のうち一方が満たされてから、他方が満たされるまでに要した時間が所定の時間閾値以下の場合に、インパクト機構17が打撃動作をしているという検知結果を出力してもよい。
 一変形例において、打撃検知部149は、電流測定値iq1の絶対値が所定の閾値を超え、その後、所定時間あたりの電流測定値iq1の減少量が所定のq軸閾値よりも大きいことを、第2条件としてもよい。そして、打撃検知部149は、例えば、第1条件及び第2条件のうち一方が満たされてから、他方が満たされるまでに要した時間が所定の時間閾値以下の場合に、インパクト機構17が打撃動作をしているという検知結果を出力してもよい。
 このように、打撃検知部149は、電流測定値iq1(トルク電流)の絶対値と所定時間あたりの電流測定値iq1(トルク電流)の減少量とのうち少なくとも一方に基づいて打撃動作の有無を検知してもよい。
 一変形例において、打撃検知部149は、電流測定値id1、iq1のうち少なくとも一方に加えて、モータ15の回転数N1に基づいて、打撃動作の有無を検知してもよい。
 一変形例において、打撃検知部149は、トルク電流の電流測定値iq1に代えて、指令値ciq1に基づいて打撃動作の有無を検知してもよい。すなわち、実施形態2及び各変形例での打撃動作の有無の検知において、電流測定値iq1を指令値ciq1に置き換えてもよい。
 一変形例において、打撃検知部149は、励磁電流の電流測定値id1に代えて、正のd軸電流測定値Bd1及び負のd軸電流測定値Bd2の少なくとも一方に基づいて打撃動作の有無を検知してもよい。
 一変形例において、制御部104は、カムアウト閾値Th1を変更する機能を有していてもよい。電動工具101は、例えば、ユーザの操作を受け付ける第2のユーザインターフェースを備えていてもよい。第2のユーザインターフェースは、例えば、釦、スライドスイッチ又はタッチパネル等である。第2のユーザインターフェースに対するユーザの操作に応じて、制御部104は、カムアウト閾値Th1を変更する。あるいは、電動工具101は、例えば、信号の入力を受け付ける受信部を備えていてもよい。受信部は、電動工具101の外部装置から上記信号を受信し、これに応じて、制御部104は、カムアウト閾値Th1を変更する。外部装置と受信部との間の通信方式は、無線通信であってもよいし、有線通信であってもよい。第2のユーザインターフェースと第1のユーザインターフェースとの間で、少なくとも一部の構成が共用されていてもよい。
 一変形例において、制御部104は、電流測定値id1に基づいてカムアウト閾値Th1を変更してもよい。制御部104は、例えば、所定の判定時間(例えば、200[ms])ごとに、判定時間内における正のd軸電流測定値Bd1の最大値を求め、求めた最大値を、次の判定時間で用いられるカムアウト閾値Th1としてもよい。
 一変形例において、カムアウト検知部54は、カムアウト又はその予兆の検知を、正のd軸電流測定値Bd1に代えて、負のd軸電流測定値Bd2に基づいて行ってもよい。また、カムアウト検知部54は、カムアウト又はその予兆の検知を、正のd軸電流測定値Bd1と負のd軸電流測定値Bd2とに基づいて行ってもよい。また、カムアウト検知部54は、カムアウト又はその予兆の検知を、正のd軸電流測定値Bd1及び負のd軸電流測定値Bd2に代えて、電流測定値id1の振幅に基づいて行ってもよい。
 一変形例において、カムアウト検知部54は、電流測定値id1の振幅に相関する物理量のばらつきに基づいて、カムアウト又はその予兆を検知してもよい。カムアウト検知部54は、例えば、所定の判定時間内における電流測定値id1の振幅に相関する物理量のばらつきが所定値を超えることをもって、カムアウトが生じた又はその予兆が有ると判定してもよい。
 一変形例において、カムアウト検知部54は、カムアウト又はその予兆の検知を、励磁電流(正のd軸電流測定値Bd1等)に加えて、トルク電流(電流測定値iq1等)に更に基づいて行ってもよい。カムアウト検知部54は、励磁電流に加えて、例えば、トルク電流の大きさ、振幅に相関する物理量及び波形パターンのうち少なくとも1つに更に基づいて、カムアウト又はその予兆の検知を行ってもよい。
 実施形態2のカムアウト検知部54は、カムアウトとカムアウトの予兆とを区別せずに検知するが、これに限定されず、カムアウトとカムアウトの予兆とを区別して検知してもよい。カムアウトの予兆が有る状態では、先端工具28がねじ穴310の内面から離れる事象と内面に接する事象とを繰り返すため、電流測定値iq1(又は正のd軸電流測定値Bd1)がカムアウト閾値Th1を何度も上回るという事象が発生する。カムアウト検知部54は、これを検知することをもって、カムアウトの予兆と判定できる。一方で、カムアウトが起こる場合には、まず、カムアウトの予兆が検知され、その後、カムアウトが発生することで、先端工具28がねじ穴310の内面から離れ、内面に接する事象が起きなくなるため、電流測定値iq1の振幅(又は正のd軸電流測定値Bd1)が減少する。カムアウト検知部54は、電流測定値iq1の振幅(又は正のd軸電流測定値Bd1)の減少を検知することをもって、カムアウトの発生と判定できる。
 一変形例において、制御部104は、カムアウト検知部54がカムアウト又はその予兆を検知する度に、モータ15の回転数N1を低下させてもよい。あるいは、モータ15が始動してからモータ15が停止するまでの間に、制御部4がモータ15の回転数N1を低下させる回数の上限が決まっていてもよい。上限は、1回でもよいし、2回以上であってもよい。
 一変形例において、電動工具101は、インパクト機構17を備えていなくてもよい。
 一つの電動工具が、実施形態1及びその変形例の電動工具1の機能と実施形態2及びその変形例の電動工具101の機能との両方を備えていてもよい。
 (3)態様
 以上説明した実施形態及び変形例等から以下の態様が開示されている。
 第1の態様の電動工具(1)は、モータ(15)と、操作部(29)と、制御部(4)と、伝達機構(18)と、ハウジング(9)と、を備える。操作部(29)は、ユーザからの操作を受け付ける。制御部(4)は、ベクトル制御を利用して、操作部(29)への操作に応じてモータ(15)の回転動作を制御する。伝達機構(18)は、モータ(15)の回転軸(16)の回転力を、作業対象(100)に対して作業を行う先端工具(28)へと伝達する。ハウジング(9)は、モータ(15)及び伝達機構(18)を少なくとも収容する。制御部(4)は、モータ(15)に供給されるトルク電流と励磁電流との少なくとも一方に基づいて、作業対象(100)に対するハウジング(9)の急峻な移動又はその予兆を検出する検出機能を有する。
 この態様によれば、ハウジング(9)の急峻な移動又はその予兆の検出に応じて、モータ(15)を停止させる等の対処を行うことが可能となり、電動工具(1)の使い勝手を向上できる。
 第2の態様の電動工具(1)では、第1の態様において、制御部(4)は、検出機能において、トルク電流に基づいて求めた回転軸(16)にかかる負荷が、所定値以上となると、ハウジング(9)の急峻な移動又はその予兆があると判定する。
 この態様によれば、回転軸(16)にかかる負荷の増加に起因するハウジング(9)の急峻な移動又はその予兆を、検出可能となる。
 第3の態様の電動工具(1)では、第1又は第2の態様において、ハウジング(9)の急峻な移動は、作業対象(100)からの反力によるハウジング(9)の移動を含む。
 この態様によれば、作業対象(100)からの反力に起因するハウジング(9)の急峻な移動を、検出可能となる。
 第4の態様の電動工具(1)では、第1~第3のいずれか1つの態様において、制御部(4)は、ハウジング(9)の急峻な移動又はその予兆を検出すると、モータ(15)の速度を低下させる又はモータ(15)を停止させる。
 この態様によれば、ハウジング(9)に急峻な移動又はその予兆があった場合に、その原因となるモータ(15)が停止又は減速されるので、電動工具(1)からその使用者にかかる負荷が低減される。そのため、電動工具(1)の使い勝手が向上する。
 第5の態様の電動工具(1)では、第1~第4のいずれか1つの態様において、制御部(4)は、ハウジング(9)の急峻な移動又はその予兆を検出すると、モータ(15)の回転軸(16)の回転力の先端工具(28)への伝達を遮断させる。
 この態様によれば、ハウジング(9)に急峻な移動又はその予兆があった場合に、その原因となる出力軸(21)の回転が停止されるので、電動工具(1)からその使用者にかかる負荷が低減される。そのため、電動工具(1)の使い勝手が向上する。
 第6の態様の電動工具(1)は、第1~第5のいずれか1つの態様において、先端工具(28)が連結される出力軸(21)を備える。伝達機構(18)は、出力軸(21)に加えられるトルクの大きさに応じて出力軸(21)に打撃力を加える打撃動作を行うインパクト機構(17)を有する。
 この態様によれば、インパクト機構(17)を備えたいわゆるインパクト工具の使い勝手を向上できる。
 第7の態様の電動工具(1)は、第1~第6のいずれか1つの態様において、検出機能の有効と無効とを切り換える切換部を備える。
 この態様によれば、検出機能が不要な場合に、機能を無効にすることができ、電動工具(1)の使い勝手を向上できる。
 第8の態様の制御方法は、電動工具の制御方法である。電動工具(1)は、モータ(15)と、操作部(29)と、伝達機構(18)と、ハウジング(9)と、を備える。操作部(29)は、ユーザからの操作を受け付ける。伝達機構(18)は、モータ(15)の回転軸(16)の回転力を、作業対象(100)に対して作業を行う先端工具(28)へと伝達する。ハウジング(9)は、モータ(15)及び伝達機構(18)を少なくとも収容する。制御方法は、ベクトル制御を利用して、操作部(29)への操作に応じてモータ(15)の回転動作を制御することを含む。制御方法は、モータ(15)に供給されるトルク電流と励磁電流との少なくとも一方に基づいて、作業対象(100)に対するハウジング(9)の急峻な移動又はその予兆を検出することを含む。
 この態様によれば、ハウジング(9)の急峻な移動又はその予兆の検出に応じて、モータ(15)を停止させる等の対処を行うことが可能となり、電動工具(1)の使い勝手を向上できる。
 第9の態様のプログラムは、1以上のプロセッサに、第8の態様の制御方法を実行させるためのプログラムである。
 この態様によれば、ハウジング(9)の急峻な移動の検出又はその予兆に応じて、モータ(15)を停止させる等の対処を行うことが可能となり、電動工具(1)の使い勝手を向上できる。
 第10の態様に係る電動工具(101)は、モータ(15)と、制御部(104)と、出力軸(21)と、伝達機構(18)と、カムアウト検知部(54)と、を備える。制御部(104)は、モータ(15)をベクトル制御する。出力軸(21)は、先端工具(28)と連結される。伝達機構(18)は、モータ(15)の動力を出力軸(21)に伝達する。カムアウト検知部(54)は、カムアウト又はカムアウトの予兆を、モータ(15)に供給される励磁電流(電流測定値id1)の振幅に相関する物理量に基づいて検知する。カムアウトは、モータ(15)の動作中に先端工具(28)と先端工具(28)による作業対象のねじ(締付部材30)との嵌合が解除される現象である。
 上記の構成によれば、カムアウト又はカムアウトの予兆を検知することができる。
 第11の態様に係る電動工具(101)では、第10の態様において、制御部(104)は、カムアウト応答機能を有する。カムアウト応答機能において、制御部(104)は、カムアウト検知部(54)がカムアウト又はカムアウトの予兆を検知するとモータ(15)の回転数(N1)を低下させる又はモータ(15)を停止させる。
 上記の構成によれば、カムアウトが発生する可能性を低減できる。
 第12の態様に係る電動工具(101)では、第11の態様において、制御部(104)は、互いに切替え可能な動作モードとして、第1のモードと、第2のモードと、を有する。第1のモードでは、制御部(104)は、カムアウト応答機能を有効にする。第2のモードでは、制御部(104)は、カムアウト応答機能を無効にする。
 上記の構成によれば、必要に応じて、カムアウト応答機能の有無を切り替えることができる。
 第13の態様に係る電動工具(101)は、第10~第12の態様のいずれか1つにおいて、通知部(55)を備える。通知部(55)は、カムアウト検知部(54)がカムアウト又はカムアウトの予兆を検知すると通知を行う。
 上記の構成によれば、カムアウトの発生又はカムアウトの予兆をユーザ等が知ることができる。
 第14の態様に係る電動工具(101)では、第10~第13の態様のいずれか1つにおいて、伝達機構(18)は、インパクト機構(17)を有する。インパクト機構(17)は、出力軸(21)に加えられるトルクの大きさに応じて出力軸(21)に打撃力を加える打撃動作を行う。
 上記の構成によれば、打撃動作におけるカムアウト又はカムアウトの予兆を検知することができる。
 第15の態様に係る電動工具(101)では、第10~第14の態様のいずれか1つにおいて、カムアウト検知部(54)は、励磁電流(電流測定値id1)の正のピーク値を、励磁電流の振幅に相関する物理量として用いる。
 上記の構成によれば、カムアウト又はカムアウトの予兆の検知精度を高められる。
 第16の態様に係る電動工具(101)では、第15の態様において、カムアウト検知部(54)は、カムアウト又はカムアウトの予兆を、励磁電流(電流測定値id1)の正のピーク値の変動に基づいて検知する。
 上記の構成によれば、カムアウト又はカムアウトの予兆の検知精度を更に高められる。
 第17の態様に係るカムアウト検知方法は、電動工具(101)を対象として実行される。電動工具(101)は、モータ(15)と、制御部(104)と、出力軸(21)と、伝達機構(18)と、を備える。制御部(104)は、モータ(15)をベクトル制御する。出力軸(21)は、先端工具(28)と連結される。伝達機構(18)は、モータ(15)の動力を出力軸(21)に伝達する。カムアウト検知方法は、カムアウト又はカムアウトの予兆を、モータ(15)に供給される励磁電流(電流測定値id1)の振幅に相関する物理量に基づいて検知する。カムアウトは、モータ(15)の動作中に先端工具(28)と先端工具(28)による作業対象のねじ(締付部材30)との嵌合が解除される現象である。
 上記の構成によれば、カムアウト又はカムアウトの予兆を検知することができる。
 第18の態様に係るプログラムは、第17の態様に係るカムアウト検知方法を、1以上のプロセッサに実行させるためのプログラムである。
 上記の構成によれば、カムアウト又はカムアウトの予兆を検知することができる。
 上記態様に限らず、実施形態に係る電動工具(1,101)の種々の構成(変形例を含む)は、方法及びプログラムにて具現化可能である。
 1,101 電動工具
 4,104 制御部
 9 ハウジング
 15 モータ
 16 回転軸
 17 インパクト機構
 18 伝達機構
 21 出力軸
 28 先端工具
 29 操作部
 30 締付部材(ねじ)
 54 カムアウト検知部
 55 通知部
 100 作業対象
 id1 電流測定値(励磁電流)
 N1 回転数

Claims (18)

  1.  モータと、
     ユーザからの操作を受け付ける操作部と、
     ベクトル制御を利用して、前記操作部への操作に応じて前記モータの回転動作を制御する制御部と、
     前記モータの回転軸の回転力を、作業対象に対して作業を行う先端工具へと伝達する伝達機構と、
     前記モータ及び前記伝達機構を少なくとも収容するハウジングと、
    を備え、
     前記制御部は、前記モータに供給されるトルク電流と励磁電流との少なくとも一方に基づいて、前記作業対象に対する前記ハウジングの急峻な移動又はその予兆を検出する検出機能を有する、
     電動工具。
  2.  前記制御部は、前記検出機能において、前記トルク電流に基づいて求めた前記回転軸にかかる負荷が、所定値以上となると、前記ハウジングの急峻な移動又はその予兆があると判定する、
     請求項1に記載の電動工具。
  3.  前記ハウジングの急峻な移動は、前記作業対象からの反力による前記ハウジングの移動を含む、
     請求項1又は2に記載の電動工具。
  4.  前記制御部は、前記ハウジングの急峻な移動又はその予兆を検出すると、前記モータの速度を低下させる又は前記モータを停止させる、
     請求項1~3のいずれか1項に記載の電動工具。
  5.  前記制御部は、前記ハウジングの急峻な移動又はその予兆を検出すると、前記モータの前記回転軸の前記回転力の前記先端工具への伝達を遮断させる、
     請求項1~4のいずれか1項に記載の電動工具。
  6.  前記電動工具は、前記先端工具が連結される出力軸を備え、
     前記伝達機構は、前記出力軸に加えられるトルクの大きさに応じて前記出力軸に打撃力を加える打撃動作を行うインパクト機構を有する、
     請求項1~5のいずれか1項に記載の電動工具。
  7.  前記検出機能の有効と無効とを切り換える切換部を備える、
     請求項1~6のいずれか1項に記載の電動工具。
  8.  電動工具の制御方法であって、
     前記電動工具は、
      モータと、
      ユーザからの操作を受け付ける操作部と、
      前記モータの回転軸の回転力を、作業対象に対して作業を行う先端工具へと伝達する伝達機構と、
      前記モータ及び前記伝達機構を少なくとも収容するハウジングと、
    を備え、
     前記制御方法は、
      ベクトル制御を利用して、前記操作部への操作に応じて前記モータの回転動作を制御することと、
      前記モータに供給されるトルク電流と励磁電流との少なくとも一方に基づいて、前記作業対象に対する前記ハウジングの急峻な移動又はその予兆を検出することと、
     を含む、
     制御方法。
  9.  1以上のプロセッサに、請求項8に記載の制御方法を実行させるためのプログラム。
  10.  モータと、
     前記モータをベクトル制御する制御部と、
     先端工具と連結される出力軸と、
     前記モータの動力を前記出力軸に伝達する伝達機構と、
     前記モータの動作中に前記先端工具と前記先端工具による作業対象のねじとの嵌合が解除される現象であるカムアウト又は前記カムアウトの予兆を、前記モータに供給される励磁電流の振幅に相関する物理量に基づいて検知するカムアウト検知部と、を備える、
     電動工具。
  11.  前記制御部は、前記カムアウト検知部が前記カムアウト又は前記カムアウトの予兆を検知すると前記モータの回転数を低下させる又は前記モータを停止させるカムアウト応答機能を有する、
     請求項10に記載の電動工具。
  12.  前記制御部は、互いに切替え可能な動作モードとして、前記カムアウト応答機能を有効にする第1のモードと、前記カムアウト応答機能を無効にする第2のモードと、を有する、
     請求項11に記載の電動工具。
  13.  前記カムアウト検知部が前記カムアウト又は前記カムアウトの予兆を検知すると通知を行う通知部を備える、
     請求項10~12のいずれか一項に記載の電動工具。
  14.  前記伝達機構は、前記出力軸に加えられるトルクの大きさに応じて前記出力軸に打撃力を加える打撃動作を行うインパクト機構を有する、
     請求項10~13のいずれか一項に記載の電動工具。
  15.  前記カムアウト検知部は、前記励磁電流の正のピーク値を、前記励磁電流の前記振幅に相関する前記物理量として用いる、
     請求項10~14のいずれか一項に記載の電動工具。
  16.  前記カムアウト検知部は、前記カムアウト又は前記カムアウトの予兆を、前記励磁電流の前記正のピーク値の変動に基づいて検知する、
     請求項15に記載の電動工具。
  17.  モータと、
     前記モータをベクトル制御する制御部と、
     先端工具と連結される出力軸と、
     前記モータの動力を前記出力軸に伝達する伝達機構と、を備える電動工具を対象として実行されるカムアウト検知方法であって、
     前記モータの動作中に前記先端工具と前記先端工具による作業対象のねじとの嵌合が解除される現象であるカムアウト又は前記カムアウトの予兆を、前記モータに供給される励磁電流の振幅に相関する物理量に基づいて検知する、
     カムアウト検知方法。
  18.  請求項17に記載のカムアウト検知方法を、1以上のプロセッサに実行させるための、
     プログラム。
PCT/JP2020/040488 2019-11-15 2020-10-28 電動工具、制御方法、カムアウト検知方法、及びプログラム WO2021095533A1 (ja)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
JP2019-207502 2019-11-15
JP2019207502A JP7390587B2 (ja) 2019-11-15 2019-11-15 電動工具、カムアウト検知方法及びプログラム
JP2019-210773 2019-11-21
JP2019210773A JP2021079509A (ja) 2019-11-21 2019-11-21 電動工具、制御方法、及びプログラム

Publications (1)

Publication Number Publication Date
WO2021095533A1 true WO2021095533A1 (ja) 2021-05-20

Family

ID=75912359

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2020/040488 WO2021095533A1 (ja) 2019-11-15 2020-10-28 電動工具、制御方法、カムアウト検知方法、及びプログラム

Country Status (1)

Country Link
WO (1) WO2021095533A1 (ja)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024024249A1 (ja) * 2022-07-29 2024-02-01 工機ホールディングス株式会社 作業機

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10328952A (ja) * 1997-06-02 1998-12-15 Wako Giken:Kk モータの制御方法及び装置並びにねじ締め方法及び装置
JP5483086B2 (ja) * 2010-02-22 2014-05-07 日立工機株式会社 インパクト工具
WO2018230141A1 (ja) * 2017-06-16 2018-12-20 パナソニックIpマネジメント株式会社 インパクト電動工具
WO2018230140A1 (ja) * 2017-06-16 2018-12-20 パナソニックIpマネジメント株式会社 電動工具

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10328952A (ja) * 1997-06-02 1998-12-15 Wako Giken:Kk モータの制御方法及び装置並びにねじ締め方法及び装置
JP5483086B2 (ja) * 2010-02-22 2014-05-07 日立工機株式会社 インパクト工具
WO2018230141A1 (ja) * 2017-06-16 2018-12-20 パナソニックIpマネジメント株式会社 インパクト電動工具
WO2018230140A1 (ja) * 2017-06-16 2018-12-20 パナソニックIpマネジメント株式会社 電動工具

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024024249A1 (ja) * 2022-07-29 2024-02-01 工機ホールディングス株式会社 作業機

Similar Documents

Publication Publication Date Title
JP7390587B2 (ja) 電動工具、カムアウト検知方法及びプログラム
WO2021095533A1 (ja) 電動工具、制御方法、カムアウト検知方法、及びプログラム
WO2021002120A1 (ja) インパクト工具
WO2021100843A1 (ja) 電動工具、制御方法、及びプログラム
WO2021100368A1 (ja) インパクト工具、インパクト工具の制御方法及びプログラム
JP7357278B2 (ja) 電動工具、電動工具の制御方法及びプログラム
JP2021079509A (ja) 電動工具、制御方法、及びプログラム
WO2020217627A1 (ja) 電動工具
WO2021215083A1 (ja) 電動工具システム、制御方法、及びプログラム
JP7178591B2 (ja) インパクト工具、インパクト工具の制御方法及びプログラム
WO2021100309A1 (ja) 電動工具システム、電動工具システムの使用方法及びプログラム
JP7296586B2 (ja) 電動工具、制御方法、及びプログラム
WO2021095470A1 (ja) 電動工具、制御方法、及びプログラム
JP7296587B2 (ja) 電動工具、制御方法、及びプログラム
JP7442139B2 (ja) インパクト工具、インパクト工具の制御方法及びプログラム
JP7450221B2 (ja) インパクト工具、インパクト工具の制御方法及びプログラム
JP7257647B2 (ja) 電動工具
WO2020217625A1 (ja) 電動工具
WO2021100844A1 (ja) 電動工具、制御方法、及びプログラム
JP7369994B2 (ja) インパクト工具
JP7228763B2 (ja) 電動工具
US20230311293A1 (en) Electric tool
JP2024057503A (ja) インパクト回転工具、判定方法及びプログラム
JP2021030358A (ja) 電動工具

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20887887

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20887887

Country of ref document: EP

Kind code of ref document: A1