Sensor and detection method

The sensor system addresses mutual interference by calculating scrambled values for pseudo-random number sequences, setting variable signal periods, and detecting objects, thereby simplifying the setup and reducing malfunctions between sensors.

WO2024190336A1PCT designated stage expired Publication Date: 2024-09-19OMRON CORP

Patent Information

Application Number
PCT/JP2024/006294
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-15
Filing Date
2024-02-21
Publication Date
2024-09-19

AI Technical Summary

Technical Problem

Conventional sensors face malfunctions due to mutual interference when multiple sensors are arranged, requiring users to set different channels for each sensor, which is complex and inefficient.

Method used

A sensor system that calculates a scrambled value using a hash function based on a pseudo-random number sequence and a unique sensor value, setting a variable signal period to reduce the likelihood of matching signal periods between adjacent sensors, thereby eliminating the need for users to set different channels.

Benefits of technology

This approach effectively suppresses malfunctions caused by mutual interference by distributing signal periods and changing their order, ensuring that adjacent sensors' signal periods do not match, simplifying the setup process and reducing interference.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2024006294_19092024_PF_FP_ABST
    Figure JP2024006294_19092024_PF_FP_ABST
Patent Text Reader

Abstract

Provided are a sensor and a detection method which are capable of easily suppressing an erroneous operation caused by mutual interference. A sensor (100), said sensor being equipped with: a calculation unit (143) for calculating a scrambled value using a hash function on the basis of a pseudo-random number sequence which has periodicity and a characteristic value of the sensor (100); a setting unit (144) for setting a variable signal period on the basis of the scrambled value; a transmitting / receiving unit (110) which transmits a detection signal (DS1) to an object (WK) on the basis of the signal period, and receives a detection signal (DS2) which was reflected by the object (WK); and a detection unit (153) for detecting the object (WK) on the basis of a plurality of received detection signals (DS2).
Need to check novelty before this filing date? Find Prior Art

Description

Sensor and detection method

[0001] The present invention relates to a sensor and a detection method.

[0002] Patent Document 1 discloses a photoelectric sensor including a light-projecting unit that repeatedly emits, as signal light, a set of pulsed lights according to a light-projection pattern in which the light-projection cycle differs by a fixed time, a light-receiving element that receives the signal light from the light-projecting unit, and a light-receiving control unit that determines a light-entered state and a light-blocked state based on the light-receiving signal from the light-receiving element, wherein the light-projecting unit has, as light-projection patterns, a first pattern that increases the light-projection cycle by a fixed time and a second pattern that decreases the light-projection cycle by a fixed time, and wherein, in the first pattern and the second pattern, a pulse representing the shortest cycle is included in a light-projection cycle other than the shortest cycle. This photoelectric sensor can prevent malfunction due to mutual interference.

[0003] Japanese Patent Application Laid-Open No. 2018-152819

[0004] Here, when multiple sensors are placed relative to an object, for example, a phenomenon known as mutual interference may occur in which light is projected from one of two adjacent sensors, reflected by the object, and received by the other sensor, which may result in unintended operation by the other sensor, i.e., malfunction.

[0005] In conventional sensors, two sensors are provided with multiple channels, each with a different predetermined light-emitting period, and different channels are set for each sensor to prevent malfunction due to mutual interference. However, this method requires the user to set the channels, which is cumbersome.

[0006] The present invention has been made in view of the above circumstances, and one of its objects is to provide a sensor and a detection method that can easily suppress malfunctions due to mutual interference.

[0007] A sensor according to one aspect of the present disclosure includes a calculation unit that calculates a scramble value using a hash function based on the value of a periodic pseudo-random number sequence and a unique value of the sensor, a setting unit that sets a variable signal period based on the scramble value, a transceiver unit that transmits a detection signal to an object based on the signal period and receives the detection signal reflected by the object, and a detection unit that detects the object based on a plurality of received detection signals.

[0008] According to this aspect, a scramble value is calculated using a hash function based on the value of a periodic pseudo-random number sequence and a unique value of the sensor. A variable signal period is set based on the scramble value. A detection signal is transmitted to an object based on the signal period, the detection signal reflected by the object is received, and the object is detected based on the multiple received detection signals. This reduces the possibility that adjacent sensors will have the same signal period. Therefore, unlike conventional systems, the user is no longer required to set different periods for multiple sensors, making it easy to prevent malfunctions due to mutual interference. Furthermore, even when adjacent sensors set their signal periods using the same pseudo-random number sequence, calculating the scramble value using a hash function makes it possible to obtain a scramble value in which the order (arrangement) of the periodic pseudo-random number sequence is changed. This reduces the probability that the same signal period will be set consecutively between sensors, further preventing malfunctions due to mutual interference.

[0009] In the above-described aspect, the setting unit may calculate the signal period based on the reference period, the spreading width, and the scrambling value.

[0010] According to this aspect, the signal period is calculated based on the reference period, the spreading width, and the scrambling value, thereby making it possible to spread the signal period within a predetermined range.

[0011] In the above-described aspect, the device may further include a pseudo-random number generation unit that generates values ​​of a pseudo-random number sequence based on a predetermined seed value.

[0012] According to this aspect, the values ​​of the pseudo-random number sequence are generated based on a predetermined seed value, which makes it possible to easily generate values ​​of the pseudo-random number sequence that are periodic and reproducible.

[0013] In the above-described aspect, the device may further include a hash value generation unit that generates a hash value based on the unique value of the sensor, and the calculation unit may calculate a scramble value based on the value of the pseudo-random number sequence and the hash value.

[0014] According to this aspect, a scramble value is calculated using a hash function based on the value of the pseudo-random number sequence and the hash value. As a result, even if two individual serial numbers are consecutive in adjacent sensors, for example, the scramble value can be calculated based on the hash value, and the scramble values ​​can be distributed over a predetermined range.

[0015] In the above-described aspect, the hash value may have the same number of digits as the value of the pseudo-random number sequence, and the scramble value may be calculated by performing an exclusive OR operation on the value of the pseudo-random number sequence and the hash value.

[0016] According to this aspect, if the hash value has the same number of digits as the value of the pseudo-random number sequence, the scrambled value is calculated by calculating the exclusive OR of the value of the pseudo-random number sequence and the hash value. This makes it possible to swap the order (arrangement) of the values ​​in the pseudo-random number sequence when the number of digits of the value of the pseudo-random number sequence and the number of digits of the hash value are the same, making it possible to easily calculate the scrambled value.

[0017] In the above-described aspect, the device may further include an integrated signal generator that generates an integrated signal based on the plurality of received detection signals, and the detector may detect the object based on the integrated signal.

[0018] According to this aspect, an object is detected based on the generated integrated signal, and thus the detection signals received multiple times can be averaged, and even if the signal periods of adjacent sensors accidentally coincide in phase, the averaging can mitigate the effect.

[0019] In the above-described aspect, the integrated signal generating unit may further include a signal storage unit that stores an integrated signal, and when a detection signal is received, the integrated signal generating unit may add the detection signal to the integrated signal stored in the storage unit to update the integrated signal.

[0020] According to this aspect, when a detection signal is received, the detection signal is added to the integrated signal stored in the storage unit to update the integrated signal. As a result, each time a detection signal is received, the detection signal is added to the integrated signal stored in the storage unit and the integrated signal is updated. Therefore, by receiving the detection signal multiple times, it is possible to easily generate an integrated signal by integrating multiple detection signals.

[0021] In the above-described aspect, the transceiver unit may include a transmitter unit that transmits a detection signal to an object based on the signal period, and a receiver unit that receives the detection signal reflected by the object based on the signal period.

[0022] According to this aspect, the transmitter transmits a detection signal to an object based on the signal period, and the receiver receives the detection signal reflected by the object based on the signal period. This allows the transmitter and receiver to be configured (realized) as separate members.

[0023] In the above-described aspect, an input unit for inputting information may be further provided.

[0024] According to this aspect, an operation unit for inputting information is provided, which makes it possible to input, for example, a spread width and a reference period for setting a signal period, values ​​of a pseudo-random number sequence, and the like from outside.

[0025] In the above-described aspect, the detection signal may be any one of an optical signal, an acoustic wave signal, and an electromagnetic wave signal.

[0026] According to this aspect, the detection signal is any one of an optical signal, an acoustic wave signal, and an electromagnetic wave signal, which makes it possible to easily configure (realize) a transceiver for transmitting and receiving the detection signal.

[0027] A detection method according to another aspect of the present disclosure is a sensor detection method, which includes the steps of: calculating a scramble value using a hash function based on the value of a periodic pseudo-random number sequence and a unique value of the sensor; setting a variable signal period based on the scramble value; transmitting a detection signal to an object based on the signal period and receiving the detection signal reflected by the object; and detecting the object based on a plurality of received detection signals.

[0028] According to this aspect, a scramble value is calculated using a hash function based on the value of a periodic pseudo-random number sequence and a unique value of the sensor. A variable signal period is set based on the scramble value. A detection signal is transmitted to an object based on the signal period, the detection signal reflected by the object is received, and the object is detected based on the multiple received detection signals. This reduces the possibility that adjacent sensors will have the same signal period. Therefore, unlike conventional systems, the user is no longer required to set different periods for multiple sensors, making it easy to prevent malfunctions due to mutual interference. Furthermore, even when adjacent sensors set their signal periods using the same pseudo-random number sequence, calculating the scramble value using a hash function makes it possible to obtain a scramble value in which the order (arrangement) of the periodic pseudo-random number sequence is changed. This reduces the probability that the same signal period will be set consecutively between sensors, further preventing malfunctions due to mutual interference.

[0029] According to the present invention, malfunctions due to mutual interference can be easily suppressed.

[0030] FIG. 1 is a schematic diagram showing the layout of a detection system according to an embodiment. FIG. 2 is a configuration diagram showing the configuration of a sensor according to an embodiment. FIG. 3 is a schematic diagram for explaining generation of a hash value by the hash value generation unit shown in FIG. 2. FIG. 4 is a diagram for explaining calculation of a scramble value by the scramble value calculation unit shown in FIG. 2. FIG. 5 is a diagram for explaining the difference between calculation of a scramble value in a number sequence and non-calculation of a scramble value. FIG. 6 is a diagram for explaining the difference between the presence and absence of a scramble value in a signal period. FIG. 7 is a graph showing the difference in simulation results between the presence and absence of a scramble value in a signal period. FIG. 8 is a diagram for explaining the difference between the presence and absence of a change in the signal period. FIG. 9 is a flowchart for explaining an example of presence / absence detection processing performed by a sensor according to an embodiment. FIG. 10 is a configuration diagram showing the configuration of a sensor according to a first modified example of an embodiment. FIG. 11 is a configuration diagram showing the configuration of a sensor according to a second modified example of an embodiment.

[0031] An embodiment of the present invention will be described below. In the following description of the drawings, identical or similar parts are denoted by identical or similar reference numerals. However, the drawings are schematic. Therefore, specific dimensions and the like should be determined in light of the following description. Furthermore, it goes without saying that the dimensional relationships and ratios of parts included in the drawings differ from one another. Furthermore, the technical scope of the present invention should not be interpreted as being limited to the embodiment.

[0032] In some drawings, an orthogonal coordinate system consisting of an X-axis and a Y-axis may be conveniently attached to clarify the relationship between the drawings and to help understand the positional relationship, orientation, etc. of each component. The X-axis and Y-axis in each drawing correspond to each other.

[0033] Furthermore, in this embodiment, unless otherwise specified, an example of an optical sensor that uses light as a signal medium and transmits and receives optical signals will be described. Note that, as will be described in a modified example below, the sensor of this embodiment is not limited to transmitting and receiving optical signals, and may be a sensor that transmits and receives signals using other media, such as sound waves including ultrasonic waves, electromagnetic waves (hereinafter also referred to as "radio waves"), etc.

[0034] A detection system including an optical sensor according to one embodiment will be described first with reference to Figure 1. Figure 1 is a schematic diagram showing the layout of a detection system 200 in one embodiment.

[0035] As shown in FIG. 1, the detection system 200 includes a plurality of sensors 100-1, 100-2, and 100-3 (hereinafter, when individual sensors are not distinguished, these sensors are also collectively referred to as "sensors 100"). Each of the sensors 100-1, 100-2, and 100-3 is positioned to detect an object (hereinafter, also referred to as "workpiece WK"). Specifically, for example, with respect to the workpiece WK placed on a conveying device BC such as a conveyor belt installed on a factory production line, each of the sensors 100-1, 100-2, and 100-3 is positioned to project light from a position above the conveying device BC and receive light reflected from the workpiece WK. The sensors 100-1, 100-2, and 100-3 are connected to different control target devices 102-1, 102-2, and 102-3 via cables 101-1, 101-2, and 101-3 (hereinafter, when the individual cables are not distinguished, these will be collectively referred to as "cable 101"). The control target devices 102-1, 102-2, and 102-3 are, for example, solenoid valves or actuators, and are configured to operate based on signals output from the sensors 100-1, 100-2, and 100-3. The sensors 100-1, 100-2, and 100-3 do not exchange data or signals with each other, and are connected to different control target devices 102-1, 102-2, and 102-3, respectively. Therefore, the sensors 100-1, 100-2, and 100-3 operate asynchronously.

[0036] As shown in Figure 1, when multiple sensors 100-1, 100-2, and 100-3 are placed relative to a workpiece WK, for example, a phenomenon known as mutual interference may occur in which light is projected from one of two adjacent sensors 100-1 and 100-2, and reflected by the workpiece WK, and then received by the other sensor 100-2, which may cause unintended operation, i.e., malfunction, in the other sensor 100-2.

[0037] In conventional sensors, two sensors are provided with multiple channels, each with a different predetermined light-emitting period, and different channels are set for each sensor in advance or afterwards to prevent malfunction due to mutual interference.

[0038] However, this method is cumbersome because it requires the user to set the channel.

[0039] <Configuration> Next, the configuration of a sensor according to one embodiment will be described with reference to FIGS. 2 to 8. FIG. 2 is a configuration diagram showing the configuration of a sensor 100 in one embodiment. FIG. 3 is a schematic diagram for explaining generation of a hash value by the hash value generation unit 142 shown in FIG. 2. FIG. 4 is a diagram for explaining calculation of a scramble value by the scramble value calculation unit 143 shown in FIG. 2. FIG. 5 is a diagram for explaining the difference between calculation of a scramble value in a number sequence and whether it is present. FIG. 6 is a diagram for explaining the difference between calculation of a scramble value in a signal period and whether it is present. FIG. 7 is a graph showing the difference in simulation results between calculation of a scramble value in a signal period and whether it is present. FIG. 8 is a diagram for explaining the difference between change and non-change of the signal period.

[0040] The sensor 100 in this embodiment is a sensor that detects the presence or absence of a workpiece WK, the distance from the sensor 100 to the workpiece WK, etc. The sensor 100 is configured to project light toward the workpiece WK and receive the light that is reflected back by the workpiece WK.

[0041] In the following description, unless otherwise specified, an example will be used in which the sensor 100 is a ToF (Time of Flight) sensor that detects distance by measuring the time it takes for light projected onto the workpiece WK to be reflected and returned. Note that the sensor in this embodiment is not limited to a ToF sensor, and may be another optical sensor, such as a photoelectric sensor that uses triangulation as its measurement principle.

[0042] As shown in FIG. 2, the sensor 100 includes, for example, a transmitting / receiving unit 110, a signal processing unit 140, a control unit 150, a storage unit 160, an operation unit 170, and a display unit 180.

[0043] The transmitting / receiving unit 110 is configured to transmit a detection signal DS1 to the workpiece WK based on the signal period and to receive a detection signal DS2 reflected by the workpiece WK. The signal period is variable and is set by a signal period setting unit 144, which will be described later.

[0044] As shown in FIG. 2, the transmitting / receiving unit 110 may be configured to include a transmitting unit 120 and a receiving unit 130.

[0045] The transmitter 120 is configured to transmit a detection signal DS1 to the workpiece WK based on the signal period. The transmitter 120 includes, for example, a light-emitting element 121 and a drive circuit 122. The light-emitting element 121 is, for example, a laser diode that emits red light between 635 nm and 680 nm. Note that the light-emitting element 121 is not limited to a laser diode that emits coherent light, and an element that emits incoherent light, such as a light-emitting diode (LED), may also be used. The drive circuit 122 generates a drive signal for driving the light-emitting element 121 based on a signal input from a timing control unit 145 of the signal processing unit 140 (described later) and outputs the drive signal to the light-emitting element 121. Therefore, the drive signal of the drive circuit 122 triggers the detection signal DS1 transmitted from the light-emitting element 121. The light emitting element 121 emits a detection signal DS1 of light pulses modulated by a drive signal to a specific frequency, for example, about 250 kHz to 600 kHz. If the wavelength band of the detection signal DS1 is in the visible band, the spot irradiated on the workpiece WK can be visually recognized, which is suitable for adjusting the detection signal DS1 to a desired direction or for checking the irradiated location on the target object WK.

[0046] The receiving unit 130 is configured to receive the detection signal DS2 reflected by the workpiece WK based on the aforementioned signal period. The receiving unit 130 includes, for example, a light receiving element 131, an amplifier circuit 132, and a waveform shaping circuit 133. The light receiving element 131 is, for example, a photodiode such as an APD (Avalanche Photo Diode) or a SPAD (Single Photo Avalanche Diode), or a CMOS sensor having photoelectric conversion pixels arranged two-dimensionally. The light receiving element 131 receives the detection signal DS2, which is an optical signal, and converts it into an electrical signal. The converted detection signal is amplified by an amplifier circuit 132 at a predetermined gain, and the waveform of the detection signal is shaped by the waveform shaping circuit 133. The shaped detection signal is output to the signal processing unit 140. 2 shows a case where the path of the detection signal DS1 transmitted toward the workpiece WK is different from the path of the detection signal DS2 reflected by the workpiece WK. When the detection signals DS1 and DS2 follow the same path, the detection signals DS1 and DS2 are separated using, for example, a half mirror.

[0047] In this way, since the transmitting / receiving unit 110 includes a transmitting unit 120 that transmits a detection signal DS1 to the work WK based on the signal period, and a receiving unit 130 that receives a detection signal DS2 reflected by the work WK based on the signal period, each of the transmitting unit 120 and the receiving unit 130 can be configured (realized) as separate components.

[0048] In the present embodiment, the sensor 100 has been described as including the transmitting unit 120 and the receiving unit 130 separately, but the present invention is not limited to this. The sensor 100 may also include a part or all of the transmitting unit 120 and the receiving unit 130 configured as an integrated unit.

[0049] The signal processing unit 140 is configured to perform processing on the detection signal DS1 transmitted from the transmitting unit 120 and the detection signal DS2 received by the receiving unit 130. In particular, the signal processing unit 140 is configured to execute various processes related to the signal periods of the detection signal DS1 and the detection signal DS2. The signal processing unit 140 includes an integrated circuit such as an FPGA (Field Programmable Gate Array). This integrated circuit may include a storage device such as a cache memory mounted on a chip or in a package. The integrated circuit of the signal processing unit 140 is not limited to an FPGA, and may be an integrated circuit such as a CPU (Central Processing Unit), a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), a PLD (Programmable Logic Device), or a SoC (System-on-a-Chip). Details of the signal processing unit 140 will be described later.

[0050] The signal processing unit 140 is configured to exchange data and signals with the control unit 150, which will be described later. For example, the signal processing unit 140 and the control unit 150 are connected to each other by one or more buses and signal lines, enabling bidirectional transmission and reception of data and input and output of signals.

[0051] The control unit 150 is configured to control the operation of each unit of the sensor 100. In particular, the control unit 150 is configured to execute various processes related to the detection of the workpiece WK. The control unit 150 is configured to include an integrated circuit such as a CPU. This integrated circuit may include a storage device such as a cache memory mounted on a chip or in a package. The integrated circuit of the control unit 150 is not limited to a CPU, and may also be an integrated circuit such as a DSP, ASIC, PLD, FPGA, or SoC. Details of the control unit 150 will be described later.

[0052] In the present embodiment, the sensor 100 has been described as having the signal processing unit 140 and the control unit 150 separately, but the present invention is not limited to this. The sensor 100 may have a part or all of the signal processing unit 140 and the control unit 150 configured as an integrated unit.

[0053] The storage unit 160 is for storing programs, data, etc. The storage unit 160 is configured to include memories such as a ROM (Read Only Memory), an EPROM (Erasable Programmable ROM), an EEPROM (Electrically Erasable Programmable ROM), and / or a RAM (Random Access Memory). The storage unit 160 stores information such as a seed value, an individual serial number, a diffusion width, a reference period, an accumulation count, and a threshold value in advance. Each of these pieces of information is not limited to being one piece, and multiple pieces may be stored.

[0054] The operation unit 170 is configured to function as an input unit for inputting information. More specifically, the operation unit 170 is configured to generate data corresponding to information input by a user's operation. The operation unit 170 includes operation members such as an UP button, a DOWN button, and a cross button to accept user instructions. Note that the operation members are not limited to buttons, and may include other input devices such as a touch sensor and a keyboard. The operation unit 170 may also cooperate with a setting management unit 151 of the control unit 150 (described later) to accept specifications of a diffusion width and a reference period for setting a signal period. The operation unit 170 may also have a function to accept inputs for various items of the sensor 100.

[0055] In this way, by providing the sensor 100 with the operation unit 170 for inputting information, it becomes possible to input, for example, the diffusion width and reference period for setting the signal period, the value of the pseudo-random number sequence, etc. from outside.

[0056] The display unit 180 is used to display the setting status of the sensor 100, distance information as a detection result, detected information, undetected information, etc. The display unit 180 is configured to include a display device such as a liquid crystal display, an EL (Electro Luminescence) display, a 7-segment display, an LCD (Liquid Crystal Display), etc. Note that the display unit 180 may include an LED or the like for indicating the setting status of the sensor 100 instead of or in addition to the display device.

[0057] (Functional configuration of signal processing unit) The signal processing unit 140 may have, as its functions, for example, a pseudo-random number generation unit 141, a hash value generation unit 142, a scramble value calculation unit 143, a signal period setting unit 144, a timing control unit 145, and a signal memory unit 147.

[0058] The pseudo-random number generation unit 141 is configured to generate a value of a pseudo-random number sequence based on a predetermined seed value. The value generated by the pseudo-random number generation unit 141 is one of a pseudo-random number sequence having periodicity. The predetermined seed value is, for example, stored in advance in the storage unit 160, and in this embodiment, "1" is assigned unless otherwise specified.

[0059] Specifically, the pseudorandom number generation unit 141 uses an n-bit (n is a positive integer of 2 or more) linear feedback shift register (LFSR) to generate an n-bit M-sequence pseudorandom number. n The pseudo-random number sequence has a period in which it transitions through -1 numerical values ​​(states) in a predetermined order (sequence) and then returns to the original state. This pseudo-random number sequence is reproducible by setting a seed value, and the same pseudo-random number sequence value will be generated when the same seed value is given.

[0060] In this way, by generating pseudo-random number sequence values ​​based on a predetermined seed value, it is possible to easily generate pseudo-random number sequence values ​​that are periodic and reproducible.

[0061] In this embodiment, the number of bits is 16 (n=16), and the pseudo-random number generator 141 generates 65535 (2 16 An example of generating 1) pseudo-random number sequence values ​​will be described below. That is, the pseudo-random number sequence values ​​are represented as 16-bit values.

[0062] The hash value generation unit 142 is configured to generate a hash value based on the unique value of the sensor 100. The unique value of the sensor 100 is a value that is unique to the sensor 100 and is a unique value assigned to the sensor 100. The unique value is, for example, an individual serial number of the sensor 100. In this embodiment, an example will be described in which the unique value is an 8-byte ASCII character string.

[0063] Furthermore, a wide variety of algorithms may be employed for generating a hash value by the hash value generation unit 142. FIG. 3 shows an example in which CRC-16-CCITT, a type of cyclic redundancy check (CRC), is selected as the algorithm for generating a hash value from the unique value of the sensor 100. As shown in FIG. 3, the generated hash value has the same number of digits as the value of the pseudo-random number sequence described above, that is, a 16-bit value. For example, even if consecutive unique values ​​of two sensors 100 differ by only one bit, such as "00000000" and "00000001," the hash values ​​generated by the hash value generation unit 142 will differ by three bits (digits).

[0064] In this way, by generating a hash value based on the unique value of the sensor 100, a 16-bit hash value is generated from, for example, an 8-byte individual serial number, and can be converted into a hash value having the desired number of digits.

[0065] Returning to the explanation of Fig. 2, the scramble value calculation unit 143 is configured to calculate a scramble value using a hash function based on the value of the pseudo-random number sequence and the unique value of the sensor 100. The value of the pseudo-random number sequence is, for example, a value generated by the pseudo-random number generation unit 141. The unique value of the sensor 100 is, for example, the individual serial number of the sensor 100 itself or a value based on the individual serial number.

[0066] More specifically, when the sensor 100 includes the hash value generation unit 142, the scramble value calculation unit 143 is configured to calculate a scramble value using a hash function based on the value of the pseudo-random number sequence and the hash value. As a result, even if two individual serial numbers are consecutive in adjacent sensors, for example, the scramble value can be calculated based on the hash value, and the scramble values ​​can be distributed over a predetermined range.

[0067] Furthermore, various hash functions can be used for calculating the scramble value by the scramble value calculation unit 143. Fig. 4 shows an example in which exclusive OR (XOR) is used as the hash function. For the sake of simplicity, Fig. 4 also shows an example in which the values ​​of the pseudo-random number sequence are consecutive values ​​ranging from "1" to "15." As shown in Fig. 4, the scramble value obtained by calculating the exclusive OR between the values ​​of the pseudo-random number sequence and the hash value is a value in which the consecutive order (arrangement) of the values ​​of the pseudo-random number sequence is reversed when the hash value is changed, except when the hash value is "0."

[0068] Here, the difference between the sequence with and without calculation of a scramble value will be explained. As shown on the right side of Fig. 5, when the scramble value calculation unit 143 calculates a scramble value based on the values ​​of the pseudo-random number sequence A and the eigenvalue of the sensor 100, for example, by performing an exclusive OR operation, the sequence of the scramble values ​​can change at least a part of the order (arrangement) of the pseudo-random number sequence A.

[0069] In contrast, for comparison with the sensor 100 of this embodiment, if we assume that values ​​of pseudo-random number sequence B are generated by changing only the seed value of pseudo-random number sequence A, as shown on the left side of Figure 5, when comparing the values ​​of pseudo-random number sequence A and pseudo-random number sequence B, although the initial values ​​of the values ​​of pseudo-random number sequence B are different from those of pseudo-random number sequence A, the order (arrangement) of the values ​​remains the same.

[0070] If the hash value has the same number of digits as the value of the pseudo-random number sequence, the scramble value may be calculated by taking the exclusive OR (XOR) of the value of the pseudo-random number sequence and the hash value. This allows the order (arrangement) of the values ​​in the pseudo-random number sequence to be swapped when the number of digits of the value of the pseudo-random number sequence and the number of digits of the hash value are the same, making it possible to easily calculate the scramble value.

[0071] The calculation of the scramble value is not limited to calculation by an exclusive OR (XOR). The scramble value calculation unit 143 may calculate the scramble value using a method other than the exclusive OR, for example, a predetermined hash function. More specifically, the scramble value may be a value output by a hash function that receives as input the value of the pseudo-random number sequence and a value based on the unique value of the sensor 100. This allows the order (arrangement) of the values ​​in the pseudo-random number sequence to be changed, making it possible to easily obtain a scramble value regardless of the number of digits of the value input to the hash function.

[0072] Returning to the explanation of Fig. 2, the signal period setting unit 144 is configured to set the signal period based on the scramble value. The set signal period is variable, i.e., a changeable period. The signal period setting unit 144 changes and sets the signal period, for example, every time the scramble value is calculated.

[0073] More specifically, the signal period setting unit 144 is configured to calculate the signal period based on a reference period, a spreading width, and a scramble value. The reference period and the spreading width are stored in the storage unit 160, and are set in advance by a setting management unit 151 (described later) before detecting the work WK.

[0074] Specifically, the signal period Tm (m is a positive integer representing the period number) is calculated, for example, by the following formula (1): Signal period Tm=Reference period+{(Spread width×Scramble value) / 32768}−Spread width (1)

[0075] The signal period Tm calculated by equation (1) is distributed in the range from (reference period - spreading width) to (reference period + spreading width - 1). In this way, by calculating the signal period Tm based on the reference period, spreading width, and scramble value, it is possible to spread the signal period Tm within a predetermined range.

[0076] Here, the difference between the presence and absence of a scramble value in a signal period will be explained. As shown in the lower part of Figure 6, in two adjacent sensors 100, for example, sensors 100-1 and 100-2 shown in Figure 1, a scramble value is calculated, for example, by an exclusive OR operation, and when the signal period setting unit 144 sets a signal period based on the scramble value, the scramble value is a value obtained by rearranging the order (arrangement) of a pseudo-random number sequence. Therefore, even if the phases of two signal periods match in a certain period, it is possible to reduce the number of cases where the phases match in the next period. Note that the example in the lower part of Figure 6 corresponds to the example shown on the right side of Figure 5.

[0077] In contrast, for comparison with the sensor 100 of this embodiment, if we assume that two adjacent virtual sensors A and B have a signal period based on the value of pseudo-random number sequence A and a signal period based on the value of pseudo-random number sequence B with only the seed value changed, as shown in the upper part of Fig. 6, once the phases of the two signal periods match in a certain period, it can be said that there is a high probability that the phases will match continuously in subsequent periods as well. Note that the example in the upper part of Fig. 6 corresponds to the example shown on the left side of Fig. 5.

[0078] 2 , the timing control unit 145 generates a timing signal based on the set signal period. The timing signal is, for example, a pulse signal, and is generated at a timing corresponding to the set signal period. The generated timing signal is output to the transmitting unit 120 and also to the integration signal generating unit 146.

[0079] The integrated signal generator 146 is configured to generate an integrated signal based on a plurality of received detection signals. The generated integrated signal is, for example, a signal generated by integrating the detection signals received a plurality of times.

[0080] As described above, the integration signal generator 146 receives a timing signal from the timing control unit 145. The integration signal generator 146 operates in accordance with this timing signal, and receives detection signals output from and input to the receiver within a predetermined period based on the timing signal. The integration signal generator 146 then generates an integration signal based on the detection signals received multiple times. This makes it possible to average the detection signals received multiple times.

[0081] Here, the difference in the simulation results depending on whether or not a scramble value is present in the signal period will be explained. In the simulation shown in Fig. 7, the reference period is 265 clocks at 165 MHz operation, which is approximately 1.6 [μs] (= 265 / 165 MHz), the spreading width is 26 clocks at 165 MHz operation, which is approximately 0.16 [μs] (= 26 / 165 MHz), the number of integrations is 270, and for two sensors, one hash value is "0x0D787", the other hash value is "0xC7A6", and one seed value is fixed to "1". In the graph, the horizontal axis represents the seed value of the other sensor, which changes between "1" and "65535", and the vertical axis represents the number of overlapping detection signals transmitted by the two sensors.

[0082] As shown in the lower part of Figure 7, for example, when a scramble value is calculated by an exclusive OR operation and the signal period setting unit 144 sets a signal period based on the scramble value, the maximum number of overlaps where the signal periods of two sensors match in phase is approximately 11. Generally, the allowable number of overlaps is approximately 1 / 10 or less of the number of integrations, and in the simulation results shown in the lower part, it is 27 or less, so it can be assumed that malfunctions due to mutual interference will not occur. Note that the simulation results shown in the lower part of Figure 7 correspond to the example shown in the lower part of Figure 6.

[0083] In contrast, for comparison with the sensor 100 of this embodiment, as shown in the upper part of Figure 7, if two sensors are assumed to have a signal period based on the value of pseudo-random number sequence A and a signal period based on the value of pseudo-random number sequence B with only the seed value changed, the number of overlaps increases significantly when the seed value is "1." In this case, it can be said that there is a high probability that at least one of the two sensors will malfunction due to mutual interference. Note that the simulation results in the upper part of Figure 7 correspond to the example shown in the upper part of Figure 6.

[0084] 2 , signal storage unit 147 is configured to store the generated integrated signal. Signal storage unit 147 is connected to integrated signal generation unit 146, which is capable of reading information from signal storage unit 147 and writing information to signal storage unit 147. Signal storage unit 147 is configured to, when receiving a detection signal, add the detection signal to the integrated signal stored in signal storage unit 147 to update the integrated signal.

[0085] In this way, when a detection signal is received, the detection signal is added to the accumulated signal stored in the signal storage unit 147 to update the accumulated signal.As a result, each time a detection signal is received, it is added to the accumulated signal stored in the signal storage unit 147 and the accumulated signal is updated.Therefore, by receiving the detection signal multiple times, it is possible to easily generate an accumulated signal that is the accumulation of multiple detection signals.

[0086] At least one of the pseudorandom number generation unit 141, the hash value generation unit 142, the scramble value calculation unit 143, the signal period setting unit 144, the timing control unit 145, and the signal storage unit 147 may be realized by a processor, which is an example of an integrated circuit of the signal processing unit 140, executing a program stored in the storage unit 160. When a program is executed, the program may be stored in a storage medium. The storage medium storing the program may be a non-transitory computer-readable medium. The non-transitory storage medium is not particularly limited, but may be, for example, a storage medium such as a USB (Universal Serial Bus) memory, an MMC (embedded Multi Media Card), an SD (Secure Digital) memory card, or an SSD (Solid State Drive).

[0087] 2 are merely examples of the functions of the signal processing unit 140. The signal processing unit 140 may have other functions or may not have some of the functions.

[0088] (Functional Configuration of Control Unit) The control unit 150 may include, as its functions, a setting management unit 151, a distance calculation unit 152, and a detection unit 153, for example.

[0089] The setting management unit 151 is for managing settings for the sensor 100. The settings managed by the setting management unit 151 include, for example, a reference period, a diffusion width, and an accumulation count. More specifically, for a response time determined by a user operation via the operation unit 170, the setting management unit 151 sets the reference period, diffusion width, and accumulation count associated with the response time. For example, a response time of 2 ms corresponds to a reference period of 1.6 μs, a diffusion width of 0.2 μs, and an accumulation count of 250, a response time of 10 ms corresponds to a reference period of 4.0 μs, a diffusion width of 0.2 μs, and an accumulation count of 500, a response time of 50 ms corresponds to a reference period of 4.0 μs, a diffusion width of 0.2 μs, and an accumulation count of 2500, and a response time of 200 ms corresponds to a reference period of 4.0 μs, a diffusion width of 0.2 μs, and an accumulation count of 10000. These values ​​are stored in advance in the storage unit 160. When the user operates the operation unit 170 to select a response time according to, for example, the speed, reflectivity, or condition of the work WK, the setting management unit 151 reads out the reference period, diffusion width, and number of accumulations corresponding to the selected response time from the memory unit 160 and sets them as setting values.

[0090] The distance calculation unit 152 is configured to calculate the distance between the workpiece WK and the sensor 100 based on the multiple received detection signals DS2. The distance calculation unit 152 uses, for example, the integrated signals stored in the signal storage unit 147 as the multiple received detection signals DS2. Specifically, the distance calculation unit 152 calculates the time difference between the detection signal DS1 transmitted at the reference period and the integrated signal, which is the multiple received detection signals DS2, using, for example, the phase difference between the two, and converts this into the distance to the workpiece WK. As described above, the detection signal DS1 is transmitted at a variable signal period and not at the reference period. However, since the signal period is diffused within a range twice the diffusion width of the reference period, the average value of the periods of a sufficient number of detection signals DS1 can be considered to be the same or approximately the same as the reference period.

[0091] The detection unit 153 is configured to detect the target workpiece WK based on a plurality of received detection signals.

[0092] In this manner, the sensor 100 calculates a scramble value using a hash function based on the value of the periodic pseudo-random number sequence and the sensor's unique value. A variable signal period is set based on the scramble value. A detection signal is transmitted to the workpiece WK based on the signal period. The detection signal reflected by the workpiece WK is received. The workpiece WK is detected based on the received detection signals. This reduces the likelihood of the signal periods of adjacent sensors matching when multiple sensors are installed. Therefore, the user no longer needs to set different periods for multiple sensors, as in the past, and malfunctions due to mutual interference can be easily suppressed. Furthermore, even when adjacent sensors set their signal periods using the same pseudo-random number sequence, calculating the scramble value using a hash function makes it possible to obtain a scramble value in which the order (arrangement) of the periodic pseudo-random number sequence is changed. Therefore, the probability that the set signal periods are consecutively the same between sensors can be reduced, further suppressing malfunctions due to mutual interference.

[0093] More specifically, the detection unit 153 is configured to detect the workpiece WK based on the generated integration signal. For example, the detection unit 153 compares the distance to the workpiece WK calculated based on the integration signal with a threshold value, and determines that the workpiece WK is present if the calculated distance is less than the threshold value, and determines that the workpiece WK is not present if the calculated distance is greater than the threshold value. The detection unit 153 outputs a signal corresponding to the determination result to the display unit 180 to display whether or not the workpiece WK has been detected. The detection unit 153 also outputs a signal corresponding to the determination result to the outside, for example, via the cable 101 shown in FIG. 1.

[0094] In this way, by detecting the workpiece WK based on the generated integrated signal, the detection signals received multiple times can be averaged, and even if an accidental coincidence in the phase of the signal periods occurs between adjacent sensors, the effect can be mitigated by averaging.

[0095] Here, we will explain the difference depending on whether or not the signal period is changed. As shown on the right side of Figure 8, in the case where the signal period is variable and set based on a scramble value, as in the sensor 100 of this embodiment, for example, when noise is received that is phase-synchronized with the first signal period, the second, third, and fourth signal periods are each out of phase with the first signal period. Therefore, in the integrated signal generated based on these four detection signals, the noise components are averaged, thereby mitigating the effects of the noise. As a result, a peak appears at the time (distance) corresponding to the detection signal reflected by the workpiece WK. For simplicity's sake, an example with four integration times is shown, but in practice, the integration time is preferably several hundred times or more.

[0096] In contrast, for comparison with the sensor 100 of this embodiment, if the signal period is assumed to be fixed as shown on the left side of Figure 8, for example, when noise whose phase is synchronized with the first signal period is received, the second, third, and fourth signal periods each have the same phase as the first signal period, and therefore the noise components reinforce each other in the integrated signal generated based on these four detection signals. As a result, the peak that appears at the time (distance) corresponding to the detection signal reflected by the workpiece WK is buried in the noise components, and there is a risk that the workpiece WK cannot be detected.

[0097] At least one of the setting management unit 151, the distance calculation unit 152, and the detection unit 153 may be realized by the processor of the control unit 150 executing a program stored in the storage unit 160. When a program is executed, the program may be stored in a storage medium. The storage medium storing the program may be a non-transitory computer-readable medium. The non-transitory storage medium is not particularly limited, and may be, for example, a storage medium such as a USB memory, an MMC, an SD memory card, or an SSD.

[0098] 2 are merely examples of the functions of the control unit 150. The control unit 150 may have other functions or may not have some of the functions.

[0099] <Processing Procedure> Next, a processing procedure performed by the sensor according to one embodiment will be described with reference to Fig. 9. Fig. 9 is a flowchart for explaining an example of presence / absence detection processing S300 performed by the sensor 100 in one embodiment.

[0100] The presence / absence detection process S300 is a process performed when the sensor 100 detects the presence or absence of a workpiece WK. As shown in Fig. 9, first, the setting management unit 151 reads information related to the detection setting from the storage unit 160 and sets initial information (S301). The initial information includes, for example, a seed value, an individual serial number, a diffusion width, a reference period, a cumulative count k, a threshold value, etc.

[0101] Next, the integration signal generator 146 resets the information related to the integration signal to its initial state (S302). For example, the integration signal generator 146 sets "0" to index i. Index i is an index indicating the number of times the received detection signal has been integrated. Furthermore, the integration signal generator 146 sets the integration signal stored in the signal storage unit 147 to an initial value such as "0" or "Null."

[0102] Next, the scramble value calculation unit 143 calculates a scramble value based on the value of the pseudo-random number sequence and the unique value of the sensor 100 (S303). The value of the pseudo-random number sequence is a value generated by the pseudo-random number generation unit 141 based on the seed value set in step S301. The value is also the individual serial number itself set in step S301, or a hash value generated by the hash value generation unit 142 based on the individual serial number.

[0103] Next, the signal period setting unit 144 sets the signal period based on the scramble value calculated in step S303 (S304). The signal period setting unit 144 calculates a variable signal period based on the scramble value calculated in step S303 and the spreading width and reference period set in step S301. Based on the calculated signal period, the timing control unit 145 generates a timing signal and outputs the timing signal to the transmitting unit 120 and the integrated signal generating unit 146.

[0104] Next, the transmitting / receiving unit 110 transmits a detection signal DS1 to the workpiece WK based on the signal period, and receives a detection signal DS2 reflected by the workpiece WK (S305).

[0105] Next, when a detection signal is input from the transmitting / receiving unit 110, the integrated signal generating unit 146 reads out the integrated signal stored in the signal storage unit 147 and adds the received detection signal to the read integrated signal (S306). The integrated signal generating unit 146 writes the integrated signal to which the detection signal has been added into the signal storage unit 147. This updates the integrated signal stored in the signal storage unit 147.

[0106] Next, the integration signal generator 146 adds "1" to the index i (S307), thereby counting up the number of integrations in which the detection signals have been added.

[0107] Next, the integration signal generator 146 determines whether the index i is equal to the number of integrations k (S308).

[0108] If the result of the determination in step S308 is that the index i is not equal to the number of accumulations k, the process returns to step S303, and steps S303 to S308 are repeated until the index i becomes equal to the number of accumulations k.

[0109] If the result of the determination in step S308 is that the index i is equal to the number of integrations k, the distance calculation unit 152 calculates the distance between the workpiece WK and the sensor 100 based on the multiple detection signals (S309). Here, if the index i is equal to the number of integrations k, the integrated signal stored in the signal storage unit 147 is the integration of the detection signals for the number of integrations k. Therefore, the distance calculation unit 152 can read out the integrated signal from the signal storage unit 147 and use the integrated signal to calculate the distance between the workpiece WK and the sensor 100 based on the multiple detection signals.

[0110] Next, the detection unit 153 determines whether the distance calculated in step S309 is equal to or less than the threshold set in step S301 (S310).

[0111] If the result of the determination in step S310 is that the calculated distance is equal to or less than the threshold value, it is considered that the detection signal reflected by the workpiece WK shown in FIG. 1, which may be present at a predetermined distance from the sensor 100, has been received multiple times. Therefore, the detection unit 153 generates detection information indicating that the workpiece WK has been detected, outputs the information to the display unit 180, and causes the display unit 180 to display that the workpiece WK has been detected (S311). The generated detection information is output to the outside via the cable 101 shown in FIG. 1 or the like.

[0112] On the other hand, if the result of the determination in step S310 is that the calculated distance is not equal to or less than the threshold value, that is, the calculated distance is greater than the threshold value, it is considered that the detection signal has been received multiple times, reflected by something other than the workpiece WK shown in FIG. 1, such as the conveying device BC or a wall behind the workpiece WK. In this case, the detection unit 153 generates non-detection information indicating that the workpiece WK has not been detected and outputs this information to the display unit 180, causing the display unit 180 to display a message indicating that the workpiece WK has not been detected (S312). The generated non-detection information is output to the outside via the cable 101 shown in FIG. 1, etc.

[0113] After step S311 or step S312, steps S302 to S312 are repeated until a predetermined condition is met, such as power off, setting change, or operation mode change.

[0114] The order of the sequences and flowcharts described in this embodiment may be changed as long as no contradiction occurs in the processing.

[0115] The sensor 100 of this embodiment is not limited to the case where the signal medium is light, but can use a signal medium other than light.

[0116] (Modifications) Next, modifications of the sensor in one embodiment will be described with reference to Figs. 10 and 11. Fig. 10 is a diagram showing the configuration of a sensor 100A in a first modification of one embodiment. Fig. 11 is a diagram showing the configuration of a sensor 100B in a second modification of one embodiment. Note that, hereinafter, components that are the same as or similar to those in the sensor 100 shown in Fig. 2 are denoted by the same or similar reference numerals, and descriptions thereof will be omitted as appropriate. Furthermore, similar actions and effects resulting from similar components will not be mentioned repeatedly.

[0117] As shown in FIG. 10 , the sensor 100A in the first modified example uses sound wave signals instead of optical signals as the detection signals DS1 and DS2. Specifically, the transmitter 120 of the sensor 100A includes a speaker 125 instead of the light-emitting element 121 shown in FIG. 2 . The sound waves used by the sensor 100A are, for example, ultrasonic waves. The speaker 125 is arranged facing the workpiece WK and is configured to emit a detection signal DS1, which is an ultrasonic signal, when an electrical signal is input. Furthermore, the receiver 130 of the sensor 100A includes a microphone 135 instead of the light-receiving element 131 shown in FIG. 2 . The microphone 135 is arranged facing the workpiece WK and is configured to convert the detection signal DS2, which is a sound wave signal reflected by the workpiece WK, into an electrical signal when it is input.

[0118] As shown in FIG. 11 , the sensor 100B in the second modified example uses electromagnetic wave signals instead of optical signals as the detection signals DS1 and DS2. Specifically, the transmitter 120 of the sensor 100B includes a transmitting antenna 126 instead of the light-emitting element 121 shown in FIG. 2 . The electromagnetic waves used by the sensor 100B are, for example, millimeter waves of about 30 GHz to several hundred GHz. The transmitting antenna 126 is a directional antenna having directivity and is configured to emit the detection signal DS1, which is an electromagnetic wave signal, toward the workpiece WK. The receiver 130 of the sensor 100B includes a receiving antenna 136 instead of the light-receiving element 131 shown in FIG. 2 . The receiving antenna 136 is a directional antenna having directivity and is configured to receive the detection signal DS2, which is an electromagnetic wave signal reflected by the workpiece WK.

[0119] In this way, since the detection signals DS1 and DS2 are any one of an optical signal, an acoustic signal, and an electromagnetic signal, the transceiver unit 110 for transmitting and receiving the detection signals DS1 and DS2 can be easily constructed (realized).

[0120] The above describes an exemplary embodiment of the present invention. According to sensors 100, 100A, and 100B according to one embodiment of the present invention, a scramble value is calculated using a hash function based on the values ​​of a periodic pseudo-random number sequence and the unique values ​​of sensors 100, 100A, and 1000B. A variable signal period is set based on the scramble value. A detection signal is transmitted to a workpiece WK based on the signal period, the detection signal reflected by the workpiece WK is received, and the workpiece WK is detected based on the multiple received detection signals. This reduces the possibility of the signal periods of adjacent sensors matching when multiple sensors are installed. Therefore, unlike conventional systems, the user is no longer required to set different periods for multiple sensors, and malfunctions due to mutual interference can be easily suppressed. Furthermore, even when adjacent sensors set their signal periods using the same pseudo-random number sequence, calculating the scramble value using a hash function makes it possible to obtain a scramble value in which the order (arrangement) of the periodic pseudo-random number sequence is changed. Therefore, the probability that the set signal periods between sensors will be the same consecutively can be reduced, and malfunctions due to mutual interference can be further suppressed.

[0121] According to one embodiment of the present invention, a detection method calculates a scramble value using a hash function based on the values ​​of a periodic pseudo-random number sequence and the unique values ​​of sensors 100, 100A, and 1000B. A variable signal period is set based on the scramble value. A detection signal is transmitted to a workpiece WK based on the signal period. The detection signal reflected by the workpiece WK is received. The workpiece WK is detected based on the received detection signals. This reduces the likelihood of the signal periods of adjacent sensors matching when multiple sensors are installed. This eliminates the need for users to set different periods for multiple sensors, as in the past, and facilitates the prevention of malfunctions due to mutual interference. Furthermore, even when adjacent sensors set their signal periods using the same pseudo-random number sequence, calculating the scramble value using a hash function allows the order (arrangement) of the periodic pseudo-random number sequence to be changed. This reduces the probability that the set signal periods are consecutively the same between sensors, further reducing malfunctions due to mutual interference.

[0122] The above-described embodiments are intended to facilitate understanding of the present invention and are not intended to limit the scope of the present invention. The present invention may be modified or improved without departing from its spirit, and equivalents are also included within the scope of the present invention. In other words, designs modified by a person skilled in the art as appropriate are also encompassed within the scope of the present invention as long as they incorporate the characteristics of the present invention. For example, the elements of the embodiments, their arrangement, materials, conditions, shapes, sizes, etc., are not limited to those illustrated and can be modified as appropriate. Furthermore, the embodiments are merely examples, and partial substitution or combination of the configurations shown in different embodiments is, of course, possible. These are also encompassed within the scope of the present invention as long as they incorporate the characteristics of the present invention.

[0123] [Supplementary Note 1] The sensor (100) comprises: a calculation unit (143) that calculates a scramble value by a hash function based on the value of a periodic pseudo-random number sequence and a unique value of the sensor (100); a setting unit (144) that sets a variable signal period based on the scramble value; a transceiver unit (110) that transmits a detection signal (DS1) to an object (WK) based on the signal period and receives a detection signal (DS2) reflected by the object (WK); and a detection unit (153) that detects the object (WK) based on a plurality of received detection signals (DS2). [Supplementary Note 11] A detection method for a sensor (100), comprising: a step of calculating a scramble value by a hash function based on the value of a periodic pseudorandom number sequence and a unique value of the sensor (100); a step of setting a variable signal period based on the scramble value; a step of transmitting a detection signal (DS1) to an object (WK) based on the signal period and receiving a detection signal (DS2) reflected by the object (WK); and a step of detecting the object (WK) based on the multiple received detection signals (DS2).

[0124] 100, 100-1, 100-2, 100-3, 100A, 100B...sensors, 101, 101-1, 101-2, 101-3...cables, 102-1, 102-2, 102-3...control target devices, 110...transmitting / receiving unit, 120...transmitting unit, 121...light emitting element, 122...drive circuit, 125...speaker, 126...transmitting antenna, 130...receiving unit, 131...light receiving element, 132...amplifying circuit, 133...waveform shaping circuit, 135...microphone, 136...receiving antenna Na, 140...signal processing unit, 141...pseudo-random number generation unit, 142...hash value generation unit, 143...scramble value calculation unit, 144...signal period setting unit, 145...timing control unit, 146...accumulation signal generation unit, 147...signal memory unit, 150...control unit, 151...setting management unit, 152...distance calculation unit, 153...detection unit, 160...memory unit, 170...operation unit, 180...display unit, 200...detection system, BC...transportation device, S300...presence detection processing, WK...work.

Claims

1. A sensor comprising: a calculation unit that calculates a scramble value using a hash function based on the value of a periodic pseudo-random number sequence and a unique value of the sensor; a setting unit that sets a variable signal period based on the scramble value; a transceiver unit that transmits a detection signal to an object based on the signal period and receives the detection signal reflected by the object; and a detection unit that detects the object based on a plurality of the received detection signals.

2. The sensor according to claim 1, wherein the setting unit calculates the signal period based on a reference period, a diffusion width, and the scramble value.

3. The sensor according to claim 1, further comprising a pseudorandom number generator that generates values ​​of the pseudorandom number sequence based on a predetermined seed value.

4. The sensor according to claim 1, further comprising a hash value generation unit that generates a hash value based on a unique value of the sensor, wherein the calculation unit calculates the scramble value based on the value of the pseudo-random number sequence and the hash value.

5. The sensor according to claim 4, wherein the hash value has the same number of digits as the value of the pseudo-random number sequence, and the scramble value is calculated by performing an exclusive OR operation on the value of the pseudo-random number sequence and the hash value.

6. The sensor according to claim 1, further comprising an integrated signal generating section that generates an integrated signal based on a plurality of the received detection signals, wherein the detection section detects the object based on the integrated signal.

7. The sensor according to claim 6, further comprising a memory unit that stores the integrated signal, wherein when the detection signal is received, the integrated signal generating unit adds the detection signal to the integrated signal stored in the memory unit to update the integrated signal.

8. The sensor according to claim 1, wherein the transmitting / receiving unit includes a transmitting unit that transmits the detection signal to the object based on the signal period, and a receiving unit that receives the detection signal reflected by the object based on the signal period.

9. The sensor according to claim 1, further comprising an input section for inputting information.

10. The sensor according to any one of claims 1 to 9, wherein the detection signal is any one of an optical signal, an acoustic wave signal, and an electromagnetic wave signal.

11. A sensor detection method comprising the steps of: calculating a scramble value using a hash function based on the value of a periodic pseudo-random number sequence and a unique value of the sensor; setting a variable signal period based on the scramble value; transmitting a detection signal to an object based on the signal period and receiving the detection signal reflected by the object; and detecting the object based on a plurality of the received detection signals.

Citation Information

Patent Citations

  • Front warning radar for automobile

    JP1995084035A

  • Id code transmitter and receiver therefor

    JP1998022872A

  • Radar device

    JP1999166971A

Cited By

  • SENSOR AND DETECTION METHOD

    DE112024001398T5