Surface treatment method
The method uses a work tray with a marker and three-dimensional camera to capture and convert shape data, enabling precise surface treatment on three-dimensional workpieces without CAD data, addressing positioning challenges and improving treatment accuracy.
Patent Information
- Application Number
- JP2023035334
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-08
- Publication Date
- 2024-09-20
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing surface treatment methods struggle with accurately printing on three-dimensional workpieces when CAD data is absent or when manufacturing errors cause discrepancies between the actual and designed shapes or positions of the workpiece.
A method involving a work tray with a fixing part and marker, a three-dimensional camera, and mechanisms to capture and convert shape data into a usable coordinate system, allowing precise positioning and treatment on the workpiece without relying on CAD data, using a workpiece moving mechanism and surface treatment mechanism to adjust and treat the surface based on acquired shape data.
Enables high-precision surface treatment on three-dimensional workpieces by accurately determining and adjusting their positions and orientations, even in the absence of CAD data, improving treatment quality and reducing the need for complex fixing structures.
Smart Images

Figure 2024126739000001
Abstract
Description
[Technical field]
[0001] The present disclosure relates to a surface treatment method. [Background technology]
[0002] Conventionally, there are known surface treatment methods for performing surface treatment such as printing, polishing, or painting on the surface of a three-dimensional workpiece. For example, the technology described in Patent Document 1 uses an articulated robot to perform printing while moving a head that ejects ink by an inkjet method relative to the surface of the three-dimensional workpiece. In Patent Document 1, the articulated robot moves the head based on path data generated based on CAD (computer-aided design) data that indicates the three-dimensional shape of the workpiece. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2022-149092 A Summary of the Invention [Problem to be solved by the invention]
[0004] In the technology described in Patent Document 1, if CAD data for the workpiece does not exist, it is difficult to generate route data. Even if CAD data for the workpiece exists, the actual shape of the workpiece may differ from the shape indicated by the CAD data due to manufacturing errors of the workpiece, or errors may occur in the position and posture of the workpiece when it is placed. In these cases, the technology described in Patent Document 1 has a problem in that it is difficult to print accurately at a desired position on the workpiece. [Means for solving the problem]
[0005] In order to solve the above problems, one embodiment of the surface treatment method disclosed herein is a surface treatment method using a work tray having a fixing portion and a marker for fixing a three-dimensional workpiece, a work moving mechanism supporting at least a portion of the work tray, a surface treatment mechanism for treating the surface of the workpiece, and a three-dimensional camera capable of acquiring three-dimensional shape data, and includes, in this order, a first step of acquiring first shape data indicating the shapes of the workpiece and the marker using a first coordinate system defined by the three-dimensional camera by capturing an image of the workpiece and the marker with the three-dimensional camera while the relative positions of the work tray and the workpiece are fixed by the fixing portion; a second step of converting the first shape data into second shape data indicating the shapes of the workpiece and the marker using a second coordinate system associated with the work tray based on the shape of the marker indicated by the first shape data; a third step of adjusting the position of the workpiece by operating the work moving mechanism based on the second shape data while the work moving mechanism supports at least a portion of the work tray; and a fourth step of performing surface treatment on the workpiece by operating the surface treatment mechanism based on the second shape data, in this order. [Brief description of the drawings]
[0006] [Figure 1] 1 is a perspective view showing an outline of a system used in a surface treatment method according to an embodiment. [Diagram 2] FIG. 2 is a block diagram showing an electrical configuration of a system used in the surface treatment method according to the embodiment. [Diagram 3] FIG. 2 is a perspective view of a head moving mechanism. [Figure 4] FIG. 2 is a perspective view showing a schematic configuration of a head unit. [Diagram 5] FIG. [Figure 6] 13 is a diagram for explaining a jig for attaching the first tray unit to the workpiece moving mechanism. FIG. [Figure 7]FIG. 1 illustrates a computer used to generate path data and position adjustment data. [Figure 8] 1 is a flowchart showing a surface treatment method according to an embodiment. [Figure 9] FIG. 11 is a diagram for explaining acquisition of first shape data in a first step. [Figure 10] FIG. 11 is a diagram for explaining generation of second shape data in a second step. [Figure 11] FIG. 13 is a diagram for explaining generation of processing region data in a fifth step. [Figure 12] FIG. 13 is a diagram for explaining generation of route data in a sixth step. [Figure 13] FIG. 13 is a diagram for explaining generation of route data in a sixth step. [Figure 14] FIG. 13 is a diagram for explaining generation of position adjustment data in the seventh step. [Figure 15] 13 is a diagram for explaining the adjustment of the work position in the third step and the surface treatment in the fourth step. FIG. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0007] Hereinafter, preferred embodiments of the present disclosure will be described with reference to the accompanying drawings. Note that the dimensions and scale of each part in the drawings may differ from the actual dimensions, and some parts are shown diagrammatically to facilitate understanding. In addition, the scope of the present disclosure is not limited to these forms unless otherwise specified in the following description to the effect that the present disclosure is limited.
[0008] For convenience, the following description will be made using the mutually intersecting X-axis, Y-axis, and Z-axis as appropriate. In addition, in the following, one direction along the X-axis is the X1 direction, and the direction opposite to the X1 direction is the X2 direction. Similarly, the opposite directions along the Y-axis are the Y1 direction and the Y2 direction. In addition, the opposite directions along the Z-axis are the Z1 direction and the Z2 direction.
[0009] Here, the X-axis, Y-axis, and Z-axis are coordinate axes of a world coordinate system set in a space in which the printing apparatus 1 including the head moving mechanism 3 and the work moving mechanism 4 described later is installed. Typically, the Z-axis is a vertical axis, and the Z2 direction corresponds to the downward direction in the vertical direction. A base coordinate system based on the base of each of the head moving mechanism 3 and the work moving mechanism 4 is associated with the world coordinate system by calibration. For convenience, the following will exemplify a case in which the operation of each of the head moving mechanism 3 and the work moving mechanism 4 is controlled using the world coordinate system as a robot coordinate system. Hereinafter, the robot coordinate system may be referred to as a third coordinate system CS3.
[0010] The Z axis does not have to be a vertical axis. The X axis, the Y axis, and the Z axis are typically mutually orthogonal, but are not limited thereto, and may not be orthogonal. For example, the X axis, the Y axis, and the Z axis may intersect each other at an angle within a range of 80° to 100°.
[0011] 1. Embodiment 1-1. Overview of the system used for surface treatment method 1 is a perspective view showing an outline of a system 100 used in a surface treatment method according to an embodiment. The system 100 performs printing on the surface of a three-dimensional workpiece W by an inkjet method. Here, the system 100 has a function of measuring the three-dimensional shape of the workpiece W, and adjusts the installation attitude of the workpiece W and sets a printing path for the workpiece W based on the three-dimensional shape data acquired by this measurement. Note that printing is an example of surface treatment, and an embodiment in which printing is performed as surface treatment will be exemplified below.
[0012] 1, the workpiece W is a rugby ball having an elongated spheroid shape. Note that the shape, size, and other aspects of the workpiece W are not limited to the example shown in FIG. 1, and may be any shape or size.
[0013] As shown in Fig. 1, the system 100 includes a work tray 2, a printing device 1, and a three-dimensional camera 7. First, the outline of each part of the system 100 will be described in order with reference to Fig. 1.
[0014] The work tray 2 is a platform that supports the work W. When the three-dimensional shape of the work W is measured by the three-dimensional camera 7, the work tray 2 is placed in any position and orientation within the imaging range of the three-dimensional camera 7. On the other hand, when the printing device 1 prints on the work W, at least a portion of the work tray 2 is supported by a work moving mechanism 4 described later.
[0015] In this embodiment, the work tray 2 has a first tray section 21 and a second tray section 22. The first tray section 21 and the second tray section 22 are removably fixed in a state where they are positioned relative to each other. Here, the first tray section 21 is provided with a fixing section FX for fixing the work W. When the three-dimensional shape of the work W is measured by the three-dimensional camera 7, the first tray section 21 is attached to the second tray section 22 and supports the work W by the fixing section FX. On the other hand, when the printing device 1 prints on the work W, the first tray section 21 is supported by the work moving mechanism 4 in a state where it is detached from the second tray section 22 and supports the work W by the fixing section FX. The second tray section 22 is provided with a marker MK. The marker MK is imaged together with the work W by the three-dimensional camera 7, and is used to grasp the position and posture of the work W relative to the work tray 2 based on the image capturing result. Details of the work tray 2 will be described later with reference to FIG. 5 and FIG. 6.
[0016] The printing device 1 has a head moving mechanism 3, a workpiece moving mechanism 4, and a head unit 5. Here, the head moving mechanism 3 and the head unit 5 constitute a surface treatment mechanism 10 that treats the surface of the workpiece W. The surface treatment mechanism 10 of this embodiment is a printing mechanism that performs printing on the surface of the workpiece W by an inkjet method.
[0017] The head moving mechanism 3 is a robot that changes the position and orientation of the head unit 5 in a space represented by a third coordinate system CS3. In the example shown in Fig. 1, the head moving mechanism 3 is a so-called six-axis vertical articulated robot, and the head unit 5 is attached as an end effector to the tip of the arm of the head moving mechanism 3. The configuration of the head moving mechanism 3 will be described later with reference to Fig. 3.
[0018] The head unit 5 is an assembly having a head 5a that ejects ink, which is an example of a "liquid," toward the workpiece W. In this embodiment, the head unit 5 has a pressure adjustment valve 5b and a curing light source 5c in addition to the head 5a. The configuration of the head unit 5 will be described later with reference to FIG.
[0019] The ink is not particularly limited, but in this embodiment, an ultraviolet curable ink is used. Note that the ink is not limited to an ink containing a coloring material, and may be, for example, an ink containing conductive particles such as metal particles as dispersoids for forming wiring, a clear ink, or a treatment liquid for surface treatment of the workpiece W.
[0020] As described above, the surface treatment mechanism 10 includes the head 5a that ejects ink from a plurality of nozzles N, which will be described later, and the head moving mechanism 3 that moves the head 5a.
[0021] The workpiece moving mechanism 4 is a robot that changes the position and posture of the workpiece W in the space represented by the third coordinate system CS3. In the example shown in Fig. 1, the workpiece moving mechanism 4 is a six-axis vertical articulated robot, and a jig 40 is attached as an end effector to the tip of the arm of the workpiece moving mechanism 4 in a state fixed by screws or the like. The jig 40 is a structure that detachably supports the first tray unit 21 in a state where the first tray unit 21 is positioned at a predetermined position and posture. Details of the jig 40 will be described later with reference to Fig. 6.
[0022] The work moving mechanism 4 is configured similarly to the head moving mechanism 3, except for the end effector attached to it. However, the head moving mechanism 3 and the work moving mechanism 4 may have the same configuration or different configurations. In addition, the head moving mechanism 3 and the work moving mechanism 4 may have different numbers of joints.
[0023] The three-dimensional camera 7 is a device that measures the three-dimensional shape of a target three-dimensional object, and captures an image of the work W fixed to the work tray 2 together with the work tray 2. The three-dimensional camera 7 is not particularly limited as long as it can acquire three-dimensional shape data of the target three-dimensional object, and may be any of various sensors also called three-dimensional sensors or vision sensors.
[0024] Here, the three-dimensional camera 7 may be a sensor such as a passive sensor or an active sensor based on the principle of triangulation, or may be a sensor such as a focus-based or time-of-flight (TOF) sensor based on the principle of coaxial surveying. A sensor based on the principle of triangulation measures the three-dimensional shape of an object by capturing an image of the object with two cameras at different positions and calculating the depth of each part of the object's surface using the parallax of the two cameras. Examples of passive sensor methods based on the principle of triangulation include binocular vision, trinocular vision, and multi-baseline stereo methods. Examples of active sensor methods based on the principle of triangulation include active stereo methods such as spot light projection, slit projection, spatial coding, random dot stereo, and phase shifting, as well as moire and photometric stereo methods. A sensor based on the principle of coaxial surveying measures the three-dimensional shape of an object by irradiating light from a camera onto the object and calculating the depth of each part of the object's surface based on the time it takes for the reflected light from the object to return. Examples of focus-based sensor methods based on the principle of coaxial surveying include Depth from Focus and Depth from Defocus, etc. Examples of time-of-flight sensor methods based on the principle of coaxial surveying include time difference measurement and phase difference measurement, etc.
[0025] Although not shown, the three-dimensional camera 7 includes, for example, an imaging optical system and an imaging element. The imaging optical system is an optical system including at least one imaging lens, and may include various optical elements such as a prism, or may include a zoom lens or a focus lens. The imaging element is, for example, a CCD (Charge Coupled Device) image sensor or a CMOS (Complementary MOS) image sensor. The three-dimensional camera 7 may have a light source including a light emitting element such as an LED (light emitting diode) that emits light toward the imaging range. In addition, if the three-dimensional camera 7 itself has an image processing function, it can output CAD data of the object to be imaged to the computer 13.
[0026] Here, a three-axis imaging coordinate system is set as a first coordinate system CS1 described later in the three-dimensional camera 7. The first coordinate system CS1 may be associated with the third coordinate system CS3 described above by calibration. Then, the three-dimensional camera 7 generates shape data indicating the three-dimensional shape of the target object in the first coordinate system CS1.
[0027] In the example shown in FIG. 1, the three-dimensional camera 7 is supported by a columnar support 7a. The position, shape, size, and other aspects of the support 7a are not limited to the example shown in FIG. 1 and are arbitrary. The support 7a may be provided as necessary and may be omitted. The installation form of the three-dimensional camera 7 is not limited to the form supported by the support 7a as long as it can capture an image of the work tray 2 supporting the work W, and may be supported by, for example, the head moving mechanism 3 or the work moving mechanism 4, or may be supported by a moving mechanism such as a multi-joint robot or a conveyor that is different from the head moving mechanism 3 and the work moving mechanism 4. The three-dimensional camera 7 may also manually capture images.
[0028] 1-2. Electrical configuration of the 3D printing device 2 is a block diagram showing the electrical configuration of a system 100 used in the surface treatment method according to the embodiment. In FIG. 2, electrical components of the system 100 are shown.
[0029] 2, in addition to the components described above, the system 100 also includes a controller 11, a control module 12, and a computer 13. Each of these will be described in turn below.
[0030] 2 may be appropriately divided, some of the components may be included in other components, or the components may be integrated with other components. For example, some or all of the functions of the controller 11 or the control module 12 may be realized by a computer 13, or may be realized by another external device such as a PC (personal computer) connected to the controller 11 via a network such as a LAN (Local Area Network) or the Internet.
[0031] The controller 11 is a robot controller that controls the driving of the head moving mechanism 3 and the work moving mechanism 4. In addition to the function of controlling the driving of the head moving mechanism 3 and the work moving mechanism 4, the controller 11 has a function of generating a signal D3 for synchronizing the ink ejection operation in the head unit 5 with the operation of the head moving mechanism 3. The controller 11 has a memory circuit 11a and a processing circuit 11b.
[0032] The storage circuitry 11a stores various programs executed by the processing circuitry 11b and various data processed by the processing circuitry 11b. Note that a part or the whole of the storage circuitry 11a may be included in the processing circuitry 11b.
[0033] The memory circuit 11a stores the path data Dr and the position adjustment data Dp.
[0034] The path data Dr is used to control the operation of the head moving mechanism 3, and is information indicating the target position and target attitude of the head 5a on the path along which the head 5a should move when the printing operation is performed. Here, the position and attitude of the head 5a are defined by the position and attitude of the tool center point TCP of the head moving mechanism 3, which will be described later. Therefore, the path data Dr includes position information indicating the target position of the tool center point TCP and attitude information indicating the target attitude of the tool center point TCP. The tool center point TCP is a virtual point with a fixed positional relationship with respect to the head 5a, and may be located at a position distant from the head 5a. In this embodiment, the position information and the attitude information are expressed by a plurality of coordinate values indicating the target position in the second coordinate system CS2, which will be described later, and a plurality of vectors indicating the corresponding target attitudes. The generation of the path data Dr will be described in detail later.
[0035] The position adjustment data Dp is used to control the operation of the workpiece moving mechanism 4, and is information indicating the target position and target posture of the workpiece W when the printing operation is performed. Here, the position and posture of the workpiece W are defined by the position and posture of the tool center point of the workpiece moving mechanism 4. Therefore, the position adjustment data Dp includes position information indicating the target position of the tool center point and posture information indicating the target posture of the tool center point. The tool center point is a virtual point with a fixed positional relationship with respect to the workpiece W, and may be located away from the workpiece W. In this embodiment, the position information and posture information are expressed by a plurality of coordinate values indicating the target position in the third coordinate system CS3 and a plurality of vectors indicating the corresponding target postures. The generation of the position adjustment data Dp will be described in detail later.
[0036] The processing circuit 11b controls the operation of the arm driving mechanism 3a of the head moving mechanism 3 based on the path data Dr, and generates a signal D3. The processing circuit 11b also controls the operation of the arm driving mechanism 4a of the work moving mechanism 4 based on the position adjustment data Dp.
[0037] The arm driving mechanism 3a has a motor for driving each joint of the head moving mechanism 3, and an encoder for detecting the rotation angle of each joint of the head moving mechanism 3. Similarly, the arm driving mechanism 4a has a motor for driving each joint of the work moving mechanism 4, and an encoder for detecting the rotation angle of each joint of the work moving mechanism 4.
[0038] The processing circuit 11b performs inverse kinematic calculations, which are calculations that convert the position and posture of the head 5a indicated by the path data Dr into amounts of movement such as the rotation angle and rotation speed of each joint of the head moving mechanism 3. Then, the processing circuit 11b outputs a control signal Sk1 based on the output D1 from each encoder of the arm driving mechanism 3a so that the amounts of movement such as the actual rotation angle and rotation speed of each joint become the above-mentioned calculation results. The control signal Sk1 controls the driving of the motor of the arm driving mechanism 3a.
[0039] Similarly, the processing circuit 11b performs inverse kinematic calculation, which is a calculation for converting the position and posture of the workpiece W indicated by the position adjustment data Dp into movement amounts such as the rotation angle and rotation speed of each joint of the workpiece moving mechanism 4. Then, the processing circuit 11b outputs a control signal Sk2 based on the output D2 from each encoder of the arm driving mechanism 4a so that the movement amounts such as the actual rotation angle and rotation speed of each joint become the above-mentioned calculation results. The control signal Sk2 controls the driving of the motor of the arm driving mechanism 4a.
[0040] Furthermore, the processing circuit 11b generates a signal D3 based on an output D1 from at least one of the multiple encoders of the arm driving mechanism 3a. For example, the processing circuit 11b generates, as the signal D3, a trigger signal including a pulse at a timing when the output D1 from one of the multiple encoders becomes a predetermined value.
[0041] The control module 12 is a circuit module that is communicatively connected to the controller 11 and controls the head unit 5. The control module 12 controls the ink ejection operation in the head unit 5 based on a signal D3 output from the controller 11 and print data from the computer 13. The control module 12 has a timing signal generation circuit 12a, a power supply circuit 12b, a control circuit 12c, and a drive signal generation circuit 12d.
[0042] The timing signal generating circuit 12a generates a timing signal PTS based on the signal D3. The timing signal generating circuit 12a is formed of, for example, a timer that starts generating the timing signal PTS in response to detection of the signal D3.
[0043] The power supply circuit 12b receives power from a commercial power supply (not shown) and generates various predetermined potentials. The generated potentials are appropriately supplied to the control module 12 and each part of the head unit 5. For example, the power supply circuit 12b generates a power supply potential VHV and an offset potential VBS. The offset potential VBS is supplied to the head unit 5. The power supply potential VHV is also supplied to the drive signal generation circuit 12d.
[0044] The control circuit 12c generates a control signal SI, a waveform designation signal dCom, a latch signal LAT, a clock signal CLK, and a change signal CNG based on the timing signal PTS. These signals are synchronized with the timing signal PTS. Of these signals, the waveform designation signal dCom is input to the drive signal generation circuit 12d, and the other signals are input to the switch circuit 5d of the head unit 5.
[0045] The control signal SI is a digital signal for specifying the operating state of the drive element of the head 5a of the head unit 5, for example, specifying whether or not to eject ink from the nozzle corresponding to the drive element, and specifying the amount of ink ejected from the nozzle. The waveform specification signal dCom is a digital signal for defining the waveform of the drive signal Com. The latch signal LAT and the change signal CNG are used in conjunction with the control signal SI to define the drive timing of the drive element, thereby defining the ejection timing of ink from the nozzle. The clock signal CLK is a reference clock signal synchronized with the timing signal PTS.
[0046] The drive signal generating circuit 12d is a circuit that generates a drive signal Com for driving each drive element of the head 5a of the head unit 5. Here, among the waveforms included in the drive signal Com, a signal having a waveform that is actually supplied to the piezoelectric element 311 via the switch circuit 5d is a drive pulse PD.
[0047] The computer 13 is communicatively connected to each of the three-dimensional camera 7, the controller 11, and the control module 12, and has a function of controlling the operation of the three-dimensional camera 7, a function of supplying information such as path data Dr and position adjustment data Dp to the controller 11, and a function of supplying information such as print data Img to the control module 12. Details of the computer 13 will be described later with reference to FIG.
[0048] 1-3. Configuration of head movement mechanism Fig. 3 is a perspective view of the head moving mechanism 3. The configuration of the head moving mechanism 3 will be described below with reference to Fig. 3. Note that the configuration of the work moving mechanism 4 is similar to that of the head moving mechanism 3 except for the end effector attached thereto, and therefore a description thereof will be omitted. However, as described above, the configurations of the head moving mechanism 3 and the work moving mechanism 4 may be different from each other.
[0049] As shown in FIG. 3, the head moving mechanism 3 has a base 310 and an arm 320.
[0050] The base 310 is a platform that supports the arm 320. In the example shown in Fig. 3, the base 310 is fixed to an installation surface such as a floor or a platform (not shown) by means of screws or the like.
[0051] Arm 320 is a six-axis robot arm having a base end attached to base 310 and a tip end that changes position and posture three-dimensionally relative to the base end. Specifically, arm 320 has arms 321, 322, 323, 324, 325, and 326, which are connected in this order from base 310. Arm 326 is connected to arm 325 via joint J6 so as to be rotatable around rotation axis O6.
[0052] Each of the joints J1 to J6 is a mechanism that connects one of two adjacent members among the base 310 and the arms 321 to 326 to the other so as to be rotatable around an axis shown by a dashed line in FIG. 3. Although not shown in FIG. 3, each of the joints J1 to J6 is provided with a drive mechanism that rotates one of the two adjacent members relative to the other. The drive mechanism includes, for example, a motor that generates a drive force for the rotation, a reducer that reduces the speed of the drive force and outputs it, and an encoder such as a rotary encoder that detects an amount of movement such as the angle of the rotation. The assembly of the drive mechanisms of the joints J1 to J6 corresponds to the arm drive mechanism 3a shown in FIG. 2 described above.
[0053] The arm located at the most distal end of the above arms 320, that is, arm 326, is fitted with a head unit 5 as an end effector.
[0054] 1-4.Head unit configuration FIG. 4 is a perspective view showing a schematic configuration of the head unit 5. In the following description, for convenience, the mutually intersecting a-axis, b-axis, and c-axis are appropriately used. In addition, in the following description, one direction along the a-axis is the a1 direction, and the direction opposite to the a1 direction is the a2 direction. Similarly, the opposite directions along the b-axis are the b1 direction and the b2 direction. In addition, the opposite directions along the c-axis are the c1 direction and the c2 direction.
[0055] Here, the a-axis, b-axis, and c-axis are coordinate axes of a tool coordinate system set in the head unit 5, and the relative position and attitude relationship with the X-axis, Y-axis, and Z-axis changes due to the operation of the head moving mechanism 3 described above. In the example shown in FIG. 4, the c-axis is an axis parallel to the rotation axis O6 described above. Note that the a-axis, b-axis, and c-axis are typically perpendicular to each other. Note that the tool coordinate system and the base coordinate system described above are associated with each other by calibration.
[0056] The tool coordinate system is set with the tool center point TCP as a reference. Therefore, the position and posture of the head 5a are defined with the tool center point TCP as a reference. In this embodiment, as shown in Fig. 3, it is set at the center of the nozzle surface F. Note that the tool center point TCP is not limited to the example shown in Fig. 3, and may be, for example, a position spaced a predetermined distance from the center of the nozzle surface F in the normal direction.
[0057] As described above, the head unit 5 has the head 5a, the pressure regulating valve 5b, and the curing light source 5c. These are supported by a support 5e indicated by a two-dot chain line in Fig. 4. The installation position of the pressure regulating valve 5b is not limited to the arm 326, and may be, for example, another arm or the like, or may be a fixed position relative to the base 310.
[0058] The head 5a has a nozzle surface F and a plurality of nozzles N opening on the nozzle surface F. In the example shown in FIG. 4, the normal direction of the nozzle surface F is the c2 direction, and the plurality of nozzles N are divided into a first nozzle row La and a second nozzle row Lb arranged at intervals in the direction along the a axis. Each of the first nozzle row La and the second nozzle row Lb is a collection of a plurality of nozzles N linearly arranged in the direction along the b axis. Note that, under ideal conditions, ink droplets ejected from each nozzle N fly in the c2 direction. Hereinafter, this flight direction may be referred to as the ejection direction of the head 5a.
[0059] Although not shown, the head 5a has a piezoelectric element as a drive element and a cavity that contains ink for each nozzle N. Here, the piezoelectric element ejects ink from the nozzle corresponding to the cavity by changing the pressure of the cavity corresponding to the piezoelectric element. Note that instead of the piezoelectric element, a heater that heats the ink in the cavity may be used as a drive element for ejecting ink from the nozzle.
[0060] In the example shown in FIG. 4, the pressure regulating valve 5b is located in the c1 direction relative to the head 5a. The curing light source 5c is located in the a2 direction relative to the head 5a. The pressure regulating valve 5b is connected to an ink tank (not shown) via a supply pipe 6d. The pressure regulating valve 5b is a valve mechanism that opens and closes according to the pressure of the ink in the head 5a. By opening and closing in this way, even if the positional relationship between the head 5a and the ink tank changes, the pressure of the ink in the head 5a is maintained at a negative pressure within a predetermined range.
[0061] The curing light source 5c emits energy such as light, heat, electron beams, or radiation for curing or solidifying the ink on the workpiece W. In this embodiment, since ultraviolet-curable ink is used, the energy emission unit 3c is composed of an LED (Light Emitting Diode) that emits ultraviolet light.
[0062] 1-5. Work tray FIG. 5 is a perspective view of the work tray 2. The following description will be made using the α-axis, β-axis, and γ-axis, which are the coordinate axes of the second coordinate system CS2 associated with the work tray 2, as appropriate. The α-axis, β-axis, and γ-axis intersect with each other. In the following description, one direction along the α-axis is the α1 direction, and the direction opposite to the α1 direction is the α2 direction. Similarly, the directions opposite to each other along the β-axis are the β1 direction and the β2 direction. In addition, the directions opposite to each other along the γ-axis are the γ1 direction and the γ2 direction.
[0063] Here, the second coordinate system CS2 is a tray coordinate system set in the work tray 2, or a tool coordinate system set in the jig 40. The second coordinate system CS2 and the first coordinate system CS1 described later are associated with each other by calibration. When the second coordinate system CS2 is the tool coordinate system, the relative position and posture relationships between the α-axis, β-axis, and γ-axis and the X-axis, Y-axis, and Z-axis described above change due to the operation of the work moving mechanism 4 described above. In the example shown in FIG. 5, the γ-axis is an axis parallel to a rotation axis O6W described below that is located at the very tip of the work moving mechanism 4.
[0064] The α-axis, β-axis, and γ-axis are typically perpendicular to each other, but are not limited to this. For example, they may intersect at an angle within the range of 80° to 100°.
[0065] 5, the work tray 2 includes a first tray portion 21 provided with a plurality of fixing portions FX and a second tray portion 22 provided with markers MK. The first tray portion 21 and the second tray portion 22 are detachably fixed to each other. The first tray portion 21 and the second tray portion 22 will be described in detail below in order.
[0066] The first tray portion 21 is a member whose positional relationship with the workpiece W is fixed. The first tray portion 21 is a substantially rigid body, and is made of, for example, metal. In the example shown in Fig. 5, the first tray portion 21 is a plate-shaped member whose plate thickness direction is along the γ axis. A plurality of fixing portions FX are provided on the surface of the first tray portion 21 facing the γ1 direction.
[0067] Each fixing part FX is a mechanism for detachably fixing the workpiece W. In the example shown in FIG. 5, each fixing part FX is a mechanism for adsorbing the workpiece W by negative pressure. The configuration of the fixing part FX is appropriately determined according to the shape, size, material, etc. of the workpiece W, and is not limited to the example shown in FIG. 5. For example, the number of fixing parts FX may be three or less or five or more. Furthermore, the fixing part FX is not limited to an adsorption mechanism using negative pressure, and may be, for example, an adsorption mechanism using magnetic force, a gripping mechanism having multiple fingers or claws, or a screw fastening.
[0068] 5, the first tray part 21 is generally rectangular in shape having a pair of first sides parallel to the α-axis and a pair of second sides parallel to the β-axis when viewed in the direction along the γ-axis. Positioning portions 21a are provided between the adjacent first and second sides of the first tray part 21. Each positioning portion 21a is composed of a surface perpendicular to the α-axis and a surface perpendicular to the β-axis.
[0069] The shape of the first tray portion 21 need only be such that it can be positioned at a predetermined position and attitude relative to the second tray portion 22 when attached to the second tray portion 22, and such that it can be positioned at a predetermined position and attitude relative to the jig 40 when attached to the jig 40, and is not limited to the example shown in Figure 5.
[0070] The second tray part 22 is a member that detachably fixes the first tray part 21. The second tray part 22 is a substantially rigid body, and is made of, for example, metal. In the example shown in FIG. 5, the second tray part 22 is a plate-shaped member whose plate thickness direction is along the γ-axis. A positioning part 22a and a plurality of markers MK are provided on the surface of the second tray part 22 facing the γ1 direction. The positioning part 22a is a recess that accommodates the first tray part 21 and positions the first tray part 21 at a predetermined position and attitude relative to the second tray part 22 by contacting the positioning part 21a. In the example shown in FIG. 5, the positioning part 22a has substantially the same shape as the first tray part 21 when viewed in the direction along the γ-axis. Here, the first tray part 21 is fixed to the second tray part 22 by appropriate means such as screwing, as necessary. The shape of the positioning portion 22a is not limited to the example shown in FIG. 5, as long as it can position the first tray portion 21 relative to the second tray portion 22 at a predetermined position and in a predetermined posture.
[0071] The multiple markers MK are marks that can be imaged by the three-dimensional camera 7 in a state that can be distinguished from other parts of the work tray 2. The marker MK is a collective term for multiple first markers MK1 and multiple second markers MK2. In the example shown in FIG. 5, each first marker MK1 is a circular dot, and is formed, for example, by black painting. Each second marker MK2 is a substantially cylindrical convex portion extending in the γ1 direction, and the tip of the second marker is tapered so as to become narrower. In addition, the multiple markers MK are arranged at intervals from each other around the positioning portion 22a when viewed in the direction along the γ axis. The position, size, and shape of each marker MK are known. Here, since the second coordinate system CS2 is associated with the work tray 2, it is possible to express the position, size, and shape of each marker MK as fixed values in the coordinate values of the second coordinate system CS2. It is also possible to omit either the first marker MK1 or the second marker MK2.
[0072] In the example shown in Fig. 5, multiple markers MK are located on the same αβ plane perpendicular to the γ axis. The number, position, size and shape of the markers MK can be expressed as fixed values in the second coordinate system CS2, and the position and posture of the work tray 2 can be identified from the imaging results by the three-dimensional camera 7, and are not limited to the example shown in Fig. 5. Furthermore, if the shape of at least a part of the work tray 2 is known and the position and posture of the work tray 2 can be identified by the shape, the part itself may be used as a marker.
[0073] Fig. 6 is a diagram for explaining a jig 40 for attaching the first tray unit 21 to the work moving mechanism 4. As shown in Fig. 6, the jig 40 is fixed by screws or the like to an arm 426 that is the most distal arm among a plurality of arms of the articulated robot that constitutes the work moving mechanism 4. The arm 426 is rotatable around a rotation axis O6W.
[0074] The jig 40 is a member that detachably fixes the first tray portion 21. The jig 40 is substantially rigid and is made of, for example, metal. In the example shown in FIG. 6, the jig 40 has a plate portion 41 and a plurality of protrusions 42. The plate portion 41 is plate-shaped with the direction along the γ-axis as the plate thickness direction. The first tray portion 21 is placed on the surface of the plate portion 41 facing the γ1 direction. The plurality of protrusions 42 protrude in the γ1 direction from the surface of the plate portion 41 facing the γ1 direction. The plurality of protrusions 42 correspond to the plurality of positioning portions 21a of the first tray portion 21 described above, and each protrusion 42 contacts the corresponding positioning portion 21a of the first tray portion 21 placed on the surface of the plate portion 41 facing the γ1 direction. This restricts the movement of the first tray portion 21 placed on the surface of the plate portion 31 facing the γ1 direction in a direction perpendicular to the γ-axis.
[0075] In this way, the first tray portion 21 is positioned at a predetermined position and attitude relative to the jig 40. Here, if necessary, the first tray portion 21 is fixed to the jig 40 by appropriate means such as screws. Note that the shape of the jig 40 is not limited to the example shown in FIG. 6 as long as it can position the first tray portion 21 at a predetermined position and attitude relative to the jig 40.
[0076] 1-6. Printing route data Fig. 7 is a diagram showing a computer 13 used to generate the route data Dr and the position adjustment data Dp. In this embodiment, the above-mentioned route data Dr and position adjustment data Dp are generated by the computer 13. As shown in Fig. 7, the computer 13 has a display device 13d, an input device 13c, a memory circuit 13a, a processing circuit 13b, and a communication device 13e. These are connected to each other so as to be able to communicate with each other.
[0077] The display device 13d displays various images under the control of the processing circuit 13b. Here, the display device 13d has various display panels, such as a liquid crystal display panel or an organic EL (electro-luminescence) display panel. Here, the display device 13d appropriately displays information required for the user to set or check when generating the path data Dr and the position adjustment data Dp under the control of the processing circuit 13b as necessary. The display device 13d may be provided outside the computer 13. Also, the display device 13d may be provided as necessary, and may be omitted.
[0078] The input device 13c is a device that accepts operations from a user. For example, the input device 13c has a pointing device such as a touch pad, a touch panel, or a mouse. If the input device 13c has a touch panel, it may also function as the display device 13d. The input device 13c may be provided outside the computer 13. The input device 13c may be provided as necessary, and may be omitted.
[0079] The communication device 13e is a device that, under the control of the processing circuit 13b, communicates wirelessly or wired with the three-dimensional camera 7. For example, the communication device 13e has an interface such as a Universal Serial Bus (USB) or a Local Area Network (LAN).
[0080] The memory circuitry 13a is a device that stores various programs executed by the processing circuitry 13b and various data processed by the processing circuitry 13b. The memory circuitry 13a has, for example, a hard disk drive or a semiconductor memory. Note that a part or the whole of the memory circuitry 13a may be provided in an external storage device or server of the computer 13.
[0081] The memory circuit 13a stores the first coordinate system data Da, the second coordinate system data Db, the third coordinate system data Dc, the transformation parameters CP, and the reference position data Dp0.
[0082] The first coordinate system data Da is data or a data group indicated in a first coordinate system CS1 (to be described later) set in the three-dimensional camera 7. The first coordinate system data Da includes first shape data Da1.
[0083] The first shape data Da1 is data indicating the shapes of the workpiece W and the markers MK in a first coordinate system CS1 defined by the three-dimensional camera 7. The first shape data Da1 is generated by capturing an image of the workpiece W and the work tray 2 with the three-dimensional camera 7 in a state in which the relative positions of the workpiece W and the work tray 2 are fixed by the fixing part FX of the work tray 2 described above. The data format of the first shape data Da1 is not particularly limited, but is, for example, an STL (Standard Triangulated Language) format that represents the shape of the surface of the workpiece W by a plurality of polygons. The generation of the first shape data Da1 will be described in detail later with reference to FIG. 9.
[0084] The second coordinate system data Db is data or a data group indicated in a second coordinate system CS2 set on the work tray 2. The second coordinate system data Db includes second shape data Db1, processing area data Db2, and path data Dr.
[0085] The second shape data Db1 is data indicating the shapes of the workpiece W and the markers MK in a second coordinate system CS2 associated with the work tray 2. The second shape data Db1 is generated by converting the first shape data Da1 from a first coordinate system CS1 to a second coordinate system CS2 (described later) based on the shape of the markers MK indicated by the first shape data Da1. A conversion parameter CP is used for this coordinate conversion. The data format of the second shape data Db1 is not particularly limited, but is, for example, an STL (Standard Triangulated Language) format that represents the shape of the surface of the workpiece W by a plurality of polygons. The generation of the second shape data Db1 will be described later with reference to FIG. 10.
[0086] Here, the conversion parameters CP are parameters for converting coordinate values in a first coordinate system CS1 (described later) into coordinate values in a second coordinate system CS2. The conversion parameters CP are generated by calculating the correspondence between the coordinate values in the first coordinate system CS1 and the coordinate values in the second coordinate system CS2 (described later) based on the shape of the marker MK indicated by the first shape data Da1.
[0087] The processing area data Db2 is data relating to an area on the workpiece W where surface processing is to be performed, and indicates the area by coordinate values in a second coordinate system. The processing area data Db2 is generated based on the second shape data Db1. The data format of the processing area data Db2 is not particularly limited, but for example, it is an STL (Standard Triangulated Language) format that represents the shape of the surface of the workpiece W by a plurality of polygons. The generation of the processing area data Db2 will be described in detail later with reference to FIG. 11.
[0088] As described above, the path data Dr is information indicating the target position and posture of the head 5a on the path along which the head 5a should move when performing a printing operation, and specifies the operation of the surface treatment mechanism 10. Here, the path data Dr is used to control the operation of the surface treatment mechanism 10 after being coordinate-converted from the second coordinate system CS2 to the third coordinate system CS3 as necessary. The path data Dr is generated based on the second shape data Db1. The generation of the path data Dr will be described in detail later with reference to Figs. 12 and 13.
[0089] The third coordinate system data Dc is data or a data group indicated by a third coordinate system CS3 set as a robot coordinate system of the head moving mechanism 3 and the work moving mechanism 4. The third coordinate system data Dc includes position adjustment data Dp.
[0090] As described above, the position adjustment data Dp is information indicating the target position and posture of the work W when the printing operation is performed, and specifies the operation of the work moving mechanism 4. The position adjustment data Dp is generated based on one or both of the path data Dr and the processing area data Db2, and the reference position data Dp0. The generation of the position adjustment data Dp will be described in detail later with reference to FIG.
[0091] Here, the reference position data Dp0 is data relating to a position that serves as a reference in the operation of the surface treatment mechanism 10 or the head moving mechanism 3, and indicates the correspondence relationship between the position and attitude of the reference position in the second coordinate system CS2 and the reference position in the third coordinate system CS3. These reference positions can be arbitrarily set by the user.
[0092] The processing circuit 13b is a device having a function of controlling each part of the computer 13 and a function of processing various data. The processing circuit 13b has a processor such as a CPU. The processing circuit 13b may be composed of a single processor or may be composed of multiple processors. In addition, some or all of the functions of the processing circuit 13b may be realized by hardware such as a DSP, an ASIC, a PLD, or an FPGA.
[0093] The processing circuit 13b realizes various functions by reading and executing a program from the storage circuit 13a. Specifically, the processing circuit 13b realizes a function of controlling the operation of the three-dimensional camera 7, a function of supplying information such as route data Dr and position adjustment data Dp to the controller 11, and a function of supplying information such as print data Img to the control module 12. Here, the processing circuit 13b obtains first shape data Da1 from the three-dimensional camera 7 by controlling the operation of the three-dimensional camera 7. The processing circuit 13b also generates second shape data Db1 based on the first shape data Da1, and generates route data Dr and position adjustment data Dp based on the second shape data Db1.
[0094] 1-6.Surface treatment method 8 is a flowchart showing a surface treatment method according to an embodiment. The surface treatment method is performed using the above-mentioned system 100. That is, the surface treatment method uses a work tray 2 having a fixing part FX and a marker MK for fixing a three-dimensional workpiece W, a work moving mechanism 4 supporting at least a part of the work tray 2, a surface treatment mechanism 10 for treating the surface of the workpiece W, and a three-dimensional camera 7 capable of acquiring three-dimensional shape data.
[0095] As shown in Fig. 8, the processing method includes a first step ST1, a second step ST2, a fifth step ST5, a sixth step ST6, a seventh step ST7, a third step ST3, and a fourth step ST4 in this order. These steps will be briefly described below in chronological order. Details of these steps will be described with reference to Figs. 9 to 15.
[0096] In the first step ST1, the workpiece W and the marker MK are imaged by the three-dimensional camera 7 in a state in which the relative positions of the workpiece tray 2 and the workpiece W are fixed by the fixing part FX. This imaging is performed under the control of the processing circuit 13b. As a result, the processing circuit 13b acquires the first shape data Da1. The acquired first shape data Da1 is stored in the memory circuit 13a.
[0097] In the second step ST2, the first shape data Da1 is converted into the second shape data Db1 based on the shape of the marker MK indicated by the first shape data Da1. This conversion is performed by the processing circuit 13b. As a result, the processing circuit 13b generates the second shape data Db1. The generated second shape data Db1 is stored in the memory circuit 13a.
[0098] In the fifth step ST5, which is performed between the second step ST2 and the third step ST3, processing region data Db2 is generated based on the second shape data Db1. This generation is performed by the processing circuitry 13b. The generated processing region data Db2 is stored in the memory circuitry 13a.
[0099] In the sixth step ST6, which is performed between the third step ST3 and the fifth step ST5, route data Dr is generated based on both the second shape data Db1 and the processing area data Db2. This generation is performed by the processing circuit 13b. The generated route data Dr is stored in the storage circuit 13a.
[0100] In the seventh step ST7, which is performed between the third step ST3 and the sixth step ST6, position adjustment data Dp is generated based on one or both of the route data Dr and the processing area data Db2 and the reference position data Dp0. This generation is performed by the processing circuit 13b. The generated position adjustment data Dp is stored in the memory circuit 13a.
[0101] In the third step ST3, the work moving mechanism 4 is operated based on the position adjustment data Dp generated based on the second shape data Db1 while supporting the first tray portion 21, which is a part of the work tray 2, to adjust the position of the work W. As a result, the work W is placed in an appropriate position and posture according to the position and posture of the work W relative to the work tray 2.
[0102] In a fourth step ST4, the surface treatment mechanism 10 is operated based on the path data Dr generated on the basis of the second shape data Db1, thereby performing surface treatment on the workpiece W.
[0103] By using the above-described surface treatment method, even if there is no CAD data for the workpiece W, it is possible to perform printing with high accuracy at a desired position on the workpiece W. Each step of the surface treatment method will be described in detail below.
[0104] 1-6a. First step 9 is a diagram for explaining acquisition of the first shape data Da1 in the first step ST1. In the first step ST1, as shown in FIG. 9, the workpiece W and the marker MK are imaged by the three-dimensional camera 7 in a state in which the relative positions of the workpiece W and the workpiece tray 2 are fixed by the fixing part FX. The shapes of the workpiece W and the marker MK indicated by the first shape data Da1 obtained by this imaging are indicated in the first coordinate system CS1.
[0105] The first coordinate system CS1 is a three-axis coordinate system with the x-axis, y-axis, and z-axis as its coordinate axes, and is set in the three-dimensional camera 7. That is, the first coordinate system CS1 changes according to the installation position and installation attitude of the three-dimensional camera 7. The x-axis, y-axis, and z-axis intersect with each other. In the following, one direction along the x-axis is the x1 direction, and the direction opposite to the x1 direction is the x2 direction. Similarly, the directions opposite to each other along the y-axis are the y1 direction and the y2 direction. In addition, the directions opposite to each other along the z-axis are the z1 direction and the z2 direction.
[0106] 9, the imaging direction of the three-dimensional camera 7 is the z2 direction. Here, the x-axis, y-axis, and z-axis are typically perpendicular to each other, but are not limited to this, and may intersect at an angle within a range of 80° to 100°, for example.
[0107] Here, the relationship between the position and posture of the workpiece W and the marker MK indicated by the first shape data Da1 is the same as the position and posture of the workpiece W and the marker MK when the workpiece W and the marker MK are imaged by the three-dimensional camera 7. In contrast, the relationship between the position and posture of the marker MK and the coordinate axes of the first coordinate system CS1 is arbitrary and changes depending on the installation position and installation posture of the work tray 2 when the workpiece W and the marker MK are imaged by the three-dimensional camera 7. The position and posture of the workpiece W and the work tray 2 relative to the three-dimensional camera 7 may be changed during the imaging. This allows the three-dimensional camera 7 to image a wide range of the workpiece W. In addition, the change in position and posture during the imaging is grasped by, for example, the three-dimensional camera 7 or the processing circuit 13b of the computer 13 continuously recognizing the first marker MK1.
[0108] As described above, in the first step ST1, the workpiece W and the markers MK are imaged by the three-dimensional camera 7 in a state in which the relative positional relationship between the work tray 2 and the workpiece W is fixed by the fixing part FX, thereby acquiring the first shape data Da1 indicating the shapes of the workpiece W and the markers MK in the first coordinate system CS1 defined by the three-dimensional camera 7. In this manner, in the first step ST1, the first shape data Da1 indicating the shapes of the workpiece W and the markers MK is acquired, so that CAD data of the workpiece W is not required. Here, in the first step ST1, the image is captured by the three-dimensional camera 7 in a state in which the relative positional relationship between the markers MK and the workpiece W is fixed, so that the relative positional relationship between the workpiece W and the markers MK indicated by the first shape data Da1 is also fixed.
[0109] 1-6b. Second step 10 is a diagram for explaining the generation of the second shape data Db1 in the second step ST2. In the second step ST2, the first shape data Da1 is coordinate-converted from the first coordinate system CS1 to the second coordinate system CS2 based on the shape of the marker MK indicated by the first shape data Da1, thereby generating the second shape data Db1.
[0110] The coordinate conversion is performed based on the correspondence between the position and orientation of the marker MK indicated by the first shape data Da1 and the known position and orientation of the marker MK in the second coordinate system CS2.
[0111] In the example shown in Fig. 10, the coordinate conversion is performed so that the tapered tips of the second markers MK2 indicated by the second shape data Db1 are located on the same αβ plane perpendicular to the γ axis of the second coordinate system CS2, the tips of the two second markers MK2 shown in Fig. 10 are parallel to the α axis of the second coordinate system CS2, and the tips of the two second markers MK2 not shown in Fig. 10 are parallel to the β axis of the second coordinate system CS2. The origin of the second coordinate system CS2 may be aligned with the tip of any one of the second markers MK2.
[0112] In this coordinate conversion, first, a conversion parameter CP for the coordinate conversion is generated based on the shape of the marker MK indicated by the first shape data Da1. Then, the coordinate conversion is performed using the conversion parameter CP. The conversion parameter CP is obtained by associating the first coordinate system CS1 with the second coordinate system CS2 so that the shape of the marker MK indicated by the first shape data Da1 becomes a known shape in the second coordinate system CS2, that is, so that the position and orientation of the marker MK indicated by the first shape data Da1 becomes a known position and orientation in the second coordinate system CS2.
[0113] As described above, in the second step ST2, based on the shape of the marker MK indicated by the first shape data Da1, the first shape data Da1 is converted into the second shape data Db1 indicating the shape of the workpiece W and the marker MK in the second coordinate system CS2 associated with the work tray 2. Here, since the positional relationship between the workpiece W and the marker MK indicated by the first shape data Da1 is fixed as described above, in the second step ST2, the first shape data Da1 is converted into the second shape data Db1 indicating the shape of the workpiece W and the marker MK using the second coordinate system CS2 associated with the work tray 2, so that the second shape data Db1 can be acquired as data indicating the shape of the workpiece W taking into account the position and posture of the workpiece W relative to the work tray 2.
[0114] 1-6c. Fifth step Fig. 11 is a diagram for explaining the generation of the processing area data Db2 in the fifth step ST5. In the fifth step ST5, as shown in Fig. 11, an area RP on the workpiece W indicated by the second shape data Db1 where surface processing should be performed is set. This setting generates the processing area data Db2. This setting is performed, for example, by a user specifying the range of the area RP using an image for a GUI (graphical user interface) displayed on the display device 13d under the control of the processing circuit 13b, and is set by the coordinate values of the second coordinate system CS2.
[0115] As described above, in the fifth step ST5, the processing area data Db2, which is data related to the area RP on the workpiece W where surface treatment is to be performed, is generated based on the second shape data Db1. The processing area data Db2 is used for controlling the operation of the workpiece moving mechanism 4 in the third step and for controlling the operation of the surface treatment mechanism 10 in the fourth step ST4, as described below. That is, the operation of the workpiece moving mechanism 4 in the third step ST3 and the operation of the surface treatment mechanism 10 in the fourth step ST4 are each executed based on the processing area data Db2. Therefore, in the fifth step ST5, the user can specify the area on the workpiece W where surface treatment is to be performed using a UI (User Interface) or the like.
[0116] 1-6d. Sixth step 12 and 13 are diagrams for explaining the generation of the path data Dr in the sixth step ST6. In the sixth step ST6, as shown in Fig. 12, a path RU along which the head 5a should move during the printing operation is set. This setting generates the path data Dr.
[0117] The path RU is set, for example, as shown in FIG. 13, by setting a plurality of teaching points Pa and a plurality of interpolation points Pb on the center line LC of the area RP, and then determining predetermined positions and orientations for each of these points.
[0118] Here, the center line LC is aligned along the moving direction of the head 5a during printing operation. The teaching points Pa are points set at a predetermined interval on the center line LC based on a user's designation or a preset condition. The interpolation points Pb are points set between two adjacent teaching points Pa as necessary, based on a user's designation or a preset condition, so as to make up for a shortage in the number of teaching points Pa. The interpolation points Pb may be omitted.
[0119] In addition, when determining the specified position and posture, for each teaching point Pa and each interpolation point Pb, the posture of the head 5a is determined by the coordinate values of the second coordinate system CS2 so that the discharge direction of the head 5a is parallel to the normal directions Va, Vb of the surface of the workpiece W indicated by the second shape data Db1, and the position of the head 5a is determined by the coordinate values of the second coordinate system CS2 so that the distance between the region RP and the head 5a is maintained at a specified distance.
[0120] As described above, in the sixth step ST6, the path data Dr that defines the operation of the surface treatment mechanism 10 in the fourth step ST4 is generated based on both the second shape data Db1 and the processing area data Db2. The path data Dr is used to control the operation of the surface treatment mechanism 10 in the fourth step ST4. That is, the operation of the surface treatment mechanism 10 in the fourth step ST4 is executed based on the path data Dr. Therefore, in the fourth step ST4, the surface treatment mechanism 10 can be operated based on both the second shape data Db1 and the processing area data Db2.
[0121] 1-6e. Seventh step Fig. 14 is a diagram for explaining the generation of the position adjustment data Dp in the seventh step ST7. In the seventh step ST7, as shown in Fig. 14, a predetermined position PS in the second coordinate system CS2 of the route RU indicated by the route data Dr is set to be located at a reference position P0 in the third coordinate system CS3 indicated by the reference position data Dp0. By this setting, the position adjustment data Dp in the third coordinate system CS3 is generated.
[0122] In the example shown in FIG. 14, the movement direction of the head 5a during printing operation is mainly the X1 direction, and the reference position P0 is a position close to the end in the X2 direction of the range in which the head 5a can be moved by the head moving mechanism 3 and in which the desired print quality can be achieved. The predetermined position PS is the start point of the path RU, that is, the position where the head 5a starts ejecting ink during printing operation. The reference position P0 and the predetermined position PS are not limited to the example shown in FIG. 14. For example, the predetermined position PS may be a midway position on the path RU. The reference position P0 is determined according to the predetermined position PS.
[0123] 1-6f. Third and fourth steps Fig. 15 is a diagram for explaining the adjustment of the position of the workpiece W in the third step ST3 and the surface treatment in the fourth step ST4. In the third step ST3, as shown in Fig. 15, the workpiece moving mechanism 4 adjusts the position of the workpiece W so that the predetermined position PS becomes the reference position P0 indicated by the reference position data Dp0 while supporting the first tray portion 21, which is a part of the work tray 2. This adjustment is performed under the control of the controller 11 based on the position adjustment data Dp.
[0124] In this way, the operation of the workpiece moving mechanism 4 in the third step ST3 is performed based on the position adjustment data Dp. Here, the position adjustment data Dp, as described above, specifies the operation of the workpiece moving mechanism 4 in the third step ST3, and is generated in the seventh step ST7 described above based on one or both of the path data Dr and the processing area data Db2 and the reference position data Dp0. As described above, the reference position data Dp0 is data related to a position that serves as a reference in the operation of the surface treatment mechanism 10. Therefore, by using the position adjustment data Dp in the third step ST3, the workpiece moving mechanism can be operated based on one or both of the path data Dr and the processing area data Db2 and the reference position data Dp0.
[0125] As described above, in the third step ST3, the workpiece moving mechanism 4 is operated based on the second shape data Db1 while supporting at least a part of the workpiece tray 2, to adjust the position of the workpiece W. Here, as described above, since the second shape data Db1 indicates the shape of the workpiece W taking into account the position and posture of the workpiece W relative to the work tray 2, the position of the workpiece W is adjusted with high precision in the third step ST3 so that the surface treatment is performed with high precision at a desired position on the surface of the workpiece W, regardless of the position and posture of the workpiece W relative to the work tray 2. In other words, by performing the third step ST3 of adjusting the position of the workpiece W, it is no longer necessary to accurately determine the position and posture of the fixing part FX and the workpiece W, and an error is allowed. This not only simplifies the configuration of the fixing part FX, but also shortens the time required to adjust the position and posture in the operation of fixing the workpiece W to the fixing part FX, thereby improving productivity.
[0126] After the third step ST3, while maintaining the first tray unit 21 supported as described above, in a fourth step ST4, the surface treatment mechanism 10 ejects ink from the head 5a while moving the head 5a along the path RU, thereby performing printing. Here, the movement of the head 5a by the surface treatment mechanism 10 is performed under the control of the controller 11 based on the path data Dr.
[0127] Here, as described above, the path RU is set so that the distance between the area RP and the head 5a is kept at a predetermined distance, so that in the fourth step ST4, the head 5a is scanned at a predetermined distance from the surface of the workpiece W by the operation of the head moving mechanism 3 based on the path data Dr. Therefore, printing can be performed on the surface of the workpiece W with high accuracy by the inkjet method.
[0128] Also, as described above, in each of the third step ST3 and the fourth step ST4, the first tray section 21 is used without using the second tray section 22. Therefore, in the third step ST3 and the fourth step ST4, the burden on the work moving mechanism 4 can be reduced by reducing the weight and size of the structure to be moved together with the work W by the work moving mechanism 4. As a result, the accuracy of the attitude control of the work W is improved, and the quality of the surface treatment, that is, the print quality in this embodiment, can be improved. Also, in the third step ST3 and the fourth step ST4, it is possible to eliminate unnecessary configurations around the work W, and as a result, the degree of freedom of operation of the work moving mechanism 4 and the surface treatment mechanism 10 can be increased.
[0129] As described above, in the fourth step ST4, the surface treatment mechanism 10 is operated based on the second shape data Db1 to perform surface treatment on the workpiece W. Here, as described above, the second shape data Db1 indicates the shape of the workpiece W taking into account the position and orientation of the workpiece W relative to the work tray 2, and therefore, in the fourth step ST4, surface treatment is performed on the workpiece W so that the surface treatment is performed with high precision at a desired position on the surface of the workpiece W, regardless of the position and orientation of the workpiece W relative to the work tray 2.
[0130] In the above surface treatment method, the first shape data Da1 indicating the shapes of the workpiece W and the marker MK is acquired in the first step ST1, so that CAD data of the workpiece W is not required. Here, in the first step ST1, the three-dimensional camera captures the image with the positional relationship between the marker MK and the workpiece W fixed, so that the positional relationship between the workpiece W and the marker MK indicated by the first shape data Da1 is also fixed. Then, in the second step ST2, the first shape data Da1 is converted into the second shape data Db1 indicating the shapes of the workpiece W and the marker MK using the second coordinate system CS2 associated with the work tray 2, so that the second shape data Db1 can be acquired as data indicating the shape of the workpiece W taking into account the position and posture of the workpiece W relative to the work tray 2. Therefore, in order to perform surface treatment at a desired position on the surface of the workpiece W with high accuracy regardless of the position and posture of the workpiece W relative to the work tray 2, the position of the workpiece W is adjusted with high accuracy in the third step ST3, and the surface treatment of the workpiece W is performed in the fourth step ST4. Moreover, since the surface treatment of the workpiece W in the fourth step ST4 is based on the first shape data Da1 obtained by imaging the actual workpiece W with a three-dimensional camera, the surface treatment can be performed even if there is no pre-prepared CAD data of the workpiece W. Furthermore, since the path data Dr is based on the first shape data Da1 obtained by imaging the actual workpiece W with a three-dimensional camera, it becomes possible to perform surface treatment taking into account manufacturing errors of the workpiece W, and the workpiece can be accurately printed at a desired position on the workpiece.
[0131] As described above, the operation of the workpiece moving mechanism 4 in the third step ST3 and the operation of the surface treatment mechanism 10 in the fourth step ST4 are each executed based on the treatment area data Db2 generated in the fifth step ST5 between the second step ST2 and the third step ST3. Therefore, in the fifth step ST5, the user can specify an area on the workpiece W where the surface treatment should be executed using a UI or the like.
[0132] Furthermore, as described above, the operation of the surface treatment mechanism 10 in the fourth step ST4 is executed based on the path data Dr generated in the sixth step ST6 between the fifth step ST5 and the third step ST3. Therefore, in the fourth step ST4, the surface treatment mechanism 10 can be operated based on both the second shape data Db1 and the processing region data Db2.
[0133] As described above, the operation of the workpiece moving mechanism 4 in the third step ST3 is performed based on the position adjustment data Dp generated in the seventh step ST7 between the sixth step ST6 and the third step ST3. Therefore, in the third step ST3, the workpiece moving mechanism 4 can be operated based on one or both of the path data Dr and the processing area data Db2 and the reference position data Dp0.
[0134] Furthermore, as described above, by using the first tray unit 21 instead of the second tray unit 22 in the third step ST3 and the fourth step ST4, it is possible to reduce the weight and size of the structure to be moved together with the work W by the work moving mechanism 4. As a result, by reducing the burden on the work moving mechanism 4, the accuracy of the attitude control of the work W is improved, and the print quality can be improved. Also, by eliminating unnecessary configurations around the work W in the third step ST3 and the fourth step ST4, it is possible to increase the degree of freedom of operation of the work moving mechanism 4 and the surface treatment mechanism 10.
[0135] Also, as mentioned above, in the fourth step ST4, the head 5a is scanned at a predetermined distance from the surface of the workpiece W by the operation of the head moving mechanism 3 based on the path data Dr, thereby enabling printing on the surface of the workpiece W with high precision using the inkjet method.
[0136] 2. Variations Each of the above-mentioned exemplary embodiments can be modified in various ways. Specific modified embodiments that can be applied to each of the above-mentioned embodiments are illustrated below. Note that two or more embodiments selected from the following exemplary embodiments can be appropriately combined as long as they are not contradictory to each other.
[0137] 2-1. Variation 1 In the above-described embodiment, the route data Dr and the position adjustment data Dp are generated using the computer 13, but this is not limited to this, and for example, some or all of the functions for generating the route data Dr and the position adjustment data Dp may be implemented in the controller 11.
[0138] 2-2. Variation 2 In the above embodiment, the work tray 2 is exemplified as being separable into the first tray portion 21 and the second tray portion 22, but is not limited to this embodiment. For example, the work tray 2 may be composed of a single member. In this case, the entire work tray 2 including the marker MK is attached to the jig 40 of the work moving mechanism 4.
[0139] 2-3. Variation 3 In the above-mentioned embodiment, a configuration using a six-axis vertical multi-axis robot as the head moving mechanism 3 and the work moving mechanism 4 is exemplified, but is not limited to this configuration. These moving mechanisms may be any robot that can three-dimensionally change the position and posture of the liquid ejection head relative to the work. Therefore, these moving mechanisms may be, for example, a vertical multi-axis robot other than six axes, or a horizontal multi-axis robot. Furthermore, the robot arm may have an extension mechanism or the like in addition to a joint configured by a rotation mechanism. However, from the viewpoint of the balance between the print quality in the printing operation and the degree of freedom of the movement of the moving mechanism in the non-printing operation, it is preferable that the moving mechanism is a multi-axis robot with six or more axes. Furthermore, a dual-arm robot may be used, in which case one arm can be used as the head moving mechanism 3 and the other arm can be used as the work moving mechanism 4.
[0140] 2-4. Variation 4 In the above embodiment, a configuration in which screws or the like are used to fix the head 5a to the head moving mechanism 3 is exemplified, but the present invention is not limited to this configuration. For example, the head 5a may be fixed to the head moving mechanism 3 by gripping the head 5a with a gripping mechanism such as a hand attached as an end effector of the head moving mechanism 3.
[0141] 2-5. Variation 5 In the above-described embodiment, a configuration in which printing is performed using one type of ink is exemplified, but this is not limited to this configuration, and the present disclosure can also be applied to a configuration in which printing is performed using two or more types of ink.
[0142] 2-6. Variation 6 In the above embodiment, printing is exemplified as an example of the surface treatment, but the surface treatment in the surface treatment method of the present disclosure can be applied to various surface treatments performed while changing the relative position with respect to the workpiece, and is not limited to printing, and may be polishing, painting, application of adhesive or grease, etc. For example, when the surface treatment is polishing, a polishing unit provided with a rotating buff or brush may be attached to the head moving mechanism 3 as an end effector instead of the head unit 5. When the surface treatment is painting, a painting unit provided with a spray gun for spraying paint may be attached to the head moving mechanism 3 as an end effector instead of the head unit 5. When the surface treatment is painting, a painting unit provided with a dispenser for discharging adhesive or grease may be attached to the head moving mechanism 3 as an end effector instead of the head unit 5. In addition, the surface treatment in which a liquid is discharged from the head 5a may be other than the formation of wiring or electrodes of a wiring board by discharging a solution of a conductive material. In addition, the surface treatment may be application of a liquid such as an adhesive to the workpiece.
[0143] 3. Summary of this disclosure The following is a summary of this disclosure.
[0144] (Additional Note 1) A surface treatment method according to a first aspect of the present disclosure, which is a preferred example of the present disclosure, is a surface treatment method using a work tray having a fixing portion and a marker for fixing a three-dimensional workpiece, a work moving mechanism that supports at least a part of the work tray, a surface treatment mechanism that processes the surface of the workpiece, and a three-dimensional camera that can acquire three-dimensional shape data, in which the workpiece and the marker are imaged by the three-dimensional camera while the relative positions of the work tray and the workpiece are fixed by the fixing portion, thereby obtaining a first coordinate system (first coordinate system) that indicates the shapes of the workpiece and the marker in a first coordinate system defined by the three-dimensional camera. The method includes, in this order, a first step of acquiring shape data; a second step of converting the first shape data into second shape data indicating the shapes of the workpiece and the marker in a second coordinate system associated with the work tray based on the shape of the marker indicated by the first shape data; a third step of adjusting the position of the workpiece by operating the work moving mechanism based on the second shape data while the work moving mechanism supports at least a portion of the work tray; and a fourth step of performing surface treatment on the workpiece by operating the surface treatment mechanism based on the second shape data.
[0145] In the first aspect described above, since the first shape data indicating the shapes of the workpiece and the marker is acquired in the first step, CAD data of the workpiece is not required. Here, since the 3D camera captures the image in the first step with the positional relationship between the marker and the workpiece fixed, the positional relationship between the workpiece and the marker indicated by the first shape data is also fixed. Then, in the second step, the first shape data is converted into second shape data indicating the shapes of the workpiece and the marker using a second coordinate system associated with the work tray, so that the second shape data can be acquired as data indicating the shape of the workpiece taking into account the position and posture of the workpiece relative to the work tray. Therefore, in order to perform surface treatment at a desired position on the surface of the workpiece with high accuracy regardless of the position and posture of the workpiece relative to the work tray, the position of the workpiece is adjusted with high accuracy in the third step, and the surface treatment of the workpiece is performed in the fourth step.
[0146] (Note 2) In the second aspect, which is a preferred example of the first aspect, a fifth step of generating processing area data, which is data related to an area on the workpiece where surface treatment is to be performed, based on the second shape data, is included between the second step and the third step, and the operation of the workpiece moving mechanism in the third step and the operation of the surface treatment mechanism in the fourth step are each performed based on the processing area data. In the second aspect described above, in the fifth step, the user can specify the area on the workpiece where surface treatment is to be performed using a UI (User Interface) or the like.
[0147] (Additional Note 3) In the third aspect, which is a preferred example of the second aspect, a sixth step of generating route data defining the operation of the surface treatment mechanism in the fourth step based on both the second shape data and the processing area data is included between the fifth step and the third step, and the operation of the surface treatment mechanism in the fourth step is executed based on the route data. In the above third aspect, in the fourth step, the surface treatment mechanism can be operated based on both the second shape data and the processing area data.
[0148] (Additional Note 4) In the fourth aspect, which is a preferred example of the third aspect, a seventh step is included between the sixth step and the third step, in which position adjustment data defining the operation of the workpiece moving mechanism in the third step is generated based on one or both of the path data and the processing area data, and reference position data, which is data relating to a position that serves as a reference in the operation of the surface treatment mechanism, and the operation of the workpiece moving mechanism in the third step is performed based on the position adjustment data. In the above fourth aspect, in the third step, the workpiece moving mechanism can be operated based on one or both of the path data and the processing area data, and the reference position data.
[0149] (Appendix 5) In a fifth aspect, which is a preferred example of any one of the first to fourth aspects, the work tray includes a first tray part provided with the fixing part and a second tray part provided with the marker, and the first tray part and the second tray part are detachably fixed to each other, and the first tray part is used without using the second tray part in each of the third and fourth steps. In the fifth aspect, the load on the work moving mechanism can be reduced by reducing the weight and size of the structure to be moved together with the work by the work moving mechanism in the third and fourth steps. As a result, the accuracy of the attitude control of the work is improved, and the quality of the surface treatment can be improved. In addition, in the third and fourth steps, it is possible to eliminate unnecessary configurations around the work, and as a result, the degree of freedom of operation of the work moving mechanism and the surface treatment mechanism can be increased.
[0150] (Note 6) In the sixth aspect, which is a preferred example of the third aspect, the surface treatment mechanism includes a head that ejects liquid from a plurality of nozzles and a head moving mechanism that moves the head, and in the fourth step, the head is scanned at a predetermined distance from the surface of the workpiece by the operation of the head moving mechanism based on the path data. In the sixth aspect, it is possible to perform printing on the surface of the workpiece with high accuracy by the inkjet method. [Explanation of symbols]
[0151] 1...printing device, 2...work tray, 3...head moving mechanism, 3a...arm driving mechanism, 4...work moving mechanism, 4a...arm driving mechanism, 5...head unit, 5a...head, 5b...pressure regulating valve, 5c...curing light source, 5d...switch circuit, 5e...support, 6d...supply pipe, 7...3D camera, 7a...support, 10...surface treatment mechanism, 11...controller, 11a...memory circuit, 11b...processing circuit, 12...control module, 12a...timing signal generating circuit, 12b...power supply circuit, 12c...control circuit, 12d...drive signal generating circuit, 13...computer, 13a...memory circuit path, 13b...processing circuit, 13c...input device, 13d...display device, 13e...communication device, 21...first tray portion, 21a...positioning portion, 22...second tray portion, 22a...positioning portion, 31...plate portion, 40...jig, 41...plate portion, 42...protrusion, 100...system, 310...base portion, 320...arm, 321...arm, 322...arm, 323...arm, 324...arm, 325...arm, 326...arm, 426...arm, CLK...clock signal, CNG...change signal, CP...conversion parameter, CS1...first coordinate system, CS2...second coordinate system, CS3...third coordinate system, Com ...drive signal, D1...output, D2...output, D3...signal, Da...first coordinate system data, Da1...first shape data, Db...second coordinate system data, Db1...second shape data, Db2...processing area data, Dc...third coordinate system data, Dp...position adjustment data, Dp0...reference position data, Dr...path data, F...nozzle surface, FX...fixed part, Img...print data, J1...joint, J2...joint, J3...joint, J4...joint, J5...joint, J6...joint, LAT...latch signal, LC...center line, La...first nozzle row, Lb...second nozzle row, MK...marker, MK1...first marker, MK2... Second marker, N...nozzle, O6...rotation axis, O6W...rotation axis, P0...reference position, PD...drive pulse, PS...predetermined position, PTS...timing signal, Pa...taught point, Pb...interpolation point, RP...area, RU...path, SI...control signal, ST1...first step, ST2...second step, ST3...third step, ST4...fourth step, ST5...fifth step, ST6...sixth step, ST7...seventh step, Sk1...control signal, Sk2...control signal, TCP...tool center point, VBS...offset potential, VHV...power supply potential, W...work, dCom...waveform specification signal.
Claims
1. A surface treatment method using a work tray having a fixing portion and a marker for fixing a three-dimensional workpiece, a work moving mechanism supporting at least a part of the work tray, a surface treatment mechanism for treating a surface of the workpiece, and a three-dimensional camera capable of acquiring three-dimensional shape data, a first step of acquiring first shape data indicating shapes of the workpiece and the marker in a first coordinate system defined by the three-dimensional camera by capturing an image of the workpiece and the marker with the three-dimensional camera while the relative positional relationship between the workpiece tray and the workpiece is fixed by the fixing part; A second step of converting the first shape data into second shape data indicating shapes of the workpiece and the marker in a second coordinate system associated with the work tray, based on a shape of the marker indicated by the first shape data; a third step of adjusting a position of the work by operating the work moving mechanism based on the second shape data while the work moving mechanism supports at least a portion of the work tray; and a fourth step of performing a surface treatment on the workpiece by operating the surface treatment mechanism based on the second shape data. A surface treatment method comprising:
2. a fifth step between the second step and the third step of generating processing area data, the processing area data being data relating to an area on the workpiece where surface processing is to be performed, based on the second shape data; The operation of the workpiece moving mechanism in the third step and the operation of the surface treatment mechanism in the fourth step are each executed based on the treatment area data. The surface treatment method according to claim 1 .
3. a sixth step between the fifth step and the third step of generating path data defining an operation of the surface treatment mechanism in the fourth step based on both the second shape data and the treatment area data; The operation of the surface treatment mechanism in the fourth step is executed based on the path data. The surface treatment method according to claim 2 .
4. a seventh step between the sixth step and the third step, in which position adjustment data defining the operation of the workpiece moving mechanism in the third step is generated based on one or both of the path data and the processing area data, and reference position data which is data relating to a position that serves as a reference in the operation of the surface treatment mechanism; The operation of the workpiece moving mechanism in the third step is executed based on the position adjustment data. The surface treatment method according to claim 3 .
5. The work tray is a first tray portion provided with the fixing portion; a second tray portion on which the marker is provided, The first tray portion and the second tray portion are detachably fixed to each other, In each of the third step and the fourth step, the first tray portion is used without using the second tray portion. The surface treatment method according to claim 1 .
6. The surface treatment mechanism includes: A head that ejects liquid from a plurality of nozzles; a head moving mechanism for moving the head, In the fourth step, the head is scanned over the surface of the workpiece at a predetermined interval by the operation of the head moving mechanism based on the path data. The surface treatment method according to claim 3 .
Citation Information
Patent Citations
Three-dimensional printing method and data generation method
JP2022149092A
Cited By
Printing apparatus and printing method
JP2026158735A
