JP5234039B2 - POWER SYSTEM, ELECTRONIC DEVICE, POWER SUPPLY DEVICE, AND POWER SUPPLY METHOD - Google Patents

POWER SYSTEM, ELECTRONIC DEVICE, POWER SUPPLY DEVICE, AND POWER SUPPLY METHOD Download PDF

Info

Publication number
JP5234039B2
JP5234039B2 JP2010074800A JP2010074800A JP5234039B2 JP 5234039 B2 JP5234039 B2 JP 5234039B2 JP 2010074800 A JP2010074800 A JP 2010074800A JP 2010074800 A JP2010074800 A JP 2010074800A JP 5234039 B2 JP5234039 B2 JP 5234039B2
Authority
JP
Japan
Prior art keywords
power supply
address
power
load
bus
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP2010074800A
Other languages
Japanese (ja)
Other versions
JP2010166811A (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.)
Sony Corp
Original Assignee
Sony 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 Sony Corp filed Critical Sony Corp
Priority to JP2010074800A priority Critical patent/JP5234039B2/en
Publication of JP2010166811A publication Critical patent/JP2010166811A/en
Priority to JP2013015297A priority patent/JP5382244B2/en
Application granted granted Critical
Publication of JP5234039B2 publication Critical patent/JP5234039B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Direct Current Feeding And Distribution (AREA)
  • Power Sources (AREA)

Description

この発明は、種々の電源や負荷を統合的に管理する技術に関する。   The present invention relates to a technique for managing various power sources and loads in an integrated manner.

バッテリー等を電源とする、ポータブル機器の発展にともない、複数のバッテリー搭載機器を同時に使用する機会が増加しつつある。例えば、モバイルコンピュータの画像をHMD(ヘッドマウンテッド・ディスプレイ)で観測する場合や、モバイルコンピュータをモデムカードを仲介として携帯電話に接続する場合などである。この様な場合においても、現在のところモバイルPC(パーソナル・コンピュータ)にはそれ専用の、またHMDや携帯電話にはそれら専用のバッテリーが用いられ、お互いの間でのエネルギーの融通は無い。   With the development of portable devices that use batteries or the like as power sources, opportunities to use a plurality of battery-equipped devices simultaneously are increasing. For example, when an image of a mobile computer is observed with an HMD (Head Mounted Display), or when the mobile computer is connected to a mobile phone through a modem card. Even in such a case, a dedicated battery is currently used for a mobile PC (personal computer), and a dedicated battery is used for an HMD or a cellular phone, and there is no interchange of energy between them.

また、PCやその周辺機器の発展に伴いウエアラブルPCが提唱され、いくつかの商品化例も見られる様になった。この場合でも、電源に関しては専用に設計されたものが使用され、例え手近に満充電された二次電池があろうとも互換性が無いため流用できない。   In addition, with the development of PCs and peripheral devices, wearable PCs have been proposed, and some commercialization examples have been seen. Even in this case, a dedicated power source is used, and even if there is a fully charged secondary battery, it is not compatible and cannot be diverted.

一方、ウエアラブルPCを含むモバイル機器では、いかに電源を確保するかというのは切実な問題であり、場合によっては手回し発電機の様な機器さえ必要になる。   On the other hand, in a mobile device including a wearable PC, how to secure a power source is an urgent problem, and in some cases, even a device such as a handheld generator is required.

しかしながら、現在では、各種電源や各種負荷(機器)の間で統一的に電源を制御するアーキテクチャは無く、二次電池やACアダプタ、簡易発電機等を設計するにしてもある特定の機器専用となってしまう。   However, at present, there is no architecture that controls the power supply uniformly among various power supplies and various loads (devices), and even when designing secondary batteries, AC adapters, simple generators, etc. turn into.

本発明は、上記に述べた不具合を解決するため、電源供給源と電源消費者という考えに基づいて、それらを抽象化し、統一的に定義し、複数の電源供給源(バッテリーやACアダプタ等)、複数の電源消費者が一つの共通バスライン上に柔軟に着脱可能となるシステムを提供することを目的としている。   In order to solve the problems described above, the present invention abstracts them based on the idea of a power supply source and a power consumer, defines them uniformly, and a plurality of power supply sources (battery, AC adapter, etc.) An object of the present invention is to provide a system in which a plurality of power consumers can flexibly attach and detach on a common bus line.

本発明によれば、上述の目的を達成するために、特許請求の範囲に記載のとおりの構成を採用している。ここでは、特許請求の範囲の記載について補足的に説明をしておく。   According to the present invention, in order to achieve the above-mentioned object, the configuration as described in the claims is adopted. Here, the description of the scope of claims will be supplementarily described.

すなわち、この発明では、電子機器と電源供給装置は設定されたアドレスを用いて情報の通信を行い、この情報の通信によって電源供給装置からの電力で電子機器における負荷の駆動が可能と判別したときに、電源供給装置から電力の供給を行う。   That is, according to the present invention, when the electronic device and the power supply device communicate information using the set address, and when it is determined that the load from the power supply device can be driven by the power from the power supply device through the communication of this information In addition, power is supplied from the power supply device.

この構成においては、設定されたアドレスを用いて情報の通信が行われるので、送受信するデータに基づいて最適な状態で(予め設定された基準の基づく)電源の供給や消費を行え、また、バスシステムを用いて統合的に電源供給・消費やデータの送受信を行える。したがって、種々の機器間で電源供給・消費について融通し会うことができる。   In this configuration, since communication of information is performed using a set address, power can be supplied and consumed in an optimum state (based on a preset standard) based on data to be transmitted and received, and the bus The system can be used to supply and consume power and send and receive data in an integrated manner. Therefore, it is possible to flexibly meet power supply and consumption between various devices.

また、バスシステムが、データバス管理のためにアドレス信号を周期的に発生し、そのアドレス信号に対応する情報は、バスに接続されるブロックが発信するようにしてもよい。   The bus system may periodically generate an address signal for data bus management, and information corresponding to the address signal may be transmitted by a block connected to the bus.

この場合、発生するアドレス信号が、システム上可能な最大数までとすることが好ましい。   In this case, it is preferable that the number of generated address signals is up to the maximum possible in the system.

また、発生するアドレス信号が、バス上にあるブロックの数+1としてもよい。   The generated address signal may be the number of blocks on the bus + 1.

単一のデータバスラインを用いて、それに接続される複数のブロックのアドレスの設定および、データ通信の双方を行うようにすることが好ましい。   It is preferable to use a single data bus line to perform both address setting and data communication of a plurality of blocks connected thereto.

また、単一のデータバスラインを用いてそれに接続される複数のブロックのアドレスの設定および、データ通信を二つの段階に分けて行うようにしてもよい。   In addition, setting of addresses of a plurality of blocks connected to a single data bus line and data communication may be performed in two stages.

単一のデータバスラインに複数のブロックが接続され、それら複数のブロックのアドレス付与の方式が以下の特徴を持つことが好ましい。   It is preferable that a plurality of blocks are connected to a single data bus line, and the address assignment method of the plurality of blocks has the following characteristics.

アドレス設定開始タイミングがすべてのブロックに対して同時(半導体素子のばらつきや回路のディレイ等による差はここでは含まない)であり、
各ブロックはランダムに発生したデータを同じタイミングでデータバスに出力し、従って、データバスライン上にはそれらのオア信号が発生し、
データバスライン上の情報と各ブロックが発生した信号を比較する事で、他のブロックが発生したデータを知る事なく、一つのブロックが特定でき、
特定されたブロックにユニークなアドレスを割り当て、この一連の動作を繰り返す事で最終的にはすべてのブロックにユニークなアドレスが割り当てられる。
Address setting start timing is the same for all blocks (differs due to semiconductor element variations, circuit delays, etc. are not included here)
Each block outputs the randomly generated data to the data bus at the same timing, and therefore their OR signal is generated on the data bus line,
By comparing the information on the data bus line with the signal generated by each block, one block can be identified without knowing the data generated by other blocks.
By assigning a unique address to the identified block and repeating this series of operations, a unique address is finally assigned to all the blocks.

また、アドレス付与後に、以下に示すユニークアドレス確認を行うことが好ましい。
データバス管理手段が発生するアドレスに対し、そのアドレスの固有データをデータバス上に出力する事で、オア信号を発生し、
各ブロックが自分の固有データとバス上のデータを照合する事で、自分以外に同じアドレスが存在する事を認識し、
同じアドレスが存在するときには、再度、同位置のアドレスを有するブロックの範囲で、上述のアドレスバス付与を行ないアドレスを振り直す。
Moreover, it is preferable to perform the following unique address confirmation after the address assignment.
For the address generated by the data bus management means, the OR signal is generated by outputting the unique data of the address on the data bus,
Each block recognizes that the same address exists other than itself by comparing its own data with the data on the bus,
When the same address exists, the address bus is assigned again in the range of the block having the address at the same position, and the address is reassigned.

また、データバスライン上の特定アドレスに対するブロック属性が消滅した事でブロックの削除を認識し、逆にブロック属性が存在していなかった特定アドレスに対して、ブロック属性を新規検出する事で、ブロックの接続を認識するようにしてもよい。
さらに、バスラインに接続された任意のブロックの間で、双方向のデータ通信が可能であり、かつ、この通信により任意のブロックが(自身を含む)任意のブロックの制御、情報読み出し、情報かき込みが可能なようにすることが好ましい。
In addition, the block attribute for the specific address on the data bus line has disappeared, and the deletion of the block is recognized. Conversely, the block attribute is newly detected for the specific address where the block attribute does not exist. The connection may be recognized.
Furthermore, bi-directional data communication is possible between any block connected to the bus line, and any block (including itself) controls, reads information, and writes information by this communication. It is preferable to enable this.

この発明によれば、以下のような効果を実現できる。1モバイル機器、ウエアラブル機器に対して、共通の電源管理アーキテクチャを提供し、バッテリや電源の共通化がはかれる。
2 異なった種類の電源(一次電池、二次電池、ACアダプター、DCアダプター、発電機)や異なった機器(負荷)の間で、お互いの状況を通信する共通の通信手段および言語体系を提供し、複数の機器間で共通に使用可能な電源関連機器設計ができる。
3 各種の電源供給源を共通のアーキテクチャの中で定義する事により、幅広いエネルギー供給源を機器の電源に使用可能となり、機器使用環境が飛躍的に拡大する。
4 複数の異なった種類の電源が共通のバスラインに論理的に並列接続が可能となり、バスラインに接続する電源の数を増やすだけで、電源容量を上昇できる。
5 本電源管理アーキテクチャはスケーラブルであり、比較的小電力のものから、オブジェクト数が多く、かつ大電力を扱うものまで同一の考えで設計できる。
6 本アーキテクチャに基づいて設計する事により、電源関係ブロックの標準化が可能で、電源システム設計の大幅な省力化が可能である。
7 オブジェクトエミュレータにより、例えばPCなどにより電源の動作状態をモニターする事ができ、信頼性の高い電源システムを容易に構築できる。
According to the present invention, the following effects can be realized. A common power management architecture is provided for one mobile device and wearable device, and the battery and power source are shared.
2. Provide common communication means and language system to communicate each other's situation between different types of power sources (primary batteries, secondary batteries, AC adapters, DC adapters, generators) and different devices (loads). It is possible to design a power-related device that can be used in common among a plurality of devices.
3 By defining various power supply sources in a common architecture, a wide range of energy supply sources can be used for the power supply of the equipment, and the environment for using the equipment is dramatically expanded.
4. A plurality of different types of power supplies can be logically connected in parallel to a common bus line, and the power supply capacity can be increased only by increasing the number of power supplies connected to the bus lines.
5 This power management architecture is scalable and can be designed with the same idea, from relatively low power to a large number of objects and high power.
6 By designing based on this architecture, it is possible to standardize the power-related blocks, and to greatly reduce the power system design.
7 With the object emulator, it is possible to monitor the operating state of the power supply with a PC, for example, and a highly reliable power supply system can be easily constructed.

この発明の実施例の構成を全体として示す図である。It is a figure which shows the structure of the Example of this invention as a whole. 上述実施例の電源オブジェクトの構成例を説明する図である。It is a figure explaining the structural example of the power supply object of the above-mentioned Example. 上述実施例の一時エネルギーストレージオブジェクトの構成例を説明する図である。It is a figure explaining the structural example of the temporary energy storage object of the above-mentioned Example. 上述実施例の負荷オブジェクトの構成例を説明する図である。It is a figure explaining the structural example of the load object of the above-mentioned Example. 上述実施例のバス管理手段を説明する図である。It is a figure explaining the bus management means of the above-mentioned Example. 上述実施例のアドレス付与を説明する図である。It is a figure explaining the address provision of the above-mentioned Example. 上述実施例のアドレス付与を説明する図である。It is a figure explaining the address provision of the above-mentioned Example. 上述実施例のアドレス付与を説明する図である。It is a figure explaining the address provision of the above-mentioned Example. 上述実施例のアドレス付与を説明する図である。It is a figure explaining the address provision of the above-mentioned Example. 上述実施例のアドレス付与を説明する図である。It is a figure explaining the address provision of the above-mentioned Example. 上述実施例のアドレス付与を説明する図である。It is a figure explaining the address provision of the above-mentioned Example. 上述実施例のアドレス付与を説明する図である。It is a figure explaining the address provision of the above-mentioned Example. 上述実施例のアドレス付与を説明する図である。It is a figure explaining the address provision of the above-mentioned Example. 上述実施例のデータ通信フォーマットを説明する図である。It is a figure explaining the data communication format of the above-mentioned Example. 上述実施例のデータ通信フォーマットを説明する図である。It is a figure explaining the data communication format of the above-mentioned Example. 上述実施例のデータ通信フォーマットを説明する図である。It is a figure explaining the data communication format of the above-mentioned Example. 上述実施例のコマンドの発信、回答を説明する図である。It is a figure explaining the transmission of the command of the above-mentioned Example, and a reply. 上述実施例を具体例をあげて説明するずである。The above embodiment is not described with specific examples. 図18の負荷の構成を説明する図である。It is a figure explaining the structure of the load of FIG. 図18および図19の動作を説明する図である。It is a figure explaining the operation | movement of FIG. 18 and FIG.

以下、発明を実施するための形態について説明する。   Hereinafter, modes for carrying out the invention will be described.

本発明は、ハードウエアとして、電源およびデータバスとそのバスコントローラ、それらバスに接続される電源構成ブロック、ソフトウエアとして電源構成ブロックのオブジェクトモデル化および、バスコントローラの動作メカニズム、電源構成ブロック間の通信フォーマットを包含する一つのアーキテクチャに関するものである。   The present invention includes, as hardware, a power supply and data bus and its bus controller, a power supply configuration block connected to these buses, object modeling of the power supply configuration block as software, an operation mechanism of the bus controller, and between the power supply configuration blocks It relates to one architecture that encompasses communication formats.

ここでは内容が多岐にわたるため、次の3部構成で説明する。
第1部:電源構成ブロックをどの様にオブジェクトモデル化するかについて説明。第2部:電源オブジェクトモデルを使用して実際の電源バスシステムをいかに構築するかについて説明する。
第3部:構築された電源バスシステム上で各オブジェクトモデルがどの様に動作するかについて説明する。
Here, since the contents are diverse, the following three-part configuration will be used.
Part 1: Explains how to make an object model of a power supply building block. Part 2: Explain how to build an actual power bus system using the power object model.
Part 3: How each object model operates on the constructed power bus system will be described.

[第1部 電源に使用されるブロックのオブジェクトモデル化]
1.電源に使用されるブロックの整理
現在電源関係に使用されている、あるいは可能性のあるブロックは概略以下のものである。
(1)電源供給源
:一次電池(乾電池等)
:ACアダプタ(商用ラインからDCを発生させ、機器の電源または二次電池の充電に用いる)
:DCアダプタ(カーバッテリ等のDC電源からターゲット機器に適するDCを発生させ、ACアダプタと同様の用途に用いる)
:簡易発電機(エンジン付の発電機から、手動発電機まで)
:太陽電池
:空間の電磁波からエネルギーを発生するもの(例えば、特開平10−146077号公報)
:その他各種燃料電池、生体からエネルギーを取り出すもの
(2)電源消費者(負荷)
:各種機器(一般に、この部分が実ユーザに対して何らかの利便性を提供する)
(3)電源供給、消費源
:二次電池(NiCd電池、Ni水素電池、リチウム電池、リチウムイオン電池、鉛電池等)
(電動自転車におけるモータの様に通常は電力を消費するものだが、制動時に電力発生の可能性をもつブロック(回生制動機能をもつもの)は、後述する理由により(3)ではなく(2)負荷に分類するのが適当である。)
つまり、電源関係で使用されるブロックを、高いレベルで抽象化すると上記3つにわけられ、さらに(3)は(1)と(2)の機能を共通にもつものと考えられる。またこれらを抽象化するには主としてコンピュータプログラミング分野で用いられている考えであるオブジェクトが有効である。従って、以下上記(1)、(2)、(3)をオブジェクトとして定義していくが、最初に簡単にオブジェクトとは何かについて説明する。
[Part 1 Object modeling of blocks used for power supply]
1. Arrangement of blocks used for power supply The blocks currently used or possibly related to power supply are as follows.
(1) Power supply source: Primary battery (dry cell etc.)
: AC adapter (DC is generated from a commercial line and used for powering equipment or charging secondary batteries)
: DC adapter (DC suitable for the target device is generated from a DC power source such as a car battery and used for the same application as the AC adapter)
: Simple generator (from generator with engine to manual generator)
: Solar cell: A device that generates energy from electromagnetic waves in space (for example, Japanese Patent Laid-Open No. 10-146077)
: Other fuel cells, those that extract energy from living bodies (2) Power consumers (load)
: Various devices (generally this part provides some convenience to real users)
(3) Power supply, consumption source: Secondary battery (NiCd battery, Ni hydrogen battery, lithium battery, lithium ion battery, lead battery, etc.)
(The block that normally consumes electric power like a motor in an electric bicycle but has the possibility of generating electric power during braking (having a regenerative braking function) is not (3) but (2) load for the reasons described later. It is appropriate to classify them into
That is, if the blocks used for power supply are abstracted at a high level, they are divided into the above three, and (3) is considered to have the functions (1) and (2) in common. In order to abstract them, an object which is an idea mainly used in the field of computer programming is effective. Therefore, the above (1), (2), and (3) are defined as objects, but first, what is an object will be briefly described.

2.オブジェクトの説明
オブジェクトとは、通常はコンピュータのプログラミング手法で用いられる用語であって、ある機能を実現する部分をブラックボックスとして扱い、ユーザ(プログラマ)にはその外部から見た仕様のみを与え、プログラミングの効率化を図る事を主目的とする。
2. Object description An object is a term usually used in computer programming techniques. A part that realizes a function is treated as a black box, and the user (programmer) is given only the specifications from the outside, and programming is performed. The main purpose is to improve efficiency.

オブジェクトは、その機能ブロックの仕様を示すデータ、そしてそれらのデータを変更したり、何らかの機能を実現する関数群から構成される。   The object is composed of data indicating the specification of the functional block and a group of functions that change the data or realize some function.

オブジェクト指向そのものは特定のプログラム言語専有のものではないが、ここではもっとも一般的なC++言語により説明する。
オブジェクトはC++においてはクラスとして定義され、例えば次の様なものである。(以下、山下 他著、C++プログラミングスタイル、p147、オーム社より引用)

Figure 0005234039


この例では、Turtle(亀)クラスを定義し、そのデータとして位置座標x、yと方向direction、クラスに対する動作を定義するものとして関数forward(int),turnleft(),turnright()を定義している。つまり、Turtleというオブジェクトを、その現在位置、進行方向、左回り動作、右回り動作、前進動作というデータおよび機能で規定している。 Object orientation itself is not specific to a specific programming language, but will be described here using the most common C ++ language.
Objects are defined as classes in C ++, for example: (Hereafter, Yamashita et al., C ++ programming style, p147, quoted from Ohm)
Figure 0005234039


In this example, a Turtle class is defined, and the functions forward (int), turnleft (), and turnright () are defined as the data defining the position coordinates x, y and direction direction, and the operation for the class. Yes. That is, an object called Turtle is defined by data and functions of its current position, traveling direction, counterclockwise operation, clockwise operation, and forward operation.

3.電源に使用されるブロックのモデル化
(3−1)電源システムに使用されるブロックの抽象化
図1は一般的な電源の供給、消費システムを示したもので、1、2、3はそれぞれ電源、GND、信号のためのバスラインである。3の信号バスについては、GND2を共通帰線とする単一の線の場合、電源ラインとは独立に複数の線により構成される場合、さらに電源バス(1)に重畳され物理的には存在しない場合もある。4はバッテリー(ニッケル水素やリチウムイオンの様な二次電池、マンガンやアルカリ等の一次電池を問わない)、5は電気二重層コンデンサを貯蔵源とする様な一時電源、6はACアダプタ(チャージャと兼用の場合もある)、7は負荷となる一般電気機器である。これらバスに接続されるもの(以降でオブジェクトとして定義する)の数は問わない。いずれのブロックもパワーバスラインに必ずしもすべてが同時に物理的に接続されるものではなく、各ブロックとパワーバスラインとの間にスイッチ(実用的には半導体スイッチ)が挿入されている。
3. Modeling of Blocks Used for Power Supply (3-1) Abstraction of Blocks Used for Power Supply System FIG. 1 shows a general power supply and consumption system. , GND, a bus line for signals. For the signal bus 3, in the case of a single line having GND 2 as a common return line, if it is composed of a plurality of lines independent of the power supply line, it is further superimposed on the power supply bus (1) and physically exists Sometimes not. 4 is a battery (regardless of a secondary battery such as nickel metal hydride or lithium ion, or a primary battery such as manganese or alkali), 5 is a temporary power source using an electric double layer capacitor as a storage source, and 6 is an AC adapter (charger). 7 is a general electric device serving as a load. The number of things connected to these buses (hereinafter defined as objects) does not matter. All of the blocks are not necessarily physically connected to the power bus line at the same time, and a switch (practically a semiconductor switch) is inserted between each block and the power bus line.

電源システムを構成する要素としては上記の様に各種考えられるが、これらの要素を抽象化すると、電源供給源となるもの(一次、ACアダプタ、DCアダプタ等)および、これらから電源を供給される消費者(負荷)に大別できる。オブジェクト指向の特徴の一つは、共通機能を持つ新しいオブジェクトをその元となるオブジェクトから派生させることが可能な点にある。従って、ここでもこのフィロソフィーに従い、まず本電源バスシステムに接続されるオブジェクトを定義し、それより電源供給源オブジェクトと負荷としてのオブジェクトを派生する。ACアダプタや一次電池などは電源供給源オブジェクトから派生させる。電気機器そのものは、本システムからみれば単に負荷オブジェクトとして抽象化される。また1で述べた(3)項に相当するものは電源供給源、および負荷の機能を継承して生成される。実用機器で主要な電源となる二次電池はこの(3)項に属すると考えるのが適当である。   Various elements can be considered as constituting the power supply system as described above. When these elements are abstracted, power supply sources (primary, AC adapter, DC adapter, etc.) and power are supplied from these sources. It can be roughly divided into consumers (load). One of the object-oriented features is that a new object having a common function can be derived from the original object. Therefore, also in accordance with this philosophy, an object connected to the power bus system is first defined, and a power supply object and a load object are derived therefrom. The AC adapter, the primary battery, etc. are derived from the power source object. The electrical device itself is simply abstracted as a load object from the viewpoint of this system. The item corresponding to the item (3) described in 1 is generated by inheriting the functions of the power supply source and the load. It is appropriate to consider that the secondary battery, which is the main power source in practical equipment, belongs to this item (3).

また、二次電池に対する充電方式はそのバッテリーの種類(NiCdかリチウムイオンか等)により異なるし、電気二重層コンデンサを用いた一時電源の充電の仕方はバッテリーとも異なる。しかし、これらの相違点もオブジェクト指向の大きなフィロソフィーであるポリモ−フィズムにより統一的に扱え、単にユーザ(この場合は、本アーキテクチャに基づいて電源関係機器を設計する設計者)からは同一のインターフェースで扱える。   The charging method for the secondary battery differs depending on the type of the battery (NiCd or lithium ion, etc.), and the method of charging the temporary power source using the electric double layer capacitor is also different from the battery. However, these differences can also be handled uniformly by polymorphism, which is a large object-oriented philosophy, and it is simply the same interface from the user (in this case, a designer who designs power-related equipment based on this architecture). Can handle.

(3−2)電源オブジェクト、負荷オブジェクトの投入、切断
図1に示すシステムにおいて、電源供給オブジェクト(図2)、負荷オブジェクト(図4)とも電源バスラインに対してスイッチを有している。電源供給オブジェクト、負荷オブジェクトとも1個の時は、それぞれに電源に対するスイッチを有するのは冗長であるが、複数の電源オブジェクトや負荷オブジェクト、さらには、電源または負荷となるオブジェクトを考慮するとこういう構造にするのが適当である。
(3-2) Input / Disconnect of Power Object and Load Object In the system shown in FIG. 1, both the power supply object (FIG. 2) and the load object (FIG. 4) have a switch for the power bus line. When there is only one power supply object and one load object, it is redundant to have a switch for the power supply for each. However, considering a plurality of power supply objects and load objects, and objects that become power supplies or loads, this structure It is appropriate to do.

この様な構造で、いったい誰がどのオブジェクトの(電源バスに対する)スイッチを投入するかについて以下の様に規定する。
電源供給オブジェクトのスイッチは、複数の電源供給オブジェクトが同じバスライン上に存在するときに、それらのうち一つのみを有効にするために用いる。 複数の電源供給オブジェクトから一つを選択する際には、次のプライオリティー付けに従う。
With this structure, who defines which object's switch (for the power bus) is turned on is specified as follows.
The switch of the power supply object is used to enable only one of the plurality of power supply objects when they exist on the same bus line. When selecting one of a plurality of power supply objects, the following prioritization is followed.

1 ACアダプタ
2 DCアダプタ
3 二次電池
4 一次電池
5 一時エネルギーストレージ
即ち、最も長時間エネルギーが供給できそうなものの順とする。また、同じレベルの電源供給オブジェクトが存在する場合は、例えばその容量順とかアドレス順とする(これはシステムの実装上の問題である)。
負荷オブジェクトのスイッチ投入は、負荷の先に存在するセットの要求により制御されるのが原則であるので、負荷自身が制御する。この時、制御命令を自分自身に対して発信するようにする。こうすれば、バスライン上のほかのオブジェクトも情報共有ができる。
DESCRIPTION OF SYMBOLS 1 AC adapter 2 DC adapter 3 Secondary battery 4 Primary battery 5 Temporary energy storage That is, it is set to the order of what can supply energy for the longest time. Further, when there are power supply objects of the same level, for example, they are arranged in order of capacity or address (this is a problem in system implementation).
Since the switching of the load object is in principle controlled by a request for a set existing ahead of the load, the load itself controls it. At this time, a control command is transmitted to itself. In this way, other objects on the bus line can also share information.

4.電源供給源ブロックのオブジェクトモデル化
(4−1)最上位オブジェクトモデル
以下、本実施例に示す電源システムに接続されるブロックのオブジェクトモデル化について説明する。
4). Object Modeling of Power Supply Source Block (4-1) Top Level Object Model Hereinafter, object modeling of blocks connected to the power supply system shown in the present embodiment will be described.

最初に、本電源システムに接続されるすべてのもの(バス管理手段を除く)を含むクラスを定義し、すべてのオブジェクトはこれから派生ないし継承で生成する。従って、このモデルがすべてのクラスの原型となる。

Figure 0005234039


上記クラスの定義の中で、データとしてアドレスは存在するが、関数としてアドレスを読み出すものはない。これは、本システムの構造上、オブジェクトに対してアドレスを問い合わせる事はできない(つまり、データ問い合わせのベースとなるのがアドレスであるので)からである。 First, a class including everything connected to the power supply system (except for bus management means) is defined, and all objects are derived or inherited from it. This model is therefore the prototype for all classes.
Figure 0005234039


In the above class definition, an address exists as data, but there is no one that reads an address as a function. This is because the address of the object cannot be queried due to the structure of this system (that is, the address is the basis of the data query).

(4−2)電源供給源のモデル化
バッテリーやACアダプタ等の電源供給源の基本モデルとなるものである。このモデルは電源供給源として必要な情報、およびそれに関連する機能をまとめたものである。
(4-2) Modeling of power supply source This is a basic model of a power supply source such as a battery or an AC adapter. This model is a collection of information necessary for a power supply source and related functions.

図2において、10はDC電源であり、これがバッテリーであるかACを整流した直流電源であるかは問わない。11は電流検出のための抵抗、12は電力バス(16)との接続を行うためのスイッチ、19はこの物理装置を論理的なオブジェクトとするためのマイクロプロセッサ(即ち、情報バスライン17から見込むとこの物理装置は論理的オブジェクトに見える)であり、具体的にはDC電源の電圧や出力電流の測定、スイッチ12のコントロール、自分自身のバス上のアドレス設定や他のオブジェクトとデータ通信を行う。   In FIG. 2, reference numeral 10 denotes a DC power source, regardless of whether it is a battery or a DC power source rectified from AC. 11 is a resistor for current detection, 12 is a switch for connecting to the power bus (16), and 19 is a microprocessor for making this physical device a logical object (that is, it is expected from the information bus line 17) This physical device appears to be a logical object), specifically measuring the voltage and output current of the DC power supply, controlling the switch 12, setting the address on its own bus, and communicating data with other objects .

この様な一般的な電源供給源のオブジェクトモデル例を以下に示す。

Figure 0005234039


また、以下に内部データに対するコードの割り当て例を示す。上記モデルだけでは二次電池は対象外であるが、二次電池は上記オブジェクトモデルと負荷オブジェクトモデルを継承して生成されるので、PowerTypeのコード割り当てに二次電池や一時電源もいれておく。0xは16進数を表す。
Figure 0005234039

An example of an object model of such a general power supply source is shown below.
Figure 0005234039


An example of code assignment for internal data is shown below. Although the secondary battery is excluded from the above model alone, since the secondary battery is generated by inheriting the object model and the load object model, the secondary battery and the temporary power source are also included in the code assignment of PowerType. 0x represents a hexadecimal number.
Figure 0005234039

(4−3)エネルギーチャージオブジェクト
これは、エネルギーストレージオブジェクトの充電、および電源供給を担当するものである。このオブジェクトはACアダプターであってもいいし、カーバッテリからチャージする様なDC入力のもの、あるいは、環境に存在する電磁波を電圧に変換する様な他の手段によるものでもいい。チャージャはそのターゲットとするものによってチャージの方式までの異なるので、それらを一まとめにした一般的なモデル例を以下に示す。実際のオブジェクトはこれからさらに派生させて詳細データを定義していく。またそれら個々のチャージャはその実現方式によって、使用するコマンドやパラメータが異なる(例えばNiCd電池の充電においても、充電電圧の変化を検出する方式や、電池の温度変化を検出する方式、電池の状態を見ずに微少な電流で充電するいわゆるトリクル充電など種々の方式がある)ので、一般的にコマンド体系を定義するのは困難であるし、また適当ではない。そこで、この様な装置に固有なコマンドに対応するために、本発明報告のコマンド体系には、機器固有コマンドを送受するメカニズムが用意されている(第3部 7−3参照)。

Figure 0005234039


チャージャの型のコード割付例を示す。(PowerTypeの割付例参照)
Figure 0005234039

(4-3) Energy Charge Object This is responsible for charging the energy storage object and supplying power. This object may be an AC adapter, a DC input such as charging from a car battery, or other means such as converting electromagnetic waves present in the environment into voltage. Chargers differ depending on the target, and the charge method is different, so a general model example that combines them is shown below. The actual object is further derived from this to define detailed data. In addition, these individual chargers use different commands and parameters depending on the implementation method (for example, in charging a NiCd battery, a method for detecting a change in charging voltage, a method for detecting a change in battery temperature, and a battery state) Since there are various methods such as so-called trickle charging that charges with a minute current without looking at it), it is generally difficult and unsuitable to define a command system. Therefore, in order to cope with commands unique to such a device, a mechanism for transmitting / receiving device-specific commands is prepared in the command system of the present invention report (see Part 3 7-3).
Figure 0005234039


An example of code assignment for the charger type is shown below. (Refer to the PowerType assignment example)
Figure 0005234039

5.負荷オブジェクトのモデル化
(5−1)基本負荷オブジェクトのモデル化
基本的な負荷モデルに必要な情報および機能をまとめてモデル化する。実際のユーザにサービスを提供する製品は、本オブジェクト指向電源アーキテクチャにとっては負荷オブジェクトモデルの先に存在するもので、負荷オブジェクトの中に埋没し、それがどの様なものかは関与しない。
5. Modeling of load objects (5-1) Modeling of basic load objects Information and functions necessary for basic load models are collectively modeled. A product that provides services to an actual user exists in the object object-oriented power architecture ahead of the load object model, and is buried in the load object, and it does not matter what it is.

図4において16、17、18はそれぞれ電源バス、データバスおよびGNDである。50は本来の負荷57(これが実際はユーザに利便性を提供する部分である)を入り切りするためのスイッチ、55は負荷オブジェクトを生成するマイクロプロセッサである。消費電流は抵抗51により検出する事を基本とするが、57の電流消費状況は既知であるので、その57を制御するマイクロプロセッサ58より通信路56を介してデータを入手してもいい。また、55と58が同一のプロセッサの場合も当然存在する。59は電源バス16の瞬断や、電源供給オブジェクトの交換時の急激な電圧変化を緩和するためのコンデンサで、電気二重層コンデンサや補助的二次電池等が使える。また省略可能な場合もある。   In FIG. 4, 16, 17 and 18 are a power supply bus, a data bus and GND, respectively. 50 is a switch for turning on and off the original load 57 (this is actually a part that provides convenience to the user), and 55 is a microprocessor that generates a load object. Although the current consumption is basically detected by the resistor 51, since the current consumption state of 57 is known, data may be obtained from the microprocessor 58 that controls 57 via the communication path 56. Of course, 55 and 58 are the same processor. Reference numeral 59 denotes a capacitor for mitigating an instantaneous interruption of the power supply bus 16 or a sudden voltage change when the power supply object is replaced. An electric double layer capacitor, an auxiliary secondary battery, or the like can be used. In some cases, it can be omitted.

以下にオブジェクト例を示す。

Figure 0005234039

An example object is shown below.
Figure 0005234039

(5−2)発電負荷オブジェクト
例えば、最終負荷としてモータを考える。モータがトルクを発生している特は、負荷オブジェクトは純粋に負荷であって、そこから電力が生まれてくる事はない。しかしながら、モータを外部より強制的に回転させる力が働くとき(例えば、電動自転車で、モータには電力供給をせずに、慣性力により逆にモータを駆動するとき)には、負荷オブジェクトが回生制動をサポートしているならば、このオブジェクトは電源供給オブジェクトとも成り得る。しかしながら、この様なオブジェクトの実用化には次の問題がある。
(5-2) Power Generation Load Object For example, consider a motor as the final load. The characteristic that the motor generates torque is that the load object is purely a load, and no electric power is generated from it. However, when a force for forcibly rotating the motor from the outside works (for example, when the motor is driven by inertia force without supplying power to the motor with an electric bicycle), the load object is regenerated. If it supports braking, this object can also be a power supply object. However, the practical use of such objects has the following problems.

即ち、電源バスシステムは、システムのアドレスポーリングタイミングに同期してのみ、電源供給オブジェクトの切り替えを行う事が可能で、システムに非同期に電力発生モードになる訳にはいかない。従って、該当オブジェクト内にこれを解決する手段が要るが、これは具体的には補助充電池や電気二重層コンデンサの様な蓄電手段を設けることになろう。しかもこの補助電源による電力はこのオブジェクト内で使用する様な構築とするのが実用的であるので、単に負荷オブジェクトとして定義するのが最適である。   That is, the power supply bus system can switch the power supply object only in synchronization with the address polling timing of the system, and the power generation mode cannot be asynchronously entered into the system. Therefore, a means for solving this is required in the corresponding object. Specifically, this means that a power storage means such as an auxiliary rechargeable battery or an electric double layer capacitor will be provided. Moreover, since it is practical to construct the power used by this auxiliary power source to be used in this object, it is optimal to simply define it as a load object.

ただし、電源供給オブジェクト、負荷オブジェクトからの継承で生成できないと言う訳ではない。   However, it cannot be said that it cannot be generated by inheritance from the power supply object and load object.

6.オブジェクトの継承
(6−1)二次電池のモデル化
二次電池や一時ストレージ等、ある時は電源供給源となるが、ある時は電力消費者(負荷)となるものは電源供給オブジェクトと負荷オブジェクトよりそれぞれの性質を継承して生成するのが適当である。
6). Inheritance of objects (6-1) Modeling of secondary batteries Secondary batteries, temporary storage, etc., sometimes become a power supply source, but in some cases, power consumers (loads) are power supply objects and loads It is appropriate to create by inheriting each property from the object.

図2において、DC電源10をバッテリーと考えると、この図はそのままバッテリーオブジェクトの内部構成をとなる。この他にバッテリーの保護回路としてのヒューズや温度検出素子等、すでに実用化されている各種構成要素が含まれるが、本発明の趣旨に無関係なので省略する。   In FIG. 2, when the DC power source 10 is considered as a battery, this figure is the internal configuration of the battery object as it is. In addition to this, various components that have already been put into practical use, such as a fuse and a temperature detection element as a battery protection circuit, are included, but are omitted because they are not relevant to the gist of the present invention.

以下にオブジェクトモデル例を示すが、これ以外の定義の仕方も存在するし、また新データや新機能をつけ加える事もある。

Figure 0005234039


ここで、関数の中身(実装方式)は設計項目でありその具現化方式そのものは本発明とは直接の関係はなく、例えばバッテリー残量計算や表示アルゴリズムはすでにカムコーダなどで実現されている。 Examples of object models are shown below, but there are other ways to define them, and new data and new functions may be added.
Figure 0005234039


Here, the content of the function (implementation method) is a design item, and the realization method itself is not directly related to the present invention. For example, the battery remaining amount calculation and the display algorithm are already realized by a camcorder or the like.

バッテリーをこの様なクラスとして定義すると、負荷オブジェクトは以下の情報を知る事ができる。
{1} 現負荷に対してバッテリーが使用可能か
{2} 現在のバッテリーの残容量
{3} 現在使用しているバッテリーの(期待)寿命。
When a battery is defined as such a class, the load object can know the following information.
{1} Is the battery usable for the current load? {2} The remaining capacity of the current battery {3} The (expected) life of the battery currently in use.

また、バッテリーの型名等は負荷オブジェクトには興味ない事がらであるが、バスラインに電源ブロックエミュレータを接続すれば、各ブロックの情報を読み出せ、サービス等に役立てる事も可能となる。従って、これらの補助情報をオブジェクトに持たせる場合もある。   In addition, although the battery model name is not interested in the load object, if a power block emulator is connected to the bus line, the information of each block can be read and used for services and the like. Accordingly, there are cases where the object has such auxiliary information.

(6−2)一時エネルギーストレージオブジェクト
これは、電気二重層コンデンサ等の大容量コンデンサを使用した、一時的に電圧を貯える事を主機能とするオブジェクトである。図3にブロック図を示すが、DC電源の部分が電気二重層コンデンサ20に置き換わっただけで、他は図2と変わらない。マイクロプロセッサ19は14より電源が常に供給されるが、もちろん20に貯えられている電力が放電すれば動作を停止する。そのため21の様に電力ラインから電力供給を受けるルートを用意しておく。また、電気二重層コンデンサ20は16を経由して充電されることも可能であるが、16を経由せずに、全く別の経路で外部より充電される場合(例えば、電磁誘導により電力バス16を介さずに)もある。
(6-2) Temporary Energy Storage Object This is an object whose main function is to temporarily store a voltage using a large capacity capacitor such as an electric double layer capacitor. Although a block diagram is shown in FIG. 3, only the part of the DC power source is replaced with the electric double layer capacitor 20, and the rest is the same as FIG. The microprocessor 19 is always supplied with power from 14, but of course the operation is stopped when the electric power stored in 20 is discharged. Therefore, a route for receiving power supply from the power line is prepared as in 21. In addition, the electric double layer capacitor 20 can be charged via 16; however, when the electric double layer capacitor 20 is charged from the outside through a completely different route without passing through 16 (for example, the power bus 16 by electromagnetic induction). Without).

電気二重層コンデンサの容量は現在、0.1F程度から100F程度が容易に入手できるが、この部分は用途によっては通常の電解コンデンサも使用可能であり、この時は容量は10μF程度から、数千μFであろう。従って、容量範囲が広いのでμFを単位として、その係数を別途定義しておく。   The capacity of electric double layer capacitors can be easily obtained from about 0.1 F to about 100 F at present, but a normal electrolytic capacitor can be used for this part depending on the application. At this time, the capacity is from about 10 μF to several thousand. It will be μF. Therefore, since the capacitance range is wide, the coefficient is separately defined in units of μF.

これをオブジェクトとして抽象化したものを次の例に示す。

Figure 0005234039

The following example shows an abstraction of this as an object.
Figure 0005234039

[第2部 電源オブジェクトモデルによる電源バスシステムの構築]
1.基本システムの構築
前項までで、電源の各ブロックのオブジェクトモデル化は完了したが、これを実際のバスライン上にインプリメントするためには、さらに次の様な機能を定義する必要がある。
[Part 2: Building a power bus system using a power object model]
1. Basic system construction Up to the previous section, the object modeling of each block of the power supply has been completed, but in order to implement this on the actual bus line, it is necessary to further define the following functions.

まず始めに、今回のバスシステム(電源、GND、データの3線式を仮定する)に電源の各ブロックを任意のタイミングで接続、切断を行う方式を説明する。   First, a method of connecting and disconnecting each block of the power supply at an arbitrary timing to the current bus system (assuming a three-wire system of power supply, GND, and data) will be described.

図5において、63はバスライン上に用意されたバス管理手段である。このバス管理手段は本報告でいうオブジェクトとは別のものである。この部分は実際にはマイクロプロセッサで構成され、電源は電源バスから供給される。すなわち、バスライン上に電源供給オブジェクトが接続されない限り動作は開始しない。61はデータラインのプルアップ抵抗、62はマイクロプロセッサよりのアドレス管理データをデータバスに出力するためのもので、データラインは各電源オブジェクトとの間でワイアードオアとなっている。64は電源オブジェクトの一例である(ここでは、データラインがワイアードオアとなっているのを図示するのが目的なので詳細は省略する)。   In FIG. 5, 63 is a bus management means prepared on the bus line. This bus management means is different from the object in this report. This part is actually constituted by a microprocessor, and power is supplied from a power supply bus. That is, the operation does not start unless a power supply object is connected to the bus line. 61 is a pull-up resistor for the data line, 62 is for outputting address management data from the microprocessor to the data bus, and the data line is wired OR with each power supply object. Reference numeral 64 is an example of a power supply object (here, the details are omitted because the purpose is to show that the data line is wired-or).

バス管理手段63は、それに電源が供給され動作を開始すると図6に示す様に、ある決まった数N(Nの詳細については第3部、1、アドレスフォーマット参照)のアドレスパルスを、サイクリックに発生する。アドレスパルスと次のアドレスパルスの間にはそれらのアドレスに対応するデータをデータバス上に出力する時間tが割り当てられている。図7は実際のデータパルス波形を示す。図ではアドレスに4ビット分を割り当てているが、最初は常に0で、アドレスのスタートを表現するため、最大アドレス数は8である。なお、アドレス数の最大はもちろん8に制限されないし、またバス管理手段にはリチウム電池等のバッテリーをあらかじめ装着しておいてもいい。   When the power is supplied to the bus management means 63 and the operation is started, as shown in FIG. 6, a predetermined number N of address pulses (refer to Part 3, 1, address format for details of N) are cyclically displayed. Occurs. A time t for outputting data corresponding to these addresses on the data bus is assigned between the address pulse and the next address pulse. FIG. 7 shows an actual data pulse waveform. In the figure, 4 bits are allocated to the address, but the initial number is always 0, and the maximum number of addresses is 8 to express the start of the address. Of course, the maximum number of addresses is not limited to 8, and a battery such as a lithium battery may be mounted in advance in the bus management means.

以上の様な準備をしておいて、次に実際のアドレスの割り当ておよび通信の方式を示す。   With the above preparation, the actual address assignment and communication method will be described below.

(1)アドレス設定モード
バスの状態には大きく分けて、各オブジェクトのアドレスを設定中の状態と、アドレスが確定してオブジェクト間でデータ通信を行っている状態がある。前者をアドレス設定モード、後者をデータ通信モードと定義する。アドレス設定モードは後述する様にアドレス設定プロセスとアドレス確認プロセスから構成される。
(1) Address setting mode The state of the bus can be broadly divided into a state in which the address of each object is being set and a state in which data communication is performed between objects after the address is fixed. The former is defined as an address setting mode, and the latter is defined as a data communication mode. The address setting mode includes an address setting process and an address confirmation process as will be described later.

アドレス設定モードは負荷オブジェクトがすでに接続された電源バスシステムに電源供給源オブジェクトが始めて接続された場合や、オブジェクトからエラー信号が発生され、再度電源システムの再構築が必要な場合に発生する。バスシステムがデータ通信モード中に新規オブジェクトが追加あるいは取り外しをされた場合には、アドレス設定はデータ通信モードの中で可能なので、アドレス設定モードとならない。(ただし、アドレス設定モードにする様にインプリメントする事はもちろん可能である。)詳細は後述する。   The address setting mode occurs when the power supply source object is first connected to the power bus system to which the load object is already connected, or when an error signal is generated from the object and the power system needs to be reconstructed. When a new object is added or removed while the bus system is in the data communication mode, the address setting is possible in the data communication mode, so the address setting mode is not entered. (However, it is of course possible to implement the address setting mode.) Details will be described later.

(1−1)アドレス設定プロセス
バスライン上に接続されたオブジェクトにアドレスが定義されていない状態で、電源が入りアクティブになったとき、最初に各オブジェクトにアドレスが定義される。これをアドレス設定プロセスと呼ぶ事にする。
(1-1) Address setting process When the power is turned on and activated in the state where the address is not defined in the object connected on the bus line, the address is first defined in each object. This is called an address setting process.

ここで実施しようとしているのは、全く同じタイミングに全く同じアルゴリズムを持った各オブジェクトが、一本のデータバスラインを共有しながら、それぞれを区別しようとするものである。このためには、共通のバスラインに何個のオブジェクトが接続されているかの判定と、それらの区別が必要である。これを例えばアナログ的に実施するならば、プルアップされたデータラインに各オブジェクトが同一のインピーダンスでプルダウンし、データラインのDCレベルを観測する方式が考えられる。(すなわち、オブジェクトの数に対応したDCレベルが観測される。)これを認識し、オブジェクトを一つずつ切り離していき、最後に残ったものに、まず一つのアドレスを与え、その既存アドレスを得たオブジェクト以外のオブジェクトに対して同じ事を繰り返す。この場合でも、同一アルゴリズムを持ったオブジェクトでは、どれを切り離すかの判定が(各オブジェクト自身)できない。そのため、各オブジェクトに乱数を発生させる機能を用意し、その値によってどのオブジェクトを切り離すか(あるいは残すか)をオブジェクト自身に判断させる。つまり、オブジェクト間で一種じゃんけんをして決める方式である。   What is to be implemented here is that each object having the same algorithm at exactly the same timing tries to distinguish each other while sharing one data bus line. For this purpose, it is necessary to determine how many objects are connected to a common bus line and to distinguish them. If this is performed, for example, in an analog fashion, a method may be considered in which each object pulls down the pulled-up data line with the same impedance, and the DC level of the data line is observed. (In other words, a DC level corresponding to the number of objects is observed.) Recognizing this, the objects are separated one by one, and one address is given to the last remaining one to obtain its existing address. Repeat for other objects. Even in this case, it is not possible to determine which of the objects having the same algorithm is to be separated (each object itself). Therefore, a function for generating a random number is prepared for each object, and the object itself determines which object is to be separated (or left) according to the value. In other words, it is a method of deciding by doing a kind of junk between objects.

このような考えを、完全にディジタル的に実施したものを以下に述べる。   The following is a complete digital implementation of this idea.

ここでは、最大8個の電源オブジェクトのアドレス設定について説明するが、もちろんこの数は8に制限される訳ではない。図8に示すようにすべてのアドレスパルスのあとには固定長lの後b0からb7まで8ビット分のアドレス投票区間が用意される。バスラインに接続されているすべての電源オブジェクトは、8ビット長のうちだだ1ビットのみが“1”であるパルス(即ち、データとしては1,2,4,8,16,32,64,128のうちの一つ)をランダムに発生し、この区間で同時に投票(出力)する。   Here, the address setting of a maximum of eight power supply objects will be described, but of course this number is not limited to eight. As shown in FIG. 8, an address voting interval of 8 bits from b0 to b7 is prepared after a fixed length l after all address pulses. All the power supply objects connected to the bus line are pulses of which only 1 bit out of 8 bits is “1” (that is, 1, 2, 4, 8, 16, 32, 64, One of 128) is randomly generated and voted (output) simultaneously in this interval.

図9はその様な投票例であり、オブジェクト1から8までがそれぞれ、b6、b4、b5,b3,b2、b0、b0、b7に投票した場合である。従って、これらのオア出力は最下段に示す様に、11111101となる。さて、各オブジェクトはこのオア出力と自分が投票した出力をたよりにアドレスを設定していく。図9のオア出力をみれば、LSB側に一番近いビットで“1”になった場所(この場合はb0でLSBそのもの)がわかる。ここに投票したオブジェクトをアドレスmに設定するため、次のアドレスパルス発生タイミング(この時mをインクリメントしてもかまわないが、ここでは簡単のため最終的にアドレスが決定されるまでは、アドレスのインクリメントは行わないとする。つまりアドレスmが設定完了するまで、アドレスmがバス管理手段により出力される。)の投票権をこれらのオブジェクトだけに与える(投票権を自分が有しているかどうかは各オブジェクト自身が知る事ができ、しかも他のオブジェクトがどう投票したかについて一切知らなくていい点が重要である)。この場合オブジェクト6と7が投票権を得て、図10に示す様に、再度投票する。この時はb2、b4にそれぞれ投票し、オア出力は00010100が得られた。ここでオア出力にはまだ2ビット以上“1”が存在するので、以前と同様にLSB側に一番近いビットで“1”になった場所に対応するオブジェクトが次回の投票権を得る。この投票の様子を示したのが図11で、ここではオブジェクト6のみが投票をし、オア出力とオブジェクトの投票ビット位置が一致する。この段階で暫定的にオブジェクト6にアドレスmを付与する。   FIG. 9 shows an example of such voting, where objects 1 to 8 vote for b6, b4, b5, b3, b2, b0, b0, and b7, respectively. Therefore, these OR outputs are 11111101 as shown in the lowermost stage. Now, each object sets an address based on this OR output and the output that it voted for. From the OR output in FIG. 9, the location where the bit closest to the LSB side becomes “1” (in this case, the LSB itself at b0) can be seen. Since the object voted here is set to the address m, the next address pulse generation timing (m may be incremented at this time, but here, for simplicity, until the address is finally determined, It is assumed that the increment is not performed, that is, the address m is output by the bus management means until the address m is completely set. It is important that each object knows itself and that it is not necessary to know at all how other objects voted). In this case, the objects 6 and 7 have the right to vote and vote again as shown in FIG. At this time, voting was performed for b2 and b4, respectively, and an OR output of 0,010,100 was obtained. Here, since the OR output still has “1” of 2 bits or more, the object corresponding to the place where “1” is obtained at the bit closest to the LSB side as before, gets the next voting right. FIG. 11 shows the state of this voting. Here, only the object 6 votes, and the OR output and the voting bit position of the object match. At this stage, an address m is provisionally assigned to the object 6.

ここで暫定的というのは、各オブジェクトが発生する投票場所は全く確率的なもので、たとえば図9でオブジェクト6、7が同じビットに投票すると、6、7に同じアドレスmを付与してしまう。そこで、この問題をさけるためのアドレス確認プロセスを入れるが、これについては後述する。   Here, provisional means that the voting place where each object is generated is quite probabilistic. For example, if the objects 6 and 7 vote for the same bit in FIG. 9, the same address m is assigned to 6 and 7. . Therefore, an address confirmation process for avoiding this problem is included, which will be described later.

さて、確認プロセスも通過して、上記の様に、オブジェクト6のアドレスがmに確定すると投票権が消滅し、オブジェクト6を除く1から8について、アドレスm+1、m+2・・・において同様の操作を行う。これを繰り返す事で、最終的にすべてのオブジェクトのアドレスが確定する。   Now, after passing through the confirmation process, as described above, when the address of the object 6 is fixed to m, the voting right is lost, and the same operation is performed on the addresses m + 1, m + 2,. Do. By repeating this, the addresses of all objects are finally determined.

アドレス設定プロセスである事は、バス管理手段がアドレス0のタイミングで発行するデータ中の値で判別する(コマンド=0x00)。詳細は後述する。

Figure 0005234039

The address setting process is determined by the value in the data issued by the bus management means at the timing of address 0 (command = 0x00). Details will be described later.
Figure 0005234039

(1−2)アドレス確認プロセス
オブジェクトにアドレスmが暫定割り当てされたならば、アドレス確認プロセスに入る。このプロセスでは、バス管理手段により発生させられたアドレスmに対して、それぞれ自分のデータを出力し、データバス上の情報(オアデータ)と自分自身のデータを比較する。(図12参照)
アドレス確認プロセスであることはバス管理手段のアドレス(0)の後にバス管理手段より発行される以下のデータにより判別できる(コマンド0x01がアドレス確認プロセスを示す)。(データのフォーマットについては第3部参照。)

Figure 0005234039


各パケットは、この情報により現在のバスのモードを知る事ができ、暫定アドレスを取得したオブジェクトは、自分の暫定アドレスに続いて自分のデータを出力する。 (1-2) Address Confirmation Process If the address m is provisionally assigned to the object, the address confirmation process is entered. In this process, each data is output to the address m generated by the bus management means, and the information (or data) on the data bus is compared with its own data. (See Figure 12)
The address confirmation process can be determined by the following data issued by the bus management means after the address (0) of the bus management means (command 0x01 indicates the address confirmation process). (See Part 3 for data format.)
Figure 0005234039


Each packet can know the current bus mode from this information, and the object that acquired the temporary address outputs its own data following its temporary address.

この時のフォーマットはつぎのとおりである。

Figure 0005234039


宛先アドレスは自分自身のアドレスであり(この様に決めておく)、コマンドはアドレス確認プロセスである事を示す値(0x01)であるが、パラメータに関しては、自分に固有のものを出力する。例えば、パラメータとしてシリアル番号を出力すれば、二つ以上のオブジェクトの固有データのオアを見ることで、自分以外に同時に出力した別オブジェクトの存在が認識できる。 The format at this time is as follows.
Figure 0005234039


The destination address is its own address (determined in this way), and the command is a value (0x01) indicating that it is an address confirmation process, but parameters unique to itself are output. For example, if a serial number is output as a parameter, it is possible to recognize the existence of another object that is output at the same time other than itself by looking at the OR of the unique data of two or more objects.

ここで、アドレス重複が検出されたならば、再度アドレス設定プロセスを通過させる。   Here, if address duplication is detected, the address setting process is passed again.

上記(1−1)、(1−2)のアドレス設定、確認プロセスのフローチャートを図13に示す。なお、図13の動作はその記述内容から容易に理解できるので詳細な説明は省略する。   FIG. 13 shows a flowchart of the address setting and confirmation processes (1-1) and (1-2). Note that the operation of FIG. 13 can be easily understood from the description, and thus detailed description thereof is omitted.

(2)データ通信モード
上記(1−1)、(1−2)項のプロセスを経る事で、各電源オブジェクトのアドレスは一義的にきまる。この後バス管理手段プロセッサは、アドレスを定期的に発行し、それに対応するオブジェクトは自分の存在を示すため、データをバスライン上に出力する。これにより、アドレスが一巡すると、バスライン上にあるすべてのオブジェクトは他のオブジェクトの属性とアドレスを共有する。また、このモードではオブジェクト間同士の通信が行われる。この状態をデータ通信モードと定義する。データのフォーマット等詳細については3部で詳述する。
2.オブジェクトの追加、削除(システムの動的再構築)
オブジェクトが電源バスに追加されたときに、そのデータラインを見る事によって、現在他のアドレスがすべて確定しているか、あるいは確定中かがわかる。すべて確定しているならば、空いているアドレス(つまり、アドレスのあとのデータ部分が空)に続けて、自分のデータを出し始めるだけでいい。バス管理手段プロセッサや、他のオブジェクトは、アドレスのあとにデータが入ってきたのを見て、オブジェクトの追加を認識する。確定中ならば、確定するまで待って、その後同様の動作を開始する。
(2) Data communication mode The address of each power supply object is uniquely determined by going through the processes of the above items (1-1) and (1-2). Thereafter, the bus management means processor periodically issues an address, and since the corresponding object indicates its existence, it outputs data on the bus line. As a result, when the address makes a round, all objects on the bus line share the attributes and attributes of other objects. In this mode, communication between objects is performed. This state is defined as a data communication mode. Details of the data format and the like will be described in detail in Part 3.
2. Adding and deleting objects (dynamic system rebuild)
When an object is added to the power bus, by looking at its data line, it can be seen whether all other addresses are currently or are being established. If everything is confirmed, you can simply start issuing your own data following the free address (ie, the data part after the address is empty). The bus management means processor and other objects recognize the addition of the object by seeing that data has entered after the address. If it is confirmed, wait until it is confirmed, and then start the same operation.

これ以降は各オブジェクトが必要に応じて、情報の要求、自発的送信を行う。   Thereafter, each object requests information and sends it spontaneously as necessary.

オブジェクトの削除により、そのアドレスに対応するデータが無くなる(ただし、唯一の電源供給オブジェクトが削除されたときは、システムはそのまま停止する)と、各オブジェクトはこれにより、そのアドレスに付随するオブジェクトの消滅を検出する。この時、管理機能プロセッサはアドレス詰めを行ってもいいし、とりあえずそのアドレスを空きにしておいてもいい(アドレスを現在のオブジェクト数+1だけポーリングする実装では、アドレス詰めが必須。しかしすべてのアドレスをポーリングする実装ではどちらでもいい)。いずれにしても、オブジェクトの情報はサイクリックにバス上に出力されるので、すべてのオブジェクトは情報の共有が可能である。   When an object is deleted, the data corresponding to that address disappears (however, when the only power supply object is deleted, the system stops as it is), each object will thereby disappear the object associated with that address. Is detected. At this time, the management function processor may perform address padding or leave the address empty for the time being (in the implementation in which the address is polled by the current number of objects + 1, it is necessary to pad the address. Can be used in any implementation that polls. In any case, since object information is cyclically output on the bus, all objects can share information.

[第3部 電源バスシステムの制御体系]
これまでに、第1部で電源を構成する主要ブロックのオブジェクト化について述べ、第2部で実際の電源システムが如何に構築、維持され、また動的に再構築されるかの概要を説明した。第3部では、これらの構築、維持に使用されるコマンド体系(API群)およびそのフォーマットについて説明する。
[Part 3 Power Bus System Control System]
So far, the first part described objectification of the main blocks that make up the power supply, and the second part explained the outline of how an actual power supply system was constructed, maintained, and dynamically rebuilt. . In Part 3, the command system (API group) used for construction and maintenance of these and its format will be described.

なお、以下に示すコード類で総バイト数や宛先アドレスについて、チェックサムを別にしているので注意されたい。   Note that the checksums are separate for the total number of bytes and destination address in the following codes.

1.アドレスフォーマット
各オブジェクトのアドレスはバス管理機能プロセッサよりサイクリックに発生され、その長さは7ビット(従って、最大アドレス数は128であるが、バス管理プロセッサのアドレスを0、ブロードキャストアドレスを127と定義する)。このアドレスの間に各オブジェクトが自分のデータをバスラインに乗せる事ができる。この部分のフォーマットを図14に示す。
1. Address format The address of each object is generated cyclically by the bus management function processor, and its length is 7 bits (therefore, the maximum number of addresses is 128, but the bus management processor address is defined as 0 and the broadcast address is defined as 127). To do). Each object can place its own data on the bus line during this address. The format of this part is shown in FIG.

図において100はバス管理機能プロセッサが発生するアドレスであり、先頭(MSB)は常に0、そのあと7ビットのアドレスが続く。なお、このアドレス部はアドレス設定モード以外は、単純にインクリメントされていくのでチェックサムは用意していない。   In the figure, 100 is an address generated by the bus management function processor, the head (MSB) is always 0, followed by a 7-bit address. Since this address portion is simply incremented except in the address setting mode, no checksum is prepared.

このアドレスの値については次の規定を設ける。
アドレス0(0x00);これはバス管理機能プロセッサのアドレスと定義する。
アドレス127(0x7F);これはブロードキャストアドレス。すべてのオブジェクトはこれに続くデータに反応するようになっている。
The following rules are set for the value of this address.
Address 0 (0x00); this is defined as the address of the bus management function processor.
Address 127 (0x7F); this is a broadcast address. All objects will respond to the data that follows.

従って、実際にオブジェクトに使用可能なアドレスは1から126までの126個である。   Accordingly, 126 addresses from 1 to 126 can be actually used for the object.

また、バス管理手段が発生するアドレスは0から126まですべてサイクリックに発生する方式と、アドレス設定モード内のみ、すべてのアドレスを発生し、データ通信モードでは実際に接続されているオブジェクトの数+1(つまり、新規追加オブジェクトの追加空きスペース)として周期を短くする方式がある。   In addition, the addresses generated by the bus management means are all cyclically generated from 0 to 126, and all addresses are generated only in the address setting mode. In the data communication mode, the number of objects actually connected + 1. There is a method of shortening the cycle as (that is, an additional empty space of a newly added object).

2.パケットの最大値
1パケットを次の様に定義する。

Figure 0005234039


このパケットが一つのアドレスのデータ部分に、最小1個(3バイト)、最大127個(381バイト)存在する。この3バイトを一単位とする総パケット数を各オブジェクトおよびデータバス管理手段プロセッサが発信するデータの先頭に置く。(図14の101)この値を見ることで、何個のコマンドパケットが存在するか分かるとともに、この数でパケットの同期を取る。 2. Maximum value of packet One packet is defined as follows.
Figure 0005234039


There is a minimum of one packet (3 bytes) and a maximum of 127 packets (381 bytes) in the data portion of one address. The total number of packets having 3 bytes as a unit is placed at the head of the data transmitted by each object and the data bus management means processor. (101 in FIG. 14) By looking at this value, it can be known how many command packets exist, and the number of packets is synchronized.

3.アドレス発生周期の最大値
図15において101以降が、各オブジェクトが発信するデータである。
3. Maximum value of address generation cycle In FIG. 15, 101 and subsequent data is data transmitted by each object.

その基本単位は最小3バイトによるパケットであり、パケット数、通信先のアドレス、通信先に対するコマンド、そしてコマンドの引数(パラメータ)より構成される。   The basic unit is a packet with a minimum of 3 bytes, and is composed of the number of packets, the address of the communication destination, a command for the communication destination, and an argument (parameter) of the command.

アドレスで指定されたオブジェクトがいくつのパケット数を送信するかを示すのが、101のパケット数表示バイトであり、LSBをチェックサムとしているため、最小1、最大127である。   The number of packets sent by the object specified by the address is 101 packet number display bytes. Since LSB is used as a checksum, the minimum is 1 and the maximum is 127.

図16に一サイクルの通信形態と、100kbpsの速度で通信した場合の概略時間を示す。情報パケットの最小は3バイト(パケット数、宛先アドレス、コマンド)であるから、同期のための空白ビット等のオーバーヘッドを無視すると最小 4x127(最大アドレス数)=509バイト
最大 (1+3x127)x127=48.5Kバイト
となり、100Kbpsの通信速度なら、一サイクルは
最小 41mS
最大 約3.8秒
となる。最大値は、すべてのアドレスをポーリングし、すべてのアドレスがおのおの127バイトのデータを有するときの値であるので、実用的にはこれより十分短い。
FIG. 16 shows a communication form of one cycle and an approximate time when communication is performed at a speed of 100 kbps. Since the minimum information packet is 3 bytes (number of packets, destination address, command), neglecting overhead such as blank bits for synchronization, the minimum is 4 × 127 (maximum number of addresses) = 509 bytes maximum (1 + 3 × 127) × 127 = 48. If the communication speed is 5 Kbytes and 100 Kbps, one cycle is a minimum of 41 ms.
The maximum is about 3.8 seconds. Since the maximum value is a value when all addresses are polled and each address has 127 bytes of data, it is practically shorter than this.

4.コマンド発生形態
図17に各オブジェクトからのコマンドの発信状況および、コマンドに対する回答状況を示す。すべてのコマンドの発信とその回答は1対1になる様に設計され、必ずハンドシェークとなる。アドレスの発生周期1、2、3はこの順に連続している。例えばオブジェクト1(アドレス1をアサインされたオブジェクト)がnに対してコマンドを発行(204)すると、オブジェクトnはこの内容を発行直後に(つまり、例えば206のタイミングまで待たずに)認識できる。そこでこれに対する回答を用意しておき、自分のデータ発信タイミング(これが206)で実際に情報発信を行う。また、オブジェクトnは複数のアドレスにデータを送信できるので、例えばオブジェクト2に対する回答(207)やオブジェクト3に対するコマンド発信(208)が、自分の割り当てタイミング(つまりアドレスnを受け取ったあと)の中で可能である。
4). Command Generation Form FIG. 17 shows a command transmission status from each object and a response status to the command. All commands are sent and their responses are designed to be one-to-one, and handshaking is always performed. Address generation cycles 1, 2, and 3 are consecutive in this order. For example, when object 1 (the object assigned address 1) issues a command to n (204), object n can recognize this content immediately after issuance (that is, without waiting for the timing 206, for example). Therefore, an answer to this is prepared, and information is actually transmitted at the timing of data transmission (this is 206). Also, since object n can transmit data to a plurality of addresses, for example, an answer (207) to object 2 or a command transmission (208) to object 3 is within its own allocation timing (that is, after receiving address n). Is possible.

命令や情報要求(これらはすべてコマンドと総称する)に対する、動作完了や回答時に使用するコマンドは、返答コマンドとして定義した。(コード0x26)
また、同一宛先に対して複数の命令を送る事も可能で、この時は宛先アドレス−コマンド−パラメータのシーケンスを繰り返し、また回答はコマンド順に発生すると定義する。(212、213)
コマンドに対する回答のペアはネストを禁止してあり、コマンド−回答の間でエラーが発生した場合には、再度コマンドを発行する等で対処する。また、コマンドを自分自身に対して発行する事も可能であり、例えば負荷オブジェクトをオンするコマンドを負荷オブジェクト自身が発行すれば、バスラインに接続されている他のオブジェクトもこの情報が共有できる。これにより電源供給源オブジェクトは、電流が増えた事を検出せずに、負荷が接続されて事が知れる。
A command used when an operation is completed or answered in response to an instruction or an information request (all are collectively referred to as a command) is defined as a response command. (Code 0x26)
It is also possible to send a plurality of commands to the same destination. At this time, the destination address-command-parameter sequence is repeated, and the answers are defined to occur in the order of commands. (212, 213)
Nesting is prohibited in the answer pair for the command, and when an error occurs between the command and the answer, the command is reissued. It is also possible to issue a command to itself. For example, if the load object itself issues a command to turn on the load object, other objects connected to the bus line can share this information. As a result, the power supply source object knows that the load is connected without detecting that the current has increased.

5.バスのモード
電源バスには上述した様に、アドレス設定モードとデータ通信モードがあるが、これの違いはバス上で以下の様に表明される。
5. Bus mode As described above, the power bus has an address setting mode and a data communication mode. The difference between them is expressed on the bus as follows.

アドレス0はバス管理機能プロセッサのアドレスであり、その後に最小3バイトのデータパケットが存在する。(この形式は他のオブジェクトと同じ)。   Address 0 is the address of the bus management function processor, followed by a data packet of a minimum of 3 bytes. (This format is the same as other objects.)

このデータパケットを用いて、上記モードの表明を行う。

Figure 0005234039


これらのモードの遷移は一サイクル(すべてのアドレスポーリング完了まで)単位となる。 The mode is asserted using this data packet.
Figure 0005234039


These mode transitions are in units of one cycle (until all address polling is completed).

6.オブジェクト属性発信体系
電源バスがデータ通信モードになると、各オブジェクトは自身の属性をブロードキャストする。この時のデータの形式は以下の様になる。

Figure 0005234039


各オブジェクトはアドレスとそれに付随するコマンド、パラメータを読む事により、現在の電源バスライン上にどのような属性のものが接続されているかが知れる。さらに詳しい情報は必要なオブジェクトが相手先に問い合わせ、認識できる。 6). Object attribute transmission system When the power bus enters the data communication mode, each object broadcasts its own attributes. The data format at this time is as follows.
Figure 0005234039


Each object can know what attribute is connected to the current power supply bus line by reading the address and the command and parameter associated therewith. For more detailed information, necessary objects can inquire and recognize the other party.

7.コマンド体系および使用例
本明細書はコマンド体系全体についての仕様書ではないので、いくつかの使用例におけるコマンド(API)群について記述する。なお、ここでいうコマンドは広い意味であり、内容的には情報要求命令、要求情報回答、動作命令、モード表明等を含んでいる。
7). Command System and Usage Examples Since this specification is not a specification for the entire command system, commands (APIs) in some usage examples will be described. Note that the command here has a broad meaning, and includes an information request command, a request information response, an operation command, a mode statement, and the like.

(7−1)データバス管理コマンド
データバス管理コマンドとしてはつぎのものがある。

Figure 0005234039

(7-1) Data bus management command Data bus management commands include the following.
Figure 0005234039

(7−2)データ通信モード中に使用されるコマンド
データ通信モード中に使用されるコマンドとしてはつぎのようなものがある。

Figure 0005234039

(7-2) Commands used during the data communication mode The commands used during the data communication mode are as follows.
Figure 0005234039

(7−3)例外コマンド
本アーキテクチャのフォーマットに準拠しない、固有のデータやコマンド等を通信するためのラッパとして次のものを定義する。

Figure 0005234039


以下、実際の応用例である
Figure 0005234039


パラメータ中に固有情報を挿入するが、その長さはmパケット(3mバイト)となるように調節し、最大127パケット(3x127バイト)である。 (7-3) Exception Command The following are defined as wrappers for communicating unique data, commands, etc. that do not conform to the format of this architecture.
Figure 0005234039


The following is an actual application example
Figure 0005234039


Specific information is inserted into the parameter, but the length is adjusted to be m packets (3 mbytes), and the maximum is 127 packets (3x127 bytes).

(7−4)データ通信モード中での他のオブジェクトに対する情報要求例
(第1部4−1参照)
負荷オブジェクト(アドレス8)がバスライン上の電源供給オブジェクト(アドレス2)に対し、その詳細情報要求例を示す。

Figure 0005234039


ここに、コマンド0x14はオブジェクトに対するスイッチデータ情報要求、パラメータ0x00は単にスペースを埋めるためのもの、電源供給オブジェクトが発行したコマンドは0x15でコマンドに対する返事を表現し、パラメータ0x00は、スイッチがオフである。 (7-4) Information request example for other objects in data communication mode (refer to Part 4-1)
A detailed information request example is shown for the load object (address 8) to the power supply object (address 2) on the bus line.
Figure 0005234039


Here, the command 0x14 is a switch data information request for the object, the parameter 0x00 is merely for filling the space, the command issued by the power supply object represents the reply to the command with 0x15, and the parameter 0x00 is that the switch is off. .

8.クラス一覧
以下、クラスの一覧を示す。
8). List of classes Below is a list of classes.

(8−1)基本クラス
基本クラスはつぎのように記述される。

Figure 0005234039

(8-1) Basic class The basic class is described as follows.
Figure 0005234039

(8−2)電源供給オブジェクト
電源供給オブジェクトはつぎのように記述される。

Figure 0005234039

(8-2) Power Supply Object The power supply object is described as follows.
Figure 0005234039

(8−3)チャージャ
チャージャはつぎのように記述される。

Figure 0005234039

(8-3) Charger The charger is described as follows.
Figure 0005234039

(8−4)負荷
負荷はつぎのように記述される。

Figure 0005234039

(8-4) Load The load is described as follows.
Figure 0005234039

(8−5)二次電池
二次電池はつぎのように記述される。

Figure 0005234039

(8-5) Secondary Battery The secondary battery is described as follows.
Figure 0005234039

(8−6)一時電源
一時電源はつぎのように記述される。

Figure 0005234039


つぎに、電源および負荷が1つずつの最も基本的な例を用いて具体的に説明する。 (8-6) Temporary power supply The temporary power supply is described as follows.
Figure 0005234039


Next, a specific description will be given using the most basic example of one power source and one load.

図18において、バスコントローラ301に電源バスライン302、GNDバスライン303およびデータバスライン304が接続されている。これらバスラインにコネクタ307および308を介して電源305および負荷306がそれぞれ接続されている。   In FIG. 18, a power supply bus line 302, a GND bus line 303, and a data bus line 304 are connected to the bus controller 301. A power source 305 and a load 306 are connected to these bus lines via connectors 307 and 308, respectively.

各部の動作状況を説明する。   The operation status of each part will be described.

(1)電源の内容
PowerSourceクラスに属する電源の仕様は以下のものであるとする。
Power_type=0x00(二次電池でさらにNiCd電池であることを示す)
catalog_voltage=6(公称出力電圧=6V)
max_va=6(公称容量=6VA)
output_voltage=7(現在の出力電庄=7V)
alarm_voltage=5.6(最低供給可能電圧=5.5V)
上記データの中で、現在出力電圧が公称出力電圧より高いが充電直後はこの様になるのが普通である。また最低供給可能電圧5.5Vは、例えば、これより低い電圧になるまで電池が使用されると電池が痛むという値である。
(1) Contents of power supply It is assumed that the specifications of the power supply belonging to the PowerSource class are as follows.
Power_type = 0x00 (represents a secondary battery and a NiCd battery)
catalog_voltage = 6 (nominal output voltage = 6V)
max_va = 6 (nominal capacity = 6VA)
output_voltage = 7 (current output voltage = 7V)
alarm_voltage = 5.6 (minimum supplyable voltage = 5.5V)
Of the above data, the current output voltage is higher than the nominal output voltage, but this is usually the case immediately after charging. The minimum supplyable voltage 5.5V is a value that, for example, the battery is damaged when the battery is used until the voltage becomes lower than this.

(2)負荷の内容
一方loadクラスに属する負荷のデータは以下のものと仮定する。
max_voltage=8V(入力許容最大電圧=8V)
min_voltage=4V(動作可能最小電圧=4V)
max_current=1A(入力最大電流=1A)
(2) Content of load On the other hand, it is assumed that load data belonging to the load class is as follows.
max_voltage = 8V (maximum allowable input voltage = 8V)
min_voltage = 4V (operable minimum voltage = 4V)
max_current = 1A (maximum input current = 1A)

(3)電源システムの動作
図18に示すようなブロックで、電源305がバスに接続された後、負荷306がバスに接続される場合を想定する。(負荷が先に接続されても、何も起こらない)
図2に示すように電源オブジェクトの中のマイクロプロセッサ19はDC電源10がある値以上であればつねに動作している。
(3) Operation of Power Supply System Assume a case where the load 306 is connected to the bus after the power supply 305 is connected to the bus in the block shown in FIG. (Nothing happens if the load is connected first)
As shown in FIG. 2, the microprocessor 19 in the power supply object is always in operation if the DC power supply 10 exceeds a certain value.

従って電源305がバスに接続されると、バス管理手段(バスコントローラ301)が動作を開始し、まずアドレス設定モードでシステムが動作する。これにより図13に示すフローチャートに基づき、電源オブジェクト(電源305)のアドレスが決定する(アドレス1となる)。   Therefore, when the power supply 305 is connected to the bus, the bus management means (bus controller 301) starts operating, and first the system operates in the address setting mode. Thus, the address of the power supply object (power supply 305) is determined (becomes address 1) based on the flowchart shown in FIG.

アドレスが決定された時点で、このバスには他に電源が接続されていない事(実際には他には何も接続されていない事)がわかるので、バスシステムを使用可能とするため、電源オブジェクトのメインスイッチ(12)を投入する。   When the address is determined, it knows that there is no other power supply connected to this bus (actually nothing else is connected), so the bus system can be used Turn on the main switch (12) of the object.

つぎに負荷オブジェクト(負荷306)が接続されると、再度アドレスの調停を行い、負荷オブジェクトのアドレスが決定(アドレス2)する。   Next, when a load object (load 306) is connected, address arbitration is performed again, and the load object address is determined (address 2).

以上のプロセスを経て、電源バスシステムは動作準備が整う。
(4)実際のオペレーション例
電源バスシステムがどの様に使われるかは本発明の趣旨であるアーキテクチャの上のアプリケーションプログラムで決定されるものであるが、以下に一例をしめす。
Through the above process, the power supply bus system is ready for operation.
(4) Actual Operation Example How the power supply bus system is used is determined by an application program on the architecture that is the gist of the present invention. An example is given below.

負荷として上記の様に(上記(2)項)仮定したが、実際の状況ではこの負荷の先にラジオであるとか、PDAであるとかの製品が存在する。ここでは一番簡単にするため、オンオフ機能のみ付いている製品で例えばフラッシュライトとする。   Although the load is assumed as described above (section (2) above), there are products such as radio and PDA ahead of this load in the actual situation. Here, for the sake of simplicity, a product with only an on / off function is assumed to be a flashlight, for example.

フラッシュライトの場合の負荷オブジェクトの構造を図19に示す。309がマイクロプロセッサ、310はメインスイッチで、例えばMOSFET、312はランプ、311がランプのコントロールスイッチ、313はアラーム表示LEDである。   FIG. 19 shows the structure of the load object in the case of the flashlight. 309 is a microprocessor, 310 is a main switch, for example, MOSFET, 312 is a lamp, 311 is a control switch for the lamp, and 313 is an alarm indication LED.

コネクタ308がバスシステムに接続され、負荷オブジェクトのアドレス調停が完了した時点で、マイクロプロセッサは次の様な動作を始める。この動作を図20に示す。なお、図20の動作は基本的に図から容易に理解できるので、ここでは簡単に説明を行うのみとする。   When the connector 308 is connected to the bus system and the address arbitration of the load object is completed, the microprocessor starts the following operation. This operation is shown in FIG. Since the operation of FIG. 20 can be easily understood from the drawing, only a brief description will be given here.

電源電圧の問い合わせ;CatalogVoltage()関数を使用して電源オブジェクトに対して公称出力電圧を問い合わせ、これと自分自身の最大許容電圧を比較し、電源電圧が適正かどうか判断する。公称電庄はもちろん実際電圧とは異なるが、これがわかればおよその判断は可能である。もし、非常に厳密な判断が必要なら、そのようなデータや問い合わせAPIを定義すればいい。   Query the power supply voltage; use the CatalogVoltage () function to query the power supply object for the nominal output voltage and compare it with its own maximum allowable voltage to determine if the power supply voltage is appropriate. The nominal voltage is of course different from the actual voltage, but if this is known, an approximate judgment can be made. If very strict judgment is required, such data and query API can be defined.

電源の種類問い合わせ;電源電圧は適正でも自分が必要な電流容量を判断するために、電源の種類から判断する。フラッシュライトで最大1Aならば、ほとんどの一次、二次電池は使用可能である。これも電流容量が正確に知りたいならばそのようなAPIを用意すればいい。   Inquiry about the type of power supply; even if the power supply voltage is appropriate, it is judged from the type of power supply in order to determine the necessary current capacity. Most primary and secondary batteries can be used with a flashlight of up to 1A. If it is desired to know the current capacity accurately, such an API may be prepared.

ここまでで、電源の電圧とおよその供給電流が知れたので、フラッシュライトのコントロールスイッチを検出する。ここでスイッチがオンされちならば、電球112に電力を供給する。この後はバッテリー残量を適宜問い合わせ(フローチャートでは、この辺の時間のウェイトをかける部分は省略)、バッテリー残量が少なくなったならば、電球を切り、アラームLEDを点灯する。   Up to this point, since the voltage of the power source and the approximate supply current are known, the flashlight control switch is detected. If the switch is turned on here, power is supplied to the light bulb 112. Thereafter, the battery remaining amount is appropriately inquired (in the flowchart, the portion to wait for this time is omitted). When the remaining battery amount is low, the light bulb is turned off and the alarm LED is turned on.

アラームLEDは、フラッシュライト使用中にバッテリが少なくなった時のみでなく、バスシステムに接続されている電源との相性が悪いときにも点灯させて、ユーザに状況を表示するためのものである。   The alarm LED is lit not only when the battery is low while the flashlight is in use, but also when the compatibility with the power supply connected to the bus system is poor, to display the status to the user .

1 電源バスライン
2 GND(接地)バスライン
3 データ(信号)バスライン
4 バッテリー
5 一時電源
6 ACアダプタ
7 負荷(一般電気機器)
10 DC電源
11 電流検出用抵抗
12 スイッチ
13、14、15、21 マイクロプロセッサの入出力
16 電力バスライン
17 情報バスライン
18 接地バスライン
19 マイクロプロセッサ
20 電気二十層コンデンサ
50 スイッチ
51 消費電流検出用抵抗
52、53、54 マイクロプロセッサ55の入出力
55 マイクロプロセッサ
56 通信路
57 本来の負荷
58 負荷57のマイクロプロセッサ
59 コンデンサ
60 マイクロプロセッサ
61 プルアップ抵抗
62 データ出力用トランジスタ
63 バス管理手段(バスコントローラ)
64 電源オブジェクト
1 Power Bus Line 2 GND (Ground) Bus Line 3 Data (Signal) Bus Line 4 Battery 5 Temporary Power Supply 6 AC Adapter 7 Load (General Electrical Equipment)
DESCRIPTION OF SYMBOLS 10 DC power supply 11 Current detection resistor 12 Switch 13, 14, 15, 21 Microprocessor input / output 16 Power bus line 17 Information bus line 18 Ground bus line 19 Microprocessor 20 Electric twenty layer capacitor 50 Switch 51 Current consumption detection Resistors 52, 53, 54 Input / output 55 of microprocessor 55 Microprocessor 56 Communication path 57 Original load 58 Microprocessor 59 of load 57 Capacitor 60 Microprocessor 61 Pull-up resistor 62 Data output transistor 63 Bus management means (bus controller)
64 Power supply object

Claims (8)

電源供給装置との通信と負荷の駆動を行う電子機器と、
電力の供給と前記電子機器との通信を行う電源供給装置とを有し、
前記電子機器と前記電源供給装置は、通信を行うためのバス接続ポートを備え、
前記電子機器と前記電源供給装置は、アドレス設定プロセスとアドレス確認プロセスから構成されるアドレス設定モードで設定されたアドレスを用いて、前記バス接続ポートと接続される1つのバスラインに属性をブロードキャストで出力して属性の共有を行い、電源供給源の属性を示す前記電源供給装置と負荷の属性を示す前記電子機器間で、前記アドレスを用いて前記バスラインを介して電源仕様の通信を行い、該電源仕様の通信によって前記電源供給装置からの電力を用いて前記電子機器で負荷の駆動が可能と判別したときに、前記バスラインを介して前記電源供給装置から前記電子機器に電力の供給を行う
ことを特徴とする電源システム。
An electronic device that communicates with a power supply device and drives a load;
A power supply device for performing power supply and communication with the electronic device,
The electronic device and the power supply device include a bus connection port for performing communication,
The electronic device and the power supply device broadcast an attribute to one bus line connected to the bus connection port, using an address set in an address setting mode including an address setting process and an address confirmation process. Output and share the attribute, between the power supply device indicating the attribute of the power supply source and the electronic device indicating the attribute of the load, using the address to communicate the power specification via the bus line, When it is determined that the load can be driven by the electronic device using the power from the power supply device through the communication of the power supply specification, the power is supplied from the power supply device to the electronic device via the bus line. A power supply system characterized by performing .
前記電子機器または前記電源供給装置は、前記設定されたアドレスを用いて電源仕様の問い合わせを行う
ことを特徴とする請求項1記載の電源システム。
The power supply system according to claim 1, wherein the electronic device or the power supply apparatus inquires about a power supply specification using the set address.
前記電圧仕様は最低供給可能電圧を示す情報を含み、前記電流仕様は最大出力電流を示す情報を含む
ことを特徴とする請求項1記載の電源システム。
The power supply system according to claim 1, wherein the voltage specification includes information indicating a minimum supplyable voltage, and the current specification includes information indicating a maximum output current.
通信を行うためのバス接続ポートと、
アドレス設定プロセスとアドレス確認プロセスから構成されるアドレス設定モードで設定されているアドレスを用いて、前記バス接続ポートと接続される1つのバスラインに属性をブロードキャストで出力して属性の共有を行い、電源供給源の属性を示す電源供給装置との間で、前記アドレスを用いて前記バスラインを介して電源仕様の通信を行い、該電源仕様の通信によって前記電源供給装置からの電力で負荷の駆動が可能と判別されて前記電源供給装置から供給された電力で前記負荷を駆動する制御部とを有する
ことを特徴とする電子機器。
A bus connection port for communication;
Using an address set in an address setting mode composed of an address setting process and an address confirmation process , the attribute is broadcasted to one bus line connected to the bus connection port, and the attribute is shared. Communicates with the power supply device through the bus line using the address with the power supply device indicating the attribute of the power supply source, and drives the load with the power from the power supply device through the communication of the power supply specification And a control unit that drives the load with electric power supplied from the power supply device.
前記制御部は、前記設定されたアドレスを用いて電源仕様の問い合わせを行う
ことを特徴とする請求項4記載の電子機器。
5. The electronic apparatus according to claim 4, wherein the control unit makes an inquiry about power supply specifications using the set address.
電力の供給を行う電源部と、
通信を行うためのバス接続ポートと、
アドレス設定プロセスとアドレス確認プロセスから構成されるアドレス設定モードで設定されているアドレスを用いて、前記バス接続ポートと接続される1つのバスラインに属性をブロードキャストで出力して属性の共有を行い、負荷の属性を示す電子機器との間で、前記アドレスを用いて前記バスラインを介して電源仕様の通信を行い、該電源仕様の通信によって前記電源部からの電力で前記電子機器における負荷の駆動が可能と判別したとき前記電源部から電力の供給を行う制御部とを有する
ことを特徴とする電源供給装置。
A power supply for supplying power;
A bus connection port for communication;
Using an address set in an address setting mode composed of an address setting process and an address confirmation process , the attribute is broadcasted to one bus line connected to the bus connection port, and the attribute is shared. Communication with the power supply specification is performed via the bus line using the address with the electronic device indicating the attribute of the load, and the load in the electronic device is driven by the power from the power supply unit through the communication of the power supply specification. And a control unit that supplies power from the power supply unit when it is determined that the power supply is possible.
前記制御部は、前記設定されたアドレスを用いて電源仕様の問い合わせを行う
ことを特徴とする請求項6記載の電源供給装置。
The power supply apparatus according to claim 6, wherein the control unit inquires about a power supply specification using the set address.
バス接続ポートを備えた電子機器と電源供給装置が、アドレス設定プロセスとアドレス確認プロセスから構成されるアドレス設定モードで設定されたアドレスを用いて、前記バス接続ポートと接続される1つのバスラインに属性をブロードキャストで出力して属性の共有を行うステップと、
電源供給源の属性を示す前記電源供給装置と負荷の属性を示す前記電子機器間で、前記アドレスを用いて前記バスラインを介して電源仕様の通信を行うステップと、
前記電源供給装置が、前記電源仕様の通信によって前記電源供給装置からの電力で前記電子機器における負荷の駆動が可能と判別したときに、前記電子機器に対して電力の供給を行うステップと
を有することを特徴とする電源供給方法。
An electronic device and a power supply device having a bus connection port are connected to one bus line connected to the bus connection port by using an address set in an address setting mode including an address setting process and an address confirmation process. Outputting attributes by broadcasting and sharing attributes;
Between the power supply device indicating the attribute of the power supply source and the electronic device indicating the attribute of the load , performing communication of the power specification via the bus line using the address ;
A step of supplying power to the electronic device when the power supply device determines that the load on the electronic device can be driven by the power from the power supply device through communication of the power specification. A power supply method characterized by the above.
JP2010074800A 2000-04-20 2010-03-29 POWER SYSTEM, ELECTRONIC DEVICE, POWER SUPPLY DEVICE, AND POWER SUPPLY METHOD Expired - Lifetime JP5234039B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2010074800A JP5234039B2 (en) 2000-04-20 2010-03-29 POWER SYSTEM, ELECTRONIC DEVICE, POWER SUPPLY DEVICE, AND POWER SUPPLY METHOD
JP2013015297A JP5382244B2 (en) 2010-03-29 2013-01-30 POWER SYSTEM, ELECTRONIC DEVICE, POWER SUPPLY DEVICE, AND POWER SUPPLY METHOD

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2000119033A JP4925496B2 (en) 2000-04-20 2000-04-20 POWER SYSTEM, ELECTRONIC DEVICE, POWER SUPPLY DEVICE, AND POWER SUPPLY METHOD
JP2010074800A JP5234039B2 (en) 2000-04-20 2010-03-29 POWER SYSTEM, ELECTRONIC DEVICE, POWER SUPPLY DEVICE, AND POWER SUPPLY METHOD

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2000119033A Division JP4925496B2 (en) 2000-04-20 2000-04-20 POWER SYSTEM, ELECTRONIC DEVICE, POWER SUPPLY DEVICE, AND POWER SUPPLY METHOD

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2013015297A Division JP5382244B2 (en) 2010-03-29 2013-01-30 POWER SYSTEM, ELECTRONIC DEVICE, POWER SUPPLY DEVICE, AND POWER SUPPLY METHOD

Publications (2)

Publication Number Publication Date
JP2010166811A JP2010166811A (en) 2010-07-29
JP5234039B2 true JP5234039B2 (en) 2013-07-10

Family

ID=18630079

Family Applications (2)

Application Number Title Priority Date Filing Date
JP2000119033A Expired - Lifetime JP4925496B2 (en) 2000-04-20 2000-04-20 POWER SYSTEM, ELECTRONIC DEVICE, POWER SUPPLY DEVICE, AND POWER SUPPLY METHOD
JP2010074800A Expired - Lifetime JP5234039B2 (en) 2000-04-20 2010-03-29 POWER SYSTEM, ELECTRONIC DEVICE, POWER SUPPLY DEVICE, AND POWER SUPPLY METHOD

Family Applications Before (1)

Application Number Title Priority Date Filing Date
JP2000119033A Expired - Lifetime JP4925496B2 (en) 2000-04-20 2000-04-20 POWER SYSTEM, ELECTRONIC DEVICE, POWER SUPPLY DEVICE, AND POWER SUPPLY METHOD

Country Status (1)

Country Link
JP (2) JP4925496B2 (en)

Families Citing this family (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005032039A (en) 2003-07-07 2005-02-03 Sony Corp Electronic equipment and power supply management/control method for electronic equipment, and power source device
JP4622417B2 (en) * 2004-09-22 2011-02-02 Tdk株式会社 Power supply system and power supply device
US7446491B2 (en) * 2005-02-24 2008-11-04 Abb Ltd. Intelligent power management for actuators
JP5194435B2 (en) * 2006-11-08 2013-05-08 ソニー株式会社 Power supply system, power supply method, power supply program, and server
JP5174401B2 (en) 2007-08-27 2013-04-03 パナソニック株式会社 Network system
JP4683034B2 (en) * 2007-10-31 2011-05-11 ソニー株式会社 POWER SUPPLY SYSTEM, MONITOR DEVICE, MONITOR METHOD, AND COMPUTER PROGRAM
JP5446239B2 (en) * 2008-12-16 2014-03-19 ソニー株式会社 Power supply system
JP5401972B2 (en) 2008-12-18 2014-01-29 ソニー株式会社 Plugs, plug receptacles, and power supply systems
JP4702445B2 (en) * 2008-12-22 2011-06-15 カシオ計算機株式会社 Uninterruptible power management device and program
JP5589305B2 (en) 2009-04-30 2014-09-17 ソニー株式会社 Power supply apparatus and power supply method
JP2010262604A (en) 2009-05-11 2010-11-18 Sony Corp Power supply device, power receiving device, power supply system, and power supply method
JP2011113405A (en) 2009-11-27 2011-06-09 Sony Corp Power supply apparatus, power supply method and power supply system
JP5913782B2 (en) 2009-12-24 2016-04-27 ソニー株式会社 Charge calculation device, charge calculation system, and charge calculation method
JP2011154978A (en) 2010-01-28 2011-08-11 Sony Corp Connector and power feed system
JP5786330B2 (en) 2010-12-24 2015-09-30 ソニー株式会社 Discharge control device and discharge control method
JP5472146B2 (en) * 2011-02-07 2014-04-16 ソニー株式会社 Information processing apparatus, information processing method, computer program, and power supply system
JP5990897B2 (en) 2011-11-25 2016-09-14 ソニー株式会社 Power control device, power transmission device, and power control system
JP2013143279A (en) 2012-01-11 2013-07-22 Sony Corp Plug, electronic equipment and plug receptacle
JP5927917B2 (en) * 2012-01-11 2016-06-01 ソニー株式会社 Battery device
JP2013143032A (en) 2012-01-11 2013-07-22 Sony Corp Power control apparatus
JP6550296B2 (en) * 2015-08-07 2019-07-24 ルネサスエレクトロニクス株式会社 Power supply system
JP7408944B2 (en) * 2019-07-30 2024-01-09 マツダ株式会社 Vehicle power system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1051979A (en) * 1996-07-29 1998-02-20 Kyushu Nippon Denki Software Kk Lan-connected uninterruptible power unit
JP3372806B2 (en) * 1996-12-27 2003-02-04 キヤノン株式会社 Power supply system and power supply method

Also Published As

Publication number Publication date
JP2010166811A (en) 2010-07-29
JP2001306191A (en) 2001-11-02
JP4925496B2 (en) 2012-04-25

Similar Documents

Publication Publication Date Title
JP5234039B2 (en) POWER SYSTEM, ELECTRONIC DEVICE, POWER SUPPLY DEVICE, AND POWER SUPPLY METHOD
JP6911275B2 (en) Wireless battery management device and battery pack including it
US8890473B2 (en) Sequential charging of multiple electric vehicles
TWI523370B (en) Apparatus and method for providing power through a reverse local data transfer connection
US20180312072A1 (en) Apparatus and method for charging and discharging electric vehicle under smart grid environment
CN104010872A (en) Electric Vehicle And Method For Actuating Same
CN104541436A (en) Power share controller
US20110029144A1 (en) Plug-In Electric Vehicle Supply Equipment
CN108422887B (en) Vehicle-mounted alternating-current charging and discharging machine charging and discharging interface, method, charging pile and electronic equipment
CN104007801A (en) Method and apparatus for providing power to an electronic device
WO2008027920A2 (en) Power supply capable of receiving digital communications from electronic devices
US9121073B2 (en) Plug-in electric vehicle supply equipment with indicators
KR20130053885A (en) Battery management system and battery pack protection apparatus including the same
JP7357105B2 (en) Capacity control device and program
JP2014183723A (en) Charging connection device
CN214506621U (en) Multifunctional multipurpose power supply and carrier
JP5382244B2 (en) POWER SYSTEM, ELECTRONIC DEVICE, POWER SUPPLY DEVICE, AND POWER SUPPLY METHOD
CN203205921U (en) Portable charging device for electric vehicles
CN101102049A (en) Power supplier for charging power storage device based on capacity of power storage device
CN101656424A (en) Battery management system and method
CN111740437A (en) Management method, device and circuit of energy storage system, electronic equipment and storage medium
CN107196356A (en) It is a kind of that electric automobile charging station is preengage based on intelligent grid
CN213179683U (en) Electronic detonator initiator
CN112531848B (en) Battery pack and control method thereof
KR20120072195A (en) Apparatus and method electric vehicle battery charging

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120821

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20121011

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20121106

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130130

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20130206

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130311

R151 Written notification of patent or utility model registration

Ref document number: 5234039

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

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

Free format text: PAYMENT UNTIL: 20160405

Year of fee payment: 3

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

EXPY Cancellation because of completion of term