Piano wire position detecting device

The piano wire position detection device uses shifted optical sensors and signal processing to enhance detection range and reduce operational burden, ensuring accurate guide rail installation by standardizing sensor output without slit plates.

JP2024164871APending Publication Date: 2024-11-28HITACHI BUILDING SYST CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023080541
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-05-16
Publication Date
2024-11-28

AI Technical Summary

Technical Problem

Existing piano wire position detection devices using optical sensors with slit plates have a narrow detection range and require precise mounting, leading to increased operational burden due to adjustments in light intensity and sensitivity settings.

Method used

A piano wire position detection device utilizing two transmissive optical sensors arranged in a U-shape without slit plates, shifted by a predetermined amount, and a signal processing unit that calculates relative output values and binarizes signals to determine the piano wire's position over a wider range, reducing the need for manual adjustments.

Benefits of technology

The device can detect the piano wire position over a broader area with reduced operational burden by standardizing sensor output and eliminating the need for frequent adjustments, ensuring accurate and efficient installation of guide rails.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024164871000001_ABST
    Figure 2024164871000001_ABST
Patent Text Reader

Abstract

To provide a piano wire position detecting device that is able to detect the position of a piano wire in a wider range and is able to reduce the load of the adjusting work of an optical sensor.SOLUTION: A piano wire position detecting device includes: an optical sensor that forms a light flux for detecting a piano wire; a reference value storage unit that stores as a reference value an output value of the optical sensor obtained under a predetermined condition; a relative value calculation unit that calculates a relative value of the output value with respect to the reference value, based on the reference value stored in the reference value storage unit and the output value of the optical sensor; and a binarization processing unit that binarizes the relative value, calculated by the relative value calculation unit, with a threshold to output presence or absence of the piano wire as a binary signal.SELECTED DRAWING: Figure 9
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a piano wire position detection device. [Background technology]

[0002] The installation of an elevator in a building's elevator shaft involves the installation of guide rails in the elevator shaft to guide the elevator car and counterweight. The installation of the guide rail requires that the guide rail be centered and fixed in an accurate position. For this reason, a piano wire with a weight attached is generally hung from the top to the bottom of the elevator shaft, and the installation of the guide rail is carried out based on this piano wire. Specifically, the worker measures the distance between the piano wire and the guide rail using a scale or the like, adjusts the position of the guide rail based on the measurement result, and then fixes the guide rail. At this time, the scale marks and the piano wire overlap, but the degree of overlap between the two changes depending on the viewing angle, or the scale is not properly applied, causing variations in the distance readings made by the workers. For this reason, the centering accuracy in the installation of the guide rail is not stable, and many adjustments are required due to insufficient accuracy.

[0003] Patent Document 1 describes a technique related to a measuring device for elevator installation that detects the position of a piano wire by a sensor. Specifically, Patent Document 1 describes that "a measuring device for elevator installation is configured that includes a slide block that includes a sliding section that slides along a gauge arranged in the horizontal direction and has a scale reading surface, a sensor section that has a sensor that faces the piano wire, and a detector that notifies the detection state of the piano wire by light or sound based on the detection operation of the sensor attached to the sensor section." Patent Document 1 also describes that "two pairs of sensors are positioned offset along the sliding direction of the slide block, and an alarm notifies the stop position of the slide block by the detector and the sliding direction of the slide block to stop at this stop position." [Prior art documents] [Patent documents]

[0004] [Patent Document 1] Special Publication No. 7-89055 Summary of the Invention [Problem to be solved by the invention]

[0005] The technique described in Patent Document 1 has the following problems. Patent Document 1 discloses a configuration for detecting a piano wire using a transmission-type optical sensor equipped with a light-emitting unit and a light-receiving unit. In general, the light beam width of an optical sensor (hereinafter also referred to as the "detection width") is wider than the diameter of the piano wire, so even if the piano wire is present in the light beam of the optical sensor, the light emitted by the light-emitting unit passes beside the piano wire and reaches the light-receiving unit. Therefore, when comparing the light beam of the optical sensor when it is blocked by the piano wire with when it is not blocked, the change in the amount of light that reaches the light-receiving unit is slight. In such a case, a slit plate having slit holes is provided in the optical sensor to narrow the light beam width, so that the change in the amount of light when the piano wire blocks the light beam becomes more noticeable. In addition, the amount of light emitted and the sensor sensitivity are adjusted and optimized so that the output of the optical sensor changes with a slight change in the amount of light.

[0006] However, when a slit plate is provided on the optical sensor as described above, the range in which the position of the piano wire can be detected becomes narrow. In addition, since any deviation in the mounting position of the slit plate affects the range in which the position of the piano wire can be detected, the slit plate must be positioned with high precision. In addition, since the light beam of the optical sensor does not have a uniform light amount distribution, the amount of light varies depending on the range cut by the slit plate. Therefore, when the mounting position of the slit plate is adjusted, the amount of light emitted must be adjusted so that the output value of the optical sensor becomes a predetermined value. These adjustment operations must be repeated many times every time the mounting position of the slit plate is adjusted, which is a burden on the work.

[0007] An object of the present invention is to provide a piano wire position detection device that can detect the position of a piano wire over a wider range and reduce the burden of adjusting the optical sensor. [Means for solving the problem]

[0008] In order to solve the above problems, for example, the configurations described in the claims are adopted. The present application includes multiple means for solving the above-mentioned problems, one of which is a piano wire position detection device comprising an optical sensor that forms a light beam for detecting a piano wire, a reference value storage unit that stores an output value of the optical sensor obtained under specified conditions as a reference value, a relative value calculation unit that calculates a relative value of the output value with respect to the reference value based on the reference value stored in the reference value storage unit and the output value of the optical sensor, and a binarization processing unit that binarizes the relative value calculated by the relative value calculation unit using a threshold value, and outputs a binary signal indicating the presence or absence of the piano wire. Effect of the Invention

[0009] According to the present invention, the position of the piano wire can be detected over a wider range, and the burden of adjusting the optical sensor can be reduced. Problems, configurations and effects other than those described above will become apparent from the following description of the embodiments. [Brief description of the drawings]

[0010] [Figure 1] 1 is a perspective view showing a configuration of a piano wire position detection device according to an embodiment of the present invention; [Diagram 2] FIG. 2 is a perspective view showing the arrangement of two optical sensors. [Diagram 3] FIG. 2 is a perspective view of the position detection device for a piano wire according to the embodiment. [Figure 4] FIG. 2 is a circuit diagram of an optical sensor and a sensor driving unit. [Diagram 5] FIG. 4 is a diagram showing output characteristics of an optical sensor. [Figure 6]FIG. 2 is a plan view showing the positional relationship between a light beam of an optical sensor and a piano wire. [Figure 7] 11 is a diagram showing the relationship between the position of the piano wire and the output of the optical sensor. FIG. [Figure 8] 1A and 1B are diagrams illustrating differences in output waveforms when a piano wire crosses a light beam from an optical sensor having different output characteristics. [Figure 9] FIG. 2 is a block diagram for explaining the configuration of a signal processing unit included in the piano wire position detection device according to the embodiment. [Figure 10] FIG. 13 is a diagram showing a relative output waveform of an optical sensor. [Figure 11] FIG. 13 is a diagram showing relative output waveforms of two optical sensors superimposed on each other. [Figure 12] FIG. 4 is a schematic diagram illustrating state transition of a binary signal of an optical sensor. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0011] Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings. In this specification and the drawings, elements having substantially the same functions or configurations are denoted by the same reference numerals, and duplicated explanations will be omitted.

[0012] Fig. 1 is a perspective view showing the configuration of a piano wire position detection device according to an embodiment. In Fig. 1, in order to clarify the positional relationship of each part, two directions that intersect at right angles in a horizontal plane are defined as the X direction and the Y direction, and the vertical direction that intersects at right angles to the X direction and the Y direction is defined as the Z direction. This is the same in the other figures.

[0013] As shown in Fig. 1, piano wire position detection device 10 is a device that detects the position of piano wire 12 suspended in an elevator hoistway. Piano wire 12 is hung from the top of the hoistway, which is the top of the building, by attaching a weight to it, and is stretched vertically by the weight of the weight. Guide rail 14 is a member that guides the movement of the car and counterweight that go up and down the hoistway. Guide rail 14 is a steel rail, and is fixed to the wall of the building facing the hoistway (the wall surface of the hoistway). Guide rail 14 is provided with XZ reference surface 14a and YZ reference surface 14b, and when installing guide rail 14, it is necessary to accurately align these reference surfaces with respect to the piano wire.

[0014] The position of the guide rail 14 is adjusted based on the position of the piano wire 12. Specifically, the position of the guide rail 14 is adjusted in the XY plane based on the piano wire 12, and after adjustment, the guide rail 14 is fixed to the wall of the building using a bracket (not shown). The guide rail 14 is fixed at several points in the vertical direction to the wall of the building. This allows the guide rail 14 to be installed straight in the vertical direction.

[0015] The piano wire position detection device 10 includes an X-direction position detection section 16, a Y-direction position detection section 18, a circuit board 20, a power supply section 22, and a housing 24.

[0016] (X-direction position detector 16) The X-direction position detection unit 16 is a part that detects the position of the piano wire 12 in the X-direction. As shown in Fig. 2, the X-direction position detection unit 16 includes two optical sensors 161, 162. Each of the two optical sensors 161, 162 is configured by a transmissive optical sensor. Furthermore, the two optical sensors 161, 162 are arranged to overlap in the vertical direction (up-down direction).

[0017] The optical sensor 161 has a light emitting portion 161a and a light receiving portion 161b, and is a transmission type optical sensor that forms a light flux between the light emitting portion 161a and the light receiving portion 161b. The light flux of the optical sensor 161 is formed in order to detect an obstruction (including the piano wire 12). The optical sensor 161 is formed in a U-shape so that the light emitting portion 161a and the light receiving portion 161b face each other in the Y direction. As a result, the optical sensor 161 is configured to receive light emitted by the light emitting portion 161a at the light receiving portion 161b. Therefore, if there is no obstruction between the light emitting portion 161a and the light receiving portion 161b, the light reaches the light receiving portion 161b, but if there is an obstruction, the light does not reach the light receiving portion 161b. Therefore, by detecting a change in the amount of light at the light receiving portion 161b, it is possible to determine the presence or absence of an obstruction.

[0018] Similarly, the optical sensor 162 has a light emitting portion 162a and a light receiving portion 162b, and is a transmission type optical sensor that forms a light flux between the light emitting portion 162a and the light receiving portion 162b. The light flux of the optical sensor 162 is formed to detect an obstruction (including the piano wire 12). The optical sensor 162 is formed in a U-shape such that the light emitting portion 162a and the light receiving portion 162b face each other in the Y direction. As a result, the optical sensor 162 is configured to receive light emitted by the light emitting portion 162a at the light receiving portion 162b. Therefore, if there is no obstruction between the light emitting portion 162a and the light receiving portion 162b, the light reaches the light receiving portion 162b, but if there is an obstruction, the light does not reach the light receiving portion 162b. Therefore, by detecting a change in the amount of light at the light receiving portion 162b, the presence or absence of an obstruction can be determined.

[0019] The X-direction position detection unit 16 is arranged so that the light beam between the light-emitting unit 161a and the light-receiving unit 161b and the light beam between the light-emitting unit 162a and the light-receiving unit 162b are each oriented in the Y direction, and is configured so that the amount of light received by the light-receiving units 161b, 161b changes when the piano wire 12 passes through the light beams as an obstruction. With this configuration, the two optical sensors 161, 162 detect the presence or absence of the piano wire 12 in each light beam when the piano wire 12 moves in the X direction so as to cross the light beams.

[0020] The two optical sensors 161, 162 are arranged offset by a predetermined amount ΔX in the X direction. Due to this offset, the detection positions of the piano wire 12 detected by the two optical sensors 161, 162 are offset by ΔX. The offset amount ΔX is set so that there is a section in which the piano wire can be detected simultaneously by the two optical sensors 161, 162. For example, if the detection widths W of the optical sensors 161, 162 in the X direction are both 2 mm, then by setting the offset amount ΔX to 1 mm, a section of 1 mm in which the piano wire 12 can be detected simultaneously by the two optical sensors 161, 162 can be secured.

[0021] The detection width W of the optical sensor 161 is determined by the width of the light beam formed between the light-emitting portion 161a and the light-receiving portion 161b to detect the presence of an obstruction. Similarly, the detection width W of the optical sensor 162 is determined by the width of the light beam formed between the light-emitting portion 162a and the light-receiving portion 162b to detect the presence of an obstruction. The detection width W of the optical sensors 161 and 162 is ensured to be wider than the diameter of the piano wire 12. For example, when the diameter of the piano wire 12 is 0.5 mm, the detection width W of the optical sensors 161 and 162 is set to 2 mm.

[0022] In this embodiment, the optical sensors 161 and 162 are not provided with slit plates. The slit plates are thin plates having slit holes for blocking part of the light emitted from the light emitter 161a toward the light receiver 161b and slit holes for blocking part of the light emitted from the light emitter 162a toward the light receiver 162b. Therefore, when the optical sensors 161 and 162 are not provided with slit plates, the position of the piano wire 12 can be detected over a wider range than when the optical sensors 161 and 162 are provided with slit plates. Furthermore, when the optical sensors 161 and 162 are not provided with slit plates, the position of the piano wire 12 can be detected over a wider range by using an optical sensor with a wide detection width W. Furthermore, when the optical sensors 161 and 162 are provided with slit plates, the position of the piano wire 12 can be detected over a wider range by using a thin plate with a wide slit hole.

[0023] As described above, by disposing the two optical sensors 161, 162 with a predetermined offset ΔX, the position of the piano wire 12 can be detected in four sections. Specifically, the position of the piano wire 12 can be detected in a section where the piano wire 12 is detected only by the optical sensor 161, a section where the piano wire 12 is detected simultaneously by the two optical sensors 161, 162, a section where the piano wire 12 is detected only by the optical sensor 162, and a section where the piano wire 12 is not detected by either of the optical sensors 161, 162. Furthermore, the section where the piano wire 12 is not detected by either of the optical sensors 161, 162 can be distinguished into two sections by a state transition described later, thereby making it possible to detect the position of the piano wire 12 in five sections (zones).

[0024] An example of such optical sensors 161, 162 is a photointerrupter. A photointerrupter is characterized by being small, lightweight, and consuming little power. This characteristic makes it possible to configure a compact sensor unit for detecting the position of the piano wire 12. In addition, since a battery can be used as the power supply unit 22, it is possible to house the entire system in a small housing 24.

[0025] (Y-direction position detector 18) The Y-direction position detection unit 18 is a section that detects the position of the piano wire 12 in the Y direction. As shown in FIG. 1, the Y-direction position detection unit 18 is disposed below the X-direction position detection unit 16. The vertical positional relationship between the X-direction position detection unit 16 and the Y-direction position detection unit 18 may be reversed. The Y-direction position detection unit 18 includes two optical sensors 181, 182. Each of the two optical sensors 181, 182 is configured by a transmissive optical sensor. The two optical sensors 181, 182 are disposed one on top of the other in the vertical direction (up-down direction).

[0026] The Y-direction position detection unit 18 has a configuration basically similar to that of the X-direction position detection unit 16. However, the Y-direction position detection unit 18 and the X-direction position detection unit 16 have different orientations in a horizontal plane (XY plane) by 90°. Specifically, the optical sensors 161 and 162 are arranged such that the light emitting units 161a and 162a and the corresponding light receiving units 161b and 162b face each other in the Y direction, and the optical sensors 181 and 182 are arranged such that the light emitting units 181a and 182a and the corresponding light receiving units 181b and 182b face each other in the X direction. Although not shown in the figure, the two optical sensors 181 and 182 are arranged with a predetermined amount ΔY shifted in the Y direction. Details of the Y-direction position detection unit 18 overlap with the description of the X-direction position detection unit 16 described above, so a description thereof will be omitted.

[0027] (Circuit board 20) As shown in Fig. 1, the circuit board 20 includes a sensor driving unit 26 and a signal processing unit 28. The sensor driving unit 26 drives the optical sensors 161, 162 included in the X-direction position detection unit 16 and the optical sensors 181, 182 included in the Y-direction position detection unit 18. The sensor driving unit 26 forms a circuit that sets the light emission amount of the light emitting units 161a, 162a, 181a, 182a of the optical sensors 161, 162, 181, 182 and the sensitivity of the light receiving units 161b, 162b, 181b, 182b of the optical sensors 161, 162, 181, 182. The signal processing unit 28 processes signals output from the optical sensors 161, 162, 181, 182. The signal processing unit 28 can be configured with an embedded microcomputer and its peripheral circuits. The circuit board 20 is constructed by forming an electric circuit on, for example, a printed circuit board or a flexible circuit board, and mounting various electronic components on the circuit board.

[0028] (Power supply section 22) The power supply unit 22 is a power supply that supplies power necessary to drive the X-direction position detection unit 16, the Y-direction position detection unit 18, and the circuit board 20. The power consumption of the optical sensors 161, 162 provided in the X-direction position detection unit 16, the power consumption of the optical sensors 181, 182 provided in the Y-direction position detection unit 18, and further the power consumption of the circuit board 20 are all low. For this reason, the power supply unit 22 can be, for example, a dry battery or a rechargeable battery.

[0029] (Case 24) The housing 24 is a body that contains and mounts the components of the X-direction position detection unit 16 (optical sensors 161, 162), the Y-direction position detection unit 18 (optical sensors 181, 182), the circuit board 20, and the power supply unit 22. The housing 24 is required to function as a part of a gauge when adjusting the position of the guide rail 14 based on the position of the piano wire 12. For this reason, the housing 24 is made of a material that has high rigidity and a small thermal expansion coefficient, for example, a metal material such as stainless steel. An opening 30 is provided at the tip of the housing 24 for introducing the piano wire 12 into the X-direction position detection unit 16 and the Y-direction position detection unit 18. It is desirable to cover the outer edge of the housing 24, including this opening 30, which may come into contact with the piano wire 12, with a highly lubricating resin such as polyacetal to prevent the piano wire 12 from being damaged.

[0030] The housing 24 is removably attached to the guide rail 14 by a clip portion 32 .

[0031] The clip part 32 has a first contact surface 32a that contacts the XZ reference surface 14a and a second contact surface 32b that contacts the YZ reference surface 14b of the two reference surfaces provided on the guide rail 14. As shown in Fig. 3, for example, the clip part 32 is fixed to the guide rail 14 by the magnetic attraction force of the magnets 34a, 34b by providing a first magnet 34a on the first contact surface 32a and a second magnet 34b on the second contact surface 32b.

[0032] In this way, by fixing the clip portion 32 to the guide rail 14 by magnetic attraction, it is possible to prevent the first contact surface 32a from floating relative to the XZ reference surface 14a and the second contact surface 32b from floating relative to the YZ reference surface 14b. Even if the operator releases his or her hands from the housing 24 and the clip portion 32, the piano wire position detection device 10 and the clip portion 32 are held in a fixed state.

[0033] As a fixing means that does not use magnetic attraction, for example, a fixing structure using a vice can be adopted. Specifically, a screw or the like is abutted against the surface of the guide rail 14 opposite to the XZ reference surface 14a, and the guide rail 14 is sandwiched between the first abutment surface 32a and the screw or the like by tightening the screw or the like.

[0034] A protective film 36a is attached to the first contact surface 32a of the clip part 32 so as to cover the first magnet 34a, and a protective film 36b is attached to the second contact surface 32b of the clip part 32 so as to cover the second magnet 34b. The protective films 36a and 36b are, for example, made of a non-magnetic resin film with one side being an adhesive surface. By attaching the protective films 36a and 36b to the clip part 32 in this manner, iron sand adhering to the magnets 34a and 34b and dirt adhering to the contact surfaces 32a and 23b can be easily wiped off.

[0035] Furthermore, by appropriately changing the number of overlapping protective films 36a attached to the first contact surface 32a of the clip portion 32, it is possible to finely adjust the position of the housing 24 and the positions of the X-direction position detector 16 and the Y-direction position detector 18 in the Y direction relative to the XZ reference surface 14a of the guide rail 14. Similarly, by appropriately changing the number of overlapping protective films 36b attached to the second contact surface 32b of the clip portion 32, it is possible to finely adjust the position of the housing 24 and the positions of the X-direction position detector 16 and the Y-direction position detector 18 in the X direction relative to the YZ reference surface 14b of the guide rail 14.

[0036] 4 is a circuit diagram of the optical sensor and the sensor driving unit. Here, the optical sensor 161 will be described as an example. 4, the optical sensor 161 has a light-emitting unit 161a and a light-receiving unit 161b. A resistor 38a is connected in series to the light-emitting unit 161a, and a resistor 38b is connected in series to the light-receiving unit 161b. The output of the optical sensor 161 is taken out from an output terminal 40. The resistor 38a on the light-emitting side and the resistor 38b on the light-receiving side are electronic components that constitute the sensor driving unit 26.

[0037] The resistor 38a on the light-emitting side is a resistor that adjusts the current supplied to the light-emitting unit 161a, and the lower the resistance value, the larger the current that flows through the light-emitting unit 161a. The light-emitting unit 161a of the optical sensor 161 has a characteristic that the amount of light emitted increases as the current flowing through the light-emitting unit 161a increases. Therefore, by adjusting the resistance value of the resistor 38a, the amount of light emitted by the light-emitting unit 161a can be changed.

[0038] The resistor 38b on the light receiving side is a resistor that converts the current flowing through the light receiving section 161b into a voltage, and the larger the resistance value, the higher the voltage that is output for a small current. The light receiving section 161b of the optical sensor 161 has a characteristic that the more light it receives, the more current it passes. Therefore, the sensitivity of the light receiving section 161b can be changed by adjusting the resistance value of the resistor 38b.

[0039] The output of the optical sensor 161 is determined by multiplying the amount of light emitted by the light-emitting portion 161a by the sensitivity of the light-receiving portion 161b. Therefore, the resistance value of the resistor 38a on the light-emitting side and the resistance value of the resistor 38b on the light-receiving side are set to appropriate values ​​so as to obtain a desired output.

[0040] FIG. 5 is a diagram showing the output characteristics of an optical sensor. The horizontal axis of Figure 5 is the light transmittance (%) between the light-emitting unit and the light-receiving unit of the optical sensor. This transmittance is 0% when the light is completely blocked by an obstruction between the light-emitting unit and the light-receiving unit, and is 100% when there is no obstruction between the light-emitting unit and the light-receiving unit. The vertical axis of Figure 5 is the output (%) of the optical sensor. The output of the optical sensor is large when a large amount of light reaches the light-receiving unit and the sensitivity of the light-receiving unit is high.

[0041] Here, three different output characteristics are shown as representative examples of the output characteristics of optical sensors. In the figure, the solid line is the output waveform of optical sensor output characteristic A, the dotted line is the output waveform of optical sensor output characteristic B, and the dashed line is the output waveform of optical sensor output characteristic C.

[0042] Output characteristic A of an optical sensor is an output characteristic when the light-emitting section emits a large amount of light and the sensitivity is high. With this output characteristic A, the output is saturated when the transmittance is less than 100%. Output characteristic B of an optical sensor is an output characteristic where the transmittance and output are proportional to each other over the entire range. With this output characteristic B, the output is 100% when the transmittance is 100%. Output characteristic C of an optical sensor is an output characteristic where the transmittance and output are proportional to each other over the entire range, just like output characteristic B. However, with output characteristic C, the slope of the output waveform is smaller than with output characteristic B, and the output does not reach 100% even when the transmittance is 100%.

[0043] When detecting the piano wire 12 using an optical sensor, the diameter of the piano wire 12 is smaller than the width of the light beam of the optical sensor, and even if the piano wire 12 enters the light beam of the optical sensor, it cannot completely block the light. For example, if the diameter of the piano wire 12 is 0.5 mm and the light beam width of the optical sensor is 2 mm, the proportion of the light beam that the piano wire 12 can block is 25%. Therefore, when detecting the piano wire 12 using an optical sensor, the change in transmittance is in the range S from 75% to 100%.

[0044] When an optical sensor having output characteristic A is used to detect the piano wire 12, even if the piano wire 12 comes to a position where it blocks the light beam of the optical sensor, there is no change in the output, and the output remains saturated at 100%. This shows that an optical sensor having output characteristic A is not suitable for detecting the piano wire 12. On the other hand, an optical sensor having output characteristic B or output characteristic C changes its output when the piano wire 12 blocks the light beam. This shows that an optical sensor having output characteristic B can determine the presence or absence of the piano wire 12 with a binary signal by setting a threshold b within the range of change in output. Furthermore, an optical sensor having output characteristic C can determine the presence or absence of the piano wire 12 with a binary signal by setting a threshold c within the range of change in output. This shows that an optical sensor having output characteristic B or output characteristic C is suitable for detecting the piano wire 12.

[0045] Fig. 6 is a plan view showing the relationship between the light beam of the optical sensor and the position of the piano wire. The symbols A to G in the figure each indicate the position of the piano wire 12. Meanwhile, Fig. 7 is a diagram showing the relationship between the position of the piano wire and the output of the optical sensor. In Fig. 7, the horizontal axis indicates the position of the piano wire, the vertical axis indicates the output (%) of the optical sensor, and the solid line indicates the output characteristics of the optical sensor. Here, the optical sensor 161 will be described as an example, but the same applies to the other optical sensors 162, 181, and 182.

[0046] As shown in Fig. 6, optical sensor 161 forms light beam 42 between light-emitting portion 161a and light-receiving portion 161b. Light beam 42 is formed with a predetermined width (hereinafter also referred to as "light beam width") W in order to detect piano wire 12. The output of optical sensor 161 changes depending on whether piano wire 12 is located outside light beam 42, whether a part of piano wire 12 is within light beam 42, or whether the entire piano wire 12 is within light beam 42. Light beam width W is substantially the same as detection width W (Fig. 2) when optical sensor 161 is used to detect the position of piano wire 12.

[0047] Here, it is assumed that the output of the optical sensor 161 is 100% when the light transmittance between the light emitter 161a and the light receiver 161b is 100%. In this case, when the piano wire 12 is located above position A in FIG. 6 with respect to the light beam 42 having a light beam width W, the light beam 42 is not blocked by the piano wire 12, and the output of the optical sensor 161 is 100%. Furthermore, when the piano wire 12 moves from position A to position C via position B, the light beam 42 is gradually blocked by the piano wire 12, and the output of the optical sensor 161 gradually decreases. Then, when the piano wire 12 is located at position C, ¼ of the light beam width W is blocked by the piano wire 12, and the output of the optical sensor 161 decreases to 75%.

[0048] On the other hand, while the piano wire 12 moves from position C to position E via position D, 1 / 4 of the light beam width W remains blocked by the piano wire 12, so the output of the optical sensor 161 remains unchanged at 75%. When the piano wire 12 moves from position E to position G via position F, the piano wire 12 gradually moves out of the path of the light beam 42, and the amount of light received by the light receiving portion 161b increases accordingly, so that the output of the optical sensor 161 rises. When the piano wire 12 is located below position G in Fig. 6, the light beam 42 is no longer blocked by the piano wire 12, so that the output of the optical sensor 161 becomes 100%.

[0049] In this way, the output of the optical sensor 161 changes in the range from 75% to 100% according to the change in the position of the piano wire 12 in the X direction. In the output characteristic of the optical sensor 161, if the threshold is set to about 87.5%, for example, the output of the optical sensor 161 can be divided into the following two states. One is a High state (hereinafter also referred to as "H state") in which the output of the optical sensor 161 exceeds the threshold, and the other is a Low state (hereinafter also referred to as "L state") in which the output of the optical sensor 161 is equal to or lower than the threshold. As a result, when the piano wire 12 is present in the range from position B to position F, the output of the optical sensor 161 is in the L state, and when the piano wire 12 is present in any other position, the output of the optical sensor 161 is in the H state. In this way, the position of the piano wire 12 can be detected by setting a threshold value for the output of the optical sensor 161 and binarizing it.

[0050] FIG. 8 is a diagram illustrating the difference in output waveforms when a piano wire crosses a light beam from an optical sensor having different output characteristics. 8, the horizontal axis indicates the position of the piano wire, and the vertical axis indicates the output of the optical sensor. The solid line indicates the output waveform of the optical sensor having output characteristic A, the dotted line indicates the output waveform of the optical sensor having output characteristic B, and the dashed line indicates the output waveform of the optical sensor having output characteristic C.

[0051] 8, the output waveform of the optical sensor having the output characteristic A is in a state where the output is saturated at 100%. For this reason, it is understood that the optical sensor having the output characteristic A cannot detect the piano wire 12.

[0052] In contrast, the output waveform of the optical sensor having output characteristic B has an output of 100% when the piano wire 12 is outside the light beam of the optical sensor, and the output gradually decreases as the piano wire 12 enters the light beam. Then, when the piano wire 12 enters completely into the light beam, the output bottoms out. In this output waveform, a threshold b is set between the output of 100% and the bottomed-out output value (bottom value), and the output of the optical sensor is binarized using this threshold b, making it possible to detect the presence or absence of the piano wire 12 within the light beam width of the optical sensor. Here, it is relatively easy to set the threshold b. For example, if the output of the optical sensor is expected to be 75% when the piano wire 12 is completely inside the light beam, the threshold b can be fixed and set to around 87.5%.

[0053] On the other hand, the output waveform of the optical sensor having the output characteristic C is similar to that of the optical sensor having the output characteristic B, but when the piano wire 12 is outside the light beam of the optical sensor, the output does not reach 100%. In addition, the output value when the piano wire 12 is completely inside the light beam and reaches the bottom is also an intermediate value. Therefore, in the output waveform of the optical sensor having the output characteristic C, the change in the output when the piano wire 12 is outside the light beam of the optical sensor and when the piano wire 12 is inside the light beam is small. Here, the threshold c is set by looking at the output waveform of the optical sensor. Also, since the output characteristics of the optical sensor vary, the threshold c is adjusted one by one in response to this variation. For this reason, adjusting the threshold c is a very difficult task. Therefore, in the past, for example, a variable resistor was used for the resistor 38a on the light-emitting side of the optical sensor 161, and the resistance value of the resistor 38a was adjusted so that the output characteristic of the optical sensor 161 became the output characteristic B. However, if such an adjustment work is performed for each of the optical sensors 161, 162, 181, and 182, the workload becomes large.

[0054] Therefore, in this embodiment, even if the output characteristic of the optical sensor is output characteristic C, the optical sensor can be used without adjusting the resistance value by performing signal processing described later.

[0055] 9 is a block diagram for explaining the configuration of a signal processing unit included in the piano wire position detection device according to the embodiment. Note that the piano wire position detection device 10 includes a signal processing unit corresponding to the X-direction position detection unit 16 and a signal processing unit corresponding to the Y-direction position detection unit 18, but each signal processing unit basically has the same configuration. For this reason, the configuration of the signal processing unit corresponding to the X-direction position detection unit 16 will be explained here as an example.

[0056] 9, the signal processing unit 28 includes two reference value storage units 50a and 50b, two relative value calculation units 52a and 52b, two binarization processing units 54a and 54b, a zone determination unit 56, a display unit 58, and an interface 60. The signal processing unit 28 receives an output signal from the optical sensor 161 and an output signal from the optical sensor 162.

[0057] (Reference value storage units 50a, 50b) The reference value storage section 50a stores, as a reference value, a characteristic value (hereinafter referred to as "output value") of the output signal of the optical sensor 161 obtained under a predetermined condition. The reference value storage section 50b stores, as a reference value, a characteristic value (hereinafter referred to as "output value") of the output signal of the optical sensor 162 obtained under a predetermined condition. The reference value stored in the reference value storage section 50a is read by the relative value calculation section 52a, and the reference value stored in the reference value storage section 50b is read by the relative value calculation section 52b. Here, the predetermined condition is a condition under which the light transmittance in the optical sensor is 100%, and more specifically, when the piano wire 12 does not block the light beam of the optical sensor 161, in other words, when the piano wire 12 is outside the light beam of the optical sensor 161. This definition is also applied to the case where the reference value is stored in the reference value storage section 50b.

[0058] The reference value can be any fixed value, but it is preferable to store the output value of the optical sensor (161, 162) when the piano wire 12 is not in the light beam of the optical sensor immediately before using the piano wire position detection device 10 or during operation of the piano wire position detection device 10. This makes it possible to obtain an appropriate reference value even when, for example, the amount of light emitted by the light-emitting part of the optical sensor decreases due to aging, the amount of light received by the light-receiving part of the optical sensor decreases due to dust adhering to the light-receiving part, or environmental changes such as external light and temperature change.

[0059] As a method for obtaining the reference value immediately before using the piano wire position detection device 10, for example, a method in which the output value of the optical sensors (161, 162) when the piano wire position detection device 10 is powered on (preferably immediately after powering on) is used as the reference value. In this case, by designating an operation procedure for the operator to guide the piano wire 12 to the opening 30 (FIG. 1) of the housing 24 after powering on, it is possible to create a state in which the piano wire 12 is not in the light beam of the optical sensors (161, 162) when the reference value is to be obtained. As a method for obtaining the reference value during the operation of the piano wire position detection device 10, for example, a method in which the maximum output value of the optical sensors (161, 162) is used as the reference value.

[0060] (Relative value calculation units 52a, 52b) The relative value calculation unit 52a calculates the relative value of the output value with respect to the reference value based on the reference value stored in the reference value storage unit 50a and the output value of the optical sensor 161. For example, when the reference value stored in the reference value storage unit 50a is 80%, if the output value of the optical sensor 161 is 80%, the relative value calculation unit 52a calculates the relative value as 100% and if the output value of the optical sensor 161 is 75%, the relative value calculation unit 52a calculates the relative value as 94%. The relative value calculation unit 52b calculates the relative value of the output value with respect to the reference value based on the reference value stored in the reference value storage unit 50b and the output value of the optical sensor 162. For example, when the reference value stored in the reference value storage unit 50b is 70%, the relative value calculation unit 52b calculates the relative value as 100% and if the output value of the optical sensor 162 is 70%, the relative value calculation unit 52b calculates the relative value as 86%.

[0061] As a result, even if, for example, one of the optical sensors 161 and 162 has the output characteristic B shown in FIG. 5 and the other optical sensor has the output characteristic C shown in FIG. 5, the maximum value of the relative value calculated by the relative value calculation units 52a and 52b can be adjusted to 100%. In other words, even if the output characteristics of the optical sensors vary depending on the output characteristic B or the output characteristic C, the maximum value of the relative output of the optical sensors can be adjusted by calculating the relative value as described above. Specifically, as shown in FIG. 10, when the relative output of the optical sensor (calculation result of the relative value) is taken on the vertical axis and the position of the piano wire is taken on the horizontal axis, the relative output waveform corresponding to the optical sensor having the output characteristic C almost overlaps with the relative output waveform corresponding to the optical sensor having the output characteristic B, and the same relative output characteristic can be obtained for the optical sensors having either output characteristic. However, in the optical sensor having the output characteristic A shown in FIG. 5, the calculation result of the relative value becomes 100% regardless of the presence or absence of the piano wire 12. For this reason, in this embodiment, the resistance value of resistor 38a of sensor driving unit 26 is determined by design so that the maximum output value of optical sensor 161 is less than 100%. This also applies to optical sensor 162.

[0062] (Binarization processing units 54a, 54b) The binarization processing unit 54a binarizes the relative value calculated by the relative value calculation unit 52a with a preset threshold value, thereby outputting the presence or absence of the piano wire 12 as a binary signal. Specifically, it judges whether the relative value is larger than the threshold value, and outputs a High state signal if the relative value is greater than the threshold value, and outputs a Low state signal if the relative value is equal to or smaller than the threshold value. Similarly, the binarization processing unit 54b binarizes the relative value calculated by the relative value calculation unit 52b with a preset threshold value, thereby outputting the presence or absence of the piano wire 12 as a binary signal. The threshold value applied to the binarization can be set arbitrarily as long as it is within the range of the change width T of the output characteristics B and C shown in FIG. 10. Furthermore, the same threshold value can be set for the binarization processing unit 54a and the binarization processing unit 54b even if the output characteristics of the optical sensors 161 and 162 are different. In this case, it is preferable to set the threshold value to a value midway between the bottom value of the relative output and 100%. For example, when the bottom value of the relative output is 75%, it is preferable to set the threshold value to 87.5%.

[0063] (Zone determination unit 56) The zone determination unit 56 determines the position of the piano wire 12 in five zones based on the binary signals output by the two binarization processing units 54a and 54b. Specifically, the zone determination unit 56 determines in which of the five zones, described below, the piano wire 12 is located. This will be explained in detail below.

[0064] FIG. 11 is a diagram showing the relative output waveforms of two optical sensors superimposed on each other. 11, the vertical axis indicates the relative output of the optical sensor (the calculation result of the relative value), and the horizontal axis indicates the position of the piano wire. In the figure, the solid line indicates the relative output waveform of optical sensor 161, and the dashed line indicates the relative output waveform of optical sensor 162.

[0065] The relative output waveforms of the optical sensors 161, 162 are the same as the waveforms of the output characteristics B and C shown in FIG. 10. However, since the two optical sensors 161, 162 are arranged with a predetermined amount ΔX shifted in the X direction as shown in FIG. 2, the relative output waveforms also appear at positions shifted by ΔX in the horizontal direction. Here, a threshold value for determining the presence or absence of the piano wire 12 is set to the middle between the bottom value and the maximum value 100% of the relative output of each of the optical sensors 161, 162, and the relative output of each of the optical sensors 161, 162 is binarized. Then, four states, HH, LH, LL, and HL, appear as combinations of the binary signal (H / L) of the optical sensor 161 and the binary signal (H / L) of the optical sensor 162. The binary signal of the optical sensor 161 is a signal obtained by binarizing the relative value (relative output) of the optical sensor 161 calculated by the relative value calculation unit 52a in the binarization processing unit 54a. Similarly, the binary signal of the optical sensor 162 is a signal obtained by binarizing the relative value (relative output) of the optical sensor 162 calculated by the relative value calculation section 52b in the binarization processing section 54b.

[0066] The HH state is a state in which neither of the two optical sensors 161, 162 detects the piano wire 12. The LH state is a state in which the optical sensor 161 detects the piano wire 12, and the optical sensor 162 does not detect the piano wire 12. The LL state is a state in which both of the optical sensors 161, 162 detect the piano wire 12. The LH state is a state in which the optical sensor 161 does not detect the piano wire 12, and the optical sensor 162 detects the piano wire 12.

[0067] Of the four states described above, in the HH state, in order to determine whether the piano wire 12 deviates to the negative side or the positive side in the X direction with respect to the light beams of the optical sensors 161 and 162, the state transition of the binary signal shown in Fig. 12 is used. This will be explained in detail below.

[0068] FIG. 12 is a schematic diagram illustrating the state transition of a binary signal of an optical sensor. 12, the combination of the binary signal (H / L) of the optical sensor 161 and the binary signal (H / L) of the optical sensor 162 includes an initial state (Initial) and five zones (Zone 0, Zone 1, Zone 2, Zone 3, and Zone 4) that represent the position of the piano wire 12. The arrows in FIG. 12 indicate the direction in which the binary signals of the optical sensors 161 and 162 transition from one state to another. The subscripts attached to the arrows indicate the trigger for the transition of the state of the binary signals of the optical sensors 161 and 162. Here, it is shown that the binary signals of the two optical sensors 161 and 162 are the trigger.

[0069] In this embodiment, an initial state (Initial) is set when the power supply of the piano wire position detection device 10 is turned on. In the initial state, the state of the binary signals of the optical sensors 161 and 162 is set to the HH state, that is, the same HH combination as that of zone 0 and zone 4. The initial state transitions to the next state when the binary signals of the optical sensors 161 and 162 change to LH, LL, and HL.

[0070] Zone 0 is a zone where the binary signals of the optical sensors 161 and 162 are in the HH state, as described above. Similarly, zone 1 is in the LH state, zone 2 is in the LL state, zone 3 is in the HL state, and zone 4 is in the HH state. Here, when the piano wire 12 is moved so as to cross from the negative side to the positive side in the X direction with respect to the light beams of the optical sensors 161 and 162, the binary signals of the optical sensors 161 and 162 change in the order of HH state → LH state → LL state → HL state → HH state. Conversely, when the piano wire 12 is moved so as to cross from the positive side to the negative side in the X direction, the binary signals of the optical sensors 161 and 162 change in the order of HH state → HL state → LL state → LH state → HH state. In such state changes, there is only one section in the LH state, one section in the LL state, and one section in the HL state. Therefore, when the binary signals of the optical sensors 161, 162 are in the LH state, the zone determination unit 56 determines that the piano wire 12 is in zone 1, when they are in the LL state, the piano wire 12 is in zone 2, and when they are in the HL state, the zone determination unit 56 determines that the piano wire 12 is in zone 3.

[0071] Also, the HH state of zone 0 is always a transition state from the LH state of zone 1, whereas the HH state of zone 4 is always a transition state from the HL state of zone 3. That is, zone 0 and zone 4 are different in the state immediately before the state transition of the binary signals of the optical sensors 161 and 162 occurs. For this reason, zone 0 and zone 4 can be distinguished from each other by whether the state immediately before the binary signals of the optical sensors 161 and 162 become the HH state is the LH state or the HL state. Specifically, the zone determination unit 56 determines that the piano wire 12 is in zone 0 when the binary signals of the optical sensors 161 and 162 change from the LH state to the HH state, and that the piano wire 12 is in zone 4 when the binary signals of the optical sensors 161 and 162 change from the LH state to the HH state. Such a determination result of the zone determination unit 56 is notified to the display unit 58 and the interface 60.

[0072] Of the five zones described above, the width of zone 1, where the combination of the binary signals of the optical sensors 161, 162 is in the LH state, and the width of zone 3, where the combination is in the HL state, is the same as the deviation ΔX of the two optical sensors 161, 162, as shown in Fig. 11, and the width of zone 2, where the combination is in the LL state, is the dimension obtained by subtracting the deviation ΔX from the light beam width W. Therefore, the position of the piano wire 12 can be quantitatively known from the determination result of the zone determination unit 56. The reason why the width of each zone can be set so precisely is that the relative output characteristics of the two optical sensors 161, 162 are made uniform by the calculation of the relative values ​​described above.

[0073] (Display section 58) The display unit 58 displays the result of the determination by the zone determination unit 56. The display unit 58 may be configured in any way as long as it allows the worker to visually determine which of the five zones described above is the zone in which the zone determination unit 56 has determined that the piano wire 12 is present. For example, five light-emitting diodes may be arranged in a row corresponding to the five zones described above, and one of the light-emitting diodes may be turned on to visually indicate the zone in which the zone determination unit 56 has determined that the piano wire 12 is present. By arranging such a display unit 58 beside the X-direction position detection unit 16 and the X-direction position detection unit 16, respectively, the worker can recognize the position of the piano wire 12 by looking at the lit positions of the light-emitting diodes.

[0074] (Interface 60) The interface 60 outputs the judgment result of the zone judgment unit 56 to the outside. For example, the interface 60 transmits the judgment result of the zone judgment unit 56 to an external terminal device by a wireless device. The terminal device is, for example, a terminal device carried by a worker who installs the guide rail. This allows the worker to check the position of the piano wire 12 by looking at the screen of the terminal device even when working at a location away from the piano wire position detection device 10. The interface 60 can also receive a control signal for remotely operating the piano wire position detection device 10 from the external terminal device. Possible control signals for remote operation include, for example, a command signal for cutting off the power supply to the piano wire position detection device 10 and a signal for instructing a change in the threshold value applied to the binarization process in the binarization processing units 54a and 54b.

[0075] Next, a method for centering a guide rail using the piano wire position detection device according to this embodiment will be described.

[0076] First, an operator assembles piano wire position detection device 10 with high precision using an assembly jig (not shown). In doing so, the operator uses housing 24 of piano wire position detection device 10 as part of a gauge and assembles the device while controlling with high precision the distance from clip portion 32 to the detection position of piano wire 12. In addition, by outputting the binary signals of optical sensors 161, 162 to an external device or the like for monitoring, the operator adjusts the distance from clip portion 32 to the detection position of piano wire 12 so that the position where piano wire 12 should be aligned is in zone 2 (the section where the combination of binary signals is in the LL state). The distance can be adjusted by overlapping protective films 36a, 36b (FIG. 3).

[0077] Next, the worker fixes the piano wire position detection device 10, for which the above-mentioned distance adjustment has been completed, to the guide rail 14 by the clip portion 32. At that time, the worker brings the first contact surface 32a of the clip portion 32 into contact (close contact) with the XZ reference surface 14a of the guide rail 14, and brings the second contact surface 32b into contact (close contact) with the YZ reference surface 14b. As a result, the clip portion 32 is fixed to the guide rail 14 by the magnetic attraction force of the magnets 34a and 34b.

[0078] In this embodiment, a microswitch (not shown) is used as a power switch for the piano wire position detection device 10, and this microswitch is attached to the clip portion 32. When the clip portion 32 is attached to the guide rail 14 as described above, the microswitch is turned on by approaching or coming into contact with the guide rail 14, thereby automatically powering on the piano wire position detection device 10. When the piano wire position detection device 10 is powered on, power is supplied from the power supply portion 22 to the circuit board 20, the sensor drive portion 26, the signal processing portion 28, the optical sensors 161, 162, 181, 182, etc.

[0079] At this time, the reference value storage unit 50a stores the output value of the optical sensor 161 when the device is turned on as a reference value, and the reference value storage unit 50b stores the output value of the optical sensor 161 when the device is turned on as a reference value. At this time, the guide rail 14 has not been centered, so the piano wire 12 is located outside the detection range (light beam) of the optical sensors 161 and 162 and the detection range (light beam) of the optical sensors 181 and 182. Therefore, by storing the output value of the optical sensor 161 when the device is turned on in the reference value storage unit 50a, it is possible to store the output value of the optical sensor 161 when the piano wire 12 is not between the light emitting unit 161a and the light receiving unit 161b as a reference value. This is also true for the optical sensor 162 and the reference value storage unit 50b. Such storage of reference values ​​is performed in both the reference value storage units 50a and 50b corresponding to the X-direction position detection unit 16 and the reference value storage unit corresponding to the Y-direction position detection unit 18. The power switch of the piano wire position detection device 10 may be provided in a position where it can be pressed by an operator.

[0080] Next, the worker picks up the piano wire 12 with his / her hand and introduces it through the opening 30 of the housing 24, and passes the piano wire 12 through the detection ranges of the optical sensors 161, 162 and the detection ranges of the optical sensors 181, 182 once so that the piano wire 12 crosses these detection ranges. Specifically, the worker moves the piano wire 12 so that the light beams of the optical sensors 161, 162 cross in the X direction. The worker also moves the piano wire 12 so that the light beams of the optical sensors 181, 182 cross in the Y direction. At this time, the reference value storage unit 50a monitors the change in the output of the optical sensor 161 due to the movement of the piano wire 12. If the maximum output value of the optical sensor 161 obtained during the operation of the device is greater than the reference value stored before, including when the device is turned on, the reference value storage unit 50a stores the maximum output value as the reference value to update the reference value. This also applies to the reference value storage unit 50b corresponding to the optical sensor 162 and the reference value storage units corresponding to the optical sensors 181 and 182. In this way, by storing the maximum output value of the optical sensor during device operation as the reference value, even if the output characteristics of the optical sensor change for some reason, it is possible to store a reference value that reflects the output characteristics of the optical sensor at each time. Note that the reference value may be stored only when the device is powered on, or only while the device is operating.

[0081] On the other hand, the zone determination unit 56 starts the zone determination process after canceling its own initial state by the operator moving the piano wire 12 as described above. The details of the zone determination process are as described above.

[0082] The result of the determination by the zone determination unit 56 is output to the outside via the interface 60. There are various output methods. For example, a method of transmitting to an external device via a wire or a method of wirelessly transmitting to the outside via a wireless device can be selected. By outputting the result of the determination by the zone determination unit 56 to the outside via the interface 60, the position of the piano wire 12 can be confirmed even in a place far from the piano wire position detection device 10. In addition, by displaying the result of the determination by the zone determination unit 56 on the display unit 58, the worker can recognize the position of the piano wire 12 by looking at the lighting position of the light-emitting diode on the display unit 58. As a result, the worker adjusts the position of the guide rail 14 so that the lighting position of the light-emitting diode on the display unit 58 indicates zone 2 in both the X direction and the Y direction. This completes the centering of the guide rail 14.

[0083] As described above, the piano wire position detection device 10 according to this embodiment employs a configuration in which a relative value is calculated based on the reference value stored in the reference value storage unit 50a and the output value of the optical sensor 161, and the relative value is binarized using a threshold value, thereby outputting the presence or absence of the piano wire 12 as a binary signal. As a result, even if the output characteristics of the optical sensor 161 vary within a range from output characteristics B to output characteristics C shown in FIG. 5, the relative output characteristics of the optical sensor 161 can be made uniform as shown in FIG. 10. This is the same for the other optical sensors 162, 181, and 182. As a result, it is no longer necessary to adjust the resistance value according to the variation in the output characteristics of the optical sensor, or to set a threshold value by looking at the output characteristics of the optical sensor. This reduces the burden of adjusting the optical sensor. Also, even if a slit plate is not provided in the optical sensor, the relative output of the optical sensor (FIG. 10) can be changed significantly depending on the presence or absence of the piano wire 12. This makes it possible to detect the position of the piano wire 12 over a wider range without narrowing the detection width (light beam width) of the optical sensor by a slit plate.

[0084] In this embodiment, the reference value storage unit 50a stores as a reference value the output value of the optical sensor 161 when the piano wire 12 does not block the light beam of the optical sensor 161. This makes it possible to store a reference value suitable for the output characteristics of the optical sensor 161 in the reference value storage unit 50a. The reference value storage unit 50b stores as a reference value the output value of the optical sensor 162 when the piano wire 12 does not block the light beam of the optical sensor 162. This makes it possible to store a reference value suitable for the output characteristics of the optical sensor 162 in the reference value storage unit 50b. This effect can be obtained not only in the signal processing unit 28 corresponding to the X-direction position detection unit 16, but also in the signal processing unit corresponding to the Y-direction position detection unit 18.

[0085] In this embodiment, the X-direction position detection unit 16 has two optical sensors 161, 162, and the signal processing unit 28 has two reference value storage units 50a, 50b, two relative value calculation units 52a, 52b, and two binarization processing units 54a, 54b corresponding thereto. As a result, even if the output characteristics of the two optical sensors 161, 162 are different, the relative output characteristics of the two optical sensors 161, 162 can be made uniform without adjusting the resistance values. This also applies to the Y-direction position detection unit 18 and the corresponding signal processing unit.

[0086] In this embodiment, the two optical sensors 161, 162 are arranged offset by a predetermined amount ΔX in the X direction, and the zone determination unit 56 determines the position of the piano wire 12 in five zones based on the binary signals output by the two binarization processing units 54a, 54b. This makes it possible to detect the position of the piano wire 12 over a wide detection range. The same applies to the Y direction position detection unit 18 and its corresponding signal processing unit.

[0087] <Modifications, etc.> The technical scope of the present invention is not limited to the above-mentioned embodiment, but includes various modifications and improvements within the scope of the specific effects obtained by the constituent elements of the invention and their combinations. Also, although the above-mentioned embodiment is described in detail to make the contents of the present invention easy to understand, the present invention is not necessarily limited to those having all the configurations described in the above-mentioned embodiment.

[0088] For example, in the above embodiment, a protective film 36a is attached to the first abutment surface 32a of the clip portion 32, and a protective film 36b is attached to the second abutment surface 32b of the clip portion 32, but the protective films 36a and 36b may be attached as necessary.

[0089] In the above embodiment, the maximum output value of the optical sensor is stored as the reference value as a preferred example, but the present invention is not limited to this. For example, the output value of the optical sensor may be obtained multiple times when the piano wire is not blocking the light beam of the optical sensor, and the average value of the obtained output values ​​of the optical sensor (average output value of the optical sensor) may be stored as the reference value.

[0090] Furthermore, the piano wire position detection device 10 is not limited to being used for centering the guide rail 14, but can also be used for centering other installation members such as thresholds. [Explanation of symbols]

[0091] 10... piano wire position detection device, 12... piano wire, 42... light beam, 50a, 50b... reference value storage section, 52a, 52b... relative value calculation section, 54a, 54b... binarization processing section, 56... zone determination section, 58... display section, 60... interface, 161, 162, 181, 182... optical sensor

Claims

1. an optical sensor that forms a light beam for detecting the piano wire; a reference value storage unit that stores an output value of the optical sensor obtained under a predetermined condition as a reference value; a relative value calculation unit that calculates a relative value of the output value of the optical sensor with respect to the reference value based on the reference value stored in the reference value storage unit and the output value of the optical sensor; a binarization processing unit that binarizes the relative value calculated by the relative value calculation unit using a threshold value to output a binary signal indicating the presence or absence of the piano wire; A piano wire position detection device comprising:

2. The reference value storage unit stores, as the reference value, an output value of the optical sensor when the piano wire is not blocking the light beam of the optical sensor.

2. The position detection device for a piano wire according to claim 1.

3. The reference value storage stores the output value of the optical sensor when the device is powered on as the reference value.

2. The position detection device for a piano wire according to claim 1.

4. The reference value storage unit stores a maximum output value of the optical sensor during operation of the device as the reference value.

2. The position detection device for a piano wire according to claim 1.

5. The optical sensor, the reference value storage unit, the relative value calculation unit, and the binarization processing unit are provided in two units.

2. The position detection device for a piano wire according to claim 1.

6. The two optical sensors are arranged in a predetermined direction with a predetermined amount of deviation therebetween, The apparatus further includes a zone determination unit that determines the position of the piano wire in five zones based on the binary signals output by the two binarization processing units.

6. The piano wire position detection device according to claim 5.

7. The zone determination unit further includes a display unit that displays the determination result of the zone determination unit.

7. The piano wire position detection device according to claim 6.

8. The zone determination unit further includes an interface for outputting the determination result of the zone determination unit to the outside.

7. The piano wire position detection device according to claim 6.

Citation Information

Patent Citations

  • Design area ratio measuring method for press plate

    JP1995089055A