WO2019216250A1 - センサシステム - Google Patents

センサシステム Download PDF

Info

Publication number
WO2019216250A1
WO2019216250A1 PCT/JP2019/017730 JP2019017730W WO2019216250A1 WO 2019216250 A1 WO2019216250 A1 WO 2019216250A1 JP 2019017730 W JP2019017730 W JP 2019017730W WO 2019216250 A1 WO2019216250 A1 WO 2019216250A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
sensor
unit
workpiece
line
Prior art date
Application number
PCT/JP2019/017730
Other languages
English (en)
French (fr)
Inventor
典大 蓬郷
清司 今井
雄介 飯田
祐輔 柴▲崎▼
Original Assignee
オムロン株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by オムロン株式会社 filed Critical オムロン株式会社
Priority to US17/043,641 priority Critical patent/US11774464B2/en
Priority to CN201980025250.1A priority patent/CN111971719B/zh
Priority to EP19800792.4A priority patent/EP3792892B1/en
Publication of WO2019216250A1 publication Critical patent/WO2019216250A1/ja

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01PMEASURING LINEAR OR ANGULAR SPEED, ACCELERATION, DECELERATION, OR SHOCK; INDICATING PRESENCE, ABSENCE, OR DIRECTION, OF MOVEMENT
    • G01P3/00Measuring linear or angular speed; Measuring differences of linear or angular speeds
    • G01P3/64Devices characterised by the determination of the time taken to traverse a fixed distance
    • G01P3/68Devices characterised by the determination of the time taken to traverse a fixed distance using optical means, i.e. using infrared, visible, or ultraviolet light
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01DMEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
    • G01D9/00Recording measured values
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01PMEASURING LINEAR OR ANGULAR SPEED, ACCELERATION, DECELERATION, OR SHOCK; INDICATING PRESENCE, ABSENCE, OR DIRECTION, OF MOVEMENT
    • G01P3/00Measuring linear or angular speed; Measuring differences of linear or angular speeds
    • G01P3/64Devices characterised by the determination of the time taken to traverse a fixed distance
    • G01P3/80Devices characterised by the determination of the time taken to traverse a fixed distance using auto-correlation or cross-correlation detection means
    • G01P3/806Devices characterised by the determination of the time taken to traverse a fixed distance using auto-correlation or cross-correlation detection means in devices of the type to be classified in G01P3/68
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C15/00Arrangements characterised by the use of multiplexing for the transmission of a plurality of signals over a common path
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B65CONVEYING; PACKING; STORING; HANDLING THIN OR FILAMENTARY MATERIAL
    • B65GTRANSPORT OR STORAGE DEVICES, e.g. CONVEYORS FOR LOADING OR TIPPING, SHOP CONVEYOR SYSTEMS OR PNEUMATIC TUBE CONVEYORS
    • B65G43/00Control devices, e.g. for safety, warning or fault-correcting
    • B65G43/08Control devices operated by article or material being fed, conveyed or discharged

Definitions

  • This disclosure relates to a sensor system.
  • a plurality of sensors are arranged along a line to measure the presence or absence of a workpiece conveyed on the line.
  • Data measured by a plurality of sensors may be acquired by a plurality of slave units, transferred to a master unit, and collected in a control device such as a PLC (Programmable Logic Controller) connected to the master unit.
  • a control device such as a PLC (Programmable Logic Controller) connected to the master unit.
  • Patent Document 1 listed below describes a sensor system including a plurality of slave units and a communication device that transmits information received from each slave unit to a control device.
  • Each slave unit transmits detection information such as sensing data to the communication device after a standby time determined for each slave unit has elapsed with a synchronization signal transmitted from any of the slave units as a starting point.
  • the standby time of each slave unit is determined to be different from the standby time of other slave units.
  • the present invention provides a sensor system that can determine a change in the state of a workpiece that has occurred during the conveyance process.
  • a sensor system includes a plurality of sensors that are arranged along a line and that measure data indicating a passing state of a workpiece conveyed on the line, and are connected to each of the plurality of sensors.
  • a plurality of slave units that acquire data measured by the master unit and a master unit connected to the plurality of slave units, and the master unit stores the data and information related to the timing at which the data was measured in association with each other.
  • a determination unit that compares data transmitted from two or more slave units among a plurality of slave units using information related to timing, and determines a change in the state of the workpiece.
  • the data measured by a plurality of sensors and the information related to the timing at which the data was measured are stored in association with each other, so that the data measured by different sensors can be in any context. It becomes clear whether the measurement has been made, and a change in the state of the workpiece conveyed on the line can be determined.
  • the determination unit calculates the timing at which the workpiece should pass through the detection ranges of the plurality of sensors based on the conveyance speed of the line and the arrangement of the plurality of sensors, and is disposed upstream of the line among the plurality of sensors.
  • the positional deviation of the workpiece may be determined based on a comparison between data measured by the sensor and data measured at a timing to pass by a sensor arranged downstream of the line among the plurality of sensors.
  • the data measured by the sensor arranged upstream of the line and the data measured by the sensor arranged downstream of the line are compared in consideration of the time delay due to the workpiece conveyance. Thus, it can be determined whether or not the position of the workpiece has changed during the conveyance process.
  • the determination unit is configured to determine a workpiece conveyance speed based on a difference between a period in which the workpiece is detected by the sensor arranged upstream of the line and a period in which the workpiece is detected by the sensor arranged downstream of the line. You may determine the change of.
  • the workpiece conveyance speed is increased. It can be determined whether it has changed.
  • the determination unit determines whether the workpiece is dropped based on the correspondence between the data measured by the sensor arranged upstream of the line and the data measured by the sensor arranged downstream of the line. Also good.
  • the workpiece is dropped. Can be determined.
  • the storage unit includes learning that includes data measured by a sensor arranged upstream of the line, data measured by a sensor arranged downstream of the line, and information indicating a change in the state of the workpiece.
  • the learned model generated by machine learning using the data for the data is stored, and the determination unit is measured by at least the data measured by the sensor arranged upstream of the line and the sensor arranged downstream of the line.
  • the change in the state of the workpiece may be determined based on the output of the learned model.
  • the master unit may include a timer, and the storage unit may store the time measured by the timer and the data in association with each other.
  • the timer only in the master unit without providing the timer in the plurality of slave units, the data measured by the plurality of sensors and the timing at which the data is measured can be obtained with a simple configuration. Can be stored in association with each other.
  • the master unit has a trigger transmission unit that transmits a trigger signal serving as a time reference to a plurality of slave units, and each of the plurality of slave units has a timer and receives a trigger signal.
  • the elapsed time from the time may be measured by a timer, the elapsed time may be transmitted to the master unit together with the data, and the storage unit may store the elapsed time and the data in association with each other.
  • each of the plurality of slave units has a timer that synchronizes between the plurality of slave units, and transmits the time measured by the timer to the master unit together with the data.
  • the data may be stored in association with each other.
  • the master unit includes a receiving unit that receives a signal serving as a time reference from an external device, and the storage unit stores the time calculated based on the signal serving as the time reference and data. May be.
  • the master unit may further include a correction unit that corrects timing-related information based on at least one of the response time of the sensor and the transmission delay time from the slave unit to the master unit.
  • information related to the timing at which data is measured by a plurality of sensors is stored more accurately, and changes in the state of the workpiece conveyed on the line can be determined with higher accuracy.
  • the data is time-series data including a rising waveform or a falling waveform corresponding to the passing state of the workpiece conveyed on the line
  • the master unit is composed of two or more slave units among a plurality of slave units.
  • a correspondence unit is further provided for associating rising waveforms or falling waveforms acquired by two or more slave units with respect to the same work on the basis of the rising waveform interval or the falling waveform interval included in the acquired time-series data. Also good.
  • the corresponding unit includes the rising waveform interval or falling waveform interval acquired by the first slave unit among the plurality of slave units, and the rising waveform acquired by the second slave unit among the plurality of slave units.
  • the average value of the difference between the rising waveforms or the falling waveforms measured by the two sensors is used as the evaluation value, so that the line conveyance speed is temporarily decreased or increased. Even in this case, the time series data measured by the two sensors can be appropriately associated.
  • the corresponding unit is a rising edge acquired by the first slave unit. Acquired by the first slave unit so that the average value of the difference between the interval of the waveform or the interval of the falling waveform and the interval of the rising waveform or the interval of the falling waveform acquired by the second slave unit thereafter becomes small.
  • the rising waveform or the falling waveform may be associated with the rising waveform or the falling waveform acquired by the second slave unit.
  • the calculation load can be reduced by limiting the combination of average values to be calculated according to the arrangement of a plurality of sensors.
  • the corresponding unit acquires the rising waveform or the falling waveform acquired by the first slave unit and the second slave unit from among the combinations in which the number of terms for calculating the average value is a predetermined number or more. Correlation with the rising waveform or falling waveform may be performed.
  • the corresponding unit increases the rising waveform or falling waveform acquired by the first slave unit and the rising waveform acquired by the second slave unit, or the number of terms for calculating the average value. Correlation with a falling waveform may be performed.
  • the correspondence unit may associate the rising waveform or the falling waveform when the determination unit continues to determine that the state of the workpiece has changed over a predetermined period.
  • the rising waveform association since the rising waveform association is inappropriate, when the line continues to be erroneously determined to be abnormal, the rising waveform association can be automatically corrected, It will be possible to correctly determine the state of the line.
  • the corresponding unit may associate the rising waveform or the falling waveform with respect to a selected part of the plurality of slave units.
  • association of data that is not necessarily required can be omitted, and the processing load can be reduced.
  • the master unit may further include a display unit that displays that the association by the corresponding unit is being executed.
  • the data is time-series data including a rising waveform or a falling waveform corresponding to the passing state of the workpiece conveyed on the line
  • the determination unit is acquired by the first slave unit among the plurality of slave units.
  • the rising waveform acquired by the first slave unit by comparing one of the time-series data and the time-series data acquired by the second slave unit among the plurality of slave units with a predetermined time shift
  • the change in the state of the workpiece may be determined based on the time difference between the falling waveform and the rising waveform or the falling waveform acquired by the second slave unit.
  • the time series data measured by the two sensors is appropriately compared to detect a data shift. can do.
  • the determination unit obtains the rising edge acquired by the first slave unit. If there is no rising waveform or falling waveform acquired by the corresponding second slave unit with respect to the waveform or the falling waveform, it may be determined that the workpiece has dropped from the line.
  • the workpiece is detected by the sensor arranged upstream of the line, but the case where the workpiece is not detected by the sensor arranged downstream of the line is specified, and it is determined that the workpiece has dropped out. can do.
  • the determination unit obtains the rising edge acquired by the second slave unit. If there is no rising waveform or falling waveform acquired by the corresponding first slave unit with respect to the waveform or the falling waveform, it may be determined that the workpiece has entered the line.
  • the workpiece is not detected by the sensor arranged upstream of the line
  • the case where the workpiece is detected by the sensor arranged downstream of the line is specified, and the workpiece is mixed. Can be determined.
  • the determination unit obtains one of time-series data acquired by the first slave unit among the plurality of slave units and time-series data acquired by the second slave unit among the plurality of slave units.
  • Each time-series data may be divided into a plurality of sections so that a predetermined time shift is performed and a rising waveform or falling waveform of 1 or less is included.
  • the determination unit includes a rising waveform or a falling waveform acquired by the first slave unit included in the first interval and a rising edge acquired by the second slave unit included in the first interval among the plurality of intervals.
  • the first time difference from the waveform or the falling waveform and the rising waveform or falling waveform acquired by the first slave unit included in the second interval among the plurality of intervals, and acquired by the second slave unit included in the second interval A second time difference between the rising waveform and the falling waveform thus calculated may be calculated, and a change in the state of the workpiece may be determined based on the difference between the first time difference and the second time difference.
  • the time series data measured by the two sensors is appropriately compared to detect a data shift. can do.
  • the determination unit shifts the time-series data acquired by three or more slave units arranged in order along the line among the plurality of slave units, compares the time-series data by a predetermined time, and changes the state of the workpiece
  • the abnormal section of the line may be determined based on the section in which it is determined that the work state has changed.
  • a sensor system that can determine a change in the state of a workpiece that has occurred in the course of conveyance.
  • FIG. 1 is a diagram showing an outline of a sensor system 1 according to an embodiment of the present invention.
  • the sensor system 1 includes a master unit 10, a first slave unit 20a, a second slave unit 20b, a third slave unit 20c, a first sensor 30a, a second sensor 30b, a third sensor 30c, and a PLC 40.
  • the 1st sensor 30a, the 2nd sensor 30b, and the 3rd sensor 30c are arrange
  • the first slave unit 20a, the second slave unit 20b, and the third slave unit 20c are connected to a plurality of sensors, and correspond to a plurality of slave units that acquire data measured by the plurality of sensors. More specifically, the first slave unit 20a is connected to the first sensor 30a, the second slave unit 20b is connected to the second sensor 30b, and the third slave unit 20c is connected to the third sensor 30c.
  • the PLC 40 corresponds to a control device.
  • the master unit 10 corresponds to a master unit connected to a plurality of slave units and a control device.
  • the first slave unit 20a, the second slave unit 20b, and the third slave unit 20c are collectively referred to as the slave unit 20, and the first sensor 30a, the second sensor 30b, and the third sensor 30c are collectively referred to as the sensor 30. .
  • the configuration of the sensor system 1 according to the present embodiment is an example, and the number of the plurality of sensors and the number of the plurality of slave units included in the sensor system 1 are arbitrary. Further, the control device is not necessarily the PLC 40.
  • the master unit 10 may be connected to the PLC 40 via a communication network such as a LAN (Local Area Network).
  • the slave unit 20 is physically and electrically connected to the master unit 10.
  • the master unit 10 stores the information received from the slave unit 20 in the storage unit, and transmits the stored information to the PLC 40. Therefore, the data acquired by the slave unit 20 is unified by the master unit 10 and transmitted to the PLC 40.
  • a determination signal and detection information are transmitted from the slave unit 20 to the master unit 10.
  • the determination signal is a signal indicating a determination result regarding the work determined by the slave unit 20 based on the data measured by the sensor 30.
  • the determination signal may be an on signal or an off signal obtained by comparing the received light amount measured by the sensor 30 with a threshold value by the slave unit 20.
  • the detection information is a detection value obtained by the detection operation of the slave unit 20.
  • the detection operation may be a light projection and light reception operation, and the detection information may be a received light amount.
  • the slave unit 20 may be attached to the side surface of the master unit 10.
  • parallel communication or serial communication may be used. That is, the master unit 10 and the slave unit 20 may be physically connected by a serial transmission path and a parallel transmission path.
  • the determination signal may be transmitted from the slave unit 20 to the master unit 10 on the parallel transmission path, and the detection information may be transmitted from the slave unit 20 to the master unit 10 on the serial transmission path.
  • FIG. 2 is a diagram showing functional blocks of the master unit 10 according to the present embodiment.
  • the master unit 10 includes an acquisition unit 11, a timer 12, a correction unit 13, a storage unit 14, a determination unit 15, a display unit 16, and a communication unit 17.
  • the acquisition unit 11 acquires data from the plurality of slave units 20.
  • the acquisition unit 11 acquires a determination signal indicating the passing state of the workpiece from the slave unit 20 through the parallel transmission path, or acquires detection information measured by the plurality of sensors 30 from the slave unit 20 through the serial transmission path. Good.
  • the timer 12 measures time, and may be, for example, an electronic timepiece that measures time based on a predetermined frequency.
  • the timer 12 may measure, for example, year, month, day, hour, minute, and second in milliseconds.
  • the timer 12 may measure the elapsed time from the reference time.
  • the correction unit 13 corrects the information regarding the timing at which the data is measured based on at least one of the response times of the plurality of sensors 30 and the transmission delay times from the plurality of slave units 20 to the master unit 10.
  • the timing information may be any information as long as it represents the timing at which the data was measured, may be information that absolutely represents the time at which the data was measured, or data It may be information that relatively represents the time when was measured.
  • a slight time lag occurs between the time when the plurality of sensors 30 perform the detection operation and the time when the passage of the workpiece is detected and the detection information is output. Also, a slight time lag occurs when data is transmitted from the plurality of slave units 20 to the master unit 10.
  • the correction unit 13 considers those time lags so that the information related to the timing at which the data is measured can be recorded more accurately from the time measured by the timer 12 and the response times of the plurality of sensors 30 and the plurality of slaves. At least one of the transmission delay times from the unit 20 to the master unit 10 may be subtracted. Thereby, the information regarding the timing when the data was measured by the plurality of sensors 30 is more accurately stored, and the change in the state of the workpiece conveyed on the line L can be determined with higher accuracy.
  • the correction unit 13 may adjust the response times according to the type of the sensor 30 connected to the slave unit 20. Further, since the transmission delay time from the plurality of slave units 20 to the master unit 10 becomes longer as the slave unit 20 is farther from the master unit 10, it depends on which stage the slave unit 20 that transmitted data is connected. The transmission delay time may be adjusted.
  • the storage unit 14 stores data acquired from the plurality of slave units 20 and information related to timings at which the data is measured by the plurality of sensors 30 in association with each other.
  • data acquired from the plurality of slave units 20 is represented as sensing data 14a
  • timing at which the data is measured by the plurality of sensors 30 is represented as measurement timing 14b.
  • the storage unit 14 may store the time measured by the timer 12 in association with the sensing data 14a. Note that the storage unit 14 may store the time when the time measured by the timer 12 is corrected by the correction unit 13 in association with the sensing data 14a. As described above, by providing the timer 12 only in the master unit 10 without providing the timer in the plurality of slave units 20, the data measured by the plurality of sensors 30 and the data are measured with a simple configuration. Information related to timing can be stored in association with each other.
  • the determination unit 15 compares data transmitted from two or more slave units 20 among the plurality of slave units 20 using information on timings at which the data is measured, and determines a change in the state of the workpiece. . More specifically, the data measured from one slave unit 20 and the data transmitted from the other slave unit 20 are compared with respect to the measurement timing, and the data measured earlier and the data measured later are compared. Detecting the deviation. The determination unit 15 calculates the timing at which the workpiece should pass through the detection ranges of the plurality of sensors 30 based on the conveyance speed of the line L and the arrangement of the plurality of sensors 30, and the data measured earlier and later are measured. A normal deviation from the data may be calculated, and the deviation of the workpiece may be determined by comparing the normal deviation with the actually measured data deviation.
  • the data measured by the plurality of sensors 30 and the information related to the timing at which the data was measured are stored in association with each other, so that the data measured by different sensors can be measured in any context. It has become clear that it has been done, and it is possible to determine a change in the state of the workpiece conveyed on the line L. Therefore, when the state of the workpiece changes during the conveyance process, an abnormality relating to the line L can be detected.
  • the storage unit 14 includes learning data including data measured by a sensor arranged upstream of the line L, data measured by a sensor arranged downstream of the line L, and information indicating a change in the state of the workpiece.
  • a learned model 14c generated by machine learning using data may be stored.
  • the learning data may be stored in the master unit 10 or may be stored in another device, and the process of generating the learned model may be executed by the master unit 10 or others. May be executed by the apparatus.
  • the learning model is a neural network
  • the master unit 10 or another device inputs the input data included in the learning data to the neural network, and based on the difference between the output and the label data included in the learning data.
  • the weight of the neural network may be updated by the error back propagation method.
  • the learning model is not limited to a neural network, and may be a regression model or a decision tree, and machine learning may be executed by an arbitrary algorithm.
  • the determination unit 15 inputs at least the data measured by the sensor arranged upstream of the line L and the data measured by the sensor arranged downstream of the line L to the learned model 14c, and learns the model
  • the change in the state of the workpiece may be determined based on the output of 14c.
  • the learned model 14c may determine not only that the state of the workpiece has changed but also the type of state change such as displacement or dropout of the workpiece.
  • the conveyance speed of the line L and the arrangement of the plurality of sensors 30 are not necessarily known, it is possible to determine whether the state of the workpiece has changed by the learned model 14c generated based on the actually measured data. it can.
  • the display unit 16 displays the determination result by the determination unit 15.
  • the display unit 16 may be, for example, a binary lamp that indicates the presence or absence of an abnormality related to the line L, and may be a liquid crystal display device that displays the determination result by the determination unit 15 in detail.
  • the communication unit 17 is an interface that performs communication with the PLC 40.
  • the communication unit 17 may perform communication with an external device other than the PLC 40.
  • FIG. 3 is a diagram showing a physical configuration of the sensor system 1 according to the present embodiment.
  • the master unit 10 includes input / output connectors 101 and 102 used for connection to the PLC 40, a connection connector 106 used for connection to the slave unit 20, and a power input connector.
  • the master unit 10 includes an MPU (Micro Processing Unit) 110, a communication ASIC (Application Specific Integrated Circuit) 112, a parallel communication circuit 116, a serial communication circuit 118, and a power supply circuit.
  • MPU Micro Processing Unit
  • ASIC Application Specific Integrated Circuit
  • the MPU 110 operates so as to control and execute all processes in the master unit 10.
  • the communication ASIC 112 manages communication with the PLC 40.
  • the parallel communication circuit 116 is used for parallel communication between the master unit 10 and the slave unit 20.
  • the serial communication circuit 118 is used for serial communication between the master unit 10 and the slave unit 20.
  • the slave unit 20 is provided with connectors 304 and 306 for connection with the master unit 10 or other slave units 20 on both side wall portions.
  • a plurality of slave units 20 can be connected to the master unit 10 in a row. Signals from the plurality of slave units 20 are transmitted to the adjacent slave units 20 and transmitted to the master unit 10.
  • Windows for both sides of the slave unit 20 are provided with windows for optical communication by infrared rays.
  • the plurality of slave units 20 are connected one by one using the connection connectors 304 and 306, they are arranged in a row.
  • the communication window enables bidirectional optical communication using infrared rays between adjacent slave units 20.
  • the slave unit 20 has various processing functions realized by a CPU (Central Processing Unit) 400 and various processing functions realized by a dedicated circuit.
  • a CPU Central Processing Unit
  • the CPU 400 controls the light projection control unit 403 to emit infrared rays from the light emitting element (LED) 401.
  • a signal generated when the light receiving element (PD) 402 receives light is amplified through the amplifier circuit 404, converted into a digital signal through the A / D converter 405, and taken into the CPU 400.
  • the CPU 400 transmits the received light data, that is, the received light amount as it is to the master unit 10 as detection information. Further, the CPU 400 transmits an on signal or an off signal obtained by determining whether or not the amount of received light is larger than a preset threshold value as a determination signal to the master unit 10.
  • the CPU 400 controls the left and right light projecting circuits 411 and 413 to emit infrared rays from the left and right communication light emitting elements (LEDs) 407 and 409 to the adjacent slave unit 20.
  • LEDs light emitting elements
  • Infrared rays coming from the adjacent left and right slave units 20 are received by the left and right light receiving elements (PD) 406 and 408, and then arrive at the CPU 400 via the light receiving circuits 410 and 412.
  • the CPU 400 performs optical communication with the left and right adjacent slave units 20 by controlling transmission / reception signals based on a predetermined protocol.
  • the light receiving element 406, the communication light emitting element 409, the light receiving circuit 410, and the light projecting circuit 413 are used for transmitting and receiving a synchronization signal for preventing mutual interference between the slave units 20. Specifically, in each slave unit 20, the light receiving circuit 410 and the light projecting circuit 413 are directly connected. With this configuration, the received synchronization signal is promptly transmitted from the communication light emitting element 409 to another adjacent slave unit 20 via the light projecting circuit 413 without being subjected to delay processing by the CPU 400.
  • CPU 400 further controls lighting of display unit 414. Further, the CPU 400 processes a signal from the setting switch 415. Various data necessary for the operation of the CPU 400 is stored in a recording medium such as an EEPROM (ElectricallyrErasable Programmable Read Only Memory) 416. The signal obtained from the reset unit 417 is sent to the CPU 400, and the measurement control is reset. A reference clock is input from the oscillator (OSC) 418 to the CPU 400.
  • OSC oscillator
  • the output circuit 419 performs transmission processing of a determination signal obtained by comparing the amount of received light with a threshold value. As described above, in the present embodiment, the determination signal is transmitted toward the master unit 10 by parallel communication.
  • the transmission path for parallel communication is a transmission path in which the master unit 10 and each slave unit 20 are individually connected.
  • each of the plurality of slave units 20 is connected to the master unit 10 by separate parallel communication lines.
  • the parallel communication line that connects the master unit 10 and the slave unit 20 other than the slave unit 20 adjacent to the master unit 10 can pass through the other slave units 20.
  • the serial communication driver 420 performs processing for receiving commands and the like transmitted from the master unit 10 and processing for transmitting detection information (amount of received light).
  • the RS-422 protocol is used for serial communication.
  • the RS-485 protocol may be used for serial communication.
  • the serial communication transmission line is a transmission line to which the master unit 10 and all the slave units 20 are connected. That is, all the slave units 20 are connected to the master unit 10 so as to be able to transmit signals in a bus format via the serial communication line.
  • FIG. 4 is a diagram illustrating a first example of data measured by the sensor system 1 according to the present embodiment.
  • data measured by the first sensor 30a, the second sensor 30b, and the third sensor 30c are shown in chronological order.
  • the first sensor 30a is a sensor arranged on the most upstream side of the line L among these three sensors
  • the third sensor 30c is arranged on the most downstream side of the line L among these three sensors.
  • the second sensor 30b is a sensor disposed downstream of the first sensor 30a and upstream of the third sensor 30c. In this example, it is measured when there is an abnormality in the line L between the location where the first sensor 30a is installed and the location where the second sensor 30b is installed, and the workpiece is misaligned during the conveyance process. Data.
  • the data measured by the first sensor 30a includes first data A1 and second data A2.
  • the first data A1 and the second data A2 are data indicating the passing state of the work, and are ON signals output when the work is within the detection range of the first sensor 30a.
  • the data measured by the second sensor 30b includes first data B1 and second data B2.
  • the first data B1 and the second data B2 are data indicating the passing state of the workpiece, and are ON signals output when the workpiece is within the detection range of the second sensor 30b.
  • the first data B1 measured by the second sensor 30b is delayed by a time T compared to the first data A1 measured by the first sensor 30a.
  • Time T is a value obtained by dividing the distance between the first sensor 30a and the second sensor 30b by the conveying speed of the line L.
  • the second data B2 measured by the second sensor 30b is delayed by a time T + ⁇ compared to the second data A2 measured by the first sensor 30a.
  • the waveform B2a that appears when the second data B2 is measured with a delay of time T is indicated by a broken line.
  • the determination unit 15 calculates the timing at which the workpiece should pass through the detection ranges of the plurality of sensors 30 based on the conveyance speed of the line L and the arrangement of the plurality of sensors 30, and upstream of the line L among the plurality of sensors 30. Based on the comparison between the data measured by the arranged sensors and the data measured at the timing to pass by the sensors arranged downstream of the line L among the plurality of sensors 30, the positional deviation of the workpiece is determined. It's okay. In the case of this example, if the line L is operating normally, the second data A2 measured by the first sensor 30a disposed upstream of the line L and the second sensor 30b disposed downstream of the line L.
  • the second data B ⁇ b> 2 measured by the above should be the same except for the delay of time T corresponding to the sensor installation interval and the conveying speed of the line L.
  • the determination unit 15 takes into account the delay of the time T and measures the second data A2 measured by the first sensor 30a arranged upstream of the line L and the second sensor 30b arranged downstream of the line L. It may be detected that there is a difference by ⁇ from the second data B2, and it is determined that the workpiece is misaligned when ⁇ is equal to or greater than a threshold value.
  • the determination unit 15 measures the data measured by the first sensor 30a arranged upstream of the line L, the data measured by the second sensor 30b arranged downstream of the line L, and these data.
  • the change in the state of the work may be determined based on the learned model 14c generated by machine learning using the learning data including the information indicating the change in the state of the work in the case where it is performed.
  • the determination unit 15 uses the second data A2 measured by the first sensor 30a arranged upstream of the line L and the second data A2 measured by the second sensor 30b arranged downstream of the line L.
  • Data B2 may be input to the learned model 14c, and the displacement of the workpiece may be determined based on the output of the learned model 14c.
  • the output of the learned model 14c may be the probability that the state of the workpiece has changed or the amount of displacement of the workpiece.
  • the data measured by the third sensor 30c includes first data C1 and second data C2.
  • the first data C1 and the second data C2 are data indicating the passing state of the workpiece, and are ON signals output when the workpiece is within the detection range of the third sensor 30c.
  • the first data C1 measured by the third sensor 30c is delayed by the time T as compared with the first data B1 measured by the second sensor 30b.
  • the second data C2 measured by the third sensor 30c is delayed by a time 2T + ⁇ compared to the second data A2 measured by the first sensor 30a.
  • the waveform C2a that appears when the second data C2 is measured with a delay of 2T is indicated by a broken line.
  • the determination unit 15 takes into account the delay of the time T and measures the second data A2 measured by the first sensor 30a arranged upstream of the line L and the third sensor 30c arranged downstream of the line L. It is detected that there is a difference by ⁇ with respect to the second data C2, and when ⁇ is equal to or greater than a threshold value, it may be determined that the work is displaced.
  • the determination unit 15 takes into account the delay of the time T, and the second data B2 measured by the second sensor 30b arranged upstream of the line L and the third sensor 30c arranged downstream of the line L.
  • the determination unit 15 inputs data measured by the first sensor 30a, the second sensor 30b, and the third sensor 30c to the learned model 14c, and changes the state of the workpiece based on the output of the learned model 14c. May be determined.
  • the determination unit 15 determines the location where the first sensor 30a is installed and the second sensor. You may determine with the abnormality in the conveying apparatus of the line L between the locations in which 30b was installed. In addition, when the deviation of the data measured by the third sensor 30c is approximately the same as the deviation of the data measured by the second sensor 30b, the determination unit 15 determines whether the third sensor 30b and the third sensor 30b are installed. It may be determined that there is no abnormality in the conveying device of the line L between the places where the sensor 30c is installed.
  • the determination unit 15 may determine whether or not the operation of each line is unstable by comparing data measured by a plurality of sensors arranged in each line.
  • the determination unit 15 also inputs data measured by a plurality of sensors arranged in a plurality of lines to the learned model 14c, and determines line instability based on the output of the learned model 14c. Good.
  • FIG. 5 is a diagram illustrating a second example of data measured by the sensor system 1 according to the present embodiment.
  • the arrangement of the first sensor 30a, the second sensor 30b, and the third sensor 30c in this example is the same as that of the first example shown in FIG.
  • there is an abnormality in the line L between the location where the first sensor 30a is installed and the location where the second sensor 30b is installed and the workpiece conveyance speed becomes chronically slow, resulting in a flow of the workpiece. Data measured when stagnation occurs is shown.
  • the data measured by the first sensor 30a includes first data A1, third data A3, fourth data A4, fifth data A5 and sixth data A6.
  • the first data A1, the third data A3, the fourth data, the fifth data, and the sixth data A6 are data indicating the passing state of the workpiece, and are output when the workpiece is within the detection range of the first sensor 30a. ON signal.
  • the time from the fall of the third data A3 to the rise of the fourth data A4 is t1
  • the time from the fall of the fourth data A4 to the rise of the fifth data A5 is t2
  • the fifth data The time from the fall of A5 to the rise of the sixth data A6 is t3.
  • the data measured by the second sensor 30b includes first data B1, third data B3, fourth data B4, fifth data B5, and sixth data B6.
  • the first data B1, the third data B3, the fourth data B4, the fifth data B5, and the sixth data B6 are data indicating the passing state of the workpiece, respectively, and the workpiece is within the detection range of the second sensor 30b. Is an ON signal output to.
  • the first data B1 measured by the second sensor 30b is delayed by a time T compared to the first data A1 measured by the first sensor 30a.
  • Time T is a value obtained by dividing the distance between the first sensor 30a and the second sensor 30b by the conveying speed of the line L.
  • the third data B3, the fourth data B4, the fifth data B5, and the sixth data B6 measured by the second sensor 30b are the third data B3, the fourth data B4, and the sixth data B4 measured by the first sensor 30a.
  • the interval between the fall and the rise is short, and it is measured almost continuously. That is, the time from the fall of the third data B3 to the rise of the fourth data B4 is almost zero, the time from the fall of the fourth data B4 to the rise of the fifth data B5 is almost zero, The time from the falling edge of the data B5 to the rising edge of the sixth data B6 is almost zero.
  • the determination unit 15 calculates the timing at which the workpiece should pass through the detection ranges of the plurality of sensors 30 based on the conveyance speed of the line L and the arrangement of the plurality of sensors 30, and upstream of the line L among the plurality of sensors 30. Based on the comparison between the data measured by the arranged sensors and the data measured at the timing to pass by the sensors arranged downstream of the line L among the plurality of sensors 30, the positional deviation of the workpiece is determined. It's okay. In the case of this example, if the line L is operating normally, the third data A3, the fourth data A4, the fifth data A5 and the sixth data measured by the first sensor 30a arranged upstream of the line L.
  • the interval between the fall and rise of A6, and the fall and rise of the third data B3, the fourth data B4, the fifth data B5 and the sixth data B6 measured by the second sensor 30b arranged downstream of the line L The interval between the sensors should be the same except for the delay in time T according to the installation interval of the sensor and the conveying speed of the line L.
  • the determination unit 15 considers the delay of the time T, and is measured by the waveform interval measured by the first sensor 30a disposed upstream of the line L and the second sensor 30b disposed downstream of the line L. If there is a difference in the interval between the measured waveforms, and the difference is equal to or greater than a threshold value, it may be determined that the workpiece is displaced. In addition, the determination unit 15 detects that the intervals between the falling and rising edges of the third data B3, the fourth data B4, the fifth data B5, and the sixth data B6 are almost zero, and the work flow stays. It may be determined that
  • the data measured by the third sensor 30c includes first data C1, third data C3, fourth data C4, fifth data C5, and sixth data C6.
  • the first data C1, the third data C3, the fourth data C4, the fifth data C5, and the sixth data C6 are data indicating the passing state of the workpiece, respectively, and the workpiece is within the detection range of the third sensor 30c. Is an ON signal output to.
  • the first data C1 measured by the third sensor 30c is delayed by the time T as compared with the first data B1 measured by the second sensor 30b.
  • the third data C3, the fourth data C4, the fifth data C5, and the sixth data C6 are the third data B3, the fourth data B4, the fifth data B5, and the sixth data B6 measured by the second sensor 30b.
  • the interval between the falling edge and the rising edge of the waveform is almost 0, indicating that the work is staying.
  • the determination unit 15 determines the location where the first sensor 30a is installed and the second sensor. You may determine with the abnormality in the conveying apparatus of the line L between the locations in which 30b was installed. In addition, when the deviation of the data measured by the third sensor 30c is approximately the same as the deviation of the data measured by the second sensor 30b, the determination unit 15 determines whether the third sensor 30b and the third sensor 30b are installed. It may be determined that there is no abnormality in the conveying device of the line L between the places where the sensor 30c is installed.
  • the determination unit 15 inputs the data measured by the first sensor 30a, the second sensor 30b, and the third sensor 30c to the learned model 14c, and stays in the work flow based on the output of the learned model 14c. It may be determined whether or not the error occurs. In addition, the determination unit 15 inputs data measured by the first sensor 30a, the second sensor 30b, and the third sensor 30c to the learned model 14c, and based on the output of the learned model 14c, the stagnation of the work is performed. You may determine the location of the conveying apparatus with the comparatively high probability of occurring.
  • FIG. 6 is a flowchart of the first process executed by the master unit 10 according to the present embodiment.
  • the master unit 10 acquires data measured by the plurality of sensors 30 from the plurality of slave units 20 (S10). Then, the time measured by the timer 12 is corrected by the correction unit 13 (S11), and the corrected time and sensing data are stored in association with each other (S12).
  • the master unit 10 inputs the data measured by the sensor arranged upstream and the data measured by the sensor arranged downstream to the learned model 14c (S13). Then, the master unit 10 determines the displacement of the workpiece based on the output of the learned model 14c (S14). Note that the master unit 10 does not necessarily have to make a determination using the learned model. Based on the conveyance speed of the line L and the arrangement of the plurality of sensors 30, the workpiece passes through the detection ranges of the plurality of sensors 30. The position of the workpiece is calculated by calculating the shift timing and comparing the difference between the data measured by the sensor arranged upstream and the data measured by the sensor arranged downstream at the timing to pass with a threshold value. The deviation may be determined.
  • the master unit 10 displays the presence / absence of the workpiece displacement and the amount of displacement on the display unit 16 (S15).
  • the master unit 10 may display on the display unit 16 which part of the conveying device of the line L is estimated to be abnormal.
  • work is good also as outputting with a sound.
  • the amount of workpiece positional deviation and the abnormal part of the transfer device may be transmitted to the PLC 40.
  • FIG. 7 is a diagram showing a third example of data measured by the sensor system 1 according to the present embodiment.
  • the arrangement of the first sensor 30a, the second sensor 30b, and the third sensor 30c in this example is the same as that of the first example shown in FIG.
  • This example shows data measured when there is an abnormality in the line L at the place where the second sensor 30b is installed, and the workpiece conveyance speed is temporarily reduced.
  • the data measured by the first sensor 30a includes first data A1 and seventh data A7.
  • the first data A1 and the seventh data A7 are data indicating the passing situation of the workpiece, respectively, and are ON signals output when the workpiece is within the detection range of the first sensor 30a.
  • the ON period of the seventh data A7 is t4.
  • the data measured by the second sensor 30b includes first data B1 and seventh data B7.
  • the first data B1 and the seventh data B7 are data indicating the passing state of the work, and are ON signals output when the work is within the detection range of the second sensor 30b.
  • the first data B1 measured by the second sensor 30b is delayed by a time T compared to the first data A1 measured by the first sensor 30a.
  • Time T is a value obtained by dividing the distance between the first sensor 30a and the second sensor 30b by the conveying speed of the line L.
  • the seventh data B7 measured by the second sensor 30b has an on-period t5, and the on-period is longer than the seventh data A7 measured by the first sensor 30a.
  • the determination unit 15 determines the workpiece conveyance speed. Changes may be determined. In the case of this example, if the line L is operating normally, the ON period t4 of the seventh data A7 measured by the first sensor 30a disposed upstream of the line L and the downstream of the line L are disposed. The on period t5 of the seventh data B7 measured by the second sensor 30b should be equal.
  • the determination unit 15 takes into account the delay of the time T, the ON period of the seventh data A7 measured by the first sensor 30a arranged upstream of the line L, and the second sensor arranged downstream of the line L. When the difference between the ON period of the seventh data B7 measured by 30b is detected and the difference is equal to or greater than the threshold, it may be determined that there is a change in the workpiece conveyance speed.
  • the workpiece conveyance speed is increased. It can be determined whether it has changed.
  • the data measured by the third sensor 30c includes first data C1 and second data C2.
  • the first data C1 and the second data C2 are data indicating the passing state of the workpiece, and are ON signals output when the workpiece is within the detection range of the third sensor 30c.
  • the first data C1 measured by the third sensor 30c is delayed by the time T as compared with the first data B1 measured by the second sensor 30b.
  • the second data C2 measured by the third sensor 30c is delayed by a time 2T + ⁇ compared to the second data A2 measured by the first sensor 30a.
  • the waveform C2a that appears when the second data C2 is measured with a delay of 2T is indicated by a broken line.
  • the on period of the second data C2 measured by the third sensor 30c is t4, which is the same as the on period of the second data A2 measured by the first sensor 30a.
  • t5 t4 + ⁇ .
  • the determination unit 15 takes into account the delay of the time T and measures the second data A2 measured by the first sensor 30a arranged upstream of the line L and the third sensor 30c arranged downstream of the line L. It is detected that there is a difference by ⁇ with respect to the second data C2, and when ⁇ is equal to or greater than a threshold value, it may be determined that the work is displaced.
  • the determination unit 15 is provided with the second sensor 30b. It may be determined that there is an abnormality in the conveying device of the line L at the spot where the error occurs. In addition, the determination unit 15 determines that the on period of the data measured by the third sensor 30c is approximately the same as the on period of the data measured by the first sensor 30a, and the deviation of the data measured by the third sensor 30c.
  • the line L between the location where the second sensor 30b is installed and the location where the third sensor 30c is installed It may be determined that there is no abnormality in the transport apparatus.
  • the determination unit 15 inputs a period during which the workpiece is detected by the first sensor 30a, the second sensor 30b, and the third sensor 30c to the learned model 14c, and transports the workpiece based on the output of the learned model 14c.
  • a change in speed may be determined.
  • the determination unit 15 may determine the amount of change in the workpiece conveyance speed based on the learned model 14c.
  • FIG. 8 is a flowchart of the second process executed by the master unit 10 according to this embodiment.
  • the master unit 10 acquires data measured by the plurality of sensors 30 from the plurality of slave units 20 (S20). Then, the time measured by the timer 12 is corrected by the correction unit 13 (S21), and the corrected time and sensing data are stored in association with each other (S22).
  • the master unit 10 calculates a difference between a period in which the workpiece is detected by the sensor arranged upstream and a period in which the workpiece is detected by the sensor arranged downstream (S23). Then, the master unit 10 determines a change in the workpiece conveyance speed based on the difference between the detection periods (S24). The master unit 10 inputs a period in which the workpiece is detected by the sensor arranged upstream and a period in which the workpiece is detected by the sensor arranged downstream to the learned model, and outputs the learned model as an output. Based on this, the presence or absence of an abnormality regarding the line may be determined.
  • the master unit 10 displays the presence / absence and change amount of the workpiece conveyance speed on the display unit 16 (S25).
  • the master unit 10 may display on the display unit 16 which part of the conveying device of the line L is estimated to be abnormal.
  • work is good also as outputting with a sound.
  • it is good also as transmitting the change and variation
  • FIG. 9 is a diagram showing a fourth example of data measured by the sensor system 1 according to the present embodiment.
  • the arrangement of the first sensor 30a, the second sensor 30b, and the third sensor 30c in this example is the same as that of the first example shown in FIG.
  • the data measured by the first sensor 30a includes first data A1 and second data A2.
  • the first data A1 and the second data A2 are data indicating the passing state of the work, and are ON signals output when the work is within the detection range of the first sensor 30a.
  • the data measured by the second sensor 30b includes the first data B1, and the first data B1 is data indicating the passing state of the workpiece, and is output when the workpiece is within the detection range of the second sensor 30b. ON signal.
  • the first data B1 measured by the second sensor 30b is delayed by a time T compared to the first data A1 measured by the first sensor 30a.
  • Time T is a value obtained by dividing the distance between the first sensor 30a and the second sensor 30b by the conveying speed of the line L.
  • the data measured by the second sensor 30b does not include data corresponding to the second data A2.
  • a waveform B2a that appears when data corresponding to the second data A2 is measured with a delay of time T is indicated by a broken line.
  • the determination unit 15 may determine whether the workpiece is dropped based on the correspondence between the data measured by the sensor arranged upstream of the line L and the data measured by the sensor arranged downstream of the line L. .
  • the second data A2 arranged downstream of the line L corresponding to the second data A2 measured by the first sensor 30a arranged upstream of the line L.
  • the data corresponding to the waveform B2a should be measured by the two sensors 30b.
  • the determination unit 15 takes into account the delay of the time T and measures the second data A2 measured by the first sensor 30a arranged upstream of the line L and the second sensor 30b arranged downstream of the line L.
  • the correspondence relationship with the detected data may be detected, and when the data corresponding to the second data A2 is not measured by the second sensor 30b, it may be determined that the workpiece has dropped out.
  • the removal of the workpiece includes not only the case where the workpiece has fallen from the line L but also the case where the workpiece is conveyed while lying down or being conveyed in an abnormal posture.
  • the workpiece is dropped. Can be determined.
  • the data measured by the third sensor 30c includes the first data C1, and the first data C1 is data indicating the passing state of the workpiece, and is output when the workpiece is within the detection range of the third sensor 30c. ON signal.
  • the first data C1 measured by the third sensor 30c is delayed by the time T as compared with the first data B1 measured by the second sensor 30b.
  • the data measured by the third sensor 30c does not include data corresponding to the second data A2.
  • a waveform C2a that appears when data corresponding to the second data A2 is measured with a delay of time T is indicated by a broken line.
  • the determination unit 15 takes into account the delay of the time T and measures the second data A2 measured by the first sensor 30a arranged upstream of the line L and the third sensor 30c arranged downstream of the line L. It may be determined that the workpiece has dropped out by detecting that the second data C2 does not correspond one-to-one.
  • the determination unit 15 installs the first sensor 30a. It may be determined that the workpiece has dropped between the place where the second sensor 30b is installed and the place where the second sensor 30b is installed. In addition, when the number of ON signals of data measured by the third sensor 30c is equal to the number of ON signals of data measured by the second sensor 30b, the determination unit 15 is a place where the second sensor 30b is installed. It may be determined that there is no abnormality in the conveying device of the line L between the location where the third sensor 30c is installed.
  • the determination unit 15 inputs the period during which the workpiece is detected by the first sensor 30a, the second sensor 30b, and the third sensor 30c to the learned model 14c, and drops the workpiece based on the output of the learned model 14c. May be determined. In that case, the determination unit 15 may determine the location of the line L where the workpiece has dropped out by the learned model 14c.
  • FIG. 10 is a flowchart of the third process executed by the master unit 10 according to this embodiment.
  • the master unit 10 acquires data measured by the plurality of sensors 30 from the plurality of slave units 20 (S30). Then, the time measured by the timer 12 is corrected by the correction unit 13 (S31), and the corrected time and sensing data are stored in association with each other (S32).
  • the master unit 10 identifies the correspondence between the data measured by the sensor arranged upstream and the data measured by the sensor arranged downstream (S33). Then, the master unit 10 determines the removal of the workpiece based on the data correspondence (S34). The master unit 10 inputs data measured by the sensor arranged upstream and data measured by the sensor arranged downstream to the learned model, and based on the output of the learned model, Omission may be determined.
  • the master unit 10 displays on the display unit 16 whether or not the workpiece has been removed (S35).
  • the master unit 10 may display on the display unit 16 which part of the conveying device of the line L is estimated to be abnormal.
  • work omission may be output with a sound, and is good also as transmitting to PLC40.
  • FIG. 11 is a flowchart of the fourth process executed by the master unit 10 according to this embodiment.
  • the process shown in the figure is a process of collecting learning data by the master unit 10 and generating a learned model.
  • the master unit 10 acquires data measured by the plurality of sensors 30 from the plurality of slave units 20 (S40). Then, the time measured by the timer 12 is corrected by the correction unit 13 (S41), and the corrected time and sensing data are stored in association with each other (S42).
  • the master unit 10 generates learning data including data measured by a sensor arranged upstream, data measured by a sensor arranged downstream, and information indicating a change in the state of the workpiece ( S43). And the master unit 10 memorize
  • FIG. 12 is a diagram showing functional blocks of the sensor system 1A according to the first modification of the present embodiment.
  • the master unit 10 does not have a timer, has a trigger transmission unit 18, the first slave unit 20a has a timer 21a, and the second slave unit 20b has a timer 21b.
  • the third slave unit 20c is different from the sensor system 1 in that it includes a timer 21c.
  • the sensor system 1 ⁇ / b> A according to the first modification has the same configuration as the sensor system 1.
  • the trigger transmission unit 18 transmits a trigger signal serving as a time reference to the plurality of slave units 20.
  • the trigger signal may be any signal as long as it becomes a time reference.
  • the plurality of slave units 20 have timers 21a, 21b, and 21c, respectively.
  • the elapsed time after receiving the trigger signal is measured by the timers 21a, 21b, and 21c, and the elapsed time is measured by the plurality of sensors 30. It is transmitted to the master unit 10 together with the data. Then, the storage unit 14 of the master unit 10 stores the elapsed time received from the plurality of slave units 20 in association with the data.
  • the data measured by the plurality of sensors 30 and the information related to the timing at which the data was measured can be stored in association with each other.
  • FIG. 13 is a diagram illustrating functional blocks of a sensor system 1B according to a second modification of the present embodiment.
  • the master unit 10 does not have a timer
  • the first slave unit 20a has a timer 21a
  • the second slave unit 20b has a timer 21b
  • the third slave unit 20c Is different from the sensor system 1 in that it has a timer 21c.
  • the sensor system 1B according to the second modification has the same configuration as the sensor system 1.
  • the plurality of slave units 20 have timers 21 a, 21 b, and 21 c that are synchronized among the plurality of slave units 20, respectively, and the times measured by the timers 21 a, 21 b, and 21 c are mastered together with the data measured by the plurality of sensors 30. Transmit to unit 10.
  • the synchronization of the timers 21a, 21b, and 21c may be performed between the adjacent slave units 20.
  • the storage unit 14 stores the time measured by the timers 21a, 21b, and 21c in association with the data.
  • the processing load on the master unit 10 can be reduced, and the data measured by the plurality of sensors 30 and the information related to the timing at which the data was measured can be stored in association with each other.
  • FIG. 14 is a diagram showing functional blocks of a sensor system 1C according to a third modification of the present embodiment.
  • the sensor system 1C according to the third modification is different from the sensor system 1 in that the master unit 10 does not have a timer and the PLC 40 has a timer 41.
  • the sensor system 1 ⁇ / b> C according to the third modification has the same configuration as the sensor system 1.
  • the master unit 10 has a receiving unit that receives a signal serving as a time reference from an external device.
  • the master unit 10 includes a communication unit 17 that receives a signal serving as a time reference from the PLC 40.
  • the time reference signal may be the time measured by the timer 41 of the PLC 40.
  • the storage unit 14 stores the time calculated based on the signal serving as a time reference and the data measured by the plurality of sensors 30 in association with each other.
  • the data measured by the plurality of sensors 30 and the information related to the timing at which the data is measured can be stored in association with each other without providing timers in the plurality of slave units 20 and the master unit 10.
  • FIG. 15 is a diagram illustrating functional blocks of a sensor system 1D according to a fourth modification of the present embodiment.
  • the sensor system 1D according to the fourth modification is different from the sensor system 1 in that the master unit 10 includes a corresponding unit 19.
  • the sensor system 1D according to the fourth modified example has the same configuration as the sensor system 1.
  • the data measured by the sensor system 1D according to the fourth modified example is time-series data including a rising waveform or a falling waveform corresponding to the passing situation of the workpiece conveyed on the line L.
  • a rising waveform is output as sensing data when the workpiece enters the detection range of the sensor 30, and a falling waveform is output as sensing data when the workpiece leaves the detection range of the sensor 30.
  • Corresponding unit 19 includes two or more slave units for the same workpiece based on the rising waveform interval or the falling waveform interval included in time-series data acquired by two or more slave units among a plurality of slave units 20. Correlate the rising waveform or falling waveform acquired by By associating rising waveforms or falling waveforms acquired by two or more slave units with respect to the same workpiece by the corresponding unit 19, time series data measured by the plurality of sensors 30 can be appropriately compared. It is possible to appropriately determine a change in the state of the workpiece being conveyed.
  • FIG. 16 is a diagram illustrating a fifth example of data measured by the sensor system 1D according to the fourth modification example of the present embodiment.
  • the arrangement of the first sensor 30a, the second sensor 30b, and the third sensor 30c in this example is the same as that of the first example shown in FIG.
  • the conveyance speed of the line L temporarily decreases at the location where the second sensor 30b is installed, and the width of the waveform measured when the workpiece passes through the detection range of the second sensor 30b is the first width. It is wider than the width of the waveform measured when the workpiece passes through the detection range of the sensor 30a and the third sensor 30c.
  • the data measured by the first sensor 30a includes six rectangular waves output when the workpiece passes through the detection range of the first sensor 30a, and includes a rising waveform and a rising waveform, respectively.
  • the six rectangular waves correspond to different works.
  • the rising waveform and the falling waveform are represented by substantially vertical straight lines, but may actually be curved.
  • the correspondence unit 19 includes the rising waveform interval or the falling waveform interval acquired by the first slave unit 20 a among the plurality of slave units 20 and the rising edge acquired by the second slave unit 20 b among the plurality of slave units 20.
  • a falling waveform may be associated.
  • the intervals of the rising waveforms acquired by the first slave unit 20a are TA1, TA2, TA3, TA4, and TA5.
  • the intervals of the rising waveforms acquired by the second slave unit 20b are TB1, TB2, TB3, TB4, TB5, and TB6.
  • the average value of the difference between the rising waveform intervals is
  • the correspondence unit 19 calculates the difference between the rising waveforms or the falling waveforms measured by the two sensors 30 and searches for a combination having a smaller average value.
  • the intervals of the rising waveforms acquired by the third slave unit 20c are TC1, TC2, TC3, TC4, TC5, TC6, and TC6.
  • the average value of the differences between the falling waveform intervals acquired by the first slave unit 20a and the rising waveform intervals acquired by the third slave unit 20c is
  • the conveyance speed of the line L is temporarily decreased or increased. Even in this case, the time series data measured by the two sensors 30 can be appropriately associated.
  • the master unit 10 can also calculate the time for the workpiece to pass between the two sensors 30. In addition, the master unit 10 can display the calculated passing time on the display unit 16 to allow the user to confirm the validity, and thus allow the user to confirm the validity of the association between the rising waveform and the falling waveform. . Furthermore, when the arrangement interval of the two sensors 30 is known, the master unit 10 can calculate the average conveyance speed of the line L and display it on the display unit 16 to allow the user to confirm the validity. .
  • the master unit 10 receives an input of an approximate value of the time required for the workpiece to pass between the two sensors 30 from the user in advance, and the corresponding unit 19 calculates the average value of the difference between the rising waveform and the falling waveform.
  • the combinations to be calculated may be limited, and thereby the calculation load can be reduced.
  • the master unit 10 can also calculate the local conveyance speed of the line L based on the width of the waveform when the same workpiece is measured by the plurality of sensors 30. As a result, for two sensors 30 arranged in order, the time from when the workpiece is detected by the upstream sensor 30 until the workpiece is detected by the downstream sensor 30 can be predicted. It is also possible to calculate the difference between the measured time and the actually measured time.
  • the correspondence unit 19 may associate the rising waveform or the falling waveform with respect to a selected part of the plurality of slave units 20.
  • the corresponding unit 19 associates rising waveforms or falling waveforms with respect to two selected slave units among the first slave unit 20a, the second slave unit 20b, and the third slave unit 20c. May be.
  • association of data that is not necessarily required can be omitted, and the processing load can be reduced.
  • the corresponding unit 19 when the first sensor 30a connected to the first slave unit 20a is arranged upstream of the line L from the second sensor 30b connected to the second slave unit 20b, the corresponding unit 19 The average value of the difference between the rising waveform interval or the falling waveform interval acquired by the first slave unit 20a and the rising waveform interval or the falling waveform interval acquired thereafter by the second slave unit 20b is reduced.
  • the rising waveform or falling waveform acquired by the first slave unit 20a may be associated with the rising waveform or falling waveform acquired by the second slave unit 20b.
  • the corresponding unit 19 uses the rising waveform or the falling waveform measured by the second sensor 30b after the interval of the rising waveform or the falling waveform measured by the first sensor 30a and the timing of the measurement by the first sensor 30a.
  • the rising waveform or the falling waveform acquired by the first slave unit 20a is associated with the rising waveform or the falling waveform acquired by the second slave unit 20b so that the average value of the difference with the interval is reduced. May be.
  • the corresponding unit 19 is (
  • These average values may not be calculated.
  • the corresponding unit 19 is (
  • the calculation load can be reduced.
  • the correspondence unit 19 uses the rising waveform or the falling waveform acquired by the first slave unit 20a from the combinations in which the number of terms for calculating the average value is equal to or greater than the predetermined number, and the second slave unit 20b. You may perform matching with the acquired rising waveform or falling waveform. For example, the corresponding unit 19 obtains the rising waveform or the falling waveform obtained by the first slave unit 20a and the second slave unit 20b from among combinations in which the number of terms for calculating the average value is 3 or more. Correlation with the rising waveform or falling waveform may be performed.
  • the average value of the difference between the rising waveform or the falling waveform measured by the two sensors 30 may be the same for different combinations for calculating the difference. For example, (
  • the corresponding unit 19 acquires the rising waveform or the falling waveform acquired by the first slave unit 20a and the second slave unit 20b so that the number of terms for calculating the average value increases. Correlation with the rising waveform or falling waveform may be performed.
  • FIG. 17 is a flowchart of the fifth process executed by the master unit 10 according to the fourth modification of the present embodiment.
  • the master unit 10 acquires data measured by the plurality of sensors 30 from the plurality of slave units 20 (S50). Then, the time measured by the timer 12 is corrected by the correction unit 13 (S51), and the corrected time and sensing data are stored in association with each other (S52).
  • the master unit 10 calculates the average value of the difference between the rising waveform interval acquired from the upstream first slave unit 20a and the rising waveform interval acquired from the downstream second slave unit 20b thereafter (S53). ).
  • the master unit 10 determines whether or not the combination that minimizes the average value is uniquely determined (S55). When the combination that minimizes the average value is uniquely determined (S55: YES), the master unit 10 associates the rising waveform with the combination that minimizes the average value (S56). On the other hand, when the combination that minimizes the average value is not uniquely determined (S55: NO), the master unit 10 generates the rising waveform by the combination that minimizes the average value and maximizes the number of terms for calculating the average value. Correlate (S57). If the calculated number of terms in the average value is not equal to or greater than the predetermined number (S54: NO), the association may be executed again after waiting for the data to be accumulated.
  • FIG. 18 is a flowchart of the sixth process executed by the master unit 10 according to the fourth modification of the present embodiment.
  • the master unit 10 determines whether there is an abnormality related to the line L (S60).
  • the determination of the presence / absence of abnormality regarding the line L (S60) may be, for example, the first process shown in FIG.
  • the correspondence unit 19 may associate the rising waveform or the falling waveform when the determination unit 15 continues to determine that the state of the workpiece has changed over a predetermined period.
  • a predetermined period S61: NO
  • the determination of the presence or absence of abnormality regarding the line L S60
  • the master unit In step S62, the rising waveform is associated.
  • the rising waveform association is inappropriate, when it is erroneously determined that the line L is abnormal, it is possible to automatically correct the rising waveform association, The state of the line L can be correctly determined.
  • the master unit 10 displays on the display unit 16 that the association process (S62) is being executed (S63). As a result, it is possible to visually tell that the master unit 10 is in a state where it cannot temporarily determine the state of the workpiece.
  • the master unit 10 does not have to execute the determination process by the determination unit 15 while the association process (S62) is being performed.
  • the plurality of slave units 20 may receive data from the plurality of sensors 30. Acquisition may be continued.
  • FIG. 19 is a diagram illustrating a sixth example of data measured by the sensor system 1E according to the fifth modification example of the present embodiment.
  • the sensor system 1E according to the fifth modified example acquires time-series data including a rising waveform or a falling waveform corresponding to the passing situation of the workpiece conveyed on the line L.
  • the data measured by the first sensor 30a indicated by the solid line, the data measured by the second sensor 30b shown in broken lines, the data measured by the second sensor 30b is shifted by T AB data solid Is shown.
  • the sensor system 1E according to the fifth modification of the present embodiment has the same configuration as the sensor system 1.
  • the determination unit 15 is one of the time-series data acquired by the first slave unit 20a among the plurality of slave units 20 and the time-series data acquired by the second slave unit 20b among the plurality of slave units 20. Based on the time difference between the rising waveform or falling waveform acquired by the first slave unit 20a and the rising waveform or falling waveform acquired by the second slave unit 20b. A change in the state of the workpiece may be determined. As shown in FIG. 19, the determination unit 15 uses the second sensor 30b to measure the rising waveform of the data measured by the first sensor 30a and the rising waveform of the data measured by the second sensor 30b. The processed data may be shifted by T AB .
  • the shift amount T AB may be set in advance or may be determined by running a test work on the line L.
  • the determination unit 15 compares the rising timings of the rising waveforms included in the shifted data, and when the timing is shifted or the falling waveforms cannot be correlated, the work state changes. It may be determined that it has occurred.
  • FIG. 20 is a diagram illustrating a seventh example of data measured by the sensor system 1E according to the fifth modification example of the present embodiment.
  • data after the data measured by the second sensor 30b is shifted by TAB is shown.
  • the data is divided into a first section Int1, a second section Int2, a third section Int3, a fourth section Int4, and a fifth section Int5.
  • the determination unit 15 is one of the time-series data acquired by the first slave unit 20a among the plurality of slave units 20 and the time-series data acquired by the second slave unit 20b among the plurality of slave units 20. Are shifted by a predetermined time, and each time series data may be divided into a plurality of sections so that a rising waveform or falling waveform of 1 or less is included. That is, the determination unit 15 may divide the time series data so that one rising waveform or rising waveform is included in one section, or no rising waveform or rising waveform is included. Thereby, time-series data can be compared for each of a plurality of sections, and a change in the state of the workpiece can be determined.
  • each of the first interval Int1, the third interval Int3, and the fifth interval Int5 includes one rising waveform measured by the first sensor 30a and one rising waveform measured by the second sensor 30b.
  • the second interval Int2 and the fourth interval Int4 include neither the rising waveform measured by the first sensor 30a nor the rising waveform measured by the second sensor 30b.
  • the determination unit 15 is based on a time difference (T A ⁇ T B ) between the rising waveform of the data measured by the first sensor 30a included in the third section Int3 and the rising waveform of the data measured by the second sensor 30b. Then, the change of the workpiece state may be determined.
  • the determination unit 15 shifts the data measured by the second sensor 30b by T AB , then the rising waveform timing T A of the data measured by the first sensor 30a included in the third section Int3, and the third section
  • T A -T B the difference between the timing T B of the rising waveform of the data measured by the second sensor 30b included in Int 3
  • the position deviation of the workpiece on the line L is It may be determined that it has occurred. In this way, even when the conveyance speed of the line L temporarily decreases or increases, the time series data measured by the two sensors 30 are appropriately compared, and the data shift is detected. Can be detected.
  • FIG. 21 is a flowchart of the seventh process executed by the master unit 10 according to the fifth modification of the present embodiment.
  • the master unit 10 shifts the data measured by the second sensor 30b for a predetermined time (S70).
  • the master unit 10 shifts other data with reference to one of the data measured by the plurality of sensors 30 so that the rising waveform of the other data matches the rising waveform of the reference data. Also good.
  • the ON number is the number of times that a signal indicating that a workpiece has been detected by the sensor 30 is obtained.
  • the master unit 10 uses the data measured by the first sensor 30a in the section.
  • the determination unit 15 When the first sensor 30a connected to the first slave unit 20a is arranged upstream of the line L from the second sensor 30b connected to the second slave unit 20b, the determination unit 15 When the rising waveform or falling waveform acquired by the second slave unit 20b does not exist with respect to the rising waveform or falling waveform acquired by the unit 20a, it is determined that the workpiece has dropped from the line L. Also good.
  • the master unit 10 determines that the workpiece has dropped (S76), outputs a warning to the outside, and displays that the drop has occurred on the display unit 16. Or thereby, although the workpiece
  • the determination unit 15 When there is no rising waveform or falling waveform acquired by the corresponding first slave unit 20a with respect to the rising waveform or falling waveform acquired by the unit 20b, it is determined that the workpiece has entered the line L. Also good.
  • the master unit 10 determines that the work has been mixed (S78), and outputs a warning to the outside or displays that the mixing has occurred on the display unit 16. Or thereby, although the workpiece
  • the master unit 10 may repeat the process S71 and subsequent steps.
  • FIG. 22 is a diagram illustrating an eighth example of data measured by the sensor system 1E according to the fifth modification example of the present embodiment.
  • data after the data measured by the second sensor 30b is shifted by TAB is shown.
  • the data is divided into a first section Int1, a second section Int2, a third section Int3, a fourth section Int4, and a fifth section Int5.
  • the determination unit 15 acquires the rising waveform or the falling waveform acquired by the first slave unit 20a included in the first interval Int1 among the plurality of intervals and the second slave unit 20b included in the first interval Int1.
  • a first time difference (T A1 ⁇ T B1 ) from the rising waveform or the falling waveform, a rising waveform or a falling waveform acquired by the first slave unit 20a included in the third section Int3 among the plurality of sections, and a third A second time difference (T A2 ⁇ T B2 ) from the rising waveform or the falling waveform acquired by the second slave unit 20b included in the section Int3 is calculated, and the difference between the first time difference and the second time difference
  • the change in the state of the workpiece may be determined based on T B1 ) ⁇ (T A2 ⁇ T B2 )
  • FIG. 23 is a flowchart of the eighth process executed by the master unit 10 according to the fifth modification of the present embodiment.
  • the master unit 10 shifts the data measured by the second sensor 30b for a predetermined time (S90).
  • the master unit 10 shifts other data with reference to one of the data measured by the plurality of sensors 30 so that the rising waveform of the other data matches the rising waveform of the reference data. Also good.
  • ⁇ TH) is determined (S92). If the difference is greater than or equal to the threshold (S92: YES), the master unit 10 determines that the workpiece has a positional deviation (S93), and outputs a warning to the outside or indicates that the positional deviation has occurred in the display unit 16. Or display. On the other hand, if the difference is not greater than or equal to the threshold value (S92: NO), the master unit 10 determines that no positional deviation has occurred in the workpiece (S94).
  • the determination unit 15 When the first sensor 30a connected to the first slave unit 20a is arranged upstream of the line L from the second sensor 30b connected to the second slave unit 20b, the determination unit 15 When the rising waveform or falling waveform acquired by the second slave unit 20b does not exist with respect to the rising waveform or falling waveform acquired by the unit 20a, it is determined that the workpiece has dropped from the line L. Also good.
  • the master unit 10 determines that the work has dropped (S96), outputs a warning to the outside, and displays that the drop has occurred on the display unit 16.
  • work is detected by the sensor 30 arrange
  • positioned downstream of the line L is specified, and the workpiece
  • the determination unit 15 When the first sensor 30a connected to the first slave unit 20a is arranged upstream of the line L from the second sensor 30b connected to the second slave unit 20b, the determination unit 15 When the rising waveform or falling waveform acquired by the corresponding first slave unit 20a does not exist with respect to the rising waveform or falling waveform acquired by the unit 20b, it is determined that the workpiece has entered the line L. Also good.
  • the master unit 10 determines that the work has been mixed (S98), outputs a warning to the outside, or displays that the mixing has occurred on the display unit 16. Or thereby, although the workpiece
  • the master unit 10 may repeat the process S71 and subsequent steps.
  • FIG. 24 is a diagram illustrating a ninth example of data measured by the sensor system 1E according to the fifth modification example of the present embodiment.
  • the determination unit 15 aligns the rising waveform of the data measured by the first sensor 30a with the rising waveform of the data measured by the second sensor 30b, the rising waveform of the data measured by the first sensor 30a, 3 to align the rising waveform of the data measured by the sensor 30c, the data measured by the second sensor 30b is shifted by T AB, the data measured by the third sensor 30c may be shifted by T AC .
  • the shift amounts T AB and T AC may be set in advance, or may be determined by running a test work on the line L.
  • the second rising waveform is obtained by comparing the data measured by the first sensor 30a and the data measured by the second sensor 30b. There is a gap between T A and T B.
  • the second rising waveform is aligned between the data measured by the second sensor 30b and the data measured by the third sensor 30c. That is, the second rising waveform does not match between the data measured by the first sensor 30a and the data measured by the third sensor 30c, and a deviation of T A -T B occurs.
  • the determination unit 15 shifts and compares time-series data acquired by three or more slave units 20 arranged in order along the line L among the plurality of slave units 20 by a predetermined time, and changes the state of the workpiece.
  • the abnormal section of the line may be determined based on the section in which it is determined that the work state has changed. In this example, the determination unit 15 determines that the difference
  • FIG. 25 is a flowchart of a ninth process executed by the master unit 10 according to the fifth modification example of the present embodiment.
  • the master unit 10 the data measured by the second sensor 30b is shifted by a predetermined time T AB (S110), the measured data shifted by AC predetermined time T by the third sensor 30c (S 111) To do.
  • the master unit 10 determines a change in the state of the workpiece from the time difference of the data measured by the second sensor 30b with respect to the data measured by the first sensor 30a (S112), and the data measured by the second sensor 30b.
  • the change in the state of the workpiece is determined from the time difference of the data measured by the third sensor 30c (S113).
  • the processing S112 and S113 may be, for example, the seventh processing illustrated in FIG.
  • the master unit 10 determines the abnormal section of the line L based on the section in which it is determined that the workpiece state has changed. For example, when it is determined that the state of the workpiece has changed by the process S112 and it is determined that the state of the workpiece has not changed by the process S113, the master unit 10 starts the second sensor from the position where the first sensor 30a is disposed. You may determine with abnormality having occurred in the line L in the area to the position where 30b is arrange

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Arrangements For Transmission Of Measured Signals (AREA)
  • Control Of Conveyors (AREA)

Abstract

搬送の過程で生じたワークの状態の変化を判定することができるセンサシステムを提供する。センサシステムは、ラインに沿って配置され、ライン上を搬送されるワークの通過を示すデータを測定する複数のセンサと、複数のセンサそれぞれに接続され、複数のセンサにより測定されるデータを取得する複数のスレーブユニットと、複数のスレーブユニットと接続されているマスタユニットと、を備え、マスタユニットは、データと、データが測定されたタイミングに関する情報とを関連付けて記憶する記憶部と、複数のスレーブユニットのうち2以上のスレーブユニットから伝送されたデータを、タイミングに関する情報を用いて比較して、ワークの状態の変化を判定する判定部と、を有する。

Description

センサシステム
 本開示は、センサシステムに関する。
 従来、ラインに沿って複数のセンサを配置して、ライン上を搬送されるワークの有無を測定することがある。複数のセンサにより測定されたデータは、複数のスレーブユニットにより取得されてマスタユニットに転送され、マスタユニットに接続されたPLC(Programmable Logic Controller)等の制御装置に集約されることがある。
 下記特許文献1には、複数のスレーブユニットと、各々のスレーブユニットから受信した情報を制御装置に向けて送信する通信装置とを備えるセンサシステムが記載されている。各スレーブユニットは、いずれかのスレーブユニットから発信される同期信号を起点として、スレーブユニット毎に定められる待機時間が経過してから、センシングデータ等の検出情報を通信装置に送信する。ここで、各スレーブユニットの待機時間は、他のスレーブユニットの待機時間とは異なるように定められている。特許文献1に記載の技術によって、複数のセンサにより測定したデータを制御装置に集約する場合に、制御装置からのコマンドを待たずにデータを送信することができ、通信速度を向上させることができる。
特開2014-96036号公報
 しかしながら、従来、複数のセンサにより時々刻々とワークの有無に関するデータが測定される場合であっても、それぞれのデータは独立に活用されることが多い。異なるセンサにより測定されたデータを独立に活用する場合、マスタユニットはそれぞれのデータの測定時刻に関する情報を有していないため、異なるセンサにより測定されたデータがどのような前後関係で測定されたのか判別できなかった。そのため、ラインに異常があり、搬送の過程でワークの位置ずれや脱落等の状態の変化が生じても、その変化を検出することが難しかった。
 そこで、本発明は、搬送の過程で生じたワークの状態の変化を判定することができるセンサシステムを提供する。
 本開示の一態様に係るセンサシステムは、ラインに沿って配置され、ライン上を搬送されるワークの通過状況を示すデータを測定する複数のセンサと、複数のセンサそれぞれに接続され、複数のセンサにより測定されるデータを取得する複数のスレーブユニットと、複数のスレーブユニットと接続されているマスタユニットと、を備え、マスタユニットは、データと、データが測定されたタイミングに関する情報とを関連付けて記憶する記憶部と、複数のスレーブユニットのうち2以上のスレーブユニットから伝送されたデータを、タイミングに関する情報を用いて比較して、ワークの状態の変化を判定する判定部と、を有する。
 この態様によれば、複数のセンサにより測定されたデータと、そのデータが測定されたタイミングに関する情報とが関連付けられて記憶されることで、異なるセンサにより測定されたデータがどのような前後関係で測定されたのかが明らかとなり、ライン上を搬送されるワークの状態の変化を判定することができる。
 上記態様において、判定部は、ラインの搬送速度及び複数のセンサの配置に基づいて、ワークが複数のセンサの検出範囲を通過すべきタイミングを算出し、複数のセンサのうちラインの上流に配置されたセンサにより測定されたデータと、複数のセンサのうちラインの下流に配置されたセンサにより、通過すべきタイミングにおいて測定されたデータとの比較に基づき、ワークの位置ずれを判定してもよい。
 この態様によれば、ラインの上流に配置されたセンサにより測定されたデータと、ラインの下流に配置されたセンサにより測定されたデータとを、ワークの搬送による時間遅れを考慮して比較することで、搬送の過程でワークの位置が変化したかを判定することができる。
 上記態様において、判定部は、ラインの上流に配置されたセンサによりワークが検出された期間と、ラインの下流に配置されたセンサによりワークが検出された期間との差に基づき、ワークの搬送速度の変化を判定してもよい。
 この態様によれば、ラインの上流に配置されたセンサによりワークが検出された期間と、ラインの下流に配置されたセンサによりワークが検出された期間とを比較することで、ワークの搬送速度が変化したかを判定することができる。
 上記態様において、判定部は、ラインの上流に配置されたセンサにより測定されたデータと、ラインの下流に配置されたセンサにより測定されたデータとの対応関係に基づき、ワークの脱落を判定してもよい。
 この態様によれば、ラインの上流に配置されたセンサにより測定されたデータと、ラインの下流に配置されたセンサにより測定されたデータとが一対一に対応しない場合に、ワークの脱落が生じていると判定することができる。
 上記態様において、記憶部は、ラインの上流に配置されたセンサにより測定されたデータと、ラインの下流に配置されたセンサにより測定されたデータと、ワークの状態の変化を示す情報とを含む学習用データを用いた機械学習により生成された学習済みモデルを記憶し、判定部は、少なくとも、ラインの上流に配置されたセンサにより測定されたデータと、ラインの下流に配置されたセンサにより測定されたデータとを学習済みモデルに入力し、学習済みモデルの出力に基づいてワークの状態の変化を判定してもよい。
 この態様によれば、必ずしもラインの搬送速度及び複数のセンサの配置を知らなくても、実測されたデータに基づき生成された学習済みモデルによって、ワークの状態が変化したかを判定することができる。
 上記態様において、マスタユニットは、タイマを有し、記憶部は、タイマにより測定される時刻と、データとを関連付けて記憶してもよい。
 この態様によれば、複数のスレーブユニットにタイマを設けずに、マスタユニットのみにタイマを設けることで、簡素な構成によって、複数のセンサにより測定されたデータと、そのデータが測定されたタイミングとを関連付けて記憶することができる。
 上記態様において、マスタユニットは、時刻の基準となるトリガ信号を複数のスレーブユニットに対して発信するトリガ発信部を有し、複数のスレーブユニットは、それぞれタイマを有し、トリガ信号を受信してからの経過時間をタイマにより測定し、経過時間をデータとともにマスタユニットに伝送し、記憶部は、経過時間と、データとを関連付けて記憶してもよい。
 この態様によれば、マスタユニットにタイマを設けずに、複数のセンサにより測定されたデータと、そのデータが測定されたタイミングとを関連付けて記憶することができる。
 上記態様において、複数のスレーブユニットは、複数のスレーブユニット間で同期するタイマをそれぞれ有し、タイマにより測定される時刻をデータとともにマスタユニットに伝送し、記憶部は、タイマにより測定された時刻と、データとを関連付けて記憶してもよい。
 この態様によれば、マスタユニットの処理負荷を減らして、複数のセンサにより測定されたデータと、そのデータが測定されたタイミングとを関連付けて記憶することができる。
 上記態様において、マスタユニットは、時刻の基準となる信号を外部機器から受信する受信部を有し、記憶部は、時刻の基準となる信号に基づき算出される時刻と、データとを関連付けて記憶してもよい。
 この態様によれば、複数のスレーブユニット及びマスタユニットにタイマを設けずに、複数のセンサにより測定されたデータと、そのデータが測定されたタイミングとを関連付けて記憶することができる。
 上記態様において、マスタユニットは、センサの応答時間及びスレーブユニットからマスタユニットへの伝送遅延時間の少なくともいずれかに基づき、タイミングに関する情報を補正する補正部をさらに有してもよい。
 この態様によれば、複数のセンサによりデータが測定されたタイミングに関する情報がより正確に記憶され、ライン上を搬送されるワークの状態の変化をより高い精度で判定することができる。
 上記態様において、データは、ライン上を搬送されるワークの通過状況に応じた立ち上がり波形又は立ち下がり波形を含む時系列データであり、マスタユニットは、複数のスレーブユニットのうち2以上のスレーブユニットにより取得された時系列データに含まれる立ち上がり波形の間隔又は立ち下がり波形の間隔に基づいて、同一のワークに関して2以上のスレーブユニットにより取得された立ち上がり波形又は立ち下がり波形を対応付ける対応部をさらに備えてもよい。
 この態様によれば、同一のワークに関して2以上のスレーブユニットにより取得された立ち上がり波形又は立ち下がり波形を対応付けることで、複数のセンサにより測定された時系列データの適切な比較が可能となり、ライン上を搬送されるワークの状態の変化を適切に判定することができる。
 上記態様において、対応部は、複数のスレーブユニットのうち第1スレーブユニットにより取得された立ち上がり波形の間隔又は立ち下がり波形の間隔と、複数のスレーブユニットのうち第2スレーブユニットにより取得された立ち上がり波形の間隔又は立ち下がり波形の間隔との差の平均値が小さくなるように、第1スレーブユニットにより取得された立ち上がり波形又は立ち下がり波形と、第2スレーブユニットにより取得された立ち上がり波形又は立ち下がり波形とを対応付けてもよい。
 この態様によれば、2つのセンサにより測定された立ち上がり波形又は立ち下がり波形の間隔の差の平均値を評価値とすることで、ラインの搬送速度が一時的に遅くなったり、速くなったりする場合であっても、2つのセンサにより測定された時系列データを適切に対応付けることができる。
 上記態様において、対応部は、第1スレーブユニットに接続されているセンサが、第2スレーブユニットに接続されているセンサよりラインの上流に配置されている場合、第1スレーブユニットにより取得された立ち上がり波形の間隔又は立ち下がり波形の間隔と、その後に第2スレーブユニットにより取得された立ち上がり波形の間隔又は立ち下がり波形の間隔との差の平均値が小さくなるように、第1スレーブユニットにより取得された立ち上がり波形又は立ち下がり波形と、第2スレーブユニットにより取得された立ち上がり波形又は立ち下がり波形とを対応付けてもよい。
 この態様によれば、複数のセンサの配置に応じて算出すべき平均値の組み合わせを制限することで、演算負荷を低減することができる。
 上記態様において、対応部は、平均値を算出するための項数が所定数以上となる組み合わせの中から、第1スレーブユニットにより取得された立ち上がり波形又は立ち下がり波形と、第2スレーブユニットにより取得された立ち上がり波形又は立ち下がり波形との対応付けを行ってもよい。
 この態様によれば、立ち上がり波形又は立ち下がり波形の対応付けを誤る確率を低減させることができ、より適切な対応付けが行われるようにすることができる。
 上記態様において、対応部は、平均値を算出するための項数が多くなるように、第1スレーブユニットにより取得された立ち上がり波形又は立ち下がり波形と、第2スレーブユニットにより取得された立ち上がり波形又は立ち下がり波形との対応付けを行ってもよい。
 この態様によれば、多数のデータを用いた対応付けを優先させて、対応付けの信頼性を向上させることができる。
 上記態様において、対応部は、判定部によりワークの状態が変化したと所定期間にわたって判定され続けた場合に、立ち上がり波形又は立ち下がり波形の対応付けを行ってもよい。
 この態様によれば、立ち上がり波形の対応付けが不適切であるために、ラインに異常が有ると誤って判定され続けている場合に、自動的に立ち上がり波形の対応付けを修正することができ、ラインの状態を正しく判定できるようになる。
 上記態様において、対応部は、複数のスレーブユニットのうち選択された一部について、立ち上がり波形又は立ち下がり波形の対応付けを行ってもよい。
 この態様によれば、対応付けを実行するスレーブユニットを選択することで、必ずしも必要でないデータの対応付けを省略して、処理負荷を低減することができる。
 上記態様において、マスタユニットは、対応部による対応付けを実行中であることを表示する表示部をさらに備えてもよい。
 この態様によれば、マスタユニットが一時的にワークの状態を判定することができない状態にあることを視覚的に伝えることができる。
 上記態様において、データは、ライン上を搬送されるワークの通過状況に応じた立ち上がり波形又は立ち下がり波形を含む時系列データであり、判定部は、複数のスレーブユニットのうち第1スレーブユニットにより取得された時系列データと、複数のスレーブユニットのうち第2スレーブユニットにより取得された時系列データとのいずれか一方を所定の時間シフトして比較して、第1スレーブユニットにより取得された立ち上がり波形又は立ち下がり波形と、第2スレーブユニットにより取得された立ち上がり波形又は立ち下がり波形との時間差に基づいて、ワークの状態の変化を判定してもよい。
 この態様によれば、ラインの搬送速度が一時的に遅くなったり、速くなったりする場合であっても、2つのセンサにより測定された時系列データを適切に比較して、データのずれを検出することができる。
 上記態様において、判定部は、第1スレーブユニットに接続されているセンサが、第2スレーブユニットに接続されているセンサよりラインの上流に配置されている場合、第1スレーブユニットにより取得された立ち上がり波形又は立ち下がり波形に対して、対応する第2スレーブユニットにより取得された立ち上がり波形又は立ち下がり波形が存在しない場合に、ワークがラインから脱落したと判定してもよい。
 この態様によれば、ラインの上流に配置されたセンサによりワークが検出されているが、ラインの下流に配置されたセンサによりワークが検出されない場合を特定し、ワークの脱落が生じていると判定することができる。
 上記態様において、判定部は、第1スレーブユニットに接続されているセンサが、第2スレーブユニットに接続されているセンサよりラインの上流に配置されている場合、第2スレーブユニットにより取得された立ち上がり波形又は立ち下がり波形に対して、対応する第1スレーブユニットにより取得された立ち上がり波形又は立ち下がり波形が存在しない場合に、ワークがラインに混入したと判定してもよい。
 この態様によれば、ラインの上流に配置されたセンサによりワークが検出されていないが、ラインの下流に配置されたセンサによりワークが検出されている場合を特定し、ワークの混入が生じていると判定することができる。
 上記態様において、判定部は、複数のスレーブユニットのうち第1スレーブユニットにより取得された時系列データと、複数のスレーブユニットのうち第2スレーブユニットにより取得された時系列データとのいずれか一方を所定の時間シフトし、1以下の立ち上がり波形又は立ち下がり波形が含まれるように、それぞれの時系列データを複数の区間に分割してもよい。
 この態様によれば、複数の区間毎に時系列データの比較を行い、ワークの状態の変化を判定することができる。
 上記態様において、判定部は、複数の区間のうち第1区間に含まれる第1スレーブユニットにより取得された立ち上がり波形又は立ち下がり波形と、第1区間に含まれる第2スレーブユニットにより取得された立ち上がり波形又は立ち下がり波形との第1時間差及び複数の区間のうち第2区間に含まれる第1スレーブユニットにより取得された立ち上がり波形又は立ち下がり波形と、第2区間に含まれる第2スレーブユニットにより取得された立ち上がり波形又は立ち下がり波形との第2時間差を算出し、第1時間差と第2時間差の差に基づいて、ワークの状態の変化を判定してもよい。
 この態様によれば、ラインの搬送速度が一時的に遅くなったり、速くなったりする場合であっても、2つのセンサにより測定された時系列データを適切に比較して、データのずれを検出することができる。
 上記態様において、判定部は、複数のスレーブユニットのうちラインに沿って順に配置されている3以上のスレーブユニットにより取得された時系列データを所定の時間シフトして比較してワークの状態の変化を判定し、ワークの状態が変化したと判定された区間に基づいて、ラインの異常区間を判定してもよい。
 この態様によれば、ラインに異常が生じていることのみならず、異常が発生している区間を特定することができ、異常の原因を早期に特定するための情報を発信することができる。
 本発明によれば、搬送の過程で生じたワークの状態の変化を判定することができるセンサシステムが提供される。
本発明の実施形態に係るセンサシステムの概要を示す図である。 本実施形態に係るマスタユニットの機能ブロックを示す図である。 本実施形態に係るセンサシステムの物理的構成を示す図である。 本実施形態に係るセンサシステムにより測定されるデータの第1例を示す図である。 本実施形態に係るセンサシステムにより測定されるデータの第2例を示す図である。 本実施形態に係るマスタユニットにより実行される第1処理のフローチャートである。 本実施形態に係るセンサシステムにより測定されるデータの第3例を示す図である。 本実施形態に係るマスタユニットにより実行される第2処理のフローチャートである。 本実施形態に係るセンサシステムにより測定されるデータの第4例を示す図である。 本実施形態に係るマスタユニットにより実行される第3処理のフローチャートである。 本実施形態に係るマスタユニットにより実行される第4処理のフローチャートである。 本実施形態の第1変形例に係るセンサシステムの機能ブロックを示す図である。 本実施形態の第2変形例に係るセンサシステムの機能ブロックを示す図である。 本実施形態の第3変形例に係るセンサシステムの機能ブロックを示す図である。 本実施形態の第4変形例に係るセンサシステムの機能ブロックを示す図である。 本実施形態の第4変形例に係るセンサシステムにより測定されるデータの第5例を示す図である。 本実施形態の第4変形例に係るマスタユニットにより実行される第5処理のフローチャートである。 本実施形態の第4変形例に係るマスタユニットにより実行される第6処理のフローチャートである。 本実施形態の第5変形例に係るセンサシステムにより測定されるデータの第6例を示す図である。 本実施形態の第5変形例に係るセンサシステムにより測定されるデータの第7例を示す図である。 本実施形態の第5変形例に係るマスタユニットにより実行される第7処理のフローチャートである。 本実施形態の第5変形例に係るセンサシステムにより測定されるデータの第8例を示す図である。 本実施形態の第5変形例に係るマスタユニットにより実行される第8処理のフローチャートである。 本実施形態の第5変形例に係るセンサシステムにより測定されるデータの第9例を示す図である。 本実施形態の第5変形例に係るマスタユニットにより実行される第9処理のフローチャートである。
 以下、本発明の一側面に係る実施の形態(以下、「本実施形態」と表記する。)を、図面に基づいて説明する。なお、各図において、同一の符号を付したものは、同一又は同様の構成を有する。
 図1は、本発明の実施形態に係るセンサシステム1の概要を示す図である。センサシステム1は、マスタユニット10、第1スレーブユニット20a、第2スレーブユニット20b、第3スレーブユニット20c、第1センサ30a、第2センサ30b、第3センサ30c及びPLC40を備える。ここで、第1センサ30a、第2センサ30b及び第3センサ30cは、ラインLに沿って配置され、ラインL上を搬送されるワークの通過状況を示すデータを測定する複数のセンサに相当する。また、第1スレーブユニット20a、第2スレーブユニット20b、第3スレーブユニット20cは、複数のセンサそれぞれに接続され、複数のセンサにより測定されるデータを取得する複数のスレーブユニットに相当する。より具体的には、第1スレーブユニット20aは第1センサ30aに接続され、第2スレーブユニット20bは第2センサ30bに接続され、第3スレーブユニット20cは第3センサ30cに接続されている。PLC40は、制御装置に相当する。そして、マスタユニット10は、複数のスレーブユニット及び制御装置と接続されているマスタユニットに相当する。本明細書では、第1スレーブユニット20a、第2スレーブユニット20b、第3スレーブユニット20cをスレーブユニット20と総称し、第1センサ30a、第2センサ30b、第3センサ30cをセンサ30と総称する。
 なお、本実施形態に係るセンサシステム1の構成は一例であり、センサシステム1が備える複数のセンサの数、複数のスレーブユニットの数は任意である。また、制御装置は、必ずしもPLC40でなくてもよい。
 マスタユニット10は、LAN(Local Area Network)等の通信ネットワークを介してPLC40に接続されてよい。スレーブユニット20は、マスタユニット10に物理的かつ電気的に接続される。本実施形態において、マスタユニット10は、スレーブユニット20から受信した情報を記憶部に記憶し、記憶された情報をPLC40に送信する。従って、スレーブユニット20により取得されたデータは、マスタユニット10によって一元化されてPLC40に伝送される。
 一例として、スレーブユニット20からマスタユニット10には、判定信号及び検出情報が伝送される。判定信号とは、センサ30により測定されたデータに基づき、スレーブユニット20によって判定された、ワークに関する判定結果を示す信号である。例えばセンサ30が光電センサである場合、判定信号は、センサ30により測定された受光量と閾値とを、スレーブユニット20によって比較して得られるオン信号又はオフ信号であってよい。検出情報は、スレーブユニット20の検出動作によって得られる検出値である。例えばセンサ30が光電センサである場合、検出動作は、投光及び受光の動作であり、検出情報は、受光量であってよい。
 スレーブユニット20は、マスタユニット10の側面に取り付けられてよい。マスタユニット10とスレーブユニット20との通信には、パラレル通信又はシリアル通信が用いられてよい。すなわち、マスタユニット10と、スレーブユニット20とがシリアル伝送路及びパラレル伝送路で物理的に接続されてよい。例えば、パラレル伝送路上でスレーブユニット20からマスタユニット10に判定信号が送信され、シリアル伝送路上で、スレーブユニット20からマスタユニット10に検出情報が送信されてよい。なお、マスタユニット10とスレーブユニット20とを、シリアル伝送路及びパラレル伝送路のうちのいずれか一方で接続してもよい。
 図2は、本実施形態に係るマスタユニット10の機能ブロックを示す図である。マスタユニット10は、取得部11、タイマ12、補正部13、記憶部14、判定部15、表示部16及び通信部17を備える。
 取得部11は、複数のスレーブユニット20からデータを取得する。取得部11は、パラレル伝送路によってスレーブユニット20からワークの通過状況を示す判定信号を取得したり、シリアル伝送路によってスレーブユニット20から複数のセンサ30により測定された検出情報を取得したりしてよい。
 タイマ12は、時間を測定するものであり、例えば所定の周波数に基づいて時間を測定する電子時計であってよい。タイマ12は、例えば、年月日と時分秒をミリ秒単位で測定するものであってよい。また、タイマ12は、基準時刻からの経過時間を測定するものであってもよい。
 補正部13は、複数のセンサ30の応答時間及び複数のスレーブユニット20からマスタユニット10への伝送遅延時間の少なくともいずれかに基づき、データが測定されたタイミングに関する情報を補正する。ここで、タイミングに関する情報は、データが測定されたタイミングを表す情報であればどのようなものであってもよく、データが測定された時刻を絶対的に表す情報であってもよいし、データが測定された時刻を相対的に表す情報であってもよい。複数のセンサ30が検出動作を行ってから、ワークの通過を検出して検出情報を出力するまでの間には僅かなタイムラグが生じる。また、複数のスレーブユニット20からマスタユニット10にデータを伝送する際にも僅かなタイムラグが生じる。補正部13は、それらのタイムラグを考慮して、データが測定されたタイミングに関する情報をより正確に記録できるように、タイマ12によって測定された時刻から、複数のセンサ30の応答時間及び複数のスレーブユニット20からマスタユニット10への伝送遅延時間の少なくともいずれかを減算してよい。これにより、複数のセンサ30によりデータが測定されたタイミングに関する情報がより正確に記憶され、ラインL上を搬送されるワークの状態の変化をより高い精度で判定することができる。
 なお、複数のセンサ30の応答時間は、センサの種類毎に異なり得るため、補正部13は、スレーブユニット20に接続されているセンサ30の種類に応じて、応答時間を調整してよい。また、複数のスレーブユニット20からマスタユニット10への伝送遅延時間は、マスタユニット10から遠いスレーブユニット20ほど長くなるため、データを送信したスレーブユニット20が何段目に接続されているかに応じて、伝送遅延時間を調整してもよい。
 記憶部14は、複数のスレーブユニット20から取得されたデータと、当該データが複数のセンサ30により測定されたタイミングに関する情報とを関連付けて記憶する。同図では、複数のスレーブユニット20から取得されたデータをセンシングデータ14aと表し、当該データが複数のセンサ30により測定されたタイミングを測定タイミング14bと表している。
 記憶部14は、タイマ12により測定される時刻と、センシングデータ14aとを関連付けて記憶してよい。なお、記憶部14は、タイマ12により測定される時刻を補正部13により補正した時刻を、センシングデータ14aと関連付けて記憶してよい。このように、複数のスレーブユニット20にタイマを設けずに、マスタユニット10のみにタイマ12を設けることで、簡素な構成によって、複数のセンサ30により測定されたデータと、そのデータが測定されたタイミングに関する情報とを関連付けて記憶することができる。
 判定部15は、複数のスレーブユニット20のうち2以上のスレーブユニット20から伝送されたデータを、それらのデータが測定されたタイミングに関する情報を用いて比較して、ワークの状態の変化を判定する。より具体的には、あるスレーブユニット20から伝送されたデータと、他のスレーブユニット20から伝送されたデータとの測定タイミングに関する情報を比較して、先に測定されたデータと後に測定されたデータとのずれを検出する。判定部15は、ラインLの搬送速度及び複数のセンサ30の配置に基づいて、ワークが複数のセンサ30の検出範囲を通過すべきタイミングを算出し、先に測定されたデータと後に測定されたデータとの正常なずれを算出して、正常なずれと実際に測定されたデータのずれを比較して、ワークの位置ずれを判定してよい。
 このように、複数のセンサ30により測定されたデータと、そのデータが測定されたタイミングに関する情報とが関連付けられて記憶されることで、異なるセンサにより測定されたデータがどのような前後関係で測定されたのかが明らかとなり、ラインL上を搬送されるワークの状態の変化を判定することができる。そのため、搬送の過程でワークの状態が変化した場合に、ラインLに関する異常を検知することができる。
 記憶部14は、ラインLの上流に配置されたセンサにより測定されたデータと、ラインLの下流に配置されたセンサにより測定されたデータと、ワークの状態の変化を示す情報とを含む学習用データを用いた機械学習により生成された学習済みモデル14cを記憶してもよい。ここで、学習用データは、マスタユニット10に記憶されてもよいし、他の装置に記憶されてもよく、学習済みモデルを生成する処理は、マスタユニット10によって実行されてもよいし、他の装置によって実行されてもよい。例えば学習モデルがニューラルネットワークの場合、マスタユニット10又は他の装置は、学習用データに含まれる入力データをニューラルネットワークに入力し、その出力と学習用データに含まれるラベルデータとの差に基づいて、誤差逆伝播法によりニューラルネットワークの重みを更新してよい。なお、学習モデルは、ニューラルネットワークに限られず、回帰モデルであったり、決定木であったりしてよく、任意のアルゴリズムによって機械学習が実行されてよい。
 判定部15は、少なくとも、ラインLの上流に配置されたセンサにより測定されたデータと、ラインLの下流に配置されたセンサにより測定されたデータとを学習済みモデル14cに入力し、学習済みモデル14cの出力に基づいてワークの状態の変化を判定してよい。なお、学習済みモデル14cによって、ワークの状態が変化したことのみならず、ワークの位置ずれや脱落等の状態変化の種類を判定することとしてもよい。このように、必ずしもラインLの搬送速度及び複数のセンサ30の配置を知らなくても、実測されたデータに基づき生成された学習済みモデル14cによって、ワークの状態が変化したかを判定することができる。
 表示部16は、判定部15による判定結果を表示する。表示部16は、例えばラインLに関する異常の有無を示す2値のランプであってよく、判定部15による判定結果を詳細に表示する液晶表示装置であってもよい。
 通信部17は、PLC40との通信を行うインターフェースである。通信部17は、PLC40以外の外部機器との通信を行うものであってもよい。
 図3は、本実施形態に係るセンサシステム1の物理的構成を示す図である。マスタユニット10は、PLC40との接続に用いられる入力/出力コネクタ101,102と、スレーブユニット20との接続に用いられる接続コネクタ106と、電源入力コネクタとを備える。
 また、マスタユニット10は、MPU(Micro Processing Unit)110、通信ASIC(Application Specific Integrated Circuit)112、パラレル通信回路116、シリアル通信回路118及び電源回路を備える。
 MPU110は、マスタユニット10における全ての処理を統括して実行するように動作する。通信ASIC112は、PLC40との通信を管理する。パラレル通信回路116は、マスタユニット10とスレーブユニット20との間でのパラレル通信に用いられる。同様に、シリアル通信回路118は、マスタユニット10とスレーブユニット20との間でのシリアル通信に用いられる。
 スレーブユニット20は、両側壁部分に、マスタユニット10又は他のスレーブユニット20との接続コネクタ304,306が設けられている。スレーブユニット20は、マスタユニット10に対して一列に複数接続することが可能である。複数のスレーブユニット20からの信号は、隣り合うスレーブユニット20に伝送され、マスタユニット10に伝送される。
 スレーブユニット20の両側面には、赤外線による光通信用の窓が設けられ、接続コネクタ304,306を利用して複数のスレーブユニット20を一つずつ連結して一列に配置すると、互いに対向する光通信用の窓により、隣り合うスレーブユニット20間で赤外線を利用した双方向光通信が可能となる。
 スレーブユニット20は、CPU(Central Processing Unit)400によって実現される各種の処理機能と、専用の回路によって実現される各種の処理機能とを有する。
 CPU400は、投光制御部403を制御し、発光素子(LED)401から赤外線を放出させる。受光素子(PD)402が受光することによって生じた信号は、増幅回路404を介して増幅された後、A/Dコンバータ405を介してデジタル信号に変換されて、CPU400に取り込まれる。CPU400では、受光データ、すなわち受光量をそのまま検出情報としてマスタユニット10に向けて送信する。また、CPU400では、受光量が予め設定された閾値よりも大きいか否かを判定することによって得られるオン信号又はオフ信号を、判定信号としてマスタユニット10に向けて送信する。
 さらにCPU400は、左右の投光回路411,413を制御することにより、左右の通信用発光素子(LED)407,409から隣接するスレーブユニット20に対して赤外線を放出する。隣接する左右のスレーブユニット20から到来する赤外線は左右の受光素子(PD)406,408で受光された後、受光回路410,412を介しCPU400へと到来する。CPU400では、所定のプロトコルに基づいて、送受信信号を制御することにより、左右の隣接するスレーブユニット20との間で光通信を行なう。
 受光素子406、通信用発光素子409、受光回路410、投光回路413は、スレーブユニット20間の相互干渉を防止するための同期信号を送受信するために利用される。具体的には、各スレーブユニット20において、受光回路410と投光回路413とは直接結線される。この構成により、受信した同期信号が、CPU400による遅延処理が施されずに速やかに投光回路413を経て通信用発光素子409から隣接する別のスレーブユニット20に送信される。
 CPU400は、さらに、表示部414を点灯制御する。また、CPU400は、設定スイッチ415からの信号を処理する。CPU400の動作に必要な各種のデータは、EEPROM(Electrically Erasable Programmable Read Only Memory)416等の記録媒体に記憶される。リセット部417から得られた信号は、CPU400へと送られ、計測制御のリセットが行われる。発振器(OSC)418からCPU400には、基準クロックが入力される。
 出力回路419は、受光量を閾値と比較して得られた判定信号の送信処理を行なう。前述したように、本実施の形態において、判定信号はパラレル通信によってマスタユニット10に向けて送信される。
 パラレル通信用の伝送路は、マスタユニット10と各スレーブユニット20とが個別に接続された伝送路である。すなわち、複数のスレーブユニット20は、それぞれ、別々のパラレル通信線によって、マスタユニット10に接続される。ただし、マスタユニット10に隣接するスレーブユニット20以外のスレーブユニット20と、マスタユニット10とを接続するパラレル通信線は、他のスレーブユニット20を通過し得る。
 シリアル通信ドライバ420は、マスタユニット10から送信されたコマンド等の受信処理、検出情報(受光量)の送信処理を行なう。本実施形態においては、シリアル通信にRS-422プロトコルが用いられる。シリアル通信にRS-485プロトコルを利用してもよい。
 シリアル通信用の伝送路は、マスタユニット10及び全てのスレーブユニット20が接続された伝送路である。すなわち、全てのスレーブユニット20は、マスタユニット10に対して、シリアル通信線によってバス形式で信号伝達可能に接続される。
 図4は、本実施形態に係るセンサシステム1により測定されるデータの第1例を示す図である。本例では、第1センサ30a、第2センサ30b及び第3センサ30cにより測定されたデータを、時系列順に示している。ここで、第1センサ30aは、これら3つのセンサのうち、ラインLの最も上流に配置されたセンサであり、第3センサ30cは、これら3つのセンサのうち、ラインLの最も下流に配置されたセンサであり、第2センサ30bは、第1センサ30aより下流に配置され、第3センサ30cより上流に配置されたセンサである。本例では、第1センサ30aが設置された箇所と第2センサ30bが設置された箇所との間でラインLに異常があり、搬送の過程でワークに位置ずれが生じている場合に測定されるデータを示している。
 第1センサ30aにより測定されたデータは、第1データA1及び第2データA2を含む。第1データA1及び第2データA2は、それぞれワークの通過状況を示すデータであり、ワークが第1センサ30aの検出範囲内にある場合に出力されたオン信号である。
 第2センサ30bにより測定されたデータは、第1データB1及び第2データB2を含む。第1データB1及び第2データB2は、それぞれワークの通過状況を示すデータであり、ワークが第2センサ30bの検出範囲内にある場合に出力されたオン信号である。ここで、第2センサ30bにより測定された第1データB1は、第1センサ30aにより測定された第1データA1と比較して、時間Tだけ遅れている。時間Tは、第1センサ30aと第2センサ30bとの間の距離をラインLの搬送速度で割った値である。
 一方、第2センサ30bにより測定された第2データB2は、第1センサ30aにより測定された第2データA2と比較して、時間T+δだけ遅れている。図4では、時間Tだけ遅れて第2データB2が測定された場合に表れる波形B2aを破線で示している。
 判定部15は、ラインLの搬送速度及び複数のセンサ30の配置に基づいて、ワークが複数のセンサ30の検出範囲を通過すべきタイミングを算出し、複数のセンサ30のうちラインLの上流に配置されたセンサにより測定されたデータと、複数のセンサ30のうちラインLの下流に配置されたセンサにより、通過すべきタイミングにおいて測定されたデータとの比較に基づき、ワークの位置ずれを判定してよい。本例の場合、ラインLが正常に動作していれば、ラインLの上流に配置された第1センサ30aにより測定された第2データA2と、ラインLの下流に配置された第2センサ30bにより測定された第2データB2とは、センサの設置間隔とラインLの搬送速度に応じた時間Tの遅れを除いて一致するはずである。判定部15は、時間Tの遅れを考慮して、ラインLの上流に配置された第1センサ30aにより測定された第2データA2と、ラインLの下流に配置された第2センサ30bにより測定された第2データB2とにδだけ差があることを検出し、δが閾値以上である場合に、ワークに位置ずれが生じていると判定してよい。
 ラインLの上流に配置されたセンサにより測定されたデータと、ラインLの下流に配置されたセンサにより測定されたデータとを、ワークの搬送による時間遅れを考慮して比較することで、ワークの位置が変化したかを判定することができる。
 また、判定部15は、ラインLの上流に配置された第1センサ30aにより測定されたデータと、ラインLの下流に配置された第2センサ30bにより測定されたデータと、それらのデータが測定された場合におけるワークの状態の変化を示す情報とを含む学習用データを用いた機械学習により生成された学習済みモデル14cによって、ワークの状態の変化を判定してもよい。本例の場合、判定部15は、ラインLの上流に配置された第1センサ30aにより測定された第2データA2と、ラインLの下流に配置された第2センサ30bにより測定された第2データB2とを学習済みモデル14cに入力し、学習済みモデル14cの出力に基づいてワークの位置ずれを判定してよい。ここで、学習済みモデル14cの出力は、ワークの状態に変化が生じている確率であったり、ワークの位置ずれの量であったりしてよい。
 第3センサ30cにより測定されたデータは、第1データC1及び第2データC2を含む。第1データC1及び第2データC2は、それぞれワークの通過状況を示すデータであり、ワークが第3センサ30cの検出範囲内にある場合に出力されたオン信号である。ここで、第3センサ30cにより測定された第1データC1は、第2センサ30bにより測定された第1データB1と比較して、時間Tだけ遅れている。
 一方、第3センサ30cにより測定された第2データC2は、第1センサ30aにより測定された第2データA2と比較して、時間2T+δだけ遅れている。図4では、時間2Tだけ遅れて第2データC2が測定された場合に表れる波形C2aを破線で示している。
 判定部15は、時間Tの遅れを考慮して、ラインLの上流に配置された第1センサ30aにより測定された第2データA2と、ラインLの下流に配置された第3センサ30cにより測定された第2データC2とにδだけ差があることを検出し、δが閾値以上である場合に、ワークに位置ずれが生じていると判定してよい。なお、判定部15は、時間Tの遅れを考慮して、ラインLの上流に配置された第2センサ30bにより測定された第2データB2と、ラインLの下流に配置された第3センサ30cにより測定された第2データC2とにδだけ差があることを検出し、δが閾値以上である場合に、ワークに位置ずれが生じていると判定してもよい。また、判定部15は、第1センサ30a、第2センサ30b及び第3センサ30cにより測定されたデータを学習済みモデル14cに入力して、学習済みモデル14cの出力に基づいてワークの状態の変化を判定してもよい。
 このように、第2センサ30bにより測定されたデータが、第1センサ30aにより測定されたデータに対してずれている場合、判定部15は、第1センサ30aが設置された箇所と第2センサ30bが設置された箇所の間において、ラインLの搬送装置に異常が存在すると判定してよい。また、判定部15は、第3センサ30cにより測定されたデータのずれが、第2センサ30bにより測定されたデータのずれと同程度である場合、第2センサ30bが設置された箇所と第3センサ30cが設置された箇所の間において、ラインLの搬送装置に異常は存在しないと判定してもよい。
 なお、ラインは複数あってもよく、ワークを多列搬送するものであってもよい。その場合、判定部15は、それぞれのラインに配置された複数のセンサにより測定されたデータを比較して、それぞれのラインの動作が不安定になっているか否かを判定してもよい。また、判定部15は、複数のラインに配置された複数のセンサにより測定されたデータを学習済みモデル14cに入力して、学習済みモデル14cの出力に基づいてラインの不安定性を判定してもよい。
 図5は、本実施形態に係るセンサシステム1により測定されるデータの第2例を示す図である。本例における第1センサ30a、第2センサ30b及び第3センサ30cの配置は、図4に示した第1例と同様である。本例では、第1センサ30aが設置された箇所と第2センサ30bが設置された箇所との間でラインLに異常があり、ワークの搬送速度が慢性的に遅くなって、ワークの流れに滞留が生じている場合に測定されるデータを示している。
 第1センサ30aにより測定されたデータは、第1データA1、第3データA3、第4データA4、第5データA5及び第6データA6を含む。第1データA1、第3データA3、第4データ、第5データ及び第6データA6は、それぞれワークの通過状況を示すデータであり、ワークが第1センサ30aの検出範囲内にある場合に出力されたオン信号である。ここで、第3データA3の立ち下がりから第4データA4の立ち上がりまでの時間はt1であり、第4データA4の立ち下がりから第5データA5の立ち上がりまでの時間はt2であり、第5データA5の立ち下がりから第6データA6の立ち上がりまでの時間はt3である。
 第2センサ30bにより測定されたデータは、第1データB1、第3データB3、第4データB4、第5データB5及び第6データB6を含む。第1データB1、第3データB3、第4データB4、第5データB5及び第6データB6は、それぞれワークの通過状況を示すデータであり、ワークが第2センサ30bの検出範囲内にある場合に出力されたオン信号である。ここで、第2センサ30bにより測定された第1データB1は、第1センサ30aにより測定された第1データA1と比較して、時間Tだけ遅れている。時間Tは、第1センサ30aと第2センサ30bとの間の距離をラインLの搬送速度で割った値である。
 一方、第2センサ30bにより測定された第3データB3、第4データB4、第5データB5及び第6データB6は、第1センサ30aにより測定された第3データB3、第4データB4、第5データB5及び第6データB6と比較して、立ち下がりと立ち上がりの間隔が短く、ほとんど連続して測定されている。すなわち、第3データB3の立ち下がりから第4データB4の立ち上がりまでの時間はほとんど0であり、第4データB4の立ち下がりから第5データB5の立ち上がりまでの時間はほとんど0であり、第5データB5の立ち下がりから第6データB6の立ち上がりまでの時間はほとんど0である。
 判定部15は、ラインLの搬送速度及び複数のセンサ30の配置に基づいて、ワークが複数のセンサ30の検出範囲を通過すべきタイミングを算出し、複数のセンサ30のうちラインLの上流に配置されたセンサにより測定されたデータと、複数のセンサ30のうちラインLの下流に配置されたセンサにより、通過すべきタイミングにおいて測定されたデータとの比較に基づき、ワークの位置ずれを判定してよい。本例の場合、ラインLが正常に動作していれば、ラインLの上流に配置された第1センサ30aにより測定された第3データA3、第4データA4、第5データA5及び第6データA6の立ち下がりと立ち上がりの間隔と、ラインLの下流に配置された第2センサ30bにより測定された第3データB3、第4データB4、第5データB5及び第6データB6の立ち下がりと立ち上がりの間隔とは、センサの設置間隔とラインLの搬送速度に応じた時間Tの遅れを除いて一致するはずである。判定部15は、時間Tの遅れを考慮して、ラインLの上流に配置された第1センサ30aにより測定された波形の間隔と、ラインLの下流に配置された第2センサ30bにより測定された波形の間隔とに差があることを検出し、差が閾値以上である場合に、ワークの位置ずれが生じていると判定してよい。また、判定部15は、第3データB3、第4データB4、第5データB5及び第6データB6の立ち下がりと立ち上がりの間隔がほとんど0であることを検出し、ワークの流れに滞留が生じていると判定してよい。
 ラインLの上流に配置されたセンサにより測定されたデータと、ラインLの下流に配置されたセンサにより測定されたデータとを、ワークの搬送による時間遅れを考慮して比較することで、搬送の過程でワークの位置が変化したかを判定することができる。また、ラインLの上流に配置されたセンサにより測定されたデータの立ち下がりと立ち上がりの間隔と、ラインLの下流に配置されたセンサにより測定されたデータの立ち下がりと立ち上がりの間隔とを、ワークの搬送による時間遅れを考慮して比較することで、ワークの流れに滞留が生じているかを判定することができる。
 また、第3センサ30cにより測定されたデータは、第1データC1、第3データC3、第4データC4、第5データC5及び第6データC6を含む。第1データC1、第3データC3、第4データC4、第5データC5及び第6データC6は、それぞれワークの通過状況を示すデータであり、ワークが第3センサ30cの検出範囲内にある場合に出力されたオン信号である。ここで、第3センサ30cにより測定された第1データC1は、第2センサ30bにより測定された第1データB1と比較して、時間Tだけ遅れている。また、第3データC3、第4データC4、第5データC5及び第6データC6は、第2センサ30bにより測定された第3データB3、第4データB4、第5データB5及び第6データB6と同様に、波形の立ち下がりと立ち上がりとの間隔がほとんど0であり、ワークの滞留を示している。
 このように、第2センサ30bにより測定されたデータが、第1センサ30aにより測定されたデータに対してずれている場合、判定部15は、第1センサ30aが設置された箇所と第2センサ30bが設置された箇所の間において、ラインLの搬送装置に異常が存在すると判定してよい。また、判定部15は、第3センサ30cにより測定されたデータのずれが、第2センサ30bにより測定されたデータのずれと同程度である場合、第2センサ30bが設置された箇所と第3センサ30cが設置された箇所の間において、ラインLの搬送装置に異常は存在しないと判定してもよい。
 なお、判定部15は、第1センサ30a、第2センサ30b及び第3センサ30cにより測定されたデータを学習済みモデル14cに入力して、学習済みモデル14cの出力に基づいてワークの流れに滞留が生じているかを判定してもよい。また、判定部15は、第1センサ30a、第2センサ30b及び第3センサ30cにより測定されたデータを学習済みモデル14cに入力して、学習済みモデル14cの出力に基づいて、ワークの滞留が生じる確率が比較的高い搬送装置の箇所を判定してもよい。
 図6は、本実施形態に係るマスタユニット10により実行される第1処理のフローチャートである。はじめに、マスタユニット10は、複数のスレーブユニット20から、複数のセンサ30により測定されたデータを取得する(S10)。そして、タイマ12により測定される時刻を補正部13により補正し(S11)、補正された時刻とセンシングデータとを関連付けて記憶する(S12)。
 その後、マスタユニット10は、上流に配置されたセンサにより測定されたデータと、下流に配置されたセンサにより測定されたデータとを学習済みモデル14cに入力する(S13)。そして、マスタユニット10は、学習済みモデル14cの出力に基づき、ワークの位置ずれを判定する(S14)。なお、マスタユニット10は、必ずしも学習済みモデルを用いた判定を行わなくてもよく、ラインLの搬送速度及び複数のセンサ30の配置に基づいて、ワークが複数のセンサ30の検出範囲を通過すべきタイミングを算出し、上流に配置されたセンサにより測定されたデータと、下流に配置されたセンサにより、通過すべきタイミングにおいて測定されたデータとのずれを閾値と比較することで、ワークの位置ずれを判定してもよい。
 最後に、マスタユニット10は、ワークの位置ずれの有無、位置ずれの量を表示部16に表示する(S15)。マスタユニット10は、ラインLの搬送装置のどの箇所に異常が存在すると推定されるかを表示部16に表示してもよい。なお、ワークの位置ずれの有無は、音によって出力することとしてもよい。また、ワークの位置ずれの量及び搬送装置の異常箇所は、PLC40に送信することとしてもよい。
 図7は、本実施形態に係るセンサシステム1により測定されるデータの第3例を示す図である。本例における第1センサ30a、第2センサ30b及び第3センサ30cの配置は、図4に示した第1例と同様である。本例では、第2センサ30bが設置された箇所でラインLに異常があり、ワークの搬送速度が一時的に遅くなっている場合に測定されるデータを示している。
 第1センサ30aにより測定されたデータは、第1データA1及び第7データA7を含む。第1データA1及び第7データA7は、それぞれワークの通過状況を示すデータであり、ワークが第1センサ30aの検出範囲内にある場合に出力されたオン信号である。ここで、第7データA7のオン期間はt4である。
 第2センサ30bにより測定されたデータは、第1データB1及び第7データB7を含む。第1データB1及び第7データB7は、それぞれワークの通過状況を示すデータであり、ワークが第2センサ30bの検出範囲内にある場合に出力されたオン信号である。ここで、第2センサ30bにより測定された第1データB1は、第1センサ30aにより測定された第1データA1と比較して、時間Tだけ遅れている。時間Tは、第1センサ30aと第2センサ30bとの間の距離をラインLの搬送速度で割った値である。
 一方、第2センサ30bにより測定された第7データB7は、オン期間がt5であり、第1センサ30aにより測定された第7データA7と比較して、オン期間が長い。
 判定部15は、ラインLの上流に配置されたセンサによりワークが検出された期間と、ラインLの下流に配置されたセンサによりワークが検出された期間との差に基づき、ワークの搬送速度の変化を判定してよい。本例の場合、ラインLが正常に動作していれば、ラインLの上流に配置された第1センサ30aにより測定された第7データA7のオン期間t4と、ラインLの下流に配置された第2センサ30bにより測定された第7データB7のオン期間t5とは、等しいはずである。判定部15は、時間Tの遅れを考慮して、ラインLの上流に配置された第1センサ30aにより測定された第7データA7のオン期間と、ラインLの下流に配置された第2センサ30bにより測定された第7データB7のオン期間とに差があることを検出し、差が閾値以上である場合に、ワークの搬送速度に変化があると判定してよい。
 このように、ラインLの上流に配置されたセンサによりワークが検出された期間と、ラインLの下流に配置されたセンサによりワークが検出された期間とを比較することで、ワークの搬送速度が変化したかを判定することができる。
 第3センサ30cにより測定されたデータは、第1データC1及び第2データC2を含む。第1データC1及び第2データC2は、それぞれワークの通過状況を示すデータであり、ワークが第3センサ30cの検出範囲内にある場合に出力されたオン信号である。ここで、第3センサ30cにより測定された第1データC1は、第2センサ30bにより測定された第1データB1と比較して、時間Tだけ遅れている。
 一方、第3センサ30cにより測定された第2データC2は、第1センサ30aにより測定された第2データA2と比較して、時間2T+δだけ遅れている。図7では、時間2Tだけ遅れて第2データC2が測定された場合に表れる波形C2aを破線で示している。ここで、第3センサ30cにより測定された第2データC2のオン期間はt4であり、第1センサ30aにより測定された第2データA2のオン期間と同じである。また、t5=t4+δである。
 判定部15は、時間Tの遅れを考慮して、ラインLの上流に配置された第1センサ30aにより測定された第2データA2と、ラインLの下流に配置された第3センサ30cにより測定された第2データC2とにδだけ差があることを検出し、δが閾値以上である場合に、ワークに位置ずれが生じていると判定してよい。
 このように、第2センサ30bにより測定されたデータのオン期間が、第1センサ30aにより測定されたデータのオン期間に対してずれている場合、判定部15は、第2センサ30bが設置された箇所において、ラインLの搬送装置に異常が存在すると判定してよい。また、判定部15は、第3センサ30cにより測定されたデータのオン期間が、第1センサ30aにより測定されたデータのオン期間と同程度であり、第3センサ30cにより測定されたデータのずれとオン期間の和が、第2センサ30bにより測定されたデータのオン期間と同程度である場合、第2センサ30bが設置された箇所と第3センサ30cが設置され箇所の間において、ラインLの搬送装置に異常は存在しないと判定してもよい。
 なお、判定部15は、第1センサ30a、第2センサ30b及び第3センサ30cによりワークが検出された期間を学習済みモデル14cに入力して、学習済みモデル14cの出力に基づいてワークの搬送速度の変化を判定してもよい。その場合、判定部15は、学習済みモデル14cによって、ワークの搬送速度の変化量を判定してもよい。
 図8は、本実施形態に係るマスタユニット10により実行される第2処理のフローチャートである。はじめに、マスタユニット10は、複数のスレーブユニット20から、複数のセンサ30により測定されたデータを取得する(S20)。そして、タイマ12により測定される時刻を補正部13により補正し(S21)、補正された時刻とセンシングデータとを関連付けて記憶する(S22)。
 その後、マスタユニット10は、上流に配置されたセンサによりワークが検出された期間と、下流に配置されたセンサによりワークが検出された期間との差を算出する(S23)。そして、マスタユニット10は、検出期間の差に基づき、ワークの搬送速度の変化を判定(S24)。なお、マスタユニット10は、上流に配置されたセンサによりワークが検出された期間と、下流に配置されたセンサによりワークが検出された期間とを学習済みモデルに入力し、学習済みモデルの出力に基づき、ラインに関する異常の有無を判定してもよい。
 最後に、マスタユニット10は、ワークの搬送速度の変化の有無、変化量を表示部16に表示する(S25)。マスタユニット10は、ラインLの搬送装置のどの箇所に異常が存在すると推定されるかを表示部16に表示してもよい。なお、ワークの搬送速度の変化の有無は、音によって出力することとしてもよい。また、ワークの搬送速度の変化及び変化量をPLC40に送信することとしてもよい。
 図9は、本実施形態に係るセンサシステム1により測定されるデータの第4例を示す図である。本例における第1センサ30a、第2センサ30b及び第3センサ30cの配置は、図4に示した第1例と同様である。本例では、第1センサ30aが設置された箇所と、第2センサ30bが設置された箇所との間でラインLに異常があり、ワークが脱落した場合に測定されるデータを示している。
 第1センサ30aにより測定されたデータは、第1データA1及び第2データA2を含む。第1データA1及び第2データA2は、それぞれワークの通過状況を示すデータであり、ワークが第1センサ30aの検出範囲内にある場合に出力されたオン信号である。
 第2センサ30bにより測定されたデータは、第1データB1を含み、第1データB1は、ワークの通過状況を示すデータであり、ワークが第2センサ30bの検出範囲内にある場合に出力されたオン信号である。ここで、第2センサ30bにより測定された第1データB1は、第1センサ30aにより測定された第1データA1と比較して、時間Tだけ遅れている。時間Tは、第1センサ30aと第2センサ30bとの間の距離をラインLの搬送速度で割った値である。
 一方、第2センサ30bにより測定されたデータは、第2データA2に対応するデータを含まない。図9では、時間Tだけ遅れて第2データA2に対応するデータが測定された場合に表れる波形B2aを破線で示している。
 判定部15は、ラインLの上流に配置されたセンサにより測定されたデータと、ラインLの下流に配置されたセンサにより測定されたデータとの対応関係に基づき、ワークの脱落を判定してよい。本例の場合、ラインLが正常に動作していれば、ラインLの上流に配置された第1センサ30aにより測定された第2データA2に対応して、ラインLの下流に配置された第2センサ30bによって、波形B2aに相当するデータが測定されるはずである。判定部15は、時間Tの遅れを考慮して、ラインLの上流に配置された第1センサ30aにより測定された第2データA2と、ラインLの下流に配置された第2センサ30bにより測定されたデータとの対応関係を検出し、第2センサ30bによって第2データA2に対応するデータが測定されていない場合に、ワークの脱落が生じたと判定してよい。なお、ワークの脱落とは、ラインLからワークが落下した場合のみならず、ワークが横倒しになって搬送されたり、ワークが異常な姿勢となって搬送されたりしている場合も含む。
 このように、ラインLの上流に配置されたセンサにより測定されたデータと、ラインLの下流に配置されたセンサにより測定されたデータとが一対一に対応しない場合に、ワークの脱落が生じていると判定することができる。
 第3センサ30cにより測定されたデータは、第1データC1を含み、第1データC1は、ワークの通過状況を示すデータであり、ワークが第3センサ30cの検出範囲内にある場合に出力されたオン信号である。ここで、第3センサ30cにより測定された第1データC1は、第2センサ30bにより測定された第1データB1と比較して、時間Tだけ遅れている。
 一方、第3センサ30cにより測定されたデータは、第2データA2に対応するデータを含まない。図9では、時間Tだけ遅れて第2データA2に対応するデータが測定された場合に表れる波形C2aを破線で示している。
 判定部15は、時間Tの遅れを考慮して、ラインLの上流に配置された第1センサ30aにより測定された第2データA2と、ラインLの下流に配置された第3センサ30cにより測定された第2データC2とが一対一に対応しないことを検出し、ワークの脱落が生じたと判定してよい。
 このように、第2センサ30bにより測定されたデータのオン信号の数が、第1センサ30aにより測定されたデータのオン信号の数よりも少ない場合、判定部15は、第1センサ30aが設置された箇所と、第2センサ30bが設置された箇所との間でワークが脱落したと判定してよい。また、判定部15は、第3センサ30cにより測定されたデータのオン信号の数が、第2センサ30bにより測定されたデータのオン信号の数と等しい場合、第2センサ30bが設置された箇所と第3センサ30cが設置され箇所の間において、ラインLの搬送装置に異常は存在しないと判定してもよい。
 なお、判定部15は、第1センサ30a、第2センサ30b及び第3センサ30cによりワークが検出された期間を学習済みモデル14cに入力して、学習済みモデル14cの出力に基づいてワークの脱落を判定してもよい。その場合、判定部15は、学習済みモデル14cによって、ワークの脱落が生じたラインLの箇所を判定してもよい。
 図10は、本実施形態に係るマスタユニット10により実行される第3処理のフローチャートである。はじめに、マスタユニット10は、複数のスレーブユニット20から、複数のセンサ30により測定されたデータを取得する(S30)。そして、タイマ12により測定される時刻を補正部13により補正し(S31)、補正された時刻とセンシングデータとを関連付けて記憶する(S32)。
 その後、マスタユニット10は、上流に配置されたセンサにより測定されたデータと、下流に配置されたセンサにより測定されたデータとの対応関係を特定する(S33)。そして、マスタユニット10は、データの対応関係に基づき、ワークの脱落を判定する(S34)。なお、マスタユニット10は、上流に配置されたセンサにより測定されたデータと、下流に配置されたセンサにより測定されたデータとを学習済みモデルに入力し、学習済みモデルの出力に基づき、ワークの脱落を判定してもよい。
 最後に、マスタユニット10は、ワークの脱落の有無を表示部16に表示する(S35)。マスタユニット10は、ラインLの搬送装置のどの箇所に異常が存在すると推定されるかを表示部16に表示してもよい。なお、ワークの脱落の有無は、音によって出力することとしてもよいし、PLC40に送信することとしてもよい。
 図11は、本実施形態に係るマスタユニット10により実行される第4処理のフローチャートである。同図に示す処理は、マスタユニット10により学習用データを収集し、学習済みモデルを生成する処理である。
 はじめに、マスタユニット10は、複数のスレーブユニット20から、複数のセンサ30により測定されたデータを取得する(S40)。そして、タイマ12により測定される時刻を補正部13により補正し(S41)、補正された時刻とセンシングデータとを関連付けて記憶する(S42)。
 その後、マスタユニット10は、上流に配置されたセンサにより測定されたデータと、下流に配置されたセンサにより測定されたデータと、ワークの状態の変化を示す情報を含む学習用データを生成する(S43)。そして、マスタユニット10は、学習用データを用いた機械学習により生成された学習済みモデルを記憶する(S44)。なお、学習用データを用いた学習モデルの機械学習は、マスタユニット10により実行されてもよいし、他の装置によって実行されてもよい。
 図12は、本実施形態の第1変形例に係るセンサシステム1Aの機能ブロックを示す図である。第1変形例に係るセンサシステム1Aは、マスタユニット10がタイマを有さず、トリガ発信部18を有し、第1スレーブユニット20aがタイマ21aを有し、第2スレーブユニット20bがタイマ21bを有し、第3スレーブユニット20cがタイマ21cを有する点で、センサシステム1と相違する。それ以外の構成について、第1変形例に係るセンサシステム1Aは、センサシステム1と同様の構成を有する。
 トリガ発信部18は、時刻の基準となるトリガ信号を複数のスレーブユニット20に対して発信する。ここで、トリガ信号は、時刻の基準となるものであればどのようなものであってもよい。
 複数のスレーブユニット20は、それぞれタイマ21a,21b,21cを有し、トリガ信号を受信してからの経過時間をタイマ21a,21b,21cにより測定し、経過時間を複数のセンサ30により測定されたデータとともにマスタユニット10に伝送する。そして、マスタユニット10の記憶部14は、複数のスレーブユニット20から受信した経過時間と、データとを関連付けて記憶する。
 このようにして、マスタユニット10にタイマを設けずに、複数のセンサ30により測定されたデータと、そのデータが測定されたタイミングに関する情報とを関連付けて記憶することができる。
 図13は、本実施形態の第2変形例に係るセンサシステム1Bの機能ブロックを示す図である。第2変形例に係るセンサシステム1Bは、マスタユニット10がタイマを有さず、第1スレーブユニット20aがタイマ21aを有し、第2スレーブユニット20bがタイマ21bを有し、第3スレーブユニット20cがタイマ21cを有する点で、センサシステム1と相違する。それ以外の構成について、第2変形例に係るセンサシステム1Bは、センサシステム1と同様の構成を有する。
 複数のスレーブユニット20は、複数のスレーブユニット20間で同期するタイマ21a,21b,21cをそれぞれ有し、タイマ21a,21b,21cにより測定される時刻を複数のセンサ30により測定されたデータとともにマスタユニット10に伝送する。ここで、タイマ21a,21b,21cの同期は、隣り合うスレーブユニット20間で行われてよい。記憶部14は、タイマ21a,21b,21cにより測定された時刻と、データとを関連付けて記憶する。
 このようにして、マスタユニット10の処理負荷を減らして、複数のセンサ30により測定されたデータと、そのデータが測定されたタイミングに関する情報とを関連付けて記憶することができる。
 図14は、本実施形態の第3変形例に係るセンサシステム1Cの機能ブロックを示す図である。第3変形例に係るセンサシステム1Cは、マスタユニット10がタイマを有さず、PLC40がタイマ41を有する点で、センサシステム1と相違する。それ以外の構成について、第3変形例に係るセンサシステム1Cは、センサシステム1と同様の構成を有する。
 マスタユニット10は、時刻の基準となる信号を外部機器から受信する受信部を有する。本変形例の場合、マスタユニット10は、時刻の基準となる信号をPLC40から受信する通信部17を有する。なお、時刻の基準となる信号は、PLC40のタイマ41で測定された時刻であってよい。記憶部14は、時刻の基準となる信号に基づき算出される時刻と、複数のセンサ30により測定されたデータとを関連付けて記憶する。
 これにより、複数のスレーブユニット20及びマスタユニット10にタイマを設けずに、複数のセンサ30により測定されたデータと、そのデータが測定されたタイミングに関する情報とを関連付けて記憶することができる。
 図15は、本実施形態の第4変形例に係るセンサシステム1Dの機能ブロックを示す図である。第4変形例に係るセンサシステム1Dは、マスタユニット10が対応部19を有する点で、センサシステム1と相違する。それ以外の構成について、第4変形例に係るセンサシステム1Dは、センサシステム1と同様の構成を有する。
 第4変形例に係るセンサシステム1Dにより測定されるデータは、ラインL上を搬送されるワークの通過状況に応じた立ち上がり波形又は立ち下がり波形を含む時系列データである。本例では、ワークがセンサ30の検出範囲に侵入する際にセンシングデータとして立ち上がり波形が出力され、ワークがセンサ30の検出範囲から抜け出る際にセンシングデータとして立ち下がり波形が出力される。
 対応部19は、複数のスレーブユニット20のうち2以上のスレーブユニットにより取得された時系列データに含まれる立ち上がり波形の間隔又は立ち下がり波形の間隔に基づいて、同一のワークに関して2以上のスレーブユニットにより取得された立ち上がり波形又は立ち下がり波形を対応付ける。対応部19によって同一のワークに関して2以上のスレーブユニットにより取得された立ち上がり波形又は立ち下がり波形を対応付けることで、複数のセンサ30により測定された時系列データの適切な比較が可能となり、ラインL上を搬送されるワークの状態の変化を適切に判定することができる。
 図16は、本実施形態の第4変形例に係るセンサシステム1Dにより測定されるデータの第5例を示す図である。本例における第1センサ30a、第2センサ30b及び第3センサ30cの配置は、図4に示した第1例と同様である。本例では、第2センサ30bが設置された箇所でラインLの搬送速度が一時的に遅くなり、第2センサ30bの検出範囲をワークが通過する際に測定される波形の幅が、第1センサ30a及び第3センサ30cの検出範囲をワークが通過する際に測定される波形の幅より広い。なお、本例において第2センサ30bが設置された箇所でラインLの搬送速度が一時的に遅くなることは正常であるものとする。
 第1センサ30aにより測定されたデータは、ワークが第1センサ30aの検出範囲を通過する際に出力された6つの矩形波を含み、それぞれ立ち上がり波形と立ち上がり波形を含む。6つの矩形波は、それぞれ異なるワークに対応する。なお、本例では、立ち上がり波形と立ち下がり波形をほぼ垂直な直線により表しているが、実際には曲線であってよい。
 対応部19は、複数のスレーブユニット20のうち第1スレーブユニット20aにより取得された立ち上がり波形の間隔又は立ち下がり波形の間隔と、複数のスレーブユニット20のうち第2スレーブユニット20bにより取得された立ち上がり波形の間隔又は立ち下がり波形の間隔との差の平均値が小さくなるように、第1スレーブユニット20aにより取得された立ち上がり波形又は立ち下がり波形と、第2スレーブユニット20bにより取得された立ち上がり波形又は立ち下がり波形とを対応付けてもよい。
 本例では、第1スレーブユニット20aにより取得された立ち上がり波形の間隔は、TA1、TA2、TA3、TA4及びTA5である。また、第2スレーブユニット20bにより取得された立ち上がり波形の間隔は、TB1、TB2、TB3、TB4、TB5及びTB6である。そして、立ち上がり波形の間隔の差の平均値は、|TA1-TB6|であったり、(|TA1-TB5|+|TA2-TB6|)/2であったり、(|TA1-TB4|+|TA2-TB5|+|TA3-TB6|)/3であったり、(|TA1-TB3|+|TA2-TB4|+|TA3-TB5|+|TA4-TB6|)/4であったり、(|TA1-TB2|+|TA2-TB3|+|TA3-TB4|+|TA4-TB5|+|TA5-TB6|)/5であったりしてよい。対応部19は、このように、2つのセンサ30により測定された立ち上がり波形又は立ち下がり波形の間隔の差を算出して、その平均値が小さくなる組み合わせを探索する。本例の場合、(|TA1-TB2|+|TA2-TB3|+|TA3-TB4|+|TA4-TB5|+|TA5-TB6|)/5が最も小さくなるため、対応部19は、第1センサ30aにより測定された第10データA10の立ち上がり波形と、第2センサ30bにより測定された第10データB10の立ち上がり波形とを対応付け、その後に測定される立ち上がり波形を順次対応付ける。
 同様に、第3スレーブユニット20cにより取得された立ち上がり波形の間隔は、TC1、TC2、TC3、TC4、TC5、TC6及びTC6である。そして、第1スレーブユニット20aにより取得された立ち下がり波形の間隔と第3スレーブユニット20cにより取得された立ち上がり波形の間隔の差の平均値は、|TA1-TC7|であったり、(|TA1-TC6|+|TA2-TC7|)/2であったり、(|TA1-TC5|+|TA2-TC6|+|TA3-TC7|)/3であったり、(|TA1-TC4|+|TA2-TC5|+|TA3-TC6|+|TA4-TC7|)/4であったり、(|TA1-TC3|+|TA2-TC4|+|TA3-TC5|+|TA4-TC6|+|TA5-TC7|)/5であったりしてよい。本例の場合、(|TA1-TC3|+|TA2-TC4|+|TA3-TC5|+|TA4-TC6|+|TA5-TC7|)/5が最も小さくなるため、対応部19は、第1センサ30aにより測定された第10データA10の立ち上がり波形と、第3センサ30cにより測定された第10データC10の立ち上がり波形とを対応付け、その後に測定される立ち上がり波形を順次対応付ける。
 このようにして、2つのセンサ30により測定された立ち上がり波形又は立ち下がり波形の間隔の差の平均値を評価値とすることで、ラインLの搬送速度が一時的に遅くなったり、速くなったりする場合であっても、2つのセンサ30により測定された時系列データを適切に対応付けることができる。
 立ち上がり波形又は立ち下がり波形の対応付けが行えることで、マスタユニット10は、2つのセンサ30の間をワークが通過する時間を算出することもできる。また、マスタユニット10は、算出した通過時間を表示部16に表示して、その妥当性をユーザに確認させ、ひいては立ち上がり波形又は立ち下がり波形の対応付けの妥当性をユーザに確認させることができる。さらに、マスタユニット10は、2つのセンサ30の配置間隔が既知である場合に、ラインLの平均搬送速度を算出して、表示部16に表示し、その妥当性をユーザに確認させることもできる。反対に、マスタユニット10は、予めユーザから2つのセンサ30の間をワークが通過する時間の概算値の入力を受け付けて、対応部19によって立ち上がり波形又は立ち下がり波形の間隔の差の平均値を算出する組み合わせを限定してもよく、これにより演算負荷を低減することができる。また、マスタユニット10は、複数のセンサ30により同一のワークを測定した場合の波形の幅に基づいて、ラインLの局所的な搬送速度を算出することもできる。これにより、順に並んで配置された2つのセンサ30について、上流のセンサ30によりワークが検出されてから、下流のセンサ30によりワークが検出されるまでの時間を予測することができ、予測した時間と実測した時間の差を算出することもできる。
 対応部19は、複数のスレーブユニット20のうち選択された一部について、立ち上がり波形又は立ち下がり波形の対応付けを行ってもよい。本例の場合、対応部19は、第1スレーブユニット20a、第2スレーブユニット20b及び第3スレーブユニット20cのうち、選択された2つのスレーブユニットについて、立ち上がり波形又は立ち下がり波形の対応付けを行ってもよい。このように、対応付けを実行するスレーブユニット20を選択することで、必ずしも必要でないデータの対応付けを省略して、処理負荷を低減することができる。
 また、対応部19は、第1スレーブユニット20aに接続されている第1センサ30aが、第2スレーブユニット20bに接続されている第2センサ30bよりラインLの上流に配置されている場合、第1スレーブユニット20aにより取得された立ち上がり波形の間隔又は立ち下がり波形の間隔と、その後に第2スレーブユニット20bにより取得された立ち上がり波形の間隔又は立ち下がり波形の間隔との差の平均値が小さくなるように、第1スレーブユニット20aにより取得された立ち上がり波形又は立ち下がり波形と、第2スレーブユニット20bにより取得された立ち上がり波形又は立ち下がり波形とを対応付けてもよい。言い換えると、対応部19は、第1センサ30aにより測定された立ち上がり波形又は立ち下がり波形の間隔と、第1センサ30aによる測定のタイミングより後に第2センサ30bにより測定された立ち上がり波形又は立ち下がり波形の間隔との差の平均値を小さくなるように、第1スレーブユニット20aにより取得された立ち上がり波形又は立ち下がり波形と、第2スレーブユニット20bにより取得された立ち上がり波形又は立ち下がり波形とを対応付けてもよい。
 具体的には、対応部19は、(|TA2-TB1|+|TA3-TB2|+|TA4-TB3|+|TA5-TB4|)/4であったり、(|TA3-TB1|+|TA4-TB2|+|TA5-TB3|)/3であったり、(|TA4-TB1|+|TA5-TB2|)/2であったり、|TA5-TB1|であったりを評価する必要がなく、これらの平均値は算出しなくてもよい。また、対応部19は、(|TA2-TC1|+|TA3-TC2|+|TA4-TC3|+|TA5-TC4|)/4であったり、(|TA3-TC1|+|TA4-TC2|+|TA5-TC3|)/3であったり、(|TA4-TC1|+|TA5-TC2|)/2であったり、|TA5-TC1|であったりを評価する必要がなく、これらの平均値は算出しなくてもよい。
 このように、複数のセンサ30の配置に応じて算出すべき平均値の組み合わせを制限することで、演算負荷を低減することができる。
 また、対応部19は、平均値を算出するための項数が所定数以上となる組み合わせの中から、第1スレーブユニット20aにより取得された立ち上がり波形又は立ち下がり波形と、第2スレーブユニット20bにより取得された立ち上がり波形又は立ち下がり波形との対応付けを行ってもよい。対応部19は、例えば、平均値を算出するための項数が3以上となる組み合わせの中から、第1スレーブユニット20aにより取得された立ち上がり波形又は立ち下がり波形と、第2スレーブユニット20bにより取得された立ち上がり波形又は立ち下がり波形との対応付けを行ってもよい。
 これにより、立ち上がり波形又は立ち下がり波形の対応付けを誤る確率を低減させることができ、より適切な対応付けが行われるようにすることができる。
 2つのセンサ30により測定された立ち上がり波形又は立ち下がり波形の間隔の差の平均値が、差を算出する異なる組み合わせについて等しい場合があり得る。例えば、(|TA1-TB5|+|TA2-TB6|)/2と、(|TA1-TB4|+|TA2-TB5|+|TA3-TB6|)/3とが等しい値となることがあり得る。そのような場合、対応部19は、平均値を算出するための項数が多くなるように、第1スレーブユニット20aにより取得された立ち上がり波形又は立ち下がり波形と、第2スレーブユニット20bにより取得された立ち上がり波形又は立ち下がり波形との対応付けを行ってもよい。すなわち、上記の例であれば、(|TA1-TB4|+|TA2-TB5|+|TA3-TB6|)/3を採用して、第1スレーブユニット20aにより取得された立ち上がり波形又は立ち下がり波形と、第2スレーブユニット20bにより取得された立ち上がり波形又は立ち下がり波形との対応付けを行ってもよい。
 このようにして、多数のデータを用いた対応付けを優先させて、対応付けの信頼性を向上させることができる。
 図17は、本実施形態の第4変形例に係るマスタユニット10により実行される第5処理のフローチャートである。はじめに、マスタユニット10は、複数のスレーブユニット20から、複数のセンサ30により測定されたデータを取得する(S50)。そして、タイマ12により測定される時刻を補正部13により補正し(S51)、補正された時刻とセンシングデータとを関連付けて記憶する(S52)。
 その後、マスタユニット10は、上流の第1スレーブユニット20aから取得した立ち上がり波形の間隔と、その後に下流の第2スレーブユニット20bから取得した立ち上がり波形の間隔との差の平均値を算出する(S53)。
 算出された平均値の項数が所定数以上である場合(S54:YES)、マスタユニット10は、平均値が最小となる組み合わせが一意に定まるか否かを判定する(S55)。平均値が最小となる組み合わせが一意に定まる場合(S55:YES)、マスタユニット10は、平均値が最小となる組み合わせにより、立ち上がり波形を対応付ける(S56)。一方、平均値が最小となる組み合わせが一意に定まらない場合(S55:NO)、マスタユニット10は、平均値が最小かつ平均値を算出するための項数が最大となる組み合わせにより、立ち上がり波形を対応付ける(S57)。なお、算出された平均値の項数が所定数以上でない場合(S54:NO)データの蓄積を待って、再び対応付けを実行してよい。
 図18は、本実施形態の第4変形例に係るマスタユニット10により実行される第6処理のフローチャートである。はじめに、マスタユニット10は、ラインLに関する異常の有無を判定する(S60)。ラインLに関する異常の有無を判定(S60)は、例えば図6に示す第1処理であってよい。
 対応部19は、判定部15によりワークの状態が変化したと所定期間にわたって判定され続けた場合に、立ち上がり波形又は立ち下がり波形の対応付けを行ってもよい。本例では、所定期間にわたって異常と判定されない場合(S61:NO)、ラインLに関する異常の有無の判定(S60)を繰り返して、所定期間にわたって異常と判定された場合(S61:YES)、マスタユニット10は、立ち上がり波形の対応付けを実行する(S62)。このようにして、立ち上がり波形の対応付けが不適切であるために、ラインLに異常が有ると誤って判定され続けている場合に、自動的に立ち上がり波形の対応付けを修正することができ、ラインLの状態を正しく判定できるようになる。
 最後に、マスタユニット10は、対応付けの処理(S62)を実行中であることを表示部16に表示する(S63)。これにより、マスタユニット10が一時的にワークの状態を判定することができない状態にあることを視覚的に伝えることができる。なお、マスタユニット10は、対応付けの処理(S62)を実行している間、判定部15による判定処理を実行しなくてもよいが、複数のスレーブユニット20は、複数のセンサ30からのデータ取得を継続してよい。
 図19は、本実施形態の第5変形例に係るセンサシステム1Eにより測定されるデータの第6例を示す図である。第5変形例に係るセンサシステム1Eは、ラインL上を搬送されるワークの通過状況に応じた立ち上がり波形又は立ち下がり波形を含む時系列データを取得する。同図では、第1センサ30aにより測定されたデータを実線で示し、第2センサ30bにより測定されたデータを破線で示し、第2センサ30bにより測定されたデータをTABだけシフトしたデータを実線で示している。なお、本実施形態の第5変形例に係るセンサシステム1Eは、センサシステム1と同様の構成を有する。
 判定部15は、複数のスレーブユニット20のうち第1スレーブユニット20aにより取得された時系列データと、複数のスレーブユニット20のうち第2スレーブユニット20bにより取得された時系列データとのいずれか一方を所定の時間シフトして比較して、第1スレーブユニット20aにより取得された立ち上がり波形又は立ち下がり波形と、第2スレーブユニット20bにより取得された立ち上がり波形又は立ち下がり波形との時間差に基づいて、ワークの状態の変化を判定してもよい。判定部15は、図19に示すように、第1センサ30aにより測定されたデータの立ち上がり波形と、第2センサ30bにより測定されたデータの立ち上がり波形とを揃えるように、第2センサ30bにより測定されたデータをTABだけシフトしてよい。ここで、シフト量TABは、予め設定されてもよいし、ラインLにテストワークを流して決定してもよい。判定部15は、シフト後のデータに含まれる立ち上がり波形の立ち上がりタイミングを比較して、タイミングにずれが生じていたり、立ち下がり波形の対応付けができなかったりする場合に、ワークの状態に変化が生じていると判定してよい。
 図20は、本実施形態の第5変形例に係るセンサシステム1Eにより測定されるデータの第7例を示す図である。同図では、第2センサ30bにより測定されたデータをTABだけシフトした後のデータを示している。また、同図では、データを、第1区間Int1、第2区間Int2、第3区間Int3、第4区間Int4及び第5区間Int5に分割して示している。
 判定部15は、複数のスレーブユニット20のうち第1スレーブユニット20aにより取得された時系列データと、複数のスレーブユニット20のうち第2スレーブユニット20bにより取得された時系列データとのいずれか一方を所定の時間シフトし、1以下の立ち上がり波形又は立ち下がり波形が含まれるように、それぞれの時系列データを複数の区間に分割してもよい。すなわち、判定部15は、一区間に、立ち上がり波形又は立ち上がり波形が一つ含まれるか、立ち上がり波形又は立ち上がり波形が含まれないように、時系列データを分割してよい。これにより、複数の区間毎に時系列データの比較を行い、ワークの状態の変化を判定することができる。本例の場合、第1区間Int1、第3区間Int3及び第5区間Int5には、第1センサ30aにより測定された立ち上がり波形及び第2センサ30bにより測定された立ち上がり波形がそれぞれ1つ含まれ、第2区間Int2及び第4区間Int4には、第1センサ30aにより測定された立ち上がり波形及び第2センサ30bにより測定された立ち上がり波形がいずれも含まれない。
 判定部15は、第3区間Int3に含まれる第1センサ30aにより測定されたデータの立ち上がり波形と、第2センサ30bにより測定されたデータの立ち上がり波形との時間差(T-T)に基づいて、ワークの状態の変化を判定してよい。判定部15は、第2センサ30bにより測定されたデータをTABだけシフトした後、第3区間Int3に含まれる第1センサ30aにより測定されたデータの立ち上がり波形のタイミングTと、第3区間Int3に含まれる第2センサ30bにより測定されたデータの立ち上がり波形のタイミングTとの間の差(T-T)が閾値TH以上である場合に、ラインL上でワークの位置ずれが発生したと判定してよい。このようにして、ラインLの搬送速度が一時的に遅くなったり、速くなったりする場合であっても、2つのセンサ30により測定された時系列データを適切に比較して、データのずれを検出することができる。
 図21は、本実施形態の第5変形例に係るマスタユニット10により実行される第7処理のフローチャートである。はじめに、マスタユニット10は、第2センサ30bにより測定されたデータを所定時間シフトする(S70)。なお、マスタユニット10は、複数のセンサ30により測定されたデータのうちいずれかを基準として、他のデータの立ち上がり波形が基準とするデータの立ち上がり波形と合うように、他のデータをシフトしてもよい。
 マスタユニット10は、シフト後のデータを複数の区間に分割して、一区間内において、第1センサ30aのオン数=1かつ第2センサ30bのオン数=1であるか否かを判定する(S71)。ここで、オン数とは、センサ30によりワークが検出されたことを表す信号が得られた回数である。一区間内において、第1センサ30aのオン数=1かつ第2センサ30bのオン数=1である場合(S71:YES)、マスタユニット10は、その区間における第1センサ30aにより測定されたデータの立ち上がり波形と、第2センサ30bにより測定されたデータの立ち上がり波形との差が閾値以上であるか(|T-T|≧TH)判定する(S72)。差が閾値以上である場合(S72:YES)、マスタユニット10は、ワークに位置ずれ有りと判定し(S73)、外部に警告を出力したり、表示部16に位置ずれが生じている旨を表示したりする。一方、差が閾値以上でない場合(S72:NO)、マスタユニット10は、ワークに位置ずれが生じていないと判定する(S74)。
 一方、第1センサ30aのオン数=1かつ第2センサ30bのオン数=1でない場合(S71:NO)、マスタユニット10は、第1センサ30aのオン数≧1かつ第2センサ30bのオン数=0であるか否かを判定する(S75)。判定部15は、第1スレーブユニット20aに接続されている第1センサ30aが、第2スレーブユニット20bに接続されている第2センサ30bよりラインLの上流に配置されている場合、第1スレーブユニット20aにより取得された立ち上がり波形又は立ち下がり波形に対して、対応する第2スレーブユニット20bにより取得された立ち上がり波形又は立ち下がり波形が存在しない場合に、ワークがラインLから脱落したと判定してもよい。ここで、第1センサ30aのオン数≧1かつ第2センサ30bのオン数=0である場合(S75:YES)、上流の第1スレーブユニット20aによりワークが検出されているが、下流の第2スレーブユニット20bによりワークが検出されていないため、マスタユニット10は、ワークが脱落したと判定し(S76)、外部に警告を出力したり、表示部16に脱落が生じている旨を表示したりする。これにより、ラインLの上流に配置されたセンサ30によりワークが検出されているが、ラインLの下流に配置されたセンサ30によりワークが検出されない場合を特定し、ワークの脱落が生じていると判定することができる。
 一方、第1センサ30aのオン数≧1かつ第2センサ30bのオン数=0でない場合(S75:NO)、マスタユニット10は、第1センサ30aのオン数=0かつ第2センサ30bのオン数≧1であるか否かを判定する(S77)。判定部15は、第1スレーブユニット20aに接続されている第1センサ30aが、第2スレーブユニット20bに接続されている第2センサ30bよりラインLの上流に配置されている場合、第2スレーブユニット20bにより取得された立ち上がり波形又は立ち下がり波形に対して、対応する第1スレーブユニット20aにより取得された立ち上がり波形又は立ち下がり波形が存在しない場合に、ワークがラインLに混入したと判定してもよい。ここで、第1センサ30aのオン数=0かつ第2センサ30bのオン数≧1である場合(S77:YES)、上流の第1スレーブユニット20aによりワークが検出されていないが、下流の第2スレーブユニット20bによりワークが検出されているため、マスタユニット10は、ワークが混入したと判定し(S78)、外部に警告を出力したり、表示部16に混入が生じている旨を表示したりする。これにより、ラインLの上流に配置されたセンサ30によりワークが検出されていないが、ラインLの下流に配置されたセンサ30によりワークが検出されている場合を特定し、ワークの混入が生じていると判定することができる。
 さらに、第1センサ30aのオン数=0かつ第2センサ30bのオン数≧1でない場合(S77:NO)、マスタユニット10は、第1センサ30aのオン数=0かつ第2センサ30bのオン数=0であるか否かを判定する(S79)。第1センサ30aのオン数=0かつ第2センサ30bのオン数=0である場合(S79)、マスタユニット10は、ワークが無いと判定する(S80)。一方、第1センサ30aのオン数=0かつ第2センサ30bのオン数=0でない場合(S79:NO)、設定した区間の幅が広すぎるため、マスタユニット10は、区間幅を狭める(S81)。マスタユニット10は、その後、処理S71以降を繰り返してよい。
 図22は、本実施形態の第5変形例に係るセンサシステム1Eにより測定されるデータの第8例を示す図である。同図では、第2センサ30bにより測定されたデータをTABだけシフトした後のデータを示している。また、同図では、データを、第1区間Int1、第2区間Int2、第3区間Int3、第4区間Int4及び第5区間Int5に分割して示している。
 判定部15は、複数の区間のうち第1区間Int1に含まれる第1スレーブユニット20aにより取得された立ち上がり波形又は立ち下がり波形と、第1区間Int1に含まれる第2スレーブユニット20bにより取得された立ち上がり波形又は立ち下がり波形との第1時間差(TA1-TB1)及び複数の区間のうち第3区間Int3に含まれる第1スレーブユニット20aにより取得された立ち上がり波形又は立ち下がり波形と、第3区間Int3に含まれる第2スレーブユニット20bにより取得された立ち上がり波形又は立ち下がり波形との第2時間差(TA2-TB2)を算出し、第1時間差と第2時間差の差|(TA1-TB1)-(TA2-TB2)|に基づいて、ワークの状態の変化を判定してもよい。判定部15は、第1時間差と第2時間差の差|(TA1-TB1)-(TA2-TB2)|が閾値TH以上である場合に、ラインL上でワークの位置ずれが発生したと判定してよい。このようにして、ラインLの搬送速度が一時的に遅くなったり、速くなったりする場合であっても、2つのセンサ30により測定された時系列データを適切に比較して、データのずれを検出することができる。また、このような方法で判定を行うことで、ラインLの搬送速度を徐々に変えた場合であっても、誤って異常と判定されることがなくなる。
 図23は、本実施形態の第5変形例に係るマスタユニット10により実行される第8処理のフローチャートである。はじめに、マスタユニット10は、第2センサ30bにより測定されたデータを所定時間シフトする(S90)。なお、マスタユニット10は、複数のセンサ30により測定されたデータのうちいずれかを基準として、他のデータの立ち上がり波形が基準とするデータの立ち上がり波形と合うように、他のデータをシフトしてもよい。
 マスタユニット10は、シフト後のデータを複数の区間に分割して、一区間内において、第1センサ30aのオン数=1かつ第2センサ30bのオン数=1であるか否かを判定する(S91)。一区間内において、第1センサ30aのオン数=1かつ第2センサ30bのオン数=1である場合(S91:YES)、マスタユニット10は、その区間における第1センサ30aにより測定されたデータの立ち上がり波形と、第2センサ30bにより測定されたデータの立ち上がり波形との第1時間差(TA1-TB1)と、その区間から1区間空けて隣接する他の区間における第1センサ30aにより測定されたデータの立ち上がり波形と、第2センサ30bにより測定されたデータの立ち上がり波形との第2時間差(TA2-TB2)との差が閾値以上であるか(|(TA1-TB1)-(TA2-TB2)|≧TH)判定する(S92)。差が閾値以上である場合(S92:YES)、マスタユニット10は、ワークに位置ずれ有りと判定し(S93)、外部に警告を出力したり、表示部16に位置ずれが生じている旨を表示したりする。一方、差が閾値以上でない場合(S92:NO)、マスタユニット10は、ワークに位置ずれが生じていないと判定する(S94)。
 一方、第1センサ30aのオン数=1かつ第2センサ30bのオン数=1でない場合(S91:NO)、マスタユニット10は、第1センサ30aのオン数≧1かつ第2センサ30bのオン数=0であるか否かを判定する(S95)。判定部15は、第1スレーブユニット20aに接続されている第1センサ30aが、第2スレーブユニット20bに接続されている第2センサ30bよりラインLの上流に配置されている場合、第1スレーブユニット20aにより取得された立ち上がり波形又は立ち下がり波形に対して、対応する第2スレーブユニット20bにより取得された立ち上がり波形又は立ち下がり波形が存在しない場合に、ワークがラインLから脱落したと判定してもよい。ここで、第1センサ30aのオン数≧1かつ第2センサ30bのオン数=0である場合(S95:YES)、上流の第1スレーブユニット20aによりワークが検出されているが、下流の第2スレーブユニット20bによりワークが検出されていないため、マスタユニット10は、ワークが脱落したと判定し(S96)、外部に警告を出力したり、表示部16に脱落が生じている旨を表示したりする。これにより、ラインLの上流に配置されたセンサ30によりワークが検出されているが、ラインLの下流に配置されたセンサ30によりワークが検出されない場合を特定し、ワークの脱落が生じていると判定することができる。
 一方、第1センサ30aのオン数≧1かつ第2センサ30bのオン数=0でない場合(S95:NO)、マスタユニット10は、第1センサ30aのオン数=0かつ第2センサ30bのオン数≧1であるか否かを判定する(S97)。判定部15は、第1スレーブユニット20aに接続されている第1センサ30aが、第2スレーブユニット20bに接続されている第2センサ30bよりラインLの上流に配置されている場合、第2スレーブユニット20bにより取得された立ち上がり波形又は立ち下がり波形に対して、対応する第1スレーブユニット20aにより取得された立ち上がり波形又は立ち下がり波形が存在しない場合に、ワークがラインLに混入したと判定してもよい。ここで、第1センサ30aのオン数=0かつ第2センサ30bのオン数≧1である場合(S97:YES)、上流の第1スレーブユニット20aによりワークが検出されていないが、下流の第2スレーブユニット20bによりワークが検出されているため、マスタユニット10は、ワークが混入したと判定し(S98)、外部に警告を出力したり、表示部16に混入が生じている旨を表示したりする。これにより、ラインLの上流に配置されたセンサ30によりワークが検出されていないが、ラインLの下流に配置されたセンサ30によりワークが検出されている場合を特定し、ワークの混入が生じていると判定することができる。
 さらに、第1センサ30aのオン数=0かつ第2センサ30bのオン数≧1でない場合(S97:NO)、マスタユニット10は、第1センサ30aのオン数=0かつ第2センサ30bのオン数=0であるか否かを判定する(S99)。第1センサ30aのオン数=0かつ第2センサ30bのオン数=0である場合(S99)、マスタユニット10は、ワークが無いと判定する(S100)。一方、第1センサ30aのオン数=0かつ第2センサ30bのオン数=0でない場合(S99:NO)、設定した区間の幅が広すぎるため、マスタユニット10は、区間幅を狭める(S101)。マスタユニット10は、その後、処理S71以降を繰り返してよい。
 図24は、本実施形態の第5変形例に係るセンサシステム1Eにより測定されるデータの第9例を示す図である。同図では、第1センサ30aにより測定されたデータを実線で示し、第2センサ30bにより測定されたデータを破線で示し、第2センサ30bにより測定されたデータをTABだけシフトしたデータを実線で示し、第3センサ30cにより測定されたデータを破線で示し、第3センサ30cにより測定されたデータをTACだけシフトしたデータを実線で示している。
 判定部15は、第1センサ30aにより測定されたデータの立ち上がり波形と、第2センサ30bにより測定されたデータの立ち上がり波形とを揃え、第1センサ30aにより測定されたデータの立ち上がり波形と、第3センサ30cにより測定されたデータの立ち上がり波形とを揃えるように、第2センサ30bにより測定されたデータをTABだけシフトし、第3センサ30cにより測定されたデータをTACだけシフトしてよい。ここで、シフト量TAB及びTACは、予め設定されてもよいし、ラインLにテストワークを流して決定してもよい。
 本例の場合、シフト後のデータを比較すると、1番目の立ち上がり波形を揃えると、2番目の立ち上がり波形が、第1センサ30aにより測定されたデータと第2センサ30bにより測定されたデータとの間で揃わず、T-Tのずれが生じている。一方、第2センサ30bにより測定されたデータと第3センサ30cにより測定されたデータとの間では、2番目の立ち上がり波形が揃っている。すなわち、2番目の立ち上がり波形が、第1センサ30aにより測定されたデータと第3センサ30cにより測定されたデータとの間で揃わず、T-Tのずれが生じている。
 判定部15は、複数のスレーブユニット20のうちラインLに沿って順に配置されている3以上のスレーブユニット20により取得された時系列データを所定の時間シフトして比較してワークの状態の変化を判定し、ワークの状態が変化したと判定された区間に基づいて、ラインの異常区間を判定してもよい。本例の場合、判定部15は、第1センサ30aにより測定された立ち上がり波形と第2センサ30bにより測定された立ち上がり波形との差|T-T|が閾値以上である場合に、ワークに位置ずれが生じていると判定し、第2センサ30bにより測定された立ち上がり波形と第3センサ30cにより測定された立ち上がり波形との差がほぼ0であるため、ラインLの異常区間を第1センサ30aが配置された位置から第2センサ30bが配置された位置までの区間であると判定してよい。
 このようにして、ラインLに異常が生じていることのみならず、異常が発生している区間を特定することができ、異常の原因を早期に特定するための情報を発信することができる。
 図25は、本実施形態の第5変形例に係るマスタユニット10により実行される第9処理のフローチャートである。はじめに、マスタユニット10は、第2センサ30bにより測定されたデータを所定の時間TABだけシフトし(S110)、第3センサ30cにより測定されたデータを所定の時間TACだけシフトし(S111)する。
 その後、マスタユニット10は、第1センサ30aにより測定されたデータに対する、第2センサ30bにより測定されたデータの時間差からワークの状態変化を判定し(S112)、第2センサ30bにより測定されたデータに対する、第3センサ30cにより測定されたデータの時間差からワークの状態変化を判定する(S113)。なお、処理S112及びS113は、例えば図21に示す第7処理であってよい。
 マスタユニット10は、ワークの状態が変化したと判定された区間に基づいて、ラインLの異常区間を判定する。例えば、処理S112によりワークの状態が変化したと判定され、処理S113によりワークの状態が変化していないと判定された場合、マスタユニット10は、第1センサ30aが配置された位置から第2センサ30bが配置された位置までの区間においてラインLに異常が発生したと判定してよい。同様に、処理S112によりワークの状態が変化していないと判定され、処理S113によりワークの状態が変化してたと判定された場合、マスタユニット10は、第2センサ30bが配置された位置から第3センサ30cが配置された位置までの区間においてラインLに異常が発生したと判定してよい。
 以上説明した実施形態は、本発明の理解を容易にするためのものであり、本発明を限定して解釈するためのものではない。実施形態が備える各要素並びにその配置、材料、条件、形状及びサイズ等は、例示したものに限定されるわけではなく適宜変更することができる。また、異なる実施形態で示した構成同士を部分的に置換し又は組み合わせることが可能である。
 [附記1]
 ライン(L)に沿って配置され、前記ライン(L)上を搬送されるワークの通過状況を示すデータを測定する複数のセンサ(30a,30b,30c)と、
 前記複数のセンサ(30a,30b,30c)それぞれに接続され、前記複数のセンサ(30a,30b,30c)により測定されるデータを取得する複数のスレーブユニット(20a,20b,20c)と、
 前記複数のスレーブユニット(20a,20b,20c)と接続されているマスタユニット(10)と、を備え、
 前記マスタユニット(10)は、
 前記データと、前記データが測定されたタイミングに関する情報とを関連付けて記憶する記憶部(14)と、
 前記複数のスレーブユニット(20a,20b,20c)のうち2以上のスレーブユニットから伝送された前記データを、タイミングに関する情報を用いて比較して、前記ワークの状態の変化を判定する判定部(15)と、を有する、
 センサシステム(1)。

Claims (24)

  1.  ラインに沿って配置され、前記ライン上を搬送されるワークの通過状況を示すデータを測定する複数のセンサと、
     前記複数のセンサそれぞれに接続され、前記複数のセンサにより測定されるデータを取得する複数のスレーブユニットと、
     前記複数のスレーブユニットと接続されているマスタユニットと、を備え、
     前記マスタユニットは、
     前記データと、前記データが測定されたタイミングに関する情報とを関連付けて記憶する記憶部と、
     前記複数のスレーブユニットのうち2以上のスレーブユニットから伝送された前記データを、前記タイミングに関する情報を用いて比較して、前記ワークの状態の変化を判定する判定部と、を有する、
     センサシステム。
  2.  前記判定部は、前記ラインの搬送速度及び前記複数のセンサの配置に基づいて、前記ワークが前記複数のセンサの検出範囲を通過すべきタイミングを算出し、前記複数のセンサのうち前記ラインの上流に配置されたセンサにより測定された前記データと、前記複数のセンサのうち前記ラインの下流に配置されたセンサにより、前記通過すべきタイミングに測定された前記データとを比較し、前記ワークの位置ずれを判定する、
     請求項1に記載のセンサシステム。
  3.  前記判定部は、前記ラインの上流に配置されたセンサにより前記ワークが検出された期間と、前記ラインの下流に配置されたセンサにより前記ワークが検出された期間との差に基づき、前記ワークの搬送速度の変化を判定する、
     請求項2に記載のセンサシステム。
  4.  前記判定部は、前記ラインの上流に配置されたセンサにより測定された前記データと、前記ラインの下流に配置されたセンサにより測定された前記データとの対応関係に基づき、前記ワークの脱落を判定する、
     請求項2に記載のセンサシステム。
  5.  前記記憶部は、前記ラインの上流に配置されたセンサにより測定された前記データと、前記ラインの下流に配置されたセンサにより測定された前記データと、前記ワークの状態の変化を示す情報とを含む学習用データを用いた機械学習により生成された学習済みモデルを記憶し、
     前記判定部は、少なくとも、前記ラインの上流に配置されたセンサにより測定された前記データと、前記ラインの下流に配置されたセンサにより測定された前記データとを前記学習済みモデルに入力し、前記学習済みモデルの出力に基づいて前記ワークの状態の変化を判定する、
     請求項1から4のいずれか一項に記載のセンサシステム。
  6.  前記マスタユニットは、タイマを有し、
     前記記憶部は、前記タイマにより測定される時刻と、前記データとを関連付けて記憶する、
     請求項1から5のいずれか一項に記載のセンサシステム。
  7.  前記マスタユニットは、時刻の基準となるトリガ信号を前記複数のスレーブユニットに対して発信するトリガ発信部を有し、
     前記複数のスレーブユニットは、それぞれタイマを有し、前記トリガ信号を受信してからの経過時間を前記タイマにより測定し、前記経過時間を前記データとともに前記マスタユニットに伝送し、
     前記記憶部は、前記経過時間と、前記データとを関連付けて記憶する、
     請求項1から5のいずれか一項に記載のセンサシステム。
  8.  前記複数のスレーブユニットは、前記複数のスレーブユニット間で同期するタイマをそれぞれ有し、前記タイマにより測定される時刻を前記データとともに前記マスタユニットに伝送し、
     前記記憶部は、前記タイマにより測定された時刻と、前記データとを関連付けて記憶する、
     請求項1から5のいずれか一項に記載のセンサシステム。
  9.  前記マスタユニットは、時刻の基準となる信号を外部機器から受信する受信部を有し、
     前記記憶部は、前記時刻の基準となる信号に基づき算出される時刻と、前記データとを関連付けて記憶する、
     請求項1から5のいずれか一項に記載のセンサシステム。
  10.  前記マスタユニットは、前記センサの応答時間及び前記スレーブユニットから前記マスタユニットへの伝送遅延時間の少なくともいずれかに基づき、前記タイミングに関する情報を補正する補正部をさらに有する、
     請求項1から9のいずれか一項に記載のセンサシステム。
  11.  前記データは、前記ライン上を搬送される前記ワークの通過状況に応じた立ち上がり波形又は立ち下がり波形を含む時系列データであり、
     前記マスタユニットは、前記複数のスレーブユニットのうち2以上のスレーブユニットにより取得された前記時系列データに含まれる前記立ち上がり波形の間隔又は前記立ち下がり波形の間隔に基づいて、同一の前記ワークに関して前記2以上のスレーブユニットにより取得された前記立ち上がり波形又は前記立ち下がり波形を対応付ける対応部をさらに備える、
     請求項1から10のいずれか一項に記載のセンサシステム。
  12.  前記対応部は、前記複数のスレーブユニットのうち第1スレーブユニットにより取得された前記立ち上がり波形の間隔又は前記立ち下がり波形の間隔と、前記複数のスレーブユニットのうち第2スレーブユニットにより取得された前記立ち上がり波形の間隔又は前記立ち下がり波形の間隔との差の平均値が小さくなるように、前記第1スレーブユニットにより取得された前記立ち上がり波形又は前記立ち下がり波形と、前記第2スレーブユニットにより取得された前記立ち上がり波形又は前記立ち下がり波形とを対応付ける、
     請求項11に記載のセンサシステム。
  13.  前記対応部は、前記第1スレーブユニットに接続されているセンサが、前記第2スレーブユニットに接続されているセンサより前記ラインの上流に配置されている場合、前記第1スレーブユニットにより取得された前記立ち上がり波形の間隔又は前記立ち下がり波形の間隔と、その後に前記第2スレーブユニットにより取得された前記立ち上がり波形の間隔又は前記立ち下がり波形の間隔との差の平均値が小さくなるように、前記第1スレーブユニットにより取得された前記立ち上がり波形又は前記立ち下がり波形と、前記第2スレーブユニットにより取得された前記立ち上がり波形又は前記立ち下がり波形とを対応付ける、
     請求項12に記載のセンサシステム。
  14.  前記対応部は、前記平均値を算出するための項数が所定数以上となる組み合わせの中から、前記第1スレーブユニットにより取得された前記立ち上がり波形又は前記立ち下がり波形と、前記第2スレーブユニットにより取得された前記立ち上がり波形又は前記立ち下がり波形との対応付けを行う、
     請求項12又は13に記載のセンサシステム。
  15.  前記対応部は、前記平均値を算出するための項数が多くなるように、前記第1スレーブユニットにより取得された前記立ち上がり波形又は前記立ち下がり波形と、前記第2スレーブユニットにより取得された前記立ち上がり波形又は前記立ち下がり波形との対応付けを行う、
     請求項12から14のいずれか一項に記載のセンサシステム。
  16.  前記対応部は、前記判定部により前記ワークの状態が変化したと所定期間にわたって判定され続けた場合に、前記立ち上がり波形又は前記立ち下がり波形の対応付けを行う、
     請求項11から15のいずれか一項に記載のセンサシステム。
  17.  前記対応部は、前記複数のスレーブユニットのうち選択された一部について、前記立ち上がり波形又は前記立ち下がり波形の対応付けを行う、
     請求項11から16のいずれか一項に記載のセンサシステム。
  18.  前記マスタユニットは、前記対応部による対応付けを実行中であることを表示する表示部をさらに備える、
     請求項11から17のいずれか一項に記載のセンサシステム。
  19.  前記データは、前記ライン上を搬送される前記ワークの通過状況に応じた立ち上がり波形又は立ち下がり波形を含む時系列データであり、
     前記判定部は、前記複数のスレーブユニットのうち第1スレーブユニットにより取得された前記時系列データと、前記複数のスレーブユニットのうち第2スレーブユニットにより取得された前記時系列データとのいずれか一方を所定の時間シフトして比較して、前記第1スレーブユニットにより取得された前記立ち上がり波形又は前記立ち下がり波形と、前記第2スレーブユニットにより取得された前記立ち上がり波形又は前記立ち下がり波形との時間差に基づいて、前記ワークの状態の変化を判定する、
     請求項1から18のいずれか一項に記載のセンサシステム。
  20.  前記判定部は、前記第1スレーブユニットに接続されているセンサが、前記第2スレーブユニットに接続されているセンサより前記ラインの上流に配置されている場合、前記第1スレーブユニットにより取得された前記立ち上がり波形又は前記立ち下がり波形に対して、対応する前記第2スレーブユニットにより取得された前記立ち上がり波形又は前記立ち下がり波形が存在しない場合に、前記ワークが前記ラインから脱落したと判定する、
     請求項19に記載のセンサシステム。
  21.  前記判定部は、前記第1スレーブユニットに接続されているセンサが、前記第2スレーブユニットに接続されているセンサより前記ラインの上流に配置されている場合、前記第2スレーブユニットにより取得された前記立ち上がり波形又は前記立ち下がり波形に対して、対応する前記第1スレーブユニットにより取得された前記立ち上がり波形又は前記立ち下がり波形が存在しない場合に、前記ワークが前記ラインに混入したと判定する、
     請求項19又は20に記載のセンサシステム。
  22.  前記判定部は、前記複数のスレーブユニットのうち第1スレーブユニットにより取得された前記時系列データと、前記複数のスレーブユニットのうち第2スレーブユニットにより取得された前記時系列データとのいずれか一方を所定の時間シフトし、1以下の前記立ち上がり波形又は前記立ち下がり波形が含まれるように、それぞれの前記時系列データを複数の区間に分割する、
     請求項19から21のいずれか一項に記載のセンサシステム。
  23.  前記判定部は、前記複数の区間のうち第1区間に含まれる前記第1スレーブユニットにより取得された前記立ち上がり波形又は前記立ち下がり波形と、前記第1区間に含まれる前記第2スレーブユニットにより取得された前記立ち上がり波形又は前記立ち下がり波形との第1時間差及び前記複数の区間のうち第2区間に含まれる前記第1スレーブユニットにより取得された前記立ち上がり波形又は前記立ち下がり波形と、前記第2区間に含まれる前記第2スレーブユニットにより取得された前記立ち上がり波形又は前記立ち下がり波形との第2時間差を算出し、前記第1時間差と前記第2時間差の差に基づいて、前記ワークの状態の変化を判定する、
     請求項22に記載のセンサシステム。
  24.  前記判定部は、前記複数のスレーブユニットのうち前記ラインに沿って順に配置されている3以上のスレーブユニットにより取得された前記時系列データを所定の時間シフトして比較して前記ワークの状態の変化を判定し、前記ワークの状態が変化したと判定された区間に基づいて、前記ラインの異常区間を判定する、
     請求項19から23のいずれか一項に記載のセンサシステム。
PCT/JP2019/017730 2018-05-07 2019-04-25 センサシステム WO2019216250A1 (ja)

Priority Applications (3)

Application Number Priority Date Filing Date Title
US17/043,641 US11774464B2 (en) 2018-05-07 2019-04-25 Sensor system
CN201980025250.1A CN111971719B (zh) 2018-05-07 2019-04-25 传感器系统
EP19800792.4A EP3792892B1 (en) 2018-05-07 2019-04-25 Sensor system

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
JP2018-089206 2018-05-07
JP2018089206 2018-05-07
JP2018207928A JP7189499B2 (ja) 2018-05-07 2018-11-05 センサシステム
JP2018-207928 2018-11-05

Publications (1)

Publication Number Publication Date
WO2019216250A1 true WO2019216250A1 (ja) 2019-11-14

Family

ID=68538035

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2019/017730 WO2019216250A1 (ja) 2018-05-07 2019-04-25 センサシステム

Country Status (6)

Country Link
US (1) US11774464B2 (ja)
EP (1) EP3792892B1 (ja)
JP (1) JP7189499B2 (ja)
CN (1) CN111971719B (ja)
TW (1) TWI702574B (ja)
WO (1) WO2019216250A1 (ja)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102017118565A1 (de) * 2017-08-15 2019-02-21 Valeo Schalter Und Sensoren Gmbh Verfahren zum Betreiben einer Sensoranordnung in einem Kraftfahrzeug auf Basis eines DSI-Protokolls
CN114026620A (zh) * 2019-05-09 2022-02-08 日本富士(地探)株式会社 数据收集装置、信号产生位置确定系统、数据收集方法、信号产生位置确定方法以及程序
CN110335303B (zh) * 2019-06-24 2021-10-26 Oppo广东移动通信有限公司 图像处理方法和装置、及存储介质
DE102020131851A1 (de) 2020-12-01 2022-06-02 VON ARDENNE Asset GmbH & Co. KG Verfahren und Transportanordnung
CN112875171B (zh) * 2021-01-28 2021-09-21 刘恩令 一种血液管理用保存装置

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014085833A (ja) * 2012-10-23 2014-05-12 Omron Corp センサシステムおよび通信装置
JP2014096036A (ja) 2012-11-09 2014-05-22 Omron Corp センサシステム
WO2015133175A1 (ja) * 2014-03-04 2015-09-11 オムロン株式会社 制御システム、制御装置および制御方法
WO2016143546A1 (ja) * 2015-03-09 2016-09-15 オムロン株式会社 無線機、およびスレーブ制御装置

Family Cites Families (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6127866A (ja) * 1984-07-16 1986-02-07 Hitachi Ltd 紙葉類搬送制御装置
JPH06305538A (ja) * 1993-04-27 1994-11-01 Murata Mach Ltd コンベアの異常診断装置
US5335777A (en) 1993-10-15 1994-08-09 Jervis B. Webb Company Method and apparatus for belt conveyor load tracking
DE10013512A1 (de) 2000-03-20 2001-10-11 Igl Ingenieur Gemeinschaft Luf Einrichtung zur Geschwindigkeitsmessung
US6711461B2 (en) * 2001-03-20 2004-03-23 Lockheed Martin Corporation Object and method for accessing of articles for reliable knowledge of article positions
CN1447201A (zh) 2002-03-27 2003-10-08 旺宏电子股份有限公司 监控预警系统及方法
JP2005032033A (ja) * 2003-07-07 2005-02-03 Toyota Motor Corp 生産ライン解析装置
US7447931B1 (en) * 2005-12-09 2008-11-04 Rockwell Automation Technologies, Inc. Step time change compensation in an industrial automation network
JP2008197901A (ja) * 2007-02-13 2008-08-28 Sharp Corp 異常発生工程検知システム、及びコンピュータにより実行される異常発生工程検知用プログラム
US8050795B2 (en) * 2007-03-20 2011-11-01 Donald L. Dollens Conveyor drive control system
JP4991394B2 (ja) * 2007-05-28 2012-08-01 アンリツ産機システム株式会社 分別装置
JP5655200B2 (ja) * 2009-09-03 2015-01-21 株式会社フジシール 物品搬送装置
JP5402896B2 (ja) * 2009-10-30 2014-01-29 オムロン株式会社 設備状態検知装置および設備状態検知方法
KR101606239B1 (ko) * 2013-05-31 2016-03-24 삼성에스디에스 주식회사 센싱 데이터 분석 시스템 및 방법
JP6127866B2 (ja) 2013-09-20 2017-05-17 富士通株式会社 通信制御装置、通信制御方法および通信制御プログラム
LT2866354T (lt) * 2013-10-25 2019-10-10 Vito Nv (Vlaamse Instelling Voor Technologisch Onderzoek Nv) Būdas ir sistema energijos bei duomenų impulsams perduoti per magistralę
WO2016006088A1 (ja) 2014-07-10 2016-01-14 株式会社 東芝 電子機器及び方法及びプログラム
JP6524685B2 (ja) * 2015-02-09 2019-06-05 富士ゼロックス株式会社 推定装置及びプログラム
WO2017037774A1 (ja) * 2015-08-28 2017-03-09 株式会社エニイワイヤ 搬送システム
JP6141466B2 (ja) * 2015-09-29 2017-06-07 株式会社東京精密 ワーク識別装置及び識別方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014085833A (ja) * 2012-10-23 2014-05-12 Omron Corp センサシステムおよび通信装置
JP2014096036A (ja) 2012-11-09 2014-05-22 Omron Corp センサシステム
WO2015133175A1 (ja) * 2014-03-04 2015-09-11 オムロン株式会社 制御システム、制御装置および制御方法
WO2016143546A1 (ja) * 2015-03-09 2016-09-15 オムロン株式会社 無線機、およびスレーブ制御装置

Also Published As

Publication number Publication date
EP3792892A4 (en) 2022-01-12
TW201947546A (zh) 2019-12-16
CN111971719A (zh) 2020-11-20
JP2019196271A (ja) 2019-11-14
JP7189499B2 (ja) 2022-12-14
EP3792892A1 (en) 2021-03-17
EP3792892B1 (en) 2024-05-01
US20210018528A1 (en) 2021-01-21
US11774464B2 (en) 2023-10-03
CN111971719B (zh) 2022-10-04
TWI702574B (zh) 2020-08-21

Similar Documents

Publication Publication Date Title
WO2019216250A1 (ja) センサシステム
US8648320B2 (en) Photoelectric sensor and photoelectric sensor system for comparing received light levels to detect objects
EP2730939A2 (en) Sensor system
US20100185418A1 (en) Continuously-Arranged Sensor System, Network Unit, and Sensor Unit
JP2015228171A (ja) センサシステム及びセンサ並びにセンサ信号出力方法
US8237137B2 (en) Photoelectronic sensor system having auto-adjustment function
JP6683137B2 (ja) 産業用コントローラシステム
US10222786B2 (en) Numerical control system having synchronous control function between units
US20030080284A1 (en) Photoelectric sensor
JP7382015B2 (ja) センサシステム
CN115701007A (zh) 芯片传送速度检测方法及电子装置
JP5161196B2 (ja) クロック異常検知システム
TWI688925B (zh) 感測系統
EP2273288A1 (en) Photoelectronic Sensor System
JP2007274432A (ja) 光電センサ及び光電センサシステム
JP2002305433A (ja) 光電センサ
JP7084013B2 (ja) 生産管理装置、および生産管理方法
KR101167062B1 (ko) 광전 센서 시스템
JPH11112319A (ja) 検知装置及びその閾値設定方法
JP4536340B2 (ja) センサシステム及びそのセンサユニット
JP5377802B2 (ja) エリアセンサシステム
WO2012111136A1 (ja) センサヘッド構造
TW201133022A (en) Optoelectronic sensor
JP2007228425A (ja) 多光軸光電センサ
JPH11110039A (ja) 故障判定装置

Legal Events

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

Ref document number: 19800792

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2019800792

Country of ref document: EP

Effective date: 20201207