JP2005064717A - State holding device - Google Patents

State holding device Download PDF

Info

Publication number
JP2005064717A
JP2005064717A JP2003290436A JP2003290436A JP2005064717A JP 2005064717 A JP2005064717 A JP 2005064717A JP 2003290436 A JP2003290436 A JP 2003290436A JP 2003290436 A JP2003290436 A JP 2003290436A JP 2005064717 A JP2005064717 A JP 2005064717A
Authority
JP
Japan
Prior art keywords
trigger signal
signal
circuit
holding device
state holding
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.)
Granted
Application number
JP2003290436A
Other languages
Japanese (ja)
Other versions
JP3915756B2 (en
Inventor
Nobutomo Takagi
信友 高木
Yasuhiro Tanaka
康弘 田中
Takashi Harada
隆嗣 原田
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.)
Denso Corp
Original Assignee
Denso Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Denso Corp filed Critical Denso Corp
Priority to JP2003290436A priority Critical patent/JP3915756B2/en
Priority to US10/909,532 priority patent/US7124005B2/en
Priority to DE102004038095.3A priority patent/DE102004038095B4/en
Priority to CNB2004100562518A priority patent/CN1322674C/en
Publication of JP2005064717A publication Critical patent/JP2005064717A/en
Application granted granted Critical
Publication of JP3915756B2 publication Critical patent/JP3915756B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Electronic Switches (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a state holding device wherein malfunction due to a wrong output of software sporadically caused or noise hardly takes place. <P>SOLUTION: A charge/discharge capacitor C52 in trigger signal generating circuits 11, 13 is charged up at a leading edge of a pulse signal from a microcomputer 5, and the charging electric charges are gradually discharged via resistors R11, R12 and a transistor TR 1 (in the case of the trigger signal generating circuit 11) or via resistors R31, R32 and a transistor TR 2 (in the case of the trigger signal generating circuit 13). The capacitance of the charge/discharge capacitor C52 is selected so as to provide a charging voltage (i.e., a signal level of trigger signals T1, T2) to be an ON voltage or over at which the transistors Tr1, Tr3 are turned on (i.e., activation of a drive current supply circuit 15 and a cancel circuit 19) at the input of the specified number of pulses or over within a specified period. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、トリガ信号の入力により、保持する信号レベルが切り替わるホールド回路を備えた状態保持装置に関する。   The present invention relates to a state holding device including a hold circuit in which a held signal level is switched by input of a trigger signal.

従来より、RSフリップフロップ回路や、自動制御に用いられる各種自己保持回路等に代表されるように、トリガ信号が入力されると、予め決められた出力レベルに切り替わり、トリガ信号の消失後も、その出力レベルを保持し続けるホールド回路が知られている。   Conventionally, when a trigger signal is input, as represented by an RS flip-flop circuit, various self-holding circuits used for automatic control, etc., the output level is switched to a predetermined output level. A hold circuit that keeps the output level is known.

この種のホールド回路には、入力端子を一つだけ備え、トリガ信号が入力される毎に出力レベルが変化するものや、複数の入力端子(例えば、セット/リセット)を備え、トリガ信号が入力された時に保持する出力レベルが入力端子毎に異なるものなどがある。   This type of hold circuit has only one input terminal, and the output level changes each time a trigger signal is input, or a plurality of input terminals (for example, set / reset), and the trigger signal is input. The output level held at the time of being input varies depending on the input terminal.

なお、このようなホールド回路や、ホールド回路を利用してある決められた状態を保持する状態保持装置は、公知,公用の技術に関するものであるため、特に文献開示は行わない。   Note that such a hold circuit and a state holding device that holds a predetermined state using the hold circuit are related to a publicly known and publicly used technique, and thus no literature is disclosed.

このようなホールド回路では、トリガ信号の入力端子に、ノイズやソフトの誤出力が入力されると、出力レベルが使用者の意図するものとは異なったものに簡単に切り替わってしまい、しかも、その切り替わった状態のまま保持されてしまうという問題があった。   In such a hold circuit, if noise or software error output is input to the input terminal of the trigger signal, the output level is easily switched to something different from the one intended by the user. There was a problem that it was kept in the switched state.

例えば、このホールド回路を、車両の駆動系への電源供給を制御する装置に適用した場合、車両の走行中に、トリガ信号としての条件を満たすようなノイズがホールド回路に入力されると、走行中であるにも関わらず駆動系への電源供給が不意に停止され、これを制御できなくなること等が考えられる。   For example, when this hold circuit is applied to a device that controls power supply to a drive system of a vehicle, when noise that satisfies a condition as a trigger signal is input to the hold circuit during vehicle travel, It is conceivable that the power supply to the drive system is unexpectedly stopped even though it is in the middle and cannot be controlled.

従って、車載装置等、高い信頼性や安全性が要求される装置に、このようなホールド回路を適用する場合には、別途、信頼性や安全性を確保するための回路を設けなければならず、装置規模が大きくなってしまうという問題もあった。   Therefore, when such a hold circuit is applied to a device that requires high reliability and safety, such as an in-vehicle device, a circuit for ensuring reliability and safety must be provided separately. There is also a problem that the scale of the apparatus becomes large.

本発明は、上記問題点を解決するために、単発的に発生するソフトの誤出力やノイズによる誤作動が起こり難い状態保持装置を提供することを目的とする。   In order to solve the above-described problems, an object of the present invention is to provide a state holding device that is unlikely to cause a malfunction caused by a single software error or noise.

上記目的を達成するためになされた本発明の状態保持装置では、トリガ信号生成回路が、予め設定された規定期間内に予め設定された規定個以上のパルス信号が入力された場合に、トリガ信号を生成し、ホールド回路は、このトリガ信号生成回路が生成したトリガ信号の入力により、保持する信号レベルが切り替わる。   In the state holding device of the present invention made to achieve the above object, the trigger signal generation circuit receives a trigger signal when a predetermined number of pulse signals set in advance within a predetermined period set in advance. The hold circuit switches the signal level held by the input of the trigger signal generated by the trigger signal generation circuit.

つまり、トリガ信号生成回路は、単発的なソフトの誤出力やノイズ(以下単に「ノイズ等」と称する。)によって、トリガ信号を発生させてしまうことがない。
従って、本発明の状態保持装置によれば、ノイズ等によるホールド回路の誤動作を防止でき、当該装置をノイズの多い環境で使用される機器等に適用しても、その機器の信頼性や安全性を十分に確保することができる。
That is, the trigger signal generation circuit does not generate a trigger signal due to a single erroneous software output or noise (hereinafter simply referred to as “noise etc.”).
Therefore, according to the state holding device of the present invention, the malfunction of the hold circuit due to noise or the like can be prevented, and even if the device is applied to a device used in a noisy environment, the reliability and safety of the device Can be secured sufficiently.

なお、ホールド回路が、複数の入力端子(例えば、セット/リセット)を備えると共に、入力端子毎にトリガ信号が入力された時に保持する信号レベルが異なるように構成されている場合、トリガ信号生成回路は、入力端子毎に設けることが望ましい。   When the hold circuit includes a plurality of input terminals (for example, set / reset) and is configured to have different signal levels when a trigger signal is input for each input terminal, the trigger signal generation circuit Is preferably provided for each input terminal.

また、トリガ信号生成回路における規定期間及び規定個の設定は、装置が使用される場所で発生するノイズの特徴を考慮(例えば、バーストノイズが発生するような場合は、規定個を十分に大きくする等)して決定すればよい。   In addition, the specified period and the specified number of settings in the trigger signal generation circuit take into account the characteristics of noise generated at the place where the device is used (for example, if burst noise occurs, the specified number is set sufficiently large). Etc.).

ところで、トリガ信号生成回路として、例えば、パルス信号のパルス間隔(パルス周波数)に応じた信号レベルを有する出力信号を生成する周波数/電圧変換回路を用いることができ、この場合、周波数/電圧変換回路の出力信号を、そのままトリガ信号として用いればよい。   By the way, as the trigger signal generation circuit, for example, a frequency / voltage conversion circuit that generates an output signal having a signal level corresponding to the pulse interval (pulse frequency) of the pulse signal can be used. The output signal may be used as a trigger signal as it is.

具体的に、周波数/電圧変換回路は、例えば、パルス信号により充電されるコンデンサと、このコンデンサを一定の割合で放電する放電回路とを用いて、コンデンサの充電電圧に応じた信号レベルを有する出力信号(即ち、トリガ信号)を生成するように構成することができる。   Specifically, the frequency / voltage conversion circuit uses, for example, a capacitor charged by a pulse signal and a discharge circuit that discharges the capacitor at a constant rate, and has an output having a signal level corresponding to the charging voltage of the capacitor. It can be configured to generate a signal (ie, a trigger signal).

この場合、パルス信号に関する設定(規定期間,規定個)は、パルス信号により充電されたコンデンサの電荷が、放電回路によって全て放電される前に次のパルス信号が入力され、且つ、トリガ信号としての条件を満たす信号レベルが得られるように適宜決定すればよい。   In this case, the setting relating to the pulse signal (specified period, specified number) is such that the next pulse signal is input before the capacitor charged by the pulse signal is completely discharged by the discharge circuit, and the trigger signal is What is necessary is just to determine suitably so that the signal level which satisfy | fills conditions may be obtained.

また、トリガ信号生成回路は、例えば、入力されたパルス信号をカウントし、そのカウント値が予め設定されたしきい値に達すると、トリガ信号を生成するカウンタと、予め設定された期間毎に、カウンタをリセットする信号を生成するフリーランタイマとにより構成してもよい。この場合、トリガ信号生成回路を、ロジック回路により構成することが可能なため、半導体集積回路として構成することもでき、装置の小型化が必要な場合に好適である。また、この場合、ホールド回路も、RSフリップフロップ回路などのロジック回路を用いて構成すれば、更に装置を小型化できる。   In addition, the trigger signal generation circuit, for example, counts the input pulse signal, and when the count value reaches a preset threshold value, a counter that generates a trigger signal, and a preset period, You may comprise by the free run timer which produces | generates the signal which resets a counter. In this case, since the trigger signal generation circuit can be configured by a logic circuit, it can also be configured as a semiconductor integrated circuit, which is suitable when downsizing of the device is required. In this case, if the hold circuit is also configured using a logic circuit such as an RS flip-flop circuit, the apparatus can be further downsized.

なお、本発明の状態保持装置は、例えば、ノイズの多い環境で使用される車載装置に組み込んで用いることができる。そして、特に、ホールド回路の出力を、車両に設けられた給電ラインの通電状態を制御する制御信号として用いた場合には、車両の走行中に、ノイズ等によって給電が不意に停止してしまうことを防止でき、車両の安全性,信頼性を十分に確保することができる。   The state holding device of the present invention can be used by being incorporated in, for example, an in-vehicle device used in a noisy environment. In particular, when the output of the hold circuit is used as a control signal for controlling the energization state of the power supply line provided in the vehicle, the power supply is unexpectedly stopped due to noise or the like while the vehicle is running. Can be prevented, and the safety and reliability of the vehicle can be sufficiently secured.

以下に本発明の実施形態を図面と共に説明する。
図1は、本発明の状態保持装置を適用した電源システムの構成図である。
なお、本実施形態の電源システムは、車両に搭載される各種車載装置に電源供給を行うために設けられた給電ラインの通電状態を制御するものである。
Embodiments of the present invention will be described below with reference to the drawings.
FIG. 1 is a configuration diagram of a power supply system to which the state holding device of the present invention is applied.
In addition, the power supply system of this embodiment controls the energization state of the electric power feeding line provided in order to supply electric power to the various vehicle-mounted apparatuses mounted in a vehicle.

図1に示すように、本実施形態の電源システム1は、給電の開始,停止を指示する指令を入力するための押しボタンスイッチ3と、複数個のパルス列からなるホールドパルス信号P1を出力するポート、及び同じく複数個のパルス列からなるキャンセルパルス信号P2を出力するポートを備え、押しボタンスイッチ3が押下される毎に、交互にいずれか一方の信号P1,P2を出力するように動作するマイクロコンピュータ(以下「マイコン」と称する。)5と、マイコン5からのホールドパルス信号P1及びキャンセルパルス信号P2に従って、給電ラインLに直列接続されたリレーRLYの駆動コイルへの駆動電流Idの供給状態を切り替える状態保持装置7とを備えている。   As shown in FIG. 1, the power supply system 1 of this embodiment includes a push button switch 3 for inputting a command for instructing start and stop of power feeding, and a port for outputting a hold pulse signal P1 composed of a plurality of pulse trains. And a microcomputer that outputs a cancel pulse signal P2 composed of a plurality of pulse trains, and operates so as to alternately output one of the signals P1 and P2 each time the pushbutton switch 3 is pressed. (Hereinafter referred to as “microcomputer”) 5, and the supply state of the drive current Id to the drive coil of the relay RLY connected in series to the power supply line L is switched according to the hold pulse signal P 1 and the cancel pulse signal P 2 from the microcomputer 5. And a state holding device 7.

また、本構成では、ホールドパルス信号P1及びキャンセルパルス信号P2が共に出力されても、駆動電流Idを流し続けることが可能である。
そして、状態保持装置7は、マイコン5からホールドパルス信号P1が入力されるとホールドトリガ信号T1を生成する第1のトリガ信号生成回路11と、マイコン5からキャンセルパルス信号P2が入力されるとキャンセルトリガ信号T2を生成する第2のトリガ信号生成回路13と、ホールドトリガ信号T1が入力されると(アクティブレベルになると)、駆動電流Idの供給を開始する駆動電流供給回路15と、ホールドトリガ信号T1の消失(非アクティブレベルに戻った)後も駆動電流供給回路15に駆動電流Idの供給を継続させるための保持電流を供給する保持電流供給回路17と、キャンセルトリガ信号T2が入力されると、保持電流を遮断して、駆動電流供給回路15に駆動電流Idの供給を停止させるキャンセル回路19とを備えている。
In this configuration, the drive current Id can continue to flow even if both the hold pulse signal P1 and the cancel pulse signal P2 are output.
The state holding device 7 cancels the first trigger signal generation circuit 11 that generates the hold trigger signal T1 when the hold pulse signal P1 is input from the microcomputer 5 and the cancel pulse signal P2 that is input from the microcomputer 5. The second trigger signal generation circuit 13 that generates the trigger signal T2, the drive current supply circuit 15 that starts the supply of the drive current Id when the hold trigger signal T1 is input (at the active level), and the hold trigger signal When the cancellation trigger signal T2 and the holding current supply circuit 17 for supplying a holding current for continuing the supply of the driving current Id to the driving current supply circuit 15 after the disappearance of T1 (returning to the inactive level) are input. The cancel circuit 1 interrupts the holding current and stops the drive current supply circuit 15 from supplying the drive current Id. It is equipped with a door.

なお、駆動電流供給回路15,保持電流供給回路17,キャンセル回路19が本発明におけるホールド回路に相当し、第1及び第2のトリガ信号生成回路が本発明におけるトリガ信号生成回路に相当する。   The drive current supply circuit 15, the holding current supply circuit 17, and the cancel circuit 19 correspond to the hold circuit in the present invention, and the first and second trigger signal generation circuits correspond to the trigger signal generation circuit in the present invention.

このうち、駆動電流供給回路15は、エミッタが接地され、第1のトリガ信号生成回路11からのホールドトリガ信号T1が抵抗R12を介してベースに印加されるNPN型のトランジスタTr1と、エミッタが電源ライン、コレクタがリレーRLYの駆動コイルに駆動電流Idを供給する電流供給ラインLd、ベースが抵抗R22を介してトランジスタTr1のコレクタに接続されたPNP型のトランジスタTr2とを備え、ホールドトリガ信号T1によって、トランジスタTr1がオンすると、トランジスタTr2もオンして、電流供給ラインLdに駆動電流Idを流すように構成されている。   Among them, the drive current supply circuit 15 includes an NPN transistor Tr1 whose emitter is grounded and the hold trigger signal T1 from the first trigger signal generation circuit 11 is applied to the base via the resistor R12, and the emitter is a power source. A current supply line Ld for supplying a drive current Id to the drive coil of the relay RLY, and a PNP transistor Tr2 whose base is connected to the collector of the transistor Tr1 via a resistor R22. The hold trigger signal T1 When the transistor Tr1 is turned on, the transistor Tr2 is also turned on so that the drive current Id flows through the current supply line Ld.

また、駆動電流供給回路15において、トランジスタTr1,Tr2の各ゲート,エミッタ間には、ゲートに印加されるノイズを除去するためのフィルタを構成する抵抗及びコンデンサ(トランジスタTr1ではR12,C11、トランジスタTr2ではR22,C21)、及びTr1,Tr2のゲート電位を安定させるための抵抗R11,R21が接続され、更に、トランジスタTr2のエミッタ,コレクタ間には、トランジスタTr2に過大な電圧が印加されることを防止するツェナーダイオードD21、電流供給ラインLdには、駆動電流Idの逆流を防止するダイオードD22が接続されている。   Further, in the drive current supply circuit 15, a resistor and a capacitor constituting a filter for removing noise applied to the gates between the gates and the emitters of the transistors Tr1 and Tr2 (R12, C11 and transistor Tr2 in the transistor Tr1). Then, resistors R11 and R21 for stabilizing the gate potentials of R22, C21) and Tr1, Tr2 are connected, and further, an excessive voltage is applied to the transistor Tr2 between the emitter and collector of the transistor Tr2. A diode D22 for preventing the backflow of the drive current Id is connected to the Zener diode D21 to be prevented and the current supply line Ld.

次に、保持電流供給回路17は、一対の抵抗R41,R42、及びダイオードD41を直列接続することで構成され、一端がトランジスタTr2のコレクタ(電流供給ラインLd)、他端がトランジスタTr1のベースに接続されている。但し、ダイオードD41は、電流供給ラインLdからトランジスタTr1のベースに向けて電流が流れるように接続されている。   Next, the holding current supply circuit 17 is configured by connecting a pair of resistors R41 and R42 and a diode D41 in series, one end being the collector of the transistor Tr2 (current supply line Ld) and the other end being the base of the transistor Tr1. It is connected. However, the diode D41 is connected so that a current flows from the current supply line Ld toward the base of the transistor Tr1.

つまり、駆動電流供給回路15による駆動電流Idの供給が行われていない(即ちトランジスタTr1,Tr2がオフ)時には、ダイオードD41もオフするため、トランジスタTr1は、ホールドトリガ信号T1に従って動作する。一方、駆動電流供給回路15による駆動電流Idの供給が行われている(即ちトランジスタTr1,Tr2がオン)時には、保持電流供給回路17を介して電流供給ラインLdからトランジスタTr1のベースに保持電流が流入するため、ホールドトリガ信号T1が消失しても、トランジスタTr1のオン状態が保持され、駆動電流Idの供給が継続される。   That is, when the drive current Id is not supplied by the drive current supply circuit 15 (that is, the transistors Tr1 and Tr2 are off), the diode D41 is also turned off, so that the transistor Tr1 operates according to the hold trigger signal T1. On the other hand, when the driving current Id is supplied by the driving current supply circuit 15 (that is, the transistors Tr1 and Tr2 are on), the holding current is supplied from the current supply line Ld to the base of the transistor Tr1 via the holding current supply circuit 17. Therefore, even if the hold trigger signal T1 disappears, the on state of the transistor Tr1 is maintained and the supply of the drive current Id is continued.

次に、キャンセル回路19は、エミッタが接地され、第2のトリガ信号生成回路13からのキャンセルトリガ信号T2が抵抗R32を介してベースに印加されるNPN型のトランジスタTr3を備え、トランジスタTr3のコレクタが抵抗R33を介して、保持電流供給回路17を構成する一対の抵抗R41,R42の共通接続点に接続されている。   Next, the cancel circuit 19 includes an NPN transistor Tr3 whose emitter is grounded and the cancel trigger signal T2 from the second trigger signal generation circuit 13 is applied to the base via the resistor R32, and the collector of the transistor Tr3. Is connected to a common connection point of a pair of resistors R41 and R42 constituting the holding current supply circuit 17 via a resistor R33.

また、キャンセル回路19において、トランジスタTr3のゲート,エミッタ間には、ゲートに印加されるノイズを除去するためのフィルタを構成するコンデンサC31及びゲート電位を安定させるための抵抗R31が並列接続されている。   In the cancel circuit 19, a capacitor C31 constituting a filter for removing noise applied to the gate and a resistor R31 for stabilizing the gate potential are connected in parallel between the gate and emitter of the transistor Tr3. .

つまり、キャンセルトリガ信号T2によって、トランジスタTr3がオンすると、ダイオードD41のアノード側の電位が低下し、ダイオードD41がオフする。この時、ホールドトリガ信号T1の信号レベルがトランジスタTr1をオンする大きさになければ、トランジスタTr1がオフし、その結果、トランジスタTr2もオフするため、駆動電流Idの供給が停止される。   That is, when the transistor Tr3 is turned on by the cancel trigger signal T2, the potential on the anode side of the diode D41 is lowered and the diode D41 is turned off. At this time, if the signal level of the hold trigger signal T1 is not large enough to turn on the transistor Tr1, the transistor Tr1 is turned off. As a result, the transistor Tr2 is also turned off, and the supply of the drive current Id is stopped.

次に、第1のトリガ信号生成回路11は、一端が抵抗R51を介してホールドパルス信号P1を出力するマイコン5のポートに接続されたACカップリング用コンデンサC51と、このACカップリング用コンデンサC51を介して供給されるパルス信号により充電される充放電用コンデンサC52と、充放電用コンデンサC52がパルス信号の立ち上がりエッジでのみ充電されるような電荷供給経路を形成するダイオードD51,D52とからなる。そして、第1のトリガ信号生成回路11は、充放電用コンデンサC52の充電電圧を信号レベルとするホールドトリガ信号T1を、駆動電流供給回路15のトランジスタTr1に供給するように接続されている。   Next, the first trigger signal generation circuit 11 includes an AC coupling capacitor C51 having one end connected to the port of the microcomputer 5 that outputs the hold pulse signal P1 via the resistor R51, and the AC coupling capacitor C51. And a charge / discharge capacitor C52 charged by a pulse signal supplied via the diode, and diodes D51 and D52 forming a charge supply path such that the charge / discharge capacitor C52 is charged only at the rising edge of the pulse signal. . The first trigger signal generation circuit 11 is connected so as to supply a hold trigger signal T1 whose signal level is the charging voltage of the charge / discharge capacitor C52 to the transistor Tr1 of the drive current supply circuit 15.

また、第2のトリガ信号生成回路13は、第1のトリガ信号生成回路11と全く同様に構成され、充放電用コンデンサC52の充電電圧を信号レベルとするキャンセルトリガ信号T2を、キャンセル回路19のトランジスタTr3に供給するように接続されている。   The second trigger signal generation circuit 13 is configured in exactly the same way as the first trigger signal generation circuit 11, and the cancel trigger signal T 2 having the charge voltage of the charge / discharge capacitor C 52 as the signal level is supplied to the cancel circuit 19. The transistors Tr3 are connected so as to be supplied.

このように構成されたトリガ信号生成回路11,13において、充放電用コンデンサC52は、マイコン5からのパルス信号の立ち上がりエッジで充電され、その充電電荷は、抵抗R11,R12及びトランジスタTr1(トリガ信号生成回路11の場合)、又は抵抗R31,32及びトランジスタTr2(トリガ信号生成回路13の場合)を介して徐々に放電される。従って、充放電用コンデンサC52の電荷が全て放電される前に次のパルスが入力されると、充放電用コンデンサC52の充電電圧は、その入力されるパルス信号のパルス周期(パルス周波数)に応じた大きさとなる。   In the trigger signal generation circuits 11 and 13 configured as described above, the charging / discharging capacitor C52 is charged at the rising edge of the pulse signal from the microcomputer 5, and the charged charges are the resistances R11 and R12 and the transistor Tr1 (trigger signal In the case of the generation circuit 11), or is gradually discharged via the resistors R31 and R32 and the transistor Tr2 (in the case of the trigger signal generation circuit 13). Accordingly, when the next pulse is input before the charge of the charge / discharge capacitor C52 is completely discharged, the charge voltage of the charge / discharge capacitor C52 depends on the pulse period (pulse frequency) of the input pulse signal. It becomes the size.

つまり、トリガ信号生成回路11,13は、いわゆる周波数/電圧(F/V)変換回路として動作し、また、抵抗R11,R12及びトランジスタTr1、抵抗R31,32及びトランジスタTr2が本発明における放電回路に相当する。   That is, the trigger signal generation circuits 11 and 13 operate as so-called frequency / voltage (F / V) conversion circuits, and the resistors R11 and R12, the transistor Tr1, the resistors R31 and 32, and the transistor Tr2 are the discharge circuit in the present invention. Equivalent to.

但し、充放電用コンデンサC52の容量は、一つのパルス信号による充電量、及び抵抗R11,R12やR31,32の抵抗値により決まる放電量に基づき、図2に示すように、予め設定されたパルス間隔Wで規定個N(図ではN=3)のパルスが入力されると、その充電電圧が、トランジスタTr1,Tr3をオンさせるオン電圧以上になるように設定される。   However, the capacity of the charge / discharge capacitor C52 is based on a charge amount determined by one pulse signal and a discharge amount determined by the resistance values of the resistors R11, R12 and R31, 32 as shown in FIG. When a predetermined number N of pulses (N = 3 in the figure) are input at the interval W, the charging voltage is set to be equal to or higher than the ON voltage for turning on the transistors Tr1 and Tr3.

換言すれば、トリガ信号生成回路11,13が生成するトリガ信号T1,T2は、規定期間(W×N)以内に規定個N以上のパルスが入力されると、トランジスタTr1,Tr3のオン電圧に達するようにされている。また、これに基づいて、マイコン5は、W以下の間隔で連続するN個以上のパルスからなるホールドパルス信号P1及びキャンセルパルス信号P2を出力するように構成されている。   In other words, the trigger signals T1 and T2 generated by the trigger signal generation circuits 11 and 13 are set to the ON voltage of the transistors Tr1 and Tr3 when N or more pulses are input within a specified period (W × N). To be reached. Further, based on this, the microcomputer 5 is configured to output a hold pulse signal P1 and a cancel pulse signal P2 composed of N or more pulses continuous at intervals of W or less.

従って、マイコン5のポートが、故障や誤出力によりアクティブレベル(ここではハイレベル)に固定された場合(図2中の期間X)、最初の立ち上がりエッジで、充放電用コンデンサC52が充電されるが、連続する次のパルス入力がないため、その後は、一方的に放電され、オン電圧に到達することがない。なお、規定期間(W×N)の間に規定個Nに達しない単発的なパルスが入力された場合も同様である。   Therefore, when the port of the microcomputer 5 is fixed to the active level (here, high level) due to failure or erroneous output (period X in FIG. 2), the charging / discharging capacitor C52 is charged at the first rising edge. However, since there is no next next pulse input, it is discharged unilaterally and does not reach the on-voltage. The same applies to a case where a single pulse that does not reach the specified number N is input during the specified period (W × N).

一方、マイコン5からパルス信号P1,P2が供給された場合(図2中の期間Y)、充放電用コンデンサC52は、連続するパルスによって次々と再充電されるため、規定個Nのパルスが入力された時点でオン電圧に到達し、トランジスタTr1,Tr3をオンすることができる。   On the other hand, when the pulse signals P1 and P2 are supplied from the microcomputer 5 (period Y in FIG. 2), the charging / discharging capacitor C52 is recharged one after another by successive pulses, so that a predetermined number N of pulses are input. At this point, the ON voltage is reached, and the transistors Tr1 and Tr3 can be turned on.

以上説明したように、本実施形態の電源システム1においては、規定期間(W×N)内に規定個N以上のパルスが第1又は第2のトリガ信号生成回路11,13に入力されなければ、駆動電流Idの供給状態を変化させるホールドトリガ信号T1やキャンセルトリガ信号T2が生成されないようにされている。   As described above, in the power supply system 1 according to the present embodiment, a predetermined number N or more pulses are not input to the first or second trigger signal generation circuits 11 and 13 within a specified period (W × N). The hold trigger signal T1 and the cancel trigger signal T2 that change the supply state of the drive current Id are not generated.

従って、本実施形態の電源システム1によれば、マイコン5の出力ポートが、故障などによっていずれかのレベルに固定された場合にはもちろん、ノイズ等によって発生する単発的な(規定期間内に規定個に達しない)パルスが入力された場合にも、状態保持装置7が保持する状態(ここでは駆動電流Idの供給状態)が変化してしまうことがない。   Therefore, according to the power supply system 1 of the present embodiment, when the output port of the microcomputer 5 is fixed at any level due to a failure or the like, it is a single occurrence (specified within a specified period) due to noise or the like. Even when pulses that do not reach the number are input, the state held by the state holding device 7 (here, the supply state of the drive current Id) does not change.

つまり、状態保持装置7が保持する状態は、使用者が押しボタンスイッチ3を操作した場合にのみ切り替わり、それ以外の要因で、使用者が意図せずに切り替わってしまうことがないため、当該電源システム1により電源供給状態が制御される機器の信頼性、安全性を確保することができる。   That is, the state held by the state holding device 7 is switched only when the user operates the push button switch 3, and it is not switched unintentionally by the user due to other factors. The reliability and safety of the device whose power supply state is controlled by the system 1 can be ensured.

なお、本実施形態において、
[第2実施形態]
次に、第2実施形態について説明する。
In this embodiment,
[Second Embodiment]
Next, a second embodiment will be described.

本実施形態の電源システム1aは、第1実施形態の電源システム1とは、状態保持装置の構成が一部異なるだけであるため、この構成の相違する部分を中心に説明する。
図3に示すように、本実施形態の電源システム1aにおいて、状態保持装置7aは、第1実施形態のものと同様に構成された駆動電流供給回路15と、マイコン5から出力されるホールドパルス信号P1のパルス数をカウントし、カウント値が予め設定された規定値に達すると、ホールドトリガ信号T1を出力する第1のカウンタ21と、マイコン5から出力されるキャンセルパルス信号P2のパルス数をカウントし、カウント値が予め設定された規定値に達すると、キャンセルトリガ信号T2を出力する第2のカウンタ23と、システムクロックCLKに従って動作し、一定期間が経過する毎に周期的にカウンタ21,23のカウント値をリセットするためのリセット信号RSTを生成するフリーランカウンタ25と、ホールドトリガ信号T1が入力されると、トランジスタTr1がオンするアクティブレベル、キャンセルトリガ信号T2が入力されると、トランジスタTr2がオフする非アクティブレベルとなる駆動信号を、駆動電流供給回路15のトランジスタTr1に供給するRSフリップフロップ回路27とを備えている。
The power supply system 1a of the present embodiment is different from the power supply system 1 of the first embodiment only in a part of the configuration of the state holding device.
As shown in FIG. 3, in the power supply system 1 a of this embodiment, the state holding device 7 a includes a drive current supply circuit 15 configured similarly to that of the first embodiment, and a hold pulse signal output from the microcomputer 5. The number of pulses of P1 is counted, and when the count value reaches a preset specified value, the first counter 21 that outputs the hold trigger signal T1 and the number of pulses of the cancel pulse signal P2 that is output from the microcomputer 5 are counted. When the count value reaches a preset specified value, the second counter 23 that outputs a cancel trigger signal T2 and the system clock CLK are operated. A free-run counter 25 for generating a reset signal RST for resetting the count value, and a hold trigger signal When 1 is input, an active level at which the transistor Tr1 is turned on, and when a cancel trigger signal T2 is input, a drive signal at an inactive level at which the transistor Tr2 is turned off is supplied to the transistor Tr1 of the drive current supply circuit 15. RS flip-flop circuit 27.

なお、本実施形態では、駆動電流供給回路15及びRSフリップフロップ回路27が本発明におけるホールド回路に相当し、カウンタ21,23及びフリーランタイマ25が本発明におけるトリガ信号生成回路に相当する。   In the present embodiment, the drive current supply circuit 15 and the RS flip-flop circuit 27 correspond to the hold circuit in the present invention, and the counters 21 and 23 and the free-run timer 25 correspond to the trigger signal generation circuit in the present invention.

つまり、状態保持装置7aでは、RSフリップフロップ回路27が出力する駆動信号の信号レベルに応じて駆動電流Idの供給状態が変化し、その駆動信号の信号レベルを変化されるトリガ信号T1,T2は、上記一定期間(カウンタ21,23のリセット周期)内に、上記規定値以上のパルスが入力された場合にのみ生成される。   That is, in the state holding device 7a, the supply state of the drive current Id changes according to the signal level of the drive signal output from the RS flip-flop circuit 27, and the trigger signals T1 and T2 whose signal level of the drive signal is changed are It is generated only when a pulse exceeding the specified value is input within the certain period (the reset period of the counters 21 and 23).

なお、マイコン5は、このトリガ信号T1,T2の生成条件を満たすようなホールドパルス信号P1,及びキャンセルパルス信号P2を出力するように構成される。
このように構成された本実施形態の電源システム1aによれば、第1実施形態の電源システム1と同様の作用・効果が得られるだけでなく、状態保持装置7aの駆動電流供給回路15を除く部分が全てロジック回路にて構成されているため、そのロジック回路部分を半導体集積回路にて実現でき、システムの小型化を図ることができる。
The microcomputer 5 is configured to output a hold pulse signal P1 and a cancel pulse signal P2 that satisfy the generation conditions of the trigger signals T1 and T2.
According to the power supply system 1a of the present embodiment configured as described above, not only the operation and effect similar to those of the power supply system 1 of the first embodiment are obtained, but also the drive current supply circuit 15 of the state holding device 7a is excluded. Since all the parts are composed of logic circuits, the logic circuit parts can be realized by a semiconductor integrated circuit, and the system can be miniaturized.

なお、本実施形態において、カウンタ21,23は、マイコン5のポートに直接接続されているが、ノイズを除去するためのフィルタ回路やゲート回路を介して接続するように構成してもよい。   In the present embodiment, the counters 21 and 23 are directly connected to the ports of the microcomputer 5, but may be configured to be connected via a filter circuit or a gate circuit for removing noise.

またフィルタ回路(C11、C21、C31)や保護回路(D21、D22)、ゲート電位を安定させるための抵抗(R11、R31)は、必要に応じて使用するため省略してもよい。   The filter circuits (C11, C21, C31), the protection circuits (D21, D22), and the resistors (R11, R31) for stabilizing the gate potential may be omitted because they are used as necessary.

第1実施形態の電源システムの構成図である。It is a block diagram of the power supply system of 1st Embodiment. トリガ信号生成回路の動作を説明するためのタイミング図である。It is a timing diagram for explaining the operation of the trigger signal generation circuit. 第2実施形態の電源システムの構成図である。It is a block diagram of the power supply system of 2nd Embodiment.

符号の説明Explanation of symbols

1,1a…電源システム、3…押しボタンスイッチ、5…マイクロコンピュータ(マイコン)、7,7a…状態保持装置、11,13…トリガ信号生成回路、15…駆動電流供給回路、17…保持電流供給回路、19…キャンセル回路、21,23…カウンタ、25…フリーランカウンタ、27…RSフリップフロップ回路、C51…ACカップリング用コンデンサ、C52…充放電用コンデンサ、L…給電ライン、Ld…電流供給ライン、RLY…リレー、Tr1〜Tr3…トランジスタ。   DESCRIPTION OF SYMBOLS 1,1a ... Power supply system, 3 ... Push button switch, 5 ... Microcomputer (microcomputer), 7, 7a ... State holding device, 11, 13 ... Trigger signal generation circuit, 15 ... Drive current supply circuit, 17 ... Holding current supply Circuit, 19 ... Cancel circuit, 21, 23 ... Counter, 25 ... Free-run counter, 27 ... RS flip-flop circuit, C51 ... AC coupling capacitor, C52 ... Charge / discharge capacitor, L ... Feed line, Ld ... Current supply Line, RLY ... relay, Tr1-Tr3 ... transistor.

Claims (7)

トリガ信号の入力により、保持する信号レベルが切り替わるホールド回路と、
予め設定された規定期間内に予め設定された規定個以上のパルス信号が入力された時に、前記トリガ信号を生成するトリガ信号生成回路と、
を備えることを特徴とする状態保持装置。
A hold circuit in which the signal level to be held is switched by the input of a trigger signal; and
A trigger signal generation circuit for generating the trigger signal when a predetermined number of pulse signals or more set in advance within a predetermined period set in advance;
A state holding device comprising:
前記ホールド回路は、複数の入力端子を備えると共に、該入力端子毎に前記トリガ信号が入力された時に保持する信号レベルが異なり、
前記トリガ信号生成回路は、前記入力端子毎に設けられていることを特徴とする請求項1に記載の状態保持装置。
The hold circuit includes a plurality of input terminals, and the signal level held when the trigger signal is input is different for each input terminal,
The state holding device according to claim 1, wherein the trigger signal generation circuit is provided for each of the input terminals.
前記トリガ信号生成回路は、
前記パルス信号のパルス間隔に応じた信号レベルを有する出力信号を生成する周波数/電圧変換回路からなり、
該周波数/電圧変換回路の出力信号を前記トリガ信号とすることを特徴とする請求項1又は2に記載の状態保持装置。
The trigger signal generation circuit includes:
A frequency / voltage conversion circuit that generates an output signal having a signal level corresponding to the pulse interval of the pulse signal;
3. The state holding device according to claim 1, wherein an output signal of the frequency / voltage conversion circuit is used as the trigger signal.
前記周波数/電圧変換回路は、
前記パルス信号により充電されるコンデンサと、
該コンデンサを一定の割合で放電する放電回路と、
を備え、前記コンデンサの充電電圧に応じた信号レベルを有する出力信号を生成することを特徴とする請求項3に記載の状態保持装置。
The frequency / voltage conversion circuit includes:
A capacitor charged by the pulse signal;
A discharge circuit for discharging the capacitor at a constant rate;
The state holding device according to claim 3, further comprising: an output signal having a signal level corresponding to a charging voltage of the capacitor.
前記トリガ信号生成回路は、
入力された前記パルス信号をカウントし、該カウント値が予め設定されたしきい値に達すると、前記トリガ信号を生成するカウンタと、
予め設定された期間毎に、前記カウンタをリセットする信号を生成するフリーランタイマと、
を備えることを特徴とする請求項1又は2に記載の状態保持装置。
The trigger signal generation circuit includes:
A counter that counts the input pulse signal and generates the trigger signal when the count value reaches a preset threshold;
A free-run timer that generates a signal for resetting the counter for each preset period;
The state holding device according to claim 1 or 2, further comprising:
車載装置に組み込まれていることを特徴とする請求項1〜5いずれかに記載の状態保持装置。   The state holding device according to claim 1, wherein the state holding device is incorporated in an in-vehicle device. 前記ホールド回路の出力を、車両に設けられた給電ラインの通電状態を制御する制御信号として用いることを特徴とする請求項6に記載の状態保持装置。
The state holding device according to claim 6, wherein the output of the hold circuit is used as a control signal for controlling an energization state of a power supply line provided in the vehicle.
JP2003290436A 2003-08-07 2003-08-08 State holding device Expired - Fee Related JP3915756B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP2003290436A JP3915756B2 (en) 2003-08-08 2003-08-08 State holding device
US10/909,532 US7124005B2 (en) 2003-08-07 2004-08-03 Electronic control unit having hold circuit and method therefor
DE102004038095.3A DE102004038095B4 (en) 2003-08-07 2004-08-05 Electronic control unit with a holding member and method therefor
CNB2004100562518A CN1322674C (en) 2003-08-07 2004-08-06 Electronic controlling unit with keeping circuit and its method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003290436A JP3915756B2 (en) 2003-08-08 2003-08-08 State holding device

Publications (2)

Publication Number Publication Date
JP2005064717A true JP2005064717A (en) 2005-03-10
JP3915756B2 JP3915756B2 (en) 2007-05-16

Family

ID=34368472

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003290436A Expired - Fee Related JP3915756B2 (en) 2003-08-07 2003-08-08 State holding device

Country Status (1)

Country Link
JP (1) JP3915756B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007256715A (en) * 2006-03-24 2007-10-04 Rohm Co Ltd Light emission control device, display device, drive control device, and controller

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007256715A (en) * 2006-03-24 2007-10-04 Rohm Co Ltd Light emission control device, display device, drive control device, and controller

Also Published As

Publication number Publication date
JP3915756B2 (en) 2007-05-16

Similar Documents

Publication Publication Date Title
US4375106A (en) Remote control circuit
US9897633B2 (en) System and method for switch status detection
US5241248A (en) Wiper controller
US9835687B2 (en) System and method for switch status detection
JP2005064717A (en) State holding device
JP5175074B2 (en) Control device
JP4341156B2 (en) Vehicle power supply
JP2019503157A (en) Brushless DC motor protection circuit and control device
JP4430280B2 (en) Optical transmission equipment
JP6445192B1 (en) Power supply device and method for controlling power supply device
JP3413333B2 (en) Signal detection circuit
US7124005B2 (en) Electronic control unit having hold circuit and method therefor
JP4134845B2 (en) Signal generation circuit, fail-safe circuit
CN107818066B (en) Data communication system
JPH08308107A (en) Power unit
US4977477A (en) Short-circuit protected switched output circuit
EP1653356A2 (en) Communication control apparatus
JP3631662B2 (en) Latching relay drive circuit
US20070050687A1 (en) Watchdog monitoring circuit and method for controlling energization of the load using the watchdog monitoring circuit
CN109541448B (en) Detection device and machine tool
JP4412141B2 (en) Power supply start / stop control circuit
JP2004248453A (en) Charge pumping circuit
US6735386B2 (en) Flash control circuit
JPS6322679B2 (en)
CN107819493B (en) Data communication equipment

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20051031

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060914

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060926

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20061127

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070129

R150 Certificate of patent or registration of utility model

Ref document number: 3915756

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20110216

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120216

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20130216

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20140216

Year of fee payment: 7

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees