JPWO2014136230A1 - Distributed control apparatus and control method - Google Patents

Distributed control apparatus and control method Download PDF

Info

Publication number
JPWO2014136230A1
JPWO2014136230A1 JP2015504060A JP2015504060A JPWO2014136230A1 JP WO2014136230 A1 JPWO2014136230 A1 JP WO2014136230A1 JP 2015504060 A JP2015504060 A JP 2015504060A JP 2015504060 A JP2015504060 A JP 2015504060A JP WO2014136230 A1 JPWO2014136230 A1 JP WO2014136230A1
Authority
JP
Japan
Prior art keywords
sensor
unit
signal
terminal communication
time
Prior art date
Legal status (The legal status 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 status listed.)
Ceased
Application number
JP2015504060A
Other languages
Japanese (ja)
Inventor
高志 三枝
高志 三枝
井上 智博
智博 井上
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
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 Hitachi Ltd filed Critical Hitachi Ltd
Publication of JPWO2014136230A1 publication Critical patent/JPWO2014136230A1/en
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/414Structure of the control system, e.g. common controller or multiprocessor systems, interface to servo, programmable interface controller
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B21/00Systems involving sampling of the variable controlled
    • G05B21/02Systems involving sampling of the variable controlled electric
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/33Director till display
    • G05B2219/33273DCS distributed, decentralised controlsystem, multiprocessor
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/34Director, elements to supervisory
    • G05B2219/34437Parallel processing of functions, each layer has own sample rate
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/42Servomotor, servo controller kind till VSS
    • G05B2219/42263Different sample rates, multiple sample rates for the different loops

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Human Computer Interaction (AREA)
  • Manufacturing & Machinery (AREA)
  • Programmable Controllers (AREA)
  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

複数のセンサのサンプリング時刻を任意に、かつ、正確に調整可能とし、複数のセンサ情報を1つの離散データとなるように合成するための調整工数を削減可能な分散型制御装置を実現する。時刻管理部(113)は端末通信部(120)のセンサ情報を合成できるか否かを判定し、各端末通信部(120)に設定されるサンプリング周期の算出を行う。求めたサンプリング周期より各センサ情報のサンプリングが重ならないように端末通信部(120)毎に時刻を割り当てる。時刻管理手段(113)は、算出したサンプリング周期Tcx’、サンプリング指令時刻tsx、センサ情報通信時刻tcomxを中央通信部(110)に転送し、通信ネットワーク(140)を介して全ての端末通信部120に設定する。A distributed control device that can adjust sampling times of a plurality of sensors arbitrarily and accurately and can reduce adjustment man-hours for combining a plurality of pieces of sensor information into one discrete data is realized. The time management unit (113) determines whether or not the sensor information of the terminal communication unit (120) can be synthesized, and calculates the sampling period set in each terminal communication unit (120). A time is assigned to each terminal communication unit (120) so that the sampling of each sensor information does not overlap from the obtained sampling period. The time management means (113) transfers the calculated sampling cycle Tcx ′, sampling command time tsx, and sensor information communication time tcomx to the central communication unit (110), and all the terminal communication units 120 via the communication network (140). Set to.

Description

本発明は、産業機械などに組み込まれる入出力制御機器を通信ネットワークによって接続し、これらを制御する分散型制御装置及び制御方法に関する。   The present invention relates to a distributed control apparatus and a control method for connecting input / output control devices incorporated in an industrial machine or the like via a communication network and controlling them.

近年、FA(Factory Automation)システムにおける省配線化を目的として、通信ネットワークを介して入出力制御機器を接続する制御システムが採用されている。特に、産業機械の分野では、制御システムの実装スペースに制限があるため、省配線化が要求されており、産業機械の駆動系を構成する各軸のモータを駆動するドライバや、周辺装置に含まれるセンサやスイッチを通信ネットワークにより接続し、これらを制御する分散型制御装置が用いられている。   In recent years, a control system that connects input / output control devices via a communication network has been adopted for the purpose of reducing wiring in an FA (Factory Automation) system. In particular, in the field of industrial machinery, there is a restriction on the mounting space of the control system, so wiring reduction is required, and it is included in drivers and peripheral devices that drive the motors of each axis constituting the drive system of industrial machinery. A distributed control device is used in which sensors and switches are connected via a communication network and controlled.

このような分散型制御装置は、全体のシーケンスを統括する中央通信装置と、中央通信手段からの指令に従ってセンサやアクチュエータなどの入出力制御機器を制御する複数の端末通信装置によって構成されることが一般的である。   Such a distributed control device may be composed of a central communication device that controls the entire sequence and a plurality of terminal communication devices that control input / output control devices such as sensors and actuators in accordance with commands from the central communication means. It is common.

さらに、分散型制御装置は、中央通信装置と複数の端末通信装置によってマルチドロップやデイジーチェーンなどのトポロジによる通信ネットワークが構成される。   Further, in the distributed control device, a communication network based on a topology such as multidrop or daisy chain is configured by the central communication device and a plurality of terminal communication devices.

分散型制御装置は、中央通信装置と端末通信装置が、通信ネットワークを介して入出力制御機器の指令情報やセンサ情報を送受信することによって、中央通信装置より全ての入出力制御機器を一括して制御できる。   In the distributed control device, the central communication device and the terminal communication device send and receive all the input / output control devices from the central communication device by sending and receiving command information and sensor information of the input / output control devices via the communication network Can be controlled.

一方、産業機械の分野では、機械自身の生産性能の向上に伴って、性能の高い入出力制御機器の適用が求められている。そのため、入出力制御機器の1つであるセンサは、高分解能、かつ、高サンプリングレートに動作可能な機器の適用が要求されている。   On the other hand, in the field of industrial machinery, application of high-performance input / output control devices is required as the production performance of the machine itself improves. Therefore, a sensor that is one of the input / output control devices is required to be applied with a device that can operate at a high resolution and a high sampling rate.

このような高性能なセンサは、それ自身のサイズが大きい場合が多く、実装スペースの制約が大きい産業機械では適用が困難な場合が多い。また、このような高性能なセンサは、装置の要求性能に対して、十分な性能を持つ機器が開発されていない場合も多く、技術面、またはコスト面において産業装置への適用を困難にしている。   Such high-performance sensors are often large in size themselves, and are often difficult to apply to industrial machines with large restrictions on mounting space. In addition, there are many cases where such a high-performance sensor has not been developed as a device having sufficient performance with respect to the required performance of the device, which makes it difficult to apply to industrial devices in terms of technology or cost. Yes.

このような問題を解消するために、分散型制御装置では、サンプリング性能は低いが小型なセンサを複数用いて1つの物理量を計測し、その後、それらの複数のセンサ情報を1つの離散データとなるように合成することにより、見掛け上、高性能なセンサを用いた場合と同等か、それ以上のサンプリング性能とすることが考えられる。   In order to solve such a problem, in the distributed control apparatus, a single physical quantity is measured using a plurality of small sensors with low sampling performance, and then the plurality of sensor information becomes one discrete data. By synthesizing in this way, it can be considered that the sampling performance is equivalent to or higher than that when using a high-performance sensor.

これを実現するためのシステムとして、例えば、特許文献1に記載された技術がある。特許文献1に記載されたシステムは、ある環境内に空間分散された非同期センサにタイミング信号を送り、これを非同期センサにより出力される非同期信号と結合し、結合した信号を信号プロセッサによって受信し、再生されたタイミング信号に非同期信号を時間合わせすることで、見掛け上、高性能センサを用いた場合と同等としている。   As a system for realizing this, for example, there is a technique described in Patent Document 1. The system described in Patent Document 1 sends a timing signal to an asynchronous sensor spatially distributed in an environment, combines this with an asynchronous signal output by the asynchronous sensor, receives the combined signal by a signal processor, By matching the time of the asynchronous signal to the reproduced timing signal, it is apparently equivalent to the case where a high-performance sensor is used.

特開2005−141738号公報JP 2005-141738 A

しかしながら、特許文献1に記載のシステムは、各センサのサンプリング時刻を任意に調整することが難しく、正確なサンプリングが困難である。これは、複数のセンサの性能にばらつきがあるためである。例えば、使用可能であるが、長期間使用しているセンサと、最新型のセンサとが混在している場合には、互いに性能が異なる場合がある。同一の性能のセンサを複数購入することも考えられるが、現存の使用可能なセンサを破棄等することになり、省資源の観点から望ましくなく、コストもかかるものとなってしまう。   However, in the system described in Patent Document 1, it is difficult to arbitrarily adjust the sampling time of each sensor, and accurate sampling is difficult. This is because there are variations in the performance of the plurality of sensors. For example, when sensors that can be used but have been used for a long time and the latest sensors are mixed, the performance may be different from each other. Although it is conceivable to purchase a plurality of sensors having the same performance, existing sensors that can be used are discarded, which is not desirable from the viewpoint of resource saving and is costly.

望ましくは、全体システムの変更や、近く耐用年数が経過するセンサ毎に、個々のセンサを新たなものに交換することが望ましい。   Desirably, it is desirable to replace each sensor with a new one for each change of the entire system or for each sensor whose service life is near.

このため、特許文献1に記載の技術は、複数のセンサの性能が互いに異なる場合は適用困難である。   For this reason, the technique described in Patent Document 1 is difficult to apply when the performances of a plurality of sensors are different from each other.

また、特許文献1に記載のシステムは、複数のセンサ情報を合成し、正確なサンプリング周期による1つの離散データを生成するためには、システムの調整や合成可能なセンサの選定等が必要であり、そのための多くの工数が必要となってしまうという問題がある。   In addition, the system described in Patent Document 1 requires adjustment of the system and selection of sensors that can be combined in order to synthesize a plurality of pieces of sensor information and generate one discrete data with an accurate sampling period. There is a problem that many man-hours are required for that purpose.

本発明の目的は、複数のセンサのサンプリング時刻を任意に、かつ、正確に調整可能とし、複数のセンサ情報を1つの離散データとなるように合成するための調整工数を削減可能な分散型制御装置及び制御方法を実現することである。   An object of the present invention is to provide a distributed control capable of adjusting the sampling times of a plurality of sensors arbitrarily and accurately and reducing the adjustment man-hours for synthesizing a plurality of pieces of sensor information into one discrete data. It is to realize an apparatus and a control method.

上記目的を達成するため、本発明は次のように構成される。   In order to achieve the above object, the present invention is configured as follows.

本発明の分散型制御装置は、制御対象物を検出し、周期的に検出信号を出力する複数のセンサと、上記複数のセンサのそれぞれに接続され、各センサに上記制御対象物を検出させるためのサンプリング指令信号を供給し、上記センサからの検出信号を入力する複数の端末通信部と、上記複数の端末通信部を接続する通信ネットワークに接続され、上記複数のセンサのそれぞれの信号応答時間から検出信号の出力周期を算出し、算出した複数のセンサの検出信号の出力周期からなる合成信号を算出し、算出した合成信号をサンプリングすることができる検出周期を算出し、上記通信ネットワーク及び複数の上記端末通信部を介して、上記算出した検出周期により上記複数のセンサから出力された検出信号をサンプリングし、サンプリングした上記検出信号に基づいて上記制御対象物を制御する信号を出力する中央通信部と、を備える。   The distributed control device of the present invention detects a control object, and is connected to each of a plurality of sensors that periodically output detection signals and the plurality of sensors, and causes each sensor to detect the control object. Are connected to a plurality of terminal communication units that input the detection signals from the sensors and a communication network that connects the plurality of terminal communication units, and from each signal response time of the plurality of sensors Calculating a detection signal output cycle, calculating a composite signal composed of the calculated detection signal output cycles of a plurality of sensors, calculating a detection cycle capable of sampling the calculated composite signal, and calculating the communication network and a plurality of The detection signals output from the plurality of sensors are sampled and sampled through the terminal communication unit at the calculated detection period. And a central communication unit for outputting a signal for controlling the controlled object based on the detection signal.

また、本発明の分散型制御装置における制御方法は、複数のセンサのそれぞれの信号応答時間から検出信号の出力周期を算出し、算出した複数のセンサの検出信号の出力周期からなる合成信号を算出し、算出した合成信号をサンプリングすることができる検出周期を算出し、上記通信ネットワーク及び複数の上記端末通信部を介して、上記算出した検出周期により上記複数のセンサから出力された検出信号をサンプリングし、サンプリングした上記検出信号に基づいて上記制御対象物を制御する信号を出力する。   Further, the control method in the distributed control device of the present invention calculates the output period of the detection signal from the signal response times of the plurality of sensors, and calculates the composite signal composed of the calculated output periods of the detection signals of the plurality of sensors. And calculating a detection cycle in which the calculated combined signal can be sampled, and sampling the detection signals output from the plurality of sensors according to the calculated detection cycle via the communication network and the plurality of terminal communication units. Then, a signal for controlling the control object is output based on the sampled detection signal.

複数のセンサのサンプリング時刻を任意に、かつ、正確に調整可能とし、複数のセンサ情報を1つの離散データとなるように合成するための調整工数を削減可能な分散型制御装置及び制御方法を実現することができる。   A distributed control device and a control method capable of adjusting the sampling times of a plurality of sensors arbitrarily and accurately and reducing the number of adjustment steps for synthesizing a plurality of sensor information into one discrete data are realized. can do.

本発明の実施例1が適用された分散型制御装置の概略構成図である。1 is a schematic configuration diagram of a distributed control device to which Embodiment 1 of the present invention is applied. FIG. 本発明の実施例1に係る分散型制御装置の一例を示す図であり、部品実装装置に実装した例を示す図である。It is a figure which shows an example of the distributed control apparatus which concerns on Example 1 of this invention, and is a figure which shows the example mounted in the component mounting apparatus. 本発明の実施例1による端末通信部の未調整時のサンプリング動作を示す図である。It is a figure which shows the sampling operation at the time of the unadjustment of the terminal communication part by Example 1 of this invention. 本発明の実施例1に係るセンサの応答性能計測の処理手順を示すフローチャートである。It is a flowchart which shows the process sequence of the response performance measurement of the sensor which concerns on Example 1 of this invention. 本発明の実施例1に係る端末通信手段に着目したときのセンサの応答時間と計測時刻を示した図である。It is the figure which showed the response time and measurement time of a sensor when paying attention to the terminal communication means which concerns on Example 1 of this invention. 本発明の実施例1における各端末通信部のサンプリング設定値の算出の処理手順を示すフローチャートである。It is a flowchart which shows the process sequence of calculation of the sampling setting value of each terminal communication part in Example 1 of this invention. 本発明の実施例1におけるサンプリング設定値と動作時刻を示す図である。It is a figure which shows the sampling setting value and operation | movement time in Example 1 of this invention. 本発明の実施例1における複数のセンサ情報の合成結果を示す図である。It is a figure which shows the synthetic | combination result of the several sensor information in Example 1 of this invention. 本発明の実施例1における設定確認画面の例を示す図である。It is a figure which shows the example of the setting confirmation screen in Example 1 of this invention. 本発明の実施例2による分散型制御装置を示す図である。It is a figure which shows the distributed control apparatus by Example 2 of this invention.

次に、本発明を実施するための形態について、添付図面を参照しながら詳細に説明する。   Next, embodiments for carrying out the present invention will be described in detail with reference to the accompanying drawings.

図1は、本発明の実施例1が適用された分散型制御装置の概略構成図である。   FIG. 1 is a schematic configuration diagram of a distributed control apparatus to which the first embodiment of the present invention is applied.

図1において、分散型制御装置は、応答時間格納部112と、時刻管理部113と、センサ情報格納部114と、センサ情報合成部115と、制御支援ソフトウェア実行部116と、中央通信部111とを有する中央通信部110を備えている。   In FIG. 1, the distributed control device includes a response time storage unit 112, a time management unit 113, a sensor information storage unit 114, a sensor information synthesis unit 115, a control support software execution unit 116, a central communication unit 111, and the like. The central communication part 110 which has is provided.

また、分散型制御装置は、端末通信部120を備え、この端末通信部120は、端末通信制御部121と、センサ制御部122とを有している。そして、センサ制御部122は、応答時間計測部123と、サンプリング指令時刻調整部124と、サンプリング指令部125と、センサ信号入力部126と、センサ信号処理部127と、通信時刻調整部128とを有する。   The distributed control device includes a terminal communication unit 120, and the terminal communication unit 120 includes a terminal communication control unit 121 and a sensor control unit 122. The sensor control unit 122 includes a response time measurement unit 123, a sampling command time adjustment unit 124, a sampling command unit 125, a sensor signal input unit 126, a sensor signal processing unit 127, and a communication time adjustment unit 128. Have.

さらに、分散型制御装置は、中央通信部110と接続されるキーボード・ディスプレイなどの表示入力部100と、端末通信部120と接続されるセンサ130と、中央通信部110と複数の端末通信部120とを通信路によって接続するネットワーク140とを備える。   Further, the distributed control device includes a display input unit 100 such as a keyboard / display connected to the central communication unit 110, a sensor 130 connected to the terminal communication unit 120, the central communication unit 110, and a plurality of terminal communication units 120. Are connected via a communication path.

中央通信部110の制御支援ソフトウェア実行部116は、表示入力部100と、応答時間格納部112と、時刻管理部113と、センサ情報格納部114と、センサ情報合成部115と接続される。また、中央通信部110の中央通信制御部111は、ネットワーク140と、応答時間格納部112と、時刻管理部113と、センサ情報格納部114と、センサ情報合成部115が接続される。   The control support software execution unit 116 of the central communication unit 110 is connected to the display input unit 100, the response time storage unit 112, the time management unit 113, the sensor information storage unit 114, and the sensor information synthesis unit 115. The central communication control unit 111 of the central communication unit 110 is connected to a network 140, a response time storage unit 112, a time management unit 113, a sensor information storage unit 114, and a sensor information synthesis unit 115.

端末通信部120の端末通信制御部121は、ネットワーク140と、センサ制御部112とに接続される。また、センサ制御部122のサンプリング指令時刻調整部124は、端末通信制御部121と、応答時間計測部123と、サンプリング指令時刻調整部124とに接続される。また、センサ制御部122のサンプリング指令部125は、センサ130と、応答時間計測部123と、サンプリング指令時刻調整部124とに接続される。   The terminal communication control unit 121 of the terminal communication unit 120 is connected to the network 140 and the sensor control unit 112. The sampling command time adjustment unit 124 of the sensor control unit 122 is connected to the terminal communication control unit 121, the response time measurement unit 123, and the sampling command time adjustment unit 124. The sampling command unit 125 of the sensor control unit 122 is connected to the sensor 130, the response time measurement unit 123, and the sampling command time adjustment unit 124.

また、センサ制御部122のセンサ信号入力部126は、センサ130と、応答時間計測部123と、センサ信号処理部127とに接続される。また、センサ制御部122のセンサ信号処理部127は、端末通信制御部121と、応答時間計測部123と、センサ信号入力部126と、通信時刻調整部128に接続される。さらに、通信時刻調整部128は、端末通信制御部121と、センサ信号処理部127に接続される。   The sensor signal input unit 126 of the sensor control unit 122 is connected to the sensor 130, the response time measurement unit 123, and the sensor signal processing unit 127. The sensor signal processing unit 127 of the sensor control unit 122 is connected to the terminal communication control unit 121, the response time measurement unit 123, the sensor signal input unit 126, and the communication time adjustment unit 128. Further, the communication time adjustment unit 128 is connected to the terminal communication control unit 121 and the sensor signal processing unit 127.

次に、本発明の実施例1における中央通信部110の動作を説明する。   Next, the operation of the central communication unit 110 according to the first embodiment of the present invention will be described.

中央通信制御部111は、端末通信部120からネットワーク140を介して転送されるセンサ130の応答時間を応答時間格納部112に格納する。また、中央通信制御部111は、端末通信部120からネットワーク140を介して転送されるセンサ130のセンサ情報をセンサ情報格納部114に格納する。   The central communication control unit 111 stores the response time of the sensor 130 transferred from the terminal communication unit 120 via the network 140 in the response time storage unit 112. The central communication control unit 111 stores the sensor information of the sensor 130 transferred from the terminal communication unit 120 via the network 140 in the sensor information storage unit 114.

さらに、中央通信制御部111は、時刻管理部113により転送される各端末通信部120のサンプリング指令を実行する時刻であるサンプリング指令時刻と、時刻管理部113により転送される各端末通信部120のセンサ情報を通信する時刻であるセンサ情報通信時刻と、センサ情報合成部115により転送される複数のセンサ情報の合成結果であるセンサ合成情報とをそれぞれネットワーク140を介して、対象の端末通信部120に転送する。   Further, the central communication control unit 111 includes a sampling command time that is a time for executing the sampling command of each terminal communication unit 120 transferred by the time management unit 113 and each terminal communication unit 120 transferred by the time management unit 113. Sensor information communication time, which is the time at which sensor information is communicated, and sensor combination information, which is a combination result of a plurality of sensor information transferred by the sensor information combining unit 115, are respectively connected via the network 140 to the target terminal communication unit 120. Forward to.

時刻管理部113は、応答時間格納部112に格納された各センサ130の応答時間と、制御支援ソフトウェア実行部116より設定される設定値とを基にサンプリング指令時刻を算出し、中央通信制御部111に転送する。   The time management unit 113 calculates the sampling command time based on the response time of each sensor 130 stored in the response time storage unit 112 and the set value set by the control support software execution unit 116, and the central communication control unit 111.

さらに、時刻管理部113は、センサ情報格納部114に格納されたセンサ情報と制御支援ソフトウェア実行部116により設定される設定値を基にセンサ情報通信時刻を算出し、中央通信制御部111に転送する。   Further, the time management unit 113 calculates the sensor information communication time based on the sensor information stored in the sensor information storage unit 114 and the setting value set by the control support software execution unit 116, and transfers it to the central communication control unit 111. To do.

センサ情報合成部115は、制御支援ソフトウェア実行部116より設定される設定値を基に、センサ情報格納部114に格納された複数のセンサ情報を1つの離散データになるように合成し、中央通信部111に転送する。   The sensor information synthesis unit 115 synthesizes a plurality of sensor information stored in the sensor information storage unit 114 based on the set value set by the control support software execution unit 116 so as to become one piece of discrete data. Forward to the unit 111.

そして、制御支援ソフトウェア実行部116は、表示入力部100から入力される設定値を、時刻管理部113と、センサ情報合成部115に転送する。   Then, the control support software execution unit 116 transfers the set value input from the display input unit 100 to the time management unit 113 and the sensor information synthesis unit 115.

さらに、制御支援ソフトウェア実行部116は、応答時間格納部112と、センサ情報格納部114と、センサ情報合成部115とに格納された情報を読み出し、読み出した情報を表示入力部100より出力させる。   Further, the control support software execution unit 116 reads the information stored in the response time storage unit 112, the sensor information storage unit 114, and the sensor information synthesis unit 115 and causes the display input unit 100 to output the read information.

次に、本発明の実施例1における端末通信部120の動作を説明する。   Next, the operation of the terminal communication unit 120 in Embodiment 1 of the present invention will be described.

端末通信制御部121は、中央通信部110からネットワーク140を介して転送される各種データを受信し、センサ制御部122から転送される各種データを、ネットワーク140を介して中央通信部110に転送する。   The terminal communication control unit 121 receives various data transferred from the central communication unit 110 via the network 140, and transfers the various data transferred from the sensor control unit 122 to the central communication unit 110 via the network 140. .

また、端末通信制御部121は、中央通信部110から転送されるサンプリング指令時刻を受信し、サンプリング指令時刻調整部124に転送する。さらに、端末通信制御部121は、中央通信部110から転送されるセンサ情報通信時刻を受信し、通信時刻調整部128に転送する。さらに、端末通信制御部121は、センサ制御部122から転送されるセンサの応答時間やセンサ情報を中央通信部110に転送する。センサ制御部122は、サンプリング指令部125によりセンサ130にサンプリング指令信号を出力し、センサ信号入力部126によりセンサ130からのセンサ信号を入力する。また、センサ制御部122は、応答時間計測部123によりセンサの応答時間を計測し、その計測時間を端末通信制御部121に転送する。   In addition, the terminal communication control unit 121 receives the sampling command time transferred from the central communication unit 110 and transfers it to the sampling command time adjustment unit 124. Further, the terminal communication control unit 121 receives the sensor information communication time transferred from the central communication unit 110 and transfers it to the communication time adjustment unit 128. Furthermore, the terminal communication control unit 121 transfers the sensor response time and sensor information transferred from the sensor control unit 122 to the central communication unit 110. The sensor control unit 122 outputs a sampling command signal to the sensor 130 by the sampling command unit 125 and inputs a sensor signal from the sensor 130 by the sensor signal input unit 126. Further, the sensor control unit 122 measures the response time of the sensor by the response time measurement unit 123 and transfers the measurement time to the terminal communication control unit 121.

さらに、センサ制御部122は、センサ信号処理部127によりセンサ信号の処理を行い、その処理結果であるセンサ情報を、通信時刻調整部128を介して端末通信制御部121に転送する。   Further, the sensor control unit 122 processes the sensor signal by the sensor signal processing unit 127 and transfers the sensor information as a result of the processing to the terminal communication control unit 121 via the communication time adjustment unit 128.

サンプリング指令時刻調整部124は、端末通信制御部121から転送されるサンプリング指令時刻に従って、サンプリング指令の実行指示をサンプリング指令部125に転送する。サンプリング指令部125は、サンプリング指令時刻調整部124より転送される実行指示に応じて、センサ130にサンプリング指令信号を出力する。   The sampling command time adjustment unit 124 transfers a sampling command execution instruction to the sampling command unit 125 according to the sampling command time transferred from the terminal communication control unit 121. The sampling command unit 125 outputs a sampling command signal to the sensor 130 in accordance with the execution instruction transferred from the sampling command time adjustment unit 124.

また、センサ信号入力部126は、センサ130から出力されるセンサ信号の入力処理を行い、入力したセンサ信号の情報をセンサ信号処理部127に転送する。そして、センサ信号処理部127は、センサ信号入力部126からり転送されたセンサ信号の情報のデータ量を削減し、取扱いの容易な物理量(所定のデータ)に変換し(例えば、圧縮データ)、その変換後のセンサ情報を通信時刻調整部128に転送する。   In addition, the sensor signal input unit 126 performs input processing of the sensor signal output from the sensor 130 and transfers information of the input sensor signal to the sensor signal processing unit 127. Then, the sensor signal processing unit 127 reduces the data amount of the information of the sensor signal transferred from the sensor signal input unit 126, converts it into a physical amount (predetermined data) that is easy to handle (for example, compressed data), The converted sensor information is transferred to the communication time adjustment unit 128.

通信時刻調整部128は、端末通信制御部121から転送されるセンサ情報通信時刻に従って、センサ信号処理部127から転送されるセンサ情報を端末通信制御部121に転送する。また、応答時間計測部123は、サンプリング指令時刻調整部124と、サンプリング指令部125と、センサ信号入力部126と、センサ信号処理部127とから処理開始や完了を通知する信号が入力され、その入力信号に基づいて時間をカウントアップすることによってセンサの応答時間を計測する。また、応答時間計測部123は、計測したセンサの応答時間を端末通信制御部121に転送する。   The communication time adjustment unit 128 transfers the sensor information transferred from the sensor signal processing unit 127 to the terminal communication control unit 121 according to the sensor information communication time transferred from the terminal communication control unit 121. In addition, the response time measuring unit 123 receives signals from the sampling command time adjustment unit 124, the sampling command unit 125, the sensor signal input unit 126, and the sensor signal processing unit 127 to notify the start and completion of processing. The response time of the sensor is measured by counting up the time based on the input signal. Further, the response time measuring unit 123 transfers the measured response time of the sensor to the terminal communication control unit 121.

図2は、本発明の実施例1に係る分散型制御装置の一例を示す図であり、部品実装装置に実装した例を示す図である。   FIG. 2 is a diagram illustrating an example of the distributed control apparatus according to the first embodiment of the present invention, and is a diagram illustrating an example of mounting on a component mounting apparatus.

部品実装装置における本体200は、真空吸引によって部品の吸装着を行う部品実装部210と、X軸アクチュエータ201と、Y軸アクチュエータ202と、表示入力部100と、中央通信手段110と、ネットワーク140とを備える。   The main body 200 in the component mounting apparatus includes a component mounting unit 210 that sucks and mounts components by vacuum suction, an X-axis actuator 201, a Y-axis actuator 202, a display input unit 100, a central communication unit 110, and a network 140. Is provided.

部品実装装置の部品実装部210は、X軸アクチュエータ201と、Y軸アクチュエータ202の動作により、XY平面上を移動することで、部品の実装を行う。   The component mounting unit 210 of the component mounting apparatus mounts components by moving on the XY plane by the operations of the X-axis actuator 201 and the Y-axis actuator 202.

また、部品実装装置の部品実装部210は、Z軸アクチュエータ(図示しない)によってZ軸方向にも移動する。   The component mounting unit 210 of the component mounting apparatus is also moved in the Z-axis direction by a Z-axis actuator (not shown).

本発明の実施例1における部品実装部210は、その先端部213にZ軸方向に駆動する部品実装ノズル211と、部品実装ノズル211の駆動の方向(Z軸方向)に対して直交するXY平面上に、部品実装ノズル211を取り囲むように実装される複数のセンサ130a〜130dと、センサ130a〜130dが接続される複数の端末通信部120a〜120dと、中央通信部110と端末通信手段120a〜120dが接続されるネットワーク140とを備える。   The component mounting unit 210 according to the first exemplary embodiment of the present invention includes a component mounting nozzle 211 that drives the tip end 213 in the Z-axis direction, and an XY plane that is orthogonal to the driving direction of the component mounting nozzle 211 (Z-axis direction). A plurality of sensors 130a to 130d mounted so as to surround the component mounting nozzle 211, a plurality of terminal communication units 120a to 120d to which the sensors 130a to 130d are connected, a central communication unit 110, and terminal communication means 120a to 120a And a network 140 to which 120d is connected.

上記構成により、本発明の実施例1における分散型制御装置は、センサ130a〜130dによって、部品220を把持する部品実装ノズル211のノズル先端212の位置を計測する。   With the above configuration, the distributed control device according to the first exemplary embodiment of the present invention measures the position of the nozzle tip 212 of the component mounting nozzle 211 that grips the component 220 using the sensors 130a to 130d.

また、本発明の実施例1では、センサ130aはCCDカメラであり、センサ130c、130dはCMOSカメラである。また、センサ130bはラインセンサである。これらのセンサ130a〜130dは、それぞれが異なるサンプリング性能を有する。また、これらのセンサ130a〜130dは、部品実装ノズル211の全可動域において、ノズル先端212の位置を検出することができる。   In Embodiment 1 of the present invention, the sensor 130a is a CCD camera, and the sensors 130c and 130d are CMOS cameras. The sensor 130b is a line sensor. These sensors 130a to 130d have different sampling performances. In addition, these sensors 130 a to 130 d can detect the position of the nozzle tip 212 in the entire movable range of the component mounting nozzle 211.

なお、センサ130a〜130dは、部品実装ノズル211のノズル先端212の位置をセンシング可能であればよく、他のセンサ機器(例えば、レーザ測長器等)を用いてもてよい。   The sensors 130a to 130d only need to be able to sense the position of the nozzle tip 212 of the component mounting nozzle 211, and other sensor devices (for example, a laser length measuring device) may be used.

さらに、これらのセンサ130a〜130dは、部品実装ノズル211のノズル先端212を、部品実装ノズル211の全可動域においてセンシング可能であることが望ましいが、用途に応じて(例えば、部品実装中のセンシング等)部品実装ノズル211の可動域の一部(例えば、部品実装高さの近傍の可動域のみ等)や実装部品220の位置をセンシングしてもよい。   Furthermore, it is desirable that these sensors 130a to 130d can sense the nozzle tip 212 of the component mounting nozzle 211 in the entire movable range of the component mounting nozzle 211, but depending on the application (for example, sensing during component mounting) Etc.) A part of the movable range of the component mounting nozzle 211 (for example, only the movable range near the component mounting height, etc.) or the position of the mounted component 220 may be sensed.

また、図2には図示されていないが、本発明の実施例1の分散型制御装置は、部品実装ノズル211をZ軸方向に駆動するための駆動軸を制御する。すなわち、本発明の実施例1の分散型制御装置は、計測された部品実装ノズル211の高さをフィードバックして、部品実装ノズル211の駆動軸を制御する。つまり、中央通信部110の制御支援ソフトウェア実行部116が、計測された部品実装ノズル211の高さをフィードバックして、部品実装ノズル211の駆動軸を制御する。   Although not illustrated in FIG. 2, the distributed control apparatus according to the first embodiment of the present invention controls a drive shaft for driving the component mounting nozzle 211 in the Z-axis direction. That is, the distributed control apparatus according to the first embodiment of the present invention feeds back the measured height of the component mounting nozzle 211 to control the drive shaft of the component mounting nozzle 211. That is, the control support software execution unit 116 of the central communication unit 110 feeds back the measured height of the component mounting nozzle 211 to control the drive shaft of the component mounting nozzle 211.

このような部品実装装置では、装置の性能向上のために、部品実装ノズル211の駆動軸の制御性能の向上が必要となる。したがって、本発明の実施例1における分散型制御装置は、部品実装部210の限られた実装スペースにおいて、その制御に用いられる部品実装ノズル211の高さを正確、かつ、リアルタイムに計測するために、図2のような複数のセンサを用いて1つの物理量(高さ)を計測できる実装構成となる。   In such a component mounting apparatus, it is necessary to improve the control performance of the drive shaft of the component mounting nozzle 211 in order to improve the performance of the apparatus. Therefore, the distributed control apparatus according to the first embodiment of the present invention accurately measures the height of the component mounting nozzle 211 used for the control in the limited mounting space of the component mounting unit 210 in real time. The mounting configuration is such that one physical quantity (height) can be measured using a plurality of sensors as shown in FIG.

図3は、本発明の実施例1による端末通信部120a〜120dの未調整時のサンプリング動作を示す図である。   FIG. 3 is a diagram illustrating a sampling operation when the terminal communication units 120a to 120d are not adjusted according to the first embodiment of the present invention.

図3において、端末通信部120a〜120dに関するパラメータには、各記号末尾にx(x=1、2、・・・、4)を付記する。例えば、端末通信部120aに対応するパラメータはx=1、端末通信部120bに対応するパラメータはx=2とする。さらに、図3のTcrは複数のセンサ情報を1つの離散データとして合成した際の離散データのサンプリング周波数の目標値(目標サンプリング周期)を示し、図3のTc(Tc、Tc、Tc)は、各端末通信手段120a〜120dのサンプリング周期を示す。目標サンプリング周期Tcrは、分散型制御装置が要求する検出精度から決定されるものである。In FIG. 3, x (x = 1, 2,..., 4) is appended to the end of each symbol in the parameters related to the terminal communication units 120a to 120d. For example, the parameter corresponding to the terminal communication unit 120a is x = 1, and the parameter corresponding to the terminal communication unit 120b is x = 2. Further, Tcr in FIG. 3 indicates a target value (target sampling period) of sampling frequency of discrete data when a plurality of pieces of sensor information are combined as one discrete data, and Tc x (Tc 1 , Tc 2 , Tc in FIG. 3). 3 ) shows the sampling period of each terminal communication means 120a-120d. The target sampling period Tcr is determined from the detection accuracy required by the distributed control device.

本発明の実施例1における端末通信部120a〜120bのサンプリング時刻未調整時の動作は、図3からも明らかであるが、各端末通信部120a〜120dに接続されるセンサ130a〜130dがそれぞれ独立した時刻と、それぞれ異なった周期によってサンプリングが実行されるため、中央通信部110によって収集される各端末通信手段120a〜120dのセンサ情報を1つの離散データとして合成しても、サンプリング時刻が定周期にならず、正確な連続データが得られない。   The operation when the sampling times of the terminal communication units 120a to 120b are not adjusted in the first embodiment of the present invention is clear from FIG. 3, but the sensors 130a to 130d connected to the terminal communication units 120a to 120d are independent of each other. Sampling is executed at different periods from each other, so that even if the sensor information of each of the terminal communication means 120a to 120d collected by the central communication unit 110 is combined as one piece of discrete data, the sampling time is constant. Therefore, accurate continuous data cannot be obtained.

そこで、本発明の実施例1では、分散型制御装置のセンサ130a〜130dの応答時間を計測し、それを基に各端末通信手段120a〜120dのサンプリングの周期と時刻、さらに、センサ情報の通信時刻を後述の方法により調整する。   Therefore, in the first embodiment of the present invention, the response times of the sensors 130a to 130d of the distributed control apparatus are measured, and based on the measured response times, the sampling periods and times of the terminal communication means 120a to 120d, and further the communication of sensor information The time is adjusted by the method described later.

図4は、本発明の実施例1に係るセンサ130a〜130dの応答性能計測の処理手順を示すフローチャートである。また、図5は、本発明の実施例1に係る端末通信手段120aに着目したときのセンサ130aの応答時間と計測時刻を示した図である。以下、図4、図5を参照しながらセンサの応答性能計測の処理について説明する。   FIG. 4 is a flowchart illustrating a processing procedure of response performance measurement of the sensors 130a to 130d according to the first embodiment of the present invention. FIG. 5 is a diagram illustrating the response time and measurement time of the sensor 130a when focusing on the terminal communication unit 120a according to the first embodiment of the present invention. Hereinafter, the process of measuring the response performance of the sensor will be described with reference to FIGS.

まず、端末通信部120(120a)の応答時間計測部123は、サンプリング指令時刻調整部124により、サンプリング指令の出力をサンプリング指令部125に指示する信号であるサンプリング指令開始信号が入力された否かを判断する(ステップS401)。サンプリング指令開始信号が入力されない場合は、ステップS401の処理を繰り返す。   First, the response time measurement unit 123 of the terminal communication unit 120 (120a) determines whether the sampling command start signal, which is a signal for instructing the sampling command unit 125 to output the sampling command, is input by the sampling command time adjustment unit 124. Is determined (step S401). If the sampling command start signal is not input, the process of step S401 is repeated.

応答時間計測部123は、サンプリング指令開始信号が入力されたことを判断すると、応答時間計測のためのカウントアップを開始する(ステップS402)。以後、動作クロックなどに同期して常にカウントアップを実行する。また、このときの時刻をt0(図5の時刻500)とする。   When the response time measuring unit 123 determines that the sampling command start signal has been input, the response time measuring unit 123 starts counting up for measuring the response time (step S402). Thereafter, the count-up is always performed in synchronization with the operation clock. The time at this time is assumed to be t0 (time 500 in FIG. 5).

次に、応答時間計測部123は、サンプリング指令部125より、サンプリング指令の出力完了を通知するサンプリング指令出力完了信号が入力されたか否かを判断する(ステップS403)。サンプリング指令出力完了信号が入力されたことを判断すると、そのときの時刻をta(図5の時刻501)とし、応答時間Tsa(=ta−t0)(図5の510)を自身のカウント値より算出し、それを保存する(ステップS404)。応答時間計測部123は、サンプリング指令開始信号が入力されない場合、ステップS403の処理を繰り返す。Next, the response time measurement unit 123 determines whether or not a sampling command output completion signal for notifying completion of output of the sampling command is input from the sampling command unit 125 (step S403). When it is determined that the sampling command output completion signal has been input, the time at that time is ta (time 501 in FIG. 5), and the response time Tsa x (= ta−t0) (510 in FIG. 5) is its own count value. Is calculated and stored (step S404). The response time measuring unit 123 repeats the process of step S403 when the sampling command start signal is not input.

次に、応答時間計測部123は、センサ信号入力部126より、センサ信号の入力開始を通知するセンサ信号入力開始信号が入力されたか否かを判断する(ステップS405)。センサ信号入力開始信号が入力された場合、そのときの時刻をtb(図5の503)とし、応答時間Tsbx(=tb−t0)(図5の511)と、応答時間ΔTsb(=tb−ta)(図5の512)を自身のカウント値より算出し、それを保存する(ステップS406)。応答時間計測部123は、センサ信号入力開始信号が入力されない場合、ステップS405の処理を繰り返す。Next, the response time measurement unit 123 determines whether or not a sensor signal input start signal notifying the start of sensor signal input is input from the sensor signal input unit 126 (step S405). When a sensor signal input start signal is input, the time at that time is tb (503 in FIG. 5), the response time Tsb x (= tb−t0) (511 in FIG. 5), and the response time ΔTsb x (= tb). -Ta) (512 in FIG. 5) is calculated from its own count value and stored (step S406). When the sensor signal input start signal is not input, the response time measurement unit 123 repeats the process of step S405.

次に、応答時間計測部123は、センサ信号入力部126から、センサ信号の入力完了を通知するセンサ信号入力完了信号が入力されたか否かを判断する(ステップS407)。応答時間計測部123は、センサ信号入力完了信号が入力されたと判断すると、そのときの時刻をtc(図5の504)とし、センサ信号応答時間Tsx(=tc−t0)(図5の513)を自身のカウント値より算出し、それを保存する(ステップS408)。応答時間計測部123は、センサ信号入力完了信号が入力されない場合は、ステップS407の処理を繰り返す。Next, the response time measuring unit 123 determines whether or not a sensor signal input completion signal for notifying completion of sensor signal input is input from the sensor signal input unit 126 (step S407). When the response time measurement unit 123 determines that the sensor signal input completion signal has been input, the time at that time is set to tc (504 in FIG. 5), and the sensor signal response time Ts x (= tc−t0) (513 in FIG. 5). ) Is calculated from its own count value and stored (step S408). When the sensor signal input completion signal is not input, the response time measurement unit 123 repeats the process of step S407.

次に、応答時間計測部123は、センサ信号変換処理部127から、センサ信号の変換処理(例えば、画像センサからの入力画像より高さ情報を検出し、画像データを高さデータに変換する処理)の完了を通知するセンサ信号変換処理完了信号が入力されたか否かを判断する(ステップS409)。応答時間計測部123は、センサ信号変換処理完了信号が入力されたと判断すると、そのときの時刻をtd(図5の505)とし、センサ情報応答時間Tdx(=td−t0)(図5の514)を自身のカウント値より算出し、それを保存する(ステップS410)。応答時間計測部123は、センサ信号入力完了信号が入力されない場合は、ステップS409の処理を繰り返す。Next, the response time measurement unit 123 detects sensor information conversion processing from the sensor signal conversion processing unit 127 (for example, processing for detecting height information from an input image from the image sensor and converting the image data into height data). ) Is determined whether or not a sensor signal conversion process completion signal for notifying completion is input (step S409). When the response time measuring unit 123 determines that the sensor signal conversion processing completion signal has been input, the time at that time is set to td (505 in FIG. 5), and the sensor information response time Td x (= td−t0) (in FIG. 5). 514) is calculated from its own count value and stored (step S410). When the sensor signal input completion signal is not input, the response time measurement unit 123 repeats the process of step S409.

最後に、応答時間計測部123は、ここまでに計測・保存された応答時間Tsa(510)、Tsbx(511)、ΔTsbx(512)、Tsx(513)、Tdx(514)を端末通信制御部121に転送し(ステップS411)、処理を終了する。Finally, the response time measurement unit 123 calculates the response times Tsa x (510), Tsb x (511), ΔTsb x (512), Ts x (513), and Td x (514) measured and stored so far. It transfers to the terminal communication control part 121 (step S411), and complete | finishes a process.

なお、この応答時間計測部123の処理は、並列処理によって、センサ130のサンプリングの応答時間計測中に、次のサンプリングが開始された場合、その応答時間の計測を行ってもよい。   The processing of the response time measurement unit 123 may measure the response time when the next sampling is started during the response time measurement of the sampling of the sensor 130 by parallel processing.

また、ステップS411の端末通信制御部121への応答時間の転送は、応答時間算出の都度行ってもよい。   Further, the transfer of the response time to the terminal communication control unit 121 in step S411 may be performed every time the response time is calculated.

本発明の実施例1における分散型制御装置は、端末通信部120の応答時間計測部123によって計測された応答時間を用いて、図5に示すサンプリング周期Tcと、サンプリング指令時刻ts(図5の520)(図5の場合、ts=t0)と、センサ情報通信時刻tcom(図5の521)(図5の場合、tcom=td)を調整する。The distributed control apparatus according to the first embodiment of the present invention uses the response time measured by the response time measurement unit 123 of the terminal communication unit 120, and the sampling cycle Tc x and the sampling command time ts x (FIG. 5). 5 520) (in the case of FIG. 5, ts 1 = t0) and the sensor information communication time tcom 1 (521 in FIG. 5) (in the case of FIG. 5, tcom 1 = td) are adjusted.

ここで、カメラなどの一般的なセンサ130aでは、サンプリング周期Tcを、センサ信号応答時間Tsより小さくならない範囲(Tc≧Ts)で調整可能である。Here, in general sensors 130a such as a camera, a sampling period Tc 1, is adjustable within a range (Tc 1 ≧ Ts 1) of not less than the sensor signal response time Ts 1.

また、本発明の実施例1では、センサ130aがサンプリングを実行した時刻を、応答時間ΔTsbの半分の時間として算出する。また、センサ情報応答時間Tdは、図5のように次のサンプリングの処理が同時刻に重なる場合、端末通信部120のセンサ信号処理部127によって、それぞれが並列に処理される必要がある。In Example 1 of the present invention, the time at which the sensor 130a is performing the sampling, calculating a half of the response time DerutaTsb 1 time. Further, the sensor information response time Td 1 needs to be processed in parallel by the sensor signal processing unit 127 of the terminal communication unit 120 when the next sampling process overlaps at the same time as shown in FIG.

図6は、本発明の実施例1における各端末通信部120のサンプリング設定値の算出の処理手順を示すフローチャートである。また、図7は、本発明の実施例1におけるサンプリング設定値と動作時刻を示す図である。以下、図6、図7を参照しながら説明する。   FIG. 6 is a flowchart illustrating a processing procedure for calculating the sampling setting value of each terminal communication unit 120 according to the first embodiment of the present invention. FIG. 7 is a diagram showing sampling set values and operation times in Embodiment 1 of the present invention. Hereinafter, a description will be given with reference to FIGS.

まず、中央通信部110の時刻管理部113は、制御支援ソフトウェア実行部116により後述の方法で設定される複数の端末通信部120における全ての応答時間が応答時間格納部112に格納されたか否かを判断する(ステップS601)。時刻管理部113は、全ての応答時間が応答時間格納部112に格納されたことを判断すると、端末通信部120のセンサ情報を合成できるか否かを判定する(ステップS602)。時刻管理部113は、全ての応答時間が応答時間格納部112に格納されていない場合は、ステップS601の処理を繰り返す。   First, the time management unit 113 of the central communication unit 110 determines whether or not all response times in the plurality of terminal communication units 120 set by the control support software execution unit 116 by a method described later are stored in the response time storage unit 112. Is determined (step S601). When determining that all the response times have been stored in the response time storage unit 112, the time management unit 113 determines whether or not the sensor information of the terminal communication unit 120 can be combined (step S602). If all response times are not stored in the response time storage unit 112, the time management unit 113 repeats the process of step S601.

次に、ステップS602の処理の詳細を説明する。   Next, details of the processing in step S602 will be described.

ステップS602の処理では、端末通信部120のセンサ情報を合成した後の性能が要求性能を満たすかを判定するための性能判定を行う。以下に本発明の実施例1における、性能判定の実施方法について説明する。   In the process of step S602, performance determination is performed to determine whether the performance after combining the sensor information of the terminal communication unit 120 satisfies the required performance. Hereinafter, a method for performing the performance determination in the first embodiment of the present invention will be described.

性能判定は、以下に示す数1、数2の数式をステップに分けて演算する。すなわち、演算のステップ数をkとすると、ステップ0(k=0)から1ステップごと(k=k+1)に数1、数2の数式を演算する。ここで、端末通信部120のサンプリング周期のうち、数1の条件が未成立のものは集合Aに、各ステップkで数1の条件が成立したものは集合Bに属するものとする。この演算を全ての端末通信部120において数1の条件が成立する、または、数2の条件が成立するまで実行する。この演算終了後、数2の条件が成立する場合は、要求性能を満たす端末通信部120のセンサ情報の組み合わせが存在し、数2の条件が成立しない場合は、要求性能を満たす端末通信部120のセンサ情報の組み合わせが存在しないと判定される。The performance determination is performed by dividing the following mathematical formulas 1 and 2 into steps. That is, assuming that the number of calculation steps is k, the mathematical formulas of Formula 1 and Formula 2 are calculated for each step (k = k + 1) from Step 0 (k = 0). Here, out of the sampling periods of the terminal communication unit 120, those in which the condition of Equation 1 is not satisfied belong to the set A, and those in which the condition of Equation 1 is satisfied at each step k belong to the set B k . This calculation is performed until the condition of Formula 1 is satisfied in all the terminal communication units 120 or until the condition of Formula 2 is satisfied. After the calculation, when the condition of Equation 2 is satisfied, there is a combination of sensor information of the terminal communication unit 120 that satisfies the required performance, and when the condition of Equation 2 is not satisfied, the terminal communication unit 120 that satisfies the required performance. It is determined that there is no combination of sensor information.

Figure 2014136230
Figure 2014136230

Figure 2014136230
Figure 2014136230

ここで、数1は、サンプリング周期の目標値Tcrより短期間のTc(各端末通信部のサンプリング周期)があるか否かの判定を行い、無ければ、Tcrの2倍、4倍、・・・より短期間のTcがあるか否かの判定を行うことを意味する。Here, Formula 1 determines whether or not there is a short period of Tc x (sampling period of each terminal communication unit) from the target value Tcr of the sampling period. This means that it is determined whether or not there is a shorter Tc x .

また、数2は、数1の条件を満足するサンプリング周期を2iで割ったものの合計が1以上か否かの判定であり、各端通信部のサンプリング周期を割り付けできるか否かの判定を行うことを意味する。   Further, Equation 2 is a determination as to whether or not the sum of the sampling cycles satisfying the condition of Equation 1 divided by 2i is 1 or more, and it is determined whether or not the sampling cycle of each end communication unit can be assigned. Means that.

以上のステップS602の処理の結果、時刻管理部113は、要求性能を満たす組み合わせが存在する否かを判定し(ステップS603)、要求性能を満たす組み合わせが存在する場合、各端末通信部120に設定されるサンプリング周期の算出を行う(ステップS604)。   As a result of the processing in step S602, the time management unit 113 determines whether there is a combination that satisfies the required performance (step S603). If there is a combination that satisfies the required performance, the time management unit 113 sets the combination in each terminal communication unit 120. The sampling period to be calculated is calculated (step S604).

ステップS602の処理の結果、要求性能を満たす組み合わせが存在しない場合は、時刻管理部113は、各端末通信部120の各自に設定されたサンプリング時刻を用いたサンプリング動作を中止させるためのサンプリング調整無効情報を全ての端末通信部120に送信し(ステップS610)、処理を終了する。   If there is no combination that satisfies the required performance as a result of the processing in step S602, the time management unit 113 disables the sampling adjustment for stopping the sampling operation using the sampling time set for each terminal communication unit 120. Information is transmitted to all the terminal communication parts 120 (step S610), and a process is complete | finished.

ステップS604においては、時刻管理部113は、端末通信部120のセンサ情報の合成時に正確なサンプリング性能を満たすために必要となる各端末通信部120のサンプリング周期を算出する。   In step S <b> 604, the time management unit 113 calculates the sampling period of each terminal communication unit 120 required to satisfy accurate sampling performance when the sensor information of the terminal communication unit 120 is synthesized.

ここで、このときの端末通信部120のサンプリング周期をTc’とする。ステップS604の処理は、ステップS602と同様に数1の数式を1ステップごとに演算し、数1の条件が成立した時に、数3の数式によってその端末通信部のサンプリング周期Tc’を算出する(図7の700a〜700d)。Here, the sampling period of the terminal communication unit 120 at this time is Tc x ′. In the process of step S604, mathematical expression 1 is calculated for each step as in step S602, and when the condition of mathematical expression 1 is satisfied, the sampling period Tc x ′ of the terminal communication unit is calculated by mathematical expression 3. (700a to 700d in FIG. 7).

Figure 2014136230
Figure 2014136230

次に、時刻管理部113は、ステップS605において各端末通信部120に設定されるセンサ情報のサンプリング指令時刻を算出する。サンプリング指令時刻の算出方法は、例えば、まず、ステップS604で求めたサンプリング周期より、各センサ情報のサンプリングが重ならないように端末通信部120毎に時刻(trと定義する)を割り当てる。ここで、各trは、周期Tcrの整数倍となる。Next, the time management unit 113 calculates a sampling command time of sensor information set in each terminal communication unit 120 in step S605. As a method for calculating the sampling command time, for example, first, a time (defined as tr x ) is assigned to each terminal communication unit 120 so that the sampling of each sensor information does not overlap from the sampling period obtained in step S604. Here, each tr x is an integral multiple of the period Tcr.

次に、応答時間格納部112に格納される応答時間Tsa、Tsbと算出されたtrを用いて、数4の数式を計算することにより、各端末通信部120のサンプリング指令時刻tsを算出する(図7の710a〜710d)。Next, by using the response times Tsa x and Tsb x stored in the response time storage unit 112 and the calculated tr x , the mathematical expression 4 is calculated, whereby the sampling command time ts x of each terminal communication unit 120 is calculated. Is calculated (710a to 710d in FIG. 7).

Figure 2014136230
Figure 2014136230

次に、時刻管理部113は、ステップS606において、各端末通信部120に設定されるセンサ情報の通信時刻を算出する。ここで、全ての端末通信部120の応答時間Tdのうち最も大きい値のもの(これをTdと定義する)を、数5により求める(図7の720)。このとき、センサ情報の通信時刻tcomは、Tdにより規定され、数6の式により求められる(図7の721a〜721d)。Next, the time management unit 113 calculates the communication time of the sensor information set in each terminal communication unit 120 in step S606. Here, the largest value of response times Td x of all the terminal communication units 120 (which is defined as Td) is obtained by Equation 5 (720 in FIG. 7). At this time, the communication time tcom x of the sensor information is defined by Td and is obtained by the equation (6) (721a to 721d in FIG. 7).

Figure 2014136230
Figure 2014136230

Figure 2014136230
Figure 2014136230

次に、時刻管理手段113は、ステップS607の処理によって、ステップS604、S605、S606により算出されたサンプリング周期Tc’、サンプリング指令時刻ts、センサ情報通信時刻tcomを中央通信部110に転送し、通信ネットワーク140を介して全ての端末通信部120に設定する。これにより、各端末通信部120は、サンプリング周期Tc’、サンプリング指令時刻ts、センサ情報通信時刻tcomセンサの制御の性能が調整され、各センサ130a〜130dの情報を目標サンプリング周期Tcr間隔の離散データに正確に合成できる(図7の730〜738)。Next, the time management unit 113 transfers the sampling period Tc x ′, the sampling command time ts x , and the sensor information communication time tcom x calculated in steps S604, S605, and S606 to the central communication unit 110 by the process of step S607. And set in all the terminal communication units 120 via the communication network 140. Thereby, each terminal communication unit 120 adjusts the performance of the control of the sampling cycle Tc x ′, the sampling command time ts x , the sensor information communication time tcom x sensor, and the information of each sensor 130a to 130d is set to the target sampling cycle Tcr interval. Can be accurately synthesized with the discrete data (730 to 738 in FIG. 7).

なお、後述する図8の730〜738は、1周期分のみであるが、図8には1周期分より先の時刻の合成結果も表記している。   In addition, although 730-738 of FIG. 8 mentioned later is only for 1 period, the synthetic | combination result of the time ahead of 1 period is also described in FIG.

次に、時刻管理部113は、設計支援ソフトウェア実行部116により、本処理によるサンプリング動作の終了が設定されたか否かを判断する(ステップS608)。サンプリング動作の終了が設定された場合は、各端末通信部120の各自に設定されたサンプリング時刻を用いたサンプリング動作を中止させるためのサンプリング調整無効情報を全ての端末通信部120に送信し(ステップS610)、処理を終了する。この場合、制御支援ソフトウェア実行部116は、表示入力部100に、「センサの性能を向上する」、「センサの数を増加する」等のコメントを表示させるように構成することができる。   Next, the time management unit 113 determines whether or not the design support software execution unit 116 has set the end of the sampling operation by this processing (step S608). When the end of the sampling operation is set, sampling adjustment invalid information for stopping the sampling operation using the sampling time set for each terminal communication unit 120 is transmitted to all the terminal communication units 120 (steps). S610), the process ends. In this case, the control support software execution unit 116 can be configured to display comments such as “improve sensor performance”, “increase the number of sensors” on the display input unit 100.

ステップS608において、設計支援ソフトウェア実行部116より、本処理よるサンプリング動作の終了が設定されない場合は、応答性能格納部112に格納される応答時間を確認し、大きな変化があるか否かを判断する(ステップS609)。大きな変化がない場合は、ステップS608に処理を戻す。   In step S608, when the end of the sampling operation by this process is not set by the design support software execution unit 116, the response time stored in the response performance storage unit 112 is checked to determine whether there is a large change. (Step S609). If there is no significant change, the process returns to step S608.

ステップS609において、応答性能格納部112に格納される応答時間に大きな変化(例えば、サンプリング周期Tc’がTcr/4以上ずれる)があった場合は、ステップS602に処理を戻し、設定値の再計算を実行する。In step S609, if there is a significant change in the response time stored in the response performance storage unit 112 (for example, the sampling cycle Tc x 'deviates by Tcr / 4 or more), the process returns to step S602, and the setting value is re-established. Perform the calculation.

本発明の実施例1における分散型制御装置は、各端末通信部120a〜120dによるセンサの応答時間の計測結果に基づいて、各端末通信武120a〜120dのサンプリング周期Tc’、サンプリング指令時刻tsとセンサ情報通信時刻tcomを算出し、図7に示すように、それぞれ設定される。The distributed control apparatus according to the first embodiment of the present invention uses the sampling period Tc x ′ and the sampling command time ts of each terminal communication unit 120a to 120d based on the measurement result of the response time of the sensor by each terminal communication unit 120a to 120d. x and sensor information communication time tcom x are calculated and set as shown in FIG.

このとき、各端末通信部120a〜120dは、図7に示すように、設定されたサンプリング指令時刻tsよりサンプリング動作を開始し、以後、サンプリング周期Tc’毎にサンプリングを実行する。At this time, as shown in FIG. 7, each of the terminal communication units 120a to 120d starts a sampling operation from the set sampling command time ts x , and thereafter performs sampling at every sampling cycle Tc x ′.

また、各端末通信部120a〜120dは、図7に示すように、設定されたセンサ情報通信時刻tsよりセンサ情報の通信を開始し、以後、サンプリング周期Tc’毎にセンサ情報の通信を実行する。Moreover, each terminal communication part 120a-120d starts communication of sensor information from the set sensor information communication time ts x , as shown in FIG. 7, and thereafter communicates sensor information for each sampling period Tc x '. Run.

図8は、本発明の実施例1における複数のセンサ情報の合成結果を示す図である。図8に示すように、各センサ130a〜130dの信号周期は、互いに異なるが、周期Tcrで、センサ130a〜130dのうちのいずれかの信号がサンプリングされており、見掛け上、一つセンサからの信号を周期Tcrでサンプリングしたと同様となっている。   FIG. 8 is a diagram illustrating a synthesis result of a plurality of pieces of sensor information according to the first embodiment of the present invention. As shown in FIG. 8, the signal periods of the sensors 130 a to 130 d are different from each other, but any one of the signals of the sensors 130 a to 130 d is sampled at the period Tcr. This is the same as when the signal is sampled at the cycle Tcr.

なお、中央通信部110のセンサ情報格納部114には、各端末通信部120a〜120dのセンサ情報(ノズル先端212の位置)が先入れ先出し方式(FIFO)で格納される。   The sensor information storage unit 114 of the central communication unit 110 stores the sensor information (position of the nozzle tip 212) of each of the terminal communication units 120a to 120d by a first-in first-out method (FIFO).

また、中央通信部110のセンサ情報合成部115は、センサ情報格納部114に格納されるセンサ情報を制御支援ソフトウェア実行部116により設定される目標サンプリング周期Tcrごとに読み出し、中央通信制御部111、または制御支援ソフトウェア実行部116に出力する。   Further, the sensor information synthesis unit 115 of the central communication unit 110 reads the sensor information stored in the sensor information storage unit 114 for each target sampling period Tcr set by the control support software execution unit 116, and the central communication control unit 111, Alternatively, the data is output to the control support software execution unit 116.

上述した本発明の実施例1による分散型制御装置は、図8に示すとおり、サンプリング周期が互いに異なる4つのセンサ情報(ノズル先端212の位置)を目標サンプリング周期Tcr間隔で合成することができる(図7の730〜738)。   The above-described distributed control apparatus according to the first embodiment of the present invention can synthesize four pieces of sensor information (positions of the nozzle tip 212) having different sampling periods at target sampling period Tcr intervals as shown in FIG. 730-738 in FIG.

なお、中央通信部110のセンサ情報合成部115は、センサ130a〜130dの分解能や取り付け位置などに応じて、センサ情報格納部114の各センサ情報を読み出し後に補正してもよい。   In addition, the sensor information synthesis unit 115 of the central communication unit 110 may correct each sensor information in the sensor information storage unit 114 after reading it according to the resolution, attachment position, and the like of the sensors 130a to 130d.

さらに、端末通信部120のセンサ信号処理部127は、センサ130a〜130dの分解能や取り付け位置などに応じて、補正した後に端末通信制御部121を介して、中央通信部110に転送してもよい。   Further, the sensor signal processing unit 127 of the terminal communication unit 120 may correct and transfer the sensor signal processing unit 127 to the central communication unit 110 via the terminal communication control unit 121 after the correction according to the resolution and the mounting position of the sensors 130a to 130d. .

図9は、本発明の実施例1における設定確認画面の例を示す図である。   FIG. 9 is a diagram illustrating an example of a setting confirmation screen according to the first embodiment of the present invention.

図9に示した設定確認画面900は、中央通信部110の制御支援ソフトウェア実行部116により、表示入力部100に表示される画面である。   A setting confirmation screen 900 illustrated in FIG. 9 is a screen displayed on the display input unit 100 by the control support software execution unit 116 of the central communication unit 110.

図9において、ユーザは、表示入力部100に表示されている設定確認画面900を介して、目標サンプリング周期Tcrの設定や、センサ情報の合成を行う端末通信部120を設定する。図9に示す設定確認画面は、GUIを用いた制御支援ソフトウェア(図示せず)における表示画面の一例である。   In FIG. 9, the user sets the terminal communication unit 120 for setting the target sampling period Tcr and synthesizing the sensor information via the setting confirmation screen 900 displayed on the display input unit 100. The setting confirmation screen shown in FIG. 9 is an example of a display screen in control support software (not shown) using a GUI.

サンプリング性能の設定確認画面900は、目標サンプリング周期設定部910と、ネットワーク表示部911と、サンプリング設定値演算実行部912と、センサ応答時間表示部920と、サンプリング時刻設定表示部921と、センサ情報合成結果表示部922を有している。   The sampling performance setting confirmation screen 900 includes a target sampling period setting unit 910, a network display unit 911, a sampling set value calculation execution unit 912, a sensor response time display unit 920, a sampling time setting display unit 921, and sensor information. A synthesis result display unit 922 is included.

目標サンプリング周期設定部910は、目標サンプリング周期と、センサ情報の合成を行う端末通部120を設定することができる(図9の網掛部分はセンサ情報の合成が設定された端末通信部120を示す)。   The target sampling cycle setting unit 910 can set the target sampling cycle and the terminal communication unit 120 that combines the sensor information (the shaded portion in FIG. 9 indicates the terminal communication unit 120 that is set to combine the sensor information). ).

また、ネットワーク表示部911は、分散型制御装置のネットワーク構成を表示する。また、サンプリング設定値演算実行部912は、ユーザからの操作を受け付けると、設定部910に設定された目標サンプリング周期Tcrとセンサ情報の合成を行う端末通信部120の情報を中央通信部110に転送し、サンプリング時刻の設定処理を開始させる。   The network display unit 911 displays the network configuration of the distributed control device. In addition, upon receiving an operation from the user, the sampling set value calculation execution unit 912 transfers information of the terminal communication unit 120 that combines the target sampling period Tcr set in the setting unit 910 and the sensor information to the central communication unit 110. Then, the sampling time setting process is started.

また、センサ応答時間表示部920は、各端末通信部120で計測されたセンサの応答時間を表示する。サンプリング時刻設定表示部921は、各端末通信部120に設定されるサンプリング時刻の設定値を表示する。さらに、センサ情報合成結果表示部922は、各端末通信部120のセンサ情報を合成した結果をリアルタイムに表示する。   The sensor response time display unit 920 displays the response time of the sensor measured by each terminal communication unit 120. The sampling time setting display unit 921 displays a sampling time setting value set in each terminal communication unit 120. Furthermore, the sensor information synthesis result display unit 922 displays the result of synthesizing the sensor information of each terminal communication unit 120 in real time.

以上のように、本発明の実施例1によれば、信号出力応答時間が互いに異なる複数のセンサについて、これら複数のセンサからの出力信号の合成出力信号が一定のサンプリング周期とすることが可能か否かを判断し、可能である場合は、その一定サンプリング周期Tcrを算出する。そして、算出したサンプリング周期で複数のセンサから出力信号を合成して、見掛け上、一つの高性能センサからの出力信号をサンプリングしたと同等とすることが可能となる。   As described above, according to the first embodiment of the present invention, for a plurality of sensors having different signal output response times, is it possible to set the combined output signal of the output signals from the plurality of sensors to a constant sampling period? If it is possible, the fixed sampling period Tcr is calculated. Then, it is possible to synthesize output signals from a plurality of sensors at the calculated sampling period and to make it apparently equivalent to sampling the output signals from one high-performance sensor.

したがって、本発明の実施例1によれば、複数のセンサのサンプリング時刻を任意に、かつ、正確に調整可能とし、複数のセンサ情報を1つの離散データとなるように合成するための調整工数を削減可能な分散型制御装置及び制御方法を実現することができる。   Therefore, according to the first embodiment of the present invention, it is possible to arbitrarily and accurately adjust the sampling times of a plurality of sensors, and to adjust the man-hours for synthesizing a plurality of sensor information so as to become one discrete data. A decentralized control device and a control method that can be reduced can be realized.

図10は、本発明の実施例2による分散型制御装置を示す図である。   FIG. 10 is a diagram illustrating a distributed control apparatus according to the second embodiment of the present invention.

実施例2の分散型制御装置は、図2に示した部品実装装置200の部品実装部210において、部品実装ノズル211の高さ方向に複数のセンサ130a〜130d(互いに信号出力周期が異なる)を並べ、各センサ130a〜130dを通信ネットワーク140に接続される複数の端末通信部120a〜120dに接続することによって構成される。実施例2のその他の構成、動作は、図2に示した実施例2と同等となっている。   The distributed control apparatus according to the second embodiment includes a plurality of sensors 130a to 130d (signal output periods different from each other) in the height direction of the component mounting nozzle 211 in the component mounting unit 210 of the component mounting apparatus 200 illustrated in FIG. The sensors 130 a to 130 d are arranged and connected to a plurality of terminal communication units 120 a to 120 d connected to the communication network 140. Other configurations and operations of the second embodiment are the same as those of the second embodiment shown in FIG.

このような構成においても、分散型制御装置は、複数のセンサ130a〜130dにより、部品実装ノズル211と、部品220の高さを計測できるため、部品実装部210の限られた搭載スペースにおいて、ノズル先端212の位置を正確、かつ、リアルタイムに計測することができる。   Even in such a configuration, since the distributed control device can measure the height of the component mounting nozzle 211 and the component 220 by the plurality of sensors 130a to 130d, the nozzle can be installed in a limited mounting space of the component mounting portion 210. The position of the tip 212 can be measured accurately and in real time.

したがって、実施例2においても、実施例1と同様に、複数のセンサのサンプリング時刻を任意に、かつ、正確に調整可能とし、複数のセンサ情報を1つの離散データとなるように合成するための調整工数を削減可能な分散型制御装置及び制御方法を実現することができる。   Therefore, also in the second embodiment, as in the first embodiment, the sampling times of the plurality of sensors can be arbitrarily and accurately adjusted, and the plurality of sensor information is combined into one discrete data. A distributed control device and a control method that can reduce the adjustment man-hour can be realized.

なお、本発明は上記した実施例に限定されるものではなく、様々な変形例が含まれる。例えば、上記した実施例は本発明を分かりやすく説明するために詳細に説明したものであり、必ずしも説明したすべての構成を有するものに限定されるものではない。また、各実施例の構成の一部について、他の構成の追加、削除、置換をすることが可能である。   In addition, this invention is not limited to an above-described Example, Various modifications are included. For example, the above-described embodiments have been described in detail for easy understanding of the present invention, and are not necessarily limited to those having all the configurations described. Further, it is possible to add, delete, and replace other configurations for a part of the configuration of each embodiment.

また、各実施例において、制御線や情報線は説明上必要と考えられるものを示しており、製品上必ずしもすべての制御線や情報線を示しているとは限らない。実際には、ほとんどすべての構成が相互に接続されていると考えてよい。   Further, in each embodiment, the control lines and information lines indicate what is considered necessary for the explanation, and not all the control lines and information lines on the product are necessarily shown. In practice, it can be considered that almost all configurations are connected to each other.

また、本発明は、複数のセンサを用いるものであれば、高さ、位置の検出のみならず、例えば、ノイズ等の音を検出する装置についも適用可能である。   Further, the present invention can be applied not only to the detection of height and position but also to an apparatus for detecting sound such as noise as long as a plurality of sensors are used.

100・・・表示入力部、110・・・中央通信部、111・・・中央通信制御部、112・・・応答時間格納部、113・・・時刻管理部、114・・・センサ情報格納部、115・・・センサ情報合成部、116・・・制御支援ソフトウェア実行部、120、120a〜120d・・・端末通信部、121・・・端末通信制御部、122・・センサ制御部、123・・・応答時間測定部、124・・・サンプリング指令時刻調整部、125・・・サンプリング指令部、126・・・センサ信号入力部、127・・・センサ信号処理部、128・・・通信時刻調整部、130、130a〜130dセンサ、140・・・通信ネットワーク、200・・・本体、201・・・X軸アクチュエータ、202・・・Y軸アクチュエータ、210・・・部品実装部、211・・・部品実装ノズル、212・・・ノズル先端、213・・・部品実装部の先端部、220・・・部品、900・・・設定確認画面、910・・・目標サンプリング周期設定部、911・・・ネットワーク表示部、912・・・サンプリング設定値演算実行部、920・・・センサ応答時間表示部、921・・・サンプリング時刻設定表示部、922・・・センサ情報合成結果表示部   DESCRIPTION OF SYMBOLS 100 ... Display input part, 110 ... Central communication part, 111 ... Central communication control part, 112 ... Response time storage part, 113 ... Time management part, 114 ... Sensor information storage part 115, sensor information synthesis unit, 116, control support software execution unit, 120, 120a to 120d, terminal communication unit, 121, terminal communication control unit, 122, sensor control unit, 123,. ..Response time measuring unit 124... Sampling command time adjusting unit 125... Sampling command unit 126... Sensor signal input unit 127. , 130, 130a to 130d sensors, 140 ... communication network, 200 ... main body, 201 ... X-axis actuator, 202 ... Y-axis actuator, 210 Component mounting unit 211... Component mounting nozzle 212... Nozzle tip 213... Component mounting unit tip 220, Component 900 900 Setting confirmation screen 910 Target Sampling cycle setting unit, 911... Network display unit, 912... Sampling set value calculation execution unit, 920... Sensor response time display unit, 921. Composite result display

時刻管理部113は、応答時間格納部112に格納された各センサ130の応答時間と、制御支援ソフトウェア実行部116より設定される目標サンプリング周期とを基にサンプリング指令時刻を算出し、中央通信制御部111に転送する。 The time management unit 113 calculates the sampling command time based on the response time of each sensor 130 stored in the response time storage unit 112 and the target sampling period set by the control support software execution unit 116, and performs central communication control. Forward to the unit 111.

さらに、時刻管理部113は、センサ情報格納部114に格納されたセンサ情報と制御支援ソフトウェア実行部116により設定される目標サンプリング周期を基にセンサ情報通信時刻を算出し、中央通信制御部111に転送する。 Further, the time management unit 113 calculates the sensor information communication time based on the sensor information stored in the sensor information storage unit 114 and the target sampling period set by the control support software execution unit 116, and sends it to the central communication control unit 111. Forward.

センサ情報合成部115は、制御支援ソフトウェア実行部116より設定される目標サンプリング周期を基に、センサ情報格納部114に格納された複数のセンサ情報を1つの離散データになるように合成し、中央通信部111に転送する。 Based on the target sampling period set by the control support software execution unit 116, the sensor information synthesis unit 115 synthesizes a plurality of sensor information stored in the sensor information storage unit 114 into one discrete data, Transfer to the communication unit 111.

そして、制御支援ソフトウェア実行部116は、ユーザにより表示入力部100から入力される目標サンプリング周期を、時刻管理部113と、センサ情報合成部115に転送する。 Then, the control support software execution unit 116 transfers the target sampling period input from the display input unit 100 by the user to the time management unit 113 and the sensor information synthesis unit 115.

また、センサ信号入力部126は、センサ130から出力されるセンサ信号の入力処理を行い、入力したセンサ信号の情報をセンサ信号処理部127に転送する。そして、センサ信号処理部127は、センサ信号入力部126から転送されたセンサ信号の情報のデータ量を削減し、取扱いの容易な物理量(所定のデータ)に変換し(例えば、圧縮データ)、その変換後のセンサ情報を通信時刻調整部128に転送する。 In addition, the sensor signal input unit 126 performs input processing of the sensor signal output from the sensor 130 and transfers information of the input sensor signal to the sensor signal processing unit 127. The sensor signal processing unit 127 can reduce the data amount information of the sensor signal input unit 126 or al transfer sensor signal, converts facilitate physical quantity of handling (the predetermined data) (e.g., compressed data) Then, the converted sensor information is transferred to the communication time adjustment unit 128.

図3において、端末通信部120a〜120dに関するパラメータには、各記号末尾にx(x=1、2、・・・、4)を付記する。例えば、端末通信部120aに対応するパラメータはx=1、端末通信部120bに対応するパラメータはx=2とする。さらに、図3のTcrは複数のセンサ情報を1つの離散データとして合成した際の離散データのサンプリング周波数の目標値(目標サンプリング周期)を示し、図3のTc(Tc、Tc、Tc 、Tc )は、各端末通信手段120a〜120dのサンプリング周期を示す。目標サンプリング周期Tcrは、分散型制御装置が要求する検出精度から決定されるものである。 In FIG. 3, x (x = 1, 2,..., 4) is appended to the end of each symbol in the parameters related to the terminal communication units 120a to 120d. For example, the parameter corresponding to the terminal communication unit 120a is x = 1, and the parameter corresponding to the terminal communication unit 120b is x = 2. Further, Tcr in FIG. 3 indicates a target value (target sampling period) of sampling frequency of discrete data when a plurality of pieces of sensor information are combined as one discrete data, and Tc x (Tc 1 , Tc 2 , Tc in FIG. 3). 3 , Tc 4 ) indicates the sampling period of each terminal communication means 120a to 120d. The target sampling period Tcr is determined from the detection accuracy required by the distributed control device.

本発明の実施例1における分散型制御装置は、各端末通信部120a〜120dによるセンサの応答時間の計測結果に基づいて、各端末通信部120a〜120dのサンプリング周期Tc’、サンプリング指令時刻tsとセンサ情報通信時刻tcomを算出し、図7に示すように、それぞれ設定される。 The distributed control apparatus according to the first embodiment of the present invention uses the sampling period Tc x ′ and the sampling command time ts of each terminal communication unit 120a to 120d based on the measurement result of the response time of the sensor by each terminal communication unit 120a to 120d. x and sensor information communication time tcom x are calculated and set as shown in FIG.

Claims (15)

制御対象物を検出し、周期的に検出信号を出力する複数のセンサと、
上記複数のセンサのそれぞれに接続され、各センサに上記制御対象物を検出させるためのサンプリング指令信号を供給し、上記センサからの検出信号を入力する複数の端末通信部と、
上記複数の端末通信部を接続する通信ネットワークと、
上記通信ネットワークに接続され、上記複数のセンサのそれぞれの信号応答時間から検出信号の出力周期を算出し、算出した複数のセンサの検出信号の出力周期からなる合成信号を算出し、算出した合成信号をサンプリングすることができる検出周期を算出し、上記通信ネットワーク及び複数の上記端末通信部を介して、上記算出した検出周期により上記複数のセンサから出力された検出信号をサンプリングし、サンプリングした上記検出信号に基づいて上記制御対象物を制御する信号を出力する中央通信部と、
を備えることを特徴とする分散型制御装置。
A plurality of sensors that detect a control object and periodically output detection signals;
A plurality of terminal communication units connected to each of the plurality of sensors, supplying a sampling command signal for causing each sensor to detect the control object, and inputting a detection signal from the sensor;
A communication network connecting the plurality of terminal communication units;
Connected to the communication network, calculates the output cycle of the detection signal from the signal response time of each of the plurality of sensors, calculates a combined signal composed of the calculated output periods of the detection signals of the plurality of sensors, and calculates the combined signal The detection period that can be sampled is calculated, the detection signals output from the plurality of sensors are sampled by the calculated detection period via the communication network and the plurality of terminal communication units, and the sampled detection is performed. A central communication unit that outputs a signal for controlling the control object based on the signal;
A distributed control apparatus comprising:
請求項1に記載の分散型制御装置において、
上記中央通信部は、上記複数のセンサのそれぞれの信号応答時間を格納する応答時間格納部と、上記複数のセンサのそれぞれの信号応答時間を検出する時刻管理部と、サンプリングした上記検出信号に基づいて上記制御対象物を制御する信号を出力する制御支援ソフトウェア実行部とを有することを特徴とする分散型制御装置。
The distributed control device according to claim 1,
The central communication unit is based on a response time storage unit that stores signal response times of the plurality of sensors, a time management unit that detects signal response times of the plurality of sensors, and the sampled detection signals. And a control support software execution unit that outputs a signal for controlling the control object.
請求項2に記載の分散型制御装置において、
上記複数の端末通信部のそれぞれは、上記通信ネットワークに接続され、情報の送受を行う端末通信制御部と、上記複数のセンサの信号応答時間を計測する応答時間計測部と、上記センサへのサンプリング指令を行う時刻を調整するサンプリング指令時刻調整部と、上記センサにサンプリング指令を供給するサンプリング指令部と、上記センサからの検出信号を入力するセンサ信号入力部と、上記センサからの検出信号を所定のデータに変換するセンサ信号処理部と、このセンサ信号処理部から出力されるデータを所定の時刻に上記端末通信制御部に転送する通信時刻調整部と、を有することを特徴とする分散型制御装置。
The distributed control device according to claim 2,
Each of the plurality of terminal communication units is connected to the communication network and transmits / receives information, a terminal communication control unit that measures signal response times of the plurality of sensors, and sampling to the sensors A sampling command time adjusting unit that adjusts the time for commanding, a sampling command unit that supplies a sampling command to the sensor, a sensor signal input unit that inputs a detection signal from the sensor, and a detection signal from the sensor A distributed control comprising: a sensor signal processing unit that converts the data into a terminal data; and a communication time adjustment unit that transfers data output from the sensor signal processing unit to the terminal communication control unit at a predetermined time. apparatus.
請求項3に記載の分散型制御装置において、
上記複数の端末通信部のそれぞれは、上記センサのそれぞれの信号応答時間として、上記センサへの信号出力指令の命令実行から、上記センサからの検出信号の入力完了までの時間を第1の応答時間として計測し、上記中央通信部は、目標サンプリング周期を設定し、この目標サンプリング周期の2のべき乗であり、かつ、上記各端末通信部の上記第1の応答時間より大である周期を、上記合成信号をサンプリングすることができる検出周期に設定することを特徴とする分散型制御装置。
The distributed control device according to claim 3,
Each of the plurality of terminal communication units has, as each signal response time of the sensor, a time from execution of a signal output command to the sensor to completion of input of a detection signal from the sensor as a first response time. The central communication unit sets a target sampling cycle, and is a power of 2 of the target sampling cycle, and a cycle that is larger than the first response time of each terminal communication unit, A decentralized control apparatus, characterized in that a synthetic signal is set to a detection cycle capable of sampling.
請求項4に記載の分散型制御装置において、
上記中央通信部は、上記複数のセンサのサンプリング時刻が、互いに重ならないようにサンプリング時刻を設定することを特徴とする分散型制御装置。
The distributed control device according to claim 4,
The distributed control device, wherein the central communication unit sets sampling times so that sampling times of the plurality of sensors do not overlap each other.
請求項5に記載の分散型制御装置において、
上記端末通信部は、上記センサへの信号出力指令の命令実行から、上記センサへの信号出力指令が完了するまでの時間を第2の応答時間とし、上記センサへの信号出力指令の命令実行から、上記センサから検出信号の入力開始までの時間を第3の応答時間とし、
上記中央通信部は、上記合成信号をサンプリングすることができる検出周期を、上記端末通信部の上記第2の応答時間及び上記第3の応答時間によって補正することを特徴とする分散型制御装置。
The distributed control device according to claim 5, wherein
The terminal communication unit uses the time from the execution of the signal output command to the sensor to the completion of the signal output command to the sensor as a second response time, and from the execution of the signal output command to the sensor. The time from the sensor to the start of detection signal input is the third response time,
The distributed control device, wherein the central communication unit corrects a detection cycle in which the combined signal can be sampled by the second response time and the third response time of the terminal communication unit.
請求項6に記載の分散型制御装置において、
上記端末通信部は、上記センサからの信号の出力指令の命令実行から、上記センサから入力されたセンサ信号情報の変換処理完了までの時間を第4の応答時間とし、
上記中央通信部は、合成信号を生成する際に用いられる全ての端末通信部より、第4の応答時間の最大値を求め、これを基に上記端末通信部におけるセンサからの検出信号情報の転送時刻の設定値を求めることを特徴とする分散型制御装置。
The distributed control device according to claim 6,
The terminal communication unit has a fourth response time as a time from execution of a command to output a signal from the sensor to completion of conversion processing of sensor signal information input from the sensor,
The central communication unit obtains the maximum value of the fourth response time from all the terminal communication units used when generating the composite signal, and transfers the detection signal information from the sensor in the terminal communication unit based on this value. A distributed control apparatus characterized by obtaining a set value of time.
請求項7に記載の分散型制御装置において、
上記中央通信部は、上記複数のセンサからの検出情報を格納するセンサ情報格納部と、このセンサ情報格納部に格納されたセンサからの検出情報を一つの離散データとして合成するセンサ情報合成部とを有し、
上記中央通信部は、上記各端末通信部から転送されるセンサからの検出情報のうち、合成信号の生成に用いられる複数のセンサからの検出情報を、上記センサ情報格納部に格納し、上記センサ情報合成部により、上記センサ情報格納部に格納されたセンサからの検出情報を、上記端末通信部に転送することを特徴とする分散型制御装置。
The distributed control device according to claim 7,
The central communication unit includes a sensor information storage unit that stores detection information from the plurality of sensors, and a sensor information combination unit that combines detection information from the sensors stored in the sensor information storage unit as one discrete data; Have
The central communication unit stores detection information from a plurality of sensors used for generating a composite signal among the detection information from the sensors transferred from the terminal communication units, in the sensor information storage unit, and stores the sensor information in the sensor information storage unit. A distributed control device, wherein the information combining unit transfers detection information from the sensor stored in the sensor information storage unit to the terminal communication unit.
請求項8に記載の分散型制御装置において、
上記中央通信部の制御支援ソフトウェア実行部に設定値を入力するための表示入力部を備えることを特徴とする分散型制御装置。
The distributed control device according to claim 8, wherein
A distributed control device comprising a display input unit for inputting a set value to the control support software execution unit of the central communication unit.
制御対象物を検出し、周期的に検出信号を出力する複数のセンサのそれぞれに接続され、各センサに上記制御対象物を検出させるためのサンプリング指令信号を供給し、上記センサからの検出信号を入力する複数の端末通信部と、通信ネットワークにより、上記通信ネットワークに中央通信部が接続され、
上記複数のセンサのそれぞれの信号応答時間から検出信号の出力周期を算出し、
算出した複数のセンサの検出信号の出力周期からなる合成信号を算出し、
算出した合成信号をサンプリングすることができる検出周期を算出し、
上記通信ネットワーク及び複数の上記端末通信部を介して、上記算出した検出周期により上記複数のセンサから出力された検出信号をサンプリングし、
サンプリングした上記検出信号に基づいて上記制御対象物を制御する信号を出力することを特徴とする分散型制御装置における制御方法。
Connected to each of a plurality of sensors that detect a control object and periodically output a detection signal, supply a sampling command signal for causing each sensor to detect the control object, and detect a detection signal from the sensor. A central communication unit is connected to the communication network by a plurality of terminal communication units to be input and a communication network,
Calculate the output cycle of the detection signal from the signal response time of each of the plurality of sensors,
Calculate a composite signal consisting of the output periods of the detection signals of the calculated sensors,
Calculate the detection cycle that can sample the calculated composite signal,
Sampling detection signals output from the plurality of sensors according to the calculated detection cycle via the communication network and the plurality of terminal communication units,
A control method in a distributed control apparatus, wherein a signal for controlling the control object is output based on the sampled detection signal.
請求項10に記載の分散型制御装置における制御方法において、
上記複数の端末通信部のそれぞれは、上記センサのそれぞれの信号応答時間として、上記センサへの信号出力指令の命令実行から、上記センサからの検出信号の入力完了までの時間を第1の応答時間として計測し、上記中央通信部は、目標サンプリング周期を設定し、この目標サンプリング周期の2のべき乗であり、かつ、上記各端末通信部の上記第1の応答時間より大である周期を、上記合成信号をサンプリングすることができる検出周期に設定することを特徴とする分散型制御装置における制御方法。
In the control method in the distributed control device according to claim 10,
Each of the plurality of terminal communication units has, as each signal response time of the sensor, a time from execution of a signal output command to the sensor to completion of input of a detection signal from the sensor as a first response time. The central communication unit sets a target sampling cycle, and is a power of 2 of the target sampling cycle, and a cycle that is larger than the first response time of each terminal communication unit, A control method in a distributed control apparatus, characterized in that a detection period capable of sampling a synthesized signal is set.
請求項11に記載の分散型制御装置における制御方法において、
上記中央通信部は、上記複数のセンサのサンプリング時刻が、互いに重ならないようにサンプリング時刻を設定することを特徴とする分散型制御装置における制御方法。
In the control method in the distributed control device according to claim 11,
The control method in the distributed control device, wherein the central communication unit sets the sampling time so that the sampling times of the plurality of sensors do not overlap each other.
請求項12に記載の分散型制御装置における制御方法において、
上記端末通信部は、上記センサへの信号出力指令の命令実行から、上記センサへの信号出力指令が完了するまでの時間を第2の応答時間とし、上記センサへの信号出力指令の命令実行から、上記センサから検出信号の入力開始までの時間を第3の応答時間とし、
上記中央通信部は、上記合成信号をサンプリングすることができる検出周期を、上記端末通信部の上記第2の応答時間及び上記第3の応答時間によって補正することを特徴とする分散型制御装置の制御方法。
In the control method in the distributed control device according to claim 12,
The terminal communication unit uses the time from the execution of the signal output command to the sensor to the completion of the signal output command to the sensor as a second response time, and from the execution of the signal output command to the sensor. The time from the sensor to the start of detection signal input is the third response time,
The central communication unit corrects a detection cycle in which the composite signal can be sampled by the second response time and the third response time of the terminal communication unit. Control method.
請求項13に記載の分散型制御装置における制御方法において、
上記端末通信部は、上記センサからの信号の出力指令の命令実行から、上記センサから入力されたセンサ信号情報の変換処理完了までの時間を第4の応答時間とし、
上記中央通信部は、合成信号を生成する際に用いられる全ての端末通信部より、第4の応答時間の最大値を求め、これを基に上記端末通信部におけるセンサからの検出信号情報の転送時刻の設定値を求めることを特徴とする分散型制御装置における制御方法。
In the control method in the distributed control device according to claim 13,
The terminal communication unit has a fourth response time as a time from execution of a command to output a signal from the sensor to completion of conversion processing of sensor signal information input from the sensor,
The central communication unit obtains the maximum value of the fourth response time from all the terminal communication units used when generating the composite signal, and transfers the detection signal information from the sensor in the terminal communication unit based on this value. A control method in a distributed control apparatus, characterized in that a set value of time is obtained.
請求項14に記載の分散型制御装置における制御方法において、
上記中央通信部は、上記複数のセンサからの検出情報を格納するセンサ情報格納部と、このセンサ情報格納部に格納されたセンサからの検出情報を一つの離散データとして合成するセンサ情報合成部とを有し、
上記中央通信部は、上記各端末通信部から転送されるセンサからの検出情報のうち、合成信号の生成に用いられる複数のセンサからの検出情報を、上記センサ情報格納部に格納し、上記センサ情報合成部により、上記センサ情報格納部に格納されたセンサからの検出情報を、上記端末通信部に転送することを特徴とする分散型制御装置における制御方法。
In the control method in the distributed control device according to claim 14,
The central communication unit includes a sensor information storage unit that stores detection information from the plurality of sensors, and a sensor information combination unit that combines detection information from the sensors stored in the sensor information storage unit as one discrete data; Have
The central communication unit stores detection information from a plurality of sensors used for generating a composite signal among the detection information from the sensors transferred from the terminal communication units, in the sensor information storage unit, and stores the sensor information in the sensor information storage unit. A control method in a distributed control device, characterized in that, by an information synthesis unit, detection information from a sensor stored in the sensor information storage unit is transferred to the terminal communication unit.
JP2015504060A 2013-03-06 2013-03-06 Distributed control apparatus and control method Ceased JPWO2014136230A1 (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2013/056178 WO2014136230A1 (en) 2013-03-06 2013-03-06 Distributed control device and control method

Publications (1)

Publication Number Publication Date
JPWO2014136230A1 true JPWO2014136230A1 (en) 2017-02-09

Family

ID=51490790

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015504060A Ceased JPWO2014136230A1 (en) 2013-03-06 2013-03-06 Distributed control apparatus and control method

Country Status (2)

Country Link
JP (1) JPWO2014136230A1 (en)
WO (1) WO2014136230A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016183829A1 (en) * 2015-05-20 2016-11-24 深圳怡化电脑股份有限公司 Multiple-channel analog sensor-based sampling method and apparatus, and currency switcher

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000209091A (en) * 1999-01-12 2000-07-28 Saginomiya Seisakusho Inc Data sampling method and data sampling system
JP2006242908A (en) * 2005-03-07 2006-09-14 Toyota Central Res & Dev Lab Inc Signal recorder, and multipoint measuring system
JP2011076607A (en) * 2009-09-29 2011-04-14 Yokogawa Electric Corp Measurement data synchronization system and measurement data synchronization method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000209091A (en) * 1999-01-12 2000-07-28 Saginomiya Seisakusho Inc Data sampling method and data sampling system
JP2006242908A (en) * 2005-03-07 2006-09-14 Toyota Central Res & Dev Lab Inc Signal recorder, and multipoint measuring system
JP2011076607A (en) * 2009-09-29 2011-04-14 Yokogawa Electric Corp Measurement data synchronization system and measurement data synchronization method

Also Published As

Publication number Publication date
WO2014136230A1 (en) 2014-09-12

Similar Documents

Publication Publication Date Title
CN110154017B (en) Conveyor tracking system and calibration method
US10775148B2 (en) Determining a position of a movable part of a coordinate measuring machine
JP6834232B2 (en) Information processing system, information processing device, work position identification method, and work position identification program
JP6380432B2 (en) Motor control system, motor control device, program, and recording medium
CN106953579B (en) A kind of voice coil motor position motion control method
JP2012013695A (en) Device for measuring dimensions
US10254108B2 (en) Optical measurement device
US10860010B2 (en) Information processing apparatus for estimating behaviour of driving device that drives control target, information processing method and computer readable recording medium
KR102306681B1 (en) Measurement system and method thereof
KR101988103B1 (en) Optical measuring apparatus
Bösemann Advances in photogrammetric measurement solutions
CN109458969B (en) Multi-axis synchronous measurement and control method of position full closed loop
WO2014136230A1 (en) Distributed control device and control method
JP6703605B2 (en) Working device and time measuring method for working device
JP2010271926A (en) Work guide system, work guide method, and recording medium recording the same
JP5740649B2 (en) Image measuring apparatus, autofocus control method, and autofocus control program
CN106887990B (en) A kind of voice coil motor position motion control device
CN111971536A (en) Acoustic analysis device and acoustic analysis method
KR102049291B1 (en) Measurement system, control apparatus, measurement method
US20190064782A1 (en) Machine tool and robot linking system
KR20130107743A (en) Robot vision monitoring system using trigger signal, and method thereof
CN211639947U (en) Robot control circuit and family service robot
WO2022201967A1 (en) Measurement system, measurement method, and program
WO2023017818A1 (en) Measurement system, measurement method, and program
JP2017142719A (en) Numerical value controller having processing data one-time output function

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20160705

A045 Written measure of dismissal of application

Free format text: JAPANESE INTERMEDIATE CODE: A045

Effective date: 20161129