WO2023053778A1 - Device for machine tool, and machine tool - Google Patents

Device for machine tool, and machine tool Download PDF

Info

Publication number
WO2023053778A1
WO2023053778A1 PCT/JP2022/031641 JP2022031641W WO2023053778A1 WO 2023053778 A1 WO2023053778 A1 WO 2023053778A1 JP 2022031641 W JP2022031641 W JP 2022031641W WO 2023053778 A1 WO2023053778 A1 WO 2023053778A1
Authority
WO
WIPO (PCT)
Prior art keywords
machine tool
rotating
functional
unit
tool device
Prior art date
Application number
PCT/JP2022/031641
Other languages
French (fr)
Japanese (ja)
Inventor
頼人 國府田
Original Assignee
Dmg森精機株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Dmg森精機株式会社 filed Critical Dmg森精機株式会社
Publication of WO2023053778A1 publication Critical patent/WO2023053778A1/en

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B23MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
    • B23QDETAILS, COMPONENTS, OR ACCESSORIES FOR MACHINE TOOLS, e.g. ARRANGEMENTS FOR COPYING OR CONTROLLING; MACHINE TOOLS IN GENERAL CHARACTERISED BY THE CONSTRUCTION OF PARTICULAR DETAILS OR COMPONENTS; COMBINATIONS OR ASSOCIATIONS OF METAL-WORKING MACHINES, NOT DIRECTED TO A PARTICULAR RESULT
    • B23Q17/00Arrangements for observing, indicating or measuring on machine tools
    • B23Q17/24Arrangements for observing, indicating or measuring on machine tools using optics or electromagnetic waves
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B23MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
    • B23QDETAILS, COMPONENTS, OR ACCESSORIES FOR MACHINE TOOLS, e.g. ARRANGEMENTS FOR COPYING OR CONTROLLING; MACHINE TOOLS IN GENERAL CHARACTERISED BY THE CONSTRUCTION OF PARTICULAR DETAILS OR COMPONENTS; COMBINATIONS OR ASSOCIATIONS OF METAL-WORKING MACHINES, NOT DIRECTED TO A PARTICULAR RESULT
    • B23Q5/00Driving or feeding mechanisms; Control arrangements therefor
    • B23Q5/02Driving main working members
    • B23Q5/04Driving main working members rotary shafts, e.g. working-spindles

Definitions

  • This invention relates to a machine tool device that can be attached to and detached from a machine tool.
  • Machine tools include a machine that processes a workpiece with a tool attached to its spindle, a machine that processes a workpiece by rotating a workpiece with multiple tools attached to a turret, and a machine that performs additional machining while melting the material with a laser.
  • multi-tasking machines equipped with
  • Patent Document 1 a device for machine tools that can be attached to and detached from a machine tool.
  • Patent Literature 1 discloses a machine tool camera as a machine tool device that can be attached to and detached from a machine tool.
  • the machine tool camera of Patent Document 1 has a built-in battery because there is no power source for supplying power to the main spindle on which the tool of the machine tool is attached. Therefore, the machine tool camera tends to be large. Further, the machine tool camera only outputs image data taken for observation. Therefore, data processing such as image processing is performed after the data is transmitted to the outside, and the processing cannot proceed unless it is an external computer.
  • FIG. 1 is a perspective view of an example machine tool device that is attachable to and rotatable from a machine tool;
  • FIG. FIG. 4 is a cross-sectional view of the cable housing portion and the winding portion at a rotation angle of 0 degrees; It is a cross-sectional view of the cable housing portion and the winding portion at a rotation angle of 360 degrees.
  • FIG. 1 is a configuration diagram of an electrical circuit included in a spindle and a device for a machine tool
  • FIG. FIG. 10 is a diagram showing a replaceable functional part
  • 1 is an external view of a machine tool
  • FIG. FIG. 10 is a cross-sectional view of the interior of the machine tool device in modification 1
  • 4 is a wiring diagram between an electric circuit board and an imaging unit
  • FIG. 3 is a configuration diagram of an integrated circuit in a fixed part and a functional part;
  • ⁇ Machine tools In this embodiment, in the process of machining based on the NC program, when the tool is changed based on the NC program, the tool to be used next is automatically machined by a tool changer (ATC (Automatic Tool Changer)).
  • ATC Automatic Tool Changer
  • a machine tool in which a tool can be attached to a mounting portion (for example, a spindle or a turret) of the machine will be described.
  • the attachment portion of the machine tool of the present embodiment can attach a tool to machine a work. It is also possible to attach equipment for machine tools instead of tools. Therefore, the attachment part is detachably attached to the machine tool device.
  • FIG. 1 is an external view of the inside of a machine tool.
  • the illustrated machine tool example is a vertical machining center.
  • the machine tool has a bed 802 and a column 804 installed on the bed 802 .
  • a spindle head 806 is attached to the column 804 .
  • the spindle head 806 is movable in the Z-axis direction (vertical direction).
  • the spindle 100 is provided at the tip of the spindle head 806 .
  • Main shaft 100 includes rotating member 106 therein.
  • the rotating member 106 is rotatable around a rotating shaft extending in the Z-axis direction.
  • the bed 802 is equipped with a saddle 810 movable in the Y direction.
  • a table 814 movable in the X direction is installed on the saddle 810 .
  • a workpiece to be processed and measured is placed on the table 814 .
  • the machine tool moves the saddle 810 and the table 814 in the XY directions to change the relative positions of the workpiece and the machine tool device 600 .
  • the machine tool changes the distance between the workpiece and the machine tool device 600 by vertically moving the spindle head 806 .
  • the spindle 100 is an example of a "machine tool mounting portion" to which the machine tool device 600 is mounted. If the machine tool is a turning center, the turret corresponds to the "mounting part of the machine tool".
  • the machine tool device 600 may be attached to the turret to image the workpiece. Further, in the multitasking machine, an attachment portion may be provided and the machine tool device 600 may be attached to the attachment portion. In either case, the machine tool device 600 can be attached to and detached from the “mounting portion of the machine tool”, and a part of the machine tool device 600 together with the “rotating member 106 in the mounting portion” can be attached to the machine tool and the mounting portion.
  • rotatable and attached to the The machine tool device 600 attached to the spindle 100 performs predetermined functions (for example, imaging, touch measurement, laser scanning, etc.).
  • the machine tool in this embodiment has a mounting portion to which a machine tool device can be attached.
  • the mounting portion is a main shaft or a turret, and in the case of a main shaft, the main shaft 100 includes a cylindrical portion 101 and a rotating member 106 .
  • Machine tool devices that can be attached to and detached from machine tools include imaging devices, touch probes, laser scanners, angle heads, tools with angle heads, electric tools, tools with functions, ultrasonic generators, and laser oscillators.
  • the machine tool device 600 of the present embodiment is a machine tool device that can be detachably and rotatably attached to the machine tool among the machine tool devices described above.
  • the machine tool device 600 includes electrical components such as an image sensor (imaging device), various sensors such as a temperature sensor and a piezoelectric sensor, and oscillators such as a laser oscillator and a millimeter wave oscillator.
  • the machine tool device 600 may also include mechanical components such as actuators and motors.
  • the machine tool device 600 may be provided with only one of these electrical components, a plurality of such electrical components, or an electrical component and a mechanical component.
  • the machine tool device 600 may be provided as a module that includes circuits such as an LSI (Large Scale Integration) and a CPU (Central Processing Unit) that process signals output from these electrical and mechanical components. .
  • LSI Large Scale Integration
  • CPU Central Processing Unit
  • the machine tool device 600 When using the machine tool device 600, it is necessary to supply electric power to electric and mechanical parts driven by electric power.
  • the machine tool device 600 is an imaging device, it has an imaging unit including an image sensor (for example, CMOS (Complementary MOS)) and an electric circuit for controlling the image sensor as a functional section.
  • the image sensor and electric circuit in the imaging unit operate based on power supplied from the outside. Power supplied from the outside is preferably supplied using a technology (PoE (Power Over Ethernet) technology) for transmitting data and power through a cable used in Ethernet wiring.
  • Imaging by the imaging unit is performed by processing an imaging operation instruction transmitted from the cable described above by a CPU or LSI, which is an electrical circuit, and transmitting a control signal from the CPU or LSI to the imaging unit.
  • the image data captured by the imaging unit may be transmitted as it is to the outside of the machine tool device 600.
  • the necessary image processing is performed in the main circuit 570 in the machine tool device 600, and the image data is transmitted via the above-mentioned cable. It is preferable that the information is sent to a device outside the machine tool device 600 (for example, a computer inside the machine tool, a server outside the machine tool).
  • the machine tool device 600 By using the above-described PoE technology in the machine tool device 600, it becomes possible to make the device more compact than a battery built-in type machine tool device or a wireless power supply type machine tool device. As the size of the machine tool device increases, the possibility of interference occurring in the machine tool increases.
  • Wi-Fi is an example of a wireless LAN. With Wi-Fi, it takes time to establish a wireless communication channel between the machine tool device and the communicating device. There is also an effect on radio waves from other devices between the machine tool device and the device that communicates via Wi-Fi. In addition, since it may take time to transmit and receive signals and data, real-time communication is low when the machine tool device is operated from the outside.
  • FIG. 2 is a perspective view of an example machine tool apparatus 600 that is attachable to and rotatable from a machine tool.
  • a machine tool device 600 of the present embodiment is an image probe mounted on a machine tool and used for imaging a workpiece. As will be described later, the machine tool device 600 is electrically connected to the machine tool by a connector, so that it is possible to supply power and communicate by wire.
  • the machine tool device 600 has a shank 202 on the spindle 100 side in the attitude of being attached to the spindle 100 .
  • the machine tool device 600 is attached to the spindle 100 by fitting the shank 202 to the rotating member 106 of the machining center, which is a machine tool.
  • the mounting method is the same as for the tool.
  • a machine tool tool changer may grasp the gripper 204 to move the machine tool device 600 and attach it to the rotating member 106 .
  • the machine tool device 600 is provided with the functional part 400 on the side opposite to the mounting side when mounted on the mounting part in the posture mounted on the mounting part.
  • the functional unit 400 is a unit capable of executing predetermined functions (for example, imaging, touch measurement, laser scanning, etc.).
  • An example of the functional unit 400 of this embodiment includes an imaging element and an optical system (for example, a lens, a mirror, and a splitter), and has an imaging function of performing imaging with the imaging element upon receiving an imaging instruction.
  • the machine tool device 600 has a connecting portion 300 . Connector 300 will be described later in connection with FIG.
  • the functional part 400 is attachable to and detachable from the connecting part 300 , the part that joins with the connecting part 300 is called a joint part 401 , and the part other than the joint part 401 is called a main body part 403 .
  • the main body part 403 of this embodiment has a cylindrical shape and includes an action part that causes the machine tool device 600 to perform a predetermined function.
  • the rotating member 106 rotates about the rotation axis within a range of 0 to 360 degrees
  • the shank portion 200, the connecting portion 300, and the functional portion 400 rotate together, and the fixed portion 500 does not rotate.
  • the functional unit 400 can change its orientation within a range of 0 degrees to 360 degrees around the rotation axis. In other words, it is possible to pick up images while changing the orientation within the range of 0 to 360 degrees.
  • the rotation axis of the rotating member 106 is the center line of the cylindrical rotating member 106 .
  • the optical axis of the functional unit 400 of this embodiment is described as being aligned with the extension of the rotation axis of the rotating member 106, it is not limited to this. For example, when there are three imaging units in the functional section, the optical axis and the rotation axis are parallel, but they can be arranged at positions where the optical axis and the rotation axis do not match.
  • the machine tool device 600 includes a stationary part 500 .
  • the fixed portion 500 is fixedly attached to the cylindrical portion 101 of the main shaft 100 . Therefore, when the rotating member 106 rotates, the fixed part 500 does not rotate together with the rotating part 601 (see FIG. 3) having the shank part 200 and the coupling part 300 .
  • a cylindrical support portion 502 of the fixed portion 500 supports the rotating portion 601 so that it can rotate. Therefore, the fixed part 500 is arranged so as to surround the rotating part 601 when viewed along the rotation axis of the rotating part 601 .
  • the fixed part 500 has an extension part 508 protruding from the side of the cylindrical support part 502 .
  • the extension 508 is locked (engaged and locked) with a locking block 108 protruding from the front cover 102 of the main shaft 100 .
  • the lock block 108 is a part of the cylindrical portion 101 of the main shaft 100 and is a member that does not rotate while the rotating member is rotating. Extension 508 and locking block 108 prevent stationary portion 500 of machine tool assembly 600 from co-rotating with a rotating member. That is, the fixed portion 500 is fixedly attached to the locking block 108 (an example of the non-rotating portion) that is a part of the cylindrical portion 101 of the main shaft 100 . Means of locking are described in connection with FIG.
  • the locking block 108 and the extension 508 are provided with electrical contact means. Signal lines and feed lines (power lines) are secured by this contact means. Contact means are described in connection with FIG.
  • the communication and power supply in this example shall comply with the PoE (Power over Ethernet) standard. PoE is based on the Ethernet, and has specifications that allow power to be supplied. Ethernet is a kind of wired LAN (Local Area Network) standard.
  • the rotatable and non-rotatable portions of the machine tool device 600 are organized. As the rotating member 106 of the machine tool rotates, the shank 202, the gripper 204 and the functional part 400 of the machine tool device 600 rotate. In addition, a connecting portion 300 (see FIG. 3) of a machine tool device 600, which will be described later, also rotates. The rotation axes of the shank 202 , the grip portion 204 , the connection portion 300 and the functional portion 400 are aligned with the extension of the rotation axis of the rotating member 106 .
  • the cylindrical portion 101 of the spindle 100 (part of the cylindrical portion 101 includes the front cover 102, the housing 104, the locking block 108, etc.), the fixed portion 500 of the machine tool device 600 (cylindrical support portion). 502 and extensions 508, etc.) do not rotate.
  • the diameter Dy of the functional portion 400 is shorter than the outer diameter Dx of the fixed portion 500. Therefore, when the machine tool device 600 is attached to the spindle 100, the outer circumference of the functional section 400 is positioned inside the outer circumference of the fixed section 500 when viewed from the direction along the rotation axis of the rotating section 601 (see FIG. 3). located in The outer diameter Dx of the fixed portion 500 here is specifically the outer diameter of the cylindrical support portion 502 , and the outer circumference of the fixed portion 500 is the outer circumference of the cylindrical support portion 502 .
  • the diameter Dy of the functional portion 400 here is specifically the diameter of the main body portion 403 , and the outer circumference of the functional portion 400 is the outer circumference of the main body portion 403 . As will be described later, since the electric circuit board including the main circuit is provided in the fixing portion 500 instead of providing the electric circuit board including the main circuit in the function portion 400, the size of the function portion 400 can be reduced.
  • FIG. 3 is a cross-sectional view of the attachment mechanism and rotation mechanism of the spindle 100 and the machine tool device 600 .
  • the attachment mechanism and rotation mechanism are mainly shown, and the electrical and optical configurations are omitted. Wiring, electrical and optical components, etc. within the machine tool apparatus 600 are described below in connection with FIG.
  • the rotating member 106 is rotatably supported by the housing 104 and rotated by being driven by a servomotor.
  • a front cover 102 is provided at the front end of the main shaft 100 and covers the housing 104 .
  • a front end of the rotating member 106 protrudes from a hole in the front cover 102 .
  • Cylindrical portion 101 includes all components of main shaft 100 other than rotating member 106 (front cover 102, housing 104, locking block 108, etc.). The entire cylindrical portion 101 corresponds to the non-rotating portion of the main shaft 100 .
  • a machine tool device 600 includes a rotating portion 601 composed of a shank portion 200 and a connecting portion 300 .
  • the rotating part 601 is attached to the machine tool so that it can rotate together with the rotating member 106 .
  • the functional portion 400 is attached to the rotating portion 601 . Accordingly, the functional portion 400 rotates in the same direction as the rotating portion 601 as the rotating portion 601 rotates.
  • the main shaft 100 rotatably attaches the rotating part 601 of the machine tool device 600 together with the rotating member 106 .
  • the shank portion 200 includes a shank 202 fixed to the rotating member 106 and a grip portion 204 to be gripped by the tool changer.
  • the connecting portion 300 is fixed to the shank portion 200 with a tool holder mounting bolt 302 .
  • the connecting portion 300 is supported inside the fixed portion 500 so as to rotate.
  • the functional part 400 is fixed to the connecting part 300 with bolts 402 . Therefore, the functional section 400 is attachable to and detachable from the rotating section 601 . As a method other than the fixing method using the bolts 402, the functional unit 400 may be detachable by a fitting mechanism of a mechanical mechanism.
  • the connecting portion 300 has a third connector 340 on a surface that contacts the functional portion 400 , and the functional portion 400 has a fourth connector 440 at a position facing the third connector 340 .
  • the third connector 340 and the fourth connector 440 are joined. Both the third connector 340 and the fourth connector 440 are connectors for USB (Universal Serial Bus).
  • Spring connectors may be used as the third connector 340 and the fourth connector 440 .
  • the contact parts are not limited to this example. USB wiring will be described later.
  • the fourth connector 440 and the hole through which the bolt 402 is passed are included in the joint portion 401 .
  • the machine tool device 600 comprises a fixed part 500 consisting of a cylindrical support part 502 and an extension part 508 .
  • a support portion 502 of the fixed portion 500 rotatably supports the connecting portion 300 by a first bearing 504 and a second bearing 506 . That is, the support portion 502 corresponds to a housing that accommodates the rotating connecting portion 300 as a mechanical element.
  • a cylindrical positioning portion 510 is provided on the extension portion 508 of the fixing portion 500 .
  • the positioning part 510 fits into the non-rotating part 110 formed in the locking block 108 of the main shaft 100, serves as a guide during mounting, and fixes the fixing part 500 so that it does not rotate.
  • the spindle 100 fixedly attaches the fixed portion 500 of the machine tool device 600 to the locking block 108 (an example of the non-rotating portion).
  • locking block 108 has first connector 120 on the surface in contact with extension portion 508
  • extension portion 508 has second connector 520 at a position facing first connector 120
  • positioning portion 510 is non-removable.
  • the first connector 120 and the second connector 520 are joined.
  • Both the first connector 120 and the second connector 520 are connectors for Ethernet.
  • Spring connectors may be used as the first connector 120 and the second connector 520 .
  • the contact parts are not limited to this example. Details will be described later with reference to FIG.
  • the rotating part 601 (the shank part 200 and the connecting part 300) of the machine tool device 600 and the functional part 400 rotate as one, but are locked by the locking block 108.
  • the stationary part 500 of the machine tool device 600 does not rotate.
  • a single structure of the machine tool device 600 is such that when the fixed part 500 is fixed, the rotating part 601 and the functional part 400 can rotate with respect to the fixed part 500 .
  • the independent structure of the machine tool device 600 is such that when the rotating part 601 and the functional part 400 are fixed, the fixed part 500 can rotate with respect to the rotating part 601 .
  • FIG. 4 is a cross-sectional view of the wiring, electrical and optical components within machine tool apparatus 600 .
  • An Ethernet cable and an Ethernet connector are used as wiring for Ethernet communication and PoE power supply. Specifications of Ethernet cables and Ethernet connectors are defined as standards.
  • the first connector 120 and the second connector 520 are both Ethernet connectors and are connected to Ethernet cables. Spring connectors may be used as the first connector 120 and the second connector 520 .
  • the contact parts are not limited to this example.
  • the second connector 520 of this embodiment is a male connector with eight contact pins.
  • the first connector 120 is a female connector with eight contact holes.
  • the second connector 520 and the first connector 120 are brought closer so that each contact pin fits into each contact hole.
  • the second connector 520 and the first connector 120 are connected.
  • an example of an 8-pin connector is shown, but a connector with 9 or more pins may be used, or a connector with 7 or less pins may be used. Since Ethernet communication and PoE can be realized with at least four lines, connectors with four or more pins can be used. For example, a 4-pin connector may be used.
  • the first connector 120 on the machine tool side is a female connector, there is an aspect that foreign objects such as metal chips are less likely to get caught.
  • the second connector 520 may be a female connector with eight contact holes and the first connector 120 may be a male connector with eight contact pins.
  • the contact pins and contact holes have the functions of power terminals and communication terminals.
  • An Ethernet cable includes a feeder line (power line) and a communication line, and the contacts included in the Ethernet connector function as a feeder terminal (power terminal) connected to the feeder line (power line) and a communication terminal connected to the communication line.
  • This wiring electrically connects the PSE (Power Sourcing equipment) module on the spindle 100 side and the PD (Powered device) module on the machine tool device 600 side.
  • PSE refers to power supply equipment in PoE.
  • spindle 100 is the PSE.
  • a PSE module is an electric circuit for realizing the power supply function and communication function of the PSE.
  • PD refers to a power receiving device in PoE.
  • machine tool device 600 is a PD.
  • a PD module is an electric circuit for realizing the power receiving function and communication function of the PD. The PSE module and PD module are described below in connection with FIG.
  • An Ethernet cable 122 connected to the PSE module is connected to the first connector 120 through the interior of the lock block 108 .
  • An Ethernet cable 521 connected to a second connector 520 connected to the first connector 120 is connected to the inside of an electric circuit board 544 through a wiring path 523 .
  • the fixed part 500 arranges the Ethernet cable 521 (including the feeder line) connected to the spindle 100 .
  • Each transmission line included in the Ethernet cable 521 connects to a PD module within the electrical circuit board 544 . Therefore, when the first connector 120 of the spindle 100 and the second connector 520 of the machine tool device 600 are joined together, the PD module and the PSE module are electrically connected. This allows the PSE module to detect the PD module, perform initialization operations in the PSE module and the PD module, and enable power supply and communication between the PSE module and the PD module.
  • a USB cable and a USB connector are used as wiring for USB communication and power supply between the electric circuit board 544 and the imaging unit 446 .
  • the electric circuit board 544 and the imaging unit 446 are connected via the USB cable 525 , the third connector 340 , the fourth connector 440 and the USB cable 445 .
  • Both the third connector 340 and the fourth connector 440 are USB connectors and are connected to USB cables.
  • Spring connectors may be used as the third connector 340 and the fourth connector 440 .
  • the contact parts are not limited to this example.
  • the coaxial epi-illumination 454 and the ring illumination 456 are also connected to the electric circuit board 544 via the USB cable 525 , the third connector 340 , the fourth connector 440 and the USB cable 445 .
  • functional unit 400 is connected to electric circuit board 544 via a communication path of USB cable 525 , third connector 340 , fourth connector 440 and USB cable 445 .
  • this embodiment has been described using a USB cable, it is not limited to this.
  • a power supply line for power supply and a communication line for communication may be provided, and wiring may be provided for each.
  • Either of the third connector 340 and the fourth connector 440 can be male and which can be female.
  • the USB cable includes a power supply line (power line) and a communication line, and the contacts included in the USB connector function as a power supply terminal (power terminal) connected to the power supply line (power line) and a communication terminal connected to the communication line. .
  • the fixed portion 500 includes a cable housing portion 526 .
  • the cable accommodating portion 526 is located in the wiring path connecting the electric circuit board 544 and the third connector 340 .
  • the cable accommodating portion 526 forms an annular space around the rotation axis of the rotating portion 601 at the boundary of the fixed portion 500 and the rotating portion 601 (see FIGS. 5 and 6).
  • the cable accommodating portion 526 accommodates the USB cable 525 wound multiple times.
  • a margin is also provided for multiple turns of the USB cable 525, as described below in connection with FIG. That is, in the cable accommodating portion 526 , a gap is provided so that the shape of the USB cable 525 wound multiple times can be changed according to the rotation angle of the rotating portion 601 .
  • Coupling portion 300 comprises a winding portion 304 having a gripping portion 306 .
  • a midpoint of the USB cable 525 leading from the cable accommodating portion 526 to the inside of the connecting portion 300 is gripped by the gripping portion 306 of the connecting portion 300 (held in a gripped state).
  • the gripping portion 306 is provided inside the winding portion 304 forming an annular space integral with the cable housing portion 526 and rotates as a part of the rotating portion 601 . As a result, the gripping portion 306 acts to move the midpoint of the USB cable 525 circularly.
  • the end of the USB cable 525 fixed to the grip portion 306 is connected to the third connector 340 provided on the end surface of the connecting portion 300 through the wiring path 324 leading forward from the winding portion 304 .
  • the cable housing portion 526, the gripping portion 306 and the wrapping portion 304 are described below in connection with FIGS.
  • a USB cable 445 connected to a fourth connector 440 that joins with the third connector 340 is connected to an imaging unit 446 , a coaxial epi-illumination 454 and a ring illumination 456 through a wiring path 425 .
  • the functional unit 400 has an imaging unit 446 and a lens 448 as optical components.
  • the imaging unit 446 includes an image sensor (eg, CMOS) that visualizes the received light.
  • Lens 448 is, for example, a telecentric lens.
  • a lens cover 450 is attached to the tip of the functional portion 400 with a bolt 452 .
  • the functional unit 400 is further provided with a coaxial epi-illumination 454 and a ring illumination 456 . Either or both of the coaxial epi-illumination 454 and the ring illumination 456 emit light during imaging.
  • the imaging unit 446, coaxial epi-illumination 454 and ring illumination 456 are powered by USB power.
  • an example of the functional unit 400 is an imaging unit including an imaging device (CMOS) and a lens, which is a so-called camera.
  • the electric circuit board 544 is provided inside the fixed portion 500 instead of inside the functional portion 400 . Therefore, the functional unit 400 can be miniaturized.
  • FIG. 5 is a cross-sectional view of the cable housing portion 526 and the winding portion 304 at a rotation angle of 0 degrees.
  • FIG. 5 shows a cross section of the cable accommodating portion 526 and the winding portion 304 as seen from the main shaft 100 side.
  • the cable accommodating portion 526 forms an annular space around the rotation axis of the rotating portion 601 at the boundary between the fixed portion 500 and the rotating portion 601 .
  • the cable accommodating portion 526 accommodates the USB cable 525 wound multiple times (five times in this example).
  • the space of the cable accommodating portion 526 provided in the fixed portion 500 has a width sufficient to accommodate the USB cable 525 about ten turns. In other words, the plurality of turns of the USB cable 525 are provided with extra space.
  • Winding portion 304 The winding portion 304 provided in the connecting portion 300 forms an annular space that is not separated from the space of the cable accommodating portion 526 .
  • the space of the winding portion 304 can accommodate the USB cable 525 for one turn.
  • a gripping portion 306 provided on the winding portion 304 grips a midpoint of the USB cable 525 .
  • Cable housing portion 526 does not rotate, but winding portion 304 rotates as part of rotating portion 601 . Therefore, when the rotating portion 601 and the functional portion 400 rotate 360 degrees, the gripping portion 306 makes a full circle.
  • the shape of the USB cable 525 will be described along the flow from the wiring path 527 side of the fixing portion 500 to the wiring path 324 side of the connecting portion 300 .
  • the USB cable 525 coming in from the wiring path 527 goes around the inside of the cable accommodating portion 526 five times from the outside to the inside of the space.
  • the USB cable 525 can be bent in the cable accommodating portion 526 with sufficient margin.
  • a portion that has been moved into the winding portion 304 after making five turns is gripped by the gripping portion 306 .
  • the other end changes direction, passes through the wiring path 324 , and is connected to the third connector 340 .
  • rotation angle 0 degrees As shown in FIG. 5, it is assumed that the rotation angle is 0 degree when the gripping portion 306 is closest to the entrance from the wiring path 527 .
  • the rotation angle is 0 degrees, the USB cable 525 inside the cable housing portion 526 is located on the outer side, and the USB cable 525 is not wound inside the winding portion 304 .
  • FIG. 6 is a cross-sectional view of the cable housing portion 526 and the winding portion 304 at a rotation angle of 360 degrees.
  • the third connector 340, the fourth connector 440, the wiring path 425 and the USB cable 445 return to the original left side as in FIG.
  • the USB cable 525 is wound around the winding portion 304 once.
  • the USB cable 525 inside the cable accommodating portion 526 is moved inward. Since the USB cable 525 is loosely wound, no excessive tension is applied to any part of the USB cable 525 even when the rotating part 601 rotates.
  • the cable accommodating portion 526 has a gap in the USB cable 525 that is wound a plurality of turns. Therefore, as shown in FIG.
  • the shape of the separated USB cable 525 can be changed. Therefore, it is possible to rotate the rotating portion 601 and the functional portion 400 within a range of 0 degrees to 360 degrees without applying excessive force to the USB cable 525 . Note that even if the rotating portion 601 and the functional portion 400 rotate, the USB cable 525 in the wiring path 527, the USB cable 525 in the wiring path 324, and the USB cable 445 in the wiring path 425 do not change their shapes. Only the portion of the USB cable 525 included in the cable housing portion 526 and the winding portion 304 changes its shape as it rotates.
  • FIG. 7 is a configuration diagram of an electric circuit included in the spindle 100 and the machine tool device 600.
  • spindle 100 is a PSE and has PSE module 760 .
  • the PSE module 760 is an electric circuit for realizing the PSE power supply function and communication function.
  • the machine tool device 600 is a PD and has a PD module 560 .
  • the PD module 560 is an electric circuit for realizing the power receiving function and communication function of the PD.
  • the PSE module 760 and PD module 560 are connected by the above wiring (Ethernet cable 122, first connector 120, second connector 520 and Ethernet cable 521). and power supply from the PSE module 760 to the PD module 560.
  • the number of transmission lines of each Ethernet cable and the number of pins of each connector are the same. However, the number may be 9 or more, or 7 or less.According to the Ethernet communication and PoE standards, the number may be 4 or more.In addition, in FIG. , and only two communication lines indicated by thin lines are drawn, but as an implementation, more transmission lines are provided.
  • PSE module 760 comprises communication circuitry 762 and power supply circuitry 764 .
  • the communication circuit 762 mainly controls communication according to the Ethernet communication standard.
  • the communication circuit 762 is connected to an external device 703 (for example, an information processing device such as a computer) via a communication line.
  • the power supply circuit 764 mainly controls power supply according to the PoE standard.
  • the power supply circuit 764 is connected to the external power supply 701 via a power supply line (power line).
  • PD module 560 includes communication circuitry 562 and power receiving circuitry 564 .
  • the communication circuit 562 mainly controls communication according to the Ethernet communication standard.
  • the power receiving circuit 564 controls power reception mainly in accordance with the PoE standard.
  • the PD module 560 is provided on the electric circuit board 544 of the fixed part 500 .
  • the electric circuit board 544 is provided with a power supply circuit 580 and a main circuit 570 in addition to the PD module 560 .
  • the power supply circuit 580 converts the power supply voltage obtained by PoE into a power supply voltage for the main circuit 570 and supplies the power supply voltage to the main circuit 570 .
  • the power supply circuit 580 converts the power supply voltage obtained by PoE into a USB power supply voltage, and outputs it to the power supply line of the USB cable 525 .
  • the power supply circuit 580 can separately supply power to the main circuit 570 and the imaging unit 446, various applications can be started up when the main circuit is started up, and the imaging unit 446 itself can be powered. Start-up can be done separately.
  • the main circuit 570 includes a CPU 572 and a memory 574, and performs control processing for realizing the functions of the functional unit 400 (for example, photographing of a work according to remote control).
  • a main circuit 570 (an example of an electric circuit) is connected to the functional section 400 via a communication path formed by the USB cable 525 and the third connector 340 .
  • the imaging unit itself can be started up. It becomes possible to take an image only by sending it to the imaging unit.
  • a signal for instructing the activation of the imaging unit was sent from an imaging-related application, which tended to take a long time until imaging. can do.
  • PSE module 760 of spindle 100 detects PD module 560 of machine tool device 600, and PSE module 760 and PD module 560 perform predetermined initialization operations. After that, power supply from the PSE module 760 to the PD module 560 is started.
  • the power supply circuit 764 of the PSE module 760 obtains power from the external power supply 701 and outputs DC power according to the PoE standard through the above wiring (transmission path).
  • the PD module 560 receives the DC power through the wiring.
  • the power supply circuit 580 receives DC power from the power receiving circuit 564 and distributes the DC power to the main circuit 570, the imaging unit 446, the coaxial epi-illumination 454, and the ring illumination 456, respectively. That is, the power supply circuit 580 supplies necessary power to each internal module included in the functional unit 400 . In this way, the functional unit 400 receives power through the Ethernet cable 521 (including the feeder line) arranged on the fixed unit 500 and the USB cable 525 (including the feeder line) arranged between the fixed unit 500 and the connecting unit 300 . receive supply.
  • the machine tool device 600 receives an image pickup instruction signal from the external device 703 and sends image data picked up in response to the signal to the external device 703 .
  • the communication circuit 762 of the PSE module 760 transmits the imaging instruction signal received from the external device 703 to the PD module 560 using the wiring (transmission path) described above.
  • the communication circuit 562 of the PD module 560 receives the imaging instruction signal, it transfers the imaging instruction signal to the CPU 572 of the main circuit 570 .
  • the main circuit 570 controls the imaging unit 446, the coaxial epi-illumination 454, and the ring illumination 456 of the functional unit 400 via USB according to the imaging instruction from the external device 703 to perform imaging and illumination (example of functions).
  • the operation of the main circuit 570 is realized by the CPU 572 sequentially executing programs stored in the memory 574 .
  • the main circuit 570 causes the image data to be transmitted from the PD module 560 to the external device 703 .
  • the communication circuit 562 of the PD module 560 transmits the image data to the PSE module 760 using the wiring described above.
  • a communication circuit 762 of the PSE module 760 receives the image data and transmits it to the external device 703 .
  • the main circuit 570 (an example of an electric circuit) provided in the fixed part 500 can exchange data with the outside (for example, the external device 703).
  • a fixed portion 500 of a machine tool device 600 having a main circuit 570 (an example of an electric circuit) capable of exchanging data with the outside (for example, an external device 703) is fixedly attached to the spindle 100 (see FIG. 2).
  • the functional unit 400 is connected to a main circuit 570 (an example of an electric circuit), and is controlled by an application stored in the memory of the main circuit 570 (an example of an electric circuit) to perform functions such as imaging and illumination. be.
  • FIG. 8 is a diagram showing a replaceable functional unit 400.
  • the functional unit 400a is an imaging device having a lens 448a having a length La and a maximum diameter Da.
  • the length of the main body 403a is represented by L1, and the diameter of the main body 403a is represented by D1.
  • the functional part 400a can be separated from the rotating part 601 by removing the bolt 402 (see FIG. 3). And it is replaceable with the function part 400b.
  • Functional portion 400 b can be fixed to rotating portion 601 with bolts 402 .
  • the functional portion 400b may be fixed to the rotating portion 601 by a fitting mechanism of a mechanical mechanism. In this way, different functional units 400 can be exchanged.
  • the functional unit 400b is an imaging device having a lens 448b with a length Lb and a maximum diameter Db, the length of the main body 403b is represented by L2, and the diameter of the main body 403b is represented by D2.
  • the lens 448b has a shorter length (Lb ⁇ La) and a smaller maximum diameter (Db ⁇ Da) than the lens 448a.
  • the functional portion 400b has a main body portion 403b shorter in length (L2 ⁇ L1) and smaller in diameter (D2 ⁇ D1) than the functional portion 400a. In this way, the rotating part 601 can be attached and detached by exchanging a plurality of types of functional parts 400 having different outer diameters.
  • FIG. 9 is an external view of the machine tool.
  • the machine tool has an openable and closable door on the front. This figure shows the door open.
  • a machine tool includes an operation panel.
  • An external device 703 (for example, an information processing device such as a computer) is connected to the machine tool. The form of connection is an example.
  • the machine tool may include an information processing function equivalent to that of the external device 703 .
  • the worker can select an operation to image the workpiece with the imaging device during processing.
  • an application related to imaging can perform image processing for extracting feature points such as edges and surfaces of workpieces from the captured image.
  • machining can be temporarily stopped with the door of the machine tool closed, and the image of the workpiece can be captured by the imaging device without opening the door. As a result, the work can be performed without opening the processing chamber, so that the worker can work safely.
  • the tool correction value can be corrected on the operation panel without opening the door, and machining can be resumed. Moreover, it is possible not only to correct the correction value of the tool on the operation panel, but also to change the rotational speed of the tool.
  • image processing can be performed by the machine tool device, so the state of the workpiece can be confirmed even in an enclosed space with the door of the machine tool closed.
  • Modification 1 In the embodiment, the third connector 340 connected to the USB cable 525 on the extension part 508 side and the fourth connector 440 connected to the USB cable 445 on the functional part 400 side are connected to perform power supply and communication. . Modification 1 shows an example in which power supply and communication are performed in a non-contact manner.
  • FIG. 10 is a cross-sectional view of the inside of the machine tool device 600 in Modification 1.
  • a power supply communication unit 590 is provided near the surface of the support unit 502 near the functional unit 400 .
  • Power supply communication unit 590 includes a power supply unit that performs contactless power supply.
  • the power feeding portion of the power feeding communication portion 590 is connected to a power feeding line included in a cable 592 connected to the electric circuit board 544 .
  • a power receiving communication unit 490 is provided near the surface near the support unit 502 in the function unit 400 .
  • the power receiving communication unit 490 has a ring shape.
  • the functional unit 400 has a disc-shaped projecting portion at a position close to the supporting portion 502, and the power receiving/communicating unit 490 is installed inside the projecting portion. Communication of the power receiving communication unit 490 coincides with the rotating shaft of the rotating unit 601 .
  • Power reception communication unit 490 includes a power reception unit that receives power in a non-contact manner.
  • a power receiving unit of the power receiving communication unit 490 is connected to a power supply line included in a cable 492 connected to the imaging unit 446 , the coaxial epi-illumination 454 and the ring illumination 456 .
  • Non-contact power supply is, for example, electromagnetic induction power supply.
  • the imaging unit 446 , the coaxial epi-illumination 454 and the ring illumination 456 are operated by the power received by the power receiving unit of the power receiving communication unit 490 . Since the power receiving/communicating section 490 is ring-shaped, power can always be supplied regardless of the orientation of the rotating section 601 .
  • the power supply communication unit 590 includes a communication unit that performs contactless communication.
  • a communication section of the power supply communication section 590 is connected to a communication line included in the cable 592 .
  • Power receiving communication unit 490 includes a communication unit that performs contactless communication.
  • the communication section of power receiving communication section 490 is connected to a communication line included in cable 492 .
  • Non-contact two-way communication is, for example, millimeter wave wireless communication.
  • the electric circuit board 546 is connected to the imaging unit 446, the coaxial epi-illumination 454, and the ring illumination 456 via a communication path including the cable 592, the communication unit of the power supply communication unit 590, the communication unit of the power reception communication unit 490, and the cable 492. .
  • This communication path allows the electrical circuit board 544 to communicate bi-directionally with the imaging unit 446 , the coaxial epi-illumination 454 and the ring illumination 456 . Since the power receiving/communicating section 490 is ring-shaped, two-way communication is always possible regardless of the orientation of the rotating section 601 .
  • one-way communication may be performed from the electric circuit board 546 toward the imaging unit 446, the coaxial epi-illumination 454, or the ring illumination 456.
  • One-way communication may also be provided from imaging unit 446 , coaxial epi-illumination 454 or ring illumination 456 toward electrical circuit board 546 .
  • the cables 592 and 492 may be USB cables as in the embodiment.
  • the machine tool device 600 may be composed of the rotating portion 601 and the functional portion 400 without providing the fixed portion 500 . In that configuration, the entire machine tool apparatus 600 rotates with the rotating member 106 .
  • a battery may be installed in the machine tool device 600 and used as a power source.
  • communication may be performed using a wireless medium such as a wireless LAN.
  • FIG. 11 is a wiring diagram between the electric circuit board 544 and the imaging unit 446. As shown in FIG. I will supplement the USB wiring.
  • the electric circuit board 544 and the imaging unit 446 are connected by the USB cable 525, the third connector 340, the fourth connector 440 and the USB cable 445 as shown in FIG.
  • the USB cables 445 and 525 include VBUS and GND feed lines (power lines) and D- and D+ signal lines.
  • a VBUS power supply line (power line) connects the power supply circuit 580 and the imaging unit 446 .
  • a GND feeder line power line
  • Signal lines D ⁇ and D+ connect the CPU 572 and the imaging unit 446 .
  • the third connector 340 and the fourth connector 440 have a VBUS terminal, a GND terminal, a D- terminal and a D+ terminal.
  • a similar USB connector may be provided at the other end of the USB cable 445,525.
  • Imaging unit 446 may include a USB connector that can be coupled with the USB connector of USB cable 445 .
  • the electrical circuit board 544 may also include a USB connector that can mate with the USB connector of the USB cable 525 .
  • the power line 591a (first feed line) is a wire for supplying power from the power supply circuit 580 to the CPU 572 (main circuit 570).
  • a power line 591 b (second feeder line) is a wire for supplying power from the power supply circuit 580 to the imaging unit 446 .
  • the power line 591b may pass through a switch IC that controls ON/OFF of energization in accordance with a control signal sent from the CPU 572 .
  • the power supply circuit 580 that receives power from the external power supply 701 sends power to the CPU 572 via the power line 591a.
  • the CPU 572 receives power from the power supply circuit 580, it performs an OS (operating system) startup process.
  • the power supply circuit 580 supplies power to the imaging unit 446 through the power line 591b in parallel with the OS startup process.
  • the imaging unit 446 starts activation operation.
  • the OS startup process and the imaging unit 446 startup operation are completed, the imaging unit 446 receives instructions from applications operating on the OS via the D ⁇ and D+ communication lines.
  • the imaging unit 446 can be activated regardless of the OS activation.
  • the power supply circuit 580 supplies power to the CPU 572 from the power line 591a, and the power supply circuit 580 also supplies power to the imaging unit 446 through the power line 591b. can start the start-up operation at the stage of receiving power supply.
  • the imaging unit 446 can be activated even after the OS has been activated by the CPU 572 or even during the OS activation. As a result, it is possible to shorten the time required for system startup.
  • an imaging unit having an image sensor (image sensor) such as CMOS, a lens, an illumination device, etc. is shown, but the functional unit 400 is not limited to this example.
  • the imaging unit that is the functional unit 400 may be an imaging unit for measurement (measurement probe) or an imaging unit for observation.
  • the functional unit 400 may be a laser scanner unit, a laser generator, an angle head, or the like.
  • functional part 400 may be a tool.
  • Wired communication may be performed by methods other than Ethernet and USB.
  • Wired power supply may be performed by a method other than PoE or USB.
  • wireless power supply or a battery may be used as power means, and only communication may be performed by wire.
  • a wireless medium such as Wi-Fi may be used as communication means, and only power may be supplied by wire.
  • the machine tool device 600 Since the machine tool device 600 is connected to the machine tool by wire, power supply from the outside (for example, 10 W or more) and stable high-speed communication with the outside (from 100 Mbps) are possible. As a result, the machine tool device 600 can be used without interruption of communication or delay.
  • the image probe tends to be longer.
  • it is an image probe for measurement it is preferable to set the lens system so that the imaging area has the same size as the CMOS imaging area. In other words, it is necessary to design so as to suppress diffusion of light so as to be parallel to the optical axis as much as possible. Therefore, it is difficult to increase the imaging area. Therefore, when performing detailed measurement of a workpiece, there are cases in which a plurality of images of the workpiece at the measurement location are taken, and the plurality of images are analyzed to measure one workpiece.
  • the functional section 400 is detachable from the rotating section 601, a plurality of functional sections 400 can be replaced with one rotating section 601 for use.
  • the functional part 400X or the functional part 400Y can be attached to the rotating part 601A suitable for a certain machine tool A. Therefore, normally, the frequently used functional unit 400X is attached to the rotating unit 601A and used, and when the rarely used functional unit 400Y is used, the functional unit 400X is replaced with the functional unit 400Y. can be considered. Since one rotating part 601A can be reused, the cost burden on the user is lower than when the machine tool device 600 (function X device for machine tool A, function Y device for machine tool A) is provided for each type of function. few.
  • a rotating unit 601A suitable for machine tool A and a rotating unit 601B suitable for machine tool B are prepared in addition to functional unit 400X.
  • the functional part 400X is used in the machine tool A
  • the functional part 400X is attached to the rotating part 601A.
  • the functional part 400X is attached to the rotating part 601B. Since one functional unit 400X can be used, the cost burden on the user is less than when the machine tool device 600 (function X device for machine tool A, function X device for machine tool B) is prepared for each machine tool. .
  • the rotating part 601A suitable for the machine tool A and the rotating part 601B suitable for the machine tool B are kept as inventories, and the functional parts 400X and 400Y are also kept as inventories. Then, when an order is received for a device of function X for machine tool A, the function part 400X is attached to the rotating part 601A and shipped. Also, when receiving an order for a device of function Y for machine tool B, the functional unit 400Y is attached to the rotating unit 601B and shipped. In addition, a device with function Y for machine tool A and a device with function X for machine tool B can also be used. In this way, for example, it is possible to flexibly cope with high-mix low-volume production.
  • the combination of the functional units 400 to be exchanged is arbitrary.
  • the same functional unit 400 may be replaced as in the example of maintenance.
  • the imaging unit for measurement and the imaging unit for observation may be exchanged.
  • An imaging unit for one measurement may be replaced with an imaging unit for a different type of measurement.
  • One viewing imager may be exchanged for a different type of viewing imager.
  • the imaging unit may be replaced with a functional unit 400 other than the imaging unit.
  • the functional units 400 other than the imaging unit may be exchanged.
  • the cable accommodating portion is provided to accommodate the USB cable wound multiple times with a gap so that the shape of the USB cable can be changed according to the rotation angle of the rotating portion 601, the USB cable is prevented from being damaged. function 400 can be rotated without giving
  • the machine tool device 600 may have a battery.
  • the battery is provided, for example, in functional section 400 or fixed section 500 .
  • the imaging unit 446 may be activated using a battery as a power source.
  • FIG. 12 is a configuration diagram of an integrated circuit in the fixed part 500 and the functional part 400.
  • the imaging unit 446 has an imaging device 800 (for example, CMOS), a first integrated circuit 811 and a second integrated circuit 820 .
  • imaging device 800 for example, CMOS
  • first integrated circuit 811 for example, CMOS
  • second integrated circuit 820 for example, CMOS
  • the first integrated circuit 811 has a noise processing section 812 , a gain adjustment section 813 and an AD conversion section 816 .
  • the first integrated circuit 811 is a circuit for performing noise processing on the signal from the imaging device 800 .
  • a noise processing unit 812 removes noise included in the image obtained from the image sensor 800 .
  • a gain adjustment unit 813 adjusts an amplification factor (gain) relating to current converted from light exposed by the imaging element 800 .
  • the AD converter 816 converts the image data from analog to digital.
  • the noise processing section 812, the gain adjustment section 813, and the AD conversion section 816 may use known techniques.
  • the electrical signal processed by the noise processing section 812 , the gain adjustment section 813 and the AD conversion section 816 is passed to the second integrated circuit 820 .
  • the first integrated circuit 811 may have functional units other than the noise processing unit 812 , the gain adjustment unit 813 and the AD conversion unit 816 .
  • the second integrated circuit 820 includes a first corrector 834 and a second corrector 836 .
  • the first correction section 834 has a defect correction section 822, a shading correction section 824 and a white balance processing section 826
  • the second correction section 836 has an interpolation processing section 828, a color correction processing section 830 and a contour processing section 832.
  • the defect corrector 822 corrects black defects and white defects in the image.
  • the shading correction unit 824 corrects a phenomenon (shading) in which the signal output in the peripheral portion of the image is lowered.
  • a white balance processing unit 826 corrects the spectral characteristics of the image sensor 800 to match human visibility.
  • the defect corrector 822, the shading corrector 824, and the white balance processor 826 may use known techniques.
  • the electrical signal processed by the defect correction section 822 , shading correction section 824 and white balance processing section 826 is passed to the interpolation processing section 828 .
  • the interpolation processing unit 828 generates RGB output data (bitmap data), which is a general video signal, from RGB Bayer array signals from the color filters of the image sensor 800 .
  • the color correction processing unit 830 corrects the spectral characteristics of the color filters of the image sensor 800 to approximate ideal characteristics.
  • the contour processing unit 832 performs processing for sharpening the contour of the subject.
  • the interpolation processing unit 828, the color correction processing unit 830, and the contour processing unit 832 may use known techniques.
  • the electrical signal processed by the second integrated circuit 820 is output from the imaging unit 446 and input to the main circuit 570 of the electrical circuit board 544 .
  • the imaging element 800, the first integrated circuit 811 and the second integrated circuit 820 may be configured as an SoC (System on Chip).
  • the second integrated circuit 820 may have functional units other than the defect correction unit 822 , the shading correction unit 824 , the white balance processing unit 826 , the interpolation processing unit 828 , the color correction processing unit 830 and the contour
  • the main circuit 570 may have a third integrated circuit that is not included in the imaging unit 446.
  • the digital circuit shown in FIG. 12 is an example of the third integrated circuit.
  • the third integrated circuit is a circuit for analyzing image data processed by the imaging unit 446 .
  • the functional section 400 has a third integrated circuit that analyzes and processes image data separately from the general imaging unit 446 .
  • Functions equivalent to the functional units of the illustrated digital circuit may be realized by executing a program stored in memory 574 (FIG. 7) with CPU 572 .
  • FIG. 7 the processing in the third integrated circuit is arbitrary, here, it is assumed that a plurality of images are instantaneously acquired by one shutter operation, and digital processing is performed using the plurality of images.
  • noise reduction processing can be performed by averaging a plurality of images continuously shot at different ISO sensitivities.
  • processing for expanding the dynamic range can be performed using a plurality of consecutively shot images with different exposures.
  • the dynamic range is the ratio of the maximum value to the minimum value of the signal that can be processed, and here means the range of brightness that the imaging device 800 can tolerate.
  • the digital processing in the third integrated circuit makes it easier to see an image having a brightness difference wider than the range of brightness that the imaging device 800 originally allows.
  • the main circuit 570 has a first image memory 840 , a second image memory 842 , a difference analysis section 844 , a re-extraction section 846 and a superposition section 848 .
  • the first image memory 840 stores basic first image data.
  • the second image memory 842 stores second image data to be referred to.
  • the second image data is, for example, image data acquired a moment before the first image data.
  • the difference analysis unit 844 analyzes the difference (image movement) between the first image data and the second image data, and specifies an image area of the second image data to be superimposed on the first image data.
  • a re-extraction unit 846 extracts a partial image to be superimposed on the first image data from the second image data.
  • a superimposition unit 848 superimposes the partial image extracted from the second image data on the first image data. As a result, an image obtained with proper exposure in the second image data is superimposed on a portion (overexposure or underexposure portion) where the exposure was not proper in the first image data, and there is no problem in exposure as a whole. Images can be generated. Image data digitally processed by the main circuit 570 is transmitted from the communication circuit 562 .

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Physics & Mathematics (AREA)
  • Optics & Photonics (AREA)
  • Machine Tool Units (AREA)
  • Machine Tool Sensing Apparatuses (AREA)
  • Manipulator (AREA)

Abstract

This device for a machine tool can be attached to an attachment part of a machine tool in such a manner as to be detachable therefrom and rotatable together with a rotary member disposed within the attachment part, and comprises: a rotary part that rotates along with the rotation of the rotary member; an electrical circuit that is capable of exchanging data with the outside; and a functional part that is connected to the electrical circuit, that is capable of executing a function controlled by the electrical circuit, and that rotates in the same direction as the rotational direction of the rotary part along with the rotation of the rotary part. The functional part can be attached to and detached from the rotary part.

Description

工作機械用装置および工作機械Equipment for machine tools and machine tools
 この発明は、工作機械に着脱可能な工作機械用装置等に関する。 This invention relates to a machine tool device that can be attached to and detached from a machine tool.
 工作機械には、工具を主軸に取り付けワークを加工する機械、複数の工具をタレットに取り付けワークを回転させて加工する機械、材料をレーザで溶かしながら加工する付加加工の機械、これらを複合的に備えた複合加工機などがある。 Machine tools include a machine that processes a workpiece with a tool attached to its spindle, a machine that processes a workpiece by rotating a workpiece with multiple tools attached to a turret, and a machine that performs additional machining while melting the material with a laser. There are also multi-tasking machines equipped with
 近年、加工だけではなく、工作機械にカメラを取り付け、ワークを観察するなど工作機械で実行できる機能が増えている。これらの機能を実現するために、工作機械に着脱可能な工作機械用装置の開発が行われている(特許文献1)。 In recent years, in addition to machining, the number of functions that can be performed by machine tools, such as attaching cameras to machine tools and observing workpieces, has increased. In order to realize these functions, a device for machine tools that can be attached to and detached from a machine tool has been developed (Patent Document 1).
特許第6656707号公報Japanese Patent No. 6656707
 特許文献1では、工作機械に着脱可能な工作機械用装置として工作機械用カメラが開示されている。特許文献1の工作機械用カメラは、工作機械の工具を取り付ける主軸に、電力供給を行う電源がないため、工作機械用カメラ内にバッテリを内蔵している。そのため、工作機械用カメラが大型化しやすい。
 また、工作機械用カメラでは観察用に撮像された画像のデータを出力するだけである。そのため、画像処理などのデータ処理は外部にデータを送信してから行われるため、外部コンピュータでないと処理が進まない。
Patent Literature 1 discloses a machine tool camera as a machine tool device that can be attached to and detached from a machine tool. The machine tool camera of Patent Document 1 has a built-in battery because there is no power source for supplying power to the main spindle on which the tool of the machine tool is attached. Therefore, the machine tool camera tends to be large.
Further, the machine tool camera only outputs image data taken for observation. Therefore, data processing such as image processing is performed after the data is transmitted to the outside, and the processing cannot proceed unless it is an external computer.
  そこで、本発明は、請求項に記載の装置等を提供するものである。 Therefore, the present invention provides the devices and the like described in the claims.
 工作機械用装置内でのデータ処理が可能になる。 It becomes possible to process data within the equipment for machine tools.
工作機械内部の外観図である。It is an external view inside a machine tool. 工作機械に着脱可能かつ回転可能な工作機械用装置の一例の斜視図である。BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a perspective view of an example machine tool device that is attachable to and rotatable from a machine tool; 主軸と工作機械用装置の取り付け機構および回転機構に関する断面図である。FIG. 4 is a cross-sectional view of a spindle, an attachment mechanism, and a rotation mechanism of the machine tool device; 工作機械用装置内の配線、電気部品および光学部品に関する断面図である。1 is a cross-sectional view of wiring, electrical and optical components in a machine tool device; FIG. 回転角度0度におけるケーブル収容部と巻付部の断面図である。FIG. 4 is a cross-sectional view of the cable housing portion and the winding portion at a rotation angle of 0 degrees; 回転角度360度におけるケーブル収容部と巻付部の断面図である。It is a cross-sectional view of the cable housing portion and the winding portion at a rotation angle of 360 degrees. 主軸および工作機械用装置に含まれる電気回路の構成図である。1 is a configuration diagram of an electrical circuit included in a spindle and a device for a machine tool; FIG. 交換可能な機能部を示す図である。FIG. 10 is a diagram showing a replaceable functional part; 工作機械の外観図である。1 is an external view of a machine tool; FIG. 変形例1における工作機械用装置内の断面図である。FIG. 10 is a cross-sectional view of the interior of the machine tool device in modification 1; 電気回路基板と撮像ユニットの間の配線図である。4 is a wiring diagram between an electric circuit board and an imaging unit; FIG. 固定部と機能部における集積回路の構成図である。3 is a configuration diagram of an integrated circuit in a fixed part and a functional part; FIG.
 以下に、図面を参照して実施形態に係る工作機械に着脱可能な工作機械用装置および工作機械について説明する。以下の説明では、同一の構成について、同一の符号を付して説明する。 A machine tool device and a machine tool that are attachable to and detachable from the machine tool according to the embodiment will be described below with reference to the drawings. In the following description, the same components are denoted by the same reference numerals.
≪工作機械≫
 本実施形態では、NCプログラムに基づいて加工を行う過程で、NCプログラムに基づいて工具を交換する際に、次に使う工具を工具交換装置(ATC(Automatic Tool Changer))によって、自動的に工作機械の取り付け部(例えば、主軸やタレットなど)に工具を取り付けできる工作機械を用いて説明する。本実施形態の工作機械の取り付け部は、工具を取り付けてワークを加工することができる。また、工具ではなく工作機械用装置を取り付けることもできる。そのため、取り付け部は、工作機械用装置を着脱可能に取り付けられる。
≪Machine tools≫
In this embodiment, in the process of machining based on the NC program, when the tool is changed based on the NC program, the tool to be used next is automatically machined by a tool changer (ATC (Automatic Tool Changer)). A machine tool in which a tool can be attached to a mounting portion (for example, a spindle or a turret) of the machine will be described. The attachment portion of the machine tool of the present embodiment can attach a tool to machine a work. It is also possible to attach equipment for machine tools instead of tools. Therefore, the attachment part is detachably attached to the machine tool device.
 図1は、工作機械内部の外観図である。
 図示した工作機械の例は、立形マシニングセンタである。工作機械は、ベッド802と、ベッド802上に設置されるコラム804を有する。コラム804には主軸頭806が取り付けられる。主軸頭806は、Z軸方向(上下方向)に移動可能である。主軸頭806の先端部に主軸100が設けられる。主軸100は、その内部に回転部材106を含む。回転部材106は、Z軸方向に延びる回転軸を中心に回転可能である。主軸100の回転部材106に工具が取り付けられることで、主軸100に工作機械用装置600を取り付けることができる。
FIG. 1 is an external view of the inside of a machine tool.
The illustrated machine tool example is a vertical machining center. The machine tool has a bed 802 and a column 804 installed on the bed 802 . A spindle head 806 is attached to the column 804 . The spindle head 806 is movable in the Z-axis direction (vertical direction). The spindle 100 is provided at the tip of the spindle head 806 . Main shaft 100 includes rotating member 106 therein. The rotating member 106 is rotatable around a rotating shaft extending in the Z-axis direction. By attaching a tool to the rotating member 106 of the spindle 100 , the machine tool device 600 can be attached to the spindle 100 .
 ベッド802は、Y方向に移動可能なサドル810を搭載する。サドル810の上には、X方向に移動可能なテーブル814が設置される。テーブル814の上に、加工対象および計測対象となるワークが載せられる。工作機械は、サドル810およびテーブル814をXY方向に移動させることで、ワークと工作機械用装置600の相対位置を変化させる。同様にして、工作機械は、主軸頭806を上下動させることにより、ワークと工作機械用装置600との距離を変化させる。 The bed 802 is equipped with a saddle 810 movable in the Y direction. A table 814 movable in the X direction is installed on the saddle 810 . A workpiece to be processed and measured is placed on the table 814 . The machine tool moves the saddle 810 and the table 814 in the XY directions to change the relative positions of the workpiece and the machine tool device 600 . Similarly, the machine tool changes the distance between the workpiece and the machine tool device 600 by vertically moving the spindle head 806 .
 主軸100は、工作機械用装置600が取り付けられる「工作機械の取り付け部」の一例である。工作機械がターニングセンタの場合には、タレットが「工作機械の取り付け部」に相当する。タレットに工作機械用装置600を取り付けて、ワークを撮像するようにしてもよい。また、複合加工機において、取り付け部を設け、その取り付け部に工作機械用装置600を取り付けるようにしてもよい。いずれの場合も、工作機械用装置600は、「工作機械の取り付け部」に着脱可能、かつ、「取り付け部内の回転部材106」とともに工作機械用装置600の一部が工作機械や取り付け部に対して回転可能、に取り付けられる。主軸100に取り付けられた工作機械用装置600は、所定機能(例えば、撮像、タッチ計測、レーザスキャンなど)を発揮する。 The spindle 100 is an example of a "machine tool mounting portion" to which the machine tool device 600 is mounted. If the machine tool is a turning center, the turret corresponds to the "mounting part of the machine tool". The machine tool device 600 may be attached to the turret to image the workpiece. Further, in the multitasking machine, an attachment portion may be provided and the machine tool device 600 may be attached to the attachment portion. In either case, the machine tool device 600 can be attached to and detached from the “mounting portion of the machine tool”, and a part of the machine tool device 600 together with the “rotating member 106 in the mounting portion” can be attached to the machine tool and the mounting portion. rotatable and attached to the The machine tool device 600 attached to the spindle 100 performs predetermined functions (for example, imaging, touch measurement, laser scanning, etc.).
 本実施形態における工作機械は、工作機械用装置を装着できる取り付け部を備える。例えば、取り付け部は、主軸やタレットであり、主軸の場合、主軸100は、円筒部101と、回転部材106と、を備える。 The machine tool in this embodiment has a mounting portion to which a machine tool device can be attached. For example, the mounting portion is a main shaft or a turret, and in the case of a main shaft, the main shaft 100 includes a cylindrical portion 101 and a rotating member 106 .
≪工作機械用装置600≫
 工作機械に着脱可能な工作機械用装置は、撮像装置、タッチプローブ、レーザスキャナ、アングルヘッド、アングルヘッド付き工具、電動工具、機能付き工具、超音波発生装置、レーザ発振装置など、がある。
 本実施形態の工作機械用装置600は、上述の工作機械用装置のうち、工作機械に着脱可能かつ回転可能に取り付けることができる工作機械用装置である。
<<machine tool device 600>>
Machine tool devices that can be attached to and detached from machine tools include imaging devices, touch probes, laser scanners, angle heads, tools with angle heads, electric tools, tools with functions, ultrasonic generators, and laser oscillators.
The machine tool device 600 of the present embodiment is a machine tool device that can be detachably and rotatably attached to the machine tool among the machine tool devices described above.
 工作機械用装置600は、例えば、イメージセンサ(撮像素子)、温度センサや圧電センサなど各種センサ、レーザ発振器やミリ波発振器のような発振器などの電気部品を備えている。また、工作機械用装置600は、アクチュエーターやモーターのような機械部品を備えていてもよい。もちろん、工作機械用装置600は、これらの電気部品の1つだけ備える形態でも、複数個備える形態でも、電気部品と機械部品とを備える形態でもよい。さらに、工作機械用装置600は、これらの電気部品や機械部品から出力される信号を処理するLSI(Large Scale Integration)やCPU(Central Processing Unit)などの回路をあわせて備えるモジュールとして備える形態でもよい。 The machine tool device 600 includes electrical components such as an image sensor (imaging device), various sensors such as a temperature sensor and a piezoelectric sensor, and oscillators such as a laser oscillator and a millimeter wave oscillator. The machine tool device 600 may also include mechanical components such as actuators and motors. Of course, the machine tool device 600 may be provided with only one of these electrical components, a plurality of such electrical components, or an electrical component and a mechanical component. Furthermore, the machine tool device 600 may be provided as a module that includes circuits such as an LSI (Large Scale Integration) and a CPU (Central Processing Unit) that process signals output from these electrical and mechanical components. .
 工作機械用装置600を使用する場合に、電力で駆動される電気部品や機械部品に電力を供給する必要がある。工作機械用装置600が撮像装置である場合、イメージセンサ(例えば、CMOS(Complementary MOS))とイメージセンサ制御用の電気回路などを含む撮像ユニットを、機能部として有する。つまり、撮像ユニット内のイメージセンサと電気回路とは、外部から供給される電力に基づいて動作する。外部から供給される電力は、イーサネットの配線で利用されるケーブルを通じてデータと電力とを伝送する技術(PoE(Power Over Ethernet)技術)を用いて供給されることが好ましい。撮像ユニットでの撮像は、前述のケーブルから伝送されてきた撮像の動作指示を電気回路であるCPUやLSIで処理され、CPUやLSIから撮像ユニットへ制御信号を送信することで行う。撮像ユニットで撮像された画像データは、工作機械用装置600の外にそのまま伝送する形態でもよいが、工作機械用装置600内のメイン回路570で必要な画像処理が行われ、前述のケーブルを介して工作機械用装置600の外部の装置(例えば、工作機械内のコンピュータ、工作機械外のサーバ)に送信される形態が好ましい。 When using the machine tool device 600, it is necessary to supply electric power to electric and mechanical parts driven by electric power. When the machine tool device 600 is an imaging device, it has an imaging unit including an image sensor (for example, CMOS (Complementary MOS)) and an electric circuit for controlling the image sensor as a functional section. In other words, the image sensor and electric circuit in the imaging unit operate based on power supplied from the outside. Power supplied from the outside is preferably supplied using a technology (PoE (Power Over Ethernet) technology) for transmitting data and power through a cable used in Ethernet wiring. Imaging by the imaging unit is performed by processing an imaging operation instruction transmitted from the cable described above by a CPU or LSI, which is an electrical circuit, and transmitting a control signal from the CPU or LSI to the imaging unit. The image data captured by the imaging unit may be transmitted as it is to the outside of the machine tool device 600. However, the necessary image processing is performed in the main circuit 570 in the machine tool device 600, and the image data is transmitted via the above-mentioned cable. It is preferable that the information is sent to a device outside the machine tool device 600 (for example, a computer inside the machine tool, a server outside the machine tool).
 工作機械用装置600に上述のPoE技術を用いることにより、バッテリ内蔵型の工作機械用装置やワイヤレス給電方式の工作機械用装置よりも装置を小型化することが可能になる。工作機械用装置は、大きくなると、工作機械内で干渉が起きる可能性が高くなるため、小型化できるのであれば、小型化することが好ましい。 By using the above-described PoE technology in the machine tool device 600, it becomes possible to make the device more compact than a battery built-in type machine tool device or a wireless power supply type machine tool device. As the size of the machine tool device increases, the possibility of interference occurring in the machine tool increases.
 また、工作機械用装置600に上述のPoE技術(有線であるケーブルを介してデータ通信を行う)を用いることにより、無線通信よりも通信が安定する。
 一方で、工作機械内に配線を設ける必要があり、その配線をどのように配置するかの制約がある。
Further, by using the above-described PoE technology (performing data communication via a wired cable) in the machine tool device 600, communication is more stable than wireless communication.
On the other hand, it is necessary to provide wiring inside the machine tool, and there are restrictions on how to arrange the wiring.
(工作機械用装置のバッテリ方式、ワイヤレス方式、無線通信方式)
 以下で、他の構成との違いについて述べる。
 まず、工作機械用装置の内部にバッテリを設けて、バッテリを蓄電しておくことによって電力を供給する方式について述べる。このようなバッテリ内蔵方式であれば、工作機械と工作機械用装置との間に電気的な接点を設ける必要がない。一方で、バッテリを内蔵するために、工作機械用装置自体が大型になる傾向にある。また、バッテリが切れると動作しないため、工作機械用装置の運転時間に制限がある。
(Battery system, wireless system, wireless communication system for equipment for machine tools)
Differences from other configurations will be described below.
First, a method of supplying electric power by providing a battery inside a machine tool device and storing power in the battery will be described. With such a built-in battery system, there is no need to provide an electrical contact between the machine tool and the device for the machine tool. On the other hand, since the battery is built in, the machine tool device itself tends to be large. In addition, the operation time of the machine tool device is limited because it does not operate when the battery runs out.
 次に、電磁誘導を利用してワイヤレスで給電を行う方式について述べる。ワイヤレス給電方式であれば、工作機械と工作機械用装置との間に電力供給のための機械接点を設ける必要がない。一方で、工作機械と工作機械用装置との双方にコイルを設ける必要があり、十分な電力を得るためにはコイルの専有体積が大きくなり、工作機械用装置が大きくなる傾向にある。 Next, we will discuss the method of wirelessly supplying power using electromagnetic induction. With the wireless power supply method, there is no need to provide a mechanical contact for power supply between the machine tool and the device for the machine tool. On the other hand, it is necessary to provide coils for both the machine tool and the device for machine tools, and in order to obtain sufficient power, the occupied volume of the coils tends to increase, and the device for machine tools tends to be large.
 さらに、Wi-Fi(登録商標)による無線通信方式について述べる。Wi-Fiは、無線LANの例である。Wi-Fiでは、工作機械用装置と通信する装置との間で無線での通信路を確立するまでに時間がかかる。また、工作機械用装置とWi-Fi経由で通信を行う装置との間に他の装置などがある電波への影響もある。また、信号やデータの送受信に時間がかかることもあるため、外部から工作機械用装置を操作する場合の通信のリアルタイム性が低い。 Furthermore, the wireless communication method using Wi-Fi (registered trademark) will be described. Wi-Fi is an example of a wireless LAN. With Wi-Fi, it takes time to establish a wireless communication channel between the machine tool device and the communicating device. There is also an effect on radio waves from other devices between the machine tool device and the device that communicates via Wi-Fi. In addition, since it may take time to transmit and receive signals and data, real-time communication is low when the machine tool device is operated from the outside.
[実施形態]
 図2は、工作機械に着脱可能かつ回転可能な工作機械用装置600の一例の斜視図である。
(工作機械用装置600の概要)
 本実施形態の工作機械用装置600は、工作機械に装着されてワークの撮像に使用される画像プローブである。工作機械用装置600は、後述するように工作機械とコネクタで電気的に接続されるので、有線による給電および通信が可能である。
[Embodiment]
FIG. 2 is a perspective view of an example machine tool apparatus 600 that is attachable to and rotatable from a machine tool.
(Overview of machine tool device 600)
A machine tool device 600 of the present embodiment is an image probe mounted on a machine tool and used for imaging a workpiece. As will be described later, the machine tool device 600 is electrically connected to the machine tool by a connector, so that it is possible to supply power and communicate by wire.
 工作機械用装置600は、主軸100に取り付けられる姿勢において、主軸100側にシャンク202を有する。シャンク202を工作機械であるマシニングセンタの回転部材106に嵌めることによって、工作機械用装置600が主軸100に取り付けられる。取り付け方法は、工具の場合と同様である。工作機械の工具交換装置が把持部204をつかんで、工作機械用装置600を移動させ、回転部材106に取り付けることも可能である。 The machine tool device 600 has a shank 202 on the spindle 100 side in the attitude of being attached to the spindle 100 . The machine tool device 600 is attached to the spindle 100 by fitting the shank 202 to the rotating member 106 of the machining center, which is a machine tool. The mounting method is the same as for the tool. A machine tool tool changer may grasp the gripper 204 to move the machine tool device 600 and attach it to the rotating member 106 .
(機能部400の概要)
 工作機械用装置600は、取り付け部に取り付けられる姿勢において、取り付け部に取り付けられた際の取り付け側と反対の反対側に機能部400を備える。機能部400は、所定機能(例えば、撮像、タッチ計測、レーザスキャンなど)を実行可能な部のことである。本実施形態の機能部400の一例は、撮像素子と光学系(例えば、レンズ、ミラー、スプリッタ)とを備え、撮像の指示を受けると撮像素子での撮像を行う撮像機能を有する。なお、工作機械用装置600は、連結部300を有する。連結部300については図3に関連して後述する。機能部400は、連結部300に対して着脱可能であって、連結部300と接合する部分を接合部401といい、接合部401以外の部分を本体部403という。本実施形態の本体部403は、円柱形であり、工作機械用装置600の所定機能を発揮させる動作部を含む。
(Overview of function unit 400)
The machine tool device 600 is provided with the functional part 400 on the side opposite to the mounting side when mounted on the mounting part in the posture mounted on the mounting part. The functional unit 400 is a unit capable of executing predetermined functions (for example, imaging, touch measurement, laser scanning, etc.). An example of the functional unit 400 of this embodiment includes an imaging element and an optical system (for example, a lens, a mirror, and a splitter), and has an imaging function of performing imaging with the imaging element upon receiving an imaging instruction. Note that the machine tool device 600 has a connecting portion 300 . Connector 300 will be described later in connection with FIG. The functional part 400 is attachable to and detachable from the connecting part 300 , the part that joins with the connecting part 300 is called a joint part 401 , and the part other than the joint part 401 is called a main body part 403 . The main body part 403 of this embodiment has a cylindrical shape and includes an action part that causes the machine tool device 600 to perform a predetermined function.
 回転部材106が回転軸を中心として0度から360度の範囲で回転すると、一緒に、シャンク部200、連結部300、機能部400とが回転し、固定部500は回転しない。これにより、機能部400は、回転軸を中心として0度から360度の範囲で向きを変えることができる。つまり、0度から360度の範囲で向きを変えて撮像できる。なお、回転部材106の回転軸は、円柱形の回転部材106における中心線である。本実施形態の機能部400の光軸は、回転部材106の回転軸の延長線と一致する形態で説明するが、これに限定されるものではない。例えば、機能部に3つの撮像ユニットがある場合は、光軸と回転軸とは平行であるが、光軸と回転軸とが一致しない位置に配置することも可能である。 When the rotating member 106 rotates about the rotation axis within a range of 0 to 360 degrees, the shank portion 200, the connecting portion 300, and the functional portion 400 rotate together, and the fixed portion 500 does not rotate. Thereby, the functional unit 400 can change its orientation within a range of 0 degrees to 360 degrees around the rotation axis. In other words, it is possible to pick up images while changing the orientation within the range of 0 to 360 degrees. Note that the rotation axis of the rotating member 106 is the center line of the cylindrical rotating member 106 . Although the optical axis of the functional unit 400 of this embodiment is described as being aligned with the extension of the rotation axis of the rotating member 106, it is not limited to this. For example, when there are three imaging units in the functional section, the optical axis and the rotation axis are parallel, but they can be arranged at positions where the optical axis and the rotation axis do not match.
(固定部500の概要)
 工作機械用装置600は、固定部500を備える。固定部500は、主軸100の円筒部101に対して固定して取り付けられる。したがって、回転部材106が回転したときに、固定部500は、シャンク部200と連結部300とを有する回転部601(図3参照)と一緒には回転しない。固定部500の円筒形の支持部502は、回転部601が回転できるように支持する。そのため、固定部500は、回転部601の回転軸に沿ってみた場合に、回転部601を囲むように配置されている。
(Overview of fixed portion 500)
The machine tool device 600 includes a stationary part 500 . The fixed portion 500 is fixedly attached to the cylindrical portion 101 of the main shaft 100 . Therefore, when the rotating member 106 rotates, the fixed part 500 does not rotate together with the rotating part 601 (see FIG. 3) having the shank part 200 and the coupling part 300 . A cylindrical support portion 502 of the fixed portion 500 supports the rotating portion 601 so that it can rotate. Therefore, the fixed part 500 is arranged so as to surround the rotating part 601 when viewed along the rotation axis of the rotating part 601 .
(係止ブロック108の概要)
 固定部500は、円筒形の支持部502の側面から突き出た延長部508を有する。延長部508は、主軸100の前カバー102から突き出た係止ブロック108に係止される(係わり合わせて止められる)。係止ブロック108は、主軸100の円筒部101の一部であり、回転部材が回転している際において回転しない部材である。延長部508と係止ブロック108によって、工作機械用装置600の固定部500が回転部材と共回りすることが阻止される。つまり、固定部500は、主軸100の円筒部101の一部である係止ブロック108(非回転部の例)に対して固定して取り付けられる。係止の手段については、図3に関連して説明する。
(Outline of locking block 108)
The fixed part 500 has an extension part 508 protruding from the side of the cylindrical support part 502 . The extension 508 is locked (engaged and locked) with a locking block 108 protruding from the front cover 102 of the main shaft 100 . The lock block 108 is a part of the cylindrical portion 101 of the main shaft 100 and is a member that does not rotate while the rotating member is rotating. Extension 508 and locking block 108 prevent stationary portion 500 of machine tool assembly 600 from co-rotating with a rotating member. That is, the fixed portion 500 is fixedly attached to the locking block 108 (an example of the non-rotating portion) that is a part of the cylindrical portion 101 of the main shaft 100 . Means of locking are described in connection with FIG.
 また、係止ブロック108と延長部508には、電気的な接点手段が設けられる。この接点手段によって、信号線および給電線(電力線)が確保される。接点手段については、図3に関連して説明する。なお、この例における通信および電力供給は、PoE(Power over Ethernet)の規格に従うものとする。PoEには、Ethernetをベースとして、電力の供給を行える仕様が定められている。Ethernetとは、有線LAN(Local Area Network)の標準の一種である。 Also, the locking block 108 and the extension 508 are provided with electrical contact means. Signal lines and feed lines (power lines) are secured by this contact means. Contact means are described in connection with FIG. The communication and power supply in this example shall comply with the PoE (Power over Ethernet) standard. PoE is based on the Ethernet, and has specifications that allow power to be supplied. Ethernet is a kind of wired LAN (Local Area Network) standard.
(回転部位と非回転部位)
 工作機械用装置600の回転可能な部位と回転しない部位について整理しておく。工作機械の回転部材106の回転に伴って、工作機械用装置600のシャンク202と把持部204と機能部400は、回転する。また、後述する工作機械用装置600の連結部300(図3参照)も回転する。シャンク202と把持部204と連結部300と機能部400の各回転軸は、回転部材106の回転軸の延長線と一致する。一方、主軸100の円筒部101(円筒部101の一部には、前カバー102とハウジング104と係止ブロック108などが含まれる)、工作機械用装置600の固定部500(円筒形の支持部502と延長部508などが含まれる)は、回転しない。
(rotating part and non-rotating part)
The rotatable and non-rotatable portions of the machine tool device 600 are organized. As the rotating member 106 of the machine tool rotates, the shank 202, the gripper 204 and the functional part 400 of the machine tool device 600 rotate. In addition, a connecting portion 300 (see FIG. 3) of a machine tool device 600, which will be described later, also rotates. The rotation axes of the shank 202 , the grip portion 204 , the connection portion 300 and the functional portion 400 are aligned with the extension of the rotation axis of the rotating member 106 . On the other hand, the cylindrical portion 101 of the spindle 100 (part of the cylindrical portion 101 includes the front cover 102, the housing 104, the locking block 108, etc.), the fixed portion 500 of the machine tool device 600 (cylindrical support portion). 502 and extensions 508, etc.) do not rotate.
 図示するように、機能部400の径Dyは、固定部500の外径Dxよりも短い。従って、工作機械用装置600が主軸100に取り付けられた状態で、回転部601(図3参照)の回転軸に沿った方向から見て、機能部400の外周が、固定部500の外周の内側に位置している。ここでいう固定部500の外径Dxは、具体的には円筒形の支持部502の外径であり、固定部500の外周は、円筒形の支持部502の外周である。また、ここでいう機能部400の径Dyは、具体的には本体部403の径であり、機能部400の外周は、本体部403の外周である。後述するように、機能部400内にメイン回路を含む電気回路基板を設けるのではなく、固定部500内にメイン回路を含む電気回路基板を設けるので、機能部400を小型化することができる。 As shown, the diameter Dy of the functional portion 400 is shorter than the outer diameter Dx of the fixed portion 500. Therefore, when the machine tool device 600 is attached to the spindle 100, the outer circumference of the functional section 400 is positioned inside the outer circumference of the fixed section 500 when viewed from the direction along the rotation axis of the rotating section 601 (see FIG. 3). located in The outer diameter Dx of the fixed portion 500 here is specifically the outer diameter of the cylindrical support portion 502 , and the outer circumference of the fixed portion 500 is the outer circumference of the cylindrical support portion 502 . The diameter Dy of the functional portion 400 here is specifically the diameter of the main body portion 403 , and the outer circumference of the functional portion 400 is the outer circumference of the main body portion 403 . As will be described later, since the electric circuit board including the main circuit is provided in the fixing portion 500 instead of providing the electric circuit board including the main circuit in the function portion 400, the size of the function portion 400 can be reduced.
 図3は、主軸100と工作機械用装置600の取り付け機構および回転機構に関する断面図である。
 主に、取り付け機構および回転機構を示し、電気的な構成および光学的な構成については省略している。工作機械用装置600内の配線、電気部品および光学部品などについては、図4に関連して後述する。
FIG. 3 is a cross-sectional view of the attachment mechanism and rotation mechanism of the spindle 100 and the machine tool device 600 .
The attachment mechanism and rotation mechanism are mainly shown, and the electrical and optical configurations are omitted. Wiring, electrical and optical components, etc. within the machine tool apparatus 600 are described below in connection with FIG.
(主軸100の構成)
 回転部材106は、ハウジング104によって回転可能に支持され、サーボモータの駆動によって回転する。前カバー102は、主軸100の前端部に設けられ、ハウジング104を覆っている。回転部材106の前端は、前カバー102の穴から出ている。サーボモータで回転部材106を所定の回転角度に回転させることによって、機能部400を所定の回転角度に合わせることができる。円筒部101は、主軸100における回転部材106以外のすべての構成要素(前カバー102とハウジング104と係止ブロック108など)を含む。円筒部101の全体が、主軸100の非回転部に相当する。
(Structure of spindle 100)
The rotating member 106 is rotatably supported by the housing 104 and rotated by being driven by a servomotor. A front cover 102 is provided at the front end of the main shaft 100 and covers the housing 104 . A front end of the rotating member 106 protrudes from a hole in the front cover 102 . By rotating the rotating member 106 to a predetermined rotation angle with a servomotor, the functional part 400 can be adjusted to the predetermined rotation angle. Cylindrical portion 101 includes all components of main shaft 100 other than rotating member 106 (front cover 102, housing 104, locking block 108, etc.). The entire cylindrical portion 101 corresponds to the non-rotating portion of the main shaft 100 .
(回転部601)
 工作機械用装置600は、シャンク部200と連結部300からなる回転部601を備える。回転部601は、回転部材106とともに回転できるように工作機械に取り付けられる。また、回転部601には、機能部400が取り付けられている。したがって、機能部400は、回転部601の回転とともに回転部601の回転方向と同じ方向に回転する。主軸100は、工作機械用装置600の回転部601を、回転部材106とともに回転可能に取り付ける。
(Rotating part 601)
A machine tool device 600 includes a rotating portion 601 composed of a shank portion 200 and a connecting portion 300 . The rotating part 601 is attached to the machine tool so that it can rotate together with the rotating member 106 . Also, the functional portion 400 is attached to the rotating portion 601 . Accordingly, the functional portion 400 rotates in the same direction as the rotating portion 601 as the rotating portion 601 rotates. The main shaft 100 rotatably attaches the rotating part 601 of the machine tool device 600 together with the rotating member 106 .
 具体的には、シャンク部200は、回転部材106に固定されるシャンク202と工具交換装置につかまれる把持部204を備えている。連結部300は、工具ホルダ取付ボルト302によってシャンク部200に固定されている。連結部300は、固定部500の内側で、回転するように支持されている。 Specifically, the shank portion 200 includes a shank 202 fixed to the rotating member 106 and a grip portion 204 to be gripped by the tool changer. The connecting portion 300 is fixed to the shank portion 200 with a tool holder mounting bolt 302 . The connecting portion 300 is supported inside the fixed portion 500 so as to rotate.
 機能部400は、ボルト402によって連結部300に固定されている。したがって、機能部400は、回転部601に対して着脱可能である。ボルト402よる固定方法以外の方法として、メカ機構のはめ込み機構によって機能部400を着脱できるようにしてもよい。なお、連結部300は、機能部400と接する面に第3コネクタ340を有し、機能部400は、第3コネクタ340と対峙する位置に第4コネクタ440を有する。機能部400を連結部300に固定すると、第3コネクタ340と第4コネクタ440が接合する。第3コネクタ340と第4コネクタ440は、いずれもUSB(Universal Serial Bus)用のコネクタである。第3コネクタ340と第4コネクタ440として、スプリングコネクタを用いてもよい。但し、接点パーツは、この例に限定されない。USBの配線については、後述する。なお、第4コネクタ440と、ボルト402を通す穴は、接合部401に含まれる。 The functional part 400 is fixed to the connecting part 300 with bolts 402 . Therefore, the functional section 400 is attachable to and detachable from the rotating section 601 . As a method other than the fixing method using the bolts 402, the functional unit 400 may be detachable by a fitting mechanism of a mechanical mechanism. The connecting portion 300 has a third connector 340 on a surface that contacts the functional portion 400 , and the functional portion 400 has a fourth connector 440 at a position facing the third connector 340 . When the functional part 400 is fixed to the connecting part 300, the third connector 340 and the fourth connector 440 are joined. Both the third connector 340 and the fourth connector 440 are connectors for USB (Universal Serial Bus). Spring connectors may be used as the third connector 340 and the fourth connector 440 . However, the contact parts are not limited to this example. USB wiring will be described later. The fourth connector 440 and the hole through which the bolt 402 is passed are included in the joint portion 401 .
(固定部500)
 工作機械用装置600は、円筒形の支持部502と延長部508からなる固定部500を備える。固定部500の支持部502は、第1ベアリング504と第2ベアリング506によって、連結部300を回転可能に支持する。つまり、支持部502は、機械要素として、回転する連結部300を収容するハウジングに相当する。
(fixed part 500)
The machine tool device 600 comprises a fixed part 500 consisting of a cylindrical support part 502 and an extension part 508 . A support portion 502 of the fixed portion 500 rotatably supports the connecting portion 300 by a first bearing 504 and a second bearing 506 . That is, the support portion 502 corresponds to a housing that accommodates the rotating connecting portion 300 as a mechanical element.
 固定部500の延長部508には、円筒形の位置決め部510が設けられている。位置決め部510は、主軸100の係止ブロック108に形成されている非回転部位110にはまり、装着時のガイドの役割を果たすと共に、固定部500が回転しないように固定する。このように、主軸100は、工作機械用装置600の固定部500を係止ブロック108(非回転部の例)に対して固定して取り付ける。また、係止ブロック108は、延長部508と接する面に第1コネクタ120を有し、延長部508は、第1コネクタ120と対峙する位置に第2コネクタ520を有し、位置決め部510を非回転部位110に挿入すると、第1コネクタ120と第2コネクタ520が接合する。第1コネクタ120と第2コネクタ520は、いずれもEthernet用のコネクタである。第1コネクタ120と第2コネクタ520として、スプリングコネクタを用いてもよい。但し、接点パーツは、この例に限定されない。詳しくは、図7に関連して後述する。 A cylindrical positioning portion 510 is provided on the extension portion 508 of the fixing portion 500 . The positioning part 510 fits into the non-rotating part 110 formed in the locking block 108 of the main shaft 100, serves as a guide during mounting, and fixes the fixing part 500 so that it does not rotate. Thus, the spindle 100 fixedly attaches the fixed portion 500 of the machine tool device 600 to the locking block 108 (an example of the non-rotating portion). In addition, locking block 108 has first connector 120 on the surface in contact with extension portion 508 , extension portion 508 has second connector 520 at a position facing first connector 120 , and positioning portion 510 is non-removable. When inserted into the rotating portion 110, the first connector 120 and the second connector 520 are joined. Both the first connector 120 and the second connector 520 are connectors for Ethernet. Spring connectors may be used as the first connector 120 and the second connector 520 . However, the contact parts are not limited to this example. Details will be described later with reference to FIG.
 主軸100の回転部材106が回転すると、工作機械用装置600の回転部601(シャンク部200と連結部300)と機能部400とが一体として回転するが、係止ブロック108に係止されている工作機械用装置600の固定部500は、回転しない。工作機械用装置600の単独の構造は、固定部500を固定すると、回転部601と機能部400とが固定部500に対して回転可能である。逆に、工作機械用装置600の単独の構造は、回転部601と機能部400とを固定すると、固定部500が回転部601に対して回転可能である。 When the rotating member 106 of the spindle 100 rotates, the rotating part 601 (the shank part 200 and the connecting part 300) of the machine tool device 600 and the functional part 400 rotate as one, but are locked by the locking block 108. The stationary part 500 of the machine tool device 600 does not rotate. A single structure of the machine tool device 600 is such that when the fixed part 500 is fixed, the rotating part 601 and the functional part 400 can rotate with respect to the fixed part 500 . Conversely, the independent structure of the machine tool device 600 is such that when the rotating part 601 and the functional part 400 are fixed, the fixed part 500 can rotate with respect to the rotating part 601 .
 図4は、工作機械用装置600内の配線、電気部品および光学部品に関する断面図である。
(Ethernet配線の概要)
 Ethernetによる通信およびPoEによる給電のための配線として、EthernetケーブルとEthernetコネクタが使用される。EthernetケーブルとEthernetコネクタの仕様は、規格として定められている。上述したように、第1コネクタ120および第2コネクタ520は、いずれもEthernet用のコネクタであって、Ethernetケーブルに接続している。第1コネクタ120および第2コネクタ520として、スプリングコネクタを用いてもよい。但し、接点パーツは、この例に限定されない。
FIG. 4 is a cross-sectional view of the wiring, electrical and optical components within machine tool apparatus 600 .
(Outline of Ethernet wiring)
An Ethernet cable and an Ethernet connector are used as wiring for Ethernet communication and PoE power supply. Specifications of Ethernet cables and Ethernet connectors are defined as standards. As described above, the first connector 120 and the second connector 520 are both Ethernet connectors and are connected to Ethernet cables. Spring connectors may be used as the first connector 120 and the second connector 520 . However, the contact parts are not limited to this example.
 本実施形態の第2コネクタ520は、8本の接点ピンを備えたオスのコネクタである。第1コネクタ120は、8個の接点穴を備えたメスのコネクタである。工作機械用装置600が工具交換装置によって主軸100に近づけられるとき、第2コネクタ520と第1コネクタ120は、各接点ピンが各接点穴にはまるように接近する。工作機械用装置600が主軸100に装着されると、第2コネクタ520と第1コネクタ120は連結する。ここでは、8ピンのコネクタの例を示すが、9以上のピン数のコネクタを用いてもよいし、7以下のピン数のコネクタを用いてもよい。Ethernet通信及びPoEは、最低限4線で実現可能であるので、4以上のピン数のコネクタを採用することができる。例えば、4ピンのコネクタを用いてもよい。 The second connector 520 of this embodiment is a male connector with eight contact pins. The first connector 120 is a female connector with eight contact holes. When the machine tool device 600 is brought closer to the spindle 100 by the tool changer, the second connector 520 and the first connector 120 are brought closer so that each contact pin fits into each contact hole. When the machine tool device 600 is attached to the spindle 100, the second connector 520 and the first connector 120 are connected. Here, an example of an 8-pin connector is shown, but a connector with 9 or more pins may be used, or a connector with 7 or less pins may be used. Since Ethernet communication and PoE can be realized with at least four lines, connectors with four or more pins can be used. For example, a 4-pin connector may be used.
 工作機械側の第1コネクタ120がメスのコネクタであれば、金屑などの異物が引っ掛かりにくいという面がある。ただし、オスとメスの関係が逆でもよい。つまり、第2コネクタ520が、8個の接点穴を備えたメスのコネクタであり、第1コネクタ120が、8本の接点ピンを備えたオスのコネクタであってもよい。接点ピンと接点穴は、電力端子と通信端子の機能を備える。Ethernetケーブルは、給電線(電力線)と通信線を含み、Ethernetコネクタに含まれる接点は、給電線(電力線)に接続する給電端子(電力端子)および通信線に接続する通信端子として機能する。 If the first connector 120 on the machine tool side is a female connector, there is an aspect that foreign objects such as metal chips are less likely to get caught. However, the relationship between males and females may be reversed. That is, the second connector 520 may be a female connector with eight contact holes and the first connector 120 may be a male connector with eight contact pins. The contact pins and contact holes have the functions of power terminals and communication terminals. An Ethernet cable includes a feeder line (power line) and a communication line, and the contacts included in the Ethernet connector function as a feeder terminal (power terminal) connected to the feeder line (power line) and a communication terminal connected to the communication line.
 この配線によって、主軸100側のPSE(Power sourcing equipment)モジュールと工作機械用装置600側のPD(Powered device)モジュールが電気的に接続することになる。PSEとは、PoEにおける給電機器を指す。この例では、主軸100がPSEである。PSEモジュールは、PSEの給電機能および通信機能を実現するための電気回路である。PDとは、PoEにおける受電機器を指す。この例では、工作機械用装置600がPDである。PDモジュールは、PDの受電機能および通信機能を実現するための電気回路である。PSEモジュールとPDモジュールについては、図7に関連して後述する。 This wiring electrically connects the PSE (Power Sourcing equipment) module on the spindle 100 side and the PD (Powered device) module on the machine tool device 600 side. PSE refers to power supply equipment in PoE. In this example, spindle 100 is the PSE. A PSE module is an electric circuit for realizing the power supply function and communication function of the PSE. PD refers to a power receiving device in PoE. In this example, machine tool device 600 is a PD. A PD module is an electric circuit for realizing the power receiving function and communication function of the PD. The PSE module and PD module are described below in connection with FIG.
 PSEモジュールとつながるEthernetケーブル122は、係止ブロック108の内部を通って第1コネクタ120に接続している。第1コネクタ120と接合する第2コネクタ520に接続するEthernetケーブル521は、配線路523を通って電気回路基板544の内部へつながる。このように、固定部500は、主軸100とつながるEthernetケーブル521(給電線を含む)を配置する。 An Ethernet cable 122 connected to the PSE module is connected to the first connector 120 through the interior of the lock block 108 . An Ethernet cable 521 connected to a second connector 520 connected to the first connector 120 is connected to the inside of an electric circuit board 544 through a wiring path 523 . In this way, the fixed part 500 arranges the Ethernet cable 521 (including the feeder line) connected to the spindle 100 .
 Ethernetケーブル521に含まれる各伝送線は、電気回路基板544内のPDモジュールに接続する。したがって、主軸100の第1コネクタ120と工作機械用装置600の第2コネクタ520とが接合すると、PDモジュールとPSEモジュールが電気的に接続される。これにより、PSEモジュールはPDモジュールを検出し、PSEモジュールとPDモジュールにおける初期化動作が行われ、PSEモジュールとPDモジュールの間で電力供給と通信が可能になる。 Each transmission line included in the Ethernet cable 521 connects to a PD module within the electrical circuit board 544 . Therefore, when the first connector 120 of the spindle 100 and the second connector 520 of the machine tool device 600 are joined together, the PD module and the PSE module are electrically connected. This allows the PSE module to detect the PD module, perform initialization operations in the PSE module and the PD module, and enable power supply and communication between the PSE module and the PD module.
(USB配線の概要)
 電気回路基板544と撮像ユニット446の間で、USBによる通信および給電のための配線として、USBケーブルとUSBコネクタが使用される。具体的には、USBケーブル525、第3コネクタ340、第4コネクタ440およびUSBケーブル445を介して電気回路基板544と撮像ユニット446が接続される。第3コネクタ340と第4コネクタ440は、いずれもUSB用のコネクタであって、USBケーブルに接続している。第3コネクタ340と第4コネクタ440として、スプリングコネクタを用いてもよい。但し、接点パーツは、この例に限定されない。また、図4に示していないが、同軸落射照明454およびリング照明456も、USBケーブル525、第3コネクタ340、第4コネクタ440およびUSBケーブル445を介して電気回路基板544と接続する。このように、機能部400は、USBケーブル525、第3コネクタ340、第4コネクタ440およびUSBケーブル445による通信路を介して、電気回路基板544と接続する。
 本実施形態は、USBケーブルを用いて説明しているが、これに限定されるものではない。電源になる給電線と通信を行うための通信線とがあればよく、それぞれ配線を設ける構成でもよい。
(Overview of USB wiring)
A USB cable and a USB connector are used as wiring for USB communication and power supply between the electric circuit board 544 and the imaging unit 446 . Specifically, the electric circuit board 544 and the imaging unit 446 are connected via the USB cable 525 , the third connector 340 , the fourth connector 440 and the USB cable 445 . Both the third connector 340 and the fourth connector 440 are USB connectors and are connected to USB cables. Spring connectors may be used as the third connector 340 and the fourth connector 440 . However, the contact parts are not limited to this example. Although not shown in FIG. 4 , the coaxial epi-illumination 454 and the ring illumination 456 are also connected to the electric circuit board 544 via the USB cable 525 , the third connector 340 , the fourth connector 440 and the USB cable 445 . In this way, functional unit 400 is connected to electric circuit board 544 via a communication path of USB cable 525 , third connector 340 , fourth connector 440 and USB cable 445 .
Although this embodiment has been described using a USB cable, it is not limited to this. A power supply line for power supply and a communication line for communication may be provided, and wiring may be provided for each.
 第3コネクタ340と第4コネクタ440は、どちらがオスでどちらがメスでもよい。また、USBケーブルは、給電線(電力線)と通信線を含み、USBコネクタに含まれる接点は、給電線(電力線)に接続する給電端子(電力端子)および通信線に接続する通信端子として機能する。 Either of the third connector 340 and the fourth connector 440 can be male and which can be female. In addition, the USB cable includes a power supply line (power line) and a communication line, and the contacts included in the USB connector function as a power supply terminal (power terminal) connected to the power supply line (power line) and a communication terminal connected to the communication line. .
(ケーブル収容部526)
 固定部500は、ケーブル収容部526を備える。ケーブル収容部526は、電気回路基板544と第3コネクタ340を結ぶ配線の経路中にある。ケーブル収容部526は、固定部500における回転部601との境に回転部601の回転軸を中心とする環状空間を形成する(図5、図6参照)。ケーブル収容部526は、複数周巻かれたUSBケーブル525を収容する。図5に関連して後述するように、USBケーブル525の複数の周回に、余裕も持たせている。つまり、ケーブル収容部526では、回転部601の回転角に応じて、複数周巻かれたUSBケーブル525の形状を変えられるように、隙間が開けられている。
(Cable housing portion 526)
The fixed portion 500 includes a cable housing portion 526 . The cable accommodating portion 526 is located in the wiring path connecting the electric circuit board 544 and the third connector 340 . The cable accommodating portion 526 forms an annular space around the rotation axis of the rotating portion 601 at the boundary of the fixed portion 500 and the rotating portion 601 (see FIGS. 5 and 6). The cable accommodating portion 526 accommodates the USB cable 525 wound multiple times. A margin is also provided for multiple turns of the USB cable 525, as described below in connection with FIG. That is, in the cable accommodating portion 526 , a gap is provided so that the shape of the USB cable 525 wound multiple times can be changed according to the rotation angle of the rotating portion 601 .
(巻付部304)
 連結部300は、掴持部306を有する巻付部304を備える。ケーブル収容部526から連結部300の内部へつながるUSBケーブル525の途中箇所が、連結部300の掴持部306に掴持される(つかんだ状態で保持される)。掴持部306は、ケーブル収容部526と一体の環状空間を形成する巻付部304内に設けられており、回転部601の一部として回転する。これにより、掴持部306は、USBケーブル525の途中箇所を円状に移動させるように働く。掴持部306に固定されているUSBケーブル525の先は、巻付部304から前方向につながる配線路324を通って、連結部300の端面に設けられた第3コネクタ340に接続している。ケーブル収容部526、掴持部306および巻付部304の詳細については、図5及び図6に関連して後述する。
(Winding portion 304)
Coupling portion 300 comprises a winding portion 304 having a gripping portion 306 . A midpoint of the USB cable 525 leading from the cable accommodating portion 526 to the inside of the connecting portion 300 is gripped by the gripping portion 306 of the connecting portion 300 (held in a gripped state). The gripping portion 306 is provided inside the winding portion 304 forming an annular space integral with the cable housing portion 526 and rotates as a part of the rotating portion 601 . As a result, the gripping portion 306 acts to move the midpoint of the USB cable 525 circularly. The end of the USB cable 525 fixed to the grip portion 306 is connected to the third connector 340 provided on the end surface of the connecting portion 300 through the wiring path 324 leading forward from the winding portion 304 . . Details of the cable housing portion 526, the gripping portion 306 and the wrapping portion 304 are described below in connection with FIGS.
 第3コネクタ340と接合する第4コネクタ440に接続しているUSBケーブル445は、配線路425を通って撮像ユニット446、同軸落射照明454およびリング照明456につながる。 A USB cable 445 connected to a fourth connector 440 that joins with the third connector 340 is connected to an imaging unit 446 , a coaxial epi-illumination 454 and a ring illumination 456 through a wiring path 425 .
(光学部品)
 機能部400は、光学部品として、撮像ユニット446とレンズ448を有する。撮像ユニット446は、受光を映像化するイメージセンサ(例えば、CMOS)を備える。レンズ448は、例えばテレセントリックレンズである。機能部400の先端には、ボルト452によってレンズカバー450が取り付けられている。機能部400には、さらに同軸落射照明454とリング照明456が設けられている。同軸落射照明454とリング照明456のいずれか一方または両方が撮像の際に発光する。撮像ユニット446、同軸落射照明454およびリング照明456は、USBで供給される電力によって動作する。このように、機能部400の一例としては、撮像素子(CMOS)とレンズとを含む撮像部であり、いわゆるカメラである。
(optical parts)
The functional unit 400 has an imaging unit 446 and a lens 448 as optical components. The imaging unit 446 includes an image sensor (eg, CMOS) that visualizes the received light. Lens 448 is, for example, a telecentric lens. A lens cover 450 is attached to the tip of the functional portion 400 with a bolt 452 . The functional unit 400 is further provided with a coaxial epi-illumination 454 and a ring illumination 456 . Either or both of the coaxial epi-illumination 454 and the ring illumination 456 emit light during imaging. The imaging unit 446, coaxial epi-illumination 454 and ring illumination 456 are powered by USB power. As described above, an example of the functional unit 400 is an imaging unit including an imaging device (CMOS) and a lens, which is a so-called camera.
 上述のように、本実施形態では、機能部400内に電気回路基板544を設けるのではなく、固定部500内に電気回路基板544を設ける。したがって、機能部400を小型化することができる。 As described above, in this embodiment, the electric circuit board 544 is provided inside the fixed portion 500 instead of inside the functional portion 400 . Therefore, the functional unit 400 can be miniaturized.
 図5は、回転角度0度におけるケーブル収容部526と巻付部304の断面図である。図5は、主軸100側から見たケーブル収容部526と巻付部304の断面を示している。 FIG. 5 is a cross-sectional view of the cable housing portion 526 and the winding portion 304 at a rotation angle of 0 degrees. FIG. 5 shows a cross section of the cable accommodating portion 526 and the winding portion 304 as seen from the main shaft 100 side.
(ケーブル収容部526)
 ケーブル収容部526は、上述したように、固定部500における回転部601との境に回転部601の回転軸を中心とする環状空間を形成する。ケーブル収容部526は、複数周(この例では5周)巻かれたUSBケーブル525を収容する。固定部500に設けられたケーブル収容部526の空間は、USBケーブル525をおよそ10周程度収容できるだけの幅を有している。つまり、USBケーブル525の複数の周回に、余裕の空間も持たせている。
(Cable housing portion 526)
As described above, the cable accommodating portion 526 forms an annular space around the rotation axis of the rotating portion 601 at the boundary between the fixed portion 500 and the rotating portion 601 . The cable accommodating portion 526 accommodates the USB cable 525 wound multiple times (five times in this example). The space of the cable accommodating portion 526 provided in the fixed portion 500 has a width sufficient to accommodate the USB cable 525 about ten turns. In other words, the plurality of turns of the USB cable 525 are provided with extra space.
(巻付部304)
 連結部300に設けられた巻付部304は、ケーブル収容部526の空間と隔ての無い環状の空間を形成している。巻付部304の空間には、USBケーブル525を1周収容できる。巻付部304に設けられている掴持部306は、USBケーブル525の途中箇所を掴持する。ケーブル収容部526は回転しないが、巻付部304は回転部601の一部として回転する。したがって、回転部601と機能部400が360度回転すると、掴持部306は円上を一周する。
(Winding portion 304)
The winding portion 304 provided in the connecting portion 300 forms an annular space that is not separated from the space of the cable accommodating portion 526 . The space of the winding portion 304 can accommodate the USB cable 525 for one turn. A gripping portion 306 provided on the winding portion 304 grips a midpoint of the USB cable 525 . Cable housing portion 526 does not rotate, but winding portion 304 rotates as part of rotating portion 601 . Therefore, when the rotating portion 601 and the functional portion 400 rotate 360 degrees, the gripping portion 306 makes a full circle.
(USBケーブル525の形状)
 固定部500の配線路527側から連結部300の配線路324側への流れに沿って、USBケーブル525の形状について説明する。配線路527から入ってきたUSBケーブル525は、空間内の外側から内側に向かってケーブル収容部526内を5周めぐる。USBケーブル525は、ケーブル収容部526内において余裕を持ってたわむことができる。5周まわって巻付部304内に移った箇所が、掴持部306で掴持される。その先は、向きを変えて配線路324の中を通って、第3コネクタ340につながる。
(Shape of USB cable 525)
The shape of the USB cable 525 will be described along the flow from the wiring path 527 side of the fixing portion 500 to the wiring path 324 side of the connecting portion 300 . The USB cable 525 coming in from the wiring path 527 goes around the inside of the cable accommodating portion 526 five times from the outside to the inside of the space. The USB cable 525 can be bent in the cable accommodating portion 526 with sufficient margin. A portion that has been moved into the winding portion 304 after making five turns is gripped by the gripping portion 306 . The other end changes direction, passes through the wiring path 324 , and is connected to the third connector 340 .
(回転角度0度)
 図5に示すように、掴持部306が配線路527からの入口に最も寄っているときに、回転角度は0度であるものとする。回転角度が0度の場合、ケーブル収容部526内のUSBケーブル525が外寄りに位置しており、巻付部304内にUSBケーブル525が巻き付けられていない。
(rotation angle 0 degrees)
As shown in FIG. 5, it is assumed that the rotation angle is 0 degree when the gripping portion 306 is closest to the entrance from the wiring path 527 . When the rotation angle is 0 degrees, the USB cable 525 inside the cable housing portion 526 is located on the outer side, and the USB cable 525 is not wound inside the winding portion 304 .
(反時計方向の回転)
 回転部601と機能部400が主軸100側から見て反時計方向へ回ると、回転角度が増加するものとする。回転角度が増加すると、掴持部306が反時計方向に回り、ケーブル収容部526内のUSBケーブル525を内側へ引っ張る。そして、引っ張られたUSBケーブル525が巻付部304に巻き付けられる。その分、ケーブル収容部526内のUSBケーブル525が短くなるので、全体として内側に引き寄せられる。
(counterclockwise rotation)
It is assumed that the rotational angle increases as the rotating portion 601 and the functional portion 400 rotate counterclockwise when viewed from the spindle 100 side. As the rotation angle increases, the gripping portion 306 rotates counterclockwise and pulls the USB cable 525 inside the cable housing portion 526 inward. Then, the pulled USB cable 525 is wound around the winding portion 304 . Since the USB cable 525 in the cable accommodating portion 526 is correspondingly shortened, it is drawn inward as a whole.
(回転角度180度)
 図示していないが、回転角度が180度になると、掴持部306は、0度の場合と反対の右側まで移動する。したがって、掴持部306に半周だけUSBケーブル525が巻き付く。このとき、図4に示した第3コネクタ340、第4コネクタ440、配線路425およびUSBケーブル445は、図4の右側に移る。
(rotation angle 180 degrees)
Although not shown, when the rotation angle reaches 180 degrees, the gripping part 306 moves to the right, which is opposite to the case of 0 degrees. Therefore, the USB cable 525 is wound around the gripping portion 306 by a half turn. At this time, the third connector 340, the fourth connector 440, the wiring path 425 and the USB cable 445 shown in FIG. 4 move to the right side in FIG.
(回転角度360度)
 図6は、回転角度360度におけるケーブル収容部526と巻付部304の断面図である。
 回転角度が360度になると、第3コネクタ340、第4コネクタ440、配線路425およびUSBケーブル445は、図4と同様に元の左側に戻る。このとき、巻付部304には、USBケーブル525が1周巻き付けられている。また、ケーブル収容部526内のUSBケーブル525は、内側に寄る。USBケーブル525はゆとりを持って巻かれているので、回転部601が回転しても、USBケーブル525のいずれの部位にも過度な張力は生じない。
(rotation angle 360 degrees)
FIG. 6 is a cross-sectional view of the cable housing portion 526 and the winding portion 304 at a rotation angle of 360 degrees.
When the rotation angle reaches 360 degrees, the third connector 340, the fourth connector 440, the wiring path 425 and the USB cable 445 return to the original left side as in FIG. At this time, the USB cable 525 is wound around the winding portion 304 once. In addition, the USB cable 525 inside the cable accommodating portion 526 is moved inward. Since the USB cable 525 is loosely wound, no excessive tension is applied to any part of the USB cable 525 even when the rotating part 601 rotates.
(時計方向の回転)
 回転部601と機能部400を主軸100側から見て時計方向に回転させて、回転角度が減少する場合には、掴持部306が時計方向に回り、USBケーブル525をケーブル収容部526内へ押し込む。そのため、巻付部304に巻き付く部分は短くなり、その分ケーブル収容部526に収容される部分が長くなる。その結果、ケーブル収容部526の中のUSBケーブル525は、元のように外側へ寄る。このように、回転部601と機能部400を(主軸100側から見て)時計方向に回転させるときにも、USBケーブル525に過度な負荷はかからない。
(clockwise rotation)
When the rotating portion 601 and the functional portion 400 are rotated clockwise as viewed from the main shaft 100 side and the rotation angle is decreased, the gripping portion 306 rotates clockwise to insert the USB cable 525 into the cable housing portion 526. push in. Therefore, the portion wound around the winding portion 304 is shortened, and the portion accommodated in the cable accommodating portion 526 is correspondingly lengthened. As a result, the USB cable 525 inside the cable housing portion 526 is pushed outward as before. In this way, even when the rotating portion 601 and the functional portion 400 are rotated clockwise (as viewed from the spindle 100 side), the USB cable 525 is not subjected to excessive load.
(ケーブル収容部526の働き)
 ケーブル収容部526は、図5に示したように、複数周巻かれたUSBケーブル525に隙間を開けているので、図6に示したように、回転部601の回転角に応じて複数周巻かれたUSBケーブル525の形状を変えられる。したがって、USBケーブル525に無理な力を加えることなく、回転部601と機能部400を0度から360度の範囲で回転させることが可能となる。なお、回転部601と機能部400が回転しても、配線路527内のUSBケーブル525と配線路324内のUSBケーブル525と配線路425内のUSBケーブル445は、形を変えない。回転に伴って形状が変わるのは、USBケーブル525のうちケーブル収容部526と巻付部304に含まれる部分だけである。
(Function of Cable Accommodating Portion 526)
As shown in FIG. 5, the cable accommodating portion 526 has a gap in the USB cable 525 that is wound a plurality of turns. Therefore, as shown in FIG. The shape of the separated USB cable 525 can be changed. Therefore, it is possible to rotate the rotating portion 601 and the functional portion 400 within a range of 0 degrees to 360 degrees without applying excessive force to the USB cable 525 . Note that even if the rotating portion 601 and the functional portion 400 rotate, the USB cable 525 in the wiring path 527, the USB cable 525 in the wiring path 324, and the USB cable 445 in the wiring path 425 do not change their shapes. Only the portion of the USB cable 525 included in the cable housing portion 526 and the winding portion 304 changes its shape as it rotates.
 図7は、主軸100および工作機械用装置600に含まれる電気回路の構成図である。
(Ethernet配線(伝送路))
 上述の通り、主軸100がPSEであり、PSEモジュール760を有する。PSEモジュール760は、PSEの給電機能および通信機能を実現するための電気回路である。また、工作機械用装置600がPDであり、PDモジュール560を有する。PDモジュール560は、PDの受電機能および通信機能を実現するための電気回路である。PSEモジュール760とPDモジュール560は、上述の配線(Ethernetケーブル122、第1コネクタ120、第2コネクタ520およびEthernetケーブル521によって接続する。この配線を通じて、PSEモジュール760とPDモジュール560の間の双方向の通信と、PSEモジュール760からPDモジュール560への電力供給が行われる。各Ethernetケーブルの伝送線数および各コネクタのピン数は、同一である。伝送線数およびピン数は、例えば8本である。ただし、9本以上でもよいし、7本以下でもよい。Ethernet通信及びPoEの規格によれば、4本以上であればよい。なお、図7では、便宜的に太線で示した給電線と細線で示した通信線の2本のみを描いているが、実装としてはそれ以上の数の伝送線を有している。
FIG. 7 is a configuration diagram of an electric circuit included in the spindle 100 and the machine tool device 600. As shown in FIG.
(Ethernet wiring (transmission line))
As mentioned above, spindle 100 is a PSE and has PSE module 760 . The PSE module 760 is an electric circuit for realizing the PSE power supply function and communication function. The machine tool device 600 is a PD and has a PD module 560 . The PD module 560 is an electric circuit for realizing the power receiving function and communication function of the PD. The PSE module 760 and PD module 560 are connected by the above wiring (Ethernet cable 122, first connector 120, second connector 520 and Ethernet cable 521). and power supply from the PSE module 760 to the PD module 560. The number of transmission lines of each Ethernet cable and the number of pins of each connector are the same. However, the number may be 9 or more, or 7 or less.According to the Ethernet communication and PoE standards, the number may be 4 or more.In addition, in FIG. , and only two communication lines indicated by thin lines are drawn, but as an implementation, more transmission lines are provided.
(PSEモジュール760)
 PSEモジュール760は、通信回路762と給電回路764を備える。通信回路762は、主にEthernet通信の規格に従って通信の制御を行う。通信回路762は、通信線を介して外部装置703(例えば、コンピュータなどの情報処理装置)に接続している。給電回路764は、主にPoEの規格に従って給電の制御を行う。給電回路764は、給電線(電力線)を介して外部電源701に接続している。
(PSE module 760)
PSE module 760 comprises communication circuitry 762 and power supply circuitry 764 . The communication circuit 762 mainly controls communication according to the Ethernet communication standard. The communication circuit 762 is connected to an external device 703 (for example, an information processing device such as a computer) via a communication line. The power supply circuit 764 mainly controls power supply according to the PoE standard. The power supply circuit 764 is connected to the external power supply 701 via a power supply line (power line).
(PDモジュール560)
 PDモジュール560は、通信回路562と受電回路564を備える。通信回路562は、主にEthernet通信の規格に従って通信の制御を行う。受電回路564は、主にPoEの規格に従って受電の制御を行う。PDモジュール560は、固定部500の電気回路基板544に設けられている。
(PD module 560)
PD module 560 includes communication circuitry 562 and power receiving circuitry 564 . The communication circuit 562 mainly controls communication according to the Ethernet communication standard. The power receiving circuit 564 controls power reception mainly in accordance with the PoE standard. The PD module 560 is provided on the electric circuit board 544 of the fixed part 500 .
(電気回路基板544)
 電気回路基板544には、PDモジュール560の他に、電源回路580とメイン回路570が設けられている。電源回路580は、PoEによって得られた電源電圧を、メイン回路570用の電源電圧に変換して、メイン回路570に供給する。さらに電源回路580は、PoEによって得られた電源電圧を、USBの電源電圧に変換して、USBケーブル525の給電線へ出力する。このように、電源回路580でメイン回路570と撮像ユニット446とへの給電を分離して別々に行うことができるため、メイン回路の立ち上げに伴う各種アプリケーションの立ち上げと、撮像ユニット446自体の立ち上げとを別々に行うことができる。メイン回路570は、CPU572とメモリ574を備え、機能部400の機能(例えば、リモートコントロールに応じたワークの撮影)を実現するための制御処理を行う。メイン回路570(電気回路の例)は、USBケーブル525と第3コネクタ340による通信路を介して、機能部400と接続する。本実施例ではこのように構成することにより、例えば、撮像関連のアプリケーションをメイン回路側で処理している間に、撮像ユニット自体の起動ができるため、撮像関連のアプリケーションからの撮像指示の信号を撮像ユニットに送付するだけで、撮像を行うことが可能になる。これまでであれば、撮像関連のアプリケーションから撮像ユニットの起動指示の信号を送信しているため、撮像までの時間がかかる傾向にあったがこのように構成することにより、撮像までの時間を短縮することができる。
(Electric circuit board 544)
The electric circuit board 544 is provided with a power supply circuit 580 and a main circuit 570 in addition to the PD module 560 . The power supply circuit 580 converts the power supply voltage obtained by PoE into a power supply voltage for the main circuit 570 and supplies the power supply voltage to the main circuit 570 . Furthermore, the power supply circuit 580 converts the power supply voltage obtained by PoE into a USB power supply voltage, and outputs it to the power supply line of the USB cable 525 . In this manner, since the power supply circuit 580 can separately supply power to the main circuit 570 and the imaging unit 446, various applications can be started up when the main circuit is started up, and the imaging unit 446 itself can be powered. Start-up can be done separately. The main circuit 570 includes a CPU 572 and a memory 574, and performs control processing for realizing the functions of the functional unit 400 (for example, photographing of a work according to remote control). A main circuit 570 (an example of an electric circuit) is connected to the functional section 400 via a communication path formed by the USB cable 525 and the third connector 340 . In this embodiment, with such a configuration, for example, while the imaging-related application is being processed on the main circuit side, the imaging unit itself can be started up. It becomes possible to take an image only by sending it to the imaging unit. In the past, a signal for instructing the activation of the imaging unit was sent from an imaging-related application, which tended to take a long time until imaging. can do.
(電力の流れ)
 工作機械用装置600が主軸100に取り付けられると、主軸100のPSEモジュール760が工作機械用装置600のPDモジュール560を検出し、PSEモジュール760とPDモジュール560において所定の初期化動作が行われる。その後、PSEモジュール760からPDモジュール560への電力供給が開始される。PSEモジュール760の給電回路764は、外部電源701から電力を得て、PoEの規格に従った直流電力を上記の配線(伝送路)を通じて出力する。PDモジュール560は、上記の配線を通じて、上記の直流電力を入力する。電源回路580は、受電回路564から直流電力を受けて、メイン回路570と撮像ユニット446と同軸落射照明454とリング照明456へそれぞれに適合した直流電力を分配する。つまり、電源回路580は、機能部400内に含まれる各装置内モジュールにおいて必要な電力を供給する。このように、機能部400は、固定部500に配置されたEthernetケーブル521(給電線を含む)および固定部500と連結部300に配置されたUSBケーブル525(給電線を含む)を介して電力供給を受ける。
(power flow)
When machine tool device 600 is attached to spindle 100, PSE module 760 of spindle 100 detects PD module 560 of machine tool device 600, and PSE module 760 and PD module 560 perform predetermined initialization operations. After that, power supply from the PSE module 760 to the PD module 560 is started. The power supply circuit 764 of the PSE module 760 obtains power from the external power supply 701 and outputs DC power according to the PoE standard through the above wiring (transmission path). The PD module 560 receives the DC power through the wiring. The power supply circuit 580 receives DC power from the power receiving circuit 564 and distributes the DC power to the main circuit 570, the imaging unit 446, the coaxial epi-illumination 454, and the ring illumination 456, respectively. That is, the power supply circuit 580 supplies necessary power to each internal module included in the functional unit 400 . In this way, the functional unit 400 receives power through the Ethernet cable 521 (including the feeder line) arranged on the fixed unit 500 and the USB cable 525 (including the feeder line) arranged between the fixed unit 500 and the connecting unit 300 . receive supply.
(通信の流れ)
 工作機械用装置600は、外部装置703から撮像指示の信号を受けて、それに応じて撮像した画像データを外部装置703へ送る。具体的には、PSEモジュール760の通信回路762は、外部装置703から受信した撮像指示の信号を上記の配線(伝送路)を用いてPDモジュール560へ送信する。PDモジュール560の通信回路562が撮像指示の信号を受信すると、撮像指示の信号をメイン回路570のCPU572へ渡す。メイン回路570は、外部装置703からの撮影指示に応じて、USBを介して機能部400の撮像ユニット446、同軸落射照明454およびリング照明456を制御して撮像および照明(機能の例)を行い、撮像ユニット446から画像データを得る。メイン回路570の動作は、メモリ574に記憶されているプログラムをCPU572が逐次実行することによって実現される。メイン回路570は、画像データをPDモジュール560から外部装置703へ送信させる。このとき、PDモジュール560の通信回路562は、上記の配線を用いて画像データをPSEモジュール760へ送信する。PSEモジュール760の通信回路762は、画像データを受信して、外部装置703へ送信する。
(Communication flow)
The machine tool device 600 receives an image pickup instruction signal from the external device 703 and sends image data picked up in response to the signal to the external device 703 . Specifically, the communication circuit 762 of the PSE module 760 transmits the imaging instruction signal received from the external device 703 to the PD module 560 using the wiring (transmission path) described above. When the communication circuit 562 of the PD module 560 receives the imaging instruction signal, it transfers the imaging instruction signal to the CPU 572 of the main circuit 570 . The main circuit 570 controls the imaging unit 446, the coaxial epi-illumination 454, and the ring illumination 456 of the functional unit 400 via USB according to the imaging instruction from the external device 703 to perform imaging and illumination (example of functions). , obtain image data from the imaging unit 446 . The operation of the main circuit 570 is realized by the CPU 572 sequentially executing programs stored in the memory 574 . The main circuit 570 causes the image data to be transmitted from the PD module 560 to the external device 703 . At this time, the communication circuit 562 of the PD module 560 transmits the image data to the PSE module 760 using the wiring described above. A communication circuit 762 of the PSE module 760 receives the image data and transmits it to the external device 703 .
 上述のように、固定部500に備えられるメイン回路570(電気回路の例)は、外部(例えば、外部装置703)とデータのやり取りが可能である。主軸100は、外部(例えば、外部装置703)とデータのやり取りが可能なメイン回路570(電気回路の例)を備える工作機械用装置600の固定部500を固定して取り付ける(図2参照)。 As described above, the main circuit 570 (an example of an electric circuit) provided in the fixed part 500 can exchange data with the outside (for example, the external device 703). A fixed portion 500 of a machine tool device 600 having a main circuit 570 (an example of an electric circuit) capable of exchanging data with the outside (for example, an external device 703) is fixedly attached to the spindle 100 (see FIG. 2).
 さらに、機能部400は、メイン回路570(電気回路の例)に接続し、メイン回路570(電気回路の例)のメモリに記憶されているアプリケーションにより撮像や照明などの機能を実行可能に制御される。 Further, the functional unit 400 is connected to a main circuit 570 (an example of an electric circuit), and is controlled by an application stored in the memory of the main circuit 570 (an example of an electric circuit) to perform functions such as imaging and illumination. be.
 図8は、交換可能な機能部400を示す図である。
 機能部400aは、長さLaと最大径Daのレンズ448aを備える撮像装置であって、本体部403aの長さがL1で表され、本体部403aの径(直径)がD1で表される。機能部400aは、ボルト402(図3参照)を外すことによって回転部601から分離可能である。そして、機能部400bと交換可能である。機能部400bは、ボルト402で回転部601に固定することができる。あるいは、メカ機構のはめ込み機構によって機能部400bを回転部601に固定してもよい。このように、異なる機能部400と交換ができる。
FIG. 8 is a diagram showing a replaceable functional unit 400. As shown in FIG.
The functional unit 400a is an imaging device having a lens 448a having a length La and a maximum diameter Da. The length of the main body 403a is represented by L1, and the diameter of the main body 403a is represented by D1. The functional part 400a can be separated from the rotating part 601 by removing the bolt 402 (see FIG. 3). And it is replaceable with the function part 400b. Functional portion 400 b can be fixed to rotating portion 601 with bolts 402 . Alternatively, the functional portion 400b may be fixed to the rotating portion 601 by a fitting mechanism of a mechanical mechanism. In this way, different functional units 400 can be exchanged.
 機能部400bは、長さLbと最大径Dbのレンズ448bを備える撮像装置であって、本体部403bの長さがL2で表され、本体部403bの径(直径)がD2で表される。レンズ448bは、レンズ448aよりも長さが短く(Lb<La)、最大径が小さい(Db<Da)。また、機能部400bは、機能部400aよりも本体部403bの長さが短く(L2<L1)、同じく径が小さい(D2<D1)。このように、回転部601は、外周の径が異なる複数種類の機能部400を交換して着脱可能である。 The functional unit 400b is an imaging device having a lens 448b with a length Lb and a maximum diameter Db, the length of the main body 403b is represented by L2, and the diameter of the main body 403b is represented by D2. The lens 448b has a shorter length (Lb<La) and a smaller maximum diameter (Db<Da) than the lens 448a. Further, the functional portion 400b has a main body portion 403b shorter in length (L2<L1) and smaller in diameter (D2<D1) than the functional portion 400a. In this way, the rotating part 601 can be attached and detached by exchanging a plurality of types of functional parts 400 having different outer diameters.
 図9は、工作機械の外観図である。
 工作機械は、正面に開閉可能なドアを有する。この図は、ドアが開いている状態を示している。工作機械は、操作盤を含む。また、工作機械には、外部装置703(例えば、コンピュータなどの情報処理装置)が接続されている。接続する形態は、一例である。工作機械内に外部装置703と同等の情報処理機能が含まれる形態であってもよい。
FIG. 9 is an external view of the machine tool.
The machine tool has an openable and closable door on the front. This figure shows the door open. A machine tool includes an operation panel. An external device 703 (for example, an information processing device such as a computer) is connected to the machine tool. The form of connection is an example. The machine tool may include an information processing function equivalent to that of the external device 703 .
 作業者は、加工途中で、撮像装置でワークを撮像する操作を選択することができる。この操作が選択されると、撮像関連のアプリケーションで、撮像された画像からワークのエッジや面などの特徴点を抽出する画像処理を行うことができる。たとえば、これまでであれば、図9に示す工作機械ではドアを閉めた状態でワークを撮像することは難しい。そこで、作業者は、ドアを開いた状態で、ワークの位置を確認しながら撮像する必要がある。本実施形態では、工作機械のドアを閉めた状態で、加工を一時停止し、ドアを開けることなく撮像装置でワークを撮像することができる。これにより、加工室を開放することなく作業が可能であるため、作業者が安全に作業を行うことができる。さらに、撮像後に、扉を開けることなく、操作盤で工具の補正値を修正し、加工を再開させることができる。また、操作盤で工具の補正値を修正するだけでなく、工具の回転数なども変更することが可能である。 The worker can select an operation to image the workpiece with the imaging device during processing. When this operation is selected, an application related to imaging can perform image processing for extracting feature points such as edges and surfaces of workpieces from the captured image. For example, until now, it has been difficult for the machine tool shown in FIG. 9 to capture an image of the workpiece with the door closed. Therefore, it is necessary for the operator to take an image while confirming the position of the work with the door open. In this embodiment, machining can be temporarily stopped with the door of the machine tool closed, and the image of the workpiece can be captured by the imaging device without opening the door. As a result, the work can be performed without opening the processing chamber, so that the worker can work safely. Furthermore, after the image is captured, the tool correction value can be corrected on the operation panel without opening the door, and machining can be resumed. Moreover, it is possible not only to correct the correction value of the tool on the operation panel, but also to change the rotational speed of the tool.
 本実施形態によれば、画像処理を工作機械用装置で行うことができるため、工作機械のドアが閉まっている状態の密閉空間内であっても、ワークの状態を確認することができる。当然、ワークの状態だけでなく、ワークの直径やワーク内の穴の径などを検出することができる。これとは別に、テーブルの位置やクーラントの噴射位置なども確認することもできる。 According to this embodiment, image processing can be performed by the machine tool device, so the state of the workpiece can be confirmed even in an enclosed space with the door of the machine tool closed. Of course, it is possible to detect not only the state of the work, but also the diameter of the work, the diameter of the hole in the work, and the like. Apart from this, you can also check the position of the table and the injection position of the coolant.
[変形例1]
 実施形態では、延長部508側のUSBケーブル525がつながる第3コネクタ340と、機能部400側のUSBケーブル445がつながる第4コネクタ440とを連結させて、電力供給と通信を行う例を示した。変形例1では、非接触方式で電力供給と通信を行う例を示す。
[Modification 1]
In the embodiment, the third connector 340 connected to the USB cable 525 on the extension part 508 side and the fourth connector 440 connected to the USB cable 445 on the functional part 400 side are connected to perform power supply and communication. . Modification 1 shows an example in which power supply and communication are performed in a non-contact manner.
 図10は、変形例1における工作機械用装置600内の断面図である。
 支持部502内の機能部400に近い面付近に給電通信部590を設ける。給電通信部590は、非接触方式の給電を行う給電部を含む。給電通信部590の給電部は、電気回路基板544につながるケーブル592に含まれる給電線と接続している。
FIG. 10 is a cross-sectional view of the inside of the machine tool device 600 in Modification 1. As shown in FIG.
A power supply communication unit 590 is provided near the surface of the support unit 502 near the functional unit 400 . Power supply communication unit 590 includes a power supply unit that performs contactless power supply. The power feeding portion of the power feeding communication portion 590 is connected to a power feeding line included in a cable 592 connected to the electric circuit board 544 .
 機能部400内の支持部502に近い面付近に受電通信部490を設ける。受電通信部490は、リング形状である。機能部400は、支持部502に近い位置に円盤状の張出部を有し、その張出部の内部に受電通信部490が設置される。受電通信部490の通信は、回転部601の回転軸と一致する。受電通信部490は、非接触方式の受電を行う受電部を含む。受電通信部490の受電部は、撮像ユニット446、同軸落射照明454およびリング照明456につながるケーブル492に含まれる給電線と接続している。 A power receiving communication unit 490 is provided near the surface near the support unit 502 in the function unit 400 . The power receiving communication unit 490 has a ring shape. The functional unit 400 has a disc-shaped projecting portion at a position close to the supporting portion 502, and the power receiving/communicating unit 490 is installed inside the projecting portion. Communication of the power receiving communication unit 490 coincides with the rotating shaft of the rotating unit 601 . Power reception communication unit 490 includes a power reception unit that receives power in a non-contact manner. A power receiving unit of the power receiving communication unit 490 is connected to a power supply line included in a cable 492 connected to the imaging unit 446 , the coaxial epi-illumination 454 and the ring illumination 456 .
 工作機械用装置600が主軸100に取り付けられると、給電通信部590の給電部と受電通信部490の受電部が接近する。給電通信部590の給電部と受電通信部490の受電部が接近すると、給電通信部590の給電部は、受電通信部490の受電部に対して非接触方式で電力の供給を行う。非接触方式の給電は、たとえば電磁誘導式の給電である。 When the machine tool device 600 is attached to the spindle 100, the power supply unit of the power supply communication unit 590 and the power reception unit of the power reception communication unit 490 approach each other. When the power supply unit of the power supply communication unit 590 and the power reception unit of the power reception communication unit 490 approach each other, the power supply unit of the power supply communication unit 590 supplies power to the power reception unit of the power reception communication unit 490 in a non-contact manner. Non-contact power supply is, for example, electromagnetic induction power supply.
 撮像ユニット446、同軸落射照明454およびリング照明456は、受電通信部490の受電部で受けた電力によって動作する。受電通信部490がリング状なので、回転部601の向きによらずに常に電力の供給が可能である。 The imaging unit 446 , the coaxial epi-illumination 454 and the ring illumination 456 are operated by the power received by the power receiving unit of the power receiving communication unit 490 . Since the power receiving/communicating section 490 is ring-shaped, power can always be supplied regardless of the orientation of the rotating section 601 .
 また、給電通信部590は、非接触方式の通信を行う通信部を含む。給電通信部590の通信部は、ケーブル592に含まれる通信線と接続している。受電通信部490は、非接触方式の通信を行う通信部を含む。受電通信部490の通信部は、ケーブル492に含まれる通信線と接続している。 Also, the power supply communication unit 590 includes a communication unit that performs contactless communication. A communication section of the power supply communication section 590 is connected to a communication line included in the cable 592 . Power receiving communication unit 490 includes a communication unit that performs contactless communication. The communication section of power receiving communication section 490 is connected to a communication line included in cable 492 .
 工作機械用装置600が主軸100に取り付けられると、給電通信部590の通信部と受電通信部490の通信部が接近する。給電通信部590の通信部と受電通信部490の通信部が接近すると、非接触方式による双方向の通信が可能になる。非接触方式による双方向の通信は、たとえばミリ波無線通信である。 When the machine tool device 600 is attached to the spindle 100, the communication section of the power supply communication section 590 and the communication section of the power reception communication section 490 come closer. When the communication unit of the power supply communication unit 590 and the communication unit of the power reception communication unit 490 approach each other, two-way communication by a non-contact method becomes possible. Non-contact two-way communication is, for example, millimeter wave wireless communication.
 電気回路基板546は、ケーブル592、給電通信部590の通信部、受電通信部490の通信部及びケーブル492を含む通信路を介して、撮像ユニット446、同軸落射照明454およびリング照明456と接続する。この通信路を介して、電気回路基板544は、撮像ユニット446、同軸落射照明454およびリング照明456と双方向の通信が可能になる。受電通信部490がリング状なので、回転部601の向きによらずに常に双方向の通信が可能である。 The electric circuit board 546 is connected to the imaging unit 446, the coaxial epi-illumination 454, and the ring illumination 456 via a communication path including the cable 592, the communication unit of the power supply communication unit 590, the communication unit of the power reception communication unit 490, and the cable 492. . This communication path allows the electrical circuit board 544 to communicate bi-directionally with the imaging unit 446 , the coaxial epi-illumination 454 and the ring illumination 456 . Since the power receiving/communicating section 490 is ring-shaped, two-way communication is always possible regardless of the orientation of the rotating section 601 .
 双方向通信の例を示したが、電気回路基板546から撮像ユニット446、同軸落射照明454またはリング照明456へ向けて一方向の通信を行ってもよい。また、撮像ユニット446、同軸落射照明454またはリング照明456から電気回路基板546へ向けて一方向の通信を行ってもよい。なお、ケーブル592とケーブル492は、実施形態と同様にUSBケーブルであってもよい。 Although an example of two-way communication has been shown, one-way communication may be performed from the electric circuit board 546 toward the imaging unit 446, the coaxial epi-illumination 454, or the ring illumination 456. One-way communication may also be provided from imaging unit 446 , coaxial epi-illumination 454 or ring illumination 456 toward electrical circuit board 546 . Note that the cables 592 and 492 may be USB cables as in the embodiment.
[変形例2]
 工作機械用装置600は、固定部500を設けずに、回転部601と機能部400とで構成されてもよい。その構成の場合、工作機械用装置600の全体が回転部材106とともに回転する。たとえば、工作機械用装置600にバッテリを搭載して、バッテリを電源として用いてもよい。また、無線LANなどの無線媒体で通信を行ってもよい。
[Modification 2]
The machine tool device 600 may be composed of the rotating portion 601 and the functional portion 400 without providing the fixed portion 500 . In that configuration, the entire machine tool apparatus 600 rotates with the rotating member 106 . For example, a battery may be installed in the machine tool device 600 and used as a power source. Alternatively, communication may be performed using a wireless medium such as a wireless LAN.
[その他の変形例]
 図11は、電気回路基板544と撮像ユニット446の間の配線図である。
 USBの配線について補足する。電気回路基板544と撮像ユニット446の間は、図7に示したように、USBケーブル525、第3コネクタ340、第4コネクタ440およびUSBケーブル445によって接続される。USBケーブル445,525は、VBUSとGNDの給電線(電力線)およびD-とD+の信号線を含む。VBUSの給電線(電力線)は、電源回路580と撮像ユニット446を接続する。GNDの給電線(電力線)は、接地される。D-とD+の信号線は、CPU572と撮像ユニット446を接続する。第3コネクタ340と第4コネクタ440は、VBUS端子、GND端子、D-端子およびD+端子を有する。USBケーブル445,525の他方の端点にも、同様のUSBコネクタを設けてもよい。撮像ユニット446は、USBケーブル445のUSBコネクタと連結可能なUSBコネクタを備えてもよい。また、電気回路基板544は、USBケーブル525のUSBコネクタと連結可能なUSBコネクタを備えてもよい。
[Other Modifications]
FIG. 11 is a wiring diagram between the electric circuit board 544 and the imaging unit 446. As shown in FIG.
I will supplement the USB wiring. The electric circuit board 544 and the imaging unit 446 are connected by the USB cable 525, the third connector 340, the fourth connector 440 and the USB cable 445 as shown in FIG. The USB cables 445 and 525 include VBUS and GND feed lines (power lines) and D- and D+ signal lines. A VBUS power supply line (power line) connects the power supply circuit 580 and the imaging unit 446 . A GND feeder line (power line) is grounded. Signal lines D− and D+ connect the CPU 572 and the imaging unit 446 . The third connector 340 and the fourth connector 440 have a VBUS terminal, a GND terminal, a D- terminal and a D+ terminal. A similar USB connector may be provided at the other end of the USB cable 445,525. Imaging unit 446 may include a USB connector that can be coupled with the USB connector of USB cable 445 . The electrical circuit board 544 may also include a USB connector that can mate with the USB connector of the USB cable 525 .
 電力線591a(第1給電線)は、電源回路580からCPU572(メイン回路570)に電力を供給するための電線である。また、電力線591b(第2給電線)は、電源回路580から撮像ユニット446に電力を供給するための電線である。電力線591bは、CPU572から送られる制御信号に従って通電のON/OFFを制御するスイッチICを経由してもよい。 The power line 591a (first feed line) is a wire for supplying power from the power supply circuit 580 to the CPU 572 (main circuit 570). A power line 591 b (second feeder line) is a wire for supplying power from the power supply circuit 580 to the imaging unit 446 . The power line 591b may pass through a switch IC that controls ON/OFF of energization in accordance with a control signal sent from the CPU 572 .
 外部電源701から電力を受けた電源回路580は、電力線591aを介してCPU572へ電力を送る。CPU572は、電源回路580から電力を受けるとOS(オペレーティングシステム)の起動処理を行う。また、電源回路580は、OSの起動処理と並行して、電力線591bを介して撮像ユニット446へ電力を供給する。撮像ユニット446は、電源回路580から電力を受けると撮像ユニット446の起動動作を開始する。OSの起動処理と撮像ユニット446の起動動作が完了すると、撮像ユニット446は、OS上で動作するアプリケーションからD-とD+の通信線を介して指示を受け付ける。 The power supply circuit 580 that receives power from the external power supply 701 sends power to the CPU 572 via the power line 591a. When the CPU 572 receives power from the power supply circuit 580, it performs an OS (operating system) startup process. In addition, the power supply circuit 580 supplies power to the imaging unit 446 through the power line 591b in parallel with the OS startup process. When the imaging unit 446 receives power from the power supply circuit 580, the imaging unit 446 starts activation operation. When the OS startup process and the imaging unit 446 startup operation are completed, the imaging unit 446 receives instructions from applications operating on the OS via the D− and D+ communication lines.
 このように、電力線591aおよび電力線591bという複数系統の電力線が設けられ、電源回路580から電力線591aを介してCPU572に電力を供給するとともに、同じく電源回路580から別系統の電力線591bを介して撮像ユニット446に電力を供給する。電力線591aと電力線591bのように複数系統の電力線を設けたため、OS起動に関係なく撮像ユニット446を起動させることもできる。つまり、電源回路580が電力線591aからCPU572に電力を供給し、かつ、電源回路580は電力線591bを介して撮像ユニット446にも電力を供給することにより、OS起動に依存することなく、撮像ユニット446は電力供給を受けた段階で起動動作を開始できる。この構成であれば、CPU572によるOS起動後であっても、あるいは、OS起動中であっても、撮像ユニット446を起動できる。結果として、システム起動に要する時間を短縮することが可能となる。 In this way, a plurality of systems of power lines such as the power lines 591a and 591b are provided, and power is supplied from the power supply circuit 580 to the CPU 572 via the power line 591a, and similarly from the power supply circuit 580 via another power line 591b to the imaging unit. 446 power. Since a plurality of systems of power lines such as the power lines 591a and 591b are provided, the imaging unit 446 can be activated regardless of the OS activation. In other words, the power supply circuit 580 supplies power to the CPU 572 from the power line 591a, and the power supply circuit 580 also supplies power to the imaging unit 446 through the power line 591b. can start the start-up operation at the stage of receiving power supply. With this configuration, the imaging unit 446 can be activated even after the OS has been activated by the CPU 572 or even during the OS activation. As a result, it is possible to shorten the time required for system startup.
 実施形態では、機能部400の例として、例えばCMOSなどのイメージセンサ(撮像素子)、レンズおよび照明装置などを有する撮像部を示したが、機能部400は、この例に限定されない。機能部400である撮像部は、計測用の撮像部(計測用プローブ)でもよいし、観察用の撮像部でもよい。また、機能部400は、レーザスキャナ部、レーザ発生部、アングルヘッドなどでもよい。さらに、機能部400は、工具でもよい。 In the embodiment, as an example of the functional unit 400, an imaging unit having an image sensor (image sensor) such as CMOS, a lens, an illumination device, etc. is shown, but the functional unit 400 is not limited to this example. The imaging unit that is the functional unit 400 may be an imaging unit for measurement (measurement probe) or an imaging unit for observation. Also, the functional unit 400 may be a laser scanner unit, a laser generator, an angle head, or the like. Furthermore, functional part 400 may be a tool.
 EthernetやUSB以外の方式によって有線通信を行ってもよい。PoEやUSB以外の方式によって有線の電力供給を行ってもよい。また、電力手段としてワイヤレス給電やバッテリを用いて、通信のみを有線で行ってもよい。あるいは、通信手段としてWi-Fiなどの無線媒体を用いて、電力供給のみを有線で行ってもよい。 Wired communication may be performed by methods other than Ethernet and USB. Wired power supply may be performed by a method other than PoE or USB. Alternatively, wireless power supply or a battery may be used as power means, and only communication may be performed by wire. Alternatively, a wireless medium such as Wi-Fi may be used as communication means, and only power may be supplied by wire.
 工作機械用装置600が工作機械と有線で接続されるので、外部からの給電(例えば、10W以上)と、外部と安定的な高速通信(100Mbps~)が可能である。これにより、通信が途切れず、また遅延が生じることなく、工作機械用装置600を使用できる。 Since the machine tool device 600 is connected to the machine tool by wire, power supply from the outside (for example, 10 W or more) and stable high-speed communication with the outside (from 100 Mbps) are possible. As a result, the machine tool device 600 can be used without interruption of communication or delay.
 特に、計測用の画像プローブの場合、観察用の画像プローブに比べて、多くのレンズを使うことになり、画像プローブが長くなる傾向になる。また、計測用の画像プローブであるためCMOSの撮像領域と同じ大きさの撮像領域になるようにレンズ系を設定することが好ましい。つまり、なるべく光軸と平行になるように光の拡散を抑制するように設計する必要がある。そのため、撮像領域を大きくするこが難しい。そこで、ワークの詳細な計測を行う場合、計測箇所のワークを複数枚の画像を撮像し、その複数枚の画像を解析して1つのワークの計測を行う場合もある。 Especially in the case of image probes for measurement, more lenses are used than image probes for observation, and the image probe tends to be longer. Moreover, since it is an image probe for measurement, it is preferable to set the lens system so that the imaging area has the same size as the CMOS imaging area. In other words, it is necessary to design so as to suppress diffusion of light so as to be parallel to the optical axis as much as possible. Therefore, it is difficult to increase the imaging area. Therefore, when performing detailed measurement of a workpiece, there are cases in which a plurality of images of the workpiece at the measurement location are taken, and the plurality of images are analyzed to measure one workpiece.
 実施形態では、回転部601に対して機能部400を着脱可能としたので、1つの回転部601に対して複数の機能部400を取り換えて使用することができる。例えば、ある工作機械Aに適合した回転部601Aに対して、機能部400Xを取り付けたり、機能部400Yを取り付けたりすることができる。したがって、通常は、頻繁に使う機能部400Xを回転部601Aに取り付けて使用し、稀にしか使わない機能部400Yを使う場合には、機能部400Xから機能部400Yへ取り換えて使用する運用形態などが考えられる。1つの回転部601Aを使いまわせるので、機能の種類毎に工作機械用装置600(工作機械A用の機能Xの装置、工作機械A用の機能Yの装置)を揃えるよりもユーザの費用負担が少ない。 In the embodiment, since the functional section 400 is detachable from the rotating section 601, a plurality of functional sections 400 can be replaced with one rotating section 601 for use. For example, the functional part 400X or the functional part 400Y can be attached to the rotating part 601A suitable for a certain machine tool A. Therefore, normally, the frequently used functional unit 400X is attached to the rotating unit 601A and used, and when the rarely used functional unit 400Y is used, the functional unit 400X is replaced with the functional unit 400Y. can be considered. Since one rotating part 601A can be reused, the cost burden on the user is lower than when the machine tool device 600 (function X device for machine tool A, function Y device for machine tool A) is provided for each type of function. few.
 1つの機能部400を2つの工作機械で共用することもできる。例えば、機能部400Xを工作機械Aと工作機械Bで共用するケースでは、機能部400Xの他に、工作機械Aに適合した回転部601Aと工作機械Bに適合した回転部601Bを用意しておく。工作機械Aで機能部400Xを使用する場合には、機能部400Xを回転部601Aに取り付ける。反対に、工作機械Bで機能部400Xを使用する場合には、機能部400Xを回転部601Bに取り付ける。1つの機能部400Xを使いまわせるので、工作機械毎に工作機械用装置600(工作機械A用の機能Xの装置、工作機械B用の機能Xの装置)を揃えるよりもユーザの費用負担が少ない。 It is also possible to share one functional unit 400 between two machine tools. For example, in a case where the functional unit 400X is shared by machine tool A and machine tool B, a rotating unit 601A suitable for machine tool A and a rotating unit 601B suitable for machine tool B are prepared in addition to functional unit 400X. . When the functional part 400X is used in the machine tool A, the functional part 400X is attached to the rotating part 601A. On the contrary, when using the functional part 400X in the machine tool B, the functional part 400X is attached to the rotating part 601B. Since one functional unit 400X can be used, the cost burden on the user is less than when the machine tool device 600 (function X device for machine tool A, function X device for machine tool B) is prepared for each machine tool. .
 また、メンテナンス性も向上する。例えば回転部601の耐久性が高く、機能部400の耐久性が低い場合、1つの回転部601に対して2つの機能部400を用意しておく。そして、機能部400の点検時期に、他方の機能部400に取り換えるようにすれば、工作機械用装置600を使い続けることができる。また、工作機械用装置600を2つ用意するよりも、安価に対応できる。 It also improves maintainability. For example, when the durability of the rotating portion 601 is high and the durability of the functional portion 400 is low, two functional portions 400 are prepared for one rotating portion 601 . Then, if the function part 400 is replaced with the other function part 400 when the function part 400 is inspected, the machine tool device 600 can be used continuously. In addition, it is cheaper than preparing two machine tool devices 600 .
 また、部品を共通化できるので、製造現場における負担も減る。例えば、工作機械Aに適合した回転部601Aと工作機械Bに適合した回転部601Bを在庫として確保し、さらに機能部400Xと機能部400Yも在庫として確保しておく。そして、工作機械A用の機能Xの装置を受注したときには、回転部601Aに機能部400Xを取り付けて出荷する。また、工作機械B用の機能Yの装置を受注したときには、回転部601Bに機能部400Yを取り付けて出荷する。他にも、工作機械A用の機能Yの装置や工作機械B用の機能Xの装置にも対応できる。このようにすれば、例えば多品種少量生産にも柔軟に対応することができる。 In addition, since parts can be standardized, the burden on the manufacturing site is reduced. For example, the rotating part 601A suitable for the machine tool A and the rotating part 601B suitable for the machine tool B are kept as inventories, and the functional parts 400X and 400Y are also kept as inventories. Then, when an order is received for a device of function X for machine tool A, the function part 400X is attached to the rotating part 601A and shipped. Also, when receiving an order for a device of function Y for machine tool B, the functional unit 400Y is attached to the rotating unit 601B and shipped. In addition, a device with function Y for machine tool A and a device with function X for machine tool B can also be used. In this way, for example, it is possible to flexibly cope with high-mix low-volume production.
 交換する機能部400の組み合わせは任意である。異なる機能部400と交換するだけでなく、メンテナンスの例のように同じ機能部400で交換してもよい。異なる機能部400と交換する例としては、計測用の撮像部と観測用の撮像部を交換してもよい。ある計測用の撮像部を、異なる型の計測用の撮像部と交換してもよい。ある観測用の撮像部を、異なる型の観測用の撮像部と交換してもよい。撮像部を、撮像部以外の機能部400と交換してもよい。撮像部以外の機能部400同士で交換してもよい。 The combination of the functional units 400 to be exchanged is arbitrary. In addition to replacing with a different functional unit 400, the same functional unit 400 may be replaced as in the example of maintenance. As an example of exchanging with a different functional unit 400, the imaging unit for measurement and the imaging unit for observation may be exchanged. An imaging unit for one measurement may be replaced with an imaging unit for a different type of measurement. One viewing imager may be exchanged for a different type of viewing imager. The imaging unit may be replaced with a functional unit 400 other than the imaging unit. The functional units 400 other than the imaging unit may be exchanged.
 また、実施形態では、回転部601の回転角に応じてUSBケーブルの形状を変えられるように隙間を開けて複数周巻かれたUSBケーブルを収容するケーブル収容部を設けたので、USBケーブルにダメージを与えることなく機能部400を回転させることができる。 In addition, in the embodiment, since the cable accommodating portion is provided to accommodate the USB cable wound multiple times with a gap so that the shape of the USB cable can be changed according to the rotation angle of the rotating portion 601, the USB cable is prevented from being damaged. function 400 can be rotated without giving
 工作機械用装置600においてバッテリを有するようにしてもよい。バッテリは、たとえば、機能部400または固定部500に設けられる。撮像ユニット446は、バッテリを電源として用いて起動するようにしてもよい。 The machine tool device 600 may have a battery. The battery is provided, for example, in functional section 400 or fixed section 500 . The imaging unit 446 may be activated using a battery as a power source.
 図12は、固定部500と機能部400における集積回路の構成図である。この例では、1つの集積回路が固定部500に含まれ、2つの集積回路が機能部400に含まれる。 12 is a configuration diagram of an integrated circuit in the fixed part 500 and the functional part 400. FIG. In this example, one integrated circuit is included in the fixed portion 500 and two integrated circuits are included in the functional portion 400 .
 撮像ユニット446は、撮像素子800(例えば、CMOS)、第1集積回路811および第2集積回路820を有する。 The imaging unit 446 has an imaging device 800 (for example, CMOS), a first integrated circuit 811 and a second integrated circuit 820 .
 第1集積回路811は、ノイズ処理部812、ゲイン調整部813およびA-D変換部816を有する。第1集積回路811は、撮像素子800からの信号のノイズ処理を行うための回路である。ノイズ処理部812は、撮像素子800から得られる画像に含まれるノイズを除去する。ゲイン調整部813は、撮像素子800で露光した光から変換される電流に関する増幅率(ゲイン)を調整する。A-D変換部816は、画像データをアナログからデジタルへ変換する。ノイズ処理部812、ゲイン調整部813およびA-D変換部816は、公知技術を用いてもよい。ノイズ処理部812、ゲイン調整部813およびA-D変換部816の処理が施された電気信号は、第2集積回路820へ渡される。第1集積回路811は、ノイズ処理部812、ゲイン調整部813およびA-D変換部816以外の機能部を有してもよい。 The first integrated circuit 811 has a noise processing section 812 , a gain adjustment section 813 and an AD conversion section 816 . The first integrated circuit 811 is a circuit for performing noise processing on the signal from the imaging device 800 . A noise processing unit 812 removes noise included in the image obtained from the image sensor 800 . A gain adjustment unit 813 adjusts an amplification factor (gain) relating to current converted from light exposed by the imaging element 800 . The AD converter 816 converts the image data from analog to digital. The noise processing section 812, the gain adjustment section 813, and the AD conversion section 816 may use known techniques. The electrical signal processed by the noise processing section 812 , the gain adjustment section 813 and the AD conversion section 816 is passed to the second integrated circuit 820 . The first integrated circuit 811 may have functional units other than the noise processing unit 812 , the gain adjustment unit 813 and the AD conversion unit 816 .
 第2集積回路820は、第1補正部834と第2補正部836を含む。第1補正部834は、欠陥補正部822、シェーディング補正部824およびホワイトバランス処理部826を有し、第2補正部836は、補間処理部828、色補正処理部830および輪郭処理部832を有する。欠陥補正部822は、画像における黒欠陥および白欠陥を補正する。シェーディング補正部824は、画像の周辺部の信号出力が低下する現象(シェーディング)に対する補正を行う。ホワイトバランス処理部826は、撮像素子800の分光特性を人間の視感度に合わせる補正を行う。欠陥補正部822、シェーディング補正部824およびホワイトバランス処理部826は、公知技術を用いてもよい。欠陥補正部822、シェーディング補正部824およびホワイトバランス処理部826の処理が施された電気信号は、補間処理部828へ渡される。 The second integrated circuit 820 includes a first corrector 834 and a second corrector 836 . The first correction section 834 has a defect correction section 822, a shading correction section 824 and a white balance processing section 826, and the second correction section 836 has an interpolation processing section 828, a color correction processing section 830 and a contour processing section 832. . The defect corrector 822 corrects black defects and white defects in the image. The shading correction unit 824 corrects a phenomenon (shading) in which the signal output in the peripheral portion of the image is lowered. A white balance processing unit 826 corrects the spectral characteristics of the image sensor 800 to match human visibility. The defect corrector 822, the shading corrector 824, and the white balance processor 826 may use known techniques. The electrical signal processed by the defect correction section 822 , shading correction section 824 and white balance processing section 826 is passed to the interpolation processing section 828 .
 補間処理部828は、撮像素子800のカラーフィルタによるRGBベイヤー配列の信号から、一般的な映像信号であるRGB出力データ(ビットマップデータ)を生成する。色補正処理部830は、撮像素子800のカラーフィルタが有する分光特性を理想特性に近づける補正を行う。輪郭処理部832は、被写体の輪郭をシャープにする処理を行う。補間処理部828、色補正処理部830および輪郭処理部832は、公知技術を用いてもよい。第2集積回路820で処理された電気信号は、撮像ユニット446から出力され、電気回路基板544のメイン回路570に入力される。撮像素子800、第1集積回路811および第2集積回路820は、SoC(System on Chip)として構成されてもよい。第2集積回路820は、欠陥補正部822、シェーディング補正部824、ホワイトバランス処理部826、補間処理部828、色補正処理部830および輪郭処理部832以外の機能部を有してもよい。 The interpolation processing unit 828 generates RGB output data (bitmap data), which is a general video signal, from RGB Bayer array signals from the color filters of the image sensor 800 . The color correction processing unit 830 corrects the spectral characteristics of the color filters of the image sensor 800 to approximate ideal characteristics. The contour processing unit 832 performs processing for sharpening the contour of the subject. The interpolation processing unit 828, the color correction processing unit 830, and the contour processing unit 832 may use known techniques. The electrical signal processed by the second integrated circuit 820 is output from the imaging unit 446 and input to the main circuit 570 of the electrical circuit board 544 . The imaging element 800, the first integrated circuit 811 and the second integrated circuit 820 may be configured as an SoC (System on Chip). The second integrated circuit 820 may have functional units other than the defect correction unit 822 , the shading correction unit 824 , the white balance processing unit 826 , the interpolation processing unit 828 , the color correction processing unit 830 and the contour processing unit 832 .
 メイン回路570は、撮像ユニット446に含まれない第3集積回路を有してもよい。図12に示したデジタル回路は、第3集積回路の例である。第3集積回路は、撮像ユニット446で処理された画像データの解析処理を行うための回路である。このように、機能部400は、一般的な撮像ユニット446とは別に画像データを解析処理する第3集積回路を有する。図示したデジタル回路の機能部と同等の機能を、メモリ574(図7)に記憶されたプログラムをCPU572で実行することによって実現してもよい。第3集積回路における処理は任意であるが、ここでは1回のシャッタ動作で瞬時に複数の画像を取得し、複数の画像を用いたデジタル処理を行うものとする。たとえば、異なるISO感度で連写された複数の画像を平均化することによってノイズを低減する処理を行える。あるいは、異なる露出で連写された複数の画像を用いて、ダイナミック・レンジを拡大する処理を行うこともできる。ダイナミック・レンジとは、処理可能な信号の最大値と最小値の比率であり、ここでは、撮像素子800が許容できる明るさの範囲を意味する。つまり、第3集積回路におけるデジタル処理によって、撮像素子800が本来許容する明るさの範囲よりも広い明度差を有する画像を見やすくする。 The main circuit 570 may have a third integrated circuit that is not included in the imaging unit 446. The digital circuit shown in FIG. 12 is an example of the third integrated circuit. The third integrated circuit is a circuit for analyzing image data processed by the imaging unit 446 . Thus, the functional section 400 has a third integrated circuit that analyzes and processes image data separately from the general imaging unit 446 . Functions equivalent to the functional units of the illustrated digital circuit may be realized by executing a program stored in memory 574 (FIG. 7) with CPU 572 . Although the processing in the third integrated circuit is arbitrary, here, it is assumed that a plurality of images are instantaneously acquired by one shutter operation, and digital processing is performed using the plurality of images. For example, noise reduction processing can be performed by averaging a plurality of images continuously shot at different ISO sensitivities. Alternatively, processing for expanding the dynamic range can be performed using a plurality of consecutively shot images with different exposures. The dynamic range is the ratio of the maximum value to the minimum value of the signal that can be processed, and here means the range of brightness that the imaging device 800 can tolerate. In other words, the digital processing in the third integrated circuit makes it easier to see an image having a brightness difference wider than the range of brightness that the imaging device 800 originally allows.
 以下では、メイン回路570においてダイナミック・レンジを拡大する処理を行う例について説明する。具体的には、連写された2つの画像データを部分的に重ね合わせることによって、露出過多あるいは露出不足をキャンセルする。メイン回路570は、第1画像メモリ840、第2画像メモリ842、差分解析部844、再抽出部846および重ね合わせ部848を有する。第1画像メモリ840は、基本となる第1画像データを記憶する。第2画像メモリ842は、参照する第2画像データを記憶する。第2画像データは、たとえば第1画像データよりも一瞬前に取得された画像データである。差分解析部844は、第1画像データと第2画像データの差分(画像の動き)を解析して、第2画像データのうち第1画像データに重ね合わせる画像領域を特定する。再抽出部846は、第2画像データから、第1画像データに重ね合わせる部分画像を抽出する。重ね合わせ部848は、第2画像データから抽出された部分画像を第1画像データに重ね合わせる。これにより、第1画像データにおいて露出が適正でなかった部分(露出過多あるいは露出不足の部分)に、第2画像データにおいて適正な露出で得られた画像を重ねて、全体として露出の不具合がない画像を生成することができる。そして、メイン回路570によってデジタル処理された画像データは、通信回路562から送信される。 An example of performing processing for expanding the dynamic range in the main circuit 570 will be described below. Specifically, overexposure or underexposure is canceled by partially superimposing two pieces of image data that have been shot in succession. The main circuit 570 has a first image memory 840 , a second image memory 842 , a difference analysis section 844 , a re-extraction section 846 and a superposition section 848 . The first image memory 840 stores basic first image data. The second image memory 842 stores second image data to be referred to. The second image data is, for example, image data acquired a moment before the first image data. The difference analysis unit 844 analyzes the difference (image movement) between the first image data and the second image data, and specifies an image area of the second image data to be superimposed on the first image data. A re-extraction unit 846 extracts a partial image to be superimposed on the first image data from the second image data. A superimposition unit 848 superimposes the partial image extracted from the second image data on the first image data. As a result, an image obtained with proper exposure in the second image data is superimposed on a portion (overexposure or underexposure portion) where the exposure was not proper in the first image data, and there is no problem in exposure as a whole. Images can be generated. Image data digitally processed by the main circuit 570 is transmitted from the communication circuit 562 .
 この特許出願は、日本の特願2021-158850号(2021年9月29日出願)の優先権を主張し、その全体が参照により本明細書に組み込まれるものとする。 This patent application claims priority from Japanese Patent Application No. 2021-158850 (filed on September 29, 2021), which is incorporated herein by reference in its entirety.

Claims (5)

  1.  工作機械の取り付け部に着脱可能かつ前記取り付け部内の回転部材とともに回転可能に取り付けられる工作機械用装置であって、
     前記回転部材の回転とともに回転する回転部と、
     外部とデータのやり取りが可能な電気回路と、
     前記電気回路と接続し、前記電気回路によって制御される機能が実行可能であり、前記回転部の回転とともに前記回転部の回転方向と同じ方向に回転する機能部と、を備え、
     前記機能部は、前記回転部に対して着脱可能である、工作機械用装置。
    A machine tool device that is detachably mounted on a mounting portion of a machine tool and rotatable together with a rotating member in the mounting portion,
    a rotating part that rotates with the rotation of the rotating member;
    An electric circuit that can exchange data with the outside,
    a functional part connected to the electric circuit, capable of executing a function controlled by the electric circuit, and rotating in the same direction as the rotation direction of the rotating part as the rotating part rotates;
    The machine tool apparatus, wherein the functional section is detachable with respect to the rotating section.
  2.  前記電気回路を備え、前記取り付け部の非回転部に対して固定して取り付けられる固定部を、更に備え、
     前記固定部は、前記回転部を囲み、前記取り付け部とつながる給電線を配置し、
     前記機能部は、前記給電線を介して電力供給を受ける、請求項1に記載の工作機械用装置。
    further comprising a fixed portion that includes the electrical circuit and is fixedly attached to the non-rotating portion of the attachment portion;
    the fixed portion surrounds the rotating portion and has a power supply line connected to the mounting portion;
    2. The machine tool apparatus according to claim 1, wherein said functional section receives power supply via said power supply line.
  3.  前記回転部は、外周の径が異なる前記機能部を交換して着脱可能である、請求項1に記載の工作機械用装置。 The machine tool device according to claim 1, wherein the rotating part is detachable by exchanging the functional parts having different outer diameters.
  4.  前記回転部の回転軸に沿った方向から見て、前記機能部の外周が、前記固定部の外周の内側に位置している、請求項2に記載の工作機械用装置。 The machine tool device according to claim 2, wherein the outer circumference of the functional section is located inside the outer circumference of the fixed section when viewed from the direction along the rotation axis of the rotating section.
  5.  回転部材と非回転部とを有し、工作機械用装置を着脱可能かつ前記工作機械用装置の一部を前記回転部材とともに回転可能に取り付ける取り付け部を備える工作機械であって、
     前記取り付け部の移動を制御する制御部を有し、
     前記取り付け部は、外部とデータのやり取りが可能な電気回路を備える前記工作機械用装置の固定部を前記非回転部に対して固定して取り付け、前記電気回路によって制御される機能が実行可能な前記工作機械用装置の機能部を一体として回転させる前記工作機械用装置の回転部を前記回転部材とともに回転可能に取り付ける、工作機械。
    A machine tool having a rotating member and a non-rotating portion, and including a mounting portion for detachably attaching a machine tool device and mounting a part of the machine tool device so as to be rotatable together with the rotating member,
    Having a control unit for controlling movement of the mounting unit,
    The attachment part is fixed to the non-rotating part and attaches a fixed part of the machine tool device having an electric circuit capable of exchanging data with the outside, and is capable of executing a function controlled by the electric circuit. A machine tool, wherein a rotating part of the machine tool device that rotates integrally the functional parts of the machine tool device is rotatably mounted together with the rotating member.
PCT/JP2022/031641 2021-09-29 2022-08-23 Device for machine tool, and machine tool WO2023053778A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2021-158850 2021-09-29
JP2021158850A JP7133075B1 (en) 2021-09-29 2021-09-29 Equipment for machine tools

Publications (1)

Publication Number Publication Date
WO2023053778A1 true WO2023053778A1 (en) 2023-04-06

Family

ID=83191760

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2022/031641 WO2023053778A1 (en) 2021-09-29 2022-08-23 Device for machine tool, and machine tool

Country Status (2)

Country Link
JP (1) JP7133075B1 (en)
WO (1) WO2023053778A1 (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01264748A (en) * 1988-04-15 1989-10-23 Koyo Seiko Co Ltd Tool adapter with built-in speed increase mechanism
JPH07204990A (en) * 1994-01-13 1995-08-08 Makino Milling Mach Co Ltd Measuring system using nc machining unit
WO2001083160A1 (en) * 2000-04-28 2001-11-08 Incs Inc. Spindle unit and cutting machine with spindle unit
US20020002885A1 (en) * 2000-04-25 2002-01-10 Ilmar Luik Combined video camera and toolholder
JP2003311573A (en) * 2002-04-26 2003-11-05 Yukiwa Seiko Inc Rotary tooling device
JP2007054916A (en) * 2005-08-25 2007-03-08 Toshiba Mach Co Ltd Transmission, machining tool and machining method
JP2010054399A (en) * 2008-08-29 2010-03-11 Mori Seiki Co Ltd Noncontact measuring device and on-machine measuring system
JP2011518048A (en) * 2008-03-17 2011-06-23 エイ. サプロック,クリストファー Smart machining system and smart tool holder used therefor
JP2018039106A (en) * 2016-08-08 2018-03-15 ザウアー ゲーエムベーハーSAUER GmbH Method and device for applying a surface structuring to a workpiece on a machine tool

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01264748A (en) * 1988-04-15 1989-10-23 Koyo Seiko Co Ltd Tool adapter with built-in speed increase mechanism
JPH07204990A (en) * 1994-01-13 1995-08-08 Makino Milling Mach Co Ltd Measuring system using nc machining unit
US20020002885A1 (en) * 2000-04-25 2002-01-10 Ilmar Luik Combined video camera and toolholder
WO2001083160A1 (en) * 2000-04-28 2001-11-08 Incs Inc. Spindle unit and cutting machine with spindle unit
JP2003311573A (en) * 2002-04-26 2003-11-05 Yukiwa Seiko Inc Rotary tooling device
JP2007054916A (en) * 2005-08-25 2007-03-08 Toshiba Mach Co Ltd Transmission, machining tool and machining method
JP2011518048A (en) * 2008-03-17 2011-06-23 エイ. サプロック,クリストファー Smart machining system and smart tool holder used therefor
JP2010054399A (en) * 2008-08-29 2010-03-11 Mori Seiki Co Ltd Noncontact measuring device and on-machine measuring system
JP2018039106A (en) * 2016-08-08 2018-03-15 ザウアー ゲーエムベーハーSAUER GmbH Method and device for applying a surface structuring to a workpiece on a machine tool

Also Published As

Publication number Publication date
JP2023049230A (en) 2023-04-10
JP7133075B1 (en) 2022-09-07

Similar Documents

Publication Publication Date Title
JP6548780B2 (en) Lens device, imaging device, intermediate accessory device
JP6598925B2 (en) Imaging device, lens device, intermediate accessory device
WO2023053777A1 (en) Machine tool apparatus, and machine tool
JP6552681B2 (en) Accessories, imaging device
JP7086916B2 (en) Imaging equipment, lens equipment, accessories, camera systems
WO2023053778A1 (en) Device for machine tool, and machine tool
JP2010054399A (en) Noncontact measuring device and on-machine measuring system
WO2022230856A1 (en) Device for machine tool, and machine tool
WO2022181441A1 (en) Machine tool, and device for machine tool capable of being removably attached to machine tool
WO2023054614A1 (en) Attachable device for a machine tool
US20150312475A1 (en) User programmable image capturing and processing device
JP2019104093A (en) Robot system
US11330748B2 (en) Electronic component mounting method and electronic component mounting machine
JP2020013115A (en) Lens body for lens, external housing for lens, lens system, and lens assembly
WO2020044496A1 (en) Image capture device, lens device, accessory, and camera system
CN114363603A (en) Camera module inspection device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22875650

Country of ref document: EP

Kind code of ref document: A1