Electric work machine
The electric working machine uses current and speed measurements to control motor operation, addressing the inaccuracy of sole current-based protection systems and ensuring precise motor temperature estimation and protection.
Patent Information
- Application Number
- JP2024010148
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-04-27
- Filing Date
- 2024-01-26
- Publication Date
- 2024-11-08
AI Technical Summary
Existing power tool protection systems that rely solely on battery current measurements may fail to accurately protect the motor from overheating, as they do not account for the motor's actual temperature, which can deviate from current fluctuations.
An electric working machine that includes a motor, a current detection unit, and a speed acquisition unit to control motor operation by incrementing or decrementing a counter based on line current and rotational speed, respectively, to accurately estimate motor temperature and prevent overheating.
The system effectively protects the motor by accurately tracking its temperature through combined current and speed measurements, preventing overheating and ensuring appropriate protection.
Smart Images

Figure 2024159478000001_ABST
Abstract
Description
[Technical field]
[0001] The present disclosure relates to a technique for protecting a motor of an electric work machine. [Background technology]
[0002] The device described in Patent Document 1 measures the current flowing from the battery when the power tool is driven by the battery. The device increments a counter when the measured current is greater than a predetermined upper limit, and decrements the counter when the measured current is less than the predetermined upper limit. When the counter exceeds the predetermined value, the device switches off the power tool to protect the battery. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] US Patent Application Publication No. 2014 / 0232352 Summary of the Invention [Problem to be solved by the invention]
[0004] When a power tool is driven by battery power, it is necessary to protect not only the battery but also the motor of the power tool from burning. However, the motor is cooled by rotating. Therefore, the counter of the above device, which is based only on the current flowing from the battery, may deviate from the actual temperature of the motor. In other words, even if the counter of the above device is used, the motor may not be adequately protected.
[0005] One aspect of the present disclosure provides an electric working machine capable of appropriately protecting a motor. [Means for solving the problem]
[0006] An electric operating machine according to one aspect of the present disclosure includes a motor configured to receive electric power from a power source and be driven, a current acquisition unit configured to detect or estimate a value of a power source current supplied from the power source to the motor, a speed acquisition unit configured to detect or estimate a rotation speed of the motor, and a first control unit configured to control driving of the motor. The first control unit increases a first counter when a value of a line current flowing through the motor calculated based on the value of the power source current detected or estimated by the current acquisition unit is greater than a current threshold. The first control unit decreases the first counter when the rotation speed detected or estimated by the speed acquisition unit is greater than a speed threshold. The first control unit stops the motor when the first counter exceeds the first threshold.
[0007] Even when no current flows through the motor, the motor may rotate by inertia and cool down. Therefore, the amount of decrease in motor temperature, and therefore the motor temperature, cannot be accurately estimated from the value of the line current alone. In an electric working machine according to one aspect of the present disclosure, the first counter is increased based on the value of the line current and decreased based on the rotation speed of the motor. Therefore, in the electric working machine, the first counter corresponds to the actual temperature of the motor with high accuracy. Thus, in the electric working machine, the motor can be appropriately protected. [Brief description of the drawings]
[0008] [Figure 1] 1 is a diagram showing the appearance of an electric operating machine according to a first embodiment. FIG. [Diagram 2] FIG. 2 is a diagram showing the electrical configuration of the electric operating machine according to the first embodiment. [Diagram 3] 4 is a flowchart showing a main process executed by a microcomputer of the electric operating machine according to the first embodiment. [Figure 4] 5 is a flowchart showing a switch operation detection process executed by a microcomputer of the electric operating machine according to the first embodiment. [Diagram 5] 4 is a flowchart showing an AD conversion process executed by a microcomputer of the electric operating machine according to the first embodiment. [Figure 6]5 is a flowchart showing a battery communication process executed by a microcomputer of the electric operating machine according to the first embodiment. [Figure 7] 5 is a flowchart showing an error detection process executed by a microcomputer of the electric operating machine according to the first embodiment. [Figure 8] 4 is a flowchart showing a motor control process executed by a microcomputer of the electric operating machine according to the first embodiment. [Figure 9] 5 is a flowchart showing an overload protection detection process executed by a microcomputer of the electric operating machine according to the first embodiment. [Figure 10] 5 is a flowchart showing an increment process of an overload counter executed by a microcomputer of the electric operating machine according to the first embodiment. [Figure 11] 5 is a flowchart showing a process of decrementing an overload counter executed by a microcomputer of the electric operating machine according to the first embodiment. [Figure 12] 4 is a diagram showing a table of added values of an overload counter of the electric operating machine according to the first embodiment. FIG. [Figure 13] 4 is a diagram showing a table of first counter threshold values provided in the electric operating machine according to the first embodiment. FIG. [Figure 14] 5 is a diagram showing a table of subtraction values of an overload counter during rotation of a motor of the electric operating machine according to the first embodiment. FIG. [Figure 15] 5 is a diagram showing a table of subtraction values of an overload counter when a motor of the electric operating machine according to the first embodiment is stopped. FIG. [Figure 16] 5 is a time chart showing changes over time in the actual temperature of the motor and the overload counter of the electric work machine according to the first embodiment when an upper limit on the subtraction time is not set. [Figure 17] 10 is a first time chart showing changes over time in the actual temperature of the motor and the overload counter of the electric work machine according to the first embodiment in a case where an upper limit on the subtraction time is set. [Figure 18]13 is a second time chart showing changes over time in the actual temperature of the motor and the overload counter of the electric work machine according to the first embodiment in a case where an upper limit on the subtraction time is set. [Figure 19] 4 is a first time chart showing changes over time in various parameters of the electric operating machine according to the first embodiment. [Figure 20] 5 is a second time chart showing changes over time in various parameters of the electric operating machine according to the first embodiment. [Figure 21] 6 is a third time chart showing changes over time in various parameters of the electric operating machine according to the first embodiment. [Figure 22] FIG. 7 is a diagram showing the electrical configuration of an electric operating machine according to a second embodiment. [Diagram 23] 13 is a flowchart showing a process of decrementing an overload counter executed by a microcomputer of an electric operating machine according to a second embodiment. [Figure 24] 13 is a flowchart showing a speed threshold calculation process executed by a microcomputer of an electric operating machine according to a second embodiment. [Diagram 25] 13 is a flowchart showing a process for correcting a subtraction value executed by a microcomputer of an electric operating machine according to a second embodiment. [Figure 26] 13 is a first term chart showing changes over time in various parameters of an electric operating machine according to a second embodiment. [Figure 27] FIG. 11 is a diagram showing an electrical configuration of an electric operating machine according to another embodiment. [Figure 28] FIG. 11 is a diagram showing the electrical configuration of an electric operating machine according to another embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0009] (Summary of the embodiment) In one embodiment, an electric operating machine having at least one of the following features 1 to 7 may be provided. Feature 1: A motor configured to receive power from a power source to be driven. Feature 2: A current acquisition unit configured to detect or estimate a value of a power supply current supplied from a power supply to a motor. Feature 3: A speed acquisition unit configured to detect or estimate the rotation speed of the motor. Feature 4: A first control unit configured to control driving of the motor. Feature 5: The first control unit increments a first counter when a value of a line current flowing through the motor calculated based on the value of the power supply current detected or estimated by a current acquisition unit is greater than a current threshold value. Feature 6: The first control unit decreases the first counter when the rotation speed detected or estimated by the speed acquisition unit is greater than the speed threshold value. Feature 7: The first control unit stops the motor when the first counter exceeds the first threshold value.
[0010] In an electric operating machine having at least the features 1 to 7, the first counter is incremented based on the value of the line current and decremented based on the rotation speed of the motor. Therefore, in the electric operating machine, the first counter corresponds to the actual temperature of the motor with high accuracy. As a result, the motor can be appropriately protected in the electric operating machine.
[0011] In one embodiment, in addition to or instead of at least one of the above-mentioned features 1 to 7, the following feature 8 may be provided. Feature 8: The first control unit changes the decrement rate of the first counter in accordance with the rotation speed detected or estimated by the speed acquisition unit.
[0012] In an electric operating machine having at least the features 1 to 8, the decrement rate of the first counter is changed in accordance with the rotation speed, so that the first counter can be made to correspond to the actual temperature of the motor with high accuracy.
[0013] In one embodiment, in addition to or instead of at least one of the above-mentioned features 1 to 8, the following feature 9 may be provided. Feature 9: The first control unit increases the rate of decrease in response to an increase in the rotation speed detected or estimated by the speed acquisition unit.
[0014] In an electric operating machine having at least the features 1 to 9, the decrement rate of the first counter is increased in response to an increase in the rotation speed, so that the first counter can correspond to the actual temperature of the motor with high accuracy.
[0015] In one embodiment, in addition to or instead of at least one of the above-mentioned features 1 to 7, at least one of the following features 10 to 13 may be provided. Feature 10: The power source includes a battery pack connected to the electric work machine. Feature 11: A storage unit that stores a plurality of pieces of correspondence data indicating a correspondence between the rotation speed and the decrement rate of the first counter, the plurality of pieces of correspondence data indicating different correspondences from each other. Feature 12: The first control unit selects one of the plurality of pieces of correspondence data stored in the storage unit according to the type of the battery included in the battery pack. Feature 13: The first control unit decreases the first counter based on the selected piece of corresponding data.
[0016] In an electric operating machine having at least the features 1 to 7 and 10 to 13, the first counter can be made to correspond to the actual temperature of the motor with high accuracy by changing the corresponding data according to the type of battery.
[0017] In one embodiment, in addition to or instead of at least one of the above-mentioned features 1 to 7 and 10 to 13, the following feature 14 may be provided. · Feature 14: The battery type corresponds to the battery's internal resistance value.
[0018] In an electric operating machine having at least the features 1 to 7 and 10 to 14, the first counter can be made to correspond to the actual temperature of the motor with high accuracy by changing the corresponding data according to the internal resistance value of the battery.
[0019] In one embodiment, in addition to or instead of at least one of Features 1 to 7 and 10 to 13, at least one of Features 15 and 16 below may be provided. Feature 15: The battery pack includes a second counter and a second control unit configured to increment or decrement the second counter based on a charging / discharging current from the battery and to stop discharging from the battery when the second counter exceeds a second threshold. Feature 16: The type of battery pack corresponds to the second threshold value.
[0020] In an electric operating machine having at least the features 1 to 7, 10 to 13, and 15 to 16, the first counter can be made to correspond to the actual temperature of the motor with high accuracy by changing the corresponding data in accordance with the second threshold value.
[0021] In one embodiment, in addition to or instead of at least one of the features 1 to 7 described above, at least one of the following features 17 and 18 may be provided. Feature 17: The first control unit reduces the decrement rate of the first counter in response to an increase in the number of times protection has been executed. Feature 18: Executing the protection corresponds to stopping the motor when the first counter exceeds the first threshold.
[0022] In an electric operating machine having at least features 1 to 7 and 17 to 18, the rate of decrease of the first counter is reduced in accordance with an increase in the number of times protection is executed, thereby making it possible to make the first counter correspond with the actual temperature of the motor with high accuracy.
[0023] In one embodiment, in addition to or instead of at least one of the above-mentioned features 1 to 7, the following feature 19 may be provided. Feature 19: The first control unit stops decrementing the first counter when the elapsed time from when the first counter started to decrement reaches a first time while the motor is rotating.
[0024] In an electric work machine having at least features 1 to 7 and 19, when the elapsed time since the first counter started to decrease reaches a first hour while the motor is rotating, the decrease of the first counter is stopped, thereby preventing the first counter from deviating from the actual temperature of the motor.
[0025] In one embodiment, in addition to or instead of at least one of the above-mentioned features 1 to 7, the following feature 20 may be provided. Feature 20: While the motor is stopped, the first control unit (i) decrements a first counter, and (ii) stops decrementing the first counter when the elapsed time since the start of decrementing the first counter reaches a second time.
[0026] In an electric work machine having at least features 1 to 7 and 20, when the elapsed time since the first counter started to decrease reaches a second time while the motor is stopped, the decrease of the first counter is stopped, thereby preventing the first counter from deviating from the actual temperature of the motor.
[0027] In one embodiment, in addition to or instead of at least one of the above-mentioned features 1 to 7, at least one of the following features 21 and 22 may be provided. Feature 21: A drive circuit configured to input the output of a power supply to a motor based on a voltage command value (e.g., a duty ratio) commanded from a first control unit. Feature 22: The first control unit calculates the speed threshold value based on the value of the power supply voltage output from the power supply and / or the voltage command value.
[0028] In an electric operating machine having at least the features 1 to 7, 21, and 22, the speed threshold is calculated based on the value of the power supply voltage and / or the voltage command value, i.e., based on the value of the input voltage to the motor. When the motor is under constant speed control, the rotation speed is maintained even if the load on the motor is large. As a result, the value of the line current is greater than the current threshold and the rotation speed is greater than the speed threshold, and the first counter may be decremented and increased simultaneously. Here, the input voltage of the motor increases as the load increases, even if the rotation speed is constant. Therefore, the first control unit calculates the speed threshold based on the input voltage of the motor, so that the decrement of the first counter can be suppressed according to the load. As a result, the simultaneous occurrence of the decrement and increase of the first counter can be suppressed.
[0029] In one embodiment, in addition to or instead of at least one of the above-mentioned features 1 to 7, 21, and 22, the following feature 23 may be provided. Feature 23: The first control unit calculates the speed threshold to be larger in accordance with an increase in the value of the power supply voltage or the voltage command value.
[0030] In an electric operating machine having at least the features 1 to 7 and 21 to 23, the speed threshold is calculated to be larger as the value of the input voltage to the motor increases. This suppresses decrementing of the first counter when a heavy load is applied to the motor. Therefore, when a heavy load is applied to the motor during constant speed control, inappropriate decrementing of the first counter can be suppressed.
[0031] In some embodiments, in addition to or instead of at least one of the features 1 to 7, 21, and 22 described above, at least one of the following features 24 and 25 may be provided. · Feature 24: The voltage command value includes a duty ratio. Feature 25: The first control unit calculates the speed threshold to be larger in accordance with an increase in the product of the power supply voltage value and the duty ratio.
[0032] In an electric operating machine having at least the features 1 to 7, 24, and 25, the speed threshold is calculated to be larger as the value of the input voltage to the motor increases. Therefore, when a heavy load is applied to the motor during constant speed control, inappropriate decrements of the first counter can be suppressed.
[0033] In one embodiment, in addition to or instead of at least one of the features 1 to 7 described above, at least one of the following features 26 and 27 may be provided. Feature 26: A voltage detection unit configured to detect a value of a motor voltage input to the motor. Feature 27: The first control unit calculates the speed threshold value based on the value of the motor voltage detected by the voltage detection unit.
[0034] In an electric operating machine having at least the features 1 to 7, 26, and 27, the speed threshold is calculated based on the value of the motor voltage, so that the decrement of the first counter can be suppressed according to the load applied to the motor, and thus the simultaneous occurrence of decrements and increments of the first counter can be suppressed.
[0035] In one embodiment, in addition to or instead of at least one of the features 1 to 7, 26, and 27 described above, the following feature 28 may be provided. Feature 28: The first control unit calculates the speed threshold to be larger in accordance with an increase in the value of the motor voltage detected by the voltage detection unit.
[0036] In an electric operating machine having at least the features 1 to 7 and 26 to 28, the speed threshold is calculated to be larger as the motor voltage value increases. This makes it possible to suppress inappropriate decrease in the first counter when a heavy load is applied to the motor during constant speed control.
[0037] In one embodiment, in addition to or instead of at least one of the features 1 to 7 described above, the following feature 29 may be provided. Feature 29: The first control unit calculates the amount of decrement of the first counter based on the value of the first counter.
[0038] In an electric operating machine having at least features 1 to 7 and 29, the amount of decrease is calculated based on the value of the first counter. The motor temperature decreases faster as the temperature difference between the ambient temperature and the motor temperature increases. Also, as the motor temperature increases, the temperature difference between the ambient temperature and the motor temperature increases. Therefore, by calculating the amount of decrease based on the value of the first counter, it is possible to reduce the discrepancy between the value of the first counter and the motor temperature.
[0039] In one embodiment, in addition to or instead of at least one of the features 1 to 7 and 29 described above, the following feature 30 may be provided. Feature 30: The first control unit calculates a larger decrement amount in accordance with an increase in the value of the first counter.
[0040] In an electric operating machine having at least the features 1 to 7, 29, and 30, the calculated decrease amount is greater as the value of the first counter increases. This makes it possible to further reduce the discrepancy between the value of the first counter and the motor temperature, and to appropriately protect the motor.
[0041] (First embodiment) <1. Configuration> <1-1. Overall composition> The configuration of an electric working machine 1 according to the present disclosure will be described with reference to Fig. 1. The electric working machine 1 according to this embodiment is a chain saw, which is a type of power tool.
[0042] The electric work machine 1 includes a main body 5, a saw chain 3, and a guide bar 4. The saw chain 3 is attached to the guide bar 4. The guide bar 4 is fixed to the main body 5 by a bolt 6 and a nut 7 so as to protrude from the main body 5. In this embodiment, the direction in which the guide bar 4 protrudes is referred to as the front, and the opposite direction is referred to as the rear. Additionally, the right side facing forward is referred to as the right, and the left side facing forward is referred to as the left.
[0043] The bolt 6 is inserted into a through hole (not shown) formed in the main body 5, and protrudes from the inside to the outside of the main body 5. The bolt 6 is screwed into a nut 7 on the outside of the main body 5, and the guide bar 4 is fixed to the main body 5.
[0044] The guide bar 4 supports the saw chain 3 in a rotatable manner together with a sprocket (not shown) built into the main body 5. The main body 5 houses a motor 70 and a controller 30A shown in Fig. 2. The motor 70 drives the saw chain 3 to move along the outer periphery of the guide bar 4 by rotating the sprocket.
[0045] The electric work machine 1 includes a first grip 12 and a second grip 14. The first grip 12 connects the front end to the rear end of the main body 5 on the upper surface of the main body 5 so that a space is formed between the first grip 12 and the upper surface of the main body 5. The second grip 14 connects the left side surface of the front part of the first grip 12 to the left side surface of the rear part of the main body 5. A user uses the electric work machine 1 by holding the first grip 12 with his right hand and the second grip 14 with his left hand.
[0046] The electric work machine 1 includes a hand guard 16. The hand guard 16 is disposed in front of the first grip 12 and is connected to an emergency stop mechanism of the motor 70. When the hand of the user holding the second grip 14 tilts the hand guard 16 forward, the motor 70 is stopped in an emergency.
[0047] The electric work machine 1 includes a battery mounting section 10. The battery mounting section 10 is disposed at the rear of the lower surface of the main body 5. A battery pack 8 is detachably mounted to the battery mounting section 10. In this embodiment, the battery pack 8 corresponds to an example of a power source of the present disclosure.
[0048] The electric work machine 1 includes an operation panel 20. The operation panel 20 is disposed in the front part of the upper surface of the first grip 12. The operation panel 20 includes a main power switch 21 and a main power / error display unit 23. The main power switch 21 includes a tactile switch, and when pressed by a user, it is turned on and outputs a main power signal indicating on to a first microcomputer (hereinafter, first microcomputer) 40 described below. When released by the user, the main power switch 21 is turned off and outputs a main power signal indicating off to the first microcomputer 40. Each time the main power signal switches from on to off, the state of the main power is switched between on and off.
[0049] The main power supply / error display unit 23 includes two or more LEDs of different colors. The main power supply / error display unit 23 is turned off when the main power supply is off, and is turned on or flashes when the main power supply is on. When the main power supply is on, the main power supply / error display unit 23 turns on or flashes in different colors depending on whether the electric work machine 1 is usable or not. The electric work machine 1 is in an unusable state when an error has occurred in the electric work machine 1. The main power supply / error display unit 23 turns on or flashes in different colors depending on the type of error. The types of errors include a high temperature state of the motor 70, an overload state of the motor 70, a high temperature state of the battery pack 8, a low capacity of the battery pack 8, etc.
[0050] The electric work machine 1 includes a trigger switch 18. The trigger switch 18 is disposed on the underside of the front part of the first grip 12. The user pulls the trigger switch 18 to drive the motor 70, and releases the trigger switch 18 to stop the motor 70. When the user pulls the trigger switch 18, the trigger switch 18 outputs a trigger signal indicating ON to the first microcomputer 40, and when the user releases the trigger switch 18, the trigger switch 18 outputs a trigger signal indicating OFF to the first microcomputer 40.
[0051] The electric work machine 1 is equipped with an unlocking lever 19. The unlocking lever 19 is disposed on the upper surface of the first grip 12 and behind the operation panel 20. When the user presses down on the unlocking lever 19, it is disengaged from the trigger switch 18, and the user is able to pull the trigger switch 18. If the user does not press down on the unlocking lever 19, the user cannot pull the trigger switch 18. The user can pull the trigger switch 18 with their fingertips by holding the first grip 12 while pressing down on the unlocking lever 19.
[0052] <1-2. Electrical configuration> The electrical configuration of the electric working machine 1 will be described with reference to FIG. 2. The electric working machine 1 includes a motor 70. The motor 70 is a three-phase brushless motor. The electric working machine 1 includes a rotation sensor 71. The rotation sensor 71 includes three Hall sensors. The three Hall sensors are arranged corresponding to the three-phase windings of the motor 70. The three Hall sensors output position signals to the first microcomputer 40 in sequence each time the rotor of the motor 70 rotates an electrical angle of 60 degrees. In this embodiment, the rotation sensor 71 and the first microcomputer 40 correspond to an example of an acquisition unit of the present disclosure. Note that, in another embodiment, the motor 70 may be a brushed motor. In addition, in either case where the motor 70 is a brushless motor or a brushed motor, the electric working machine 1 may not include the rotation sensor 71. In this case, the first microcomputer 40 may estimate the rotation speed of the motor 70 based on the induced voltage of the windings of the motor 70, and use the estimated rotation speed instead of the actual rotation speed.
[0053] The electric operating machine 1 includes a controller 30A. The controller 30A includes a power supply control circuit 31, a regulator 32, a first microcomputer 40, a battery voltage detection unit 33, a data communication unit 34, a gate circuit 50, a cutoff switch 51, an inverter circuit 60, a temperature detection circuit 61, and a current detection circuit 62.
[0054] The power supply control circuit 31 is connected to the positive electrode of the battery pack 8, and controls the regulator 32 based on a power supply cutoff signal and a main power supply switching signal. The power supply cutoff signal is output from the battery pack 8 to the power supply control circuit 31 when the remaining capacity of the battery pack 8 is less than a predetermined amount. When the power supply cutoff signal is not output and the main power supply is on, the power supply control circuit 31 causes the regulator 32 to generate power to be supplied to each circuit of the controller 30A. When the power supply cutoff signal is output or when the main power supply is off, the power supply control circuit 31 stops the regulator 32.
[0055] The inverter circuit 60 is connected to the positive electrode of the battery 83 via the cutoff switch 51. The inverter circuit 60 is a full bridge circuit having three low-side switching elements and three high-side switching elements. Each switching element is, for example, a MOSFET. The cutoff switch 51 is a switching element such as a MOSFET. The inverter circuit 60 corresponds to an example of a drive circuit of the present disclosure.
[0056] The gate circuit 50 controls the on / off of each switching element of the inverter circuit 60 based on the motor control signal input from the first microcomputer 40. The inverter circuit 60 applies a voltage corresponding to the on / off of each switching element to the three-phase windings of the motor 70. The gate circuit 50 also controls the on / off of the cutoff switch 51 based on the switch control signal input from the first microcomputer 40. When the cutoff switch 51 is on, the inverter circuit 60 is conductive to the battery 83 and receives power from the battery 83. When the cutoff switch 51 is off, the inverter circuit 60 is electrically cut off from the battery 83.
[0057] The battery voltage detection unit 33 detects the battery voltage value Vbat, and outputs the detected battery voltage value Vbat to the first microcomputer 40. The battery voltage value Vbat corresponds to the magnitude of the output voltage of the battery pack 8.
[0058] The temperature detection circuit 61 detects the circuit temperature of the controller 30A, and outputs the detected circuit temperature to the first microcomputer 40. The current detection circuit 62 detects the power supply current value and outputs the detected power supply current value to the first microcomputer 40. The power supply current value corresponds to the magnitude of the current flowing from the battery pack 8 to the motor 70. In this embodiment, the current detection circuit 62 corresponds to an example of a current measurement unit of the present disclosure.
[0059] The first microcomputer 40 includes a first CPU 41 and a first memory 42. The first memory 42 includes, for example, semiconductor memories such as ROM, RAM, NVRAM, and flash memory. The first microcomputer 40 realizes various functions by the first CPU 41 executing programs stored in the first memory 42. The first microcomputer 40 also stores temporary data generated according to the various functions in the first memory 42. In this embodiment, the first microcomputer 40 corresponds to an example of a first control unit of the present disclosure.
[0060] Some or all of the various functions realized by the first microcomputer 40 may be achieved by executing a program (i.e., by software processing), or may be achieved by one or more pieces of hardware. For example, instead of or in addition to a microcomputer, the first microcomputer 40 may include a logic circuit including multiple electronic components, an application specific integrated circuit such as an ASIC and / or an ASSP, or a programmable logic device such as an FPGA capable of constructing any logic circuit.
[0061] The first microcomputer 40 executes serial communication with the battery pack 8 via the data communication unit 34, and receives battery information indicating the type of the battery 83. The type of the battery 83 varies depending on the parameters of the battery 83. The parameters of the battery 83 include the internal resistance value of the battery 83, the internal inductance of the battery 83, the transient response characteristics of the current output of the battery 83, and the like. In this embodiment, the type of the battery 83 varies depending on the internal resistance value of the battery 83. The battery information includes, for example, identification data such as the model number of the battery pack 8, the internal resistance value of the battery 83, the usage history of the battery 83, a protection threshold value to be described later, and the like. The identification data of the battery pack 8 corresponds to the internal resistance value of the battery 83, and the internal resistance value can be obtained from the identification data. The usage history of the battery 83 corresponds to the protection threshold value, and the protection threshold value can be obtained from the usage history. In addition, the first microcomputer 40 receives a discharge permission signal or a discharge prohibition signal from the battery pack 8 via the data communication unit 34. The discharge permission signal permits discharge from the battery 83 to the motor 70, and is transmitted from the battery pack 8 when the battery 83 is in a dischargeable state. The discharge prohibition signal prohibits discharge from the battery 83 to the motor 70, and is transmitted from the battery pack 8 when the battery 83 is in a discharge-prohibited state.
[0062] The first microcomputer 40 calculates the rotation speed of the motor 70 based on the position signal. Furthermore, the first microcomputer 40 generates a motor control signal and a switch control signal based on the main power supply signal, the trigger signal, the circuit temperature, the battery voltage value Vbat, the battery current value, the rotation speed of the motor 70, the battery information, and the discharge permission signal or the discharge prohibition signal. The first microcomputer 40 outputs the generated motor control signal and switch control signal to the gate circuit 50. The motor control signal is a pulse width modulation (PWM) signal. Furthermore, the first microcomputer 40 controls the LED of the main power supply / error display unit 23 based on the main power supply signal and the detected error of the motor 70 and / or the battery 83.
[0063] The battery pack 8 includes a battery 83 and a second microcomputer (hereinafter, second microcomputer) 80. The battery 83 is a secondary battery that can be charged and discharged, such as a lithium ion battery. The battery 83 includes a plurality of battery cells connected in series.
[0064] The second microcomputer 80 includes a second CPU 81 and a second memory 82. The second memory 82 includes semiconductor memories such as ROM, RAM, NVRAM, and flash memory. The first microcomputer 40 realizes various functions by the second CPU 81 executing programs stored in the second memory 82. In this embodiment, the second microcomputer 80 corresponds to an example of a second control unit of the present disclosure.
[0065] The second microcomputer 80 increments or decrements the battery counter based on the discharge current flowing out of the battery 83 and the charge current flowing into the battery 83. In detail, the second microcomputer 80 increments the battery counter when the value of the discharge current is equal to or greater than a predetermined value, and decrements the battery counter when the value of the discharge current is equal to or less than a predetermined value or when the charge current flows into the battery 83. The battery counter corresponds to the accumulation of the load received by the battery 83, and the value of the battery counter increases as the accumulation of the load increases. When the battery counter exceeds a protection threshold, the second microcomputer 80 prohibits discharge from the battery 83. In addition, the second microcomputer 80 transmits battery information including the protection threshold to the first microcomputer 40.
[0066] <2. Processing> The main processing executed by the first microcomputer 40 will be described with reference to Fig. 3. The first microcomputer 40 repeatedly executes this processing at a predetermined control period.
[0067] In S10, the first microcomputer 40 judges whether a control period has elapsed since the start of the current processing cycle. The control period is set in advance. If the first microcomputer 40 judges that the control period has elapsed (S10: YES), it proceeds to the processing of S20, and if it judges that the control period has not elapsed (S10: NO), it repeats the processing of S10.
[0068] In S20, the first microcomputer 40 executes a switch operation detection process to detect the user's operation of the main power switch 21 and the trigger switch 18. The switch operation detection process will be described in detail later. After executing the process of S20, the first microcomputer 40 proceeds to the process of S30.
[0069] In S30, the first microcomputer 40 executes an AD conversion process to convert the analog values of the circuit temperature, the battery voltage value Vbat, and the power supply current value into digital values. Furthermore, the first microcomputer 40 estimates a line current value. The line current value corresponds to the magnitude of the current flowing through the windings of the motor 70. The estimation of the line current value will be described in detail later. After executing the process of S30, the first microcomputer 40 proceeds to the process of S40.
[0070] In S40, the first microcomputer 40 executes a battery communication process and receives battery information from the battery pack 8 via the data communication unit 34. The battery communication process will be described in detail later. After executing the process of S40, the first microcomputer 40 proceeds to the process of S50.
[0071] In S50, the first microcomputer 40 executes an error detection process to detect the occurrence of an error that requires protection of the controller 30A, the motor 70, or the battery pack 8. When the first microcomputer 40 detects the occurrence of an error, it executes protection of the controller 30A, the motor 70, or the battery pack 8. Types of errors include an overcurrent error in which an excessive current flows through the motor 70, an overload error in which the motor 70 is subjected to an excessive load, a high temperature error in which the circuit temperature is higher than the normal range, an overspeed error in which the rotation speed of the motor 70 exceeds the upper limit, and a battery error in which the battery pack 8 is in a discharge-prohibited state. Details of the overload error detection process will be described later. After executing the process of S50, the first microcomputer 40 proceeds to the process of S60.
[0072] In S60, the first microcomputer 40 executes a motor control process to control the driving of the motor 70. The motor control process will be described in detail later. After executing the process of S60, the first microcomputer 40 proceeds to the process of S70.
[0073] In S70, the first microcomputer 40 executes a display process. In detail, the first microcomputer 40 turns on, blinks, or turns off an LED of a corresponding color in the main power supply / error display unit 23 based on the state of the main power supply and the type of the detected error. After executing the process of S70, the first microcomputer 40 proceeds to the process of S80.
[0074] In S80, the first microcomputer 40 executes a power management process. More specifically, when the change flag of the main power switch 21 is set to ON, the first microcomputer 40 switches the state of the main power from ON to OFF, or OFF to ON. Also, when the trigger switch 18 remains OFF while the main power is ON, the first microcomputer 40 switches the main power from ON to OFF to save power. After executing the process of S80, the first microcomputer 40 returns to the process of S10.
[0075] <2-1. Switch operation detection process> The switch operation detection process executed by the first microcomputer 40 in S20 will be described with reference to FIG.
[0076] In S100, the first microcomputer 40 acquires the states of various switches. That is, the first microcomputer 40 acquires a main power signal from the main power switch 21, and a trigger signal from the trigger switch 18. After executing the process of S100, the first microcomputer 40 proceeds to the process of S110.
[0077] In S110, the first microcomputer 40 applies a filter process to various signals acquired from various switches, and detects that the signal is on if the on state continues for a certain period of time or more, and detects that the signal is off if the off state continues for a certain period of time or more. That is, the first microcomputer 40 does not detect a momentary change in the signal. After executing the process of S110, the first microcomputer 40 proceeds to the process of S120.
[0078] In S120, the first microcomputer 40 turns on a change flag corresponding to a change in the state of the various switches. In particular, when the main power signal changes from on to off or from off to on, the first microcomputer 40 turns on the main power change flag. Also, when the trigger signal changes from on to off or from off to on, the first microcomputer 40 turns on the trigger change flag. After executing the process of S120, the first microcomputer 40 proceeds to the process of S130.
[0079] In S130, the first microcomputer 40 measures the time that each switch is kept in the ON state or the time that each switch is kept in the OFF state, and ends this process.
[0080] <2-2. AD conversion processing> The process of estimating the line current in the AD conversion process executed by the first microcomputer 40 in the process of S30 will be described with reference to FIG.
[0081] In S150, the first microcomputer 40 converts the analog value of the power supply current value received from the current detection circuit 62 into a digital value, and acquires the power supply current value in digital value. In S160, the first microcomputer 40 estimates the line current value based on the power supply current value and the output duty ratio. The output duty ratio is the duty ratio of the PWM signal applied to the motor 70. Specifically, the first microcomputer 40 estimates the line current value based on the formula: Line current value = Power supply current value ÷ Output duty ratio (%) × 100. After executing the process of S160, the first microcomputer 40 ends this process.
[0082] <2-3. Battery communication processing> The battery communication process executed by the first microcomputer 40 in S40 will be described with reference to FIG.
[0083] In S200, the first microcomputer 40 acquires battery information from the battery pack 8 via the data communication unit 34. The first microcomputer 40 acquires the internal resistance value or the protection threshold value of the battery 83 from the battery information. After executing the process of S200, the first microcomputer 40 proceeds to the process of S210.
[0084] In S210, the first microcomputer 40 determines whether the battery 83 is an A type based on the internal resistance value or the protection threshold value. In this embodiment, three types of batteries, A type, B type, and C type, are determined in advance. The A type is a low resistance type having a relatively low internal resistance value, or a high threshold type having a relatively high protection threshold value. The C type is a high resistance type having a relatively high internal resistance value, or a low threshold type having a relatively low protection threshold value. The B type is an intermediate type between the A type and the C type, and is a medium resistance type having a medium internal resistance value, or a medium threshold type having a medium protection threshold value. When the battery deteriorates, the internal resistance value increases. Also, when the battery deteriorates, the protection threshold value is set small to protect the battery 83. Therefore, the low resistance type corresponds to the high threshold type, and the high resistance type corresponds to the low threshold type. In another embodiment, two types of batteries may be determined, or four or more types may be determined.
[0085] If the first microcomputer 40 determines that the battery 83 is A type (S210: YES), the process proceeds to S220. If the first microcomputer 40 determines that the battery 83 is not A type (S210: NO), the process proceeds to S230.
[0086] In S220, the first microcomputer 40 sets the battery type to "A type" and ends this process. In S230, the first microcomputer 40 determines whether the battery 83 is type B based on the internal resistance value or the protection threshold value. If the first microcomputer 40 determines that the battery 83 is type B (S230: YES), the process proceeds to S240, and if the first microcomputer 40 determines that the battery 83 is not type B (S230: NO), the process proceeds to S250.
[0087] In S240, the first microcomputer 40 sets the battery type to "Type B" and ends this process. In S250, the first microcomputer 40 sets the battery type to "Type C" and ends this process.
[0088] <2-4. Error detection processing> 7, the detection process of an overload error in the error detection process executed by the first microcomputer 40 in the process of S50 will be described. An overload error is a state in which the motor 70 is subjected to an excessive load and the motor 70 becomes hot. When the motor 70 becomes hot, it is necessary to protect the motor 70 by stopping the motor 70 so that the motor 70 does not burn out.
[0089] In S300, the first microcomputer 40 determines whether a protection flag corresponding to the detected error is set based on the fact that any error has been detected. If the first microcomputer 40 determines that any protection flag is set (S300: YES), the process proceeds to S330, and if the first microcomputer 40 determines that none of the protection flags are set (S300: NO), the process proceeds to S310.
[0090] In S310, the first microcomputer 40 determines whether the overload protection flag is cleared. The overload protection flag is set when an overload error is detected in the overload protection detection process described later. If the first microcomputer 40 determines that the overload protection flag is cleared, it ends this process, and if it determines that the overload protection flag is set, it proceeds to the process of S320.
[0091] In S320, the first microcomputer 40 sets the error state to overload, and ends this process. In S330, the first microcomputer 40 determines whether the current error state is an overload. If the first microcomputer 40 determines that the error state is an overload (S330: YES), the process proceeds to S340. If the first microcomputer 40 determines that the error state is other than an overload (S330: NO), the process ends.
[0092] In S340, the first microcomputer 40 executes a protection release determination process. That is, the first microcomputer 40 determines whether the protection of the motor 70 in response to the overload can be released. If the first microcomputer 40 determines that the protection of the motor 70 can be released, it clears the overload protection flag and ends this process.
[0093] <2-5. Motor control processing> The motor control process executed by the first microcomputer 40 in the process of S60 will be described with reference to FIG.
[0094] In S400, the first microcomputer 40 determines whether the main power supply is on. If the first microcomputer 40 determines that the main power supply is on (S400: YES), the process proceeds to S410. If the first microcomputer 40 determines that the main power supply is off (S400: NO), the process proceeds to S470.
[0095] In S410, the first microcomputer 40 determines whether any of the protection flags are set. If the first microcomputer 40 determines that any of the protection flags are set (S410: YES), the process proceeds to S470. If the first microcomputer 40 determines that none of the protection flags are set (S410: NO), the process proceeds to S420.
[0096] In S420, the first microcomputer 40 determines whether the trigger switch 18 is on. If the first microcomputer 40 determines that the trigger switch 18 is on (S420: YES), the process proceeds to S430. If the first microcomputer 40 determines that the trigger switch 18 is off (S420: NO), the process proceeds to S470.
[0097] In S430, the first microcomputer 40 sets the control mode of the motor 70 to the drive mode, and the process proceeds to S440. In S440, the first microcomputer 40 sets a target rotation speed ωT of the motor 70, and proceeds to processing in S450. If the electric work machine 1 has a plurality of operation modes, a target rotation speed ωT is determined for each operation mode, and therefore the first microcomputer 40 sets the target rotation speed ωT according to the set operation mode.
[0098] In S450, the first microcomputer 40 calculates a voltage command value to be applied to the motor 70. For example, when the motor 70 is PWM controlled, the first microcomputer 40 calculates an output duty ratio of a PWM signal to be applied to the motor 70 as the voltage command value. More specifically, the first microcomputer 40 calculates the output duty ratio based on the difference between the actual rotation speed of the motor 70 and the target rotation speed ωT. The first microcomputer 40 outputs a PWM signal having the calculated output duty ratio to the gate circuit 50, and the process proceeds to S460. The first microcomputer 40 may vector-control the motor 70.
[0099] In S460, the first microcomputer 40 executes an overload protection detection process, and sets an overload protection flag when detecting an overload of the motor 70. The details of the overload protection detection process will be described later. After executing the process of S460, the first microcomputer 40 ends this process.
[0100] In S470, the first microcomputer 40 sets the control mode of the motor 70 to the stop mode, and proceeds to the process of S480. In S480, the first microcomputer 40 executes a process for stopping the motor 70. Specifically, the first microcomputer 40 outputs a switch control signal for turning off the cutoff switch 51 to the gate circuit 50. After executing the process of S480, the first microcomputer 40 proceeds to the process of S490.
[0101] In S490, the first microcomputer 40 executes an initialization process for the voltage command value to set the voltage command value to zero, and ends this process.
[0102] <2-5-1. Overload protection detection process> The overload protection detection process executed by the first microcomputer 40 in S460 will be described with reference to FIG.
[0103] In S500, the first microcomputer 40 determines whether the control mode of the motor 70 is set to the drive mode. If the first microcomputer 40 determines that the control mode is set to the drive mode (S500: YES), the process proceeds to S510, and if the first microcomputer 40 determines that the control mode is set to the stop mode (S500: NO), the process proceeds to S570.
[0104] In S510, the first microcomputer 40 executes an overload counter increment process, and proceeds to the process of S520. In detail, the first microcomputer 40 increments the overload counter by an increment value according to the line current value and the type of the battery 83, and sets an overload protection flag when the overload counter is equal to or greater than the first counter threshold Ta.
[0105] The overload counter corresponds to an estimated value of the temperature of the motor 70. It is difficult to measure the temperature of the motor 70. Therefore, the first microcomputer 40 increases or decreases the overload counter based on factors that increase or decrease the temperature of the motor 70, and makes the overload counter correspond to the temperature of the motor 70. Details of the overload counter increment process will be described later. In this embodiment, the temperature of the motor 70 corresponds to the temperature of the stator of the motor 70.
[0106] In S520, the first microcomputer 40 determines whether the overload protection flag is set. If the first microcomputer 40 determines that the overload protection flag is set (S520: YES), the process proceeds to S530. If the first microcomputer 40 determines that the overload protection flag is cleared (S520: NO), the process proceeds to S590.
[0107] In S530, the first microcomputer 40 increments the number of times overload protection has been executed, and the process proceeds to S540. Overload protection is executed in response to the setting of an overload protection flag. The number of times overload protection has been executed is the number of times overload protection has been executed from the time the battery pack 8 was connected to the electric work machine 1 until the battery pack 8 was removed, and corresponds to the number of times the overload protection flag was set.
[0108] In S540, the first microcomputer 40 resets the overload counter to zero, and proceeds to the process of S550. In S550, the first microcomputer 40 resets a motor drive counter, which will be described later, to zero, and proceeds to the process of S560. In S560, the first microcomputer 40 resets a motor stop counter, which will be described later, to zero, and proceeds to the process of S590.
[0109] In S570, the first microcomputer 40 clears the overload protection flag, and proceeds to the process of S580. In S580, the first microcomputer 40 applies a low-pass filter to the line current value, and then proceeds to the process of S590.
[0110] In S590, the first microcomputer 40 executes an overload counter subtraction process. In detail, the first microcomputer 40 subtracts a subtraction value according to the actual rotation speed and the type of the battery 83 from the overload counter. The details of the overload counter subtraction process will be described later. After executing the process of S590, the first microcomputer 40 ends this process.
[0111] <2-5-1a. Overload counter addition process> The overload counter increment process executed by the first microcomputer 40 in the process of S510 will be described with reference to FIG.
[0112] In S600, the first microcomputer 40 applies a low-pass filter to the line current value to remove any sudden changes in the line current value, and then proceeds to the process of S610. In S610, the first microcomputer 40 determines whether the number of times overload protection has been performed is three or more. As the number of times overload protection has been performed increases, the heat accumulated in the motor 70 increases. Therefore, when overload protection has been repeatedly performed, it is desirable to stop the motor 70. In this embodiment, the determination threshold is set to three times in order to stop the motor 70 when overload protection has been performed three times. In another embodiment, the determination threshold may be two or four or more times. When the first microcomputer 40 determines that the number of times overload protection has been performed is three or more (S610: YES), it proceeds to the process of S620, and when the first microcomputer 40 determines that the number of times overload protection has been performed is two or less (S610: NO), it proceeds to the process of S630.
[0113] In S620, the first microcomputer 40 sets the line current value to 200A, and proceeds to the process of S630. The first memory 42 stores an addition value table. As shown in FIG. 12, the addition value table is a table of addition values according to the line current value and the type of battery. The addition value is a positive value. In the addition value table, the larger the line current value is, the larger the addition value is, and the larger the internal resistance value is (or the smaller the protection threshold value is), the larger the addition value is. 200A is a value that maximizes the addition value for each type of battery. In another embodiment, the line current value may be set to a value other than 200A as long as it maximizes the addition value for each type of battery. In another embodiment, instead of the addition value table, a table of addition rates may be stored in the first memory 42, and the overload counter may be increased based on the addition rate instead of the addition value.
[0114] In S630, the first microcomputer 40 determines whether the line current value is smaller than the first current threshold It1. If the first microcomputer 40 determines that the line current value is smaller than the first current threshold Ith1 (S630: YES), the process proceeds to S640, and if the first microcomputer 40 determines that the line current value is equal to or greater than the first current threshold Ith1 (S630: NO), the process proceeds to S650.
[0115] In S640, the first microcomputer 40 sets the additive index A to a0, and proceeds to the process of S680. In S650, the first microcomputer 40 determines whether the line current value is smaller than the second current threshold It2. The second current threshold It2 is larger than the first current threshold It1. If the first microcomputer 40 determines that the line current value is smaller than the second current threshold Ith2 (S650: YES), the process proceeds to S660. If the first microcomputer 40 determines that the line current value is equal to or larger than the second current threshold Ith2 (S650: NO), the process proceeds to S670.
[0116] In S660, the first microcomputer 40 sets the additive index A to a1, and the process proceeds to S680. In S670, the first microcomputer 40 sets the additive index A to a2, and the process proceeds to S680.
[0117] In S680, the first microcomputer 40 determines whether the type of the battery 83 is Type A. If the first microcomputer 40 determines that the type of the battery 83 is Type A (S680: YE), the process proceeds to S690, and if the first microcomputer 40 determines that the type of the battery 83 is other than Type A (S680: NO), the process proceeds to S700.
[0118] In S690, the first microcomputer 40 sets the additive index B to b0, and proceeds to the process of S730. In S700, the first microcomputer 40 determines whether the type of the battery 83 is type B. If the first microcomputer 40 determines that the type of the battery 83 is type B (S700: YES), the process proceeds to S710, and if the first microcomputer 40 determines that the type of the battery 83 is type C (S700: NO), the process proceeds to S720.
[0119] In S710, the first microcomputer 40 sets b1 to the additive index B, and proceeds to the process of S730. In S720, the first microcomputer 40 sets the additive index B to b2, and the process proceeds to S730.
[0120] In S730, the first microcomputer 40 obtains an additional value corresponding to the set addition index A and addition index B from the additional value table. For each type of battery, when the line current value is less than the first current threshold Ith1, the additional value is zero, and when the line current value is equal to or greater than the first current threshold Ith1, the additional value is a value greater than zero. Then, the first microcomputer 40 adds the obtained additional value to the overload counter and proceeds to the process of S740. In this embodiment, the first current threshold Ith1 corresponds to an example of a current threshold of the present disclosure.
[0121] In S740, the first microcomputer 40 determines whether the number of times that overload protection has been executed is more than 3. If the first microcomputer 40 determines that the number of times that overload protection has been executed is more than 3 (S740: YES), the process proceeds to S750, and if the first microcomputer 40 determines that the number of times that overload protection has been executed is 3 or less (S740: NO), the process proceeds to S760.
[0122] In S750, the first microcomputer 40 sets the number of executions of overload protection to three, and the process proceeds to S760. In S760, the first counter threshold Ta corresponding to the number of times overload protection is executed is obtained from the first counter threshold table, and the process proceeds to S770. As the heat accumulated in the motor 70 increases with an increase in the number of times overload protection is executed, the first microcomputer 40 changes the first counter threshold Ta according to the number of times overload protection is executed. The first memory 42 stores a first counter threshold table. As shown in FIG. 13, the first counter threshold table is a table of first counter thresholds Ta corresponding to the number of times overload protection is executed. The first microcomputer 40 obtains the first counter threshold Ta corresponding to the number of times overload protection is executed from the first counter threshold table. The first counter threshold Ta corresponding to 3 times is 1, and the first counter threshold Ta corresponding to 2 times is A3 which is larger than 1. The first counter threshold Ta corresponding to 1 time is A2 which is larger than A3. The first counter threshold Ta corresponding to 0 times is A1 which is larger than A2.
[0123] In S770, the first microcomputer 40 determines whether the overload counter is equal to or greater than the first counter threshold Ta. If the first microcomputer 40 determines that the overload counter is equal to or greater than the first counter threshold Ta (S770: YES), the first microcomputer 40 proceeds to processing of S780, and if the first microcomputer 40 determines that the overload counter is less than the first counter threshold Ta (S770: NO), the first microcomputer 40 ends this processing.
[0124] In S780, the first microcomputer 40 sets the overload protection flag and ends this process.
[0125] <2-5-1b. Overload counter subtraction process> The overload counter decrement process executed by the first microcomputer 40 in the process of S590 will be described with reference to FIG.
[0126] In S800, the first microcomputer 40 determines whether the actual rotation speed of the motor 70 is smaller than the first speed threshold ωt1. When the motor 70 rotates, the motor 70 is cooled by the rotation of a fan provided in the rotor. Even when no current flows through the motor 70 and the motor 70 rotates by inertia, the motor 70 is cooled if the actual rotation speed is equal to or higher than a predetermined speed.
[0127] The first memory 42 stores a first subtraction value table. As shown in Fig. 14, the first subtraction value table is a table of subtraction values according to the actual rotation speed of the motor 70 and the type of the battery. The subtraction values are positive values. In the first subtraction value table, the subtraction value increases as the actual rotation speed increases, and the subtraction value increases as the internal resistance value increases (or the protection threshold value decreases). In another embodiment, the first memory 42 may store a table of a first subtraction rate instead of the first subtraction value table, and the overload counter may be subtracted based on the first subtraction rate.
[0128] If the first microcontroller 40 determines that the actual rotation speed is smaller than the first speed threshold ωt1 (S800: YES), it proceeds to processing of S810, and if it determines that the actual rotation speed is greater than or equal to the first speed threshold ωt1 (S800: NO), it proceeds to processing of S820.
[0129] In S810, the first microcomputer 40 sets the subtraction index A to aa0, and proceeds to the process of S850. In S820, the first microcomputer 40 determines whether the actual rotation speed is smaller than the second speed threshold ωt2. The second speed threshold ωt2 is larger than the first speed threshold ωt1. If the first microcomputer 40 determines that the actual rotation speed is smaller than the second speed threshold ωt2 (S820: YES), the process proceeds to S830. If the first microcomputer 40 determines that the actual rotation speed is equal to or greater than the second speed threshold ωt2 (S820: NO), the process proceeds to S840.
[0130] In S830, the first microcomputer 40 sets the subtraction index A to aa1, and proceeds to the process of S850. In S840, the first microcomputer 40 sets the subtraction index A to aa2, and proceeds to the process of S850.
[0131] In S850, the first microcomputer 40 determines whether the type of the battery 83 is Type A. If the first microcomputer 40 determines that the type of the battery 83 is Type A (S850: YES), the process proceeds to S860, and if the first microcomputer 40 determines that the type of the battery 83 is other than Type A (S850: NO), the process proceeds to S870.
[0132] In S860, the first microcomputer 40 sets the subtraction index B to bb0, and proceeds to the process of S900. In S870, the first microcomputer 40 determines whether the type of the battery 83 is type B. If the first microcomputer 40 determines that the type of the battery 83 is type B (S870: YES), the process proceeds to S880, and if the first microcomputer 40 determines that the type of the battery 83 is type C (S870: NO), the process proceeds to S890.
[0133] In S880, the first microcomputer 40 sets the subtraction index B to bb1, and proceeds to the process of S900. In S890, the first microcomputer 40 sets the subtraction index B to bb2, and proceeds to the process of S900.
[0134] In S900, the first microcomputer 40 determines whether the actual rotation speed of the motor 70 is greater than 0 rpm. That is, the first microcomputer 40 determines whether the motor 70 is rotating. When the rotor of the motor 70 stops, the motor 70 dissipates heat and cools down. However, the rate at which the temperature of the motor 70 decreases while the motor 70 is stopped is smaller than the rate at which the temperature of the motor 70 decreases while the motor 70 is driven. Therefore, it is desirable to make the second decrement rate smaller than the first decrement rate. The first decrement rate corresponds to the decrement rate of the overload counter while the motor 70 is driven, and the second decrement rate corresponds to the decrement rate of the overload counter while the motor 70 is stopped. In S900, the first microcomputer 40 determines whether the motor 70 is rotating in order to change the second decrement rate from the first decrement rate.
[0135] If the first microcomputer 40 determines that the actual rotation speed is greater than 0 rpm, i.e., that the motor 70 is rotating (S900: YES), the process proceeds to S910. If the first microcomputer 40 determines that the actual rotation speed is equal to or less than 0 rpm, i.e., that the motor 70 is stopped (S900: NO), the process proceeds to S980.
[0136] In S910, since the motor 70 is rotating, the first microcomputer 40 resets the motor stop counter to zero, and proceeds to the process of S920. In S920, the first microcomputer 40 determines whether the overload counter is greater than 0. If the first microcomputer 40 determines that the overload counter is greater than 0 (S920: YES), the process proceeds to S930, and if the first microcomputer 40 determines that the overload counter is equal to or less than 0 (S920: NO), the process proceeds to S970.
[0137] In S930, the first microcomputer 40 obtains a subtraction value corresponding to the set subtraction index A and subtraction index B from the first subtraction value table, and proceeds to processing in S940. In each type of battery, when the actual rotation speed is less than the first speed threshold ωt1, the subtraction value is zero, and when the actual rotation speed is equal to or greater than the first speed threshold ωt1, the subtraction value is a value greater than zero. In this embodiment, the first speed threshold ωt1 corresponds to an example of a speed threshold of the present disclosure.
[0138] In the load range of the motor 70 assumed in this embodiment, the first current threshold Ith1 and the first speed threshold ωt1 are determined such that when the line current value is equal to or greater than the first current threshold Ith1, the actual rotation speed becomes less than the first speed threshold ωt1, and when the actual rotation speed is equal to or greater than the first speed threshold ωt1, the line current value becomes less than the first current threshold Ith1. That is, the first current threshold Ith1 and the first speed threshold ωt1 are determined such that when the added value is greater than 0, the subtracted value becomes 0, and when the subtracted value is greater than 0, the added value becomes 0. This prevents an increase in the overload counter from occurring simultaneously with a decrease in the overload counter.
[0139] In S940, the first microcomputer 40 determines whether the subtraction value acquired in S930 is greater than 0. If the first microcomputer 40 determines that the subtraction value is greater than 0 (S940: YES), the process proceeds to S950, and if the first microcomputer 40 determines that the subtraction value is equal to or less than 0 (S940: NO), the process proceeds to S970.
[0140] In S950, the first microcomputer 40 adds a fixed value to the motor drive counter, and proceeds to the process of S960. The motor drive counter corresponds to the elapsed time from when the overload counter starts decreasing while the motor 70 is rotating.
[0141] In S960, the first microcomputer 40 determines whether the motor drive counter is smaller than the second counter threshold Tx. If the first microcomputer 40 determines that the motor drive counter is smaller than the second counter threshold Tx (S960: YES), the process proceeds to S65, and if the first microcomputer 40 determines that the motor drive counter is equal to or greater than the second counter threshold Tx (S960: NO), the process proceeds to S970.
[0142] In S970, the first microcomputer 40 resets the subtraction value to zero and proceeds to the process of S65. As a result, when the elapsed time from the start of the decrease in the overload counter reaches the second counter threshold value Tx while the motor 70 is rotating, the decrease in the overload counter stops.
[0143] 16, when the motor 70 is rotating, the stator temperature of the motor 70 drops sharply and then drops gradually. Therefore, if the overload counter continues to decrease while the motor 70 is rotating, the overload counter will deviate from the stator temperature of the motor 70.
[0144] 17, an upper limit of the decrement time of the overload counter is set while the motor 70 is rotating, and when the decrement time reaches the upper limit, the decrement of the overload counter is stopped and the overload counter is maintained. In this embodiment, the second counter threshold Tx corresponds to an example of the first time in the present disclosure.
[0145] In S980, since the motor 70 is stopped, the first microcomputer 40 resets the motor drive counter to zero, and proceeds to the process of S990. In S990, the first microcomputer 40 determines whether the overload counter is greater than 0. If the first microcomputer 40 determines that the overload counter is greater than 0 (S990: YES), the process proceeds to S15, and if the first microcomputer 40 determines that the overload counter is equal to or less than 0 (S990: NO), the process proceeds to S55.
[0146] In S15, the first microcomputer 40 obtains a subtraction value corresponding to the number of times overload protection has been executed from the second subtraction value table, and proceeds to the process of S25. The first memory 42 stores a second subtraction value table. As shown in FIG. 15, the second subtraction value table is a table of subtraction values corresponding to the number of times overload protection has been executed. The subtraction value increases as the number of times overload protection has been executed decreases. In another embodiment, a table of a second subtraction rate may be stored in the first memory 42 instead of the second subtraction value table, and the overload counter may be subtracted based on the second subtraction rate.
[0147] In S25, the first microcomputer 40 determines whether the subtraction value is greater than 0. If the first microcomputer 40 determines that the subtraction value is greater than 0 (S25: YES), the process proceeds to S35, and if the first microcomputer 40 determines that the subtraction value is equal to or less than 0 (S25: NO), the process proceeds to S55.
[0148] In S35, the first microcomputer 40 adds a fixed value to the motor stop counter, and proceeds to the process of S45. The motor stop counter corresponds to the elapsed time from when the overload counter started to decrease while the motor 70 is stopped.
[0149] In S45, the first microcomputer 40 determines whether the motor stop counter is smaller than the third counter threshold Ty. If the first microcomputer 40 determines that the motor stop counter is smaller than the third counter threshold Ty (S45: YES), the process proceeds to S65, and if the first microcomputer 40 determines that the motor stop counter is equal to or larger than the third counter threshold Ty (S45: NO), the process proceeds to S55.
[0150] In S55, the first microcomputer 40 resets the subtraction value to zero, and proceeds to the process of S65. As a result, when the time elapsed since the start of the decrease in the overload counter reaches the third counter threshold value Ty while the motor 70 is stopped, the decrease in the overload counter stops.
[0151] 16, when the motor 70 is stopped, the temperature of the motor 70 drops somewhat rapidly and then drops very gradually. Therefore, if the overload counter continues to decrease while the motor 70 is stopped, the overload counter may deviate from the stator temperature of the motor 70.
[0152] 17, an upper limit of the decrement time of the overload counter is set while the motor 70 is stopped, and when the decrement time reaches the upper limit, the decrement of the overload counter is stopped and the overload counter is maintained. In this embodiment, the third counter threshold Ty corresponds to an example of the second time in the present disclosure.
[0153] In FIG. 18, the solid line shows the change over time of the stator temperature of the motor 70. The dotted line shows the change over time of the overload counter when an upper limit is set for the subtraction time while the motor 70 is rotating and stopped. The dashed line shows the change over time of the overload counter when no upper limit is set for the subtraction time while the motor 70 is rotating and stopped. When an upper limit is set for the subtraction time, the overload counter tracks the stator temperature, and the deviation between the overload counter and the stator temperature is small. In other words, the overload counter corresponds to the temperature of the motor 70 with high accuracy. On the other hand, when no upper limit is set for the subtraction time, the deviation between the overload counter and the stator temperature is large. In other words, the overload counter does not correspond to the temperature of the motor 70 with high accuracy.
[0154] In S65, the first microcomputer 40 judges whether the overload counter is equal to or greater than the subtraction value. If the first microcomputer 40 judges that the overload counter is equal to or greater than the subtraction value (S65: YES), the process proceeds to S75, and if the first microcomputer 40 judges that the overload counter is less than the subtraction value (S65: NO), the process proceeds to S85.
[0155] In S75, the first microcomputer 40 subtracts the subtraction value from the overload counter, and then ends this process. In S85, the first microcomputer 40 resets the overload counter to zero and ends this process. In this embodiment, the overload counter is used as a value equal to or greater than 0. If the overload counter is less than the subtraction value, the first microcomputer 40 resets the overload counter to zero so that the overload counter does not become a negative value.
[0156] <3.Operation> With reference to the time chart of FIG. 19, the changes over time of various parameters while the motor 70 is rotating will be described.
[0157] At time t1, the main power switch 21 is pressed to turn on the power of the first CPU 41. At time t2, the trigger switch 18 is turned on. At time t3, the motor control mode is set to the drive mode. This causes a line current to flow through the motor 70, and the motor 70 begins to rotate.
[0158] At time t4, the user starts working using the electric work machine 1, causing the line current value to increase. Also, at time t4, the actual rotational speed decreases in accordance with the load on the motor 70. Furthermore, at time t4, the line current value becomes equal to or greater than the first current threshold Ith1, causing the overload counter to start increasing at an increase rate corresponding to the line current value. From time t4 to time t5, the line current value becomes equal to or greater than the first current threshold Ith1, and the overload counter continues to increase. From time t4 to time t5, the actual rotational speed is less than the first speed threshold ωt1.
[0159] At time t5, the line current becomes less than the first current threshold Ith1 and the actual rotation speed becomes equal to or greater than the first speed threshold ωt1, so that the overload counter starts to decrease at a decrease rate according to the actual rotation speed. Also, the motor drive counter starts to increase. At time t6, the actual rotation speed becomes equal to or greater than the second speed threshold ωt2, so that the decrease rate of the overload counter becomes larger. At time t7, the actual rotation speed becomes equal to or greater than the first speed threshold ωt1 and less than the second speed threshold ωt2, but the decrease of the overload counter stops because the motor drive counter has reached the second counter threshold Tx.
[0160] Next, with reference to the time chart of FIG. 20, changes over time of various parameters while the motor 70 is rotating by inertia and while the motor 70 is stopped will be described. At time t11, the user starts working with the electric work machine 1, causing the line current value to increase and the actual rotation speed to decrease. At time t11, the line current value becomes equal to or greater than the first current threshold Ith1, causing the overload counter to start increasing at an increase rate according to the line current value. At time t12, the line current value becomes equal to or greater than the second current threshold Ith2, causing the increase rate of the overload counter to increase.
[0161] At time t13, trigger switch 18 is turned off and the line current value becomes zero. Between time t13 and time t14, motor 70 continues to rotate by inertia, and at time t14, motor 70 stops. At time t13, the actual rotation speed becomes equal to or greater than first rotation threshold ωt1, so that the overload counter starts to decrease at a rate corresponding to the actual rotation speed, and the motor drive counter starts to increase. At time t14, motor 70 stops, so that the motor drive counter is cleared.
[0162] At time t14, the motor 70 stops, so that the overload counter continues to decrease at a rate corresponding to the number of times the overload protection has been executed, and the motor stop counter starts to increase. At time t15, the motor stop counter reaches the third counter threshold Ty, and the overload counter stops decreasing. At time t16, the trigger switch 18 is turned on. At time t17, the motor 70 starts to rotate, and the motor stop counter is cleared.
[0163] Next, with reference to the time chart of FIG. 21, a description will be given of changes in the decrement rate of the overload counter according to the number of times overload protection is executed. At time t31, the overload counter becomes equal to or greater than the first counter threshold Ta, so that an overload protection flag is set and the motor 70 stops. At this time, the first counter threshold Ta is set to the zeroth threshold A1. As overload protection has been executed, the number of times overload protection has been executed becomes one from zero. The overload counter is also reset to zero and the overload protection flag is cleared. Furthermore, the first counter threshold Ta is set to the first threshold A2.
[0164] At time t32, as the electric work machine 1 performs work, the line current value becomes equal to or greater than the first current threshold Ith1, and the overload counter increases at an increase rate according to the line current value. At time t33, the trigger switch 18 is turned off. Between time t33 and time t34, the motor 70 rotates by inertia, and the actual rotational speed becomes equal to or greater than the first speed threshold ωt1, so that the overload counter decreases at a decrease rate according to the actual rotational speed, and the motor drive counter increases.
[0165] At time t34, the motor 70 stops, and the motor drive counter is cleared. Furthermore, as a result of the motor 70 stopping, the overload counter starts to decrease at a decrease rate corresponding to the number of times overload protection has been executed, "1", and the motor stop counter starts to increase. When the overload counter becomes 0, the decrease stops.
[0166] At time t35, the motor stop counter is cleared as the motor 70 starts to rotate. Although the actual rotation speed is equal to or greater than the second rotation threshold value ωt2, the overload counter is not decreased because it is set to 0.
[0167] At time t36, the line current value becomes equal to or greater than the second current threshold Ith2, so that the overload counter starts to increase at an increase rate according to the line current value. At time t37, the overload counter becomes equal to or greater than the first counter threshold Ta, so that the overload protection flag is set and the motor 70 stops. As a result of overload protection being executed, the number of times overload protection has been executed becomes two from one. In addition, the overload counter is reset to zero and the overload protection flag is cleared. Furthermore, the first counter threshold Ta is set to the second threshold A3.
[0168] At time t38, as a result of work by the electric work machine 1, the line current value becomes equal to or greater than the first current threshold Ith1, and the overload counter increases at an increase rate according to the line current value. At time t39, the trigger switch 18 is turned off. Between time t39 and time t40, the motor 70 rotates by inertia, and as the actual rotational speed becomes equal to or greater than the first speed threshold ωt1, the overload counter decreases at a decrease rate according to the actual rotational speed, and the motor drive counter increases.
[0169] At time t40, the motor 70 stops, and the motor drive counter is cleared. Furthermore, as a result of the motor 70 stopping, the overload counter starts to decrease at a decrease rate according to the number of times overload protection has been executed, "2", and the motor stop counter starts to increase. When the overload counter becomes 0, the decrease stops.
[0170] At time t41, the motor stop counter is cleared as the motor 70 starts to rotate. Although the actual rotation speed is equal to or greater than the second rotation threshold value ωt2, the overload counter is set to 0 and therefore does not decrease.
[0171] At time t42, the line current value becomes equal to or greater than the first current threshold Ith1, and the overload counter increases at an increase rate according to the line current value. At time t43, the overload counter becomes equal to or greater than the first counter threshold Ta, so that an overload protection flag is set and the motor 70 stops. As a result of overload protection being executed, the number of times overload protection has been executed increases from two to three. The overload counter is also reset to zero, and the overload protection flag is cleared. Furthermore, the first counter threshold Ta is set to the third threshold A4.
[0172] At time t44, the line current value becomes equal to or greater than the second current threshold Ith2, and the overload counter increases at an increase rate according to the line current value. The overload counter then becomes equal to or greater than the first counter threshold Ta, the overload protection flag is set, and the motor 70 stops. Because the number of times overload protection has been performed exceeds three, from time t44 onwards, the motor 70 will not drive even if the trigger switch 18 is turned on.
[0173] <4. Effects> According to the first embodiment described above in detail, the following effects are achieved. (1) The overload counter is incremented based on the line current value and decremented based on the actual rotation speed of the motor 70. Therefore, the overload counter is decremented based on the actual rotation speed even during inertial rotation of the motor 70. Therefore, the overload counter corresponds to the actual temperature of the motor 70 with high accuracy. As a result, in the electric work machine 1, the motor 70 can be appropriately protected.
[0174] (2) The amount of decrease in the temperature of the motor 70 varies depending on the actual rotation speed of the motor 70. By changing the rate of decrease in the overload counter in response to the actual rotation speed, the overload counter can be made to correspond to the actual temperature of the motor 70 with high accuracy.
[0175] (3) The higher the actual rotation speed of the motor 70, the greater the amount of decrease in the temperature of the motor 70. By increasing the rate of decrease in the overload counter in response to an increase in the actual rotation speed, the overload counter can be made to correspond with the actual temperature of the motor 70 with higher accuracy.
[0176] (4) Even if the actual rotation speed of the motor 70 is the same, the line current value differs depending on the type of battery 83, and the amount of decrease in temperature of the motor 70 differs. By changing the subtraction value depending on the type of battery 83, the overload counter can be made to correspond to the actual temperature of the motor 70 with high accuracy.
[0177] (5) Even if the actual rotation speed of the motor 70 is the same, if the internal resistance value of the battery 83 is different, the line current value will be different. In turn, the amount of decrease in temperature of the motor 70 will be different. By changing the subtraction value according to the internal resistance value of the battery 83, the overload counter can be made to correspond to the actual temperature of the motor 70 with high accuracy.
[0178] (6) As the deterioration of the battery 83 progresses, the internal resistance value of the battery 83 increases. Furthermore, as the deterioration of the battery 83 progresses, the battery pack 8 reduces the protection threshold value in order to protect the battery 83 at an early stage. Therefore, by changing the subtraction value according to the protection threshold value, the overload counter can be made to correspond to the actual temperature of the motor 70 with high accuracy.
[0179] (7) The number of times overload protection is executed corresponds to the accumulated temperature of the motor 70. Therefore, by decreasing the rate of decrease of the overload counter in response to an increase in the number of times overload protection is executed, the overload counter can be made to correspond with the actual temperature of the motor 70 with high accuracy.
[0180] (8) The actual temperature of the motor 70 drops rapidly to a certain extent, and then drops gradually. Therefore, if the overload counter continues to be decremented while the motor 70 is rotating, the overload counter will deviate from the actual temperature of the motor 70. Therefore, an upper limit is set for the decrement time while the motor 70 is rotating, and when the decrement time reaches the upper limit, the decrement of the overload counter is stopped. This makes it possible to prevent the overload counter from deviating from the actual temperature of the motor 70.
[0181] (9) If the overload counter continues to decrease while the motor 70 is stopped, the overload counter will deviate from the actual temperature of the motor 70. Therefore, an upper limit is set on the decrement time while the motor 70 is stopped, and when the decrement time reaches the upper limit, the decrement of the overload counter is stopped. This makes it possible to prevent the overload counter from deviating from the actual temperature of the motor 70.
[0182] Second embodiment <1. Differences from the first embodiment> The second embodiment has a basic configuration similar to that of the first embodiment, and therefore differences will be described below. Note that the same reference numerals as those in the first embodiment indicate the same configuration, and the preceding description will be referred to.
[0183] In the first embodiment, the electric working machine 1 includes the controller 30A, but in the second embodiment, the electric working machine 1 differs from the first embodiment in that it includes a controller 30B instead of the controller 30A.
[0184] In addition, while in the first embodiment, the first speed threshold ωt1 and the second speed threshold ωt2 were constant values, the second embodiment differs from the first embodiment in that the first microcontroller 40 calculates the first speed threshold ωt1 and the second speed threshold ωt2 based on the input voltage value Vmоt of the motor 70.
[0185] When the motor 70 is under constant speed control, the rotation speed is maintained even if a heavy load is applied to the motor 70. Therefore, when the first speed threshold ωt1 and the second speed threshold ωt2 are constant, if a heavy load is applied to the motor 70, the line current value may be greater than the first current threshold It1 and the rotation speed may be greater than the first speed threshold ωt1. As a result, the overload counter may be decremented and incremented at the same time, causing a divergence between the overload counter and the temperature of the motor 70, and it may not be possible to protect the motor 70 at an appropriate time.
[0186] Therefore, in the second embodiment, the first microcomputer 40 decrements the overload counter only when the difference ΔV obtained by subtracting the induced voltage value Vf from the input voltage value Vmоt of the motor 70 is less than a predetermined value (e.g., 3.6 V). When a heavy load is applied to the motor 70 during constant speed control, the input voltage value Vmоt increases in order to maintain the rotation speed of the motor 70 constant. The induced voltage value Vf is proportional to the rotation speed of the motor 70. Therefore, in the constant speed control, the difference ΔV increases as the load increases. Therefore, by not decrementing the overload counter when the difference ΔV is equal to or greater than a predetermined value, inappropriate decrementing of the overload counter is suppressed. In the second embodiment, the first microcomputer 40 calculates the first speed threshold value ωt1 and the second speed threshold value ωt2 based on the input voltage value Vmоt so that the overload counter is decremented only when the difference ΔV is less than the predetermined value.
[0187] Furthermore, in the first embodiment, the subtraction value acquired from the first or second subtraction value table is subtracted from the overload counter. In contrast, in the second embodiment, the subtraction value acquired from the first or second subtraction value table is corrected based on the overload counter, and the corrected subtraction value is subtracted from the overload counter, which is different from the first embodiment.
[0188] The motor temperature (specifically, the temperature of the stator) decreases faster as the temperature difference between the ambient temperature and the motor temperature increases. The higher the motor temperature, the greater the temperature difference. Thus, the higher the motor temperature, the greater the rate of decrease in the motor temperature. Therefore, if the rate of decrease in the motor temperature is kept constant, the overload counter may become larger than the actual temperature of the motor 70. As a result, the first microcomputer 40 may stop the motor 70 unnecessarily early based on the overload counter. Therefore, in the second embodiment, in order to further suppress the deviation between the overload counter and the actual temperature of the motor 70, the first microcomputer 40 corrects the subtraction value so that the amount of decrease increases as the overload counter increases.
[0189] <2. Controller configuration> The configuration of a controller 30B according to the second embodiment will be described with reference to FIG. 22. The controller 30B does not include a current detection circuit 62. Instead, the controller 30B includes motor current detection circuits 72A, 72B and motor current processing circuits 73A, 73B. The motor current detection circuit 72A is disposed on a winding of one phase of the motor 70, detects a line current value flowing through the winding of the one phase, and outputs the detected line current value to the motor current processing circuit 73A. The motor current detection circuit 72B is disposed on a winding of another phase of the motor 70, detects a line current value flowing through the winding of the other phase, and outputs the detected line current value to the motor current processing circuit 73B.
[0190] The motor current processing circuits 73A, 73B perform filtering and amplification on the input line current value and output the processed line current value to the first microcontroller 40. As a result, the first microcontroller 40 obtains the line current values of two of the three phases. The sum of the line current values of the three phases is constant. Therefore, by obtaining the line current values of two phases, the first microcontroller 40 can also obtain the line current value of the remaining phase.
[0191] <3. Overload counter decrement process> The overload counter decrement process executed by the first microcomputer 40 in the process of S590 will be described with reference to FIG.
[0192] First, in S1000, the first microcomputer 40 executes a speed threshold calculation process to calculate the first speed threshold ωt1 and the second speed threshold ωt2. The speed threshold calculation process will be described in detail later. Next, in steps S800 to S990 and S15 to S55, the first microcomputer 40 executes the same processes as those in steps S800 to S990 and S15 to S55 in the first embodiment.
[0193] Next, in S1100, the first microcomputer 40 executes a correction process for the subtraction value to correct the subtraction value acquired from the first or second subtraction value table. The details of the correction process for the subtraction value will be described later. Next, in S65 to S85, the first microcomputer 40 executes the same processes as those in S65 to S85 in the first embodiment.
[0194] That is, in the overload counter decrement process according to the second embodiment, the first microcomputer 40 executes the process of S1000 and the process of S1100 in addition to the overload counter decrement process according to the first embodiment.
[0195] <3-1. Speed threshold calculation process> The speed threshold calculation process executed by the first microcomputer 40 in the process of S1000 will be described with reference to FIG.
[0196] First, in S1010, the first microcomputer 40 obtains the current battery voltage value Vbat detected by the battery voltage detection unit 33. Next, in S1020, the first microcomputer 40 obtains the current voltage command value.
[0197] Next, in S1030, the first microcomputer 40 calculates an input voltage value Vmоt based on the battery voltage value Vbat acquired in S1010 and the voltage command value acquired in S1020. Specifically, when the motor 70 is PWM controlled, the first microcomputer 40 calculates the input voltage value Vmоt based on the battery voltage value Vbat×voltage command value (specifically, output duty ratio) (%)÷100. Alternatively, when the motor 70 is vector controlled, the first microcomputer 40 converts two-phase voltage command values in the rotating coordinate system into three-phase voltage command values in a fixed coordinate system, and sets the three-phase voltage command values as the input voltage value Vmоt.
[0198] Next, in S1040, the first microcomputer 40 calculates the first speed threshold ωt1 and the second speed threshold ωt2 based on the input voltage value Vmоt calculated in S1030. Specifically, the first microcomputer 40 calculates the first speed threshold ωt1 and the second speed threshold ωt2 to be larger as the input voltage value Vmоt increases. For example, the first microcomputer 40 multiplies the input voltage value Vmоt by a first coefficient K1 to calculate the first speed threshold ωt1, and multiplies the input voltage value Vmоt by a second coefficient K2 to calculate the second speed threshold ωt2. The first coefficient K1 and the second coefficient K2 are positive values, and the second coefficient K2 is larger than the first coefficient K1.
[0199] As a result, the larger the input voltage value Vmоt, the more the decrement of the overload counter is suppressed. That is, when a heavy load is applied to the motor 70 and the input voltage Vmоt is increased to maintain the rotation speed, the decrement of the overload counter is suppressed.
[0200] <3-2. Correction process for subtraction value> The process of correcting the subtraction value executed by the first microcomputer 40 in the process of S1100 will be described with reference to FIG.
[0201] First, in S1110, the first microcomputer 40 determines whether the subtraction value acquired from the first or second subtraction value table is greater than 0. If the first microcomputer 40 determines that the subtraction value is greater than 0 (S1110: YES), the process proceeds to S1120. If the first microcomputer 40 determines that the subtraction value is 0 (S1110: NO), the process ends without correcting the subtraction value.
[0202] In S1120, the first microcomputer 40 obtains the current overload counter value. In S1130, the first microcomputer 40 recalculates the subtraction value based on the overload counter. Specifically, the larger the overload counter is, the larger the subtraction value is calculated by the first microcomputer 40. For example, the first microcomputer 40 divides the current overload counter by a reference counter value to calculate a correction coefficient Kn. The reference counter value is a constant and is less than the first counter threshold value Ta. The correction coefficient Kn is set to a value of 1 or less. For example, if the first counter threshold value Ta is 10000 and the reference counter value is 80000, the correction coefficient Kn is calculated to be 1.125, but in this case, the correction coefficient Kn is set to 1.
[0203] The first microcomputer 40 multiplies the current subtraction value by the correction coefficient Kn to calculate the corrected subtraction value. When the overload counter value is large, the correction coefficient Kn becomes a value close to 1, and when the overload counter value is small, the correction coefficient Kn becomes a value close to 0. As a result, when the overload counter value is large, the subtraction value becomes large, and when the overload counter value is small, the subtraction value becomes small.
[0204] Next, in S1140, the first microcomputer 40 determines whether the subtraction value calculated in S1130 is less than a lower limit value. The lower limit value is a minimum value of the subtraction value, and is set in advance. If the first microcomputer 40 determines that the lower limit value is less than the subtraction value (S1140: YES), it proceeds to processing of S1150, and if it determines that the lower limit value is equal to or greater than the subtraction value (S1140: NO), it ends this processing.
[0205] In S1150, the first microcomputer 40 sets the subtraction value to the lower limit value. If the subtraction value is less than the lower limit value, the first microcomputer 40 sets the subtraction value to the lower limit value so that the overload counter is decremented by a certain amount.
[0206] <4.Operation> With reference to the time chart of FIG. 26, the changes over time of various parameters while the motor 70 is rotating will be described.
[0207] At time t51, the main power switch 21 is pressed, and the power of the first CPU 41 is turned on. At time t52, the trigger switch 18 is turned on. At time t53, filtering of the on signal of the trigger switch 18 is completed, and the motor control mode is set to the drive mode. This causes a line current to flow through the motor 70. Then, constant rotation control of the motor 70 is started so that the actual rotation speed becomes the target rotation speed ωT. At this time, the target rotation speed ωT and the actual rotation speed are smaller than the first speed threshold ωt1 and the second speed threshold ωt2. In addition, the line current value is less than the first current threshold Ith1.
[0208] At time t54, the user starts working using the electric work machine 1, which increases the load on the motor 70 and increases the line current. Furthermore, in order to maintain the actual rotation speed at the target rotation speed ωT, the voltage command value and the input voltage value Vmot increase in response to the increase in load. As a result, the first speed threshold value ωt1 and the second speed threshold value ωt2 become greater than the target rotation speed ωT. Furthermore, in response to the increase in load, the amount of voltage drop increases and the battery voltage value Vbat decreases.
[0209] At time t54, the line current value is equal to or greater than the first current threshold Ith1 and less than the second current threshold Ith2, so the overload counter is incremented. However, the first speed threshold ωt1 and the second speed threshold ωt2 are greater than the target rotation speed ωT, so the overload counter is not decremented.
[0210] At time t55, the load on the motor 70 decreases, and the line current becomes smaller than the first current threshold Ith1. Furthermore, in order to maintain the actual rotation speed at the target rotation speed ωT, the voltage command value and the input voltage value Vmоt decrease in response to the decrease in the load. As a result, the first speed threshold ωt1 and the second speed threshold ωt2 decrease. The first speed threshold ωt1 is smaller than the target rotation speed ωT, and the second speed threshold ωt2 is larger than the target rotation speed ωT.
[0211] Therefore, the overload counter is decremented by an amount corresponding to the value of the overload counter. Furthermore, as the overload counter starts to decrement, the motor drive counter starts to increment. At time t56, the motor drive counter reaches the second counter threshold Tx, and the decrement of the overload counter stops.
[0212] <5. Effects> According to the second embodiment described above in detail, in addition to the effects (1) to (8) of the first embodiment, the following effect is achieved.
[0213] (9) The first speed threshold ωt1 and the second speed threshold ωt2 increase in response to an increase in the input voltage Vmоt. As a result, when a heavy load is applied to the motor 70, the overload counter is incremented but not decremented. Therefore, when a heavy load is applied to the motor 70 during constant speed control, inappropriate decrementing of the overload counter can be suppressed.
[0214] (10) As the overload counter value increases, the overload counter value decreases by a larger amount. This reduces the difference between the overload counter value and the motor temperature. As a result, the motor 70 can be appropriately protected.
[0215] (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.
[0216] (a) In the above embodiment, the electric work machine 1 is a chainsaw, but the electric work machine 1 of the present disclosure is not limited to a chainsaw. The electric work machine 1 may be an electric tool other than a chainsaw, or may be a gardening tool. The electric tool may be, for example, a driver drill, an impact driver, a circular saw, or the like. The gardening tool may be, for example, a grass cutter, a trimmer, or the like.
[0217] (b) In the above embodiment, the electric work machine 1 includes the battery mounting unit 10, but it may include a power cord instead of or in addition to the battery mounting unit 10. That is, the electric work machine 1 may receive power from an external power source such as a commercial power source by connecting the power cord to the external power source. In this case, the external power source corresponds to an example of the power source of the present disclosure.
[0218] (c) In the above embodiment, the electric work machine 1 includes the motor 70, which is a brushless motor, and the rotation sensor 71. However, the electric work machine 1 may include the motor 70, which is a brushless motor, without including the rotation sensor 71. In this case, the first microcomputer 40 may detect the position of the rotor and estimate the rotation speed based on the induced voltage induced in the windings of the motor 70. Then, the first microcomputer 40 may use the estimated rotation speed instead of the actual rotation speed calculated from the position signal. In this case, the first microcomputer 40 corresponds to an example of an acquisition unit of the present disclosure.
[0219] (d) In the above embodiment, the subtraction value increases as the actual rotational speed increases while the motor 70 is rotating, but the present disclosure is not limited to this. Depending on the type of electric work machine 1, the brakes may be applied when the actual rotational speed of the motor 70 exceeds a predetermined speed. When the brakes are applied to the motor 70, heat is generated by the brakes, so the rate of decrease in the temperature of the motor 70 decreases. Therefore, when the actual rotational speed is equal to or lower than the predetermined speed, the subtraction value may be increased as the actual rotational speed increases, and when the actual rotational speed exceeds the predetermined speed, the subtraction value may be decreased.
[0220] (e) In the above embodiment, the additional value is changed depending on the type of battery 83 and the line current value, but the present disclosure is not limited to this. The additional value may be changed depending only on the line current value, or the additional value may be changed depending only on the type of battery 83. Furthermore, the additional value may be constant regardless of either the type of battery 83 or the line current value.
[0221] (f) In the above embodiment, the first counter threshold Ta is changed depending on the number of times overload protection is executed, but the present disclosure is not limited to this. The first counter threshold Ta may be constant regardless of the number of times overload protection is executed.
[0222] (g) In the above embodiment, the subtraction value was changed according to the type and actual rotation speed of the battery 83 while the motor 70 was rotating, but the present disclosure is not limited to this. The subtraction value may be changed according to only the actual rotation speed, or may be changed according to only the type of the battery 83. Furthermore, the subtraction value may be constant regardless of either the type of the battery 83 or the actual rotation speed.
[0223] (h) In the above embodiment, the subtraction value is changed depending on the number of times overload protection is performed while the motor 70 is stopped, but the present disclosure is not limited to this. The subtraction value may be constant while the motor 70 is stopped, regardless of the number of times overload protection is performed.
[0224] (i) In the second embodiment, the first microcomputer 40 calculates the first speed threshold ωt1 and the second speed threshold ωt2 based on the input voltage value Vmоt, but the first speed threshold ωt1 and the second speed threshold ωt may be calculated based on a power supply voltage value (e.g., a battery voltage value Vbat) or a voltage command value. Specifically, the first microcomputer 40 may calculate the first speed threshold ωt1 and the second speed threshold ωt2 to be larger in response to an increase in the power supply voltage value. Alternatively, the first microcomputer 40 may calculate the first speed threshold ωt1 and the second speed threshold ωt2 to be larger in response to an increase in the voltage command value.
[0225] (j) The electric operating machine 1 according to the first embodiment may be provided with a controller 30B instead of the controller 30A. In this case, the first microcomputer 40 may use the detected line current value instead of estimating the line current value. Moreover, the electric operating machine 1 according to the second embodiment may be provided with a controller 30A instead of the controller 30B. In this case, the first microcomputer 40 may estimate the line current value.
[0226] (k) The electric operating machine 1 according to the first and second embodiments may be provided with a controller 30C shown in Fig. 27 or a controller 30D shown in Fig. 28 instead of the controllers 30A and 30B. The controller 30C includes a motor current detection circuit 72C and a motor current processing circuit 73C in addition to the configuration of the controller 30B. That is, the controller 30C includes motor current detection circuits 72A, 72B, and 72C arranged in the windings of each of the three phases, and corresponding motor current processing circuits 73A, 73B, and 73C.
[0227] The controller 30D does not include the current detection circuit 62, as compared with the controller 30A. Instead, the controller 30B includes motor voltage detection circuits 74A, 74B, and 74C and motor voltage processing circuits 75A, 75B, and 75C. The motor voltage detection circuits 74A, 74B, and 74C are disposed on the windings of each of the three phases, detect the input voltage value Vmоt of each phase, and output the detected input voltage value Vmоt to the motor voltage processing circuits 75A, 75B, and 75C. The motor voltage processing circuits 75A, 75B, and 75C perform filtering and amplification processing on the input voltage value Vmоt, and output the processed input voltage value Vmоt to the first microcomputer 40. In this case, the first microcomputer 40 may use the detected input voltage value Vmоt instead of estimating the input voltage value Vmоt. Moreover, the first microcomputer 40 may estimate the line current value from the resistance value of the winding and the input voltage value VmOT.
[0228] (l) Multiple functions possessed by one component in the above embodiments may be realized by multiple components, or one function possessed by one component may be realized by multiple components. Also, multiple functions possessed by multiple components may be realized by one component, or one function realized by multiple components may be realized by one component. Also, part of the configuration of the above embodiments may be omitted. Also, at least part of the configuration of the above embodiments may be added to or substituted for the configuration of another of the above embodiments. [Explanation of symbols]
[0229] 1...electric work machine, 8...battery pack, 10...battery mounting section, 21...main power switch, 30...controller, 33...battery voltage detection section, 34...data communication section, 40...first microcomputer, 42...first memory, 60...inverter circuit, 61...temperature detection circuit, 62...current detection circuit, 70...motor, 71...rotation sensor.
Claims
1. A motor configured to receive power from a power source and be driven; a current acquisition unit configured to detect or estimate a value of a power supply current supplied from the power supply to the motor; a speed acquisition unit configured to detect or estimate a rotation speed of the motor; A first control unit configured to control driving of the motor, The first control unit is incrementing a first counter when a value of a line current flowing through the motor, the value being calculated based on the value of the power supply current detected or estimated by the current acquisition unit, is greater than a current threshold; When the rotation speed detected or estimated by the speed acquisition unit is greater than a speed threshold, the first counter is decreased; a first controller configured to stop the motor when the first counter exceeds a first threshold. Electric work equipment.
2. The first control unit is configured to change a decrement rate of the first counter in response to the rotation speed detected or estimated by the speed acquisition unit. The electric operating machine according to claim 1.
3. The first control unit is configured to increase the decrease rate in response to an increase in the rotation speed detected or estimated by the speed acquisition unit. The electric operating machine according to claim 2.
4. The power source includes a battery pack connected to the electric work machine. a storage unit that stores a plurality of correspondence data indicating a correspondence between the rotation speed and the decrement rate of the first counter, the correspondence data indicating different correspondences from each other; The first control unit is selecting one of the plurality of correspondence data stored in the storage unit according to a type of a battery included in the battery pack; configured to decrement the first counter based on the selected one of the corresponding data; The electric operating machine according to any one of claims 1 to 3.
5. The type of the battery corresponds to an internal resistance value of the battery. The electric operating machine according to claim 4.
6. the battery pack includes: a second counter; and a second control unit configured to increment or decrement the second counter based on a charging / discharging current from the battery, and to stop discharging from the battery when the second counter exceeds a second threshold; The type of the battery pack corresponds to the second threshold value. The electric operating machine according to claim 4.
7. the first control unit is configured to reduce a decrement rate of the first counter in response to an increase in the number of times the protection is executed; Executing the protection corresponds to stopping the motor when the first counter exceeds the first threshold. The electric operating machine according to any one of claims 1 to 6.
8. The first control unit is the control circuit is configured to stop decrementing the first counter when an elapsed time from when the decrement of the first counter started reaches a first time during rotation of the motor; The electric operating machine according to any one of claims 1 to 7.
9. The first control unit is During the stop of the motor, (i) the first counter is decreased, and (ii) when an elapsed time from the start of the decrease of the first counter reaches a second time, the decrease of the first counter is stopped. The electric operating machine according to any one of claims 1 to 8.
10. a drive circuit configured to input an output of the power source to the motor based on a voltage command value commanded by the first control unit, The first control unit is configured to calculate the speed threshold value based on a value of a power supply voltage output by the power supply and / or the voltage command value. The electric operating machine according to any one of claims 1 to 9.
11. The first control unit is configured to calculate the speed threshold value to be larger in response to an increase in the value of the power supply voltage or the voltage command value. The electric operating machine according to claim 10.
12. The voltage command value includes a duty ratio, The first control unit is configured to calculate the speed threshold value to be larger in accordance with an increase in the product of the value of the power supply voltage and the duty ratio. The electric operating machine according to claim 10.
13. A voltage detection unit configured to detect a value of a motor voltage input to the motor, The first control unit is configured to calculate the speed threshold value based on the value of the motor voltage detected by the voltage detection unit. The electric operating machine according to any one of claims 1 to 9.
14. The first control unit is configured to calculate the speed threshold value to be larger in response to an increase in the value of the motor voltage detected by the voltage detection unit. The electric operating machine according to claim 13.
15. The first control unit is configured to calculate a decrement amount of the first counter based on a value of the first counter. An electric operating machine according to any one of claims 1 to 14.
16. The first control unit is configured to calculate the decrease amount to be larger in accordance with an increase in the value of the first counter. The electric operating machine according to claim 15.
Citation Information
Patent Citations
Method and device to monitor the current of a battery-operated handheld power tool
US20140232352A1
