JP2010218003A - Medium controller - Google Patents
Medium controller Download PDFInfo
- Publication number
- JP2010218003A JP2010218003A JP2009061221A JP2009061221A JP2010218003A JP 2010218003 A JP2010218003 A JP 2010218003A JP 2009061221 A JP2009061221 A JP 2009061221A JP 2009061221 A JP2009061221 A JP 2009061221A JP 2010218003 A JP2010218003 A JP 2010218003A
- Authority
- JP
- Japan
- Prior art keywords
- power
- switch
- media
- control unit
- medium
- 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.)
- Pending
Links
Images
Landscapes
- Power Sources (AREA)
Abstract
【課題】メディアを過電流から保護するメディアコントローラを提供する。
【解決手段】ホスト機器に搭載され、ホスト機器とホスト機器に接続されたメディア間のデータの送受信を制御するメディアコントローラ100であって、メディアへの電力供給のオン/オフを切り替えるスイッチ31と、スイッチからメディアに流れる過電流を検出する過電流検出回路32と、を備えたパワースイッチ3と、メディアがホスト機器に接続されたときに、電力の供給を開始させるパワー制御信号を出力するメディア制御部2と、パワー制御信号に従って、スイッチのオン/オフの切り替えを制御するパワー制御部4と、を有し、パワー制御部4は、過電流検出回路が過電流を検出してから第1の所定時間が経過したときにスイッチをオンからオフに切り替える。
【選択図】図1A media controller for protecting a medium from overcurrent is provided.
A media controller 100 that is mounted on a host device and controls transmission / reception of data between the host device and a medium connected to the host device, the switch 31 switching on / off of power supply to the medium; An overcurrent detection circuit 32 that detects an overcurrent flowing from the switch to the medium, and a media control that outputs a power control signal that starts power supply when the medium is connected to the host device. Unit 2 and a power control unit 4 that controls on / off switching of the switch in accordance with the power control signal, and the power control unit 4 detects the first current after the overcurrent detection circuit detects the overcurrent. The switch is switched from on to off when a predetermined time has elapsed.
[Selection] Figure 1
Description
本発明は、メモリカードなどのメディアを制御するメディアコントローラに関する。 The present invention relates to a media controller that controls media such as a memory card.
メディア(例えば、メモリカード)とデータの送受信を行うホスト機器(例えば、パソコン)は、メディアのリード/ライトを制御するメディアコントローラと、メディアへの電力供給のオン/オフを切り替えるパワースイッチと、を備えている。メディアは、ホスト機器に接続されて、ホスト機器のパワースイッチから電力を供給されることにより動作し、ホスト機器とデータの送受信を行っている。 A host device (for example, a personal computer) that transmits / receives data to / from a medium (for example, a memory card) includes a media controller that controls read / write of the medium, and a power switch that switches on / off power supply to the medium. I have. The medium is connected to the host device and operates when power is supplied from the power switch of the host device, and transmits and receives data to and from the host device.
また、モータ駆動用のインバータの分野において、インバータ部を構成するパワースイッチング素子に過電流が流れてパワースイッチング素子が破壊されることを防止する過電流保護回路がある(特許文献1参照)。この過電流保護回路は、インバータ部に流れる過電流を検出し、過電流が所定の時間継続して流れ、且つ、過電流の値の変化率が所定の値より小さくなったときに、パワースイッチング素子のゲート入力を遮断している。すなわち、過電流保護回路とタイマー回路の信号に基づいて、パワースイッチの出力を制御している。 Further, in the field of inverters for driving motors, there is an overcurrent protection circuit that prevents an overcurrent from flowing to a power switching element that constitutes an inverter unit and destroying the power switching element (see Patent Document 1). This overcurrent protection circuit detects the overcurrent flowing through the inverter unit, and when the overcurrent continuously flows for a predetermined time and the rate of change of the overcurrent value becomes smaller than the predetermined value, the power switching The element gate input is shut off. That is, the output of the power switch is controlled based on signals from the overcurrent protection circuit and the timer circuit.
データを格納するメディアとして、PCカード、SDカード、Memory Stick、及びxD_Pictureなどの様々な種類のメモリカードがメーカーにより製造されている。メディアの特性はメーカー毎に異なるため、メディアの特性によって、メディアが動作中にホスト機器からメディアに過電流が流れ続けることがある。過電流が流れ続けると、メディアが破壊されるおそれがある。しかし、メディアを過電流から保護するような機能は従来のホスト機器には存在しなかった。 Various types of memory cards such as PC cards, SD cards, Memory Sticks, and xD_Pictures are manufactured by manufacturers as media for storing data. Since the characteristics of the media vary from manufacturer to manufacturer, overcurrent may continue to flow from the host device to the media while the media is operating, depending on the characteristics of the media. If overcurrent continues to flow, the media may be destroyed. However, there is no function for protecting the media from overcurrent in the conventional host device.
本発明は、上記従来の問題を解決するものであって、その目的とするところは、メディアを過電流から保護するメディアコントローラを提供することにある。 The present invention solves the above-described conventional problems, and an object of the present invention is to provide a media controller that protects media from overcurrent.
本発明は、ホスト機器に搭載され、ホスト機器とホスト機器に接続されたメディア間のデータの送受信を制御するメディアコントローラであって、メディアへの電力供給のオン/オフを切り替えるスイッチと、スイッチからメディアに流れる過電流を検出する過電流検出回路と、を備えたパワースイッチと、メディアがホスト機器に接続されたときに、電力の供給を開始させるパワー制御信号を出力するメディア制御部と、パワー制御信号に従って、スイッチのオン/オフの切り替えを制御するパワー制御部と、を有し、パワー制御部は、過電流検出回路が過電流を検出してから第1の所定時間が経過したときにスイッチをオンからオフに切り替える、ことを特徴とする。 The present invention is a media controller that is mounted on a host device and controls transmission / reception of data between the host device and a medium connected to the host device, and includes a switch that switches on / off of power supply to the medium, and a switch An overcurrent detection circuit that detects an overcurrent flowing through the medium; a media control unit that outputs a power control signal that starts supplying power when the medium is connected to a host device; and a power A power control unit that controls on / off switching of the switch in accordance with the control signal, and the power control unit detects when the first predetermined time has elapsed since the overcurrent detection circuit detected the overcurrent. The switch is switched from on to off.
第1の所定時間は、ユーザにより設定されてもよい。 The first predetermined time may be set by the user.
パワー制御部は、メディアへの電力供給を開始してから第2の所定時間が経過したときのみ、過電流検出回路が過電流を検出してから第1の所定時間が経過したときのスイッチのオンからオフへの切り替えを実行してもよい。 The power control unit switches the switch when the first predetermined time has elapsed after the overcurrent detection circuit detects the overcurrent only when the second predetermined time has elapsed since the start of power supply to the medium. Switching from on to off may be performed.
第2の所定時間は、ユーザにより設定されてもよい。 The second predetermined time may be set by the user.
メディアにデータを送信し且つメディアから送信されるデータを受信するI/Oセルをさらに有し、パワースイッチから出力される電力をI/Oセルに供給してもよい。 An I / O cell that transmits data to the medium and receives data transmitted from the medium may be further provided, and power output from the power switch may be supplied to the I / O cell.
パワー制御部は、過電流検出回路が過電流を検出してから第1の所定時間が経過したときにメディア制御部にエラー割り込み信号を出力し、メディア制御部は、パワー制御部からエラー割り込み信号を受信すると、ホスト機器に対してエラー割り込み信号を出力してもよい。 The power control unit outputs an error interrupt signal to the media control unit when the first predetermined time has elapsed after the overcurrent detection circuit detects the overcurrent, and the media control unit receives the error interrupt signal from the power control unit. When an error interrupt signal is received, an error interrupt signal may be output to the host device.
パワースイッチ、パワー制御部、及びメディア制御部のうち少なくとも一つを制御して、パワースイッチの動作をテストするテスト制御部をさらに有してもよい。 You may further have a test control part which controls at least one among a power switch, a power control part, and a media control part, and tests the operation | movement of a power switch.
本発明によれば、メディアへの電力供給のオン/オフを切り替えるスイッチとメディアに流れる過電流を検出する過電流検出回路とを備えたパワースイッチを備え、過電流検出回路が所定時間以上過電流を検出したときに、メディアへの電力供給を停止するようにしている。よって、過電流がメディアに流れ続けて、メディアが過電流により破壊されることを防止することができる。すなわち、メディアを過電流から保護することができる。 According to the present invention, a power switch is provided that includes a switch that switches on / off of power supply to a medium and an overcurrent detection circuit that detects an overcurrent flowing through the medium, and the overcurrent detection circuit detects an overcurrent for a predetermined time or more. Is detected, the power supply to the media is stopped. Therefore, it is possible to prevent the overcurrent from continuing to flow through the medium and destroy the medium due to the overcurrent. That is, the media can be protected from overcurrent.
本発明の実施形態のメディアコントローラは、ホスト機器(本実施形態において、パソコン)に設けられて、ホスト機器に接続されたメディア(本実施形態において、メモリカード)を制御するものであって、メディアを過電流から保護する機能を備えたことを特徴とする。 A media controller according to an embodiment of the present invention is provided in a host device (in this embodiment, a personal computer) and controls media (in this embodiment, a memory card) connected to the host device. It is characterized by having a function of protecting from overcurrent.
1. メディアコントローラの構成
図1に、本実施形態のメディアコントローラ及びメディアコントローラにより制御されるメディアを示す。メディアコントローラ100により制御されるメディア200は、PCカード、SDカード、Memory Stick、及びxD_Pictureなどのメモリカードである。
1. Configuration of Media Controller FIG. 1 shows a media controller of this embodiment and media controlled by the media controller. The
メディアコントローラ100は、データの入出力を行うI/Oセル群1と、I/Oセル群1のデータの入出力を制御するメディア制御部2と、を有する。I/Oセル群1は、メディア200と電気的に接続して、ホスト機器内のデータをメディア200に送信し且つメディア200から送信されたデータを受信する。メディア制御部2は、ホスト機器の制御に基づいて、ホスト機器内のデータをI/Oセル群1を介してメディア200に伝送し且つI/Oセル群1に入力されたデータをホスト機器の内部に伝送する。メディア制御部2は、さらに、メディア200への電力供給の開始/停止を制御するパワー制御信号を出力する。具体的には、メディア制御部2は、メディア200がI/Oセル群1に接続されたことを検知すると、メディア200への電力供給を開始するパワー制御信号を出力し、メディア200が非接続状態になったことを検知すると、メディア200への電力供給を停止するパワー制御信号を出力する。また、メディア制御部2は、エラー割り込み信号を入力すると、メディア制御部2内においてエラー処理を行うと共に、ホスト機器に対してエラー割り込み信号を出力する。エラー割り込み信号を受け取ったホスト機器は、エラー割り込み信号をトリガーとして、ホスト機器内のドライバによりエラー処理を行う。例えば、メディア制御部2にデータの送受信を中止させる。
The
メディアコントローラ100は、さらに、メディア200への電力供給のオン/オフを切り替えるパワースイッチ3と、メディア制御部2から出力されるパワー制御信号に基づいてパワースイッチ3を制御するパワー制御部4と、を有する。パワースイッチ3は、パワー制御部4から出力されるスイッチ切替信号に基づいて、メディア200への電力供給のオン/オフを切り替えるスイッチ31と、スイッチ31の両端の電位差を測ることにより、メディア200に流れる過電流を検出する過電流検出回路32と、を有する。本実施形態において、スイッチ31は、トランジスタである。スイッチ31がオンのとき、電源電圧Vccがメディア200に供給される。これと同時に、電源電圧VccがI/Oセル群1に供給される。パワースイッチ3をメディアコントローラ100に内蔵しているため、I/Oセル群1の電源をメディアコントローラ100の内部から供給することが可能になり、I/Oセル群1において外部からの電力を入力するための電源入力端子が不要となる。過電流検出回路32は、メディア200に過電流が流れていることを検出すると、過電流が流れていることを示すエラー信号を出力する。
The
パワー制御部4は、メディア制御部2から出力されるパワー制御信号に従って、スイッチ31のオン/オフを切り替えるスイッチ切替信号を出力するパワー切替部41と、内部クロックを用いて時間をカウントするカウンタ42と、を有する。メディアコントローラ100は、所定時間αと所定時間βをそれぞれ示す所定の閾値を格納したレジスタ6をさらに備えている。所定時間αは、電源供給開始直後に過電流検出回路32から出力されるエラー信号を無視するための閾値であって、本実施形態においては16msecである。所定時間βは、電源供給の停止を過電流の検出時間に基づいて設定するための閾値であって、本実施形態においては8msecである。所定時間βが長すぎるとメディア200を破壊してしまうおそれがあり、短すぎるとメディアを安定して動作させることができなくなるため、所定時間βの長さは、メディア200が安定して動作でき、且つ、メディア200の破壊を防ぐ時間に設定することが好ましい。
The power control unit 4 includes a
カウンタ42は、電力供給の開始を指示するパワー制御信号を入力してからの時間T1と、過電流検出回路32からエラー信号が出力されている時間T2とをそれぞれ、内部クロックを用いてカウントする。なお、カウンタ42で使用される内部クロックは、他の動作条件で停止しないものであるが、メディアの電源がOFFの時は停止してもよい。パワー切替部41は、レジスタ6に格納されている閾値とカウンタ42のカウント値とを比較して、スイッチ切替信号及びエラー割り込み信号の出力を制御する。具体的には、パワー切替部41は、電力供給の開始を指示するパワー制御信号を入力してからの時間T1(すなわち、スイッチ31をオンに切り替えるスイッチ切替信号を出力してからの時間)が所定時間αを超えており、且つ、エラー信号を入力されている時間T2が所定時間βを超えたときに、スイッチ31をオフに切り替えるスイッチ切替信号をパワースイッチ3に出力する。またこれと同時に、エラー割り込み信号をメディア制御部2に出力する。
The
上記の構成において、過電流検出回路32、パワー切替部41、カウンタ42、及びレジスタ6により、本実施形態における過電流保護機能を実現する。
In the above configuration, the
メディアコントローラ100は、さらに、パワースイッチ3、パワー制御部4、及びメディア制御部2を制御することにより、パワースイッチ3の動作をテストするテスト制御部5をさらに有する。テスト制御部5は、ホスト機器が出荷される前に、パワー制御部4、パワースイッチ3、及びメディア制御部2を制御して、パワースイッチ3が正常に動作するかどうかをテストする。具体的には、例えば、テスト制御部5は、過電流検出回路32にエラー信号を強制的に出力させる。また、メディア制御部2に電力供給の開始を指示するパワー制御信号を強制的に出力させたり、又は、パワー制御部4にオンに切り替えるスイッチ切り替え信号を強制的に出力させて、スイッチ31を強制的にオンにさせる。このとき、レジスタ6に格納されている所定時間α及び所定時間βを示す閾値をそれぞれ様々な値に設定して、エラー発生時のテストを行ってもよい。例えば、所定時間α及び所定時間βの値を大きくしておくことにより、パワースイッチ3からエラー信号が出力されていても、エラー信号を強制的に無視して、スイッチ31のオンを指示するスイッチ切り替え信号を出力し続けさせてもよい。
The
2. メディアコントローラの動作
図2に、パワー制御部4の制御を示す。メディア200がホスト機器に挿入されてI/Oセル群1と電気的に接続されると、メディア制御部2は、メディア200への電力供給の開始を指示するパワー制御信号を出力する。パワー制御部4は、メディア制御部2からのメディア200への電力供給の開始を指示するパワー制御信号を入力したかどうかを判断する(S201)。電力供給の開始を指示するパワー制御信号を入力した場合、パワー制御部4は、スイッチ31をオンに切り替えるスイッチ切替信号を出力する(S202)。これにより、スイッチ31はオンに切り替わり、電源電圧Vccによる電力がメディア200に供給される。また、カウンタ42は、内部クロックを用いて、電源を供給してからの時間T1をカウントし始める。
2. Operation of Media Controller FIG. 2 shows control of the power control unit 4. When the medium 200 is inserted into the host device and electrically connected to the I /
過電流検出回路32は、メディア200に過電流が流れていることを検出すると、エラー信号を出力する。パワー制御部4は、過電流検出回路32からのエラー信号を入力したかどうかを判断する(S203)。エラー信号が入力され始めると、カウンタ42は、エラー信号を入力してからの時間T2をカウントし始める。エラー信号を入力した場合、パワー切替部41は、カウンタ42のカウント値とレジスタ6の閾値とを比較して、電源供給開始後の時間T1が所定時間αを超えたかどうかを判断する(S204)。
When the
電源供給を開始した直後、スイッチ31のオン抵抗が大きいため、メディア200に流れる電流が小さくても、スイッチ31の両端の電位差が大きくなる。そのため、この大きな電位差を検出した過電流検出回路32は、エラー信号を出力する。しかし、実際には、メディア200に過電流が流れているわけではない。よって、電源供給開始後の時間T1が所定時間αを超えていない場合(S204でNo)、エラー信号は過電流によるエラーではないと判断できる。そのため、パワー制御部4は、スイッチ31のオンを指示するスイッチ切替信号を出力し続ける(S202)。
Immediately after the power supply is started, the ON resistance of the
一方、電源供給開始後の時間T1が所定時間αを超えた場合(S204でYes)、過電流検出回路32から出力されるエラー信号は過電流のエラーによるものと判断できる。メディア200に過電流が長時間流れ続けると、メディア200が破壊されるおそれがあるため、メディア200への電力供給を停止させなければならない。一方、メディアの種類によっては、メディアの動作中に、非常に短時間の過電流が流れることがあり、過電流が流れる都度、メディア200への電力供給を停止させていると、メディア200を安定して動作させることができなくなる。そこで、パワー制御部4は、カウンタ42のカウント値とレジスタ6の閾値とを比較して、エラー信号を入力してからの時間T2が所定時間βを超えたかどうかを判断する(S205)。
On the other hand, when the time T1 after the start of power supply exceeds the predetermined time α (Yes in S204), it can be determined that the error signal output from the
エラー信号を入力してからの時間T2が所定時間βを超えていない場合は(S205でNo)、メディア200が破壊されるおそれがないと判断できるため、スイッチ31をオンに切り替えるスイッチ切り替え信号を出力し続ける(S202)。 If the time T2 after the error signal is input does not exceed the predetermined time β (No in S205), it can be determined that the medium 200 is not likely to be destroyed. The output continues (S202).
エラー信号を入力してからの時間T2が所定時間βを超えた場合は(S205でYes)、メディア200が破壊されるおそれがあると判断できるため、パワー制御部4はスイッチ31をオフに切り替えるスイッチ切替信号を出力すると共に(S206)、エラー割り込み信号をメディア制御部2に対して出力する(S207)。これにより、オフを指示するスイッチ切り替え信号に基づいて、パワースイッチ3のスイッチ31はオフに切り替わる。よって、メディア200に電力が供給されなくなる。また、エラー割り込み信号を受け取ったメディア制御部2は、メディア制御部2内においてエラー処理を行うと共に、ホスト機器に対してエラー割り込み信号を出力する。これにより、ホスト機器からメディア制御部2に対してデータの送受信の中止などが指示される。
If the time T2 after the error signal is input exceeds the predetermined time β (Yes in S205), it can be determined that the medium 200 may be destroyed, and therefore the power control unit 4 switches the
図3に、上記の制御を行ったときの各波形のタイミングチャートを示す。図3において、(a)はパワー制御部4から出力されるスイッチ切替信号を示し、(b)はパワースイッチ3からメディア200に供給される電力を示し、(c)はパワースイッチ3からメディア200に流れる電流を示し、(d)はパワースイッチ3から出力されるエラー信号を示し、(e)はパワー制御部4から出力されるエラー割り込み信号を示す。
FIG. 3 shows a timing chart of each waveform when the above control is performed. 3, (a) shows a switch switching signal output from the power control unit 4, (b) shows the power supplied from the
時刻t1で、メディア200がホスト機器に挿入され、メディア制御部2は電力供給の
開始を指示するパワー制御信号を出力する。パワー制御部4は、このパワー制御信号に従って、スイッチ31をオンに切り替えるスイッチ切替信号を出力する。これにより、パワースイッチ3からメディア200への電力供給が始まり、パワースイッチ3からメディア200に電流が流れ始める。メディア200への電力供給を開始した直後、過電流検出回路32はエラー信号を出力する(時刻t1〜時刻t2)。しかし、このエラー信号は、過電流によるものではないため、パワー制御部4は、電力供給を開始してからの時間T1が所定時間αを超えるまでの間は、エラー割り込み信号を出力しない。
At time t1, the medium 200 is inserted into the host device, and the media control unit 2 outputs a power control signal instructing the start of power supply. The power control unit 4 outputs a switch switching signal for turning on the
時刻t3で、過電流が発生している。しかし、過電流が流れている時間T2は、所定時間βより短いため、パワー制御部4はエラー割り込み信号を出力しない(時刻t3〜時刻t4)。 An overcurrent has occurred at time t3. However, since the time T2 during which the overcurrent flows is shorter than the predetermined time β, the power control unit 4 does not output an error interrupt signal (time t3 to time t4).
時刻t5で、再度、過電流が発生している。このときの過電流が流れている時間T2は所定時間βを超えるため、パワー制御部4はエラー割り込み信号を出力すると共に、スイッチ31をオフに切り替える(時刻t6)。 At time t5, overcurrent occurs again. Since the time T2 during which the overcurrent flows at this time exceeds the predetermined time β, the power control unit 4 outputs an error interrupt signal and switches off the switch 31 (time t6).
以上のように、本実施形態によれば、電源供給を開始してから所定時間αが経過した後に、過電流が所定時間βを超えて流れ続けると、スイッチ31への電力供給を停止する。
As described above, according to the present embodiment, the power supply to the
3.まとめ
本実施形態によれば、過電流が所定時間βを超えてメディア200に流れ続けると、スイッチ31をオフにしてメディア200への電力供給を停止している。よって、メディア200を過電流から保護することができ、メディア200の破壊を防ぐことができる。また、過電流が流れている時間が所定時間β以下の場合は、メディア200への電力供給を継続している。これにより、メディア200の特性に影響されず、メディア200を安定させて動作させることができる。
3. Summary According to the present embodiment, when the overcurrent continues to flow to the medium 200 for a predetermined time β, the
また、本実施形態によれば、電源供給を開始してから所定時間αが経過するまでは、エラー信号が過電流検出回路32から出力されていても、メディア200への電力供給を停止させていない。よって、パワースイッチ3の立ち上がり時の不安定な出力電圧に影響されずに、メディア200を正常に動作させることができる。
Further, according to the present embodiment, the power supply to the medium 200 is stopped even if an error signal is output from the
パワースイッチ3をメディアコントローラ100に対して外付けにした場合、エラー信号の出力時間を計測するためには、CR遅延などを用いたタイマー回路が必要となる。この場合、タイマー回路の素子のばらつきや周囲の温度変化の影響により、正確な時間を計測することが難しい。しかし、本実施形態によれば、パワースイッチ3をメディアコントローラ100に内蔵しているため、エラー信号の出力時間の計測に内部クロックを使用することができる。よって、正確な時間を計測することができる。これにより、より正確に電源供給の継続及び停止を制御することができる。
When the
本実施形態によれば、パワースイッチ3をメディアコントローラ100に内蔵しているため、パワースイッチ3の出力電圧を内部配線によってメディア用I/Oセル群1の電源として使用することができる。そのため、I/Oセル群1の電源入力端子を削減できる。
According to this embodiment, since the
また、本実施形態によれば、スイッチ切替信号をオフに切り替えると同時に、エラー割り込み信号をホスト機器に出力している。よって、ホスト機器内において、メディア200を制御しているソフトウェアがメディア200の電源が過電流によりオフになったことを知ることができる。これにより、メディア200を制御しているソフトウェアがホスト機器内で異常が起こらないように後処理を行うことが可能になる。
According to the present embodiment, the error interrupt signal is output to the host device at the same time as the switch switching signal is switched off. Therefore, in the host device, the software controlling the
また、メディアコントローラ100にテスト制御部5を内蔵したことにより、パワースイッチ3をメディアコントローラ100に内蔵させた構成において、パワースイッチ3のテストを容易に行うことができる。カメラ、パソコンなどのアプリケーションや接続されるメディアカードの種類によって、電源供給環境、たとえば、I/Oセル群1への電源供給やメディア200とパワースイッチ3間の電源供給などに変化が生じる。そのため、パワースイッチ3自体のテストやメディアカードコントローラシステム全体のテストを実施する必要がある。このとき、例えば、パワースイッチ3がメディアコントローラ100に内蔵されていない場合、パワースイッチ3とパワー制御部4に関連する動作テストをそれぞれ単独でしか行えないため、正確な動作テストを行うことができない。具体的には、パワースイッチ側とメディアコントローラ側で端子を用意する必要があり、さらに、アプリケーションや使用するメディアごとにテストの同期がとれないため、パワースイッチ側とメディアクロック側でのテスト信号の同期をとる必要が生じ、正確なメディアシステム全体のテストを正確に実行できない。しかし、本実施形態によれば、パワースイッチ3をメディアコントローラ100に内蔵させているため、動作テストを正確に行うことが可能となる。本実施形態によれば、複数種類のメディアカードが搭載可能なメディアカード制御に関して、パワー制御に関連する回路がいずれのシステムでも同一の回路構成で対応でき、さらに正確なパワー制御と動作テストを実現することができる。このように、正確な動作テストを実現するメディア制御装置は、複数種類のメディアカードに対応したメディアコントローラ回路と、メディアカードに電源を供給するパワースイッチ回路と、パワースイッチの電源供給を制御するパワー制御回路と、を備え、パワースイッチ回路は、メディアコントローラ側電位と電源側電位との電位差を比較する電位差比較回路を有し、パワー制御回路は、電位差比較回路の比較結果が所定の電位差を超えた時間を内部クロックに基づいてカウントするカウンタを用いて、オフ信号を出力するタイミング値を保存するレジスタのタイミング値とカウンタ値を比較してパワースイッチ回路のオンオフを制御し、内部クロックと同期してパワー制御回路とパワースイッチ回路にテスト信号を出力し、動作テストを実行するテスト回路と、を有する。
In addition, since the test controller 5 is built in the
なお、レジスタ6に格納される所定時間α及び所定時間βを示す閾値は、本実施形態に限定されない。また、所定時間α及び所定時間βは、ユーザにより設定されてもよい。これにより、様々なメディアを安全に動作させることができる。
Note that the threshold values indicating the predetermined time α and the predetermined time β stored in the
本実施形態のメディアコントローラによれば、メディアを過電流から保護することができるという効果を有し、メディアとの間でデータの送受信を行うホスト機器全般に有用である。 According to the media controller of the present embodiment, the media can be protected from an overcurrent, and is useful for all host devices that transmit / receive data to / from the media.
1 I/Oセル群
2 メディア制御部
3 パワースイッチ
4 パワー制御部
5 テスト制御部
6 レジスタ
31 スイッチ
32 過電流検出回路
41 パワー切替部
42 カウンタ
200 メディア
DESCRIPTION OF SYMBOLS 1 I / O cell group 2 Media control
Claims (7)
前記メディアへの電力供給のオン/オフを切り替えるスイッチと、前記スイッチから前記メディアに流れる過電流を検出する過電流検出回路と、を備えたパワースイッチと、
前記メディアが前記ホスト機器に接続されたときに、電力の供給を開始させるパワー制御信号を出力するメディア制御部と、
前記パワー制御信号に従って、前記スイッチのオン/オフの切り替えを制御するパワー制御部と、
を有し、
前記パワー制御部は、前記過電流検出回路が過電流を検出してから第1の所定時間が経過したときに前記スイッチをオンからオフに切り替える、ことを特徴とするメディアコントローラ。 A media controller that is mounted on a host device and controls transmission / reception of data between the host device and a medium connected to the host device,
A power switch comprising: a switch that switches on / off power supply to the medium; and an overcurrent detection circuit that detects an overcurrent flowing from the switch to the medium;
A media control unit for outputting a power control signal for starting supply of power when the media is connected to the host device;
A power control unit for controlling on / off switching of the switch according to the power control signal;
Have
The power controller is configured to switch the switch from on to off when a first predetermined time has elapsed since the overcurrent detection circuit detected an overcurrent.
前記パワースイッチから出力される電力を前記I/Oセルに供給する、請求項1に記載のメディアコントローラ。 An I / O cell that transmits data to the medium and receives data transmitted from the medium;
The media controller according to claim 1, wherein power output from the power switch is supplied to the I / O cell.
前記メディア制御部は、前記パワー制御部からエラー割り込み信号を受信すると、前記ホスト機器に対してエラー割り込み信号を出力する、請求項1に記載のメディアコントローラ。 The power control unit outputs an error interrupt signal to the media control unit when a first predetermined time has elapsed since the overcurrent detection circuit detected an overcurrent,
The media controller according to claim 1, wherein the media control unit outputs an error interrupt signal to the host device when receiving an error interrupt signal from the power control unit.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2009061221A JP2010218003A (en) | 2009-03-13 | 2009-03-13 | Medium controller |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2009061221A JP2010218003A (en) | 2009-03-13 | 2009-03-13 | Medium controller |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2010218003A true JP2010218003A (en) | 2010-09-30 |
Family
ID=42976831
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2009061221A Pending JP2010218003A (en) | 2009-03-13 | 2009-03-13 | Medium controller |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2010218003A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2012123579A (en) * | 2010-12-08 | 2012-06-28 | Nec Access Technica Ltd | Host device and power supply method from host device to external device |
Citations (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0496617A (en) * | 1990-08-10 | 1992-03-30 | Toshiba Corp | Overcurrent detection system |
| JPH05146049A (en) * | 1991-11-22 | 1993-06-11 | Nec Kansai Ltd | Load state detection circuit |
| JPH08185248A (en) * | 1994-12-15 | 1996-07-16 | Internatl Business Mach Corp <Ibm> | Mechanism and method for control of power supply as well as controller for input/output device |
| JPH10201092A (en) * | 1997-01-13 | 1998-07-31 | Rohm Co Ltd | Control circuit with forced operation function and semiconductor device |
| JPH10201076A (en) * | 1997-01-13 | 1998-07-31 | Hino Motors Ltd | Overcurrent cutoff circuit |
| JP2000013991A (en) * | 1998-06-22 | 2000-01-14 | Nec Corp | Method and circuit for limiting overcurrent using mosfet switch |
| JP2000227462A (en) * | 1999-02-08 | 2000-08-15 | Fujitsu Ltd | Semiconductor integrated circuit device and test method therefor |
| JP2007033108A (en) * | 2005-07-25 | 2007-02-08 | Nec Tokin Tochigi Ltd | Secondary battery pack |
| JP2007094963A (en) * | 2005-09-30 | 2007-04-12 | Sony Corp | Power management device and electronic device |
-
2009
- 2009-03-13 JP JP2009061221A patent/JP2010218003A/en active Pending
Patent Citations (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0496617A (en) * | 1990-08-10 | 1992-03-30 | Toshiba Corp | Overcurrent detection system |
| JPH05146049A (en) * | 1991-11-22 | 1993-06-11 | Nec Kansai Ltd | Load state detection circuit |
| JPH08185248A (en) * | 1994-12-15 | 1996-07-16 | Internatl Business Mach Corp <Ibm> | Mechanism and method for control of power supply as well as controller for input/output device |
| JPH10201092A (en) * | 1997-01-13 | 1998-07-31 | Rohm Co Ltd | Control circuit with forced operation function and semiconductor device |
| JPH10201076A (en) * | 1997-01-13 | 1998-07-31 | Hino Motors Ltd | Overcurrent cutoff circuit |
| JP2000013991A (en) * | 1998-06-22 | 2000-01-14 | Nec Corp | Method and circuit for limiting overcurrent using mosfet switch |
| JP2000227462A (en) * | 1999-02-08 | 2000-08-15 | Fujitsu Ltd | Semiconductor integrated circuit device and test method therefor |
| JP2007033108A (en) * | 2005-07-25 | 2007-02-08 | Nec Tokin Tochigi Ltd | Secondary battery pack |
| JP2007094963A (en) * | 2005-09-30 | 2007-04-12 | Sony Corp | Power management device and electronic device |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2012123579A (en) * | 2010-12-08 | 2012-06-28 | Nec Access Technica Ltd | Host device and power supply method from host device to external device |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US9696783B2 (en) | Method of sensing connection of USB device in power save mode and image forming apparatus for performing the same | |
| US8904215B2 (en) | Electronic device and power consumption measuring method thereof | |
| US9946329B2 (en) | Electronic apparatus | |
| US20140084973A1 (en) | Semiconductor device | |
| US20150115852A1 (en) | Over-current protection circuit and motor driving device | |
| JP4634316B2 (en) | Storage device storage device | |
| JP2010218003A (en) | Medium controller | |
| US8513979B2 (en) | Integrated circuit and related controlling method | |
| US20110004745A1 (en) | Method of Controlling a Measurement Instrument | |
| JP7143797B2 (en) | Power control device for in-vehicle camera module | |
| JP2005198439A (en) | LDO output short protection system | |
| JP2007033108A (en) | Secondary battery pack | |
| JP2015176349A (en) | Information processor, failure detection method and program | |
| JP5450352B2 (en) | Power supply monitoring apparatus and information processing apparatus | |
| JP5428969B2 (en) | Image forming apparatus | |
| TWI579685B (en) | Fan system and fan control method | |
| JP2007065961A (en) | Electronic control device and electronic control method | |
| JP4288705B2 (en) | Electronics | |
| CN114550666A (en) | Display device and method of driving the same | |
| EP3211508B1 (en) | Semiconductor device | |
| JP7652402B1 (en) | CONTROL DEVICE, MAGNETIC TAPE DEVICE, AND CONTROL METHOD | |
| JP4507777B2 (en) | Power control device | |
| US12319210B2 (en) | Electronic control device | |
| CN108388494B (en) | Electronic device and control method thereof | |
| JP6047918B2 (en) | POWER CONTROL DEVICE, ELECTRONIC DEVICE, AND POWER CONTROL METHOD |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20120130 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20120620 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20130111 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20130122 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20130325 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20130730 |
|
| A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20131203 |