JP2012029254A - Camera for fa equipment - Google Patents

Camera for fa equipment Download PDF

Info

Publication number
JP2012029254A
JP2012029254A JP2010168830A JP2010168830A JP2012029254A JP 2012029254 A JP2012029254 A JP 2012029254A JP 2010168830 A JP2010168830 A JP 2010168830A JP 2010168830 A JP2010168830 A JP 2010168830A JP 2012029254 A JP2012029254 A JP 2012029254A
Authority
JP
Japan
Prior art keywords
camera
data
cpu
control device
ram
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.)
Granted
Application number
JP2010168830A
Other languages
Japanese (ja)
Other versions
JP5435804B2 (en
Inventor
Takahiro Shindo
高広 神藤
Yasuhiro Yamashita
泰弘 山下
Atsunori Hirano
篤規 平野
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.)
Fuji Corp
Original Assignee
Fuji Machine Manufacturing Co 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 Fuji Machine Manufacturing Co Ltd filed Critical Fuji Machine Manufacturing Co Ltd
Priority to JP2010168830A priority Critical patent/JP5435804B2/en
Priority to PCT/JP2011/059234 priority patent/WO2012014534A1/en
Publication of JP2012029254A publication Critical patent/JP2012029254A/en
Application granted granted Critical
Publication of JP5435804B2 publication Critical patent/JP5435804B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N17/00Diagnosis, testing or measuring for television systems or their details
    • H04N17/002Diagnosis, testing or measuring for television systems or their details for television cameras
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05KPRINTED CIRCUITS; CASINGS OR CONSTRUCTIONAL DETAILS OF ELECTRIC APPARATUS; MANUFACTURE OF ASSEMBLAGES OF ELECTRICAL COMPONENTS
    • H05K13/00Apparatus or processes specially adapted for manufacturing or adjusting assemblages of electric components
    • H05K13/08Monitoring manufacture of assemblages
    • H05K13/081Integration of optical monitoring devices in assembly lines; Processes using optical monitoring devices specially adapted for controlling devices or machines in assembly lines
    • H05K13/0812Integration of optical monitoring devices in assembly lines; Processes using optical monitoring devices specially adapted for controlling devices or machines in assembly lines the monitoring devices being integrated in the mounting machine, e.g. for monitoring components, leads, component placement

Landscapes

  • Engineering & Computer Science (AREA)
  • General Health & Medical Sciences (AREA)
  • Manufacturing & Machinery (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • Operations Research (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)
  • Supply And Installment Of Electrical Components (AREA)
  • Debugging And Monitoring (AREA)
  • Closed-Circuit Television Systems (AREA)

Abstract

PROBLEM TO BE SOLVED: To facilitate examination of causes for malfunction of a camera for FA equipment.SOLUTION: In FA equipment 11 comprising a camera 21 for taking a picture of an imaging target, the camera 21 has a CPU 23, a RAM 25, and a flash memory 26, and various signals are transmitted/received between the camera 21 and a CPU 12 of the FA equipment control device 11. The CPU 23 of the camera 21 records operation history data of the camera 21 itself, transmission/reception history data of the various signals, and various setting data of the camera in the RAM 25, and writes the various data stored in the RAM 25 into the flash memory 26 which is a non-volatile rewritable memory, when a severe malfunction (such as communication abnormality) which can be determined by the CPU 23 of the camera 21 occurs or when a data storage request is sent from the FA equipment control device 11.

Description

本発明は、FA機器における撮像対象物を撮像するFA機器用カメラに関する発明である。   The present invention relates to an FA device camera that images an object to be imaged in an FA device.

例えば、電子部品実装機、工作機械、スクリーン印刷機、産業ロボット等のFA機器は、撮像対象物を撮像するカメラを搭載したものが多い(例えば特許文献1参照)。カメラ付きのFA機器において、カメラの撮像に関係する不具合の原因調査のために、FA機器側で動作トレースログをメモリに記録することがある。しかし、そのログは、FA機器側のCPUがカメラに対して行った動作指示の履歴と、FA機器側の動作に関するログのみであり、カメラに関するログの情報は少ない。   For example, FA devices such as an electronic component mounting machine, a machine tool, a screen printing machine, and an industrial robot are often equipped with a camera that images an object to be imaged (see, for example, Patent Document 1). In an FA device with a camera, an operation trace log may be recorded in a memory on the FA device side in order to investigate the cause of a defect related to camera imaging. However, the log is only the history of the operation instruction given to the camera by the CPU on the FA device side and the log on the operation on the FA device side, and there is little information on the log about the camera.

特開2006−210531号公報JP 2006-210531 A 特開2001−100281号公報JP 2001-1000028 A

不具合の原因の中には、FA機器側のCPUがカメラに動作指示信号を送ったつもりであっても、実際には信号線の断線やコネクタの外れ等でカメラ側に動作指示信号が届いていなかったり、カメラが外部からのノイズで誤動作したりする事例がある。このような不具合は、FA機器側のメモリに記録したトレースログのみでは解析することが難しかった。   Among the causes of malfunctions, even if the CPU on the FA device side intended to send an operation instruction signal to the camera, the operation instruction signal actually arrived at the camera due to disconnection of the signal line or disconnection of the connector. There are cases where the camera does not work or malfunctions due to external noise. Such a defect is difficult to analyze only by a trace log recorded in the memory on the FA device side.

また、FA機器用のカメラは、FA機器の内部に組み付けられて使用されることが多いため、オシロスコープ等の解析機器の接続が難しく、原因調査には時間と手間を必要としていた。   In addition, since cameras for FA devices are often used by being assembled inside an FA device, it is difficult to connect an analysis device such as an oscilloscope, and investigating the cause requires time and effort.

ところで、特許文献2(特開2001−100281号公報)には、防犯用の監視カメラに、該カメラの動作履歴を記録する書き換え可能な不揮発性メモリを設け、該不揮発性メモリに該カメラの動作履歴(オートパン動作時間、電源オン時間、カメラ内の温度、プリセット動作回数、フィルタ切換動作回数、座標系リセット回数)を記録することで、カメラの修理時に不揮発性メモリに記録されたカメラの動作履歴を利用して原因を解析することが記載されている。   By the way, in Patent Document 2 (Japanese Patent Laid-Open No. 2001-1000028), a security monitoring camera is provided with a rewritable nonvolatile memory that records the operation history of the camera, and the operation of the camera is stored in the nonvolatile memory. By recording the history (auto pan operation time, power-on time, camera temperature, preset operation count, filter switching operation count, coordinate system reset count), the camera operation recorded in the non-volatile memory at the time of camera repair It describes that the cause is analyzed using the history.

しかし、防犯用の監視カメラとFA機器用のカメラとは、撮像対象物、動作環境、要求解像度等が大きく異なるため、上記防犯用の監視カメラの技術をFA機器用のカメラに転用しても、FA機器用のカメラの動作不具合の原因調査が困難な場合がある。すなわち、防犯用の監視カメラは、長時間連続的に撮像し続けるカメラであり、外部のCPUから動作指示が頻繁に入力されるものではないため、カメラ自身の動作履歴のみでも動作不具合の原因調査が可能である。   However, since the surveillance camera for crime prevention and the camera for FA equipment differ greatly in the object to be imaged, the operating environment, the required resolution, etc., even if the security surveillance camera technology described above is diverted to the camera for FA equipment. In some cases, it is difficult to investigate the cause of the malfunction of a camera for an FA device. In other words, the surveillance camera for security is a camera that continuously captures images for a long time, and operation instructions are not frequently input from an external CPU. Is possible.

これに対し、FA機器用のカメラは、FA機器の各動作毎の決められたタイミングで撮像対象物を撮像するように、FA機器側のCPUから動作指示が頻繁に入力される。このため、カメラ自身の動作履歴を記録しても、動作不具合の原因がカメラ自身の動作不良によるものか、FA機器側のCPUから動作指示が信号線の断線やコネクタの外れ等でカメラ側に届いていないのか、或は、外部からのノイズ等による誤動作であるのか判別できない。しかも、FA機器用のカメラは、防犯用の監視カメラと比較して、撮像対象物を高精度に画像認識する必要があるため、カメラの各種設定データも画像認識結果に大きな影響を及ぼす。このため、カメラの各種設定データが不明であると、画像処理エラーの原因を究明できない場合がある。   On the other hand, in the camera for FA devices, operation instructions are frequently input from the CPU on the FA device side so that the imaging target is imaged at a timing determined for each operation of the FA device. For this reason, even if the operation history of the camera itself is recorded, the cause of the operation failure is caused by the operation failure of the camera itself, or the operation instruction from the FA device side CPU is sent to the camera side due to disconnection of the signal line or disconnection of the connector. It cannot be determined whether it has not arrived or whether it is a malfunction due to external noise or the like. Moreover, since the camera for the FA device needs to recognize the image of the object to be picked up with high accuracy as compared with the security monitoring camera, various setting data of the camera has a great influence on the image recognition result. For this reason, if the various setting data of the camera is unknown, the cause of the image processing error may not be investigated.

そこで、本発明が解決しようとする課題は、FA機器用カメラの動作不具合の原因調査が容易になるようにすることである。   Therefore, the problem to be solved by the present invention is to facilitate the investigation of the cause of the malfunction of the FA device camera.

上記課題を解決するために、請求項1に係る発明は、撮像対象物を撮像するFA機器用カメラにおいて、該カメラには、CPUと書き換え可能なメモリを搭載し、該カメラとFA機器側の制御装置との間で各種信号を送受信するように構成し、前記CPUは、該カメラ自身の動作履歴データと前記各種信号の送受信履歴データと該カメラの各種設定データを前記書き換え可能なメモリに記録するようにしたものである。ここで、カメラの各種設定データとしては、例えば、カメラゲイン、露光時間、画像データのオフセット量、ROI(Region Of Interest:撮像領域)の設定値等がある。   In order to solve the above-mentioned problem, an invention according to claim 1 is directed to an FA device camera for imaging an object to be imaged, wherein the camera is equipped with a CPU and a rewritable memory, and the camera and the FA device side are mounted. The CPU is configured to transmit / receive various signals to / from the control device, and the CPU records the operation history data of the camera itself, the transmission / reception history data of the various signals, and the various setting data of the camera in the rewritable memory. It is what you do. Here, as the various setting data of the camera, for example, there are a camera gain, an exposure time, an offset amount of image data, a setting value of ROI (Region Of Interest: imaging region), and the like.

本発明のように、カメラにCPUと書き換え可能なメモリを搭載して、カメラ自身の動作履歴データの他に、各種信号の送受信履歴データと該カメラの各種設定データを記録するようにすれば、動作不具合の原因がカメラ自身の動作不良によるものか、FA機器側のCPUから動作指示が信号線の断線やコネクタの外れ等でカメラ側に届いていないのか、或は、外部からのノイズ等による誤動作であるのかを容易に判別でき、FA機器用のカメラの動作不具合の原因調査が容易になると共に、カメラの各種設定データも分かるため、画像処理エラーの原因調査も容易になる。   As in the present invention, if a camera and a rewritable memory are installed in the camera, in addition to the operation history data of the camera itself, transmission / reception history data of various signals and various setting data of the camera are recorded. The cause of the malfunction is due to malfunction of the camera itself, or the operation instruction from the CPU on the FA device side does not reach the camera due to disconnection of the signal line or disconnection of the connector, or due to noise from the outside It is possible to easily determine whether it is a malfunction, and it becomes easy to investigate the cause of the malfunction of the camera for the FA device, and it is also easy to investigate the cause of the image processing error because various setting data of the camera can be understood.

この場合、請求項2のように、各種信号の送受信履歴データには、FA機器側の制御装置からの動作指示の履歴データを含ませるようにすると良い。これにより、FA機器用のカメラの動作不具合の原因調査が更に容易になる。   In this case, as described in claim 2, the transmission / reception history data of various signals may include history data of operation instructions from the control device on the FA device side. This further facilitates investigation of the cause of the malfunction of the camera for the FA device.

また、請求項3のように、FA機器側の制御装置は、カメラから送信されてくる撮像画像に問題があった場合に、その時の画像データとその画像撮像時の各種設定データを書き換え可能なメモリに記録するようにカメラに対して指示しても良い。このようにすれば、画像処理エラーの原因調査が更に容易になる。   Further, as described in claim 3, when there is a problem with the captured image transmitted from the camera, the control device on the FA device side can rewrite the image data at that time and various setting data at the time of image capturing. The camera may be instructed to record in memory. This makes it easier to investigate the cause of an image processing error.

また、請求項4のように、カメラの書き換え可能なメモリには、FA機器側の制御装置の情報も記録するようにしても良い。ここで、FA機器側の制御装置の情報としては、例えば、該制御装置にインストールされたソフトウエアのバージョン情報がある。ソフトウエアのバージョンによっては、その動作環境にカメラが対応していない可能性がある。   Further, as described in claim 4, information of the control device on the FA device side may be recorded in the rewritable memory of the camera. Here, the information on the control device on the FA device side includes, for example, version information of software installed in the control device. Depending on the software version, the camera may not support the operating environment.

また、請求項5のように、カメラの書き換え可能なメモリに記録された各種データは、所定時期にFA機器側の制御装置に送信して該制御装置の記憶装置に保存するようにしても良い。例えば、FA機器側の制御装置からデータ送信要求が出されたとき、又は、カメラの電源がオフされる直前、又は、定期的にカメラのCPUで判断できる重大な異常(例えばカメラ温度異常等)が発生したときに、カメラの書き換え可能なメモリに記録された各種データをFA機器側の制御装置に送信して該制御装置の記憶装置に保存するようにしても良い。このようにすれば、FA機器側の制御装置でもカメラの動作に関係する各種データを管理することができる。   According to another aspect of the present invention, various data recorded in a rewritable memory of the camera may be transmitted to a control device on the FA device side at a predetermined time and stored in a storage device of the control device. . For example, when a data transmission request is issued from the control device on the FA device side, immediately before the camera is turned off, or a serious abnormality that can be periodically determined by the camera CPU (eg, camera temperature abnormality, etc.) When this occurs, various data recorded in the rewritable memory of the camera may be transmitted to the control device on the FA device side and stored in the storage device of the control device. In this way, various data relating to the operation of the camera can be managed even by the control device on the FA device side.

更に、請求項6のように、カメラの書き換え可能なメモリは、RAMと書き換え可能な不揮発性メモリとから成り、カメラ自身の動作履歴データと各種信号の送受信履歴データと該カメラの各種設定データを一時的にRAMに記録しておき、所定のデータ保存要求が発生した時にRAMの記録データを前記書き換え可能な不揮発性メモリに書き込むようにしても良い。ここで、所定のデータ保存要求は、例えば、FA機器側の制御装置から送信されてきたり、カメラの電源がオフされる直前に該カメラのCPUで発生したり、カメラのCPUで判断できる重大な異常(例えばカメラ温度異常等)が発生したときに該カメラのCPUで発生したりする。このように、RAMの記録データを書き換え可能な不揮発性メモリに書き込むようにすれば、カメラの電源がオフされた後も、不揮発性メモリに記録データを保持することができる。   Further, the rewritable memory of the camera comprises a RAM and a rewritable non-volatile memory, and the operation history data of the camera itself, transmission / reception history data of various signals, and various setting data of the camera are stored. The data may be temporarily recorded in the RAM, and the recorded data in the RAM may be written into the rewritable nonvolatile memory when a predetermined data storage request is generated. Here, for example, the predetermined data storage request is transmitted from the control device on the FA device side, is generated by the camera CPU immediately before the camera is turned off, or can be determined by the camera CPU. It may occur in the CPU of the camera when an abnormality (for example, camera temperature abnormality) occurs. As described above, if the recording data in the RAM is written in the rewritable nonvolatile memory, the recording data can be held in the nonvolatile memory even after the camera is turned off.

図1は本発明の一実施例におけるシステム構成を示すブロック図である。FIG. 1 is a block diagram showing a system configuration in an embodiment of the present invention.

以下、本発明を実施するための形態を具体化した一実施例を説明する。
まず、図1に基づいてシステム構成を説明する。
FA機器は、例えば、電子部品実装機、工作機械、スクリーン印刷機、産業ロボット等であり、該FA機器を制御するFA機器制御装置11には、CPU12と記憶装置13等が設けられている。記憶装置13は、ハードディスク装置、DVD、CD、MO等の光学ドライブ装置、USBメモリ等のいずれであっても良い。
Hereinafter, an embodiment embodying a mode for carrying out the present invention will be described.
First, the system configuration will be described with reference to FIG.
The FA device is, for example, an electronic component mounting machine, a machine tool, a screen printing machine, an industrial robot, or the like. The FA device control device 11 that controls the FA device is provided with a CPU 12, a storage device 13, and the like. The storage device 13 may be any of a hard disk device, an optical drive device such as a DVD, a CD, and an MO, a USB memory, and the like.

FA機器には、カメラ21が設けられ、該カメラ21とFA機器制御装置11との間がカメラケーブル22で接続され、各種信号が送受信されるようになっている。カメラ21には、CPU23と、プログラムや初期設定データ等を記憶するROM24と、後述する各種データを一時的に記憶するRAM25(書き換え可能なメモリ)と、書き換え可能な不揮発性メモリであるフラッシュメモリ26等が設けられている。   The FA device is provided with a camera 21, and the camera 21 and the FA device control apparatus 11 are connected by a camera cable 22 so that various signals can be transmitted and received. The camera 21 includes a CPU 23, a ROM 24 that stores programs, initial setting data, and the like, a RAM 25 (rewritable memory) that temporarily stores various data described later, and a flash memory 26 that is a rewritable nonvolatile memory. Etc. are provided.

カメラ21のCPU23は、該カメラ21自身の動作履歴データと各種信号の送受信履歴データと該カメラ21の各種設定データをRAM25に記録する。ここで、カメラ21の各種設定データとしては、例えば、カメラゲイン、露光時間、画像データのオフセット量、ROI(Region Of Interest:撮像領域)の設定値等がある。各種信号の送受信履歴データには、FA機器制御装置11のCPU12からの動作指示の履歴データが含まれる。   The CPU 23 of the camera 21 records the operation history data of the camera 21 itself, transmission / reception history data of various signals, and various setting data of the camera 21 in the RAM 25. Here, the various setting data of the camera 21 include, for example, camera gain, exposure time, offset amount of image data, setting value of ROI (Region Of Interest: imaging region), and the like. The transmission / reception history data of various signals includes operation instruction history data from the CPU 12 of the FA device control apparatus 11.

また、FA機器制御装置11のCPU12は、カメラ21から送信されてくる撮像画像に問題があった場合に、その時の画像データとその画像撮像時の各種設定データをカメラ21のRAM25に記録する指示をカメラ21に送信する。   In addition, when there is a problem with the captured image transmitted from the camera 21, the CPU 12 of the FA device control apparatus 11 instructs to record the image data at that time and various setting data at the time of image capturing in the RAM 25 of the camera 21. Is transmitted to the camera 21.

また、例えば、FA機器制御装置11のCPU12からデータ送信要求が出されたとき、又は、カメラ21の電源がオフされる直前、又は、カメラ21のCPU23で判断できる重大な異常(例えばカメラ温度異常等)が発生したときに、カメラ21のRAM25に記録された各種データをFA機器制御装置11に送信して該FA機器制御装置11の記憶装置13に保存するようにしている。   Further, for example, when a data transmission request is issued from the CPU 12 of the FA device control apparatus 11, or immediately before the power of the camera 21 is turned off, or a serious abnormality that can be determined by the CPU 23 of the camera 21 (for example, a camera temperature abnormality). Etc.) occurs, various data recorded in the RAM 25 of the camera 21 are transmitted to the FA device control device 11 and stored in the storage device 13 of the FA device control device 11.

また、所定のデータ保存要求が発生した時に、カメラ21のRAM25の記録データを書き換え可能な不揮発性メモリであるフラッシュメモリ26に書き込むようにしても良い。ここで、所定のデータ保存要求は、例えば、FA機器制御装置11のCPU23から送信されてきたり、カメラ21の電源がオフされる直前に該カメラ21のCPU23で発生したり、カメラ21のCPU23で判断できる重大な異常(例えばカメラ温度異常等)が発生したときに該カメラ21のCPU23で発生したりする。   Further, when a predetermined data storage request is generated, the recorded data in the RAM 25 of the camera 21 may be written in the flash memory 26 which is a rewritable nonvolatile memory. Here, the predetermined data storage request is transmitted from, for example, the CPU 23 of the FA device control apparatus 11, is generated by the CPU 23 of the camera 21 immediately before the power of the camera 21 is turned off, or is transmitted from the CPU 23 of the camera 21. It may occur in the CPU 23 of the camera 21 when a serious abnormality that can be determined (for example, abnormal camera temperature) occurs.

以下、具体例について説明する。
カメラ21の動作中に、後述するトレースイベントが発生すると、そのトレースイベントがカメラ21のRAM25に記録される。ここで、RAM25は、リングバッファになっており、常に最新のトレースイベントが記録される。
Hereinafter, specific examples will be described.
When a trace event described later occurs during the operation of the camera 21, the trace event is recorded in the RAM 25 of the camera 21. Here, the RAM 25 is a ring buffer, and the latest trace event is always recorded.

カメラ21のRAM25に記録するトレースイベントの種類は、例えば、次の10種類である。   The types of trace events recorded in the RAM 25 of the camera 21 are, for example, the following ten types.

(1) FA機器制御装置11のCPU12からのコマンドイベント
(2) カメラ21のCPU23からイメージセンサへのコマンドイベント
(3) トリガ入力オンイベント
(4) トリガ入力オフイベント
(5) 撮像開始イベント
(6) 画像転送開始イベント
(7) 画像転送完了イベント
(8) イメージセンサ温度情報イベント
(9) エラーイベント
(10)不具合発生時の撮像画像
(1) Command event from CPU 12 of FA device controller 11
(2) Command event from the CPU 23 of the camera 21 to the image sensor
(3) Trigger input on event
(4) Trigger input off event
(5) Imaging start event
(6) Image transfer start event
(7) Image transfer completion event
(8) Image sensor temperature information event
(9) Error event
(10) Captured image at the time of malfunction

上記(1) 〜(10)のトレースイベントの全てをトレースログとして記録するのではなく、FA機器制御装置11のCPU12からの指示で選択できるようにしても良い。カメラ21の電源投入時は、イニシャル処理により、上記(1) 〜(10)の全てのトレースイベントが記録対象として選択されるようになっている。   Instead of recording all the trace events (1) to (10) as a trace log, the trace events may be selected by an instruction from the CPU 12 of the FA device control apparatus 11. When the camera 21 is turned on, all the trace events (1) to (10) are selected as recording targets by the initial process.

ここで、FA機器制御装置11のCPU12からのコマンドイベントは、カメラ21がFA機器制御装置11のCPU12からのコマンドを受信したときに発生し、例えば、以下の種類がある。   Here, the command event from the CPU 12 of the FA device control device 11 occurs when the camera 21 receives a command from the CPU 12 of the FA device control device 11, and has the following types, for example.

(a) 撮像開始、停止指示
(b) シャッタスピード設定
(c) カメラゲイン(画像輝度)の設定
(d) 画像データのオフセット設定
(e) フレームレート(画像の転送スピード)の設定
(f) ROI(Region Of Interest:撮像領域)の設定
(g) 動作モードの設定
(h) フラッシュメモリ26へのトレースログの保存指示
(i) フラッシュメモリ26へのトレースログの保存イベント設定指示
(j) トレースイベント取得種類指示
(a) Instruction to start and stop imaging
(b) Shutter speed setting
(c) Camera gain (image brightness) setting
(d) Image data offset setting
(e) Setting the frame rate (image transfer speed)
(f) Setting ROI (Region Of Interest)
(g) Setting the operation mode
(h) Instruction to save trace log to flash memory 26
(i) Instruction to set trace log save event to flash memory 26
(j) Trace event acquisition type instruction

また、カメラ21のCPU23からイメージセンサへのコマンドイベントは、カメラ21のCPU23からイメージセンサへコマンドを送信したときに発生し、例えば、以下の種類がある。   A command event from the CPU 23 of the camera 21 to the image sensor is generated when a command is transmitted from the CPU 23 of the camera 21 to the image sensor. For example, there are the following types.

(h) シャッタスピード設定
(i) カメラゲイン(画像輝度)の設定
(j) ROI(Region Of Interest:撮像領域)の設定
(k) 動作モードの設定
(h) Shutter speed setting
(i) Camera gain (image brightness) setting
(j) Setting of ROI (Region Of Interest)
(k) Operation mode setting

トリガ入力オンイベントは、FA機器制御装置11側からカメラ21に入力されるトリガ信号がオンされたときに発生する。
トリガ入力オフイベントは、FA機器制御装置11側からカメラ21に入力されるトリガ信号がオフされたときに発生する。
The trigger input on event occurs when a trigger signal input to the camera 21 from the FA device control device 11 side is turned on.
The trigger input off event occurs when a trigger signal input to the camera 21 from the FA device control apparatus 11 side is turned off.

撮像開始イベントは、イメージセンサが撮像(露光)を開始するときに発生する。
画像転送開始イベントは、カメラ21からFA機器制御装置11へ画像の転送を開始するときに発生する。
The imaging start event occurs when the image sensor starts imaging (exposure).
The image transfer start event occurs when image transfer from the camera 21 to the FA device control apparatus 11 is started.

画像転送完了イベントは、カメラ21からFA機器制御装置11への画像の転送を完了したときに発生する。
イメージセンサ温度情報イベントは、イメージセンサ温度情報をRAM25に記録するために画像撮像時又は周期的に発生する。
エラーイベントは、カメラ21の内部でエラーが起こったときに発生し、例えば、以下の種類がある。
The image transfer completion event occurs when image transfer from the camera 21 to the FA device control apparatus 11 is completed.
The image sensor temperature information event is generated at the time of image capturing or periodically in order to record the image sensor temperature information in the RAM 25.
An error event occurs when an error occurs inside the camera 21 and includes, for example, the following types.

(l) FA機器制御装置11との間の通信エラー
(m) イメージセンサ温度エラー(過昇温)
(n) 冷却ファン停止エラー
(o) ROI計算エラー
(l) Communication error with FA device controller 11
(m) Image sensor temperature error (overheating)
(n) Cooling fan stop error
(o) ROI calculation error

いずれかのエラーイベントが発生した場合は、トレースログを自動的にフラッシュメモリ26に保存する。
また、1つのトレースイベントで記録する情報は、例えば、以下の種類がある。
If any error event occurs, the trace log is automatically saved in the flash memory 26.
The information recorded in one trace event includes the following types, for example.

(p) タイムスタンプ
(q) タスクID番号
(r) メッセージ
(s) 汎用パラメータ1
(t) 汎用パラメータ2
(p) Time stamp
(q) Task ID number
(r) Message
(s) General-purpose parameter 1
(t) General-purpose parameter 2

また、RAM25に記録したトレースログをフラッシュメモリ26に保存するタイミングは、例えば、以下の種類がある。
(u) FA機器制御装置11側からの指示
(v) エラーイベント発生時
(w) 任意のイベント発生時
ここで、任意のイベント発生時は、FA機器制御装置11側からイベントの種類を設定できるようになっている。
Moreover, the timing which preserve | saves the trace log recorded on RAM25 in the flash memory 26 has the following types, for example.
(u) Instruction from FA device controller 11 side
(v) When an error event occurs
(w) When an arbitrary event occurs Here, when an arbitrary event occurs, an event type can be set from the FA device control apparatus 11 side.

また、フラッシュメモリ26への保存中にトレースイベントが発生する場合があるため、RAM25には複数のリングバッファを設け、常にいずれかのリングバッファが動作するようになっている。   Since a trace event may occur during storage in the flash memory 26, the RAM 25 is provided with a plurality of ring buffers, and any one of the ring buffers always operates.

FA機器制御装置11側がトレースログを取得する場合は、FA機器制御装置11側からカメラ21にデータ送信要求を送信し、それに応じて、カメラ21のRAM25(又はフラッシュメモリ26)に記録されているトレースログをFA機器制御装置11側に送信する。   When the FA device control device 11 side acquires the trace log, a data transmission request is transmitted from the FA device control device 11 side to the camera 21 and is recorded in the RAM 25 (or flash memory 26) of the camera 21 accordingly. The trace log is transmitted to the FA device control apparatus 11 side.

ところで、カメラ21に関係する不具合には、カメラ21自身の問題もあるが、カメラ21を制御するFA機器制御装置11側にも問題がある場合もある。その点、本実施例のように、カメラ21自身の動作履歴データと各種信号の送受信履歴データと該カメラ21の各種設定データをRAM25(又はフラッシュメモリ26)に記録するようにすれば、動作不具合発生時の全ての状況を把握することができ、動作不具合の原因がカメラ21自身の動作不良によるものか、FA機器制御装置11側のCPU12から動作指示がカメラケーブル22の断線やコネクタの外れ等でカメラ21側に届いていないのか、或は、外部からのノイズ等による誤動作であるのかを容易に判別でき、カメラ21の動作不具合の原因調査が容易になる。しかも、カメラ21の各種設定データも分かるため、画像処理エラーの原因調査も容易になる。   By the way, the trouble related to the camera 21 has a problem of the camera 21 itself, but there may be a problem also on the FA device control apparatus 11 side that controls the camera 21. In this regard, if the operation history data of the camera 21 itself, the transmission / reception history data of various signals, and the various setting data of the camera 21 are recorded in the RAM 25 (or the flash memory 26) as in the present embodiment, the operation failure will occur. All the conditions at the time of occurrence can be grasped, and the cause of the operation failure is due to the operation failure of the camera 21 itself, or the operation instruction from the CPU 12 on the FA device control device 11 side is disconnection of the camera cable 22, disconnection of the connector, etc. Therefore, it is possible to easily determine whether it has not reached the camera 21 side, or whether it is a malfunction due to external noise or the like, and the cause of the malfunction of the camera 21 can be easily investigated. In addition, since various setting data of the camera 21 is also known, it is easy to investigate the cause of the image processing error.

また、FA機器からカメラ21を取り外すことなく、組付状態でトレースログを解析することができるため、カメラ21の動作不具合の原因調査を組付状態で容易に行うことができる。また、工場出荷後に発生した異常で、現地での原因解析ができないような場合には、フラッシュメモリ26に保存された各種データを取得することで、工場からでも詳細な原因解析が可能となる。   Further, since the trace log can be analyzed in the assembled state without removing the camera 21 from the FA device, the cause investigation of the malfunction of the camera 21 can be easily performed in the assembled state. Further, in the case where the cause analysis cannot be performed at the site due to an abnormality that has occurred after shipment from the factory, the detailed cause analysis can be performed even from the factory by acquiring various data stored in the flash memory 26.

11…FA機器制御装置、12…CPU、13…記憶装置、21…カメラ、23…CPU、24…ROM、25…RAM、26…フラッシュメモリ   DESCRIPTION OF SYMBOLS 11 ... FA apparatus control apparatus, 12 ... CPU, 13 ... Storage device, 21 ... Camera, 23 ... CPU, 24 ... ROM, 25 ... RAM, 26 ... Flash memory

Claims (6)

撮像対象物を撮像するFA機器用カメラにおいて、
該カメラには、CPUと書き換え可能なメモリを搭載し、該カメラとFA機器側の制御装置との間で各種信号を送受信するように構成し、
前記CPUは、該カメラ自身の動作履歴データと前記各種信号の送受信履歴データと該カメラの各種設定データを前記書き換え可能なメモリに記録することを特徴とするFA機器用カメラ。
In an FA device camera for imaging an imaging object,
The camera is equipped with a CPU and a rewritable memory, and is configured to transmit and receive various signals between the camera and the control device on the FA device side,
The camera for FA equipment, wherein the CPU records operation history data of the camera itself, transmission / reception history data of the various signals, and various setting data of the camera in the rewritable memory.
前記各種信号の送受信履歴データには、前記FA機器側の制御装置からの動作指示の履歴データが含まれることを特徴とする請求項1に記載のFA機器用カメラ。   The FA device camera according to claim 1, wherein the transmission / reception history data of the various signals includes operation instruction history data from the control device on the FA device side. 前記FA機器側の制御装置は、該カメラから送信されてくる撮像画像に問題があった場合に、その時の画像データとその画像撮像時の前記各種設定データを前記書き換え可能なメモリに記録させるように該カメラに指示することを特徴とする請求項1又は2に記載のFA機器用カメラ。   When there is a problem with the captured image transmitted from the camera, the control device on the FA device side records the image data at that time and the various setting data at the time of image capturing in the rewritable memory. The FA device camera according to claim 1, wherein the camera is instructed to the camera. 前記書き換え可能なメモリには、前記FA機器側の制御装置の情報も記録されることを特徴とする請求項1乃至3のいずれかに記載のFA機器用カメラ。   The FA device camera according to any one of claims 1 to 3, wherein the rewritable memory also records information of the control device on the FA device side. 前記書き換え可能なメモリに記録された画像撮像時の前記各種データは、所定時期に前記FA機器側の制御装置に送信されて該制御装置の記憶装置に保存されることを特徴とする請求項1乃至4のいずれかに記載のFA機器用カメラ。   2. The various data at the time of image capturing recorded in the rewritable memory is transmitted to a control device on the FA device side at a predetermined time and stored in a storage device of the control device. Camera for FA apparatus in any one of thru | or 4. 前記書き換え可能なメモリは、RAMと書き換え可能な不揮発性メモリとから成り、
該カメラ自身の動作履歴データと前記各種信号の送受信履歴データと該カメラの各種設定データは一時的に前記RAMに記録され、所定のデータ保存要求が発生した時に前記RAMの記録データが前記書き換え可能な不揮発性メモリに書き込まれることを特徴とする請求項1乃至5のいずれかに記載のFA機器用カメラ。
The rewritable memory includes a RAM and a rewritable nonvolatile memory,
The operation history data of the camera itself, the transmission / reception history data of the various signals, and the various setting data of the camera are temporarily recorded in the RAM, and the recorded data in the RAM can be rewritten when a predetermined data storage request occurs. 6. The FA device camera according to claim 1, wherein the camera is written in a non-volatile memory.
JP2010168830A 2010-07-28 2010-07-28 Camera for FA equipment Active JP5435804B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2010168830A JP5435804B2 (en) 2010-07-28 2010-07-28 Camera for FA equipment
PCT/JP2011/059234 WO2012014534A1 (en) 2010-07-28 2011-04-14 Camera for industrial machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010168830A JP5435804B2 (en) 2010-07-28 2010-07-28 Camera for FA equipment

Publications (2)

Publication Number Publication Date
JP2012029254A true JP2012029254A (en) 2012-02-09
JP5435804B2 JP5435804B2 (en) 2014-03-05

Family

ID=45529758

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010168830A Active JP5435804B2 (en) 2010-07-28 2010-07-28 Camera for FA equipment

Country Status (2)

Country Link
JP (1) JP5435804B2 (en)
WO (1) WO2012014534A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11129320B2 (en) 2015-10-28 2021-09-21 Fuji Corporation Feeder trace log saving system
WO2023105619A1 (en) * 2021-12-07 2023-06-15 株式会社Fuji Component mounting machine and method for manufacturing board

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3496382A4 (en) 2016-08-02 2020-04-01 Fuji Corporation Head separation type camera and working machine

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000032438A (en) * 1998-07-09 2000-01-28 Matsushita Electric Ind Co Ltd Monitoring camera system
JP2006048398A (en) * 2004-08-05 2006-02-16 Fujitsu Ltd Robot management apparatus
JP2006166287A (en) * 2004-12-10 2006-06-22 Matsushita Electric Ind Co Ltd Audio broadcasting apparatus and history data processing method thereof
JP2006210531A (en) * 2005-01-26 2006-08-10 Fuji Mach Mfg Co Ltd Image recognition device of component mounting machine

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000032438A (en) * 1998-07-09 2000-01-28 Matsushita Electric Ind Co Ltd Monitoring camera system
JP2006048398A (en) * 2004-08-05 2006-02-16 Fujitsu Ltd Robot management apparatus
JP2006166287A (en) * 2004-12-10 2006-06-22 Matsushita Electric Ind Co Ltd Audio broadcasting apparatus and history data processing method thereof
JP2006210531A (en) * 2005-01-26 2006-08-10 Fuji Mach Mfg Co Ltd Image recognition device of component mounting machine

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11129320B2 (en) 2015-10-28 2021-09-21 Fuji Corporation Feeder trace log saving system
WO2023105619A1 (en) * 2021-12-07 2023-06-15 株式会社Fuji Component mounting machine and method for manufacturing board

Also Published As

Publication number Publication date
JP5435804B2 (en) 2014-03-05
WO2012014534A1 (en) 2012-02-02

Similar Documents

Publication Publication Date Title
CN109196430B (en) Monitoring device and monitoring method
AU2022206794A1 (en) System for transmission and digitization of machine telemetry
JP6896195B1 (en) Control device and image recording method
KR102314069B1 (en) Automation system diagnostic system and method
JP5435804B2 (en) Camera for FA equipment
JP6902051B2 (en) Machine vision methods and systems
JP6922239B2 (en) Process monitoring device, control method and program of process monitoring device
JP2019036862A5 (en) Server equipment, recording methods, programs, and recording systems, as well as information processing equipment
JP6140061B2 (en) Monitoring system
JP7346261B2 (en) Monitoring device, monitoring method, monitoring program, and monitoring system
JP2017041045A (en) Monitoring storage, monitoring information storage apparatus, monitoring storage system, monitoring storage method, and monitoring storage program
US20130135485A1 (en) Electronic apparatus
JP6053790B2 (en) Imaging apparatus and electronic component mounting machine
JP5814668B2 (en) Image processing device
JP6290537B2 (en) Video surveillance system for surveillance camera video recording apparatus and method for confirming health of surveillance camera video recording apparatus in video surveillance system
JP2011109529A (en) Monitoring system, monitoring device, and control method of monitoring system
JP2019175302A (en) Apparatus controller and apparatus control method
JP5277768B2 (en) Analytical apparatus with camera and control program thereof
JP2015204506A (en) camera control system
WO2020250543A1 (en) Management device, management method, management system, computer program, and recording medium
JP2022129404A (en) Monitoring device, monitoring system, monitoring method, and monitoring program
JP2006340059A (en) Monitoring system
TW202246982A (en) Equipment failure image surveillance system comprising a detection device including a sensor module, a processing module and a transmission module, and at least one imaging device including a video recording unit, a storage unit and a transmission unit
JP2019114848A (en) Photographing system, photographing unit, information processing unit, abnormality detection method of photographing unit
JP2015055990A (en) Line monitoring system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130607

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20131017

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20131122

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20131209

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20131209

R150 Certificate of patent or registration of utility model

Ref document number: 5435804

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250