JP6911349B2 - Status signal output device and erroneous output prevention method - Google Patents
Status signal output device and erroneous output prevention method Download PDFInfo
- Publication number
- JP6911349B2 JP6911349B2 JP2016251509A JP2016251509A JP6911349B2 JP 6911349 B2 JP6911349 B2 JP 6911349B2 JP 2016251509 A JP2016251509 A JP 2016251509A JP 2016251509 A JP2016251509 A JP 2016251509A JP 6911349 B2 JP6911349 B2 JP 6911349B2
- Authority
- JP
- Japan
- Prior art keywords
- signal
- state
- cpu
- permission
- buffer
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Landscapes
- Microcomputers (AREA)
- Control Of Electric Motors In General (AREA)
Description
本発明は、状態信号出力装置及び誤出力防止方法に関する。 The present invention relates to a state signal output device and a method for preventing erroneous output.
サーボモータ等の機器を備えたシステムとして、例えばシステム全体を制御するコントロールユニットがドライブ回路を制御し、ドライブ回路から駆動電流を供給することによりサーボモータ等の機器を駆動するシステムがある。
このようなシステムにおいては、ドライブ回路では、コントロールユニットからモータ駆動指令信号が入力されたときに、ドライブ回路の状態、すなわち、ドライブ回路が運転準備状態であるのか、アラームを出力しているアラーム出力状態であるのか、等を検出し、ドライブ回路の状態を表す信号を状態信号としてコントロールユニットに出力している。これによって、コントロールユニットでは、ドライブ回路の状態を認識するようになっている。
As a system equipped with a device such as a servomotor, for example, there is a system in which a control unit that controls the entire system controls a drive circuit and supplies a drive current from the drive circuit to drive the device such as a servomotor.
In such a system, in the drive circuit, when a motor drive command signal is input from the control unit, the state of the drive circuit, that is, whether the drive circuit is in the operation ready state or an alarm output is output. It detects whether it is in a state, etc., and outputs a signal indicating the state of the drive circuit to the control unit as a state signal. As a result, the control unit recognizes the state of the drive circuit.
一方、ドライブ回路では、ドライブ回路の状態が運転準備状態であるときには、コントロールユニットからのモータ駆動指令信号に応じた駆動電流を生成してサーボモータ等の機器に供給し、ドライブ回路の状態がアラーム出力状態であるとき等には駆動電流の供給を行わないようになっている。
このとき、ドライブ回路では、コントロールユニットからのモータ駆動指令信号はCPUに入力され、CPUでドライブ回路の状態が検出されて状態信号が生成され、生成された状態信号がバッファで増幅されてコントロールユニットに出力されている。
On the other hand, in the drive circuit, when the state of the drive circuit is in the operation ready state, a drive current corresponding to the motor drive command signal from the control unit is generated and supplied to a device such as a servomotor, and the state of the drive circuit is an alarm. The drive current is not supplied when it is in the output state.
At this time, in the drive circuit, the motor drive command signal from the control unit is input to the CPU, the state of the drive circuit is detected by the CPU, a state signal is generated, and the generated state signal is amplified by the buffer to be amplified by the control unit. It is output to.
ドライブ回路では、CPUが、自身が動作可能な状態であるか否かを表す許可信号を出力しており、許可信号は、状態信号の信号ラインとは別の信号ラインで出力される。CPUでは、例えば起動時における初期処理等が終了し、CPUが所定の動作を行うことの可能な状態である間に限り、動作可能状態であることを表す許可信号を出力する。
バッファは、CPUが動作可能状態であることを表す許可信号が入力されている間に限り有効状態となり、許可信号とは別の信号ラインを介してCPUから入力される状態信号を増幅して、コントロールユニットに出力する。バッファがCPUからの許可信号を受けて有効状態であるときに限り状態信号をコントロールユニットに出力する構成とすることで、CPUが、起動時等に初期処理等が終了しておらずドライブ回路の状態に応じた状態信号を出力することができない状態にあるとき、つまり状態信号が不安定状態にあるときに、不安定状態にある状態信号がバッファを介してコントロールユニットに出力されることを防止するようにしている。
In the drive circuit, the CPU outputs a permission signal indicating whether or not it is in an operable state, and the permission signal is output on a signal line different from the signal line of the state signal. The CPU outputs a permission signal indicating that the CPU is in an operable state only while the initial processing at the time of startup is completed and the CPU is in a state in which a predetermined operation can be performed.
The buffer is in the effective state only while the permission signal indicating that the CPU is in the operable state is input, and the state signal input from the CPU via a signal line different from the permission signal is amplified. Output to the control unit. By configuring the buffer to output the status signal to the control unit only when it receives the permission signal from the CPU and is in the valid state, the CPU does not complete the initial processing at the time of startup, etc., and the drive circuit Prevents the unstable state signal from being output to the control unit via the buffer when the state signal cannot be output according to the state, that is, when the state signal is in an unstable state. I try to do it.
ドライブ回路等の一の装置の状態をコントロールユニット等が認識する方法として、例えば、特許文献1に記載された方法等も提案されている。特許文献1は、数値制御装置(一の装置に対応)の状態を、数値制御装置の電源オン制御を行う電子計算機(状態信号の出力先に対応)が認識するものであり、数値制御装置では電子計算機により電源オンに制御されると、まず、電子計算機に起動開始信号を出力し、続いて所定の初期処理等が終了したときに起動完了信号を出力する。一方、電子計算機では、数値制御装置を電源オンに制御した後、数値制御装置から起動開始信号を入力し、続いて所定時間内に起動完了信号を入力したときに、数値制御装置の初期処理等が終了したと認識するようにしている。 As a method for the control unit or the like to recognize the state of one device such as a drive circuit, for example, the method described in Patent Document 1 has been proposed. In Patent Document 1, the state of the numerical control device (corresponding to one device) is recognized by a computer (corresponding to the output destination of the state signal) that controls the power-on of the numerical control device. When the power is turned on by the computer, a start-up signal is first output to the computer, and then a start-up completion signal is output when a predetermined initial process or the like is completed. On the other hand, in a computer, after controlling the power of the numerical control device to be turned on, when a start start signal is input from the numerical control device and then a start completion signal is input within a predetermined time, initial processing of the numerical control device, etc. Is made to recognize that is finished.
CPUでは、起動時に初期処理等を実行している間は、所定の演算処理等を実行できる状態にはないため、この初期処理等を実行しているCPUから出力される各種信号はCPUで生成された信号ではなく不安定な信号となる。
ドライブ回路において、CPUの初期処理等が終了したときにCPUが動作可能状態にあることを表す許可信号をバッファに出力し、許可信号を受けたバッファが有効状態であるときにのみ、CPUからの状態信号をバッファを介してコントロールユニットに出力する方法では、バッファが有効状態とならない限り、CPUからの状態信号が出力されることはない。しかしながら、CPUが初期処理等を実行している間は、CPUが許可信号を生成することができないため、許可信号は不安定な信号となる。そのため、バッファが、実際にはCPUが動作可能状態でないにも関わらず、動作可能状態であることを表す許可信号が入力されたと誤判断し、バッファが有効状態となって状態信号を出力してしまう可能性がある。
Since the CPU is not in a state where it can execute predetermined arithmetic processing or the like while the initial processing or the like is being executed at startup, various signals output from the CPU executing the initial processing or the like are generated by the CPU. It becomes an unstable signal, not a signal that has been processed.
In the drive circuit, when the initial processing of the CPU is completed, a permission signal indicating that the CPU is in an operable state is output to the buffer, and the CPU receives the permission signal only when the buffer is in the valid state. In the method of outputting the status signal to the control unit via the buffer, the status signal from the CPU is not output unless the buffer is in the valid state. However, since the CPU cannot generate the permission signal while the CPU is executing the initial processing or the like, the permission signal becomes an unstable signal. Therefore, the buffer erroneously determines that a permission signal indicating that the CPU is in the operable state has been input even though the CPU is not actually in the operable state, and the buffer becomes the valid state and outputs the status signal. There is a possibility that it will end up.
また、特許文献1に記載の方法においても、数値制御装置が起動完了信号を出力するまでの間は数値制御装置では初期処理等を実行中であるため、起動完了信号は不安定な信号となる。その結果、実際には数値制御装置で生成された起動完了信号ではなく不安定な信号であるにも関わらず、電子計算機側では、数値制御装置で生成された起動完了信号であると誤認識し、数値制御装置での初期処理等が終了したと誤認識する可能性がある。
本発明は、このような事情に鑑みてなされたものであり、起動時等、CPUが初期処理等を実行しておりCPUが状態信号を生成することができず、状態信号が不安定な信号である状態で、状態信号の入力側の装置が不安定な状態信号に基づき誤動作することを回避することの可能な状態信号出力装置及び誤出力防止方法を提供することを目的としている。
Further, even in the method described in Patent Document 1, since the numerical control device is executing the initial processing and the like until the numerical control device outputs the start completion signal, the start completion signal becomes an unstable signal. .. As a result, the computer erroneously recognizes that it is a start-up completion signal generated by the numerical control device, even though it is actually an unstable signal rather than a start-up completion signal generated by the numerical control device. , There is a possibility of erroneously recognizing that the initial processing in the numerical control device has been completed.
The present invention has been made in view of such circumstances, and a signal in which the state signal is unstable because the CPU is executing initial processing or the like at startup or the like and the CPU cannot generate a state signal. It is an object of the present invention to provide a state signal output device and a method for preventing erroneous output, which can prevent the device on the input side of the state signal from malfunctioning based on the unstable state signal.
本発明の一態様によれば、一の装置の状態を表す状態信号を、信号ラインを介して他の装置に出力すると共に、予め設定した動作可能状態にあるときに動作可能状態にあることを表す許可信号を、状態信号の信号ラインとは異なる信号ラインで出力するCPUと、状態信号の信号ラインにCPUと他の装置との間に位置するように設けられると共に許可信号の信号ラインを介してCPUと接続されることで、状態信号及び許可信号の両方が入力され、動作可能状態にあることを表す許可信号が入力されている間に限り状態信号を他の装置に出力するバッファと、CPUとバッファとの間の許可信号の信号ラインに設けられた許可信号安定回路と、を備え、許可信号安定回路は、CPUが非動作可能状態である間は許可信号の信号ラインの信号レベルを、CPUが非動作可能状態であることを表す信号レベルに維持することを特徴としている。 According to one aspect of the present invention, a state signal representing the state of one device is output to another device via a signal line, and the device is in an operable state when it is in a preset operable state. The permission signal to be represented is provided so as to be located between the CPU and another device on the signal line of the state signal and the CPU that outputs the permission signal on a signal line different from the signal line of the state signal, and also via the signal line of the permission signal. By being connected to the CPU , both the status signal and the permission signal are input, and the buffer that outputs the status signal to other devices only while the permission signal indicating that it is in the operable state is input, and The permission signal stabilizing circuit provided in the signal line of the permission signal between the CPU and the buffer is provided, and the permission signal stabilization circuit determines the signal level of the signal line of the permission signal while the CPU is in an inoperable state. , The feature is to maintain the signal level indicating that the CPU is in an inoperable state.
本発明の一態様によれば、起動時等、CPUが初期処理等を実行しており、CPUが状態信号を生成することができず不安定な状態信号である状態で、状態信号が入力される側の装置が不安定な状態信号に基づき誤動作することを回避することができる。 According to one aspect of the present invention, the state signal is input in a state where the CPU is executing initial processing or the like at startup or the like and the CPU cannot generate a state signal and is an unstable state signal. It is possible to prevent the device on the other side from malfunctioning based on the unstable state signal.
以下、本発明の実施の形態を、図面に基づいて説明する。
以下の詳細な説明では、本発明の実施形態の完全な理解を提供するように多くの特定の細部について記載される。しかしながら、かかる特定の細部がなくても1つ以上の実施形態が実施できることは明らかである。他にも、図面を簡潔にするために、周知の構造及び装置が略図で示されている。
本発明の一実施形態に係る状態信号出力装置は、ドライブ回路(一の装置に対応)の状態を表す状態信号を出力すると共に、予め設定した動作可能状態にあるときに動作可能状態にあることを表す許可信号を、状態信号の信号ラインとは異なる信号ラインで出力するCPUと、状態信号及び許可信号が入力され、動作可能状態にあることを表す許可信号が入力されている間に限り状態信号を出力するバッファと、CPUとバッファとの間の許可信号の信号ラインに設けられた許可信号安定回路と、を備え、許可信号安定回路は、CPUが非動作可能状態である間は許可信号の信号ラインの信号レベルを、CPUが非動作可能状態であることを表す信号レベルに維持する。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
The following detailed description describes many specific details to provide a complete understanding of the embodiments of the present invention. However, it is clear that one or more embodiments can be implemented without such specific details. Other well-known structures and devices are shown in schematics for the sake of brevity in the drawings.
The state signal output device according to the embodiment of the present invention outputs a state signal indicating the state of the drive circuit (corresponding to one device) and is in an operable state when it is in a preset operable state. The state is limited to the CPU that outputs the permission signal indicating A buffer that outputs a signal and a permission signal stabilizing circuit provided in the signal line of the permission signal between the CPU and the buffer are provided, and the permission signal stabilizing circuit is provided as a permission signal while the CPU is in an inoperable state. The signal level of the signal line of is maintained at the signal level indicating that the CPU is in an inoperable state.
図1は、本発明の一実施形態に係る状態信号出力装置を適用したモータ制御装置の一例を示す構成図である。
図1に示すモータ制御装置100は、ドライブ回路(一の装置に対応)1と、コントロールユニット2とを備え、ドライブ回路1は、コントロールユニット2により制御されて、例えばサーボモータMを駆動制御する。
ドライブ回路1は、制御部1aと駆動電流供給回路1bとを備える。
制御部1aは、CPU11と、バッファ12と、許可信号安定回路13と、を備え、本発明の一実施形態に係る状態信号出力装置の機能構成を備える。
FIG. 1 is a configuration diagram showing an example of a motor control device to which the state signal output device according to the embodiment of the present invention is applied.
The
The drive circuit 1 includes a
The
CPU11は、起動時、或いは再立ち上げ時等に初期処理等を実行し、初期処理等が終了し、CPU11が所定の処理を実行可能な状態となったとき、CPU11が動作可能状態にある間、CPU11が動作可能状態にあることを表す許可信号を出力する。CPU11は、動作可能状態となったとき、許可信号安定回路13を無効とする。
また、CPU11はコントロールユニット2からモータ駆動指令信号が入力されたときには、制御部1aの各部及び駆動電流供給回路1bの状態を検出し、ドライブ回路1の状態を表す状態信号を出力する。この状態信号はバッファ12を介してコントロールユニット2に出力される。CPU11は、ドライブ回路1が運転準備状態にあるか、アラーム出力状態にあるか等といった、ドライブ回路1の状態を検出し、これを状態信号として出力する。CPU11は、ドライブ回路1が運転準備状態である場合等、ドライブ回路1がコントロールユニット2からの各種指令信号に応じた所定の動作を行うことができる状態にあるときには、コントロールユニット2からのモータ駆動指令信号に応じて、駆動電流供給回路1bを駆動制御する駆動信号を出力する。CPU11は、ドライブ回路1がアラーム出力状態である場合等、ドライブ回路1がコントロールユニット2からの各種指令信号に応じた動作を行うことができない状態にあるときには、駆動電流供給回路1bの駆動制御は行わない。
The
Further, when the motor drive command signal is input from the
CPU11とバッファ12とは例えば内部バスL1で接続され、状態信号は内部バスL1を介してバッファ12に入力される。CPU11から出力される許可信号は、内部バスL1とは別の信号ラインL2を介してバッファ12に入力される。CPU11とバッファ12との間の信号ラインL2には、許可信号安定回路13が介挿されている。許可信号安定回路13は、信号ラインL2を介して入力される許可信号を安定化してバッファ12に出力する。
駆動電流供給回路1bは、例えば、IPM(Intelligent Power Module)素子等を備え、CPU11からの駆動信号に応じた駆動電流をサーボモータMに供給する。
The
The drive current supply circuit 1b includes, for example, an IPM (Intelligent Power Module) element or the like, and supplies a drive current corresponding to a drive signal from the
図2は、許可信号安定回路13の一例を示す構成図である。図2(a)に示すように、許可信号安定回路13は、一端が例えば5Vの電源に接続された抵抗R1を有し、抵抗R1の他端は、CPU11とバッファ12とを接続する許可信号送信用の信号ラインL2に接続され、抵抗R1と信号ラインL2との間に、常閉接点を有するスイッチSWが介挿されている。許可信号安定回路13は、ドライブ回路1の電源が投入されると、許可信号送信用の信号ラインL2をHIGHレベルに維持し、バッファ12に入力される許可信号をHIGHレベルに維持する。CPU11は、初期処理等が終了し動作可能状態となった時点で、スイッチSWを開放状態に制御し、以後、例えばドライブ回路1の電源が遮断されるまで開放状態を維持する。
FIG. 2 is a configuration diagram showing an example of the permission
図2(b)は許可信号安定回路13のその他の例を示したものであり、許可信号安定回路13は、図2(b)に示すように、一端がGND(0V)に接続された抵抗R2を有し、抵抗R2の他端は、CPU11とバッファ12との間を接続する信号ラインL2に接続され、抵抗R1と信号ラインL2との間に、常閉接点を有するスイッチSWが介挿されている。許可信号安定回路13は、ドライブ回路1の電源が投入されると、許可信号の信号ラインL2をグランド電位に維持し、バッファ12に入力される許可信号をLOWレベルに維持する。CPU11は、初期処理等が終了し動作可能状態となった時点で、スイッチSWを開放状態に制御し、以後、例えばドライブ回路1の電源が遮断されるまで開放状態を維持する。
FIG. 2B shows another example of the permission
次に、上記実施形態の動作を説明する。
ドライブ回路1の電源は、モータ制御装置100の電源が投入されると投入され、ドライブ回路1の各部が起動する。
ドライブ回路1の電源が投入されると、CPU11では初期処理等を行い、初期処理等が終了し所定の演算処理を実行可能な状態(動作可能状態)となった後、CPU11が動作可能状態となったことを表す許可信号をバッファ12へ出力する。この許可信号は信号ラインL2を介してバッファ12に入力される。
バッファ12は、動作可能状態を表す許可信号が入力されている間に限り有効状態となり、CPU11から入力される状態信号を、コントロールユニット2に出力可能な状態となる。
Next, the operation of the above embodiment will be described.
The power supply of the drive circuit 1 is turned on when the power supply of the
When the power of the drive circuit 1 is turned on, the
The
CPU11は、コントロールユニット2からモータ駆動指令信号が入力されると、ドライブ回路1の状態を検出し状態信号を出力する。CPU11から出力される状態信号は内部バスL1を経てバッファ12に出力される。この時点で、バッファ12にはCPU11からの動作可能状態であることを表す許可信号が入力されており、バッファ12は有効状態であるため、状態信号はバッファ12からコントロールユニット2に出力され、コントロールユニット2は、状態信号からドライブ回路1の状態を認識する。
一方、CPU11は、ドライブ回路1が、運転準備状態等、動作可能状態である場合には、コントロールユニット2からのモータ駆動指令信号に応じた駆動信号を生成し、駆動電流供給回路1bを駆動する。
CPU11が、CPU11での初期処理等が終了し所定の処理を実行可能な動作可能状態となったときに、許可信号をLOWレベルとして出力するように構成されている場合、許可信号安定回路13は、図2(a)に示すように構成される。
When the motor drive command signal is input from the
On the other hand, when the drive circuit 1 is in an operable state such as an operation ready state, the
When the
ドライブ回路1の電源が投入されCPU11が起動された時点では、CPU11は初期処理等が終了しておらず、CPU11は許可信号を生成することができないため、許可信号は不安定な信号となる。しかしながら、CPU11とバッファ12との間の信号ラインL2には、許可信号安定回路13が設けられており、バッファ12に入力される許可信号は、許可信号安定回路13によってHIGHレベルに維持される。つまり、許可信号は、CPU11での初期処理等が終了していない非動作可能状態であることを表す信号レベルに維持される。このため、CPU11が許可信号を生成することができず、不安定な許可信号であっても、バッファ12には非動作可能状態であることを表す許可信号が入力されるため、バッファ12が動作可能状態であることを表す許可信号が入力されたと誤認識することはなく、バッファ12は、CPU11での初期処理等が終了したと誤認識することはない。
When the power of the drive circuit 1 is turned on and the
そのため、起動時にドライブ回路1が運転準備状態になっていない状態で、コントロールユニット2からモータ駆動指令信号がドライブ回路1に入力されたとしても、不安定な状態信号がコントロールユニット2に出力されることが回避される。コントロールユニット2ではモータ駆動指令信号に対する応答として、状態信号が入力されないため、ドライブ回路1が動作可能状態にないことを認識することができる。
CPU11での初期処理等が終了し、CPU11からLOWレベルの許可信号が出力される状態となると、CPU11では、例えば許可信号安定回路13の信号ラインL2と抵抗R1との間に設けられたスイッチSWを遮断状態に切り替え、許可信号安定回路13を無効とする。CPU11から出力された許可信号は、そのままバッファ12に入力され、許可信号がLOWレベルであるためバッファ12は有効状態に切り替わる。これ以後バッファ12に入力される状態信号はバッファ12で増幅されてコントロールユニット2に出力される。この時点ではCPU11は初期処理等が終了しており、CPU11は所定の演算処理を実行可能な動作可能状態となっている。この時点でコントロールユニット2からモータ駆動指令信号が出力されると、CPU11では、ドライブ回路1の状態に応じた安定した状態信号を出力し、この状態信号がコントロールユニット2に出力される。コントロールユニット2は状態信号から、ドライブ回路1の状態を認識することができる。
Therefore, even if the motor drive command signal is input from the
When the initial processing or the like in the
ドライブ回路1が運転準備状態であれば、CPU11はモータ駆動指令信号に応じた駆動信号を駆動電流供給回路1bに出力し、駆動電流供給回路1bから駆動電流がサーボモータMに供給される。
一方、CPU11が、初期処理等が終了し所定の処理を実行可能な状態となったときに、許可信号をHIGHレベルとして出力する場合には、許可信号安定回路13は、図2(b)に示すように構成される。
ドライブ回路1の電源が投入された時点では、CPU11では許可信号を生成することができないため、許可信号は不安定な信号となるが、バッファ12には、許可信号安定回路13によって、CPU11が非動作可能状態にあることを表すLOWレベルに維持された許可信号が入力される。このため、CPU11では許可信号を生成することができず許可信号は不安定な信号ではあるが、バッファ12は、CPU11から動作可能状態を表す許可信号が入力されたと誤認識することはない。バッファ12は許可信号が非動作可能状態を表す信号である間は、状態信号をコントロールユニット2に出力しないため、CPU11から出力される不安定な状態信号がバッファ12を介して、コントロールユニット2に出力されることが回避される。
When the drive circuit 1 is in the operation ready state, the
On the other hand, when the
When the power of the drive circuit 1 is turned on, the permission signal cannot be generated by the
CPU11での初期処理等が終了し、CPU11からHIGHレベルの許可信号が出力される状態となると、CPU11では、例えば、許可信号安定回路13の信号ラインL2と抵抗R2との間に設けられたスイッチSWを遮断状態に切り替え、許可信号安定回路13を無効とする。CPU11から出力された許可信号はそのままバッファ12に入力され、バッファ12は有効状態に切り替わる。これ以後バッファ12に入力される状態信号はバッファ12で増幅されて出力される。この時点ではCPU11は初期処理等が終了しており、所定の演算処理を実行可能な状態となっている。この時点でCPU11が出力する状態信号は、ドライブ回路1の状態に応じて設定された状態信号である。したがって、コントロールユニット2に対して、CPU11からの不安定な状態信号が出力されることを回避し、ドライブ回路1の状態に応じて生成された状態信号のみが出力されるようにすることができる。
When the initial processing and the like in the
モータ制御装置100では、ドライブ回路1が起動されてからCPU11での初期処理等が終了しCPU11が許可信号を生成可能な状態となるまでの間、CPU11での初期処理等が終了していない間は、バッファ12に入力される許可信号は、CPU11での初期処理等が終了していないことを表す信号レベルを維持することになる。モータ制御装置100では、CPU11が初期処理等を実行している状態であり不安定な許可信号である場合には、この不安定な許可信号に基づいてバッファ12が誤動作し、結果的に不安定な状態信号がコントロールユニット2に出力されることを回避するために、CPU11とバッファ12との間の許可信号の信号ラインL2に許可信号安定回路13を設けている。
In the
CPU11での初期処理等が終了し、CPU11が許可信号安定回路13を無効にすると共に、動作可能状態を表す許可信号を出力すると、バッファ12に入力される許可信号は、動作可能状態を表す許可信号に切り替わる。バッファ12は有効状態となり、CPU11で生成されたドライブ回路1の状態に応じた状態信号がバッファ12からコントロールユニット2に出力される。コントロールユニット2は、状態信号に基づきドライブ回路1の状態を認識することができる。したがって、CPU11が初期処理等が終了していない状態にあるときに、コントロールユニット2が不安定な状態信号に基づき誤動作することを回避することができ、モータ制御装置100の信頼性を向上させることができる。
When the initial processing and the like in the
なお、上記実施形態では、サーボモータMを駆動制御するドライブ回路1に、状態信号出力装置を設けた場合について説明したが、これに限るものではない。例えば、一の装置に搭載されているCPUが、一の装置の状態を表す状態信号を上位装置等の他の装置に送信する場合、CPUが自身の状態を表す状態信号を上位装置等に送信する場合、CPUが、自身が搭載されていない装置の状態信号を中継して上位装置等に送信する場合等、いずれかの装置の状態信号を、CPUが他の装置に出力するようになっているCPUであれば、適用することができる。 In the above embodiment, the case where the state signal output device is provided in the drive circuit 1 that drives and controls the servomotor M has been described, but the present invention is not limited to this. For example, when the CPU mounted on one device transmits a status signal indicating the state of one device to another device such as a host device, the CPU transmits a status signal representing its own status to the host device or the like. In this case, the CPU outputs the status signal of one of the devices to the other device, such as when the CPU relays the status signal of the device on which it is not mounted and transmits it to a higher-level device or the like. Any CPU can be applied.
また、上記実施形態では、CPU11が、許可信号安定回路13の信号ラインL2と抵抗R1又はR2との間に設けたスイッチSWを遮断させることによって、許可信号安定回路13を無効とする場合について説明したが、これに限るものではない。CPU11が動作可能状態となった後、許可信号安定回路13を無効とすることができるような構成であればよい。
また、許可信号安定回路13は、図2(a)(b)に示す構成に限るものではなく、CPU11が動作可能状態となるまでの間、信号ラインL2を、CPU11が非動作状態であることを表す許可信号に維持することができればどのような構成であってもよい。
Further, in the above embodiment, the case where the
Further, the permission
以上、特定の実施形態を参照して本発明を説明したが、これら説明によって発明を限定するものではない。本発明の説明を参照することにより、当業者には、開示された実施形態の種々の変形例とともに本発明の別の実施形態も明らかである。従って、特許請求の範囲は、本発明の範囲及び要旨に含まれるこれらの変形例又は実施形態も網羅すると解すべきである。 Although the present invention has been described above with reference to specific embodiments, the description does not limit the invention. By reference to the description of the present invention, other embodiments of the present invention will be apparent to those skilled in the art as well as various variations of the disclosed embodiments. Therefore, it should be understood that the scope of claims also covers these modifications or embodiments included in the scope and gist of the present invention.
1 ドライブ回路
1a 制御部
1b 駆動電流供給回路
2 コントロールユニット
11 CPU
12 バッファ
13 許可信号安定回路
100 モータ制御装置
M サーボモータ
SW スイッチ
1 Drive
12
Claims (5)
前記状態信号の信号ラインに前記CPUと前記他の装置との間に位置するように設けられると共に前記許可信号の信号ラインを介して前記CPUと接続されることで、前記状態信号及び前記許可信号の両方が入力され、前記動作可能状態にあることを表す前記許可信号が入力されている間に限り前記状態信号を前記他の装置に出力するバッファと、
前記CPUと前記バッファとの間の前記許可信号の信号ラインに設けられた許可信号安定回路と、を備え、
前記許可信号安定回路は、前記CPUが非動作可能状態である間は前記許可信号の信号ラインの信号レベルを、前記CPUが前記非動作可能状態であることを表す信号レベルに維持することを特徴とする状態信号出力装置。 A state signal indicating the state of one device is output to another device via a signal line, and a permission signal indicating that the device is in the operable state when it is in the preset operable state is transmitted as the state signal. CPU that outputs with a signal line different from the signal line of
The status signal and the permission signal are provided so as to be located between the CPU and the other device in the signal line of the state signal and connected to the CPU via the signal line of the permission signal. are both input, and a buffer for outputting the state signal to the other device only while the enabling signal indicating that it is in the operational state is entered,
The permission signal stabilizing circuit provided in the signal line of the permission signal between the CPU and the buffer is provided.
The permission signal stabilization circuit is characterized in that the signal level of the signal line of the permission signal is maintained at a signal level indicating that the CPU is in the non-operable state while the CPU is in the non-operable state. State signal output device.
前記許可信号安定回路は、一端が前記信号ラインに接続され他端が電源に接続された抵抗を備えることを特徴とする請求項1に記載の状態信号出力装置。 The permission signal indicating that the operation is possible is a LOW level signal.
The state signal output device according to claim 1, wherein the permission signal stabilization circuit includes a resistor having one end connected to the signal line and the other end connected to a power supply.
前記許可信号安定回路は、一端が前記信号ラインに接続され他端がグランド電位に接続された抵抗を備えることを特徴とする請求項1に記載の状態信号出力装置。 The permission signal indicating that the operation is possible is a HIGH level signal.
The state signal output device according to claim 1, wherein the permission signal stabilization circuit includes a resistor having one end connected to the signal line and the other end connected to a ground potential.
前記ドライブ回路の状態を表す前記状態信号は、前記ドライブ回路の上位装置に出力されることを特徴とする請求項1から請求項3のいずれか一項に記載の状態信号出力装置。 Included in the drive circuit as one device,
The state signal output device according to any one of claims 1 to 3, wherein the state signal representing the state of the drive circuit is output to a higher-level device of the drive circuit.
CPUは、前記一の装置の前記状態信号を、信号ラインを介して他の装置に出力すると共に、当該CPUが予め設定した動作可能状態にあるときに当該動作可能状態にあることを表す許可信号を、前記状態信号の信号ラインとは異なる信号ラインで出力し、
前記状態信号の信号ラインに前記CPUと前記他の装置との間に位置するようにバッファを設けると共に、当該バッファを前記許可信号の信号ラインを介して前記CPUと接続し、
前記バッファは、前記状態信号及び前記許可信号の両方が入力され、前記動作可能状態にあることを表す前記許可信号が入力されている間に限り前記状態信号を出力し、
前記CPUが非動作可能状態である間は、前記CPUと前記バッファとの間の前記許可信号の信号ラインの信号レベルを前記CPUが非動作可能状態であることを表す信号レベルに維持することを特徴とする誤出力防止方法。 It is a method of preventing erroneous output of a state signal indicating the state of one device.
The CPU outputs the state signal of the one device to another device via a signal line, and also indicates that the CPU is in the operable state when it is in the preset operable state. Is output on a signal line different from the signal line of the state signal.
A buffer is provided in the signal line of the state signal so as to be located between the CPU and the other device, and the buffer is connected to the CPU via the signal line of the permission signal.
Said buffer, said both state signal and said permission signal is inputted, and outputs the state signal only while the enable signal indicating that it is in the operational state is entered,
While the CPU is in the inoperable state, the signal level of the signal line of the permission signal between the CPU and the buffer is maintained at a signal level indicating that the CPU is in the inoperable state. Characteristic erroneous output prevention method.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2016251509A JP6911349B2 (en) | 2016-12-26 | 2016-12-26 | Status signal output device and erroneous output prevention method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2016251509A JP6911349B2 (en) | 2016-12-26 | 2016-12-26 | Status signal output device and erroneous output prevention method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2018106393A JP2018106393A (en) | 2018-07-05 |
| JP6911349B2 true JP6911349B2 (en) | 2021-07-28 |
Family
ID=62787108
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2016251509A Active JP6911349B2 (en) | 2016-12-26 | 2016-12-26 | Status signal output device and erroneous output prevention method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP6911349B2 (en) |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH11282647A (en) * | 1998-03-31 | 1999-10-15 | Tamura Electric Works Ltd | Information equipment |
| JP2010152643A (en) * | 2008-12-25 | 2010-07-08 | Fujitsu Ltd | Data transfer device, data storage device, and method |
| JP6036578B2 (en) * | 2013-03-08 | 2016-11-30 | 株式会社デンソー | Data processing device |
-
2016
- 2016-12-26 JP JP2016251509A patent/JP6911349B2/en active Active
Also Published As
| Publication number | Publication date |
|---|---|
| JP2018106393A (en) | 2018-07-05 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP6227794B2 (en) | Vehicle control device, reprogramming system | |
| US10496062B2 (en) | Programmable controller for controlling automatic machines, having CPU to received control with respect to own apparatus, when external storage is authenticated based on authentication information | |
| WO2025067325A1 (en) | Control circuit, control system and control method for limp home function of vehicle | |
| JP7695431B2 (en) | Robot Control Device | |
| JP2017146897A (en) | Microcontroller and electronic control device | |
| JP6911349B2 (en) | Status signal output device and erroneous output prevention method | |
| JP2024041306A (en) | Memory system and control method | |
| JP6181011B2 (en) | Control device for internal combustion engine | |
| JP2024034673A (en) | power control device | |
| WO2018186089A1 (en) | Vehicle control apparatus | |
| CN109298892B (en) | Device and method for controlling startup and shutdown of server | |
| CN109313425B (en) | Programmable logic controller | |
| KR102351645B1 (en) | Overheat prevention apparatus and method for glow plug and computer program stored on a computer readable storage medium for executing the method | |
| JP5353273B2 (en) | Processor peripheral circuit | |
| JP6540518B2 (en) | Electronic control unit | |
| JP7545597B1 (en) | Vehicle Control Systems | |
| JP7816055B2 (en) | Control device | |
| JP2006139407A (en) | Electronics | |
| JP7733507B2 (en) | Information processing system and information processing program | |
| JP2005102418A (en) | Inverter device | |
| JP2011008493A (en) | System abnormality detection system by watchdog timer | |
| JP2020058199A (en) | Motor drive control device, fan device, and motor drive control method | |
| JP2005284672A (en) | Communication device | |
| JP2003330501A (en) | Program controller | |
| KR20060068618A (en) | How to manage external devices attached to the system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20191219 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20201225 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20210119 |
|
| A601 | Written request for extension of time |
Free format text: JAPANESE INTERMEDIATE CODE: A601 Effective date: 20210319 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20210520 |
|
| 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: 20210608 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20210621 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 6911349 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |