JP2010271846A - Data collection device - Google Patents
Data collection device Download PDFInfo
- Publication number
- JP2010271846A JP2010271846A JP2009122182A JP2009122182A JP2010271846A JP 2010271846 A JP2010271846 A JP 2010271846A JP 2009122182 A JP2009122182 A JP 2009122182A JP 2009122182 A JP2009122182 A JP 2009122182A JP 2010271846 A JP2010271846 A JP 2010271846A
- Authority
- JP
- Japan
- Prior art keywords
- data collection
- memory card
- power supply
- circuit
- collection device
- 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
- 238000013480 data collection Methods 0.000 title claims abstract description 78
- 239000003990 capacitor Substances 0.000 claims abstract description 34
- 238000001514 detection method Methods 0.000 claims description 29
- 238000012545 processing Methods 0.000 abstract description 11
- 238000006243 chemical reaction Methods 0.000 description 12
- 238000000034 method Methods 0.000 description 12
- 230000008569 process Effects 0.000 description 11
- 230000008859 change Effects 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000003780 insertion Methods 0.000 description 1
- 230000037431 insertion Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
Images
Abstract
Description
本発明は、データ収集対象となる機器類等に接続され、当該機器類等から取得したデータを着脱可能な記録媒体に記録することができるデータ収集装置に関するものである。 The present invention relates to a data collection apparatus that is connected to data collection target devices and the like and can record data acquired from the devices and the like on a removable recording medium.
従来の一般的なデータ収集装置は、データ収集対象である例えばエンジン制御盤のような制御装置とは別個の装置であって、当該制御装置に接続され、当該制御装置から供給されるDC電源で動作し、当該制御装置の作動とは独立した常時一定の周期でデータを収集し、メモリカード等の記録媒体に記録している。 A conventional general data collection device is a device separate from a control device such as an engine control panel that is a data collection target, and is connected to the control device and supplied with a DC power source supplied from the control device. Data is collected at a constant cycle independent of the operation of the control device and is recorded on a recording medium such as a memory card.
前述した従来の一般的なデータ収集装置は、接続された制御装置から供給されるDC電源で動作していたため、当該制御装置電源のON/OFFに連動してデータ収集装置の電源もON/OFFしていた。そのため、記録媒体にデータを書き込み中に制御装置の電源が切られた場合、連動してデータ収集装置の電源もOFFとなるため、書き込み中のデータに不整合が生じ、これによって収集データが論理的に破損して読み出せなくなることがあった。 Since the conventional general data collection device described above is operated by a DC power supply supplied from a connected control device, the data collection device is also turned on / off in conjunction with the ON / OFF of the control device power supply. Was. For this reason, if the control device is turned off while data is being written to the recording medium, the data collection device is also turned off in conjunction with this, so that inconsistency occurs in the data being written, and the collected data becomes logical. Sometimes damaged and could not be read.
そこで、制御装置側に無停電電源装置(UPS)を設置するなどして、制御装置の電源が切られても制御装置内の電源供給を一定時間保持するような電源バックアップ機構にすることが考えられるが、そのような場合でも、制御装置が電源バックアップ運転状態に移行したことをデータ収集装置が検知するために、供給電源が通常電源からUPSに切り替わったことを通知する信号線を制御装置からデータ収集装置に接続する必要があった。また、無停電電源装置の内蔵バッテリを定期的に交換するなどの保守作業が必要であった。 Therefore, it is considered to install a power backup mechanism that maintains the power supply in the control device for a certain period of time even if the control device is turned off by installing an uninterruptible power supply (UPS) on the control device side. However, even in such a case, in order for the data collection device to detect that the control device has shifted to the power backup operation state, a signal line for notifying that the power supply has been switched from the normal power supply to the UPS is sent from the control device. It was necessary to connect to a data collector. In addition, maintenance work such as periodically replacing the built-in battery of the uninterruptible power supply was necessary.
また、データ収集装置の記録媒体が、SDカードやコンパクトフラッシュ(登録商標)のような脱着可能なメモリカードである場合、収集したデータを回収するためにメモリカードをデータ収集装置から取り出す作業が必要となるが、これまでの装置では上記のようなデータの破損を防止するために、データ収集装置の電源一旦切るか、イジェクトボタンなどの手動操作でメモリカードへの書き込みを停止させてからメモリカードを取り出すという手順が必要だった。この場合、データ収集装置の電源を切るタイミングによっては上記と同様の収集データの破損が起こることがあった。また、イジェクトボタンを押し忘れてメモリカードを取り出したことによって収集データが破損したりすることがあった。 In addition, when the recording medium of the data collection device is a removable memory card such as an SD card or Compact Flash (registered trademark), it is necessary to take out the memory card from the data collection device in order to collect the collected data. However, in order to prevent the above-mentioned data corruption in the devices up to now, the data collection device is turned off once or the writing to the memory card is stopped by manual operation such as an eject button. The procedure of taking out was necessary. In this case, the collected data may be damaged in the same manner as described above depending on the timing of turning off the power of the data collection device. In addition, the collected data may be damaged by forgetting to press the eject button and removing the memory card.
本発明は、上述した従来のデータ収集装置における課題を解決するためになされたものであり、記録媒体にデータを書き込み中にデータ収集先の電源が切られた場合であっても、簡単な構成によってデータ収集先の電源OFFをいち早く検知して、記録媒体へのアクセス処理を停止するとともに、自らが有するバックアップ手段で記録媒体へのデータ書き込みを安全に続行することができ、また記録媒体にデータを書き込み中に記録媒体を取り出そうとした場合には、当該行為を事前に検知して記録媒体へのアクセス処理を停止することができるため、書き込み中の収集データの破損を効果的に防止できるデータ収集装置を提供することを目的としている。 The present invention has been made to solve the above-described problems in the conventional data collection device, and has a simple configuration even when the power of the data collection destination is turned off while data is being written to the recording medium. Can quickly detect that the data collection destination has been turned off, stop the access process to the recording medium, and safely continue data writing to the recording medium with its own backup means. If you try to remove the recording medium while writing the data, you can detect the action in advance and stop the access process to the recording medium. It aims to provide a collection device.
請求項1に記載されたデータ収集装置は、
外部からの供給電源によってデータ収集回路を作動させるデータ収集装置において、
外部からの供給電源に接続されて前記供給電源がONの間に前記データ収集回路に回路電源を供給する定電圧回路と、
外部の供給電源に接続されて前記供給電源がONの時に充電され、前記供給電源がOFFの時に、前記定電圧回路が前記データ収集回路に回路電源を供給できるように、前記定電圧回路にチャージ電圧を供給するキャパシタと、
を有することを特徴としている。
The data collection device according to
In a data collection device that operates a data collection circuit with an external power supply,
A constant voltage circuit connected to an external power supply and supplying circuit power to the data collection circuit while the power supply is ON;
Charged to the constant voltage circuit so that the constant voltage circuit can supply circuit power to the data collection circuit when the power supply is turned off and connected to an external power supply. A capacitor for supplying voltage;
It is characterized by having.
請求項2に記載されたデータ収集装置は、請求項1記載のデータ収集装置において、
前記データ収集回路が、前記キャパシタのチャージ電圧を常時監視するように構成したことを特徴としている。
The data collection device according to
The data collection circuit is configured to constantly monitor the charge voltage of the capacitor.
請求項3に記載されたデータ収集装置は、請求項1記載のデータ収集装置において、
前記データ収集回路が、フォトカプラのコレクタまたはエミッタ出力によって供給電源のOFF状態を検知できるようにしたことを特徴としている。
The data collection device according to
The data collection circuit can detect an OFF state of the power supply by a collector or emitter output of a photocoupler.
請求項4に記載されたデータ収集装置は、請求項1記載のデータ収集装置において、
メモリカードスロットと、前記メモリカードスロットに対するメモリカードの装着状態を検出するためのメモリカードイジェクト検出スイッチと、前記メモリカードスロットに装着された前記メモリカードを固定した際には前記メモリカードイジェクト検出スイッチをONにする支持板とを有し、
前記メモリカードスロットから前記メモリカードを取り出すために前記支持板を外した場合には、該支持板の動作に連動して前記メモリカードイジェクト検出スイッチがOFFとなり、OFFとなった前記メモリカードイジェクト検出スイッチの信号により、前記データ収集回路が前記メモリカードの取り出し操作を事前に検知できるように構成したことを特徴としている。
The data collection device according to
A memory card slot, a memory card ejection detection switch for detecting a memory card installed state in the memory card slot, and the memory card ejection detection switch when the memory card installed in the memory card slot is fixed And a support plate for turning ON
When the support plate is removed in order to remove the memory card from the memory card slot, the memory card eject detection switch is turned OFF in conjunction with the operation of the support plate, and the memory card eject detection is turned OFF. The data collection circuit is configured to detect in advance the operation of taking out the memory card by a switch signal.
請求項1に記載されたデータ収集装置によれば、外部からの供給電源が供給されている間は、定電圧回路によって降圧・安定化した回路電源を供給しながらキャパシタを充電しつつデータ収集回路を動作させてデータの収集を行なうことができる。また、データ収集装置動作中に供給電源がOFFになり、データ収集装置への電源供給購断たれた揚合でも、キャパシタの充電電圧によるバックアップ電源供給によって、データ収集回路は動作を継続できるため、記録媒体に記録されたデータの論理的な破損を防止することができる。
According to the data collection device described in
請求項2に記載されたデータ収集装置によれば、供給電源でデータ収集回路が作動している間は、データ収集回路がキャパシタのチャージ電圧を常時監視し、バックアップ動作時に記録媒体のアクセスを中止する処理を行えるだけの電圧がキャパシタに充電されているかを調べ、チャージ電圧が不十分の場合は一定のチャージ電圧に到達するまで記録媒体へのアクセスを中止する。このため、キャパシタのチャージ電圧が不十分な状態で供給電源がOFFとなった場合でも、記録媒体の記録データが破損されない安全な状態でデータ収集装置の動作を停止することができる。
According to the data collection device described in
請求項3に記載されたデータ収集装置によれば、データ収集回路は、フォトカプラのコレクタまたはエミッタ出力によって供給電源のOFF状態を検知できるので、供給電源のOFFによって始められたキャパシタからのバックアップ電源供給によってデータ収集回路の動作が継続されている間に、記録媒体へのアクセス処理を停止して、記録媒体の記録データが破損されない安全な状態でデータ収集装置の動作を停止することができる。 According to the data collecting device of the third aspect, the data collecting circuit can detect the OFF state of the power supply by the collector or emitter output of the photocoupler, so that the backup power supply from the capacitor started by turning off the power supply While the operation of the data collecting circuit is continued by the supply, the access processing to the recording medium can be stopped, and the operation of the data collecting apparatus can be stopped in a safe state where the recorded data on the recording medium is not damaged.
請求項4に記載されたデータ収集装置によれば、メモリカードを取り出す時に、支持板を取り外すと当該支持板にメモリカードイジェクト検出スイッチが連動してONからOFFに変わり、メモリカード取り出し操作を行おうとしていることをデータ収集回路が事前に検知できるので、メモリカードをメモリカードスロットから取り出す前にメモリカードの記録データへのアクセス処理を停止してメモリカードの記録データが破損されない安全な状態でメモリカードを取り出すことができる。また、メモリカードを安全に取り出せる状態にする処理は支持板を取り外すことによって自動的に行われるため、操作のし忘れによるメモリカードの記録データの破損を回避することができる。 According to the data collection device of the fourth aspect, when the support plate is removed when the memory card is taken out, the memory card eject detection switch is interlocked with the support plate to change from ON to OFF, and the memory card is taken out. Since the data collection circuit can detect in advance that you are about to go, stop accessing the recorded data on the memory card before removing the memory card from the memory card slot, and keep the recorded data on the memory card safe. The memory card can be removed. In addition, since the process of making the memory card ready to be taken out is automatically performed by removing the support plate, it is possible to avoid damage to the recorded data on the memory card due to forgetting to operate.
本発明の実施形態を図1から図4を参照して説明する。
1.本実施形態の構成(図1及び図2)
図1に示すように、データ収集装置へ供給される外部からの供給電源Vinは、DC/DCコンバータ1でVoutに変換され、定電圧回路としての機能をなす三端子レギュレータUlで降圧・安定化され、データ収集装置の回路電源Vccとしてデータ収集回路としてのCPU2等に供給される。
An embodiment of the present invention will be described with reference to FIGS.
1. Configuration of the present embodiment (FIGS. 1 and 2)
As shown in FIG. 1, an external power supply Vin supplied to the data collecting device is converted into Vout by a DC /
電源断検出信号Poff_detは、フォトカプラP1を利用してDC−DCコンバータ1の1次側電源(前記供給電源Vin)がOFFになった時にHighからLowに変化する信号であり、この信号はCPU2のIRQまたはI/O入力ポートに接続、入力される。CPU2は、この信号によってデータ収集装置の供給電源断を検知することができる。フォトカプラP1の受光部の回路(図1の破線内)は、負荷R2をコレクタ側に配置したコレクタ負荷回路であるが、図2に示すように、R3をエミッタ側に配置したエミッタ負荷回路でもよい。
The power-off detection signal Poff_det is a signal that changes from High to Low when the primary power supply (the supply power Vin) of the DC-
キャパシタC1は、外部からの供給電源VinがOFFとなった時にデータ収集装置の回路電源Vccとして供給する電源を蓄積しておく手段であり、Vout出力中に抵抗R1に基づく比率で充電される。 Capacitor C1 is means for accumulating power supplied as circuit power supply Vcc of the data collection device when external power supply Vin is turned off, and is charged at a ratio based on resistance R1 during Vout output.
ダイオードD1及びD2は、キャパシタC1のチャージ電圧Vbatによるバックアップ作動時に、DC/ACコンバータへの逆電流を防止する手段であり、ダイオードD3は外部からの供給電源Vinで作動中に回路電源VccからキャパシタC1への逆電流を防止する手段である。 The diodes D1 and D2 are means for preventing a reverse current to the DC / AC converter during the backup operation by the charge voltage Vbat of the capacitor C1, and the diode D3 is a capacitor from the circuit power supply Vcc during the operation with the external power supply Vin. This is a means for preventing reverse current to C1.
外部からの供給電源VinがOFFになると、DC/DCコンバータからの出力電圧Voutが0となり、キャパシタC1のチャージ電圧VbatがVccとして回路に供給される。CPU2は、電源断検出信号Poff_detのLow出力によって供給電源VinがOFFになった事を検知すると、メモリカード4へのアクセス処理を即座に中止する。一方回路電源Vccは、供給電源VinがOFFとなったと同時にキャパシタClのチャージ電圧Vbatによるバックアップ電源に切り替わり、CPU2がメモリカード4へのアクセスを中止する処理が完了するまでの間、回路の動作を保持する。
When the external power supply Vin is turned off, the output voltage Vout from the DC / DC converter becomes 0, and the charge voltage Vbat of the capacitor C1 is supplied to the circuit as Vcc. When the
尚、キャパシタClのチャージ電圧Vbatによる回路のバックアップ動作可能時間Tbuは、定電圧回路としての機能をなす三端子レギュレータU1の入力側最低動作電圧をVi_min、出力側回路の消費電流をIcc、キャパシタC1の静電容量をCbuとすると、次式により求まる。
Tbu=Cbu(Vbat−Vi_min)/Icc
Note that the circuit backup operation possible time Tbu by the charge voltage Vbat of the capacitor Cl is Vi_min as the minimum input side operating voltage of the three-terminal regulator U1 functioning as a constant voltage circuit, Icc as the consumption current of the output side circuit, and the capacitor C1. Is given by the following equation.
Tbu = Cbu (Vbat−Vi_min) / Icc
キャパシタClが充電されている間、CPU2はA/D変換器6に入力されているキャパシタC1のチャージ電圧VbatのA/D変換器6によるA/D変換電圧Vchgを監視し、当該A/D変換電圧Vchgが供給電源断時にバックアップ動作可能なレベルに到達しているかどうかを判断する。A/D変換電圧Vchgがバックアップ動作可能な電圧レベルに満たない場合には、メモリカード4へのアクセスを中断して供給電源Vinが突然OFFしてもメモリカード4に記録された記録データが破損しないようにする。
While the capacitor Cl is being charged, the
メモリカード4は、通常動作時はメモリカードスロット3に装着され、さらに脱落防止のために支持板5で固定する。支持板5はメモリカード4を固定した状態ではメモリカードイジェクト検出スイッチS1がONとなるように設置され、メモリカード4を取り出すために支持板5を外すとS1の出力はOFFとなるように構成されている。メモリカードイジェクト検出スイッチS1の信号はCPU2のIRQまたはI/O入力ポートに接続、入力され、これによってCPU2はメモリカード4が取り出される状態にあるかどうかをメモリカード4を取り出す前に検知することができる。
The
2.本実施形態のバックアップ動作(図3)
次に、前記データ収集装置の脱着可能なメモリカード4としてSDカード(以下、SDカード4と称する。)を使用した場合を例にとり、そのバックアップ回路動作を図3に基づいてステップ(1)〜(12)毎に説明する。
2. Backup operation of this embodiment (FIG. 3)
Next, taking as an example the case where an SD card (hereinafter referred to as SD card 4) is used as the
(1)供給電源VinがOFFの時、データ収集装置の電源断検出信号Poff_detはLowで、電源OFFが十分長い時間樺続した状態では、キャパシタC1のチャージ電圧Vbatは0v、CPU2は動作停止状態にある。
(1) When the power supply Vin is OFF, the power interruption detection signal Poff_det of the data collection device is Low, and when the power OFF is continued for a sufficiently long time, the charge voltage Vbat of the capacitor C1 is 0 v, and the
(2)供給電源VinがONになると電源断検出信号Poff_detはHighとなり、CPU2はDC/DCコンバータ1からの出力電圧Voutにより動作を開始し、データ収集処理に必要な初期化作業を行う。
(2) When the power supply Vin is turned on, the power-off detection signal Poff_det becomes High, and the
(3)供給電源VinのONと同時にキャパシタClには抵抗R1に応じた比率で充電が開始される。CPU2はデータ収集処理の初期化が終了したらキャパシタC1のチャージ電圧VbatのA/D変換電圧Vchgをチェックし、当該A/D変換電圧Vchgがバックアップ動作開始可能電圧Vbuに到達するまでSDカード4へのアクセスを待機する。
(3) At the same time as the supply power source Vin is turned on, charging of the capacitor Cl is started at a ratio corresponding to the resistance R1. When the initialization of the data collection process is completed, the
(4)A/D変換電圧Vchgがバックアップ動作開始可能電圧Vbuに到達したらCPU2はSDカード4ヘのアクセスを開始し、一定周期で収集したデータの書き込みを行う。
(4) When the A / D conversion voltage Vchg reaches the backup operation startable voltage Vbu, the
(5)CPU2は収集したデータをSDカード4に書き込む処理と並行してA/D変換電圧Vchgの電圧レベルがバックアップ動作開始可能電圧Vbu以上になっているかを定期的にチェックする。
(5) The
(6)何らかの要因で一時的にA/D変換電圧Vchngがバックアップ動作開始可能電圧Vbuを下回ると、CPU2はSDカード4へのアクセスを中断(データ収集処理は継続するがSDカード4へのアクセスは行わない)する。
(6) When the A / D conversion voltage Vchng temporarily falls below the backup operation startable voltage Vbu for some reason, the
(7)A/D変換電圧Vchagが再びバックアップ動作開始可能電圧Vbu以上になったら、CPU2はSDカード4へのアクセスを再開してSDカード4へのアクセス待機中に内部に蓄積した収集データをSDカード4に書き出す。
(7) When the A / D conversion voltage Vchag becomes equal to or higher than the backup operation startable voltage Vbu again, the
(8)CPU2は通常のデータ収集処理を行いながら、A/D変換電圧Vchgを定期的にチェックする。
(8) The
(9)供給電源VinがOFFになると電源断検出信号Poff_detはLowとなり、CPU2は電源断検出信号Poff_detのLow信号によって供給電源VinがOFFになったことを検知する。また、回路電源VccはキャパシタC1のチャージ電圧Vbatによるバックアップ電源に切り替わり、バックアップ動作を開始する。
(9) When the power supply Vin is turned off, the power-off detection signal Poff_det becomes Low, and the
(10)CPU2は供給電源VinのOFFを検知したと同時に即座にSDカード4へのアクセス処理を中止する。
(10) The
(11)SDカード4に対するアクセスの中止処理が完了したら、CPU2はデータ取集の終了処理を行い、プログラム停止可能な状態にする。
(11) When the process for canceling access to the
(12)キャパシタC1のチャージ電圧Vbatはバックアップ動作開始とともに徐々に電圧が低下し、CPU2が動作可能なチャージ電圧Vcpuを下回った時点でCPU2の動作が停止する。
(12) The charge voltage Vbat of the capacitor C1 gradually decreases with the start of the backup operation, and the operation of the
3.本実施形態のメモリカード脱着時の動作(図4)
次に、前記データ収集装置におけるSDカード4の脱着時の動作を、図4に基づいてステップ(1)〜(7)毎に説明する。
3. Operation at the time of memory card insertion / removal of this embodiment (FIG. 4)
Next, the operation when the
(1)データ収集装置の動作時、支持板5が装着された状態ではメモリカードイジェクト検出スイッチS1はON、メモリカードイジェクト検出信号Mem_ejectはLowとなり、CPU2はSDカード4へのアクセスを行う。
(1) During operation of the data collection device, when the
(2)データ収集装置の使用者がSDカード4の交換のために支持板5を取り外すと、メモリカードイジェクト検出スイッチSlはOFFとなってメモリカードイジェクト検出信号Mem_ejectはHighになり、CPU2はメモリカード取り出し操作が行われることを検知する。
(2) When the user of the data collection device removes the
(3)メモリカードイジェクト検出信号Mem_ejectのHighによりメモリカードイジェクト検出スイッチSlのOFFを検知したと同時に、CPU2はSDカード4へのアクセス処理を終了し、SDカード4を取り出し可能な状態にする。
(3) At the same time that the memory card eject detection switch S1 is detected OFF by the high of the memory card eject detection signal Mem_eject, the
(4)使用者は現在装着されているSDカード4を取り出し、新しいSDカード4をデータ収集装置のメモリカードスロット3に装着する。
(4) The user takes out the currently installed
(5)新しいSDカード4をメモリカードスロット3に装着した後、支持板5を再び装着するとメモリカードイジェクト検出スイッチS1はOFFからONに変わり、メモリカードイジェクト検出信号Mem_ejectは再びLowとなる。
(5) After the
(6)CPU2はメモリカードイジェクト検出信号Mem_ejectがLowになったことを検知すると、SDカード4へのアクセスを再開し、SDカードアクセス待機中に内部に蓄積した収集データをSDカード4に書き出す。
(6) When the
(7)その後、CPU2は通常のデータ収集処理を再開する。
(7) Thereafter, the
4.本実施形態のデータ収集装置による効果
本実施形態のデータ収集装置によれば次のような効果が得られる。
バックアップ電源供給用のキャパシタC1を設けたことにより、データ収集装置の動作中に、データ収集対象である外部の制御装置等の電源がOFFとされてデータ収集装置への電源供給が断たれた揚合でも、キャパシタC1からのバックアップ電源の供給によって、データ収集装置は動作を継続できるため、外部からの供給電源VinのOFFにともなうメモリカード4の記録データの論理的な破損を確実に防止することができる。
4). Advantages of the data collection device of the present embodiment The data collection device of the present embodiment provides the following advantages.
Since the backup power supply capacitor C1 is provided, the power supply to the data collection device is cut off while the data collection device is in operation, and the power supply to the data collection device is cut off. Even in this case, since the data collecting device can continue to operate by supplying the backup power from the capacitor C1, it is possible to reliably prevent logical damage to the recorded data of the
データ収集装置に供給される外部からの供給電源VinがOFF状態となったことをフォトカプラP1によってCPU2が迅速・確実に検知できるため、外部からの供給電源VinのOFFによってキャパシタC1のチャージ電圧Vbatによるバックアップ電源が供給されてデータ収集装置の動作が継続されている間に、CPU2はメモリカード4へのアクセス処理を速やかに停止して、メモリカード4の記録データが破損されない安全な状態でデータ収集装置の動作を停止させることができる。
Since the
フォトカプラP1によって、データ収集装置単独で外部からの供給電源のOFFを検知できるため、従来UPS等の外部バックアップ電源装置から入力していたバックアップ電源切替信号の信号線接続が不要になり、データ収集装置と周辺装置との信号線接続が簡素化される。 Since the photocoupler P1 can detect the OFF of the external power supply by the data collection device alone, the signal line connection of the backup power supply switching signal input from the external backup power supply device such as a conventional UPS becomes unnecessary, and the data collection The signal line connection between the device and the peripheral device is simplified.
メモリカード4の取り出し時に、支持板5を取り外すとメモリカードイジェクト検出スイッチSlが連動してONからOFFに変わり、メモリカード4の取り出し操作を行おうとしていることをCPU2が事前に検知できる機構としたため、メモリカード4を取り出す前にメモリカード4の記録データへのアクセス処理を停止してメモリカード4の記録データが破損されない安全な状態でメモリカード4を取り出すととができる。また、メモリカード4を安全に取り出せる状態にする処理は支持板5を取り外すことによって自動的に行われるため、操作忘れによるメモリカード4の記録データの破損を確実に回避することができる。
When the
外部からの供給電源Vinでデータ収集装置が作動している間は、キャパシタC1のチャージ電圧Vbatを、A/D変換器6を介してA/D変換電圧VchgとしてCPU2で監視し、バックアップ動作時にメモリカード4のアクセスを中止する処理を行えるだけの電圧が充電されているかを調べ、チャージ電圧Vbatが不十分の場合は一定のチャージ電圧に到達するまでメモリカード4へのアクセスを中止することができるため、チャージ電圧が不十分な状態で供給電源VinがOFFとなった場合でもメモリカード4の記録データが破損されない安全な状態でデータ収集装置の動作を停止することができる。
While the data collection device is operating with the external power supply Vin, the
1…DC−DCコンバータ
2…データ収集回路としてのCPU
3…メモリカードスロット
4…メモリカード
5…支持板 6…A/D変換器
U1…定電圧回路としての三端子レギュレータ
C1…キャパシタ
P1…フォトカプラ
S1…メモリカードイジェクト検出スイッチ
Vin…外部からの供給電源
Vbat…キャパシタC1のチャージ電圧
Vchg…キャパシタC1のチャージ電圧VbatをA/D変換器を介して観測したA/D変換電圧
Poff_det…電源断検出信号
DESCRIPTION OF
3. Memory card slot
DESCRIPTION OF
Claims (4)
外部からの供給電源に接続されて前記供給電源がONの間に前記データ収集回路に回路電源を供給する定電圧回路と、
外部の供給電源に接続されて前記供給電源がONの時に充電され、前記供給電源がOFFの時に、前記定電圧回路が前記データ収集回路に回路電源を供給できるように、前記定電圧回路にチャージ電圧を供給するキャパシタと、
を有することを特徴とするデータ収集装置。 In a data collection device that operates a data collection circuit with an external power supply,
A constant voltage circuit connected to an external power supply and supplying circuit power to the data collection circuit while the power supply is ON;
Charged to the constant voltage circuit so that the constant voltage circuit can supply circuit power to the data collection circuit when the power supply is turned off and connected to an external power supply. A capacitor for supplying voltage;
A data collection device comprising:
前記メモリカードスロットから前記メモリカードを取り出すために前記支持板を外した場合には、該支持板の動作に連動して前記メモリカードイジェクト検出スイッチがOFFとなり、OFFとなった前記メモリカードイジェクト検出スイッチの信号により、前記データ収集回路が前記メモリカードの取り出し操作を事前に検知できるように構成したことを特徴とする請求項1記載のデータ収集装置。 A memory card slot, a memory card ejection detection switch for detecting a memory card installed state in the memory card slot, and the memory card ejection detection switch when the memory card installed in the memory card slot is fixed And a support plate for turning ON
When the support plate is removed in order to remove the memory card from the memory card slot, the memory card eject detection switch is turned OFF in conjunction with the operation of the support plate, and the memory card eject detection is turned OFF. 2. The data collection device according to claim 1, wherein the data collection circuit is configured to detect in advance the operation of taking out the memory card by a switch signal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009122182A JP5290052B2 (en) | 2009-05-20 | 2009-05-20 | Data collection device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009122182A JP5290052B2 (en) | 2009-05-20 | 2009-05-20 | Data collection device |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2013058454A Division JP2013140625A (en) | 2013-03-21 | 2013-03-21 | Data collection device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2010271846A true JP2010271846A (en) | 2010-12-02 |
JP5290052B2 JP5290052B2 (en) | 2013-09-18 |
Family
ID=43419832
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2009122182A Active JP5290052B2 (en) | 2009-05-20 | 2009-05-20 | Data collection device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5290052B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015079430A (en) * | 2013-10-18 | 2015-04-23 | 株式会社デンソー | Data storage controller |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH1141834A (en) * | 1997-07-16 | 1999-02-12 | Denso Corp | Device to cope with power supply drop |
JP2000029577A (en) * | 1998-07-13 | 2000-01-28 | Horiba Ltd | Personal computer |
JP2002306781A (en) * | 2001-04-17 | 2002-10-22 | Sankyo Kk | Game machine |
JP2004264908A (en) * | 2003-02-18 | 2004-09-24 | Matsushita Electric Ind Co Ltd | Memory pack |
JP2008033594A (en) * | 2006-07-28 | 2008-02-14 | Sony Corp | Data storage unit, power control method, and communication unit |
-
2009
- 2009-05-20 JP JP2009122182A patent/JP5290052B2/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH1141834A (en) * | 1997-07-16 | 1999-02-12 | Denso Corp | Device to cope with power supply drop |
JP2000029577A (en) * | 1998-07-13 | 2000-01-28 | Horiba Ltd | Personal computer |
JP2002306781A (en) * | 2001-04-17 | 2002-10-22 | Sankyo Kk | Game machine |
JP2004264908A (en) * | 2003-02-18 | 2004-09-24 | Matsushita Electric Ind Co Ltd | Memory pack |
JP2008033594A (en) * | 2006-07-28 | 2008-02-14 | Sony Corp | Data storage unit, power control method, and communication unit |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015079430A (en) * | 2013-10-18 | 2015-04-23 | 株式会社デンソー | Data storage controller |
Also Published As
Publication number | Publication date |
---|---|
JP5290052B2 (en) | 2013-09-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR100253636B1 (en) | Electronic apparatus having multiple loads, driver by plural batteries | |
JP3611316B2 (en) | ELECTRIC DEVICE, COMPUTER DEVICE, POWER SWITCHING DEVICE, AND POWER SWITCHING METHOD | |
US9118202B2 (en) | Battery status detection method and apparatus for electronic device | |
CN102841668A (en) | Electric power system for portable electronic device having a timekeeping circuit | |
CN100358216C (en) | Uninterruptible power supply device | |
CN105807885B (en) | Power failure protection method and device | |
CN103904769A (en) | System and method for controlling standby battery | |
JP5613135B2 (en) | Battery unit for portable terminal device and power supply method | |
JP2010286876A (en) | Microcomputer system, microcomputer, method and program for controlling power supply | |
JP5290052B2 (en) | Data collection device | |
JP2013140625A (en) | Data collection device | |
JP4411014B2 (en) | Computer and power supply backup method thereof | |
JP5641858B2 (en) | Printing apparatus, control method therefor, and program | |
JP2010122857A (en) | Backup device | |
JP5689944B2 (en) | Battery unit for supplying power to electrical and electronic equipment and power supply method | |
CN101826685A (en) | Power supply socket device special for computer | |
JP2780699B2 (en) | Battery control method and power supply control circuit for personal computer | |
KR101499304B1 (en) | Information processing apparatus and control method of information processing apparatus | |
TWI524627B (en) | To avoid excessive discharge of the battery module power supply | |
JP5807495B2 (en) | Communication data logger device | |
CN217360594U (en) | Startup and shutdown control device of industrial personal computer | |
WO2005081108A1 (en) | Control device and control method using processing unit | |
KR0174355B1 (en) | Battery charge control method using system management bus of computer and its device | |
JP2016095771A (en) | Backup circuit of device drive battery | |
JP2014092712A (en) | Residual electric charge removal device, image processing device, residual electric charge removal method, and residual electric charge removal program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20111104 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20130109 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20130122 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20130321 |
|
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: 20130521 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20130605 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5290052 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
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 |