Wire data processing system, control device, control method, and control program
The wire data processing system addresses the challenge of measuring coil springs with varying cross-sectional shapes by rotating the coil spring and using a control device to identify and process the shape, ensuring accurate measurement and coating application.
Patent Information
- Application Number
- PCT/JP2024/017990
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-05-16
- Filing Date
- 2024-05-15
- Publication Date
- 2024-11-21
AI Technical Summary
Conventional shape measurement methods for coil springs assume a circular cross-sectional shape, failing to accurately measure springs with varying cross-sectional shapes along their length, leading to inappropriate processing and measurement errors.
A wire data processing system that rotates the coil spring around its central axis, uses a sensor to measure the outer shape, and includes a control device with a shape specifying section to identify and process the cross-sectional shape of the wire based on position coordinates, applying corresponding processing and coating accurately.
Enables precise measurement and processing of coil springs with varying cross-sectional shapes, ensuring accurate application of coating materials and reducing measurement errors by adapting to different shapes along the wire.
Smart Images

Figure JP2024017990_21112024_PF_FP_ABST
Abstract
Description
Wire data processing system, control device, control method, and control program
[0001] The present invention relates to a wire data processing system, a control device, a control method, and a control program.
[0002] Conventionally, the following shape measurement method has been known as a method for measuring the shape of a coil spring (see, for example, Patent Document 1). In the shape measurement method described in Patent Document 1, a linear slit light that spreads in the axial direction of a coil spring fixed to a rotation stage is irradiated onto the surface of the coil spring, and the reflected light is captured by a camera to obtain wire data. In this shape measurement method, the wire data and the rotation angle when the coil spring is rotated around its axis are stored in association with each other, and the shape of the coil spring is measured by performing image processing on the wire data.
[0003] Also known as a coil spring is one in which the cross-sectional shape of the wire changes from both ends toward the center (see, for example, Patent Document 2). In the coil spring described in Patent Document 2, the cross-sectional shape of the wire at both ends is rectangular and the cross-sectional shape of the wire at the center is circular, and the cross-sectional shape of the wire gradually changes from both ends toward the center.
[0004] JP 2010-101693 A JP 62-155342 A
[0005] However, the shape measurement method described in Patent Document 1 is based on the assumption that the cross-sectional shape of the wire of the coil spring is circular, and measures the shape of the coil spring by performing processing corresponding to the circle on the wire data. Therefore, when the coil spring described in Patent Document 2, in which the cross-sectional shape of the wire varies depending on the position, is measured using the shape measurement method described in Patent Document 1, the processing corresponding to the circle is performed on the wire data, and therefore it is not possible to accurately measure the shape of the coil spring in parts whose cross-sectional shape is not circular. For these reasons, there is a demand for technology that can perform appropriate processing on the wire data.
[0006] The present invention has been made in consideration of the above, and aims to provide a wire data processing system, a control device, a control method, and a control program that can perform appropriate processing on wire data.
[0007] In order to solve the above-mentioned problems and achieve the object, the wire data processing system of the present invention includes a support mechanism that supports a coil spring and enables the coil spring to rotate around a specific axis that follows the central axis of the coil spring, a sensor that measures the outer position of the wire of the coil spring and outputs wire data, and a control device that controls the operation of the support mechanism and the sensor, wherein the control device includes a support mechanism control unit that operates the support mechanism and rotates the coil spring around the specific axis, a sensor control unit that operates the sensor and acquires the wire data from the sensor, a shape identification unit that identifies the cross-sectional shape of the wire based on the wire data, and a processing execution unit that executes processing on the wire data that corresponds to the cross-sectional shape of the wire.
[0008] In addition, in the wire data processing system of the present invention, in the above invention, the shape identification unit includes a virtual figure estimation unit that estimates a virtual figure of a predetermined shape that fits a shape formed by each position coordinate corresponding to the outer shape position of the wire in the wire data, an error calculation unit that calculates the error between each position coordinate and the virtual figure, and an identification unit that identifies the cross-sectional shape of the wire based on the error.
[0009] In addition, in the wire data processing system according to the present invention, in the above invention, the virtual figure estimation unit uses the position coordinates to estimate a circle, which is the virtual figure, that fits the shape formed by the position coordinates by the least squares method.
[0010] In the wire data processing system according to the present invention, in the above invention, the cross-sectional shape of the wire in the coil spring varies depending on the position.
[0011] In addition, the wire data processing system of the present invention, in the above invention, further includes an application device that applies a coating material to the coil spring, and the processing execution unit calculates an application position of the coating material on the coil spring that corresponds to the cross-sectional shape of the wire by performing processing on the wire data that corresponds to the cross-sectional shape of the wire, and the control device includes a movement control unit that moves the application device and the support mechanism relatively and positions the application device at a position where the coating material can be applied from the application device to the application position, and an application device control unit that operates the application device and applies the coating material from the application device to the application position.
[0012] In addition, the wire data processing system of the present invention, in the above invention, further includes a moving device that supports the coating device and moves the coating device, and the movement control unit operates the moving device to position the coating device at a position where the coating material is applied from the coating device to the application position.
[0013] In addition, the control device according to the present invention includes a support mechanism control unit that operates a support mechanism that supports a coil spring and rotates the coil spring around a specific axis that follows the central axis of the coil spring; a sensor control unit that operates a sensor that measures the outer position of the wire of the coil spring and outputs wire data, thereby acquiring the wire data; a shape identification unit that identifies the cross-sectional shape of the wire based on the wire data; and a processing execution unit that executes processing on the wire data that corresponds to the cross-sectional shape of the wire.
[0014] Furthermore, the control method according to the present invention is a control method executed by a control device of a wire data processing system, and includes a support mechanism control step of operating a support mechanism that supports a coil spring and rotating the coil spring around a specific axis that follows the central axis of the coil spring; a sensor control step of operating a sensor that measures the outer shape position of the wire of the coil spring and outputs wire data to obtain the wire data; a shape identification step of identifying the cross-sectional shape of the wire based on the wire data; and a processing execution step of executing processing on the wire data that corresponds to the cross-sectional shape of the wire.
[0015] Furthermore, the control program of the present invention is a control program for causing a computer to execute the following steps: a support mechanism control step of operating a support mechanism that supports a coil spring and rotating the coil spring around a specific axis that follows the central axis of the coil spring; a sensor control step of operating a sensor that measures the outer position of a wire of the coil spring and outputs wire data, thereby acquiring the wire data; a shape identification step of identifying a cross-sectional shape of the wire based on the wire data; and a processing execution step of executing processing on the wire data that corresponds to the cross-sectional shape of the wire.
[0016] According to the wire data processing system, control device, control method, and control program of the present invention, it is possible to perform appropriate processing on wire data.
[0017] FIG. 1 is a diagram showing the configuration of a coating material application system according to an embodiment. FIG. 2 is a diagram showing the cross-sectional shape of a wire of a coil spring. FIG. 3 is a diagram explaining the positional relationship between a sensor and a dispenser. FIG. 4 is a block diagram showing the configuration of a control device. FIG. 5 is a flowchart showing a control method executed by the control device. FIG. 6 is a flowchart showing the shape specifying step (step S4). FIG. 7 is a diagram explaining the shape specifying step (step S4). FIG. 8 is a diagram explaining the processing execution step (step S5) when the cross-sectional shape of the wire of a coil spring is specified to be "circular". FIG. 9 is a diagram explaining the processing execution step (step S5) when the cross-sectional shape of the wire of a coil spring is specified to be "rectangle".
[0018] Hereinafter, a mode for carrying out the present invention (hereinafter referred to as an embodiment) will be described with reference to the drawings. Note that the present invention is not limited to the embodiment described below. Furthermore, the same parts are denoted by the same reference numerals in the drawings. Below, an example will be described in which the wire data processing system according to the present invention is applied to a coating material application system that applies a coating material to a coil spring.
[0019] [Schematic Configuration of Coating Material Application System] Fig. 1 is a diagram showing the configuration of a coating material application system 1 according to an embodiment. As shown in Fig. 1, the coating material application system 1 includes a coating material application device 2 and a control device 3. In the coating material application system 1, the coating material application device 2 operates under the control of the control device 3, thereby applying a coating material such as a thermosetting resin or a thermoplastic resin to a specific position (application position) of the coil spring W. Here, the application position is a portion where the wires of the coil spring W come into contact with each other when the coil spring W is compressed. In other words, applying the coating material to the application position reduces contact damage between the wires of the coil spring W at the application position.
[0020] Fig. 2 is a diagram showing the cross-sectional shape of the wire of the coil spring W. Specifically, Fig. 2 is a diagram in which the cross-sectional shapes of the wire of the coil spring W from the end to the center of the coil spring W are arranged along the central axis of the coil spring W. That is, the direction AR in Fig. 2 is a direction along the central axis of the coil spring W. In this embodiment, as shown in Fig. 2, the cross-sectional shape of the wire of the coil spring W gradually changes from rectangular to circular from the end (left side in Fig. 2) to the center (right side in Fig. 2) of the coil spring W.
[0021] [Configuration of Coating Material Application Apparatus] First, the configuration of the coating material application apparatus 2 will be described. In describing the configuration of the coating material application apparatus 2, an axis along the vertical direction (the up-down direction in FIG. 1 ) is defined as the Z-axis ( FIG. 1 ), and one of two axes perpendicular to the Z-axis (the axis along the left-right direction in FIG. 1 ) is defined as the Y-axis ( FIG. 1 ). As shown in FIG. 1 , the coating material application apparatus 2 includes a support table 4, a sensor 5, a first moving device 6, a dispenser 7, and a second moving device 8.
[0022] The support base 4 corresponds to the support mechanism according to the present invention. As shown in FIG. 1 , the support base 4 supports a coil spring W. Specifically, the coil spring W is placed on the support base 4 in an orientation in which the central axis of the coil spring W follows the Z axis. The support base 4 includes a servo motor and the like, and is configured to be rotatable around a specific axis Ax ( FIG. 1 ) that follows the central axis of the coil spring W under the control of the control device 3. In this embodiment, the specific axis Ax is an axis parallel to the Z axis.
[0023] The sensor 5 measures the outer shape position of the wire of the coil spring W under the control of the control device 3. In the present embodiment, the sensor 5 is configured as a laser sensor. More specifically, the sensor 5 emits a laser beam in a line shape along the YZ plane from a direction tilted at 45° with respect to the Y-axis and Z-axis. The sensor 5 is configured to receive the laser beam reflected from the wire of the coil spring W using an imaging element such as a CMOS (Complementary Metal Oxide Semiconductor) to measure the profile of the portion of the wire that reflects the line-shaped laser beam. The sensor 5 also outputs wire data indicating the measured outer shape position of the wire of the coil spring W to the control device 3. The tilt angle of the sensor 5 with respect to the Y-axis and Z-axis is not limited to 45° and may be other tilt angles.
[0024] The first moving device 6 supports the sensor 5 and moves the sensor 5. As shown in FIG. 1 , the first moving device 6 includes a slider 61 that supports the sensor 5, a guide rail 62 that extends along the Z axis, a servo motor (not shown), and the like. In the first moving device 6, the slider 61 moves on the guide rail 62 along the Z axis under the control of the control device 3. That is, in this embodiment, the first moving device 6 moves the sensor 5 only along the specific axis Ax.
[0025] The dispenser 7 corresponds to the coating device according to the present invention, and applies the coating material to the coil spring W under the control of the control device 3. Note that the coating device according to the present invention is not limited to the dispenser 7, and other coating devices may also be used.
[0026] The second moving device 8 corresponds to the moving device according to the present invention, and supports the dispenser 7 and moves the dispenser 7. As shown in Fig. 1 , the second moving device 8 includes a slider 81 that supports the dispenser 7, a guide rail 82 that extends along the Y axis, a guide rail 83 that extends along the Z axis, and a servo motor (not shown), etc. In the second moving device 8, under the control of the control device 3, the slider 81 moves on the guide rail 82 along the Y axis, and the guide rail 82 moves on the guide rail 83 along the Z axis. That is, in this embodiment, the second moving device 8 moves the dispenser 7 only along the specific axis Ax and the Y axis.
[0027] [Regarding the Positional Relationship between the Sensor and the Dispenser] Next, the positional relationship between the sensor 5 and the dispenser 7 will be described. Fig. 3 is a diagram illustrating the positional relationship between the sensor 5 and the dispenser 7. Specifically, Fig. 3 is a diagram illustrating the sensor 5 and the dispenser 7 as viewed from above along the Z axis. As shown in Fig. 3, the position PM at which the sensor 5 measures the outer shape position of the wire of the coil spring W and the position PA at which the dispenser 7 applies the coating material to the coil spring W are shifted by a specific angle around a specific axis Ax.
[0028] In this embodiment, the sensor 5 emits a line-shaped laser beam as described above and measures the profile of the portion of the wire of the coil spring W that reflects the line-shaped laser beam. Therefore, the measurement position PM corresponds to the position of the portion. In this embodiment, the specific angle is 180°. Note that the specific angle is not limited to 180° and may be another angle.
[0029] [Configuration of the control device] Next, the configuration of the control device 3 will be described. Fig. 4 is a block diagram showing the configuration of the control device 3. The control device 3 controls the overall operation of the coating material application device 2. As shown in Fig. 4, the control device 3 includes an input unit 31, a storage unit 32, and a control unit 33. The input unit 31 is composed of buttons, switches, a touch panel, etc. that accept user operations, and outputs a signal corresponding to the user operation to the control unit 33.
[0030] The storage unit 32 stores various programs (including the control program according to the present invention) executed by the control unit 33, as well as data and the like required when the control unit 33 performs processing.
[0031] The control unit 33 is realized by a controller such as a central processing unit (CPU) or a microprocessing unit (MPU) executing various programs stored in the memory unit 32, and controls the overall operation of the coating material application system 1. The control unit 33 is not limited to a CPU or an MPU, but may also be configured using an integrated circuit such as an application-specific integrated circuit (ASIC) or a field-programmable gate array (FPGA). As shown in FIG. 4 , the control unit 33 includes a support base control unit 331, a sensor control unit 332, a first movement control unit 333, a shape identification unit 334 including a virtual figure estimation unit 3341, an error calculation unit 3342, and an identification unit 3343, a processing execution unit 335, a second movement control unit 336, and a coating device control unit 337. The support base control unit 331 corresponds to the support mechanism control unit according to the present invention. The second movement control unit 336 corresponds to the movement control unit according to the present invention. The detailed functions of the support table control unit 331, the sensor control unit 332, the first movement control unit 333, the shape identification unit 334, the processing execution unit 335, the second movement control unit 336, and the coating device control unit 337 will be explained in the "Control method executed by the control device" section described below.
[0032] [Control Method Executed by Control Device] Next, a control method executed by the control device 3 will be described. Fig. 5 is a flowchart showing the control method executed by the control device 3. The worker places the coil spring W to be coated on the support base 4. Then, the worker performs a coating start operation on the input unit 31. This causes the control device 3 to execute the control method described below.
[0033] First, the support base control unit 331 rotates the support base 4 at a specific rotation speed around a specific axis Ax (step S1: support mechanism control step). Here, data indicating the specific rotation speed is stored in the storage unit 32. Then, in step S1, the support base control unit 331 reads the data from the storage unit 32 and rotates the support base 4 at a rotation speed based on the data. Note that the data is configured so that the value of the rotation speed can be changed by a user operation on the input unit 31.
[0034] After step S1, the sensor control unit 332 operates the sensor 5 and causes the sensor 5 to measure the external position of the wire of the coil spring W. Then, the sensor control unit 332 acquires wire data from the sensor 5 (step S2: sensor control step). As described above, the sensor 5 is configured to be able to measure the profile of the wire of the coil spring W. Then, the sensor 5 outputs, as the wire data, the position coordinates of each portion of the wire of the coil spring W that reflects the linear laser light output from the sensor 5 (portions corresponding to the external position of the wire of the coil spring W).
[0035] After step S2, the first movement control unit 333 operates the first movement device 6 to move the sensor 5 along the Z axis at a specific movement speed (step S3). For example, the sensor 5 is positioned at a position where it can measure the position of one upper end of the wire of the coil spring W placed on the support base 4, and by executing step S3, the sensor 5 moves downward at the specific speed. Note that in this embodiment, the sensor 5 is moved from above downward to apply the coating material from one upper end to the other lower end of the wire of the coil spring W, but the sensor 5 may also be moved from below upward to apply the coating material from the other lower end to one upper end of the wire of the coil spring W.
[0036] Here, the storage unit 32 stores data indicating the distance by which the sensor 5 is moved along the Z axis each time the support base 4 is rotated, for example, by 180°. Then, in step S3, the first movement control unit 333 reads the data from the storage unit 32 and moves the sensor 5 at a movement speed based on the data. Note that the data is configured so that the value of the movement distance can be changed by a user operation on the input unit 31.
[0037] After step S3, the shape specifying unit 334 specifies the cross-sectional shape of the wire of the coil spring W based on the wire data acquired in step S2 (step S4: shape specifying step).
[0038] FIG. 6 is a flowchart showing the shape specifying step (step S4). FIG. 7 is a diagram illustrating the shape specifying step (step S4). Specifically, solid lines L1 and L2 shown in (a) to (d) of FIG. 7 indicate wire data (position coordinates of portions of the wire of the coil spring W that reflect the linear laser light output from the sensor 5). Furthermore, dashed-dotted lines L3 and L4 shown in (c) and (d) of FIG. 7 indicate a virtual figure estimated by the virtual figure estimation unit 3341. In step S4, first, the virtual figure estimation unit 3341 estimates a virtual figure of a predetermined shape that fits a shape composed of position coordinates that correspond to the outer shape positions of the wire of the coil spring W in the wire data acquired in step S2 (step S41).
[0039] In this embodiment, a circle is used as the virtual figure of the predetermined shape. Then, in step S41, the virtual figure estimation unit 3341 uses the position coordinates in the wire data acquired in step S2 to estimate a circle (hereinafter referred to as a virtual circle) that best fits the shape formed by the position coordinates, for example, by the least squares method.
[0040] After step S41, the error calculation unit 3342 calculates the error (for example, mean square error) between each position coordinate in the wire data acquired in step S2 and the virtual circle estimated in step S41 (step S42).
[0041] After step S42, the specifying unit 3343 specifies the cross-sectional shape of the wire of the coil spring W based on the error calculated in step S42 (step S43).
[0042] For example, assume that the wire data acquired in step S2 is the data shown in FIG. 7A (the cross-sectional shape of the wire at measurement position PM at the timing when sensor 5 measures the outer shape position of the wire of the coil spring W in step S2 is "rectangular"). In this case, as shown in FIG. 7C, the error between each position coordinate in the wire data (solid line L1) and the virtual circle (dashed dotted line L3) estimated in step S41 is relatively large. Then, in step S43, the identification unit 3343 compares the error calculated in step S42 with a specific threshold, and if the error is greater than the threshold, identifies the cross-sectional shape of the wire of the coil spring W as "rectangular."
[0043] Also, for example, assume that the wire data acquired in step S2 is the data shown in FIG. 7B (the cross-sectional shape of the wire at measurement position PM at the timing when sensor 5 measures the outer shape position of the wire of the coil spring W in step S2 is "circular"). In this case, as shown in FIG. 7D, the error between each position coordinate in the wire data (solid line L2) and the virtual circle (dashed dotted line L4) estimated in step S41 is relatively small. Then, in step S43, the identification unit 3343 compares the error calculated in step S42 with the above-mentioned threshold value, and if the error is equal to or less than the threshold value, identifies the cross-sectional shape of the wire of the coil spring W as "circular."
[0044] After step S4, the processing execution unit 335 executes processing corresponding to the cross-sectional shape of the wire of the coil spring W identified in step S4 on the wire data acquired in step S2 (step S5: processing execution step). In this embodiment, the processing execution unit 335 calculates, through this processing, position coordinates P2(y, z) of the application position of the coating material on the coil spring W that corresponds to the cross-sectional shape of the wire of the coil spring W identified in step S4.
[0045] Below, the process when the cross-sectional shape of the wire of the coil spring W is identified as "circular" and the process when the cross-sectional shape is identified as "rectangle" will be described in order.
[0046] First, the processing execution step (step S5) when the cross-sectional shape of the wire of the coil spring W is identified as "circular" will be described. FIG. 8 is a diagram illustrating the processing execution step (step S5) when the cross-sectional shape of the wire of the coil spring W is identified as "circular." Specifically, FIG. 8 shows the emission area (YZ plane) of the linear laser light emitted from the sensor 5. Note that in FIG. 8, the emission area of the laser light is represented by dots. The Y'-axis and Z'-axis shown in FIG. 8 are coordinate axes measured by the sensor 5 (hereinafter referred to as sensor coordinate axes). Hereinafter, the Y-axis and Z-axis will be referred to as device coordinate axes to distinguish them from the sensor coordinate axes. In this embodiment, as described above, the sensor 5 is installed so as to emit the laser light in a linear shape along the YZ plane from a direction tilted 45° with respect to the Y-axis and Z-axis. Therefore, the Y'-axis and Z'-axis are rotated by 45° with respect to the Y-axis and Z-axis, respectively, as shown in FIG. The Z′ axis corresponds to the direction of the laser light output from the sensor 5 .
[0047] Specifically, first, the processing execution unit 335 extracts a position coordinate P0' (y0', z0') and a radius R from the wire data acquired in step S2. The position coordinate P0' (y0', z0') is a position coordinate on the sensor coordinate axis, and is the position coordinate of the vertex of a portion WA (represented by a thick line in FIG. 8 ) of the wire of the coil spring W that reflects the linear laser light output from the sensor 5. The radius R is the radius of a virtual circle (dotted chain line L4 in FIG. 7(d)) that includes the portion WA. Furthermore, the processing execution unit 335 calculates a position coordinate P1' (y1', z1') of the application position on the portion WA based on the position coordinate P0' (y0', z0') and the radius R using the following formula (1): The position coordinate P1' (y1', z1') is a position coordinate on the sensor coordinate axes, and is the position coordinate with the highest coordinate value in the Z-axis direction on a virtual circle including the area WA ( FIG. 8 ). In addition, in equation (1), θ is an angle according to the installation position of the sensor 5, and is 45° in this embodiment. The same applies to equation (2) below.
[0048] (Math. 1) y1'=y0'-R・sinθ z1'=z0'-(R-R・cosθ) ...(1)
[0049] Next, the processing execution unit 335 converts the position coordinate P1' (y1', z1') on the sensor coordinate axes into the position coordinate P1 (y1, z1) on the device coordinate axes using the following equation (2).
[0050] (Equation 2) y1 = y1' · cos θ - z1' · sin θ z1 = y1' · sin θ + z1' · cos θ (2)
[0051] Finally, the processing execution unit 335 calculates the position coordinate P2 (y2, z2) by rotating the position coordinate P1 (y1, z1) by 180° around a specific axis Ax (Z axis), and calculates the position coordinate P2 (y2, z2) as the application position.
[0052] Next, a process execution step (step S5) when the cross-sectional shape of the wire of the coil spring W is identified as "rectangle" will be described. Fig. 9 is a diagram illustrating the process execution step (step S5) when the cross-sectional shape of the wire of the coil spring W is identified as "rectangle." Specifically, Fig. 9 is a diagram corresponding to Fig. 8.
[0053] Specifically, first, the processing execution unit 335 extracts position coordinates P01' (y01', z01') and P02' (y02', z02') from the wire data acquired in step S2. The position coordinates P01' (y01', z01') and P02' (y02', z02') are position coordinates on the sensor coordinate axis, and are the position coordinates of two edges of the wire of the coil spring W that have high coordinate values in the Z-axis direction on a portion WR (represented by a thick line in FIG. 9 ) that reflects the linear laser light output from the sensor 5. Then, the processing execution unit 335 calculates the midpoint between the position coordinates P01' (y01', z01') and P02' (y02', z02') of the two edges as position coordinate P1' (y1', z1') ( FIG. 9 ). After this, the processing execution unit 335 calculates the position coordinates P1 (y1, z1) and P2 (y2, z2) from the position coordinate P1' (y1', z1'), similar to the above-mentioned "processing execution step (step S5) when the cross-sectional shape of the wire of the coil spring W is identified as 'circle'."
[0054] After step S5, the second movement control unit 336 operates the second movement device 8 to move the dispenser 7 to a position where the coating material is applied from the dispenser 7 to the application position (position coordinates P2 (y2, z2)) (step S6).
[0055] After step S6, the coating device control unit 337 operates the dispenser 7 at a coating timing when the support base 4 has rotated 180° around the specific axis Ax from the measurement timing, and causes the dispenser 7 to apply the coating material to the coating position (position coordinates P2 (y2, z2)) (step S7). The measurement timing is the timing when the sensor 5 measured the position of the wire of the coil spring W in step S2.
[0056] After step S7, the second movement control unit 336 operates the second movement device 8 to move the dispenser 7 along the Z axis at a specific movement speed (step S8). The specific movement speed is the same as the specific movement speed of the sensor 5 in step S3.
[0057] By repeatedly performing the above steps S1 to S8, the coating material is applied to the wire of the coil spring W from one end to the other.
[0058] The present embodiment described above provides the following advantages. In the wire data processing system according to this embodiment, the control device 3 rotates the support base 4 about a specific axis Ax. The control device 3 also operates the sensor 5 and acquires wire data from the sensor 5. The control device 3 then identifies the cross-sectional shape of the wire of the coil spring W based on the wire data. The control device 3 then executes processing on the wire data that corresponds to the cross-sectional shape of the wire of the coil spring W. Therefore, even if the cross-sectional shape of the wire of the coil spring W varies depending on the position, it is possible to execute appropriate processing on the wire data that corresponds to the cross-sectional shape.
[0059] For example, in this embodiment, the wire data processing system is applied to a coating material application system 1 that applies a coating material to a coil spring W. The control device 3 then performs processing on the wire data corresponding to the cross-sectional shape, thereby calculating an application position of the coating material on the coil spring W that corresponds to the cross-sectional shape. The control device 3 also moves the second moving device 8 to move the dispenser 7 to a position where the coating material will be applied from the dispenser 7 to the application position, and operates the dispenser 7 to apply the coating material from the dispenser 7 to the application position. Therefore, even if the cross-sectional shape of the wire of the coil spring W varies depending on the position, the application position on the coil spring W will not deviate from the desired position, and the coating material can be applied to the coil spring W with high precision.
[0060] Furthermore, in this embodiment, the control device 3 estimates a virtual figure of a predetermined shape that fits a shape formed by each position coordinate that corresponds to the outer shape position of the wire of the coil spring W in the wire data. In particular, the control device 3 estimates a circle, which is the virtual figure that fits the shape formed by each position coordinate, by the least squares method using each position coordinate. The control device 3 also calculates the error between each position coordinate and the virtual figure. Then, the control device 3 specifies the cross-sectional shape of the coil spring W based on this error. Therefore, the cross-sectional shape of the coil spring W can be specified with high accuracy by a simple calculation.
[0061] Other Embodiments Up to this point, the embodiments for carrying out the present invention have been described, but the present invention should not be limited to only the above-described embodiments. In the above-described embodiments, the wire data processing system according to the present invention is applied to the coating material application system 1, but the present invention is not limited to this. For example, the wire data processing system according to the present invention may be applied to a coil spring inspection system that performs processing on wire data corresponding to the cross-sectional shape of the wire of a coil spring W to calculate position coordinates and dimensions of specific locations corresponding to the cross-sectional shape and inspect the coil spring W. Furthermore, for example, the wire data processing system according to the present invention may be applied to a coil spring processing system that performs processing on wire data corresponding to the cross-sectional shape of the wire of a coil spring W to calculate position coordinates of specific locations corresponding to the cross-sectional shape and perform processing on the coil spring W at the position of the position coordinates.
[0062] In the above-described embodiment, a circle is used as the virtual figure according to the present invention, but this is not limiting and a rectangle may also be used. In other words, the virtual figure according to the present invention may have any shape as long as it corresponds to the cross-sectional shape of the wire of the coil spring W. For example, if the cross-sectional shape of the wire at a certain position of the coil spring W is triangular, a triangle may be used as the virtual figure according to the present invention.
[0063] In the above-described embodiment, a coil spring W in which the cross-sectional shape of the wire varies depending on the position is adopted as the coil spring according to the present invention, but this is not limiting, and a coil spring in which the cross-sectional shape of the wire is the same depending on the position may also be adopted.
[0064] In the above-described embodiment, the first moving device 6 moves the sensor 5 only along the Z axis, but the present invention is not limited to this and may be configured to move the sensor 5 in the Y axis or X axis direction in addition to the Z axis. Similarly, the second moving device 8 moves the dispenser 7 only along the Z axis and the Y axis, but the present invention is not limited to this and may be configured to move the dispenser 7 in the X axis direction in addition to the Z axis and the Y axis.
[0065] In the above-described embodiment, the first moving device 6 moves the sensor 5 along the Z axis relative to the coil spring W, but this is not limiting, and the coil spring W (support base 4) may be moved along the Z axis relative to the sensor 5. Furthermore, if the measurement range of the sensor 5 covers the entire coil spring W, the first moving device 6 may not be provided.
[0066] In the embodiment described above, the second movement control unit 336 operates the second moving device 8 to move the dispenser 7 to a position where the coating material is applied from the dispenser 7 to the application position (position coordinates P2 (y2, z2)), but this is not limiting. The second movement control unit 336 only needs to move the dispenser 7 and the support base 4 relatively to each other and position the dispenser 7 at a position where the coating material is applied from the dispenser 7 to the application position (position coordinates P2 (y2, z2)), and may, for example, move the support base 4 relative to the dispenser 7.
[0067] In the above-described embodiment, a laser sensor is used as the sensor 5. However, the present invention is not limited to this, and a camera, a TOF (Time Of Flight) sensor, or the like may be used as long as it is possible to measure the external position of the wire of the coil spring W.
[0068] In the above-described embodiment, the support base 4 is used as the support mechanism according to the present invention, but this is not limiting and other configurations may be used as long as they support the coil spring W and allow the coil spring W to rotate about a specific axis Ax that follows the central axis of the coil spring W. For example, a robot arm may be used as the support mechanism according to the present invention, and a configuration may be used in which the coil spring W is suspended by the robot arm and rotates the coil spring W about a specific axis that follows the central axis of the coil spring W. Furthermore, for example, a configuration may be used as the support mechanism according to the present invention in which the coil spring W is supported with its central axis facing horizontally and the coil spring W is rotated about a specific axis that follows the central axis.
[0069] REFERENCE SIGNS LIST 1 Coating material application system 2 Coating material application device 3 Control device 4 Support base 5 Sensor 6 First moving device 7 Dispenser 8 Second moving device 31 Input unit 32 Memory unit 33 Control unit 61 Slider 62 Guide rail 81 Slider 82, 83 Guide rail 331 Support base control unit 332 Sensor control unit 333 First movement control unit 334 Shape identification unit 335 Processing execution unit 336 Second movement control unit 337 Application device control unit 3341 Virtual figure estimation unit 3342 Error calculation unit 3343 Identification unit AR Direction Ax Specific axis L1, L2 Solid line L3, L4 Dash line PA Application position PM Measurement position W Coil spring WA, WR Part
Claims
1. A wire data processing system comprising: a support mechanism that supports a coil spring and enables the coil spring to rotate around a specific axis that follows the central axis of the coil spring; a sensor that measures the outer position of the wire of the coil spring and outputs wire data; and a control device that controls the operation of the support mechanism and the sensor, wherein the control device comprises: a support mechanism control unit that operates the support mechanism and rotates the coil spring around the specific axis; a sensor control unit that operates the sensor and obtains the wire data from the sensor; a shape identification unit that identifies a cross-sectional shape of the wire based on the wire data; and a processing execution unit that executes processing on the wire data that corresponds to the cross-sectional shape of the wire.
2. The wire data processing system of claim 1, wherein the shape identification unit comprises: a virtual figure estimation unit that estimates a virtual figure of a predetermined shape that fits a shape formed by each position coordinate corresponding to the outer shape position of the wire in the wire data; an error calculation unit that calculates the error between each position coordinate and the virtual figure; and an identification unit that identifies the cross-sectional shape of the wire based on the error.
3. A wire data processing system according to claim 2, wherein the virtual figure estimation unit estimates a circle, which is the virtual figure, that fits a shape formed by each of the position coordinates by a least squares method using each of the position coordinates.
4. The wire data processing system according to claim 1, wherein the cross-sectional shape of the wire of the coil spring varies depending on the position.
5. The wire data processing system of claim 1, further comprising an application device for applying a coating material to the coil spring, wherein the processing execution unit calculates an application position of the coating material on the coil spring corresponding to the cross-sectional shape of the wire by executing processing on the wire data corresponding to the cross-sectional shape of the wire, and the control device comprises: a movement control unit that moves the application device and the support mechanism relatively to one another and positions the application device at a position where the coating material can be applied from the application device to the application position, and a application device control unit that operates the application device and applies the coating material from the application device to the application position.
6. A wire data processing system as described in claim 5, further comprising a moving device that supports the coating device and moves the coating device, wherein the movement control unit operates the moving device to position the coating device at a position where the coating material is applied from the coating device to the coating position.
7. A control device comprising: a support mechanism control unit that operates a support mechanism that supports a coil spring and rotates the coil spring around a specific axis that follows the central axis of the coil spring; a sensor control unit that operates a sensor that measures the external position of the wire of the coil spring and outputs wire data, thereby acquiring the wire data; a shape identification unit that identifies a cross-sectional shape of the wire based on the wire data; and a processing execution unit that executes processing on the wire data that corresponds to the cross-sectional shape of the wire.
8. A control method executed by a control device of a wire data processing system, comprising: a support mechanism control step of operating a support mechanism that supports a coil spring and rotating the coil spring around a specific axis that follows the central axis of the coil spring; a sensor control step of operating a sensor that measures the outer position of the wire of the coil spring and outputs wire data, thereby acquiring the wire data; a shape identification step of identifying a cross-sectional shape of the wire based on the wire data; and a processing execution step of executing processing on the wire data that corresponds to the cross-sectional shape of the wire.
9. A control program for causing a computer to execute the following steps: a support mechanism control step of operating a support mechanism that supports a coil spring and rotating the coil spring around a specific axis that follows the central axis of the coil spring; a sensor control step of operating a sensor that measures the external position of the wire of the coil spring and outputs wire data, thereby acquiring the wire data; a shape identification step of identifying a cross-sectional shape of the wire based on the wire data; and a processing execution step of executing processing on the wire data that corresponds to the cross-sectional shape of the wire.
Citation Information
Patent Citations
Long taper coil spring
JP1987155342A
Apparatus and method for measuring shape of coil spring
JP2010101693A
Suspension spring
JP2007308067A
Manufacturing method of resin coating spring, and resin coating spring
JP2017180537A
Shape measuring method for coil spring and shape measuring apparatus
WO2016104651A1
