Electric working machine
The dual-switch system in electric working machines ensures reliable motor control by using redundant switches and hardware-based drive stop circuits to prevent unintended motor operation due to switch abnormalities, enhancing reliability and safety.
Patent Information
- Application Number
- JP2023043528
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2018-12-26
- Filing Date
- 2023-03-17
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2039-12-20
AI Technical Summary
Existing electric working machines may drive or stop the motor against the user's intention due to abnormalities in the operation switch that prevent proper transmission of the user's operation to the control circuit.
The electric working machine incorporates a dual-switch system, where a first and second switch provide redundant information to the control circuit, allowing it to execute motor control processing based on both switches' states, and includes a drive stop circuit that can halt the motor via hardware processing, ensuring appropriate motor control even in the presence of abnormalities.
This configuration enhances the reliability of the electric working machine by ensuring the motor is appropriately stopped when an abnormality occurs, preventing unintended operation, and improves reliability by utilizing hardware-based control to override software failures.
Smart Images

Figure 0007550906000022 
Figure 0007550906000003 
Figure 0007550906000016
Abstract
Description
CROSS-REFERENCE TO RELATED APPLICATIONS
[0001] This international application claims priority based on Japanese Patent Application No. 2018-242995, filed with the Japan Patent Office on December 26, 2018, the entire contents of which are incorporated herein by reference. [Technical field]
[0002] The present disclosure relates to an electric work machine. [Background technology]
[0003] The following Patent Document 1 discloses an electric power tool that includes an operation switch that is turned on or off by a user, a control circuit, a drive circuit, and a motor. In this electric power tool, when the control circuit recognizes that the operation switch is turned on, it outputs a control signal to the drive circuit. The drive circuit drives the motor based on the control signal input from the control circuit. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] Patent No. 5463014 Summary of the Invention [Problem to be solved by the invention]
[0005] For example, if an abnormality occurs in the operation switch and the operation of the operation switch by the user is not properly transmitted to the control circuit, the motor may be driven or stopped against the user's intention.
[0006] It is preferable that one aspect of the present disclosure can provide an electric operating machine that is capable of appropriately stopping a motor when an abnormality occurs in which a user's operation is not properly transmitted to a control circuit. [Means for solving the problem]
[0007] An electric operating machine according to one aspect of the present disclosure includes a motor, an operating unit, a first switch, a second switch, and a control circuit. The operating unit is configured to be turned on or off by a user of the electric operating machine. The first switch is configured to be turned on or off in response to the operating unit being turned on or off. The second switch is configured to be turned on or off in response to the operating unit being turned on or off.
[0008] The control circuit is configured to execute the motor control process according to a computer program (i.e., by software processing based on a specific program). The control circuit receives first switch information indicating a state of the first switch from the first switch. The control circuit further receives second switch information indicating a state of the second switch from the second switch separately from the first switch information. The motor control process includes outputting a drive command for driving the motor in response to the first switch information and the second switch information indicating that the operation unit is turned on.
[0009] In the electric work machine configured in this manner, the control circuit executes motor control processing according to the states of both the first switch and the second switch. Specifically, the control circuit outputs a drive command when the first switch information and the second switch information indicate that the operation unit is turned on. For example, when the operation unit is turned off, even if an abnormality occurs in the first switch and the first switch information indicates an on operation, if the second switch information indicates an off operation, no drive command is output. Therefore, when an abnormality occurs in which the user's operation is not properly transmitted to the control circuit, it is possible to properly stop the motor.
[0010] The electric working machine may further include a drive stop circuit. The drive stop circuit may be configured to operate by hardware processing. That is, the operation executed by the drive stop circuit may be realized by hardware (hardware or hardwired) rather than by software processing (software). The drive stop circuit may receive first switch information and second switch information. The drive stop circuit may be configured to disable a drive command output from the control circuit and stop the motor in response to the state of the first switch indicated by the first switch information and / or the state of the second switch indicated by the second switch information corresponding to a state in which the operating unit is turned off, even if the drive command is output from the control circuit.
[0011] In an electric operating machine configured in this manner, even if an abnormality occurs in the control circuit and the control circuit outputs a drive command despite the operation unit being turned off, the motor is stopped by the drive stop circuit, thereby improving the reliability of the electric operating machine.
[0012] The electric operating machine may further include a drive circuit. The drive circuit may be configured to receive a drive command from the control circuit. The drive circuit may be configured to supply power to the motor in response to receiving the drive command to drive the motor. The drive stop circuit may be configured to stop the motor by interrupting the drive command to the drive circuit.
[0013] In the electric work machine configured in this manner, the drive stop circuit can easily stop the motor when the first switch information and / or the second switch information indicates an OFF operation.
[0014] The drive stop circuit may include a stop signal output circuit and a cutoff circuit. The stop signal output circuit may be configured to output a stop signal in response to the state of the first switch indicated by the first switch information and / or the state of the second switch indicated by the second switch information corresponding to a state in which the operation unit is turned off. The cutoff circuit may be configured to receive the stop signal and to cut off a drive command to the drive circuit in response to receiving the stop signal.
[0015] In an electric work machine configured in this manner, when the first switch information and / or the second switch information indicates an off operation, the input of a drive command to the drive circuit can be easily cut off, thereby making it possible to easily stop the motor.
[0016] The control circuit may be configured to receive the stop signal from the stop signal output circuit.
[0017] In an electric operating machine configured in this manner, the control circuit can effectively utilize the stop signal output by hardware processing, for example, in motor control processing.
[0018] Specifically, the control circuit may be configured not to output a drive command when (i) the first switch information and the second switch information indicate that the operating unit is turned on, and (ii) the control circuit receives a stop signal.
[0019] When the first switch information and the second switch information indicate that the operating unit is turned on and the control circuit receives a stop signal, the first switch information and the second switch information may not correctly indicate the actual operating state of the operating unit due to some factor. That is, even if the operating unit is actually turned off, for example, both the first switch information and the second switch information may indicate the on operation. Therefore, by not outputting a drive command when a stop signal is input from the stop signal output circuit, it is possible to improve the reliability of the electric work machine.
[0020] The control circuit may be configured not to output a drive command even if the first switch information and / or the second switch information change to indicate that the operating unit has been turned on, when the control circuit has not received a stop signal while the first switch information and the second switch information indicate that the operating unit has been turned off.
[0021] Even if the first switch information and / or the second switch information indicate that the operating unit is turned off but the control circuit does not receive a stop signal, the first switch information and / or the second switch information input to the control circuit may not correctly indicate the actual operating state of the operating unit due to some factor. That is, even if the operating unit is actually turned on, for example, both the first switch information and the second switch information may indicate the off operation. Therefore, by not outputting a drive command even in such a case, it is possible to improve the reliability of the electric work machine.
[0022] The control circuit may be configured to output a pseudo-on signal. The electric operating machine may further include a pseudo-on circuit. The pseudo-on circuit may be configured to receive the pseudo-on signal. In response to receiving the pseudo-on signal, the pseudo-on circuit may set the first switch information to indicate that the operating unit is turned on.
[0023] The control circuit may store first information indicating the first abnormal state. The control circuit may be further configured to execute an output process and a first storage process. The output process may include outputting a pseudo-on signal in response to the first switch information and the second switch information indicating that the operation unit is turned off. The first storage process may include storing the first information in response to the control circuit not receiving a stop signal while the pseudo-on signal is being output by the output process.
[0024] The control circuit may be configured not to output a drive command in response to (i) the first switch information and the second switch information indicating that the operating unit is turned on, and (ii) the first information being stored in the control circuit.
[0025] In the electric working machine configured in this manner, the control circuit can check whether the stop signal output circuit operates properly by outputting a pseudo-on signal. That is, when the second switch information indicates an off operation while the first switch information is forcibly set to information indicating an on operation by the pseudo-on signal, if the stop signal output circuit operates properly, a stop signal should be output. In this case, if a stop signal is not output, it is possible that the stop signal output circuit is not operating properly. Therefore, in such a case, the control circuit does not output a drive command, thereby making it possible to further increase the reliability of the electric working machine.
[0026] The control circuit may store second information indicating the second abnormal state. The control circuit may be further configured to execute a second storage process. The second storage process may include storing the second information in response to (i) the control circuit outputting a pseudo-on signal, and (ii) the first switch information not indicating that the operation unit is turned on.
[0027] The control circuit may be configured not to output a drive command in response to (i) the first switch information and the second switch information indicating that the operating unit is turned on, and (ii) the second information being stored in the control circuit.
[0028] If the first switch information indicates the off state even though the dummy-on signal is output, it is possible that the dummy-on circuit is not operating properly or that some other abnormality has occurred. Therefore, in such a case, the control circuit is configured not to output a drive command, thereby further improving the reliability of the electric operating machine.
[0029] The first switch may be turned off in response to the operation unit being turned on. The first switch may be turned on in response to the operation unit being turned off. Meanwhile, the second switch may be turned on in response to the operation unit being turned on. The second switch may be turned off in response to the operation unit being turned off.
[0030] In other words, the first switch and the second switch may be configured to be in mutually opposite states in response to an operation on the operation unit (i.e., when one is on, the other is off, and when one is off, the other is on).
[0031] The operating unit may be configured such that an operation amount of the operating unit is changed in conjunction with the operating unit being turned on. The electric operating machine may further include an information output circuit including a second switch. The information output circuit may output second switch information. While the second switch is on, the information output circuit may output second switch information including information indicating the operation amount. The control circuit may be configured to output a drive command according to the operation amount indicated by the second switch information.
[0032] In the electric operating machine configured in this manner, it is possible to control the drive of the motor in accordance with the amount of operation of the operating unit by the user. Specifically, for example, it may be possible to control the drive of the motor so that the rotation speed of the motor increases as the amount of operation increases.
[0033] The second switch information may be indicated by a voltage according to the operation state of the operation unit. More specifically, the information output circuit may output an off voltage corresponding to the off of the second switch as the second switch information in response to the second switch being turned off. The information output circuit may output an initial on voltage lower than the off voltage as the second switch information in response to the second switch changing from off to on. The information output circuit may reduce the voltage from the initial on voltage value in response to the amount of operation while the second switch is on.
[0034] In the electric operating machine configured in this manner, when the second switch changes from OFF to ON, the voltage indicating the second switch information drops to an initial ON voltage that is lower than the OFF voltage, so that the control circuit can accurately recognize that the second switch has been turned OFF. [Brief description of the drawings]
[0035] [Figure 1] 1 is a perspective view of an electric operating machine according to an embodiment. [Diagram 2] FIG. 2 is an explanatory diagram showing the electrical configuration of the electric operating machine according to the embodiment. [Diagram 3] 3 is an explanatory diagram showing in detail a part of the electric operating machine shown in FIG. 2. [Figure 4] FIG. 4A is an explanatory diagram showing the state of the trigger switch section when the trigger operating section is not pulled, FIG. 4B is an explanatory diagram showing the state of the trigger switch section when the trigger operating section is pulled a certain amount less than the maximum amount, and FIG. 4C is an explanatory diagram showing the state of the trigger switch section when the trigger operating section is pulled the maximum amount. [Diagram 5] 4 is a time chart showing a first execution example of self-diagnosis. [Figure 6] 11 is a time chart showing a second execution example of the self-diagnosis. [Figure 7] 13 is a time chart showing a third execution example of the self-diagnosis. [Figure 8] 13 is a flowchart showing a main process. [Figure 9] 10 is a flowchart showing details of the battery state processing in S130. [Figure 10] 13 is a flowchart showing details of the motor control process of S160. [Figure 11] 13 is a flowchart showing details of the self-diagnosis process of S180. [Figure 12] 13 is a flowchart showing details of the self-diagnosis history reading process in S410. [Figure 13] 13 is a flowchart showing details of the self-diagnosis execution process in S420. [Figure 14] 13 is a flowchart showing details of the self-diagnosis history writing process in S430. [Figure 15] 13 is a flowchart showing a trigger detection function diagnosis process. [Figure 16] 13 is a flowchart showing a trigger-off detection check process. [Figure 17] 13 is a flowchart showing a trigger-on detection check process. [Figure 18] FIG. 4 is an explanatory diagram showing a first modified example of the electrical configuration of the electric operating machine. [Figure 19] FIG. 11 is an explanatory diagram showing a second modified example of the electrical configuration of the electric operating machine. [Figure 20] FIG. 13 is an explanatory diagram showing an example of change in the A / D input value Vad (second trigger information ST2) in the second modified example. [Figure 21] 10 is a flowchart showing a motor control process in a second modified example. [Figure 22] FIG. 13 is an explanatory diagram showing a third modified example of the electrical configuration of the electric operating machine. [Diagram 23] 13 is a flowchart showing a motor control process in a third modified example. [Explanation of symbols]
[0036] 1...electric work machine, 3...main body, 20...trigger operation section, 21...motor, 22...motor drive circuit, 23...control circuit, 24...CPU, 25...memory, 26...trigger switch section, 27...first trigger switch, 28...second trigger switch, 29...shutoff switch, 30...main power switch, 36...first switching circuit, 37, 47...switch section, 50...overvoltage detection circuit, 60...overheat detection section, 61...first overheat detection circuit, 62...second overheat detection circuit, 63...third overheat detection circuit, 70...shutoff latch circuit, 80...trigger detection circuit. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0037] Hereinafter, embodiments of the present disclosure will be described with reference to the drawings.
[0038] (1) Appearance of the electric work machine The electric working machine 1 shown in Fig. 1 is configured as, for example, a rechargeable brush cutter. Rechargeable brush cutters are used to cut grass, small trees, etc. The electric working machine 1 includes a support rod 150, a handle 151, a cutter unit 160, and a controller unit 165.
[0039] The support rod 150 has a long cylindrical shape. The cutter unit 160 is provided at a first end of the support rod 150. The controller unit 165 is provided at a second end of the support rod 150.
[0040] The cutter unit 160 includes a housing 161. The housing 161 is fixed to a first end of the support rod 150. The housing 161 accommodates a motor 21 (see FIG. 2), which will be described later.
[0041] The housing 161 is configured so that the rotary blade 162 can be detachably attached thereto. Fig. 1 shows a state in which the rotary blade 162 is attached to the housing 161. The housing 161 is provided with a drive mechanism (not shown). The drive mechanism transmits the rotation of the motor 21 to the rotary blade 162. When the motor 21 rotates, the rotary blade 162 rotates due to the rotational drive force of the motor 21.
[0042] The controller unit 165 includes a housing 166. The housing 166 contains various circuits including a control circuit 23 (see FIG. 2) described later. The housing 166 is configured to allow the first battery pack 5 and the second battery pack 7 to be detachably attached thereto.
[0043] The handle 151 is provided at approximately the middle of the support rod 150 in the longitudinal direction. The handle 151 comprises, for example, a pipe curved into a U-shape. A first grip 152 is provided at a first end of the handle 151. A second grip 153 is provided at a second end of the handle 151. The first grip 152 is held, for example, by the right hand of a user of the electric working machine 1. The second grip 153 is held, for example, by the left hand of the user.
[0044] The first grip 152 is provided with a trigger operation unit 20. The trigger operation unit 20 is pulled by a user. The pulling operation is an operation of pulling the trigger operation unit 20 toward the first grip 152 with the user's finger or the like, in other words, an operation of pushing the trigger operation unit 20 into the first grip 152.
[0045] The trigger operating portion 20 is biased by an elastic member (not shown) in a release direction opposite to the pull operation direction. When the trigger operating portion 20 is not being pulled by the user, most of the trigger operating portion 20 protrudes from the first grip 152 due to the biasing force of the elastic member, as shown in FIG. 1. When the trigger operating portion 20 is pulled by the user, the trigger operating portion 20 moves in the pull operation direction (i.e., toward the first grip 152) against the biasing force of the elastic member. As the trigger operating portion 20 moves in the pull operation direction, the trigger operating portion 20 moves into the first grip 152.
[0046] The first grip 152 is further provided with an operation display unit 170. The operation display unit 170 includes a main power switch 30 and a display panel 171.
[0047] The main power switch 30 is operated by a user. A control circuit 23, which will be described later, enables (i.e., turns on or activates) or disables (i.e., turns off or deactivates) the main operation (main power) of the electric work machine 1 in response to the operation of the main power switch 30.
[0048] The main power switch 30 of this embodiment may be, for example, a so-called momentary switch. A momentary switch is turned on only while it is being pressed by a user and returns to off when the user releases the press. When the main power switch 30 is a momentary switch, the control circuit 23 may alternately enable or disable the main operation every time the main power switch 30 is pressed back. The press back operation includes pressing the main power switch 30 and releasing the press.
[0049] The main power switch 30 may be any type of switch. The main power switch 30 may be, for example, a so-called alternate switch. An alternate switch alternates between on and off each time the user presses it. If the main power switch 30 is an alternate switch, the control circuit 23 may enable the main operation when the main power switch 30 is on, and disable the main operation when the main power switch 30 is off. The main power switch 30 may be, for example, a slide switch.
[0050] Various types of information are displayed on the display panel 171. The various types of information may include, for example, information indicating whether or not a main operation is enabled, or information indicating various states of the electric operating machine 1. The display panel 171 may include any type of display device. The display panel 171 may include, for example, a liquid crystal display, an LED, or the like.
[0051] (2) Electrical configuration of electric work machine The electrical configuration of the electric working machine 1 of this embodiment will be described with reference to Figures 2 and 3. Figure 3 is a more detailed illustration of a portion of Figure 2 (the right side of the control circuit 23 in Figure 2). As shown in Figure 2, the electric working machine 1 includes a main body 3, a first battery pack 5, and a second battery pack 7. For ease of explanation, in Figure 2, an assembly of various electrical components, various circuits, etc. provided in each part of the electric working machine 1 is referred to as the main body 3. The assembly includes a motor 21, various circuits in a housing 166, a trigger operation unit 20, and an operation display unit 170.
[0052] The first battery pack 5 includes a battery 11 and a battery abnormality detection circuit 12. The battery 11 is, for example, a secondary battery. However, the battery 11 may also be a primary battery.
[0053] The battery abnormality detection circuit 12 monitors the first battery pack 5. When the battery abnormality detection circuit 12 does not detect an abnormality in the first battery pack 5 during a specific discharge instruction period, the battery abnormality detection circuit 12 outputs a first discharge permission signal SA1. The battery abnormality detection circuit 12 may, for example, monitor the state of the battery 11. More specifically, the battery abnormality detection circuit 12 may determine whether the battery 11 is abnormal or not based on, for example, the voltage value of the battery 11, the value of the current discharged from the battery 11, and / or the temperature of the battery 11. When the battery abnormality detection circuit 12 determines that the battery 11 is normal, the battery abnormality detection circuit 12 may indicate that the battery 11 is normal by outputting the first discharge permission signal SA1. When the battery abnormality detection circuit 12 determines that the battery 11 is abnormal, the battery abnormality detection circuit 12 may indicate that the battery 11 is abnormal by not outputting the first discharge permission signal SA1.
[0054] The first battery pack 5 receives trigger detection information ST0, which will be described later, from the main body 3. The specific discharge instruction period may be, for example, a period during which the logic level of the trigger detection information ST0 is at a high level, that is, a period during which a trigger operation unit 20, which will be described later, is turned on.
[0055] The second battery pack 7 includes a battery 16 and a battery abnormality detection circuit 17. The second battery pack 7 is configured similarly to the first battery pack 5. The battery abnormality detection circuit 17 outputs a second discharge permission signal SA2 when it does not detect an abnormality in the second battery pack 7 during a specific discharge instruction period. The battery abnormality detection circuit 17 may, for example, monitor the state of the battery 16. More specifically, the battery abnormality detection circuit 17 may determine whether the battery 16 is abnormal based on, for example, the voltage value of the battery 16, the value of the current discharged from the battery 16, and / or the temperature of the battery 16. When the battery abnormality detection circuit 17 determines that the battery 16 is normal, it may indicate that the battery 16 is normal by outputting the second discharge permission signal SA2. When the battery abnormality detection circuit 17 determines that the battery 16 is abnormal, it may indicate that the battery 16 is abnormal by not outputting the second discharge permission signal SA2.
[0056] As shown in Figures 2 and 3, the main body 3 includes a trigger operation unit 20, a motor 21, a motor drive circuit 22, a control circuit 23, a main power switch 30, a trigger switch unit 26, a trigger detection circuit 80, an overvoltage detection circuit 50, a first off detection circuit 39, a second off detection circuit 49, a current detection circuit 55, an overheat detection unit 60, a cut-off latch circuit 70, and a display panel 171.
[0057] The main body 3 is provided with a power supply circuit (not shown). The power supply circuit is supplied with battery voltage from the first battery pack 5 or the second battery pack 7 attached to the electric work machine 1. The power supply circuit generates a constant power supply voltage based on the battery voltage and outputs the power supply voltage. The power supply voltage is supplied to each part in the main body 3 via a control power line (not shown). Each part operates by the power supply voltage supplied from the power supply circuit. The voltage value of the power supply voltage (hereinafter referred to as "power supply voltage value Vc") may be any value. In this embodiment, the power supply voltage value Vc is, for example, 5 V.
[0058] The power supply circuit may output the power supply voltage, for example, when a battery voltage is provided to the power supply circuit whether the main operation is enabled or disabled, or may output the power supply voltage while the main operation is enabled.
[0059] The trigger switch section 26 includes a first trigger switch 27 and a second trigger switch 28. The first trigger switch 27 and the second trigger switch 28 are turned on or off in conjunction with the trigger operation section 20 being operated by the user.
[0060] The first trigger switch 27 is, for example, a normally open switch. The second trigger switch 28 is, for example, a normally closed switch. When the trigger operating unit 20 is turned off, the first trigger switch 27 is turned off and the second trigger switch 28 is turned on. When the trigger operating unit 20 is turned on, the first trigger switch 27 is turned on and the second trigger switch 28 is turned off.
[0061] The main body 3 further includes a resistor R1, a resistor R2, and a logical negation (NOT) circuit 85. A first terminal of the first trigger switch 27 is connected to the ground line. A second terminal of the first trigger switch 27 is connected to an input terminal of the NOT circuit 85. The second terminal of the first trigger switch 27 is further connected to a control power supply line via the resistor R1.
[0062] A first terminal of the second trigger switch 28 is connected to the ground line, and a second terminal of the second trigger switch 28 is connected to the control circuit 23 via a trigger detection circuit 80. A second terminal of the second trigger switch 28 is further connected to the control power supply line via a resistor R2.
[0063] The NOT circuit 85 receives the voltage of the second terminal of the first trigger switch 27 as a binary signal. The binary signal is a signal that indicates a logical level of high or low. The NOT circuit 85 inverts the logical level of the input binary signal and outputs it.
[0064] A more specific configuration of trigger switch section 26 will be described with reference to Fig. 4A to Fig. 4C. Trigger switch section 26 includes a switch box 100, a plunger 101, a first trigger switch 27, and a second trigger switch 28. Plunger 101 is connected to trigger operation section 20 and operates in conjunction with trigger operation section 20.
[0065] The first trigger switch 27 includes a first contact 121, a second contact 122, and a support spring 123. The first contact 121 is connected to, for example, a ground line. The second contact 122 is connected to, for example, a NOT circuit 85. The second contact 122 is configured to be rotatable about a rotation axis (not shown). The support spring 123 biases the second contact 122 in a direction in which the second contact 122 abuts against the first contact 121.
[0066] The second trigger switch 28 includes a first electrode 111, a second electrode 112, a substrate 113, and a brush 114. The brush 114 includes a conductor. The first electrode 111 and the second electrode 112 are provided on the substrate 113. The brush 114 is provided on the plunger 101. The brush 114 moves together with the plunger 101. The first electrode 111 is connected to, for example, a ground line. The second electrode 112 is connected to, for example, a trigger detection circuit 80.
[0067] 4A to 4C, that is, in the above-mentioned pulling direction, in response to the user pulling the trigger operating unit 20. When the trigger operating unit 20 is turned off, the plunger 101 is supported in the position shown in FIG. 4A by the biasing force of a spring (not shown). The trigger operating unit 20 being turned off includes a case where the user is not touching the trigger operating unit 20. When the trigger operating unit 20 is turned off, the second contact 122 is rotated by the plunger 101 in a direction away from the first contact 121 against the biasing force of the support spring 123. Therefore, the first trigger switch 27 is turned off.
[0068] When the trigger operation unit 20 is turned off, in the second trigger switch 28, the first electrode 111 and the second electrode 112 are electrically connected via the brush 114. Therefore, the second trigger switch 28 is turned on.
[0069] When a user pulls the trigger operating unit 20, the plunger 101 moves into the switch box 100. Accordingly, in the second trigger switch 28, the brush 114 moves into the switch box 100. In the first trigger switch 27, the plunger 101 gradually moves away from the second contact 122, and accordingly, the second contact 122 moves closer to the first contact 121 due to the biasing force of the support spring 123.
[0070] As the plunger 101 moves further in the pulling direction, the second contact 122 comes into contact with the first contact 121, for example, as shown in FIG. 4B. This turns on the first trigger switch 27. As the plunger 101 moves further in the pulling direction, the brush 114 moves away from the first electrode 111, as shown in FIG. 4C. This turns off the second trigger switch 28. The above-mentioned on operation means that the trigger operating unit 20 is pulled so that the first trigger switch 27 is turned on and the second trigger switch 28 is turned off, as shown in FIG. 4C. When the user releases the pulling operation of the trigger operating unit 20, the plunger 101 moves in the operation release direction together with the trigger operating unit 20 due to the biasing force of the elastic member described above, and returns to the position shown in FIG. 4A.
[0071] The trigger detection circuit 80 has a trigger detection function. The trigger detection function is a function for outputting information according to the state of the trigger switch section 26. Specifically, the trigger detection circuit 80 outputs first trigger information ST1, second trigger information ST2, and trigger determination information STR.
[0072] The trigger detection circuit 80 receives the output signal of the NOT circuit 85. The trigger detection circuit 80 further receives the voltage of the second terminal of the second trigger switch 28 and the first pseudo signal SF1 output from the control circuit 23.
[0073] The voltage of the second terminal of the second trigger switch 28 input to the trigger detection circuit 80 is output as second trigger information ST2 to the control circuit 23. The control circuit 23 outputs a first pseudo signal SF1 when executing a trigger detection function diagnosis, which will be described later.
[0074] In this embodiment, the first trigger information ST1, the second trigger information ST2, the trigger determination information STR, the signal that the trigger detection circuit 80 receives from the NOT circuit 85, and the first pseudo signal SF1 are, for example, binary signals.
[0075] The first trigger information ST1 basically indicates whether the first trigger switch 27 is on or not. The second trigger information ST2 indicates whether the second trigger switch 28 is on or not. The second trigger information ST2 having a logic level of L indicates that the second trigger switch 28 is on, in other words, that the trigger operating unit 20 is turned off. The second trigger information ST2 having a logic level of H indicates that the second trigger switch is off, in other words, that the trigger operating unit 20 is turned on.
[0076] The trigger detection circuit 80 includes a logical sum (OR) circuit 81 and a logical product (AND) circuit 82. The OR circuit 81 receives the output signal of the NOT circuit 85 and the first pseudo signal SF1.
[0077] More specifically, the first pseudo signal SF1 is a signal whose logic level is high. That is, the output of the first pseudo signal SF1 means that the logic level of the first pseudo signal SF1 is high. Conversely, the logic level of the first pseudo signal SF1 is low means that the first pseudo signal SF1 is not output. Such a correspondence relationship between the logic level of a signal and the output state of the signal indicated by the logic level is the same for the first discharge enable signal SA1 and the second discharge enable signal SA2 described above, the third discharge enable signal SA3 and the fourth discharge enable signal SA4 described below, the first off detection signal SB1, the second off detection signal SB2, the overvoltage signal So1, the overcurrent signal So2, the first overheat signal So31, the second overheat signal So32, the third overheat signal So33, the second pseudo signal SF2, the third pseudo signal SF31, the fourth pseudo signal SF32, and the fifth pseudo signal SF33.
[0078] The OR circuit 81 performs a logical sum operation on the two input signals, and outputs first trigger information ST1 indicating the operation result. The first trigger information ST1 is input to the control circuit 23 and the AND circuit .
[0079] For example, assume that the first pseudo signal SF1 is not input to the OR circuit 81. In this case, the logic level of the first trigger information ST1 becomes low level when the trigger operating unit 20 is turned off, and becomes high level when the trigger operating unit 20 is turned on. The logic levels of the first trigger information ST1 and the second trigger information ST2 being low level indicate a trigger off state. In the trigger off state, the trigger operating unit 20 is turned off. The logic levels of the first trigger information ST1 and the second trigger information ST2 being high level indicate a trigger on state. In the trigger on state, the trigger operating unit 20 is turned on.
[0080] When the first pseudo signal SF1 is input to the OR circuit 81, the logical level of the first trigger information ST1 becomes high regardless of the state of the trigger operating unit 20 (i.e., regardless of the state of the first trigger switch 27). By inputting the first pseudo signal SF1 to the OR circuit 81, the control circuit 23 can set the first trigger information ST1 to a state electrically equivalent to when the trigger operating unit 20 is turned on.
[0081] The AND circuit 82 receives the first trigger information ST1 and the second trigger information ST2. The AND circuit 82 calculates the logical AND of the first trigger information ST1 and the second trigger information ST2, and outputs trigger determination information STR indicating the calculation result. The trigger determination information STR is input to the cutoff latch circuit 70. Trigger determination information STR with a low logical level indicates a trigger off state. Trigger determination information STR with a high logical level indicates a trigger on state.
[0082] The motor 21 is rotationally driven by motor driving power supplied from the motor driving circuit 22. When the motor 21 rotates, the rotational driving force of the motor 21 is transmitted to an output tool (not shown in FIG. 2) via a driving mechanism, and the output tool is actuated. The motor 21 in this embodiment is, for example, a brushless motor.
[0083] In this embodiment, the output tool is, for example, the rotary blade 162 described above, but the output tool may be any type. The output tool may be, for example, a drill bit, a driver bit, a rotary grindstone, a circular saw blade, or the like, which can process a workpiece by rotating. The output tool may be detachable from the electric work machine 1. Alternatively, the rotation of the motor 21 may be converted into linear motion and transmitted to the output tool.
[0084] The electric work machine 1 further includes a first power supply line 91, a second power supply line 92, and a main power supply line 93. A first end of the first power supply line 91 is connected to the first battery pack 5. The first end of the first power supply line 91 is supplied with the voltage of the battery 11. A second end of the first power supply line 91 is connected to a first end of the main power supply line 93.
[0085] A first end of the second power supply line 92 is connected to the second battery pack 7. The first end of the second power supply line 92 is supplied with the voltage of the battery 16. A second end of the second power supply line 92 is connected to a first end of the main power supply line 93.
[0086] A second end of the main power supply line 93 is connected to the motor drive circuit 22. A capacitor C0 is connected between the main power supply line 93 and the ground line.
[0087] The power of the battery 11 is supplied to the motor drive circuit 22 via a first power supply line 91 and a main power supply line 93. The power of the battery 16 is supplied to the motor drive circuit 22 via a second power supply line 92 and a main power supply line 93.
[0088] As described below, the motor drive circuit 22 is supplied with power from the battery 11 or the battery 16. In other words, the main power supply line 93 is supplied with the voltage of the battery 11 or the voltage of the battery 16. The voltage of the battery 11 or the voltage of the battery 16 supplied to the main power supply line 93 is hereinafter referred to as the "input battery voltage."
[0089] The first power supply line 91 is provided with a first charge limiting circuit 31 and a first switching circuit .
[0090] The first switching circuit 36 includes a switch unit 37 and an AND circuit 38. The switch unit 37 connects or disconnects the first power supply line 91. When the switch unit 37 is turned on, the portion of the first power supply line 91 where the switch unit 37 is provided is connected. When the switch unit 37 is turned off, the portion of the first power supply line 91 where the switch unit 37 is provided is disconnected, and the supply of power from the battery 11 to the motor 21 is cut off.
[0091] The switch unit 37 is turned on when the logical level of the signal output from the AND circuit 38 is high, and is turned off when the logical level of the signal output from the AND circuit 38 is low.
[0092] The switch unit 37 may have any configuration. In this embodiment, the switch unit 37 includes, for example, an n-channel metal oxide semiconductor field effect transistor (MOSFET). The switch units 32, 42, and 47 described later may also have any configuration, and in this embodiment, for example, include an n-channel MOSFET.
[0093] The AND circuit 38 has three signal input terminals. The three signal input terminals receive the first discharge enable signal SA1, the third discharge enable signal SA3 output from the control circuit 23, and the second off detection signal SB2. The second off detection signal SB2 is output from the second off detection circuit 49. The AND circuit 38 calculates the logical product of the signals input to the signal input terminals, and outputs a signal indicating the calculation result to the gate of the switch section 37.
[0094] The AND circuit 38 outputs a high-level signal when it receives the first discharge enable signal SA1, the third discharge enable signal SA3, and the second off detection signal SB2. The AND circuit 38 outputs a low-level signal when it does not receive the first discharge enable signal SA1, the third discharge enable signal SA3, and / or the second off detection signal SB2.
[0095] As described later, the second off detection circuit 49 outputs the second off detection signal SB2 when the switch unit 42 of the second charging inhibition circuit 41 and the switch unit 47 of the second switching circuit 46 are off. When the switch unit 42 and / or the switch unit 47 are on, the second off detection signal SB2 is not output. Therefore, for example, when the switch unit 47 is on, the second off detection signal SB2 is not input to the AND circuit 38. In this case, the output of the AND circuit 38 becomes a low level and the switch unit 37 is turned off. This prevents the switch units 37 and 47 from being turned on at the same time.
[0096] The first charge inhibition circuit 31 includes a switch unit 32 and a synchronous rectification circuit 33. The switch unit 32 connects or disconnects the first power supply line 91. When the switch unit 32 is turned on, a portion of the first power supply line 91 where the switch unit 32 is provided becomes conductive. When the switch unit 32 is turned off, the portion of the first power supply line 91 where the switch unit 32 is provided becomes disconnected. The switch unit 32 is turned on or off by the synchronous rectification circuit 33.
[0097] A gate of the switch unit 32 is connected to the synchronous rectification circuit 33. A source of the switch unit 32 is connected to the first battery pack 5 and is also connected to the synchronous rectification circuit 33. A drain of the switch unit 32 is connected to a drain of the switch unit 37.
[0098] The synchronous rectifier circuit 33 turns on or off the switch unit 32 based on the voltage between the source and drain of the switch unit 32. Specifically, when a discharge current from the first battery pack 5 flows through a parasitic diode present between the source and drain of the switch unit 32, the synchronous rectifier circuit 33 detects the discharge current and turns on the switch unit 32. When the synchronous rectifier circuit 33 detects that discharging from the first battery pack 5 has stopped or that a charging current is being supplied to the first battery pack 5 through the first power supply line 91 while the switch unit 32 is on, the synchronous rectifier circuit 33 turns off the switch unit 32. With this configuration, when a current flows from the main body unit 3 to the battery 11, the switch unit 32 is turned off to cut off the current, and charging of the battery 11 is suppressed or prevented. More specifically, the synchronous rectifier circuit 33 controls the gate voltage of the switch unit 32 so that the voltage value between the drain and source of the switch unit 32 becomes a predetermined voltage value (for example, about 30 mV).
[0099] The second power supply line 92 is provided with a second charge limiting circuit 41 and a second switching circuit .
[0100] The second switching circuit 46 includes a switch unit 47 and an AND circuit 48. The switch unit 47 connects or disconnects the second power supply line 92. When the switch unit 47 is turned on, the portion of the second power supply line 92 where the switch unit 47 is provided is connected. When the switch unit 47 is turned off, the portion of the second power supply line 92 where the switch unit 47 is provided is disconnected, and the supply of power from the battery 16 to the motor 21 is cut off.
[0101] The switch unit 47 is turned on when the logical level of the signal output from the AND circuit 48 is high, and is turned off when the logical level of the signal output from the AND circuit 48 is low.
[0102] The AND circuit 48 has three signal input terminals. The signal input terminals of the AND circuit 48 receive the second discharge enable signal SA2, the fourth discharge enable signal SA4, and the first off detection signal SB1. The first off detection signal SB1 is output from the first off detection circuit 39. The AND circuit 48 calculates the logical product of the signals input to the signal input terminals, and outputs a signal indicating the calculation result to the gate of the switch section 47.
[0103] The AND circuit 48 outputs a high-level signal when it receives the second discharge enable signal SA2, the fourth discharge enable signal SA4, and the first off detection signal SB1. The AND circuit 48 outputs a low-level signal when it does not receive the second discharge enable signal SA2, the fourth discharge enable signal SA4, and / or the first off detection signal SB1.
[0104] As described later, the first off detection circuit 39 outputs a first off detection signal SB1 when the switch unit 32 of the first charge inhibition circuit 31 and the switch unit 37 of the first switching circuit 36 are off. When the switch unit 32 and / or the switch unit 37 are on, the first off detection signal SB1 is not output. Therefore, for example, when the switch unit 37 is on, the first off detection signal SB1 is not input to the AND circuit 48. In this case, the output of the AND circuit 48 becomes a low level and the switch unit 47 is turned off. This prevents the switch units 37, 47 from being turned on at the same time.
[0105] The second charging inhibition circuit 41 includes a switch unit 42 and a synchronous rectification circuit 43. The switch unit 42 connects or disconnects the second power supply line 92. When the switch unit 42 is turned on, a portion of the second power supply line 92 where the switch unit 42 is provided becomes conductive. When the switch unit 42 is turned off, the portion of the second power supply line 92 where the switch unit 42 is provided becomes disconnected. The switch unit 42 is turned on or off by the synchronous rectification circuit 43.
[0106] The gate of the switch unit 42 is connected to the synchronous rectification circuit 43. The source of the switch unit 42 is connected to the second battery pack 7 and is also connected to the synchronous rectification circuit 43. The drain of the switch unit 42 is connected to the drain of the switch unit 47.
[0107] The synchronous rectifier circuit 43 turns on or off the switch unit 42 based on the voltage between the source and drain of the switch unit 42. Specifically, when a discharge current from the second battery pack 7 flows through a parasitic diode present between the source and drain of the switch unit 42, the synchronous rectifier circuit 43 detects the discharge current and turns on the switch unit 42. When the synchronous rectifier circuit 43 detects that discharging from the second battery pack 7 has stopped or that a charging current is being supplied to the second battery pack 7 via the second power supply line 92 while the switch unit 42 is on, the synchronous rectifier circuit 43 turns off the switch unit 42. With this configuration, when a current flows from the main body unit 3 to the battery 16, the switch unit 42 turns off to cut off the current, and charging of the battery 16 is suppressed or prevented. More specifically, the synchronous rectifier circuit 43 controls the gate voltage of the switch unit 42 so that the voltage value between the drain and source of the switch unit 42 becomes a predetermined voltage value (for example, about 30 mV).
[0108] The first off detection circuit 39 receives the voltage between the first charging inhibition circuit 31 and the first switching circuit 36 in the first power supply line 91. The first off detection circuit 39 detects that the switch unit 32 and the switch unit 37 are off. The first off detection circuit 39 outputs a first off detection signal SB1 (a high-level signal) when the switch unit 32 and the switch unit 37 are off. The first off detection circuit 39 does not output the first off detection signal SB1 when the switch unit 32 and / or the switch unit 37 are on. In this case, the output port of the first off detection signal SB1 in the first off detection circuit 39 becomes low level.
[0109] The second off detection circuit 49 receives the voltage between the second charging inhibition circuit 41 and the second switching circuit 46 in the second power supply line 92. The second off detection circuit 49 detects that the switch unit 42 and the switch unit 47 are off. The second off detection circuit 49 outputs a second off detection signal SB2 (a high-level signal) when the switch unit 42 and the switch unit 47 are off. The second off detection circuit 49 does not output the second off detection signal SB2 when the switch unit 42 and / or the switch unit 47 are on. In this case, the output port of the second off detection signal SB2 in the second off detection circuit 49 becomes low level.
[0110] The motor drive circuit 22 converts the power supplied from the first battery pack 5 or the second battery pack 7 (hereinafter referred to as "battery power") into the motor drive power described above, and supplies it to the motor 21. The motor drive power is, for example, three-phase power.
[0111] Specifically, the motor drive circuit 22 of this embodiment includes, for example, an inverter (not shown). The inverter includes a U-phase switch pair, a V-phase switch pair, and a W-phase switch pair that are connected in parallel with each other. Each of the U-phase switch pair, the V-phase switch pair, and the W-phase switch pair includes two semiconductor switching elements that are connected in series with each other. That is, the motor drive circuit 22 includes six semiconductor switching elements.
[0112] The U-phase switch pair, the V-phase switch pair, and the W-phase switch pair are connected to the motor 21. The U-phase switch pair supplies a U-phase voltage to the motor 21. The U-phase voltage is the voltage at the connection point of two semiconductor switching elements connected in series to each other in the U-phase switch pair. The V-phase switch pair supplies a V-phase voltage to the motor 21. The V-phase voltage is the voltage at the connection point of two semiconductor switching elements connected in series to each other in the V-phase switch pair. The W-phase switch pair supplies a W-phase voltage to the motor 21. The W-phase voltage is the voltage at the connection point of two semiconductor switching elements connected in series to each other in the W-phase switch pair.
[0113] The motor drive circuit 22 is connected to the control circuit 23 via a drive line 90. The motor drive circuit 22 receives a motor drive command SD from the control circuit 23 via the drive line 90. Upon receiving the motor drive command SD, the motor drive circuit 22 turns on or off the six semiconductor switching elements in accordance with the motor drive command SD. This generates motor drive power including the above-mentioned U-phase voltage, V-phase voltage, and W-phase voltage.
[0114] The drive line 90 is provided with a cut-off switch 29. The cut-off switch 29 connects or disconnects the drive line 90. When the cut-off switch 29 is turned on, the motor drive command SD output from the control circuit 23 is input to the motor drive circuit 22 via the cut-off switch 29. When the cut-off switch 29 is turned off, the transmission of the motor drive command SD from the control circuit 23 to the motor drive circuit 22 is interrupted.
[0115] The shutoff switch 29 turns on or off according to the shutoff information SS output from the shutoff latch circuit 70. The shutoff switch 29 turns on when the logic level of the shutoff information SS is high. The shutoff switch 29 turns off when the logic level of the shutoff information SS is low. The high level of the shutoff information SS indicates a command permission. The low level of the shutoff information SS indicates a command shutoff.
[0116] The isolating switch 29 may be configured in any manner and may, for example, comprise a MOSFET.
[0117] The overvoltage detection circuit 50, the current detection circuit 55, and the overheat detection unit 60 are provided to detect five abnormal conditions, including an overvoltage condition, an overcurrent condition, a U-phase overheat condition, a V-phase overheat condition, and a W-phase overheat condition.
[0118] The overvoltage state indicates, for example, a state in which the input battery voltage value is higher than a specified normal voltage range. The input battery voltage value is the value of the input battery voltage supplied to the motor drive circuit 22 via the main power supply line 93.
[0119] The overcurrent state indicates, for example, a state in which the motor current value is higher than a specified normal current range. The motor current value is the value of the current supplied to the motor 21 via the motor drive circuit 22.
[0120] The U-phase overheat state indicates, for example, a state in which the U-phase temperature, which will be described later, is higher than a specified normal temperature range. The V-phase overheat state indicates, for example, a state in which the V-phase temperature, which will be described later, is higher than a specified normal temperature range. The W-phase overheat state indicates, for example, a state in which the W-phase temperature, which will be described later, is higher than a specified normal temperature range.
[0121] As will be described later, the overvoltage detection circuit 50, the current detection circuit 55, and the overheat detection unit 60 detect the corresponding abnormal state by hardware processing rather than software processing based on a program (computer program).
[0122] The overvoltage detection circuit 50 detects the input battery voltage value and outputs information based on the detected input battery voltage value. Specifically, the overvoltage detection circuit 50 outputs a voltage signal SV. The voltage signal SV is an analog signal that indicates the input battery voltage value.
[0123] The overvoltage detection circuit 50 further includes a function for detecting an overvoltage state. Specifically, the overvoltage detection circuit 50 outputs an overvoltage signal So1 when the input battery voltage value is, for example, equal to or greater than a first voltage threshold. The overvoltage signal So1 indicates that an overvoltage state has occurred. The first voltage threshold may be, for example, a value higher than the normal voltage range described above.
[0124] The overvoltage detection circuit 50 receives the second pseudo signal SF2 from the control circuit 23. The control circuit 23 outputs the second pseudo signal SF2 when performing an overvoltage protection function diagnosis, which will be described later.
[0125] The overvoltage detection circuit 50 may be configured as shown in FIG. 3, for example. As shown in FIG. 3, the overvoltage detection circuit 50 includes a comparator 51, a buffer 52, resistors R3 and R4, a capacitor C1, and a diode D1. The anode of the diode D1 is connected to the main power supply line 93. The cathode of the diode D1 is connected to a first terminal of the resistor R3. The second terminal of the resistor R3 is connected to a first terminal of the resistor R4. The second terminal of the resistor R4 is connected to a ground line. The first terminal of the capacitor C1 is connected to the cathode of the diode D1. The second terminal of the capacitor C1 is connected to the ground line. The circuit including the diode D1 and the capacitor C1 functions as a so-called peak hold circuit.
[0126] The voltage at the connection point between resistors R3 and R4 (i.e., the voltage at the first terminal of resistor R4) is output as a voltage signal SV to the control circuit 23. The voltage at the connection point between resistors R3 and R4 is further input to a comparator 51. The comparator 51 is configured not to output an overvoltage signal So1 when the input battery voltage value is lower than a first voltage threshold, and to output the overvoltage signal So1 when the input battery voltage value is equal to or higher than the first voltage threshold.
[0127] The buffer 52 receives the second pseudo signal SF2. The output signal of the buffer 52 is input to the comparator 51. The voltage value of the second pseudo signal SF2 is a value that can cause the comparator 91 to output the overvoltage signal So1 if the overvoltage detection circuit 50 is normal. The comparator 51 outputs the overvoltage signal So1 in response to receiving the second pseudo signal SF2. Therefore, if the overvoltage detection circuit 50 is normal, the overvoltage detection circuit 50 outputs the overvoltage signal So1 in response to receiving the second pseudo signal SF2 even if an overvoltage state does not actually occur. The second pseudo signal SF2 is a signal for generating an artificial overvoltage state.
[0128] The current detection circuit 55 detects the motor current value and outputs information based on the detected motor current value. Specifically, the current detection circuit 55 outputs a current signal SC. The current signal SC is an analog signal that indicates the motor current value.
[0129] The current detection circuit 55 further includes a function of detecting an overcurrent state. Specifically, the current detection circuit 55 outputs an overcurrent signal So2 when the motor current value is, for example, equal to or greater than a first current threshold. The overcurrent signal So2 indicates that an overcurrent state has occurred. The first current threshold may be, for example, a value higher than the normal current range described above.
[0130] The current detection circuit 55 may be configured as shown in Fig. 3, for example. As shown in Fig. 3, the current detection circuit 55 includes an amplifier circuit 57, a comparator 56, and a resistor R5. The resistor R5 is provided in a current path through which the motor current flows, and the motor current flows through the resistor R5. Therefore, a voltage corresponding to the value of the motor current is generated across the resistor R5. The amplifier circuit 57 amplifies the voltage across the resistor R5.
[0131] The voltage amplified by the amplifier circuit 57 is output to the control circuit 23 as a current signal SC. The voltage amplified by the amplifier circuit 57 is further input to the comparator 56. The comparator 56 does not output the overcurrent signal So2 when the motor current value is lower than the first current threshold. The comparator 56 outputs the overcurrent signal So2 when the motor current value is equal to or higher than the first current threshold.
[0132] The overheat detection unit 60 detects the temperature of the motor drive circuit 22. More specifically, the overheat detection unit 60 includes a first overheat detection circuit 61, a second overheat detection circuit 62, and a third overheat detection circuit 63, as shown in FIG.
[0133] The first overheat detection circuit 61 detects the temperature of a U-phase switch pair (hereinafter referred to as "U-phase temperature") in the motor drive circuit 22. Specifically, the U-phase temperature may be, for example, the temperature of one of the two semiconductor switching elements included in the U-phase switch pair. The U-phase temperature may be, for example, the temperature of the one of the two semiconductor switching elements that is on for a relatively longer period.
[0134] The first overheat detection circuit 61 outputs information based on the detected U-phase temperature. Specifically, the first overheat detection circuit 61 outputs a first temperature signal STM1. The first temperature signal STM1 is an analog signal indicative of the U-phase temperature.
[0135] The first overheat detection circuit 61 further includes a function of detecting a U-phase overheat state. Specifically, the first overheat detection circuit 61 outputs a first overheat signal So31 when the U-phase temperature is, for example, equal to or higher than a first U-phase temperature threshold. The first overheat signal So31 indicates that a U-phase overheat state has occurred. The first U-phase temperature threshold may be, for example, a value higher than the normal temperature range described above.
[0136] The first overheat detection circuit 61 receives a third pseudo signal SF31 from the control circuit 23. The control circuit 23 outputs the third pseudo signal SF31 when executing a first overheat protection function diagnosis, which will be described later.
[0137] The first overheat detection circuit 61 may be configured as shown in Fig. 3, for example. As shown in Fig. 3, the first overheat detection circuit 61 includes a temperature detection element 66, a comparator 67, a switch 68, and a resistor R6. The temperature detection element 66 is provided on or near the detection target of the U-phase temperature so as to detect the above-mentioned U-phase temperature. In this embodiment, the temperature detection element 66 may be, for example, an NTC thermistor having a negative resistance-temperature characteristic.
[0138] A first terminal of the resistor R6 is connected to the control power supply line. A second terminal of the resistor R6 is connected to a first terminal of the temperature detection element 66. A second terminal of the temperature detection element 66 is connected to the ground line. A first terminal of the switch 68 is connected to the connection point between the resistor R6 and the temperature detection element 66 (i.e., the first terminal of the temperature detection element 66). A second terminal of the switch 68 is connected to the ground line.
[0139] The voltage at the connection point between the resistor R6 and the temperature detection element 66 is output as a first temperature signal STM1 to the control circuit 23. The voltage at the connection point between the resistor R6 and the temperature detection element 66 is further input to a comparator 67. The comparator 67 is configured not to output the first overheat signal So31 when the U-phase temperature is lower than a first U-phase temperature threshold, and to output the first overheat signal So31 when the U-phase temperature is equal to or higher than the first U-phase temperature threshold.
[0140] The switch 68 is normally off when the third pseudo signal SF31 is not input to the first overheat detection circuit 61. The switch 68 is on while the third pseudo signal SF3 is input to the first overheat detection circuit 61. When the switch 68 is on, the value of the voltage input to the comparator 67 becomes approximately 0V. In this case, if the first overheat detection circuit 61 is normal, the first overheat signal So31 is output from the comparator 67. In other words, even if a U-phase overheat state does not actually occur, when the third pseudo signal SF31 is input to the first overheat detection circuit 61, a pseudo U-phase overheat state occurs.
[0141] In this embodiment, the second overheating detection circuit 62 and the third overheating detection circuit 63 are configured in the same manner as the first overheating detection circuit 61, except for the position where the temperature detection element 66 is provided.
[0142] The second overheat detection circuit 62 detects the temperature of the V-phase switch pair (hereinafter referred to as the "V-phase temperature") in the motor drive circuit 22. The V-phase temperature may be, for example, the temperature of one of the two semiconductor switching elements included in the V-phase switch pair, similar to the U-phase temperature. The second overheat detection circuit 62 outputs an analog second temperature signal STM2 indicating the detected V-phase temperature.
[0143] The second overheat detection circuit 62 further includes a function of detecting a V-phase overheat state. Specifically, the second overheat detection circuit 62 outputs a second overheat signal So32 when the V-phase temperature is equal to or higher than, for example, a first V-phase temperature threshold. The second overheat signal So32 indicates that a V-phase overheat state has occurred. The first V-phase temperature threshold may be, for example, a value higher than the normal temperature range described above.
[0144] The second overheat detection circuit 62 receives a fourth pseudo signal SF32 from the control circuit 23. The control circuit 23 outputs the fourth pseudo signal SF32 when executing a second overheat protection function diagnosis, which will be described later. When the fourth pseudo signal SF32 is input to the second overheat detection circuit 62, a pseudo V-phase overheat state occurs even if a V-phase overheat state does not actually occur. When the second overheat detection circuit 62 receives the fourth pseudo signal SF2, it outputs a second overheat signal So32.
[0145] The third overheat detection circuit 63 detects the temperature of the W-phase switch pair (hereinafter referred to as the "W-phase temperature") in the motor drive circuit 22. Specifically, the W-phase temperature may be, for example, the temperature of one of the two semiconductor switching elements included in the W-phase switch pair, similar to the U-phase temperature. The third overheat detection circuit 63 outputs an analog third temperature signal STM3 indicating the detected W-phase temperature.
[0146] The third overheat detection circuit 63 further includes a function of detecting a W-phase overheat state. Specifically, the third overheat detection circuit 63 outputs a third overheat signal So33 when the W-phase temperature is equal to or higher than, for example, a first W-phase temperature threshold. The third overheat signal So33 indicates that a W-phase overheat state has occurred. The first W-phase temperature threshold may be, for example, a value higher than the above-mentioned normal temperature range.
[0147] The third overheat detection circuit 63 receives a fifth pseudo signal SF33 from the control circuit 23. The control circuit 23 outputs the fifth pseudo signal SF33 when executing a third overheat protection function diagnosis, which will be described later. When the fifth pseudo signal SF33 is input to the third overheat detection circuit 63, a pseudo W-phase overheat state occurs even if a W-phase overheat state does not actually occur. When the third overheat detection circuit 63 receives the fifth pseudo signal SF3, it outputs a third overheat signal So33.
[0148] At least two of the first U-phase temperature threshold, the first V-phase temperature threshold, and the first W-phase temperature threshold may be equal. The first U-phase temperature threshold, the first V-phase temperature threshold, and the first W-phase temperature threshold may be different from one another.
[0149] The shutdown latch circuit 70 receives trigger determination information STR. The shutdown latch circuit 70 may further receive an overvoltage signal So1, an overcurrent signal So2, a first overheat signal So31, a second overheat signal So32, and a third overheat signal So33. The shutdown latch circuit 70 outputs shutdown information SS based on these information and signals. The shutdown latch circuit 70 may further output abnormality detection information Sor.
[0150] When the electric work machine 1 is in a drive permitted state, the cutoff latch circuit 70 turns on the cutoff switch 29 by outputting high-level cutoff information SS indicating a command permitted. The drive permitted state means a state in which the motor 21 may be driven. When the electric work machine 1 is in a drive prohibited state, the cutoff latch circuit 70 turns off the cutoff switch 29 by outputting low-level cutoff information SS indicating a command cutoff. The drive prohibited state means a state in which the motor 21 should not be driven.
[0151] In this embodiment, the drive permission state includes a state in which the trigger determination information STR indicates a trigger-on state, and an abnormality undetected state. The abnormality undetected state indicates a state in which the overvoltage signal So1, the overcurrent signal So2, the first overheat signal So31, the second overheat signal So32, and the third overheat signal So33 are not input. In other words, the abnormality undetected state indicates a state in which none of the above-mentioned five abnormal states is detected.
[0152] In this embodiment, the drive prohibition state includes a state in which the trigger determination information STR indicates a trigger off state and / or an abnormality detection state. The abnormality detection state indicates a state in which the overvoltage signal So1, the overcurrent signal So2, the first overheat signal So31, the second overheat signal So32, and / or the third overheat signal So33 are input. In other words, the abnormality detection state indicates a state in which one or more of the above-mentioned five abnormal states are detected.
[0153] The shutoff latch circuit 70 further includes a shutoff latch function. The shutoff latch function is a function that keeps the shutoff switch 29 off at least until the trigger operation unit 20 is turned off once, even if the electric work machine 1 changes to an abnormality undetected state after the shutoff switch 29 is turned off due to the electric work machine 1 entering an abnormality detection state. The shutoff latch circuit 70 keeps the shutoff switch 29 off by continuously outputting shutoff information SS indicating a shutoff command.
[0154] The cutoff latch circuit 70 may be configured as shown in FIG. 3, for example. As shown in FIG. 3, the cutoff latch circuit 70 includes a first flip-flop (FF) 71, an OR circuit 72, a NOT circuit 73, an OR circuit 74, a second FF 75, an AND circuit 76, resistors R7, R8, and capacitors C2, C3. In this embodiment, the first FF 71 and the second FF 75 are, for example, D-type FFs. The first FF 71 and the second FF 75 include a clock input terminal, a data input terminal, and an output terminal. Each time a rising edge (i.e., a change in logic level from low level to high level) of a signal input to the clock input terminal occurs, the first FF 71 and the second FF 75 output a signal of the same logic level as the logic level of the signal input to the data input terminal at that time from the output terminal. After a rising edge occurs, the first FF 71 and the second FF 75 maintain the logic level of the signal output from the output terminal even if the logic level of the signal input to the data input terminal changes until the next rising edge occurs again.
[0155] The OR circuit 72 has five input terminals. An overvoltage signal So1, an overcurrent signal So2, a first overheat signal So31, a second overheat signal So32, and a third overheat signal So33 can be input to the five input terminals. The OR circuit 72 calculates the logical sum of the signals input to the five input terminals and outputs the calculation result.
[0156] The trigger determination information STR is input to the clock input terminal of the first FF 71 and to the AND circuit 76. The trigger determination information STR is further input to the OR circuit 74 via a capacitor C2.
[0157] A resistor R8 is connected between the ground line and the connection point between the capacitor C2 and the OR circuit 74. The circuit including the capacitor C2 and the resistor R8 functions as a differentiation circuit that differentiates the trigger determination information STR and outputs the differentiated information to the OR circuit 74.
[0158] The output signal of the OR circuit 72 is input to a NOT circuit 73 and, via a resistor R7, to an OR circuit 74. The output signal of the OR circuit 72 is further input to the control circuit 23 as abnormality detection information Sor.
[0159] A capacitor C3 is connected between the ground line and the connection point between the resistor R7 and the OR circuit 74. A circuit including the resistor R7 and the capacitor C3 functions as an integration circuit that integrates the output signal of the OR circuit 72 and outputs the integrated signal to the OR circuit 74. The output signal of the OR circuit 74 is input to the clock input terminal of the second FF 75.
[0160] The output signal of the NOT circuit 73 is input to the data input terminal of the first FF 71 and the data input terminal of the second FF 75. The output signal of the first FF 71 and the output signal of the second FF 75 are input to an AND circuit .
[0161] The shutoff latch circuit 70 configured in this manner operates, for example, as follows. For example, assume a situation in which the electric operating machine 1 is in an abnormality undetected state and the logic level of the trigger determination information STR is at a low level indicating a trigger off state. In this situation, the output signal of the AND circuit 76 is at a low level. That is, in this situation, the shutoff information SS indicates a command shutoff. Therefore, the shutoff switch 29 turns off.
[0162] Further, assume that the overvoltage signal So1, the overcurrent signal So2, the first overheat signal So31, the second overheat signal So32, and the third overheat signal So33 are not input to the OR circuit 72. In this situation, the logic levels of the data input terminals of the first FF 71 and the second FF 75 are high.
[0163] From this situation, assume that the logical level of the trigger determination information STR changes to a high level indicating a trigger-on state. When the logical level of the trigger determination information STR changes to a high level, a rising edge occurs in the signal input to the clock input terminals of the first FF 71 and the second FF 75. Therefore, the logical levels of the signals output from the output terminals of the first FF 71 and the second FF 75 change to a high level. This causes the output signal of the AND circuit 76 to change to a high level. That is, in this case, the cutoff information SS changes to information indicating command permission. Therefore, the cutoff switch 29 turns on. In this way, from the state where the shutoff information SS indicating command permission is output from the shutoff latch circuit 70, a state where the overvoltage signal So1, the overcurrent signal So2, the first overheat signal So31, the second overheat signal So32, and / or the third overheat signal So33 are input to the OR circuit 72 (i.e., a state where the electric work machine 1 changes to an abnormality detection state) is assumed. In this state, the logic level of the data input terminal of the second FF 75 changes to a low level. After the logic level of the data input terminal of the second FF 75 changes to a low level, the logic level of the clock input terminal of the second FF 75 changes to a high level. As a result, the output signal of the second FF 75 changes to a low level, and the output signal of the AND circuit 76 changes to a low level. That is, the shutoff information SS changes to information indicating a command shutoff. Therefore, the shutoff switch 29 is turned off. The time difference between the timing when the logic level of the data input terminal becomes a low level and the timing when the logic level of the clock input terminal becomes a high level is based on the time constant of the integration circuit described above.
[0164] Assume that, as described above, a situation occurs in which the shutoff information SS indicating a shutoff command is output due to the occurrence of an abnormality, and then the high-level signal input to the OR circuit 72 changes to a low level due to recovery from the abnormality. In this situation, the logical levels of the data input terminals of the first FF 71 and the second FF 75 change to a high level. However, while the trigger determination information STR is maintained at a high level, the output signals of the first FF 71 and the second FF 75 do not change, and the shutoff information SS is maintained as information indicating a shutoff command. Therefore, the shutoff switch 29 is maintained in an off state.
[0165] In the above-described situation where the abnormality has been recovered from, it is further assumed that the trigger operating unit 20 is turned off and then turned on again. When the trigger operating unit 20 is turned off, the logic levels of the clock input terminals of the first FF 71 and the second FF 75 change to low level. When the trigger operating unit 20 is turned on again after being turned off, the logic levels of the clock input terminals of the first FF 71 and the second FF 75 change to high level, and the output signals of the first FF 71 and the second FF 75 change to high level. As a result, the output signal of the AND circuit 76 changes to high level, and the cutoff information SS changes to information indicating command permission. Therefore, the cutoff switch 29 turns on.
[0166] In this way, the cutoff latch circuit 70 executes various functions, including the function of outputting the cutoff information SS and the cutoff latch function, through hardware processing, without performing software processing.
[0167] The control circuit 23 operates on a power supply voltage supplied from the power supply circuit described above. The control circuit 23 includes a microcomputer including a CPU 24 and a memory 25. The memory 25 may include semiconductor memory such as RAM, ROM, and flash memory. The memory 25 stores various programs and data that the CPU 24 reads and executes to achieve various functions of the electric work machine 1. These various functions are not limited to software processing as described above, and some or all of them may be achieved by hardware including logic circuits, analog circuits, etc.
[0168] The control circuit 23 receives the first trigger information ST1, the second trigger information ST2, the trigger determination information STR, the first discharge enable signal SA1, the second discharge enable signal SA2, the first off detection signal SB1, the second off detection signal SB2, the shutoff information SS, the voltage signal SV, the current signal SC, the first temperature signal STM1 to the third temperature signal STM3, and the abnormality detection information Sor. The control circuit 23 further receives, from the main power switch 30, information indicating the operation of the main power switch 30 by the user.
[0169] The control circuit 23 enables or disables the main operation of the electric work machine 1 based on information input from the main power switch 30. The control circuit 23 alternately enables or disables the main operation every time the main power switch 30 is pushed back. The control circuit 23 executes various functions based on the above-mentioned information and signals input to the control circuit 23.
[0170] In this embodiment, after enabling the main operation, if the state in which the trigger operation unit 20 is not pulled continues for a specified time even if the main power switch 30 is not operated, the control circuit 23 disables the main operation.
[0171] When the control circuit 23 receives the first discharge enable signal SA1 and the second discharge enable signal SA2, the control circuit 23 outputs the third discharge enable signal SA3 or the fourth discharge enable signal SA4. In this case, the switch unit 37 on the first power supply line 91 or the switch unit 47 on the second power supply line 92 is turned on.
[0172] When the control circuit 23 receives the first discharge enable signal SA1 but does not receive the second discharge enable signal SA2, the control circuit 23 outputs the third discharge enable signal SA3 but does not output the fourth discharge enable signal SA4. In this case, the switch unit 37 on the first power supply line 91 is turned on and the switch unit 47 on the second power supply line 92 is turned off.
[0173] When the control circuit 23 receives the second discharge enable signal SA2 but does not receive the first discharge enable signal SA1, the control circuit 23 outputs the fourth discharge enable signal SA4 but does not output the third discharge enable signal SA3. In this case, the switch unit 47 on the second power supply line 92 is turned on and the switch unit 37 on the first power supply line 91 is turned off.
[0174] When the trigger operating unit 20 is turned on during an enabling period in which the main operation is enabled, the control circuit 23 drives the motor 21 by outputting a motor drive command SD to the motor drive circuit 22 .
[0175] When the first trigger information ST1 and the second trigger information ST2 indicate a trigger-on state (i.e., the logical level is high), the control circuit 23 determines that the trigger operating unit 20 has been turned on, and outputs the motor drive command SD. When the first trigger information ST1 and / or the second trigger information ST2 indicate a trigger-off state (i.e., the logical level is low), the control circuit 23 determines that the trigger operating unit 20 has been turned off, and does not output the motor drive command SD.
[0176] The control circuit 23 outputs trigger detection information ST0 to the first battery pack 5 and the second battery pack 7. The trigger detection information ST0 indicates whether or not the trigger operation unit 20 has been turned on. When the control circuit 23 determines that the trigger operation unit 20 has been turned off, the control circuit 23 outputs trigger detection information ST0 whose logic level is low. The trigger detection information ST0 whose logic level is low indicates that the trigger operation unit 20 has been turned off. When the control circuit 23 determines that the trigger operation unit 20 has been turned on, the control circuit 23 outputs trigger detection information ST0 whose logic level is high. The trigger detection information ST0 whose logic level is high indicates that the trigger operation unit 20 has been turned on. While the power supply voltage is not supplied to the control circuit 23 and the control circuit 23 is stopped operating, the logic level of the trigger detection information ST0 is maintained at a low level.
[0177] When the control circuit 23 outputs the motor drive command SD during the enabling period, the control circuit 23 stores in the memory 25 a motor drive history indicating that the motor 21 has been driven.
[0178] The control circuit 23 has an abnormality detection function. Specifically, the abnormality detection function has an overvoltage detection function, an overcurrent detection function, and an overheat detection function. The abnormality detection function is executed in the control circuit 23 by the CPU 24 executing a main process described later. In other words, these abnormality detection functions are executed based on software.
[0179] The overvoltage detection function is a function for detecting the above-mentioned overvoltage state. The control circuit 23 detects the overvoltage state based on the input battery voltage value indicated by the voltage signal SV received from the overvoltage detection circuit 50. For example, the control circuit 23 may determine that an overvoltage state has occurred when the input battery voltage value is equal to or greater than a second voltage threshold. The second voltage threshold may be, for example, a value higher than the above-mentioned normal voltage range. The second voltage threshold may be, for example, the same value as the first voltage threshold, or may be greater than or less than the first voltage threshold.
[0180] The overcurrent detection function is a function for detecting the above-mentioned overcurrent state. The control circuit 23 detects the overcurrent state based on the motor current value indicated by the current signal SC received from the current detection circuit 55. For example, the control circuit 23 may determine that an overcurrent state has occurred when the motor current value is equal to or greater than a second current threshold. The second current threshold may be, for example, a value higher than the above-mentioned normal current range. The second current threshold may be, for example, the same value as the first current threshold, or may be greater than the first current threshold, or may be less than the first current threshold.
[0181] More specifically, the overheat detection function includes a first overheat detection function, a second overheat detection function, and a third overheat detection function.
[0182] The first overheat detection function is a function for detecting the above-mentioned U-phase overheat state. The control circuit 23 detects the U-phase overheat state based on the U-phase temperature indicated by the first temperature signal STM1 received from the first overheat detection circuit 61. For example, the control circuit 23 may determine that the U-phase overheat state has occurred when the U-phase temperature is equal to or higher than the second U-phase temperature threshold. The second U-phase temperature threshold may be a value higher than the above-mentioned normal temperature range. The second U-phase temperature threshold may be, for example, the same value as the first U-phase temperature threshold, or may be greater than the first U-phase temperature threshold, or may be smaller than the first U-phase temperature threshold.
[0183] The second overheat detection function is a function for detecting the above-mentioned V-phase overheat state. The control circuit 23 detects the V-phase overheat state based on the V-phase temperature indicated by the second temperature signal STM2 received from the second overheat detection circuit 62. For example, the control circuit 23 may determine that the V-phase overheat state has occurred when the V-phase temperature is equal to or higher than the second V-phase temperature threshold. The second V-phase temperature threshold may be a value higher than the above-mentioned normal temperature range. The second V-phase temperature threshold may be, for example, the same value as the first V-phase temperature threshold, or may be greater than the first V-phase temperature threshold, or may be smaller than the first V-phase temperature threshold.
[0184] The third overheat detection function is a function for detecting the above-mentioned W-phase overheat state. The control circuit 23 detects the W-phase overheat state based on the W-phase temperature indicated by the third temperature signal STM3 received from the third overheat detection circuit 63. For example, the control circuit 23 may determine that the W-phase overheat state has occurred when the W-phase temperature is equal to or higher than the second W-phase temperature threshold. The second W-phase temperature threshold may be a value higher than the above-mentioned normal temperature range. The second W-phase temperature threshold may be, for example, the same value as the first W-phase temperature threshold, or may be greater than or less than the first W-phase temperature threshold.
[0185] The second U-phase temperature threshold, the second V-phase temperature threshold, and the second W-phase temperature threshold may be the same value, any two of them may be the same value, or they may all be different values.
[0186] The control circuit 23 executes a forced stop function while outputting the motor drive command SD. The forced stop function includes stopping the output of the motor drive command SD and stopping the motor 21 in response to detection of any abnormality by the abnormality detection function described above, even if the trigger operation unit 20 is turned on. The forced stop function includes storing an abnormal drive history in the memory 25. The abnormal drive history indicates that an abnormality was detected while the motor was being driven.
[0187] (3) Explanation of self-diagnosis function The control circuit 23 has a self-diagnosis function that executes a plurality of self-diagnosis tests corresponding to a plurality of diagnosis items one by one in a prescribed order at the corresponding diagnosis timing.
[0188] In this embodiment, the multiple diagnostic items include, for example, a first diagnostic item, a second diagnostic item, a third diagnostic item, a fourth diagnostic item, a fifth diagnostic item, and a sixth diagnostic item. The first diagnostic item is a trigger detection function diagnosis. The second diagnostic item is a power supply line function diagnosis. The third diagnostic item is a first overheat protection function diagnosis. The fourth diagnostic item is a second overheat protection function diagnosis. The fifth diagnostic item is a third overheat protection function diagnosis. The sixth diagnostic item is an overvoltage protection function diagnosis.
[0189] The prescribed order for performing the self-diagnosis of each diagnostic item may be any order. In the present embodiment, for example, the prescribed order is the first diagnostic item, the second diagnostic item, the third diagnostic item, the fourth diagnostic item, the fifth diagnostic item, the fifth diagnostic item, and the sixth diagnostic item. After the sixth diagnostic item, the first diagnostic item is performed again, and the diagnostics are performed again in the above order from the first diagnostic item.
[0190] The timing of diagnosis of each diagnostic item corresponds to the disabling timing, except for the timing of diagnosis of the power supply line function diagnosis. The disabling timing is the time when the main operation is disabled. The disabling timing may correspond to any timing between immediately after the main operation is disabled and a certain time has elapsed.
[0191] One of the reasons why the diagnostic timing of each diagnostic item other than the power supply line function diagnosis is set to the disabling timing is as follows. That is, the control circuit 23 of this embodiment is configured to interrupt the self-diagnosis when the trigger operation unit 20 is turned on during the execution of the self-diagnosis. If the self-diagnosis is executed at a timing when the trigger operation unit 20 is unlikely to be turned on, the possibility of interrupting the self-diagnosis is also low. The disabling timing can be considered to correspond to the timing when the user of the electric work machine 1 expresses his / her intention to end the work using the electric work machine 1. It is expected that the trigger operation unit 20 is unlikely to be turned on for a while after this timing. Therefore, in this embodiment, the diagnostic timing of each diagnostic item is set to the disabling timing, except for the diagnostic timing of the power supply line function diagnosis.
[0192] The control circuit 23 does not execute self-diagnosis at the disabling timing if no motor drive history was stored during the immediately preceding enabling period, or if an abnormal drive history was stored during the immediately preceding enabling period. In this case, the diagnostic item at the next diagnostic timing is set again to the diagnostic item that was not executed this time. The immediately preceding enabling period means the enabling period immediately preceding the disabling timing. If no motor drive history was stored during the immediately preceding enabling period, it means that the motor 21 was not driven during the immediately preceding enabling period. If an abnormal drive history was stored during the immediately preceding enabling period, it means that an abnormality was detected when the motor 21 was driven during the immediately preceding enabling period, and the motor 21 was stopped.
[0193] The timing of executing the power supply line function diagnosis corresponds to, for example, the enabling timing. The enabling timing is when the main operation is enabled. The enabling timing may correspond to any timing between immediately after the main operation is enabled and a certain time has elapsed.
[0194] The control circuit 23 stores in the memory 25 a self-diagnosis history indicating the results of the self-diagnosis for each diagnostic item. Specifically, if the result of the diagnosis indicates an abnormality, the control circuit 23 stores information indicating the abnormality determination as the self-diagnosis history. In this case, at the next enabling timing, the control circuit 23 performs a self-diagnosis again for the same diagnostic item as this time. If the result of the diagnosis indicates a normal condition, the control circuit 23 stores information indicating a normal condition determination as the self-diagnosis history.
[0195] If the diagnosis is not completed normally and is interrupted, the control circuit 23 executes the self-diagnosis of the same diagnostic item again at the regular diagnostic timing corresponding to the diagnostic item that first arrives after the interruption.
[0196] In the trigger detection function diagnosis, the control circuit 23 diagnoses whether the trigger detection circuit 80 and the cutoff latch circuit 70 operate normally. Specifically, the control circuit 23 outputs a first pseudo signal SF1 to the trigger detection circuit 80 to set the first trigger information ST1 to pseudo information indicating a trigger-on state (i.e., high level).
[0197] While the control circuit 23 is outputting the first pseudo signal SF1, the control circuit 23 executes a diagnosis based on the first trigger information ST1, the second trigger information ST2, and the cutoff information SS received by the control circuit 23. When the trigger detection function diagnosis is executed, the main power switch 30 is off. Therefore, if the trigger detection circuit 80 and the cutoff latch circuit 70 are normal, when the first pseudo signal SF1 is output, the first trigger information ST1 goes to high level, the second trigger information ST2 goes to low level, and the cutoff information SS goes to low level.
[0198] If the above information is proper (i.e., the first trigger information ST1 is at a high level, and the second trigger information ST2 and the cutoff information SS are at a low level), the control circuit 23 determines that the trigger detection circuit 80 and the cutoff latch circuit 70 are operating normally. In this case, the control circuit 23 determines that the self-diagnosis result is normal, and stores in the memory 25 a self-diagnosis history indicating the normal determination.
[0199] If the first trigger information ST1 is not correct, the control circuit 23 determines that the trigger detection circuit 80 is not operating normally. In this case, the control circuit 23 determines that the self-diagnosis result is abnormal, and stores in the memory 25 a self-diagnosis history indicating the abnormality determination.
[0200] If the shutoff information SS is not appropriate, the control circuit 23 determines that the trigger detection circuit 80 or the shutoff latch circuit 70 is not operating normally. In this case, the control circuit 23 determines that the self-diagnosis result is abnormal, and stores in the memory 25 a self-diagnosis history indicating the abnormality determination.
[0201] If the second trigger information ST2 is not proper information, the control circuit 23 may determine that the trigger detection circuit 80 is not operating normally, but in this embodiment, the control circuit 23 interrupts the diagnosis.
[0202] In the power supply line function diagnosis, the control circuit 23 diagnoses whether the first switching circuit 36 and the second switching circuit 46 operate normally.
[0203] Specifically, the control circuit 23 outputs the third discharge permission signal SA3 when the control circuit 23 does not receive the first discharge permission signal SA1 from the first battery pack 5. The control circuit 23 determines that the first switching circuit 36 is normal when the control circuit 23 receives the first off detection signal SB1 from the first off detection circuit 39 while the control circuit 23 is outputting the third discharge permission signal SA3 (i.e., when the switches 32, 37 are off). The control circuit 23 determines that the first switching circuit 36 is abnormal when the control circuit 23 no longer receives the first off detection signal SB1 from the first off detection circuit 39 while the control circuit 23 is outputting the third discharge permission signal SA3.
[0204] The control circuit 23 further outputs a fourth discharge permission signal SA4 when it does not receive the second discharge permission signal SA2 from the second battery pack 7. The control circuit 23 determines that the second switching circuit 46 is normal when it receives the second off detection signal SB2 from the second off detection circuit 49 while it is outputting the fourth discharge permission signal SA4 (i.e., when the switches 42, 47 are off). The control circuit 23 determines that the second switching circuit 46 is abnormal when it no longer receives the second off detection signal SB2 from the second off detection circuit 49 while it is outputting the fourth discharge permission signal SA4.
[0205] If the control circuit 23 does not determine that the power supply line function is abnormal in the power supply line function diagnosis, the control circuit 23 determines that the self-diagnosis result is normal. In this case, the control circuit 23 stores a self-diagnosis history indicating a normal determination in the memory 25. If the control circuit 23 determines that either the first switching circuit 36 or the second switching circuit 46 is abnormal, the control circuit 23 determines that the self-diagnosis result is abnormal. In this case, the control circuit 23 stores a self-diagnosis history indicating an abnormality determination in the memory 25.
[0206] One of the reasons why the diagnosis timing of the power supply line function diagnosis is set to the enabling timing is as follows. For example, when the battery abnormality detection circuit 12 does not detect an abnormality in the first battery pack 5, it outputs the first discharge permission signal SA1 based on the trigger detection information ST0. More specifically, in response to recognizing that the trigger operation unit 20 has been turned on based on the trigger detection information ST0, the battery abnormality detection circuit 12 outputs the first discharge permission signal SA1 for a certain period from the time of the recognition. Depending on the usage situation of the electric working machine 1 by the user, the main operation may be disabled before the certain period has elapsed since the trigger operation unit 20 was turned on. In other words, the main operation may be disabled while the first discharge permission signal SA1 is being output. In this case, since the first discharge permission signal SA1 is being output, the power supply line function diagnosis cannot be performed appropriately. On the other hand, the enabling timing is a state in which the user is about to use the electric working machine 1, and it is unlikely that the first discharge permission signal SA1 is being output. Therefore, in this embodiment, the timing of the power supply line function diagnosis is set to the enabling timing.
[0207] In the first overheat protection function diagnosis, the control circuit 23 diagnoses whether the first overheat detection circuit 61 and the cutoff latch circuit 70 operate normally. Specifically, the control circuit 23 outputs a third pseudo signal SF31 to the first overheat detection circuit 61 to generate a pseudo U-phase overheat state. While the control circuit 23 is outputting the third pseudo signal SF31, the control circuit 23 executes the diagnosis based on the first temperature signal STM1 and the abnormality detection information Sor received by the control circuit 23.
[0208] When the U-phase temperature indicated by the first temperature signal STM1 is equal to or higher than a specific U-phase threshold and the abnormality detection information Sor is at a high level, the control circuit 23 determines that the first overheat detection circuit 61 and the cutoff latch circuit 70 operate normally. In this case, the control circuit 23 determines that the self-diagnosis result is normal and stores a self-diagnosis history indicating the normal determination in the memory 25. The U-phase threshold may be any value. The U-phase threshold may be, for example, a specific value higher than the above-mentioned normal temperature range. The U-phase threshold may be, for example, the same value as the above-mentioned first U-phase temperature threshold or second U-phase temperature threshold.
[0209] When the U-phase temperature indicated by the first temperature signal STM1 is lower than the U-phase threshold, the control circuit 23 determines that the first overheat detection circuit 61 is not operating normally. In this case, the control circuit 23 determines that the self-diagnosis result is abnormal, and stores in the memory 25 a self-diagnosis history indicating the abnormality determination.
[0210] When the U-phase temperature indicated by the first temperature signal STM1 is equal to or higher than the U-phase threshold (i.e., the first overheat detection circuit 61 is normal) and the abnormality detection information Sor is at a low level, the control circuit 23 determines that the cutoff latch circuit 70 is not operating normally. In this case, the control circuit 23 determines that the self-diagnosis result is abnormal, and stores in the memory 25 a self-diagnosis history indicating the abnormality determination.
[0211] In the second overheat protection function diagnosis, the control circuit 23 outputs a fourth pseudo signal SF32 to the second overheat detection circuit 62. Then, the control circuit 23 diagnoses whether the second overheat detection circuit 62 and the cutoff latch circuit 70 operate normally based on the second temperature signal STM2 and the abnormality detection information Sor in the same manner as in the first overheat protection function diagnosis.
[0212] In the third overheat protection function diagnosis, the control circuit 23 outputs a fifth pseudo signal SF33 to the third overheat detection circuit 63. Then, the control circuit 23 diagnoses whether the third overheat detection circuit 63 and the cutoff latch circuit 70 operate normally based on the third temperature signal STM3 and the abnormality detection information Sor in the same manner as in the first overheat protection function diagnosis.
[0213] In the overvoltage protection function diagnosis, the control circuit 23 diagnoses whether the overvoltage detection circuit 50 and the cutoff latch circuit 70 are operating normally. Specifically, the control circuit 23 generates a pseudo overvoltage state by outputting a second pseudo signal SF2 to the overvoltage detection circuit 50. While outputting the second pseudo signal SF2, the control circuit 23 executes the diagnosis based on the voltage signal SV and the abnormality detection information Sor received by the control circuit 23.
[0214] When the input battery voltage value indicated by the voltage signal SV is equal to or higher than a specific voltage judgment threshold and the abnormality detection information Sor is at a high level, the control circuit 23 determines that the overvoltage detection circuit 50 and the cutoff latch circuit 70 are operating normally. In this case, the control circuit 23 determines that the self-diagnosis result is normal, and stores a self-diagnosis history indicating the normal judgment in the memory 25. The voltage judgment threshold may be any value. The voltage judgment threshold may be, for example, a specific value higher than the above-mentioned normal voltage range. The voltage judgment threshold may be, for example, the same value as the above-mentioned first voltage threshold or second voltage threshold.
[0215] When the input battery voltage value indicated by the voltage signal SV is lower than the voltage determination threshold, the control circuit 23 determines that the overvoltage detection circuit 50 is not operating normally. In this case, the control circuit 23 determines that the self-diagnosis result is abnormal, and stores in the memory 25 a self-diagnosis history indicating the abnormality determination.
[0216] When the input battery voltage value indicated by the voltage signal SV is equal to or higher than the voltage determination threshold (i.e., the overvoltage detection circuit 50 is normal) while the abnormality detection information Sor is at a low level, the control circuit 23 determines that the overvoltage detection circuit 50 is not operating normally. In this case, the control circuit 23 determines that the self-diagnosis result is abnormal, and stores in the memory 25 a self-diagnosis history indicating the abnormality determination.
[0217] (4) Example of self-diagnosis Next, an example of the self-diagnosis function performed by the control circuit 23 will be described with reference to FIGS.
[0218] First, a first execution example shown in Fig. 5 will be described. The first execution example shows a case where the result of each self-diagnosis is normal. In the first execution example, the diagnostic item to be executed first after time t1 is set as the first diagnostic item.
[0219] In the first execution example, the main operation is enabled at time t1. Since the diagnostic timing of the first diagnostic item corresponds to the disabling timing, the self-diagnosis of the first diagnostic item is not yet executed at time t1.
[0220] In the first execution example, after the main operation is enabled at time t1, the main operation is disabled at time t2 without driving the motor 21. Time t2 corresponds to the timing of diagnosis of the first diagnostic item. However, since the motor 21 was not driven during the immediately preceding enabling period corresponding to time t2, the self-diagnosis of the first diagnostic item is not performed at time t2.
[0221] In the first execution example, the main operation is enabled at time t3, and then disabled at time t4. The trigger operation unit 20 is turned on for a predetermined period between time t3 and time t4. In the first execution example, while the trigger operation unit 20 is turned on, the motor 21 is driven normally without abnormally stopping. At time t4, a self-diagnosis of the first diagnostic item is executed based on the fact that time t4 corresponds to the diagnosis timing of the first diagnostic item. The first execution example shows an example in which the self-diagnosis of the first diagnostic item started at time t4 results in a normal result.
[0222] In the first execution example, the main operation is enabled at time t5. At time t5, the self-diagnosis of the second diagnostic item is executed based on the fact that the diagnostic item of the self-diagnosis to be executed next (hereinafter referred to as the "next diagnostic item") is the second diagnostic item and the diagnostic timing of the second diagnostic item corresponds to the enabling timing. The fact that the next diagnostic item is the second diagnostic item is based on the fact that the diagnostic result of the first diagnostic item executed at time t4 was normal. The first execution example shows an example in which the self-diagnosis of the second diagnostic item started at time t5 obtained a normal result.
[0223] In the first execution example, the main operation is disabled at time t6, and enabled at time t7. At time t7, the next diagnostic item is the third diagnostic item. The fact that the next diagnostic item is the third diagnostic item is based on the fact that the diagnostic result of the second diagnostic item executed at time t5 was normal. The diagnostic timing of the third diagnostic item corresponds to the disabling timing. Therefore, the self-diagnosis of the third diagnostic item has not yet been executed at time t7.
[0224] In the first execution example, the main operation is disabled at time t8. The trigger operation unit 20 is turned on for a predetermined period between time t7 and time t8. While the trigger operation unit 20 is turned on, the motor 21 is driven. However, in the first execution example, an abnormality is detected by the abnormality detection function while the motor 21 is being driven, so that the on-operation of the trigger operation unit 20 is invalidated and the motor 21 is stopped.
[0225] Time t8 corresponds to the timing for diagnosing the third diagnostic item that should be executed next. However, in the immediately preceding enabling period corresponding to time t8, as described above, an abnormality was detected and the motor 21 was stopped. Therefore, the self-diagnosis of the third diagnostic item is not executed at time t8.
[0226] In the first execution example, the main operation is enabled at time t9. Since the diagnostic timing of the third diagnostic item corresponds to the disabling timing, the self-diagnosis of the third diagnostic item is not yet executed at time t9.
[0227] In the first execution example, the main operation is disabled at time t10. The trigger operating unit 20 is turned on for a predetermined period between time t9 and time t10. In the first execution example, while the trigger operating unit 20 is turned on, the motor 21 is driven normally without abnormally stopping. At time t10, since time t10 corresponds to the diagnosis timing of the third diagnostic item, a self-diagnosis of the third diagnostic item is executed. The first execution example shows an example in which the self-diagnosis of the third diagnostic item started at time t10 results in a normal result.
[0228] In the first execution example, the main operation is enabled at time t11. At time t11, the next diagnostic item is the fourth diagnostic item. The fact that the next diagnostic item is the fourth diagnostic item is based on the fact that the diagnostic result of the third diagnostic item executed at time t10 was normal. The diagnostic timing of the fourth diagnostic item corresponds to the disabling timing. Therefore, at time t11, the self-diagnosis of the fourth diagnostic item has not yet been executed.
[0229] In the first execution example, the main operation is disabled at time t12. The trigger operating unit 20 is turned on for a predetermined period between time t11 and time t12. In the first execution example, while the trigger operating unit 20 is turned on, the motor 21 is driven normally without abnormally stopping. At time t12, since time t12 corresponds to the diagnosis timing of the fourth diagnostic item, a self-diagnosis of the fourth diagnostic item is executed. The first execution example shows an example in which the self-diagnosis of the fourth diagnostic item started at time t12 results in a normal result.
[0230] In the first execution example, the main operation is enabled at time t13. At time t13, the next diagnostic item is the fifth diagnostic item. The fact that the next diagnostic item is the fifth diagnostic item is based on the fact that the diagnostic result of the fourth diagnostic item executed at time t12 was normal. The diagnostic timing of the fifth diagnostic item corresponds to the disabling timing. Therefore, at time t13, the self-diagnosis of the fifth diagnostic item has not yet been executed.
[0231] Next, a second execution example shown in Fig. 6 will be described. The second execution example includes a case where the self-diagnosis result indicates an abnormality. In the second execution example, the diagnosis item to be executed first after time t21 is set as the first diagnosis item.
[0232] 6, in the second execution example, the main operation is enabled at time t21 and disabled at time t22. The trigger operation unit 20 is turned on for a predetermined period between time t21 and time t22. While the trigger operation unit 20 is turned on, the motor 21 is driven normally without being stopped abnormally.
[0233] At time t22, the self-diagnosis of the first diagnostic item is executed based on the fact that time t22 corresponds to the diagnosis timing of the first diagnostic item. The second execution example shows an example in which the self-diagnosis of the first diagnostic item started at time t22 results in an abnormality.
[0234] In the second execution example, the main operation is enabled at time t23. At time t23, the next diagnostic item continues to be the first diagnostic item. The reason that the next diagnostic item continues to be the first diagnostic item is based on the fact that the diagnostic result of the first diagnostic item in the previous self-diagnosis executed at time t22 was abnormal.
[0235] The timing of diagnosis of the first diagnostic item essentially corresponds to the disabling timing. However, in this embodiment, when the result of the previous self-diagnosis is abnormal and the same diagnostic item is performed again, the timing of diagnosis becomes the enabling timing. Therefore, the self-diagnosis of the first diagnostic item is performed again at the enabling timing of time t23. The second execution example shows an example in which the self-diagnosis of the first diagnostic item started at time t23 also results in an abnormality. In this case, as exemplified at times t23 to t24 in FIG. 6, the motor 21 is not driven even if the trigger operation unit 20 is turned on.
[0236] In the second execution example, the main operation is disabled at time t24 and enabled at time t25. In this case, similarly to time t23, the self-diagnosis of the first diagnostic item is executed again at the enabling timing of time t25 based on the fact that the previous self-diagnosis result of the first diagnostic item was abnormal. The second execution example shows an example in which the self-diagnosis of the first diagnostic item started at time t25 also results in an abnormality. In this case, as exemplified at times t25 to t26 in FIG. 6, the motor 21 is not driven even if the trigger operation unit 20 is turned on.
[0237] In the second execution example, the main operation is disabled at time t26 and enabled at time t27. In this case, similarly to times t23 and t25, the self-diagnosis of the first diagnostic item is executed again at the enabling timing of time t27 based on the fact that the previous self-diagnosis result of the first diagnostic item was abnormal. The second execution example shows an example in which the self-diagnosis started at time t27 gives a normal result. In this case, as exemplified at times t27 to t28 in FIG. 6, when the trigger operation unit 20 is turned on, the motor 21 is driven.
[0238] In the second execution example, the main operation is disabled at time t28 and enabled at time t29. At time t29, the next diagnostic item is the second diagnostic item, and a self-diagnosis of the second diagnostic item is executed based on the fact that the diagnostic timing of the second diagnostic item corresponds to the enabling timing. The fact that the next diagnostic item is the second diagnostic item is based on the fact that the diagnostic result of the first diagnostic item in the previous self-diagnosis executed at time t27 was normal. The second execution example shows an example in which the self-diagnosis started at time t29 results in an abnormality.
[0239] In the second execution example, the main operation is disabled at time t30 and enabled at time t31. At time t31, the self-diagnosis of the second diagnostic item is executed again based on the fact that the diagnostic result of the second diagnostic item in the previous self-diagnosis was abnormal. The second execution example shows an example in which the self-diagnosis started at time t31 also results in an abnormality.
[0240] In the second execution example, the main operation is disabled at time t32 and enabled at time t33. In this case, similar to time t31, the self-diagnosis of the second diagnostic item is executed again at the enabling timing of time t33 based on the fact that the previous self-diagnosis result of the second diagnostic item was abnormal. The second execution example shows an example in which the self-diagnosis started at time t33 obtained a normal result.
[0241] Next, a third execution example shown in Fig. 7 will be described. The third execution example includes a case where the self-diagnosis is interrupted. In the third execution example, the diagnosis item to be executed first after time t41 is set to the first diagnosis item.
[0242] In the third execution example, the operation between time t41 and time t47 is similar to the operation between time t1 and time t7 in the first execution example shown in Fig. 5. Therefore, a description of the operation between time t41 and time t47 will be omitted.
[0243] In the third execution example, the main operation is enabled at time t47, and disabled at time t48. The trigger operation unit 20 is turned on for a predetermined period between time t47 and time t48. In the third execution example, while the trigger operation unit 20 is turned on, the motor 21 is driven normally without being stopped abnormally.
[0244] At time t48, the self-diagnosis of the third diagnostic item is executed based on the fact that time t48 corresponds to the diagnosis timing of the third diagnostic item. The third execution example shows an example in which the self-diagnosis started at time t48 is interrupted before it is normally completed. When an interruption condition is satisfied during the execution of the self-diagnosis, the control circuit 23 interrupts the self-diagnosis. The interruption condition may include any condition. For example, the interruption condition may be satisfied when the trigger operation unit 20 is turned on.
[0245] In the third execution example, the main operation is enabled at time t49. In this embodiment, when the self-test is interrupted, the next test item remains the interrupted test item.
[0246] However, the timing of the next diagnosis after the self-diagnosis is interrupted is different from the timing of the next diagnosis when the self-diagnosis result is abnormal. Specifically, the timing of the next diagnosis after the self-diagnosis is interrupted corresponds to the specified timing of diagnosis corresponding to the diagnosis item.
[0247] Therefore, the self-diagnosis of the third diagnostic item is not executed at time t49, and is executed at the disabling timing of time t50. The third execution example shows an example in which the self-diagnosis started at time t50 gives a normal result. As exemplified from time t49 to t50 in FIG. 7, if the self-diagnosis is interrupted during the previous self-diagnosis, the driving of the motor 21 is not restricted during the next enabling period, and the motor 21 is driven when the trigger operation unit 20 is turned on. The operation after time t51 is the same as the operation after time t11 in the first execution example shown in FIG. 5. Therefore, the description of the operation after time t51 is omitted.
[0248] (5) Main processing Next, the main processing executed by the control circuit 23 will be described with reference to Figs. 8 to 14. The CPU 24 of the control circuit 23 executes the main processing based on the program of the main processing stored in the memory 25 during a predetermined execution period. The predetermined execution period may be, for example, the period from when the main power switch 30 is turned on until the self-diagnosis processing of S180, which will be described later, is completed immediately after the main power switch 30 is turned off. Each execution example illustrated in Figs. 5 to 7 is performed by the CPU 24 executing the main processing.
[0249] When the CPU 24 starts the main process, it determines in S110 whether or not the time base has elapsed since the previous transition from S110 to S120. The time base means a control period. The control period may be any length of time. When the time base has elapsed in S110, the process transitions to S120.
[0250] In S120, the CPU 24 executes a switch operation detection process. Specifically, the CPU 24 detects the operation state of the trigger operation unit 20 by the user of the electric work machine 1 based on the first trigger information ST1 and the second trigger information ST2. The CPU 24 outputs trigger detection information ST0 corresponding to the detected operation state from the control circuit 23 to the first battery pack 5 and the second battery pack 7.
[0251] In S130, the CPU 24 executes battery state processing. Details of the battery state processing are as shown in Fig. 9. That is, when the CPU 24 moves to the battery state processing, in S210, it executes battery communication processing. Specifically, the CPU 24 performs specific data communication with the first battery pack 5 and the second battery pack 7. The battery communication processing includes a process of acquiring a first discharge permission signal SA1 and a process of acquiring a second discharge permission signal SA2.
[0252] In S220, the CPU 24 executes a discharge permission setting process. Specifically, when the first discharge permission signal SA1 and the second discharge permission signal SA2 are acquired in the battery communication process in S210, the CPU 24 outputs the third discharge permission signal SA3 or the fourth discharge permission signal SA4 from the control circuit 23. When the first discharge permission signal SA1 is acquired but the second discharge permission signal SA2 is not acquired in the battery communication process in S210, the CPU 24 outputs the third discharge permission signal SA3 from the control circuit 23. When the second discharge permission signal SA2 is acquired but the first discharge permission signal SA1 is not acquired in the battery communication process in S210, the CPU 24 outputs the fourth discharge permission signal SA4 from the control circuit 23. When the third discharge permission signal SA3 is output from the control circuit 23, the switch unit 37 is turned on, and battery power can be supplied from the first battery pack 5 to the motor drive circuit 22. When the fourth discharge permission signal SA4 is output from the control circuit 23, the switch unit 47 of the second switching circuit 46 is turned on, enabling battery power to be supplied from the second battery pack 7 to the motor drive circuit 22. When the discharge permission setting process of S220 ends, the process proceeds to S140 (see FIG. 8).
[0253] In S140, the CPU 24 executes an AD conversion process. Specifically, the CPU 24 controls an AD conversion circuit (not shown) to convert various analog signals input to the control circuit 23 into digital values processable by the CPU 24. The CPU 24 acquires the digital values converted by the AD conversion circuit.
[0254] In S150, the CPU 24 executes the abnormality detection process. Specifically, the CPU 24 executes the abnormality detection functions described above. That is, the CPU 24 executes an overvoltage detection function based on the voltage signal SV, an overcurrent detection function based on the current signal SC, a first overheat detection function based on the first temperature signal STM1, a second overheat detection function based on the second temperature signal STM2, and a third overheat detection function based on the third temperature signal STM3.
[0255] In S160, the CPU 24 executes a motor control process. The details of the motor control process are as shown in Fig. 10. When the CPU 24 moves to the motor control process, in S310, the CPU 24 determines whether or not the trigger operation unit 20 is turned on based on the first trigger information ST1 and the second trigger information ST2.
[0256] If the trigger operating unit 20 is turned off, the process proceeds to S350. If the trigger operating unit 20 is turned on, the process proceeds to S320. In S320, the CPU 24 determines whether an abnormality has been detected in one or more of the detection functions in the abnormality detection process of S150. If an abnormality has been detected in the abnormality detection process, the process proceeds to S350. If no abnormality has been detected in the abnormality detection process, the CPU 24 further determines whether the cut-off information SS indicates command permission. If the cut-off information SS indicates command permission, the CPU 24 determines that no abnormality has occurred in the electric working machine 1 and proceeds to S330. If the cut-off information SS indicates command cut-off, the CPU 24 determines that an abnormality has occurred in the electric working machine 1 and proceeds to S350.
[0257] In S330, the CPU 24 determines whether or not a self-diagnosis status, which will be described later, is set to "abnormal." If the self-diagnosis status is set to "abnormal," the process proceeds to S350. If the self-diagnosis status is not set to "abnormal," the process proceeds to S340.
[0258] In S340, the CPU 24 executes a motor drive process. Specifically, the CPU 24 calculates various parameters. The various parameters are used by the CPU 24 to control the motor drive circuit 22 to drive the motor 21. The CPU 24 further drives the motor 21 by outputting a motor drive command SD to the motor drive circuit 22 according to the various calculated parameters. After the process of S340 is performed, the process proceeds to S170 (see FIG. 8).
[0259] In S350, the CPU 24 judges whether or not it is necessary to brake the motor 21. The transition to S350 means that it is necessary to stop the motor 21. The processes of S350 to S370 are processes for appropriately stopping the motor 21.
[0260] In S350, the CPU 24 determines whether or not it is necessary to brake the motor 21 based on, for example, a rotation signal input from a rotation sensor (not shown). The rotation signal indicates the rotation state of the motor 21. For example, when the motor 21 is rotating at a specified speed or higher, it is necessary to brake the motor 21. If it is necessary to brake the motor 21, the process proceeds to S360. In S360, the CPU 24 sets a brake flag. This causes braking to be performed. Specifically, the CPU 24 performs braking in response to the brake flag being set in a brake process that is performed separately from and in parallel with the main process. After the process of S360 is performed, the process proceeds to S170.
[0261] If it is determined in S350 that there is no need to apply the brakes, the process proceeds to S370. For example, there is no need to apply the brakes when the motor 21 is already stopped. In S370, the CPU 24 clears the brake flag. As a result, in the above-mentioned brake process, the brakes are stopped in response to the brake flag being cleared. After the process of S370 is executed, the process proceeds to S170. As described above, in the motor control process, if it is determined that there is no abnormality in S320 and the self-diagnosis status is not set to "abnormal" in S330, the process proceeds to S340 and the motor drive command SD is output. On the other hand, if an abnormality is determined in S320 or the self-diagnosis status is set to "abnormal" in S330, the motor drive command SD is not output and the motor 21 is not driven.
[0262] In S170, the CPU 24 executes a display process. Specifically, the CPU 24 displays various information on the display panel 171.
[0263] In S180, the CPU 24 executes a self-diagnosis process. Details of the self-diagnosis process are as shown in Fig. 11. When the CPU 24 moves to the self-diagnosis process, in S410, the CPU 24 executes a self-diagnosis history read process. Details of the self-diagnosis history read process are as shown in Fig. 12.
[0264] When the CPU 24 proceeds to the self-diagnosis history read process, it determines in S510 whether or not the self-diagnosis history most recently written to the memory 25 has already been read. The self-diagnosis history most recently written to the memory 25 indicates the result of the previously executed self-diagnosis. The self-diagnosis history is written to the memory 25 in S830 or S850 in the self-diagnosis history write process shown in FIG. 14 and described below.
[0265] If the self-diagnosis history has already been read in S510, the process proceeds to S420 (see FIG. 11). If the self-diagnosis history has not yet been read, the process proceeds to S520. In S520, the CPU 24 reads from the memory 25 the self-diagnosis history that was written to the memory 25 in the most recent process of S830 or S850.
[0266] In S530, the CPU 24 judges whether or not the self-diagnosis history read in S520 indicates a normal judgment. If the self-diagnosis history read in S520 indicates a normal judgment, the process proceeds to S540. In S540, the CPU 24 sets the next diagnostic item (i.e., the diagnostic item of the self-diagnosis to be executed this time, in other words, the diagnostic item of the self-diagnosis to be executed first from now on) to the diagnostic item next to the previously executed diagnostic item in the above-mentioned specified order. In S550, the CPU 24 sets the self-diagnosis status to "untested". After the process of S550 is executed, the process proceeds to S420 (see FIG. 11). The self-diagnosis status is reset to a specified initial value every time the main operation is disabled or enabled.
[0267] At S530, if the self-diagnosis history read out at S520 does not indicate a normal judgment, the process proceeds to S560. At S560, the CPU 24 determines whether the self-diagnosis history read out at S520 indicates an abnormal judgment. If the self-diagnosis history read out at S520 indicates an abnormal judgment, the process proceeds to S570. At S570, the CPU 24 sets the next diagnostic item to the diagnostic item corresponding to the self-diagnosis history read out this time. That is, the CPU 24 sets the next diagnostic item to the same diagnostic item as the self-diagnosis executed last time.
[0268] In S580, the CPU 24 sets the self-diagnosis status to “abnormal.” After the self-diagnosis status is set to “abnormal” in S580, while the state in which the self-diagnosis status is set to “abnormal” continues, a positive determination is made in S330 (see FIG. 10) and the motor 21 is not driven.
[0269] In S590, the CPU 24 sets a self-diagnosis request flag. The self-diagnosis request flag is cleared every time the main operation is disabled or enabled. After the process of S590 is executed, the process proceeds to S420 (see FIG. 11).
[0270] If the read self-diagnosis history does not indicate an abnormality in S560, the process proceeds to S600. In this case, for example, it is possible that the self-diagnosis history was not written correctly when the previous self-diagnosis was performed, or that the self-diagnosis history has not been written yet. Therefore, in S600, the CPU 24 sets the next diagnosis item to the initial (first) diagnosis item in the specified order. In S610, the CPU 24 sets the self-diagnosis status to "untested." After the process of S610 is performed, the process proceeds to S420 (see FIG. 11).
[0271] In S420, the CPU 24 executes a self-diagnosis execution process. Details of the self-diagnosis execution process are as shown in Fig. 13. When the CPU 24 moves to the self-diagnosis execution process, in S710, it determines whether or not a self-diagnosis start condition is met.
[0272] The self-diagnosis start condition differs depending on the specified diagnostic timing corresponding to the next diagnostic item. That is, the self-diagnosis start condition of a diagnostic item whose specified diagnostic timing corresponds to the enabling timing (the power supply line function diagnosis of the second diagnostic item in this embodiment) is met when the enabling timing arrives. The main processing is started when the main operation is enabled. Therefore, after the start of the main processing, if the specified diagnostic timing corresponding to the next diagnostic item corresponds to the enabling timing, it is determined in S710 that the self-diagnosis start condition is met.
[0273] The self-diagnosis start condition for a diagnostic item whose specified diagnostic timing corresponds to the disabling timing is met when the following (i) and (ii) are satisfied. (i) The disabling timing has arrived. (ii) The motor drive command SD is output during the immediately preceding enabling period (i.e., the motor 21 is being driven), and the motor 21 is not stopped due to an abnormality.
[0274] The above (ii) may be determined based on the motor drive history and abnormal drive history described above.
[0275] If the self-diagnosis start condition is not met in S710, the process proceeds to S730. If the self-diagnosis start condition is met in S710, the process proceeds to S720. In S720, the CPU 24 sets a self-diagnosis request flag.
[0276] In S730, the CPU 24 determines whether or not the self-diagnosis request flag is set. If the self-diagnosis request flag is not set, the process proceeds to S430 (see FIG. 11). If the self-diagnosis request flag is set, the process proceeds to S740. In S740, the self-diagnosis of the next diagnosis item is performed.
[0277] Basically, self-diagnosis is performed in S740 when the self-diagnosis start condition is satisfied for the next diagnosis item in S710 and the self-diagnosis request flag is set in S720. If the self-diagnosis start condition is not satisfied, the self-diagnosis in S740 is not performed. However, if the same diagnosis item is to be self-diagnosed again because an abnormality was detected in the previous self-diagnosis, the self-diagnosis request flag is set in S590 in FIG. 12. Therefore, in this case, even if the self-diagnosis start condition is not satisfied, a positive determination is made in S730 and the self-diagnosis is performed in S740. After the self-diagnosis in S740 ends, the process proceeds to S430 (see FIG. 11).
[0278] In S430, the CPU 24 executes a self-diagnosis history writing process. Details of the self-diagnosis history writing process are as shown in Fig. 14. When the CPU 24 proceeds to the self-diagnosis history writing process, in S810, the CPU 24 determines whether or not the self-diagnosis of the current diagnostic item has ended. If the self-diagnosis has been interrupted for some reason, the CPU 24 ends the self-diagnosis history writing process and proceeds to S110 (see Fig. 8).
[0279] If the self-diagnosis of the current diagnostic item is completed in S810, the process proceeds to S820. In S820, the CPU 24 judges whether the diagnostic result of the currently executed self-diagnosis is normal or not. If the diagnostic result is normal, the CPU 24 writes the self-diagnosis history to the memory 25 in S830. Specifically, the CPU 24 writes information indicating a normal judgment. In S830, the CPU 24 further sets the self-diagnosis status to, for example, "tested." As a result, if the main operation is not disabled at the time when the process of S830 is executed, a negative judgment is made in the process of S330 thereafter, and the motor 21 is driven by the process of S340. After the process of S830 is executed, the process proceeds to S110 (see FIG. 8).
[0280] If the diagnostic result is not normal in S820, the CPU 24 determines whether the diagnostic result is abnormal in S840. If the diagnostic result is not abnormal, it is possible that the diagnostic result was not obtained correctly due to some factor. Therefore, if the diagnostic result is not abnormal, the CPU 24 proceeds to S110 (see FIG. 8) without writing the self-diagnosis history.
[0281] If the diagnosis result is abnormal in S820, the CPU 24 writes the self-diagnosis history to the memory 25 in S850. Specifically, the CPU 24 writes information indicating the abnormality determination. In S850, the CPU 24 further sets the self-diagnosis status to "abnormal." Once the self-diagnosis status is set to "abnormal" in S850, a positive determination is made in the process of S330 (see FIG. 10) while the state in which the self-diagnosis status is set to "abnormal" continues, and the motor 21 is not driven. After the process of S850 is executed, the process proceeds to S110 (see FIG. 8).
[0282] (6) Trigger detection function diagnostic processing The first diagnostic item, trigger detection function diagnosis, includes a trigger detection function diagnosis process shown in Fig. 15. When the next diagnostic item set in S740 of Fig. 13 is the trigger detection function diagnosis, the CPU 24 executes the trigger detection function diagnosis process shown in Fig. 15.
[0283] When the CPU 24 starts the trigger detection function diagnosis process, in S1210, it outputs a first pseudo signal SF1 (a high-level binary signal). In S1220, the CPU 24 judges whether or not the first trigger information ST1 indicates an ON operation of the trigger operation unit 20. If the first trigger information ST1 does not indicate an ON operation of the trigger operation unit 20, the CPU 24 executes the process of S1260. In S1260, the CPU 24 judges that the diagnosis result is abnormal, sets the self-diagnosis status to "abnormal", and ends the trigger detection function diagnosis process. If the first trigger information ST1 indicates an ON operation of the trigger operation unit 20, the process proceeds to S1230.
[0284] In S1230, the CPU 24 determines whether or not the second trigger information ST2 indicates an OFF operation of the trigger operation unit 20. If the second trigger information ST2 does not indicate an OFF operation of the trigger operation unit 20, an abnormality may have occurred in the trigger detection circuit 80, but it is also possible that the user has turned on the trigger operation unit 20. Therefore, if the second trigger information ST2 does not indicate an OFF operation of the trigger operation unit 20, the CPU 24 interrupts the trigger detection function diagnosis of the first diagnosis item currently being executed in S1270.
[0285] If the second trigger information ST2 indicates an OFF operation of the trigger operating unit 20 at S1230, the process proceeds to S1240. At S1240, the CPU 24 determines whether the shutoff information SS indicates a command shutoff. If the shutoff information SS does not indicate a command shutoff, i.e., indicates command permission, the process proceeds to S1260. At S1260, the CPU 24 determines that the diagnosis result is abnormal and sets the self-diagnosis status to "abnormal." If the shutoff information SS indicates a command shutoff, the process proceeds to S1250. At S1250, the CPU 24 determines that the diagnosis result is normal, sets the self-diagnosis status to "normal," and ends the trigger detection function diagnosis process.
[0286] (7) Periodic check of the trigger detection function The control circuit 23 (more specifically, the CPU 24) of this embodiment executes a trigger-off detection check process shown in FIG. 16 and a trigger-on detection check process shown in FIG. 17 in parallel with the above-mentioned main process.
[0287] The trigger-off detection check process is a process for confirming whether or not it is possible to properly recognize that the trigger operation unit 20 has been operated to be turned off, based on the first trigger information ST1 and the second trigger information ST2.
[0288] The trigger-on detection check process is a process for confirming whether or not it is possible to properly recognize that the trigger operation unit 20 has been operated to be on, based on the first trigger information ST1 and the second trigger information ST2.
[0289] The trigger-off detection check process may be included in the main process. For example, in the main process of Fig. 8, the control circuit 23 may first perform the trigger-off detection check process after starting the main process, and then proceed to S110.
[0290] The trigger-on detection check process may be included in the above-mentioned main process. For example, in the motor control process of Fig. 10, the control circuit 23 may perform the trigger-on detection check process before the process of S330.
[0291] (7-1) Trigger off detection check process The control circuit 23 executes the trigger-off detection check process shown in Fig. 16, for example, every time the main operation is enabled, immediately after the main operation is enabled. When the control circuit 23 starts the trigger-off detection check process, in S1010, the control circuit 23 stops outputting the first pseudo signal SF1. Immediately after the main operation is enabled, the first pseudo signal SF1 is basically not output. Therefore, the process of S1010 is essentially a process of maintaining a state in which the first pseudo signal SF1 is not output.
[0292] In S1020, the control circuit 23 determines whether or not the first trigger information ST1 indicates an OFF operation of the trigger operating unit 20. If the first trigger information ST1 does not indicate an OFF operation of the trigger operating unit 20, there is a possibility that the main power switch 30 has been turned ON with the trigger operating unit 20 being turned ON. Therefore, if the first trigger information ST1 does not indicate an OFF operation of the trigger operating unit 20, the control circuit 23 repeats the process of S1020 until the first trigger information ST1 indicates an OFF operation of the trigger operating unit 20.
[0293] In S1020, if the first trigger information ST1 indicates an OFF operation of the trigger operating unit 20, the process proceeds to S1030. In S1030, the control circuit 23 determines whether or not the second trigger information ST2 indicates an OFF operation of the trigger operating unit 20. If the second trigger information ST2 does not indicate an OFF operation of the trigger operating unit 20, the process proceeds to S1020. If the second trigger information ST2 indicates an OFF operation of the trigger operating unit 20, the process proceeds to S1040.
[0294] The processing of S1040 to S1060 is the same as S1240 to S1260 in Fig. 15 described above. That is, if the shutoff information SS does not indicate a command shutoff, the control circuit 23 sets the self-diagnosis status to "abnormal" in S1060. If the shutoff information SS indicates a command shutoff, the control circuit 23 sets the self-diagnosis status to "normal" in S1050.
[0295] (7-2) Trigger-on detection check process The control circuit 23 executes a trigger-on detection check process shown in FIG. 17 when it recognizes an on operation of the trigger operating unit 20 based on, for example, the first trigger information ST1 and the second trigger information ST2.
[0296] When the control circuit 23 starts the trigger-on detection check process, in S1110, it stops outputting the first pseudo signal SF1, similar to S1010 in Fig. 16. In S1120, the control circuit 23 determines whether or not the first trigger information ST1 indicates an on operation of the trigger operating unit 20. If the first trigger information ST1 does not indicate an on operation of the trigger operating unit 20, the control circuit 23 repeats the process of S1120 until the first trigger information ST1 indicates an on operation of the trigger operating unit 20.
[0297] If the first trigger information ST1 indicates an ON operation of the trigger operating unit 20 in S1120, the process proceeds to S1130. In S1130, the control circuit 23 determines whether or not the second trigger information ST2 indicates an ON operation of the trigger operating unit 20. If the second trigger information ST2 does not indicate an ON operation of the trigger operating unit 20, the process proceeds to S1120. If the second trigger information ST2 indicates an ON operation of the trigger operating unit 20, the process proceeds to S1140.
[0298] In S1140, the control circuit 23 determines whether the shutoff information SS indicates permission for a command. If the shutoff information SS does not indicate permission for a command, i.e., if it indicates a command shutoff, the process proceeds to S1160. In S1160, the control circuit 23 sets the self-diagnosis status to "abnormal." If the shutoff information SS indicates permission for a command, the process proceeds to S1150. In S1150, the control circuit 23 sets the self-diagnosis status to "normal."
[0299] (8) Effects of the embodiment According to the embodiment described above, the following advantages (a) to (i) are obtained.
[0300] (a) The control circuit 23 executes the main process according to the states of both the first trigger switch 27 and the second trigger switch 28. Specifically, the control circuit 23 outputs the motor drive command SD when the first trigger information ST1 and the second trigger information ST2 indicate a trigger-on state. For example, assume that an abnormality occurs in the first trigger switch 27 and the first trigger information ST1 indicates a trigger-on state when the trigger operation unit 20 is turned off. In this case, if the second trigger information ST2 indicates a trigger-off state, the motor drive command SD is not output. Therefore, it is possible to appropriately stop the motor 21 when an abnormality occurs in which the operation of the trigger operation unit 20 by the user is not appropriately transmitted to the control circuit 23.
[0301] (b) The electric operating machine 1 of this embodiment further includes a circuit configured to operate by hardware processing, in addition to the control circuit 23. Specifically, the control circuit 23 includes a trigger detection circuit 80 and a cutoff switch 29.
[0302] When the trigger determination information STR output from the trigger detection circuit 80 indicates a trigger off state, the cutoff switch 29 cuts off the motor drive command SD from the control circuit 23 to the motor drive circuit 22. Therefore, it is possible to provide a highly reliable electric work machine 1.
[0303] (c) The cutoff switch 29 turns on or off based on the cutoff information SS input from the cutoff latch circuit 70. The cutoff switch 29 is provided in a drive line 90 to which a motor drive command SD is transmitted, and connects or disconnects the drive line 90. This makes it possible to easily cut off the input of the motor drive command SD to the motor drive circuit 22.
[0304] The shutoff information SS is information that reflects the trigger determination information STR. More specifically, when the above-mentioned five abnormal states do not occur, the shutoff information SS is equivalent to the trigger determination information STR. That is, in this case, it can be considered that the trigger determination information STR is input to the shutoff switch 29 via the shutoff latch circuit 70. When at least one of the above-mentioned five abnormal states occurs, the shutoff switch 29 is turned off regardless of the content of the trigger determination information STR. Therefore, when the trigger determination information STR indicates a trigger-off state, the shutoff switch 29 is properly turned off.
[0305] (d) The shutdown information SS is also input to the control circuit 23. Therefore, the control circuit 23 can effectively use the shutdown information SS in the main processing.
[0306] (e) Specifically, even if the first trigger information ST1 and the second trigger information ST2 both indicate the trigger on state, if cut-off information SS indicating a command cut-off has been input to the control circuit 23, the control circuit 23 does not output the motor drive command SD. This makes it possible to improve the reliability of the electric operating machine 1.
[0307] (f) In a situation where the first trigger information ST1 and / or the second trigger information ST2 indicate a trigger off state but the cut-off information SS indicating a command cut-off has not been input to the control circuit 23, the control circuit 23 does not output the motor drive command SD even if the trigger operating unit 20 is turned on. This makes it possible to improve the reliability of the electric work machine 1.
[0308] (g) The control circuit 23 can diagnose whether the trigger detection circuit 80 and the cutoff latch circuit 70 are operating properly by outputting the first pseudo signal SF1. That is, the control circuit 23 can detect whether the trigger detection circuit 80 and / or the cutoff latch circuit 70 are operating properly based on the first trigger information ST1, the second trigger information ST2, and the cutoff information SS before outputting the first pseudo signal SF1, and the first trigger information ST1, the second trigger information ST2, and the cutoff information SS when the first pseudo signal SF1 is being output. This makes it possible to further improve the reliability of the electric operating machine 1.
[0309] (h) In the present embodiment, the first trigger switch 27 is a normally open switch, while the second trigger switch 28 is a normally closed switch. That is, depending on the operation of the trigger operating unit 20, the first trigger switch 27 and the second trigger switch 28 are in opposite states to each other.
[0310] With this configuration, if a short circuit occurs between the second terminal of the first trigger switch 27 and the second terminal of the second trigger switch 28, the first trigger information ST1 and the second trigger information ST2 have opposite logical levels. Therefore, when the short circuit occurs, the driving of the motor 21 is stopped.
[0311] (i) The electric operating machine 1 of this embodiment has a plurality of functions that are achieved by at least one of the circuits to be diagnosed in the first to sixth diagnostic items. The electric operating machine 1 has dual systems corresponding to each of the plurality of functions for suppressing malfunction of the corresponding function.
[0312] For example, the electric work machine 1 has a motor drive function that drives the motor 21 in response to the trigger operation unit 20 being turned on. The electric work machine 1 has a first dual system that corresponds to this motor drive function. The first dual system prevents the motor 21 from rotating unintentionally.
[0313] More specifically, the first dual system includes a first motor drive system and a second motor drive system. When both the first motor drive system and the second motor drive system are normal, the motor 21 is normally driven or stopped. The first motor drive system includes a system from the trigger switch unit 26 to the drive line 90 via the trigger detection circuit 80 and the control circuit 23. That is, in the first motor drive system, the motor drive command SD is output from the control circuit 23 in response to the trigger operation unit 20 being turned on. The second motor drive system includes a system from the trigger switch unit 26 to the cutoff switch 29 via the trigger detection circuit 80 and the cutoff latch circuit 70. That is, in the second motor drive system, cutoff information SS indicating command permission is output from the cutoff latch circuit 70 to the cutoff switch 29 in response to the trigger operation unit 20 being turned on.
[0314] Assume that an abnormality occurs in the first motor drive system, for example, in which the motor drive command SD is erroneously output from the control circuit 23 even though the trigger operation unit 20 is not turned on. In this case, if the second motor drive system is normal, the cutoff switch 29 is turned off when the trigger operation unit 20 is not turned on, and the motor 21 is not driven. Conversely, assume that an abnormality occurs in the second motor drive system, for example, in which the cutoff switch 29 is turned on even though the trigger operation unit 20 is not turned on. In this case, if the first motor drive system is normal, the motor drive command SD is not output from the control circuit 23 when the trigger operation unit 20 is not turned on, and the motor 21 is not driven.
[0315] Furthermore, for example, the electric operating machine 1 has a first switching function that connects or disconnects the first power supply line 91 by the first switching circuit 36. The electric operating machine 1 has a second dual system that corresponds to the first switching function. The second dual system prevents the switch unit 37 of the first switching circuit 36 from being erroneously turned on.
[0316] More specifically, the second dual system includes a first on-permission system and a second on-permission system. The switch section 37 of the first switching circuit 36 is normally turned on when both the first on-permission system and the second on-permission system are normal. The first on-permission system includes a system in which the control circuit 23 outputs a third discharge permission signal SA3 to turn on the switch section 37 in response to the control circuit 23 receiving the first discharge permission signal SA1. More specifically, the control circuit 23 outputs the third discharge permission signal SA3 in response to receiving the first discharge permission signal SA1 and the second off detection signal SB2. The second on-permission system includes a system in which the first discharge permission signal SA1 is input to the first switching circuit 36 without passing through the control circuit 23.
[0317] Assume that an abnormality occurs in the first on-permission system, for example, in which the control circuit 23 outputs the third discharge permission signal SA3 even though the control circuit 23 does not receive the first discharge permission signal SA1. In this case, if the second on-permission system is normal, a low-level signal is input from the battery abnormality detection circuit 12 to the AND circuit 38, and the switch unit 37 is not turned on. As a result, the supply of power from the battery 11 to the motor 21 is cut off, and the motor 21 is not driven by the power of the battery 11.
[0318] Conversely, assume that an abnormality occurs in the second on-permission system, for example, such that the input terminal of the first discharge permission signal SA1 in the AND circuit 38 becomes high level even though the first discharge permission signal SA1 is not input from the battery abnormality detection circuit 12 to the electric work machine 1. In this case, if the first on-permission system is normal, the control circuit 23 does not output the third discharge permission signal SA3, and therefore the switch unit 37 is not turned on.
[0319] The electric working machine 1 has a second switching function that causes the second power supply line 92 to be turned on or off by the second switching circuit 46. The electric working machine 1 has a third dual system that corresponds to the second switching function. The third dual system prevents the switch unit 47 of the second switching circuit 46 from being turned on erroneously. For example, assume that an abnormality occurs in which the control circuit 23 outputs the fourth discharge permission signal SA4 even though the control circuit 23 does not receive the second discharge permission signal SA2. In this case, if a low-level signal is properly input from the battery abnormality detection circuit 17 to the AND circuit 48, the switch unit 47 is not turned on. As a result, the supply of power from the battery 16 to the motor 21 is cut off, and the motor 21 is not driven by the power of the battery 16.
[0320] The electric operating machine 1 further includes a fourth dual system corresponding to the first switching function. The fourth dual system prevents the switch unit 37 of the first switching circuit 36 from being erroneously turned on.
[0321] Specifically, the fourth dual system includes a third on-permission system and a fourth on-permission system. The switch unit 37 is normally turned on when both the third on-permission system and the fourth on-permission system are normal. The third on-permission system includes a system in which the control circuit 23 outputs a third discharge permission signal SA3 to turn on the switch unit 37 in response to the control circuit 23 receiving the second off detection signal SB2. More specifically, the control circuit 23 outputs the third discharge permission signal SA3 in response to receiving the second off detection signal SB2 and the first discharge permission signal SA1. The fourth on-permission system includes a system in which the second off detection signal SB2 is input to the first switching circuit 36 without passing through the control circuit 23.
[0322] Assume that an abnormality occurs in the third on-permission system, for example, in which the control circuit 23 outputs the third discharge permission signal SA3 even though the second off detection signal SB2 is not output to the control circuit 23. In this case, if the fourth on-permission system is normal, the switch unit 37 does not turn on. Conversely, assume that an abnormality occurs in the fourth on-permission system, for example, in which the input terminal of the second off detection signal SB2 in the AND circuit 38 becomes high level even though the second off detection signal SB2 is not output from the second off detection circuit 49. In this case, if the third on-permission system is normal, the control circuit 23 does not output the third discharge permission signal SA3, and therefore the switch unit 37 does not turn on.
[0323] Furthermore, for example, the electric working machine 1 has an overvoltage protection function using an overvoltage detection circuit 50. The electric working machine 1 has a fifth dual system corresponding to this overvoltage protection function. The fifth dual system properly stops the motor 21 when an overvoltage state occurs. More specifically, the fifth dual system includes a first overvoltage protection system and a second overvoltage protection system. The first overvoltage protection system includes a system in which the cutoff latch circuit 70 turns off the cutoff switch 29 in response to the overvoltage signal So1. The second overvoltage protection system includes a system in which the control circuit 23 stops the motor drive command SD in response to the control circuit 23 detecting the occurrence of an overvoltage state based on the voltage signal SV.
[0324] Furthermore, for example, the electric working machine 1 has an overcurrent protection function using a current detection circuit 55. The electric working machine 1 has a sixth dual system corresponding to this overcurrent protection function. The sixth dual system properly stops the motor 21 when an overcurrent state occurs. More specifically, the sixth dual system includes a first overcurrent protection system and a second overcurrent protection system. The first overcurrent protection system includes a system in which the cutoff latch circuit 70 turns off the cutoff switch 29 in response to the overcurrent signal So2. The second overcurrent protection function includes a system in which the control circuit 23 stops the motor drive command SD in response to the control circuit 23 detecting the occurrence of an overcurrent state based on the current signal SC.
[0325] Further, for example, the electric operating machine 1 has a first overheat protection function by the first overheat detection circuit 61. The electric operating machine 1 has a seventh dual system corresponding to this first overheat protection function. The seventh dual system properly stops the motor 21 when a U-phase overheat state occurs. More specifically, the seventh dual system includes a first overheat protection system and a second overheat protection system. The first overheat protection system includes a system in which the cutoff latch circuit 70 turns off the cutoff switch 29 in response to the first overheat signal So31. The second overheat protection system includes a system in which the control circuit 23 stops the motor drive command SD in response to the control circuit 23 detecting the occurrence of a U-phase overheat state based on the first temperature signal STM1.
[0326] Similarly to the first overheat protection function, the second overheat protection function by the second overheat detection circuit 62 and the third overheat protection function by the third overheat detection circuit 63 each have two protection systems.
[0327] In this embodiment, the trigger operation unit 20 corresponds to an example of the operation unit in this disclosure. The first trigger switch 27 corresponds to an example of the first switch in this disclosure. The second trigger switch 28 corresponds to an example of the second switch in this disclosure. The first trigger information ST1 corresponds to an example of the first switch information in this disclosure. The second trigger information ST2 corresponds to an example of the second switch information in this disclosure. The motor drive command SD corresponds to an example of the drive command in this disclosure. The motor drive circuit 22 corresponds to an example of the drive circuit in this disclosure. The trigger detection circuit 80, the cutoff latch circuit 70, and the cutoff switch 29 correspond to an example of the drive stop circuit in this disclosure. Of these trigger detection circuit 80, the cutoff latch circuit 70, and the cutoff switch 29, the trigger detection circuit 80 and the cutoff latch circuit 70 correspond to an example of the stop signal output circuit in this disclosure, and the cutoff switch 29 corresponds to an example of the cutoff circuit in this disclosure. The first pseudo signal SF1 corresponds to an example of the pseudo-on signal in this disclosure. The OR circuit 81 in the trigger detection circuit 80 corresponds to an example of the pseudo-on circuit in this disclosure.
[0328] The process of S1210 in Fig. 15 corresponds to an example of the output process in the present disclosure. The process of S1260 in Fig. 15 corresponds to an example of the first storage process and the second storage process in the present disclosure.
[0329] [Other embodiments] Although the embodiments of the present disclosure have been described above, the present disclosure is not limited to the above-described embodiments and can be implemented in various modified forms.
[0330] (1) In the above embodiment, in the first trigger switch 27, the first terminal is connected to the ground line and the second terminal is connected to the control power supply line via a resistor. The voltage of the second terminal is reflected in the first trigger information ST1.
[0331] However, the state of the first trigger switch 27 may be reflected in the first trigger information ST1 in any manner. For example, the first terminal of the first trigger switch 27 may be connected to the control power supply line via a resistor. The same applies to the second trigger switch 28.
[0332] (2) The NOT circuit 85 and the OR circuit 81 may be connected to the second terminal of the second trigger switch .
[0333] (3) Any type of switch may be used as the cutoff switch 29. The cutoff switch 29 may be a single switch, or may be configured by a circuit having multiple elements.
[0334] (4) The trigger determination information STR output from the trigger detection circuit 80 may be input to the cutoff switch 29 without passing through the cutoff latch circuit 70. In this case, for example, an OR circuit may be provided that calculates the logical sum of the trigger determination information STR and the cutoff information SS. The output signal of the OR circuit may be input to the cutoff switch 29.
[0335] (5) The first trigger switch 27 and the second trigger switch 28 may both be normally closed or normally open switches. In that case, for example, the NOT circuit 85 may be omitted.
[0336] (6) The overvoltage detection circuit 50, the current detection circuit 55, the overheat detection unit 60, the cutoff latch circuit 70, and the trigger detection circuit 80 may have circuit configurations different from those shown in FIGS.
[0337] (7) The electric operating machine 1 may have a self-diagnosis function for the current detection circuit 55. Specifically, the control circuit 23 may have a function for outputting a sixth pseudo signal for generating a pseudo overcurrent state to the current detection circuit 55. The current detection circuit 55 may be configured so that, upon receiving the sixth pseudo signal, the current detection circuit 55 sets the current signal SC to a signal indicating an overcurrent state. With this configuration, the control circuit 23 can diagnose whether the current detection circuit 55 is operating normally based on the current signal SC when the sixth pseudo signal is output.
[0338] (8) In the above embodiment, the shutoff information SS and the abnormality detection information Sor are input separately to the control circuit 23. However, as shown in FIG. 18, the logical sum of the shutoff information SS and the abnormality detection information Sor may be input to the control circuit 23. Specifically, as shown in FIG. 18, the electric work machine 1 may include an OR circuit 95. This OR circuit 95 may receive the shutoff information SS and the abnormality detection information Sor. The control circuit 23 may receive an output signal of the OR circuit 95 instead of receiving the shutoff signal SS and the abnormality detection information Sor.
[0339] (9) The prescribed order may be any order. A weight may be set for each diagnostic item. In this case, the prescribed order may be determined according to the weight. More specifically, the prescribed order may be determined such that a diagnostic item with a larger weight is executed more frequently.
[0340] In the specified order, at least one of the six types of diagnostic items may be consecutively arranged. A plurality of diagnostic items may be associated with the same order. In other words, the diagnosis of a plurality of diagnostic items may be performed sequentially or in parallel at a single diagnostic timing.
[0341] The order in which the self-diagnosis is performed is not limited to a specified order, and may be any order. For example, the order may be determined randomly. Specifically, for example, the electric operating machine 1 may be provided with a random number generator, and the next diagnostic item may be determined based on a random number generated by the random number generator.
[0342] (10) The present disclosure is also applicable to an electric working machine configured to control the drive of the motor 21 in accordance with the amount of operation of the trigger operating unit 20. An example of a main body in an electric working machine configured in this manner is shown in FIG. 19 as a second modified example. FIG. 19 illustrates the main body 200 of the second modified example, mainly showing parts different from the main body 3 shown in FIG. 2. In FIG. 19, the same components as those of the main body 3 in FIG. 2 are omitted. That is, the main body 200 shown in FIG. 19 is different from the main body 3 in FIG. 2 in the circuit configuration for transmitting the operation state of the trigger operating unit 20 to the control circuit 201 and the cutoff latch circuit 70, and in part of the content of the motor control process by the control circuit 201.
[0343] 19, the trigger switch section 210 includes a first trigger switch 211 and a trigger information output circuit (hereinafter, abbreviated as "information output circuit") 212. The information output circuit 212 includes a second trigger switch 212a and a variable resistor R11. The trigger switch section 210 further includes a third trigger switch 213.
[0344] The first trigger switch 211, the second trigger switch 212a, and the third trigger switch 213 are turned off in a non-operated state in which the trigger operating unit 20 is not operated (e.g., pulled). Fig. 19 shows the trigger switch unit 210 in the non-operated state.
[0345] When the user starts to pull the trigger operating unit 20, or when the trigger operating unit 20 is pulled a certain amount after the user has started to pull it, the second trigger switch 212a is first turned on. If the trigger operating unit 20 is further pulled a certain amount after the second trigger switch 212a is turned on, the first trigger switch 211 is then turned on. If the trigger operating unit 20 is further pulled after the first trigger switch 211 is turned on and the trigger operating unit 20 is pulled up to a specified maximum operation amount, the third trigger switch 213 is turned on. In the second modified example, the on operation of the trigger operating unit 20 refers to a pulling operation that turns on the first trigger switch 211 and the second trigger switch 212a.
[0346] A first terminal of the first trigger switch 211 is connected to the ground line. A second terminal of the first trigger switch 211 is connected to the control power supply line via a resistor R13 and is also connected to the input terminal of the NOT circuit 204.
[0347] The main body 200 further includes a voltage dividing circuit 205. The voltage dividing circuit 205 includes a resistor R14 and a resistor R15. The voltage dividing circuit 205 divides the power supply voltage. The voltage dividing circuit 205 outputs the divided voltage (hereinafter referred to as a "divided voltage") to the trigger switch section 210. Specifically, a first terminal of the resistor R14 is connected to the control power supply line. A second terminal of the resistor R14 is connected to a first terminal of the resistor R15. A second terminal of the resistor R15 is connected to the ground line. The resistance values of the resistors R14 and R15 may be any value. For example, the resistance value of the resistor R14 may be 470Ω or thereabouts. The resistance value of the resistor R15 may be 1 kΩ or thereabouts, for example.
[0348] In the information output circuit 212, a divided voltage from the voltage divider circuit 205 is applied to a first terminal of the variable resistor R11. A second terminal of the variable resistor R11 is connected to the ground line. A movable contact of the variable resistor R11 is connected to a first terminal of the second trigger switch 212a. A second terminal of the second trigger switch 212a is connected to a first terminal of the third trigger switch 213. A second terminal of the third trigger switch 213 is connected to the ground line. The voltage of the second terminal of the second trigger switch 212a is input to the control circuit 201 as second trigger information ST2 via the trigger detection circuit 220.
[0349] When the trigger operating unit 20 is turned on to turn on the first trigger switch 211 and the second trigger switch 212a, and then the trigger operating unit 20 is further pulled, the movable contact of the variable resistor R11 moves from the initial position to the end position according to the amount of operation. Immediately after the second trigger switch 212a is turned on, the movable contact is in the initial position. At this time, the resistance value between the second terminal and the movable contact of the variable resistor R11 (hereinafter referred to as the "ground side resistance value") is a predetermined initial value (e.g., 20 kΩ).
[0350] The ground side resistance value decreases as the movable contact of the variable resistor R11 moves from the initial position to the terminal position (i.e., as the amount of pulling of the trigger operating unit 20 increases). The timing at which the ground side resistance value starts to decrease from the initial value may be immediately after the trigger operating unit 20 changes from the OFF operation to the ON operation, or may be the timing at which the trigger operating unit 20 is further pulled a certain amount immediately after the change.
[0351] The second trigger information ST2 in the second modified example includes an analog voltage signal. This voltage signal indicates the on or off state of the second switching element 212a. The voltage signal further indicates the pulling amount of the trigger operation unit 20 while the second switching element 212a is on (in other words, information corresponding to the ground side resistance value). The control circuit 201 includes an A / D conversion circuit (not shown). Upon receiving the voltage signal, the control circuit 201 converts the voltage signal into digital data by the A / D conversion circuit. The CPU 202 of the control circuit 201 performs various controls based on the data converted by the A / D conversion circuit. In the following description, the second trigger information ST2 is referred to as the "A / D input value Vad."
[0352] In the main body 200, the trigger detection circuit 220 includes an OR circuit 221, a transmission circuit 222, and an AND circuit 223. The transmission circuit 222 includes a switching element 222a and a resistor R12.
[0353] The output signal of the NOT circuit 204 is input to a first input terminal of the OR circuit 221. A second input terminal of the OR circuit 221 is connected to an output terminal of the first pseudo signal SF1 in the control circuit 201. The output signal of the OR circuit 221 is input to the control circuit 201 and the AND circuit 223 as first trigger information ST1.
[0354] The transmission circuit 222 transmits the on or off state of the second trigger switch 212a to the AND circuit 223. Specifically, when the second trigger switch 212a is off, the transmission circuit 222 inputs a low-level transmission signal to a first input terminal of the AND circuit 223. When the second trigger switch 212a is on, the transmission circuit 222 inputs a high-level transmission signal to a first input terminal of the AND circuit 223. The low-level transmission signal is generated by turning off the switching element 222a. The high-level transmission signal is generated by turning on the switching element 222a.
[0355] To achieve such a function, the transmission circuit 222 is more specifically configured as follows. That is, the transmission circuit 222 includes, for example, a p-channel MOSFET as the switching element 222a. The gate of the switching element 222a is connected to the second terminal of the second trigger switch 212a. The drain of the switching element 222a is connected to the control power supply line. The source of the switching element 222a is connected to the first input terminal of the AND circuit 223. The resistor R12 is connected between the gate and drain of the switching element 222a. The resistance value of the resistor R12 may be any value. The resistance value of the resistor R12 may be, for example, 2.2 MΩ or a value close to that.
[0356] The first trigger information ST1 is input to a second input terminal of the AND circuit 223. An output signal of the AND circuit 223 is input to the cutoff latch circuit 70 as trigger determination information STR.
[0357] In the main body 200 configured in this manner, the A / D input value Vad changes according to the operating state of the trigger operating unit 20, as illustrated in Fig. 20. That is, when the trigger operating unit 20 is not operated, that is, when the stroke (pulling amount) of the trigger operating unit 20 is 0, the A / D input value Vad becomes a predetermined off-voltage value Voff. The off-voltage value Voff is approximately equal to the power supply voltage value Vc (e.g., 5V). That is, in this case, since the second trigger switch 212a is off, the power supply voltage of the power supply voltage value Vc is input to the control circuit 201 as the A / D input value Vad via the resistor R12.
[0358] When the trigger operating unit 20 is pulled and the stroke increases, the second trigger switch 212a is turned on first, as described above. When the second trigger switch 212a is turned on, the A / D input value Vad drops to a predetermined first on-voltage value Von1 (e.g., 3.4 V). Immediately after the second trigger switch 212a is turned on, the ground side resistance value of the variable resistor R11 is the initial value, so the first on-voltage value Von1 is approximately equal to the value of the divided voltage from the voltage divider circuit 205. Note that the first on-voltage value Von1 corresponds to an example of the value of the initial on-voltage in this disclosure.
[0359] When the stroke of the trigger operation unit 20 further increases by a certain amount after the second trigger switch 212a is turned on, the first trigger switch 211 is turned on. At this point, i.e., when the A / D input value Vad becomes the first on-voltage value Von1 and the first trigger switch 211 is turned on, the control circuit 201 recognizes that the trigger operation unit 20 has been turned on. In response to recognizing that the trigger operation unit 20 has been turned on, the control circuit 201 starts driving the motor 21.
[0360] After the first trigger switch 211 is turned on, the ground-side resistance value of the variable resistor R11 decreases as the stroke of the trigger operation unit 20 increases from the reference stroke to the maximum stroke. Therefore, the A / D input value Vad decreases as the stroke increases. The reference stroke corresponds to the stroke immediately before the movable contact of the variable resistor R11 starts to move from the initial position to the end position. The maximum stroke corresponds to the maximum operation amount described above. The A / D input value Vad immediately before the stroke reaches the maximum stroke becomes the second on-voltage value Von2. The ground-side resistance value of the variable resistor R11 at this time is, for example, 0 Ω or a value close to 0 Ω. When the stroke reaches the maximum stroke, the third trigger switch 213 is turned on, and the A / D input value Vad becomes 0 V. The first trigger switch 211 is configured to be turned on when a predetermined stroke is reached before the operation amount of the trigger operation unit 20 reaches the reference stroke after the second trigger switch 212a is turned on.
[0361] The control circuit 201 controls the motor 21 according to the A / D input value Vad while the trigger operating unit 20 is being operated to be on. Specifically, the control circuit 201 controls the rotation speed of the motor 21 to be a predetermined minimum rotation speed when the A / D input value Vad is the first on-voltage value Von1, for example. The control circuit 201 increases the rotation speed of the motor 21 in response to the A / D input value Vad decreasing from the first on-voltage value Von1. The control circuit 201 controls the rotation speed of the motor 21 to be a predetermined maximum rotation speed in response to the A / D input value Vad becoming equal to or less than the second on-voltage value Von2.
[0362] The third trigger switch 213 does not necessarily have to be provided. However, by providing the third trigger switch 213, it becomes possible to reliably reduce the A / D input value Vad to the second on-voltage value Von2 or less when the trigger operation unit 20 is pulled to the maximum stroke (i.e., to reliably control the rotation speed of the motor 21 to the maximum rotation speed).
[0363] The control circuit 201 includes a CPU 202 and a memory 203. The memory 203 stores programs and data that are basically similar to those of the memory 25 in Fig. 2. The CPU 202 executes a program for motor control processing stored in the memory 203. The program for motor control processing stored in the memory 203 is partially different from the program for motor control processing (see Fig. 10) stored in the memory 25 (see Fig. 2). The motor control processing executed by the CPU 202 in accordance with the program stored in the memory 203 will be described with reference to Fig. 21.
[0364] When starting the motor control process, the CPU 202 determines in S1410 whether the A / D input value Vad is equal to or less than the first on-voltage value Von1. In other words, this process is a process for determining whether the second trigger switch 212a is on.
[0365] When the A / D input value Vad is higher than the first on-voltage value Von1, the process proceeds to S1460. The processes of S1460 to S1480 are the same as the processes of S350 to S370 in FIG.
[0366] In S1410, if the A / D input value Vad is equal to or less than the first on-voltage value Von1 (i.e., the second trigger switch 212a is on), the process proceeds to S1420. In S1420, it is determined whether the first trigger information ST1 is at a high level. In other words, this process is a process for determining whether the first trigger switch 211 is on.
[0367] If the first trigger information ST1 is at a low level, the process proceeds to S1460. If the first trigger information ST1 is at a high level (i.e., the first trigger switch 211 is on), the process proceeds to S1430. By making positive decisions in S1410 and S1420, the CPU 202 recognizes that the trigger operating unit 20 has been turned on, and proceeds to the motor drive process of S1450 via the processes of S1430 to S1440. The processes of S1430 to S1440 are the same as the processes of S320 to S330 in FIG. 10.
[0368] The motor drive process in S1450 is partially different from S340 in Fig. 10. Specifically, in S1450, a motor drive command SD for rotating the motor 21 at a rotation speed corresponding to the A / D input value Vad is output to the motor drive circuit 22 (not shown in Fig. 19; see Fig. 2). The correspondence between the A / D input value Vad and the rotation speed is as described above.
[0369] (11) The control circuit 201 in the second modified example shown in Figures 19 to 21 has a self-diagnosis function using the first pseudo signal SF1, etc., similar to the control circuit 23 (see Figure 2) in the above embodiment. However, the control circuit 201 does not necessarily have to have such a self-diagnosis function. An example of an electric operating machine that does not have a self-diagnosis function using the first pseudo signal SF1, etc. is shown in Figure 22 as a third modified example.
[0370] In the main body 230 shown in Fig. 22, the NOT circuit 204 is omitted from the main body 200 of the second modified example shown in Fig. 19. Furthermore, the main body 230 differs from the main body 200 in the configuration of the trigger detection circuit 240 and in part of the processing content of the control circuit 231.
[0371] 22, a trigger detection circuit 240 in the third modification is different from the trigger detection circuit 220 in FIG. 19 in that the OR circuit 221 is omitted and a NOT circuit 241 is provided. The voltage of the second terminal of the first trigger switch 211 is input to the control circuit 231 as first trigger information ST1 via the trigger detection circuit 240. The first trigger information ST1 is further input to an input terminal of the NOT circuit 241. An output signal of the NOT circuit 241 is input to a second input terminal of the AND circuit 223.
[0372] In the main body 230 configured in this manner, the first trigger information ST1 is at high level while the first trigger switch 211 is off. When the first trigger switch 211 is on, the first trigger information ST1 is at low level.
[0373] The control circuit 231 includes a CPU 232 and a memory 233. The memory 233 stores programs and data that are basically similar to those of the memory 203 in FIG. 19. However, the program stored in the memory 233 differs from the program stored in the memory 203 (see FIG. 19) in that the program does not execute a self-diagnosis process. Furthermore, a part of the motor control process in the program stored in the memory 233 differs from the motor control process (see FIG. 21) stored in the memory 203. The motor control process executed by the CPU 232 and stored in the memory 233 will be described with reference to FIG. 23.
[0374] When the CPU 232 starts the motor control process of Fig. 23, in S1310, it determines whether the A / D input value Vad is equal to or less than the first on-voltage value Von1, similar to S1410 of Fig. 21. If the A / D input value Vad is greater than the first on-voltage value Von1, the determination of S1310 is repeated. If the A / D input value Vad is equal to or less than the first on-voltage value Von1, the process proceeds to S1320.
[0375] In S1320, it is determined whether or not the first trigger information ST1 is at a low level. This process is the same as S1420 in Fig. 21, and is a process for determining whether or not the first trigger switch 211 is turned on.
[0376] If the first trigger information ST1 is at a high level, the process proceeds to S1310. If the first trigger information ST1 is at a low level (i.e., the first trigger switch 211 is on), the process proceeds to S1330. In S1330, a motor drive command SD for rotating the motor 21 at a rotation speed according to the A / D input value Vad is output to the motor drive circuit 22.
[0377] In the second and third modified examples, the first trigger switch 211 may be configured to be turned on before the second trigger switch 212a in response to the operation of the trigger operating unit 20. Alternatively, the first trigger switch 211 may be configured to be turned on simultaneously with the second trigger switch 212a.
[0378] (12) The motor of the present disclosure may be a motor other than a brushless motor. The electric working machine of the present disclosure is not limited to an electric working machine driven by battery power, but may be an electric working machine that receives AC power and is driven by the AC power.
[0379] (13) The technology of the present disclosure may be applied to various electric working machines, such as electric gardening machines other than brush cutters, and electric tools for masonry, metalworking, and woodworking. More specifically, the present disclosure may be applied to various electric working machines, such as electric hammers, electric hammer drills, electric drills, electric drivers, electric wrenches, electric grinders, electric circular saws, electric reciprocating saws, electric jigsaws, electric cutters, electric chainsaws, electric planers, electric nail guns (including tack guns), electric hedge trimmers, electric lawnmowers, electric lawn clippers, electric cleaners, electric blowers, electric sprayers, electric spreaders, and electric dust collectors.
[0380] (14) Multiple functions possessed by one component in the above embodiments may be achieved by multiple components, or one function possessed by one component may be achieved by multiple components. Multiple functions possessed by multiple components may be achieved by one component, or one function realized by multiple components may be achieved by one component. Part of the configurations of the above embodiments may be omitted. At least part of the configurations of the above embodiments may be added to or substituted for the configurations of other of the above embodiments.
Claims
1. An electric work machine, A motor; a drive circuit configured to generate drive power for driving the motor from battery power and supply the drive power to the motor; a power supply line configured to supply power from the battery to the drive circuit; An operation unit configured to be turned on or off by a user of the electric operating machine; A first switch configured to be turned on or off in response to an on-operation or off-operation of the operation unit; A second switch configured to be turned on or off in response to the operation unit being turned on or off; a control circuit configured to execute a motor control process according to a computer program, and configured to receive first switch information indicating a state of the first switch and second switch information indicating a state of the second switch; Equipped with The motor control process includes: outputting a drive command for driving the motor in response to the first switch information and the second switch information indicating that the operation unit is turned on; Stopping output of the drive command in response to the first switch information indicating that the operation unit is turned on and the second switch information indicating that the operation unit is turned off; Stopping output of the drive command in response to the first switch information indicating that the operation unit is turned off and the second switch information indicating that the operation unit is turned on; Including, The first switch and the second switch are provided so as not to interrupt the power supply line. Electric work equipment.
2. The electric operating machine according to claim 1, the first switch and the second switch each have a first terminal and a second terminal; the first terminal of the first switch and the first terminal of the second switch are connected to a ground line; The ground line is configured to be electrically connected to a negative electrode of the battery. Electric work equipment.
3. An electric work machine, A motor; An operation unit configured to be turned on or off by a user of the electric operating machine; A first switch configured to be turned on or off in response to an on-operation or off-operation of the operation unit; A second switch configured to be turned on or off in response to the operation unit being turned on or off; a control circuit configured to execute a motor control process according to a computer program, and configured to receive first switch information indicating a state of the first switch and second switch information indicating a state of the second switch; Equipped with The motor control process includes: outputting a drive command for driving the motor in response to the first switch information and the second switch information indicating that the operation unit is turned on; Stopping output of the drive command in response to the first switch information indicating that the operation unit is turned on and the second switch information indicating that the operation unit is turned off; Stopping output of the drive command in response to the first switch information indicating that the operation unit is turned off and the second switch information indicating that the operation unit is turned on; Including, the first switch and the second switch each have a first terminal and a second terminal; the first terminal of the first switch and the first terminal of the second switch are connected to a ground line; Electric work equipment.
4. An electric work machine, A motor; An operation unit configured to be turned on or off by a user of the electric operating machine; A first switch configured to be turned on or off in response to an on-operation or off-operation of the operation unit; A second switch configured to be turned on or off in response to the operation unit being turned on or off; a control circuit configured to execute a motor control process according to a computer program, and configured to receive first switch information indicating a state of the first switch and second switch information indicating a state of the second switch; Equipped with The motor control process includes: outputting a drive command for driving the motor in response to the first switch information and the second switch information indicating that the operation unit is turned on; Stopping output of the drive command in response to the first switch information indicating that the operation unit is turned on and the second switch information indicating that the operation unit is turned off; Stopping output of the drive command in response to the first switch information indicating that the operation unit is turned off and the second switch information indicating that the operation unit is turned on; Including, the first switch and the second switch each have a first terminal and a second terminal; The electric operating machine includes: a first circuit coupled to the second terminal of the first switch and configured to output the first switch information; a second circuit coupled to the second terminal of the second switch and configured to output the second switch information; Equipped with the control circuit is configured to receive the first switch information from the first circuit and the second switch information from the second circuit; the first circuit is configured to apply a power supply voltage having a predetermined voltage value to the second terminal of the first switch via a first resistor, and is configured to output the first switch information according to the voltage of the second terminal of the first switch; the second circuit is configured to apply the power supply voltage to the second terminal of the second switch via a second resistor, and is configured to output the second switch information according to a voltage of the second terminal of the second switch. Electric work equipment.
5. An electric work machine as claimed in claim 4, the first circuit includes a NOT circuit configured to receive a voltage of the second terminal of the first switch, and is configured to output the first switch information according to an output voltage of the NOT circuit; Electric work equipment.
6. An electric work machine, A motor; An operation unit configured to be turned on or off by a user of the electric operating machine; A first switch configured to be turned on or off in response to an on-operation or off-operation of the operation unit; A second switch configured to be turned on or off in response to the operation unit being turned on or off; a control circuit configured to execute a motor control process according to a computer program, and configured to receive first switch information indicating a state of the first switch and second switch information indicating a state of the second switch; Equipped with The motor control process includes: outputting a drive command for driving the motor in response to the first switch information and the second switch information indicating that the operation unit is turned on; Stopping output of the drive command in response to the first switch information indicating that the operation unit is turned on and the second switch information indicating that the operation unit is turned off; Stopping output of the drive command in response to the first switch information indicating that the operation unit is turned off and the second switch information indicating that the operation unit is turned on; Including, The control circuit is configured to output operation unit information indicating an operation state of the operation unit, The operation unit information includes When the first switch information and the second switch information indicate that the operation unit is turned on, this indicates that the operation unit is turned on; When one of the first switch information and the second switch information indicates that the operation unit is turned on and the other of the first switch information and the second switch information indicates that the operation unit is turned off, this indicates that the operation unit is turned off, The electric operating machine includes: A battery pack having a battery is configured to be detachable, The operation unit information output from the control circuit is output to the battery pack. Electric work equipment.
7. An electric work machine, A motor; An operation unit configured to be turned on or off by a user of the electric operating machine; A first switch configured to be turned on or off in response to an on-operation or off-operation of the operation unit; A second switch configured to be turned on or off in response to the operation unit being turned on or off; a control circuit configured to execute a motor control process according to a computer program, and configured to receive first switch information indicating a state of the first switch and second switch information indicating a state of the second switch; Equipped with The motor control process includes: outputting a drive command for driving the motor in response to the first switch information and the second switch information indicating that the operation unit is turned on; Stopping output of the drive command in response to the first switch information indicating that the operation unit is turned on and the second switch information indicating that the operation unit is turned off; Stopping output of the drive command in response to the first switch information indicating that the operation unit is turned off and the second switch information indicating that the operation unit is turned on; Including, the first switch is either a normally open type or a normally closed type, the second switch is the other of the normally open type and the normally closed type, which is different from the first switch; Electric work equipment.
Citation Information
Patent Citations
Nnepsilonntrimethylllllysine salt
JP1979063014A
Switch device for operation
JP1999203974A
Electric power tool, lock status determination device, and program
JP2012000726A
Electric machine apparatus
JP2016022566A
Electric work machine
JP2018083254A
