JP4258264B2 - Information terminal device and POS terminal equipped with the same - Google Patents

Information terminal device and POS terminal equipped with the same Download PDF

Info

Publication number
JP4258264B2
JP4258264B2 JP2003119842A JP2003119842A JP4258264B2 JP 4258264 B2 JP4258264 B2 JP 4258264B2 JP 2003119842 A JP2003119842 A JP 2003119842A JP 2003119842 A JP2003119842 A JP 2003119842A JP 4258264 B2 JP4258264 B2 JP 4258264B2
Authority
JP
Japan
Prior art keywords
power supply
power
host
information
information terminal
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.)
Expired - Fee Related
Application number
JP2003119842A
Other languages
Japanese (ja)
Other versions
JP2004326412A (en
Inventor
英司 金子
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2003119842A priority Critical patent/JP4258264B2/en
Publication of JP2004326412A publication Critical patent/JP2004326412A/en
Application granted granted Critical
Publication of JP4258264B2 publication Critical patent/JP4258264B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は、ホスト情報処理装置にシリアル通信手段で接続される情報端末装置、これを備えたPOS端末およびPOSシステムに関するものである。
【0002】
【従来の技術】
従来のホスト情報処理装置にシリアル通信で接続される情報端末装置は、たとえばUSBのターゲットデバイスのように、シリアル通信経路の電源ラインからその動作電力を供給されているものがある。この場合、ホスト側の電源供給状況のみに依存して、情報端末側の電力供給が行われる。
【0003】
しかし、比較的大きな電力を必要とする情報端末装置では、シリアル通信経路の電源ラインからの電力供給では、その動作に必要な電力が供給されない場合がある。たとえば、USBのHUB機能を含有する情報端末装置などは、ACアダプタのような独自の電力供給手段を持っているが、その場合は常に電力を供給されているか、ACアダプタを外した場合は電力供給が停止したままとなる。情報端末装置によっては、一定時間以上ホスト側との通信がない場合、低電力状態に遷移するものもある。
【0004】
また、独自の電力供給手段を持ち、さらに、ホスト情報処理装置の電力供給状況に応じて自分自身の電力供給状況を、電力供給状態、低電力状態、電力停止状態と変化させるような情報端末装置もある(例えば、特許文献1参照)。
【0005】
【特許文献1】
特開平11−305880号公報
【0006】
【発明が解決しようとする課題】
しかしながら、ACアダプタを電力供給手段とする情報端末装置では、ホスト側の電源が入っていなくても、動作電力は供給されたままになっており、所定の電力が消費されつづけるという問題があった。
【0007】
また、特開平11−305880の場合は、ホスト側が電力供給停止状態であれば、情報端末側の電力供給は連動して供給停止状態になる。しかし、この場合はホスト側の電力供給が開始するまでは電力供給が停止したままとなる。そのため、情報端末側だけで動作をさせたい場合には、情報端末側の電力を供給できないという問題がある。
【0008】
さらに、ホスト情報処理装置と情報端末側を離して設置したい場合、通常オペレータは情報端末側の操作がメインであるため、情報端末側をオペレータの近くに設置する必要があり、その場合、ホスト側の電源を投入しなければ情報端末側の電力供給が開始されないため、ホスト情報処理装置を情報端末装置の近傍に置かざるをえない。ホスト情報処理装置を離しておいた場合は、オペレータは情報端末側を離れてホスト情報処理装置のもとへ行き、電源投入をしなければならない。そのため、ホスト情報処理装置を離して置けなかったり、離して置いた場合は、オペレータの処理がわずらわしいという問題がある。
【0009】
本発明ではこのような課題に鑑みてなされたものであり、動作モードの設定により、ホスト情報処理装置の電力供給状態に合わせて情報端末装置側の動作電力の制御をし、あるいはホスト情報処理装置の電力供給状況に無関係に情報端末装置側の電力供給を行い、加えて情報端末装置側からもホスト情報処理装置の電力供給状態の制御を可能にする情報処理端末、これを備えたPOS端末を提供することを目的とする。
【0010】
【課題を解決するための手段】
本発明の情報端末装置は、ホストとして機能する情報処理装置に接続され、通信手段としてシリアル通信を用い、その通信経路を通して電力が供給される情報端末装置において、AC電源をDC電圧に変換して動作電圧を供給する第1の電力供給手段と、前記第1の電力供給手段と前記通信経路から供給された電力をORして本システム内に供給する第2の電力供給手段と、前記第2の電力供給手段から供給された電力を、制御信号によってオン/オフし、本システム内に供給する第3の電力供給手段と、前記第1の電力供給手段が供給する電力と、前記通信経路から供給された電力をおのおの検出することが可能で、検出した場合検出信号を生成する電源検出手段と、電源検出時の動作を設定する制御動作設定手段と、電源の状態に無関係に動作を指示する動作指示手段と、前記電源検出手段からの検出信号、および前記制御動作設定手段の設定、および前記動作指示手段の出力に基づいて前記第3の電力供給手段を制御する電源制御手段と、前記動作設定手段の設定と前記電源制御手段の出力によって、前記ホストである情報処理装置に対して特定情報を生成するホスト情報生成手段と、前記ホスト情報生成手段の出力をシリアル通信可能にするホスト通信手段と、前記ホスト通信手段の出力を実際のシリアル通信経路に伝送するためのシリアル通信伝送手段を有すること、を特徴とする情報端末装置が提供される。
【0011】
この構成によれば、ホスト情報処理装置に、シリアル通信経路で接続された情報端末の、第1の電力供給手段にAC電力が供給されている状態において、ホスト情報処理装置の電源がオンされると、通信経路を通して電力の供給が開始され、第1の電力供給手段と通信経路を通して供給された電力を、第2の電力供給手段がORして出力する。この時、電源検出手段が通信経路を通して供給された電力のオンを検出し、電源検出手段が検出信号を出力し、電力制御手段に入力する。制御動作設定手段の設定をホスト情報処理装置からの電力供給が開始されたときに、第3の電力供給手段をオンするように設定してあれば、この設定に基づいて電力制御手段は、第3の電力供給手段に対して電力の供給を指示する。
【0012】
さらに、ホスト情報生成手段によって情報端末装置の、第1の電力供給手段、および第2の電力供給手段、第3の電力供給手段の状態を生成し、このホスト情報をホスト通信手段に入力することができる。ホスト通信手段に入力されたホスト情報はさらにシリアル通信手段に入力され、シリアル通信経路に出力できる信号に変換されて、ホストに伝達することが可能となる。
【0013】
この場合、第1の電力供給手段は、1次側のAC電源が供給されたならば無条件でVBAKとして供給し、第2の電力供給手段はVBAKと通信経路から供給された電力をORして生成され、電源検出手段と電源制御手段、およびホスト情報生成手段、ホスト通信手段、シリアル通信伝送手段への電力として供給し、これら以外の本システムの構成要素であるところの、VCC動作ブロックへの電力供給は停止することが、好ましい。
【0014】
この構成によれば、電源検出手段や電源制御手段は、第2の電力供給手段から電力を供給されるため、常に動作が可能である。同様に、ホスト情報生成手段、ホスト通信手段そしてシリアル通信伝送手段も第2の電力供給手段から電力を供給されるため、常にホストと通信を行うことが可能な情報端末が実現できる。
【0015】
これらの場合、制御動作設定手段の設定により、電源制御手段が電源検出手段によってホスト側の電源が投入されたことを検出した場合は、電源制御手段により第3の電力供給手段をオンして、VCC動作ブロックへの電力供給を開始し、電源制御手段が電源検出手段によってホスト側の電源が投入されないことを検出したときは、電源制御手段によって第3の電力供給手段をオフして、VCC動作ブロックへの電力供給を停止することが、好ましい。
【0016】
この構成によれば、ディップスイッチやジャンパスイッチなどの制御動作設定手段を備えて、その設定により、ホスト情報処理装置の電源がオンしたときに、情報端末装置側も電源がオンし、ホスト情報処理装置側が電源オフしたときに、これに連動して、情報端末装置側も電源オフするような設定ができる。
【0017】
これらの場合、制御動作設定手段の設定により、電源検出手段の検出結果の影響を受けることなく、動作指示手段の出力のみによって、電源制御手段が第3の電力供給手段のオン/オフを行うことが、好ましい。
【0018】
この構成によれば、ディップスイッチやジャンパスイッチなどの制御動作設定手段を備え、また、プッシュスイッチやトグルスイッチなどの動作指示手段を設け、ディップスイッチやジャンパスイッチなどの設定をホスト情報処理装置の電力供給に関係なく情報端末装置側の電源制御をするように設定することで、動作指示手段の指示のみで、情報端末装置側の電源をオン/オフすることができる。
【0019】
この場合、ホストである情報処理装置に対して、前記ホスト情報生成手段が生成する前記特定情報が、前記ホストである情報処理装置の電源の制御に関することが、好ましい。
【0020】
これらの場合、制御動作設定手段の設定により、動作指示手段の出力があった場合、電源制御手段は前記ホスト情報生成手段に対してホスト側への電源オン情報を生成するように指示し、ホスト情報生成手段が生成したホスト側電源オン情報はホスト通信手段に入力され、シリアル通信経路に伝送可能な形態に変換され、変換されたホスト側への電源オン情報はさらに、シリアル通信伝送手段にてシリアル通信経路の物理的な信号に変換されて、ホスト側へ伝送される。
【0021】
この構成によれば、プッシュスイッチなどの動作指示手段の押下により、電源制御手段が、ホスト情報処理装置の電源をオンするための情報を生成するようホスト情報生成手段に指示を出し、この生成された情報がホスト通信手段、シリアル通信手段を経由してホスト情報処理装置に伝送される。この結果、情報端末装置側の指示で、電源オフ状態のホスト情報処理装置の電源をオンすることが可能となる。
【0022】
これらの場合、制御動作設定手段の設定により、電源制御手段は、電源検出手段によってホスト側の電源が投入されたことを検出した場合は、電源制御手段により第3の電力供給手段をオンして、VCC動作ブロックへの電力供給を開始した後、動作指示手段の出力があった場合には、第3の電力供給手段をオフして、VCC動作ブロックへの電力供給を停止し、その後、動作指示手段の出力があった場合には再び、第3の電力供給手段をオンして、VCC動作ブロックへの電力供給を開始することが、好ましい。
【0023】
この構成によれば、ディップスイッチなどの制御動作設定手段の設定で、ホスト情報処理装置の電源のオン/オフに連動するだけではなく、ホスト情報処理装置に連動してオンした情報端末装置を、ホスト情報処理装置がオフすることなく独立してオフすることができる。さらに、いったんオフした情報端末装置を、やはりホスト情報処理装置から独立してオンさせることが可能となる。
【0024】
この場合、通信手段として、Universal Serial Bus(USB)を用いることが、好ましい。
【0025】
この場合、USBのHUB機能を有し、前記HUB機能を経由して外部に入出力装置を接続するための入出力ポートを有することが、好ましい。
【0026】
この構成によれば、情報端末装置内にUSBのHUB機能を持たせられる。さらにシリアル通信伝送手段をUSBにするために、ホスト情報処理装置側からまたは、情報端末装置側から相互に情報の通信を行うことが可能になる。
【0027】
この場合、電源検出手段と、電源制御手段およびホスト情報生成手段を、プログラムの指示に基づいてマイクロプロコンピュータが実現することが、好ましい。
【0028】
この構成によれば、電源の制御機構をソフトウエアで実現するため、開発にかける実費を安くすることが可能となる。また、制御フローの開発も、ソフトウエアのために、開発の効率を上げることができる。さらに、ホスト情報処理装置と情報端末装置の、USBを介した通信も、マイコンのソフトウエアによるため、汎用的なドライバを使用することができるため、開発効率を向上させることが可能である。
【0029】
この場合、入出力ポートに、USBプロトコルをUARTプロトコルに変換するプロトコル変換手段を有することが、好ましい。
【0030】
この構成によれば、USBプロトコルをUARTプロトコルに変換するために、今現在存在するUARTを使用したソフトウエアを、そのまま使用してUSB通信を行うことができるため、本発明の情報端末装置とホスト情報処理装置の通信を行うために、新たにソフトウエアを開発する必要が無くなる。
【0031】
この場合、プロトコル変換手段の出力を、マイクロコンピュータに接続するための、ホスト−マイクロコンピュータ接続手段を持ち、ホスト−マイクロコンピュータ接続手段を介してマイクロコンピュータのプログラムの書き換えを行うことが、好ましい。
【0032】
この構成によれば、USBとUARTのプロトコル変換の入出力を、マイコンに接続するため、ホスト情報処理装置とマイコンはUSBを通してUARTプロトコルで接続される。現在使用されているマイコンの多くは、UARTプロトコルでホストと接続され、プログラムの書き換えが行われる。そのため、USBでホストと接続されているにもかかわらず、UART用のプログラム書き換えソフトウエアを使用して、マイコンのプログラムの書き換えを行うことが可能になる。
【0033】
本発明のPOS端末は、上記された情報端末装置と、情報端末装置のシリアル通信伝送手段を介して接続されたPOSコンピュータと、情報端末装置のひとつの入出力ポートを介してPOSコンピュータに接続された外部装置と、を備えたことを特徴とする。
【0034】
この構成によれば、POSコンピュータに情報端末装置を接続して、POSコンピュータ側から情報端末装置側の電源のオン/オフをしたり、情報端末装置側からPOSコンピュータ側の電源のオン/オフを自在に行うことが可能になる。また、情報端末装置の入出力ポートを介して外部装置を接続できるため、POSコンピュータ側に何ら手を入れることなくその機能を拡張することが可能となる。
【0035】
この場合、外部装置は、POSコンピュータから取得した、金額情報を含む各種情報を、レシート紙に印刷可能な印刷装置であることが、好ましい。
【0036】
この構成によれば、金額情報とPOSコンピュータの内部情報、または情報端末側の内部情報を、単一の印刷装置によって印刷することができるようになる。
【0037】
これらの場合、前記外部装置に対して、第4の電力供給手段を経由して、電力を供給することが、好ましい。
【0038】
この構成によれば、情報端末装置に接続される外部装置に対して、別途ACアダプタなどの電力供給装置を必要としない。例えばプリンタなどの比較的大きな電力必要とする外部装置であっても、情報端末装置から直接電力を供給することが可能になる。
【0039】
【発明の実施の形態】
以下、本発明の一実施形態に係る情報端末装置、これを備えたPOS端末およびPOSシステムについて、図面を参照して説明する。
【0040】
本発明の情報端末装置は、第1の電源供給手段、第2の電源供給手段および第3の電源供給手段を有し、これらの電源供給手段の制御、およびホスト情報処理装置の電源制御を、内蔵する電源制御手段が、動作設定手段および動作指示手段に基づいて行うことで、システムの消費電力を低減させるためのものである。
【0041】
さらに、情報端末装置側からホスト情報処理装置の電源制御を行うことにより、ホスト情報処理装置と情報端末装置を離して設置することを可能にする。
【0042】
また、本発明のPOS端末およびPOSシステムは、おのおののホスト情報処理装置に前記情報端末装置を接続することで構成される。
【0043】
ここで、図1に基づいて、前記情報端末装置100の内部構造について説明する。
【0044】
前記情報端末装置100は、それだけでは機能することは無く、前記ホスト情報処理装置120に前記シリアル通信経路122を通して接続される。また、電源の供給も受けられるようVBUS121も、前記ホスト情報処理装置120に接続される。なお、前記ホスト情報処理装置120としては、一般的にはパーソナルコンユータ等が接続されるが、例えばゲーム機器や、マイコン内蔵型の家電機器などでも良い。前記情報端末装置100は、前記電源供給線121とは別個に、ACラインからDC電源を生成する前記第1の電源供給手段101を有し、独自に電源の供給が可能である。前記第1の電源供給手段101により生成されたDC電源であるところのVCCIN111は、前記第2の電力供給手段102および前記第3の電力供給手段103に入力される。前記第2の電力供給手段102は前記電源制御手段104の制御信号115により前記情報端末装置100内の電源であるところのVCC113の供給のオン/オフを行う。また、前記第3の電力供給手段103は、前記ホスト情報処理装置120から供給される前記VBUS121と、前記第2の電力供給手段102の出力である前記VCCIN111を入力し、電源VBAK12を出力する。前記電源検出手段108は、前記VBUS121と前記VCCIN111を入力し、どちらかがオンしているか、もしくは両方ともオンしているか、オフしているかを検出し、検出信号114を出力して前記電源制御手段104に通知する。前記電源制御手段104には、電源の制御状態を外部から支持するための前記動作指示手段105と、電源制御の方法や動作を設定するための前記動作設定手段106が接続され、それぞれ指示信号116aと設定信号116bとして与えられる。前記電源制御手段104は、前記指示信号116aと前記設定信号116b、および前記検出信号114に基づいて前記第2の電力供給手段102の前記電源制御信号115の制御を行う。また、前記電源制御手段104は、現在の前記情報端末装置100内の電源に関する各種情報を、第1の情報線117を通して前記ホスト情報生成手段107に与える。前記ホスト情報生成手段107は、前記第1の情報線117により与えられた情報を、前記ホスト情報処理装置100が解読可能な形式に変換する。変換された情報は、第2の情報線118を通して前記ホスト通信手段109に与えられる。前記ホスト通信手段109では、前記シリアル通信経路122に送るために前記第2の情報線118を通して送られた情報をシリアルに変換し、第3の情報線に送出する。前記第3の情報線に送出された情報は、前記シリアル通信経路122の物理的な規格に合致させるために、前記シリアル通信伝送手段110を通して、前記シリアル通信経路122に創出される。なお、前記シリアル通信経路122は、前記ホスト情報処理装置120と前記情報端末装置100の間で双方向であるので、上記した情報の流れは前記ホスト情報処理装置120から前記情報端末装置100の向きでも可能である。
【0045】
次に、図2を参照して、前記ホスト情報処理装置120と前記情報端末装置100の間の情報の経路の詳細な構成について示す。ここでは、前記シリアル通信経路122としてUSBを使った場合について述べる。また、前記ホスト情報処理装置100も、パーソナルコンピュータ200として説明する。もちろん、シリアル通信経路として、RS−232CやIEEE1394などを使用しても良い。前記パーソナルコンピュータ200と前記情報処理装置100は、USBケーブル210で接続される。前記USBケーブル210は、前記シリアル通信経路122と前記VBUS121からなる。前記USBケーブル210は、前記情報端末装置100のUSBインタフェースであるUSB I/F201に接続される。前記USB I/F201は、前記パーソナルコンピュータ200と前記情報端末装置100を物理的に接続するためのコネクタとして与えられる。前記USB I/F201を通して接続された前記シリアル通信経路122および前記VBUS121は、シリアル差動データ204としてUSB HUB202に入力される。前記USB I/F201と前記USB HUB202をもって、前記シリアル通信伝送手段110が構成される。本発明の一実施例では、図2のごとく前記USB HUB202を持つため、USBのダウンストリームポート203a〜203dがあり、前記ダウンストリームポート203a〜203cはUSBデバイス接続用コネクタのUSBコネクタ205に接続される。ただし、ここでは前記ダウンストリームポートのうちの一つ、前記ダウンストリームポート203dを、前記ホスト通信手段109に接続する。
【0046】
図3は、前記第3の電力供給手段103と前記USB I/F201の詳細を説明するものである。前記シリアル通信経路122は、D+およびD−の差動信号として与えられる。そして前記シリアル通信経路122および前記VBUS121は、前記USB I/F201を通してそれぞれ、前記VBUS121およびシリアル差動データ204として前記情報端末装置100に接続される。前記第3の電力供給手段103は、ダイオード301に前記VBAK121を入力して、ダイオード302に前記VCCIN111を入力し、ORすることで前記VBAK112として出力する。ここで、前記ダイオード301、前記ダイオード302は電流容量が小さければ一般の信号用のものでも良いが、順方向電圧降下が低いショットキーバリアタイプを使用することが望ましい。
【0047】
次に、図4を用いて前記第1の電力供給手段101と、前記第2の電力供給手段102の詳細な説明をする。前記第1の電力供給手段101は、AC電源からDC電源を生成する一般的なスイッチングレギュレータとして与えられる。その内部を説明する。前記第1の電力供給手段101は、AC電源から電力を入力するためのACプラグ420を持ち、前記ACプラグ420を介して供給されたAC電力は、変圧および整流器400へ入力される。前記変圧および整流器400は、色々な方式があり、各方式とも一般的となっているためここではその詳細な説明は省略する。前記変圧および整流器400で一定のDC電圧まで落とされた電源は、ハイサイドのスイッチであるHi−SW402に与えられる。また、前記Hi−SW402に接続されたLow−SW403はもう一方をアースされる。PWM制御部401は、第1の電力供給手段101の出力が一定になるように、前記第1の電力供給手段101の出力である、前記VCCIN111をモニタし、前記Hi−SW402および前記Low−SW403のオン/オフを制御する。ここで、前記Hi−SW402をオンしている間は前記Low−SW403はオフであり、逆に前記Hi−SW402がオフしている間は前記Low−SW403をオンする。前記Hi−SW402がオンの間は、コイル404にエネルギーが蓄えられ、出力コンデンサ405により平滑され、VCCIN111として出力される。一方前記Hi−SW402がオン、つまり前記Low−SW403がオンの間はこの、前記Low−SW403を通して前記コイル404に蓄えられたエネルギーが放出される。このようにして生成された特定のDC電源であるVCCIN111は、第2の電力供給手段へ入力される。本発明の一実施例として、前記第2の電力供給手段102は、大電流を流すことの出来るパワータイプのFETを用いて実現することが出来る。ここで、前記第2の電力供給手段102をさらに詳細に説明する。前記第2の電力供給手段102は、PチャネルのFET430とトランジスタ406を主要要素として構成できる。PチャネルFET430のゲート入力は、抵抗408を介してトランジスタ406のコレクタに接続される。また、前記PチャネルFET430のドレインには、前記第1の電力供給手段101の出力である前記VCCIN111が接続されている。前記PチャネルFET430のゲート入力は又、前記VCCIN111に抵抗407を介して接続されている。これは、前記トランジスタ406がオフの間でも、前記PチャネルFET430のゲート入力のレベルを、前記PチャネルFET430がオンしないように前記PチャネルFET430のゲート入力電圧を一定に保つためである。前記電源制御手段104は、前記制御信号115を前記トランジスタ406のベースに抵抗409を介して接続し、前記トランジスタ406をオン/オフすることで、前記PチャネルFET430のオン/オフを行う。なお、前記抵抗409は前記トランジスタ406のベースに過大な電流が流れて前記トランジスタ406を破壊することを防ぐ役目を持つ。また、抵抗410は、前記抵抗407と同様に、前記トランジスタ406のベースの電圧が不定にならないように、アースに接続されている。次に、第2の電力供給手段102の詳細な動作を説明する。前記ACプラグ420からAC電力が供給されていれば、前記VCCIN111は、常に供給される。この時、前記電源制御手段104の出力である前記制御信号115が、0Vである場合は、前記トランジスタ406のベースには電流が流れないため、前記トランジスタ406はオフとなる。したがって、前記PチャネルFET430のゲート入力には、前記VCCIN111の電圧が前記抵抗407を通して与えられることになる。前記PチャネルFET430は、ドレイン電圧とゲート電圧が一定電圧以上の差とならなければオンしないため、前記PチャネルFET430はオフとなり、前記VCCには電圧が発生しない。一方、前記電源制御手段104の出力である前記制御信号115が、αVである場合は、前記トランジスタ406のベースに前記抵抗409を通して電流が供給される。この場合、前記トランジスタ406はオンとなり、前記VCCIN111から前記抵抗407および前記抵抗408を通してコレクタに電流が流れる。この時、前記トランジスタ406のコレクタ電圧はほぼアースに近い電圧、つまり0Vとなる。前記PチャネルFET430のゲート電圧は、前記VCCIN111の電圧を、前記抵抗407と前記抵抗408で分圧された値となる。そしてこの電圧が、前記PチャネルFET430のドレイン電圧より一定以上低くなることで前記PチャネルFET430がオンする。その結果、前記PチャネルFET430のソース端子に、前記VCC113となる出力されることになる。
【0048】
次に、図5、図6および図7を用いて、前記動作指示手段105の構成とその動作について説明する。前記動作指示手段105は、例えばプッシュスイッチ500を設置し、前記プッシュスイッチ500を押下することで、前記電源制御手段104に対して、その動作を指示することが出来る。前記第1の電力供給手段101から前記VCCI111が供給される瞬間から説明を行う。前記動作指示手段105は、負論理のANDゲート509が前記指示信号116aをドライブする。前記負論理のANDゲート509の入力の一方は、前記プッシュスイッチ500からなる回路に接続され、もう一方はフリップフロップ506のQ#出力に接続される。前記プッシュスイッチ500の1入力はアースに接続され、もう一方の入力は、シュミットタイプのインバータ502に入力される。前記インバータ502の入力は、抵抗501を介して前記VCCIN111に接続される。したがって、前記プッシュスイッチ500を押下していないときは、前記VCCIN111の電圧が前記抵抗501を介して前記インバータ502に入力され、よって前記インバータ502の入力には、およそ前記VCCIN111の電圧が加えられる。前記インバータ502の出力は、抵抗503とコンデンサ504からなる微分回路を通してシュミットタイプのインバータ505に入力される。前記インバータ505の出力は、前記ANDゲート509の一方の入力に接続され、さらに前記フリップフロップ506のデータ入力に接続される。前記フリップフロップ506は、クロック発振器507のクロック出力513に基づいて動作する。また、前記フリップフロップ506は、リセットIC508のリセット信号514により、初期化される。
【0049】
ここで、図5の構成で与えられる前期動作指示手段105の動作の説明を行う。前記第1の電力供給手段101に時間T0でAC電力が与えられると、前記VCCIN111は徐々に立ち上がって、時間TBOOTの後、しかるべき電圧に到達して、安定供給される。前記リセットIC508は、入力電圧が一定の電圧以上に達しな間は、その出力をアースレベルつまり0Vとしてドライブするものである。また、一般的なリセットICは、入力電圧が一定電圧以上に到達したあとも、一定の時間出力として0Vをドライブするものがほとんどである。この場合も、TRD時間だけ0Vをドライブするものとする。一方、電源として前記VCCIN111が与えられた前期クロック発振器507は、時間TFDだけ遅れて発振を開始する。また、前記リセットIC514のリセット信号514により、前記フリップフロップ506のQ#出力は0Vとして、前記ANDゲート509の一方の入力へと入力される。一方、前記VCCIN111が規定の電圧に達した時間T1では、前記インバータ502には論理的に1となる電圧が入力される。ここでは、前記VCCIN111を5Vとする。したがって、前記インバータ502には+5Vが入力され、その結果0Vが出力される。そして、前記インバータ505に、0Vが入力されることとなり、前記インバータ505の出力は、+5Vとなる。この信号512は、前記ANDゲートの一方の入力に接続されているため、前記指示信号116aは、+5Vとして出力される。ここで、前記プッシュスイッチ500を押下して離した場合を考える。時間T2で、前記プッシュスイッチ500を押下すると、チャタリングと呼ばれる現象が発生する。チャタリングは時間TC1の間発生する。その後、前記プッシュスイッチ500により、前記インバータ502の入力は、アース電位と等しくなり、前記インバータ502の出力には、+5Vが出力される。前記インバータ502の出力は、前記した微分回路を通るため、チャタリングが除去される。チャタリングが除去された前記インバータ502の出力は、立ち上がりがなまった、信号511となり、前記インバータ505に+5Vとして入力される。前記インバータ505の出力は、反転されて0Vとなり前記ANDゲート509の一方の入力と、前記フリップフロップのデータ入力に入力される。前記フリップフロップ506は、前記インバータ505の出力0Vを、前記クロック信号513でサンプリングする。ここにおいて、前記インバータ505の出力が0Vになってから、前記フリップフロップ506が前記クロック信号513でサンプリングすまでの間、つまり時間T4だけ、前記ANDゲート509の出力は0Vとなる。このようにして、前記動作指示手段105により、0Vのパルスが、前記電源制御手段104へ対する前記指示信号116aとして与えられることとなる。なお、ここではリセットICを使ったが、ダイオードと抵抗、コンデンサを使って構成しても良い。また、フリップフロップは1段であるが、2段にする事で前記時間T4を前記クロック信号513の周期と同じ時間に設定することが出来る。また、ここでは0Vのパルスを生成しているが、逆に+5Vのパルスとしても良い。
【0050】
次に、図9を参照して、図1に示す電源検出手段108の詳細な構成について説明する。この図に示すように、前記電源検出手段108は、例えばVCCIN111の検出には、PNP型トランジスタ900と、抵抗901から構成されるものとなる。VUBSの検出についても、同様にPNPトランジスタ902と、抵抗903からなる。ここで、VBUS121の検出を例にとって、その動作原理を説明する。今、前記VBUS121が0Vであるとする。この時前記PNPトランジスタ902のベースはアースに接地されているためオン状態となっている。しかし、前記VBUS121は0Vであるため、前記PNPトランジスタ902のエミッタ−コレクタ間には電圧は発生せず、検出信号905は0Vを出力する。ここで、前記VBUS121に、+5Vが供給されたとする。前記PNPトランジスタ902のベースはアースに接地され、前記PNPトランジスタ902は、オンしている。そのため、前記PNPトランジスタ902のコレクタには、前記VBUS121の電圧である、+5Vが出力される。その結果、前記検出信号905に、+5Vが出力されることになる。なお、前記抵抗901、および前記抵抗903は、前記PNPトランジスタ900、902のコレクタ出力が不定状態になることを防止する目的で使用されている。
【0051】
次に、図10を参照して、図1に示す動作設定手段106の詳細な構成について説明する。この図に示すように、前期動作設定手段106は、スイッチ1000と、抵抗1010から構成される。スイッチ1000は、ディップスイッチなどの小型のものを使用するのが好ましいが、前記動作設定手段106の出力が1ないし2程度と少ない場合は、トグルスイッチやシーソー型の大型のスイッチでも良い。また、2極ないし3極の、ジャンパ型のスイッチでも良い。ジャンパ型のスイッチは、2極ないし3極のジャンパヘッダ1020と、ショート用プラグ1030からなり、前期ショート用プラグを挿入するとオン状態、挿入しない場合オフ状態となる。オフ状態では、前記抵抗1010を介して、前記VBAK112が、前記設定信号116bに出力されることになるため、前記設定信号116bには、前記VBAK112の電圧がそのまま出力される。一方、前記スイッチ1000をオンとした場合、前記設定信号116bは、直接アースに接続されるため、前記設定信号116bには、0Vが出力される。ここで、前記動作設定手段106の構成は、機械式のスイッチで構成される場合について説明したが、不揮発性のメモリなどの電気的記憶装置を用いても良い。
【0052】
次に、図11および図12を用いて、図1に示す電源制御手段104の詳細な構成について説明する。図11および図12は、それぞれマイクロコンピュータA1100、マイクロコンピュータB1200が主な構成要素となる。前記マイクロコンピュータA1100と、前記マイクロコンピュータB1200の違いは、前記シリアル通信手段110を、内部に持つか外部に必要とするかだけであるので、ここでは前記マイクコンピュータA1100を使った、図11を使って詳細を説明する。前記マイクロコンピュータA1100には、前記動作指示手段105と、前記動作設定手段106が接続される。また、前記マイクロコンピュータA1100は、前記VBAK112を電源として動作する。前記VBAK112は、前記第3の電力供給手段103から供給されるため、前記VBUS121もしくは前記VCCIN111のどちらかが供給されると、マイクロコンピュータA1100の動作が開始される。また、前記マイクロコンピュータA1100には、前記電源検出手段108の出力である、前記検出信号114が接続されている。この場合、前記検出信号114は、前記VBUS121の検出を示すVBUS検出信号905と、前記VCCIN111検出信号904で、前記検出信号114を構成し、前記マイクロコンピュータA1100に入力される。したがって、前記マイクロコンピュータA1100は、自分が今どの電源を供給元として動作しているかを知ることが出来る。発振回路1130は、水晶振動子1131およびコンデンサ1132a、コンデンサ1132bから構成され、マイクロコンピュータA1100の動作クロックを供給する。前記発振回路1130は、他に、前記コンデンサ1132a、コンデンサ1132bを内蔵したセラミック発振子を用いたり、発振回路内臓の水晶発振器を用いても良い。また、前記マイクロコンピュータA1100は、前記第2の電力供給手段102を制御するための制御信号115を出力する。前記マイクロコンピュータA1100は、前記シリアル通信手段110を内部に持つために、直接前記シリアル通信経路122に接続が可能である。本実施例の場合、前記シリアル通信経路122をUSBとしている。したがって、抵抗1110および抵抗1120を通して、それぞれD+、D−に続する。抵抗1130は、前記マイクロコンピュータA1100が、フルスピードでUSBに接続されたことを示すための、D+信号のプルアップ用である。ここでは、前記電源制御手段104として、マイクロコンピュータを用いた場合を説明したが、FPGA(Field Programable GateArray)や、PLD(Programable Logic Device)などを使用しても良い。
【0053】
なお図14は、図1中の前記電源制御手段104をマイクロコンピュータで構成した場合の、前記ホスト情報生成手段104を実現するための、マイクロコンピュータの内部プログラムのフロチャートである。生成するホスト情報を、VBUSおよびVCCINの電圧レベル、つまり電源が供給されているかどうかと言う事とする。まず、VBUSの情報を一時保管するレジスタをREG1、VCCINの情報を一時保管するレジスタをREG2とすれば、REG1およびREG2に論理0を格納する。次にVBUSの状態をスキャンし、VBUSが+5VであればREG1に論理1を格納し、0Vであれば何もせず次の処理に移る。次にVCCINの状態をスキャンし、VCCINが5VであればREG2に論理1を格納し、0Vであれば何もせず次の処理に移る。最後に、ホスト情報として保存する情報を格納するためのレジスタであるCPUINFOにREG1およびREG2の内容を格納する。
【0054】
次に、図13に、別の実施形態の構成例を示す。この実施例では、パーソナルコンピュータ1310に、本発明の情報端末装置100を、USBケーブル210で接続する。また、前記情報端末装置100内部には、USB HUB202を持ち、電源制御手段104、ホスト情報生成手段107、ホスト通信手段109を持つ、マイクロコンピュータA1100が、前記USB HUB202に接続される。また、外部装置に電力を供給する第4の電力供給手段1320があり、前記マイクロコンピュータA1100により、制御される。第4の電力供給手段1320は、外部装置に対して、外部装置電源1340を供給する。第4の電力供給手段1320の詳細な構成は、図4に示したものと同様のもので構成することが出来る。また、第1の電力供給装置101には、スイッチ1350が備えられ、ACプラグ420からAC電力が供給されている場合でも、その電力のオンおよびオフを制御できる。その他の構成は図1に示したものと変わらないので、省略する。
【0055】
次に、図13の実施の形態にもとづき、詳細な動作について説明する。今、ACプラグ420は、AC電力を供給されているが、スイッチ1350がオフの状態であるため、VCCIN111は0Vとなっている。この状態で同様に、パーソナルコンピュータ1310の電源もオフ状態で、USBケーブル210を通して供給される、VBUS121も0Vである。ここで、スイッチ1350をオンする。すると、第1の電力供給手段101がオンし、VCCI111を生成し、供給を開始する。マイクロコンピュータA1100は、VBAK112を電力源としているので、VCCI111もしくはVBUS121のどちらかが供給されると、マイクロコンピュータA1100は、動作に必要なVBAK112が供給され始めるため、動作を開始し、内部プログラムに沿った動きを行う。内部プログラムの初期値を、第2の電力供給手段102、第4の電力供給手段1320、双方オフ状態としておけば、第2の電力供給手段102および第4の電力供給手段1320はオフの状態であるため、VCC113および外部装置電源1340は、オフのままである。
【0056】
今、動作設定手段106を、VBUS121の電源が供給された時に連動して、第2の電力供給手段102をオンするという状態に設定しているものとする。ここでいう連動とは、VBUS121がオンすれば第2の電力供給手段102をオンし、VBUS121がオフすればそれに伴って、第2の電力供給手段102をオフすることを示す。これを仮に連動モードと呼ぶ。この場合、例えば設定信号が+5Vつまり論理1に設定されている。この状態では、VCCIN111が供給されているが、VCCIN111は、マイクロコンピュータA1100が動作するだけの電流が消費されている。近年のマイクロコンピュータは、消費電力が極度に低減化されているため、この状態ではごくわずかの電力しか消費しないようなマイクロコンピュータを選択することが出来る。ここで、パーソナルコンピュータ1310の電源がオンされ、これに伴って、VBUS121に対して+5Vの電力の供給が開始されたとする。VBUS121は、第3の電力供給手段103とともに、電源検出手段108に入力される。+5Vが供給されたVBUS121は、電源検出手段108により供給されたことを検出され、その結果、検出信号905がVBUS121と同レベル、つまり+5Vとなる。検出信号905が+5VになったことをマイクロコンピュータA1100が検出すると、マイクロコンピュータAは、制御信号115を、0Vから+5Vに、つまり論理0から論理1に変更する。第2の電力供給手段102は図4の回路構成であるため、出力であるVCC113が+5Vになり、VCC113の供給が開始される。同様に第4の電力供給手段1320も図4の回路構成をとることができるため、制御信号1330を変化させることで外部装置電源の供給を開始することが可能となる。これとは逆に、この状態でパーソナルコンピュータ1310の電源がオフになったとする。パーソナルコンピュータ1310の電源がオフになると、これに伴いVBUS121が+5Vから0Vへ変化する。すると、電源検出手段108の検出信号は、論理1から論理0へと変化する。マイクロコンピュータAは、検出信号905を、そのプログラムの指示により常に読んでいるため、検出信号905が論理1から論理0に変わったことを検出する。検出信号905が論理0に変わったことを検出したマイクロコンピュータA1100は、制御信号115を論理0に変化させる。これにより、VCC113の供給を停止させることとなる。なお、マイクロコンピュータA1100のプログラムにより、上記で説明した動作であっても、VCC113がオンしたあと、動作指示手段105からの指示信号116aにより、VCC113をオフし、さらにオンすることが出来る。
【0057】
次に、動作設定手段106を、VBUS121の電源の供給とは関係なく、第2の電力供給手段102をオンおよびオフする、という状態に設定しているものとする。この設定をここでは仮に、独立モードと呼ぶことにする。この場合設定信号116bは0V、つまり論理0になっている。この状態でACプラグ420から第1の電力供給手段101に電力が供給されているとする。この場合、VBUS121が0Vから+5Vに変化しても、マイクロコンピュータA1100は、第2の電力供給手段102に対する制御信号115を論理1にしない。この状態で動作指示手段106から、負論理のパルスをマイクロコンピュータA1100に入力する。マイクロコンピュータA1100は、指示信号116aが論理1→論理0に変化したことで、現在の状態を変更させる動作を開始する。すなわち、第2の電力供給手段102に対して、制御信号115を論理1にする。これにより、VCC113をオンする。また、VCC113がオンの状態で、同様に動作指示手段106から、負論理のパルスをマイクロコンピュータA1100に入力すると、マイクロコンピュータA1100は、制御信号115を論理0にして、VCC113をオフにする。
【0058】
ここで図8を用いて、連動モードと独立モードを実現するための、マイクロコンピュータA1100の状態の遷移を説明する。VBAK112が供給されると、マイクロコンピュータA1100は、状態S0に入る。VBAK112は、VBUS121とVCCIN111のORされたものなので、どちらの電源が投入されたかは瞬時に判定できる。供給されたのがVCCIN111であれば、状態はSVCCに遷移し、VBUS121であれば状態SVBUSに遷移する。状態SVCCにいる時、独立モードの設定であればVBUS121が+5Vになれば状態SVBVCに遷移する。この時、制御信号115は論理0である。一方、連動モードの設定であれば状態は、SON3に遷移し、この時制御信号115を論理1にして、第2の電力供給手段102をオンする。また、状態SVBUSにおいて独立モードの設定であれば、VCCIN111が+5Vになれば、状態はSVBVCに遷移し、第2の電力供給手段102をオンしない。しかし、連動モードの設定であれば状態はSON3に遷移して、制御信号115を論理1にして、第2の電力供給手段102をオンする。独立モードの設定の時で、かつ状態がSVCCまたはSVBUSまたはSVBVCであれば、動作指示手段105から指示信号116aが与えられると、SVCCからはSON1,SVBUSもしくはSVBVCからはSON2に遷移して、制御信号115を論理1にして、第2の電力供給手段102をオンする。状態SON3にある状態では、VBUS121ないしはVCCIN111の状態変化で、それぞれSVCCもしくはSVBUSに遷移して、この時制御信号115を論理0にして、第2の電力供給手段102をオフする。また、状態SON3にいる時に、動作指示手段105から指示信号116aが与えられると、状態SOFFに遷移する。この時時制御信号115を論理0にして、第2の電力供給手段102をオフする。状態SOFFからは動作指示手段105からの指示信号116aにより、再び状態SON3に遷移させ、制御信号115を論理1にして、第2の電力供給手段102をオンする。以上説明した状態遷移をプログラムすることで、動作設定手段106の設定に応じて、本発明の情報端末装置100の電源オン/オフ制御が可能になる。
【0059】
次に情報端末装置100の指示に基づいて、パーソナルコンピュータ1310の電源の制御を行う方法について説明する。動作指示手段106からの指示信号116bが入力されたときに、マイクロコンピュータA1100は、内蔵されているプログラムに基づいて、ホスト情報を生成する。このホスト情報は、パーソナルコンピュータ1310の電源オンに関するものである。ホスト情報生成手段107で生成された電源オンに関するホスト情報は、経路203dを通ってUSB HUB202に達する。ここからさらにUSB I/F201を経由しUSBケーブル210を通ってパーソナルコンピュータ1310に伝えられる。電源オンに関するホスト情報を受け取ったパーソナルコンピュータ1310は、この情報に基づき、その電源をオンする。
【0060】
次に、図15を用いて、マイクロコンピュータのプログラム書き換えと、外部装置に対する電源供給について説明する。この例では、シリアル通信伝送手段110を持たない、マイクロコンピュータB1200を用いる。マイクロコンピュータB1200は、シリアル通信伝送手段110を通して情報端末装置100内に設置されているUSB HUB202に接続されている。ここでのシリアル通信手段110は、一般的に入手できるUSB FIFO専用デバイスを用いることができる。また、USB/UARTプロトコル変換手段1500も、USB HUB202に接続される。前記USB/UARTプロトコル変換手段1500も、専用のICが容易に入手できるので、一般的にはこの専用ICを用いる。情報端末装置100は、USBケーブル210でPOSコンピュータ1550に接続されている。ここで、POSコンピュータ1550と情報端末装置100およびオペレーションに必要な周辺装置、たとえばバーコードスキャナ/キーボード/レシートプリンタ、から構成されるシステムを、POS端末と呼称する。
【0061】
一般的なPOS端末では、RS232Cプロトコルのシリアル通信でPOSコンピュータと通信するデバイスが多く使われている。本発明の実施例のように、POSコンピュータとの間をUSBにした場合に、一般的で入手が容易なRS232Cインタフェースの周辺デバイスを使えなくなってしまう。そのため、USB/UARTプロトコル変換手段1500を設け、RS232Cレベル変換手段1510を通して、外部信号コネクタ1520に接続することで、容易にこれまでの周辺デバイスを使用することが可能になる。また、このとき周辺デバイスに対して電源の供給が必要になることがある。その場合に備えて、第4の電力供給手段1320を介して、外部電源コネクタ1540を設置し、周辺デバイスに対して電力の供給を行う。
【0062】
ここで、マイクロコンピュータB1200は、POSコンピュータとUSBプロトコルを通じて更新が可能である。したがって、POSコンピュータからのUSBコマンドに基づき、外部電源コネクタ1540に接続した周辺デバイスの電源のオン/オフを制御することが可能になる。また、すでに説明したように、ホスト情報処理装置120、すなわちPOSコンピュータ1550の電源のオン/オフに連動して、周辺デバイスの電源のオン/オフを行うようにも設定が可能である。これにより、無駄のない効率的な周辺デバイスの電源制御が可能になる。
【0063】
次に、マイクロコンピュータB1200のプログラム書き換えについて説明する。マイクロプログラムBは、内部にプログラム用のフラッシュメモリを持ち、フラッシュメモリ書き換え用データがあらかじめ書き込まれているものを使用することができる。このようなマイクロコンピュータは現在一般的に入手可能である。また、そのようなフラッシュメモリを内蔵しないマイクロコンピュータを使用する場合でも、外部に接続したフラッシュメモリに対して同様の書き換えが可能である。これらの場合、プログラム書き換えデータをダウンロードする側の装置との通信は、UARTが簡単である。現在のマイクロコンピュータのほとんどがUARTのインタフェースを持っており、ない場合でもそのプロトコルの実装は、プログラムにより容易に実装できるためである。このように、UARTを経由してプログラム書き換えデータを取得する構成にすれば、本実施例で説明した、前記USB/UARTプロトコル変換手段1500の入出力を、マイクロコンピュータB1200に接続することで、プログラムの書き換えが容易に実現できる。ただし、周辺デバイスとPOSコンピュータが通信しているときは、マイクロコンピュータB1200に対してデータの接続をせず、その逆にPOSコンピュータ1550とマイクロコンピュータB1200が通信しているときは、周辺デバイスを接続しない必要がある。これは、予期しないデータが出力され、周辺デバイスならびにマイクロコンピュータB1200の誤動作を回避するためである。そのために、UART信号切換器1530を設置する。UART信号切換器1530の詳細な構成は、たとえば図16のようにすることで実現できる。USB/UARTプロトコル変換手段1500に対する入力信号は、信号選択回路1600を通し、マイクロコンピュータB1200が信号選択信号1620を制御することで切り替えることができる。この場合、前記信号選択信号1620を論理1にすれば周辺デバイスからの信号が、前記選択信号1620を論理0にすれば、マイクロコンピュータB1200の信号が、前記USB/UARTプロトコル変換手段1500に入力される。抵抗1630は、初期化直後に周辺デバイスの信号を選択するために設置する。もちろん、これらの信号論理を逆に設定してもよい。また、USB/UARTプロトコル変換手段1500からの出力は、周辺デバイスに対しては第1のAND1640を通して、マイクロコンピュータB1200に対しては第2のAND1610を通して接続する。おのおののANDゲートには、前記選択信号1620を接続する。ただし、選択論理を帰るために、マイクロコンピュータB1200へは、インバータ1650を通して反転した選択信号1620を接続する。したがって、選択されていない場合にそれぞれの信号は、論理0に固定されることになる。以上のようにして、USB/UARTプロトコル変換手段1500の入出力をマイクロコンピュータB1200に接続することが可能となる。マイクロコンピュータB1200のプログラム書き換えは、マイクロコンピュータBを製造・販売している会社もしくは、第三者が提供する書き換え用ツールを使うことで、容易に実現ができる。
【0064】
図17は、最小構成のPOS端末を示す。POSコンピュータ1550に情報端末装置100を接続し、USBコネクタ205を介してバーコードスキャナ1720が接続される。また、ここではUSB/UARTプロトコル変換手段1500を通し、RS232Cレベル変換手段1510を経由して、RS232Cに変換された信号が接続されている、外部信号コネクタ1520に、レシートプリンタ1710を接続している。レシートプリンタ1710への電力供給は、外部電源コネクタ1540を通して行われる。この構成にすることで、POSコンピュータ1550の電源がオフしているときに、レシートプリンタ1710の電源もオフ、POSコンピュータ1550の電源がオンしたときに、レシートプリンタ1710の電源もオンにすることができる。これにより、電力の消費を効率よく行うことが可能になる。また、POSコンピュータ1550で周辺デバイス、ここではレシートプリンタ1710の電源制御を行えるため、システムのメンテナンス性が向上する。
【0065】
図18を使って、複数のPOS端末1810が、ネットワーク1820を介してサーバー1800に接続されている場合のメンテナンスについて説明する。今サーバー1800の電源はオンされているが、POS端末1810の電源はオフされているとする。このとき、サーバー1800のプログラムによりPOS端末1810のメンテナンスを行うとする。ネットワークを介して接続されたコンピュータの電源をオンする技術は、現在一般的である。この技術を用いてPOSコンピュータ1550の電源をオンした場合、本発明の実施例によれば、連動モードの設定で簡単にレシートプリンタ1710の電源をオンにすることができる。その後、POSコンピュータ1550を介してレシートプリンタ1710の状態をチェック、たとえば神の状態やインクジェットプリンタであればインクの残量などを調べて、その結果をサーバーに通知する。
【0066】
【発明の効果】
以上説明したように、本発明の情報端末装置によれば、ホスト情報処理装置の電源のオン/オフにしたがって、情報端末装置側の電源のオン/オフが制御でき、情報端末装置の無駄な電力の消費を抑えることができる。
【0067】
また、使用するマイクロコンピュータ内部プログラムの書き換えの必要が生じた場合に、特別な仕組みを必要とせず、USB経由でマイクロコンピュータとUARTにより、簡単にプログラムの書き換えが可能になる。
【0068】
さらに、USB/UARTプロトコル変換によって、POS周辺デバイスとしてはもっとも普及しているRS232C I/Fのデバイスを利用することが可能となる。
【0069】
一方、本発明のPOS端末によれば、情報端末装置に接続した周辺装置の電源の制御ができるため、無人の状態でのPOS端末のメンテナンスが可能になる。
【0070】
また、情報端末装置側からのホスト情報処理装置の電源オン/オフができるため、ホスト情報処理装置、すなわちPOSコンピュータと情報端末装置側を離して設置することが可能になり、店舗カウンタが効率よく利用できることになる。
【図面の簡単な説明】
【図1】 本実施例における情報端末装置の概要を示すブロック図である。
【図2】 本実施例における、図1のシリアル通信手段の詳細な構成例を示すブロック図である。
【図3】 本実施例における、図1の第3の電力供給手段の詳細な構成例を示すブロック図である。
【図4】 本実施例における、図1の第1および第2の電力供給手段の詳細な構成例を示すブロック図である。
【図5】 本実施例における、図1の動作指示手段の詳細な構成例を示すブロック図である。
【図6】 本実施例の図5における、電源供給直後の各部の信号生成のタイミングを表すタイミング図である。
【図7】 本実施例の図5における、スイッチ押下前後の各部の信号生成のタイミングを表すタイミング図である。
【図8】 本実施例の、情報端末装置の電源のオン/オフに関する、マイクロコンピュータの状態遷移を表す状態遷移図である。
【図9】 本実施例における、図1の電源検出手段の詳細な構成例を示すブロック図である。
【図10】 本実施例における、図1の動作設定手段の詳細な構成例を示すブロック図である。
【図11】 本実施例における、図1の電源制御手段、ホスト情報生成手段、ホスト通信手段の詳細な構成例を示すブロック図である。
【図12】 本実施例における、図1の電源制御手段、ホスト情報生成手段、ホスト通信手段の、別の詳細な構成例を示すブロック図である。
【図13】 本発明の別の実施例を示すブロック図である。
【図14】 本実施例における、図1のホスト情報生成手段を、マイクロコンピュータのプログラムにより構成する場合の、マイクロコンピュータの動作を示すフロチャートである。
【図15】 本実施例における、USB/UARTプロトコル変換手段の詳細な構成例と、マイクロコンピュータのプログラム書き換えのためのUARTとの接続の詳細な構成例を示すブロック図である。
【図16】 本実施例における、図15のUART信号切換器の詳細な構成例を示すブロック図である。
【図17】 本発明の情報端末装置を利用したPOS端末の、一構成例を示す構成図。
【図18】 本発明の情報端末装置を利用したPOS端末から構成される、店舗のPOSシステムを示すのシステム概要図。
【符号の説明】
100 情報端末装置 101 第1の電力供給手段
102 第2の電力供給手段 103 第3の電力供給手段
104 電源制御手段 105 動作指示手段
106 動作設定手段 107 ホスト情報生成手段
108 電源検出手段 109 ホスト通信手段
110 シリアル通信伝送手段 111 VCCIN
112 VBAK 113 VCC
114 検出信号 115 制御信号
116a 指示信号 116b 設定信号
117 第1の情報線 118 第2の情報線
119 第3の情報線 120 ホスト情報処理装置
121 VBUS 122 シリアル通信経路
200 パーソナルコンピュータ 201 USB I/F
202 USB HUB 203a ダウンストリームポート
203b ダウンストリームポート 203c ダウンストリームポート
203c ダウンストリームポート 204 シリアル差動データ
205 USBコネクタ 210 USBケーブル
301 ダイオード 302 ダイオード
400 変圧および整流器 401 PWM制御部
402 Hi−SW 403 Low−SW
404 コイル 405 出力コンデンサ
406 トランジスタ 407 抵抗
408 抵抗 409 抵抗
410 抵抗 430 PチャネルFET
420 ACプラグ 500 プッシュスイッチ
501 抵抗 502 インバータ
503 抵抗 504 コンデンサ
505 インバータ 506 フリップフロップ
507 クロック発振器 508 リセットIC
509 ANDゲート 900 PNP型トランジスタ
901 抵抗 902 PNP型トランジスタ
903 抵抗 904 検出信号
905 検出信号 1000 スイッチ
1010 抵抗 1020 ジャンパヘッダ
1030 ショート用プラグ 1100 マイクロコンピュータA
1110 抵抗 1120 抵抗
1130 発振回路 1131 水晶振動子
1132a コンデンサ 1132b コンデンサ
1140 抵抗 1200 マイクロコンピュータB
1310 マイクロコンピュータ 1320 第4の電力供給手段
1330 制御信号 1340 外部装置電源
1350 スイッチ
1500 USB/UARTプロトコル変換手段
1510 RS232Cレベル変換手段
1520 外部信号コネクタ 1530 UART信号切換器
1540 外部電源コネクタ 1550 POSコンピュータ
1600 信号選択回路 1610 AND
1620 信号選択信号 1630 抵抗
1640 AND 1710 レシートプリンタ
1720 バーコードスキャナ 1800 サーバー
1810 POS端末 1820 ネットワーク
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an information terminal device connected to a host information processing device by serial communication means, a POS terminal and a POS system provided with the information terminal device.
[0002]
[Prior art]
Some information terminal apparatuses connected to a conventional host information processing apparatus by serial communication are supplied with operating power from a power line of a serial communication path, such as a USB target device. In this case, power supply on the information terminal side is performed depending only on the power supply status on the host side.
[0003]
However, in an information terminal device that requires a relatively large amount of power, the power necessary for the operation may not be supplied by the power supply from the power line of the serial communication path. For example, an information terminal device containing a USB HUB function has its own power supply means such as an AC adapter. In this case, power is always supplied, or power is removed when the AC adapter is removed. Supply remains stopped. Some information terminal devices transition to a low power state when there is no communication with the host side for a certain period of time.
[0004]
Also, an information terminal device that has its own power supply means, and further changes its own power supply status to a power supply status, a low power status, and a power stop status according to the power supply status of the host information processing device (For example, refer to Patent Document 1).
[0005]
[Patent Document 1]
Japanese Patent Laid-Open No. 11-305880
[0006]
[Problems to be solved by the invention]
However, in the information terminal device using the AC adapter as the power supply means, there is a problem in that the operating power remains supplied even if the host-side power is not turned on, and the predetermined power continues to be consumed. .
[0007]
In the case of Japanese Patent Laid-Open No. 11-305880, if the host side is in a power supply stop state, the power supply on the information terminal side is linked to a supply stop state. However, in this case, the power supply remains stopped until the host-side power supply is started. Therefore, when it is desired to operate only on the information terminal side, there is a problem that power on the information terminal side cannot be supplied.
[0008]
Furthermore, when it is desired to install the host information processing apparatus and the information terminal side apart from each other, the operator usually operates on the information terminal side, so it is necessary to install the information terminal side near the operator. Since the power supply on the information terminal side is not started unless the power is turned on, the host information processing apparatus must be placed in the vicinity of the information terminal apparatus. If the host information processing apparatus is separated, the operator must leave the information terminal side and go to the host information processing apparatus to turn on the power. Therefore, there is a problem that the processing of the operator is troublesome if the host information processing apparatus cannot be placed apart or is placed apart.
[0009]
The present invention has been made in view of the above problems, and controls the operating power on the information terminal device side according to the power supply state of the host information processing device by setting the operation mode, or the host information processing device. An information processing terminal that supplies power on the information terminal device side regardless of the power supply status of the information processing apparatus, and that enables control of the power supply state of the host information processing apparatus from the information terminal device side, The purpose is to provide.
[0010]
[Means for Solving the Problems]
An information terminal device of the present invention is connected to an information processing device functioning as a host, uses serial communication as a communication means, and converts power from AC power to DC voltage in an information terminal device to which power is supplied through the communication path. A first power supply means for supplying an operating voltage; a second power supply means for ORing the power supplied from the first power supply means and the communication path and supplying the OR into the system; and the second power supply means. The power supplied from the power supply means is turned on / off by a control signal, and supplied from the third power supply means, the power supplied by the first power supply means, and the communication path. It is possible to detect each of the supplied power, and when detected, power detection means for generating a detection signal, control operation setting means for setting an operation at the time of power detection, and irrespective of the state of the power supply Operation instruction means for instructing operation, power supply control means for controlling the third power supply means based on the detection signal from the power supply detection means, the setting of the control operation setting means, and the output of the operation instruction means And host information generating means for generating specific information for the information processing apparatus as the host by the setting of the operation setting means and the output of the power control means, and the output of the host information generating means can be serially communicated There is provided an information terminal device comprising: host communication means for performing transmission; and serial communication transmission means for transmitting the output of the host communication means to an actual serial communication path.
[0011]
According to this configuration, the host information processing apparatus is turned on in a state where AC power is supplied to the first power supply means of the information terminal connected to the host information processing apparatus via the serial communication path. Then, the supply of power is started through the communication path, and the second power supply means ORs and outputs the power supplied through the first power supply means and the communication path. At this time, the power supply detection means detects the on of the power supplied through the communication path, and the power supply detection means outputs a detection signal and inputs it to the power control means. If the setting of the control operation setting unit is set to turn on the third power supply unit when the power supply from the host information processing apparatus is started, the power control unit The power supply unit 3 is instructed to supply power.
[0012]
Further, the host information generation unit generates the states of the first power supply unit, the second power supply unit, and the third power supply unit of the information terminal device, and inputs the host information to the host communication unit. Can do. The host information input to the host communication means is further input to the serial communication means, converted into a signal that can be output to the serial communication path, and can be transmitted to the host.
[0013]
In this case, the first power supply means unconditionally supplies VBAK if the primary side AC power is supplied, and the second power supply means ORs the power supplied from the communication path with VBAK. To the VCC operation block, which is a component of the system other than these, supplied as power to the power detection means, power control means, host information generation means, host communication means, and serial communication transmission means. It is preferable to stop the power supply.
[0014]
According to this configuration, the power supply detection unit and the power supply control unit are always operable because they are supplied with power from the second power supply unit. Similarly, since the host information generating means, the host communication means, and the serial communication transmitting means are also supplied with power from the second power supply means, an information terminal that can always communicate with the host can be realized.
[0015]
In these cases, when the power supply control means detects that the power supply on the host side is turned on by the power supply detection means by the setting of the control operation setting means, the power supply control means turns on the third power supply means, When power supply to the VCC operation block is started and the power supply control means detects that the power supply on the host side is not turned on by the power supply detection means, the power supply control means turns off the third power supply means to It is preferable to stop the power supply to the block.
[0016]
According to this configuration, the control operation setting means such as the dip switch and the jumper switch is provided, and when the host information processing device is turned on by the setting, the information terminal device is also turned on, and the host information processing When the apparatus side is turned off, the information terminal apparatus side can be set to be turned off in conjunction with this.
[0017]
In these cases, the power supply control means turns on / off the third power supply means only by the output of the operation instruction means without being affected by the detection result of the power supply detection means by the setting of the control operation setting means. Is preferred.
[0018]
According to this configuration, control operation setting means such as a dip switch and a jumper switch are provided, and operation instruction means such as a push switch and a toggle switch are provided, and settings such as a dip switch and a jumper switch are set for the power of the host information processing apparatus. By setting to control the power supply on the information terminal device side regardless of the supply, the power supply on the information terminal device side can be turned on / off only by an instruction from the operation instruction means.
[0019]
In this case, it is preferable that the specific information generated by the host information generation unit relates to control of the power source of the information processing apparatus that is the host.
[0020]
In these cases, when there is an output from the operation instruction means due to the setting of the control operation setting means, the power supply control means instructs the host information generation means to generate power-on information to the host side, and the host The host-side power-on information generated by the information generation means is input to the host communication means and converted into a form that can be transmitted to the serial communication path. The converted power-on information to the host side is further transmitted by the serial communication transmission means. It is converted into a physical signal of the serial communication path and transmitted to the host side.
[0021]
According to this configuration, when the operation instruction unit such as a push switch is pressed, the power source control unit instructs the host information generation unit to generate information for turning on the power of the host information processing apparatus. The information is transmitted to the host information processing apparatus via the host communication means and the serial communication means. As a result, it becomes possible to turn on the power of the host information processing apparatus in the power-off state in accordance with an instruction from the information terminal apparatus.
[0022]
In these cases, the power supply control means turns on the third power supply means by the power supply control means when the power supply detection means detects that the power supply on the host side is turned on by the setting of the control operation setting means. After the power supply to the VCC operation block is started, if there is an output from the operation instruction means, the third power supply means is turned off, the power supply to the VCC operation block is stopped, and then the operation is started. When there is an output from the instruction means, it is preferable to turn on the third power supply means again to start supplying power to the VCC operation block.
[0023]
According to this configuration, the setting of the control operation setting means such as the DIP switch is not only linked to the power on / off of the host information processing apparatus, but also the information terminal device turned on in conjunction with the host information processing apparatus, The host information processing apparatus can be turned off independently without turning off. Further, once turned off, the information terminal device can be turned on independently of the host information processing device.
[0024]
In this case, it is preferable to use Universal Serial Bus (USB) as the communication means.
[0025]
In this case, it is preferable to have a USB HUB function and an input / output port for connecting an input / output device to the outside via the HUB function.
[0026]
According to this configuration, a USB HUB function can be provided in the information terminal device. Further, since the serial communication transmission means is set to USB, it is possible to communicate information with each other from the host information processing apparatus side or the information terminal apparatus side.
[0027]
In this case, it is preferable that the microcomputer detects the power source detection unit, the power source control unit, and the host information generation unit based on the instructions of the program.
[0028]
According to this configuration, since the power supply control mechanism is realized by software, it is possible to reduce the actual cost for development. Also, the development of control flow can increase the development efficiency because of the software. Furthermore, since communication between the host information processing apparatus and the information terminal apparatus via the USB is also based on the software of the microcomputer, a general-purpose driver can be used, so that development efficiency can be improved.
[0029]
In this case, it is preferable that the input / output port has a protocol conversion means for converting the USB protocol into the UART protocol.
[0030]
According to this configuration, in order to convert the USB protocol to the UART protocol, it is possible to perform the USB communication using the software using the present UART as it is. It is no longer necessary to develop new software in order to communicate with the information processing apparatus.
[0031]
In this case, it is preferable to have host-microcomputer connection means for connecting the output of the protocol conversion means to the microcomputer, and rewrite the program of the microcomputer via the host-microcomputer connection means.
[0032]
According to this configuration, since the input / output of USB / UART protocol conversion is connected to the microcomputer, the host information processing apparatus and the microcomputer are connected via the USB using the UART protocol. Many of the microcomputers currently used are connected to the host by the UART protocol, and the program is rewritten. For this reason, it is possible to rewrite the microcomputer program using the UART program rewriting software, despite being connected to the host via USB.
[0033]
The POS terminal of the present invention is connected to the POS computer via the information terminal device described above, the POS computer connected via the serial communication transmission means of the information terminal device, and one input / output port of the information terminal device. And an external device.
[0034]
According to this configuration, the information terminal device is connected to the POS computer, and the power supply on the information terminal device side is turned on / off from the POS computer side, or the power supply on the POS computer side is turned on / off from the information terminal device side. It can be done freely. In addition, since an external device can be connected via the input / output port of the information terminal device, it is possible to expand its functions without any intervention on the POS computer side.
[0035]
In this case, it is preferable that the external device is a printing device that can print various information including money amount information acquired from the POS computer on the receipt paper.
[0036]
According to this configuration, the amount information and the internal information of the POS computer or the internal information on the information terminal side can be printed by a single printing apparatus.
[0037]
In these cases, it is preferable to supply power to the external device via a fourth power supply unit.
[0038]
According to this configuration, a power supply device such as an AC adapter is not required for an external device connected to the information terminal device. For example, even an external device that requires relatively large power, such as a printer, can directly supply power from the information terminal device.
[0039]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, an information terminal device, a POS terminal and a POS system including the information terminal device according to an embodiment of the present invention will be described with reference to the drawings.
[0040]
The information terminal device of the present invention has a first power supply means, a second power supply means, and a third power supply means, and controls these power supply means and power control of the host information processing apparatus. The built-in power supply control unit performs the operation based on the operation setting unit and the operation instruction unit, thereby reducing the power consumption of the system.
[0041]
Furthermore, by controlling the power supply of the host information processing apparatus from the information terminal apparatus side, the host information processing apparatus and the information terminal apparatus can be installed separately.
[0042]
The POS terminal and the POS system of the present invention are configured by connecting the information terminal device to each host information processing device.
[0043]
Here, the internal structure of the information terminal device 100 will be described with reference to FIG.
[0044]
The information terminal device 100 does not function by itself, and is connected to the host information processing device 120 through the serial communication path 122. The VBUS 121 is also connected to the host information processing apparatus 120 so that power can be supplied. The host information processing apparatus 120 is generally connected to a personal computer or the like, but may be, for example, a game machine or a home appliance with a built-in microcomputer. The information terminal apparatus 100 includes the first power supply unit 101 that generates DC power from an AC line, separately from the power supply line 121, and can supply power independently. VCCIN 111, which is a DC power source generated by the first power supply unit 101, is input to the second power supply unit 102 and the third power supply unit 103. The second power supply means 102 turns on / off the supply of the VCC 113, which is the power supply in the information terminal device 100, according to the control signal 115 of the power supply control means 104. The third power supply means 103 receives the VBUS 121 supplied from the host information processing apparatus 120 and the VCCIN 111 which is the output of the second power supply means 102, and outputs a power supply VBAK12. The power supply detection unit 108 inputs the VBUS 121 and the VCCIN 111, detects whether one is turned on, or both are turned on or off, and outputs a detection signal 114 to output the power supply control. The means 104 is notified. The power supply control means 104 is connected with the operation instruction means 105 for externally supporting the control state of the power supply, and the operation setting means 106 for setting a power supply control method and operation, and each of the instruction signals 116a. And the setting signal 116b. The power control means 104 controls the power control signal 115 of the second power supply means 102 based on the instruction signal 116a, the setting signal 116b, and the detection signal 114. Further, the power control unit 104 gives various information related to the current power supply in the information terminal apparatus 100 to the host information generation unit 107 through the first information line 117. The host information generation unit 107 converts the information provided by the first information line 117 into a format that can be decoded by the host information processing apparatus 100. The converted information is given to the host communication means 109 through the second information line 118. The host communication means 109 converts the information sent through the second information line 118 to be sent to the serial communication path 122 into serial data and sends it to the third information line. Information sent to the third information line is created in the serial communication path 122 through the serial communication transmission means 110 in order to match the physical standard of the serial communication path 122. Since the serial communication path 122 is bidirectional between the host information processing apparatus 120 and the information terminal apparatus 100, the information flow described above is directed from the host information processing apparatus 120 to the information terminal apparatus 100. But it is possible.
[0045]
Next, with reference to FIG. 2, a detailed configuration of an information path between the host information processing apparatus 120 and the information terminal apparatus 100 will be described. Here, a case where USB is used as the serial communication path 122 will be described. The host information processing apparatus 100 is also described as a personal computer 200. Of course, RS-232C or IEEE 1394 may be used as the serial communication path. The personal computer 200 and the information processing apparatus 100 are connected by a USB cable 210. The USB cable 210 includes the serial communication path 122 and the VBUS 121. The USB cable 210 is connected to a USB I / F 201 that is a USB interface of the information terminal device 100. The USB I / F 201 is provided as a connector for physically connecting the personal computer 200 and the information terminal device 100. The serial communication path 122 and the VBUS 121 connected through the USB I / F 201 are input to the USB HUB 202 as serial differential data 204. The serial communication transmission unit 110 is configured by the USB I / F 201 and the USB HUB 202. In one embodiment of the present invention, since the USB HUB 202 is provided as shown in FIG. 2, there are USB downstream ports 203a to 203d, and the downstream ports 203a to 203c are connected to the USB connector 205 of the USB device connection connector. The However, here, one of the downstream ports, the downstream port 203d, is connected to the host communication means 109.
[0046]
FIG. 3 explains details of the third power supply means 103 and the USB I / F 201. The serial communication path 122 is provided as a differential signal of D + and D−. The serial communication path 122 and the VBUS 121 are connected to the information terminal device 100 as the VBUS 121 and serial differential data 204 through the USB I / F 201, respectively. The third power supply means 103 inputs the VBAK 121 to the diode 301, inputs the VCCIN 111 to the diode 302, and outputs the result as the VBAK 112 by ORing. Here, the diode 301 and the diode 302 may be used for general signals as long as the current capacity is small, but it is desirable to use a Schottky barrier type with a low forward voltage drop.
[0047]
Next, the first power supply unit 101 and the second power supply unit 102 will be described in detail with reference to FIG. The first power supply means 101 is provided as a general switching regulator that generates DC power from AC power. The inside will be described. The first power supply means 101 has an AC plug 420 for inputting power from an AC power source, and the AC power supplied via the AC plug 420 is input to the transformer and rectifier 400. The transformer and rectifier 400 have various systems, and since each system is common, detailed description thereof is omitted here. The power source dropped to a constant DC voltage by the transformer and rectifier 400 is supplied to the Hi-SW 402 which is a high-side switch. The other of Low-SW 403 connected to Hi-SW 402 is grounded. The PWM control unit 401 monitors the VCCIN 111, which is the output of the first power supply unit 101, so that the output of the first power supply unit 101 is constant, and the Hi-SW 402 and the Low-SW 403. Control on / off of. Here, the Low-SW 403 is off while the Hi-SW 402 is on, and conversely, the Low-SW 403 is on while the Hi-SW 402 is off. While the Hi-SW 402 is on, energy is stored in the coil 404, smoothed by the output capacitor 405, and output as VCCIN 111. On the other hand, while the Hi-SW 402 is on, that is, while the Low-SW 403 is on, the energy stored in the coil 404 is released through the Low-SW 403. VCCIN 111, which is the specific DC power generated in this way, is input to the second power supply means. As an embodiment of the present invention, the second power supply means 102 can be realized by using a power type FET capable of flowing a large current. Here, the second power supply means 102 will be described in more detail. The second power supply means 102 can be configured with a P-channel FET 430 and a transistor 406 as main elements. The gate input of P-channel FET 430 is connected to the collector of transistor 406 via resistor 408. The VCCIN 111 that is the output of the first power supply means 101 is connected to the drain of the P-channel FET 430. The gate input of the P-channel FET 430 is also connected to the VCCIN 111 via a resistor 407. This is to keep the gate input voltage of the P-channel FET 430 constant so that the P-channel FET 430 does not turn on even while the transistor 406 is off. The power control means 104 connects the control signal 115 to the base of the transistor 406 via a resistor 409, and turns on / off the transistor 406, thereby turning on / off the P-channel FET 430. Note that the resistor 409 has a function of preventing an excessive current from flowing through the base of the transistor 406 to destroy the transistor 406. Similarly to the resistor 407, the resistor 410 is connected to the ground so that the voltage at the base of the transistor 406 does not become unstable. Next, a detailed operation of the second power supply unit 102 will be described. If AC power is supplied from the AC plug 420, the VCCIN 111 is always supplied. At this time, when the control signal 115, which is the output of the power supply control means 104, is 0V, no current flows through the base of the transistor 406, so the transistor 406 is turned off. Therefore, the voltage of VCCIN 111 is applied to the gate input of the P-channel FET 430 through the resistor 407. Since the P-channel FET 430 is not turned on unless the drain voltage and the gate voltage are different from each other by a certain voltage or more, the P-channel FET 430 is turned off and no voltage is generated in the VCC. On the other hand, when the control signal 115 that is the output of the power supply control means 104 is αV, a current is supplied to the base of the transistor 406 through the resistor 409. In this case, the transistor 406 is turned on, and a current flows from the VCCIN 111 to the collector through the resistor 407 and the resistor 408. At this time, the collector voltage of the transistor 406 becomes a voltage substantially close to ground, that is, 0V. The gate voltage of the P-channel FET 430 is a value obtained by dividing the voltage of the VCCIN 111 by the resistor 407 and the resistor 408. Then, when this voltage becomes lower than the drain voltage of the P-channel FET 430 by a certain amount or more, the P-channel FET 430 is turned on. As a result, the VCC 113 is output to the source terminal of the P-channel FET 430.
[0048]
Next, the configuration and operation of the operation instruction unit 105 will be described with reference to FIGS. 5, 6, and 7. The operation instruction unit 105 can instruct the power supply control unit 104 to operate by, for example, installing the push switch 500 and pressing the push switch 500. A description will be given from the moment when the VCCI 111 is supplied from the first power supply unit 101. In the operation instruction means 105, a negative logic AND gate 509 drives the instruction signal 116a. One input of the negative logic AND gate 509 is connected to the circuit comprising the push switch 500, and the other is connected to the Q # output of the flip-flop 506. One input of the push switch 500 is connected to the ground, and the other input is input to the Schmitt type inverter 502. The input of the inverter 502 is connected to the VCCIN 111 via a resistor 501. Therefore, when the push switch 500 is not pressed, the voltage of the VCCIN 111 is input to the inverter 502 via the resistor 501, and thus the voltage of the VCCIN 111 is approximately applied to the input of the inverter 502. The output of the inverter 502 is input to a Schmitt type inverter 505 through a differentiation circuit composed of a resistor 503 and a capacitor 504. The output of the inverter 505 is connected to one input of the AND gate 509 and further connected to the data input of the flip-flop 506. The flip-flop 506 operates based on the clock output 513 of the clock oscillator 507. The flip-flop 506 is initialized by a reset signal 514 from the reset IC 508.
[0049]
Here, the operation of the previous operation instruction means 105 given in the configuration of FIG. 5 will be described. When AC power is applied to the first power supply means 101 at time T0, the VCCIN 111 gradually rises, reaches a proper voltage after time TBOOT, and is stably supplied. The reset IC 508 drives the output to the ground level, that is, 0 V while the input voltage does not reach a certain voltage or higher. Further, most of the general reset ICs drive 0V as an output for a certain period of time even after the input voltage reaches a certain voltage or more. Also in this case, 0V is driven for the TRD time. On the other hand, the previous clock oscillator 507 to which the VCCIN 111 is supplied as a power source starts oscillating with a delay of time TFD. Further, the Q # output of the flip-flop 506 is set to 0 V by the reset signal 514 of the reset IC 514 and is input to one input of the AND gate 509. On the other hand, at the time T1 when the VCCIN 111 reaches a specified voltage, a voltage that is logically 1 is input to the inverter 502. Here, the VCCIN 111 is set to 5V. Therefore, + 5V is input to the inverter 502, and as a result, 0V is output. Then, 0V is input to the inverter 505, and the output of the inverter 505 becomes + 5V. Since this signal 512 is connected to one input of the AND gate, the instruction signal 116a is output as + 5V. Here, consider a case where the push switch 500 is pressed and released. When the push switch 500 is pressed at time T2, a phenomenon called chattering occurs. Chattering occurs during time TC1. Thereafter, the push switch 500 causes the input of the inverter 502 to be equal to the ground potential, and + 5V is output to the output of the inverter 502. Since the output of the inverter 502 passes through the differentiation circuit described above, chattering is eliminated. The output of the inverter 502 from which chattering has been removed becomes a signal 511 that has stopped rising, and is input to the inverter 505 as + 5V. The output of the inverter 505 is inverted to become 0V, and is input to one input of the AND gate 509 and the data input of the flip-flop. The flip-flop 506 samples the output 0V of the inverter 505 with the clock signal 513. Here, the output of the AND gate 509 becomes 0V until the flip-flop 506 samples with the clock signal 513 after the output of the inverter 505 becomes 0V, that is, for the time T4. In this way, the operation instruction means 105 gives a 0V pulse as the instruction signal 116 a to the power supply control means 104. Although the reset IC is used here, a diode, a resistor, and a capacitor may be used. Although the flip-flop has one stage, the time T4 can be set to the same time as the cycle of the clock signal 513 by using two stages. In addition, a pulse of 0V is generated here, but a pulse of + 5V may be conversely generated.
[0050]
Next, with reference to FIG. 9, the detailed structure of the power supply detection means 108 shown in FIG. 1 is demonstrated. As shown in this figure, the power source detecting means 108 is composed of a PNP transistor 900 and a resistor 901 for detecting VCCIN 111, for example. Similarly, the detection of VUBS includes a PNP transistor 902 and a resistor 903. Here, the operation principle will be described by taking the detection of the VBUS 121 as an example. Now, it is assumed that the VBUS 121 is 0V. At this time, since the base of the PNP transistor 902 is grounded, it is turned on. However, since the VBUS 121 is 0V, no voltage is generated between the emitter and the collector of the PNP transistor 902, and the detection signal 905 outputs 0V. Here, it is assumed that + 5V is supplied to the VBUS 121. The base of the PNP transistor 902 is grounded to the ground, and the PNP transistor 902 is on. Therefore, + 5V that is the voltage of the VBUS 121 is output to the collector of the PNP transistor 902. As a result, + 5V is output to the detection signal 905. The resistors 901 and 903 are used for the purpose of preventing the collector outputs of the PNP transistors 900 and 902 from becoming indefinite.
[0051]
Next, a detailed configuration of the operation setting unit 106 shown in FIG. 1 will be described with reference to FIG. As shown in this figure, the first-period operation setting means 106 includes a switch 1000 and a resistor 1010. The switch 1000 is preferably a small switch such as a dip switch. However, when the output of the operation setting means 106 is as small as 1 to 2, a toggle switch or a seesaw type large switch may be used. Further, a jumper type switch having two or three poles may be used. The jumper type switch includes a two-pole or three-pole jumper header 1020 and a shorting plug 1030. The jumper type switch is turned on when the first shorting plug is inserted, and turned off when the first shorting plug is not inserted. In the OFF state, the VBAK 112 is output to the setting signal 116b via the resistor 1010. Therefore, the voltage of the VBAK 112 is output as it is to the setting signal 116b. On the other hand, when the switch 1000 is turned on, the setting signal 116b is directly connected to the ground, so that 0V is output to the setting signal 116b. Here, the configuration of the operation setting means 106 has been described with respect to the case where it is configured with a mechanical switch, but an electrical storage device such as a nonvolatile memory may be used.
[0052]
Next, a detailed configuration of the power control unit 104 shown in FIG. 1 will be described with reference to FIGS. 11 and 12. In FIG. 11 and FIG. 12, microcomputer A1100 and microcomputer B1200 are the main components, respectively. Since the difference between the microcomputer A1100 and the microcomputer B1200 is only whether the serial communication means 110 is provided inside or outside, the microcomputer A1100 is used here, and FIG. 11 is used. The details will be described. The microcomputer A1100 is connected to the operation instruction unit 105 and the operation setting unit 106. The microcomputer A1100 operates using the VBAK 112 as a power source. Since the VBAK 112 is supplied from the third power supply means 103, when either the VBUS 121 or the VCCIN 111 is supplied, the operation of the microcomputer A1100 is started. Further, the microcomputer A 1100 is connected with the detection signal 114 which is an output of the power source detection means 108. In this case, the detection signal 114 is composed of the VBUS detection signal 905 indicating the detection of the VBUS 121 and the VCCIN 111 detection signal 904, and is input to the microcomputer A1100. Therefore, the microcomputer A1100 can know which power supply it is currently operating as a supply source. The oscillation circuit 1130 includes a crystal resonator 1131, a capacitor 1132a, and a capacitor 1132b, and supplies an operation clock for the microcomputer A1100. In addition, the oscillation circuit 1130 may use a ceramic oscillator incorporating the capacitors 1132a and 1132b, or a crystal oscillator with a built-in oscillation circuit. The microcomputer A1100 outputs a control signal 115 for controlling the second power supply means 102. Since the microcomputer A 1100 has the serial communication means 110 inside, it can be directly connected to the serial communication path 122. In this embodiment, the serial communication path 122 is USB. Therefore, it follows D + and D- through resistors 1110 and 1120, respectively. A resistor 1130 is used to pull up the D + signal to indicate that the microcomputer A1100 is connected to the USB at full speed. Here, the case where a microcomputer is used as the power supply control unit 104 has been described, but an FPGA (Field Programmable Gate Array), a PLD (Programmable Logic Device), or the like may be used.
[0053]
FIG. 14 is a flowchart of an internal program of the microcomputer for realizing the host information generation means 104 when the power supply control means 104 in FIG. 1 is constituted by a microcomputer. Assume that the host information to be generated is the voltage levels of VBUS and VCCIN, that is, whether or not power is supplied. First, if the register for temporarily storing VBUS information is REG1, and the register for temporarily storing VCCIN information is REG2, logic 0 is stored in REG1 and REG2. Next, the state of VBUS is scanned. If VBUS is + 5V, logic 1 is stored in REG1, and if it is 0V, nothing is done and the process proceeds to the next process. Next, the state of VCCIN is scanned. If VCCIN is 5V, logic 1 is stored in REG2, and if it is 0V, nothing is done and the process proceeds to the next process. Finally, the contents of REG1 and REG2 are stored in CPUINFO, which is a register for storing information to be saved as host information.
[0054]
Next, FIG. 13 shows a configuration example of another embodiment. In this embodiment, the information terminal device 100 of the present invention is connected to a personal computer 1310 with a USB cable 210. In addition, the information terminal apparatus 100 has a USB HUB 202, and a microcomputer A 1100 having a power control unit 104, a host information generation unit 107, and a host communication unit 109 is connected to the USB HUB 202. Further, there is a fourth power supply means 1320 for supplying power to the external device, which is controlled by the microcomputer A1100. The fourth power supply unit 1320 supplies the external device power source 1340 to the external device. The detailed configuration of the fourth power supply unit 1320 can be the same as that shown in FIG. Further, the first power supply apparatus 101 includes a switch 1350, and even when AC power is supplied from the AC plug 420, on / off of the power can be controlled. Other configurations are the same as those shown in FIG.
[0055]
Next, a detailed operation will be described based on the embodiment of FIG. The AC plug 420 is currently supplied with AC power, but the VCCIN 111 is 0 V because the switch 1350 is off. Similarly, in this state, the power of the personal computer 1310 is also off, and the VBUS 121 supplied through the USB cable 210 is also 0V. Here, the switch 1350 is turned on. Then, the first power supply unit 101 is turned on, the VCCI 111 is generated, and the supply is started. Since the microcomputer A1100 uses the VBAK 112 as a power source, when either the VCCI 111 or the VBUS 121 is supplied, the microcomputer A1100 starts to supply the VBAK 112 necessary for the operation, and follows the internal program. Make a move. If the initial values of the internal program are set to the second power supply means 102 and the fourth power supply means 1320 in the off state, the second power supply means 102 and the fourth power supply means 1320 are in the off state. Thus, VCC 113 and external device power supply 1340 remain off.
[0056]
Now, it is assumed that the operation setting unit 106 is set to a state in which the second power supply unit 102 is turned on in conjunction with the power supply of the VBUS 121. Interlocking here means that the second power supply means 102 is turned on when the VBUS 121 is turned on, and the second power supply means 102 is turned off accordingly when the VBUS 121 is turned off. This is temporarily called the interlock mode. In this case, for example, the setting signal is set to +5 V, that is, logic 1. In this state, VCCIN 111 is supplied, but VCCIN 111 consumes a current sufficient to operate microcomputer A1100. Since microcomputers in recent years have extremely reduced power consumption, it is possible to select a microcomputer that consumes very little power in this state. Here, it is assumed that the power supply of the personal computer 1310 is turned on and the supply of + 5V power to the VBUS 121 is started accordingly. The VBUS 121 is input to the power supply detection unit 108 together with the third power supply unit 103. The VBUS 121 supplied with + 5V is detected as being supplied by the power source detection means 108, and as a result, the detection signal 905 becomes the same level as the VBUS 121, that is, + 5V. When the microcomputer A1100 detects that the detection signal 905 has become + 5V, the microcomputer A changes the control signal 115 from 0V to + 5V, that is, from logic 0 to logic 1. Since the second power supply means 102 has the circuit configuration of FIG. 4, the output VCC 113 becomes +5 V, and the supply of the VCC 113 is started. Similarly, since the fourth power supply means 1320 can also have the circuit configuration of FIG. 4, it is possible to start the supply of external device power by changing the control signal 1330. On the contrary, it is assumed that the personal computer 1310 is turned off in this state. When the personal computer 1310 is turned off, the VBUS 121 changes from + 5V to 0V. Then, the detection signal of the power supply detection means 108 changes from logic 1 to logic 0. Since the microcomputer A always reads the detection signal 905 according to the instruction of the program, the microcomputer A detects that the detection signal 905 has changed from logic 1 to logic 0. The microcomputer A 1100 that has detected that the detection signal 905 has changed to logic 0 changes the control signal 115 to logic 0. As a result, the supply of the VCC 113 is stopped. Even with the operation described above by the program of the microcomputer A1100, after the VCC 113 is turned on, the VCC 113 can be turned off and further turned on by the instruction signal 116a from the operation instruction means 105.
[0057]
Next, it is assumed that the operation setting unit 106 is set to a state in which the second power supply unit 102 is turned on and off regardless of the supply of power to the VBUS 121. This setting will be referred to as an independent mode here. In this case, the setting signal 116b is 0V, that is, logic 0. Assume that power is supplied from the AC plug 420 to the first power supply unit 101 in this state. In this case, even if the VBUS 121 changes from 0V to + 5V, the microcomputer A1100 does not set the control signal 115 for the second power supply means 102 to logic 1. In this state, a negative logic pulse is input from the operation instruction means 106 to the microcomputer A1100. The microcomputer A1100 starts an operation of changing the current state when the instruction signal 116a changes from logic 1 to logic 0. That is, the control signal 115 is set to logic 1 for the second power supply means 102. As a result, the VCC 113 is turned on. Similarly, when a negative logic pulse is input from the operation instruction means 106 to the microcomputer A1100 while the VCC 113 is on, the microcomputer A1100 sets the control signal 115 to logic 0 and turns off the VCC 113.
[0058]
Here, the state transition of the microcomputer A1100 for realizing the interlock mode and the independent mode will be described with reference to FIG. When the VBAK 112 is supplied, the microcomputer A1100 enters the state S0. Since VBAK 112 is obtained by ORing VBUS 121 and VCCIN 111, it can be instantaneously determined which power is turned on. If VCCIN 111 is supplied, the state transitions to SVCC. If VBUS121 is supplied, the state transitions to state SVBUS. When in the state SVCC, if the independent mode is set, if the VBUS 121 becomes + 5V, the state transitions to the state SVBVC. At this time, the control signal 115 is logic 0. On the other hand, if the interlock mode is set, the state transitions to SON3. At this time, the control signal 115 is set to logic 1, and the second power supply means 102 is turned on. Further, if the independent mode is set in the state SVBUS, if VCCIN 111 becomes +5 V, the state transits to SVBVC, and the second power supply unit 102 is not turned on. However, if the interlock mode is set, the state transitions to SON3, the control signal 115 is set to logic 1, and the second power supply unit 102 is turned on. When the independent mode is set and the state is SVCC, SVBUS, or SVBVC, when the instruction signal 116a is given from the operation instruction means 105, the transition is made from SVC to SON1, from SVBUS or SVBVC to SON2. The signal 115 is set to logic 1, and the second power supply means 102 is turned on. In the state SON3, the state changes to VBUS 121 or VCCIN 111, respectively, transitions to SVCC or SVBUS. At this time, the control signal 115 is set to logic 0, and the second power supply means 102 is turned off. When the instruction signal 116a is given from the operation instruction means 105 while in the state SON3, the state transitions to the state SOFF. At this time, the control signal 115 is set to logic 0, and the second power supply means 102 is turned off. From the state SOFF, the instruction signal 116a from the operation instruction unit 105 is used to make a transition to the state SON3 again, the control signal 115 is set to logic 1, and the second power supply unit 102 is turned on. By programming the state transition described above, the power on / off control of the information terminal device 100 of the present invention can be performed according to the setting of the operation setting means 106.
[0059]
Next, a method for controlling the power supply of the personal computer 1310 based on an instruction from the information terminal device 100 will be described. When the instruction signal 116b from the operation instruction means 106 is input, the microcomputer A1100 generates host information based on a built-in program. This host information relates to power-on of the personal computer 1310. The host information related to power-on generated by the host information generation unit 107 reaches the USB HUB 202 through the path 203d. From here, the information is further transmitted to the personal computer 1310 through the USB cable 210 via the USB I / F 201. The personal computer 1310 that has received the host information related to power-on turns on the power based on this information.
[0060]
Next, with reference to FIG. 15, the rewriting of the program of the microcomputer and the power supply to the external device will be described. In this example, a microcomputer B1200 having no serial communication transmission means 110 is used. The microcomputer B1200 is connected to the USB HUB 202 installed in the information terminal device 100 through the serial communication transmission means 110. The serial communication means 110 here may use a USB FIFO dedicated device that is generally available. The USB / UART protocol conversion unit 1500 is also connected to the USB HUB 202. As the USB / UART protocol conversion means 1500, a dedicated IC can be easily obtained, so this dedicated IC is generally used. The information terminal device 100 is connected to the POS computer 1550 by a USB cable 210. Here, a system including the POS computer 1550, the information terminal device 100, and peripheral devices necessary for operation, for example, a bar code scanner / keyboard / receipt printer, is referred to as a POS terminal.
[0061]
In a general POS terminal, a device that communicates with a POS computer by serial communication of RS232C protocol is often used. As in the embodiment of the present invention, when the USB is connected to the POS computer, a peripheral device having a general RS232C interface that is easily available cannot be used. Therefore, by providing the USB / UART protocol conversion means 1500 and connecting to the external signal connector 1520 through the RS232C level conversion means 1510, it becomes possible to easily use the peripheral devices so far. At this time, it may be necessary to supply power to peripheral devices. In preparation for this, an external power connector 1540 is installed via the fourth power supply means 1320 to supply power to the peripheral devices.
[0062]
Here, the microcomputer B1200 can be updated through the POS computer and the USB protocol. Therefore, it is possible to control the power on / off of the peripheral device connected to the external power connector 1540 based on the USB command from the POS computer. Further, as described above, it is possible to set the peripheral information device to be turned on / off in conjunction with the power on / off of the host information processing apparatus 120, that is, the POS computer 1550. This enables efficient power control of peripheral devices without waste.
[0063]
Next, program rewriting of the microcomputer B1200 will be described. The microprogram B has a flash memory for programming inside and can use a program in which flash memory rewriting data is written in advance. Such microcomputers are now generally available. Even when such a microcomputer without a built-in flash memory is used, the same rewriting can be performed on an externally connected flash memory. In these cases, UART is easy for communication with the device that downloads the program rewrite data. This is because most current microcomputers have a UART interface, and even if they do not, the protocol can be easily implemented by a program. As described above, if the program rewrite data is obtained via the UART, the program can be obtained by connecting the input / output of the USB / UART protocol conversion unit 1500 described in the present embodiment to the microcomputer B1200. Can be easily rewritten. However, when the peripheral device and the POS computer are communicating, data is not connected to the microcomputer B1200. Conversely, when the POS computer 1550 and the microcomputer B1200 are communicating, the peripheral device is connected. It is not necessary. This is for preventing unexpected data from being output and malfunctioning of the peripheral device and the microcomputer B1200. For this purpose, a UART signal switching unit 1530 is installed. The detailed configuration of the UART signal switching unit 1530 can be realized, for example, as shown in FIG. An input signal to the USB / UART protocol conversion means 1500 can be switched by the microcomputer B1200 controlling the signal selection signal 1620 through the signal selection circuit 1600. In this case, if the signal selection signal 1620 is set to logic 1, a signal from a peripheral device is input to the USB / UART protocol conversion means 1500 if the selection signal 1620 is set to logic 0. The The resistor 1630 is installed to select a peripheral device signal immediately after initialization. Of course, these signal logics may be reversed. The output from the USB / UART protocol conversion means 1500 is connected to the peripheral device through the first AND 1640 and to the microcomputer B1200 through the second AND 1610. The selection signal 1620 is connected to each AND gate. However, in order to return the selection logic, the inverted selection signal 1620 is connected to the microcomputer B1200 through the inverter 1650. Therefore, each signal is fixed to logic 0 when not selected. As described above, the input / output of the USB / UART protocol conversion means 1500 can be connected to the microcomputer B1200. The program rewriting of the microcomputer B1200 can be easily realized by using a rewriting tool provided by a company that manufactures and sells the microcomputer B or a third party.
[0064]
FIG. 17 shows a POS terminal with a minimum configuration. The information terminal device 100 is connected to the POS computer 1550, and the barcode scanner 1720 is connected via the USB connector 205. Here, the receipt printer 1710 is connected to the external signal connector 1520 to which the signal converted to RS232C is connected via the USB / UART protocol converting means 1500 and via the RS232C level converting means 1510. . The receipt printer 1710 is supplied with power through the external power connector 1540. With this configuration, when the POS computer 1550 is turned off, the receipt printer 1710 is also turned off. When the POS computer 1550 is turned on, the receipt printer 1710 is also turned on. it can. Thereby, it is possible to efficiently consume power. In addition, since the power supply of the peripheral device, here the receipt printer 1710, can be controlled by the POS computer 1550, the maintainability of the system is improved.
[0065]
The maintenance when a plurality of POS terminals 1810 are connected to the server 1800 via the network 1820 will be described with reference to FIG. Assume that the server 1800 is now powered on, but the POS terminal 1810 is powered off. At this time, it is assumed that the POS terminal 1810 is maintained by the program of the server 1800. A technique for turning on a computer connected via a network is currently common. When the POS computer 1550 is turned on using this technique, the receipt printer 1710 can be easily turned on by setting the interlocking mode according to the embodiment of the present invention. Thereafter, the status of the receipt printer 1710 is checked via the POS computer 1550. For example, if it is a divine state or an inkjet printer, the remaining amount of ink is checked, and the result is notified to the server.
[0066]
【The invention's effect】
As described above, according to the information terminal device of the present invention, the power on / off of the information terminal device can be controlled in accordance with the power on / off of the host information processing device. Consumption can be reduced.
[0067]
In addition, when it is necessary to rewrite the internal program of the microcomputer to be used, the program can be easily rewritten by the microcomputer and the UART via USB without requiring a special mechanism.
[0068]
Further, the USB / UART protocol conversion makes it possible to use the most popular RS232C I / F device as a POS peripheral device.
[0069]
On the other hand, according to the POS terminal of the present invention, since it is possible to control the power supply of the peripheral device connected to the information terminal device, the POS terminal can be maintained in an unattended state.
[0070]
In addition, since the host information processing device can be turned on / off from the information terminal device side, the host information processing device, that is, the POS computer and the information terminal device side can be installed apart from each other, and the store counter can be efficiently used. Will be available.
[Brief description of the drawings]
FIG. 1 is a block diagram showing an outline of an information terminal device according to an embodiment.
2 is a block diagram illustrating a detailed configuration example of the serial communication unit of FIG. 1 in the present embodiment.
3 is a block diagram illustrating a detailed configuration example of a third power supply unit of FIG. 1 in the present embodiment.
4 is a block diagram showing a detailed configuration example of the first and second power supply units in FIG. 1 in the present embodiment.
FIG. 5 is a block diagram illustrating a detailed configuration example of the operation instruction unit of FIG. 1 in the present embodiment.
6 is a timing chart showing signal generation timing of each unit immediately after power supply in FIG. 5 of the present embodiment.
FIG. 7 is a timing chart showing signal generation timings of respective units before and after the switch is pressed in FIG. 5 of the present embodiment.
FIG. 8 is a state transition diagram showing a state transition of the microcomputer regarding the power on / off of the information terminal device according to the embodiment.
9 is a block diagram showing a detailed configuration example of the power supply detection unit of FIG. 1 in the present embodiment.
10 is a block diagram illustrating a detailed configuration example of the operation setting unit of FIG. 1 in the present embodiment.
11 is a block diagram illustrating a detailed configuration example of the power control unit, the host information generation unit, and the host communication unit of FIG. 1 in the present embodiment.
12 is a block diagram illustrating another detailed configuration example of the power supply control unit, the host information generation unit, and the host communication unit of FIG. 1 in the present embodiment.
FIG. 13 is a block diagram showing another embodiment of the present invention.
14 is a flowchart showing the operation of the microcomputer when the host information generating means of FIG. 1 is configured by a microcomputer program in the present embodiment.
FIG. 15 is a block diagram showing a detailed configuration example of a USB / UART protocol conversion unit and a detailed configuration example of connection with a UART for rewriting a program of a microcomputer in the present embodiment.
16 is a block diagram showing a detailed configuration example of the UART signal switching unit of FIG. 15 in the present embodiment.
FIG. 17 is a configuration diagram showing a configuration example of a POS terminal using the information terminal device of the present invention.
FIG. 18 is a system outline diagram showing a POS system of a store, which is composed of a POS terminal using the information terminal device of the present invention.
[Explanation of symbols]
100 Information terminal device 101 First power supply means
102 Second power supply means 103 Third power supply means
104 Power control means 105 Operation instruction means
106 Operation setting means 107 Host information generating means
108 Power supply detection means 109 Host communication means
110 Serial communication transmission means 111 VCCIN
112 VBAK 113 VCC
114 Detection signal 115 Control signal
116a Instruction signal 116b Setting signal
117 first information line 118 second information line
119 Third information line 120 Host information processing apparatus
121 VBUS 122 Serial communication path
200 Personal computer 201 USB I / F
202 USB HUB 203a Downstream port
203b downstream port 203c downstream port
203c Downstream port 204 Serial differential data
205 USB connector 210 USB cable
301 diode 302 diode
400 Transformer and rectifier 401 PWM controller
402 Hi-SW 403 Low-SW
404 coil 405 output capacitor
406 Transistor 407 Resistance
408 resistance 409 resistance
410 Resistance 430 P-channel FET
420 AC plug 500 Push switch
501 Resistance 502 Inverter
503 Resistance 504 Capacitor
505 Inverter 506 Flip-flop
507 Clock oscillator 508 Reset IC
509 AND gate 900 PNP transistor
901 resistor 902 PNP transistor
903 Resistance 904 Detection signal
905 Detection signal 1000 Switch
1010 Resistance 1020 Jumper header
1030 Short plug 1100 Microcomputer A
1110 resistance 1120 resistance
1130 Oscillator circuit 1131 Crystal resonator
1132a capacitor 1132b capacitor
1140 Resistance 1200 Microcomputer B
1310 Microcomputer 1320 Fourth power supply means
1330 Control signal 1340 External device power supply
1350 switch
1500 USB / UART protocol conversion means
1510 RS232C level conversion means
1520 External signal connector 1530 UART signal selector
1540 external power connector 1550 POS computer
1600 Signal selection circuit 1610 AND
1620 Signal selection signal 1630 Resistance
1640 AND 1710 Receipt printer
1720 Barcode Scanner 1800 Server
1810 POS terminal 1820 network

Claims (15)

ホストとして機能する情報処理装置に接続され、通信手段としてシリアル通信を用い、その通信経路を通して電力が供給される情報端末装置において、AC電源をDC電圧に変換して動作電圧を供給する第1の電力供給手段と、前記第1の電力供給手段と前記通信経路から供給された電力をORして本システム内に供給する第2の電力供給手段と、前記第2の電力供給手段から供給された電力を、制御信号によってオン/オフし、本システム内に供給する第3の電力供給手段と、前記第1の電力供給手段が供給する電力と前記通信経路から供給された電力をおのおの検出することが可能で、検出した場合検出信号を生成する電源検出手段と、電源検出時の動作を設定する制御動作設定手段と、電源の状態に無関係に動作を指示する動作指示手段と、前記電源検出手段からの検出信号、および前記制御動作設定手段の設定、および前記動作指示手段の出力に基づいて前記第3の電力供給手段を制御する電源制御手段と、前記動作設定手段の設定と前記電源制御手段の出力によって、前記ホストである情報処理装置に対して特定情報を生成するホスト情報生成手段と、前記ホスト情報生成手段の出力をシリアル通信可能にするホスト通信手段と、前記ホスト通信手段の出力を実際のシリアル通信経路に伝送するためのシリアル通信伝送手段、を有することを特徴とする情報端末装置。In an information terminal device that is connected to an information processing device functioning as a host, uses serial communication as a communication means, and is supplied with power through the communication path, a first power source that converts an AC power source into a DC voltage and supplies an operating voltage Power supply means, second power supply means for ORing power supplied from the first power supply means and the communication path and supplying the power into the system, and power supplied from the second power supply means The power is turned on / off by a control signal, and the third power supply means for supplying the power into the system, the power supplied by the first power supply means and the power supplied from the communication path are detected. Power detection means for generating a detection signal when detected, control operation setting means for setting an operation at the time of power detection, and an operation instruction for instructing an operation regardless of the state of the power supply A power supply control means for controlling the third power supply means based on the detection signal from the power supply detection means, the setting of the control action setting means, and the output of the action instruction means, and the action setting means Host information generating means for generating specific information for the information processing apparatus as the host by setting and output of the power supply control means; host communication means for enabling serial communication of the output of the host information generating means; An information terminal apparatus comprising serial communication transmission means for transmitting the output of the host communication means to an actual serial communication path. 前記第1の電力供給手段は、1次側のAC電源が供給されたならば無条件でVBAKとして供給し、前記第2の電力供給手段はVBAKと通信経路から供給された電力をORして生成され、前記電源検出手段と前記電源制御手段、および前記ホスト情報生成手段、前記ホスト通信手段、前記シリアル通信伝送手段への電力として供給し、これら以外の本システムの構成要素であるところの、VCC動作ブロックへの電力供給は停止すること、を特徴とする請求項1に記載の情報端末装置。The first power supply means supplies it as VBAK unconditionally if the primary AC power is supplied, and the second power supply means ORs the power supplied from the communication path with VBAK. Generated and supplied as power to the power detection means and the power control means, and the host information generation means, the host communication means, the serial communication transmission means, and other components of the system, The information terminal apparatus according to claim 1, wherein power supply to the VCC operation block is stopped. 前記制御動作設定手段の設定により、前記電源制御手段が前記電源検出手段によってホスト側の電源が投入されたことを検出した場合は、前記電源制御手段により前記第3の電力供給手段をオンして、前記VCC動作ブロックへの電力供給を開始し、前記電源制御手段が前記電源検出手段によってホスト側の電源が投入されないことを検出したときは、前記電源制御手段によって前記第3の電力供給手段をオフして、前記VCC動作ブロックへの電力供給を停止する、ことを特徴とする請求項1または請求項2に記載の情報端末装置。If the power control means detects that the host-side power is turned on by the power detection means by the setting of the control operation setting means, the power control means turns on the third power supply means. The power supply to the VCC operation block is started, and when the power supply control means detects that the power supply on the host side is not turned on by the power supply detection means, the power supply control means turns on the third power supply means. The information terminal device according to claim 1, wherein the information terminal device is turned off to stop power supply to the VCC operation block. 前記制御動作設定手段の設定により、前記電源検出手段の検出結果の影響を受けることなく、前記動作指示手段の出力のみによって、前記電源制御手段が前記第3の電力供給手段のオン/オフを行うこと、を特徴とする請求項1または請求項2に記載の情報端末装置。By the setting of the control operation setting means, the power supply control means turns on / off the third power supply means only by the output of the operation instruction means without being affected by the detection result of the power supply detection means. The information terminal device according to claim 1 or 2, wherein 前記ホストである情報処理装置に対して、前記ホスト情報生成手段が生成する前記特定情報が、前記ホストである情報処理装置の電源の制御に関することであること、を特徴とする請求項1に記載の情報端末装置。2. The information processing apparatus that is the host, wherein the specific information generated by the host information generation unit is related to power control of the information processing apparatus that is the host. Information terminal equipment. 前記制御動作設定手段の設定により、前記動作指示手段の出力があった場合、前記電源制御手段は前記ホスト情報生成手段に対してホスト側への電源オン情報を生成するように指示し、前記ホスト情報生成手段が生成したホスト側電源オン情報は前記ホスト通信手段に入力され、前記シリアル通信経路に伝送可能な形態に変換され、変換されたホスト側への電源オン情報はさらに、前記シリアル通信伝送手段にてシリアル通信経路の物理的な信号に変換されて、ホスト側へ伝送されること、を特徴とする請求項1ないし請求項5のいずれかに記載の情報端末装置。When there is an output from the operation instruction means by the setting of the control operation setting means, the power control means instructs the host information generation means to generate power-on information to the host side, and the host The host-side power-on information generated by the information generating means is input to the host communication means, converted into a form that can be transmitted to the serial communication path, and the converted power-on information to the host side is further transmitted to the serial communication 6. The information terminal device according to claim 1, wherein the information terminal device is converted into a physical signal of a serial communication path by means and transmitted to the host side. 前記制御動作設定手段の設定により、前記電源制御手段は、前記電源検出手段によってホスト側の電源が投入されたことを検出した場合は、前記電源制御手段により前記第3の電力供給手段をオンして、前記VCC動作ブロックへの電力供給を開始した後、前記動作指示手段の出力があった場合には、前記第3の電力供給手段をオフして、前記VCC動作ブロックへの電力供給を停止し、その後、前記動作指示手段の出力があった場合には再び、前記第3の電力供給手段をオンして、前記VCC動作ブロックへの電力供給を開始すること、を特徴とする請求項1ないし請求項3のいずれか、または請求項5ないし請求項6のいずれかに記載の情報端末装置。The power control means turns on the third power supply means by the power control means when the power control means detects that the host side power is turned on by the setting of the control operation setting means. Then, after the power supply to the VCC operation block is started, if there is an output from the operation instruction means, the third power supply means is turned off and the power supply to the VCC operation block is stopped. Then, after that, when there is an output from the operation instruction means, the third power supply means is turned on again to start power supply to the VCC operation block. The information terminal device according to any one of claims 3 to 5 or claims 5 to 6. 通信手段として、Universal Serial Bus(USB)を用いることを特徴とする請求項1ないし請求項7のいずれかに記載の情報端末装置。8. The information terminal device according to claim 1, wherein a universal serial bus (USB) is used as the communication means. USBのHUB機能を有し、前記HUB機能を経由して外部に入出力装置を接続するための入出力ポートを有すること、を特徴とする請求項8に記載の情報端末装置。9. The information terminal device according to claim 8, further comprising an input / output port having a USB HUB function and connecting an input / output device to the outside via the HUB function. 前記電源検出手段と、前記電源制御手段および前記ホスト情報生成手段を、プログラムの指示に基づいてマイクロプロコンピュータが実現すること、を特徴とする請求項1ないし請求項9いずれかに記載の情報端末装置。10. The information terminal according to claim 1, wherein the power detection unit, the power control unit, and the host information generation unit are realized by a microcomputer based on a program instruction. apparatus. 前記入出力ポートに、USBプロトコルをUARTプロトコルに変換するプロトコル変換手段を有すること、を特徴とする請求項10に記載の情報端末装置。11. The information terminal device according to claim 10, wherein the input / output port has a protocol conversion means for converting a USB protocol into a UART protocol. 前記プロトコル変換手段の出力を、前記マイクロコンピュータに接続するための、ホスト−マイクロコンピュータ接続手段を持ち、前記ホスト−マイクロコンピュータ接続手段を介して前記マイクロコンピュータのプログラムの書き換えを行うこと、を特徴とする請求項11記載の情報端末装置。It has host-microcomputer connection means for connecting the output of the protocol conversion means to the microcomputer, and the microcomputer program is rewritten through the host-microcomputer connection means. The information terminal device according to claim 11. 請求項1ないし請求項12のいずれかに記載の情報端末装置と、前記情報端末装置のシリアル通信伝送手段を介して接続されたPOSコンピュータと、前記情報端末装置のひとつの入出力ポートを介してPOSコンピュータに接続された外部装置と、を備えたことを特徴とするPOS端末。The information terminal device according to any one of claims 1 to 12, a POS computer connected via serial communication transmission means of the information terminal device, and one input / output port of the information terminal device A POS terminal comprising an external device connected to a POS computer. 前記外部装置は、前記POSコンピュータから取得した、金額情報を含む各種情報を、レシート紙に印刷可能な印刷装置であること、を特徴とする請求項13に記載のPOS端末。14. The POS terminal according to claim 13, wherein the external device is a printing device capable of printing various information including money amount information acquired from the POS computer on receipt paper. 前記外部装置に対して、第4の電力供給手段を経由して、電力を供給すること、を特徴とする請求項13に記載のPOS端末。The POS terminal according to claim 13, wherein power is supplied to the external device via a fourth power supply unit.
JP2003119842A 2003-04-24 2003-04-24 Information terminal device and POS terminal equipped with the same Expired - Fee Related JP4258264B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003119842A JP4258264B2 (en) 2003-04-24 2003-04-24 Information terminal device and POS terminal equipped with the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003119842A JP4258264B2 (en) 2003-04-24 2003-04-24 Information terminal device and POS terminal equipped with the same

Publications (2)

Publication Number Publication Date
JP2004326412A JP2004326412A (en) 2004-11-18
JP4258264B2 true JP4258264B2 (en) 2009-04-30

Family

ID=33498953

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003119842A Expired - Fee Related JP4258264B2 (en) 2003-04-24 2003-04-24 Information terminal device and POS terminal equipped with the same

Country Status (1)

Country Link
JP (1) JP4258264B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6214897B2 (en) * 2013-03-29 2017-10-18 富士通株式会社 Display device, display system, and power supply state control method
JP6136692B2 (en) * 2013-07-19 2017-05-31 セイコーエプソン株式会社 Electronic device unit, printing unit, and connection device

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0267039A (en) * 1988-08-31 1990-03-07 Nec Corp Remote power source control system
JPH08205428A (en) * 1995-01-18 1996-08-09 Sony Corp Power supply circuit
JP3332669B2 (en) * 1995-06-20 2002-10-07 株式会社日立製作所 Programmable controller
JP4524812B2 (en) * 1999-05-17 2010-08-18 ソニー株式会社 Electronics
JP3376333B2 (en) * 1999-12-21 2003-02-10 シャープ株式会社 Built-in battery information processor with power-on control function
JP3819658B2 (en) * 1999-12-27 2006-09-13 三洋電機株式会社 Portable electronic devices with a common serial bus connector
JP2001331241A (en) * 2000-05-22 2001-11-30 Sony Corp Power source device of data source device
WO2003009559A1 (en) * 2001-07-16 2003-01-30 Fujitsu Limited Peripheral unit
JP2003114740A (en) * 2001-10-04 2003-04-18 Nec Corp System and method for controlling electric power source for hub

Also Published As

Publication number Publication date
JP2004326412A (en) 2004-11-18

Similar Documents

Publication Publication Date Title
US8193663B2 (en) Information processing apparatus with multiple power receiving units
US7894085B2 (en) Image forming apparatus and method of controlling same
US6414864B1 (en) Circuit for reducing standby power of electric apparatus
KR100653065B1 (en) Electronic equipment system and control method thereof
JP2000105638A (en) Usb device and usb connection system
KR100460951B1 (en) Printer capable of controlling power supply by a host
KR20120089775A (en) Motor device, motor drive system provided with motor devices, and integrated circuit device
US20020050936A1 (en) USB machine
US9285866B2 (en) Information processing apparatus with power shutoff switch and control method therefor for reducing power consumption in an image forming apparatus
JP4172217B2 (en) Power management device
JP4258264B2 (en) Information terminal device and POS terminal equipped with the same
JP3164001B2 (en) PC card device
JP4619511B2 (en) Semiconductor device provided with power supply voltage supply system and power supply voltage supply method for supplying power supply voltage to semiconductor device provided with power supply voltage supply system
KR100448274B1 (en) A power supply control device for cutting off stand-by electric power and for saving electric power, a control method thereof and a power saving system
JP3931186B2 (en) Power switching mechanism for electronic devices
JP2002108518A (en) Peripheral device and method for controlling the same
JP2005115478A (en) Control system
JP3833546B2 (en) Power supply device in image forming apparatus
JP2000330671A (en) Power unit and image processor
KR100380009B1 (en) Power control apparatus for electric system
CN101372984B (en) Fan system and motor control device
JPS63275259A (en) Facsimile power unit
JP5975049B2 (en) Power supply device and image forming apparatus having the same
JP2010109962A (en) Image processing apparatus
CN115225069A (en) Chip structure and chip function control method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060407

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090108

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: 20090113

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20090126

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120220

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees