Electric work machine

The electric work machine's control unit manages data storage and transfer to prevent data loss by overwriting, ensuring data retention and user convenience through user-controlled settings and external storage.

JP7811485B2Active Publication Date: 2026-02-05MAKITA CORP
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
JP2022023862
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2022-02-18
Publication Date
2026-02-05
Estimated Expiration
2042-02-18

AI Technical Summary

Technical Problem

When a large amount of history information is accumulated in the nonvolatile memory of an electric work machine, overwriting new data over old data leads to the loss of historical information.

Method used

The electric work machine includes a control unit that manages data storage, allowing or prohibiting overwriting based on user settings, and prevents motor operation when storage limits are reached, enabling data transfer to an external terminal.

Benefits of technology

Prevents the loss of existing data by prohibiting overwriting and allows continued operation by transferring data to an external storage, ensuring data retention and user convenience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007811485000001
    Figure 0007811485000001
  • Figure 0007811485000002
    Figure 0007811485000002
  • Figure 0007811485000003
    Figure 0007811485000003
Patent Text Reader

Abstract

To provide an electric work machine capable of suppressing data stored therein from disappearing.SOLUTION: An electric work machine according to one embodiment in the disclosure comprises a motor, a storing part and a control part. The control part makes the storing part store data related to the work machine. According to setting operation performed by a user of the electric work machine, the control part selectively sets the control part into a permission mode in which the storing part is permitted to overwrite data on the data related to the work machine or into a prohibition mode in which the storing part is prohibited from overwriting data on the data related to the work machine. In the case that the control part is set in the permission mode, the control part drives the motor in accordance with driving operation that is performs by the user in order to drive the motor. In the case that the control part is set in the prohibition mode, the control part prohibits the motor from being driven when data amounts of the data related to the work machine stored in the storing part reach a prohibition determination value.SELECTED DRAWING: Figure 2
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] The present disclosure relates to an electric work machine. [Background technology]

[0002] Patent Document 1 discloses an electric working machine configured to store various types of historical information related to the electric working machine in a nonvolatile memory mounted on a control circuit board housed within the electric working machine. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] Japanese Patent Application Publication No. 2017-213615 Summary of the Invention [Problem to be solved by the invention]

[0004] When a large amount of history information is accumulated in the nonvolatile memory and the storage area of ​​the nonvolatile memory becomes full, the most recent history information can be retained by overwriting new history information over old history information stored in the nonvolatile memory. However, when history information is overwritten in this way, it is not possible to retain all of the history information.

[0005] An aspect of the present disclosure aims to prevent the loss of data stored in an electric work machine. [Means for solving the problem]

[0006] According to one aspect of the present disclosure, there is provided an electric operating machine including a motor, a storage unit, and a control unit. The storage unit stores data. The control unit executes a data storage process, a mode setting process, a drive permission process, and a drive prohibition process.

[0007] In the data storage process, the control unit stores in the storage unit work machine-related data that is related to the electric work machine and that has been set in advance as data to be saved in the storage unit. In the mode setting process, the control unit selectively sets the control unit to an allow mode that allows overwriting of work machine-related data in the memory unit, or a prohibit mode that prohibits overwriting of work machine-related data in the memory unit, based on the setting operation by the user of the electric work machine.

[0008] In the drive permission process, when the control unit is set to the permission mode, the control unit drives the motor in response to a drive operation performed by the user to drive the motor.

[0009] In the drive prohibition process, when the control unit is set to the prohibition mode, the control unit prohibits the drive of the motor when the amount of work machine-related data stored in the memory unit reaches a predetermined prohibition judgment value.

[0010] When the amount of work machine-related data stored in the memory unit becomes large, such an electric work machine can prohibit the motor from being driven, thereby preventing new work machine-related data from being generated due to the driving of the motor. Therefore, the above-mentioned electric work machine can prevent the work machine-related data already stored in the memory unit from being overwritten and lost by the newly generated work machine-related data.

[0011] Furthermore, when the control unit is set to the permission mode, the electric work machine can drive the motor in response to a drive operation, allowing the user to choose whether to operate the electric work machine and continue work even if the work machine-related data stored in the memory unit is overwritten. [Brief explanation of the drawings]

[0012] [Figure 1] FIG. [Figure 2]FIG. 2 is a block diagram showing the electrical configuration of the electric operating machine and an external terminal. [Figure 3] 10 is a flowchart showing a mode setting process. [Figure 4] 10 is a flowchart showing a motor control process. [Figure 5] 10 is a flowchart showing a fastening data storage process. [Figure 6] 10A and 10B are diagrams illustrating changes in the state of a contraction data storage area due to writing of contraction data. [Figure 7] 10 is a flowchart showing a fastening data transfer process. [Figure 8] 10A and 10B are diagrams illustrating changes in the state of a fastening data storage area due to transfer of fastening data. DETAILED DESCRIPTION OF THE INVENTION

[0013] [Summary of the embodiment] In some embodiments, the electric work machine may include a motor. Additionally / alternatively, the electric work machine may include a memory unit. The memory unit may be configured to store data. Additionally / alternatively, the electric work machine may include a control unit. The control unit may be configured to execute a data storage process. In the data storage process, the control unit may cause the memory unit to store work machine-related data that is related to the electric work machine and that is preset as data to be saved in the memory unit. Additionally / alternatively, the control unit may be configured to execute a mode setting process. In the mode setting process, the control unit may selectively set the control unit to an allow mode that allows overwriting of work machine-related data in the memory unit, or a prohibit mode that prohibits overwriting of work machine-related data in the memory unit, based on a setting operation by a user of the electric work machine. Additionally / alternatively, the control unit may be configured to execute a drive permission process. In the drive permission process, when the control unit is set to the allow mode, the control unit may drive the motor in response to a drive operation performed by the user to drive the motor. Additionally / alternatively, the control unit may be configured to execute a drive prohibition process. In the drive prohibition processing, when the control unit is set to a prohibition mode, the control unit may prohibit the drive of the motor when the amount of work machine-related data stored in the memory unit reaches a predetermined prohibition judgment value.

[0014] If an electric work machine in one embodiment is equipped with the above-mentioned motor, the above-mentioned control unit, and the above-mentioned memory unit, such an electric work machine can prevent work machine-related data already stored in the memory unit from being overwritten and lost by newly generated work machine-related data.

[0015] Additionally / alternatively, the control unit may be further configured to execute a data transfer process. The data transfer process may transfer the work machine-related data stored in the memory unit to an external terminal connected to the control unit, and then set the memory area in the memory unit where the transferred work machine-related data is stored to be overwritable. Such an electric work machine can save old work machine-related data in the external terminal, and can further secure a memory area in the memory unit for storing new work machine-related data.

[0016] Additionally / alternatively, the prohibition determination value may be set to be smaller than the amount of work machine-related data that the memory unit can store. In such an electric work machine, even when the prohibition mode is set and overwriting of work machine-related data is prohibited, it is possible to write data to a memory area where no work machine-related data is stored.

[0017] Additionally / alternatively, the control unit may include a motor control circuit and a communication circuit, and the motor control circuit and the communication circuit may be configured to communicate data with each other. In such an electric work machine, the motor control circuit may be disposed in a location suitable for motor control, and the communication circuit may be disposed in a location suitable for communication.

[0018] Additionally / alternatively, the communication circuit may include a communication control unit configured to execute data storage processing. Such an electric work machine can reduce the processing load on the motor control circuit.

[0019] Additionally / alternatively, the communication control unit may include a microcomputer, and the storage unit may be provided outside the microcomputer. Such an electric work machine can store work machine-related data in addition to the memory provided within the microcomputer, thereby increasing the amount of work machine-related data that can be stored within the electric work machine.

[0020] Additionally / alternatively, the control unit may be connected to a wireless communication unit configured to perform data communication with an external terminal wirelessly and / or a wired communication unit configured to perform data communication with an external terminal via a wire. Additionally / alternatively, the control unit may be configured to transfer work machine-related data to the external terminal from the wireless communication unit connected to the control unit and / or the wired communication unit connected to the control unit.

[0021] Additionally / alternatively, in the mode setting process, the control unit may selectively set the control unit to the permitted mode or the prohibited mode based on a setting operation performed by the user on an external terminal connected to the control unit so that data can be communicated with the control unit. Such an electric work machine can improve user convenience because the setting operation can be performed while transferring work machine-related data to the external terminal.

[0022] In some embodiments, the above features may be combined in any combination. In some embodiments, any of the above features may be excluded. Specific Exemplary Embodiments Exemplary embodiments of the present disclosure will be described below with reference to the drawings.

[0023] As shown in FIG. 1 , the electric work machine 1 of this embodiment is in the form of a battery-powered angle screwdriver that rotates and fastens fastening components (e.g., screws) into a work object. In another embodiment, the electric work machine 1 may be in the form of any corded or battery-powered electric work machine other than a battery-powered angle screwdriver. Examples of such electric work machines include an electric hammer, an electric hammer drill, an electric drill, an electric screwdriver, an electric wrench, an electric grinder, an electric circular saw, an electric reciprocating saw, an electric jigsaw, an electric cutter, an electric chainsaw, an electric planer, an electric nail gun (including a tacker), an electric hedge trimmer, an electric lawn mower, an electric lawn mower, an electric brush cutter, an electric cleaner, an electric blower, an electric sprayer, an electric spreader, and an electric dust collector.

[0024] The electric work machine 1 comprises an elongated main body 2, an angle head 3 detachably attached to a first longitudinal end of the main body 2, and a battery pack 4 detachably attached to a second longitudinal end of the main body 2.

[0025] The main body 2 is formed in a hollow cylindrical shape and includes, from the first longitudinal end of the main body 2, a motor storage section 2a for storing the motor 11 described below, a grip section 2b for the user to grip, and a battery attachment section 2c for attaching the battery pack 4.

[0026] The grip portion 2b of the main body 2 is thinner than the motor housing portion 2a and the battery mounting portion 2c, and is formed to have a thickness that makes it easy for a user to grip. The battery mounting portion 2c of the main body 2 is formed so that the battery pack 4 can be detachably mounted on the side opposite to the side to which the grip portion 2b is connected.

[0027] The angle head 3 has a tool mounting portion 3a at the end opposite to the side where the main body 2 is attached. The tool mounting unit 3a has an output shaft to which a tool tip (not shown) is attached. The rotation axis of the output shaft is perpendicular to the rotation axis of the motor 11. In other words, the angle head 3 converts the rotation of the motor 11 into an axial direction different from the rotation axis of the motor 11 via a gear mechanism provided inside the angle head 3, and transmits the converted rotation to the output shaft of the tool mounting unit 3a.

[0028] On the motor housing section 2a side of the grip section 2b, there are provided a trigger 5 that is operated by the user when driving the electric work machine 1, and a forward / reverse switch 6 for switching the rotation direction of the motor 11 between forward and reverse. The trigger 5 is formed so that the user can pull it with their finger while holding the grip section 2b.

[0029] The battery mounting section 2c is provided with a communication connector 7 for connecting an external terminal such as a personal computer via a communication cable. As shown in FIG. 2, the electric work machine 1 includes a motor 11, a motor control circuit 12, a communication circuit 13, a connector 14, a rotation sensor 15, a torque sensor 16, and a trigger switch 17.

[0030] In this embodiment, the motor 11 is in the form of a three-phase brushless motor. The motor control circuit 12 includes a motor control unit 21, a regulator 22, a motor drive unit 23, and a current detection unit 24.

[0031] In this embodiment, the motor control unit 21 includes a microcomputer 21d equipped with a CPU 21a, a ROM 21b, a RAM 21c, and the like. The various functions of the microcomputer 21d are realized by the CPU 21a executing a program stored in a non-transitory storage medium. In this example, the ROM 21b corresponds to the non-transitory storage medium storing the program. Execution of the program executes a method corresponding to the program. Note that some or all of the functions executed by the CPU 21a may be achieved by one or more electronic components such as ICs. The motor control unit 21 may also include one or more microcomputers. The motor control unit 21 may also be in the form of a logic circuit including multiple electronic components. In this case, the motor control unit 21 may include an application-specific integrated circuit (ASIC) and / or an application-specific standard product (ASSP), etc. Alternatively, the motor control unit 21 may include a programmable logic device capable of configuring any logic circuit. Examples of programmable logic devices include field-programmable gate arrays (FPGAs).

[0032] The regulator 22 receives power from the battery pack 4, generates a power supply voltage (for example, 5V) for operating the motor control unit 21, and supplies the power supply voltage to the motor control unit 21.

[0033] The motor drive unit 23 is a circuit that receives power from the battery pack 4 and passes current through each phase winding of the motor 11. In this embodiment, the motor drive unit 23 is in the form of a three-phase full-bridge circuit that includes six switching elements (not shown).

[0034] The current detection unit 24 detects the value of the current flowing through the motor 11, and outputs a current detection signal indicating the detected current value to the motor control unit 21. The communication circuit 13 includes a communication control unit 31 , a regulator 32 , a nonvolatile memory 33 , an operation unit 34 , a wireless communication unit 35 , a wired communication unit 36 ​​, and a notification unit 37 .

[0035] In this embodiment, the communication control unit 31 includes a microcomputer 31d equipped with a CPU 31a, a ROM 31b, a RAM 31c, and the like. The various functions of the microcomputer 31d are realized by the CPU 31a executing a program stored in a non-transitory storage medium. In this example, the ROM 31b corresponds to the non-transitory storage medium storing the program. Furthermore, the execution of this program executes a method corresponding to the program. Note that some or all of the functions executed by the CPU 31a may be achieved by one or more electronic components such as ICs. The communication control unit 31 may also include one or more microcomputers. The communication control unit 31 may be in the form of a logic circuit including multiple electronic components. In this case, the communication control unit 31 may include an ASIC and / or an ASSP. Alternatively, the communication control unit 31 may include a programmable logic device capable of configuring any logic circuit. Examples of programmable logic devices include FPGAs.

[0036] Regulator 32 receives power from regulator 22, generates a power supply voltage (e.g., 3.3 V) for operating communication control unit 31, and supplies the power supply voltage to communication control unit 31, nonvolatile memory 33, and wireless communication unit 35.

[0037] The nonvolatile memory 33 is a memory whose stored contents are rewritable and which retains stored data even when power is not supplied. The operation unit 34 is a switch operated by the user to switch the lock mode (described later) between an on state and an off state. The operation unit 34 outputs a mode-on signal when switched to the on state by the user's operation, and outputs a mode-off signal when switched to the off state by the user's operation.

[0038] The wireless communication unit 35 performs data communication with the external terminal 100 (described later) through short-range wireless communication (for example, wireless communication in accordance with the Wi-Fi standard). Wi-Fi is a registered trademark. The wireless communication unit 35 may also perform data communication with the external terminal 100 through wireless communication in accordance with the Bluetooth standard or wireless communication in accordance with the NFC standard. Bluetooth is a registered trademark. NFC is an abbreviation for Near Field Communication.

[0039] When a communication cable (for example, a USB cable) is connected to the communication connector 7, the wired communication unit 36 ​​performs data communication with the external terminal 100 via the communication cable. USB is an abbreviation for Universal Serial Bus.

[0040] The notification unit 37 includes at least one LED. The notification unit 37 notifies whether the lock mode is in the on state or the off state by turning on or off the at least one LED.

[0041] The connector 14 connects the motor control circuit 12 and the communication circuit 13 so that power supply voltage is supplied from the regulator 22 to the regulator 32 and so that data can be sent and received between the motor control unit 21 and the communication control unit 31.

[0042] The rotation sensor 15 detects the rotation position and the number of rotations of the motor 11, and outputs a rotation detection signal indicating the detection result to the motor control unit 21. The torque sensor 16 is installed between the motor 11 and the tool mounting unit 3a inside the angle head 3. The torque sensor 16 detects the torque applied to the output shaft of the tool mounting unit 3a and outputs a torque detection signal indicating the detection result to the motor control unit 21.

[0043] The trigger switch 17 is configured to be turned on or off in response to the pulling operation of the trigger 5, and to have a resistance value that changes in response to the amount of operation of the trigger 5. Examples of the external terminal 100 include a personal computer, a smartphone, and a tablet. The external terminal 100 may be a dedicated terminal for the electric operating machine 1.

[0044] The external terminal 100 includes a terminal control unit 101 , a display unit 102 , an operation unit 103 , a wireless communication unit 104 , and a wired communication unit 105 . The terminal control unit 101 executes various processes based on inputs from the operation unit 103 , the wireless communication unit 104 , and the wired communication unit 105 , and controls the display unit 102 , the wireless communication unit 104 , and the wired communication unit 105 .

[0045] The display unit 102 displays various images on the display screen. The operation unit 103 is a device for inputting commands via external operations from the user. When a preset lock mode on operation is performed on the operation unit 103 to set the lock mode to an on state, the operation unit 103 outputs a mode on signal indicating this to the terminal control unit 101. When a preset lock mode off operation is performed on the operation unit 103 to set the lock mode to an off state, the operation unit 103 outputs a mode off signal indicating this to the terminal control unit 101.

[0046] The wireless communication unit 104 communicates data with the wireless communication unit 35 of the electric operating machine 1 by short-range wireless communication. The wired communication unit 105 performs data communication with the wired communication unit 36 ​​of the electric operating machine 1 via a communication cable.

[0047] When a mode-on signal is input from the operation unit 103, the terminal control unit 101 transmits a mode-on command to the communication circuit 13 of the electric work machine 1 via the wireless communication unit 104 and the wired communication unit 105. When a mode-off signal is input from the operation unit 103, the terminal control unit 101 transmits a mode-off command to the communication circuit 13 of the electric work machine 1 via the wireless communication unit 104 and the wired communication unit 105.

[0048] When a user pulls the trigger 5, the motor control unit 21 of the electric work machine 1 controls the current flowing from the motor drive unit 23 to the motor 11 according to the amount of operation of the trigger 5, and also controls the rotation direction of the motor 11 according to the switching state of the forward / reverse switch 6. Therefore, the user can perform fastening work by pulling the trigger 5 with the tool tip attached to the tool attachment unit 3a fitted into the fastening part.

[0049] When the torque detection value indicated by the torque detection signal reaches a set value while the motor 11 is being driven, the motor control unit 21 determines that the fastening of the fastening parts has been completed, and stops driving the motor 11.

[0050] Next, a description will be given of the procedure of the mode setting process executed by the communication control unit 31 of the communication circuit 13. The mode setting process is repeatedly executed while the communication control unit 31 is in operation. 3, when the mode setting process is executed, the CPU 31a of the communication control unit 31 first determines in S10 whether an operation to switch the lock mode from an OFF state to an ON state (hereinafter referred to as a lock mode ON switching operation) has been performed. Specifically, the CPU 31a determines that a lock mode ON switching operation has been performed when a transition has occurred from a state in which a mode OFF signal is being output from the operation unit 34 to a state in which a mode ON signal is being output from the operation unit 34.

[0051] Here, if the lock mode ON switching operation has not been performed, the CPU 31a proceeds to S30. On the other hand, if the lock mode ON switching operation has been performed, the CPU 31a sets a lock mode flag F_LOCK provided in the RAM 31c in S20 and proceeds to S30. Note that setting a flag means setting the value of the flag to 1, and clearing a flag means setting the value of the flag to 0.

[0052] When the process proceeds to S30, the CPU 31a determines whether or not an operation to switch the lock mode from an on state to an off state (hereinafter referred to as a lock mode off switching operation) has been performed. Specifically, the CPU 31a determines that a lock mode off switching operation has been performed when a transition has occurred from a state in which a mode on signal is being output from the operation unit 34 to a state in which a mode off signal is being output from the operation unit 34.

[0053] If the lock mode OFF switching operation has not been performed, the CPU 31a proceeds to S50. On the other hand, if the lock mode OFF switching operation has been performed, the CPU 31a clears the lock mode flag F_LOCK in S40 and proceeds to S50.

[0054] When the process proceeds to S50, the CPU 31a determines whether or not a mode-on command has been received from the external terminal 100. If a mode-on command has not been received, the CPU 31a proceeds to S70. On the other hand, if a mode-on command has been received, the CPU 31a sets the lock mode flag F_LOCK in S60 and proceeds to S70.

[0055] When the process proceeds to S70, the CPU 31a determines whether or not a mode-off command has been received from the external terminal 100. If a mode-off command has not been received, the CPU 31a ends the mode setting process. On the other hand, if a mode-off command has been received, the CPU 31a clears the lock mode flag F_LOCK in S80 and ends the mode setting process.

[0056] Next, a description will be given of the procedure of the motor control process executed by the motor control unit 21 of the motor control circuit 12. The motor control process is a process that is repeatedly executed while the motor control unit 21 is in operation. As shown in FIG. 4, when the motor control process is executed, the CPU 21a of the motor control unit 21 first determines in S110 whether the motor drive flag F_MTR_DRV provided in the RAM 21c is set.

[0057] If the motor drive flag F_MTR_DRV is set, the CPU 21a proceeds to S160. On the other hand, if the motor drive flag F_MTR_DRV is cleared, the CPU 21a determines in S120 whether a trigger switch flag F_SW provided in the RAM 21c is set. The trigger switch flag F_SW is set by the CPU 21a when the trigger switch 17 is in the on state, and is cleared by the CPU 21a when the trigger switch 17 is in the off state.

[0058] If the trigger switch flag F_SW is cleared, the CPU 21a clears the fastening completion flag F_JOB_DONE stored in the RAM 21c in S130, and then the process proceeds to S200. The fastening completion flag F_JOB_DONE is set by the CPU 21a when the CPU 21a determines that the fastening of the fastening parts has been completed as described above.

[0059] If the trigger switch flag F_SW is set in S120, the CPU 21a determines in S140 whether the motor drive permission flag F_JOB_EXE provided in the RAM 21c is set.

[0060] If the motor drive permission flag F_JOB_EXE is cleared, the CPU 21a proceeds to S200. On the other hand, if the motor drive permission flag F_JOB_EXE is set, the CPU 21a sets the motor drive flag F_MTR_DRV in S150 and proceeds to S200.

[0061] When the process proceeds to S160, the CPU 21a determines whether or not the trigger switch flag F_SW is set. If the trigger switch flag F_SW is cleared, the CPU 21a proceeds to S180.

[0062] On the other hand, if the trigger switch flag F_SW is set, the CPU 21a determines in S170 whether the fastening completion flag F_JOB_DONE is set. Here, if the fastening completion flag F_JOB_DONE is cleared, the CPU 21a proceeds to S200. On the other hand, if the fastening completion flag F_JOB_DONE is set, the CPU 21a proceeds to S180.

[0063] At S180, the CPU 21a clears the motor drive flag F_MTR_DRV. At S190, the CPU 21a generates engagement data and transmits the generated engagement data to the communication circuit 13, and then the process proceeds to S200.

[0064] The fastening data includes fastening results, fastening setting information, and operation parameters. Furthermore, the fastening results include fastening torque, fastening rotation angle, total elapsed time (i.e., time required for fastening), and fastening determination results. The fastening setting information includes the above-mentioned setting values ​​for determining whether fastening of the fastening parts is complete. The operation parameters include, for example, rotation speed and rise time of soft start.

[0065] The fastening torque is the torque applied to the output shaft of the tool mounting unit 3a when the fastening of the fastening parts is completed. The CPU 21a calculates the fastening torque based on the torque detection signal acquired when the trigger switch flag F_SW transitions from set to clear.

[0066] The fastening rotation angle is the angle by which the fastening part rotates until the fastening of the fastening part is completed. The CPU 21a calculates the fastening rotation angle based on the rotation detection signal acquired from when the motor drive flag F_MTR_DRV is set until when it is cleared.

[0067] The fastening determination result indicates whether or not the fastening of the fastening parts has been completed. If the fastening completion flag F_JOB_DONE is set, the CPU 21a sets the fastening determination result to "OK", and if the fastening completion flag F_JOB_DONE is cleared, the CPU 21a sets the fastening determination result to "NOK".

[0068] In S200, the CPU 21a determines whether the motor drive flag F_MTR_DRV is set. If the motor drive flag F_MTR_DRV is cleared, the CPU 21a stops driving the motor 11 in S210 and ends the motor control process.

[0069] On the other hand, if the motor drive flag F_MTR_DRV is set, the CPU 21a drives the motor 11 at a rotation speed corresponding to the amount of operation of the trigger 5 in S220, and ends the motor control process.

[0070] Next, a description will be given of the procedure of the fastening data storage process executed by the communication control unit 31 of the communication circuit 13. The fastening data storage process is started every time fastening data is received from the motor control circuit 12.

[0071] 5, when the contraction data storage process is executed, first, in S310, the CPU 31a of the communication control unit 31 stores the received contraction data at an address corresponding to the contraction data storage address n in the contraction data storage area provided in the non-volatile memory 33. The contraction data storage address n is an integer equal to or greater than 0.

[0072] Next, the CPU 31a increments the contract data storage address n (that is, adds 1) in S320. Furthermore, the CPU 31a increments the number of unread data items m in S330. The number of unread data items m is an integer equal to or greater than 0.

[0073] Then, in S340, the CPU 31a determines whether the contraction data storage address n is equal to or greater than a preset maximum number of contraction data that can be stored N. In this embodiment, the maximum number of contraction data that can be stored N is 1056, for example.

[0074] If the contraction data storage address n is less than the maximum number of contraction data to be stored N, the CPU 31a proceeds to S360. On the other hand, if the contraction data storage address n is equal to or greater than the maximum number of contraction data to be stored N, the CPU 31a sets the contraction data storage address n to 0 in S350 and proceeds to S360.

[0075] In S360, the CPU 31a determines whether the lock mode flag F_LOCK is set. If the lock mode flag F_LOCK is cleared, the CPU 31a ends the fastening data storage process.

[0076] On the other hand, if the lock mode flag F_LOCK is set, the CPU 31a determines in S370 whether the number m of unread data items is equal to or greater than a preset lock threshold M. In this embodiment, the lock threshold M is, for example, 1000.

[0077] Here, if the number m of unread data items is less than the lock threshold M, the CPU 31a ends the fastening data saving process. On the other hand, if the number m of unread data items is equal to or greater than the lock threshold M, the CPU 31a clears the motor drive permission flag F_JOB_EXE in S380, and further transmits motor drive permission flag information indicating the value of the motor drive permission flag F_JOB_EXE to the motor control circuit 12, and ends the fastening data saving process. Note that when the CPU 21a of the motor control unit 21 of the motor control circuit 12 receives motor drive permission flag information indicating that the value of the motor drive permission flag F_JOB_EXE is 0, it clears the motor drive permission flag F_JOB_EXE provided in the RAM 21c.

[0078] Next, a change in the state of the binding data storage area of ​​the nonvolatile memory 33 caused by writing binding data to the binding data storage area will be described. As shown in Fig. 6, the contraction data storage area SA1 is a contraction data storage area when the contraction data storage address n is 0 and the number of unread data items m is 0. The contraction data storage area SA2 is a contraction data storage area when the contraction data storage address n is 999 and the number of unread data items m is 999. The contraction data storage area SA3 is a contraction data storage area when the contraction data storage address n is 1000 and the number of unread data items m is 1000.

[0079] The conclusion data storage area has conclusion data storage addresses from address 0 to address 1055, and conclusion data is written to each conclusion data storage address. An unread data flag is set in each conclusion data storage address.

[0080] First, in the conclusion data storage area SA1, conclusion data has not been written in any conclusion data storage address, and all unread data flags are cleared. Thereafter, the conclusion data is written sequentially from address 0, and the conclusion data storage area SA2 is in a state where conclusion data has been written up to address 998. In the conclusion data storage area SA2, the unread data flags for addresses 0 to 998 are set, and the unread data flags for addresses 999 to 1055 are cleared.

[0081] The contract data storage area SA3 is in a state where the contract data has been written up to address 999. In the contract data storage area SA3, the unread data flags for addresses 0 to 999 are set, and the unread data flags for addresses 1000 to 1055 are cleared.

[0082] In the state of the fastening data storage area SA3, the number of unread data items m is 1000. Therefore, the number of unread data items m is equal to or greater than the lock threshold M (1000 in this embodiment). As a result, when the lock mode is in the ON state, driving of the motor 11 is prohibited.

[0083] Next, we will explain the procedure for the fastening data transfer process executed by the communication control unit 31 of the communication circuit 13. The fastening data transfer process is started every time a preset transfer period elapses when the electric operating machine 1 is connected to the external terminal 100 so that data can be communicated by wire or wirelessly.

[0084] 7, when the contraction data transfer process is executed, the CPU 31a of the communication control unit 31 first determines in S410 whether or not there is any contraction data that has not been transferred (hereinafter, unread data) in the contraction data storage area of ​​the nonvolatile memory 33. Specifically, the CPU 31a determines that there is unread data in the contraction data storage area of ​​the nonvolatile memory 33 when the number m of unread data items is greater than 0.

[0085] If there is no unread data, the CPU 31a ends the contract data transfer process. On the other hand, if there is unread data, the CPU 31a searches for the unread data that was written earliest (hereinafter referred to as the oldest unread data) from the unread data existing in the contract data storage area of ​​the nonvolatile memory 33 in S420, and acquires the contract data storage address x (hereinafter referred to as the oldest unread address x) of the oldest unread data.

[0086] Next, in S430, the CPU 31a transmits the binding data stored in the oldest unread address x to the external terminal 100. In addition, in S440, the CPU 31a clears the unread flag of the oldest unread address x. Furthermore, in S450, the CPU 31a decrements the number m of unread data items (i.e., subtracts 1).

[0087] Then, in S460, the CPU 31a determines whether the number of unread data items m is equal to or greater than the lock threshold value M. If the number of unread data items m is equal to or greater than the lock threshold value M, the CPU 31a proceeds to S410. On the other hand, if the number of unread data items m is less than the lock threshold value M, the CPU 31a sets the motor drive permission flag F_JOB_EXE in S470, and further transmits motor drive permission flag information indicating the value of the motor drive permission flag F_JOB_EXE to the motor control circuit 12, and proceeds to S410. Note that when the CPU 21a of the motor control unit 21 of the motor control circuit 12 receives motor drive permission flag information indicating that the value of the motor drive permission flag F_JOB_EXE is 1, it sets the motor drive permission flag F_JOB_EXE provided in the RAM 21c.

[0088] Next, a change in the state of the contraction data storage area caused by transferring the contraction data will be described. As shown in FIG. 8, the contraction data storage area SA11 is a contraction data storage area when the contraction data storage address n is 1000 and the number of unread data items m is 1000.

[0089] In the conclusion data storage area SA11, conclusion data is written from address 0 to address 999. Therefore, the oldest unread address x is 0. When the contraction data transfer process is started in the contraction data storage area SA11, first, the contraction data at address 0 is transferred to the external terminal 100. As a result, as shown in the contraction data storage area SA12, the unread data flag at address 0 is cleared, and the number of unread data items m is decremented to 999. Therefore, the contraction data becomes available to be written to address 0.

[0090] In the contract data storage area SA12, contract data is written from address 1 to address 999. Therefore, the oldest unread address x is 1. Therefore, the contract data at address 1 is next transferred to the external terminal 100 by the contract data transfer process. As a result, as shown in the contract data storage area SA13, the unread data flag at address 1 is cleared, and the number of unread data items m is decremented to 998. Therefore, the contract data becomes available to be written to address 1.

[0091] Such an electric operating machine 1 can prevent the engagement data already stored in the nonvolatile memory 33 from being overwritten by newly generated engagement data and being lost. The electric operating machine 1 can store old fastening data in the external terminal 100, and can also secure a storage area in the non-volatile memory 33 for storing new fastening data.

[0092] In the electric operating machine 1, even when the lock mode flag F_LOCK is set and overwriting of the fastening data is prohibited, it is possible to write data to a storage area where no fastening data is stored.

[0093] In the electric operating machine 1, the motor control circuit 12 can be arranged in a location suitable for motor control, and the communication circuit 13 can be arranged in a location suitable for communication. Since the electric work machine 1 includes the communication control unit 31, the processing load on the motor control circuit 12 can be reduced.

[0094] The electric working machine 1 can store fastening data in addition to the memory provided in the microcomputer 31d, thereby increasing the amount of fastening data that can be stored in the electric working machine 1.

[0095] The electric operating machine 1 can perform setting operations while transferring fastening data to the external terminal 100, thereby improving user convenience. In the embodiment described above, the motor control circuit 12 and the communication circuit 13 correspond to an example of a control unit in the summary of the above embodiments, and the nonvolatile memory 33 corresponds to an example of a storage unit in the summary of the embodiments.

[0096] Furthermore, S310 to S350 correspond to data storage processing in the summary of the embodiment, S10 to S80 correspond to an example of mode setting processing in the summary of the embodiment, S140, S150, S200, and S220 correspond to an example of drive permission processing in the summary of the embodiment, and S140, S200, and S210 correspond to an example of drive prohibition processing in the summary of the embodiment.

[0097] In addition, the fastening data corresponds to an example of work machine-related data in the summary of the embodiment, the operation on the operation unit 34, 103 corresponds to an example of a setting operation in the summary of the embodiment, the state in which the lock mode flag F_LOCK is cleared corresponds to an example of an allowed mode in the summary of the embodiment, and the state in which the lock mode flag F_LOCK is set corresponds to an example of a prohibited mode in the summary of the embodiment.

[0098] Furthermore, the operation on trigger 5 corresponds to an example of a drive operation in the summary of the embodiment, the lock threshold M corresponds to an example of a prohibition judgment value in the summary of the embodiment, and S410 to S450 correspond to an example of a data transfer process in the summary of the embodiment.

[0099] Although one embodiment of the present disclosure has been described above, the present disclosure is not limited to the above embodiment and can be implemented in various modifications. For example, in the above embodiment, the fastening data is stored in the nonvolatile memory 33. However, the data stored in the nonvolatile memory 33 may be any data related to the electric work machine 1, such as a setting change history of the electric work machine 1, a history of the type of battery connected to the electric work machine 1, a history of abnormalities detected in the electric work machine 1, or a maintenance history of the electric work machine 1 (for example, a trigger count, the number of times the motor is driven, and the motor driving time).

[0100] In the above embodiment, a configuration has been shown in which a motor control circuit board that mounts the motor control circuit 12 and a communication circuit board that mounts the communication circuit 13 are provided. However, the motor control circuit 12 and the communication circuit 13 may be mounted on a single board.

[0101] In the above embodiment, the microcomputer 21d of the motor control circuit 12 and the microcomputer 31d of the communication circuit 13 execute the processes. However, the processes executed by the microcomputers 21d and 31d may be executed by a single microcomputer.

[0102] In the above embodiment, once the contract data transfer process is started, the transfer of contract data is repeated until the number of unread data items m becomes 0. However, in one contract data transfer process, only contract data for one address may be transferred and then the process may be terminated.

[0103] In the above embodiments, multiple functions of one component may be realized by multiple components, or one function of one component may be realized by multiple components. Furthermore, multiple functions of multiple components may be realized by one component, or one function realized by multiple components may be realized by one component. Furthermore, part of the configuration of the above embodiments may be omitted. Furthermore, 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.

[0104] In addition to the electric work machine 1 described above, the present disclosure can also be realized in various forms, such as a system that includes the electric work machine 1 as a component, a program for causing a computer to function as the electric work machine 1, a non-transient physical recording medium such as a semiconductor memory on which this program is recorded, and a control method. [Explanation of symbols]

[0105] 1...electric work machine, 11...motor, 12...motor control circuit, 13...communication circuit, 33...nonvolatile memory

Claims

1. An electric work machine, A motor; a storage unit configured to store data; A control unit, a data generation process for generating work data including results of the work each time a work is completed by the electric work machine; a data storage process for storing the generated work data in the storage unit each time the work data is generated; a mode setting process for selectively setting the control unit to an allowance mode that allows overwriting of the work data in the storage unit or a prohibition mode that prohibits overwriting of the work data in the storage unit based on a setting operation by a user of the electric operating machine; a drive permission process for driving the motor in response to a drive operation performed by the user when the control unit is set to the permission mode; When the control unit is set to the prohibition mode, if the amount of the work data stored in the storage unit reaches a predetermined prohibition determination value, a drive prohibition process is performed to prohibit driving of the motor. a control unit configured to perform An electric work machine equipped with:

2. The electric operating machine according to claim 1, The control unit further An electric work machine configured to transfer the work data stored in the memory unit to an external terminal connected to the control unit, and then execute a data transfer process in the memory unit to set the memory area in which the transferred work data is stored so that it can be overwritten.

3. The electric operating machine according to claim 1 or 2, The prohibition determination value is set to be smaller than the amount of work data that can be stored in the memory unit.

4. The electric operating machine according to any one of claims 1 to 3, the control unit includes a motor control circuit and a communication circuit; The motor control circuit and the communication circuit are configured to communicate data with each other.

5. The electric operating machine according to claim 4, The communication circuit includes a communication control unit configured to execute the data storage process.

6. The electric operating machine according to claim 5, the communication control unit includes a microcomputer, The memory unit is provided outside the microcomputer.

7. The electric operating machine according to claim 2, the control unit is connected to a wireless communication unit configured to perform wireless data communication with the external terminal, and / or a wired communication unit configured to perform wired data communication with the external terminal, The control unit is an electric work machine configured to transfer the work data to the external terminal from the wireless communication unit connected to the control unit and / or the wired communication unit connected to the control unit.

8. The electric operating machine according to any one of claims 1 to 7, The control unit is configured to selectively set the control unit to the permission mode or the prohibition mode during the mode setting process based on the setting operation performed by the user on an external terminal connected to the control unit so that data communication is possible.

Citation Information

Patent Citations

  • Image forming apparatus, log management method for the same and log management program

    JP2008065490A

  • Power tool adapter, power tool system, and method for operating the same

    JP2014529320A

  • Device for electric tool

    JP2015223638A

  • Process monitoring apparatus

    JP2016122319A

  • Electric power tool

    JP2017213615A