Electric working machine

By introducing a rotation direction selection unit and a motor control unit in the electric operation machine, the rotation direction error problem caused by inconsistent setting signals of the motor is solved, and safe stop in the case of a fault and rotation of the user set direction is achieved, thereby improving the The reliability and safety of the equipment.

CN112467694BActive Publication Date: 2025-01-03MAKITA CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010824112.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2019-09-09
Filing Date
2020-08-17
Publication Date
2025-01-03
Estimated Expiration
2040-08-17

AI Technical Summary

Technical Problem

In the event of a faulty switch or poor wiring, the motor in the existing electric operation machine may rotate to an undesired direction, resulting in the rotation direction set by the user inconsistent with the actual rotation direction, resulting in inconvenience in use.

Method used

An electric operation machine is designed, including a motor, a driving unit, a rotation direction selection unit and a motor control unit. The rotation direction selection unit outputs a setting signal so that the motor can selectively rotate to a predetermined direction, and the setting signal is inconsistent. Stop rotation when the motor rotates in the direction set by the user.

Benefits of technology

It effectively suppresses the motor rotation direction error caused by inconsistent setting signals, ensures that the motor can be safely stopped in case of failure or abnormality, avoids unwanted rotation directions, and improves the reliability and safety of use.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112467694B_ABST
    Figure CN112467694B_ABST
Patent Text Reader

Abstract

The present invention provides an electric working machine capable of suppressing a motor from rotating in a direction different from the rotation direction set by a user by operating a switch or the like. The electric working machine comprises a motor, a driving unit, a rotation direction selection unit, and a motor control unit. The rotation direction selection unit is operated to selectively set the rotation direction of the motor to any one of a first direction and a second direction, and a first setting signal and a second setting signal are output. The first setting signal and the second setting signal respectively indicate the set rotation direction. The motor control unit controls the driving unit so that the motor rotates in the rotation direction indicated by the first setting signal and / or the second setting signal. When the rotation direction indicated by the first setting signal and the rotation direction indicated by the second setting signal are inconsistent, the motor control unit stops the rotation of the motor.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a technology for controlling a motor in an electric working machine. Background Art

[0002] The electric working machine disclosed in Patent Document 1 includes a switch and a control unit. A user of the electric working machine operates the switch to set the rotation direction of the motor. The control unit rotates the motor in the rotation direction indicated by a setting signal input from the switch.

[0003] Prior art literature

[0004] Patent Literature

[0005] Patent Document 1: Japanese Patent Application Publication No. 2018-083254 Summary of the invention

[0006] In the above-mentioned electric working machine, if a switch or wiring connected to the switch fails, the motor may rotate in a direction that the user does not want. For example, when the switch fails and cannot properly input a setting signal to the control unit, for example, although the user operates the switch to rotate the motor in the first direction, the motor may rotate in the second direction.

[0007] An object of one aspect of the present invention is to suppress a motor from rotating in a direction different from a rotation direction set by a user by operating a switch or the like (that is, a rotation direction intended by the user).

[0008] An electric working machine in one embodiment of the present invention includes: a motor, a drive unit, a rotation direction selection unit, and a motor control unit. The drive unit drives the motor by power supplied from a power source. The rotation direction selection unit is operated to selectively set the rotation direction of the motor to any one of a first direction and a second direction, and output a first setting signal and a second setting signal. The first setting signal and the second setting signal respectively indicate the set rotation direction.

[0009] The motor control unit controls the driving unit so that the motor rotates in the direction of rotation indicated by the first setting signal and / or the second setting signal output from the rotation direction selection unit. When the rotation direction indicated by the first setting signal and the rotation direction indicated by the second setting signal are inconsistent, the motor control unit stops the rotation of the motor.

[0010] In the electric working machine configured as above, when an abnormality occurs in which the rotation direction indicated by the first setting signal and the rotation direction indicated by the second setting signal are inconsistent (hereinafter referred to as "setting signal inconsistency"), for example, due to a failure of the rotation direction selection unit or other various main reasons, the rotation of the motor is stopped. Therefore, it is possible to prevent the motor from rotating in a direction different from the rotation direction set by the user of the electric working machine by operating the rotation direction selection unit (i.e., the rotation direction desired by the user) when the setting signal inconsistency occurs.

[0011] In addition, the determination of whether the setting signal inconsistency has occurred can be performed as follows, for example, by obtaining the first setting signal and the second setting signal and comparing the rotation directions indicated by the two. However, the determination can also be performed based on information corresponding to the first setting signal and / or information corresponding to the second setting signal. That is, for example, information that changes in accordance with the first setting signal can be obtained, and the rotation direction indicated by the first setting signal can be obtained based on the information. Then, based on the rotation direction thus obtained and the rotation direction indicated by the second setting signal, it can be determined whether the setting signal inconsistency has occurred.

[0012] The motor control unit may include a control circuit. The control circuit is input with the first setting signal and the second setting signal output from the rotation direction selection unit, and controls the drive unit so that the motor rotates in the rotation direction indicated by the input first setting signal and / or the second setting signal. When the rotation direction indicated by the first setting signal and the rotation direction indicated by the second setting signal are inconsistent, the control circuit controls the drive unit so that the rotation of the motor stops.

[0013] In the electric working machine configured as above, when a setting signal mismatch occurs, the control circuit controls the drive unit to stop the rotation of the motor. Therefore, the motor rotation can be stopped when a setting signal mismatch occurs with a simple configuration.

[0014] The motor control unit may include: a control circuit, a determination circuit, and a stop circuit, wherein the control circuit is input with a first setting signal output from the rotation direction selection unit. The control circuit controls the drive unit so that the motor rotates in the rotation direction indicated by the input first setting signal. The determination circuit is input with a second setting signal output from the rotation direction selection unit, and determines whether the rotation direction indicated by the input second setting signal is consistent with the actual rotation direction of the motor, that is, the actual rotation direction. When the determination circuit determines that they are inconsistent, the stop circuit stops the rotation of the motor.

[0015] The actual rotation direction depends on the first setting signal, which is one of the information corresponding to the first setting signal. That is, the actual rotation direction can be regarded as the rotation direction indicated by the first setting signal. Therefore, determining whether the rotation direction indicated by the second setting signal is consistent with the actual rotation direction can be regarded as: determining whether the situation of inconsistency of the setting signal has actually occurred.

[0016] In the electric working machine constructed as above, the determination circuit and the stop circuit which are separately provided from the control circuit are used to determine whether the setting signal inconsistency has occurred and to stop the motor rotation when the setting signal inconsistency has occurred. Therefore, even if an abnormality occurs in the control circuit, the rotation of the motor can be stopped appropriately when the setting signal inconsistency has occurred.

[0017] In an electric working machine configured to determine whether a setting signal inconsistency has occurred by a determination circuit, in addition to the determination circuit, a control circuit may determine whether a setting signal inconsistency has occurred. And, if a setting signal inconsistency has occurred, the control circuit may control the drive unit to stop the rotation of the motor.

[0018] In the electric working machine configured as described above, when a mismatch in the setting signals occurs, the rotation of the motor is stopped by the control circuit controlling the drive unit and the stop circuit, so that the motor can be stopped more reliably.

[0019] The determination circuit may include a rotation direction detection circuit and a determination execution circuit. The rotation direction detection circuit detects the actual rotation direction. The determination execution circuit determines whether the rotation direction indicated by the second setting signal input to the determination circuit is consistent with the actual rotation direction detected by the rotation direction detection circuit.

[0020] In the electric working machine configured as described above, it is possible to appropriately determine whether a setting signal mismatch has occurred.

[0021] The electric working machine may further include a position information output unit configured to output rotation position information corresponding to the rotation position of the motor. The rotation direction detection circuit may be configured to detect an actual rotation direction based on the rotation position information output from the position information output unit.

[0022] In the electric working machine configured as described above, the actual rotation direction can be appropriately detected, and further, whether or not a setting signal discrepancy has occurred can be appropriately determined based on the detected actual rotation direction.

[0023] The control circuit may be configured to control the drive unit by outputting a drive command to the drive unit. The rotation direction detection circuit may be configured to receive a drive command input from the control circuit to the drive unit and detect an actual rotation direction based on the input drive command.

[0024] In the electric working machine configured as described above, the actual rotation direction can be appropriately detected based on the drive command, and further, whether or not a setting signal inconsistency has occurred can be appropriately determined based on the detected actual rotation direction.

[0025] The motor control unit may further include a rotation detection circuit and a disabling circuit. The rotation detection circuit detects the rotation of the motor. The disabling circuit disabling a function of stopping the rotation of the motor by the stop circuit when the rotation detection circuit does not detect the rotation of the motor.

[0026] In the electric working machine configured as described above, when the motor has stopped, the function of stopping the rotation of the motor by the stop circuit is disabled, so that the function can be realized at an appropriate timing when necessary.

[0027] The rotation detection circuit may be configured to detect the motor rotation based on the rotation position information output from the position information output unit.

[0028] In the electric working machine configured as described above, it is possible to appropriately and easily determine whether the motor is rotating based on the rotational position information.

[0029] The rotation detection circuit may be configured to receive a drive command input from the control circuit to the drive unit, and detect the rotation of the motor based on the input drive command.

[0030] In the electric working machine configured as described above, it is possible to appropriately and easily determine whether the motor is rotating based on the drive command.

[0031] The driving unit may include six switching elements including a first switching element and a second switching element. The driving instruction may include six driving signals respectively input to the six switching elements. The six driving signals include a first driving signal input to the first switching element and a second driving signal input to the second switching element.

[0032] The control circuit uses 6 drive signals to turn on the 6 switching elements during the power-on period at the following timing, that is, the timing is the power-on start timing set for each of the 6 switching elements, thereby generating three-phase power for driving the motor. The power-on start timing of each of the 6 switching elements is: the timing corresponding to the rotation position of the motor, and the phases are staggered by a certain electrical angle. The power-on period is: the period from the power-on start timing to the motor rotating the power-on electrical angle.

[0033] The rotation direction detection circuit can be configured to detect the actual rotation direction based on the first drive signal and the second drive signal. In addition, the term "based on the first drive signal and the second drive signal" does not mean based only on the first drive signal and the second drive signal. In addition to detecting the actual rotation direction based on the first drive signal and the second drive signal, the rotation direction detection circuit can also further detect the actual rotation direction based on other drive signals (i.e., based on more than three drive signals).

[0034] In the electric working machine configured as described above, it is possible to appropriately and easily determine whether the motor is rotating based on two of the six drive signals.

[0035] The control circuit may be configured to use six drive signals to periodically switch the six switching elements on and off at a switching frequency during the corresponding power-on period, and simultaneously control the on-time using a pulse width modulation method, thereby generating three-phase power. In addition, the electric working machine may further include a first low-pass filter and a second low-pass filter.

[0036] The first low-pass filter is input with the first drive signal, and attenuates and outputs the signal component with a frequency higher than the first cut-off frequency contained in the first drive signal. The second low-pass filter is input with the second drive signal, and attenuates and outputs the signal component with a frequency higher than the second cut-off frequency contained in the second drive signal. The first cut-off frequency and the second cut-off frequency are lower than the switching frequency.

[0037] Furthermore, the rotation direction detection circuit may be configured to detect an actual rotation direction based on the first drive signal that has passed through a first low-pass filter and the second drive signal that has passed through the second low-pass filter.

[0038] In the electric working machine configured as described above, the first cutoff frequency and the second cutoff frequency are appropriately set in consideration of the switching frequency, so that the detection accuracy of the actual rotation direction by the rotation direction detection circuit can be improved.

[0039] The control circuit may be configured to rotate the motor at a rotation speed lower than the maximum rotation speed. The first cutoff frequency and the second cutoff frequency may be higher than the maximum commutation frequency. The maximum commutation frequency is the reciprocal of the time required for the motor rotating at the maximum rotation speed to rotate a certain electrical angle.

[0040] In the electric working machine configured as described above, the first cutoff frequency and the second cutoff frequency are more appropriately set in consideration of the switching frequency and the maximum commutation frequency, so that the detection accuracy of the actual rotation direction by the rotation direction detection circuit can be further improved.

[0041] The electric working machine can be constructed as follows. That is, the drive unit can have 6 switching elements. The drive instruction can include: 6 drive signals respectively input to the 6 switching elements. The control circuit can be constructed so that: the 6 switch elements are respectively turned on during the corresponding power-on periods using the 6 drive signals, thereby generating three-phase power for driving the motor. The power-on periods corresponding to the 6 switch elements are: periods based on the rotational position of the motor, and the phases are different from each other. The rotation detection circuit can be constructed so that: based on one of the 6 drive signals, the motor rotation is detected.

[0042] In addition, the phrase “based on one of the six drive signals” does not mean based on only one drive signal. The rotation detection circuit may detect the motor rotation based on two or more drive signals.

[0043] In the electric working machine configured as described above, it is possible to appropriately and easily determine whether the motor is rotating based on one of the six drive signals.

[0044] The electric working machine constructed as above can be further constructed as follows. That is, the control circuit can be constructed so that the six switching elements are periodically switched on and off at a switching frequency during the corresponding power-on period using six drive signals, and the on-time is controlled by pulse width modulation, thereby generating three-phase power. The electric working machine can further include a low-pass filter, which is constructed so that a signal component with a frequency higher than the cutoff frequency contained in one of the six drive signals is attenuated and output. The cutoff frequency is lower than the switching frequency. In addition, the rotation detection circuit can be constructed so that the motor rotation is detected based on the signal passing through the low-pass filter.

[0045] In the electric working machine configured as described above, the cutoff frequency is appropriately set in consideration of the switching frequency, so that the detection accuracy of the actual rotation direction by the rotation direction detection circuit can be improved.

[0046] In this case, the cutoff frequency may be higher than the maximum commutation frequency. By making the cutoff frequency higher than the maximum commutation frequency, the detection accuracy of the actual rotation direction by the rotation direction detection circuit can be further improved.

[0047] The electric working machine may further include a trigger operating unit, and the motor may be rotated by operating the trigger operating unit. The motor control unit may be configured to control the drive unit to rotate the motor when the trigger operating unit is operated. The motor control unit may be configured to stop the rotation of the motor when the rotation direction indicated by the first setting signal and the rotation direction indicated by the second setting signal are inconsistent after the trigger operating unit is operated (for example, when the trigger operating unit is operated, or at a time later than the time when the trigger operating unit is operated).

[0048] The rotation direction selection unit may be configured to generate a neutral state in which neither the first direction nor the second direction is selected. When the rotation direction selection unit is in the neutral state, the motor control unit may stop the rotation of the motor. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] Figure 1 It is an explanatory diagram showing the electrical configuration of the electric working machine according to the first embodiment.

[0050] Figure 2 This is a flowchart of the motor control process according to the first embodiment.

[0051] Figure 3 It is an explanatory diagram showing the electrical configuration of an electric working machine according to a second embodiment.

[0052] Figure 4 It is an explanatory diagram showing an operation example of the electric working machine according to the second embodiment, and particularly shows an operation example when the motor rotates in the first direction.

[0053] Figure 5 It is an explanatory diagram showing an operation example of the electric working machine according to the second embodiment, and particularly shows an operation example when the motor rotates in the second direction.

[0054] Figure 6 It is an explanatory diagram showing the electrical configuration of an electric working machine according to a third embodiment.

[0055] Figure 7 It is an explanatory diagram showing an operation example of the electric working machine according to the third embodiment, and particularly shows an operation example when the motor rotates in the first direction.

[0056] Figure 8 It is an explanatory diagram showing an operation example of the electric working machine according to the third embodiment, and particularly shows an operation example when the motor rotates in the second direction.

[0057] Fig. 9 It is an explanatory diagram showing the electrical configuration of an electric working machine according to a fourth embodiment.

[0058] Fig.10This is a flowchart of the monitoring process according to the fourth embodiment.

[0059] Fig.11 It is a three-dimensional diagram of the trigger unit.

[0060] Fig.12 It is an explanatory diagram for explaining the rotation of the lever in the trigger unit.

[0061] Fig.13 This is a flowchart of a modified example of the motor control process.

[0062] Explanation of symbols

[0063] 1, 110, 120, 130…electric working machine, 5…battery pack, 6…battery, 10…working machine body, 11…motor, 13…motor driver, 14, 31…control circuit, 15…trigger operation unit, 16…trigger switch, 17…rotation direction selection unit, 17a…switch, 19…rotation position detection unit, 32…invalidation circuit, 40…judgment circuit, 41…rotation direction detection circuit, 43…judgment execution circuit, 50, 80…rotation detection circuit, 60…motor stop circuit, 61…switch, 73…invalidation circuit, 91…monitoring circuit. DETAILED DESCRIPTION

[0064] Hereinafter, embodiments of the present invention will be described with reference to the drawings.

[0065] [1. First embodiment]

[0066] (1-1) Structure of electric working machine

[0067] Figure 1 The electric working machine 1 of the first embodiment shown includes a working machine body 10 and a battery pack 5. The battery pack 5 is attachable to and detachable from the working machine body 10. Figure 1 The state where the battery pack 5 is mounted on the working machine body 10 is shown.

[0068] The battery pack 5 includes a battery 6, a battery pack positive terminal 5a, and a battery pack negative terminal 5b. The battery pack positive terminal 5a is connected to the positive electrode of the battery 6. The battery pack negative terminal 5b is connected to the negative electrode of the battery 6. The battery 6 may be a secondary battery (for example, a lithium ion battery) that can be charged and discharged.

[0069] The working machine body 10 includes a main body positive terminal 10a and a main body negative terminal 10b. When the battery pack 5 is mounted on the working machine body 10, the battery pack positive terminal 5a is connected to the main body positive terminal 10a, and the battery pack negative terminal 5b is connected to the main body negative terminal 10b, so that the working machine body 10 can receive power (hereinafter referred to as "battery power") from the battery pack 5.

[0070] The working machine body 10 includes a motor 11 , a tool driving unit 12 , and a motor driver 13 .

[0071] The motor 11 is driven to rotate by driving power output from the motor driver 13. The motor 11 of the present embodiment is, for example, a brushless motor.

[0072] The motor driver 13 receives battery power, generates driving power (for example, three-phase power in the present embodiment) for driving the motor 11 based on the battery power, and outputs the driving power to the motor 11. The motor 11 receives the driving power from the motor driver 13 and rotates.

[0073] The rotational driving force of the motor 11 is transmitted to the tool driving unit 12 via a transmission mechanism (not shown). A work output tool (not shown) is mounted on the tool driving unit 12. The work output tool may be fixed to the tool driving unit 12 in an irremovable manner or may be detachable from the tool driving unit 12.

[0074] The work output tool is configured to act on a work object outside the electric working machine 1 , in other words, to supply energy to the work object, thereby realizing the function of the electric working machine 1 .

[0075] The work output tool can be: a saw blade configured to rotate or reciprocate so as to cut materials such as wood and metal, or a rotating blade configured to rotate so as to cut grass and small-diameter trees, or a drill bit configured to rotate so as to make holes in the material being processed, or a fan configured to rotate so as to supply air or suction.

[0076] That is, the electric working machine 1 of the first embodiment may be, for example, a circular saw having the saw blade, a cutter having the rotary blade, a drill having the drill tip, or a blower having the fan.

[0077] The working machine body 10 includes a control circuit 14 , a trigger operation unit 15 , a trigger switch 16 , a rotation direction selection unit 17 , a power supply circuit 18 , a rotation position detection unit 19 , and an LED 20 .

[0078] Battery power is input from the battery pack 5 mounted on the electric working machine 1 to the power circuit 18. The power circuit 18 generates a DC control voltage Vc by reducing the voltage of the input battery power. The control voltage Vc is supplied to various parts in the working machine body 10 including the control circuit 14. The voltage value of the control voltage Vc may be any value, for example, 5V.

[0079] The trigger operation unit 15 is operated by the user of the electric working machine 1. When the trigger operation unit 15 is turned on (for example, pulled), as described later, driving power is supplied to the motor 11, so that the motor 11 rotates. When the trigger operation unit 15 is turned off (for example, restored), as described later, the supply of driving power to the motor 11 is stopped, so that the rotation of the motor 11 stops.

[0080] The trigger switch 16 is turned on or off in conjunction with the trigger operation unit 15. Specifically, when the trigger operation unit 15 is turned off (i.e., not turned on), the trigger switch 16 is turned off; when the trigger operation unit 15 is turned on, the trigger switch 16 is turned on.

[0081] The first end of the trigger switch 16 is connected to the first end of the resistor R0. The second end of the trigger switch 16 is connected to the ground line. The ground line is connected to the main body negative terminal 10b. The control voltage Vc is applied to the second end of the resistor R0.

[0082] The voltage at the first end of the trigger switch 16 is input as a trigger signal TR to the control circuit 14. The trigger signal TR indicates the state of the trigger switch 16 (on or off) and the state of the trigger operation unit 15 (on operation or off operation).

[0083] When the trigger switch 16 is off, the trigger signal TR becomes an H-level signal, that is, a signal including a voltage having a value substantially equal to the voltage value of the control voltage Vc. When the trigger switch 16 is on, the trigger signal TR becomes an L-level signal, that is, a signal including a voltage having a value substantially equal to the voltage value of the ground line (for example, 0 V in this embodiment).

[0084] The rotation direction selection unit 17 is operated by the user so that the user of the electric working machine 1 selects (sets) the rotation direction of the motor 11. The rotation direction selection unit 17 includes: a selection operation unit (not shown) operated by the user. The user can selectively set the rotation direction of the motor 11 to any one of the first direction and the second direction by operating the selection operation unit. The first direction can be, for example, a forward rotation, that is, a so-called CW (clockwise) direction. The second direction can be, for example, a reverse rotation, that is, a so-called CCW (counterclockwise) direction.

[0085] The rotation direction selection unit 17 includes a selection switch 17a. The selection switch 17a includes: a common terminal, a first terminal, and a second terminal. The common terminal is connected to the ground line. The first terminal is connected to the first end of the resistor R1. A control voltage Vc is applied to the second end of the resistor R1. The second terminal is connected to the first end of the resistor R2. A control voltage Vc is applied to the second end of the resistor R2.

[0086] The selection switch 17a is configured such that when the user operates the selection operation unit, the common terminal is connected to the first terminal or the second terminal. When the first direction is selected by the selection operation unit, the common terminal is connected to the first terminal in the selection switch 17a. Figure 1 The state in which the first direction is selected is shown. If the second direction is selected by the selection operation unit, the common terminal and the second terminal of the selection switch 17a are connected.

[0087] The voltage at the first terminal of the selection switch 17a is input as the first setting signal DS1 to the control circuit 14. The voltage at the second terminal of the selection switch 17a is input as the second setting signal DS2 to the control circuit 14. The first setting signal DS1 and the second setting signal DS2 each indicate the rotation direction of the motor 11 set by the user.

[0088] When the first direction is set in the rotation direction selection unit 17, the first setting signal DS1 becomes an L level signal and the second setting signal DS2 becomes an H level signal. When the second direction is set in the rotation direction selection unit 17, the first setting signal DS1 becomes an H level signal and the second setting signal DS2 becomes an L level signal.

[0089] The rotation position detector 19 is configured to output the rotation position of the motor 11, specifically, the rotation position information corresponding to the rotation position of the rotor (not shown) in the motor 11. The rotation position information includes a first position signal Hu, a second position signal Hv, and a third position signal Hw described below.

[0090] The rotation position detection unit 19 of this embodiment includes three Hall sensors, namely a first Hall sensor (not shown), a second Hall sensor (not shown), and a third Hall sensor (not shown). The three Hall sensors are arranged around the rotor of the motor 11 at intervals of 120 degrees in electrical angle along the rotation direction of the rotor.

[0091] The first Hall sensor outputs a first position signal Hu. The second Hall sensor outputs a second position signal Hv. The third Hall sensor outputs a third position signal Hw. The first position signal Hu, the second position signal Hv, and the third position signal Hw change in accordance with the relative position relationship between the corresponding Hall sensor and the rotor. In the present embodiment, the first Hall sensor comprises: a Hall element, and a signal processing circuit that processes the output signal from the Hall element and converts it into a binary digital signal. The binary digital signal is output as the first position signal Hu. The same is true for the second Hall sensor and the third Hall sensor. The rotation position information is input to the control circuit 14.

[0092] Figure 4 and Figure 5 An example of the rotation position information (ie, the first position signal Hu, the second position signal Hv, and the third position signal Hw) is shown in FIG. Figure 4 2 shows an example of rotation position information output from the rotation position detection unit 19 when the motor 11 rotates in the first setting direction. Figure 5 2 shows an example of rotational position information output from the rotational position detection unit 19 when the motor 11 rotates in the second setting direction. Figure 4 and Figure 5 An electric working machine 110 (see Figure 3 ) operation example, however, regarding the rotational position information, the first embodiment is also the same.

[0093] in addition, Figure 4 and Figure 5 The horizontal axis in represents the rotation amount (electrical angle) of the motor 11 after the trigger switch 16 is turned on and the motor 11 starts rotating. For example, "0°" in the horizontal axis represents the timing when the trigger switch 16 is turned on and the motor 11 starts rotating. Figure 7 and Figure 8 The same is true for the horizontal axis in .

[0094] like Figure 4 and Figure 5 As shown in the example, the first position signal Hu, the second position signal Hv, and the third position signal Hw change from L level to H level with a phase difference of 120°, and each changes to L level after rotating 180° from the timing of changing to H level. Figure 4 and Figure 5 For example, when the first position signal Hu is rotated 30° from the start of rotation, the first position signal Hu becomes H level. The amount of rotation from the start of rotation to the time when the first position signal Hu becomes H level depends on the rotation position of the motor 11 at the start of rotation (i.e., the initial position of the rotor), and can be any value within the range of 0° to 360°, for example.

[0095] In this embodiment, the motor driver 13 includes a three-phase full-bridge circuit. That is, the motor driver 13 in this embodiment includes six switching elements Q1, Q2, Q3, Q4, Q5, and Q6. In this embodiment, the switching elements Q1 to Q6 are, for example, metal oxide semiconductor field effect transistors (MOSFETs).

[0096] The switching elements Q1, Q3, and Q5 are respectively so-called high-side switches, and the switching elements Q2, Q4, and Q6 are respectively so-called low-side switches. That is, the drains of the switching elements Q1, Q3, and Q5 are respectively connected to the main body positive terminal 10a, and the sources of the switching elements Q2, Q4, and Q6 are respectively connected to the ground line. The source of the switching element Q1 is connected to the drain of the switching element Q2 and is connected to the motor 11. The source of the switching element Q3 is connected to the drain of the switching element Q4 and is connected to the motor 11. The source of the switching element Q5 is connected to the drain of the switching element Q6 and is connected to the motor 11.

[0097] A drive instruction is input from the control circuit 14 to the motor driver 13. In this embodiment, the drive instruction includes 6 drive signals. The 6 drive signals include: a first drive signal UH, a second drive signal UL, a third drive signal VH, a fourth drive signal VL, a fifth drive signal WH and a sixth drive signal WL. The 6 drive signals are all binary digital signals.

[0098] The first drive signal UH is input to the gate of the switching element Q1, and the second drive signal UL is input to the gate of the switching element Q2. The third drive signal VH is input to the gate of the switching element Q3, and the fourth drive signal VL is input to the gate of the switching element Q4. The fifth drive signal WH is input to the gate of the switching element Q5, and the sixth drive signal WL is input to the gate of the switching element Q6. In the motor driver 13, the switching elements Q1 to Q6 are respectively turned on or off according to the corresponding drive signals, thereby generating three-phase drive power.

[0099] The control circuit 14 includes a single-chip microcomputer including a CPU 14a, a memory 14b, etc. The memory 14b may include various semiconductor memories such as a RAM, a ROM, and a nonvolatile memory.

[0100] The memory 14b stores various programs and data that are read and executed by the CPU 14a to realize various functions of the electric working machine 1. The programs stored in the memory 14b include: Figure 2 Various functions of the electric working machine 1 are realized by the CPU 14a executing various programs stored in the memory 14b.

[0101] In addition, the various functions of the electric working machine 1 are not limited to the software processing described above, and part or all of the functions may be realized by hardware combining logic circuits, analog circuits, and the like.

[0102] The trigger signal TR, the first setting signal DS1 , the second setting signal DS2 , and the rotational position information are input to the control circuit 14 , which generates a drive command based on the input signals and outputs the drive command to the motor driver 13 to control the motor 11 .

[0103] When the trigger signal TR indicates an H level, that is, the trigger switch 16 is turned off (hereinafter referred to as "trigger off"), the control circuit 14 outputs a drive instruction for stopping the rotation of the motor 11 to the motor driver 13, thereby stopping the rotation of the motor 11. In addition, outputting the drive instruction for stopping the rotation of the motor 11 may include, for example, making all six drive signals L level so that all the switch elements Q1 to Q6 are turned off.

[0104] When the trigger signal TR indicates an L level, that is, the trigger switch 16 is turned on (hereinafter referred to as "trigger on"), the control circuit 14 obtains the rotation direction set by the user (hereinafter referred to as "set rotation direction") based on one or both of the first setting signal DS1 and the second setting signal DS2. And, the control circuit 14 outputs a drive instruction for rotating the motor 11 in the set rotation direction to the motor driver 13, thereby rotating the motor 11 in the set rotation direction.

[0105] Figure 7 and Figure 8 An example of the drive instructions (that is, six drive signals UH, UL, VH, VL, WH, and WL) output from the control circuit 14 is shown in FIG. Figure 7 An example of a drive instruction for rotating the motor 11 in the first set direction is shown in FIG. Figure 8 An example of a drive instruction for rotating the motor 11 in the second set direction is shown in FIG.

[0106] Figure 7 and Figure 8 An electric working machine 120 according to a third embodiment described later (see Figure 6 ) operation example, however, the first embodiment is also the same with respect to the six drive signals UH, UL, VH, VL, WH, and WL.

[0107] in addition, Figure 7 Action examples and Figure 4 The rotational position information shown corresponds to, Figure 8 Action examples and Figure 5 The rotation position information shown corresponds to . That is, Figure 4 and Figure 7In the example, when the first position signal Hu changes from L level to H level at 30° rotation from the start of rotation, the first drive signal UH changes from L level to H level in response to the change, and the third drive signal VH changes from H level to L level. Figure 5 and Figure 8 The same is true.

[0108] like Figure 7 and Figure 8 As shown, in this embodiment, the switching elements Q1 to Q6 are each set with a energization start timing (i.e., a timing to switch from OFF to ON) corresponding to the rotation position of the motor 11. The energization start timings of the switching elements Q1 to Q6 are shifted by a certain electrical angle (eg, 60 degrees).

[0109] The switching elements Q1 to Q6 are continuously or discretely turned on by the corresponding drive signals during the energization period from the corresponding energization start timing until the motor 11 rotates by the energization electrical angle (eg, 120°) by continuously or discretely changing to the H level.

[0110] For example, for the switch element Q1, the timing when the first position signal Hu changes from L level to H level is set as the energization start timing. Therefore, at the energization start timing when the first position signal Hu changes to H level, the first drive signal UH changes to H level, thereby turning on the switch element Q1.

[0111] The switch elements Q1 to Q6 can be maintained on during the corresponding power-on period, but the control circuit 14 of this embodiment uses PWM (Pulse Width Modulation) to control the motor 11. That is, the six drive signals UH, UL, VH, VL, WH, and WL are periodically switched between the H level and the L level at a predetermined switching frequency (the so-called PWM frequency), and not all drive signals are maintained at the H level during the corresponding power-on period. As a result, the switch elements Q1 to Q6 are periodically switched on and off during the corresponding power-on period. In addition, the time of the H level (i.e., the pulse width) within one cycle of the switching frequency is controlled, thereby controlling the three-phase drive power supplied to the motor 11, and controlling the rotation speed or output torque of the motor 11. The control circuit 14 can control the pulse width using any method. For example, the pulling operation amount of the trigger operation unit 15 can be detected, and the control circuit 14 controls the pulse width according to the pulling operation amount.

[0112] (1-2) Direction setting monitoring function

[0113] The control circuit 14 of this embodiment further has a direction setting monitoring function. The direction setting monitoring function is a function of monitoring whether the rotation direction selection unit 17 functions normally. The direction setting monitoring function is, in other words, a function of monitoring whether the rotation direction desired by the user is properly transmitted from the rotation direction selection unit 17 to the control circuit 14, or in other words, a function of monitoring whether the appropriate first setting signal DS1 and second setting signal DS2 indicating the rotation direction desired by the user are input to the control circuit 14.

[0114] The control circuit 14 implements the direction setting monitoring function as follows. That is, if the combination of the first setting signal DS1 and the second setting signal DS2 is appropriate, the control circuit 14 determines that the rotation direction selection unit 17 is functioning appropriately. The appropriate combination includes: a combination of the first setting signal DS1 at an H level and the second setting signal DS2 at an L level, and a combination of the first setting signal DS1 at an L level and the second setting signal DS2 at an H level.

[0115] On the other hand, when the combination of the first setting signal DS1 and the second setting signal DS2 is inappropriate (for example, a logical contradiction occurs), the control circuit 14 determines that the rotation direction selection unit 17 does not function properly. In this case, even if the trigger signal TR indicates that the trigger is turned on, the control circuit 14 outputs a drive instruction for stopping the motor 11, thereby stopping the motor 11. Inappropriate combinations include combinations in which the first setting signal DS1 and the second setting signal DS2 are both at the H level or the L level. These combinations indicate that the rotation direction indicated by the first setting signal DS1 and the rotation direction indicated by the second setting signal DS2 are inconsistent.

[0116] When the combination of the first setting signal DS1 and the second setting signal DS2 is inappropriate, the control circuit 14 further outputs an error signal ER to the LED 20 to drive the LED 20, thereby notifying that an error has occurred. The error signal ER is a signal for lighting the LED 20 in a specified lighting mode and color. The lighting mode can be any mode. For example, the lighting mode can be configured to flash in a certain period, or to continuously light up for a certain period of time and then turn off after a certain period of time.

[0117] The control circuit 14 can execute the direction setting monitoring function at any timing. However, in the present embodiment, the control circuit 14 executes the direction setting monitoring function at the timing when the trigger switch 16 is turned on, that is, at the timing when the trigger operation unit 15 is turned on, for example.

[0118] (1-3) Motor Control Processing

[0119] Reference Figure 2The motor control process performed by the control circuit 14 (specifically, the CPU 14a) is described below. When the CPU 14a is supplied with the control voltage Vc and started, the motor control process is performed. The motor control process performed by the CPU 14a realizes the aforementioned direction setting monitoring function.

[0120] When the motor control process is started, the CPU 14a performs initial settings in S110. The initial settings include, for example, settings of each port in the CPU 14a.

[0121] In S120, based on the trigger signal TR, it is determined whether the trigger switch 16 is turned on. The determination in S120 is repeated while the trigger switch 16 is turned off. When the trigger switch 16 is turned on, the process proceeds to S130.

[0122] In S130, it is determined whether the combination of the first setting signal DS1 and the second setting signal DS2 is appropriate. If the combination of the first setting signal DS1 and the second setting signal DS2 is appropriate, the process proceeds to S140.

[0123] In S140, the rotation direction indicated by the first setting signal DS1 is determined. When the first setting signal DS1 indicates the first direction (forward rotation), the process proceeds to S150. In addition, in S140, the rotation direction indicated by the second setting signal DS2 may be determined. In S150, a drive instruction for rotating the motor 11 in the first direction is generated and output to the motor driver 13, thereby rotating the motor 11 in the first direction.

[0124] In S160, it is determined whether the trigger switch 16 is turned off. If the trigger switch 16 is not turned off, the process proceeds to S150. If the trigger switch 16 is turned off, the process proceeds to S190.

[0125] In S190, a motor stop process is executed. Specifically, a drive command for stopping the rotation of the motor 11 is generated and output to the motor driver 13, thereby stopping the rotation of the motor 11. After the rotation of the motor 11 is stopped in S190, the process proceeds to S120.

[0126] In S140, when the first setting signal DS1 indicates the second direction (reverse rotation), the process proceeds to S170. In S170, a drive command for rotating the motor 11 in the second direction is generated and output to the motor driver 13, thereby rotating the motor 11 in the second direction.

[0127] In S180, it is determined whether the trigger switch 16 is off. If the trigger switch 16 is not off, the process proceeds to S170. If the trigger switch 16 is off, the process proceeds to S190 to execute the motor stop process.

[0128] In S130, if the combination of the first setting signal DS1 and the second setting signal DS2 is inappropriate, the process proceeds to S200. In S200, the same motor stop process as in S190 is performed. After the rotation of the motor 11 is stopped in S200, the process proceeds to S210.

[0129] In S210 , an error display is performed. Specifically, an error signal ER is output to the LED 20 , thereby causing the LED 20 to light up in a lighting pattern corresponding to the error signal ER.

[0130] (1-4) Effects of the First Embodiment, etc.

[0131] According to the first embodiment described above, when an abnormality (setting signal inconsistency) occurs in which the rotation direction indicated by the first setting signal DS1 and the rotation direction indicated by the second setting signal DS2 are inconsistent due to a failure of the rotation direction selection unit 17 or other various main reasons, the rotation of the motor 11 is stopped. Therefore, when the setting signal inconsistency occurs, it is possible to suppress the situation in which the motor 11 rotates in a direction different from the rotation direction set by the user of the electric working machine 1 by operating the rotation direction selection unit 17 (that is, the rotation direction desired by the user).

[0132] In addition, in the first embodiment, the control circuit 14 determines whether a setting signal inconsistency has occurred based on the first setting signal DS1 and the second setting signal DS2 input to the control circuit 14. And, when it is determined that a setting signal inconsistency has occurred, the control circuit 14 outputs a drive command to stop the motor 11, or stops the output of the drive command, thereby stopping the rotation of the motor 11. Therefore, the rotation stop of the motor 11 when a setting signal inconsistency has occurred can be realized with a simple configuration.

[0133] In addition, the motor driver 13 corresponds to an example of a driving unit in the present invention.

[0134] [2. Second Embodiment]

[0135] Regarding the electric working machine 110 of the second embodiment, refer to Figure 3 to Figure 5 , mainly for the electric working machine 1 of the first embodiment (refer to Figure 1 ) are explained. Figure 3 In, with Figure 1 The same mark indicates Figure 1 For the same structure, refer to the previous description.

[0136] Figure 3In the electric working machine 110 of the second embodiment shown in FIG. 1 , the control circuit 31 is different from the control circuit 14 of the first embodiment in the following aspects. That is, the control circuit 31 is not input with the second setting signal DS2 and does not have a direction setting monitoring function. Therefore, the motor control processing executed by the control circuit 31 is different from the control circuit 14 of the first embodiment. Figure 2 In the motor control process of the first embodiment shown, S130, S200 and S210 are omitted. In the second embodiment, the direction setting monitoring function is realized by the determination circuit 40, the rotation detection circuit 50, the invalidation circuit 32 and the motor stop circuit 60 described later.

[0137] like Figure 3 As shown, the electric working machine 110 is provided with a motor stop circuit 60. The motor stop circuit 60 of the second embodiment is provided with a switch 61. The switch 61 is provided on a current path for supplying battery power from the main body positive terminal 10a to the motor driver 13, and is used to turn on or off the current path. The switch 61 is turned on or off according to a conduction control signal ST described later. When the switch 61 is turned on, the current path is turned on; when the switch 61 is turned off, the current path is turned off.

[0138] like Figure 3 As shown, the electric working machine 110 includes a determination circuit 40. The determination circuit 40 includes a rotation direction detection circuit 41 and a determination execution circuit 43.

[0139] The rotation direction detection circuit 41 detects the actual rotation direction of the motor, that is, the actual rotation direction. In the second embodiment, the rotation direction detection circuit 41 detects the actual rotation direction based on the rotation position information. Specifically, the rotation direction detection circuit 41 detects the actual rotation direction based on any two of the first position signal Hu, the second position signal Hv, and the third position signal Hw (in the present embodiment, for example, the first position signal Hu and the second position signal Hv).

[0140] The rotation direction detection circuit 41 includes, for example, a D-type flip-flop (hereinafter referred to as "D-FF") 42. In the D-FF 42, the first position signal Hu is input to the clock input terminal, and the second position signal Hv is input to the data input terminal. The output signal of the D-FF 42 is input to the determination execution circuit 43. The output signal of the D-FF 42 indicates the actual rotation direction, and is hereinafter referred to as the "actual rotation direction signal".

[0141] When the motor 11 rotates in the first direction, Figure 4As shown in the example, the second position signal Hv is at an L level when the first position signal Hu changes to an H level. Therefore, when the motor 11 rotates in the first direction, the actual rotation direction signal becomes an L level. When the motor 11 rotates in the second direction, Figure 5 As illustrated, the second position signal Hv is at an H level at the timing when the first position signal Hu is at an H level. Therefore, when the motor 11 rotates in the second direction, the actual rotation direction signal is at an H level.

[0142] The determination execution circuit 43 determines (calculates) whether the actual rotation direction detected by the rotation direction detection circuit 41 matches the set rotation direction set by the user, and outputs the result. The determination execution circuit 43 receives the actual rotation direction signal and the second set signal DS2.

[0143] The determination execution circuit 43 includes, for example, a first XOR circuit 44. The first XOR circuit 44 calculates: the logical sum of the actual rotation direction signal and the second setting signal DS2, and outputs the calculation result. Hereinafter, the calculation result output from the first XOR circuit 44 is referred to as the "determination signal DET". The determination signal DET indicates whether the set rotation direction and the actual rotation direction are consistent. When the set rotation direction and the actual rotation direction are consistent, the determination signal DET becomes an H level. For example, when the set rotation direction is the first direction and the actual rotation direction is also the first direction, the second setting signal DS2 becomes an H level, and the actual rotation direction signal becomes an L level, so the determination signal DET becomes an H level. When the set rotation direction and the actual rotation direction are inconsistent, the determination signal DET becomes an L level.

[0144] like Figure 3 As shown, the electric working machine 110 includes a rotation detection circuit 50. The rotation detection circuit 50 detects whether the motor 11 is rotating. In the second embodiment, the rotation detection circuit 50 detects whether the motor 11 is rotating based on the rotation position information.

[0145] In addition, the motor 11 rotates according to the first setting signal DS1, so it can be said that the actual rotation direction is the rotation direction corresponding to the first setting signal DS1. Therefore, it can be understood that the determination circuit 40 actually determines whether the rotation direction indicated by the first setting signal DS1 and the rotation direction indicated by the second setting signal DS2 are consistent, and outputs the determination result as the determination signal DET.

[0146] The rotation detection circuit 50 includes, for example, a second XOR circuit 51. The first position signal Hu, the second position signal Hv, and the third position signal Hw are input to the second XOR circuit 51. The second XOR circuit 51 calculates the logical sum of the three input signals and outputs the calculation result.

[0147] When the motor 11 rotates in the first direction, Figure 4 As illustrated, every time the rotation is 60 degrees, or more specifically, every time the rotation position information changes, the logic of the output signal of the second XOR circuit 51 is inverted.

[0148] The output terminal of the second XOR circuit 51 is connected to the first end of the capacitor C1. The second end of the capacitor C1 is connected to the cathode of the diode D3 and the anode of the diode D4. The anode of the diode D3 is connected to the ground. The cathode of the diode D4 is connected to the first end of the resistor R3 and the first end of the capacitor C2. The second end of the resistor R3 and the second end of the capacitor C2 are connected to the ground. The voltage of the cathode of the diode D4 is output from the rotation detection circuit 50 as the rotation detection signal RD indicating whether the motor 11 is rotating.

[0149] Capacitor C1 and diode D3 function as a differential circuit. Figure 4 As shown in the example, each time the output signal of the second XOR circuit 50 becomes H level, the output voltage value of the differential circuit (i.e., the voltage value of the second end of the capacitor C1) increases sharply to a peak value, and then decreases to 0V. The peak value depends on the charging voltage value of the capacitor C2. According to such a configuration, each time the output signal of the second XOR circuit 50 becomes H level, the charging voltage value of the capacitor C2 increases due to the output voltage from the differential circuit, and thus, its charging voltage value, i.e., the voltage value of the rotation detection signal RD becomes above the H level threshold. That is, the rotation detection signal RD becomes H level (in detail, a level that can be inverted to L level at the input stage of the OR circuit 32a described later). Figure 4 In the example of FIG. 1 , when the motor 11 rotates 330°, the rotation detection signal RD becomes H level.

[0150] When the motor 11 stops, the output signal of the second XOR circuit 51 does not change, so the capacitor C2 is not charged and the rotation detection signal RD is maintained at the L level. The fact that the rotation detection signal RD changes to the H level means that the motor 11 is rotating.

[0151] like Figure 3 As shown, the electric working machine 110 includes a disabling circuit 32. The disabling circuit 32 outputs the aforementioned conduction control signal ST. The disabling circuit 32 outputs the conduction control signal ST based on the determination signal DET while the rotation detection circuit 50 detects the rotation of the motor 11.

[0152] That is, when the determination signal DET indicates that the set rotation direction and the actual rotation direction are consistent, an H-level signal is output as the conduction control signal ST, thereby turning on the switch 61. When the determination signal DET indicates that the set rotation direction and the actual rotation direction are inconsistent, an L-level signal is output as the conduction control signal ST, thereby turning off the switch 61.

[0153] On the other hand, when the rotation of the motor 11 is not detected by the rotation detection circuit 50, regardless of whether the set rotation direction and the actual rotation direction match, the invalidation circuit 32 outputs the H-level conduction control signal ST, thereby turning on the switch 61. That is, when the motor 11 is not rotating, regardless of the determination result of the determination circuit 40, power is allowed to be supplied to the motor 11.

[0154] The invalidation circuit 32 of the second embodiment includes, for example, an OR circuit 32a. The rotation detection signal RD and the determination signal DET are input to the OR circuit 32a. The rotation detection signal RD is input in the form of logical inversion. And, the output signal of the OR circuit 32a is output as the conduction control signal ST. According to such a configuration, when the rotation detection signal RD is at an L level (i.e., when the motor 11 is not rotating), regardless of the determination signal DET, the output signal of the OR circuit 32a becomes an H level (i.e., the conduction control signal ST becomes an H level), so that the switch 61 is turned on. On the other hand, when the rotation detection signal RD is at an H level (i.e., when the motor 11 rotates), the output signal of the OR circuit 32a changes according to the determination signal DET (i.e., the conduction control signal ST changes). If the determination execution circuit 43 determines that the rotation direction is inconsistent and the determination signal DET becomes an L level, the conduction control signal ST becomes an L level, and the switch 61 is turned off. If the switch 61 is turned off, the battery power cannot be supplied to the motor driver 13, and the rotation of the motor 11 stops.

[0155] The invalidation circuit 32 is provided to invalidate a function of turning off the switch 61 based on the determination signal DET while the rotation of the motor 11 is not detected.

[0156] The conduction control signal ST is input to the motor stop circuit 60, and is logically inverted in the inversion circuit 33 and input to the LED 20. Therefore, when the conduction control signal ST becomes L level and the switch 61 is turned off, the LED 20 lights up, thereby notifying that an error has occurred.

[0157] According to the second embodiment described in detail above, the functions and the like realized by the same components as those of the first embodiment can achieve the same effects as those of the first embodiment.

[0158] In addition, in the electric working machine 110 of the second embodiment, the determination circuit 40 and the motor stop circuit 60 (i.e., hardware processing) provided separately from the control circuit 31 realize the determination of whether the setting signal inconsistency has occurred and the stopping of the rotation of the motor 11 when the setting signal inconsistency has occurred. Therefore, even if an abnormality occurs in the control circuit 31, the rotation of the motor can be stopped appropriately by hardware processing when the setting signal inconsistency has occurred.

[0159] In the electric working machine 110, while the rotation detection circuit 50 does not detect the rotation of the motor 11, the invalidation circuit 32 invalidates the determination signal DET from the determination circuit 40. Therefore, the determination result of the determination circuit 40 can be validated at an appropriate timing.

[0160] The motor stop circuit 60 corresponds to an example of a stop circuit in the present invention. The rotation position detection unit 19 corresponds to an example of a position information output unit in the present invention.

[0161] [3. Third embodiment]

[0162] Regarding the electric working machine 120 of the third embodiment, refer to Figure 6 to Figure 8 , mainly for the electric working machine 1 of the first embodiment (refer to Figure 1 ) and the electric working machine 110 of the second embodiment (refer to Figure 3 ) are explained. Figure 6 In, with Figure 1 or Figure 3 The same mark indicates Figure 1 or Figure 3 For the same structure, refer to the previous description.

[0163] exist Figure 6 In the electric working machine 120 of the third embodiment shown, the rotation direction detection circuit 41 detects the actual rotation direction based on the drive command. That is, any two of the six drive signals UH, UL, VH, VL, WH, and WL are input to the D-FF 42 via LPF (low pass filter).

[0164] Specifically, for example, the clock input terminal of the D-FF 42 receives the first filter signal Uhf, that is, the first drive signal UH that has passed through the first LPF 71. The data input terminal of the D-FF 42 receives the fourth filter signal VLf, that is, the fourth drive signal VL that has passed through the second LPF 72. Figure 7 In the embodiment, the first drive signal UH can be regarded as a signal that also substantially represents the first filtered signal UHf, and the fourth drive signal VL can be regarded as a signal that also substantially represents the fourth filtered signal VLf.

[0165] The first LPF 71 attenuates and outputs a signal component having a frequency higher than a first cutoff frequency in the input signal. The first cutoff frequency is, for example, lower than the aforementioned switching frequency (PWM frequency) and higher than the maximum commutation frequency.

[0166] The commutation frequency is the frequency at which the direction of the current supplied to the motor 11 changes according to the drive command. Figure 7 As illustrated, every time the motor 11 rotates 60°, a part of the drive instruction changes, thereby changing the direction of the current supplied from the motor driver 13 to the motor 11. Therefore, in the third embodiment, the frequency corresponding to the time required for the motor 11 to rotate 60°, that is, the reciprocal of the time, is the commutation frequency. In the third embodiment, the maximum rotation speed of the motor 11 is set, so that the control circuit 14 is configured to rotate the motor 11 at a speed lower than the maximum rotation speed. The above-mentioned maximum commutation frequency refers to the commutation frequency when the motor 11 is rotated at the maximum rotation speed.

[0167] The second LPF 72 attenuates the signal component with a frequency higher than the second cutoff frequency in the input signal and outputs it. The second cutoff frequency is lower than the switching frequency (PWM frequency) and higher than the maximum commutation frequency, similarly to the first cutoff frequency. The second cutoff frequency may be the same as or different from the first cutoff frequency.

[0168] When the motor 11 rotates in the first direction, Figure 7 As shown in the example, the fourth filter signal VLf is at an L level when the first filter signal UHf is at an H level. Therefore, when the motor 11 rotates in the first direction, the actual rotation direction signal is at an L level as in the second embodiment. When the motor 11 rotates in the second direction, Figure 8 As shown in the example, the fourth filter signal VLf is at an H level at the timing when the first filter signal UHf is at an H level. Therefore, when the motor 11 rotates in the second direction, the actual rotation direction signal is at an H level similarly to the second embodiment.

[0169] The rotation detection circuit 80 of the third embodiment detects whether the motor 11 is rotating, similarly to the rotation detection circuit 50 of the second embodiment. However, the rotation detection circuit 80 of the third embodiment detects whether the motor 11 is rotating based on the drive command. More specifically, the detection is performed based on, for example, one of the six drive signals. In the third embodiment, for example, based on the first drive signal UH (more specifically, based on the first filtered signal UHf after passing through the first LPF 71), whether the motor 11 is rotating is detected.

[0170] like Figure 6 As shown, the rotation detection circuit 80 includes a T-type flip-flop (hereinafter referred to as "T-FF") 81, a latch circuit 82, and a delay circuit 83. In the T-FF 81, the first filter signal Uhf is input to the clock input terminal, and the trigger signal TR is input to the reset terminal.

[0171] like Figure 7 As shown in the example, T-FF81 is configured to output an H-level output signal during a period when the trigger signal TR input to the reset terminal is at an H level (i.e., a period when the trigger switch 16 is turned off). When the trigger switch 16 is turned on and the trigger signal TR input to the reset terminal becomes an L level, during the L level period, the output signal of T-FF81 can change correspondingly to the input first filter signal UHf.

[0172] That is, Figure 7 As shown in the example, after the trigger signal TR becomes L level and the motor 11 starts to rotate, if the first filter signal UHf becomes H level when the motor 11 rotates 30°, the output signal of T-FF81 becomes L level. Then, if the motor 11 rotates 360° so that the first filter signal UHf becomes H level again, the output signal of T-FF81 becomes H level. That is, the logic level of the output signal of T-FF81 is switched sequentially each time the first filter signal Uhf changes from L level to H level.

[0173] When the user performs a trigger OFF operation to turn off the trigger switch 16 during the rotation of the motor 11 and the trigger signal TR changes to an H level, the output signal of the T-FF 81 is maintained at an H level regardless of changes in the first filter signal Uhf.

[0174] The change of the output signal of T-FF81 to the L level means that the motor 11 rotates. Therefore, it is considered to output the output signal of T-FF81 as the rotation detection signal RD. However, the output signal of T-FF81 changes in accordance with the rotation of the motor 11. Therefore, in the present embodiment, a latch circuit 82 is provided, whereby after the motor 11 starts to rotate and the output signal of T-FF81 initially changes to the L level, the rotation detection signal RD is maintained at the L level until the trigger switch 16 is disconnected.

[0175] The latch circuit 82 includes an OR circuit 82a and a diode D5. The output signal of the T-FF 81 is input to the first input terminal of the OR circuit 82a and the anode of the diode D5 via the resistor R5. The trigger signal TR is input to the second input terminal of the OR circuit 82a. The OR circuit 82a calculates: the trigger signal TR and the voltage value of the first input terminal (with Figure 7The cathode of diode D5 is connected to the output terminal of OR circuit 82a. Hereinafter, the output signal of OR circuit 82a is referred to as "latch output".

[0176] like Figure 7 As shown in the example, during the stop of the motor 11, the output signal of the T-FF81 is maintained at the H level as described above, so the voltage at the point A is at the H level and the latch output is also at the H level. If the trigger switch 16 is turned on in this state, the motor 11 starts to rotate, and the first filter signal UHf becomes the H level, then the output signal of the T-FF81, the voltage value at the point A and the latch output all become the L level (0V).

[0177] Then, if the motor 11 rotates 360° so that the first filter signal UHf changes from the L level to the H level again, the output signal of T-FF81 changes to the H level. At this time, if there is no diode D5, the voltage value at point A also becomes a voltage value equivalent to the H level. However, in this embodiment, since the diode D5 is provided, when the latch output is at the L level, even if the output signal of TFF81 changes to the H level, the voltage value at point A does not become a value equivalent to the H level, as shown in FIG. Figure 7 As shown in the example, it only rises to the forward voltage value of the diode D5 or a low voltage value Vr close to the forward voltage value. The low voltage value Vr is a value that is recognized as an L level in the OR circuit 82a. Figure 7 As shown in the example, even if the output signal of the T-FF 81 changes to the H level, the latch output is maintained at the L level.

[0178] Furthermore, when the trigger switch 16 is turned off and the trigger signal TR becomes H level, the trigger signal TR becomes H level, thereby the output of the OR circuit 82a becomes H level, and the function of the latch circuit 82 that can maintain the latch output at L level is released. After the trigger switch 16 is turned off and the predetermined time To has passed, the control circuit 14 stops the output of the drive command, thereby stopping the motor 11.

[0179] The delay circuit 83 delays the latch output within a certain delay time Td and outputs it as the rotation detection signal RD. The reason for delaying the latch output and outputting it is as follows. That is, if the motor 11 is not actually rotating, the actual rotation direction cannot be detected. Therefore, if the determination circuit 40 does not properly detect the rotation direction of the motor 11 after the motor 11 actually rotates, it cannot properly determine whether the setting signal is inconsistent. Figure 7In this case, when the actual rotation direction signal is uncertain at the beginning of the rotation of the motor 11, it is not possible to properly determine whether the setting signal is inconsistent. Therefore, in this uncertain state, the reliability of the determination signal DET output from the determination execution circuit 43 is low.

[0180] Therefore, in the third embodiment, the rotation detection signal RD is delayed and outputted so that the determination signal DET is invalidated by the invalidation circuit 32 until the rotation direction is properly detected. By delaying the rotation detection signal RD, for example, even if the rotation and the rotation direction of the motor 11 are detected at the same time, the determination signal DET with low reliability can be invalidated during the transition period when the actual rotation direction signal changes from an uncertain state to an L level. Furthermore, after the delay time Td has passed and the actual rotation direction signal is stable at an L level, the determination signal DET can be validated.

[0181] In addition, the rotation detection signal RD of the third embodiment forms an inverse logic with the rotation detection signal RD of the second embodiment. That is, in the second embodiment, when the motor 11 rotates, the rotation detection signal RD becomes an H level, but in the third embodiment, when the motor 11 rotates, the rotation detection signal RD becomes an L level.

[0182] Therefore, the OR circuit 73a in the invalidation circuit 73 of the third embodiment does not process the rotation detection signal RD in a logically inverted manner. Therefore, the invalidation circuit 73 of the third embodiment, like the invalidation circuit 32 of the second embodiment, invalidates the determination signal DET and turns on the switch 61 during a period in which the rotation of the motor 11 is not detected. Furthermore, during a period in which the motor 11 is rotating, the switch 61 is turned on or off according to the determination signal DET.

[0183] In addition, in the third embodiment, if Figure 6 As shown, the error signal ER is input to the LED 20 via the diode D1 , and the conduction control signal ST is input to the LED 20 via the inverter circuit 33 and the diode D2 .

[0184] In the third embodiment, a resistor R4 is connected to the input terminal of the second setting signal DS2 in the control circuit 14, and the second setting signal DS2 is input to the control circuit 14 via the resistor R4. Although the resistor R4 is not necessarily provided, the resistor R4 is provided in the third embodiment for the following reason.

[0185] That is, it is assumed that the rotation direction is set to the first direction so that the second setting signal DS2 becomes the H level. In addition, it is assumed that the resistor R4 is not provided. In this case, if an abnormality occurs in the input port of the second setting signal DS2 in the control circuit 14 and the input port is short-circuited to the ground, the second setting signal DS2 input to the first XOR circuit 44 becomes the L level, and an erroneous determination may occur in the determination circuit 40.

[0186] Therefore, in the third embodiment, the resistor R4 having a resistance value higher than that of the resistor R2 is provided, whereby the second setting signal DS2 input to the determination circuit 40 does not become L level even if the input port is short-circuited to the ground.

[0187] According to the electric working machine 120 of the third embodiment described in detail above, even with respect to the inconsistency of the setting signals, the same effects as those of the electric working machine 110 of the second embodiment can be obtained.

[0188] [4. Fourth embodiment]

[0189] Regarding the electric working machine 130 of the fourth embodiment, refer to Fig. 9 , Fig.10 , mainly the differences from the first to third embodiments will be described. Fig. 9 In, with Figure 1 , Figure 3 or Figure 6 The same mark indicates Figure 1 , Figure 3 or Figure 6 For the same structure, refer to the previous description.

[0190] Fig. 9 The electric working machine 130 of the fourth embodiment shown has a monitoring circuit 91 that realizes a direction setting monitoring function. The monitoring circuit 91 has a single-chip microcomputer including a CPU 91a, a memory 91b, etc. The memory 91b may include various semiconductor memories such as RAM, ROM, and nonvolatile memory.

[0191] The memory 91b stores various programs and data that the CPU 91a reads and executes in order to implement the direction setting monitoring function. The programs stored in the memory 91b include Fig.10 The monitoring process shown.

[0192] The trigger signal TR and the second setting signal DS2 are input to the monitoring circuit 91. The trigger signal TR is input to the control circuit 14 via the resistor R7, and is input to the monitoring circuit 91 via the resistor R8. The second setting signal DS2 is input to the control circuit 14 via the resistor R4, and is input to the monitoring circuit 91 via the resistor R6.

[0193] The first position signal Hu is input to the control circuit 14 via the resistor R11, and is input to the monitoring circuit 91 via the resistor R14. The second position signal Hv is input to the control circuit 14 via the resistor R12, and is input to the monitoring circuit 91 via the resistor R15. The third position signal Hw is input to the control circuit 14 via the resistor R13, and is input to the monitoring circuit 91 via the resistor R16.

[0194] Reference Fig.10 The monitoring process performed by the monitoring circuit 91 (specifically, the CPU 91a) will be described. When the CPU 91a is started by being supplied with the control voltage Vc, the monitoring process is performed.

[0195] When the CPU 14a starts the monitoring process, it executes the initial process in S310. In S320, it permits the supply of battery power to the motor driver 13. Specifically, the switch 61 is turned on by outputting the H-level conduction control signal ST to the motor stop circuit 60.

[0196] In S330, it is determined whether the trigger switch 16 is turned on. While the trigger switch 16 is turned off, the process of S330 is repeated. When the trigger switch 16 is turned on, the process proceeds to S340.

[0197] In S340, the second setting signal DS2 is confirmed. Specifically, the rotation direction indicated by the second setting signal DS2 (hereinafter referred to as "second setting direction") is acquired.

[0198] In S350, it is determined whether the rotation position information has changed. In the case where the motor 11 is stopped, the rotation position information has not changed. On the other hand, if the motor 11 is rotating, then Figure 4 and Figure 5 As illustrated, the rotation position information changes according to the rotation position. The process of S350 is a process for determining whether the motor 11 is rotating.

[0199] In S350, if the rotational position information has not changed, the process proceeds to S330. In the case where the rotational position information has changed, that is, when any one of the first position signal Hu, the second position signal Hv, and the third position signal Hw has changed, the process proceeds to S360. In S360, the actual rotation direction is detected based on the rotational position information.

[0200] In S370, it is determined whether the second set direction obtained in S340 is consistent with the actual rotation direction detected in S360. If the second set direction is consistent with the actual rotation direction, the process proceeds to S330. If the second set direction is inconsistent with the actual rotation direction, the process proceeds to S380.

[0201] In S380, the battery power supply to the motor driver 13 is turned off. Specifically, the switch 61 is turned off by outputting an L-level conduction control signal ST to the motor stop circuit 60.

[0202] In S390 , an error display is performed. Specifically, an H-level error signal ER is output to the LED 20 via the diode D2 , so that the LED 20 is lit.

[0203] In addition, the motor 11 rotates according to the first setting signal DS1, so it can be said that the actual rotation direction detected by the monitoring circuit 91 is the rotation direction corresponding to the first setting signal DS1. Therefore, it can be understood that the processing of S370 is essentially a process of determining whether the rotation direction indicated by the first setting signal DS1 and the rotation direction indicated by the second setting signal DS2 are consistent.

[0204] According to the electric working machine 130 of the fourth embodiment described in detail above, even with respect to the inconsistency of the setting signals, the same effects as those of the second and third embodiments can be obtained.

[0205] In the electric working machine 130, the monitoring circuit 91 determines whether or not a setting signal mismatch has occurred by software processing. Therefore, the hardware configuration of the electric working machine 130 can be simplified and determination based on the actual rotation direction can be appropriately performed.

[0206] [5. Other embodiments]

[0207] As mentioned above, although embodiment of this invention was described, this invention is not limited to the said embodiment, Various deformation|transformation can be made and it can be implemented.

[0208] (5-1) Electric working machine 110 according to the second embodiment (see Figure 3 ), the control circuit 31 can receive the second setting signal DS2, and determine whether the setting signal inconsistency occurs based on the first setting signal DS1 and the second setting signal DS2. In addition, when the setting signal inconsistency occurs, the motor 11 can be stopped by a driving instruction.

[0209] On the contrary, the electric working machine 120 of the third embodiment (see Figure 6) and the electric working machine 130 of the fourth embodiment (refer to Fig. 9 ), the control circuit 31 in the electric working machine 110 of the second embodiment may be applied instead of the control circuit 14. That is, the determination of whether the setting signal mismatch occurs may be delegated to hardware or software other than the control circuit.

[0210] (5-2) In the electric working machine 130 of the fourth embodiment, the monitoring circuit 91 may detect at least one of the actual rotation direction and whether the motor 11 is rotating based on the drive command, similarly to the electric working machine 120 of the third embodiment.

[0211] (5-3) Different from the above-described embodiments, the voltage at the second terminal of the selection switch 17 a may be output as the first setting signal DS1 , and the voltage at the first terminal of the selection switch 17 a may be output as the second setting signal DS2 .

[0212] In this case, for example, in the second embodiment (see Figure 3 ) and the third embodiment (refer to Figure 6 ), the determination execution circuit may be configured to appropriately determine whether the actual rotation direction and the set rotation direction are consistent based on the second setting signal DS2 from the first terminal of the selection switch 17a and the actual rotation direction signal from the D-FF42.

[0213] The rotation direction selection unit 17 may be different from the above-mentioned embodiments. For example, the first setting signal DS1 and the second setting signal DS2 may represent the same logical value. That is, for example, the first setting signal DS1 and the second setting signal DS2 may both represent the first direction in the case of the H level and the second direction in the case of the L level. In addition, the rotation direction selection unit 17 may generate the first setting signal DS1 and the second setting signal DS2 using any method. The rotation direction selection unit 17 may generate the first setting signal DS1 and the second setting signal DS2 using a circuit different from the selection switch 17a.

[0214] (5-4) The rotation direction selection unit 17 may be configured to switch to any one of the first state, the second state, and the neutral state in response to the user operating the aforementioned selection operation unit (not shown) in the rotation direction selection unit 17. The first state is, for example, Figure 1As shown, the state in which the common terminal and the first terminal are connected in the selection switch 17a, that is, the state in which the rotation direction is selected as the first direction. The second state is: the state in which the common terminal and the second terminal are connected in the selection switch 17a, that is, the state in which the rotation direction is selected as the second direction. The neutral state is: the state in which the common terminal of the selection switch 17a is not connected to the first terminal and the second terminal, that is, the state in which the rotation direction is not selected for the first direction and the second direction.

[0215] The user can switch the rotation direction selector 17 to either the first state or the second state by operating the selection operation unit (eg, reciprocating operation). The neutral state occurs during the transition from the first state to the second state and during the transition from the second state to the first state.

[0216] Furthermore, the trigger operation unit 15 may be configured to be capable of being turned on when the rotation direction selection unit 17 is in the first state or the second state, and to be incapable of being turned on when the rotation direction selection unit 17 is in the neutral state.

[0217] The specific configuration of the rotation direction selection unit 17 and the trigger operation unit 15 configured as above is shown in FIG. Fig.11 In the electric working machines 1, 110, 120, 130 of the above-mentioned embodiments, it is possible to adopt Fig.11 A trigger unit 150 is shown.

[0218] like Fig.11 As shown, the trigger unit 150 includes a trigger operation unit 15 and a switch box 151. The switch box 151 contains a trigger switch 16 and a selection switch 17a. The trigger operation unit 15 is connected to the switch box 151 via a plunger 152. The plunger 152 and the trigger operation unit 15 operate in conjunction with each other. Fig.11 The trigger operation unit 15 is shown as being in an OFF state (e.g., a state where the user does not touch the trigger operation unit 15). When the user does not touch the trigger operation unit 15, the trigger operation unit 15 is maintained in an energizing force by an energizing member (e.g., a spring) not shown in the figure. Fig.11 Position shown (position corresponding to disconnection operation).

[0219] When the user pulls the trigger operation part 15 that has been turned off against the biasing force of the biasing member, the trigger operation part 15 moves toward the switch box 151. Thus, the trigger operation part 15 is turned on. That is, the trigger switch 16 is turned on.

[0220] The trigger unit 150 further includes a rod 153 that is substantially rod-shaped. The rod 153 includes a rotation shaft 153a, a protrusion 153b, and a stopper 153c. The rotation shaft 153a is provided at a first end of the rod 153. The protrusion 153b is provided at a second end of the rod 153. The rotation shaft 153a is rotatably stoppered to the switch box 151. Fig.12 As shown in the example, the rod 153 is rotatable around the rotation axis 153a.

[0221] like Fig.11 and Fig.12 As shown, the trigger operation portion 15 is provided with a first insertion port 15b and a second insertion port 15c. A restriction member 15a is provided between the first insertion port 15b and the second insertion port 15c.

[0222] The locking portion 153c is locked to the aforementioned selection operation portion in the rotation direction selection portion 17. Thus, the rod 153 can be rotated in conjunction with the operation of the selection operation portion. For example, when the rotation direction selection portion 17 is in the first state, as shown in FIG. Fig.12 As shown in the upper part of the example, the first outer side surface of the rod 153 is in contact with or close to the first inner side surface of the trigger operating part 15. On the contrary, when the rotation direction selection part 17 is in the second state, as shown in the example Fig.12 As shown in the lower part of the example, the second outer side surface of the rod 153 is in contact with or close to the second inner side surface of the trigger operation part 15. And, when the rotation direction selection part 17 is in the neutral state, as shown in FIG. Fig.12 As illustrated in the middle portion of , the protrusion 153b of the rod 153 is opposed to the limiting member 15a.

[0223] When the rotation direction selector 17 is in the first state, the protrusion 153b is inserted into the first insertion port 15b in response to the trigger operation 15 being pulled. When the rotation direction selector 17 is in the second state, the protrusion 153b is inserted into the second insertion port 15c in response to the trigger operation 15 being pulled.

[0224] On the other hand, when the rotation direction selection unit 17 is in the neutral state, when the trigger operation unit 15 is pulled, the trigger operation unit 15 slightly moves toward the switch box 151, but the limiting member 15a contacts the protrusion 153b, and the movement is then limited. The user can recognize that the rotation direction selection unit 17 is in the neutral state by only slightly pulling the trigger operation unit 15.

[0225] In the neutral state, the user can only slightly pull the trigger operation unit 15 before the restriction member 15a contacts the protrusion 153b. However, the trigger switch 16 is turned on when the restriction member 15a contacts the protrusion 153b.

[0226] When the trigger unit 150 configured as described above is mounted on the electric working machine 1 of the first embodiment, for example, the control circuit 14 may execute, for example Fig.13 The motor control process shown. Fig.13 The motor control process shown is similar to Figure 2 The motor control process of the first embodiment shown is different in that the process of S220 is added.

[0227] That is, for Fig.13 The motor control process shown in S200 stops the rotation of the motor 11 and then proceeds to S205. In S205, it is determined whether the rotation direction selection unit 17a is in a neutral state. For example, when the first setting signal DS1 and the second setting signal DS2 are both at H level, it can be determined that it is in a neutral state. When S205 determines that the rotation direction selection unit 17a is not in a neutral state, it proceeds to S210 and an error display is performed. On the other hand, when S205 determines that the rotation direction selection unit 17a is in a neutral state, the motor control process is terminated without an error display. The neutral state is a state in which the rotation direction is uncertain and the user cannot clearly select the rotation direction, and it is not an abnormality in the rotation direction selection unit 17. Therefore, in the neutral state, although the motor 11 cannot be rotated even if the trigger switch 16 is turned on, no error display is performed.

[0228] The fact that both the first setting signal DS1 and the second setting signal DS2 are at H level in the neutral state is merely an example. The rotation direction selector 17 may be configured to output a signal indicating the neutral state different from the H level first setting signal DS1 and the H level second setting signal in the neutral state.

[0229] (5-5) The motor of the present invention may be a motor other than a brushless motor. The motor of the present invention may be, for example, a DC motor with a brush.

[0230] (5-6) The electric working machine of the present invention may not be configured to be able to load and unload a battery pack. That is, the present invention may also be applied to an electric working machine that has a built-in battery, for example. In addition, the present invention may also be applied to an electric working machine that does not use battery power to drive the motor, that is, an electric working machine that receives AC power from outside the electric working machine to drive the motor.

[0231] (5-7) The present invention can be applied to various electric working machines. Specifically, the present invention can be applied to various electric working machines such as electric tools for masonry, metalworking, and woodworking, working machines for gardening, and devices for adjusting the environment of the working site, which are used at the working site of manual labor, manufacturing, gardening, engineering, etc. More specifically, the present invention can be applied to various electric working machines such as electric hammers, electric hammer drills, electric drill bits, electric drivers, electric wrenches, electric grinders, electric circular saws, electric reciprocating saws, electric wire saws, electric knives, electric chain saws, electric planers, electric hedge trimmers, electric lawn mowers, electric lawn shears, electric cutting machines, and electric blowers.

[0232] (5-8) Multiple functions of one component in the above-mentioned embodiments may be realized by multiple components, or one function of one component may be realized by multiple components. In addition, multiple functions of multiple components may be realized by one component, or one function realized by multiple components may be realized by one component. In addition, part of the structure of the above-mentioned embodiments may be omitted. In addition, at least part of the structure of the above-mentioned embodiments may be added to or replaced with the structure of other above-mentioned embodiments.

Claims

1. An electric working machine, characterized in that: have: motor; a driving unit configured to drive the motor by electric power supplied from a power source; a rotation direction selection unit configured to operate the rotation direction selection unit so as to selectively set the rotation direction of the motor to any one of a first direction and a second direction, and output a first setting signal and a second setting signal indicating the set rotation direction; as well as A motor control unit, which is configured to control the drive unit so that the motor rotates in the direction of rotation indicated by the first setting signal and / or the second setting signal output from the rotation direction selection unit, and is also configured to determine whether the rotation direction indicated by the first setting signal and the rotation direction indicated by the second setting signal are consistent, and stop the rotation of the motor if they are inconsistent.

2. The electric working machine according to claim 1, characterized in that: The motor control unit includes a control circuit, which is configured to be input with the first setting signal and the second setting signal output from the rotation direction selection unit, and is also configured to control the drive unit so as to rotate the motor in the rotation direction indicated by the first setting signal and / or the second setting signal input, and is also configured to control the drive unit so as to stop the rotation of the motor based on the inconsistency between the rotation direction indicated by the first setting signal and the rotation direction indicated by the second setting signal.

3. The electric working machine according to claim 1, characterized in that: The motor control unit includes: a control circuit configured to receive the first setting signal output from the rotation direction selection unit and control the drive unit so as to rotate the motor in the rotation direction indicated by the input first setting signal; a determination circuit configured to receive the second setting signal output from the rotation direction selection unit and to determine whether the rotation direction indicated by the input second setting signal and the actual rotation direction of the motor, that is, the actual rotation direction, are consistent with each other; as well as A stop circuit is configured to stop the rotation of the motor in response to the determination of the mismatch by the determination circuit.

4. The electric working machine according to claim 3, characterized in that: The control circuit is configured to also receive the second setting signal output from the rotation direction selection unit, and to control the drive unit to stop the rotation of the motor based on the inconsistency between the rotation direction indicated by the first setting signal and the rotation direction indicated by the second setting signal.

5. The electric working machine according to claim 3 or 4, characterized in that: The determination circuit comprises: a rotation direction detection circuit configured to detect the actual rotation direction; and A determination execution circuit is configured to determine whether the rotation direction indicated by the second setting signal input to the determination circuit and the actual rotation direction detected by the rotation direction detection circuit are consistent with each other.

6. The electric working machine according to claim 5, characterized in that: The electric working machine further includes a position information output unit configured to output rotation position information corresponding to the rotation position of the motor. The rotation direction detection circuit is configured to detect the actual rotation direction based on the rotation position information output from the position information output unit.

7. The electric working machine according to claim 5, characterized in that: The control circuit is configured to control the drive unit by outputting a drive instruction to the drive unit. The rotation direction detection circuit is configured to receive the drive command input from the control circuit to the drive unit, and detect the actual rotation direction based on the input drive command.

8. The electric working machine according to claim 3 or 4, characterized in that: The motor control unit further comprises: a rotation detection circuit configured to detect rotation of the motor; and A disabling circuit is configured to disable a function of stopping the rotation of the motor by the stopping circuit during a period in which the rotation of the motor is not detected by the rotation detecting circuit.

9. The electric working machine according to claim 8, characterized in that: The electric working machine further includes a position information output unit configured to output rotation position information corresponding to the rotation position of the motor. The rotation detection circuit is configured to detect the motor rotation based on the rotation position information output from the position information output unit.

10. The electric working machine according to claim 8, characterized in that: The control circuit is configured to control the drive unit by outputting a drive instruction to the drive unit. The rotation detection circuit is configured to receive the drive command input from the control circuit to the drive unit, and detect the rotation of the motor based on the input drive command.

11. The electric working machine according to claim 7, characterized in that: The driving unit includes six switching elements including a first switching element and a second switching element. The driving instruction includes: 6 driving signals respectively input to the 6 switching elements, the 6 driving signals include: a first driving signal input to the first switching element and a second driving signal input to the second switching element, The six switching elements are respectively set with a power-on start timing corresponding to the rotation position of the motor, and the control circuit is configured to use the six drive signals to turn on the six switching elements at the power-on start timing with a phase shift of a certain electrical angle and during the power-on period from the power-on start timing to the motor rotating by the power-on electrical angle, thereby generating three-phase power for driving the motor. The rotation direction detection circuit is configured to detect the actual rotation direction based on the first drive signal and the second drive signal.

12. The electric working machine according to claim 11, characterized in that: The control circuit is configured to use the six drive signals to periodically switch the six switching elements on and off at a switching frequency during the corresponding power-on periods, and to control the on-time using a pulse width modulation method, thereby generating the three-phase power. The electric working machine further comprises: a first low-pass filter configured to receive the first drive signal as input, attenuate and output a signal component of a frequency higher than a first cutoff frequency included in the first drive signal; as well as a second low-pass filter configured to receive the second drive signal as input, attenuate and output a signal component of a frequency higher than a second cutoff frequency included in the second drive signal, The first cut-off frequency and the second cut-off frequency are lower than the switching frequency, The rotation direction detection circuit is configured to detect the actual rotation direction based on the first drive signal that has passed through the first low-pass filter and the second drive signal that has passed through the second low-pass filter.

13. The electric working machine according to claim 12, characterized in that: The control circuit is configured to rotate the motor at a rotation speed lower than a maximum rotation speed. The first cut-off frequency and the second cut-off frequency are higher than the maximum commutation frequency, The maximum commutation frequency is the reciprocal of the time required for the motor, which rotates at the maximum rotation speed, to rotate by the certain electrical angle.

14. The electric working machine according to claim 10, characterized in that: The driving unit includes six switching elements. The driving instruction includes: six driving signals respectively input to the six switching elements, The control circuit is configured to use the six drive signals to turn on the six switching elements during power-on periods based on the rotational positions of the motor, that is, power-on periods with different phases for the six switching elements, thereby generating three-phase power for driving the motor. The rotation detection circuit is configured to detect the rotation of the motor based on one of the six drive signals.

15. The electric working machine according to claim 14, characterized in that: The control circuit is configured to use the six drive signals to periodically switch the six switching elements on and off at a switching frequency during the corresponding power-on periods, and to control the on-time using a pulse width modulation method, thereby generating the three-phase power. The electric working machine further includes a low-pass filter configured to attenuate and output a signal component having a frequency higher than a cutoff frequency included in the one of the six drive signals, The cut-off frequency is lower than the switching frequency, The rotation detection circuit is configured to detect the rotation of the motor based on the signal passed through the low-pass filter.

16. The electric working machine according to claim 15, characterized in that: The control circuit is configured to rotate the motor at a rotation speed lower than a maximum rotation speed. The cut-off frequency is higher than the maximum commutation frequency, The maximum commutation frequency is the reciprocal of the time required for the motor, which rotates at the maximum rotation speed, to rotate so that the six switching elements are phase-shifted by a certain electrical angle.

17. The electric working machine according to any one of claims 1 to 4, characterized in that: The electric working machine further includes a trigger operation unit, and the motor is rotated by operating the trigger operation unit. The motor control unit is configured to control the driving unit to rotate the motor according to the operation of the trigger operation unit. The motor control unit is configured to stop the rotation of the motor when the rotation direction indicated by the first setting signal and the rotation direction indicated by the second setting signal do not match each other after the trigger operation unit is operated.

18. The electric working machine according to claim 2, characterized in that: The electric working machine further includes a trigger operation unit, and the motor is rotated by operating the trigger operation unit. The control circuit is configured to control the driving unit to rotate the motor according to the operation of the trigger operation unit. The control circuit is configured to control the drive unit to stop the rotation of the motor when the trigger operation unit is operated based on the inconsistency between the rotation direction indicated by the first setting signal and the rotation direction indicated by the second setting signal.

19. The electric working machine according to any one of claims 1 to 4, characterized in that: The rotation direction selection unit is configured to generate a neutral state in which neither the first direction nor the second direction is selected. The motor control unit is configured to stop the rotation of the motor when the rotation direction selection unit is in the neutral state.