[go: up one dir, main page]

JP2007018100A - Log recording device and log recording method - Google Patents

Log recording device and log recording method Download PDF

Info

Publication number
JP2007018100A
JP2007018100A JP2005196669A JP2005196669A JP2007018100A JP 2007018100 A JP2007018100 A JP 2007018100A JP 2005196669 A JP2005196669 A JP 2005196669A JP 2005196669 A JP2005196669 A JP 2005196669A JP 2007018100 A JP2007018100 A JP 2007018100A
Authority
JP
Japan
Prior art keywords
recording
shipment
information
log recording
various information
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.)
Withdrawn
Application number
JP2005196669A
Other languages
Japanese (ja)
Inventor
Atsushi Kida
篤史 木田
Minoru Horiyama
実 堀山
Susumu Kondo
晋 今度
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.)
Denso Ten Ltd
Original Assignee
Denso Ten 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 Denso Ten Ltd filed Critical Denso Ten Ltd
Priority to JP2005196669A priority Critical patent/JP2007018100A/en
Publication of JP2007018100A publication Critical patent/JP2007018100A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Testing And Monitoring For Control Systems (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a log recording device and log recording method capable of easily analyzing a failure. <P>SOLUTION: An EEPROM 9 records various information before shipping a deck unit 2, and a deck control microcomputer 3 records various information of the shipped deck unit 2 and various information before shipping the deck unit 2 on the EEPROM 9 by clearly distinguishing them. Therefore, it is possible to distinguish whether the obstacle of the deck unit 2 happens before its shipment or after its shipment. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、ログ記録装置およびログ記録方法に関し、たとえば車載用機器などの障害解析に好適に適用されるエラーログ記録装置および方法の技術に関する。ただし車載用機器だけに必ずしも限定されるものではない。   The present invention relates to a log recording apparatus and a log recording method, and more particularly to a technique of an error log recording apparatus and method suitably applied to failure analysis of in-vehicle equipment or the like. However, it is not necessarily limited only to in-vehicle equipment.

本発明において「出荷前の各種情報」とは、機器の半製品を、該半製品製造メーカーから機器の完成品メーカーに出荷する前の各種情報、および機器の完成品を、該完成品製造メーカーから販売店等の市場に出荷する前の各種情報を含む。前記半製品製造メーカーと完成品製造メーカーとは、同一メーカーである場合も含む。   In the present invention, “various information before shipment” refers to various information before shipping a semi-finished product of the device from the semi-finished product manufacturer to the finished product manufacturer, and the finished product of the device. Various information before shipping to the market such as a store. The semi-finished product manufacturer and the finished product manufacturer may include the same manufacturer.

本発明において「出荷後の各種情報」とは、機器の半製品を、該半製品製造メーカーから機器の完成品メーカーに出荷した後の各種情報、および機器の完成品を、該完成品製造メーカーから販売店等の市場に出荷した後の各種情報を含む。   In the present invention, “various information after shipment” means various information after shipping a semi-finished product of a device from the semi-finished product manufacturer to a finished product manufacturer, and the finished product of the device. Various information after shipping to a market such as a store.

メーカー出荷後の製品に障害(エラー)が発生したときに、その障害情報を記録する技術が実用に供されている(たとえば特許文献1,2参照)。特許文献1においては、一定時間内に同一エラーが繰り返し発生した場合に、二回目以降のエラーはその発生時刻のみを記録する。これとともにエラーログの記録領域が所定の記録領域まで達すると、予め定める重要度の低い順、もしくは古い順にエラーログを上書きする。   When a failure (error) occurs in a product after shipment from a manufacturer, a technique for recording the failure information has been put into practical use (see, for example, Patent Documents 1 and 2). In Patent Document 1, when the same error repeatedly occurs within a certain time, only the time of occurrence of the second and subsequent errors is recorded. At the same time, when the error log recording area reaches a predetermined recording area, the error log is overwritten in the order of decreasing importance or in the oldest order.

特許文献2においては、エラーが発生した場合に、エラーログとともにそのときの温度および操作量などの制御条件を記録しておき、障害解析を行っている。   In Patent Document 2, when an error occurs, control conditions such as temperature and manipulated variable at that time are recorded together with an error log, and failure analysis is performed.

特開平11−306050号公報Japanese Patent Laid-Open No. 11-306050 特開2000−164499号公報JP 2000-164499 A

特許文献1および2においては、次のような問題(1)および(2)がある。(1)製品の製造工程において発生していたエラーを認識することができない。(2)エラーログの記録領域が所定の記録領域まで達したとき、エラーログが上書き消去されるので、エラーが連続して発生する場合には、記録しておくべきエラーログを恒久的に保存することができない。前述の問題(1)および(2)から、障害の解析が複雑化する。   In Patent Documents 1 and 2, there are the following problems (1) and (2). (1) An error that has occurred in the product manufacturing process cannot be recognized. (2) When the error log recording area reaches the specified recording area, the error log is overwritten and erased. If errors occur continuously, the error log to be recorded is permanently saved. Can not do it. The problem analysis is complicated by the problems (1) and (2).

本発明の目的は、障害の解析が容易になるエラーログ記録装置およびエラーログ記録方法を提供することである。   An object of the present invention is to provide an error log recording apparatus and an error log recording method that make it easy to analyze a failure.

本発明は、機器の動作中またはテスト中における各種情報をログ情報として記録するログ記録装置において、
前記機器の出荷前後における各種情報を記録する記録手段と、
出荷後の前記機器の各種情報と、前記出荷前における各種情報とを峻別して前記記録手段に記録する制御手段とを有することを特徴とするログ記録装置である。
The present invention is a log recording apparatus for recording various information during operation or testing of equipment as log information.
Recording means for recording various information before and after shipment of the device;
A log recording apparatus comprising: control means for distinguishing and recording various information of the device after shipment from the various information before shipment in the recording means.

また本発明は、機器の動作中またはテスト中における各種情報をログ情報として記録するログ記録方法において、
前記機器の出荷前における各種情報を記録する出荷前記録工程と、
出荷後の前記機器の各種情報を、前記出荷前における各種情報と峻別して記録する出荷後記録工程とを有することを特徴とするログ記録方法である。
The present invention also relates to a log recording method for recording various information as log information during operation or testing of a device.
A pre-shipment recording step for recording various types of information before shipment of the device;
A log recording method comprising: a post-shipment recording step of recording various pieces of information of the device after shipment in a manner distinct from the various pieces of information before shipment.

また本発明は、前記出荷前記録工程は複数の段階を含み、前記各種情報は、各段階でのチェック結果を示す情報であり、各段階において記録されることを特徴とする。   According to the present invention, the pre-shipment recording step includes a plurality of stages, and the various information is information indicating a check result at each stage, and is recorded at each stage.

また本発明は、前記各種情報は、機器に対して行われる操作履歴を含むことを特徴とする。
また本発明は、前記操作履歴は、複数の操作間の時間間隔を含むことを特徴とする。
In the invention, it is preferable that the various information includes a history of operations performed on the device.
According to the present invention, the operation history includes a time interval between a plurality of operations.

また本発明は、前記機器は前記不揮発性メモリを除く他の記録媒体を含み、
前記出荷前記録工程において、前記不揮発性メモリの容量が予め定める値に達したとき、該不揮発性メモリに記録されるべき各種情報を、前記記録媒体にバックアップすることを特徴とする。
In the present invention, the device includes a recording medium other than the nonvolatile memory,
In the pre-shipment recording step, when the capacity of the nonvolatile memory reaches a predetermined value, various information to be recorded in the nonvolatile memory is backed up to the recording medium.

本発明によれば、記録手段は、機器の出荷前後における該機器の各種情報を記録する。制御手段は、出荷後の前記機器の各種情報と、前記出荷前の各種情報とを峻別して記録手段に記録するので、次の効果を奏する。記録手段に記録される各種情報から、機器の障害が出荷前に発生したものか、出荷後に発生したものかを区別することができる。これによって障害の解析が容易になる。操作者の操作に起因する障害か、または環境、振動および経年劣化など操作以外の現象に起因する障害かなどを容易に解析することができる。   According to the present invention, the recording means records various information of the device before and after the shipment of the device. Since the control means distinguishes and records the various pieces of information on the device after shipment and the various pieces of information before shipment on the recording means, the following effects can be obtained. From various information recorded in the recording means, it is possible to distinguish whether a device failure has occurred before shipment or has occurred after shipment. This facilitates failure analysis. It is possible to easily analyze whether the failure is caused by the operation of the operator or the failure caused by a phenomenon other than the operation such as environment, vibration and aging.

解析結果から、出荷前に未発生の障害が出荷後に不所望に発生した場合、または出荷前に発生していた障害が出荷後に頻発する場合には、設計変更、部品交換、出荷前における試験条件を変更するなどして、前記障害を低減する対策を講じることが可能となる。障害の解析が容易になることで、その機器を迅速に修理することも可能となる。   From the analysis results, if a failure that has not occurred before shipment occurs undesirably after shipment, or if a failure that occurred before shipment frequently occurs after shipment, the test conditions before design change, parts replacement, and shipment It is possible to take measures to reduce the above-mentioned obstacles, for example, by changing. Since the failure analysis becomes easy, the device can be repaired quickly.

また本発明によれば、出荷前記録工程において、機器の出荷前における各種情報を記録する。出荷後記録工程において、出荷後の機器の各種情報を、前記出荷前の各種情報と峻別して記録するので、次の効果を奏する。機器の障害が出荷前に発生したものか、出荷後に発生したものかを区別することができる。これによって障害の解析が容易になる。その他前記と同様の効果を奏する。   According to the present invention, in the pre-shipment recording step, various types of information before the device is shipped are recorded. In the post-shipment recording step, various information about the device after shipment is recorded separately from the various information before shipment, and the following effects are obtained. It is possible to distinguish whether the failure of the device occurs before shipment or after shipment. This facilitates failure analysis. Other effects similar to those described above are achieved.

また本発明によれば、出荷前記録工程における各段階で、各段階でのチェック結果を示す情報である各種情報が記録される。したがって、より詳細な各種情報を得ることが可能となり、障害解析の容易化を実現することができる。   Further, according to the present invention, at each stage in the pre-shipment recording process, various information that is information indicating the check result at each stage is recorded. Therefore, it becomes possible to obtain more detailed various information, and the failure analysis can be facilitated.

また本発明によれば、各種情報は、機器に対して行われる操作履歴を含むので、該機器の障害に起因する操作を特定することが可能となる。   Further, according to the present invention, since various information includes a history of operations performed on a device, it is possible to specify an operation caused by a failure of the device.

また本発明によれば、前記操作履歴は、複数の操作間の時間間隔を含むので、障害解析をさらに容易に行うことができる。   According to the present invention, the operation history includes time intervals between a plurality of operations, so that failure analysis can be performed more easily.

また本発明によれば、各種情報を、他の記録媒体にバックアップすることで、実効的な記録容量を飛躍的に高めることができる。   Further, according to the present invention, the effective recording capacity can be dramatically increased by backing up various information to other recording media.

以下、図面を参照しながら本発明を実施するための形態を、複数の形態について説明する。各形態で先行する形態で説明している事項に対応している部分には同一の参照符を付し、重複する説明を略する場合がある。また構成の一部のみを説明している場合、構成の他の部分は、先行して説明している形態と同様とする。また実施の各形態で具体的に説明している部分の組合せばかりではなく、特に組合せに支障が生じなければ、実施の形態同士を部分的に組合せることも可能である。   Hereinafter, a plurality of embodiments for carrying out the present invention will be described with reference to the drawings. Portions corresponding to the matters described in the preceding forms in each embodiment are denoted by the same reference numerals, and overlapping description may be omitted. In addition, when only a part of the configuration is described, the other parts of the configuration are the same as those described above. In addition to the combination of parts specifically described in each embodiment, the embodiments may be partially combined as long as the combination is not particularly troublesome.

図1は、本発明の実施形態に係るエラーログ記録装置1の制御系のブロック図である。本実施形態は、エラーログ記録装置として車載用のデッキユニットが適用される。ただし車載用以外の電子機器にも適用可能である。以下の説明は、エラーログ記録方法の説明をも含む。本実施形態では、機器の半製品としてデッキユニット2が適用される。デッキユニット2の出荷後、たとえば、デッキユニットとナビゲーション機能が一体型のナビゲーション装置に組み込まれる。   FIG. 1 is a block diagram of a control system of an error log recording apparatus 1 according to an embodiment of the present invention. In this embodiment, an in-vehicle deck unit is applied as an error log recording device. However, the present invention can also be applied to electronic devices other than those for vehicles. The following description also includes an explanation of the error log recording method. In this embodiment, the deck unit 2 is applied as a semi-finished product. After the deck unit 2 is shipped, for example, the deck unit and the navigation function are incorporated into an integrated navigation device.

機器としてのデッキユニット2は、たとえばデッキ制御マイクロコンピュータ3(デッキ制御マイコン3と称す)、電源4、ピックアップ装置5、駆動回路6、メカスイッチ7、サーマルセンサ8、記録手段としての不揮発性メモリ9、信号処理LSI10、過電流検知回路11、図示外のRFアンプ、D/Aコンバータおよびチェック用ランドなどを有する。デッキ制御マイコン3には、機器の完成品、つまり一体型ナビゲーション装置本体側のマイクロコンピュータ12(ナビゲーション側マイコン12と称す)が電気的に接続され、このナビゲーション側マイコン12に、記録媒体であるハードディスクドライブ13(略称HDD13)が電気的に接続されている。   The deck unit 2 as a device includes, for example, a deck control microcomputer 3 (referred to as a deck control microcomputer 3), a power source 4, a pickup device 5, a drive circuit 6, a mechanical switch 7, a thermal sensor 8, and a nonvolatile memory 9 as a recording means. , A signal processing LSI 10, an overcurrent detection circuit 11, an RF amplifier (not shown), a D / A converter, a check land, and the like. The deck control microcomputer 3 is electrically connected to a finished device, that is, a microcomputer 12 (referred to as the navigation-side microcomputer 12) on the integrated navigation device main body, and a hard disk as a recording medium is connected to the navigation-side microcomputer 12. A drive 13 (abbreviated as HDD 13) is electrically connected.

制御手段としてのデッキ制御マイコン3は、中央演算処理装置(CPU:Central
Processing Unit)とロム(ROM:Read Only Memory )とラム(RAM:Random
Access Memory )とを備えている。前記ロムには、後述するディスク排出処理プログラムおよびエラーログ記録処理プログラムなどが格納されている。これらディスク排出処理、エラーログ記録処理の制御主体は、デッキ制御マイコン3のCPUである。なお第2の実施形態に係るエラーログ記録処理においては、デッキ制御マイコン3およびナビゲーション側マイコン12が制御主体である。
The deck control microcomputer 3 as a control means is a central processing unit (CPU: Central:
Processing Unit), ROM (Read Only Memory) and RAM (RAM: Random)
Access Memory). The ROM stores a disk ejection processing program and an error log recording processing program which will be described later. The control body of these disc ejection processing and error log recording processing is the CPU of the deck control microcomputer 3. Note that in the error log recording process according to the second embodiment, the deck control microcomputer 3 and the navigation side microcomputer 12 are the controlling entities.

図2は、メモリマップを示し、図2(a)は、上書きが許容されるエリア14および上書きが禁止されるエリア15等を詳細に示す図、図2(b)はその他のエリアを詳細に示す図である。前記不揮発性メモリ9には、電気的に消去(書き換え)できるROM(
Electrically Erasable Programmable Read-Only Memory:略称EEPROM)が適用される。デッキユニット2に障害が発生したときに、このデッキユニット2の動作中における各種情報はエラーログ情報としてEEPROM9に記録されるようになっている。
FIG. 2 shows a memory map, FIG. 2 (a) shows details of an area 14 where overwriting is allowed and an area 15 where overwriting is prohibited, and FIG. 2 (b) shows other areas in detail. FIG. The nonvolatile memory 9 includes an electrically erasable (rewritable) ROM (
Electrically Erasable Programmable Read-Only Memory (abbreviated as EEPROM) is applied. When a failure occurs in the deck unit 2, various information during the operation of the deck unit 2 is recorded in the EEPROM 9 as error log information.

デッキユニット2の出荷前、つまり製造工程における各種情報であって、デッキユニット2の重要エラーに関連する各種情報(以下、特定情報という)は、EEPROM9の上書きが禁止されるエリア15に書き込まれる。これが出荷前記録工程に相当する。なお「エラー」、「重要エラー」は、「障害」と同義である。たとえば図示外のデッキ排出機構およびメカスイッチ7がデッキユニット2に格納され、デッキ制御マイコン3に電気的に接続された後に、ディスク排出処理プログラムが実行される。その後、エラーログ記録処理が実行される。このように出荷前の製造工程の各段階において、特定情報は記録される。   Various information related to the important error of the deck unit 2 (hereinafter referred to as specific information) before shipment of the deck unit 2, that is, in the manufacturing process, is written in an area 15 where overwriting of the EEPROM 9 is prohibited. This corresponds to the pre-shipment recording process. “Error” and “important error” are synonymous with “failure”. For example, after a deck ejection mechanism and a mechanical switch 7 (not shown) are stored in the deck unit 2 and electrically connected to the deck control microcomputer 3, the disk ejection processing program is executed. Thereafter, an error log recording process is executed. Thus, the specific information is recorded at each stage of the manufacturing process before shipment.

図3は、デッキユニット2の特定情報を模式的に示す図である。上記特定情報は、特に、EEPROM9の上書きが禁止されるエリア15(上書き禁止の領域)に記録される。仮にディスク排出処理プログラムによって、デッキユニット2に障害が発生したと判断されると、そのチェック結果を示す情報としてチェックコード16が付与された状態で、EEPROM9に記録される。   FIG. 3 is a diagram schematically illustrating specific information of the deck unit 2. In particular, the specific information is recorded in an area 15 (overwrite prohibited area) where overwriting of the EEPROM 9 is prohibited. If it is determined by the disc ejection processing program that a failure has occurred in the deck unit 2, it is recorded in the EEPROM 9 with the check code 16 added as information indicating the check result.

前記ディスク排出処理プログラムの実行によってもディスク排出エラーがなかった場合には、たとえば図3に示すようにチェックコード16として「01」が付与され、ディスク排出エラーがあった場合には、たとえばチェックコード16として「10」が付与される。ディスク排出処理プログラムが実行されないと、チェックコード16が付与されない(たとえばこの領域にデフォルトで「00」が格納された状態を保持する)。チェックコード16が付与されることで、製造工程においてディスク排出処理プログラムが実行されたことが認識される。   If there is no disc ejection error even after execution of the disc ejection processing program, for example, as shown in FIG. 3, "01" is given as the check code 16, and if there is a disc ejection error, for example, the check code “10” is given as 16. If the disc ejection processing program is not executed, the check code 16 is not given (for example, a state where “00” is stored in this area by default is maintained). By adding the check code 16, it is recognized that the disc ejection processing program has been executed in the manufacturing process.

他の特定情報としては、レーザダイオード(LED)の電気的特性、具体的にはLED電流初期値、LED電流最大値およびLED電流最大値時の温度検出電圧がある。デッキ制御マイコン3は、駆動回路6を介してピックアップ装置5のレーザダイオードを駆動する。信号処理LSI10によって、フォーカスエラー信号、トラッキングエラー信号などを得ると、そのときのレーザダイオードの電流値および電圧値のチェック結果を示す情報などがEEPROM9に記録される。温度検出は前記サーマルセンサ8によって行われる。   Other specific information includes the electrical characteristics of the laser diode (LED), specifically the LED current initial value, the LED current maximum value, and the temperature detection voltage at the LED current maximum value. The deck control microcomputer 3 drives the laser diode of the pickup device 5 via the drive circuit 6. When a focus error signal, a tracking error signal, and the like are obtained by the signal processing LSI 10, information indicating the check result of the current value and voltage value of the laser diode at that time is recorded in the EEPROM 9. Temperature detection is performed by the thermal sensor 8.

その他の特定情報としては、MD(Mini Disc)の記録モードの情報、CD(Compact
Disc)のディスク情報、信号処理LSI10の調整値つまりディスク種別によって異なるフォーカスおよびトラッキング調整値、音とびの位置および時間、過電流検知情報などがある。これらのうちの少なくとも一部の情報を、特定情報としてもよい。また前述した情報以外の情報を特定情報とする場合もある。特定情報には、デッキユニット2に対して行われる操作履歴が含まれている。この操作履歴は、デッキユニット2に対して行われる操作時刻を含み、複数の操作間の時間間隔を含む。また特定情報は、EEPROM9に圧縮されて記録されるようになっている。
Other specific information includes MD (Mini Disc) recording mode information, CD (Compact
Disc) disc information, adjustment values of the signal processing LSI 10, that is, focus and tracking adjustment values that differ depending on the disc type, jump position and time, overcurrent detection information, and the like. At least some of these information may be specified information. Information other than the information described above may be used as specific information. The specific information includes a history of operations performed on the deck unit 2. This operation history includes operation times performed on the deck unit 2 and includes time intervals between a plurality of operations. The specific information is compressed and recorded in the EEPROM 9.

デッキユニット2出荷後の当該デッキユニットの障害に関連する情報は、前記出荷前における特定情報と峻別してEEPROM9の上書きが許容されるエリア14に記録される。前記情報は、デッキユニット2に対して行われる操作履歴を含む。この操作履歴は、デッキユニット2に対して行われる操作時刻を含む。   Information related to the failure of the deck unit 2 after shipment of the deck unit 2 is recorded in an area 14 where overwriting of the EEPROM 9 is allowed, distinctly from the specific information before shipment. The information includes a history of operations performed on the deck unit 2. This operation history includes operation times performed on the deck unit 2.

図4は、エラーログ記録処理の一例を概略表すフローチャートである。本例においては、エラーとして、レーザダイオード電流値の異常を判定している。メカスイッチ7がオンとなることにより、このエラーログ記録処理が開始する。開始後ステップk1に移行して、デッキ制御マイコン3のCPUにより、前述のLED電流初期値などをラムに一時的に記録する。次にステップk2に移行して、一時的に記録した値が規定のしきい値以上か否かを判断する。しきい値以上と判断されると本処理を終了する。しきい値未満と判断されると、ステップk3に移行してエラーログ記録処理を実行し、その後本処理を終了する。   FIG. 4 is a flowchart schematically illustrating an example of the error log recording process. In this example, an abnormality in the laser diode current value is determined as an error. The error log recording process starts when the mechanical switch 7 is turned on. After the start, the process proceeds to step k1, and the CPU of the deck control microcomputer 3 temporarily records the aforementioned LED current initial value and the like in the ram. Next, the process proceeds to step k2, and it is determined whether or not the temporarily recorded value is equal to or greater than a prescribed threshold value. If it is determined that the threshold value is exceeded, this process is terminated. If it is determined that the value is less than the threshold value, the process proceeds to step k3 to execute an error log recording process, and then this process is terminated.

図5は、エラーログ記録処理の一例を示すフローチャートである。本例においては、エラーとしてディスク排出不良を検出している。メカスイッチ7がオンとなることにより、ディスク排出処理が開始する。ステップs1において、排出スイッチ(イジェクトスイッチ)が「ON」であるか否かが判断され、「ON」と判断されるとステップs2に移行し、「ON」ではないと判断されるとステップs1に戻る。   FIG. 5 is a flowchart illustrating an example of the error log recording process. In this example, a disk ejection failure is detected as an error. When the mechanical switch 7 is turned on, the disc ejection process starts. In step s1, it is determined whether or not the discharge switch (eject switch) is “ON”. If it is determined “ON”, the process proceeds to step s2, and if it is not “ON”, the process proceeds to step s1. Return.

ステップs2において、ディスク排出用駆動モータによって排出駆動が行われる。次にステップs3に移行して、ディスク排出用駆動モータの駆動信号に基づいて、ディスクの排出が完了したか否かが判断される。前記駆動信号が規定のしきい値以上となって排出完了したものと判断されると、本処理を終了する。前記駆動信号が規定のしきい値未満で排出完了していないと判断されると、ステップs4に移行する。このステップs4において、所定時間t1(t1はたとえば4秒)経過したか否かが判断される。所定時間t1経過していないと判断されると、ステップs3に戻り、所定時間t1経過したと判断されると、エラーログ記録処理に移行する。ただし所定時間t1は、必ずしも4秒に限定されるものではない。   In step s2, the ejection drive is performed by the disk ejection drive motor. Next, the process proceeds to step s3, and it is determined whether or not the disc ejection is completed based on the drive signal of the disc ejection drive motor. When it is determined that the drive signal is equal to or higher than a predetermined threshold value and the discharge is completed, the process is terminated. If it is determined that the drive signal is less than a predetermined threshold value and discharging is not completed, the process proceeds to step s4. In step s4, it is determined whether or not a predetermined time t1 (t1 is 4 seconds, for example) has elapsed. If it is determined that the predetermined time t1 has not elapsed, the process returns to step s3. If it is determined that the predetermined time t1 has elapsed, the process proceeds to an error log recording process. However, the predetermined time t1 is not necessarily limited to 4 seconds.

図6は、エラーログ記録処理の具体的な内容を示すフローチャートである。メカスイッチ7がオンとなることにより、エラーログ記録処理が実行される。先ずステップa1において、前述のように一時的に記録した値が規定のしきい値以上か否かが判断され、しきい値以上つまりエラー発生なしと判断されると本処理を終了する。エラーありと判断されると、ステップa2に移行する。なお、この場合の「エラーあり」とは、ディスク排出が完了せず所定時間経過した場合をいう。   FIG. 6 is a flowchart showing specific contents of the error log recording process. When the mechanical switch 7 is turned on, an error log recording process is executed. First, in step a1, it is determined whether or not the temporarily recorded value is equal to or greater than a predetermined threshold value as described above. When it is determined that the value is equal to or greater than the threshold value, that is, no error has occurred, this process ends. If it is determined that there is an error, the process proceeds to step a2. Note that “error present” in this case refers to the case where a predetermined time has elapsed without completing the disc ejection.

このステップa2において、重要エラーか否かが判断される。製造工程の各段階では、必然的に重要エラーと判断されてステップa3に移行し、フラグがたつ。つまりフラグfが「0」から「1」に切り替わる。その後ステップa4(1)に移行する。デッキユニット2出荷後ではこのステップa2において、発生したエラーは重要エラーではないと判断され、ステップa3を経由することなく、ステップa4(1)に移行する。デッキユニット2出荷後においては、イグニッションスイッチをオンにし、かつ前記電源4がオンとなる条件で、本エラーログ記録処理が実行される。   In step a2, it is determined whether or not there is an important error. At each stage of the manufacturing process, it is inevitably determined that an important error has occurred, and the process proceeds to step a3, where a flag is set. That is, the flag f is switched from “0” to “1”. Thereafter, the process proceeds to step a4 (1). After shipment of the deck unit 2, it is determined in step a2 that the error that has occurred is not an important error, and the process proceeds to step a4 (1) without going through step a3. After the deck unit 2 is shipped, the error log recording process is executed under the condition that the ignition switch is turned on and the power supply 4 is turned on.

ステップa4(1)において、EEPROM9の所定エリアの空き容量の有無が判断される。空き容量なしと判断されると、ステップa5(1)に移行し、最も古いイベントおよびエラーログを消去して、記録されるべき空き容量を準備し、ステップa6(1)に移行する。空き容量ありと判断されると、ステップa6(1)に移行する。このステップa6(1)において、記録されるべきEEPROM9の所定エリアに、イベントおよびエラーログが書き込まれる。つまり製造工程の各段階における前述の特定情報は、EEPROM9の上書きが禁止されるエリア15に書き込まれる。デッキユニット2出荷後の障害に関する情報は、出荷前における前記特定情報と峻別するような出荷後チェックコードが付与されて、EEPROM9の上書きが許容されるエリア14に書き込まれる。出荷後チェックコードは、図3に示すような出荷前のチェックコード16と同様のコード番号「10」が、この出荷前のチェックコード16とは異なるエリア14に書き込まれる。その後本処理を終了する。このようにエラーログ記録処理においては、前述の開始条件でエラーが発生すると、EEPROM9に必然的に記録される。出荷前の製造工程でのエラーはフラグがたつことで、その特定情報は、EEPROM9の上書きが禁止されるエリア15に記録される。   In step a4 (1), it is determined whether or not there is free space in a predetermined area of the EEPROM 9. If it is determined that there is no free space, the process proceeds to step a5 (1), the oldest event and error log are deleted, a free space to be recorded is prepared, and the process proceeds to step a6 (1). If it is determined that there is free space, the process proceeds to step a6 (1). In step a6 (1), an event and error log are written in a predetermined area of the EEPROM 9 to be recorded. That is, the specific information described above at each stage of the manufacturing process is written in the area 15 where overwriting of the EEPROM 9 is prohibited. Information related to the failure after shipment of the deck unit 2 is written in an area 14 where overwriting of the EEPROM 9 is allowed, with a post-shipment check code that is distinct from the specific information before shipment. As the post-shipment check code, a code number “10” similar to the pre-shipment check code 16 as shown in FIG. 3 is written in an area 14 different from the pre-shipment check code 16. Thereafter, this process is terminated. As described above, in the error log recording process, if an error occurs under the above-described start condition, it is necessarily recorded in the EEPROM 9. The error in the manufacturing process before shipment is a flag, and the specific information is recorded in the area 15 where overwriting of the EEPROM 9 is prohibited.

図7は、本発明の第2の実施形態に係るエラーログ記録処理を表すフローチャートである。前記ステップa3の後ステップa4(2)において、EEPROM9の所定エリアの空き容量が予め定める値α(αは、たとえば数10byte)に達したか否かが判断される。前記空き容量がαbyte以下ならば、ステップa5(2)に移行し、前記空き容量がαbyteより大と判断されると、ステップa6(2)に移行する。このステップa6(2)において、EEPROM9の所定エリアに、特定情報または出荷後の障害に関する情報が書き込まれる。その後本処理を終了する。   FIG. 7 is a flowchart showing an error log recording process according to the second embodiment of the present invention. In step a4 (2) after step a3, it is determined whether or not the free space in the predetermined area of the EEPROM 9 has reached a predetermined value α (α is, for example, several tens of bytes). If the free capacity is equal to or less than αbyte, the process proceeds to step a5 (2). If it is determined that the free capacity is greater than αbyte, the process proceeds to step a6 (2). In step a6 (2), specific information or information about a failure after shipment is written in a predetermined area of the EEPROM 9. Thereafter, this process is terminated.

ステップa5(2)では、HDD13の空き容量の有無が判断され、空き容量なしと判断されると、ステップa7(2)に移行する。空き容量ありと判断されると、ステップa8(2)に移行する。ステップa7(2)では、最も古いイベントおよびエラーログを消去して、記録されるべき空き容量を準備し、ステップa8(2)に移行する。ステップa8(2)では、HDD13に、特定情報または出荷後の障害に関する情報が書き込まれ(バックアップされ)、その後本処理を終了する。   In step a5 (2), it is determined whether or not there is free space in the HDD 13, and if it is determined that there is no free space, the process proceeds to step a7 (2). If it is determined that there is free space, the process proceeds to step a8 (2). In step a7 (2), the oldest event and error log are erased to prepare a free space to be recorded, and the process proceeds to step a8 (2). In step a8 (2), specific information or information about a failure after shipment is written (backed up) in the HDD 13, and then this process is terminated.

以上説明したログ記録装置1およびログ記録方法によれば、記録手段であるEEPROM9は、デッキユニット2の出荷前における該デッキユニットの障害に関連する特定情報を記録する。デッキ制御マイコン3は、出荷後の前記デッキユニット2の障害に関連する情報と、前記出荷前における特定情報とを峻別してEEPROM9に記録するので、次の効果を奏する。EEPROM9に記録される情報および特定情報の少なくともいずれか一方から、デッキユニット2の障害が出荷前に発生したものか、出荷後に発生したものかを区別することができる。これによって障害の解析が容易になる。操作者の操作に起因する障害か、または環境、振動および経年劣化など操作以外の現象に起因する障害かなどを容易に解析することができる。   According to the log recording apparatus 1 and the log recording method described above, the EEPROM 9 as the recording unit records specific information related to the failure of the deck unit 2 before shipment of the deck unit 2. Since the deck control microcomputer 3 distinguishes the information related to the failure of the deck unit 2 after shipment and the specific information before shipment from the EEPROM 9 and records them in the EEPROM 9, the following effects are obtained. From at least one of the information recorded in the EEPROM 9 and the specific information, it is possible to distinguish whether the failure of the deck unit 2 occurs before shipment or after shipment. This facilitates failure analysis. It is possible to easily analyze whether the failure is caused by the operation of the operator or the failure caused by a phenomenon other than the operation such as environment, vibration and aging.

解析結果から、出荷前に未発生の障害が出荷後に不所望に発生した場合、または出荷前に発生していた障害が出荷後に頻発する場合には、出荷前における試験条件を変更するなどして、前記障害を低減する対策を講じることも可能となる。障害の解析が容易になることで、そのデッキユニット2を迅速に修理することも可能となる。また出荷前における特定情報であって、デッキユニット2の障害に関連する特定情報が、出荷前記録工程で記録されるので、より詳細な特定情報を得ることが可能となり、障害解析の容易化を実現することができる。   From the analysis results, if a failure that has not occurred before shipment occurs undesirably after shipment, or if a failure that occurred before shipment frequently occurs after shipment, change the test conditions before shipment, etc. It is also possible to take measures to reduce the obstacle. Since the failure analysis becomes easy, the deck unit 2 can be repaired quickly. In addition, since the specific information related to the failure of the deck unit 2 is recorded in the pre-shipment recording process, it is possible to obtain more detailed specific information and facilitate the failure analysis. Can be realized.

特定情報は、製造工程の各段階でのチェック結果を示す情報であるので、障害解析の容易化を実現することができる。また特定情報はEEPROM9の上書き禁止の領域に記録されるので、出荷前における特定情報が、不所望に消去されることがなくなる。したがって障害解析を確実かつ容易に行うことができる。出荷後のデッキユニット2の障害に関連する情報または、出荷前における特定情報は、デッキユニット2に対して行われる操作履歴を含むので、該デッキユニットの障害に起因する操作を特定することが可能となる。前記操作履歴は、デッキユニット2に対して行われる操作時刻を含むので、障害解析をさらに容易に行うことができる。   Since the specific information is information indicating the check result at each stage of the manufacturing process, the failure analysis can be facilitated. Further, since the specific information is recorded in the overwriting-prohibited area of the EEPROM 9, the specific information before shipment is not erased undesirably. Therefore, failure analysis can be performed reliably and easily. Since the information related to the failure of the deck unit 2 after shipment or the specific information before shipment includes an operation history performed on the deck unit 2, it is possible to specify an operation caused by the failure of the deck unit. It becomes. Since the operation history includes the operation time performed on the deck unit 2, failure analysis can be performed more easily.

特定情報は、EEPROM9に圧縮されて記録されるので、同一の記録容量のEEPROM9に、より多くの情報を記録することができる。それ故、詳細な特定情報を得ることができる。また特定情報を、他の記録媒体であるハードディスクドライブ13にバックアップすることで、実効的な記録容量を飛躍的に高めることができる。   Since the specific information is compressed and recorded in the EEPROM 9, more information can be recorded in the EEPROM 9 having the same recording capacity. Therefore, detailed specific information can be obtained. Further, by backing up the specific information to the hard disk drive 13 which is another recording medium, the effective recording capacity can be dramatically increased.

本実施形態においては、不揮発性メモリとしてEEPROMを適用しているが、EEPROMだけに限定されるものではない。電源を切ってもデータが消去されない他のメモリ、たとえばフラッシュメモリなどを適用してもよい。他の記録媒体としてハードディスクドライブを適用しているが、EEPROMまたはフラッシュメモリなどを適用することも可能である。   In the present embodiment, the EEPROM is applied as the nonvolatile memory, but is not limited to the EEPROM. Another memory in which data is not erased even when the power is turned off, such as a flash memory, may be applied. A hard disk drive is applied as another recording medium, but an EEPROM or a flash memory can also be applied.

本発明の実施形態に係るエラーログ記録装置1の制御系のブロック図である。It is a block diagram of the control system of the error log recording apparatus 1 which concerns on embodiment of this invention. メモリマップを示し、図2(a)は、上書きが許容されるエリア14および上書きが禁止されるエリア15等を詳細に示す図、図2(b)はその他のエリアを詳細に示す図である。FIG. 2A is a diagram showing in detail an area 14 where overwriting is allowed and an area 15 where overwriting is prohibited, and FIG. 2B is a diagram showing other areas in detail. . デッキユニット2の特定情報を模式的に示す図である。It is a figure which shows typically the specific information of the deck unit. エラーログ記録処理の一例を概略表すフローチャートである。5 is a flowchart schematically illustrating an example of an error log recording process. エラーログ記録処理の一例を示すフローチャートである。It is a flowchart which shows an example of an error log recording process. エラーログ記録処理の具体的な内容を示すフローチャートである。It is a flowchart which shows the specific content of an error log recording process. 本発明の第2の実施形態に係るエラーログ記録処理を表すフローチャートである。It is a flowchart showing the error log recording process which concerns on the 2nd Embodiment of this invention.

符号の説明Explanation of symbols

1 エラーログ記録装置
2 デッキユニット
3 デッキ制御マイコン
4 電源
9 EEPROM
12 製品側マイコン
13 HDD
1 Error log recording device 2 Deck unit 3 Deck control microcomputer 4 Power supply 9 EEPROM
12 Product side microcomputer 13 HDD

Claims (6)

機器の動作中またはテスト中における各種情報をログ情報として記録するログ記録装置において、
前記機器の出荷前後における各種情報を記録する記録手段と、
出荷後の前記機器の各種情報と、前記出荷前における各種情報とを峻別して前記記録手段に記録する制御手段とを有することを特徴とするログ記録装置。
In a log recording device that records various information during operation or testing of equipment as log information,
Recording means for recording various information before and after shipment of the device;
A log recording apparatus comprising: control means for distinguishing various information of the device after shipment from the various information before shipment and recording the information in the recording means.
機器の動作中またはテスト中における各種情報をログ情報として記録するログ記録方法において、
前記機器の出荷前における各種情報を記録する出荷前記録工程と、
出荷後の前記機器の各種情報を、前記出荷前における各種情報と峻別して記録する出荷後記録工程とを有することを特徴とするログ記録方法。
In the log recording method of recording various information during operation or testing of equipment as log information,
A pre-shipment recording step for recording various types of information before shipment of the device;
A log recording method comprising: a post-shipment recording step of recording various pieces of information of the device after shipment distinctly from the various pieces of information before shipment.
前記出荷前記録工程は複数の段階を含み、前記各種情報は、各段階でのチェック結果を示す情報であり、各段階において記録されることを特徴とする請求項2記載のログ記録方法。   3. The log recording method according to claim 2, wherein the pre-shipment recording step includes a plurality of stages, and the various information is information indicating a check result in each stage and is recorded in each stage. 前記各種情報は、機器に対して行われる操作履歴を含むことを特徴とする請求項1〜3のいずれか1つに記載のログ記録方法。   The log recording method according to claim 1, wherein the various types of information include a history of operations performed on the device. 前記操作履歴は、複数の操作間の時間間隔を含むことを特徴とする請求項4記載のログ記録方法。   The log recording method according to claim 4, wherein the operation history includes a time interval between a plurality of operations. 前記機器は前記不揮発性メモリを除く他の記録媒体を含み、
前記出荷前記録工程において、前記不揮発性メモリの容量が予め定める値に達したとき、該不揮発性メモリに記録されるべき各種情報を、前記記録媒体にバックアップすることを特徴とする請求項4または5に記載のログ記録方法。
The device includes a recording medium other than the nonvolatile memory,
5. In the pre-shipment recording step, when the capacity of the nonvolatile memory reaches a predetermined value, various information to be recorded in the nonvolatile memory is backed up to the recording medium. 5. The log recording method according to 5.
JP2005196669A 2005-07-05 2005-07-05 Log recording device and log recording method Withdrawn JP2007018100A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005196669A JP2007018100A (en) 2005-07-05 2005-07-05 Log recording device and log recording method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005196669A JP2007018100A (en) 2005-07-05 2005-07-05 Log recording device and log recording method

Publications (1)

Publication Number Publication Date
JP2007018100A true JP2007018100A (en) 2007-01-25

Family

ID=37755238

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005196669A Withdrawn JP2007018100A (en) 2005-07-05 2005-07-05 Log recording device and log recording method

Country Status (1)

Country Link
JP (1) JP2007018100A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009080705A (en) * 2007-09-26 2009-04-16 Toshiba Corp Virtual computer system and virtual computer restoration method in the same system
EP2275865A1 (en) 2007-01-29 2011-01-19 Sanyo Electric Co., Ltd. Projection optical system, projection unit, and projection display device
US8010573B2 (en) 2007-11-13 2011-08-30 Kabushiki Kaisha Toshiba Log recording apparatus
US8406951B2 (en) 2008-05-12 2013-03-26 Denso Corporation Electronic control system for vehicles
JP2020184257A (en) * 2019-05-09 2020-11-12 オムロン株式会社 Control apparatus, control method, and control program

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2275865A1 (en) 2007-01-29 2011-01-19 Sanyo Electric Co., Ltd. Projection optical system, projection unit, and projection display device
JP2009080705A (en) * 2007-09-26 2009-04-16 Toshiba Corp Virtual computer system and virtual computer restoration method in the same system
US8010573B2 (en) 2007-11-13 2011-08-30 Kabushiki Kaisha Toshiba Log recording apparatus
US8406951B2 (en) 2008-05-12 2013-03-26 Denso Corporation Electronic control system for vehicles
JP2020184257A (en) * 2019-05-09 2020-11-12 オムロン株式会社 Control apparatus, control method, and control program
WO2020225972A1 (en) * 2019-05-09 2020-11-12 オムロン株式会社 Control device, control method, and control program

Similar Documents

Publication Publication Date Title
US8462569B1 (en) Memory repair system and method
US20100031094A1 (en) Disk device, circuit board, and error log information recording method
US6360293B1 (en) Solid state disk system having electrically erasable and programmable read only memory
JP2005041273A (en) Diagnostic data collection apparatus and method
JP2007018100A (en) Log recording device and log recording method
JP2007087558A (en) Disk control device, disk control method, and disk control program
JP2005267761A (en) Method for monitoring degradation of flash memory
JP4210673B2 (en) Storage drive that can accommodate removable storage media
JP4130679B2 (en) Return control method for vehicle control system
JP2004342168A (en) Device incorporating a device incorporating a disk-type recording device, control method of disk-type recording device, and computer program
CN117931071A (en) Data writing and reading method
JP4342288B2 (en) Drive device
JP2004259324A (en) Device and method for controlling operation of recording device
JP2007108078A (en) Defect inspection apparatus and defect inspection method
KR100887499B1 (en) How to recover storage error of operating time counter using ferroelectric memory in vehicle electronic control system
US12080326B2 (en) Magnetic disk device and method
JP5746067B2 (en) Operation error processing apparatus and operation error processing method
JP4385927B2 (en) Disk unit
JP3491527B2 (en) Motor drive
KR100327402B1 (en) Method and apparatus for self-testing of the micro-processor
JPH087369A (en) Magneto-optical disk device
JP2003141702A (en) Disk storage and write control method
JP4558800B2 (en) Fast disk recognition by removing calibration
US7881167B1 (en) Systems and methods of shock recovery in writable optical disc systems
US7660215B2 (en) Method and apparatus for writing data to optical disc

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080626

A761 Written withdrawal of application

Free format text: JAPANESE INTERMEDIATE CODE: A761

Effective date: 20090108