JP5789480B2 - Electronic cash register - Google Patents

Electronic cash register Download PDF

Info

Publication number
JP5789480B2
JP5789480B2 JP2011235218A JP2011235218A JP5789480B2 JP 5789480 B2 JP5789480 B2 JP 5789480B2 JP 2011235218 A JP2011235218 A JP 2011235218A JP 2011235218 A JP2011235218 A JP 2011235218A JP 5789480 B2 JP5789480 B2 JP 5789480B2
Authority
JP
Japan
Prior art keywords
battery voltage
time
voltage
battery
measurement
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.)
Active
Application number
JP2011235218A
Other languages
Japanese (ja)
Other versions
JP2013092936A (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.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP2011235218A priority Critical patent/JP5789480B2/en
Publication of JP2013092936A publication Critical patent/JP2013092936A/en
Application granted granted Critical
Publication of JP5789480B2 publication Critical patent/JP5789480B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Cash Registers Or Receiving Machines (AREA)

Description

この発明は、電池駆動される電子キャッシュレジスタの稼働可能時間の予測を行う技術に関する。   The present invention relates to a technique for predicting an operable time of an electronic cash register driven by a battery.

露天商など、バッテリー駆動される電子キャッシュレジスタを必要とするユーザーがある。バッテリー駆動される電子キャッシュレジスタは、一般的にバッテリーで動作中にバッテリー電圧値を測定し、電池電圧値または電池電圧値に相当する情報を表示する。バッテリーの電圧が電子キャッシュレジスタを駆動可能な電圧値を下回ると、電子キャッシュレジスタが動作し、取引処理ができなくなる。そのような動作停止に至るまでの電圧値の余裕をユーザーに知らせ、まだ余裕のあるうちにバッテリーを充電したりAC駆動に切換えたりする対応を促すために、電池電圧値に相当する情報の表示が必要である。
電圧値に相当する情報とは、例えば機器の電池電圧が取りうる範囲を複数の範囲にレベル分けし、現在の電池電圧値がどのレベルに属しているかを表示するといったものである。これは、電池電圧値を丸めたものであり、本質的には電池電圧値に相当する情報である。
Some users, such as street vendors, require battery-powered electronic cash registers. A battery-driven electronic cash register generally measures a battery voltage value during operation with a battery and displays a battery voltage value or information corresponding to the battery voltage value. When the voltage of the battery falls below a voltage value that can drive the electronic cash register, the electronic cash register operates and transaction processing cannot be performed. Display of information corresponding to the battery voltage value to inform the user of the margin of the voltage value until such operation stop and prompt the user to charge the battery or switch to AC drive while there is still a margin is necessary.
The information corresponding to the voltage value is, for example, dividing the range of the battery voltage of the device into a plurality of ranges and displaying which level the current battery voltage value belongs to. This is a rounded battery voltage value and is essentially information corresponding to the battery voltage value.

バッテリー駆動される機器の警告に関する技術として、通信、待機の頻度を監視したデータを記憶し、バッテリー残量の算出に用いて連続待機、連続通話時間を各々得るものが提案されている(例えば、特許文献1参照)。特許文献1において、制御部は、一定時間の間における通信中のハンドオーバの発生頻度Fcと待ち受け中のセルリセレクションの発生頻度Fiとを監視する(ステップS5)。そして、記憶部のテーブルから発生頻度Fc及びFiにそれぞれ対応するモビリティパラメータα及びβを得て(ステップS6)、モビリティパラメータα及びβを用いて端末のバッテリー残量を連続待ち受け可能時間及び連続通話可能時間にそれぞれ変換する(ステップS7)。   As a technology related to warning of a battery-powered device, data that monitors the frequency of communication and standby is stored, and used to calculate the remaining battery level to obtain continuous standby and continuous talk time, respectively (for example, Patent Document 1). In Patent Document 1, the control unit monitors the occurrence frequency Fc of handover during communication and the occurrence frequency Fi of celery selection during standby for a certain time (step S5). Then, the mobility parameters α and β respectively corresponding to the occurrence frequencies Fc and Fi are obtained from the table of the storage unit (step S6), and the remaining battery level of the terminal and the continuous call are obtained using the mobility parameters α and β. Each is converted into possible time (step S7).

特開2007−267067号公報JP 2007-267067 A

しかし、上述のような電圧値の測定と表示は、電池電圧を測定した瞬間の電池の状態を示しているに過ぎず、機器があとどれ程の期間使用できるかを直接的に示すものではない。何故なら、機器の稼働可能時間は、機器の使用状況や電池の劣化状態によって変化するからである。即ち、バッテリーの電圧降下はバッテリーの劣化状態や電子キャッシュレジスタの使用状態に依存する。例えば、取引操作などで電子キャッシュレジスタが動いている時間が多ければ電圧降下が早い。ところが、電子キャッシュレジスタを、使用していなければ電圧降下は遅い。よって、その時の電圧状態だけでは残り時間を見極めることができない。   However, the measurement and display of the voltage values as described above merely indicate the state of the battery at the moment when the battery voltage is measured, and do not directly indicate how long the device can be used. . This is because the device operable time varies depending on the use state of the device and the deterioration state of the battery. That is, the battery voltage drop depends on the deterioration state of the battery and the usage state of the electronic cash register. For example, the voltage drop is faster if the electronic cash register is operating for a long time due to a transaction operation or the like. However, if the electronic cash register is not used, the voltage drop is slow. Therefore, the remaining time cannot be determined only by the voltage state at that time.

しかし、使用者が電池残量表示に求めている情報は、電池の状態ではなく、使用中の機器があとどれほどの期間使用できるかに関するものである。種々の電子機器の中でも電子キャッシュレジスタは金銭取引に直接関わる処理を行うものである。機器があとどれほどの期間稼働可能かを精度よく予測できるものが望まれている。   However, the information that the user wants to display the remaining battery capacity is not about the state of the battery, but about how long the device in use can be used. Among various electronic devices, an electronic cash register performs processing directly related to money transactions. It is desirable to be able to accurately predict how long the equipment will be operational for.

この発明は、以上のような事情を考慮してなされたものであって、電池電圧の推移に影響を与える機器の使用状況や電池の劣化状態を考慮して、機器があとどれほどの期間稼働可能かを精度よく予測できる電子キャッシュレジスタを提供するものである。   The present invention has been made in consideration of the above-mentioned circumstances, and considering how long the device can be operated in consideration of the usage status of the device that affects the transition of the battery voltage and the deterioration state of the battery. It is an object of the present invention to provide an electronic cash register capable of accurately predicting such a situation.

この発明は、機器を駆動するための電池と、前記電池の電圧を測定する測定部と、測定が行われた日時を提供する計時部と、前記電圧および前記日時に係るデータを格納する記憶部と、反復して電池電圧の測定を前記測定部に行わせる処理、それぞれの測定に係る日時を前記計時部から取得する処理および測定された各電池電圧と先後の測定の間の電圧の変化とを測定に係る日時と関連付けて電池電圧ログとして前記記憶部に格納する処理、格納された電池電圧ログに基づいて現時点から後の一連の時刻における電池電圧を予測する処理、および、予測された電池電圧が予め定められた閾値に降下するまでを稼働可能時間として算出する処理を行う制御部と、前記稼働可能時間に係る表示を行う表示部とを備え、前記制御部は、測定部に現時点の電池電圧の測定を行わせ、前記計時部から測定の日時を取得し、各時刻の電池電圧を予測するにあたって各時刻から所定範囲内の時刻であって以前の日に測定が行われた電池電圧ログに基づいて予測することを特徴とする電子キャッシュレジスタを提供する。   The present invention relates to a battery for driving a device, a measuring unit that measures the voltage of the battery, a time measuring unit that provides the date and time when the measurement was performed, and a storage unit that stores data related to the voltage and the date and time A process for repeatedly measuring the battery voltage in the measurement unit, a process for obtaining the date and time related to each measurement from the time measuring unit, and a change in voltage between each measured battery voltage and the previous measurement. Is stored in the storage unit as a battery voltage log in association with the date and time related to measurement, a process for predicting battery voltage at a series of times after the current time based on the stored battery voltage log, and a predicted battery A control unit that performs a process of calculating as the operable time until the voltage drops to a predetermined threshold, and a display unit that performs a display relating to the operable time, and the control unit presents a current value to the measuring unit. Battery voltage is measured, the date and time of measurement is obtained from the timekeeping unit, and the battery voltage at each time is within a predetermined range for predicting the battery voltage at each time, and the measurement was performed on the previous day Provided is an electronic cash register characterized by making a prediction based on a voltage log.

この発明の電子キャッシュレジスタにおいて、制御部は、反復して電池電圧の測定を前記測定部に行わせる処理、それぞれの測定に係る日時を前記計時部から取得する処理および測定された各電池電圧と先後の測定の間の電圧の変化とを測定に係る日時と関連付けて電池電圧ログとして前記記憶部に格納する処理、格納された電池電圧ログに基づいて現時点から後の一連の時刻の電池電圧を予測する処理、および、予測された電池電圧が予め定められた閾値に降下するまでを稼働可能時間として算出する処理を行い、測定部に現時点の電池電圧の測定を行わせ、前記計時部から測定の日時を取得し、各時刻の電池電圧を予測するにあたって各時刻から所定範囲内の時刻であって以前の日に測定が行われた電池電圧ログに基づいて予測するので、電池電圧の推移に影響を与える機器の使用状況や電池の劣化状態を反映した電池電圧ログのうち、一日のうちほぼ同じ時刻に測定された電池電圧ログに基づいて、機器があとどれほどの期間稼働可能かを精度よく予測することができる。稼働可能な期間を表示させることによって、ユーザーにバッテリーの充電が必要になるタイミングを精度よく予測して知らせることができる。特に、露天商など、AC電源が確保できず、AC駆動や電池の充電ができない環境で電子キャッシュレジスタを使用するユーザーに対して、予備のバッテリーへの交換時期や閉店のタイミングを知らせることができる。   In the electronic cash register of the present invention, the control unit repeatedly performs processing for causing the measurement unit to measure the battery voltage, processing for obtaining the date and time related to each measurement from the time measuring unit, and each measured battery voltage The process of associating the change in voltage between the previous and subsequent measurements with the date and time related to the measurement and storing it in the storage unit as a battery voltage log, and the battery voltage at a series of times after the current time based on the stored battery voltage log Performs the process of predicting and calculating the operation time until the predicted battery voltage drops to a predetermined threshold, causing the measuring unit to measure the current battery voltage, and measuring from the time measuring unit When predicting the battery voltage at each time, the prediction is based on the battery voltage log that is within a predetermined range from each time and measured on the previous day. Based on the battery voltage log measured at approximately the same time of the day out of the battery voltage log that reflects the usage status of the device that affects the battery voltage transition and the battery deterioration state, how long the device will remain It is possible to accurately predict whether it can be operated. By displaying the operable period, it is possible to accurately predict and inform the user when the battery needs to be charged. In particular, it is possible to inform the user who uses the electronic cash register in an environment where AC power cannot be secured and AC driving or charging of the battery cannot be ensured, such as a street vendor, when it is necessary to replace the spare battery or close the store.

この発明において、電池は、充電可能なものでも使い切った後に交換するものでもよく、材料、形状は問わない。
測定部は、電池が機器を駆動しているときに電池の電圧を測定するものである。後述する実施形態においては、電池の端子電圧をA/D変換器で変換して制御部に読み取らせる回路が測定部に相当する。
計時部は、現在の日時を提供するものである。その具体的な態様は、例えば、リアルタイムクロック回路である。
In the present invention, the battery may be rechargeable or replaced after it is used up, and the material and shape are not limited.
The measurement unit measures the voltage of the battery when the battery is driving the device. In an embodiment described later, a circuit that converts a terminal voltage of a battery by an A / D converter and causes a control unit to read the voltage corresponds to the measurement unit.
The timekeeping section provides the current date and time. A specific example is a real-time clock circuit, for example.

記憶部は、データおよび変数を読み書き可能に格納するものである。その具体的な態様は、例えば、RAM、フラッシュメモリーなどの半導体メモリー、あるいは、ハードディスク装置などの記憶装置である。後述する実施形態において、記憶部は、不揮発性メモリーに相当する。
制御部は、稼働可能電圧の予測処理を行うものである。また、電子キャッシュレジスタとしての金銭計算処理を行う。その具体的な態様は、例えば、CPUやマイクロコンピュータである。
また、表示部は、稼働可能電圧に係る表示を行うものである。その具体的な態様は、例えば、液晶表示装置やLED表示装置である。表示部は、金銭計算の結果を表示してもよい。
The storage unit stores data and variables in a readable / writable manner. Specific examples thereof include a semiconductor memory such as a RAM and a flash memory, or a storage device such as a hard disk device. In the embodiments described later, the storage unit corresponds to a nonvolatile memory.
A control part performs the prediction process of an operable voltage. In addition, money calculation processing as an electronic cash register is performed. Specific examples thereof include a CPU and a microcomputer.
The display unit performs display related to the operable voltage. Specific examples thereof include a liquid crystal display device and an LED display device. The display unit may display the result of the monetary calculation.

この発明の電子キャッシュレジスタの電気的な構成例を示すブロック図である。It is a block diagram which shows the electrical structural example of the electronic cash register of this invention. この発明に係る電池電圧の測定に関する第1の態様を示すグラフである。It is a graph which shows the 1st aspect regarding the measurement of the battery voltage which concerns on this invention. 図2の電池電圧測定データの例を示す説明図である。It is explanatory drawing which shows the example of the battery voltage measurement data of FIG. この発明に係る電池電圧の測定に関する第2の態様を示すグラフである。It is a graph which shows the 2nd aspect regarding the measurement of the battery voltage which concerns on this invention. 図4の電池電圧測定データの例を示す説明図である。It is explanatory drawing which shows the example of the battery voltage measurement data of FIG. この発明に係る電池電圧ログ情報テーブルの一例を示す説明図である。It is explanatory drawing which shows an example of the battery voltage log information table which concerns on this invention. この発明に係る平均電圧降下量テーブルの一例を示す説明図である。It is explanatory drawing which shows an example of the average voltage drop amount table which concerns on this invention. この実施形態に係る付加条件を説明するためのグラフである。It is a graph for demonstrating the additional conditions which concern on this embodiment. この発明に係る電池電圧の予測の一例を示す説明図である。It is explanatory drawing which shows an example of the prediction of the battery voltage which concerns on this invention. この発明に係る制御部が実行する処理の手順を示す第1のフローチャートである。各時間ブロックの始期と終期に電池電圧を測定し電池電圧ログ情報テーブルを生成する処理である。It is a 1st flowchart which shows the procedure of the process which the control part which concerns on this invention performs. In this process, the battery voltage is measured at the beginning and end of each time block to generate a battery voltage log information table. この発明に係る制御部が実行する処理の手順を示す第2のフローチャートである。各時間ブロックの期間より短い間隔で電池電圧を繰り返し測定し電池電圧ログ情報テーブルを生成する処理である。It is a 2nd flowchart which shows the procedure of the process which the control part which concerns on this invention performs. In this process, the battery voltage is repeatedly measured at intervals shorter than the period of each time block to generate a battery voltage log information table. この発明に係る制御部が実行する処理の手順を示す第3のフローチャートである。平均電圧降下量テーブルの生成に関する処理である。It is a 3rd flowchart which shows the procedure of the process which the control part which concerns on this invention performs. This is processing related to generation of an average voltage drop amount table. この発明に係る制御部が実行する処理の手順を示す第4のフローチャートである。平均電圧降下量テーブルの生成に関する処理である。It is a 4th flowchart which shows the procedure of the process which the control part which concerns on this invention performs. This is processing related to generation of an average voltage drop amount table. この発明に係る制御部が実行する処理の手順を示す第5のフローチャートである。稼働可能時間の予測に関する処理である。It is a 5th flowchart which shows the procedure of the process which the control part which concerns on this invention performs. This is a process related to the prediction of the operable time. この発明に係る制御部が実行する処理の手順を示す第6のフローチャートである。稼働可能時間の予測に関する処理である。It is a 6th flowchart which shows the procedure of the process which the control part which concerns on this invention performs. This is a process related to the prediction of the operable time. この発明に係る制御部が実行する処理の手順を示す第7のフローチャートである。第1の付加条件に係る処理である。It is a 7th flowchart which shows the procedure of the process which the control part which concerns on this invention performs. This is processing related to the first additional condition. この発明に係る制御部が実行する処理の手順を示す第8のフローチャートである。第2の付加条件に係る処理である。It is an 8th flowchart which shows the procedure of the process which the control part which concerns on this invention performs. This is processing related to the second additional condition.

以下、この発明の好ましい態様について説明する。
前記計時部は、測定が行われた日時と曜日とを提供し、前記制御部は、電池電圧の現時点からの推移を予測するとき、測定に係る時刻が現時点に近くかつ測定に係る曜日が予測に係る曜日と同じ電池電圧ログに基づいて予測するようにしてもよい。このようにすれば、例えば、週末の売り上げが多いといったように、週の曜日ごとに使用状況に一定の傾向がある場合に、その傾向を考慮した予測が可能になる。
Hereinafter, preferred embodiments of the present invention will be described.
The time measuring unit provides the date and day of the week when the measurement was performed, and when the control unit predicts the transition of the battery voltage from the current time, the time related to the measurement is close to the current time and the day of the week related to the measurement is predicted. You may make it estimate based on the same battery voltage log as the day of the week concerning. In this way, for example, when there is a certain tendency in the usage situation for each day of the week, such as a lot of sales on the weekend, it is possible to make a prediction in consideration of the tendency.

また、前記制御部は、電池電圧の現時点からの推移を予測するとき、測定された電池電圧を予め定めた電圧区分に分割し、測定に係る時刻が現時点に近くかつ前記電圧区分が現時点の電池電圧の区分と同じ電池電圧ログに基づいて予測するようにしてもよい。電池の通常の特性上、電圧降下量が満充電状態、電荷不足状態、および両者の間の状態で異なるところ、このようにすれば、現在の電池の状態に近い電池電圧ログに基づいて電圧降下量を精度よく予測することができる。   In addition, when the control unit predicts the transition of the battery voltage from the current time, the control unit divides the measured battery voltage into predetermined voltage classifications, the time related to the measurement is close to the current time, and the voltage classification is the current battery. You may make it estimate based on the same battery voltage log as a classification of a voltage. Due to the normal characteristics of the battery, the amount of voltage drop differs between the fully charged state, the insufficient charge state, and the state between them. In this way, the voltage drop is based on the battery voltage log close to the current battery state. The amount can be accurately predicted.

さらにまた、前記制御部は、一日を予め定めた複数の期間に分割し、電池電圧ログの測定に係る時刻と現時点とがそれぞれどの期間に属するかを判断し、測定に係る時刻と現時点とが同じ期間に属するときに両者が所定範囲内にあると判断してもよい。このようにすれば、測定に係る時刻と現時点とが近いか否かを明確な基準で判断することができる。   Further, the control unit divides the day into a plurality of predetermined periods, determines which period each of the time and current time related to the measurement of the battery voltage log belongs to, and determines the time and current time related to the measurement. May be determined to be within a predetermined range when they belong to the same period. In this way, it is possible to determine whether or not the time related to the measurement is close to the current time based on a clear standard.

前記制御部は、一日を予め定めた間隔に分割した時間ブロックの間隔で電池電圧の測定を前記測定部に行わせ、その時間ブロックの始期の電池電圧および始期と終期の電池電圧の変化を電池電圧ログとして格納してもよい。このようにすれば、時間ブロックの間隔で電池電圧を測定して電池電圧ログを生成することができる。   The control unit causes the measurement unit to measure the battery voltage at time block intervals obtained by dividing the day into predetermined intervals, and changes the initial battery voltage and the change in the initial and final battery voltages of the time block. You may store as a battery voltage log. In this way, the battery voltage log can be generated by measuring the battery voltage at time block intervals.

あるいは、前記制御部は、一日を予め定めた間隔に分割した時間ブロックの間隔より短い間隔で反復して電池電圧の測定を前記測定部に行わせ、その時間ブロックにおいて測定した電池電圧に最小二乗法を適用してその時間ブロックの始期と終期における電池電圧を算出し、始期の電池電圧および始期と終期の電池電圧の変化を電池電圧ログとして格納してもよい。このようにすれば、時間ブロックより短い間隔で電池電圧を測定してその時間ブロックにおける電圧降下量を精度よく求めることができ、求めた電圧降下量を電池電圧ログとして格納することができる。   Alternatively, the control unit repeatedly causes the measurement unit to measure the battery voltage at intervals shorter than the time block interval obtained by dividing the day into predetermined intervals, and minimizes the battery voltage measured in the time block. The battery voltage at the start and end of the time block may be calculated by applying the square method, and the battery voltage at the start and the change in the battery voltage at the start and end may be stored as a battery voltage log. In this way, the battery voltage can be measured at intervals shorter than the time block, and the voltage drop amount in the time block can be obtained with high accuracy, and the obtained voltage drop amount can be stored as a battery voltage log.

さらに、複数の期間の分割と時間ブロックの分割とが互いに一致してもよい。
この発明の好ましい態様は、ここで示した複数の態様のうち何れかを組み合わせたものも含む。
以下、図面を用いてこの発明をさらに詳述する。なお、以下の説明は、すべての点で例示であって、この発明を限定するものと解されるべきではない。
Further, the division of the plurality of periods and the division of the time block may coincide with each other.
Preferred embodiments of the present invention include combinations of any of the plurality of embodiments shown here.
Hereinafter, the present invention will be described in more detail with reference to the drawings. In addition, the following description is an illustration in all the points, Comprising: It should not be interpreted as limiting this invention.

≪電子キャッシュレジスタの構成≫
図1は、この発明の電子キャッシュレジスタの電気的な構成例を示すブロック図である。図1に示すように、この発明の電子キャッシュレジスタ11は、制御部21、RAM23、表示部31、ROM33、RTC35、不揮発性メモリー37、電池41およびA/D変換器43を含んで構成される。図示していないが、金額やユーザーからの指示を入力するキーボード等の入力部も構成に含まれる。
制御部21は、以下に述べる稼働可能時間の計算などの処理を行うプロセッサである。具体的にはCPUあるいはマイクロコンピュータが用いられる。制御部21は、電子キャッシュレジスタの主たる機能である金銭処理を行うとともに、
≪Configuration of electronic cash register≫
FIG. 1 is a block diagram showing an example of the electrical configuration of the electronic cash register of the present invention. As shown in FIG. 1, the electronic cash register 11 of the present invention includes a control unit 21, a RAM 23, a display unit 31, a ROM 33, an RTC 35, a nonvolatile memory 37, a battery 41, and an A / D converter 43. . Although not shown, the configuration includes an input unit such as a keyboard for inputting an amount of money and an instruction from the user.
The control unit 21 is a processor that performs processing such as calculation of an operable time described below. Specifically, a CPU or a microcomputer is used. The control unit 21 performs money processing, which is the main function of the electronic cash register,

RAM23は、制御部21がデータを処理するためのワークエリアを提供すると共に、平均電圧降下量テーブル53や各種の一時変数を格納するメモリーで、例えばSRAMやDRAMなどの半導体メモリー素子が用いられる。前記一時変数には、例えば、電池電圧測定データVB[]の配列変数、電池電圧ログ参照アドレスポインタL、電池電圧測定データインデックスカウンタDi、時間ブロック中の降下電圧Vdが含まれる。
表示部31は、制御部21の計算により得られた稼働可能時間を表示するもので、例えば、液晶表示装置あるいは有機ELなどが用いられる。表示部31は、電子キャッシュレジスタ11の金銭計算の結果が表示されてもよいが、図示しない別の表示装置に金銭計算の結果を表示する構成であってもよい。
ROM33は、制御部21が実行すべき処理プログラムを予め格納するもので、例えば、フラッシュメモリーが用いられる。
The RAM 23 is a memory that provides a work area for the control unit 21 to process data, and stores an average voltage drop amount table 53 and various temporary variables. For example, a semiconductor memory element such as an SRAM or a DRAM is used. The temporary variables include, for example, an array variable of the battery voltage measurement data VB [], a battery voltage log reference address pointer L, a battery voltage measurement data index counter Di, and a voltage drop Vd during the time block.
The display unit 31 displays the operable time obtained by the calculation of the control unit 21, and for example, a liquid crystal display device or an organic EL is used. The display unit 31 may display the result of the monetary calculation in the electronic cash register 11, but may be configured to display the result of the monetary calculation on another display device (not shown).
The ROM 33 stores a processing program to be executed by the control unit 21 in advance, and for example, a flash memory is used.

RTC35は、現在の日時および時刻を提供するリアルタイムクロックである。
不揮発性メモリー37は、データを読み書き可能に格納し、電子キャッシュレジスタ11の電源のオンまたはオフにかかわらず格納されたデータを保持するメモリーであって、例えばフラッシュメモリーが用いられる。不揮発性メモリー37は、電池電圧ログ情報テーブル51を格納する。さらに、電池電圧ログ情報テーブル51の参照に用いる電池電圧ログ先頭アドレスポインタLtおよび電池電圧ログ末尾アドレスポインタLIを格納する。
電池41は、電子キャッシュレジスタ11を駆動する電源であって、具体的には例えばリチウムイオン電池が用いられる。稼働可能時間は、電池41が現時点からどれだけの期間、電子キャッシュレジスタ11を駆動できるかを予測したものである。
A/D変換器43は、制御部21が電池41の電池電圧を読み取る際に用いられる回路である。
The RTC 35 is a real-time clock that provides the current date and time.
The non-volatile memory 37 is a memory that stores data in a readable / writable manner and holds the stored data regardless of whether the electronic cash register 11 is turned on or off. For example, a flash memory is used. The nonvolatile memory 37 stores a battery voltage log information table 51. Furthermore, the battery voltage log head address pointer Lt and the battery voltage log tail address pointer LI used for referring to the battery voltage log information table 51 are stored.
The battery 41 is a power source for driving the electronic cash register 11, and specifically, for example, a lithium ion battery is used. The operable time is an estimate of how long the battery 41 can drive the electronic cash register 11 from the present time.
The A / D converter 43 is a circuit used when the control unit 21 reads the battery voltage of the battery 41.

≪電池電圧の測定−時間ブロックごとの基点電圧と電圧降下量の測定≫
この発明による電子キャッシュレジスタは、電池によって駆動される。ただし、AC電源によって駆動されることがあってもよい。稼働可能時間は、電子キャッシュレジスタ11が電池41によって駆動される場合に、あとどれだけの期間駆動できるかを示すものである。
≪Measurement of battery voltage-Measurement of base voltage and voltage drop for each time block≫
The electronic cash register according to the present invention is driven by a battery. However, it may be driven by an AC power source. The operable time indicates how long the electronic cash register 11 can be driven when the battery 41 is driven.

電子キャッシュレジスタ11が電池41によって駆動されるとき、制御部21は、電池41の電池電圧の推移を電池電圧ログとして測定する。そして、記録不揮発性メモリー37の電池電圧ログ情報テーブル51に格納しておく。格納された電池電圧ログを用いて稼働可能時間を精度よく計算するためである。電池電圧ログは、予め定められた時間ブロックの単位で記録される。一例では、時間ブロックは1時間の単位である。しかし、この発明はそれに限定されるものでなく、時間ブロックの単位は1時間より短くてもより長くてもよい。
この実施形態において、制御部21が各時間ブロックの始期と終期に電池電圧を測定する態様と、各時間ブロックの期間mより短い間隔で電池電圧を繰り返し測定してその時間ブロックにおける電池電圧の推移をより忠実にフィッティングする態様についてそれぞれ説明する。
When the electronic cash register 11 is driven by the battery 41, the control unit 21 measures the battery voltage transition of the battery 41 as a battery voltage log. Then, it is stored in the battery voltage log information table 51 of the recording nonvolatile memory 37. This is because the operable time is accurately calculated using the stored battery voltage log. The battery voltage log is recorded in units of a predetermined time block. In one example, a time block is a unit of one hour. However, the present invention is not limited to this, and the unit of the time block may be shorter or longer than one hour.
In this embodiment, the control unit 21 measures the battery voltage at the beginning and the end of each time block, and changes in the battery voltage in the time block by repeatedly measuring the battery voltage at intervals shorter than the period m of each time block. Each of the embodiments for more faithfully fitting will be described.

第1の態様:各時間ブロックの始期と終期に電池電圧を測定する手法
図2は、この発明に係る電池電圧の測定に関する第1の態様を示すグラフである。図2で、横軸は時間の推移を示しており、tbはある時間ブロックの始期の時刻であり、mはその時間ブロックの始期から終期までの期間である。よって、(tb+m)は、その時間ブロックの終期の時刻である。1日のうちで基準となる時刻t0が予め定められている。一例では基準時刻t0は、1日の始期である午前零時である。時間ブロックの始期は、基準時刻t0に対してmの整数倍だけ前後した時刻である。即ち、
b=t0+m×n (ただし、nは整数)
の関係が成立する。
First Mode: Method for Measuring Battery Voltage at the Start and End of Each Time Block FIG. 2 is a graph showing a first mode relating to the measurement of battery voltage according to the present invention. In FIG. 2, the horizontal axis indicates the transition of time, t b is the start time of a time block, and m is the period from the start to the end of the time block. Therefore, (t b + m) is the end time of the time block. A reference time t 0 within one day is determined in advance. In one example, the reference time t 0 is midnight, the beginning of the day. The start of the time block is a time around the base time t 0 by an integer multiple of m. That is,
t b = t 0 + m × n (where n is an integer)
The relationship is established.

図2の縦軸は、電池41の電池電圧である。時刻tbにおける電池電圧Vbがその時間ブロックの基点電圧である。基点電圧Vbと時刻(tb+m)における電池電圧Vb+mとの差が電圧降下量Vdである。Vd=Vb−Vb+mの関係が成り立つ。
制御部21は、時刻tbにおいて電池41の電池電圧を測定し、RTC35から取得した時刻tbおよび測定された電池電圧Vbの値をRAM23に確保された配列変数、電池電圧測定データVB[]の領域のうちVB[0]に格納する。即ち、
VB.t[0]=tb
VB.V[0]=Vb
The vertical axis in FIG. 2 is the battery voltage of the battery 41. The battery voltage V b at time t b is the base voltage of the time block. A difference between the base voltage V b and the battery voltage V b + m at time (t b + m) is a voltage drop amount V d . The relationship V d = V b −V b + m is established.
The control unit 21 measures the battery voltage of the battery 41 at time t b , and sets the time t b acquired from the RTC 35 and the value of the measured battery voltage V b in the array variable, battery voltage measurement data VB [ ] Is stored in VB [0]. That is,
VB. t [0] = t b
VB. V [0] = V b

さらに制御部21は、その時間ブロックの周期の時刻tb+mにおいて電池41の電池電圧Vb+mを測定し、時刻tb+mおよび電池電圧Vb+mの値をRAM23に確保された電池電圧測定データVB[1]のメモリー領域に格納する。即ち、
VB.t[1]=tb+m
VB.V[1]=Vb+m
Further, the control unit 21 measures the battery voltage V b + m battery 41 at time t b + m of the period of the time blocks, the value of the time t b + m and the battery voltage V b + m reserved RAM23 battery The voltage measurement data VB [1] is stored in the memory area. That is,
VB. t [1] = t b + m
VB. V [1] = V b + m

図3は、図2の電池電圧測定データの例を示す説明図である。図3に示すように、時刻tb=12:00:00における電池電圧Vb=7.580(V)、時刻tb+m=13:00:00における電池電圧Vb+m=7.396(V)である。よって、電池電圧測定データは、
VB.t[0]=12:00:00
VB.V[0]=7.580(V)
VB.t[1]=13:00:00
VB.V[1]=7.396(V)
である。電圧降下量Vdは、
d=7.580−7.396=0.184(V)
である。
FIG. 3 is an explanatory diagram showing an example of the battery voltage measurement data of FIG. As shown in FIG. 3, the time t b = 12: 00: battery voltage at 00 V b = 7.580 (V) , the time t b + m = 13: 00 : 00 the battery voltage at V b + m = 7.396 (V). Therefore, the battery voltage measurement data is
VB. t [0] = 12: 00
VB. V [0] = 7.580 (V)
VB. t [1] = 13: 00
VB. V [1] = 7.396 (V)
It is. The voltage drop V d is
V d = 7.580-7.396 = 0.184 (V)
It is.

第2の態様:各時間ブロックの期間mより短い間隔で電池電圧を繰り返し測定する手法
図4は、この発明に係る電池電圧の測定に関する第2の態様を示すグラフである。図2と同様に図4の横軸は時間の推移を示しており、tbはある時間ブロックの始期の時刻、(tb+m)は、その時間ブロックの終期の時刻である。縦軸は、電池電圧の大きさを示している。制御部21は、時間ブロックの期間mよりも短い間隔で電池電圧を繰り返し測定し、各時刻とその時刻における電池電圧の値をRAM23に確保された電池電圧測定データVB[ ]のメモリー領域に格納する。
Second Aspect: Technique for Repetitively Measuring Battery Voltage at Intervals Shorter than the Period m of Each Time Block FIG. 4 is a graph showing a second aspect relating to the measurement of the battery voltage according to the present invention. As in FIG. 2, the horizontal axis of FIG. 4 shows the transition of time, t b is the start time of a time block, and (t b + m) is the end time of the time block. The vertical axis represents the magnitude of the battery voltage. The control unit 21 repeatedly measures the battery voltage at intervals shorter than the time block period m, and stores the time and the value of the battery voltage at that time in the memory area of the battery voltage measurement data VB [] secured in the RAM 23. To do.

図5は、図4の電池電圧測定データの例を示す説明図である。図5に示すように、制御部21は、1時間の時間ブロックの間に電池電圧の測定を120回繰り返す。即ち、30秒毎に電池電圧の測定を行う。その結果、図5の電池電圧測定データは、
VB.t[0]=12:00:00
VB.V[0]=7.580(V)
VB.t[1]=12:00:30
VB.V[1]=7.579(V)
VB.t[2]=12:01:00
VB.V[2]=7.577(V)
: :
VB.t[120]=13:00:00
VB.V[120]=7.396(V)
である。
FIG. 5 is an explanatory diagram showing an example of the battery voltage measurement data of FIG. As shown in FIG. 5, the control unit 21 repeats the battery voltage measurement 120 times during a one-hour time block. That is, the battery voltage is measured every 30 seconds. As a result, the battery voltage measurement data in FIG.
VB. t [0] = 12: 00
VB. V [0] = 7.580 (V)
VB. t [1] = 12: 00: 30
VB. V [1] = 7.579 (V)
VB. t [2] = 12: 00: 01: 00
VB. V [2] = 7.577 (V)
::
VB. t [120] = 13: 00: 00: 00
VB. V [120] = 7.396 (V)
It is.

そして、制御部21は、電池電圧測定データに基づく回帰直線を求め、その時間ブロックにおける平均的電圧降下量と基点電圧とを求める。基点電圧Vbは、時刻tbにおける前記回帰直線の電圧である。電圧降下量Vdは、前記基点電圧Vbと時刻(tb+m)における前記回帰直線の電圧Vb+mとの差である。Vd=Vb−Vb+mの関係が成り立つ。 And the control part 21 calculates | requires the regression line based on battery voltage measurement data, and calculates | requires the average voltage drop amount and base voltage in the time block. Base voltage V b is the voltage of the regression line at the time t b. The voltage drop amount V d is a difference between the base voltage V b and the voltage V b + m of the regression line at time (t b + m). The relationship V d = V b −V b + m is established.

≪電池電圧ログ情報テーブル−時間ブロックごとの履歴の格納≫
制御部21は、時間ブロックが経過する毎に電池41の電池電圧ログを取得し、記録不揮発性メモリー37の電池電圧ログ情報テーブル51に格納する。電池電圧ログは、時間ブロックごとの始期の時刻、日付と曜日、基点電圧Vbおよび電圧降下量Vdからなる。
図6は、この発明に係る電池電圧ログ情報テーブルの一例を示す説明図である。図6に示すように、制御部21は、新たに得られた電池電圧ログを電池電圧ログ情報テーブル51の末尾に追加する。追加の際、電池電圧ログ末尾アドレスポインタLIを用いる。電池電圧ログ情報テーブル51の容量一杯まで電池電圧ログが格納された後は、電池電圧ログ情報テーブル51の先頭の電池電圧ログから上書きするようにしてもよい。つまり、電池電圧ログ情報テーブル51をリングバッファとして使用し電池電圧ログを格納するのである。先頭の電池電圧ログを上書きする際に、制御部21は、電池電圧ログ先頭アドレスポインタLtを用いる。
≪Battery voltage log information table-storage of history for each time block≫
The control unit 21 acquires the battery voltage log of the battery 41 every time the time block elapses and stores it in the battery voltage log information table 51 of the recording nonvolatile memory 37. The battery voltage log is made up of the start time, date and day of the week, base point voltage V b, and voltage drop V d for each time block.
FIG. 6 is an explanatory diagram showing an example of a battery voltage log information table according to the present invention. As shown in FIG. 6, the control unit 21 adds the newly obtained battery voltage log to the end of the battery voltage log information table 51. When adding, the battery voltage log tail address pointer LI is used. After the battery voltage log is stored until the capacity of the battery voltage log information table 51 is full, the battery voltage log at the head of the battery voltage log information table 51 may be overwritten. That is, the battery voltage log information table 51 is used as a ring buffer to store the battery voltage log. When overwriting the first battery voltage log, the control unit 21 uses the battery voltage log first address pointer Lt.

≪平均電圧降下量テーブルの作成−将来の電池電圧の推移予測≫
稼働可能時間を算出する際の前処理として、制御部21は、現在の時間ブロックを基点とし、時間ブロック単位で将来の電池電圧の推移を示す平均電圧降下量テーブルを作成する。平均電圧降下量テーブルを作成する際に、制御部21は電池電圧ログ情報テーブル51を参照する。電池電圧ログ参照アドレス情報Lは、制御部21が電池電圧ログ情報テーブル51に格納された電池電圧ログを参照する際に用いるポインタである。
≪Creation of average voltage drop amount table-Future battery voltage transition prediction≫
As pre-processing when calculating the operable time, the control unit 21 creates an average voltage drop amount table indicating the transition of the future battery voltage in units of time blocks with the current time block as a base point. When creating the average voltage drop amount table, the control unit 21 refers to the battery voltage log information table 51. The battery voltage log reference address information L is a pointer used when the control unit 21 refers to the battery voltage log stored in the battery voltage log information table 51.

図7は、この発明に係る平均電圧降下量テーブルの一例を示す説明図である。図7に示す平均電圧降下量テーブルで、左欄の「相対時刻」は、現在の時刻tを基点とし、24時間が経過するまでの時間ブロック、即ち「0:00」から「23:00」までを時間ブロック単位で区切ったものである。図7の例では図6と同様に、時間ブロックの期間mは1時間である。   FIG. 7 is an explanatory diagram showing an example of an average voltage drop amount table according to the present invention. In the average voltage drop amount table shown in FIG. 7, “Relative time” in the left column is a time block from the current time t to 24 hours, that is, from “0:00” to “23:00”. Is divided in units of time blocks. In the example of FIG. 7, as in FIG. 6, the time block period m is 1 hour.

図7で右欄の平均電圧降下量は、現在の電池電圧を基点(ゼロ)として、各時間ブロックの始期から終期までに電池電圧がどれだけ降下するか、電圧降下量の予測値を示している。現在の時刻が時間ブロックの始期に相当する時刻であることは希である。相対時刻「0:00」については、現在の時刻が含まれる時間ブロックの終期が到来するまでの間に、現在時刻における電池電圧がどれだけ降下するかを示している。   The average voltage drop amount in the right column in FIG. 7 indicates how much the battery voltage will drop from the beginning to the end of each time block with the current battery voltage as the base point (zero), and indicates the predicted value of the voltage drop amount. Yes. It is rare that the current time is the time corresponding to the beginning of the time block. The relative time “0:00” indicates how much the battery voltage drops at the current time before the end of the time block including the current time arrives.

制御部21は、次のようにして平均電圧降下量テーブル53を作成する。まず、平均電圧降下量テーブル53の平均電圧降下量の格納領域VA.Vad[ ]に初期値を書き込む(初期化処理)。初期値は、典型的な使用状態における時間ブロック単位の電圧降下量を工場出荷前に予め測定し、その値を使用することができる。
続いて制御部21は、図7の電池電圧ログ情報テーブル51に係る時間ブロックから、現在時刻が含まれる時間ブロックを相対時刻0:00に対応させたうえで、0:00から23:00までそれぞれの相対時刻の時間ブロックに対応する電圧降下量Vdの平均値Vadを、電池電圧ログ情報テーブル51に格納された電池電圧ログに基づいて算出する。相対時刻0:00から23:00までの各時間ブロックに対応するVadは、一日のうちその時間帯における電子キャッシュレジスタ11の平均的な使用頻度を反映した電圧降下量といえる。制御部21は、算出された平均の電圧降下量Vadを、平均電圧降下量テーブル53の対応する相対時刻の格納領域VA.Vad[ ]にそれぞれ格納する。
電池電圧ログ情報テーブル51に格納された各電池電圧ログを用いて平均の電圧降下量Vadを算出するとき、平均値算出の要素としてその電池電圧ログを抽出するか否かの抽出条件として上述の時間ブロックの一致に加え、例えば以下のような条件を付加することができる。
The control unit 21 creates the average voltage drop amount table 53 as follows. First, an average voltage drop amount storage area VA. An initial value is written in V ad [] (initialization process). As the initial value, a voltage drop amount in time block units in a typical use state can be measured in advance before shipment from the factory, and the value can be used.
Subsequently, the control unit 21 associates the time block including the current time with the relative time 0:00 from the time block related to the battery voltage log information table 51 of FIG. 7, and then from 0:00 to 23:00. An average value V ad of the voltage drop amount V d corresponding to each time block of relative time is calculated based on the battery voltage log stored in the battery voltage log information table 51. V ad corresponding to each time block from relative time 0:00 to 23:00 can be said to be a voltage drop amount reflecting an average usage frequency of the electronic cash register 11 in the time zone of the day. The control unit 21 uses the calculated average voltage drop amount V ad to store the corresponding relative time storage area VA. Each is stored in V ad [].
When the average voltage drop amount V ad is calculated using each battery voltage log stored in the battery voltage log information table 51, the above-described extraction condition as to whether or not to extract the battery voltage log as an element for calculating the average value is described above. In addition to the time block matching, for example, the following conditions can be added.

第1の付加条件:曜日の付加
現在日時と同じ曜日の情報のみ参照するように条件を付加する。
ユーザーによっては、週末の売り上げが多いなど、特定の曜日で使用頻度が異なる場合がある。特定の曜日の使用頻度が高いユーザーの場合、電池電圧の降下量は曜日に依存する。同じ曜日のデータのみを抽出することによって、電圧降下量の予測精度を高めることができる。
First addition condition: addition of day of the week A condition is added so that only information on the same day of the week as the current date and time is referred to.
Some users have different usage frequencies on certain days of the week, such as a lot of sales on weekends. In the case of a user who frequently uses a specific day of the week, the amount of battery voltage drop depends on the day of the week. By extracting only the data for the same day of the week, the accuracy of predicting the voltage drop can be improved.

第2の付加条件:電池電圧範囲の付加
現在の電池電圧に近い範囲の基点電圧を有する時間ブロックのみ参照するように条件を付加する。
図8は、この実施形態に係る付加条件を説明するためのグラフである。図8に示すように、電池の通常の特性上、満充電状態、電荷不足に近い状態、および両者の間の状態では、同一の使用頻度でも異なる電圧降下量になる。電池の電圧特性ごとに電圧区間を分割し、同じ電圧区間の電圧降下量を参照することで、電池電圧の予測精度を高める。図8では、満充電状態を電圧区間A、電荷不足に近い状態を電圧区間C、両者の間の状態を電圧区間Bとして区分している。
制御部21は、以上の付加条件を単独でまたは組み合わせて適用し、あるいは付加条件なしで各時間ブロックに対応する平均の電圧降下量Vadを算出する。
Second addition condition: addition of battery voltage range A condition is added so as to refer only to a time block having a base voltage in a range close to the current battery voltage.
FIG. 8 is a graph for explaining additional conditions according to this embodiment. As shown in FIG. 8, due to the normal characteristics of the battery, the voltage drop amount varies even in the same usage frequency in the fully charged state, the state near the charge shortage, and the state between them. By dividing the voltage section for each voltage characteristic of the battery and referring to the voltage drop amount in the same voltage section, the prediction accuracy of the battery voltage is increased. In FIG. 8, the fully charged state is divided into a voltage section A, a state near a charge shortage is divided into a voltage section C, and a state between them is divided into a voltage section B.
The control unit 21 applies the above additional conditions alone or in combination, or calculates the average voltage drop amount V ad corresponding to each time block without the additional conditions.

条件の組合せが多くなる程、電池電圧の予測精度は向上するようにも考えられる。ただし、それは電池電圧ログ情報テーブル51に十分な数の各電池電圧ログが格納されており抽出条件に該当する十分な数の電池電圧ログが存することが前提である。
抽出条件に該当する電池電圧ログがない時間ブロックについては、Vadが算出されない。よって、その時間ブロックについては平均電圧降下量テーブル53へのVadの格納が行われず、その結果として初期値が用いられる。また、該当する電池電圧ログがあってもその数が少ないとき、例えば該当する電池電圧ログが1つだけの場合は予測精度が向上するとはいえない。よって、抽出の条件の組合せが多ければ予測精度が向上すると一律にいうことはできない。条件を付加するか否かは、ユーザーが設定により選択できるようにしてもよい。あるいは制御部21が、条件を組合せるかおよび/または条件を付加するかをその抽出条件に該当する電池電圧ログの数が閾値以上存するか否かに基づいて判断し変更するようにしてもよい。
It can be considered that the prediction accuracy of the battery voltage is improved as the combination of conditions increases. However, it is assumed that a sufficient number of battery voltage logs are stored in the battery voltage log information table 51, and that a sufficient number of battery voltage logs corresponding to the extraction condition exist.
V ad is not calculated for a time block for which there is no battery voltage log corresponding to the extraction condition. Therefore, V ad is not stored in the average voltage drop amount table 53 for the time block, and the initial value is used as a result. Further, even if there are corresponding battery voltage logs, if the number is small, for example, if there is only one corresponding battery voltage log, it cannot be said that the prediction accuracy is improved. Therefore, if there are many combinations of extraction conditions, it cannot be said that the prediction accuracy is improved. Whether or not the condition is added may be selectable by the user by setting. Alternatively, the control unit 21 may determine and change whether to combine conditions and / or add conditions based on whether or not the number of battery voltage logs corresponding to the extraction condition is equal to or greater than a threshold value. .

≪稼働可能時間の算出≫
以上のようにして基礎となる平均電圧降下量テーブル53が作成されたら、制御部21は、作成された平均電圧降下量テーブルを用いて次のように稼働可能時間を算出する。
制御部21は、現在の時刻tにおける電池電圧を測定する。この時刻tは、平均電圧降下量テーブル53の基点の時刻である。即ち、制御部21は、平均電圧降下量テーブル53を作成する時点で電池電圧Vtを測定するのである。
制御部21は、得られた電池電圧Vtを平均電圧降下量テーブルの相対時刻「0:00」の電池電圧予測値VA.Vb[0]に格納する。Vtは予測値でなく実測値であるが、便宜上このようにする。
≪Calculation of operating time≫
When the basic average voltage drop amount table 53 is created as described above, the control unit 21 calculates the operable time as follows using the created average voltage drop amount table.
The control unit 21 measures the battery voltage at the current time t. This time t is the time of the base point of the average voltage drop amount table 53. That is, the control unit 21 measures the battery voltage V t when the average voltage drop amount table 53 is created.
Control unit 21, battery voltage estimated value VA of the relative time "0:00" of the obtained battery voltage V t the average voltage drop amount table. Store in V b [0]. V t is a measured value rather than the predicted value, convenience to this.

続いて制御部21は、既に求められた平均電圧降下量テーブル53の相対時刻「0:00」の平均電圧降下量VA.Vad[0]を用いて相対時刻「0:00」の時間ブロックの終期、即ち、次の相対時刻の時間ブロック「1:00」の始期の電池電圧の予測値を算出する。ここで注意すべき点は、現在時刻tが相対時刻「0:00」の始期の時刻tbと通常は一致せず、始期と終期の間にあるということである。よって、既に求められている相対時刻「0:00」の平均電圧降下量VA.Vad[0]に、終期の時刻tb+mまでの残り時間の時間ブロックの全期間mに対する比率を乗じて終期までの電圧降下量とする。そして、得られた電圧降下量を現在の電池電圧Vtから減算して相対時刻「0:00」の終期における電池電圧の予測値とする。これは、相対時刻「1:00」の基点電圧の予測値といえる。制御部21は、平均電圧降下量テーブル53の相対時刻「1:00」における電池電圧予測値VA.Vb[1]として、得られた値を格納する。 Subsequently, the control unit 21 determines the average voltage drop amount VA. At the relative time “0:00” of the average voltage drop amount table 53 that has already been obtained. V ad [0] end time block relative time "0:00" using, i.e., calculates the estimated value of the battery voltage of the beginning of time block "1:00" in the following relative time. What should be noted here is that the current time t does not normally coincide with the start time t b of the relative time “0:00” and is between the start time and the end time. Therefore, the average voltage drop amount VA. Multiply V ad [0] by the ratio of the remaining time until the final time t b + m to the total time m of the time block to obtain the voltage drop until the final time. Then, by subtracting the resulting voltage drop from the current battery voltage V t and the predicted value of the battery voltage at the end of the relative time "0:00". This can be said to be a predicted value of the base voltage at the relative time “10:00”. The control unit 21 calculates the battery voltage predicted value VA. At the relative time “10:00” in the average voltage drop amount table 53. The obtained value is stored as V b [1].

算出された予測値が、電子キャッシュレジスタ11が稼働可能な電圧として予め定められた閾値電圧Vlmt以上の場合、さらに制御部21は、相対時刻「1:00」の基点電圧から相対時刻「1:00」の平均電圧降下量を減算し、相対時刻「2:00」の基点電圧の予測値を算出して格納する。算出された予測値が、Vlmt以上であれば、制御部21はさらに、相対時刻「3:00」の基点電圧の予測値を算出して格納する。以下、順次「23:00」まで基点電圧の予測値の計算を繰り返す。一方、算出された予測値がVlmtより小さいときは、予測値の計算を打ち切り、直前の相対時刻を稼働可能な残時間として出力する。最後の時間ブロック「23:00」の基点電圧の予測値がVlmt以上であれば、電池の寿命は十分であるとしてその旨を出力する。 When the calculated predicted value is equal to or higher than a threshold voltage Vlmt determined in advance as a voltage at which the electronic cash register 11 can operate, the control unit 21 further starts the relative time “1” from the base voltage at the relative time “ 10:00 ”. : 0:00 ”is subtracted from the average voltage drop amount, and the predicted value of the base voltage at the relative time“ 2:00 ”is calculated and stored. If the calculated predicted value is greater than or equal to V 1mt , the control unit 21 further calculates and stores the predicted value of the base voltage at the relative time “3:00”. Thereafter, the calculation of the predicted value of the base voltage is repeated until “23:00”. On the other hand, when the calculated predicted value is smaller than V 1mt , the calculation of the predicted value is aborted and the immediately preceding relative time is output as the remaining operable time. If the predicted value of the base voltage of the last time block “23:00” is equal to or greater than V 1mt , the fact that the battery life is sufficient is output.

図9は、この発明に係る電池電圧の予測の一例を示す説明図である。図9で、現在の時刻は13時30分、時間ブロックは1時間単位で毎時00分が始期であり、現在の電池電圧測定値は7.541V、電子キャッシュレジスタ11が稼働可能な閾値電圧Vlmtは6.5Vであるとする。 FIG. 9 is an explanatory diagram showing an example of battery voltage prediction according to the present invention. In FIG. 9, the current time is 13:30, the time block starts at 10:00 in hour units, the current battery voltage measurement is 7.541 V, and the threshold voltage V at which the electronic cash register 11 can operate It is assumed that lmt is 6.5V.

制御部21は、現在の電池電圧測定値を相対時刻「0:00」の電池電圧予測値に格納する。既に求められた平均電圧降下量テーブルによれば、相対時刻「0:00」の平均電圧降下量は0.186Vである。現在時刻を含む時間ブロックの終期は14時00分である。その終期まで、時間ブロックの期間の半分が残っているので、相対時刻「0:00」の終期までの電圧降下量は、
0.186(V)×30(分)/60(分)=0.093(V)
である。制御部21は、この電圧降下量を現在の電池電圧から減算する。
7.541−0.093=7.448(V)
そして、相対時刻「1:00」の電池電圧予測値として格納する。得られた予測値は、Vlmtの6.5V以上であるから、制御部21は、相対時刻「2:00」における電池電圧予測値をさらに計算し格納する。この計算は、相対時刻「1:00」の電池電圧予測値から相対時刻「1:00」の平均電圧降下量を減算して得られる。
7.448−0.151=7.297(V)
得られた予測値は、Vlmtの6.5V以上であるから、制御部21は、相対時刻「9:00」の電池電圧予測値に至るまで同様の計算を繰り返す。
The control unit 21 stores the current battery voltage measurement value in the predicted battery voltage value at the relative time “0:00”. According to the already obtained average voltage drop amount table, the average voltage drop amount at the relative time “0:00” is 0.186V. The end of the time block including the current time is 14:00. Until that end, half of the time block period remains, so the amount of voltage drop until the end of the relative time “0:00” is
0.186 (V) x 30 (min) / 60 (min) = 0.093 (V)
It is. The control unit 21 subtracts this voltage drop amount from the current battery voltage.
7.541−0.093 = 7.448 (V)
And it stores as a battery voltage prediction value of relative time “10:00”. Since the obtained predicted value is 6.5 V or more of V lmt , the control unit 21 further calculates and stores the predicted battery voltage value at the relative time “2:00”. This calculation is obtained by subtracting the average voltage drop at the relative time “10:00” from the predicted battery voltage at the relative time “10:00”.
7.448−0.151 = 7.297 (V)
Since the obtained predicted value is 6.5 V or more of V lmt , the control unit 21 repeats the same calculation until the predicted battery voltage value at the relative time “9:00” is reached.

相対時刻「9:00」の電池電圧予測値6.477(V)は、Vlmtの6.5Vを下回るので、制御部21は電池電圧予測値の計算をここで打ち切る。そして、稼働可能時間を次のように算出する。
まず、相対時刻「0:00」の終期までの時間を求める。この時間は30分である。さらに、基点電圧がVlmt以上の時間ブロックの総計を求める。ここでは、相対時刻「1:00」から「7:00」までの7時間である。さらに、相対時刻「8:00」の期間中に電池電圧がVlmtまで降下する期間を算出する。電圧降下特性が1次関数で表されるとすると、始期と終期の電池電圧予測値から、電池電圧がVlmtまで降下する期間は次の計算によって得られる。
60×(6.577−6.500)/(6.577−6.477)=46(分)
The battery voltage predicted value 6.477 (V) at the relative time “9:00” is lower than 6.5 V of V lmt , so the control unit 21 stops the calculation of the battery voltage predicted value here. Then, the operable time is calculated as follows.
First, the time until the end of the relative time “0:00” is obtained. This time is 30 minutes. Further, the total of time blocks in which the base voltage is V lmt or higher is obtained . Here, it is 7 hours from the relative time “10:00” to “7:00”. Furthermore, a period during which the battery voltage drops to V 1mt during the relative time “8:00” is calculated. Assuming that the voltage drop characteristic is expressed by a linear function, the period during which the battery voltage drops to V 1mt is obtained by the following calculation from the predicted battery voltage values at the beginning and end.
60 × (6.577-6.500) / (6.577-6.477) = 46 (minutes)

よって、現在時刻tを基点とする稼働可能時間の予測値は、これらの総和で求められる。即ち、
30(分)+7時間+46(分)=8時間16分
が予測される稼働可能時間である。現在時刻が13時30分であるから、21時46分になるまで稼働すると予測される。
制御部21は、この稼働可能時間を表示部31に表示させる。
Therefore, the predicted value of the operable time with the current time t as a base point is obtained as a sum of these values. That is,
30 (minutes) +7 hours + 46 (minutes) = 8 hours and 16 minutes is the expected operation time. Since the current time is 13:30, it is predicted to operate until 21:46.
The control unit 21 displays the operable time on the display unit 31.

≪フローチャート≫
図10〜図17は、この発明に係る制御部21が実行する処理の手順を示すフローチャートである。このうち、図10および図11は、時間ブロックごとの基点電圧と電圧降下量の測定および電池電圧ログ情報テーブルの生成に関する処理を示している。より詳細には、図10は、各時間ブロックの始期と終期に電池電圧を測定する態様を示し、図11は、各時間ブロックの期間より短い間隔で電池電圧を繰り返し測定する態様を示している。図12および図13は、平均電圧降下量テーブルの生成に関する処理を示している。図14および図15は、稼働可能時間の予測に関する処理を示している。図16および図17は、付加条件に係る処理を示している。
以下、フローチャートに沿って制御部21が実行する処理を説明する。
≪Flowchart≫
10 to 17 are flowcharts showing a procedure of processing executed by the control unit 21 according to the present invention. Among these, FIG. 10 and FIG. 11 show processing relating to measurement of the base voltage and voltage drop amount for each time block and generation of the battery voltage log information table. More specifically, FIG. 10 shows a mode in which the battery voltage is measured at the beginning and end of each time block, and FIG. 11 shows a mode in which the battery voltage is repeatedly measured at an interval shorter than the period of each time block. . 12 and 13 show processing relating to generation of the average voltage drop amount table. FIG. 14 and FIG. 15 show processing related to the prediction of the operable time. 16 and 17 show processing relating to the additional conditions.
Hereinafter, the process which the control part 21 performs is demonstrated along a flowchart.

電池電圧の測定と電池電圧ログ情報テーブルの生成
まず、図10の処理を説明する。各時間ブロックの始期と終期に電池電圧を測定し、電池電圧ログ情報テーブルを生成する処理である。図10に示すように、初期化処理として、制御部21は、まず電池電圧ログ先頭アドレスポインタLtを電池電圧ログ情報テーブルの先頭アドレスを参照するようにセットする(ステップS11)。さらに、電池電圧ログ末尾アドレスポインタLIを電池電圧ログ先頭アドレスポインタLtより1つ手前のアドレスを参照するように初期化する(ステップS13)。この初期値は、後述するステップS31で電池電圧ログ末尾アドレスポインタLIをインクリメントする分を見越したものである。最初は電池電圧ログが格納されないため、先頭と末尾のポインタの初期値はほぼ一致する。以上が初期化の処理である。
Measurement of Battery Voltage and Generation of Battery Voltage Log Information Table First, the process of FIG. 10 will be described. In this process, the battery voltage is measured at the beginning and end of each time block, and a battery voltage log information table is generated. As shown in FIG. 10, as an initialization process, the control unit 21 first sets the battery voltage log head address pointer Lt so as to refer to the head address of the battery voltage log information table (step S11). Further, the battery voltage log tail address pointer LI is initialized so as to refer to the address immediately before the battery voltage log head address pointer Lt (step S13). This initial value allows for the increment of the battery voltage log tail address pointer LI in step S31 described later. Initially, since the battery voltage log is not stored, the initial values of the leading and trailing pointers are almost the same. The above is the initialization process.

次に、制御部21は、電池電圧測定データインデックスカウンタDiの初期値としてゼロをセットする(ステップS15)。Diは、配列変数である電池電圧測定データVB[ ]の参照に用いるカウンタである。
続いて、制御部21は、RTC35から現在の年月日、曜日および時刻を取得する(ステップS17)。そして、予め定められた時間ブロックの基点および単位に照らして次回の電池電圧ログの取得日時Tを計算する(ステップS19)。そして、RTCを逐次参照しつつ(ステップS21)、取得日時Tが到来するのを待つ(ステップS23)。
Next, the control unit 21 sets zero as the initial value of the battery voltage measurement data index counter Di (step S15). Di is a counter used for referring to battery voltage measurement data VB [] that is an array variable.
Subsequently, the control unit 21 acquires the current date, day of the week, and time from the RTC 35 (step S17). Then, the acquisition date T of the next battery voltage log is calculated in light of the base point and unit of the predetermined time block (step S19). Then, while sequentially referring to the RTC (step S21), it waits for the acquisition date T to arrive (step S23).

取得日時Tが到来したら(ステップS23のYes)、制御部21は、A/D変換器43を介して現在の電池電圧Vの測定を行う(ステップS25)。そして、電池電圧測定データVB[Di]に測定された電池電圧Vと測定が行われた取得日時Tを格納する(ステップS27)。続いて、Diをインクリメントする(ステップS29)。図10では、各時間ブロックの始期と終期に電池電圧を測定するところ、Diがゼロのときが始期の測定に対応し、Diが1の時が終期の測定に対応する。よって、Diをインクリメントした結果が1の場合(ステップS23のNo)は、始期の測定が終了した状態に対応する。この場合、ルーチンはステップS19へ進み、終期の測定を行う取得日時Tを計算する。そして、ステップS21〜S29で始期の測定と同様の処理を繰り返す。   When the acquisition date and time T has arrived (Yes in step S23), the control unit 21 measures the current battery voltage V via the A / D converter 43 (step S25). And the battery voltage V measured and the acquisition date T when the measurement was performed are stored in battery voltage measurement data VB [Di] (step S27). Subsequently, Di is incremented (step S29). In FIG. 10, when the battery voltage is measured at the beginning and end of each time block, when Di is zero, it corresponds to the measurement at the beginning, and when Di is 1, it corresponds to the measurement at the end. Therefore, when the result of incrementing Di is 1 (No in step S23), this corresponds to the state where the initial measurement is completed. In this case, the routine proceeds to step S19 and calculates the acquisition date and time T for performing the final measurement. Then, the same processing as the initial measurement is repeated in steps S21 to S29.

一方、Diが1より大きい場合(ステップS31のYes)は、終期の測定が完了した場合に対応する。この場合、制御部21は、電池電圧ログを格納するために用いる電池電圧ログ末尾アドレスポインタLIをインクリメントする(ステップS33)。そして、始期と終期の電池電圧を減算することにより電圧降下量Vdを得る(ステップS35)。
制御部21は、電池電圧ログ末尾アドレスポインタLIで参照される電池電圧ログ情報テーブル51に、電池電圧測定データVB[ ]に格納されている基点電圧の測定に係る年月日、曜日、時刻のデータVB.t[0]を電池電圧ログの年月日、曜日、時刻として格納する。また、得られた電圧降下量Vdを電池電圧ログの電圧降下量として格納する。さらに、電池電圧測定データVB[ ]に格納された基点電圧のデータVB.V[0]を電池電圧ログの基点電圧として格納する(ステップS37)。そして、ルーチンはステップS15へ戻り、次の時間ブロックの処理を同様に繰り返す。以上が、図10に示す処理である。
On the other hand, when Di is larger than 1 (Yes in step S31), it corresponds to the case where the final measurement is completed. In this case, the control unit 21 increments the battery voltage log tail address pointer LI used for storing the battery voltage log (step S33). Then, the voltage drop amount V d is obtained by subtracting the battery voltage at the beginning and the end (step S35).
The control unit 21 stores the year / month / day, day of the week, and time associated with the measurement of the base voltage stored in the battery voltage measurement data VB [] in the battery voltage log information table 51 referred to by the battery voltage log tail address pointer LI. Data VB. t [0] is stored as the date, day, and time of the battery voltage log. Further, the obtained voltage drop amount V d is stored as the voltage drop amount of the battery voltage log. Further, the base voltage data VB. Stored in the battery voltage measurement data VB []. V [0] is stored as the base voltage of the battery voltage log (step S37). The routine then returns to step S15 and repeats the processing for the next time block in the same manner. The above is the processing shown in FIG.

これに対して図11は、各時間ブロックの始期と終期だけでなく、その時間ブロックの期間よりも短い間隔で電池電圧を繰り返し測定する。
図11で、ステップS41、S43、S45、S47およびS49は、図10のステップS11、S13、S15、S17およびS19にそれぞれ対応しているので詳しい説明は省略する。なお、ステップS49で取得する取得日時Tは、次の時間ブロックの始期であり、かつ現在の時間ブロックの終期である。
そのステップS49の処理に続き、制御部21は現在の電池電圧Vを測定する(ステップS51)。そして、電池電圧測定データVB[Di]に測定された電池電圧Vと測定が行われた取得日時Tを格納する(ステップS53)。続いて、Diをインクリメントする(ステップS55)。
On the other hand, FIG. 11 repeatedly measures the battery voltage not only at the start and end of each time block but also at intervals shorter than the time block period.
In FIG. 11, steps S41, S43, S45, S47 and S49 correspond to steps S11, S13, S15, S17 and S19 of FIG. The acquisition date T acquired in step S49 is the start of the next time block and the end of the current time block.
Following the processing of step S49, the control unit 21 measures the current battery voltage V (step S51). And the battery voltage V measured and the acquisition date T when the measurement was performed are stored in the battery voltage measurement data VB [Di] (step S53). Subsequently, Di is incremented (step S55).

制御部21は、RTC35から現在の年月日、曜日および時刻tを取得する(ステップS57)。その時刻tが、取得日時T、即ち時間ブロックの終期に達したか否かを調べる(ステップS59)。時間ブロックの終期に達していなければ、ルーチンはステップS51へ進み、電池電圧Vの測定と電池電圧測定データの追加を繰り返す。このようにして、電池電圧のデータは、電池電圧測定データVB[ ]の配列変数に順次格納される。なお、電池電圧Vの測定間隔が短すぎる場合は、測定周期に応じたタイマーの設定とそのタイマーの終了待ちの処理とをこの繰り返しループに追加すればよい。   The control unit 21 acquires the current date, day of the week, and time t from the RTC 35 (step S57). It is checked whether or not the time t has reached the acquisition date T, that is, the end of the time block (step S59). If the end of the time block has not been reached, the routine proceeds to step S51 and repeats the measurement of the battery voltage V and the addition of the battery voltage measurement data. In this way, the battery voltage data is sequentially stored in the array variable of the battery voltage measurement data VB []. If the measurement interval of the battery voltage V is too short, a timer setting corresponding to the measurement cycle and a process for waiting for the end of the timer may be added to this repeated loop.

現在の時刻tが時間ブロックの終期に達したら(ステップS59のYes)、制御部21は、電池電圧ログを格納するために用いる電池電圧ログ末尾アドレスポインタLIをインクリメントする(ステップS61)。そして、電池電圧測定データVB[ ]に格納されたデータから回帰直線を算出し、その時間ブロックの基点電圧Vbとその時間ブロック中の降下電圧Vdとを求める(ステップS63)。 When the current time t reaches the end of the time block (Yes in step S59), the control unit 21 increments the battery voltage log tail address pointer LI used for storing the battery voltage log (step S61). Then, to calculate the regression line from the data stored in the battery voltage measurement data VB [], determine its time base voltage V b of the block and the voltage drop V d during the time block (step S63).

制御部21は、電池電圧ログ末尾アドレスポインタLIで参照される電池電圧ログ情報テーブル51に、電池電圧測定データVB[ ]に格納されている基点電圧の測定に係る年月日、曜日、時刻のデータVB.t[0]を電池電圧ログの年月日、曜日、時刻として格納する。また、前記ステップS63で得られた電圧降下量Vdを電池電圧ログの電圧降下量として格納し、さらに、前記ステップS63で得られた基点電圧Vbを電池電圧ログの基点電圧として格納する(ステップS65)。そして、ルーチンはステップS45へ戻り、次の時間ブロックの処理を同様に繰り返す。以上が、図11に示す処理である。 The control unit 21 stores the year / month / day, day of the week, and time associated with the measurement of the base voltage stored in the battery voltage measurement data VB [] in the battery voltage log information table 51 referred to by the battery voltage log tail address pointer LI. Data VB. t [0] is stored as the date, day, and time of the battery voltage log. Further, the voltage drop amount V d obtained in step S63 is stored as the voltage drop amount of the battery voltage log, and further, the base voltage V b obtained in step S63 is stored as the base voltage of the battery voltage log ( Step S65). Then, the routine returns to step S45, and the next time block processing is repeated in the same manner. The above is the processing shown in FIG.

平均電圧降下量テーブルの生成
次に、図12および図13に示す平均電圧降下量テーブル53の生成に係る処理を説明する。
電子キャッシュレジスタ11が電池41で駆動されている状態で、制御部21は、表示部31に稼働可能電圧の予測値を表示させる。その表示の更新時期が到来したとき、制御部21は、その時刻を基点とする平均電圧降下量テーブル53を作成する。
制御部21は、まず、平均電圧降下量テーブル53に格納されている平均電圧降下量VA.Vad[ ]のデータを初期化する(ステップS71)。初期化前には、直前に作成された平均電圧降下量テーブルの値が残っているからである。
Generation of Average Voltage Drop Amount Table Next, processing related to generation of the average voltage drop amount table 53 shown in FIGS. 12 and 13 will be described.
In a state where the electronic cash register 11 is driven by the battery 41, the control unit 21 causes the display unit 31 to display the predicted value of the operable voltage. When the display update time comes, the control unit 21 creates an average voltage drop amount table 53 with the time as a base point.
The control unit 21 first determines the average voltage drop VA.VA stored in the average voltage drop amount table 53. The data of V ad [] is initialized (step S71). This is because the value of the average voltage drop amount table created immediately before remains before initialization.

そして、RTC35から現在の年月日、曜日および時刻を取得する(ステップS73)。さらに、A/D変換器43を介して現在の電池電圧Vの測定を行う(ステップS75)。また、現在の年月日、曜日および時刻tが含まれる時間ブロック、即ち相対時刻「0:00」に対応する時間ブロックの始期の時刻T0を算出する(ステップS77)。
続いて、制御部21は、平均電圧降下量テーブル53において対象とすべき相対時刻を示すポインタTrの初期値としてゼロをセットする(ステップS79)。さらに、平均電圧降下量テーブル参照カウンタCaの初期値としてゼロをセットする(ステップS81)。ポインタTrの初期値は、相対時刻「0:00」の始期の時刻を示す。また、平均電圧降下量テーブル参照カウンタCaの初期値は、いま対象とする相対時刻が相対時刻「0:00」であることを示す。
Then, the current date, day of the week, and time are acquired from the RTC 35 (step S73). Further, the current battery voltage V is measured via the A / D converter 43 (step S75). In addition, a time block including the current date, day of the week, and time t, that is, the start time T0 of the time block corresponding to the relative time “0:00” is calculated (step S77).
Subsequently, the control unit 21 sets zero as the initial value of the pointer Tr indicating the relative time to be targeted in the average voltage drop amount table 53 (step S79). Further, zero is set as the initial value of the average voltage drop amount table reference counter Ca (step S81). The initial value of the pointer Tr indicates the start time of the relative time “0:00”. Further, the initial value of the average voltage drop amount table reference counter Ca indicates that the target relative time is the relative time “0:00”.

その後、制御部21は、電池電圧ログ情報テーブル51から平均電圧降下量の計算に用いるデータを抽出するための処理を行う。まず、電池電圧ログ参照アドレスポインタLに初期値としてLtをセットする(ステップS83)。Ltは、電池電圧ログ情報テーブル51の先頭を示す。さらに、累積電圧降下量Vsにゼロをセットし、該当ログカウンタCIにゼロをセットする(ステップS85)。なおCIは、条件に該当する電池電圧ログの数を格納しておき、電圧降下量の平均値を計算する際に用いるカウンタである。
制御部21は、電池電圧ログ情報テーブル51のうち電池電圧ログ参照アドレスポインタLで参照される電池電圧ログが示す時刻Tと、ポインタTrで示される時刻(例えば、初期値は前記ステップS77で求めた時刻T0を)とが一致するかを調べる(ステップS87)。一致しなければ、その電池電圧ログは平均電圧降下量の計算に用いないと判断し(ステップS87のNo)、ルーチンは後述するステップS97へ進む。なお、ポインタTrで示される時刻は、いま対象としている相対時刻に対応する時刻である。そして、いま対象としている相対時刻は、平均電圧降下量テーブル参照カウンタCaが示す相対時刻である。
Thereafter, the control unit 21 performs processing for extracting data used for calculating the average voltage drop amount from the battery voltage log information table 51. First, Lt is set to the battery voltage log reference address pointer L as an initial value (step S83). Lt indicates the head of the battery voltage log information table 51. Further, zero is set to the cumulative voltage drop amount Vs, and zero is set to the corresponding log counter CI (step S85). The CI is a counter that stores the number of battery voltage logs corresponding to the condition and calculates an average value of the voltage drop amount.
The control unit 21 obtains the time T indicated by the battery voltage log referenced by the battery voltage log reference address pointer L in the battery voltage log information table 51 and the time indicated by the pointer Tr (for example, the initial value is obtained in step S77). It is checked whether or not the time T0 matches (step S87). If they do not match, it is determined that the battery voltage log is not used for calculating the average voltage drop amount (No in step S87), and the routine proceeds to step S97 described later. Note that the time indicated by the pointer Tr is a time corresponding to the target relative time. The relative time that is the target is the relative time indicated by the average voltage drop amount table reference counter Ca.

一方、一致した場合は(ステップS87のYes)、さらに付加条件を調べるために図16または図17に示す処理を実行する(ステップS89)。なお、付加条件を付さない場合はステップS93の処理へスキップすればよい。
ここで、ステップS89の処理に係る図16および図17の処理について説明する。図16は、曜日の一致を付加条件としてデータを抽出する場合の処理を示している。図17は、現在の電池電圧Vに近い電圧区分を付加条件としてデータを抽出する場合の処理を示している。両者を組み合わせる場合は、図16と図17の処理をいずれも行って、それぞれの判定が「該当」に相当する場合に最終の判定結果として「該当」とし、それ以外は最終の判定結果を「非該当」とすればよい。
On the other hand, if they match (Yes in step S87), the process shown in FIG. 16 or FIG. 17 is executed to further check the additional conditions (step S89). In addition, what is necessary is just to skip to the process of step S93 when not attaching additional conditions.
Here, the processing of FIG. 16 and FIG. 17 related to the processing of step S89 will be described. FIG. 16 shows a process in the case of extracting data using the coincidence of the day of the week as an additional condition. FIG. 17 shows a process in the case where data is extracted with a voltage classification close to the current battery voltage V as an additional condition. When both are combined, the processes of FIGS. 16 and 17 are both performed, and when each determination corresponds to “applicable”, the final determination result is “corresponding”. Otherwise, the final determination result is “ “Not applicable”.

図16に示す処理で、制御部21は、電池電圧ログ情報テーブル51のうち、電池電圧ログ参照アドレスポインタLで参照される電池電圧ログが示す時刻Tと、ポインタTrに係る曜日とが一致するかを調べる(ステップS141)。ポインタTrに係る曜日は、いま対象としている相対時刻の曜日(例えば、初期値は時刻T0に係る曜日)である。両者が一致する場合は、判定結果として「該当」を返し(ステップS145)、一致しない場合は判定結果として「非該当」を返す(ステップS143)。以上が、図16に示す処理の内容である。   In the process illustrated in FIG. 16, the control unit 21 matches the time T indicated by the battery voltage log referenced by the battery voltage log reference address pointer L in the battery voltage log information table 51 with the day of the week associated with the pointer Tr. This is checked (step S141). The day of the week related to the pointer Tr is the day of the relative time that is the current target (for example, the initial value is the day of the week related to the time T0). If the two match, “applicable” is returned as the determination result (step S145), and if not, “not applicable” is returned as the determination result (step S143). The above is the contents of the processing shown in FIG.

また、図17に示す処理で、制御部21は、電池電圧ログ参照アドレスポインタLで参照される電池電圧ログの基点電圧Vbが属する電圧区分が図8に示す電圧区間A,BおよびCの何れに該当するかを調べる(ステップS151)。さらに、ポインタTrで示される時刻、即ち、いま対象としている相対時刻に係る基点電圧が、前記電圧区間A,BおよびCの何れに該当するかを調べる(ステップS153)。そして、両者の電圧区分が一致するか否かを調べる(ステップS155)。一致する場合は、判定結果として「該当」を返し(ステップS159)、一致しない場合は判定結果として「非該当」を返す(ステップS157)。以上が、図17に示す処理の内容である。 Further, in the process shown in FIG. 17, the control unit 21, the voltage division of base voltage V b of battery voltage log referenced by the battery voltage log reference address pointer L belongs voltage interval A shown in FIG. 8, B and C It is checked which one corresponds (step S151). Further, it is examined which of the voltage sections A, B, and C corresponds to the base point voltage related to the time indicated by the pointer Tr, that is, the relative time that is currently targeted (step S153). Then, it is checked whether or not the two voltage classifications match (step S155). If they match, “relevant” is returned as the determination result (step S159). If they do not match, “not applicable” is returned as the determination result (step S157). The above is the contents of the processing shown in FIG.

図13の説明に戻る。制御部は、前記ステップS89の結果が「該当」か「非該当」かを調べる(ステップS91)。結果が「非該当」であれば、その電池電圧ログは平均電圧降下量の計算に用いないと判断し(ステップS87のNo)、ルーチンは後述するステップS97へ進む。   Returning to the description of FIG. The control unit checks whether the result of step S89 is “applicable” or “not applicable” (step S91). If the result is “not applicable”, it is determined that the battery voltage log is not used for calculation of the average voltage drop amount (No in step S87), and the routine proceeds to step S97 described later.

一方、結果が「該当」の場合、制御部21は累積電圧降下量Vsに電池電圧ログ参照アドレスポインタLで参照される電池電圧ログの電圧降下量Vdを加算する(ステップS93)。さらに、該当電池電圧ログカウンタCIをインクリメントする(ステップS95)。そして、電池電圧ログ参照アドレスポインタLが電池電圧ログ情報テーブル51の末尾を指しているか否かを調べる(ステップS97)。末尾でなければ(ステップS97のNo)、電池電圧ログ参照アドレスポインタLをインクリメントし、電池電圧ログ情報テーブル51の次の電池電圧ログを参照するようにした後(ステップS99)、ステップS87からの処理を繰り返す。このステップS87〜S99の繰り返し処理によって、電池電圧ログ情報テーブル51に格納された電池電圧ログを順次参照するのである。 On the other hand, when the result is “appropriate”, the control unit 21 adds the voltage drop amount V d of the battery voltage log referred to by the battery voltage log reference address pointer L to the cumulative voltage drop amount Vs (step S93). Further, the corresponding battery voltage log counter CI is incremented (step S95). Then, it is checked whether or not the battery voltage log reference address pointer L points to the end of the battery voltage log information table 51 (step S97). If it is not the end (No in step S97), the battery voltage log reference address pointer L is incremented to refer to the next battery voltage log in the battery voltage log information table 51 (step S99), and then from step S87. Repeat the process. The battery voltage log stored in the battery voltage log information table 51 is sequentially referred to by the repeated processing of steps S87 to S99.

前記ステップS97で、電池電圧ログ参照アドレスポインタLが電池電圧ログ情報テーブル51の末尾を指している場合((ステップS97のYes)は、電池電圧ログ情報テーブル51に格納されている電池電圧ログをすべて参照したことになる。この場合、ルーチンはステップS101へ進み、平均電圧降下量テーブル53のうちでいま対象としている相対時刻に係る電圧降下量の平均値計算に用いるべき電池電圧ログの数を調べる。その数は、前記ステップS95の処理でカウントされ、該当ログカウンタCIに格納されている。
該当ログカウンタCIがゼロであれば(ステップS101のNo)、該当ログがないということであるから、いま対象としている相対時刻の電圧降下量はなにもせず初期値のままとし、ルーチンはステップS105へ進む。
In step S97, when the battery voltage log reference address pointer L points to the end of the battery voltage log information table 51 (Yes in step S97), the battery voltage log stored in the battery voltage log information table 51 is displayed. In this case, the routine proceeds to step S101, and the number of battery voltage logs to be used for calculating the average value of the voltage drop amount related to the target relative time in the average voltage drop quantity table 53 is determined. The number is counted in the process of step S95 and stored in the corresponding log counter CI.
If the corresponding log counter CI is zero (No in step S101), it means that there is no corresponding log. Therefore, the voltage drop amount at the current relative time is not changed to the initial value, and the routine is stepped. The process proceeds to S105.

一方、該当ログカウンタCIがゼロでなければ(ステップS101のYes)、制御部21は、いま対象としている相対時刻、即ち、平均電圧降下量テーブル参照カウンタCaで示される相対時刻VA.t[Ca]の電圧降下量の平均を計算し、その結果を平均電圧降下量テーブル53の平均電圧降下量VA.Vad[Ca]に格納する(ステップS103)。ここで、平均電圧降下量VA.Vad[Ca]は累積電圧降下量Vsを該当ログカウンタCIで除して求められる。
VA.Vad[Ca]=Vs/CI
On the other hand, if the corresponding log counter CI is not zero (Yes in Step S101), the control unit 21 determines the relative time VA. As indicated by the current relative time, that is, the average voltage drop amount table reference counter Ca. The average voltage drop amount of t [Ca] is calculated, and the result is calculated as the average voltage drop amount VA. V ad [Ca] is stored (step S103). Here, the average voltage drop VA. V ad [Ca] is obtained by dividing the cumulative voltage drop amount Vs by the corresponding log counter CI.
VA. V ad [Ca] = Vs / CI

制御部21は、次の相対時刻を参照すべく平均電圧降下量テーブル参照カウンタCaをインクリメントする。さらに、平均電圧降下量テーブル参照カウンタCaで示される相対時刻VA.t[Ca]の時間ブロックの始期の時刻に時間ブロックの間隔mを加算する(ステップS105)。これによって、CaとTrが同期した状態で次の相対時刻を示すように更新される。   The control unit 21 increments the average voltage drop amount table reference counter Ca to refer to the next relative time. Further, the relative time VA. Indicated by the average voltage drop amount table reference counter Ca. The time block interval m is added to the start time of the time block of t [Ca] (step S105). As a result, the Ca and Tr are updated so as to indicate the next relative time in a synchronized state.

続いて、制御部21は、平均電圧降下量テーブル参照カウンタCaが参照する相対時刻VA.t[Ca]が24時間を超えるか否かを調べる(ステップS107)。具体的には、時間ブロックの間隔mに平均電圧降下量テーブル参照カウンタCaの値を乗じた値が、24時間より大きいかを調べる。24時間を超えない場合(ステップS107のNo)、ルーチンはS87へ戻り処理を繰り返す。この繰り返し処理によって、次の相対時間について電池電圧ログ情報テーブル51を参照しつつ電圧降下量の平均を計算し、得られた平均電圧降下量を平均電圧降下量テーブル53に格納する。
一方、24時間を超える場合(ステップS107のYes)は、次に説明する稼働可能時間の予測を行う。
Subsequently, the control unit 21 determines the relative time VA. Referenced by the average voltage drop amount table reference counter Ca. It is checked whether or not t [Ca] exceeds 24 hours (step S107). Specifically, it is checked whether the value obtained by multiplying the time block interval m by the value of the average voltage drop amount table reference counter Ca is greater than 24 hours. If it does not exceed 24 hours (No in step S107), the routine returns to S87 and repeats the process. By this iterative process, the average voltage drop amount is calculated with reference to the battery voltage log information table 51 for the next relative time, and the obtained average voltage drop amount is stored in the average voltage drop amount table 53.
On the other hand, when it exceeds 24 hours (Yes of step S107), the operation | workable time demonstrated below is estimated.

稼働可能時間の予測
前述のステップS107の判定がYesの場合に、制御部21は、稼働可能時間の予測を行う。図14および図15に示す処理である。
まず制御部21は、稼働可能時間を格納する一時変数Twをゼロに初期化する(ステップS111)。そして、平均電圧降下量テーブル参照カウンタCにゼロをセットする(ステップS113)。平均電圧降下量テーブル参照カウンタCの初期値は、相対時刻「0:00」を指す。
Prediction of operable time When the above-described determination in step S107 is Yes, the control unit 21 predicts an operable time. This is the process shown in FIGS.
First, the control unit 21 initializes a temporary variable Tw for storing the operable time to zero (step S111). Then, zero is set to the average voltage drop amount table reference counter C (step S113). The initial value of the average voltage drop amount table reference counter C indicates the relative time “0:00”.

次に、制御部21は、相対時刻「0:00」の時間ブロックの終期までの時間Twとその終期における電池電圧の予測値、即ち次の時間ブロックの始期における電池電圧の予測値VA.Vb[1]とを算出する(ステップS115)。算出に際して、前記ステップS73で取得した現在時刻tとそのときの電池電圧Vを基点とする。 Next, the control unit 21 determines the time Tw until the end of the time block at the relative time “0:00” and the predicted value of the battery voltage at the end, that is, the predicted value VA. Of the battery voltage at the start of the next time block. V b [1] is calculated (step S115). In the calculation, the current time t acquired in step S73 and the battery voltage V at that time are used as a base point.

相対時刻「0:00」の時間ブロックの始期の時刻がT0であるから、終期までの時間Twは、
Tw=T0+m−t
で求められる。また、終期、即ち次の時間ブロックの始期における電池電圧の予測値VA.Vb[1]は、
VA.Vb[1]=V−VA.Vad[0]×Tw/m
Since the start time of the time block of relative time “0:00” is T0, the time Tw until the end is
Tw = T0 + mt
Is required. Further, the predicted value VA. Of the battery voltage at the end, that is, at the start of the next time block. V b [1] is
VA. V b [1] = V−VA. V ad [0] × Tw / m

そして、制御部21は、平均電圧降下量テーブル参照カウンタCが示す相対時刻が終了するときに、即ち、Cが示す時間ブロックの終期が到来するときに、電池電圧が稼動可能な閾値電圧Vlmtを下回るかを判定する(ステップS117)。下回らない場合(ステップS117のNo)、平均電圧降下量テーブル参照カウンタCをインクリメントし、次の時間ブロックを参照するようにする(ステップS119)。 Then, when the relative time indicated by the average voltage drop amount table reference counter C ends, that is, when the end of the time block indicated by C arrives, the control unit 21 operates the threshold voltage V lmt at which the battery voltage can operate. It is determined whether it is below (step S117). If not lower (No in step S117), the average voltage drop amount table reference counter C is incremented to refer to the next time block (step S119).

次に、制御部21は、平均電圧降下量テーブル参照カウンタCで参照される相対時刻VA.t[C]の時間ブロックの終期までの時間Twとその終期、即ち次の時間ブロックの始期における電池電圧の予測値VA.Vb[C]とを算出する(ステップS121)。終期までの時間Twは、直前の時間ブロックに係る終期の時刻Twに時間ブロックの間隔mを加算して、
Tw=Tw+m
で求められる。また、終期、即ち次の時間ブロックの始期における電池電圧の予測値VA.Vb[C+1]は、
VA.Vb[C+1]=VA.Vb[C]−VA.Vad[C]
で求められる。
Next, the control unit 21 compares the relative time VA. The time Tw until the end of the time block t [C] and the predicted value VA. of the battery voltage at the end, that is, the start of the next time block. V b [C] is calculated (step S121). The time Tw until the end is obtained by adding the time block interval m to the end time Tw of the immediately preceding time block,
Tw = Tw + m
Is required. Further, the predicted value VA. Of the battery voltage at the end, that is, at the start of the next time block. V b [C + 1] is
VA. V b [C + 1] = VA. V b [C] -VA. V ad [C]
Is required.

そして、制御部21は、平均電圧降下量テーブル参照カウンタCが示す時間ブロックの終期が到来するときに、電池電圧が稼動可能な閾値電圧Vlmtを下回るかを判定する(ステップS131)。下回らない場合(ステップS123のNo)、平均電圧降下量テーブル参照カウンタCをインクリメントし、次の時間ブロックを参照するようにする(ステップS125)。
さらに、平均電圧降下量テーブル参照カウンタCaが参照する相対時刻VA.t[Ca]が24時間を超えるか否かを調べる(ステップS127)。具体的には、時間ブロックの間隔mに平均電圧降下量テーブル参照カウンタCaの値を乗じた値が、24時間より大きいかを調べる。24時間を超える場合(ステップS127のYes)、稼働時間は24時間以上である旨の表示を表示部31に表示させ(ステップS129)、処理を終了する。
Then, when the end of the time block indicated by the average voltage drop amount table reference counter C comes, the control unit 21 determines whether the battery voltage falls below the operable threshold voltage Vlmt (step S131). If not lower (No in step S123), the average voltage drop amount table reference counter C is incremented to refer to the next time block (step S125).
Further, the relative time VA. It is checked whether t [Ca] exceeds 24 hours (step S127). Specifically, it is checked whether the value obtained by multiplying the time block interval m by the value of the average voltage drop amount table reference counter Ca is greater than 24 hours. If it exceeds 24 hours (Yes in step S127), a display indicating that the operating time is 24 hours or longer is displayed on the display unit 31 (step S129), and the process is terminated.

一方、24時間を超える場合(ステップS127のNo)、ルーチンはS121へ戻り処理を繰り返す。この繰り返し処理によって、次の相対時間の終期が到来するときに、電池電圧が稼動可能な閾値電圧Vlmtを下回るかの判定を順次繰り返す。
一方、前述のステップS117またはS123の判定で、その時間ブロックの終期が到来するときに、電池電圧が稼動可能な閾値電圧Vlmtを下回る場合と判断した場合、ルーチンはステップS131へ進み、その時間ブロックの中で電池電圧が稼働可能電圧に達するまでの時間Twを算出する。この時間Twは、前の時間ブロックの処理で終期までの時間として得られたTwに時間ブロックの間隔mに次の比率を乗じたものを加算して求められる。その比率とは、時間ブロックの始期における電池電圧予測値VA.Vb[C]とVlmtの差分をその時間ブロックの平均電圧降下量VA.Vad[C]で除した値である。
そして、算出した稼働可能時間Twを表示部31に表示させ(ステップS133)、処理を終了する。
以上が、制御部21の処理である。
On the other hand, if it exceeds 24 hours (No in step S127), the routine returns to S121 and repeats the process. By this iterative process, when the end of the next relative time comes , the determination as to whether the battery voltage falls below the operable threshold voltage Vlmt is sequentially repeated.
On the other hand, if it is determined in step S117 or S123 described above that the battery voltage falls below the operable threshold voltage Vlmt when the end of the time block comes , the routine proceeds to step S131, and the time Time Tw until the battery voltage reaches the operable voltage in the block is calculated. The time Tw is obtained by adding the time block interval m multiplied by the following ratio to Tw obtained as the time until the end of the previous time block processing. The ratio is the battery voltage predicted value VA. The difference between V b [C] and V lmt is calculated as the average voltage drop VA. It is a value divided by V ad [C].
Then, the calculated operable time Tw is displayed on the display unit 31 (step S133), and the process ends.
The above is the process of the control unit 21.

前述した実施の形態の他にも、この発明について種々の変形例があり得る。それらの変形例は、この発明の範囲に属さないと解されるべきものではない。この発明には、請求の範囲と均等の意味および前記範囲内でのすべての変形とが含まれるべきである。   In addition to the embodiments described above, there can be various modifications of the present invention. These modifications should not be construed as not belonging to the scope of the present invention. The present invention should include the meaning equivalent to the scope of the claims and all modifications within the scope.

11:電子キャッシュレジスタ
21:制御部
23:RAM
31:表示部
33:ROM
35:RTC
37:不揮発性メモリー
41:電池
43:A/D変換器
51:電池電圧ログ情報テーブル
53:平均電圧降下量テーブル
11: Electronic cash register 21: Control unit 23: RAM
31: Display unit 33: ROM
35: RTC
37: Non-volatile memory 41: Battery 43: A / D converter 51: Battery voltage log information table 53: Average voltage drop amount table

Claims (5)

機器を駆動するための電池と、
前記電池の電圧を測定する測定部と、
測定が行われた日時を提供する計時部と、
前記電圧および前記日時に係るデータを格納する記憶部と、
反復して電池電圧の測定を前記測定部に行わせる処理、それぞれの測定に係る日時を前記計時部から取得する処理および測定された各電池電圧と先後の測定の間の電圧の変化とを測定に係る日時と関連付けて電池電圧ログとして前記記憶部に格納する処理、格納された電池電圧ログに基づいて現時点から後の一連の時刻の電池電圧を予測する処理、および、予測された電池電圧が予め定められた閾値に降下するまでを稼働可能時間として算出する処理を行う制御部と、
前記稼働可能時間に係る表示を行う表示部とを備え、
前記制御部は、測定部に現時点の電池電圧の測定を行わせ、前記計時部から測定の日時を取得し、各時刻の電池電圧を予測するにあたって各時刻から所定範囲内の時刻であって以前の日に測定が行われた電池電圧ログであり、さらに、測定された各電池電圧を予め定めた電圧区分に分割した場合に前記現時点の電池電圧と同じ電圧区分に該当する電池電圧ログに基づいて予測することを特徴とする電子キャッシュレジスタ。
A battery for driving the device;
A measurement unit for measuring the voltage of the battery;
A timekeeping section that provides the date and time when the measurement was made;
A storage unit for storing data relating to the voltage and the date and time;
Process for repeatedly measuring the battery voltage by the measurement unit, processing for obtaining the date and time related to each measurement from the time measuring unit, and measuring each battery voltage measured and a change in voltage between the previous and subsequent measurements The process of storing the battery voltage log in the storage unit in association with the date and time related to the process, the process of predicting the battery voltage at a series of times after the current time based on the stored battery voltage log, and the predicted battery voltage A control unit that performs a process of calculating the operable time until it falls to a predetermined threshold;
A display unit for performing display related to the operable time,
The control unit causes the measurement unit to measure the current battery voltage, obtains the date and time of measurement from the timekeeping unit, and predicts the battery voltage at each time at a time within a predetermined range from each time. Battery voltage log measured on the same day , and further based on the battery voltage log corresponding to the same voltage category as the current battery voltage when each measured battery voltage is divided into predetermined voltage categories Electronic cash register characterized by
前記計時部は、測定が行われた日時と曜日とを提供し、
前記制御部は、電池電圧の現時点からの推移を予測するとき、測定に係る時刻が現時点から所定範囲内にありかつ測定に係る曜日が予測に係る曜日と同じ電池電圧ログに基づいて予測する請求項1に記載の電子キャッシュレジスタ。
The timekeeping section provides the date and day of the measurement and the day of the week,
The control unit, when predicting the transition of the battery voltage from the current time, the time for measurement is within a predetermined range from the current time, and the day of the week for measurement is predicted based on the same battery voltage log as the day of the week for prediction Item 2. The electronic cash register according to Item 1.
前記制御部は、一日を予め定めた複数の期間に分割し、現時点からの電池電圧の推移を前記期間に区切って逐次予測し、ある期間の電池電圧の推移の予測を、測定に係る時刻が同じ期間に属する電池電圧ログに基づいて行う請求項1または2に記載の電子キャッシュレジスタ。 The control unit divides a day into a plurality of predetermined periods, sequentially predicts battery voltage transitions from the present time by dividing the period, and predicts battery voltage transitions during a certain period of time for measurement. There electronic cash register according to claim 1 or 2 carried out on the basis of the battery voltage logs belonging to the same period. 前記制御部は、一日を予め定めた間隔に分割した時間ブロックの間隔で電池電圧の測定を前記測定部に行わせ、その時間ブロックの始期の電池電圧および始期と終期の電池電圧の変化を電池電圧ログとして格納する請求項に記載の電子キャッシュレジスタ。 The control unit causes the measurement unit to measure the battery voltage at time block intervals obtained by dividing the day into predetermined intervals, and changes the initial battery voltage and the change in the initial and final battery voltages of the time block. The electronic cash register according to claim 3 , wherein the electronic cash register is stored as a battery voltage log. 前記制御部は、一日を予め定めた間隔に分割した時間ブロックの間隔より短い間隔で反復して電池電圧の測定を前記測定部に行わせ、その時間ブロックにおいて測定した電池電圧に最小二乗法を適用してその時間ブロックの始期と終期における電池電圧を算出し、始期の電池電圧および始期と終期の電池電圧の変化を電池電圧ログとして格納する請求項に記載の電子キャッシュレジスタ。 The control unit repeatedly causes the measurement unit to measure battery voltage at intervals shorter than an interval of time blocks obtained by dividing a day into predetermined intervals, and uses the least-squares method for the battery voltage measured in the time block. 4. The electronic cash register according to claim 3 , wherein a battery voltage at the beginning and end of the time block is calculated by applying and a change in the battery voltage at the beginning and at the beginning and end is stored as a battery voltage log.
JP2011235218A 2011-10-26 2011-10-26 Electronic cash register Active JP5789480B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011235218A JP5789480B2 (en) 2011-10-26 2011-10-26 Electronic cash register

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011235218A JP5789480B2 (en) 2011-10-26 2011-10-26 Electronic cash register

Publications (2)

Publication Number Publication Date
JP2013092936A JP2013092936A (en) 2013-05-16
JP5789480B2 true JP5789480B2 (en) 2015-10-07

Family

ID=48616008

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011235218A Active JP5789480B2 (en) 2011-10-26 2011-10-26 Electronic cash register

Country Status (1)

Country Link
JP (1) JP5789480B2 (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08153278A (en) * 1994-11-30 1996-06-11 Tec Corp Commodity sales registering data processor
JPH09178827A (en) * 1995-12-26 1997-07-11 Toshiba Corp Remainder detecting device for battery capacity
JP4248883B2 (en) * 2003-01-06 2009-04-02 富士通株式会社 Battery alarm voltage setting device and battery alarm voltage setting method in battery management server
JP4166743B2 (en) * 2004-09-28 2008-10-15 株式会社カシオ日立モバイルコミュニケーションズ Terminal device and program
JP5053326B2 (en) * 2009-06-04 2012-10-17 日本電信電話株式会社 Storage battery capacity estimation apparatus and method
JP5246802B2 (en) * 2009-12-09 2013-07-24 Necアクセステクニカ株式会社 Portable terminal device, screen display method used therefor, and program thereof

Also Published As

Publication number Publication date
JP2013092936A (en) 2013-05-16

Similar Documents

Publication Publication Date Title
WO2015141500A1 (en) Degradation estimation method, degradation estimation system, and degradation estimation program
KR101477179B1 (en) Method And Mobile Terminal For Determining and Displaying Power Efficiency of Application
CN104950260B (en) The unrelated battery life of model and performance prediction device
WO2015041093A1 (en) Device and method for evaluating performance of storage cell
US20200309857A1 (en) Methods, systems, and devices for estimating and predicting battery properties
JP2006350481A (en) Terminal device
CN106772091A (en) The update method of battery capacity value, device and terminal
JP2009063502A (en) Battery remaining capacity management system and its control method
US8346713B2 (en) Method and system for recognizing power consumption behaviors of electric appliances in a loop
US20120265461A1 (en) Electronic device and system time setting method thereof
JPWO2015072528A1 (en) Storage battery state grasping method, state grasping system, and computer program
WO2021044132A1 (en) Method and system for optimising battery usage
CN114444370B (en) Method and device for predicting accumulated loss life of rechargeable battery by considering operation conditions, electronic equipment and readable storage medium
KR101701377B1 (en) Apparatus and method for estimating battery's state of health
CN105765394B (en) The determination of battery types
JP5789480B2 (en) Electronic cash register
JP2013250958A (en) Operational status diagnosis device for diagnosing operational status of apparatus and equipment, operational status diagnosis method, and operational status diagnosis program
CN104641370A (en) Time sequential data accumulation device
JP5786561B2 (en) Capacity calculation device, capacity calculation method, and charged device
JP5687025B2 (en) Secondary battery capacity calculation device, secondary battery capacity calculation method and program
JP2018132318A (en) Battery residual level alarm apparatus, numerical control apparatus and machine tool system
JP2002078211A (en) Electronic device of battery-driven type
US20230273260A1 (en) Determining the battery condition of a mobile electronic device
KR20220017560A (en) vehicle, and controlling method thereof
US20210293887A1 (en) Determining battery wear of a mobile electronic device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140918

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150422

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150507

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150616

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150803

R150 Certificate of patent or registration of utility model

Ref document number: 5789480

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150