JP2014149779A - Analyzer - Google Patents
Analyzer Download PDFInfo
- Publication number
- JP2014149779A JP2014149779A JP2013019412A JP2013019412A JP2014149779A JP 2014149779 A JP2014149779 A JP 2014149779A JP 2013019412 A JP2013019412 A JP 2013019412A JP 2013019412 A JP2013019412 A JP 2013019412A JP 2014149779 A JP2014149779 A JP 2014149779A
- Authority
- JP
- Japan
- Prior art keywords
- error
- identification information
- storage unit
- information storage
- stored
- 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
Links
Images
Landscapes
- Automatic Analysis And Handling Materials Therefor (AREA)
- Debugging And Monitoring (AREA)
Abstract
Description
本発明は、試料を分析するための分析装置に関し、特に、分析中にタイマ値をカウントするとともに、前記分析装置の電源がオン状態からオフ状態となった場合にタイマ値がリセットされるタイマ部を備えた分析装置に関するものである。 The present invention relates to an analyzer for analyzing a sample, and in particular, a timer unit that counts a timer value during analysis and resets the timer value when the power source of the analyzer is switched from an on state to an off state. The present invention relates to an analyzer equipped with
試料を分析するための分析装置の中には、分析中にエラーが検知された場合に、そのときのエラー情報をエラーログとして記憶しておくことができるようになっているものがある(例えば、下記特許文献1参照)。この種の分析装置においては、分析後にエラーログを確認することにより、エラー解析を行うことができる。 Some analyzers for analyzing a sample can store error information at that time as an error log when an error is detected during analysis (for example, , See Patent Document 1 below). In this type of analyzer, error analysis can be performed by checking the error log after analysis.
エラーログとして、エラーが検知された日時をエラー情報に対応付けて記憶するような構成の場合には、分析後にエラーログを確認する際に、エラーが検知された日時を特定することができるため、エラー解析をより正確に行うことができる。しかしながら、一般的な分析装置には、日時を計測するための機能が備えられておらず、そのような機能を持たせるためにはコストがかかるという問題がある。 When the error log is configured to store the date and time when the error was detected in association with the error information, the date and time when the error was detected can be specified when checking the error log after analysis. Error analysis can be performed more accurately. However, a general analyzer does not have a function for measuring the date and time, and there is a problem that it is expensive to have such a function.
そこで、例えばネットワークを介して分析装置に制御装置が接続されたような構成であれば、制御装置において日時を計測することができる。この場合、分析装置でエラーが検知されたときに、制御装置で計測した日時をエラー情報に対応付けて記憶しておくことが可能である。 Thus, for example, if the control device is connected to the analyzer via a network, the date and time can be measured by the control device. In this case, when an error is detected by the analyzer, the date and time measured by the control device can be stored in association with the error information.
しかしながら、このような構成では、分析装置でエラーが発生した場合に、エラーの種類によっては、分析装置と制御装置との間で通信を行うことができなくなる可能性がある。この場合、エラーが検知された日時をエラー情報に対応付けて記憶することができず、エラー解析を正確に行うことができなくなるおそれがある。 However, in such a configuration, when an error occurs in the analyzer, there is a possibility that communication between the analyzer and the control device cannot be performed depending on the type of error. In this case, the date and time when the error was detected cannot be stored in association with the error information, and the error analysis may not be performed accurately.
一方で、分析装置には、例えばCPU(Central Processing Unit)からなる制御部が備えられ、OS(Operating System)の機能として、タイマ部でタイマ値をカウントすることができるようになっているのが一般的である。このようなタイマ部では、例えば分析装置の電源がオフ状態からオン状態となったときにタイマ値のカウントが開始され、分析装置の電源がオン状態からオフ状態となったときにタイマ値がリセットされるようになっている。 On the other hand, the analyzer is provided with a control unit composed of, for example, a CPU (Central Processing Unit), and as a function of the OS (Operating System), the timer unit can count the timer value. It is common. In such a timer unit, for example, counting of the timer value is started when the power source of the analyzer is switched from the off state to the on state, and the timer value is reset when the power source of the analyzer is switched from the on state to the off state. It has come to be.
図6は、エラーが検知されたときの制御部による処理の従来例を示したフローチャートである。分析装置においてエラーが検知された場合には(ステップS401でYes)、タイマ部のタイマ値が取得されるとともに(ステップS402)、当該エラーの種類に対応するエラー情報が取得される(ステップS403)。そして、取得されたタイマ値及びエラー情報が互いに対応付けられた状態でエラー情報記憶部に記憶される(ステップS404)。 FIG. 6 is a flowchart showing a conventional example of processing by the control unit when an error is detected. When an error is detected in the analyzer (Yes in step S401), the timer value of the timer unit is acquired (step S402), and error information corresponding to the error type is acquired (step S403). . Then, the acquired timer value and error information are stored in the error information storage unit in a state of being associated with each other (step S404).
図7は、エラー情報記憶部にエラー情報を記憶する際の態様の従来例を示した図である。図7では、エラー情報の一例として、エラーの種類に対応付けられたエラーコードが、タイマ部のタイマ値に対応付けて記憶される場合について説明する。 FIG. 7 is a diagram showing a conventional example of an aspect when error information is stored in the error information storage unit. In FIG. 7, as an example of error information, a case where an error code associated with an error type is stored in association with a timer value of a timer unit will be described.
エラー情報記憶部には、エラーが検知される度に、エラー情報としてのエラーコードが順次に記憶される。エラー情報記憶部は、例えば不揮発性メモリにより構成されており、分析装置の電源がオン状態からオフ状態となった場合でも、エラーコードがエラー情報記憶部に記憶された状態のまま維持されるようになっている。 The error information storage unit sequentially stores error codes as error information each time an error is detected. The error information storage unit is configured by, for example, a non-volatile memory so that the error code is maintained in the state stored in the error information storage unit even when the power supply of the analyzer is turned off. It has become.
図7に示した例では、タイマ値が40000msecのときに、当該タイマ値に対応付けてエラーコード「10」がエラー情報記憶部に記憶された後、タイマ値が12000msecのときに、当該タイマ値に対応付けてエラーコード「45」がエラー情報記憶部に記憶されている。このような場合には、タイマ値が40000msecのときにエラーが検知された後、分析装置の電源が一旦オフ状態とされ、その後に電源が再びオン状態とされてタイマ値のカウントが0msecから開始され、タイマ値が12000msecのときにエラーが検知されたことが分かる。 In the example shown in FIG. 7, when the timer value is 40000 msec, the error code “10” is stored in the error information storage unit in association with the timer value, and then the timer value is 12000 msec. The error code “45” is stored in the error information storage unit in association with. In such a case, after an error is detected when the timer value is 40000 msec, the power supply of the analyzer is temporarily turned off, and then the power supply is turned on again, and the count of the timer value starts from 0 msec. It can be seen that an error is detected when the timer value is 12000 msec.
しかしながら、上記のような図7に示した例では、12010msecのタイマ値に対応付けられたエラーコード「30」、及び、14000msecのタイマ値に対応付けられたエラーコード「23」については、タイマ値が12000msecのときにエラーが検知された後、分析装置の電源が一旦オフ状態とされてから検知されたエラーであるか否かを判別することができない。 However, in the example shown in FIG. 7 as described above, for the error code “30” associated with the timer value of 12010 msec and the error code “23” associated with the timer value of 14000 msec, the timer value After the error is detected at 12000 msec, it is not possible to determine whether or not the error is detected after the analyzer is turned off.
すなわち、タイマ値が12000msecのときにエラーが検知されてから10msec後と2000msec後に、それぞれエラーコード「30」及び「23」のエラーが検知されたのか、あるいは、その間に分析装置の電源が一旦オフ状態とされ、その後に電源が再びオン状態とされてタイマ値がリセットされてからエラーが検知されたのかを判別することができない。そのため、当該判別を誤った場合には、エラー解析を正確に行うことができないという問題がある。 That is, whether the error codes “30” and “23” are detected 10 msec and 2000 msec after the error is detected when the timer value is 12000 msec, respectively, or the power supply of the analyzer is temporarily turned off during that time It is impossible to determine whether an error has been detected after the power is turned on again and the timer value is reset. Therefore, there is a problem that if the determination is wrong, error analysis cannot be performed accurately.
本発明は、上記実情に鑑みてなされたものであり、低コストでより正確にエラー解析を行うことができる分析装置を提供することを目的とする。 The present invention has been made in view of the above circumstances, and an object thereof is to provide an analyzer that can perform error analysis more accurately at low cost.
本発明に係る分析装置は、試料を分析するための分析装置であって、分析中にタイマ値をカウントするとともに、前記分析装置の電源がオン状態からオフ状態となった場合にタイマ値がリセットされるタイマ部と、分析中に生じたエラーを検知するためのエラー検知部と、識別情報を記憶するための識別情報記憶部と、不揮発性メモリからなり、前記タイマ値及び前記識別情報に対応付けてエラー情報を記憶可能なエラー情報記憶部と、前記分析装置の電源がオフ状態からオン状態となった後に、前記エラー情報記憶部に最後に記憶されたエラー情報に対応付けられている識別情報を読み出して、予め定められた順序に従って更新し、更新後の識別情報を前記識別情報記憶部に記憶させる識別情報更新処理部と、前記エラー検知部によりエラーが検知された場合に、そのときの前記タイマ部のタイマ値及び前記識別情報記憶部に記憶されている更新後の識別情報に対応付けて、前記エラー情報記憶部にエラー情報を記憶させることができるエラー情報記憶処理部とを備えたことを特徴とする。 An analyzer according to the present invention is an analyzer for analyzing a sample, which counts a timer value during analysis and resets the timer value when the power source of the analyzer is changed from an on state to an off state. A timer unit, an error detection unit for detecting an error generated during analysis, an identification information storage unit for storing identification information, and a non-volatile memory, corresponding to the timer value and the identification information An error information storage unit capable of storing error information, and an identification associated with the error information stored last in the error information storage unit after the power source of the analyzer is turned on from the off state The information is read out and updated according to a predetermined order, and the identification information update processing unit that stores the updated identification information in the identification information storage unit and the error detection unit Is detected, the error information is stored in the error information storage unit in association with the timer value of the timer unit at that time and the updated identification information stored in the identification information storage unit. And an error information storage processing unit capable of performing the processing.
このような構成によれば、タイマ部のタイマ値だけでなく、識別情報記憶部に記憶されている更新後の識別情報も対応付けて、エラー情報をエラー情報記憶部に記憶させることができる。分析装置の電源がオフ状態からオン状態となった後に、エラー情報記憶部に最後に記憶されたエラー情報に対応付けられている識別情報が読み出され、予め定められた順序に従って更新されるため、当該識別情報に基づいて、より正確にエラー解析を行うことができる。 According to such a configuration, error information can be stored in the error information storage unit in association with not only the timer value of the timer unit but also the updated identification information stored in the identification information storage unit. The identification information associated with the error information stored last in the error information storage unit is read and updated according to a predetermined order after the power source of the analyzer is turned on from the off state. Based on the identification information, error analysis can be performed more accurately.
すなわち、分析装置の電源が一旦オフ状態とされ、その後に電源が再びオン状態とされてタイマ値がリセットされてからエラーが検知された場合には、更新後の識別情報に対応付けてエラー情報を記憶させることができるため、当該識別情報を確認することにより、分析装置の電源がオン状態のまま続けてエラーが検知された場合と明確に判別することができる。 That is, if an error is detected after the analyzer is turned off and then turned on again and the timer value is reset, the error information is associated with the updated identification information. Therefore, by confirming the identification information, it is possible to clearly discriminate from the case where an error is detected while the power source of the analyzer is kept on.
また、分析装置の電源がオン状態からオフ状態となった場合にタイマ値がリセットされるようなタイマ部は、一般的な分析装置にもともと備えられているため、当該タイマ部を用いることにより、コストが高くなるのを防止することができる。したがって、低コストでより正確にエラー解析を行うことができる。 In addition, since the timer unit that resets the timer value when the power source of the analyzer is turned off from the on state is originally provided in a general analyzer, by using the timer unit, An increase in cost can be prevented. Therefore, error analysis can be performed more accurately at a low cost.
特に、識別情報が予め定められた順序に従って更新されるため、当該識別情報を確認することにより、エラー情報記憶部にエラー情報が記憶された順序を明確に判別することができる。したがって、識別情報が不規則に更新されるような構成と比較して、より正確にエラー解析を行うことができる。 In particular, since the identification information is updated according to a predetermined order, it is possible to clearly determine the order in which the error information is stored in the error information storage unit by checking the identification information. Therefore, error analysis can be performed more accurately as compared with a configuration in which identification information is irregularly updated.
また、エラー情報記憶部に最後に記憶されたエラー情報に対応付けられている識別情報が読み出され、予め定められた順序に従って更新されるため、仮に分析装置の電源がオン状態の間にエラーが検知されなかった場合でも、次に電源がオン状態となった場合には、同一の識別情報が用いられることとなる。したがって、必要以上に識別情報が更新されて、エラー情報記憶部にエラー情報が記憶された順序が不明確になるのを防止することができる。 In addition, since the identification information associated with the error information stored last in the error information storage unit is read and updated according to a predetermined order, an error may occur while the analyzer is powered on. Even when no power is detected, the same identification information will be used when the power is turned on next time. Therefore, it is possible to prevent the identification information from being updated more than necessary and the order in which the error information is stored in the error information storage unit from becoming unclear.
前記エラー情報記憶部が、リングバッファからなるものであってもよい。 The error information storage unit may be a ring buffer.
このような構成によれば、エラー情報がタイマ値及び識別情報に対応付けてリングバッファに記憶される。エラー情報記憶部がリングバッファからなる場合には、エラー情報が記憶された順序が判別しにくくなるが、本発明のように識別情報に対応付けてエラー情報を記憶することにより、エラー情報が記憶された順序を明確に判別することができるため、より正確にエラー解析を行うことができる。 According to such a configuration, error information is stored in the ring buffer in association with the timer value and the identification information. When the error information storage unit is a ring buffer, it is difficult to determine the order in which the error information is stored. However, the error information is stored by associating the error information with the identification information as in the present invention. Since it is possible to clearly determine the order in which errors are made, error analysis can be performed more accurately.
前記識別情報記憶部が、揮発性メモリからなるものであってもよい。 The identification information storage unit may be a volatile memory.
このような構成によれば、分析装置の電源がオン状態からオフ状態となったときに、識別情報記憶部に記憶されている識別情報が自動的に消去される。したがって、分析装置の電源がオフ状態とされたときに、識別情報記憶部に記憶されている識別情報を消去するための処理を行う必要がなく、低コストで効率的に識別情報を用いた処理を行うことができる。 According to such a configuration, the identification information stored in the identification information storage unit is automatically deleted when the power source of the analyzer is changed from the on state to the off state. Therefore, there is no need to perform processing for deleting the identification information stored in the identification information storage unit when the power of the analyzer is turned off, and processing using the identification information efficiently at low cost It can be performed.
前記識別情報更新処理部は、前記分析装置の電源がオフ状態からオン状態となったときに識別情報を更新し、前記識別情報記憶部に記憶させるものであってもよい。この場合、前記エラー情報記憶処理部は、前記分析装置の電源がオン状態の間、前記エラー検知部によりエラーが検知される度に前記識別情報記憶部から更新後の同一の識別情報を読み出し、当該識別情報に対応付けて前記エラー情報記憶部にエラー情報を記憶させるものであってもよい。 The identification information update processing unit may update the identification information when the power source of the analyzer is switched from an off state to an on state, and store the identification information in the identification information storage unit. In this case, the error information storage processing unit reads the updated identification information from the identification information storage unit every time an error is detected by the error detection unit while the analysis apparatus is powered on, The error information may be stored in the error information storage unit in association with the identification information.
このような構成によれば、分析装置の電源がオン状態の間に続けて検知されたエラーについては、同一の識別情報に対応付けてエラー情報がエラー情報記憶部に記憶される。したがって、当該識別情報を確認することにより、分析装置の電源がオン状態の間に続けて検知されたエラーであるか否かを明確に判別することができるため、さらに正確にエラー解析を行うことができる。 According to such a configuration, error information stored in the error information storage unit is associated with the same identification information for errors detected continuously while the power supply of the analyzer is on. Therefore, by checking the identification information, it is possible to clearly determine whether or not the error is continuously detected while the power supply of the analyzer is on, so that error analysis can be performed more accurately. Can do.
本発明によれば、タイマ部のタイマ値だけでなく、識別情報記憶部に記憶されている更新後の識別情報も対応付けて、エラー情報がエラー情報記憶部に記憶されるため、当該識別情報に基づいて、より正確にエラー解析を行うことができる。また、本発明によれば、分析装置の電源がオン状態からオフ状態となった場合にタイマ値がリセットされるようなタイマ部が用いられるため、低コストでエラー解析を行うことができる。 According to the present invention, the error information is stored in the error information storage unit in association with not only the timer value of the timer unit but also the updated identification information stored in the identification information storage unit. Based on this, error analysis can be performed more accurately. Further, according to the present invention, since the timer unit is used so that the timer value is reset when the power supply of the analyzer is changed from the on state to the off state, error analysis can be performed at low cost.
図1は、本発明の一実施形態に係る分析装置の構成例を示したブロック図である。本実施形態に係る分析装置では、試料の分析中にエラーが検知された場合に、そのときのエラー情報をエラーログとして記憶しておくことにより、分析後にエラーログを確認してエラー解析を行うことができるようになっている。 FIG. 1 is a block diagram illustrating a configuration example of an analyzer according to an embodiment of the present invention. In the analyzer according to the present embodiment, when an error is detected during the analysis of the sample, the error information at that time is stored as an error log, so that the error log is confirmed after the analysis and the error analysis is performed. Be able to.
この分析装置には、例えば制御部1、識別情報記憶部2、エラー情報記憶部3及び電源スイッチ4などが備えられている。制御部1は、例えばCPU(Central Processing Unit)を含む構成であり、当該CPUがプログラムを実行することにより、タイマ部11、エラー検知部12、エラー情報記憶処理部13及び識別情報更新処理部14などの各種機能部として機能するようになっている。
This analyzer includes, for example, a control unit 1, an identification
識別情報記憶部2は、例えばSDRAM(Synchronous Dynamic Random Access Memory)などの揮発性メモリからなり、識別情報を記憶することができる。識別情報としては、例えば数字(識別番号)を用いることができるが、これに限らず、アルファベットなどの他の各種識別情報を用いることができる。また、識別情報記憶部2は、例えばRAM(Random Access Memory)などのSDRAM以外の揮発性メモリにより構成されていてもよいし、不揮発性メモリにより構成されていてもよい。
The identification
エラー情報記憶部3は、例えばEEPROM(Electrically Erasable and Programmable Read Only Memory)などの不揮発性メモリからなり、エラー情報を記憶することができる。エラー情報記憶部3が不揮発性メモリにより構成されているため、分析装置の電源がオン状態からオフ状態となった場合でも、エラー情報がエラー情報記憶部3に記憶された状態のまま維持されるようになっている。 The error information storage unit 3 includes a nonvolatile memory such as an EEPROM (Electrically Erasable and Programmable Read Only Memory), and can store error information. Since the error information storage unit 3 is composed of a non-volatile memory, the error information is maintained in the state stored in the error information storage unit 3 even when the power source of the analyzer is turned off. It is like that.
本実施形態では、エラー情報記憶部3がリングバッファにより構成されており、一定数を上限としてエラー情報を記憶することができるようになっている。エラー情報記憶部3に上限までエラー情報が記憶されている状態で、新たにエラー情報が記憶される場合には、エラー情報記憶部3に記憶されているエラー情報のうち、最初に記憶されたエラー情報が消去されることとなる。 In this embodiment, the error information storage unit 3 is configured by a ring buffer, and error information can be stored with a certain number as an upper limit. When error information is newly stored in the state where the error information is stored up to the upper limit in the error information storage unit 3, the error information stored in the error information storage unit 3 is stored first. The error information will be deleted.
エラー情報としては、当該分析装置において検知されるエラーの種類に対応付けられたエラーコードを用いることができる。ただし、エラーコードに限らず、エラーに関する他の各種情報をエラー情報として用いることができる。エラー情報記憶部3は、例えばフラッシュROM(Read Only Memory)などのEEPROM以外の不揮発性メモリにより構成されていてもよい。また、エラー情報記憶部3は、リングバッファにより構成されるものに限らない。 As the error information, an error code associated with the type of error detected by the analyzer can be used. However, not only the error code but also various other information related to the error can be used as the error information. The error information storage unit 3 may be configured by a nonvolatile memory other than an EEPROM such as a flash ROM (Read Only Memory). The error information storage unit 3 is not limited to a ring buffer.
電源スイッチ4は、当該分析装置の電源をオン状態とオフ状態との間で切り替えるためのものであり、自動又は手動で切替可能である。電源スイッチ4が切り替えられた場合には、その旨の信号が制御部1に入力され、当該信号に基づいて制御部1が処理を行うことができるようになっている。 The power switch 4 is for switching the power supply of the analyzer between an on state and an off state, and can be switched automatically or manually. When the power switch 4 is switched, a signal to that effect is input to the control unit 1, and the control unit 1 can perform processing based on the signal.
タイマ部11は、例えばOS(Operating System)の機能としてタイマ値をカウントするものであり、電源スイッチ4がオフ状態からオン状態となった場合にタイマ値のカウントを開始し、電源スイッチ4がオン状態からオフ状態となった場合にタイマ値がリセットされるようになっている。分析中は、タイマ部11によりタイマ値がカウントされ、そのタイマ値がエラー情報記憶処理部13に入力される。
The
ただし、タイマ部11は、制御部1により構成されるものに限らず、例えば制御部1とは分離して設けられたカウンタなどにより構成されていてもよい。また、タイマ部11は、分析中にタイマ値をカウントすることができ、電源スイッチ4がオン状態からオフ状態となった場合にタイマ値がリセットされるものであればよく、電源スイッチ4がオン状態になると同時にタイマ値のカウントが開始されるような構成に限られるものではない。
However, the
エラー検知部12は、分析中にエラーを検知するための処理を行う。エラー検知部12には、当該分析装置に備えられた分析中に動作する各部(図示せず)から信号が入力されるようになっている。エラー検知部12では、検知したエラーの種類が特定され、その種類に応じたエラー情報(例えば、エラーコード)がエラー情報記憶処理部13に入力される。
The
エラー情報記憶処理部13は、エラー検知部12によりエラーが検知された場合に、そのときのタイマ部11のタイマ値に対応付けて、エラー情報記憶部3にエラー情報を記憶させる。本実施形態では、タイマ部11のタイマ値だけでなく、識別情報記憶部2に記憶されている識別情報も対応付けて、エラー情報記憶部3にエラー情報を記憶させることができるようになっている。すなわち、エラー情報記憶部3は、タイマ値及び識別情報に対応付けてエラー情報を記憶可能となっている。
When the
識別情報更新処理部14は、エラー情報記憶部3に記憶されている識別情報を読み出して、予め定められた順序に従って更新し、更新後の識別情報を識別情報記憶部2に記憶させる。例えば、識別情報として数字(識別番号)が用いられる場合には、数字の順序に従って、昇順で識別情報が更新されるような構成であってもよい。
The identification information
ただし、識別情報は、予め定められた順序に従って更新され、その順序が分かりやすいものであれば、昇順で更新されるものに限らず、例えば降順などの他の順序で更新されるような構成であってもよい。また、識別情報は、その種類に応じた任意の順序に従って更新させることができ、例えば識別情報としてアルファベットが用いられる場合には、アルファベットの順序に従って識別情報を更新することができる。 However, the identification information is updated according to a predetermined order. If the order is easy to understand, the identification information is not limited to being updated in ascending order, but may be updated in another order such as descending order. There may be. Further, the identification information can be updated according to an arbitrary order according to the type. For example, when alphabets are used as the identification information, the identification information can be updated according to the alphabetical order.
図2は、電源スイッチ4がオフ状態からオン状態となったときの制御部1による処理の一例を示したフローチャートである。本実施形態では、電源スイッチ4がオフ状態からオン状態となったときに(ステップS101でYes)、エラー情報記憶部3に最後に記憶されたエラー情報に対応付けられている識別情報が読み出されるようになっている(ステップS102)。すなわち、エラー情報に対応付けてエラー情報記憶部3に記憶されている識別情報のうち、上記予め定められた順序において最後となる識別情報が読み出されることとなる。 FIG. 2 is a flowchart showing an example of processing by the control unit 1 when the power switch 4 is turned on from the off state. In the present embodiment, when the power switch 4 changes from the off state to the on state (Yes in step S101), the identification information associated with the error information stored last in the error information storage unit 3 is read out. (Step S102). That is, among the identification information stored in the error information storage unit 3 in association with the error information, the last identification information in the predetermined order is read out.
そして、読み出された識別情報が予め定められた順序に従って更新され、更新後の識別情報が識別情報記憶部2に記憶される(ステップS103)。ただし、電源スイッチ4がオフ状態からオン状態となったときに限らず、電源スイッチ4がオフ状態からオン状態となった後、別のタイミングで識別情報が更新され、更新後の識別情報が識別情報記憶部2に記憶されるような構成であってもよい。
Then, the read identification information is updated according to a predetermined order, and the updated identification information is stored in the identification information storage unit 2 (step S103). However, not only when the power switch 4 changes from the off state to the on state, after the power switch 4 changes from the off state to the on state, the identification information is updated at another timing, and the updated identification information is identified. The configuration may be such that it is stored in the
図3は、タイマ部11のタイマ値に対応付けてエラー情報を記憶する際の制御部1による処理の一例を示したフローチャートである。本実施形態では、識別情報記憶部2に記憶されている更新後の識別情報に対応付けて、エラー情報記憶部3にエラー情報が記憶されるようになっている。
FIG. 3 is a flowchart showing an example of processing by the control unit 1 when storing error information in association with the timer value of the
エラー検知部12によりエラーが検知された場合には(ステップS201でYes)、タイマ部11のタイマ値が取得されるとともに(ステップS202)、当該エラーの種類に対応するエラー情報が取得される(ステップS203)。このとき、識別情報記憶部2に記憶されている更新後の識別情報も取得され(ステップS204)、取得されたタイマ値、識別情報及びエラー情報が互いに対応付けられた状態でエラー情報記憶部3に記憶される(ステップS205)。
When an error is detected by the error detection unit 12 (Yes in step S201), the timer value of the
本実施形態では、分析装置の電源がオン状態の間、エラー検知部12によりエラーが検知される度に(ステップS201でYes)、識別情報記憶部2から更新後の同一の識別情報が読み出され(ステップS204)、当該識別情報に対応付けてエラー情報記憶部3にエラー情報が記憶されるようになっている(ステップS205)。
In the present embodiment, the updated identification information is read from the identification
図4は、エラー情報記憶部3にエラー情報を記憶する際の態様の一例を示した図である。図4では、エラー情報の一例であるエラーコード、及び、識別情報の一例である識別番号が、タイマ部11のタイマ値に対応付けて記憶される場合について説明する。タイマ部11は、1msec単位でタイマ値をカウントするようになっている。ただし、タイマ部11がタイマ値をカウントする単位は、1msec単位に限られるものではなく、任意の単位に設定することができる。
FIG. 4 is a diagram showing an example of a mode when error information is stored in the error information storage unit 3. FIG. 4 illustrates a case where an error code, which is an example of error information, and an identification number, which is an example of identification information, are stored in association with the timer value of the
分析装置の電源が一旦オフ状態とされ、その後に電源が再びオン状態とされた場合には、予め定められた順序(この例では、昇順)で更新された識別番号が識別情報記憶部2に記憶されるため、エラーが検知されたときに識別情報記憶部2から読み出されてエラー情報記憶部3に記憶される識別番号が変化することとなる。したがって、図4に示した例では、識別番号「6」に対応付けられたエラーコード「10」と識別番号「7」に対応付けられたエラーコード「45」との間、及び、識別番号「7」に対応付けられたエラーコード「45」と識別番号「8」に対応付けられたエラーコード「30」との間で、それぞれ分析装置の電源が一旦オフ状態とされていると判別することができる。
When the power supply of the analyzer is once turned off and then turned on again, the identification numbers updated in a predetermined order (in this example, ascending order) are stored in the identification
これに対して、電源がオン状態のときにエラーが複数回検知された場合には、識別情報記憶部2から同一の識別番号が読み出されるため、エラー情報記憶部3に記憶される識別番号が変化しない。したがって、図4に示した例では、識別番号「8」に対応付けられたエラーコード「30」と識別番号「8」に対応付けられたエラーコード「23」との間では、分析装置の電源がオフ状態とされていないと判別することができる。
On the other hand, when an error is detected a plurality of times when the power is on, the same identification number is read from the identification
このように、本実施形態では、タイマ部11のタイマ値だけでなく、識別情報記憶部2に記憶されている更新後の識別番号も対応付けて、エラーコードをエラー情報記憶部3に記憶させることができる。分析装置の電源がオフ状態からオン状態となった後に、エラー情報記憶部3に最後に記憶されたエラーコードに対応付けられている識別番号が読み出され、予め定められた順序に従って更新されるため、当該識別番号に基づいて、より正確にエラー解析を行うことができる。
Thus, in the present embodiment, not only the timer value of the
すなわち、分析装置の電源が一旦オフ状態とされ、その後に電源が再びオン状態とされてタイマ値がリセットされてからエラーが検知された場合には、図4に示す例における識別番号「7」に対応付けられたエラーコード「45」、及び、識別番号「8」に対応付けられたエラーコード「30」の場合のように、更新後の識別番号に対応付けてエラーコードを記憶させることができる。そのため、当該識別番号を確認することにより、図4に示す例における識別番号「8」に対応付けられたエラーコード「23」の場合のように、分析装置の電源がオン状態のまま続けてエラーが検知された場合と明確に判別することができる。 That is, when an error is detected after the power source of the analyzer is turned off and then turned on again and the timer value is reset, the identification number “7” in the example shown in FIG. As in the case of the error code “45” associated with the error number “30” and the error code “30” associated with the identification number “8”, the error code may be stored in association with the updated identification number. it can. Therefore, by confirming the identification number, the error continues with the analyzer powered on as in the case of the error code “23” associated with the identification number “8” in the example shown in FIG. It can be clearly distinguished from the case where is detected.
また、分析装置の電源がオン状態からオフ状態となった場合にタイマ値がリセットされるようなタイマ部11は、一般的な分析装置にもともと備えられているため、当該タイマ部11を用いることにより、コストが高くなるのを防止することができる。したがって、低コストでより正確にエラー解析を行うことができる。
In addition, since the
特に、識別番号が予め定められた順序に従って更新されるため、当該識別番号を確認することにより、エラー情報記憶部3にエラーコードが記憶された順序を明確に判別することができる。図4の例では、識別番号が昇順で更新されるため、大きい識別番号に対応付けられているエラーコードほど、最近に検知されたエラーであることを判別することができる。したがって、識別番号が不規則に更新されるような構成と比較して、より正確にエラー解析を行うことができる。 In particular, since the identification numbers are updated according to a predetermined order, it is possible to clearly determine the order in which the error codes are stored in the error information storage unit 3 by checking the identification numbers. In the example of FIG. 4, since the identification numbers are updated in ascending order, it is possible to determine that an error code associated with a larger identification number is a recently detected error. Therefore, error analysis can be performed more accurately as compared with a configuration in which the identification number is irregularly updated.
また、エラー情報記憶部3に最後に記憶されたエラーコードに対応付けられている識別番号が読み出され、予め定められた順序に従って更新されるため、仮に分析装置の電源がオン状態の間にエラーが検知されなかった場合でも、次に電源がオン状態となった場合には、同一の識別番号が用いられることとなる。 In addition, since the identification number associated with the error code stored last in the error information storage unit 3 is read and updated according to a predetermined order, the analyzer is temporarily turned on while the power is on. Even when no error is detected, the same identification number is used when the power is turned on next time.
例えば図4において、識別番号「6」に対応付けられたエラーコード「10」が検知された後、分析装置の電源が一旦オフ状態とされ、その後に電源がオン状態とされてからエラーが検知されることなく電源がオフ状態とされた場合には、そのとき更新された識別番号「7」は用いられない。しかし、次に電源がオン状態となりエラー(例えば、エラーコード「45」)が検知された場合には、同一の識別番号「7」が用いられることにより、前回のエラーの際の識別番号「6」に対して連番となる。したがって、必要以上に識別番号が更新されて、エラー情報記憶部3にエラーコードが記憶された順序が不明確になるのを防止することができる。 For example, in FIG. 4, after the error code “10” associated with the identification number “6” is detected, the power of the analyzer is temporarily turned off, and then the error is detected after the power is turned on. If the power is turned off without being performed, the updated identification number “7” at that time is not used. However, when the power is next turned on and an error (for example, error code “45”) is detected, the same identification number “7” is used, so that the identification number “6” in the previous error is used. "Is a sequential number. Therefore, it is possible to prevent the identification number from being updated more than necessary and the order in which the error codes are stored in the error information storage unit 3 from becoming unclear.
また、本実施形態では、エラーコードがタイマ値及び識別番号に対応付けてリングバッファに記憶されるようになっている。エラー情報記憶部3がリングバッファからなる場合には、リングバッファの各記憶領域を循環するようにエラーコードが順次に記憶されるため、エラーコードが記憶された順序が判別しにくくなる。しかし、本実施形態のように、識別番号に対応付けてエラーコードを記憶することにより、エラーコードが記憶された順序を明確に判別することができるため、より正確にエラー解析を行うことができる。 In this embodiment, the error code is stored in the ring buffer in association with the timer value and the identification number. When the error information storage unit 3 is composed of a ring buffer, the error codes are sequentially stored so as to circulate through each storage area of the ring buffer, so that the order in which the error codes are stored becomes difficult to determine. However, since the error codes are stored in association with the identification numbers as in this embodiment, the order in which the error codes are stored can be clearly determined, so that the error analysis can be performed more accurately. .
さらに、本実施形態では、識別情報記憶部2が揮発性メモリにより構成されているため、分析装置の電源がオン状態からオフ状態となったときに、識別情報記憶部2に記憶されている識別番号が自動的に消去される。したがって、分析装置の電源がオフ状態とされたときに、識別情報記憶部2に記憶されている識別番号を消去するための処理を行う必要がなく、低コストで効率的に識別番号を用いた処理を行うことができる。
Furthermore, in this embodiment, since the identification
本実施形態では、分析装置の電源がオン状態の間に続けて検知されたエラーについては、同一の識別番号に対応付けてエラーコードがエラー情報記憶部3に記憶される。例えば図4において、識別番号「8」に対応付けられたエラーコード「30」、及び、識別番号「8」に対応付けられたエラーコード「23」については、同一の識別番号「8」が対応付けられているため、分析装置の電源がオン状態の間に続けて検知されたエラーであると判別することができる。したがって、当該識別番号を確認することにより、分析装置の電源がオン状態の間に続けて検知されたエラーであるか否かを明確に判別することができるため、さらに正確にエラー解析を行うことができる。 In the present embodiment, for errors detected continuously while the power source of the analyzer is on, an error code is stored in the error information storage unit 3 in association with the same identification number. For example, in FIG. 4, the same identification number “8” corresponds to the error code “30” associated with the identification number “8” and the error code “23” associated with the identification number “8”. Therefore, it can be determined that the error is detected continuously while the power supply of the analyzer is on. Therefore, by checking the identification number, it is possible to clearly determine whether or not the error is continuously detected while the power supply of the analyzer is on, so that error analysis can be performed more accurately. Can do.
ただし、識別番号は、全てのエラーコードに対応付けてエラー情報記憶部3に記憶されるような構成に限らず、一部のエラーコードにのみ対応付けてエラー情報記憶部3に記憶されるような構成であってもよい。例えば、分析装置の電源がオフ状態からオン状態になって初めて検知されたエラーについてのみ、そのエラーコードに対応付けて識別番号がエラー情報記憶部3に記憶されるような構成であってもよい。この場合、図4の例におけるエラーコード「23」については、分析装置の電源がオン状態になってから2回目に検知されたエラーであるため、識別番号が対応付けて記憶されないこととなる。 However, the identification number is not limited to the configuration stored in the error information storage unit 3 in association with all error codes, but is stored in the error information storage unit 3 in association with only some error codes. It may be a simple configuration. For example, the configuration may be such that only the error detected for the first time after the power supply of the analyzer is turned on is stored in the error information storage unit 3 in association with the error code. . In this case, since the error code “23” in the example of FIG. 4 is an error detected for the second time after the power of the analyzer is turned on, the identification number is not associated and stored.
図5は、タイマ部11のタイマ値に対応付けてエラー情報を記憶する際の制御部1による処理の変形例を示したフローチャートである。この例では、上記実施形態のように電源スイッチ4がオフ状態からオン状態となったときに識別情報が更新されるのではなく、電源スイッチ4がオフ状態からオン状態になって初めてエラーが検知されたときに、識別情報が更新されるようになっている。
FIG. 5 is a flowchart showing a modification of the processing by the control unit 1 when storing error information in association with the timer value of the
具体的には、エラー検知部12によりエラーが検知された場合に(ステップS301でYes)、電源スイッチ4がオフ状態からオン状態になって初めて検知されたエラーであるか否かが判定される(ステップS302)。そして、電源スイッチ4がオフ状態からオン状態になって初めて検知されたエラーであれば(ステップS302でYes)、エラー情報記憶部3に最後に記憶されたエラー情報に対応付けられている識別情報が読み出される(ステップS303)。 Specifically, when an error is detected by the error detection unit 12 (Yes in step S301), it is determined whether or not the error is detected for the first time when the power switch 4 is turned on from the off state. (Step S302). If the error is detected for the first time after the power switch 4 is switched from the off state to the on state (Yes in step S302), the identification information associated with the error information stored last in the error information storage unit 3 Is read (step S303).
読み出された識別情報は、予め定められた順序に従って更新され、更新後の識別情報が識別情報記憶部2に記憶される(ステップS304)。また、タイマ部11のタイマ値が取得されるとともに(ステップS305)、当該エラーの種類に対応するエラー情報が取得される(ステップS306)。このとき、識別情報記憶部2に記憶されている更新後の識別情報も取得され(ステップS307)、取得されたタイマ値、識別情報及びエラー情報が互いに対応付けられた状態でエラー情報記憶部3に記憶される(ステップS308)。
The read identification information is updated according to a predetermined order, and the updated identification information is stored in the identification information storage unit 2 (step S304). In addition, the timer value of the
一方、エラー検知部12により検知されたエラーが、電源スイッチ4がオフ状態からオン状態になって初めて検知されたエラーでない場合には(ステップS302でNo)、ステップS303及びS304の処理は行われず、ステップS305以降の処理が行われる。これにより、分析装置の電源がオン状態の間、エラー検知部12によりエラーが検知される度に識別情報記憶部2から更新後の同一の識別情報が読み出され、当該識別情報に対応付けてエラー情報記憶部3にエラー情報が記憶されることとなる。
On the other hand, when the error detected by the
1 制御部
2 識別情報記憶部
3 エラー情報記憶部
4 電源スイッチ
11 タイマ部
12 エラー検知部
13 エラー情報記憶処理部
14 識別情報更新処理部
DESCRIPTION OF SYMBOLS 1
Claims (4)
分析中にタイマ値をカウントするとともに、前記分析装置の電源がオン状態からオフ状態となった場合にタイマ値がリセットされるタイマ部と、
分析中に生じたエラーを検知するためのエラー検知部と、
識別情報を記憶するための識別情報記憶部と、
不揮発性メモリからなり、前記タイマ値及び前記識別情報に対応付けてエラー情報を記憶可能なエラー情報記憶部と、
前記分析装置の電源がオフ状態からオン状態となった後に、前記エラー情報記憶部に最後に記憶されたエラー情報に対応付けられている識別情報を読み出して、予め定められた順序に従って更新し、更新後の識別情報を前記識別情報記憶部に記憶させる識別情報更新処理部と、
前記エラー検知部によりエラーが検知された場合に、そのときの前記タイマ部のタイマ値及び前記識別情報記憶部に記憶されている更新後の識別情報に対応付けて、前記エラー情報記憶部にエラー情報を記憶させることができるエラー情報記憶処理部とを備えたことを特徴とする分析装置。 An analyzer for analyzing a sample,
A timer unit that counts a timer value during analysis, and that resets the timer value when the power source of the analyzer is turned off.
An error detector for detecting errors that occur during analysis;
An identification information storage unit for storing identification information;
An error information storage unit comprising a non-volatile memory and capable of storing error information in association with the timer value and the identification information;
After the analyzer is turned on from the off state, the identification information associated with the error information stored last in the error information storage unit is read and updated according to a predetermined order, An identification information update processing unit for storing the updated identification information in the identification information storage unit;
When an error is detected by the error detection unit, an error is stored in the error information storage unit in association with the timer value of the timer unit at that time and the updated identification information stored in the identification information storage unit. An analyzer comprising an error information storage processing unit capable of storing information.
前記エラー情報記憶処理部は、前記分析装置の電源がオン状態の間、前記エラー検知部によりエラーが検知される度に前記識別情報記憶部から更新後の同一の識別情報を読み出し、当該識別情報に対応付けて前記エラー情報記憶部にエラー情報を記憶させることを特徴とする請求項1〜3のいずれかに記載の分析装置。 The identification information update processing unit updates the identification information when the power source of the analyzer is turned on from an off state, and stores the identification information in the identification information storage unit.
The error information storage processing unit reads the updated identification information from the identification information storage unit every time an error is detected by the error detection unit while the power of the analyzer is on, and the identification information The analysis apparatus according to claim 1, wherein error information is stored in the error information storage unit in association with the error information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013019412A JP5915560B2 (en) | 2013-02-04 | 2013-02-04 | Analysis equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013019412A JP5915560B2 (en) | 2013-02-04 | 2013-02-04 | Analysis equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2014149779A true JP2014149779A (en) | 2014-08-21 |
JP5915560B2 JP5915560B2 (en) | 2016-05-11 |
Family
ID=51572677
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2013019412A Active JP5915560B2 (en) | 2013-02-04 | 2013-02-04 | Analysis equipment |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5915560B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP3742169A4 (en) * | 2018-01-16 | 2021-10-20 | Hitachi High-Tech Corporation | Specimen processing system |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH11110260A (en) * | 1997-10-07 | 1999-04-23 | Victor Co Of Japan Ltd | Electronic equipment |
JP2009210318A (en) * | 2008-03-03 | 2009-09-17 | Shimadzu Corp | Analyzer |
JP2010186300A (en) * | 2009-02-12 | 2010-08-26 | Toshiba Corp | Network household electrical appliance system |
-
2013
- 2013-02-04 JP JP2013019412A patent/JP5915560B2/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH11110260A (en) * | 1997-10-07 | 1999-04-23 | Victor Co Of Japan Ltd | Electronic equipment |
JP2009210318A (en) * | 2008-03-03 | 2009-09-17 | Shimadzu Corp | Analyzer |
JP2010186300A (en) * | 2009-02-12 | 2010-08-26 | Toshiba Corp | Network household electrical appliance system |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP3742169A4 (en) * | 2018-01-16 | 2021-10-20 | Hitachi High-Tech Corporation | Specimen processing system |
US11543421B2 (en) | 2018-01-16 | 2023-01-03 | Hitachi High-Tech Corporation | Specimen processing system |
Also Published As
Publication number | Publication date |
---|---|
JP5915560B2 (en) | 2016-05-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109558282B (en) | PCIE link detection method, system, electronic equipment and storage medium | |
WO2014086211A1 (en) | Method, system, and touch terminal for updating standard of touch screen | |
CN102750191A (en) | Method for initiating a refresh operation in a solid-state nonvolatile memory device | |
CN108255673B (en) | Method and device for detecting resource occupied by application program and storage medium | |
JP6290303B2 (en) | Circuit and method for testing error correction capability | |
CN107844385B (en) | Variable read-write method and device based on shared memory | |
US20230128016A1 (en) | Debug support program storage medium, debug support apparatus, and debug support method | |
US9786373B2 (en) | EEPROM backup method and device | |
CN101443639B (en) | Electronic scales and method for the operation thereof | |
JP5915560B2 (en) | Analysis equipment | |
CN106980402B (en) | Method and device for judging reset calibration and terminal | |
JP2017036964A5 (en) | ||
CN112637888B (en) | Coverage hole area identification method, device, equipment and readable storage medium | |
CN105264613A (en) | Methods and apparatus for optimizing lifespan of a storage device | |
CN101667130B (en) | Embedded system with authentication, and associated authentication method | |
JP2011154459A (en) | Program abnormal operation detection device for computer system | |
CN110633196A (en) | Automatic use case execution method and device of application program | |
JPWO2018225222A1 (en) | Analysis system, controller and data processing apparatus | |
US9280446B2 (en) | Method for finding all valid interprocedural execution paths on COBOL in polynomial time | |
CN110908701B (en) | Firmware version switching method and device, storage medium and electronic equipment | |
JP7092203B2 (en) | Eligibility automatic judgment system | |
CN108628699B (en) | ECC-based FLASH data exception processing method and device | |
JPWO2019207791A1 (en) | Programmable display system and programmable display | |
KR101956992B1 (en) | Multi core system and method of driving the same | |
CN110879782B (en) | Method, device, equipment and medium for testing gene comparison software |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20150513 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20160229 |
|
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: 20160308 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20160321 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 5915560 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |