JP2019185429A - Information processor - Google Patents

Information processor Download PDF

Info

Publication number
JP2019185429A
JP2019185429A JP2018076125A JP2018076125A JP2019185429A JP 2019185429 A JP2019185429 A JP 2019185429A JP 2018076125 A JP2018076125 A JP 2018076125A JP 2018076125 A JP2018076125 A JP 2018076125A JP 2019185429 A JP2019185429 A JP 2019185429A
Authority
JP
Japan
Prior art keywords
slave
control unit
cpu core
master
watchdog
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
JP2018076125A
Other languages
Japanese (ja)
Inventor
真 有馬
Makoto Arima
真 有馬
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2018076125A priority Critical patent/JP2019185429A/en
Publication of JP2019185429A publication Critical patent/JP2019185429A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

To provide an information processor that solves a problem of a reset signal malfunctioning due to noise mixed in a reset line and increasing a cost when a reset line is connected from a master controller to each slave controller.SOLUTION: In a communication system including a master control unit, and a slave control unit that performs serial communication with the master control unit, and a watchdog timer that resets the slave control unit, when a watchdog timer cannot receive a watchdog signal normally, a reset signal is transmitted to the slave control unit. Thereby, communication between a master CPU and a slave CPU and an operation check of a slave CPU core can be performed without using a reset signal between the master CPU and the slave CPU.SELECTED DRAWING: Figure 3

Description

本発明は、マスター制御部およびスレーブ制御部を有する情報処理装置に関する。   The present invention relates to an information processing apparatus having a master control unit and a slave control unit.

現在、オフィスやコンビニエンスストア等には、コピーやプリンタ、ファックスなどの複数の機能を持った複合機能型の複写機が設置され、広く利用されている。このような複写機などの情報処理装置においては、機器を稼働させるために必要なモータやファンなどの複数の電気部品が筐体内部に分散して配置されている。そのため複写機全体の制御を担うマスターとなる制御基板から、機器内部の電気部品の全てに接続すると、配線が膨大になってしまう。そこで、一般的には、マスターとなる制御基板と、マスターとなる制御基板と協働して、複写機の一部を制御する複数のスレーブとなる制御基板とから構成される、分散型の制御システムとして構成されている。
また、近年、このような分散型の制御システムでは、マスターとなる制御基板とスレーブとなる制御基板との間の通信方式として、シリアル通信が利用されている。シリアル通信を利用することで、信号数の削減が可能となり、その結果、配線削減によるコストダウンが見込めるからである。しかし、このような分散型システムでは、スレーブとなる制御基板に異常があった場合の保護が必須となる。
At present, multi-function copiers having a plurality of functions such as copying, printers, and fax machines are installed and widely used in offices and convenience stores. In such an information processing apparatus such as a copying machine, a plurality of electrical components such as a motor and a fan necessary for operating the device are arranged in a distributed manner inside the casing. Therefore, if the control board serving as a master for controlling the entire copying machine is connected to all the electrical components inside the apparatus, the wiring becomes enormous. Therefore, in general, a distributed control composed of a master control board and a plurality of slave control boards that control a part of the copier in cooperation with the master control board. It is configured as a system.
In recent years, in such a distributed control system, serial communication is used as a communication method between a control board serving as a master and a control board serving as a slave. This is because the number of signals can be reduced by using serial communication, and as a result, the cost can be reduced by reducing the wiring. However, in such a distributed system, protection in the event of an abnormality in the control board serving as a slave is essential.

このために、例えば、特許文献1では、分散型の制御システムにおける保護のために、マスター制御部が通信線を介して所定の往信コードをスレーブ制御部に送信し、それを受信したスレーブ制御部が所定時間以内に返信コードを送るように構成されている。これにより、返信コードの受信の可否により、スレーブ制御部との通信線に断線などの不具合がないかを識別し、異常動作を防ぐようにしている。   For this purpose, for example, in Patent Document 1, for protection in a distributed control system, a master control unit transmits a predetermined outgoing code to a slave control unit via a communication line, and receives the received slave control unit. Is configured to send a reply code within a predetermined time. As a result, whether or not there is a problem such as disconnection in the communication line with the slave control unit is identified depending on whether or not the reply code can be received, and abnormal operation is prevented.

特開平1−177645号公報JP-A-1-177645

ここで、特許文献1のような制御システムでは、マスター制御部とスレーブ制御部の間に、スレーブ制御部にリセットをかけるための専用線(リセットライン)が必要となる。
しかしながら、特にマスター制御部とスレーブ制御部とが遠く離れて配置されている装置の場合、リセットラインをマスター制御部とスレーブ制御部の間で這い回す途中で、リセット信号にノイズ等が混入し、スレーブ制御部が誤動作を起こす恐れがある。
Here, in a control system like patent document 1, the exclusive line (reset line) for resetting a slave control part is needed between a master control part and a slave control part.
However, especially in the case of a device in which the master control unit and the slave control unit are arranged far apart, noise or the like is mixed in the reset signal while the reset line is being crushed between the master control unit and the slave control unit, The slave controller may malfunction.

そこで、本発明は、マスター制御部とスレーブ制御部との間で専用のリセットラインを用いることなく、スレーブ制御部のリセットを実行できるようにすることを目的とする。   Therefore, an object of the present invention is to enable a slave control unit to be reset without using a dedicated reset line between a master control unit and a slave control unit.

本発明は、マスター制御部と、前記マスター制御部と通信を行うスレーブ制御部と、前記スレーブ制御部からのウォッチドッグ信号を入力するとともに、所定時間内に前記ウォッチドッグ信号の入力がない場合に前記スレーブ制御部をリセットするウォッチドッグ手段とを有し、前記マスター制御部は前記スレーブ制御に対してウォッチドッグ信号の出力の指示を送信し、前記スレーブ制御部は前記マスター制御部から前記ウォッチドッグ信号の出力の指示を受信した場合、確認応答を前記マスター制御部に送信し、前記マスター制御部は前記確認応答の有無に基づき、前記スレーブ制御部との通信の異常を検知し、前記スレーブ制御部は前記マスター制御部からのウォッチドッグ信号の出力の指示に応じて前記ウォッチドッグ信号を前記ウォッチドッグ手段に出力することを特徴とする。   The present invention inputs a master control unit, a slave control unit that communicates with the master control unit, and a watchdog signal from the slave control unit, and when there is no input of the watchdog signal within a predetermined time. Watchdog means for resetting the slave control unit, wherein the master control unit transmits an instruction to output a watchdog signal to the slave control, and the slave control unit receives the watchdog from the master control unit. When an instruction to output a signal is received, an acknowledgment is transmitted to the master controller, and the master controller detects an abnormality in communication with the slave controller based on the presence or absence of the acknowledgment, and the slave control In response to an instruction to output a watchdog signal from the master control unit. And outputting the Tchidoggu means.

本発明は、マスター制御部とスレーブ制御部との間で専用のリセットラインを用いることなく、スレーブ制御部のリセットを実行することができる。   According to the present invention, the slave control unit can be reset without using a dedicated reset line between the master control unit and the slave control unit.

画像形成装置の断面図の概略である。1 is a schematic cross-sectional view of an image forming apparatus. 制御基板のブロック図である。It is a block diagram of a control board. 第1の実施形態の制御ブロック図である。It is a control block diagram of a 1st embodiment. マスターCPUとスレーブCPU間の制御フローである。It is a control flow between a master CPU and a slave CPU. 通信異常が発生した場合の制御フローである。It is a control flow when communication abnormality occurs. 通信異常が発生した場合の制御フローである。It is a control flow when communication abnormality occurs. 第2の実施形態の制御ブロック図である。It is a control block diagram of a 2nd embodiment. マスターCPUとスレーブCPU間の制御フローである。It is a control flow between a master CPU and a slave CPU.

図1は、本発明の第1の実施形態である、情報処理装置の一例としての画像形成装置の概略断面図である。
図1を用いて、本実施形態の画像形成装置の構成と、その画像形成動作について説明する。
FIG. 1 is a schematic sectional view of an image forming apparatus as an example of an information processing apparatus according to the first embodiment of the present invention.
The configuration of the image forming apparatus of this embodiment and the image forming operation will be described with reference to FIG.

原稿自動送り装置201の原稿載置部203に置かれた原稿は、給紙ローラー204によって分離、給紙され、搬送ガイド206を経由して、読取装置202に搬送される。さらに、搬送ベルト208によって一定速度で搬送され、排紙ローラー205によって機外に排出される。
この間、読取装置202の読取位置で照明系209により照明された原稿の画像は、反射ミラー210、211、212からなる光学系を介して、画像読取部213で画像信号に変換される。画像読取部213は、レンズ、光電変換素子であるCCD、CCDの駆動回路等からなる。
原稿の読み取りには、流し読みモードと固定モードとがある。流し読みモードは、読取位置を固定させ、一定速度で搬送されている原稿を読み取る。固定モードは、読取装置202の原稿ガラス台214上に載置されている原稿を、照明系209およびミラー210、211、212を一定速度で移動させることにより読取位置を移動させて読み取る。
A document placed on the document placement unit 203 of the automatic document feeder 201 is separated and fed by a paper feed roller 204, and is conveyed to a reading device 202 via a conveyance guide 206. Further, it is transported at a constant speed by the transport belt 208 and is discharged out of the apparatus by the paper discharge roller 205.
During this time, the image of the document illuminated by the illumination system 209 at the reading position of the reading device 202 is converted into an image signal by the image reading unit 213 via the optical system including the reflection mirrors 210, 211, and 212. The image reading unit 213 includes a lens, a CCD that is a photoelectric conversion element, a drive circuit for the CCD, and the like.
There are a scanning mode and a fixed mode for reading a document. In the flow-reading mode, a reading position is fixed, and a document conveyed at a constant speed is read. In the fixed mode, a document placed on the document glass table 214 of the reading device 202 is read by moving the illumination system 209 and the mirrors 210, 211, and 212 at a constant speed to move the reading position.

画像信号は半導体レーザー(不図示)などによって光信号に変調される。変調されたレーザー光は、ポリゴンミラーによる光走査装置311、ミラー312、313を経由して、帯電器310によって表面を一様に帯電された感光ドラム309上に露光され、静電潜像を形成する。静電潜像は現像器314のトナーによって現像される。トナー像は、転写分離器315によって記録紙に転写される。記録紙は紙カセット302、304に収納されている。記録紙は紙カセット302から給紙ローラー303によって給紙され、搬送ローラー306によって搬送され、レジストローラー308によって画像とのタイミングが調整されて、感光ドラム309の転写位置に搬送される。一方、紙カセット304の記録紙は、給紙ローラー305よって給紙され、搬送ローラー307、306によって搬送され、レジストローラー308によって画像とのタイミングが調整されて、感光ドラム309の転写位置に搬送される。トナー像が転写された記録紙は、搬送ベルト317で定着器318に搬送され、記録紙上のトナーが定着される。   The image signal is modulated into an optical signal by a semiconductor laser (not shown) or the like. The modulated laser light is exposed to a photosensitive drum 309 whose surface is uniformly charged by a charger 310 via an optical scanning device 311 using a polygon mirror and mirrors 312, 313 to form an electrostatic latent image. To do. The electrostatic latent image is developed with toner from the developing device 314. The toner image is transferred onto a recording sheet by a transfer separator 315. The recording paper is stored in paper cassettes 302 and 304. The recording paper is fed from the paper cassette 302 by the paper feed roller 303, transported by the transport roller 306, adjusted to the image timing by the registration roller 308, and transported to the transfer position of the photosensitive drum 309. On the other hand, the recording paper in the paper cassette 304 is fed by the paper feed roller 305, transported by the transport rollers 307 and 306, adjusted to the image timing by the registration roller 308, and transported to the transfer position of the photosensitive drum 309. The The recording paper on which the toner image has been transferred is conveyed to the fixing device 318 by the conveying belt 317, and the toner on the recording paper is fixed.

片面モードが設定されている場合、定着器318を通った記録紙は、定着排紙ローラー319および排紙ローラー324によって機外に排紙される。
両面モードが設定されている場合は、記録紙は定着排紙ローラー319から搬送ローラー320を経由して、反転ローラー321によって反転パス325へ搬送される。さらに、記録紙の後端が両面パス326との合流ポイントを通過した直後に反転ローラー321の回転を反転することで、記録紙は反転し、両面パス326へと搬送される。両面パスに搬送された記録紙は、ローラー322、323によって搬送され、再び搬送ローラー306を経由して、レジストローラー308で裏面画像とのタイミングが調整された後、転写、定着され機外に排出される。
When the single-side mode is set, the recording sheet that has passed through the fixing device 318 is discharged out of the apparatus by the fixing discharge roller 319 and the discharge roller 324.
When the duplex mode is set, the recording paper is conveyed from the fixing paper discharge roller 319 to the reverse path 325 by the reverse roller 321 via the transport roller 320. Further, the recording paper is reversed and conveyed to the double-sided path 326 by reversing the rotation of the reversing roller 321 immediately after the trailing edge of the recording paper passes the joining point with the double-sided path 326. The recording paper transported to the double-sided path is transported by rollers 322 and 323, and after passing through the transporting roller 306, the timing with the back image is adjusted by the registration roller 308, transferred, fixed, and discharged outside the apparatus. Is done.

図2は、マスター制御基板とスレーブ制御基板のブロック図である。
本実施形態における画像形成装置は、マスターとなる制御基板である中央制御基板104と、スレーブとなる制御基板である画像形成ユニット制御基板120、定着搬送ユニット制御基板121、紙搬送ユニット制御基板122から構成されている。
ここで、紙搬送ユニット制御基板122は、図1の紙カセット302(304)からレジストローラー303までの紙搬送を担っている。定着搬送ユニット121は、レジストローラー303から、転写と定着を経由しての排紙と、両面搬送時の紙搬送を担っている。画像形成ユニット制御基板120は、その他の部分の制御を担っている。
FIG. 2 is a block diagram of the master control board and the slave control board.
The image forming apparatus according to the present exemplary embodiment includes a central control board 104 that is a control board serving as a master, an image forming unit control board 120 that is a control board serving as a slave, a fixing transport unit control board 121, and a paper transport unit control board 122. It is configured.
Here, the paper transport unit control board 122 is in charge of paper transport from the paper cassette 302 (304) to the registration roller 303 in FIG. The fixing conveyance unit 121 is in charge of paper discharge from the registration roller 303 via transfer and fixing, and paper conveyance during double-sided conveyance. The image forming unit control board 120 controls other parts.

次に、中央制御基板104上のマスター制御部100と、画像形成ユニット制御基板120上のスレーブ制御部101との間の通信システムを説明する。なお、定着搬送ユニット制御基板121と紙搬送ユニット制御基板122における通信システムも、画像形成ユニット制御基板120と同様のため、以下では説明は省略する。   Next, a communication system between the master control unit 100 on the central control board 104 and the slave control unit 101 on the image forming unit control board 120 will be described. Note that the communication system between the fixing conveyance unit control board 121 and the paper conveyance unit control board 122 is also the same as that of the image forming unit control board 120, and hence the description thereof is omitted.

図3は、マスター制御部とスレーブ制御部の制御ブロック図である。
マスター制御部100は、機器全体の制御を担うマスターCPU107を有する。マスターCPU107は、制御部であるマスターCPUコア109とスレーブCPU108との通信を行うマスター通信制御部111を有する。
スレーブ制御部101は、スレーブCPU108を有する。スレーブCPU108は、制御部であるスレーブCPUコア113と、マスターCPU107との通信を行うスレーブ通信制御部112と、外部への信号の入出力を制御するスレーブI/Oポート制御部114とを有する。
スレーブ制御部101は、さらに、スレーブCPU108にリセットをかけるウォッチドッグタイマ105を有する。ウォッチドッグタイマ105は、スレーブCPU108からのウォッチドッグ信号が、予め定められた時間、途切れた場合に、スレーブCPU108にリセットをかける監視機能を有している。
FIG. 3 is a control block diagram of the master control unit and the slave control unit.
The master control unit 100 includes a master CPU 107 that controls the entire device. The master CPU 107 includes a master communication control unit 111 that performs communication between a master CPU core 109 serving as a control unit and a slave CPU 108.
The slave control unit 101 has a slave CPU 108. The slave CPU 108 includes a slave CPU core 113 that is a control unit, a slave communication control unit 112 that performs communication with the master CPU 107, and a slave I / O port control unit 114 that controls input and output of signals to the outside.
The slave control unit 101 further includes a watchdog timer 105 that resets the slave CPU 108. The watchdog timer 105 has a monitoring function for resetting the slave CPU 108 when the watchdog signal from the slave CPU 108 is interrupted for a predetermined time.

図4は、マスターCPU107とスレーブCPU108との間の制御フローである。
マスターCPUコア109は、スレーブ通信制御部112に向けてウォッチドッグ信号としてのWD(WatchDog)パルスの出力指示を送信するように、マスター通信制御部111に指示を行う(S101)。ここで、WDパルスの出力指示は、予めマスターCPUコア109とスレーブCPUコア113との間で定義されているものである。
WDパルスの出力指示を送信する指示を受けたマスター通信制御部111は、マスターCPU107とスレーブCPU108との間の通信線を介して、スレーブ通信制御部112にWDパルスの出力指示を送信する(S102a)。
FIG. 4 is a control flow between the master CPU 107 and the slave CPU 108.
The master CPU core 109 instructs the master communication control unit 111 to transmit an instruction to output a WD (WatchDog) pulse as a watchdog signal to the slave communication control unit 112 (S101). Here, the output instruction of the WD pulse is defined in advance between the master CPU core 109 and the slave CPU core 113.
Receiving the instruction to transmit the WD pulse output instruction, the master communication control unit 111 transmits the WD pulse output instruction to the slave communication control unit 112 via the communication line between the master CPU 107 and the slave CPU 108 (S102a). ).

マスター通信制御部111とスレーブ通信制御部112との間の通信では、受信側がデータを誤りなく受信したか否かを識別するために、パリティチェック等の仕組みが含まれている。受信側の制御部が正常にデータを受け取ったときは、ACK(ACKnowledgement、確認応答)を送信側に送信する(S102b)。送信側はACKを受信することにより送信が正常に完了したことを確認することができる。
これにより、マスターCPU107は、ACK(確認応答)の有無に基づき、スレーブCPU108との間の通信の異常を検知することができる。
In communication between the master communication control unit 111 and the slave communication control unit 112, a mechanism such as a parity check is included in order to identify whether the receiving side has received data without error. When the control unit on the receiving side normally receives data, ACK (ACKnowledgement, confirmation response) is transmitted to the transmitting side (S102b). The transmission side can confirm that the transmission has been completed normally by receiving the ACK.
Accordingly, the master CPU 107 can detect an abnormality in communication with the slave CPU 108 based on the presence or absence of ACK (acknowledgment response).

WDパルスの出力指示の送信が正常に完了すると、マスター通信制御部111はマスターCPUコア109に対して送信完了割込みを出力する(S103)。
マスターCPUコア109は、送信完了割込みを受信することで、スレーブCPU108への通信及びスレーブCPU108に異常が発生していないと判断する。
When the transmission of the WD pulse output instruction is completed normally, the master communication control unit 111 outputs a transmission completion interrupt to the master CPU core 109 (S103).
By receiving the transmission completion interrupt, the master CPU core 109 determines that there is no abnormality in communication with the slave CPU 108 and in the slave CPU 108.

WDパルスの出力指示を受信したスレーブ通信制御部112は、スレーブCPUコア113に対し受信完了割込みを出力し(S104)、受信したWDパルスの出力指示を含む受信データを一時的に保持する。
この時の受信完了割込みは、WDパルスの出力指示の受信を示すものではなく、スレーブ通信制御部112が通信を受信したことを示すものである。
Upon receiving the WD pulse output instruction, the slave communication control unit 112 outputs a reception completion interrupt to the slave CPU core 113 (S104), and temporarily holds the received data including the received WD pulse output instruction.
The reception completion interrupt at this time does not indicate reception of a WD pulse output instruction but indicates that the slave communication control unit 112 has received communication.

受信完了割込みを受信したCPUコア113は、スレーブ通信制御部112に保持されている受信データを確認し、そこに示されているWDパルスの出力指示を取得する(S105)。
WDパルスの出力指示を取得したスレーブCPUコア113は、スレーブI/Oポート制御部114に対し、WDパルスの出力指示を出す(S106)。WDパルスは、定常時Lowレベル出力されている信号に、一定期間(例えば、2ms)のHiレベル出力を行うものである。
The CPU core 113 that has received the reception completion interrupt confirms the reception data held in the slave communication control unit 112, and acquires the output instruction of the WD pulse indicated therein (S105).
The slave CPU core 113 that has received the WD pulse output instruction issues a WD pulse output instruction to the slave I / O port control unit 114 (S106). The WD pulse is for outputting a Hi level for a certain period (for example, 2 ms) to a signal that is being output at a low level in a steady state.

WDパルスの出力指示を受けたスレーブI/Oポート制御部114は、スレーブCPU108の外部出力ピンを介して、ウォッチドッグタイマ105に対しWDパルスを出力する(S107)。
WDパルスが入力されたウォッチドッグタイマ105は、前回のWDパルス受信から一定間隔(例えば、100ms)以内に次のWDパルスを受信した場合には、何も行わない。
マスターCPUコア109は、一定間隔以内にWDパルスを発信し続ける必要があるので、所定時間(例えば、50ms)以下の一定間隔ごとに、スレーブ通信制御部に向けてWDパルスの出力指示を送信する指示を繰り返し行う(S101)。
Receiving the WD pulse output instruction, the slave I / O port control unit 114 outputs a WD pulse to the watchdog timer 105 via the external output pin of the slave CPU 108 (S107).
The watchdog timer 105 to which the WD pulse is input does nothing when the next WD pulse is received within a predetermined interval (for example, 100 ms) from the previous WD pulse reception.
Since the master CPU core 109 needs to continuously transmit the WD pulse within a predetermined interval, the master CPU core 109 transmits an output instruction of the WD pulse to the slave communication control unit at a predetermined interval of a predetermined time (for example, 50 ms) or less. The instruction is repeatedly performed (S101).

次に、図5、図6を用いて、制御に何らかの異常がある場合を説明する。
図5は、マスターCPU107とスレーブCPU108との間の通信に異常が発生した場合の制御を説明するための図である。
Next, a case where there is some abnormality in the control will be described with reference to FIGS.
FIG. 5 is a diagram for explaining control when an abnormality occurs in communication between the master CPU 107 and the slave CPU 108.

S101からS102aは、図4の制御と同様なので、説明を省略する。
マスターCPU107とスレーブCPUとの間の通信に異常が発生した場合、受信側の制御部は正常にデータを受信することができないのでACKの送信を行わない(通信線が断線等している場合は、受信側の制御部にデータそのものが送信されない)。
マスター通信制御部111は、ACKを受信できないので、送信完了割込みの出力もしない。送信完了割込みを受信できなかったマスターCPUコア109は、スレーブCPU108への通信が正常にできなかったと認識する。
S101 to S102a are the same as the control in FIG.
When communication between the master CPU 107 and the slave CPU is abnormal, the control unit on the receiving side cannot receive data normally and does not transmit ACK (if the communication line is disconnected) The data itself is not transmitted to the control unit on the receiving side).
Since the master communication control unit 111 cannot receive ACK, it does not output a transmission completion interrupt. The master CPU core 109 that has not received the transmission completion interrupt recognizes that communication with the slave CPU 108 has not been performed normally.

一方、スレーブ通信制御部112は、通信内容を正常に受信できない(もしくは通信自体を認識できなかった)ため、スレーブCPUコア113に受信完了割込みを出力することはない。その結果、ウォッチドッグタイマ105にWDパルスが出力されない。
ウォッチドッグタイマ105は、所定時間内にWDパルスの入力がなかった場合、スレーブCPU108に対しリセット信号を出力する。リセット信号を受信することにより、CPU108内のスレーブ通信制御部112、スレーブCPUコア113、スレーブI/Oポート制御部114を含むすべての内部回路は、リセットがかけられ、動作を停止する(S108)。
停止したスレーブCPU108は、マスターCPU107との間の通信の異常が回復したのちに動作を再開する。
On the other hand, the slave communication control unit 112 cannot receive the communication contents normally (or could not recognize the communication itself), and therefore does not output a reception completion interrupt to the slave CPU core 113. As a result, no WD pulse is output to the watchdog timer 105.
The watchdog timer 105 outputs a reset signal to the slave CPU 108 when no WD pulse is input within a predetermined time. By receiving the reset signal, all internal circuits including the slave communication control unit 112, the slave CPU core 113, and the slave I / O port control unit 114 in the CPU 108 are reset and stop operating (S108). .
The stopped slave CPU 108 resumes its operation after the abnormality of communication with the master CPU 107 is recovered.

図6は、スレーブCPUコア113に動作異常が発生した場合の制御を示す図である。
S101からS104は、図5の制御と同様なので、説明を省略する。
FIG. 6 is a diagram illustrating control when an operation abnormality occurs in the slave CPU core 113.
Since S101 to S104 are the same as the control of FIG.

スレーブ通信制御部112は受信完了割込みをスレーブCPUコア113に対し出力する(S104)。しかし、スレーブCPUコア113が動作異常を起こしている状態なので、スレーブCPUコア113はスレーブI/Oポート制御部114に対しWDパルスの出力指示を出すことができない。
一定時間内にWDパルスを受信しなかったウォッチドッグタイマ105は、スレーブCPU108に対しリセット信号を出力する。リセット信号を受信することで、CPU108内のスレーブ通信制御部112、スレーブCPUコア113、スレーブI/Oポート制御部114を含むすべての内部回路は、リセットがかけられ、動作を停止する(S108)。
一方、マスターCPUコア109は、この時点ではスレーブCPU108の異常を認識できていないので、一定間隔後に再びWDパルスの出力指示を行う(S101)。しかし、スレーブCPU108が動作停止しているため、WDパルスの送信に対しACKが返信されてこない。これにより、マスターCPUコア109はスレーブCPU108の異常を認識することができる。
The slave communication control unit 112 outputs a reception completion interrupt to the slave CPU core 113 (S104). However, since the slave CPU core 113 is in an abnormal operation state, the slave CPU core 113 cannot issue a WD pulse output instruction to the slave I / O port control unit 114.
The watchdog timer 105 that has not received a WD pulse within a predetermined time outputs a reset signal to the slave CPU 108. By receiving the reset signal, all internal circuits including the slave communication control unit 112, the slave CPU core 113, and the slave I / O port control unit 114 in the CPU 108 are reset and stop operating (S108). .
On the other hand, since the master CPU core 109 cannot recognize the abnormality of the slave CPU 108 at this time, it instructs to output the WD pulse again after a certain interval (S101). However, since the operation of the slave CPU 108 is stopped, ACK is not returned for the transmission of the WD pulse. Thereby, the master CPU core 109 can recognize the abnormality of the slave CPU 108.

上述の制御により、マスター制御部100とスレーブ制御部101との間で専用ラインを必要とするリセット信号を用いることなく、マスターCPU107とスレーブCPU108との間の通信やスレーブCPUコア113の正常動作を保証することができる。また、これらに何らかに異常があった場合でも、マスターCPU107が異常検出をして、スレーブ制御部101を停止状態にすることができるため、異常動作時の保護が可能となる。   Through the above-described control, communication between the master CPU 107 and the slave CPU 108 and normal operation of the slave CPU core 113 can be performed without using a reset signal that requires a dedicated line between the master control unit 100 and the slave control unit 101. Can be guaranteed. Even if there is any abnormality in these, the master CPU 107 can detect the abnormality and put the slave control unit 101 in a stopped state, so that protection during abnormal operation can be achieved.

次に、第2の実施形態について説明する。
画像形成装置の構成や制御基板のブロック構成は、第1の実施形態と同様のため、説明を省略する。
Next, a second embodiment will be described.
Since the configuration of the image forming apparatus and the block configuration of the control board are the same as those in the first embodiment, description thereof is omitted.

図7は、第2の実施形態における制御ブロック図を示す。
マスター制御部100は機器全体の制御を担うマスターCPU107を有する。マスターCPU107は、制御部であるマスターCPUコア109、スレーブCPU208との通信を行うマスター通信制御部111を有する。
FIG. 7 is a control block diagram according to the second embodiment.
The master control unit 100 includes a master CPU 107 that controls the entire device. The master CPU 107 includes a master communication control unit 111 that performs communication with a master CPU core 109 and a slave CPU 208 that are control units.

スレーブ制御部101はスレーブCPU208を有する。スレーブCPU208は、制御部である第一のスレーブCPUコア213、第2のスレーブCPUコア214、マスターCPU107との通信を行うスレーブ通信制御部212、外部への信号の入出力を制御するスレーブI/Oポート制御部215を有する。
スレーブ制御部101には、スレーブCPU208にリセットをかけることができるウォッチドッグタイマ105が設けられている。ウォッチドッグタイマ105は、スレーブCPU208からのウォッチドッグ信号が、予め定められた時間、途切れた場合に、スレーブCPU208にリセットをかける監視機能を有する。
The slave control unit 101 has a slave CPU 208. The slave CPU 208 includes a first slave CPU core 213, a second slave CPU core 214, and a slave communication control unit 212 that communicate with the master CPU 107, and a slave I / O that controls input and output of signals to the outside. An O port control unit 215 is included.
The slave control unit 101 is provided with a watchdog timer 105 that can reset the slave CPU 208. The watchdog timer 105 has a monitoring function for resetting the slave CPU 208 when the watchdog signal from the slave CPU 208 is interrupted for a predetermined time.

図8は、第2の実施形態におけるマスターCPU107とスレーブCPU208との間の制御フローである。
S201からS205は、第1の実施形態のS101からS105と同様のため、説明を省略する。
FIG. 8 is a control flow between the master CPU 107 and the slave CPU 208 in the second embodiment.
Since S201 to S205 are the same as S101 to S105 of the first embodiment, description thereof will be omitted.

WDパルスの出力指示を取得した第1のスレーブCPUコア213は、第2のスレーブCPUコア214に対して、WDパルスの第1の出力指示する(S206)。WDパルスの第1の出力指示は、第1のスレーブCPUコア213と第2のスレーブCPUコア214との間で予め定義されている信号である。
WDパルスの第1の出力指示を受信した第2のスレーブCPUコア214は、スレーブI/Oポート制御部215に対し、WDパルスの第2の出力指示を出す(S207)。
The first slave CPU core 213 that has received the WD pulse output instruction instructs the second slave CPU core 214 to output the WD pulse first (S206). The first output instruction of the WD pulse is a signal defined in advance between the first slave CPU core 213 and the second slave CPU core 214.
The second slave CPU core 214 that has received the first output instruction of the WD pulse issues a second output instruction of the WD pulse to the slave I / O port control unit 215 (S207).

WDパルスの第2の出力指示を受けたスレーブI/Oポート制御部215は、スレーブCPU208の外部出力ピンを介して、ウォッチドッグタイマ105に対しWDパルスを出力する(S208)。
WDパルスを受けたウォッチドッグタイマ105は、前回のWDパルス受信から一定時間(例えば、100ms)内に次のWDパルスを受信した場合には、何も行わない。
Receiving the second output instruction of the WD pulse, the slave I / O port control unit 215 outputs the WD pulse to the watchdog timer 105 via the external output pin of the slave CPU 208 (S208).
Upon receiving the WD pulse, the watchdog timer 105 does nothing when the next WD pulse is received within a certain time (for example, 100 ms) from the previous WD pulse reception.

マスターCPUコア109は、一定間隔ごとにWDパルスを発信し続ける必要があるので、所定時間(例えば、50ms)以下の間隔で、スレーブ通信制御部に向けてWDパルスの出力指示を送信する指示を繰り返し行う(S201)。
制御に異常がある場合の動作は、第1の実施形態と同様のため、説明を省略する。
Since the master CPU core 109 needs to continuously transmit WD pulses at regular intervals, an instruction to transmit an output instruction of WD pulses to the slave communication control unit at intervals of a predetermined time (for example, 50 ms) or less. Repeatedly (S201).
Since the operation when there is an abnormality in the control is the same as that in the first embodiment, description thereof is omitted.

上述の制御により、マスター制御部100とスレーブ制御部101との間で専用ラインを必要とするリセット信号を用いることなく、マスターCPU107とスレーブCPU208との間の通信やスレーブCPUコア213、214の正常動作を保証できる。また、これらに何らかに異常があった場合でも、マスターCPU107が異常認識をして、スレーブ制御部101を停止状態にすることができるため、安全な異常動作時の保護が可能となる。   Through the above-described control, communication between the master CPU 107 and the slave CPU 208 and normal operation of the slave CPU cores 213 and 214 can be performed without using a reset signal that requires a dedicated line between the master control unit 100 and the slave control unit 101. Operation can be guaranteed. Even if there is any abnormality in these, the master CPU 107 can recognize the abnormality and put the slave control unit 101 in a stopped state, so that safe protection during abnormal operation is possible.

第2の実施形態では、1つのスレーブCPU208の中に複数のスレーブCPUコア213、214が含まれる形であったが、スレーブ制御部101に複数のCPUが実装され、各CPUにCPUコアがある形でも同様の制御が可能である。   In the second embodiment, a plurality of slave CPU cores 213 and 214 are included in one slave CPU 208, but a plurality of CPUs are mounted on the slave control unit 101, and each CPU has a CPU core. The same control is possible with the shape.

(その他の実施形態)
本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサーがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。
また、本発明は、複数の機器から構成されるシステムに適用しても、1つの機器からなる装置に適用してもよい。
本発明は上述の実施形態に限定されるものではなく、本発明の趣旨に基づき種々の変形(各実施形態の有機的な組合せを含む)が可能であり、それらを本発明の範囲から除外するものではない。すなわち、上述の実施形態やその変形例を組み合わせた構成もすべて本発明に含まれるものである。
(Other embodiments)
The present invention supplies a program that realizes one or more functions of the above-described embodiments to a system or apparatus via a network or a storage medium, and one or more processors in a computer of the system or apparatus read and execute the program This process can be realized. It can also be realized by a circuit (for example, ASIC) that realizes one or more functions.
Further, the present invention may be applied to a system composed of a plurality of devices or an apparatus composed of a single device.
The present invention is not limited to the above-described embodiments, and various modifications (including organic combinations of the embodiments) are possible based on the spirit of the present invention, and these are excluded from the scope of the present invention. It is not a thing. That is, the present invention includes all the configurations obtained by combining the above-described embodiments and modifications thereof.

100・・・マスター制御部
101・・・スレーブ制御部
105・・・ウォッチドッグタイマ
107・・・マスターCPU
108・・・スレーブCPU
109・・・マスターCPUコア
111・・・マスター通信制御部
112・・・スレーブ通信制御部
113・・・スレーブCPUコア
DESCRIPTION OF SYMBOLS 100 ... Master control part 101 ... Slave control part 105 ... Watchdog timer 107 ... Master CPU
108 ... Slave CPU
109 ... Master CPU core 111 ... Master communication control unit 112 ... Slave communication control unit 113 ... Slave CPU core

Claims (7)

マスター制御部と、
前記マスター制御部と通信を行うスレーブ制御部と、
前記スレーブ制御部からのウォッチドッグ信号を入力するとともに、所定時間内に前記ウォッチドッグ信号の入力がない場合に前記スレーブ制御部をリセットするウォッチドッグ手段とを有し、
前記マスター制御部は前記スレーブ制御に対してウォッチドッグ信号の出力の指示を送信し、
前記スレーブ制御部は前記マスター制御部から前記ウォッチドッグ信号の出力の指示を受信した場合、確認応答を前記マスター制御部に送信し、
前記マスター制御部は前記確認応答の有無に基づき、前記スレーブ制御部との通信の異常を検知し、
前記スレーブ制御部は前記マスター制御部からのウォッチドッグ信号の出力の指示に応じて前記ウォッチドッグ信号を前記ウォッチドッグ手段に出力する
ことを特徴とする情報処理装置。
A master control unit;
A slave controller that communicates with the master controller;
A watchdog means for inputting a watchdog signal from the slave control unit and resetting the slave control unit when the watchdog signal is not input within a predetermined time; and
The master control unit transmits an instruction to output a watchdog signal to the slave control,
When the slave control unit receives an instruction to output the watchdog signal from the master control unit, the slave control unit transmits an acknowledgment to the master control unit,
Based on the presence or absence of the confirmation response, the master control unit detects an abnormality in communication with the slave control unit,
The information processing apparatus according to claim 1, wherein the slave control unit outputs the watchdog signal to the watchdog unit in response to a watchdog signal output instruction from the master control unit.
前記マスター制御部は、前記スレーブ制御に対してウォッチドッグ信号の出力の指示を送信した後、前記所定時間内に前記スレーブ制御に対してウォッチドッグ信号の出力の指示を送信することを特徴とする請求項1記載の情報処理装置。   The master control unit transmits an instruction to output a watchdog signal to the slave control within the predetermined time after transmitting an instruction to output the watchdog signal to the slave control. The information processing apparatus according to claim 1. マスターCPUコアと、マスター通信制御部と、を有するマスター制御部と、
スレーブCPUコアと、前記マスター通信制御部と通信を行うスレーブ通信制御部と、通信システムの監視を行うウォッチドッグ手段と、を有するスレーブ制御部と、
を有する通信システムの情報処理装置であって、
前記マスターCPUコアは、前記スレーブCPUコアに対して、一定間隔ごとにウォッチドッグ信号を出力する指示を送信し、
前記スレーブCPUコアは、前記ウォッチドッグ信号を出力する指示を受信すると、前記ウォッチドッグ手段に対してウォッチドッグ信号を送信するとともに、
前記ウォッチドッグ手段は、前記一定間隔より長い一定時間内に、前記スレーブCPUコアから、前記ウォッチドッグ信号が送信されてこない場合は、前記スレーブCPUコアをリセットすることを特徴とする情報処理装置。
A master control unit having a master CPU core and a master communication control unit;
A slave controller having a slave CPU core, a slave communication controller that communicates with the master communication controller, and watchdog means for monitoring the communication system;
An information processing apparatus for a communication system having
The master CPU core sends an instruction to output a watchdog signal at regular intervals to the slave CPU core,
When the slave CPU core receives an instruction to output the watchdog signal, the slave CPU core transmits a watchdog signal to the watchdog means,
The information processing apparatus according to claim 1, wherein the watchdog means resets the slave CPU core when the watchdog signal is not transmitted from the slave CPU core within a predetermined time longer than the predetermined interval.
前記スレーブCPUコアは、第1のスレーブCPUコアと第2のスレーブCPUコアを含み、
前記マスターCPUコアは、前記第1のスレーブCPUコアに対して、前記一定間隔ごとに、前記ウォッチドッグ信号を出力する第1の指示を送信し、
前記第1のスレーブCPUコアは、前記第1の指示を受信すると、前記第2のスレーブCPUコアに対して、前記ウォッチドッグ信号を出力する第2の指示を送信し、
前記第2のスレーブCPUコアは、前記第2の指示を受信すると、前記ウォッチドッグ手段に対して、ウォッチドッグ信号を送信するとともに、
前記ウォッチドッグ手段は、前記一定間隔より長い一定時間内に、前記第2のスレーブCPUコアから、前記ウォッチドッグ信号が送信されてこない場合は、前記第1のスレーブCPUコア及び前記第2のスレーブCPUコアをリセットすることを特徴とする請求項3に記載の情報処理装置。
The slave CPU core includes a first slave CPU core and a second slave CPU core,
The master CPU core transmits a first instruction to output the watchdog signal at the predetermined interval to the first slave CPU core,
When the first slave CPU core receives the first instruction, the first slave CPU core transmits a second instruction to output the watchdog signal to the second slave CPU core;
When the second slave CPU core receives the second instruction, the second slave CPU core transmits a watchdog signal to the watchdog means,
If the watchdog signal is not transmitted from the second slave CPU core within a fixed time longer than the fixed interval, the watchdog means is configured to output the first slave CPU core and the second slave CPU. The information processing apparatus according to claim 3, wherein the CPU core is reset.
前記スレーブCPUコアは、前記マスターCPUコアが送信した前記ウォッチドッグ信号を出力する指示を受信すると、前記マスターCPUコアに対して確認の応答をすることを特徴とする請求項3または4に記載の情報処理装置。   5. The slave CPU core according to claim 3 or 4, wherein upon receiving an instruction to output the watchdog signal transmitted by the master CPU core, the slave CPU core responds to the master CPU core with a confirmation response. Information processing device. 前記スレーブ制御部が、複数あることを特徴とする請求項3から5のいずれか1項に記載の情報処理装置。   6. The information processing apparatus according to claim 3, wherein there are a plurality of slave control units. 前記通信システムが、画像形成装置の内部の通信システムであることを特徴とする請求項3から6のいずれか1項に記載の情報処理装置。   The information processing apparatus according to claim 3, wherein the communication system is an internal communication system of an image forming apparatus.
JP2018076125A 2018-04-11 2018-04-11 Information processor Pending JP2019185429A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018076125A JP2019185429A (en) 2018-04-11 2018-04-11 Information processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018076125A JP2019185429A (en) 2018-04-11 2018-04-11 Information processor

Publications (1)

Publication Number Publication Date
JP2019185429A true JP2019185429A (en) 2019-10-24

Family

ID=68341362

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018076125A Pending JP2019185429A (en) 2018-04-11 2018-04-11 Information processor

Country Status (1)

Country Link
JP (1) JP2019185429A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102211853B1 (en) * 2019-12-24 2021-02-03 주식회사 텔레칩스 System-on-chip with heterogeneous multi-cpu and method for controlling rebooting of cpu

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102211853B1 (en) * 2019-12-24 2021-02-03 주식회사 텔레칩스 System-on-chip with heterogeneous multi-cpu and method for controlling rebooting of cpu

Similar Documents

Publication Publication Date Title
JP5500951B2 (en) Control device
JP2013006425A (en) Image forming system and paper feeding apparatus
JP5111017B2 (en) Image forming system and paper feeding device
JP5882701B2 (en) Image forming apparatus
JP4863451B2 (en) Image forming system
JP2006293138A (en) Image forming apparatus
JP2019185429A (en) Information processor
JP2020015562A (en) Image forming device
JP4384212B2 (en) Paper transport device, document reading device, printing device
JPH05138976A (en) Image forming device
JP6699220B2 (en) Device, information processing system, device information transmission method and program
JP5699102B2 (en) Image forming apparatus
JP2000351252A (en) Option unit
JP2005265936A (en) Image forming apparatus
JP7342486B2 (en) Image forming device, image forming method and program
JP2011250347A (en) Image reading apparatus, image forming apparatus, image processing method program and recording medium
JP2007049470A (en) Functional module and information processor provided with the functional module
JP2007314334A (en) Image forming system
JPH09321920A (en) Image forming system
JP5840632B2 (en) Image forming apparatus
JP3554060B2 (en) Image forming apparatus and image information sending apparatus
JP2007052078A (en) Image forming apparatus
JPH07276743A (en) Image recording apparatus
JP2003233226A (en) Image forming apparatus
JP2572741B2 (en) Control system testing method