JP2009042887A - Cpu effective utilization system in multi-cpu system - Google Patents

Cpu effective utilization system in multi-cpu system Download PDF

Info

Publication number
JP2009042887A
JP2009042887A JP2007205313A JP2007205313A JP2009042887A JP 2009042887 A JP2009042887 A JP 2009042887A JP 2007205313 A JP2007205313 A JP 2007205313A JP 2007205313 A JP2007205313 A JP 2007205313A JP 2009042887 A JP2009042887 A JP 2009042887A
Authority
JP
Japan
Prior art keywords
cpu
load
control system
bus
plc
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2007205313A
Other languages
Japanese (ja)
Inventor
Masahiko Yokoo
雅彦 横尾
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.)
Koyo Electronics Industries Co Ltd
Original Assignee
Koyo Electronics Industries Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Koyo Electronics Industries Co Ltd filed Critical Koyo Electronics Industries Co Ltd
Priority to JP2007205313A priority Critical patent/JP2009042887A/en
Publication of JP2009042887A publication Critical patent/JP2009042887A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To effectively utilize the CPU of each control system in a multi-CPU system composed of a plurality of control systems having CPU. <P>SOLUTION: In the multi-CPU system, respective CPUs of a plurality of control systems, in which a CPU and a memory and an input/output interface are connected through an internal bus to each other, and a load is connected to the input/output interface, exist in a common bus system. Wherein, the CPU of the first control system whose load rate is high is separated from the internal bus by a high speed bus switcher, and the separated internal bus is connected to the CPU of the other second control whose load rate is small so that the load of the first control system can be processed by the CPU of the second control system. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、複数の制御系それぞれのCPUによりマルチCPUシステムが構築され、このマルチCPUシステム内におけるCPUを有効活用する方式に関するものである。   The present invention relates to a system in which a multi-CPU system is constructed by CPUs of a plurality of control systems, and CPUs in the multi-CPU system are effectively used.

例えば、PLCと負荷とで制御系を構築した場合、PLCは、CPUと、メモリと、入、出力インターフェースとが内部バスで相互接続され、CPUは、ラダープログラムをシステム制御プログラムに従い実行し、メモリは、上記プログラムを格納し、また、CPUの演算結果などのデータを格納する各種メモリとから構成される。入出力インターフェースは、外部入出力機器に接続されている。CPUはメモリに格納したラダープログラムに対応して、入出力インターフェースを介して外部入力機器からのデータをメモリに取り込む入力リフレッシュ処理を行い、その後ラダープログラムを1回実行し、演算後のメモリの内容を入出力インターフェースに出力する出力リフレッシュ処理を行う。   For example, when a control system is constructed with a PLC and a load, the PLC is connected to a CPU, a memory, and an input / output interface via an internal bus, and the CPU executes a ladder program according to the system control program, Is composed of various memories for storing the above-mentioned programs and for storing data such as CPU calculation results. The input / output interface is connected to an external input / output device. In response to the ladder program stored in the memory, the CPU performs an input refresh process for fetching data from the external input device into the memory via the input / output interface, then executes the ladder program once, and the contents of the memory after the calculation Is output to the input / output interface.

以上のPLCを複数有すると共に各PLCのそれぞれのCPUが共通バスに接続されたマルチCPUシステムを構築した場合、いずれかのPLCのCPUにおける入出力インターフェースに接続した負荷による負荷率が高い状態が長く続いたり繰り替えされたりすると、CPU温度が上昇し場合によっては熱暴走するなどして負荷を安定制御しにくい場合がある。また、上記マルチCPUシステムでは、いずれかのPLC内のCPUの負荷率が低く時間帯によってはCPUが有効活用されてない場合がある。そこで、本出願人はこうしたマルチCPUシステムにおいて相互のCPUを有効活用する技術の研究開発に着手した。
特開2004−021446号公報
When a multi-CPU system is constructed in which a plurality of the above PLCs are provided and each CPU of each PLC is connected to a common bus, a state in which the load factor due to the load connected to the input / output interface of the CPU of any PLC is high is long. If it is continued or repeated, the CPU temperature rises and in some cases it may be difficult to control the load stably due to thermal runaway. In the multi-CPU system, the CPU load factor of any PLC is low, and the CPU may not be effectively used depending on the time zone. Therefore, the present applicant has started research and development of a technology for effectively utilizing each other's CPU in such a multi-CPU system.
JP 2004-021446 A

すなわち本発明は、CPUを有する複数の制御系からなるマルチCPUシステムにおいて各制御系のCPUを有効に活用できるようにすることである。   That is, the present invention is to enable effective use of the CPU of each control system in a multi-CPU system including a plurality of control systems having a CPU.

本発明によるマルチCPUシステムにおけるCPU有効活用方式は、CPUとメモリと入出力インターフェースとが内部バスで相互接続されかつ入出力インターフェースに負荷が接続された複数の制御系において、それぞれのCPUが共通バス系内に存在するマルチCPUシステムにおいて、負荷率が高い第1制御系のCPUとその内部バスとの切り離しおよび接続の高速バススイッチングを行い、上記第1制御系のCPUとその内部バスとを切り離しているときは、その内部バスを負荷率が小さい他の第2制御系のCPUに接続することで、第1制御系の負荷を第2制御系のCPUで処理可能としたことを特徴とするものである。   In the multi-CPU system according to the present invention, the CPU is effectively used in a plurality of control systems in which a CPU, a memory, and an input / output interface are interconnected by an internal bus and a load is connected to the input / output interface. In a multi-CPU system existing in the system, the CPU of the first control system having a high load factor and its internal bus are disconnected and connected to each other by high-speed bus switching, and the CPU of the first control system and its internal bus are disconnected. The load of the first control system can be processed by the CPU of the second control system by connecting the internal bus to the CPU of another second control system having a low load factor. Is.

本発明では、第1制御系のCPUは、負荷率が高いときは、自己の負荷処理の一部を負荷率が小さい第2制御系のCPUにも負担して処理させることができるので、マルチCPUにおいてCPUを有効活用することができる。   In the present invention, when the load factor is high, the CPU of the first control system can also load a part of its own load processing to the CPU of the second control system with a low load factor, so The CPU can be effectively used in the CPU.

本発明の好適な一態様は、高速バススイッチャにより各制御系それぞれのCPUの負荷状況を監視し、第1制御系のCPUからの負荷処理分担要求信号に応じて当該第1制御系のCPUと内部バスとの切り離しおよび接続の高速バススイッチングをすることである。   According to a preferred aspect of the present invention, the high-speed bus switcher monitors the load status of each CPU of each control system, and in response to a load processing sharing request signal from the CPU of the first control system, It is to disconnect from the internal bus and perform high-speed bus switching.

この態様では高速バススイッチャにより各制御系それぞれのCPUの負荷状況を監視して上記高速バススイッチングをするので、各制御系それぞれのCPUによる負荷処理を適正に行いつつ、各CPUを有効に活用することができるようになる。   In this aspect, the high-speed bus switcher monitors the load status of each CPU in each control system and performs the above-described high-speed bus switching. Therefore, each CPU is effectively utilized while properly performing load processing by each CPU in each control system. Will be able to.

本発明のより好適な一態様は、上記高速バススイッチャによりバス使用が競合するときは、バス使用の優先順位が高いCPUの内部バスを優先して他の制御系のCPUに切替接続することができるようになっていることである。   In a more preferred aspect of the present invention, when bus use competes with the high-speed bus switcher, the internal bus of the CPU having a high priority of bus use is preferentially switched and connected to the CPU of another control system. It is possible to do it.

この態様では、重要な負荷を処理している制御系のCPUとさほど重要ではない負荷を処理している制御系のCPUから同一の制御系のCPUに対して負荷処理の要求があってバス使用が競合しても、上記重要な負荷を処理している制御系側のバス使用優先順位を高くすることにより、マルチCPUシステムにおけるシステム運転の安全性を高く維持することができるようになる。   In this mode, a control system CPU that processes an important load and a control system CPU that processes a less important load have a load processing request from the same control system CPU to use the bus. Even if there is contention, the system operation safety in the multi-CPU system can be kept high by increasing the bus usage priority on the control system side that is processing the important load.

本発明のさらに好適な一態様は、第2制御系のCPUは、第1制御系の負荷を処理しているときには自身の負荷処理を実行するまでの残時間を高速バススイッチャに知らせることで当該残時間の経過後には自己の負荷処理を実行可能としたことである。   According to a further preferred aspect of the present invention, when the CPU of the second control system is processing the load of the first control system, it notifies the high-speed bus switcher of the remaining time until executing its own load processing. This means that the load processing can be executed after the remaining time has elapsed.

この態様では、第2制御系のCPUは第1制御系の負荷を処理している最中に自己の負荷を処理すべき時刻が到来した場合に、当該自己の負荷を処理できなくなるという不都合を無くすことができる。   In this aspect, the CPU of the second control system cannot process its own load when the time to process its own load comes while processing the load of the first control system. It can be lost.

本発明によれば、CPUを有する複数の制御系からなるマルチCPUシステムにおいて各制御系のCPUを有効に活用できる。   According to the present invention, a CPU of each control system can be effectively used in a multi-CPU system including a plurality of control systems having a CPU.

以下、添付した図面を参照して、本発明の実施の形態に係るマルチCPUシステムにおけるCPU有効活用方式を説明する。実施の形態では制御系としてPLCを用いるが、これに限定されない。図1は、PLCを用いたマルチCPUシステムの概略構成を示す。   Hereinafter, a CPU effective utilization method in a multi-CPU system according to an embodiment of the present invention will be described with reference to the accompanying drawings. In the embodiment, the PLC is used as the control system, but the present invention is not limited to this. FIG. 1 shows a schematic configuration of a multi-CPU system using a PLC.

実施の形態のマルチCPUシステム1は複数のPLC3,5,7を含む。各PLC3,5,7はCPU3a,5a,7a、メモリ3b,5b,7b、入出力インターフェース3c,5c,7cが内部バス3d,5d,7dで相互接続されている。内部バス3d,5d,7dはバススイッチ11a、13a,15aによりCPU3a,5a,7aに接続されたり切り離しされ、バススイッチ11,13,15により、切替バス25,27,29を介して共通バス9に接続されたり切り離されたりする。CPU3a,5a,7aは外部バス31,33,35を通じて共通バス9に接続されている。バススイッチ11a、13a,15aとバススイッチ11,13,15は制御線36,38,40を介して高速バススイッチャ17により制御される。PLC3,5,7それぞれのCPU3a,5a,7aは、信号線39,41,43から高速バススイッチャ17に負荷処理状況と負荷処理分担要求信号とを送信することができる。高速バススイッチャ17は、信号線39,41,43から与えられるCPU3a,5a,7aの負荷処理状況や負荷処理分担要求信号から必要な以下に述べる制御を行う。なお、バススイッチ11a、13a,15aとバススイッチ11,13,15と高速バススイッチャ17は機能的に示したものであり、この形態に限定されない。   The multi-CPU system 1 according to the embodiment includes a plurality of PLCs 3, 5, and 7. Each of the PLCs 3, 5 and 7 has CPUs 3a, 5a and 7a, memories 3b, 5b and 7b, and input / output interfaces 3c, 5c and 7c interconnected by internal buses 3d, 5d and 7d. The internal buses 3d, 5d, and 7d are connected to and disconnected from the CPUs 3a, 5a, and 7a by the bus switches 11a, 13a, and 15a, and the common bus 9 is connected to the CPUs 3a, 5a, and 7a by the bus switches 11, 13, and 15 through the switching buses 25, 27, and 29. Connected to or disconnected from. The CPUs 3a, 5a, 7a are connected to the common bus 9 through external buses 31, 33, 35. The bus switches 11a, 13a, 15a and the bus switches 11, 13, 15 are controlled by the high-speed bus switcher 17 through control lines 36, 38, 40. The CPUs 3 a, 5 a, 7 a of the PLCs 3, 5, 7 can transmit the load processing status and the load processing sharing request signal to the high-speed bus switcher 17 from the signal lines 39, 41, 43. The high-speed bus switcher 17 performs the following control necessary from the load processing status of the CPU 3a, 5a, 7a given from the signal lines 39, 41, 43 and the load processing sharing request signal. The bus switches 11a, 13a, and 15a, the bus switches 11, 13, and 15 and the high-speed bus switcher 17 are functionally shown and are not limited to this form.

図2(a)(b)(c)を参照してPLC3,5,7の負荷を説明する。図2(a)(b)(c)において、横軸は時間、縦軸は負荷率を示す。図2(a)はPLC3のCPU3aの負荷率を示し、PLC3のCPU3aは常時活動していて負荷率が常時高い。図2(b)はPLC5のCPU5aの負荷率を示し、PLC5のCPU5aは、時刻t0−t1,t2−t3,t4−t5で負荷率が高く、それ以外の時刻では活動が小さいかあるいは無くて負荷率が低い。図2(c)はPLC7のCPU7aの負荷率を示し、PLC7のCPU7aの負荷率は時刻t1−t2,t3−t4,で負荷率が高く、それ以外の時刻での活動が小さいかあるいは無くて負荷率が低い。   The loads on the PLCs 3, 5 and 7 will be described with reference to FIGS. 2A, 2B, and 2C, the horizontal axis represents time, and the vertical axis represents the load factor. FIG. 2A shows the load factor of the CPU 3a of the PLC 3, and the CPU 3a of the PLC 3 is always active and the load factor is always high. FIG. 2 (b) shows the load factor of the CPU 5a of the PLC 5. The CPU 5a of the PLC 5 has a high load factor at times t0-t1, t2-t3, t4-t5, and activity is small or absent at other times. The load factor is low. FIG. 2 (c) shows the load factor of the CPU 7a of the PLC 7. The load factor of the CPU 7a of the PLC 7 is high at times t1-t2, t3-t4, and the activity at other times is small or absent. The load factor is low.

各PLC3,5,7のCPU3a,5a,7aはバス使用上の優先順位があり、PLC3のCPU3aは負荷19を常時駆動する必要がありCPU負荷率が最大のものでバス使用の優先順位が高いCPUであり、PLC5,7のCPU5a,7aは負荷21,23を間欠的に駆動すればよくバス使用の優先順位が低いCPUである。   The CPUs 3a, 5a, and 7a of the PLCs 3, 5, and 7 have a priority in use of the bus, and the CPU 3a of the PLC 3 needs to always drive the load 19, has a maximum CPU load factor, and has a high priority of using the bus. The CPUs 5a and 7a of the PLCs 5 and 7 are CPUs having a low priority of bus use, as long as the loads 21 and 23 are intermittently driven.

PLC3の負荷19は図2(a)で示すような負荷率で制御する必要がある例えば生産プラント等の負荷である。PLC5,7の負荷21,23は図2(b)、図2(c)で示すような負荷率で制御すればよい。例えばデイリ電源等の負荷である。なお、これら負荷19,21,23を比較すると、図2(a)の生産プラント等の負荷19では常時24時間体制で制御する必要が有り、図2(b)のデイリ電源等の負荷21では例えば夜間では制御が必要でなく、図2(c)のデイリ電源等の負荷23では例えば夜間に制御する必要がある。   The load 19 of the PLC 3 is a load of, for example, a production plant that needs to be controlled at a load factor as shown in FIG. The loads 21 and 23 of the PLCs 5 and 7 may be controlled with load factors as shown in FIGS. 2 (b) and 2 (c). For example, a load such as a daily power source. When these loads 19, 21, and 23 are compared, the load 19 such as the production plant in FIG. 2A needs to be always controlled in a 24-hour system, and the load 21 such as the daily power source in FIG. For example, the control is not necessary at night, and the load 23 such as the daily power source in FIG.

以上のマルチCPUシステム1において、高速バススイッチャ17には各PLC3,5,7それぞれのCPU3a,5a,7aから信号線39,41,43を通じて図2(a)(b)(c)で示す負荷率(CPU3a,5a,7aの活動状況)データが与えられていて、高速バススイッチャ17は各PLC3,5,7における負荷率を監視することができるようになっている。   In the multi-CPU system 1 described above, the high-speed bus switcher 17 has loads shown in FIGS. 2A, 2B, and 2C through the signal lines 39, 41, and 43 from the CPUs 3a, 5a, and 7a of the PLCs 3, 5, and 7, respectively. Rate (activity of the CPUs 3a, 5a, 7a) data is given, and the high-speed bus switcher 17 can monitor the load factor in each of the PLCs 3, 5, 7.

PLC3のCPU3aから時刻t0で高速バススイッチャ17に対して自己の負荷19の処理を依頼する負荷処理分担要求信号が送られると、高速バススイッチャ17は、他のPLC5,7の負荷処理状況からPLC7のCPU7aにPLC3のCPU3aの負荷の一部の処理を分担させるように、バススイッチ11,11aを高速バススイッチング駆動することによりPLC3の内部バス3dをCPU3aに切り離しおよび接続、共通バス9に接続および切り離しを行うことで図3の点線45で示す経路で、PLC7の内部バス7dをPLC7のCPU7aに接続および切り離しをする。この場合、PLC7のCPU7aがPLC3の負荷19を処理するときは、CPU7aをその内部バス7dから切り離すようにバススイッチ15aは高速バススイッチング駆動することにより、PLC7の内部バス7dをCPU7aから切り離しをする。   When a load processing sharing request signal for requesting processing of its own load 19 is sent from the CPU 3a of the PLC 3 to the high-speed bus switcher 17 at time t0, the high-speed bus switcher 17 determines the PLC 7 based on the load processing status of the other PLCs 5 and 7. In order to allow the CPU 7a of the PLC 3 to share some processing of the load of the CPU 3a of the PLC 3, the bus switches 11 and 11a are driven at high-speed bus switching to disconnect and connect the internal bus 3d of the PLC 3 to the CPU 3a, connect to the common bus 9 and By disconnecting, the internal bus 7d of the PLC 7 is connected to and disconnected from the CPU 7a of the PLC 7 along the path indicated by the dotted line 45 in FIG. In this case, when the CPU 7a of the PLC 7 processes the load 19 of the PLC 3, the bus switch 15a drives the high-speed bus switching so as to disconnect the CPU 7a from the internal bus 7d, thereby disconnecting the internal bus 7d of the PLC 7 from the CPU 7a. .

これにより、PLC3のCPU3aの負荷19の処理の一部をPLC7のCPU7aに行わせることができるようになる結果、マルチCPUシステム1においては、PLC7のCPU7aを有効活用することができる。   As a result, a part of processing of the load 19 of the CPU 3a of the PLC 3 can be performed by the CPU 7a of the PLC 7. As a result, in the multi-CPU system 1, the CPU 7a of the PLC 7 can be effectively used.

この場合、PLC3のバス使用優先順位は、他のPLC5,7のそれよりも高いので、PLC3のCPU3aからの負荷処理分担要求信号がPLC3のCPU3aと、他のPLC5のCPU5aとの間で競合する場合、高速バススイッチャ17は優先順位が高いPLC3のCPU3aからの負荷処理分担要求信号を受け付けることができるようになっている。   In this case, since the bus usage priority of the PLC 3 is higher than that of the other PLCs 5 and 7, the load processing sharing request signal from the CPU 3 a of the PLC 3 competes between the CPU 3 a of the PLC 3 and the CPU 5 a of the other PLC 5. In this case, the high-speed bus switcher 17 can receive a load processing sharing request signal from the CPU 3a of the PLC 3 having a high priority.

これにより、高速バススイッチャ17にPLC5のCPU5aからも負荷処理分担要求信号が入力されてきても、高速バススイッチャ17は、PLC5のCPU5aからの負荷処理分担要求信号を無視することができるようになっている。   As a result, even if the load processing sharing request signal is input from the CPU 5a of the PLC 5 to the high speed bus switcher 17, the high speed bus switcher 17 can ignore the load processing sharing request signal from the CPU 5a of the PLC 5. ing.

ただし、高速バススイッチャ17は、バス競合が生じることがないよう、バススイッチ11,11a,13,13aの制御を行うことにより、PLC3,5それぞれのCPU3a,5aの負荷処理の一部をPLC7のCPU7aに行わせることでCPU3aの負荷処理は点線45で、CPU5aの負荷処理は一点鎖線47で示す経路でCPU7aに分担することにより負荷処理を均等に分散させることができるようにしてもよい。こうすることにより、マルチCPUシステムにおけるCPU7aの有効活用を一層促進することができるようになる。   However, the high-speed bus switcher 17 controls the bus switches 11, 11 a, 13, and 13 a so that bus contention does not occur, so that part of the load processing of the CPUs 3 a and 5 a of the PLCs 3 and 5 is part of the PLC 7. By causing the CPU 7a to perform the load process of the CPU 3a by the dotted line 45 and the load process of the CPU 5a by the route shown by the alternate long and short dash line 47, the load process may be distributed evenly. By doing so, the effective utilization of the CPU 7a in the multi-CPU system can be further promoted.

次に時刻t1でPLC3,7のCPU3a,7aそれぞれから高速バススイッチャ17に負荷処理分担要求信号を入力すると、上記と同様に、バス使用優先順位が高いPLC3の内部バス3dをバススイッチ11a、11によりCPU3aからの切り離しおよび接続と共通バス9に対する切り離しおよび接続を高速で繰り返してPLC3のCPU3aの負荷19の処理を図4の点線49で示す経路にてPLC5のCPU5aに行わせる。この場合も、PLC7のCPU7aの負荷処理の一部を一点鎖線51で示す経路にてPLC5のCPU5aに行わせて負荷処理を分散させてもよい。図2中、矢印(1)(3)(5)(7)(9)はPLC3のCPU3aの負荷処理の一部を他のPLC5,7のCPU5a,7aで処理させることを示し、矢印(2)(4)(6)(8)(10)はPLC5または7のCPU5aまたは7aの負荷処理の一部を他のPLC7または5のCPU7aまたは5aで処理させることを示す。   Next, when a load processing sharing request signal is input to the high-speed bus switcher 17 from the CPUs 3a and 7a of the PLCs 3 and 7 at time t1, the internal bus 3d of the PLC 3 having a high bus use priority is connected to the bus switches 11a and 11 as described above. Thus, the CPU 5a of the PLC 5 performs the processing of the load 19 of the CPU 3a of the PLC 3 through the path indicated by the dotted line 49 in FIG. 4 by repeating the disconnection and connection from the CPU 3a and the disconnection and connection to the common bus 9 at high speed. In this case as well, the load processing may be distributed by causing the CPU 5a of the PLC 5 to perform part of the load processing of the CPU 7a of the PLC 7 along the path indicated by the alternate long and short dash line 51. In FIG. 2, arrows (1), (3), (5), (7), and (9) indicate that a part of the load processing of the CPU 3a of the PLC 3 is processed by the CPUs 5a and 7a of the other PLCs 5 and 7, and ) (4) (6) (8) (10) indicates that a part of the load processing of the CPU 5a or 7a of the PLC 5 or 7 is processed by the CPU 7a or 5a of the other PLC 7 or 5.

以上から実施の形態のマルチCPUシステム1では、CPU3a,5a,7aそれぞれを有効活用することができる。   As described above, in the multi-CPU system 1 according to the embodiment, each of the CPUs 3a, 5a, and 7a can be effectively used.

上記の場合、PLC7では時刻t0−t1でCPU7aにより他のPLC3,5の負荷19,21の処理の一部を行うが、時刻t1では自身の負荷23の処理を高い負荷率で実行する必要があるので、自身の負荷23の処理を可能とするために、時刻t1までの残時間を高速バススイッチャ17に知らせる。高速バススイッチャ17は、この残時間が経過した時点で、バススイッチ15aを制御してCPU7aと内部バス7dとを接続してPLC7のCPU7aが自身の制御負荷23の処理を高い負荷率で実行することができるようにする。   In the above case, the PLC 7 performs part of the processing of the loads 19 and 21 of the other PLCs 3 and 5 at the time t0 to t1 at the PLC 7, but it is necessary to execute the processing of its own load 23 at a high load factor at the time t1. Therefore, the high-speed bus switcher 17 is informed of the remaining time until time t1 in order to be able to process the load 23 of its own. When the remaining time elapses, the high-speed bus switcher 17 controls the bus switch 15a to connect the CPU 7a and the internal bus 7d so that the CPU 7a of the PLC 7 executes the processing of its own control load 23 at a high load factor. To be able to.

以上説明したように本実施の形態では、自己のCPUの負荷率が高いときは、自己の負荷処理の一部を負荷率が小さいCPUにも負担して処理させることができるので、マルチCPUシステムにおけるCPUの有効活用を図ることができる。   As described above, in the present embodiment, when the load factor of its own CPU is high, a part of its own load processing can also be processed by a CPU having a low load factor, so that a multi-CPU system can be processed. The CPU can be effectively used.

図1は本発明の実施の形態に係るマルチCPUシステムの概略構成を示す図である。FIG. 1 is a diagram showing a schematic configuration of a multi-CPU system according to an embodiment of the present invention. 図2は各PLCそれぞれの負荷における時間帯に対する負荷率を示す図である。FIG. 2 is a diagram showing the load factor with respect to the time zone in the load of each PLC. 図3は図2の時刻t0−t1での負荷処理を示すマルチCPUシステムの一部概略構成を示す図である。FIG. 3 is a diagram showing a partial schematic configuration of a multi-CPU system showing load processing at time t0-t1 in FIG. 図4は図2の時刻t1−t2での負荷処理を示すマルチCPUシステムの一部概略構成を示す図である。FIG. 4 is a diagram showing a partial schematic configuration of a multi-CPU system showing load processing at time t1-t2 in FIG.

符号の説明Explanation of symbols

1 マルチCPUシステム
3,5,7 PLC
3a,5a,7a CPU
9 共通バス
11,11a,13,13a,15,15a バススイッチ
17 高速バススイッチャ
1 Multi-CPU system 3, 5, 7 PLC
3a, 5a, 7a CPU
9 Common buses 11, 11a, 13, 13a, 15, 15a Bus switch 17 High-speed bus switcher

Claims (4)

CPUとメモリと入出力インターフェースとが内部バスで相互接続されかつ入出力インターフェースに負荷が接続された複数の制御系においてそれぞれのCPUが共通バス系内に存在するマルチCPUシステムにおいて、
負荷率が高い第1制御系のCPUとその内部バスとの切り離しおよび接続の高速バススイッチングを行い、上記第1制御系のCPUとその内部バスとを切り離しているときは、その内部バスを負荷率が小さい他の第2制御系のCPUに接続することで、第1制御系の負荷を第2制御系のCPUで処理可能とした、ことを特徴とするマルチCPUシステムにおけるCPU有効活用方式。
In a multi-CPU system in which each CPU exists in a common bus system in a plurality of control systems in which a CPU, a memory, and an input / output interface are interconnected by an internal bus and a load is connected to the input / output interface.
When the CPU of the first control system having a high load factor and its internal bus are disconnected and connected at high speed, and the CPU of the first control system is disconnected from the internal bus, the internal bus is loaded. A CPU effective utilization method in a multi-CPU system, characterized in that the load of the first control system can be processed by the CPU of the second control system by connecting to the CPU of another second control system having a low rate.
高速バススイッチャにより各制御系それぞれのCPUの負荷状況を監視し、第1制御系のCPUからの負荷処理分担要求信号に応じて当該第1制御系のCPUと内部バスとの切り離しおよび接続の高速バススイッチングをする、ことを特徴とする請求項1に記載の方式。   The high-speed bus switcher monitors the load status of the CPU of each control system, and in accordance with a load processing sharing request signal from the CPU of the first control system, the CPU of the first control system and the internal bus are disconnected and connected at high speed. The system according to claim 1, wherein bus switching is performed. 上記バス使用が競合するときは、バス使用の優先順位が高い制御系の内部バスを優先して他の制御系のCPUに切替接続することができるようになっている、ことを特徴とする請求項1または2に記載の方式。   When the bus use competes, the internal bus of the control system having a high priority of bus use can be preferentially switched and connected to the CPU of another control system. Item 3. The method according to item 1 or 2. 第2制御系のCPUは、第1制御系の負荷を処理しているときには自身の負荷処理を実行するまでの残時間を高速バススイッチャに知らせることで当該残時間の経過後には自己の負荷処理を実行可能とした、ことを特徴とする請求項2に記載の方式。   When processing the load of the first control system, the CPU of the second control system notifies the high-speed bus switcher of the remaining time until execution of its own load processing, so that its own load processing is performed after the remaining time has elapsed. The method according to claim 2, wherein the method is executable.
JP2007205313A 2007-08-07 2007-08-07 Cpu effective utilization system in multi-cpu system Pending JP2009042887A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007205313A JP2009042887A (en) 2007-08-07 2007-08-07 Cpu effective utilization system in multi-cpu system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007205313A JP2009042887A (en) 2007-08-07 2007-08-07 Cpu effective utilization system in multi-cpu system

Publications (1)

Publication Number Publication Date
JP2009042887A true JP2009042887A (en) 2009-02-26

Family

ID=40443591

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007205313A Pending JP2009042887A (en) 2007-08-07 2007-08-07 Cpu effective utilization system in multi-cpu system

Country Status (1)

Country Link
JP (1) JP2009042887A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013501406A (en) * 2009-07-29 2013-01-10 クゥアルコム・インコーポレイテッド Asynchronous interface to multi-radio coexistence manager
US8903314B2 (en) 2009-10-29 2014-12-02 Qualcomm Incorporated Bluetooth introduction sequence that replaces frequencies unusable due to other wireless technology co-resident on a bluetooth-capable device
US9130656B2 (en) 2010-10-13 2015-09-08 Qualcomm Incorporated Multi-radio coexistence
US9148889B2 (en) 2009-06-01 2015-09-29 Qualcomm Incorporated Control of multiple radios using a database of interference-related information
US9161232B2 (en) 2009-06-29 2015-10-13 Qualcomm Incorporated Decentralized coexistence manager for controlling operation of multiple radios
US9185719B2 (en) 2009-08-18 2015-11-10 Qualcomm Incorporated Method and apparatus for mapping applications to radios in a wireless communication device
US9185718B2 (en) 2009-06-29 2015-11-10 Qualcomm Incorporated Centralized coexistence manager for controlling operation of multiple radios

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9148889B2 (en) 2009-06-01 2015-09-29 Qualcomm Incorporated Control of multiple radios using a database of interference-related information
US9155103B2 (en) 2009-06-01 2015-10-06 Qualcomm Incorporated Coexistence manager for controlling operation of multiple radios
US9161232B2 (en) 2009-06-29 2015-10-13 Qualcomm Incorporated Decentralized coexistence manager for controlling operation of multiple radios
US9185718B2 (en) 2009-06-29 2015-11-10 Qualcomm Incorporated Centralized coexistence manager for controlling operation of multiple radios
JP2013501406A (en) * 2009-07-29 2013-01-10 クゥアルコム・インコーポレイテッド Asynchronous interface to multi-radio coexistence manager
US9135197B2 (en) 2009-07-29 2015-09-15 Qualcomm Incorporated Asynchronous interface for multi-radio coexistence manager
US9185719B2 (en) 2009-08-18 2015-11-10 Qualcomm Incorporated Method and apparatus for mapping applications to radios in a wireless communication device
US8903314B2 (en) 2009-10-29 2014-12-02 Qualcomm Incorporated Bluetooth introduction sequence that replaces frequencies unusable due to other wireless technology co-resident on a bluetooth-capable device
US9130656B2 (en) 2010-10-13 2015-09-08 Qualcomm Incorporated Multi-radio coexistence

Similar Documents

Publication Publication Date Title
JP2009042887A (en) Cpu effective utilization system in multi-cpu system
EP2515189B1 (en) Plc cpu unit, system program for plc, and storage medium having system program for plc stored therein
JP2007207026A (en) Dma transfer device
US9170832B2 (en) Virtual machine control apparatus and virtual machine control method
JP6527399B2 (en) Communication system using network
JP2007034910A (en) Multi-cpu system and scheduler
CN107743621A (en) Integrated circuit inputs and output
TW201327403A (en) Information processing apparatus and method of controlling information processing apparatus
JP5053109B2 (en) Control device
JP2007018026A (en) Controller
JP2009251783A (en) Multi-cpu bus occupancy system
JP2017144893A (en) Vehicle communication system
JP2008186426A (en) Unit extension system
WO2012127629A1 (en) Server system and method of executing maintenance of crossbar board in hot-line state
JP4432402B2 (en) Ring bus system
JP2007241570A (en) Setting system of shared memory for communication between programmable controller
US20090085626A1 (en) Semiconductor integrated circuit and method for controlling semiconductor integrated circuit
JP2009258790A (en) Control device and control method of the same
JP2015138342A (en) Multiprocessor system, control method and program thereof
JP2017073709A (en) Relay device
JP2008287562A (en) Processor and device control unit
JP2008108123A (en) Module execution device, and modularization program
JP2010049508A (en) Selection system of plurality of buses and programmable controller with the system
JP2009042888A (en) Bus arbitration method in multi-cpu system
JPS61134863A (en) Data processor