JPH03164818A - Portable data processor - Google Patents

Portable data processor

Info

Publication number
JPH03164818A
JPH03164818A JP1304172A JP30417289A JPH03164818A JP H03164818 A JPH03164818 A JP H03164818A JP 1304172 A JP1304172 A JP 1304172A JP 30417289 A JP30417289 A JP 30417289A JP H03164818 A JPH03164818 A JP H03164818A
Authority
JP
Japan
Prior art keywords
battery
battery cassette
cassette
main
portable data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP1304172A
Other languages
Japanese (ja)
Inventor
Satoshi Nakatani
聡志 中谷
Yoshihisa Tashimo
田下 吉久
Teruhito Nakatsuka
中司 照仁
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.)
Furuno Electric Co Ltd
Original Assignee
Furuno Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Furuno Electric Co Ltd filed Critical Furuno Electric Co Ltd
Priority to JP1304172A priority Critical patent/JPH03164818A/en
Publication of JPH03164818A publication Critical patent/JPH03164818A/en
Pending legal-status Critical Current

Links

Landscapes

  • Power Sources (AREA)

Abstract

PURPOSE:To surely perform the data save processing by providing a data save processing means which performs the data save processing at the time of detecting the start of unloading of a battery cassette. CONSTITUTION:A battery cassette 2 and electrodes 3a and 3b are provided, and these electrodes are provided in the battery cassette storage part of a device main body 1 and are slided for a fixed length to keep a battery connected at the time of loading/unloading of the battery cassette 2 to/from the device main body 1. A battery cassette loading/unloading detecting means 8 detects loading/unloading of the battery cassette 2, and the data save processing means performs the data save processing when the start of unloading of the battery cassette 2 is detected by a loading/unloading detecting means 8 of the battery cassette 2. Though the unloading operation of the battery cassette 2 is continued during the data save processing, the battery cassette 2 and electrodes 3a and 3b provided in the battery cassette storage part of the device main body 1 are slided by only the fixed length up to the end of the unloading of the battery cassette 2 and are kept electrically connected. Thus, the sufficient data save processing time is secured.

Description

【発明の詳細な説明】 (al産業上の利用分野 この発明は、電池を電源としてデータの収集やホストコ
ンピュータへのデータ伝送を行う携帯用データ処理装置
に関する。
DETAILED DESCRIPTION OF THE INVENTION (Al Industrial Field of Application) The present invention relates to a portable data processing device that uses a battery as a power source to collect data and transmit data to a host computer.

世)従来の技術 商品または商品に貼り付けられたラベルに印刷されてい
るバーコードを商品陳列棚や倉庫などの現場で読み取る
装置や、各戸に設置されている電力H1やガスメータな
どを現場でキー人力してデータを収集する装置として、
一般にホストコンピュータと接続可能な携帯用データ処
理装置が使用される。
Conventional technology Devices that read barcodes printed on products or labels affixed to products on-site at product display shelves, warehouses, etc., and on-site keying of power H1s, gas meters, etc. installed in each house. As a device that collects data manually,
Generally, a portable data processing device that can be connected to a host computer is used.

このような目的で使用される携帯用データ処理装置は、
電池交換の煩わしさを解消するため、電源として二次電
池が用いられ、携帯時にはこの二次電池により装置を動
作させ二次電池を充電する場合、あるいはホストコンピ
ュータに接続する場合など長時間動作させる場合にはA
Cアダプタ兼用充電器を接続して動作させている。した
がって通常の使用状態では電池交換は不要であるが、二
次電池は、その充放電回数などによって容量が低下する
ため、ある程度容量が低下した時点で交換されている。
Portable data processing devices used for such purposes are
To eliminate the hassle of battery replacement, a secondary battery is used as a power source, and when carried, the device is operated by this secondary battery, and the device is operated for a long time when charging the secondary battery or when connected to a host computer. In case A
I am using it with a C adapter/charger connected. Therefore, under normal usage conditions, battery replacement is not necessary, but since the capacity of secondary batteries decreases depending on the number of times they are charged and discharged, etc., they are replaced when the capacity has decreased to a certain extent.

装置本体に対する二次電池の接続方法としては、二次電
池を装置本体のケース内に組み込み、コネクタで回路基
板などに接続するようにしたものと、二次電池をカセッ
ト形状にして電池カセットを形成し、’AW本体の外部
からこの電池カセットを2脱できるようにしたものとが
ある。前者の方法は電池交換の際、装置のキャビネット
を取り外す必要があり、その作業が煩雑である。後者の
方法では、その欠点がないものの、装置の動作r′を弓
こ誤って装置が落とされることにより、または不注意に
より電池カセットが取り外されるおそれがある。
There are two ways to connect the secondary battery to the device body: the secondary battery is built into the case of the device body and connected to a circuit board etc. with a connector, and the secondary battery is shaped into a cassette to form a battery cassette. However, there is one in which two battery cassettes can be removed from the outside of the 'AW body. The former method requires removing the cabinet of the device when replacing the battery, which is a complicated process. Although the latter method does not have these disadvantages, there is a risk that the battery cassette may be removed due to misdirection of the device's operation r', resulting in the device being dropped, or due to inadvertent removal of the battery cassette.

装置の動作中に電池カセットが外れた場合にはその動作
途中であった一連の処理が完結しないばかりか、電源電
圧の低下によりcpuが誤動作し、データを破壊するお
それがある。そこで、従来は電池カセットが不用意に取
り外されないようにロック機構を設けたり、電池の取り
外しを検出したときデータの待避処理を行い、その待避
処理に要する時間だけ電源電圧を保持する大容量のコン
デンサを設けたりしていた。
If the battery cassette is removed while the device is in operation, not only will the series of processes in progress not be completed, but the CPU may malfunction due to a drop in power supply voltage, which may destroy data. Therefore, in the past, a locking mechanism was installed to prevent the battery cassette from being removed carelessly, or a large-capacity device was installed that saved the data when it detected that the battery had been removed, and held the power supply voltage for the time required for the saving process. They also installed capacitors.

電池力セラ斗にロック機構を設けた従来の装置の構成例
を第13図に示す、同図において1は携帯用データ処理
装置本体であり、図においてはその底面を示している。
An example of the configuration of a conventional device in which a locking mechanism is provided in a battery power cellar is shown in FIG. 13. In the figure, 1 is the main body of a portable data processing device, and the figure shows the bottom surface thereof.

2は電池カセットであり、2つの電極4a、4bおよび
係合片6が設けられている。装置本体1の電池カセット
収納部には電池カセットの電極と接触する電極3a、3
bおよび電池カセットの係合片6に係合するa措(不図
示)が設けられている。5はそのロック機構を解除する
ための操作部である。
2 is a battery cassette, and two electrodes 4a, 4b and an engagement piece 6 are provided. The battery cassette storage part of the device main body 1 has electrodes 3a, 3 in contact with the electrodes of the battery cassette.
b and a means (not shown) that engage with the engaging piece 6 of the battery cassette are provided. Reference numeral 5 denotes an operation section for releasing the locking mechanism.

(C1発明が解決しようとするyA題 しかしながら、第13図に示したような電池カセットに
ロック機構を設けた携帯用データ処理装置においては、
操作部5の操作により電池カセット2が取り外されるの
を検知してから電池カセット2が図に示したXの距離移
動しただけで、電気的に切り離される。このため、手早
く電池カセットが取り外された場合には、電池カセット
の取り外し開始を検知してから短時間の後に実際に電気
的に分離されてしまうため、大容量のコンデンサを設け
なければ十分な待避処理時間を確保することができなか
った。
(C1 Problem to be solved by the inventionHowever, in a portable data processing device in which a locking mechanism is provided on the battery cassette as shown in FIG. 13,
After detecting that the battery cassette 2 is removed by operating the operating unit 5, the battery cassette 2 is electrically disconnected only by moving the distance X shown in the figure. For this reason, if the battery cassette is removed quickly, it will actually be electrically isolated a short time after the start of battery cassette removal is detected, so unless a large capacity capacitor is installed, sufficient evacuation will not be possible. It was not possible to secure processing time.

この発明の目的は、前述の大容量のコンデンサなどを用
いなくとも、装置の動作中に電池カセットが取り外され
た場合にデータの十分な待避処理時間を確保できるよう
にした携帯用データ処理装置を堤供することにある。
An object of the present invention is to provide a portable data processing device that can secure sufficient data backup processing time even if the battery cassette is removed during operation of the device, without using the aforementioned large-capacity capacitor. The purpose is to donate money.

(d)課題を解決するための手段 この発明の請求項1に係る携帯用データ処理装置は、装
置本体に対する電池カセットの着脱時に一定距離摺動し
て電池の接続状態を保つ電極を電池カセットおよび装置
本体の電池カセット収納部に設けるとともに、 電池カセットの着脱を検知する電池カセット着脱検知手
段と、 上記電池カセットの着脱検知手段により電池カセットの
取り外し開始が検知されたとき、データの待避処理を行
うデータ待避処理手段を設けたことを特徴とする。
(d) Means for Solving the Problems The portable data processing device according to claim 1 of the present invention has an electrode that slides a certain distance to maintain the connected state of the battery when the battery cassette is attached to and detached from the device body. A battery cassette attachment/detachment detection means is provided in the battery cassette storage section of the device body and detects attachment/detachment of the battery cassette, and when the start of battery cassette removal is detected by the battery cassette attachment/detachment detection means, data is saved. The present invention is characterized in that a data saving processing means is provided.

また、請求項2に係る携帯用データ処理装置は、請求項
1記載の携帯用データ処理装置において、電池カセット
の取り外しの際、電池カセットが一定距離摺動する途中
に電池カセットが一時的に装置本体に係止する一時係止
手段を設けたことを特徴とする。
The portable data processing device according to claim 2 is the portable data processing device according to claim 1, in which when the battery cassette is removed, the battery cassette is temporarily removed from the device while the battery cassette is sliding a certain distance. It is characterized by providing a temporary locking means for locking to the main body.

また、請求項3に係る携帯用データ処理装置は、装置全
体の主電源として用いられる交換自在の主電池と主電源
オフ時にメモリのバックアップを行うとともに、制御部
に電源供給を行う副電池を備え・ 主電池の着脱を検知する主電池着脱検知手段と主電池の
取り外しが検知されたとき、副電池を電源としてデータ
の待避処理を行った後、電源をオフするデータ待避処理
手段を設けたことを特徴とする。
Further, the portable data processing device according to claim 3 includes a replaceable main battery used as a main power source for the entire device, and a sub battery that backs up the memory when the main power is turned off and supplies power to the control section. - Provided with a main battery insertion/removal detection means for detecting attachment/removal of the main battery, and a data evacuation processing means for performing data evacuation processing using the auxiliary battery as a power source and then turning off the power when removal of the main battery is detected. It is characterized by

さらに請求項4に係る携帯用データ処理装置は、請求項
3の携帯用データ処理装置において、制御部にマイクロ
プロセッサを備え、データ待避処理手段により副電池を
電源としデータの待避処理を行う際、マイクロプロセッ
サのクロック周波数を低くするクロック周波数切換手段
を設けたことを特徴とする。
Furthermore, in the portable data processing device according to claim 4, in the portable data processing device according to claim 3, the control section includes a microprocessor, and when the data saving processing means performs data saving processing using the sub battery as a power source, The present invention is characterized by providing a clock frequency switching means for lowering the clock frequency of the microprocessor.

(81作用 この発明の請求項1に係る携帯用データ処理装置におい
ては、電池カセットおよび装置本体の電池カセットの収
納部に、装置本体に対する電池カセットの着脱時に一定
距離摺動して電池の接続状態を保つ電極が設けられてい
る。また、電池力セント着脱検知手段は、電池カセット
の着脱を検知し、データ待避処理手段は電池カセットの
着脱検知手段により電池カセットの取外開始が検知され
たときデータの待避処理を行う。このデータの待避処理
中にも電池カセットの取り外し操作がm続されるが、電
池力セントが完全に取り外されるまでの一定距離だけ、
電池カセットおよび装置本体の電池カセット収納部に設
けられた電極間が摺動されて、その電気的接続状S<保
つ。したがって、十分なデータ待避処理時間を確保する
ことができる。
(81 Effect) In the portable data processing device according to claim 1 of the present invention, the battery cassette and the battery cassette storage portion of the device main body are slid a certain distance when the battery cassette is attached to and removed from the device main body, and the battery is connected to the device. Further, the battery power cent attachment/detachment detection means detects attachment/detachment of the battery cassette, and the data evacuation processing means detects when the battery cassette attachment/detachment detection means detects the start of battery cassette removal. The data is saved.During this data saving process, the battery cassette removal operation continues for a certain distance until the battery cassette is completely removed.
The electrodes provided in the battery cassette and the battery cassette storage portion of the main body of the device are slid together to maintain electrical connection S<. Therefore, sufficient data saving processing time can be secured.

請求項2に係る携帯用データ処理装置では、請求項1に
記載した携帯用データ処理装置にさらに、電池カセット
を装置本体の電池カセット収納部から取り外す際、電池
カセットが一時的に係止されるため、電池カセットと電
池力セント収納部に設けられている電極間の摺動距翻が
比較的短くとも電池カセットの取外開始から実際に電気
的に分離されるまでの時間を十分確保することができる
請求項3に係る携帯用データ処理装置においては、上記
電池カセットのような交換自在の主電池が装置全体の主
電源として用いられ、主電源のオフ時には内蔵されてい
る副電池がメモリのバックアップを行うとともに制御部
に電源供給を行う。
In the portable data processing device according to claim 2, the portable data processing device according to claim 1 further includes the battery cassette being temporarily locked when the battery cassette is removed from the battery cassette storage portion of the device main body. Therefore, even if the sliding distance between the battery cassette and the electrodes provided in the battery power storage section is relatively short, sufficient time must be ensured from when the battery cassette begins to be removed until it is actually electrically separated. In the portable data processing device according to claim 3, a replaceable main battery such as the battery cassette is used as the main power source for the entire device, and when the main power is turned off, the built-in auxiliary battery powers the memory. Performs backup and supplies power to the control unit.

主電池着脱検知手段は主電池の着脱状態を検知し、デー
タ待避処理手段は、主電池の取り外しが検知されたとき
、副電池を電源としてデータの待避処理を行い、その後
電源をオフする。上記副電池はもともとメモリのバック
アップ用として従来より用いられている電池であり副電
池を主電池のないときに制御部の1aiXとして用いた
ことによりデータ待避処理に要する電源電圧を確保する
ことができる。しかもデータ待避処理後電源がオフされ
るため、副電池が供給すべき平均電力は少なく、従来の
小容雇の副電池をそのまま用いることができる。
The main battery attachment/detachment detection means detects the attachment/detachment state of the main battery, and when the removal of the main battery is detected, the data save processing means uses the auxiliary battery as a power source to perform data save processing, and then turns off the power. The above-mentioned sub-battery is originally a battery conventionally used for memory backup, and by using the sub-battery as 1aiX of the control unit when the main battery is not available, it is possible to secure the power supply voltage required for data saving processing. . Moreover, since the power is turned off after the data saving process, the average power that the sub-battery must supply is small, and a conventional small-capacity sub-battery can be used as is.

請求項4に係る携帯用データ処理装置では、請求項3に
記載した携帯用データ処理装置において制御部にマイク
ロプロセッサを備え、クロック周波数切換手段は、副電
池を電源としてデータの待避処理を行う際、マイクロプ
ロセッサのクロック周波数を低くする。
In the portable data processing device according to claim 4, in the portable data processing device according to claim 3, the control section includes a microprocessor, and the clock frequency switching means is configured to perform data saving processing using the sub battery as a power source. , lower the microprocessor's clock frequency.

通常、メモリのバンクアップ用として用いられる副電池
は、主電池の存在するとき主電池から電源供給が行われ
るように、主電池とダイオードOR接続されるとともに
、その電圧が主電池の電圧より低く設定されている。し
たがって、副電池を電源とする場合にはマイクロプロセ
ッサの電源電圧が通常時より低くなる。そこで上記構成
のようにマイクロプロセッサのクロック周波数を低くす
ることによってマイクロプロセッサは動作マージン内で
動作することができ、正常にデータの待避処理が行われ
る。
Normally, the auxiliary battery used for memory bank-up is diode-OR connected to the main battery so that power is supplied from the main battery when the main battery is present, and its voltage is lower than the voltage of the main battery. It is set. Therefore, when the sub-battery is used as a power source, the power supply voltage of the microprocessor is lower than normal. Therefore, by lowering the clock frequency of the microprocessor as in the above configuration, the microprocessor can operate within the operating margin, and data saving processing can be performed normally.

(f)実施例 この発明の請求項1に記載した装置に相当する第1の実
施例である携帯用データ処理装置の斜視図および平面図
を第1図および第2図に示す。
(f) Embodiment FIGS. 1 and 2 show a perspective view and a plan view of a portable data processing device according to a first embodiment of the present invention, which corresponds to the device according to claim 1 of the present invention.

両図において、lは装置本体であり、図においてはその
底面の外観を示している。また2は電池カセットであり
、第1図は電池カセット2を装置本体1から取り外した
状態を示している。を池カセット2側には電池電圧を供
給するための電極4a、4bを両側部に設け、接地電位
側となる電位を与える電極9を本体側の電極8に対向す
る位置に設けている。また電池カセット20両側面には
溝1)を設け、その底部に2つの電極4a、4bを露出
させている。装置本体の電池カセット収納部には電池の
電源電圧を受ける電極3a、3bおよび電池カセットの
着脱状態を検知する電極8を設けている。また、装置本
体の電池カセット収納部にはさらに電池力セソ1−の保
合片6が挿入される孔7および電池カセットの両側部に
設けた溝1)に係合する案内用突起lOを設けている。
In both figures, l is the main body of the device, and the figure shows the appearance of the bottom surface thereof. 2 is a battery cassette, and FIG. 1 shows the battery cassette 2 removed from the main body 1 of the apparatus. On the side of the battery cassette 2, electrodes 4a and 4b for supplying battery voltage are provided on both sides, and an electrode 9 for providing a potential on the ground potential side is provided at a position opposite to the electrode 8 on the main body side. Further, grooves 1) are provided on both sides of the battery cassette 20, and two electrodes 4a and 4b are exposed at the bottom thereof. The battery cassette storage portion of the main body of the device is provided with electrodes 3a and 3b that receive the power supply voltage of the battery, and an electrode 8 that detects whether the battery cassette is attached or removed. Further, the battery cassette storage portion of the main body of the device is further provided with a guide protrusion 10 that engages with the hole 7 into which the retaining piece 6 of the battery power separator 1- is inserted and the groove 1) provided on both sides of the battery cassette. ing.

次に装置の主要部の回路図を第3図に示す。第3図にお
いて17は装置全体の制御を統括するマイクロプロセッ
サからなるCPU、18はメモリや割込み制御回路を含
む周辺回路であり、これらはC−MO3回路から構成し
ている。また16はイオードである。Qlは後述するA
NDゲート21の出力により制御されるトランジスタで
あり、これがON状態のときCPU17および周辺回路
18に対して主電池15の電源電圧が供給される、抵抗
R1はCPUのINI端子のプルアップ抵抗であり、電
池カセット2が取り付けられていないときCPUのIN
I端子が“lf“レベルとなり、電池カセット2が取り
付けられているとき“L”レベルとなる。抵抗R2はイ
ンバータ2oの人力信号のプルダウン抵抗であり、CP
Uの0UT1端子が“H”レベルでないときインバータ
20の入力は“し”レベルとなる。また、19はワンシ
ョット回路であり、その入力端子にプルアップ抵抗R3
およびTtij70 Nスイッチが接続されている。こ
のONスイッチが操作されたときワンショット回路19
の入力端子INが“L”レベル(有効)となって端子O
UTから一定時間1L”レベルの信号を出力する。した
がって、電源ONスイッチの操作により一定時間A N
 Dゲート21の出力が“L”レベルとなってトランジ
スタQlが導通し、CPU17に電源電圧Vccが供給
される、後述するように、このことによりCI’U17
は動作を開始し0UTIを“I(”レベルにしてトラン
ジスタQlのON状態を保つ。
Next, a circuit diagram of the main parts of the device is shown in FIG. In FIG. 3, 17 is a CPU consisting of a microprocessor that controls the entire device, and 18 is a peripheral circuit including a memory and an interrupt control circuit, which are composed of C-MO3 circuits. Further, 16 is an iode. Ql is A, which will be described later.
This transistor is controlled by the output of the ND gate 21, and when it is in the ON state, the power supply voltage of the main battery 15 is supplied to the CPU 17 and peripheral circuits 18. The resistor R1 is a pull-up resistor for the INI terminal of the CPU. , CPU IN when battery cassette 2 is not installed.
The I terminal is at the "lf" level, and when the battery cassette 2 is attached, it is at the "L" level. Resistor R2 is a pull-down resistor for the human input signal of inverter 2o, and CP
When the 0UT1 terminal of U is not at the "H" level, the input to the inverter 20 is at the "HI" level. In addition, 19 is a one-shot circuit, and its input terminal has a pull-up resistor R3.
and Ttij70N switches are connected. When this ON switch is operated, the one-shot circuit 19
The input terminal IN becomes “L” level (valid) and the terminal O
The UT outputs a 1L" level signal for a certain period of time. Therefore, by operating the power ON switch, A N
The output of the D gate 21 becomes "L" level, the transistor Ql becomes conductive, and the power supply voltage Vcc is supplied to the CPU 17. As described later, this causes the CI'U 17
starts operating and sets 0UTI to "I(" level) to keep transistor Ql in the ON state.

次にタイマ割込み処理のタイミングとその処理手順およ
び電源ON後の処理手順を第4図、第5図および第6図
に示す。
Next, the timing of timer interrupt processing, its processing procedure, and the processing procedure after power is turned on are shown in FIGS. 4, 5, and 6.

第3図に示した周辺回路18にはCPUI 7に対して
一定時間毎に割込みをかけるタイマ割込み回路が設けら
れていて、第4図に示すようにメイン処理中にTで示す
周期毎にタイマ割込みがかけられ、そのタイマ割込み処
理によって電池カセットの検出およびデータの待避処理
が行われる。
The peripheral circuit 18 shown in FIG. 3 is provided with a timer interrupt circuit that interrupts the CPU 7 at regular intervals, and as shown in FIG. An interrupt is generated, and the battery cassette detection and data saving processing are performed by the timer interrupt processing.

第5図に示すようにタイマ割込みの処理で、先ず信号S
 N S *の状態すなわち第3図に示したCPUのI
NI端子のレベルを読み込む(nl)。
As shown in Figure 5, in the timer interrupt processing, first the signal S
N S * state, that is, the CPU I shown in Figure 3.
Read the level of the NI terminal (nl).

この信号は1L″レベルであれば、電池カセットが取り
付けられているものとみなして直ちに割込み処理を終了
するが、上記信号が“1)”レベルであれば電池カセッ
トが取り外されている(取り外しが開始された)ものと
みなしてCPU内の各レジスタの内容およびプログラム
の継続上必要な各種データをRA ?v1の所定エリア
に待避する(n2)。その後待避処理が行われたことを
記憶する待避フラグ(RAMの所定領域のビット)をセ
ットする(n3)、その後、第3図に示したCPUの端
子0UTIをL”レベルにすることによってANDゲー
ト21の出力を“IIルベルとしてトランジスタQlを
オフしてCPUに対する電源Vccをオフする(n4)
If this signal is at the 1L" level, it is assumed that the battery cassette is installed and the interrupt processing is immediately terminated. However, if the signal is at the "1)" level, the battery cassette has been removed (removal is not possible). The contents of each register in the CPU and various data necessary for continuation of the program are saved to a predetermined area of RA?v1 (n2).Then, the save process is saved to remember that the save process has been performed. The flag (bit in a predetermined area of RAM) is set (n3), and then, by setting the terminal 0UTI of the CPU shown in FIG. to turn off the power supply Vcc to the CPU (n4)
.

以上に示したタイマ割込み処理が行われる周期Tは例え
ば数十m5ec毎など短時間に繰り返し行われるため、
実際上電池カセットの取り外しが開始された直後に待避
処理が開始されることになる。
The period T in which the timer interrupt processing shown above is performed is repeated in a short period of time, for example every several tens of m5ec, so
In practice, the evacuation process is started immediately after the removal of the battery cassette is started.

さて、その後再び電池カセットが取り付けられて電源O
Nスイッチが操作されたとき、第3図に示したようにワ
ンショット回路19およびANDゲート21の作用によ
りトランジスタQ1が回路的にONされて、CPUに電
源電圧Vccが供給される。これによりCPUは回路的
にリセットされ回路により予め定められたスタート番地
からプログラムが実行される。第6図はそのときの処理
手順を示している。先ず、第3図に示したワンショット
回路19の出力が“L”レベルである期間にCPUの出
力0UTIをI−I”レベルとすることによってトラン
ジスタQlのON状態を保つ(n10)。続いて表示用
LSIやホストコンピュータとの通信用LSI等を初期
化する(nil)、その後、待避フラグの状態を検出す
る(n12)。待避フラグがセントされていたなら既に
待避されている内容を各レジスタに復帰させ、またその
他のデータを待避処理前の状態に戻し実行を再開する(
n 13 ” n 14.)。もし待避フラグがリセッ
ト・状態であれば初期状態から実行を開始する(n12
−=n15)。
Now, after that, the battery cassette is installed again and the power is turned on.
When the N switch is operated, as shown in FIG. 3, the one-shot circuit 19 and the AND gate 21 turn on the transistor Q1, supplying the power supply voltage Vcc to the CPU. This resets the CPU circuitry, and the circuit executes the program from a predetermined start address. FIG. 6 shows the processing procedure at that time. First, while the output of the one-shot circuit 19 shown in FIG. 3 is at the "L" level, the CPU output 0UTI is set to the "I-I" level to keep the transistor Ql in the ON state (n10). The display LSI and the communication LSI with the host computer are initialized (nil), and then the state of the save flag is detected (n12).If the save flag has been set, the contents that have already been saved are stored in each register. , return other data to the state before the save processing, and resume execution (
n 13 ” n 14.). If the save flag is in the reset state, execution starts from the initial state (n 12
-=n15).

以上のようにして、電池カセットの取り外しが開始され
てから実際に電気的に分なされるまでの間に確実にデー
タの待避処理を行わせることができる。
As described above, the data saving process can be reliably performed from when the battery cassette is removed until it is actually electrically separated.

この発明の第2および第3の実施例である携帯用データ
処理v装置の主要部の構成を第7図および第8図に示す
FIGS. 7 and 8 show the configurations of the main parts of portable data processing devices which are second and third embodiments of the present invention.

電池カセットの電極と、これに接触する装置本体側の電
極の構造は、第7図に示すように装置本体1の電池カセ
ット収納部側の電極3a、3bを長くし、電池カセット
2側の電極4a、4bを短くしても良い。この場合、電
池カセット側の電極4a、4bは、電池カセット2の挿
入開始直後に電極3a、3bに接続される位置に配置す
る。
As shown in FIG. 7, the structure of the electrodes of the battery cassette and the electrodes on the device main body side that contact them is such that the electrodes 3a and 3b on the battery cassette housing side of the device main body 1 are made longer, and the electrodes on the battery cassette 2 side are made longer. 4a and 4b may be shortened. In this case, the electrodes 4a and 4b on the battery cassette side are arranged at positions where they are connected to the electrodes 3a and 3b immediately after the insertion of the battery cassette 2 is started.

また、第8図に示すように電池カセットの着脱を検知す
る手段として、単に電池カセットをロックする機構5′
に、ロックを解除する動作を検出するスイッチ22を設
けても良い。
Further, as shown in FIG. 8, a mechanism 5' that simply locks the battery cassette is used as a means for detecting attachment/detachment of the battery cassette.
A switch 22 may be provided to detect the unlocking operation.

次にこの発明の請求項2に記載した装置に相当する第4
、第5および第6の実施例に係る携帯用データ処理装置
の主要部の構成を第9図(A)。
Next, a fourth device corresponding to the device according to claim 2 of the present invention
FIG. 9(A) shows the configuration of the main parts of the portable data processing apparatus according to the fifth and sixth embodiments.

(B)、第10図および第1)図(A)、  (B)に
示す。
(B), FIG. 10 and FIG. 1) are shown in FIGS. (A) and (B).

第9図(A)、  (B)で示す例では、電池カセット
2の両側部に長円形の2つの凸部23.23を設け、こ
れに対応して装置本体1の電池収納部に一時係止部24
.24および案内ン待25,25を設けている。このよ
うに構成すれば、第9図(B)の矢印で示すように、電
池カセット2を装置本体1から取り外す際、先ず電池カ
セット2を水平状態で案内溝25を案内させて引き出し
、その後90度回転させて垂直に立てた状態で引き抜く
。上記−時係止部24.24および案内溝25゜25に
連続した弾性を有する電極を設け、電池カセント例の凸
部23.23に電極を設けることによって、装置本体か
ら電池カセットを取り外す際、電池カセットが一時係止
されるため、電池カセットの取り外しが検知されてから
実際に電気的に分離されるまでの時間を十分に稼ぐこと
ができるまた、第10図に示すように、電池カセット2
と本体1とにそれぞれ係合片26,26および27.2
7を設けることによって、本体1から電池カセット2を
完全に取り外して電気的にも分^1【するためには、電
池カセットの扱き出し初期の力よりも大きな力を必要と
する。したがって、ワンアクションでは取り外すことが
できなく、電池力セントの取り外し開始検知から実際に
取り外されるまでの時間を稼ぐことができる。
In the example shown in FIGS. 9(A) and 9(B), two oval convex portions 23, 23 are provided on both sides of the battery cassette 2, and correspondingly, the battery cassette 2 is temporarily engaged with the battery storage portion of the main body 1. Stop part 24
.. 24 and guide terminals 25, 25 are provided. With this configuration, as shown by the arrow in FIG. 9(B), when removing the battery cassette 2 from the main body 1 of the apparatus, first the battery cassette 2 is pulled out in a horizontal state by guiding the guide groove 25, and then the battery cassette 2 is pulled out by the guide groove 25. Rotate it once and pull it out vertically. By providing a continuous elastic electrode on the above-mentioned locking portion 24.24 and the guide groove 25°25, and providing an electrode on the convex portion 23.23 of the battery cassette example, when removing the battery cassette from the main body of the device, Since the battery cassette is temporarily locked, sufficient time can be gained from when the removal of the battery cassette is detected until it is actually electrically separated.Furthermore, as shown in FIG. 10, the battery cassette 2
and the main body 1 are provided with engaging pieces 26, 26 and 27.2, respectively.
7, in order to completely remove the battery cassette 2 from the main body 1 and to remove it electrically, a force greater than the initial force required to handle the battery cassette is required. Therefore, it is not possible to remove the battery in one action, and it is possible to buy time from when the start of battery removal is detected to when the battery is actually removed.

さらに第1)図に示すように本体と係合して−・時係止
する特別な係止機構を電池カセット2に設けても良い。
Furthermore, as shown in Figure 1), the battery cassette 2 may be provided with a special locking mechanism that engages with the main body and locks the battery cassette 2.

同図(B)は(八)におけるA部分の拡大図であり、電
池カセットを本体へ挿入するときには、ボタンのテーパ
部28の作用により自動的にボタンが電池力セント内に
押し込まれ、ロックがかからない。取り外し時にはボタ
ンが本体1のケース側面の孔に突き出てロックがかかる
Figure (B) is an enlarged view of part A in (8). When inserting the battery cassette into the main body, the taper part 28 of the button automatically pushes the button into the battery center and locks it. It doesn't cost. When removed, the button protrudes into the hole on the side of the case of the main body 1 and is locked.

この状態でボタンを押し込むことによって初めて電池カ
セットを完全に取り外すことができる。次に、この発明
の請求項3および請求項4に記載した装置に相当する第
7の実施例に係る携帯用データ処理装置の主要部の回路
図を第12図に示す。
Only by pressing the button in this state can the battery cassette be completely removed. Next, FIG. 12 shows a circuit diagram of a main part of a portable data processing apparatus according to a seventh embodiment, which corresponds to the apparatus according to claims 3 and 4 of the present invention.

第12図において主電池15と副電池16の電圧はダイ
オードD2.D3によりダイオードORされてメモリバ
ンクアップ電源として、またトランジスタQ1を通して
CPU等の電源として供給される。また、発振分周回路
30はCr’U17に対してクロック信号を与えるとと
もに、CPUからの信号に応じてその分周比を変えてク
ロック周波数を切り換える回路である。その他の回路構
成は第3図に示したものと同様である。
In FIG. 12, the voltages of the main battery 15 and the auxiliary battery 16 are connected to the diode D2. It is diode-ORed by D3 and supplied as a memory bank up power supply, and is supplied as a power supply to the CPU etc. through transistor Q1. Further, the oscillation frequency dividing circuit 30 is a circuit that provides a clock signal to the Cr'U 17 and also changes the frequency division ratio according to a signal from the CPU to switch the clock frequency. The other circuit configuration is the same as that shown in FIG.

さて、このように構成した回路を用い、CPU17は基
本的に第5図および第6図(第1の実施例)で示した処
理手順と同様の処理を行うが、タイマ割込み処理にて電
池カセットの取り外しが検出されたとき、先ず分周比を
変更してクロック周波数を低下させた後、第5図に示し
たレジスタ待避処理以降の処理を行う。また、電池08
時には第6図に示したイニシャライズ処理(ステップn
1))にて分周比を通常の値に設定してクロック周波数
を高くする処理が行われる。
Now, using the circuit configured as described above, the CPU 17 basically performs the same processing procedure as shown in FIGS. 5 and 6 (first embodiment), but the timer interrupt processing When removal of the register is detected, first, the frequency dividing ratio is changed to lower the clock frequency, and then the register saving process and subsequent processes shown in FIG. 5 are performed. Also, battery 08
Sometimes the initialization process (step n) shown in FIG.
In step 1)), a process is performed in which the frequency division ratio is set to a normal value and the clock frequency is increased.

このように動作させることにより、電池カセットが取り
外されたとき副電池16によって通常の電源電圧Vcc
より若干低い電圧でかつ低いクロック周波数でcpuは
動作を継続し、その状態でデータの待避処理を行う。デ
ータの待避処理が完了した状態でトランジスタQ1をオ
フすることによって副電池16の電力消費が抑えられる
By operating in this way, when the battery cassette is removed, the normal power supply voltage Vcc is restored by the sub battery 16.
The CPU continues to operate at a slightly lower voltage and clock frequency, and performs data saving processing in this state. Power consumption of the sub battery 16 can be suppressed by turning off the transistor Q1 when the data saving process is completed.

(a発明の効果 この発明によれば、装置の動作中に電池が取り外された
とき、十分な待避処理時間または必要な電源電圧が確保
されるため、データの待避処理を確実に行うことができ
る。しかも大容量のコンデンサなどを必要としないため
装置全体が大型化することもない。
(a) Effects of the Invention According to this invention, when the battery is removed while the device is operating, sufficient backup processing time or necessary power supply voltage is secured, so data backup processing can be performed reliably. Moreover, since there is no need for large-capacity capacitors, the overall size of the device does not increase.

【図面の簡単な説明】 第1図および第2図はこの発明の第1の実施例に係る携
帯用データ処理装置の外観図および平面図である。第3
図は同装置の主要部の回路図である。第4図は同装置の
CPtJの処理タイミングを示す図、第5図および第6
図はCPUの処理手順を表すフローチャー1・である。 第7図および第8図は第2および第3の実施例に係る装
置の主要部の構造を表す図である。第9図(A)、  
(B)、第1O図および第1)図(A)、  (B)は
第4、第5および第6の実施例に係る装置の主要部の構
造を表す図である。第12図は第7の実施例に係る装置
の主要部の回路図である。第13図は従来の携帯用デー
タ処理装置の構成を表す平面図である。 1−装置本体、2−電池カセット、 3a、 3 b。 4 a。 4b=電極。
BRIEF DESCRIPTION OF THE DRAWINGS FIGS. 1 and 2 are an external view and a plan view of a portable data processing device according to a first embodiment of the present invention. Third
The figure is a circuit diagram of the main parts of the device. Figure 4 is a diagram showing the processing timing of CPtJ of the same device, Figures 5 and 6.
The figure is a flowchart 1 representing the processing procedure of the CPU. FIGS. 7 and 8 are diagrams showing the structure of the main parts of the apparatus according to the second and third embodiments. Figure 9 (A),
(B), FIG. 1O, and FIG. 1) (A) and (B) are diagrams showing the structure of the main parts of the apparatus according to the fourth, fifth, and sixth embodiments. FIG. 12 is a circuit diagram of the main parts of the device according to the seventh embodiment. FIG. 13 is a plan view showing the configuration of a conventional portable data processing device. 1-device main body, 2-battery cassette, 3a, 3b. 4 a. 4b=electrode.

Claims (4)

【特許請求の範囲】[Claims] (1)装置本体に対する電池カセットの着脱時に一定距
離摺動して電池の接続状態を保つ電極を電池カセットお
よび装置本体の電池カセット収納部に設けるとともに、 電池カセットの着脱を検知する電池カセット着脱検知手
段と、 上記電池カセットの着脱検知手段により電池カセットの
取り外し開始が検知されたとき、データの待避処理を行
うデータ待避処理手段を設けたことを特徴とする携帯用
データ処理装置。
(1) Electrodes are provided on the battery cassette and in the battery cassette storage area of the device main body that slide a certain distance to keep the battery connected when the battery cassette is attached to or removed from the device body, and a battery cassette attachment/detachment detection device is installed to detect the attachment or detachment of the battery cassette. A portable data processing device comprising: means for saving data when the start of removal of a battery cassette is detected by the battery cassette attachment/detachment detection means.
(2)電池カセットの取り外しの際、電池カセットが前
記一定距離摺動する途中に電池カセットが一時的に装置
本体に係止する一時係止手段を設けた請求項1記載の携
帯用データ処理装置。
(2) The portable data processing device according to claim 1, further comprising a temporary locking means for temporarily locking the battery cassette to the main body of the device while the battery cassette slides the certain distance when the battery cassette is removed. .
(3)装置全体の主電源として用いられる交換自在の主
電池と主電源オフ時にメモリのバックアップを行うとと
もに、制御部に電源供給を行う副電池を備え、 主電池の着脱を検知する主電池着脱検知手段と主電池の
取り外しが検知されたとき、副電池を電源としてデータ
の待避処理を行った後、電源をオフするデータ待避処理
手段を設けたことを特徴とする携帯用データ処理装置。
(3) Equipped with a replaceable main battery that is used as the main power source for the entire device, and a sub-battery that backs up the memory when the main power is turned off and supplies power to the control unit.The main battery is detachable and detects whether the main battery is attached or removed. 1. A portable data processing device comprising a data saving processing means for performing data saving processing using a sub battery as a power source and then turning off the power when removal of the detection means and the main battery is detected.
(4)前記制御部はマイクロプロセッサを備え、前記デ
ータ待避処理手段により副電池を電源としてデータの待
避処理を行う際、マイクロプロセッサのクロック周波数
を低くするクロック周波数切換手段を設けた請求項3記
載の携帯用データ処理装置。
(4) The control unit includes a microprocessor, and further comprises clock frequency switching means for lowering the clock frequency of the microprocessor when the data saving processing means performs data saving processing using a sub-battery as a power source. portable data processing equipment.
JP1304172A 1989-11-22 1989-11-22 Portable data processor Pending JPH03164818A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1304172A JPH03164818A (en) 1989-11-22 1989-11-22 Portable data processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1304172A JPH03164818A (en) 1989-11-22 1989-11-22 Portable data processor

Publications (1)

Publication Number Publication Date
JPH03164818A true JPH03164818A (en) 1991-07-16

Family

ID=17929912

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1304172A Pending JPH03164818A (en) 1989-11-22 1989-11-22 Portable data processor

Country Status (1)

Country Link
JP (1) JPH03164818A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09114556A (en) * 1995-10-13 1997-05-02 Nec Corp Battery pack structure for personal computer
KR100583639B1 (en) * 1998-08-27 2006-08-23 삼성전자주식회사 A latch structure for attaching a battery pack to an electronic system
JP2010157255A (en) * 2010-02-12 2010-07-15 Fujitsu Ltd Information processing device and removable unit
JP2011180720A (en) * 2010-02-26 2011-09-15 Panasonic Corp Electronic apparatus
US9118059B2 (en) 2010-02-26 2015-08-25 Panasonic Intellectual Property Management, Co., Ltd. Battery attachable/detachable electronic equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5574618A (en) * 1978-11-29 1980-06-05 Nippon Denso Co Ltd Operating frequency selector for digital computer
JPS6229733B2 (en) * 1981-04-03 1987-06-27 Hironori Nara

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5574618A (en) * 1978-11-29 1980-06-05 Nippon Denso Co Ltd Operating frequency selector for digital computer
JPS6229733B2 (en) * 1981-04-03 1987-06-27 Hironori Nara

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09114556A (en) * 1995-10-13 1997-05-02 Nec Corp Battery pack structure for personal computer
KR100583639B1 (en) * 1998-08-27 2006-08-23 삼성전자주식회사 A latch structure for attaching a battery pack to an electronic system
JP2010157255A (en) * 2010-02-12 2010-07-15 Fujitsu Ltd Information processing device and removable unit
JP2011180720A (en) * 2010-02-26 2011-09-15 Panasonic Corp Electronic apparatus
US9118059B2 (en) 2010-02-26 2015-08-25 Panasonic Intellectual Property Management, Co., Ltd. Battery attachable/detachable electronic equipment

Similar Documents

Publication Publication Date Title
US6045398A (en) Battery accepting unit and battery pack
US5151992A (en) Personal computer for cutting off power when a lock mechanism of hard disk pack is released
US5955797A (en) Portable computer being powered by either a battery pack or an AC adapter
US6837739B2 (en) Battery connection interrupter
EP0481461B1 (en) Function expansion unit capable of supplying power to computer
US5545935A (en) Rechargeable system with separate battery circuits in a common module
EP1333357B1 (en) Electronic system
US7057309B2 (en) Electrical apparatus, computer, power switching unit, and power switching method
US5148042A (en) Small electronic device capable of switching batteries by releasing a battery locking mechanism
US5218607A (en) Computer having a resume function and operable on an internal power source
US5239495A (en) Power supply control system for a portable computer
US6274949B1 (en) Back-up power accessory for a computer
JPH08505039A (en) Power supply system for plug-in modules
EP0404061A2 (en) Computer having a resume function and operable on an internal power source
US20060290321A1 (en) System and method for supplying power to a device during battery replacement
JPH03164818A (en) Portable data processor
US20070007824A1 (en) DC uninterruptible power supply and computer device using the same
EP0426271B1 (en) Portable semiconductor storage device
EP0437129A2 (en) Card type semiconductor device
US20030051178A1 (en) Mechanism for wireless modem power control
EP0484757A2 (en) Method and apparatus for controlling power supply
KR20110048702A (en) Battery pack of notebook computer
JP2002186059A (en) Wireless remote controlled device
KR200164605Y1 (en) Portable electronic device
JP2534526B2 (en) Portable electronic calculator