Control device and control method

The control device integrates edge detection processing with the wire electrical discharge machine's control system using a unique protocol, ensuring precise and timely machine control by leveraging embedded computational power.

JP7534879B2Active Publication Date: 2024-08-15SEIBU ELECTRIC & MASCH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2020120709
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2020-07-14
Publication Date
2024-08-15
Estimated Expiration
2040-07-14

AI Technical Summary

Technical Problem

Edge detection processing in wire electrical discharge machines is not effectively integrated with the machine's control system, leading to time lags and processing errors when using general-purpose computers for remote control.

Method used

A control device with an embedded information processing section, including a measurement unit, detection processing unit, and operation control unit, utilizes a unique communication protocol to directly control the machine based on edge detection results, allowing for precise movement control.

Benefits of technology

Enables efficient utilization of the embedded information processing unit's computational power for accurate and timely control of the machine operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007534879000002
    Figure 0007534879000002
  • Figure 0007534879000001
    Figure 0007534879000001
Patent Text Reader

Abstract

To provide a control device or the like using information processing by an incorporated information processing device.SOLUTION: A movement control device 3 uses an information processing part 11 incorporated in a wire discharge device or the like. A control part 13 controls a machine part in cooperation with the incorporated information processing part 11 by using a communication protocol for incorporation. The communication protocol for incorporation is different from an external communication protocol and can be written in a specific storage area. By using the communication protocol for incorporation, for example, a measurement part measures an object that is changed by a change part to acquire measurement data, a detection processing part 21 writes information showing that a detection state is detected in a storage part 29 when the detection state is detected in the measurement data, and an operation control part 31 stops the change of the object by the change part when the information showing the detection state is detected is written in the storage part 29.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a control device and a control method. [Background technology]

[0002] Patent Document 1 describes edge detection in a wire electric discharge machine. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2006-136964 A Summary of the Invention [Problem to be solved by the invention]

[0004] Edge detection processing is not specific to EDM, and is usually realized by an external general-purpose computer. It is difficult to relate general information processing by an external general-purpose computer to the control of a wire EDM. For this reason, for example, a user would remotely control a wire EDM by edge detection using edge detection processing by a general-purpose computer. However, when done manually, a time lag occurs, resulting in machining errors.

[0005] In recent years, wire electric discharge machines have also been equipped with information processing devices having the same computing power as general-purpose computers. However, it is difficult for the incorporated information processing devices to directly control the operation of the wire electric discharge machine. Therefore, even if edge detection processing is realized using the incorporated information processing devices, it is difficult to directly control the wire electric discharge machine using the edge detection results.

[0006] This problem is not limited to wire EDM machines, but also occurs in other technical fields where, in the past, computers with low computing power were used to control the operation of the machine, but in recent years, computers with high computing power similar to general-purpose computers are also being incorporated.

[0007] SUMMARY OF THE PRESENT DISCLOSURE An object of the present invention is to provide a control device or the like that uses information processing by an information processing device incorporated therein. [Means for solving the problem]

[0008] A first aspect of the present invention is a control device comprising an embedded information processing unit, a control unit, and a mechanical unit, the mechanical unit comprising a change unit that causes a change in an object, and a measurement unit that measures the object, the embedded information processing unit comprising a detection processing unit, the control unit comprising a memory unit, and an operation control unit, an embedded communication protocol used in communication between the control unit and the embedded information processing unit is different from an external communication protocol used in communication between the control unit and an external information processing device that is not incorporated in the control device, the memory unit is writable by the embedded communication protocol but not by the external communication protocol, the measurement unit measures the object that is changed by the change unit to obtain measurement data, the detection processing unit writes information indicating that a detection state has been detected to the memory unit when a detection state is detected in the measurement data, and the operation control unit stops the change of the object by the change unit when the information indicating that a detection state has been detected is written to the memory unit.

[0009] A second aspect of the present invention is the control device as defined in claim 1, wherein the change unit moves the object to change its position, the measurement unit is a camera that photographs the object to obtain photographic data, the detection processing unit performs edge detection processing on the photographic data, and when the detection processing unit detects an edge in the photographic data, it writes information indicating that an edge has been detected to the memory unit, and when the information indicating that an edge has been detected is written to the memory unit, the operation control unit stops the movement of the object by the change unit.

[0010] A third aspect of the present invention is a movement control device according to the first or second aspect, wherein a normal upper limit value is an upper limit value for the rate of change of the object when the detection processing unit is not performing detection processing, and a detection upper limit value is an upper limit value for the rate of change of the object when the detection processing unit is performing detection processing, and the change unit sets the detection upper limit value to a value slower than the normal upper limit value, thereby slowing down the change of the object when the detection processing unit is performing detection processing.

[0011] A fourth aspect of the present invention is a control method in a control device, the control device comprising an embedded information processing unit, a control unit, and a mechanical unit, the mechanical unit comprising a change unit that causes a change in an object and a measurement unit that measures the object, the embedded information processing unit comprising a detection processing unit, the control unit comprising a memory unit and an operation control unit, an embedded communication protocol used in communication between the control unit and the embedded information processing unit is different from an external communication protocol used in communication between the control unit and an external information processing device not incorporated in the control device, the memory unit is writable by the embedded communication protocol but not by the external communication protocol, the measurement unit measures the object that is changed by the change unit to obtain measurement data, the detection processing unit writes information indicating that the detection state has been detected to the memory unit when a detection state is detected in the measurement data, and the operation control unit stops the change of the object by the change unit when the information indicating that the detection state has been detected is written to the memory unit. Effect of the Invention

[0012] According to each aspect of the present invention, the control unit utilizes the results of information processing by the embedded information processing unit by utilizing an internal communication protocol, thereby making it possible to effectively utilize the computing power of the embedded information processing unit. [Brief description of the drawings]

[0013] [Figure 1] FIG. 1A is a block diagram showing an example of the configuration of a control system 1, and FIGS. 1B to 1E are diagrams for explaining edge detection processing. [Diagram 2] FIG. 2 is a flow diagram showing an example of the operation of the control system 1 of FIG. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0014] Hereinafter, examples of the present invention will be described with reference to the drawings. However, the present invention is not limited to the following examples. EXAMPLES

[0015] A control system 1 according to an embodiment of the present invention will be described below with reference to the case where edge detection processing is performed. Fig. 1 includes (a) a block diagram showing an example of the configuration of the control system 1, and (b) to (e) diagrams for explaining the edge detection processing.

[0016] With reference to FIG. 1(a), a control system 1 includes a control device 3 (an example of the “control device” in the claims), an external information processing device 5, and an input device .

[0017] The movement control device 3 is, for example, a wire electric discharge machine that performs electric discharge machining using a wire electrode. The movement control device 3 includes an embedded information processing unit 11 (an example of the "embedded information processing unit" in the claims), a control unit 13 (an example of the "control unit" in the claims), and a mechanical unit 17 (an example of the "mechanical unit" in the claims).

[0018] The embedded information processing unit 11 includes a detection processing unit 21 (an example of the “detection processing unit” in the claims). The detection processing unit 21 includes an analysis unit 23, a determination unit 25, and a writing unit 27.

[0019] The control unit 13 uses, for example, a sequence program to control the operation of the movement control device 3. The control unit 13 includes a memory unit 29 (an example of the "memory unit" in the claims) and an operation control unit 31 (an example of the "operation control unit" in the claims).

[0020] The mechanical unit 17 includes an imaging unit 33 (an example of a “measurement unit” in the claims), an upper light 35, an object 37, an installation stand 39, a lower light 41, a movement unit 43 (an example of a “change unit” in the claims), and a movement control unit 45.

[0021] The external information processing device 5 includes a communication processing unit 47 .

[0022] The input device 7 is, for example, a remote controller, and includes a movement instruction unit 49 .

[0023] The control unit 13 can communicate with the built-in information processing unit 11 built into the mobile control device 3 by using a built-in communication protocol. Also, the control unit 13 can communicate with the external information processing device 5 not built into the mobile control device 3 by using an external communication protocol, for example, by using a LAN.

[0024] The built-in communication protocol and the external communication protocol are different. The storage unit 29 can be written to using the built-in communication protocol, but cannot be written to using the external communication protocol.

[0025] The user can operate the movement instruction unit 49 of the input device 7 to give instructions to move the object 37 on the horizontal plane of the movement control device 3. The user can instruct the movement direction and movement speed of the object 37. The movement control unit 45 drives the movement unit 43 to move the installation stand 39 in accordance with the user's instructions, thereby moving the object 37 placed on the installation stand 39.

[0026] The upper lighting 35 and the lower lighting 41 shine light from above and below the object, respectively, in response to a user's instruction.

[0027] The photographing unit 33 is, for example, a camera, and photographs the object 37 from above the object 37 to obtain photographic data.

[0028] The analysis unit 23 performs analysis on the photographed data, for example, to identify the object being photographed. The determination unit 25 determines whether an edge has been detected. When an edge is detected, the writing unit 27 writes information indicating that an edge has been detected to the storage unit 29 using an embedded communication protocol. For example, the information indicating that an edge has been detected is written to a specific address (which may be a register or the like) of the storage unit 29 by writing data different from that when an edge is not detected.

[0029] The operation control unit 31 periodically (e.g., every 8 ms) checks the memory unit 29 using a sequence program to determine whether or not information indicating that an edge has been detected has been written to the memory unit 29. The operation control unit 31 waits until information indicating that an edge has been detected has been written, and if information indicating that an edge has been detected has been written, it instructs the movement control unit 45 to stop the movement of the target object 37.

[0030] In principle, the movement control unit 45 controls the movement unit 43 to move the object 37 in accordance with movement instructions from the movement support unit 49 of the input device 7, and stops the movement of the object 37 when an instruction to stop movement is received from the operation control unit 31.

[0031] Here, for accuracy, the distance the object 37 moves from the time when the edge is detected by the detection processing unit 21 to the time when the object 37 stops is important. Therefore, for example, the upper limit of the moving speed of the object 37 is changed as follows. In a state where the detection processing unit 21 is not performing edge detection processing, the user can specify the moving speed in four stages, with the first moving speed being the slowest, followed by the second moving speed, the third moving speed, and the fourth moving speed being the fastest (the fourth moving speed is an example of the "normal upper limit value" in the claims of the present application). On the other hand, in a state where the detection processing unit 21 is performing edge detection processing, the user can specify the moving speed in two stages. One is the first moving speed. The other is a fifth moving speed between the first moving speed and the second moving speed. The fifth moving speed is the maximum moving speed in a state where the edge detection processing is being performed (the fifth moving speed is an example of the "detection upper limit value" in the claims of the present application). The fifth moving speed is slower than the fourth moving speed, which is the maximum moving speed in a state where the edge detection processing is not being performed. In this way, by slowing down the upper limit of the movement speed of the object 37 when edge detection processing is being performed, the user can move the object at a fast speed as desired when edge detection is not being performed, while slowing down the movement when edge detection is being performed, thereby ensuring the accuracy of control by the edge detection processing.

[0032] 1(b) to (e) show an example of edge detection processing by the detection processing unit 21. Here, edge detection is to detect the edge between the part where the object 53 is photographed and the part where it is not photographed. In this example, the object 53 is white and the installation base 51 is a color other than white, so that the edge can be detected by the change in color at the position of the marker 55 from white to a color other than white.

[0033] The user operates the input device 7 to move the object 53 on the installation stand 51 to the left. In FIG. 1(b), the object 53 is in front of the camera, and the marker 55 is located at the center of the object 53. Since no edge is detected at the position of the marker 55, the marker is white. In the order of FIG. 1(c) and (d), the object 53 moves to the left. Since no edge is detected at the position of the marker 55, the marker remains white. In FIG. 1(d), the color changes from white to a color other than white at the position of the marker 55. Therefore, it is assumed that an edge has been detected, and the color of the marker 55 changes from white to black. Note that the color of the marker may be other colors, for example, from green to red.

[0034] FIG. 2 is a flow diagram showing an example of the operation of the control system 1 of FIG.

[0035] An example of the operation of the detection processing unit 21 will be described with reference to FIG.

[0036] When the process starts, the edge detection process is not performed and the movement control device 3 starts operation in the normal mode. The detection processing unit 21 starts operation in a state where the edge detection process is not performed (normal mode) (step STA1).

[0037] The movement control device 3 is provided with an input / output unit (e.g., a touch panel) (not shown). By operating the input / output unit, the user can, for example, specify whether or not to perform edge detection processing (e.g., by turning on / off a predetermined checkbox), whether or not to use the upper illumination 35 and the lower illumination 41, and the intensity of the illumination, the threshold value for edge detection, and the like.

[0038] The detection processing unit 21 judges whether or not to switch to a mode for performing edge detection processing (detection mode) in response to a user instruction (step STA2). For example, when the user changes a predetermined checkbox from off to on, it judges that an instruction to switch to detection mode has been given. It waits until an instruction to switch to detection mode is given, and if an instruction to switch to detection mode is given, it proceeds to step STA3.

[0039] In step STA3, the detection processing unit 21 instructs the movement control device 3 to operate in the detection mode, and starts the edge detection process.

[0040] The detection processing unit 21 controls the turning on and off of the upper lighting 35 and the lower lighting 41 in response to an instruction from the user, and controls the intensity of the lighting when it is turned on (step STA4).

[0041] The analysis unit 23 analyzes the photographed data photographed by the photographing unit 33. The determination unit 25 determines whether an edge has been detected (step STA5). If an edge has not been detected, the process proceeds to step STA7. If an edge has been detected, the writing unit 27 writes information indicating that an edge has been detected in the memory unit 29 (step STA6), and the process proceeds to step STA7.

[0042] In step STA7, the detection processing unit 21 judges whether or not to end the detection mode in response to an instruction from the user. For example, when the user changes a predetermined checkbox from on to off, it judges that an instruction to end the detection mode has been given. If there is no instruction to end the detection mode, the process returns to step STA4. If there is an instruction to end the detection mode, the process instructs the movement control unit 3 to return to the normal mode (step STA8), and returns to step STA2.

[0043] An example of the operation of the operation control section 31 will be described with reference to FIG.

[0044] The operation control unit 31 waits until an instruction to start the detection mode is received from the detection processing unit 21 (see step STA3), and if an instruction to start the detection mode is received, the operation control unit 31 proceeds to step STB2 (step STB1).

[0045] The operation control unit 31 periodically monitors the storage unit 29 and determines whether information indicating that an edge has been detected has been stored (step STB2). If information indicating that an edge has been detected has not been stored, the operation proceeds to step STB4. If information indicating that an edge has been detected has been stored, the operation control unit 31 issues an instruction to stop the movement control unit 45 (step STB3) and proceeds to step STB4.

[0046] In step STB4, it is determined whether or not an instruction to return to the normal mode (see step STA8) has been issued from the detection processing unit 21. If an instruction to return to the normal mode has been issued, the process returns to step STB1, and if not, the process returns to step STB2.

[0047] An example of the operation of the movement control unit 45 will be described with reference to FIG.

[0048] The movement control unit 45 sets the upper limit of the movement speed of the object 37 to the normal upper limit value (step STC1). The movement control unit 45 moves the object 37 within the range of the normal upper limit value in accordance with an instruction from the user (step STC2).

[0049] The movement control unit 45 repeats the movement process of step STC2 until an instruction to start the detection mode is received from the detection processing unit 21 (see step STA3), and proceeds to step STC4 when an instruction to start the detection mode is received (step STC3).

[0050] In step STC4, the movement control unit 45 sets the upper limit of the movement speed of the object 37 to the detection upper limit. The detection upper limit is slower than the normal upper limit. The movement control unit 45 moves the object 37 within the range of the detection upper limit in accordance with an instruction from the user (step STC5).

[0051] The movement control unit 45 determines whether or not there is an instruction to stop from the operation control unit 31 (see step STB3) (step STC6). If there is an instruction to stop, the movement of the target object 37 is stopped (step STC7) and the process proceeds to step STC8. If there is no instruction to stop, the process proceeds to step STC8.

[0052] In step STC8, it is determined whether or not to switch to the normal mode. If the detection processing unit 21 issues an instruction to switch to the normal mode (see step STA8), the upper limit of the moving speed of the target object 37 is set to the normal upper limit value (step STC9), and the process returns to step STC2. If the detection processing unit 21 does not issue an instruction to switch to the normal mode, the process returns to step STC5. [Explanation of symbols]

[0053] 1 control system, 3 movement control device, 5 external information processing device, 7 input device, 11 built-in information processing unit, 13 control unit, 17 machine unit, 21 detection processing unit, 23 analysis unit, 25 judgment unit, 27 writing unit, 29 memory unit, 31 operation control unit, 33 photography unit, 35 upper illumination, 37 object, 39 installation stand, 41 lower illumination, 43 movement unit, 45 movement control unit, 47 communication processing unit, 49 movement instruction unit, 51 installation stand, 53 object, 55 marker

Claims

1. A control device, The device includes an embedded information processing unit, a control unit, and a mechanical unit, The mechanical unit includes a photographing unit and a movement control unit. The embedded information processing unit includes a detection processing unit, The control unit includes a storage unit and an operation control unit. an embedded communication protocol used in communication between the control unit and the embedded information processing unit is different from an external communication protocol used in communication between the control unit and an external information processing device that is not embedded in the control device; the storage unit is writable by the embedded communication protocol and is not writable by the external communication protocol; If a detection mode has been specified by the user, the detection processing unit analyzes the photographed data obtained by the photographing unit photographing the object, and if an edge is detected at a determination target position, writes information indicating that an edge has been detected into the storage unit; the operation control unit determines whether or not information indicating that an edge has been detected has been written in the storage unit, and if not, causes the movement control unit to move the object in accordance with an instruction from a user, and if information has been written, causes the movement control unit to stop the object; A control device, wherein when a normal mode is specified by a user, the movement control unit moves the object in accordance with the user's instructions, and the operation control unit does not cause the movement control unit to stop the movement of the object based on the edge detection result.

2. The normal upper limit value is an upper limit value of the moving speed of the object in the normal mode, the detection upper limit value is an upper limit value of the moving speed of the object in the detection mode, The detection upper limit value is slower than the normal upper limit value, The movement control unit is In the normal mode, the object is moved according to an instruction from a user with the normal upper limit value set as an upper limit value of the moving speed; 2. The control device according to claim 1, wherein in the detection mode, the target object is moved in accordance with an instruction from a user, with the detection upper limit value being an upper limit value for a moving speed.

3. A control method in a control device, comprising: The control device includes an embedded information processing unit, a control unit, and a mechanical unit. The mechanical unit includes a photographing unit and a movement control unit. The embedded information processing unit includes a detection processing unit, The control unit includes a storage unit and an operation control unit. an embedded communication protocol used in communication between the control unit and the embedded information processing unit is different from an external communication protocol used in communication between the control unit and an external information processing device that is not embedded in the control device; the storage unit is writable by the embedded communication protocol and is not writable by the external communication protocol; If a detection mode has been specified by the user, the detection processing unit analyzes the photographed data obtained by the photographing unit photographing the object, and if an edge is detected at a determination target position, writes information indicating that an edge has been detected into the storage unit; the operation control unit determines whether or not information indicating that an edge has been detected has been written in the storage unit, and if not, causes the movement control unit to move the object in accordance with an instruction from a user, and if information has been written, causes the movement control unit to stop the object; A control method including a step in which, if a normal mode is specified by a user, the movement control unit moves the object in accordance with the user's instructions, and the operation control unit does not cause the movement control unit to stop the movement of the object based on the edge detection result.

4. The normal upper limit value is an upper limit value of the moving speed of the object in the normal mode, the detection upper limit value is an upper limit value of the moving speed of the object in the detection mode, The detection upper limit value is slower than the normal upper limit value, The movement control unit is In the normal mode, the object is moved according to an instruction from a user with the normal upper limit value set as an upper limit value of the moving speed; 4. The control method according to claim 3, wherein in the detection mode, the target object is moved in accordance with an instruction from a user, with the detection upper limit value being set as an upper limit value for a moving speed.

Citation Information

Patent Citations

  • Wire-cut electric discharge machining device

    JP1988267121A

  • Automatic positioning of electric discharging device and work accuracy measuring device

    JP1991049833A

  • Electric discharge machining device and electric discharge machining method

    JP2006136964A