JP5249001B2 - Physical quantity sensor and control device for physical quantity sensor - Google Patents

Physical quantity sensor and control device for physical quantity sensor Download PDF

Info

Publication number
JP5249001B2
JP5249001B2 JP2008309133A JP2008309133A JP5249001B2 JP 5249001 B2 JP5249001 B2 JP 5249001B2 JP 2008309133 A JP2008309133 A JP 2008309133A JP 2008309133 A JP2008309133 A JP 2008309133A JP 5249001 B2 JP5249001 B2 JP 5249001B2
Authority
JP
Japan
Prior art keywords
physical quantity
quantity sensor
circuit
diagnosis
monitoring
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
Application number
JP2008309133A
Other languages
Japanese (ja)
Other versions
JP2010133806A (en
Inventor
哲 浅野
昌大 松本
敏明 中村
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Astemo Ltd
Original Assignee
Hitachi Automotive Systems Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Automotive Systems Ltd filed Critical Hitachi Automotive Systems Ltd
Priority to JP2008309133A priority Critical patent/JP5249001B2/en
Publication of JP2010133806A publication Critical patent/JP2010133806A/en
Application granted granted Critical
Publication of JP5249001B2 publication Critical patent/JP5249001B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Arrangements For Transmission Of Measured Signals (AREA)
  • Testing Or Calibration Of Command Recording Devices (AREA)
  • Gyroscopes (AREA)

Description

本発明は、加速度や角速度等を検出する物理量センサ及び物理量センサの制御装置に係り、特に、センサ素子に診断用の変位を与え、この変位量に基づいてセンサの自己診断を行う物理量センサ及び物理量センサの制御装置に関する。   The present invention relates to a physical quantity sensor that detects acceleration, angular velocity, and the like, and a control device for the physical quantity sensor, and more particularly to a physical quantity sensor and a physical quantity that apply a diagnostic displacement to a sensor element and perform sensor self-diagnosis based on the displacement The present invention relates to a sensor control device.

従来、加速度センサや角速度センサなどの物理量センサにおいて、物理量に応じて所定方向に変位を生じるセンサ素子に対し、前記所定方向へ外力を加えて意図的に変位を与えると共に、この変位量が適正か否かを検出することにより自己診断を行うアクティブ診断機能をもつ物理量センサが知られている。   Conventionally, in a physical quantity sensor such as an acceleration sensor or an angular velocity sensor, an external force is applied in the predetermined direction to a sensor element that produces a displacement in a predetermined direction according to the physical quantity, and the displacement amount is appropriate. 2. Description of the Related Art A physical quantity sensor having an active diagnostic function for performing self-diagnosis by detecting whether or not is known.

また従来、アクティブ診断を開始する際には制御信号が上位システムより入力され、この制御信号に基づいてアクティブ診断を実行する方法をとっている。ここで、アクティブ診断の制御信号には、HとLの2つの状態をとり得るレベル信号を用い、このレベル信号がHの状態になるとアクティブ診断を実行するものが知られている(例えば、特許文献1参照)。   Conventionally, when active diagnosis is started, a control signal is input from a host system, and active diagnosis is executed based on this control signal. Here, as a control signal for active diagnosis, a level signal that can take two states of H and L is used, and when this level signal is in an H state, an active diagnosis is executed (for example, patents). Reference 1).

しかし、この物理量センサを車載用に適用する場合、上位の制御装置は物理量センサの他にも油圧コントローラ等複数の制御対象を有している場合が殆どであり、物理量センサに送信する制御信号には高い信頼性が要求される。特に車両のエンジンルーム内に配置する場合には、エンジンやフューエルポンプ等のポンプ類、ソレノイドバルブ等の外部ノイズ源や、車両から伝わる様々な機械的振動等を考慮しなければならない。例えばノイズや機械的振動等により、制御信号が変化する場合や制御信号の送信先が誤って選択される場合がある。   However, when this physical quantity sensor is applied to a vehicle, the upper control device often has a plurality of control objects such as a hydraulic controller in addition to the physical quantity sensor, and the control signal transmitted to the physical quantity sensor High reliability is required. In particular, when it is arranged in the engine room of a vehicle, it is necessary to consider pumps such as an engine and a fuel pump, external noise sources such as solenoid valves, and various mechanical vibrations transmitted from the vehicle. For example, the control signal may change due to noise or mechanical vibration, or the transmission destination of the control signal may be selected by mistake.

特許文献1記載のものでは、アクティブ診断の制御信号が物理量センサに入力されると、アクティブ診断が動作してセンサ素子に変位が生じる。その結果、物理量センサの物理量検出部は物理量が印加されたと認識する。従って、これらの物理量センサにアクティブ診断の制御信号を誤って入力すると、実際には印加していない物理量を誤検出することにより、エアバッグ等の乗員保護装置やESC(横滑り防止装置)等が誤検出された物理量に基づいて動作するのでシステム等が誤動作を起こす。   In the device described in Patent Literature 1, when a control signal for active diagnosis is input to the physical quantity sensor, the active diagnosis is activated and displacement occurs in the sensor element. As a result, the physical quantity detector of the physical quantity sensor recognizes that a physical quantity has been applied. Therefore, if a control signal for active diagnosis is erroneously input to these physical quantity sensors, an occupant protection device such as an airbag or an ESC (side slip prevention device) is erroneously detected by erroneously detecting a physical quantity that is not actually applied. Since the operation is based on the detected physical quantity, the system or the like malfunctions.

従って、アクティブ診断が誤って実行されることを防止する技術が重要であり、近年様々な技術の検討がなされてきた。   Therefore, a technique for preventing the active diagnosis from being erroneously executed is important, and various techniques have been studied in recent years.

アクティブ診断の誤動作を防止するための対策として、センサを制御する上位の制御システムからアクティブ診断を指示するレベル信号が入力されると、クロック信号によりレベル信号が所定の状態を維持している間クロックの計数を行い、レベル信号が所定クロック数以上所定の状態を継続した場合にのみアクティブ診断処理を開始するというものが知られている(例えば、特許文献2参照)。   As a measure to prevent malfunction of active diagnosis, when a level signal instructing active diagnosis is input from a higher-level control system that controls the sensor, the clock signal is maintained while the level signal maintains a predetermined state by the clock signal. It is known that the active diagnosis process is started only when the level signal continues a predetermined state for a predetermined number of clocks or more (for example, see Patent Document 2).

特開2002−040047号公報JP 2002-040047 A 特開2007−178420号公報JP 2007-178420 A

従来、加速度センサや角速度センサ等の物理量センサは、車載用センサとして利用される機会が多くある。車載された時の物理量センサの周囲温度は、物理量センサの設置位置や車両状況、外気温等によって大きく変化する。また走行中に発生する路面振動やエンジンノイズ等の車両が発生する機械的振動も車体を通して物理量センサに伝達されることとなる。また、車両のエンジンルーム内では、様々な電子装置類、車両制御用の各アクチュエータからの外部ノイズが非常に多く、物理量センサにとっては過酷な環境である。従って、物理量センサを車載用に使用する場合、確実な物理量検出を行うために高性能な自己診断が要求される。   Conventionally, physical quantity sensors such as acceleration sensors and angular velocity sensors have many opportunities to be used as in-vehicle sensors. The ambient temperature of the physical quantity sensor when mounted on the vehicle varies greatly depending on the installation position of the physical quantity sensor, the vehicle status, the outside air temperature, and the like. Further, mechanical vibrations generated by the vehicle such as road surface vibrations and engine noise generated during traveling are also transmitted to the physical quantity sensor through the vehicle body. Further, in the engine room of the vehicle, there are a lot of external noises from various electronic devices and actuators for vehicle control, which is a severe environment for the physical quantity sensor. Therefore, when using a physical quantity sensor for vehicle mounting, a high-performance self-diagnosis is required to perform reliable physical quantity detection.

車載用の物理量センサは、前述の通り過酷環境下でも確実な物理量検出及び自己診断を行う必要があるため、アクティブ診断内容の多様化による機能性向上は大きな利点と成り得る。   Since an in-vehicle physical quantity sensor needs to perform reliable physical quantity detection and self-diagnosis even in a severe environment as described above, improvement in functionality by diversifying active diagnostic contents can be a great advantage.

例えば、コマンドにより診断部位を変更する方法をとることにより、故障の部位を特定することが可能となる。また、診断用の変化量をコマンドにより変更する方法を取ることにより、物理量センサの感度やオフセット等のセンサ特性を取得することが可能となる。また、複数の物理量センサを組み合わせて一つの制御回路で診断を行う場合、コマンドにより診断対象を指定する方法を取ることでセンサを個別に診断可能となる。また、コマンドにより、様々な内部信号を観測できる様な構成を用いれば回路の機能ブロック毎の故障診断も可能となる。   For example, by taking a method of changing a diagnostic part by a command, it becomes possible to specify a faulty part. Further, by taking a method of changing the amount of change for diagnosis by a command, it is possible to acquire sensor characteristics such as sensitivity and offset of the physical quantity sensor. When a plurality of physical quantity sensors are combined and a diagnosis is performed with a single control circuit, the sensors can be individually diagnosed by taking a method of designating a diagnosis target by a command. In addition, if a configuration is used in which various internal signals can be observed by commands, failure diagnosis for each functional block of the circuit can be performed.

この高機能な診断を実現するためには、上位システムからのアクティブ診断の制御形態がレベル信号等によるトリガ制御だけでなく、コマンド制御にも対応する必要がある。そうすることで、物理量センサの使用状況に応じた診断内容を必要に応じて実施することが可能な、高性能な自己診断を実現することが可能となる。   In order to realize this highly functional diagnosis, it is necessary for the control form of active diagnosis from the host system to support not only trigger control by a level signal or the like but also command control. By doing so, it is possible to realize a high-performance self-diagnosis capable of performing the diagnosis contents according to the usage status of the physical quantity sensor as necessary.

しかしながら、特許文献2記載の方法では、自己診断の高性能化の観点において、アクティブ診断を制御するレベル信号の入力パターンの多様化による機能性の向上は容易に可能だが、生産性の観点において、レベル信号の入力時間を判定する回路の規模が多様化に伴い増大し、生産性の大幅な低下につながる可能性がある。   However, in the method described in Patent Document 2, the functionality can be easily improved by diversifying the input pattern of the level signal for controlling the active diagnosis from the viewpoint of improving the performance of the self-diagnosis, but from the viewpoint of productivity, There is a possibility that the scale of the circuit for determining the input time of the level signal increases with diversification, leading to a significant decrease in productivity.

本発明の目的は、生産性を著しく低下させることなく、アクティブ診断制御の高信頼化と高機能化を両立する物理量センサを提供することにある。   An object of the present invention is to provide a physical quantity sensor that achieves both high reliability and high functionality of active diagnostic control without significantly reducing productivity.

(1)上記目的を達成するために、本発明は、物理量に応じて変位する可動部を有しており、前記可動部の変位に応じて物理量を検出する物理量検出手段と、前記可動部に診断変位を生じさせて前記物理量検出手段の故障を診断するアクティブ診断機能を有する診断手段と、通信路を介して前記物理量検出手段が検出した物理量をデジタル伝送する伝送手段と、前記通信路を介して外部システムが物理量センサの制御を行うための指令コマンドおよび所定の情報を受信する受信手段と、有する物理量センサであって、前記診断手段が、前記受信手段により受信した前記指令コマンドに基づいて診断を実施するか否かを判定する第1判定手段と、少なくとも1つ以上の前記所定の情報に基づいて診断を実施するか否かを判定する第2判定手段と、前記第1判定手段及び前記第2判定手段の出力に基づいて診断を実行する診断実行手段とを備えるようにしたものである。
かかる構成により、生産性を著しく低下させることなく、アクティブ診断制御の高信頼化と高機能化を両立し得るものとなる。
(1) In order to achieve the above object, the present invention has a movable part that is displaced according to a physical quantity, a physical quantity detection means that detects a physical quantity according to the displacement of the movable part, and the movable part. Diagnostic means having an active diagnostic function for diagnosing a failure of the physical quantity detection means by causing a diagnostic displacement, a transmission means for digitally transmitting the physical quantity detected by the physical quantity detection means via a communication path, and via the communication path Te a physical quantity sensor having a receiving unit, an external system receives a command command and predetermined information for controlling the physical quantity sensor, the diagnostic means, based on the instruction command received by said receiving means a first determining means for determining whether to execute the diagnosis, second determining means for determining whether or not to perform a diagnosis based on at least one or more of the predetermined information It is obtained by so and a diagnosis execution means for executing the diagnosis based on the output of the first judging means and the second judging means.
With this configuration, it is possible to achieve both high reliability and high functionality of active diagnostic control without significantly reducing productivity.

)上記(1)において、好ましくは、前記所定の情報は、所定の電圧レベル信号、所定のパルス信号、所定の診断を許可乃至禁止する指令コマンド信号、前記物理量センサ自体の速度に応じた情報、前記物理量センサ自体の加速度に応じた情報、前記物理量センサ自体の角速度に応じた情報、前記物理量センサへの電源投入時からの経過時間に応じた情報のいずれかである。 ( 2 ) In the above (1), preferably, the predetermined information corresponds to a predetermined voltage level signal, a predetermined pulse signal, a command command signal for permitting or prohibiting a predetermined diagnosis, and a speed of the physical quantity sensor itself. Information, information corresponding to the acceleration of the physical quantity sensor itself, information corresponding to the angular velocity of the physical quantity sensor itself, or information corresponding to an elapsed time from when the physical quantity sensor is turned on.

)上記(1)において、好ましくは、前記診断実行手段は、前記第1判定手段及び第2判定手段の出力に応じて切り替わるスイッチング手段を備えるようにしたものである。 ( 3 ) In the above (1), preferably, the diagnosis execution means includes a switching means that switches according to outputs of the first determination means and the second determination means.

)上記(1)において、好ましくは、前記可動部の所定の駆動周波数及び変位量を監視する監視手段と、前記物理量検出手段が検出した物理量と前記監視手段の出力とを伝送内容に付加する監視情報追加手段とを備えるようにしたものである。 ( 4 ) In the above (1), preferably, monitoring means for monitoring a predetermined drive frequency and displacement amount of the movable part, a physical quantity detected by the physical quantity detection means, and an output of the monitoring means are added to the transmission contents. Monitoring information adding means.

)上記(1)において、好ましくは、前記伝送手段は、前記通信コマンドに応じて信号処理を行う処理手段と、前記処理手段の出力を前記監視情報追加手段の出力に付加する処理結果追加手段とを備えるようにしたものである。 ( 5 ) In the above (1), preferably, the transmission means adds a processing result for performing signal processing in accordance with the communication command, and a processing result addition for adding the output of the processing means to the output of the monitoring information adding means Means.

)上記()において、好ましくは、前記処理結果追加手段は、前記受信手段が所定受信回数を遡って受信した通信コマンドの処理結果を伝送内容に付加するようにしたものである。 ( 6 ) In the above ( 5 ), preferably, the processing result adding means adds the processing result of the communication command received by the receiving means retroactively to the transmission content.

)上記()において、好ましくは、前記物理量検出手段が検出した物理量とアクティブ診断の進行状況とを伝送内容に付加する診断フラグ追加手段を備えるようにしたものである。 ( 7 ) In the above ( 5 ), preferably, diagnostic flag addition means for adding the physical quantity detected by the physical quantity detection means and the progress of the active diagnosis to the transmission content is provided.

)上記(1)において、好ましくは、前記監視情報追加手段の出力に対して誤り検出を行う誤り検出手段と、前記誤り検出手段の出力した誤り検出情報を前記監視情報追加手段の出力に付加する誤り検出情報追加手段とを備えるようにしたものである。 ( 8 ) In the above (1), preferably, an error detection means for detecting an error with respect to the output of the monitoring information adding means, and the error detection information output by the error detecting means as an output of the monitoring information adding means And an error detection information adding means to be added.

)上記()において、好ましくは、前記監視手段は、前記可動部の駆動周波数を監視し、前記駆動周波数が所定範囲を逸脱した際に異常状態を表す信号を出力する周波数監視手段と、前記可動部を変位させるための変位指示量を監視し、前記変位指示量が所定範囲を逸脱した際に異常状態を表す信号を出力する指示量監視手段と、前記可動部の変位量を監視し、前記変位量が所定範囲を逸脱した際に異常状態を表す信号を出力する変位監視手段との少なくとも一方を備えるようにしたものである。 ( 9 ) In the above ( 8 ), preferably, the monitoring means monitors the drive frequency of the movable part, and outputs a signal indicating an abnormal state when the drive frequency deviates from a predetermined range; Monitoring the displacement instruction amount for displacing the movable part, and monitoring the displacement amount of the movable part, the instruction amount monitoring means for outputting a signal indicating an abnormal state when the displacement instruction amount deviates from a predetermined range; In addition, at least one of displacement monitoring means for outputting a signal indicating an abnormal state when the amount of displacement deviates from a predetermined range is provided.

(1)上記()において、好ましくは、前記監視手段は、前記可動部の駆動方向の振動が検出方向に漏込むことにより生じる前記可動部の自己振動を抑制するサーボ制御手段と、前記サーボ制御手段の出力を監視し、前記サーボ制御手段の出力が所定範囲を逸脱した際に異常状態を表す信号を出力する自己振動監視手段とを備えるようにしたものである。 (1 0 ) In the above ( 8 ), preferably, the monitoring means includes servo control means for suppressing self-vibration of the movable part caused by vibration in the driving direction of the movable part leaking in the detection direction, Self-vibration monitoring means for monitoring the output of the servo control means and outputting a signal indicating an abnormal state when the output of the servo control means departs from a predetermined range.

(1)上記(1)において、好ましくは、前記診断手段は、RAMの故障診断を行い、RAMの異常状態を表す信号を出力するRAM監視手段と、EPROMに対して故障診断を行い、EPROMの異常状態を表す信号を出力するEPROM監視手段との少なくとも一方を備えるようにしたものである。 (1 1 ) In the above (1), preferably, the diagnosis means performs a failure diagnosis of the RAM, outputs a signal indicating an abnormal state of the RAM, and performs a failure diagnosis on the EPROM. And at least one of EPROM monitoring means for outputting a signal representing the abnormal state.

(1)上記(1)において、好ましくは、前記処理手段は、診断対象を指定する診断対象指定手段と、物理量センサの内部信号の中から観測対象を選択する観測信号指定手段とを備えるようにしたものである。 (1 2 ) In the above (1), preferably, the processing means includes a diagnosis target specifying means for specifying a diagnosis target and an observation signal specifying means for selecting an observation target from the internal signals of the physical quantity sensor. It is a thing.

(1)上記目的を達成するために、本発明は、物理量に応じて変位する可動部を有しており、前記可動部の変位に応じて物理量を検出する物理量検出手段と、前記可動部に診断変位を生じさせて前記物理量検出手段の故障を診断するアクティブ診断機能を有する診断手段と、通信路を介して前記物理量検出手段が検出した物理量をデジタル伝送する伝送手段と、前記通信路を介して外部システムが物理量センサの制御を行うための指令コマンドおよび所定の情報を受信する受信手段と、を有する物理量センサであって、前記診断手段が、前記受信手段により受信した前記指令コマンドに基づいて診断を実施するか否かを判定する第1判定手段と、少なくとも1つ以上の前記所定の情報に基づいて診断を実施するか否かを判定する第2判定手段と、前記第1判定手段及び前記第2判定手段の出力に基づいて診断を実行する診断実行手段とを備える物理量センサに対して、物理量センサの制御を行うための指令コマンド及び診断を実施するための所定の情報を出力する物理量センサの制御装置であって、前記指令コマンドを出力する第1制御装置と、前記所定の情報を出力する第2制御装置とを備えるようにしたものである。
かかる構成により、生産性を著しく低下させることなく、アクティブ診断制御の高信頼化と高機能化を両立し得るものとなる。
(1 3 ) In order to achieve the above object, the present invention has a movable part that is displaced according to a physical quantity, and a physical quantity detection means that detects a physical quantity according to the displacement of the movable part, and the movable part A diagnostic means having an active diagnostic function for diagnosing a failure of the physical quantity detection means by causing a diagnostic displacement in the transmission means, a transmission means for digitally transmitting the physical quantity detected by the physical quantity detection means via a communication path, and the communication path A command command for the external system to control the physical quantity sensor and a receiving means for receiving predetermined information via the external system, the diagnostic means based on the command command received by the receiving means First determination means for determining whether or not to perform diagnosis, and second determination for determining whether or not to perform diagnosis based on at least one or more of the predetermined information Performing a stage, with respect to the physical quantity sensor and a diagnosis execution means for executing the diagnosis based on the output of the first determination means and the second judging means, an instruction command and diagnostics for controlling the physical quantity sensor A control device for a physical quantity sensor that outputs predetermined information for the purpose, comprising: a first control device that outputs the command command; and a second control device that outputs the predetermined information.
With this configuration, it is possible to achieve both high reliability and high functionality of active diagnostic control without significantly reducing productivity.

(1)上記(1)において、好ましくは、前記第2制御装置は、前記第1制御装置の故障を診断するようにしたものである。 (1 4 ) In the above (1 3 ), preferably, the second control device diagnoses a failure of the first control device.

本発明によれば、物理量センサの生産性を著しく低下させることなく、アクティブ診断制御の高信頼化と高機能化を両立することが可能となる。   According to the present invention, it is possible to achieve both high reliability and high functionality of active diagnostic control without significantly reducing the productivity of the physical quantity sensor.

以下、図1及び図2を用いて、本発明の第1の実施形態による物理量センサの構成及び動作について説明する。
図1は、本発明の第1の実施形態による物理量センサの構成を示すブロック図である。図2は、本発明の第1の実施形態による物理量センサにおけるアクティブ診断許可動作を示すフローチャートである。
Hereinafter, the configuration and operation of the physical quantity sensor according to the first embodiment of the present invention will be described with reference to FIGS. 1 and 2.
FIG. 1 is a block diagram showing a configuration of a physical quantity sensor according to the first embodiment of the present invention. FIG. 2 is a flowchart showing an active diagnosis permission operation in the physical quantity sensor according to the first embodiment of the present invention.

本実施形態の物理量センサは、角速度に応じて変位を生じる可動部1を含む角速度検出回路100と、角速度検出回路100により検出した角速度情報を上位システムに伝送する伝送回路101と、上位システムからの通信コマンドを受信する受信回路102と、受信回路102が受信した通信コマンドに基づいてアクティブ診断を実施するアクティブ診断回路200とにより構成される。ここで、上位システムとは、例えば、エンジン制御やトラクションコントロールを司るECU(Electronic Control Unit)である。   The physical quantity sensor according to the present embodiment includes an angular velocity detection circuit 100 including a movable unit 1 that generates displacement according to an angular velocity, a transmission circuit 101 that transmits angular velocity information detected by the angular velocity detection circuit 100 to a higher system, and a The reception circuit 102 receives a communication command, and the active diagnosis circuit 200 performs active diagnosis based on the communication command received by the reception circuit 102. Here, the host system is, for example, an ECU (Electronic Control Unit) that controls engine control and traction control.

角速度検出回路100の可動部1は、外部からの角速度に応じて変位を生じる。可動部1には、可動電極2aが固定されている。固定電極2bは、可動電極2aに対向して配置されている。可動電極2aと固定電極2bとにより、検出電極2が構成される。CV変換器3は、検出電極2の容量変化を電圧信号に変換する。AD変換器4は、CV変換器3から出力された電圧信号をデジタル信号に変換する。   The movable part 1 of the angular velocity detection circuit 100 is displaced according to the angular velocity from the outside. A movable electrode 2 a is fixed to the movable part 1. The fixed electrode 2b is disposed to face the movable electrode 2a. The detection electrode 2 is configured by the movable electrode 2a and the fixed electrode 2b. The CV converter 3 converts the capacitance change of the detection electrode 2 into a voltage signal. The AD converter 4 converts the voltage signal output from the CV converter 3 into a digital signal.

同期検波回路5と積分器6と変調回路7とにより、自己振動サーボ制御回路が構成される。自己振動サーボ制御回路は、AD変換器4の出力のデジタル信号から可動部1の変位を検出し、この変位をゼロとする様な制御を行う。また、同期検波回路11と積分器12と変調回路13とにより、コリオリサーボ制御回路が構成される。   The synchronous detection circuit 5, the integrator 6, and the modulation circuit 7 constitute a self-vibration servo control circuit. The self-vibration servo control circuit detects the displacement of the movable part 1 from the digital signal output from the AD converter 4 and performs control such that this displacement becomes zero. The synchronous detection circuit 11, the integrator 12, and the modulation circuit 13 constitute a Coriolis servo control circuit.

加算器8は、自己振動サーボ制御回路及びコリオリサーボ制御回路の出力を加算してサーボ信号を生成する。DA変換器9は、加算器8から出力されたサーボ信号をサーボ電圧に再変換する。DA変換器9から出力されたサーボ電圧は、固定電極10b及び可動電極10aから成るサーボ電極10を介して、可動部1に印加される。なお、サーボ電極10は、固定電極10bと、固定電極10bに対向して配置され、可動部1に固定された可変電極10aにより構成される。   The adder 8 adds the outputs of the self-vibration servo control circuit and the Coriolis servo control circuit to generate a servo signal. The DA converter 9 reconverts the servo signal output from the adder 8 into a servo voltage. The servo voltage output from the DA converter 9 is applied to the movable part 1 via the servo electrode 10 including the fixed electrode 10b and the movable electrode 10a. The servo electrode 10 includes a fixed electrode 10b and a variable electrode 10a that is disposed to face the fixed electrode 10b and is fixed to the movable portion 1.

なお、可動部1は、角速度を検出するために、検出軸(図中のY軸)に対して垂直方向(駆動軸方向:図中のX軸方向)に所定周波数及び所定振幅で駆動振動させており、角速度が可動部1に印加されるとコリオリ力により可動部1が検出軸方向に外力を受ける。そのため可動部1は、検出軸と駆動軸の2軸方向に変位可能に弾性的に支持されている。また、検出電極2及びサーボ電極10は検出軸方向に対して平行に配置されている。   In order to detect the angular velocity, the movable part 1 is driven to vibrate at a predetermined frequency and a predetermined amplitude in a direction perpendicular to the detection axis (Y axis in the figure) (drive axis direction: X axis direction in the figure). When the angular velocity is applied to the movable part 1, the movable part 1 receives an external force in the detection axis direction due to the Coriolis force. Therefore, the movable portion 1 is elastically supported so as to be displaceable in two axial directions of the detection shaft and the drive shaft. The detection electrode 2 and the servo electrode 10 are arranged in parallel to the detection axis direction.

自己振動サーボ制御回路の同期検波回路5は、AD変換器4から出力されたデジタル信号を可動部1の駆動振動と同じ位相Φ1の検波信号(以後、Φ1)により同期検波する。積分器6は、同期検波回路5の出力を積分する。変調回路7は、積分器6の出力を可動部1の駆動振動に対し90°遅れた位相Φ3の変調信号(Φ3)により周波数変調を行う。   The synchronous detection circuit 5 of the self-vibration servo control circuit synchronously detects the digital signal output from the AD converter 4 using a detection signal (hereinafter referred to as Φ1) having the same phase Φ1 as the driving vibration of the movable unit 1. The integrator 6 integrates the output of the synchronous detection circuit 5. The modulation circuit 7 performs frequency modulation on the output of the integrator 6 by a modulation signal (Φ3) having a phase Φ3 that is delayed by 90 ° with respect to the driving vibration of the movable unit 1.

また、コリオリサーボ制御回路の同期検波回路11は、AD変換器4から出力されたデジタル信号を可動部1の駆動振動に対し90°遅れた位相Φ2を持つ検波信号(Φ2)により同期検波する。積分器12は、同期検波回路11の出力を積分する。変調回路13は、積分器12の出力を可動部1の駆動振動と同じ位相Φ4の変調信号(以後、Φ4)により周波数変調を行う。   The synchronous detection circuit 11 of the Coriolis servo control circuit synchronously detects the digital signal output from the AD converter 4 by a detection signal (Φ2) having a phase Φ2 delayed by 90 ° with respect to the drive vibration of the movable unit 1. The integrator 12 integrates the output of the synchronous detection circuit 11. The modulation circuit 13 performs frequency modulation on the output of the integrator 12 using a modulation signal (hereinafter referred to as Φ4) having the same phase Φ4 as that of the driving vibration of the movable unit 1.

次に、アクティブ診断回路200は、第1判定回路201と、第2判定回路202と、アクティブ診断実施回路203とを備えている。第1判定回路201は、受信回路102により受信した上位システムからの通信コマンドが物理量センサの制御に関するコマンドか否かを判定する。第2判定回路202は、通信コマンドがアクティブ診断を許可又は禁止するコマンドか否かを判定する。アクティブ診断実施回路203は、第1判定回路及び第2判定回路の出力に基づいて、診断用の変位を角速度検出回路100に入力する。角速度検出回路100には、加算器204,205が備えられており、診断用変位を角速度検出回路100の積分器6,12の出力にそれぞれ加算する。   Next, the active diagnosis circuit 200 includes a first determination circuit 201, a second determination circuit 202, and an active diagnosis execution circuit 203. The first determination circuit 201 determines whether or not the communication command from the host system received by the reception circuit 102 is a command related to control of the physical quantity sensor. The second determination circuit 202 determines whether or not the communication command is a command that permits or prohibits active diagnosis. The active diagnosis execution circuit 203 inputs a displacement for diagnosis to the angular velocity detection circuit 100 based on the outputs of the first determination circuit and the second determination circuit. The angular velocity detection circuit 100 includes adders 204 and 205, and adds the diagnostic displacement to the outputs of the integrators 6 and 12 of the angular velocity detection circuit 100, respectively.

次に、本実施形態の物理量センサの動作について説明する。   Next, the operation of the physical quantity sensor of this embodiment will be described.

角速度検出回路100において、駆動振動している可動部1に角速度か印加した際に発生するコリオリ力により可動部1が変位する。可動部1の変位に応じて、検出電極2の静電容量が変化する。自己振動サーボ制御回路及びコリオリサーボ制御回路は、この静電容量の変化を打ち消すためのサーボ電圧を生成し、サーボ電極10により可動部1に印加することで、サーボ制御を行っている。   In the angular velocity detection circuit 100, the movable portion 1 is displaced by the Coriolis force generated when the angular velocity is applied to the movable portion 1 that is driven and oscillated. The capacitance of the detection electrode 2 changes according to the displacement of the movable part 1. The self-vibration servo control circuit and the Coriolis servo control circuit perform servo control by generating a servo voltage for canceling the change in capacitance and applying the servo voltage to the movable portion 1 by the servo electrode 10.

自己振動サーボ制御回路の同期検波回路5は、AD変換器4から出力されたデジタル信号をΦ1を用いて同期検波を行い、自己振動による可動部1の変位(エラー変位)を検出する。積分器6は、エラー変位を積分演算することで、エラー変位を打ち消す自己振動サーボ量を求める。次に、変調回路7は、変調信号Φ3を用いて周波数変調を行い、可動部1に印加する自己振動サーボ信号を生成する。   The synchronous detection circuit 5 of the self-vibration servo control circuit performs synchronous detection on the digital signal output from the AD converter 4 using Φ1, and detects displacement (error displacement) of the movable part 1 due to self-vibration. The integrator 6 integrates the error displacement to obtain a self-vibration servo amount that cancels the error displacement. Next, the modulation circuit 7 performs frequency modulation using the modulation signal Φ3 and generates a self-vibration servo signal to be applied to the movable portion 1.

コリオリサーボ制御回路の同期検波回路11は、AD変換器4から出力されたデジタル信号をΦ2を用いて同期検波を行い、コリオリ力による可動部1の変位(コリオリ変位)を検出する。積分器12は、コリオリ変位を積分演算することでコリオリ変位を打ち消すコリオリサーボ量を求める。次に、変調回路13は、変調信号Φ4を用いて周波数変調を行い、可動部1に印加するコリオリサーボ信号を生成する。   The synchronous detection circuit 11 of the Coriolis servo control circuit performs synchronous detection on the digital signal output from the AD converter 4 using Φ2, and detects the displacement (Coriolis displacement) of the movable part 1 due to the Coriolis force. The integrator 12 calculates a Coriolis servo amount that cancels the Coriolis displacement by integrating the Coriolis displacement. Next, the modulation circuit 13 performs frequency modulation using the modulation signal Φ4 and generates a Coriolis servo signal to be applied to the movable unit 1.

この自己振動サーボ制御及びコリオリサーボ制御を行っている状態において、コリオリサーボ量を伝送回路101に入力することで、物理量センサは角速度情報を上位システムに伝送することができる。   When the self-vibration servo control and the Coriolis servo control are performed, the physical quantity sensor can transmit the angular velocity information to the host system by inputting the Coriolis servo amount to the transmission circuit 101.

次に、アクティブ診断回路200の第1判定回路201と第2判定回路202は、受信回路102により受信した通信コマンドに対して、アクティブ診断を実施するか否かを判断する。第1判定回路及び第2判定回路の出力がアクティブ診断許可を示す出力である場合に、アクティブ診断実施回路203は、診断用の変位量を角速度検出回路100に出力する。次に、診断用の変位量を加算器204,205を用いて積分器6,12の出力に加算し、コリオリサーボ量と共にAD変換器9、サーボ電極10を介して可動部1に印加する。   Next, the first determination circuit 201 and the second determination circuit 202 of the active diagnosis circuit 200 determine whether or not to perform active diagnosis on the communication command received by the reception circuit 102. When the outputs of the first determination circuit and the second determination circuit are outputs indicating that active diagnosis is permitted, the active diagnosis execution circuit 203 outputs a displacement amount for diagnosis to the angular velocity detection circuit 100. Next, the displacement amount for diagnosis is added to the outputs of the integrators 6 and 12 using the adders 204 and 205, and is applied to the movable part 1 through the AD converter 9 and the servo electrode 10 together with the Coriolis servo amount.

これにより、可動部1には、コリオリ力による変位に診断用の変位を乗じた変位が発生する。この診断用の変位は、コリオリ変位の増加分として、同期検波回路11により検出される。次に、診断用の変位であるコリオリ変位の増加分をゼロにするためのサーボ制御により、診断用の変位は、コリオリサーボ量の増加分として積分器12により出力され、AD変換器9、サーボ電極10を介して可動部1にサーボ力が印加される。   Thereby, a displacement obtained by multiplying the displacement due to the Coriolis force by the displacement for diagnosis is generated in the movable portion 1. This diagnostic displacement is detected by the synchronous detection circuit 11 as an increase in the Coriolis displacement. Next, the servo displacement for making the increment of the Coriolis displacement, which is a displacement for diagnosis, zero, the displacement for diagnosis is output as the increment of the Coriolis servo amount by the integrator 12, and the AD converter 9, servo A servo force is applied to the movable part 1 through the electrode 10.

伝送回路101は、診断用の変位を反映したコリオリ変位又はコリオリサーボ量を上位システムに伝送し、コリオリ変位又はコリオリサーボ量の増加分が所定の量であるか否かを上位システムが監視することで物理量センサのアクティブ診断を実現している。   The transmission circuit 101 transmits the Coriolis displacement or the Coriolis servo amount reflecting the displacement for diagnosis to the host system, and the host system monitors whether the increase in the Coriolis displacement or the Coriolis servo amount is a predetermined amount. Realizes active diagnosis of physical quantity sensors.

次に、図2を用いて、第1判定回路201と第2判定回路202による、アクティブ診断を許可するに至るまでの処理内容について説明する。   Next, the contents of processing until the active diagnosis is permitted by the first determination circuit 201 and the second determination circuit 202 will be described with reference to FIG.

ステップS100において、上位システムから受信回路102を介して第2判定回路202に通信コマンド(第1通信コマンド)が入力すると、ステップS105において、第2判定回路202は、予め第2判定回路202に記憶している通信コマンド群と照し合せて、第1通信コマンドが物理量センサの制御に関するコマンドか否かを判定する。   When a communication command (first communication command) is input from the host system to the second determination circuit 202 via the receiving circuit 102 in step S100, the second determination circuit 202 stores in the second determination circuit 202 in advance in step S105. It is determined whether or not the first communication command is a command related to the control of the physical quantity sensor in comparison with the communication command group.

第1通信コマンドが物理量センサの制御用コマンドであった場合には、ステップS110において、第2判定回路202は、第1通信コマンドがアクティブ診断制御用のコマンドであるか否かを判定する。   If the first communication command is a physical quantity sensor control command, in step S110, the second determination circuit 202 determines whether or not the first communication command is an active diagnostic control command.

次に、第1通信コマンドがアクティブ診断制御用コマンドであった場合には、ステップS115において、第2判定回路202は、第1通信コマンドがアクティブ診断を許可又は禁止するコマンドであるか否かを判定する。   Next, when the first communication command is an active diagnosis control command, in step S115, the second determination circuit 202 determines whether or not the first communication command is a command for permitting or prohibiting active diagnosis. judge.

次に、第1通信コマンドがアクティブ診断を許可するコマンドであった場合には、ステップS120において、第2判定回路202は、その出力をアクティブ診断許可モードにする。一方、第1通信コマンドがアクティブ診断を禁止するコマンドであった場合には、ステップS125において、第2判定回路202は、その出力をアクティブ診断禁止モードの状態に保持している。   Next, when the first communication command is a command for permitting active diagnosis, in step S120, the second determination circuit 202 sets the output to the active diagnosis permission mode. On the other hand, when the first communication command is a command for prohibiting the active diagnosis, in step S125, the second determination circuit 202 holds the output in the state of the active diagnosis prohibition mode.

次に、ステップS125において、上位システムから受信回路102を介して第1判定回路201に通信コマンド(第2通信コマンド)が入力すると、ステップS130において、第1判定回路201は、第2通信コマンドが物理量センサの制御に関するコマンドか否かを判定し、次に、ステップS135において、アクティブ診断制御用のコマンドであるか否かを判定する。   Next, when a communication command (second communication command) is input from the host system to the first determination circuit 201 via the reception circuit 102 in step S125, the first determination circuit 201 determines that the second communication command is received in step S130. It is determined whether or not the command is related to the control of the physical quantity sensor. Next, in step S135, it is determined whether or not the command is for active diagnosis control.

次に、ステップS140において、アクティブ診断実施回路203は、第2判定回路202の出力がアクティブ診断許可モードであるか否かを判定する。   Next, in step S140, the active diagnosis execution circuit 203 determines whether or not the output of the second determination circuit 202 is in the active diagnosis permission mode.

第2通信コマンドがアクティブ診断制御用のコマンドであり、且つ第2判定回路202の出力がアクティブ診断許可モードであった場合に、ステップS145において、アクティブ診断実施回路203は、アクティブ診断を実施する。   When the second communication command is a command for active diagnosis control and the output of the second determination circuit 202 is in the active diagnosis permission mode, in step S145, the active diagnosis execution circuit 203 performs active diagnosis.

ステップS110で第1通信コマンドがアクティ診断用コマンドでないと判定された場合、また、ステップS135で第2通信コマンドがアクティブ診断用コマンドでないと判定された場合は、ステップS150において、通常動作を継続する。   If it is determined in step S110 that the first communication command is not an activity diagnosis command, or if it is determined in step S135 that the second communication command is not an active diagnosis command, normal operation is continued in step S150. .

例えば、あるタイミングで、受信回路102に、第1通信コマンド(アクティブ診断を許可又は禁止するコマンド)が入力し、その後のタイミングで、受信回路102に、第2通信コマンド(可動部に診断用の変位量を与えるアクティブ診断用コマンド)が入力した場合について説明する。あるタイミングで、第1の受信コマンドが入力すると、第2判定回路202は、ステップS100〜S120の処理により、その出力をアクティブ診断許可モードにして、アクティブ診断実施回路203に出力する。その後のタイミングで、第2の通信コマンドが入力すると、第1判定回路201は、ステップS130〜S135の処理により、可動部に診断用の変位量を与える出力を、アクティブ診断実施回路203に出力する。そして、ステップS140で、このときの第2判定回路202の出力がアクティブ診断許可モードであるかどうかを判定するわけであるが、このときは前述のように第1通信コマンドにより、第2判定回路202の出力がアクティブ診断許可モードとなっているので、アクティブ診断実施回路203は、第1判定回路201が出力するアクティブ診断用コマンド(可動部に診断用の変位量を与えるアクティブ診断用コマンド)に応じて、可動部に診断用の変位量を各速度検出回路100に出力することで、アクティブ診断を実施する。   For example, a first communication command (a command for permitting or prohibiting active diagnosis) is input to the receiving circuit 102 at a certain timing, and a second communication command (for diagnosis to the movable part) is input to the receiving circuit 102 at a subsequent timing. A case where an active diagnostic command for giving a displacement amount is input will be described. When the first reception command is input at a certain timing, the second determination circuit 202 sets the output to the active diagnosis permission mode and outputs it to the active diagnosis execution circuit 203 by the processing of steps S100 to S120. When the second communication command is input at a later timing, the first determination circuit 201 outputs an output that gives a displacement amount for diagnosis to the movable part to the active diagnosis execution circuit 203 by the processing of steps S130 to S135. . In step S140, it is determined whether or not the output of the second determination circuit 202 at this time is in the active diagnosis permission mode. At this time, as described above, the second determination circuit is determined by the first communication command. Since the output of 202 is in the active diagnosis permission mode, the active diagnosis execution circuit 203 uses the active diagnosis command (active diagnosis command for giving a displacement amount for diagnosis to the movable part) output from the first determination circuit 201. Accordingly, an active diagnosis is performed by outputting a displacement amount for diagnosis to each speed detection circuit 100 to the movable part.

以上説明した本実施形態によれば、第1に、第1通信コマンド及び第2通信コマンドの内容に基づいて第1判定回路201及び第2判定回路202がアクティブ診断の許可をするため、ノイズ干渉等による通信コマンドの変化や上位システム不良による通信コマンドの誤送信の際にアクティブ診断を禁止することが可能となる。   According to the present embodiment described above, first, since the first determination circuit 201 and the second determination circuit 202 permit the active diagnosis based on the contents of the first communication command and the second communication command, noise interference It is possible to prohibit the active diagnosis when a communication command is changed due to, for example, or when a communication command is erroneously transmitted due to a host system failure.

第2に、第1通信コマンド及び第2通信コマンドの内容に基づいて第2判定回路202がアクティブ診断実施の許可を行うことにより、外部端子の数を変更すること無くアクティブ診断の動作信頼性を格段に向上させることが可能となる。   Secondly, the second determination circuit 202 permits the active diagnosis based on the contents of the first communication command and the second communication command, thereby improving the operation reliability of the active diagnosis without changing the number of external terminals. It becomes possible to greatly improve.

第3に、通信コマンドの内容に基づいてアクティブ診断を制御することにより、アクティブ診断内容の多項目化も容易に可能となるため、回路の追加をせずに状況に応じた上位システムのアクティブ診断内容の変更を実現することが可能となる。例えば可動部1の駆動振動の制御を行う駆動制御回路と角速度検出回路等個別の回路毎に診断を行うことが可能となる。また、診断用の変位量を、通信コマンドを用いて変更することによって可動部1の感度診断を行うことが可能になり、可動部1の感度変化を用いた故障予測が可能となる。   Third, by controlling the active diagnosis based on the contents of the communication command, it is possible to easily make multiple items of the contents of the active diagnosis, so the active diagnosis of the host system according to the situation without adding a circuit It is possible to change the contents. For example, it is possible to perform diagnosis for each individual circuit such as a drive control circuit that controls drive vibration of the movable unit 1 and an angular velocity detection circuit. Further, it is possible to perform a sensitivity diagnosis of the movable part 1 by changing the amount of displacement for diagnosis using a communication command, and it is possible to predict a failure using the sensitivity change of the movable part 1.

第4に、通信コマンドの内容に基づいてアクティブ診断を高信頼に制御可能となることにより、アクティブ診断制御対象が複数になった際の個別のアクティブ診断制御も容易に実現することが可能となる。   Fourth, since active diagnosis can be controlled with high reliability based on the contents of communication commands, individual active diagnosis control when there are a plurality of active diagnosis control targets can be easily realized. .

次に、図3及び図4を用いて、本発明の第2の実施形態による物理量センサの構成及び動作について説明する。
図3は、本発明の第2の実施形態による物理量センサの構成を示すブロック図である。なお、図3において、図1と同一符号は、同一部分を示している。図4は、本発明の第2の実施形態による物理量センサにおけるアクティブ診断許可動作を示すフローチャートである。
Next, the configuration and operation of the physical quantity sensor according to the second embodiment of the present invention will be described with reference to FIGS.
FIG. 3 is a block diagram showing a configuration of a physical quantity sensor according to the second embodiment of the present invention. 3, the same reference numerals as those in FIG. 1 denote the same parts. FIG. 4 is a flowchart showing an active diagnosis permission operation in the physical quantity sensor according to the second embodiment of the present invention.

本実施形態の物理量センサにおいて、アクティブ診断回路200Aは、図1におけるアクティブ診断回路200の第2判定回路202の代わりに、上位システムからアクティブ診断を許可するためのHレベルとLレベルの2値を取り得る許可信号(DIAG信号)を入力する端子と、DIAG信号のレベルからアクティブ診断を実施するか否かを判定する第2判定回路206を備えている。   In the physical quantity sensor of the present embodiment, the active diagnostic circuit 200A uses two levels of H level and L level for permitting active diagnosis from a higher system instead of the second determination circuit 202 of the active diagnostic circuit 200 in FIG. A terminal for inputting a possible permission signal (DIAG signal) and a second determination circuit 206 for determining whether or not to perform active diagnosis from the level of the DIAG signal are provided.

コマンド信号CMD及びDIAG信号は、いずれも、エンジン制御やトラクションコントロールを司るECU(Electronic Control Unit)のような上位システムから出力される。   The command signal CMD and the DIAG signal are both output from a host system such as an ECU (Electronic Control Unit) that controls engine control and traction control.

なお、図3における角速度検出回路100、伝送回路101、受信回路102の動作については、図1に示したものと同一の動作を行うものである。   The operations of the angular velocity detection circuit 100, the transmission circuit 101, and the reception circuit 102 in FIG. 3 are the same as those shown in FIG.

次に、本実施形態におけるアクティブ診断回路200Aの動作について説明する。   Next, the operation of the active diagnostic circuit 200A in the present embodiment will be described.

次に、ステップS125において、上位システムから受信回路102を介して第1判定回路201に通信コマンド(第2通信コマンド)が入力すると、ステップS130において、第1判定回路201は、第2通信コマンドが物理量センサの制御に関するコマンドか否かを判定し、次に、ステップS135において、アクティブ診断制御用のコマンドであるか否かを判定する。   Next, when a communication command (second communication command) is input from the host system to the first determination circuit 201 via the reception circuit 102 in step S125, the first determination circuit 201 determines that the second communication command is received in step S130. It is determined whether or not the command is related to the control of the physical quantity sensor. Next, in step S135, it is determined whether or not the command is for active diagnosis control.

次に、ステップS160において、第2判定回路202は、DIAG信号のレベルを判定する。DIAG信号がHレベルの状態であれば、ステップS120において、第2判定回路206は、その出力をアクティブ診断許可モードにする。そして、ステップS145において、アクティブ診断実施回路203はアクティブ診断を実施する。   Next, in step S160, the second determination circuit 202 determines the level of the DIAG signal. If the DIAG signal is in the H level, the second determination circuit 206 sets the output to the active diagnosis permission mode in step S120. In step S145, the active diagnosis execution circuit 203 performs active diagnosis.

一方、DIAG信号がLレベルであれば、ステップS165において、第2判定回路206は、その出力をアクティブ診断禁止モードにする。そして、ステップS150において、通常動作を継続する。   On the other hand, if the DIAG signal is at the L level, in step S165, the second determination circuit 206 sets the output to the active diagnosis inhibition mode. In step S150, the normal operation is continued.

なお、本実施形態では、DIAG信号にレベル信号を用いた実施例を記載しているが、このDIAG信号に所定周波数のパルス信号を用いても良い。DIAG信号にパルス信号を用いた場合、第2判定回路206はパルス信号が所定の周波数を有しているか否かを判定する。DIAG信号が所定の周波数を有していた場合は、第2判定回路206の出力をアクティブ診断許可モードにする。一方、DIAG信号が所定の周波数を有していなかった場合、第2判定回路206の出力をアクティブ診断禁止モードにする。   In the present embodiment, an example in which a level signal is used for the DIAG signal is described. However, a pulse signal having a predetermined frequency may be used for the DIAG signal. When a pulse signal is used as the DIAG signal, the second determination circuit 206 determines whether the pulse signal has a predetermined frequency. When the DIAG signal has a predetermined frequency, the output of the second determination circuit 206 is set to the active diagnosis permission mode. On the other hand, when the DIAG signal does not have a predetermined frequency, the output of the second determination circuit 206 is set to the active diagnosis inhibition mode.

以上説明した本実施形態によれば、第1に、通信コマンドの内容及びDIAG信号の信号レベルに基づいて、第1判定回路201及び第2判定回路206がアクティブ診断実施の許可を行うことにより、ノイズ干渉等による通信コマンドの変化や上位システム不良による通信コマンドの誤送信の際にも、誤診断をすることを抑制することができる。   According to the present embodiment described above, first, based on the content of the communication command and the signal level of the DIAG signal, the first determination circuit 201 and the second determination circuit 206 permit the active diagnosis to be performed. It is possible to suppress erroneous diagnosis even when a communication command changes due to noise interference or the like, or when a communication command is erroneously transmitted due to a host system failure.

第2に、DIAG信号にパルス信号を用いた場合、第2判定回路206はDIAG信号の周波数に基づいてアクティブ診断許可に関する判定を行うことにより、DIAG信号経路の断線時にもアクティブ診断を禁止するため、高信頼なアクティブ診断を実現することが可能となる。   Secondly, when a pulse signal is used for the DIAG signal, the second determination circuit 206 prohibits active diagnosis even when the DIAG signal path is disconnected by making a determination regarding active diagnosis permission based on the frequency of the DIAG signal. It is possible to realize a highly reliable active diagnosis.

第3に、通信コマンドの内容に基づいてアクティブ診断を制御することにより、アクティブ診断内容の多項目化も容易に可能となるため、回路の追加をせずに状況に応じた上位システムのアクティブ診断内容の変更を実現することが可能となる。例えば可動部1の駆動振動の制御を行う駆動制御回路と角速度検出回路等個別の回路毎に診断を行うことが可能となる。また、診断用の変位量を、通信コマンドを用いて変更することによって可動部1の感度診断を行うことが可能になり、可動部1の感度変化を用いた故障予測が可能となる。   Third, by controlling the active diagnosis based on the contents of the communication command, it is possible to easily make multiple items of the contents of the active diagnosis, so the active diagnosis of the host system according to the situation without adding a circuit It is possible to change the contents. For example, it is possible to perform diagnosis for each individual circuit such as a drive control circuit that controls drive vibration of the movable unit 1 and an angular velocity detection circuit. Further, it is possible to perform a sensitivity diagnosis of the movable part 1 by changing the amount of displacement for diagnosis using a communication command, and it is possible to predict a failure using the sensitivity change of the movable part 1.

第4に、通信コマンドの内容に基づいてアクティブ診断を高信頼に制御可能となることにより、アクティブ診断制御対象が複数になった際の個別のアクティブ診断制御も容易に実現することが可能となる。   Fourth, since active diagnosis can be controlled with high reliability based on the contents of communication commands, individual active diagnosis control when there are a plurality of active diagnosis control targets can be easily realized. .

次に、図5を用いて、本発明の第3の実施形態による物理量センサの構成及び動作について説明する。
図5は、本発明の第3の実施形態による物理量センサの構成を示すブロック図である。なお、図5において、図1及び図3と同一符号は、同一部分を示している。
Next, the configuration and operation of the physical quantity sensor according to the third embodiment of the present invention will be described with reference to FIG.
FIG. 5 is a block diagram showing a configuration of a physical quantity sensor according to the third embodiment of the present invention. In FIG. 5, the same reference numerals as those in FIGS. 1 and 3 denote the same parts.

本実施形態の物理量センサにおいて、アクティブ診断回路200Bは、図3の実施形態のアクティブ診断回路200Aにおける第2判定回路206の代わりに、物理量センサ自体の速度に応じてアクティブ診断を実施するか否かを判定する第2判定回路206bを備える。第2判定回路206bには、物理量センサ自体の速度を検出する速度センサ207aによって検出された速度信号が入力する。   In the physical quantity sensor of this embodiment, the active diagnostic circuit 200B determines whether or not to perform the active diagnosis according to the speed of the physical quantity sensor itself instead of the second determination circuit 206 in the active diagnostic circuit 200A of the embodiment of FIG. A second determination circuit 206b is provided. The speed signal detected by the speed sensor 207a that detects the speed of the physical quantity sensor itself is input to the second determination circuit 206b.

なお、図5における角速度検出回路100、伝送回路101、受信回路102の動作については、図1に示したものと同一の動作を行うものである。   The operations of the angular velocity detection circuit 100, the transmission circuit 101, and the reception circuit 102 in FIG. 5 are the same as those shown in FIG.

次に,本実施形態のアクティブ診断回路200Bの動作について説明する。   Next, the operation of the active diagnostic circuit 200B of this embodiment will be described.

速度センサ207aは、物理量センサ自体の速度を検出する。第2判定回路206bは、物理量センサ自体の速度がゼロであれば、その出力をアクティブ診断許可モードにする。一方、物理量センサ自体の速度がゼロでなければ、その出力をアクティブ診断禁止モードにする。   The speed sensor 207a detects the speed of the physical quantity sensor itself. If the speed of the physical quantity sensor itself is zero, the second determination circuit 206b sets the output to the active diagnosis permission mode. On the other hand, if the speed of the physical quantity sensor itself is not zero, the output is set to the active diagnosis inhibition mode.

これに伴い、上位システムから受信回路102を介して第1判定回路201に通信コマンドが入力すると、まず第1判定回路201は予め第1判定回路201に記憶している通信コマンド群と照し合せて、通信コマンドが物理量センサの制御に関するコマンドか否かを判定する。次に、アクティブ診断制御用のコマンドであるか否かを判定する。次に、通信コマンドがアクティブ診断制御用のコマンドであった場合、第2判定回路206bの出力がアクティブ診断許可モードであれば、アクティブ診断実施回路203はアクティブ診断を実施する。   Accordingly, when a communication command is input from the host system to the first determination circuit 201 via the reception circuit 102, the first determination circuit 201 first compares the communication command group stored in the first determination circuit 201 in advance. Thus, it is determined whether or not the communication command is a command related to control of the physical quantity sensor. Next, it is determined whether or not the command is for active diagnosis control. Next, when the communication command is a command for active diagnosis control, if the output of the second determination circuit 206b is in the active diagnosis permission mode, the active diagnosis execution circuit 203 executes active diagnosis.

なお、本実施形態において第2判定回路206bは自動車に搭載している車速センサからの車速に応じた車速パルス信号を入力しても良い。   In the present embodiment, the second determination circuit 206b may input a vehicle speed pulse signal corresponding to the vehicle speed from a vehicle speed sensor mounted on the vehicle.

以上説明した本実施形態によれば、第1に、物理量センサに生じる速度がゼロの時にのみアクティブ診断を行うことにより、物理量センサを搭載する車両や航空機等の移動体が停止している時にのみアクティブ診断を実施するため、移動体が運動している際にアクティブ診断を実施することを禁止することが可能となる。   According to the present embodiment described above, first, by performing an active diagnosis only when the speed generated in the physical quantity sensor is zero, only when a moving body such as a vehicle or an aircraft equipped with the physical quantity sensor is stopped. Since the active diagnosis is performed, it is possible to prohibit the active diagnosis from being performed when the moving body is moving.

第2に、通信コマンドの内容に基づいてアクティブ診断を制御することにより、アクティブ診断内容の多項目化も容易に可能となるため、回路の追加をせずに状況に応じた上位システムのアクティブ診断内容の変更を実現することが可能となる。例えば可動部1の駆動振動の制御を行う駆動制御回路と角速度検出回路等個別の回路毎に診断を行うことが可能となる。また、診断用の変位量を、通信コマンドを用いて変更することによって可動部1の感度診断を行うことが可能になり、可動部1の感度変化を用いた故障予測が可能となる。   Second, by controlling the active diagnosis based on the contents of the communication command, it is possible to easily make multiple items of the contents of the active diagnosis. Therefore, the active diagnosis of the host system according to the situation without adding a circuit It is possible to change the contents. For example, it is possible to perform diagnosis for each individual circuit such as a drive control circuit that controls drive vibration of the movable unit 1 and an angular velocity detection circuit. Further, it is possible to perform a sensitivity diagnosis of the movable part 1 by changing the amount of displacement for diagnosis using a communication command, and it is possible to predict a failure using the sensitivity change of the movable part 1.

第3に、通信コマンドの内容に基づいてアクティブ診断を高信頼に制御可能となることにより、アクティブ診断制御対象が複数になった際の個別のアクティブ診断制御も容易に実現することが可能となる。   Third, since active diagnosis can be controlled with high reliability based on the contents of communication commands, individual active diagnosis control when there are a plurality of active diagnosis control targets can be easily realized. .

次に、図6を用いて、本発明の第4の実施形態による物理量センサの構成及び動作について説明する。
図6は、本発明の第4の実施形態による物理量センサの構成を示すブロック図である。なお、図6において、図1及び図3と同一符号は、同一部分を示している。
Next, the configuration and operation of the physical quantity sensor according to the fourth embodiment of the present invention will be described with reference to FIG.
FIG. 6 is a block diagram showing a configuration of a physical quantity sensor according to the fourth embodiment of the present invention. In FIG. 6, the same reference numerals as those in FIGS. 1 and 3 indicate the same parts.

本実施形態の物理量センサにおいて、アクティブ診断回路200Cは、図3の実施形態のアクティブ診断回路200Aにおける第2判定回路206の代わりに、物理量センサ自体の加速度に応じてアクティブ診断を実施するか否かを判定する第2判定回路206cを備える。第2判定回路206cには、物理量センサに生じる加速度を検出する加速度センサ207cによって検出された加速度信号が入力する。   In the physical quantity sensor of the present embodiment, the active diagnostic circuit 200C determines whether or not to perform the active diagnosis according to the acceleration of the physical quantity sensor itself, instead of the second determination circuit 206 in the active diagnostic circuit 200A of the embodiment of FIG. A second determination circuit 206c is provided. The acceleration signal detected by the acceleration sensor 207c that detects the acceleration generated in the physical quantity sensor is input to the second determination circuit 206c.

なお、図6における角速度検出回路100、伝送回路101、受信回路102の動作については、図1に示したものと同一の動作を行うものである。   The operations of the angular velocity detection circuit 100, the transmission circuit 101, and the reception circuit 102 in FIG. 6 are the same as those shown in FIG.

次に,本実施形態のアクティブ診断回路200Cの動作について説明する。   Next, the operation of the active diagnostic circuit 200C of this embodiment will be described.

加速度センサ207cは、物理量センサ自体の加速度を検出する。第2判定回路206cは、物理量センサ自体の加速度がゼロであれば、その出力をアクティブ診断許可モードにする。一方、物理量センサ自体の加速度がゼロでなければ、第2判定回路206cは、その出力をアクティブ診断禁止モードにする。   The acceleration sensor 207c detects the acceleration of the physical quantity sensor itself. If the acceleration of the physical quantity sensor itself is zero, the second determination circuit 206c sets the output to the active diagnosis permission mode. On the other hand, if the acceleration of the physical quantity sensor itself is not zero, the second determination circuit 206c sets the output to the active diagnosis inhibition mode.

これに伴い、上位システムから受信回路102を介して第1判定回路201に通信コマンドが入力すると、まず第1判定回路201は予め第1判定回路201に記憶している通信コマンド群と照し合せて、通信コマンドが物理量センサの制御に関するコマンドか否かを判定する。次に、アクティブ診断制御用のコマンドであるか否かを判定する。次に、通信コマンドがアクティブ診断制御用のコマンドであった場合、第2判定回路206cの出力がアクティブ診断許可モードであれば、アクティブ診断実施回路203はアクティブ診断を実施する。   Accordingly, when a communication command is input from the host system to the first determination circuit 201 via the reception circuit 102, the first determination circuit 201 first compares the communication command group stored in the first determination circuit 201 in advance. Thus, it is determined whether or not the communication command is a command related to control of the physical quantity sensor. Next, it is determined whether or not the command is for active diagnosis control. Next, when the communication command is a command for active diagnosis control and the output of the second determination circuit 206c is in the active diagnosis permission mode, the active diagnosis execution circuit 203 executes active diagnosis.

なお、本実施形態において、加速度センサ207cは、物理量センサを複数の角速度センサ及び加速度センサが構成する場合、物理量センサを構成する加速度センサを用いることとしても良い。その場合、アクティブ診断対象の加速度センサを加速度センサ207cとして用いてはならない。   In the present embodiment, the acceleration sensor 207c may use an acceleration sensor constituting the physical quantity sensor when the physical quantity sensor is constituted by a plurality of angular velocity sensors and acceleration sensors. In that case, the acceleration sensor targeted for active diagnosis should not be used as the acceleration sensor 207c.

以上説明した本実施形態によれば、第1に、物理量センサに生じる加速度がゼロの時にのみアクティブ診断を行うことにより、物理量センサを搭載する車両や航空機等の移動体に加速度が生じていない時にのみアクティブ診断を実施するため、診断用の変位をより正確に可動部1に印加することができ、高精度なアクティブ診断を実現することが可能となる。   According to the present embodiment described above, first, by performing active diagnosis only when the acceleration generated in the physical quantity sensor is zero, when no acceleration is generated in a moving body such as a vehicle or an aircraft equipped with the physical quantity sensor. Since only the active diagnosis is performed, the displacement for diagnosis can be applied to the movable part 1 more accurately, and the active diagnosis with high accuracy can be realized.

第2に、第3の実施形態における速度センサ207aの出力も利用することにより、速度がゼロで加速度がゼロでない場合などは、物理量センサが傾斜していることを検出することができるため、傾斜量を補正して高精度なアクティブ診断を行うことが可能となる。   Second, by utilizing the output of the speed sensor 207a in the third embodiment, it is possible to detect that the physical quantity sensor is tilted when the speed is zero and the acceleration is not zero. It is possible to perform active diagnosis with high accuracy by correcting the amount.

第3に、物理量センサ内の加速度センサを加速度センサ207cとして用いる場合、アクティブ診断制御は上位システムと加速度センサ207cを用いて行うため、双方が正常な場合にのみアクティブ診断が実施され、高信頼なアクティブ診断を実現することが可能となる。   Third, when the acceleration sensor in the physical quantity sensor is used as the acceleration sensor 207c, active diagnosis control is performed using the host system and the acceleration sensor 207c. Therefore, active diagnosis is performed only when both are normal, and high reliability is achieved. Active diagnosis can be realized.

第4に、通信コマンドの内容に基づいてアクティブ診断を制御することにより、アクティブ診断内容の多項目化も容易に可能となるため、回路の追加をせずに状況に応じた上位システムのアクティブ診断内容の変更を実現することが可能となる。例えば可動部1の駆動振動の制御を行う駆動制御回路と角速度検出回路等個別の回路毎に診断を行うことが可能となる。また、診断用の変位量を、通信コマンドを用いて変更することによって可動部1の感度診断を行うことが可能になり、可動部1の感度変化を用いた故障予測が可能となる。   Fourth, by controlling the active diagnosis based on the content of the communication command, it is possible to easily make multiple items of the active diagnosis content, so the active diagnosis of the host system according to the situation without adding a circuit It is possible to change the contents. For example, it is possible to perform diagnosis for each individual circuit such as a drive control circuit that controls drive vibration of the movable unit 1 and an angular velocity detection circuit. Further, it is possible to perform sensitivity diagnosis of the movable part 1 by changing the amount of displacement for diagnosis using a communication command, and it is possible to predict failure using the sensitivity change of the movable part 1.

第5に、通信コマンドの内容に基づいてアクティブ診断を高信頼に制御可能となることにより、アクティブ診断制御対象が複数になった際の個別のアクティブ診断制御も容易に実現することが可能となる。   Fifth, since active diagnosis can be controlled with high reliability based on the contents of the communication command, individual active diagnosis control when there are a plurality of active diagnosis control targets can be easily realized. .

次に、図7を用いて、本発明の第5の実施形態による物理量センサの構成及び動作について説明する。
図7は、本発明の第5の実施形態による物理量センサの構成を示すブロック図である。なお、図7において、図1及び図3と同一符号は、同一部分を示している。
Next, the configuration and operation of the physical quantity sensor according to the fifth embodiment of the present invention will be described with reference to FIG.
FIG. 7 is a block diagram showing a configuration of a physical quantity sensor according to the fifth embodiment of the present invention. In FIG. 7, the same reference numerals as those in FIGS. 1 and 3 denote the same parts.

本実施形態の物理量センサにおいて、アクティブ診断回路200Dは、図3の実施形態のアクティブ診断回路200Aにおける第2判定回路206の代わりに、物理量センサ自体の角速度に応じてアクティブ診断を実施するか否かを判定する第2判定回路206dを備える。第2判定回路206dには、物理量センサに生じる角速度を検出する加速度センサ207dによって検出された角速度信号が入力する。   In the physical quantity sensor of the present embodiment, the active diagnostic circuit 200D determines whether or not to perform the active diagnosis according to the angular velocity of the physical quantity sensor itself, instead of the second determination circuit 206 in the active diagnostic circuit 200A of the embodiment of FIG. The second determination circuit 206d is provided. An angular velocity signal detected by an acceleration sensor 207d that detects an angular velocity generated in the physical quantity sensor is input to the second determination circuit 206d.

なお、図7における角速度検出回路100、伝送回路101、受信回路102の動作については、図1に示したものと同一の動作を行うものである。   The operations of the angular velocity detection circuit 100, the transmission circuit 101, and the reception circuit 102 in FIG. 7 are the same as those shown in FIG.

次に、本実施形態におけるアクティブ診断回路200Dの動作について説明する。   Next, the operation of the active diagnostic circuit 200D in the present embodiment will be described.

角速度センサ207dは、物理量センサ自体の角速度を検出し、物理量センサ自体の角速度がゼロであれば、第2判定回路206dの出力をアクティブ診断許可モードにする。一方、物理量センサ自体の加速度がゼロでなければ、第2判定回路206dの出力をアクティブ診断禁止モードにする。   The angular velocity sensor 207d detects the angular velocity of the physical quantity sensor itself. If the angular velocity of the physical quantity sensor itself is zero, the output of the second determination circuit 206d is set to the active diagnosis permission mode. On the other hand, if the acceleration of the physical quantity sensor itself is not zero, the output of the second determination circuit 206d is set to the active diagnosis inhibition mode.

これに伴い、上位システムから受信回路102を介して第1判定回路201に通信コマンドが入力すると、まず第1判定回路201は予め第1判定回路201に記憶している通信コマンド群と照し合せて、通信コマンドが物理量センサの制御に関するコマンドか否かを判定する。次に、アクティブ診断制御用のコマンドであるか否かを判定する。次に、通信コマンドがアクティブ診断制御用のコマンドであった場合、第2判定回路206dの出力がアクティブ診断許可モードであれば、アクティブ診断実施回路203はアクティブ診断を実施する。   Accordingly, when a communication command is input from the host system to the first determination circuit 201 via the reception circuit 102, the first determination circuit 201 first compares the communication command group stored in the first determination circuit 201 in advance. Thus, it is determined whether or not the communication command is a command related to control of the physical quantity sensor. Next, it is determined whether or not the command is for active diagnosis control. Next, when the communication command is a command for active diagnosis control and the output of the second determination circuit 206d is in the active diagnosis permission mode, the active diagnosis execution circuit 203 executes active diagnosis.

なお、本実施形態において、角速度センサ207dは、物理量センサを複数の角速度センサ及び加速度センサが構成する場合、物理量センサを構成する角速度センサを用いることとしても良い。その場合、アクティブ診断対象の角速度センサを角速度センサ207dとして用いてはならない。   In the present embodiment, the angular velocity sensor 207d may use an angular velocity sensor constituting the physical quantity sensor when the physical quantity sensor is constituted by a plurality of angular velocity sensors and acceleration sensors. In that case, the angular velocity sensor to be subjected to active diagnosis should not be used as the angular velocity sensor 207d.

以上説明した本実施形態によれば、第1に、物理量センサに生じる角速度がゼロの時にのみアクティブ診断を行うことにより、物理量センサを搭載する車両や航空機等の移動体に角速度が生じていない時にのみアクティブ診断を実施するため、診断用の変位をより正確に可動部1に印加することができ、高精度なアクティブ診断を実現することが可能となる。   According to the present embodiment described above, first, by performing an active diagnosis only when the angular velocity generated in the physical quantity sensor is zero, when the angular velocity is not generated in a moving body such as a vehicle or an aircraft equipped with the physical quantity sensor. Since only the active diagnosis is performed, the displacement for diagnosis can be applied to the movable part 1 more accurately, and the active diagnosis with high accuracy can be realized.

第2に、物理量センサ内の角速度センサを角速度センサ207dとして用いる場合、アクティブ診断制御は上位システムと角速度センサ207dを用いて行うため、双方が正常な場合にのみアクティブ診断が実施され、高信頼なアクティブ診断を実現することが可能となる。   Second, when the angular velocity sensor in the physical quantity sensor is used as the angular velocity sensor 207d, the active diagnosis control is performed using the host system and the angular velocity sensor 207d. Therefore, the active diagnosis is performed only when both are normal, and the high reliability. Active diagnosis can be realized.

第3に、通信コマンドの内容に基づいてアクティブ診断を制御することにより、アクティブ診断内容の多項目化も容易に可能となるため、回路の追加をせずに状況に応じた上位システムのアクティブ診断内容の変更を実現することが可能となる。例えば可動部1の駆動振動の制御を行う駆動制御回路と角速度検出回路等個別の回路毎に診断を行うことが可能となる。また、診断用の変位量を、通信コマンドを用いて変更することによって可動部1の感度診断を行うことが可能になり、可動部1の感度変化を用いた故障予測が可能となる。   Third, by controlling the active diagnosis based on the contents of the communication command, it is possible to easily make multiple items of the contents of the active diagnosis, so the active diagnosis of the host system according to the situation without adding a circuit It is possible to change the contents. For example, it is possible to perform diagnosis for each individual circuit such as a drive control circuit that controls drive vibration of the movable unit 1 and an angular velocity detection circuit. Further, it is possible to perform sensitivity diagnosis of the movable part 1 by changing the amount of displacement for diagnosis using a communication command, and it is possible to predict failure using the sensitivity change of the movable part 1.

第4に、通信コマンドの内容に基づいてアクティブ診断を高信頼に制御可能となることにより、アクティブ診断制御対象が複数になった際の個別のアクティブ診断制御も容易に実現することが可能となる。   Fourth, since active diagnosis can be controlled with high reliability based on the contents of communication commands, individual active diagnosis control when there are a plurality of active diagnosis control targets can be easily realized. .

次に、図8を用いて、本発明の第6の実施形態による物理量センサの構成及び動作について説明する。
図8は、本発明の第6の実施形態による物理量センサの構成を示すブロック図である。なお、図8において、図1及び図3と同一符号は、同一部分を示している。
Next, the configuration and operation of the physical quantity sensor according to the sixth embodiment of the present invention will be described with reference to FIG.
FIG. 8 is a block diagram showing a configuration of a physical quantity sensor according to the sixth embodiment of the present invention. In FIG. 8, the same reference numerals as those in FIGS. 1 and 3 denote the same parts.

本実施形態の物理量センサにおいて、アクティブ診断回路200Eは、図3の実施形態のアクティブ診断回路200Aにおける第2判定回路206の代わりに、物理量センサへの電源投入時からの経過時間に応じてアクティブ診断を実施するか否かを判定する第2判定回路206eを備える。第2判定回路206eには、時間計測器207eによって計測された物理量センサへの電源投入時からの経過時間が入力する。   In the physical quantity sensor of this embodiment, the active diagnosis circuit 200E performs active diagnosis according to the elapsed time from when the physical quantity sensor is turned on, instead of the second determination circuit 206 in the active diagnosis circuit 200A of the embodiment of FIG. Is provided with a second determination circuit 206e for determining whether or not to implement the above. The elapsed time from when the power is supplied to the physical quantity sensor measured by the time measuring device 207e is input to the second determination circuit 206e.

なお、図8における角速度検出回路100、伝送回路101、受信回路102の動作については、図1に示したものと同一の動作を行うものである。   The operations of the angular velocity detection circuit 100, the transmission circuit 101, and the reception circuit 102 in FIG. 8 are the same as those shown in FIG.

次に、本実施形態におけるアクティブ診断回路200Eの動作について説明する。   Next, the operation of the active diagnostic circuit 200E in the present embodiment will be described.

時間計測器207eは、物理量センサへ電源が投入された時からの経過時間を計測し、経過時間が所定の時間内であれば、第2判定回路206eの出力をアクティブ診断許可モードにする。一方、経過時間が所定の時間よりも長ければ、第2判定回路206eの出力をアクティブ診断禁止モードにする。   The time measuring device 207e measures the elapsed time from when the physical quantity sensor is turned on, and sets the output of the second determination circuit 206e to the active diagnosis permission mode if the elapsed time is within a predetermined time. On the other hand, if the elapsed time is longer than the predetermined time, the output of the second determination circuit 206e is set to the active diagnosis inhibition mode.

これに伴い、上位システムから受信回路102を介して第1判定回路201に通信コマンドが入力すると、まず第1判定回路201は予め第1判定回路201に記憶している通信コマンド群と照し合せて、通信コマンドが物理量センサの制御に関するコマンドか否かを判定する。次に、アクティブ診断制御用のコマンドであるか否かを判定する。次に、通信コマンドがアクティブ診断制御用のコマンドであった場合、第2判定回路206eの出力がアクティブ診断許可モードであれば、アクティブ診断実施回路203はアクティブ診断を実施する。   Accordingly, when a communication command is input from the host system to the first determination circuit 201 via the reception circuit 102, the first determination circuit 201 first compares the communication command group stored in the first determination circuit 201 in advance. Thus, it is determined whether or not the communication command is a command related to control of the physical quantity sensor. Next, it is determined whether or not the command is for active diagnosis control. Next, when the communication command is a command for active diagnosis control, if the output of the second determination circuit 206e is in the active diagnosis permission mode, the active diagnosis execution circuit 203 performs active diagnosis.

以上説明した本実施形態によれば、第1に、車載用物理量センサの場合、電源投入スイッチと車両のエンジン点火スイッチは通常兼用されているため、所定の経過時間の制限をエンジン点火時から走行開始までの経過時間に対して十分短く且つアクティブ診断を実施するのに十分長い時間に設定することにより、走行中の誤診断を防止することが可能となり、より高信頼なアクティブ診断を実現することが可能となる。   According to the present embodiment described above, first, in the case of an in-vehicle physical quantity sensor, the power-on switch and the engine ignition switch of the vehicle are normally used together, so that a predetermined elapsed time is limited from the time of engine ignition. By setting the time sufficiently short for the elapsed time to start and long enough to carry out active diagnosis, it is possible to prevent erroneous diagnosis while driving and to realize more reliable active diagnosis Is possible.

第2に、通信コマンドの内容に基づいてアクティブ診断を制御することにより、アクティブ診断内容の多項目化も容易に可能となるため、回路の追加をせずに状況に応じた上位システムのアクティブ診断内容の変更を実現することが可能となる。例えば可動部1の駆動振動の制御を行う駆動制御回路と角速度検出回路等個別の回路毎に診断を行うことが可能となる。また、診断用の変位量を、通信コマンドを用いて変更することによって可動部1の感度診断を行うことが可能になり、可動部1の感度変化を用いた故障予測が可能となる。   Second, by controlling the active diagnosis based on the contents of the communication command, it is possible to easily make multiple items of the contents of the active diagnosis. Therefore, the active diagnosis of the host system according to the situation without adding a circuit It is possible to change the contents. For example, it is possible to perform diagnosis for each individual circuit such as a drive control circuit that controls drive vibration of the movable unit 1 and an angular velocity detection circuit. Further, it is possible to perform a sensitivity diagnosis of the movable part 1 by changing the amount of displacement for diagnosis using a communication command, and it is possible to predict a failure using the sensitivity change of the movable part 1.

第3に、通信コマンドの内容に基づいてアクティブ診断を高信頼に制御可能となることにより、アクティブ診断制御対象が複数になった際の個別のアクティブ診断制御も容易に実現することが可能となる。   Third, since active diagnosis can be controlled with high reliability based on the contents of communication commands, individual active diagnosis control when there are a plurality of active diagnosis control targets can be easily realized. .

次に、図9を用いて、本発明の第7の実施形態による物理量センサの構成及び動作について説明する。
図9は、本発明の第7の実施形態による物理量センサの構成を示すブロック図である。なお、図9において、図1及び図3と同一符号は、同一部分を示している。
Next, the configuration and operation of the physical quantity sensor according to the seventh embodiment of the present invention will be described with reference to FIG.
FIG. 9 is a block diagram showing a configuration of a physical quantity sensor according to the seventh embodiment of the present invention. In FIG. 9, the same reference numerals as those in FIGS. 1 and 3 denote the same parts.

本実施形態の物理量センサにおいて、アクティブ診断回路200Fは、図3記載した第2の実施例におけるアクティブ診断回路200Aに対して、アクティブ診断実施回路203Fが、第2判定回路202の出力に応じて診断用変位量を角速度検出回路100に入力するか否かを切り替えるスイッチング手段211と、診断用変位量を一時的に記憶しておく記憶手段212とを備える点が異なる。   In the physical quantity sensor of this embodiment, the active diagnosis circuit 200F diagnoses the active diagnosis circuit 200F according to the output of the second determination circuit 202 with respect to the active diagnosis circuit 200A in the second example shown in FIG. The difference is that a switching means 211 for switching whether or not to input a displacement amount to the angular velocity detection circuit 100 and a storage means 212 for temporarily storing the displacement amount for diagnosis are provided.

なお、図9における角速度検出回路100、伝送回路101、受信回路102の動作については、図1に示したものと同一の動作を行うものである。また、第1判定回路201、第2判定回路202の動作については、図3に示したものと同一の動作を行うものである。   The operations of the angular velocity detection circuit 100, transmission circuit 101, and reception circuit 102 in FIG. 9 are the same as those shown in FIG. The operations of the first determination circuit 201 and the second determination circuit 202 are the same as those shown in FIG.

次に、本実施形態におけるアクティブ診断回路200Fの動作について説明する。   Next, the operation of the active diagnostic circuit 200F in the present embodiment will be described.

アクティブ診断回路200Fにおいて、上位システムから受信回路102を介して第1判定回路201に通信コマンドが入力すると、通信コマンドの内容とDIAG信号に基づいて第1判定回路201及び第2判定回路202がアクティブ診断を実施するか否かを判断し、判断結果がアクティブ診断を許可する結果であれば、通信コマンドをアクティブ診断実施回路203Fに入力する。   In the active diagnosis circuit 200F, when a communication command is input from the host system to the first determination circuit 201 via the reception circuit 102, the first determination circuit 201 and the second determination circuit 202 are activated based on the content of the communication command and the DIAG signal. It is determined whether or not diagnosis is to be performed. If the determination result is a result that permits active diagnosis, a communication command is input to the active diagnosis execution circuit 203F.

次に、アクティブ診断実施回路203Fに通信コマンドが入力した場合、スイッチング手段211は診断用の変位量を可動部1に印加するため、スイッチを切り替えて記憶手段212に記憶している診断用の変位量を後段の角速度検出回路100に入力する。また、アクティブ診断実施回路203に通信コマンドが入力していない状態においては、スイッチング手段211はゼロを角速度検出回路100に入力する。   Next, when a communication command is input to the active diagnosis execution circuit 203F, the switching means 211 applies a displacement amount for diagnosis to the movable portion 1, so that the displacement for diagnosis stored in the storage means 212 by switching the switch. The amount is input to the subsequent angular velocity detection circuit 100. When no communication command is input to the active diagnosis execution circuit 203, the switching unit 211 inputs zero to the angular velocity detection circuit 100.

以上説明した本実施形態によれば、第1に、記憶手段212に一時的に記憶している診断用の変位量を通信コマンド等を用いて変更することにより、アクティブ診断中の可動部1の変位量を変更することが可能となる。そのため、可動部1の感度変化を検知することが可能となり、より高性能なアクティブ診断を実現することが可能となる。   According to the present embodiment described above, first, by changing the amount of diagnostic displacement temporarily stored in the storage means 212 using a communication command or the like, the movable portion 1 during active diagnosis is changed. It becomes possible to change the amount of displacement. For this reason, it is possible to detect a change in sensitivity of the movable part 1, and it is possible to realize a higher-performance active diagnosis.

第2に、スイッチング手段211を設けてアクティブ診断を許可した場合にのみ記憶手段212にスイッチを切り替えることにより、通信コマンド等により記憶手段212に記憶している診断用の変位量を誤って変更しても、スイッチはゼロを角速度検出回路100に入力することになる。そのため、コリオリ変位及びコリオリサーボ量に影響はなく、より高信頼なアクティブ診断を実現することが可能となる。   Secondly, by switching the storage means 212 only when the switching means 211 is provided and active diagnosis is permitted, the displacement amount for diagnosis stored in the storage means 212 is erroneously changed by a communication command or the like. Even so, the switch inputs zero to the angular velocity detection circuit 100. Therefore, there is no influence on the Coriolis displacement and the Coriolis servo amount, and a more reliable active diagnosis can be realized.

第3に、通信コマンドの内容及びDIAG信号の信号レベルに基づいて、第1判定回路201及び第2判定回路206がアクティブ診断実施の許可を行うことにより、ノイズ干渉等による通信コマンドの変化や上位システム不良による通信コマンドの誤送信の際にも、誤診断をすることを抑制することができる。   Third, based on the content of the communication command and the signal level of the DIAG signal, the first determination circuit 201 and the second determination circuit 206 allow the active diagnosis to be performed, thereby changing the communication command due to noise interference or the like It is possible to suppress erroneous diagnosis even when a communication command is erroneously transmitted due to a system failure.

第4に、DIAG信号にパルス信号を用いた場合、第2判定回路206はDIAG信号の周波数に基づいてアクティブ診断許可に関する判定を行うことにより、DIAG信号経路の断線時にもアクティブ診断を禁止するため、高信頼なアクティブ診断を実現することが可能となる。   Fourth, when a pulse signal is used for the DIAG signal, the second determination circuit 206 prohibits the active diagnosis even when the DIAG signal path is disconnected by making a determination regarding the active diagnosis permission based on the frequency of the DIAG signal. It is possible to realize a highly reliable active diagnosis.

第5に、通信コマンドの内容に基づいてアクティブ診断を制御することにより、アクティブ診断内容の多項目化も容易に可能となるため、回路の追加をせずに状況に応じた上位システムのアクティブ診断内容の変更を実現することが可能となる。例えば可動部1の駆動振動の制御を行う駆動制御回路と角速度検出回路等個別の回路毎に診断を行うことが可能となる。また、診断用の変位量を、通信コマンドを用いて変更することによって可動部1の感度診断を行うことが可能になり、可動部1の感度変化を用いた故障予測が可能となる。   Fifth, since active diagnosis is controlled based on the contents of the communication command, it is possible to easily make multiple items of the contents of active diagnosis. Therefore, the active diagnosis of the host system according to the situation without adding a circuit It is possible to change the contents. For example, it is possible to perform diagnosis for each individual circuit such as a drive control circuit that controls drive vibration of the movable unit 1 and an angular velocity detection circuit. Further, it is possible to perform a sensitivity diagnosis of the movable part 1 by changing the amount of displacement for diagnosis using a communication command, and it is possible to predict a failure using the sensitivity change of the movable part 1.

第6に、通信コマンドの内容に基づいてアクティブ診断を高信頼に制御可能となることにより、アクティブ診断制御対象が複数になった際の個別のアクティブ診断制御も容易に実現することが可能となる。   Sixth, since active diagnosis can be controlled with high reliability based on the contents of the communication command, individual active diagnosis control when there are a plurality of active diagnosis control targets can be easily realized. .

次に、図10及び図11を用いて、本発明の第8の実施形態による物理量センサの構成及び動作について説明する。
図10は、本発明の第8の実施形態による物理量センサの構成を示すブロック図である。なお、図10において、図1,図3及び図9と同一符号は、同一部分を示している。図11は、本発明の第8の実施形態による物理量センサにおける伝送回路の通信フレームの構成図である。
Next, the configuration and operation of the physical quantity sensor according to the eighth embodiment of the present invention will be described with reference to FIGS.
FIG. 10 is a block diagram showing a configuration of a physical quantity sensor according to the eighth embodiment of the present invention. In FIG. 10, the same reference numerals as those in FIGS. 1, 3, and 9 denote the same parts. FIG. 11 is a configuration diagram of a communication frame of the transmission circuit in the physical quantity sensor according to the eighth embodiment of the present invention.

本実施形態の物理量センサの基本的な構成は、図9に示したものと同様である。   The basic configuration of the physical quantity sensor of this embodiment is the same as that shown in FIG.

さらに、本実施形態の物理量センサでは、伝送回路101Aは、監視情報追加回路301を備えている。監視情報追加回路301は、角速度検出回路100が検出する角速度情報及び監視回路300が出力する監視結果を伝送内容に加える。監視回路300は、可動部1の所定の変位周波数及び変位量を監視するものである。   Furthermore, in the physical quantity sensor of the present embodiment, the transmission circuit 101A includes a monitoring information addition circuit 301. The monitoring information addition circuit 301 adds the angular velocity information detected by the angular velocity detection circuit 100 and the monitoring result output by the monitoring circuit 300 to the transmission content. The monitoring circuit 300 monitors a predetermined displacement frequency and displacement amount of the movable part 1.

なお、図10における角速度検出回路100、受信回路102の動作については、図1に示したものと同一の動作を行うものである。また、アクティブ診断回路200Fの動作については、図9に示したものと同一の動作を行うものである。   The operations of the angular velocity detection circuit 100 and the reception circuit 102 in FIG. 10 are the same as those shown in FIG. The operation of the active diagnostic circuit 200F performs the same operation as that shown in FIG.

次に、本実施形態における伝送回路101Aの動作について説明する。   Next, the operation of the transmission circuit 101A in this embodiment will be described.

監視回路300は、駆動振幅等の可動部1の制御量及び可動部1の変位を監視し、監視結果を伝送回路101Aに設けられた監視情報追加回路301に入力する。また、角速度検出回路100がサーボ制御を行っている状態において、コリオリサーボ量を監視情報追加回路301に入力する。   The monitoring circuit 300 monitors the control amount of the movable part 1 such as the drive amplitude and the displacement of the movable part 1, and inputs the monitoring result to the monitoring information adding circuit 301 provided in the transmission circuit 101A. Further, the Coriolis servo amount is input to the monitoring information adding circuit 301 while the angular velocity detection circuit 100 is performing servo control.

次に、監視情報追加回路301は、コリオリサーボ量(物理量情報)及び入力した監視結果(監視情報)を、図11に示すような所定のフレームに格納し、上位システムに伝送する。   Next, the monitoring information adding circuit 301 stores the Coriolis servo amount (physical amount information) and the input monitoring result (monitoring information) in a predetermined frame as shown in FIG.

以上説明した本実施形態によれば、第1に、角速度検出回路100により検出した角速度情報と、可動部1及び角速度検出回路100の監視結果を所定のフレームに格納して上位システムに伝送することにより、上位システムは物理量センサの故障をリアルタイムに検出することが可能となり、物理量センサによる高信頼な角速度検出を実現することが可能となる。   According to the present embodiment described above, first, the angular velocity information detected by the angular velocity detection circuit 100 and the monitoring results of the movable unit 1 and the angular velocity detection circuit 100 are stored in a predetermined frame and transmitted to the host system. Thus, the host system can detect a failure of the physical quantity sensor in real time, and can realize highly reliable angular velocity detection by the physical quantity sensor.

第2に、角速度検出回路100により検出した角速度情報と、可動部1及び角速度検出回路100の監視結果を所定のフレームに格納して上位システムに伝送することにより、物理量センサの外部端子の数を変更すること無く、物理量センサの監視情報を上位システムに伝送することが可能となり、物理量センサによる高信頼な角速度検出を最小限のコストで実現することが可能となる。   Secondly, the angular velocity information detected by the angular velocity detection circuit 100 and the monitoring results of the movable part 1 and the angular velocity detection circuit 100 are stored in a predetermined frame and transmitted to the host system, thereby reducing the number of external terminals of the physical quantity sensor. Without change, it becomes possible to transmit the monitoring information of the physical quantity sensor to the host system, and it is possible to realize highly reliable angular velocity detection by the physical quantity sensor at a minimum cost.

第3に、角速度検出回路100により検出した角速度情報と、可動部1及び角速度検出回路100の監視結果を所定のフレームに格納して上位システムに伝送することにより、物理量センサに故障が生じる前後での角速度情報を上位システムが判別可能となり、高精度な角速度検出を実現することが可能となる。   Thirdly, the angular velocity information detected by the angular velocity detection circuit 100 and the monitoring results of the movable part 1 and the angular velocity detection circuit 100 are stored in a predetermined frame and transmitted to the host system, so that the physical quantity sensor is before and after a failure occurs. Therefore, the host system can discriminate the angular velocity information, and it is possible to realize highly accurate angular velocity detection.

さらに、本実施形態においても、図8に示した第7の実施形態と同様の効果が得られる。   Further, in this embodiment, the same effect as that of the seventh embodiment shown in FIG. 8 can be obtained.

次に、図12及び図13を用いて、本発明の第9の実施形態による物理量センサの構成及び動作について説明する。
図12は、本発明の第9の実施形態による物理量センサの構成を示すブロック図である。なお、図12において、図1,図3及び図9と同一符号は、同一部分を示している。図13は、本発明の第9の実施形態による物理量センサにおける伝送回路の通信フレームの構成図である。
Next, the configuration and operation of the physical quantity sensor according to the ninth embodiment of the present invention will be described with reference to FIGS.
FIG. 12 is a block diagram showing a configuration of a physical quantity sensor according to the ninth embodiment of the present invention. In FIG. 12, the same reference numerals as those in FIGS. 1, 3, and 9 denote the same parts. FIG. 13 is a configuration diagram of a communication frame of the transmission circuit in the physical quantity sensor according to the ninth embodiment of the present invention.

本実施形態の物理量センサの基本的な構成は、図9に示したものと同様である。   The basic configuration of the physical quantity sensor of this embodiment is the same as that shown in FIG.

さらに、本実施形態の物理量センサでは、伝送回路101Bは、監視情報追加回路301と、処理回路302による信号処理結果と角速度検出回路100が検出した角速度とを伝送内容に加える処理結果追加回路303とを備えている。   Furthermore, in the physical quantity sensor of this embodiment, the transmission circuit 101B includes a monitoring information addition circuit 301, a processing result addition circuit 303 that adds the signal processing result by the processing circuit 302 and the angular velocity detected by the angular velocity detection circuit 100 to the transmission content. It has.

監視情報追加回路301は、角速度検出回路100が検出する角速度情報及び監視回路300が出力する監視結果を伝送内容に加える。監視回路300は、可動部1の所定の変位周波数及び変位量を監視するものである。   The monitoring information addition circuit 301 adds the angular velocity information detected by the angular velocity detection circuit 100 and the monitoring result output by the monitoring circuit 300 to the transmission content. The monitoring circuit 300 monitors a predetermined displacement frequency and displacement amount of the movable part 1.

処理回路302は、受信回路102によって受信した通信コマンドに応じた信号処理を行う。例えば、角速度検出回路100の内部のRAMの所定のアドレスには、角速度の最終値や、最終値の一つ前の角速度値が記憶されている。そこで、処理回路302が受信した通信コマンドが、最終値の一つ前の角速度値を読み出す通信コマンドであった場合には、RAMの所定のアドレスから最終値の一つ前の角速度値を読み出して、信号処理結果として、処理結果追加回路303に出力する。処理結果追加回路303は、処理回路302による信号処理結果と角速度検出回路100が検出した角速度とを伝送内容に加える。   The processing circuit 302 performs signal processing according to the communication command received by the receiving circuit 102. For example, the final value of the angular velocity and the angular velocity value immediately before the final value are stored at a predetermined address in the RAM inside the angular velocity detection circuit 100. Therefore, when the communication command received by the processing circuit 302 is a communication command for reading the angular velocity value immediately before the final value, the angular velocity value immediately before the final value is read from a predetermined address in the RAM. The result is output to the processing result adding circuit 303 as a signal processing result. The processing result addition circuit 303 adds the signal processing result by the processing circuit 302 and the angular velocity detected by the angular velocity detection circuit 100 to the transmission content.

なお、図12における角速度検出回路100、受信回路102の動作については、図1に示したものと同一の動作を行うものである。また、アクティブ診断回路200Fの動作については、図9に示したものと同一の動作を行うものである。   The operations of the angular velocity detection circuit 100 and the reception circuit 102 in FIG. 12 are the same as those shown in FIG. The operation of the active diagnostic circuit 200F performs the same operation as that shown in FIG.

次に、本実施形態における伝送回路101Bの動作について説明する。   Next, the operation of the transmission circuit 101B in this embodiment will be described.

処理回路302は、受信回路102によって受信した通信コマンドに応じた信号処理がにより行わう。処理回路302の出力及び角速度検出回路100が検出した角速度情報は、処理結果追加回路303に入力する。処理結果追加回路303は、コリオリサーボ量(物理量情報)と、入力した監視結果(監視情報)と、処理回路302による信号処理結果を、図13に示すような所定のフレームに格納し、上位システムに伝送する。   The processing circuit 302 performs signal processing according to the communication command received by the receiving circuit 102. The output of the processing circuit 302 and the angular velocity information detected by the angular velocity detection circuit 100 are input to the processing result adding circuit 303. The processing result adding circuit 303 stores the Coriolis servo amount (physical quantity information), the input monitoring result (monitoring information), and the signal processing result by the processing circuit 302 in a predetermined frame as shown in FIG. Transmit to.

以上説明した本実施形態によれば、第1に、角速度検出回路100により検出した角速度情報と、コマンドに応じた信号処理結果を所定のフレームに格納して上位システムに伝送することにより、物理量センサの外部端子の数を変更すること無く、コマンドに応じた信号処理結果を上位システムに伝送することが可能となる。   According to the embodiment described above, first, the physical quantity sensor is obtained by storing the angular velocity information detected by the angular velocity detection circuit 100 and the signal processing result corresponding to the command in a predetermined frame and transmitting them to the host system. The signal processing result corresponding to the command can be transmitted to the host system without changing the number of external terminals.

さらに、本実施形態においても、図8に示した第7の実施形態と同様の効果が得られる。   Further, in this embodiment, the same effect as that of the seventh embodiment shown in FIG. 8 can be obtained.

次に、図14及び図15を用いて、本発明の第10の実施形態による物理量センサの構成及び動作について説明する。
図14は、本発明の第10の実施形態による物理量センサの構成を示すブロック図である。なお、図14において、図1,図3及び図9と同一符号は、同一部分を示している。図15は、本発明の第10の実施形態による物理量センサにおける伝送回路の通信フレームの構成図である。
Next, the configuration and operation of the physical quantity sensor according to the tenth embodiment of the present invention will be described with reference to FIGS.
FIG. 14 is a block diagram showing a configuration of a physical quantity sensor according to the tenth embodiment of the present invention. In FIG. 14, the same reference numerals as those in FIGS. 1, 3, and 9 denote the same parts. FIG. 15 is a configuration diagram of a communication frame of a transmission circuit in the physical quantity sensor according to the tenth embodiment of the present invention.

本実施形態の物理量センサの基本的な構成は、図9に示したものと同様である。   The basic configuration of the physical quantity sensor of this embodiment is the same as that shown in FIG.

さらに、本実施形態の物理量センサでは、伝送回路101Cは、図11に示した伝送回路101Bの構成に加えて、伝送内容に対する誤り検出信号を生成する誤り検出信号生成回路304と、誤り検出信号を伝送内容に加える誤り検出情報追加回路305とを備えている。   Furthermore, in the physical quantity sensor according to the present embodiment, the transmission circuit 101C includes an error detection signal generation circuit 304 that generates an error detection signal for transmission contents, and an error detection signal in addition to the configuration of the transmission circuit 101B illustrated in FIG. An error detection information adding circuit 305 for adding to the transmission contents is provided.

なお、図14における角速度検出回路100、受信回路102の動作については、図1に示したものと同一の動作を行うものである。また、アクティブ診断回路200Fの動作については、図9に示したものと同一の動作を行うものである。   Note that the operations of the angular velocity detection circuit 100 and the reception circuit 102 in FIG. 14 are the same as those shown in FIG. The operation of the active diagnostic circuit 200F performs the same operation as that shown in FIG.

次に、本実施形態における伝送回路101Cの動作について説明する。   Next, the operation of the transmission circuit 101C in this embodiment will be described.

伝送回路101Cにおいて、誤り検出情報生成回路304は、伝送内容に対し誤り検出情報を生成し、誤り検出情報追加回路305に入力する。次に、誤り検出情報追加回路305は、コリオリサーボ量(物理量情報)と、入力した監視結果(監視情報)と、処理回路302による信号処理結果とともに、誤り検出情報を、図15に示すような所定のフレームに格納し、上位システムに伝送する。   In the transmission circuit 101C, the error detection information generation circuit 304 generates error detection information for the transmission contents and inputs the error detection information to the error detection information addition circuit 305. Next, the error detection information adding circuit 305 generates error detection information as shown in FIG. 15 together with the Coriolis servo amount (physical quantity information), the input monitoring result (monitoring information), and the signal processing result by the processing circuit 302. It is stored in a predetermined frame and transmitted to the host system.

以上説明した本実施形態によれば、第1に、伝送内容に対して誤り検出情報を生成することにより、上位システムに伝送する角速度情報がノイズ等の影響を受けて変化した際に、上位システムが角速度情報の不正を検出することが可能となり、高精度な角速度検出を実現することが可能となる。   According to the embodiment described above, first, when the angular velocity information transmitted to the host system changes due to the influence of noise or the like by generating error detection information for the transmission content, the host system However, it is possible to detect fraud in angular velocity information, and it is possible to realize highly accurate angular velocity detection.

なお、伝送内容に常時診断結果やコマンドに応じた信号処理結果が含まれている場合も、各々の伝送内容に対して誤り検出情報を生成することにより、上位システムに伝送する情報がノイズ等の影響を受けて変化した際に、上位システムが伝送内容の不正を検出することが可能となり、高信頼な情報の伝達を実現することが可能となる。   Even if the transmission contents always contain diagnosis results and signal processing results according to commands, by generating error detection information for each transmission content, the information transmitted to the host system can be When changed under the influence, it becomes possible for the host system to detect the fraud of the transmission contents, and to realize highly reliable transmission of information.

さらに、本実施形態においても、図8に示した第7の実施形態と同様の効果が得られる。   Further, in this embodiment, the same effect as that of the seventh embodiment shown in FIG. 8 can be obtained.

次に、図16及び図17を用いて、本発明の第11の実施形態による物理量センサの構成及び動作について説明する。
図16は、本発明の第11の実施形態による物理量センサの構成を示すブロック図である。なお、図16において、図1,図3及び図9と同一符号は、同一部分を示している。図17は、本発明の第11の実施形態による物理量センサにおける伝送回路の通信フレームの構成図である。
Next, the configuration and operation of the physical quantity sensor according to the eleventh embodiment of the present invention will be described with reference to FIGS.
FIG. 16 is a block diagram showing a configuration of a physical quantity sensor according to the eleventh embodiment of the present invention. In FIG. 16, the same reference numerals as those in FIGS. 1, 3, and 9 denote the same parts. FIG. 17 is a configuration diagram of a communication frame of the transmission circuit in the physical quantity sensor according to the eleventh embodiment of the present invention.

本実施形態の物理量センサの基本的な構成は、図9に示したものと同様である。   The basic configuration of the physical quantity sensor of this embodiment is the same as that shown in FIG.

さらに、本実施形態の物理量センサでは、伝送回路101Dは、図14に示した伝送回路101Cの構成において、処理結果追加回路303の代わりに、処理回路302によって出力した信号処理結果を所定のコマンド受信回数分遅延させて伝送内容に追加する処理結果遅延追加回路303Dを備えている。   Further, in the physical quantity sensor according to the present embodiment, the transmission circuit 101D receives the signal processing result output by the processing circuit 302 instead of the processing result addition circuit 303 in the configuration of the transmission circuit 101C illustrated in FIG. A processing result delay adding circuit 303 </ b> D that adds the transmission contents after being delayed by the number of times is provided.

なお、図16における角速度検出回路100、受信回路102の動作については、図1に示したものと同一の動作を行うものである。また、アクティブ診断回路200Fの動作については、図9に示したものと同一の動作を行うものである。   The operations of the angular velocity detection circuit 100 and the reception circuit 102 in FIG. 16 are the same as those shown in FIG. The operation of the active diagnostic circuit 200F performs the same operation as that shown in FIG.

次に、本実施形態における伝送回路101Dの動作について説明する。   Next, the operation of the transmission circuit 101D in this embodiment will be described.

処理回路302は、受信回路102により受信したコマンドに応じた信号処理を行う。処理結果追加回路306には、処理回路302の出力及び角速度検出回路100が検出した角速度情報が入力する。処理結果追加回路306は、入力した角速度情報と、所定のコマンド受信回数分前に受信したコマンドに応じた信号処理結果を、図17のDOUTに示すような所定のフレームに格納し上位システムに伝送する。その結果、通信コマンドに対する信号処理結果は、図17に示すように、所定のコマンド受信回数分だけ遅延して上位システムに伝送される。   The processing circuit 302 performs signal processing according to the command received by the receiving circuit 102. The processing result addition circuit 306 receives the output of the processing circuit 302 and the angular velocity information detected by the angular velocity detection circuit 100. The processing result adding circuit 306 stores the input angular velocity information and the signal processing result corresponding to the command received a predetermined number of times before reception in a predetermined frame as shown by DOUT in FIG. To do. As a result, as shown in FIG. 17, the signal processing result for the communication command is transmitted to the host system with a delay of a predetermined command reception count.

なお、上述のような遅延処理を行わない場合は、図17のDOUT’に示すような通信フレームとなる。処理回路302が実行する処理内容によっては、処理結果がでるまで所定の時間がかかる場合がある。すなわち、処理コマンドに応じて処理を開始してから、実際に処理結果が得られるまで、所定の時間遅れがある。そのため、図17のDOUT’に示すように、処理コマンドCMD1に対応して、その信号処理結果を出力しようとすると、図示するような待機時間が必要となる。   If the delay processing as described above is not performed, the communication frame is as shown by DOUT ′ in FIG. Depending on the processing contents executed by the processing circuit 302, it may take a predetermined time until a processing result is obtained. That is, there is a predetermined time delay from the start of processing according to the processing command until the actual processing result is obtained. Therefore, as shown by DOUT ′ in FIG. 17, when trying to output the signal processing result in response to the processing command CMD1, a waiting time as shown in the figure is required.

それに対して、以上説明した本実施形態によれば、第1に、通信コマンドに応じた信号処理結果を所定のコマンド受信回数分遅らせて上位システムに伝送することにより、コマンド受信時から信号処理結果を上位システムに伝送するまでの待機時間を短縮することが可能となり、高速な伝送を行うことが可能となる。   On the other hand, according to the present embodiment described above, first, the signal processing result corresponding to the communication command is delayed by a predetermined number of times of command reception and transmitted to the host system, so that the signal processing result from the time of command reception. It is possible to shorten the waiting time until the data is transmitted to the host system, and to perform high-speed transmission.

さらに、本実施形態においても、図10に示した第9の実施形態と同様の効果が得られる。   Furthermore, in this embodiment, the same effect as that of the ninth embodiment shown in FIG. 10 can be obtained.

次に、図18及び図19を用いて、本発明の第12の実施形態による物理量センサの構成及び動作について説明する。
図18は、本発明の第12の実施形態による物理量センサの構成を示すブロック図である。なお、図18において、図1,図3及び図9と同一符号は、同一部分を示している。図19は、本発明の第12の実施形態による物理量センサにおける伝送回路の通信フレームの構成図である。
Next, the configuration and operation of the physical quantity sensor according to the twelfth embodiment of the present invention will be described with reference to FIGS.
FIG. 18 is a block diagram showing a configuration of a physical quantity sensor according to the twelfth embodiment of the present invention. In FIG. 18, the same reference numerals as those in FIGS. 1, 3, and 9 denote the same parts. FIG. 19 is a configuration diagram of a communication frame of the transmission circuit in the physical quantity sensor according to the twelfth embodiment of the present invention.

本実施形態の物理量センサの基本的な構成は、図9に示したものと同様である。   The basic configuration of the physical quantity sensor of this embodiment is the same as that shown in FIG.

さらに、本実施形態の物理量センサでは、伝送回路101Eは、図9に示した伝送回路101において、アクティブ診断の完了を表す情報を伝送内容に追加する診断状況追加回路307を備えている。   Furthermore, in the physical quantity sensor according to the present embodiment, the transmission circuit 101E includes a diagnosis status addition circuit 307 that adds information indicating completion of active diagnosis to the transmission content in the transmission circuit 101 illustrated in FIG.

なお、図18における角速度検出回路100、受信回路102の動作については、図1に示したものと同一の動作を行うものである。また、アクティブ診断回路200Fの動作については、図9に示したものと同一の動作を行うものである。   The operations of the angular velocity detection circuit 100 and the reception circuit 102 in FIG. 18 are the same as those shown in FIG. The operation of the active diagnostic circuit 200F performs the same operation as that shown in FIG.

次に、本実施形態における伝送回路101Eの動作について説明する。   Next, the operation of the transmission circuit 101E in this embodiment will be described.

診断状況追加回路307には、第2判定回路206の出力を入力する。診断状況追加回路307は、第2判定回路206の出力がアクティブ診断許可モードからアクティブ診断禁止モードに切り替わった際に、アクティブ診断が完了したことを表す情報を伝送内容に追加する。   The diagnosis status addition circuit 307 receives the output of the second determination circuit 206. The diagnosis status addition circuit 307 adds information indicating that the active diagnosis is completed to the transmission contents when the output of the second determination circuit 206 is switched from the active diagnosis permission mode to the active diagnosis prohibition mode.

なお、アクティブ診断が完了したことを表す情報は、物理量情報と同じタイミングで上位システムに伝送されるのであれば、伝送内容のどこに追加しても良い。具体的には通信物理量情報の下位ビットに付加しても良いし、図10の実施形態における監視結果に付加しても良い。   Note that the information indicating that the active diagnosis has been completed may be added anywhere in the transmission content as long as it is transmitted to the host system at the same timing as the physical quantity information. Specifically, it may be added to the lower bits of the communication physical quantity information, or may be added to the monitoring result in the embodiment of FIG.

以上説明した本実施形態によれば、第1に、アクティブ診断が完了した際に、伝送内容にアクティブ診断完了を表す信号を追加することにより、上位システムに伝送した角速度情報がアクティブ診断中のものであるか否かを判別可能にするので、より高精度なアクティブ診断を実現することを可能とする。   According to the present embodiment described above, first, when the active diagnosis is completed, the signal indicating the completion of the active diagnosis is added to the transmission content, so that the angular velocity information transmitted to the host system is under active diagnosis. Therefore, it is possible to realize active diagnosis with higher accuracy.

さらに、本実施形態においても、図8に示した第7の実施形態と同様の効果が得られる。   Further, in this embodiment, the same effect as that of the seventh embodiment shown in FIG. 8 can be obtained.

次に、図20を用いて、本発明の第13の実施形態による物理量センサの構成及び動作について説明する。
図20は、本発明の第13の実施形態による物理量センサの構成を示すブロック図である。なお、図20において、図1,図3及び図10と同一符号は、同一部分を示している。
Next, the configuration and operation of the physical quantity sensor according to the thirteenth embodiment of the present invention will be described with reference to FIG.
FIG. 20 is a block diagram showing a configuration of a physical quantity sensor according to the thirteenth embodiment of the present invention. 20, the same reference numerals as those in FIGS. 1, 3, and 10 denote the same parts.

本実施形態の物理量センサは、駆動制御回路103と、伝送回路101Aと、受信回路102と、アクティブ診断回路200Fと、監視回路300Aとを備えている。駆動制御回路103は、角速度を検出するための駆動振動を行う可動部1を含んでいる。駆動制御回路103は、角速度を検出するために、可動部1を、検出軸(図中のY軸)に対して垂直方向(駆動軸方向:図中のX軸方向)に所定周波数及び所定振幅で駆動振動させる。   The physical quantity sensor of this embodiment includes a drive control circuit 103, a transmission circuit 101A, a reception circuit 102, an active diagnostic circuit 200F, and a monitoring circuit 300A. The drive control circuit 103 includes a movable unit 1 that performs drive vibration for detecting angular velocity. In order to detect the angular velocity, the drive control circuit 103 moves the movable unit 1 at a predetermined frequency and a predetermined amplitude in a direction perpendicular to the detection axis (Y axis in the figure) (drive axis direction: X axis direction in the figure). Drive vibration with.

伝送回路101Aは、物理量センサによって検出した角速度情報を上位システムに伝送する。受信回路102は、ECU等の上位システムからの通信コマンドを受信する。アクティブ診断回路200は、受信回路102が受信した通信コマンドに基づいてアクティブ診断を実施する。監視回路300Aは、物理量センサの状態を監視する。   The transmission circuit 101A transmits angular velocity information detected by the physical quantity sensor to the host system. The receiving circuit 102 receives a communication command from a host system such as an ECU. The active diagnosis circuit 200 performs active diagnosis based on the communication command received by the receiving circuit 102. The monitoring circuit 300A monitors the state of the physical quantity sensor.

駆動制御回路103の可動部1は、外部からの角速度に応じて変位を生じる。可動部1には、可動部1の駆動軸方向に対し平行に固定された可動電極と、この可動電極に対向して配置された固定電極とから構成される駆動モニタ電極14が備えられている。また、可動部1には、可動部1の駆動軸方向に対し平行に固定された可動電極と、この可動電極に対向して配置され、駆動電圧が印加される固定電極とから構成される駆動電極22が備えられている。   The movable portion 1 of the drive control circuit 103 is displaced according to the angular velocity from the outside. The movable part 1 is provided with a drive monitor electrode 14 composed of a movable electrode fixed in parallel to the drive axis direction of the movable part 1 and a fixed electrode disposed opposite to the movable electrode. . The movable unit 1 includes a movable electrode fixed in parallel to the drive axis direction of the movable unit 1 and a fixed electrode disposed opposite to the movable electrode and applied with a drive voltage. An electrode 22 is provided.

CV変換器14は、駆動モニタ電極14の容量変化を電圧信号に変換する。AD変換器15は、CV変換器14から出力された電圧信号をデジタル信号に変換する。   The CV converter 14 converts the capacitance change of the drive monitor electrode 14 into a voltage signal. The AD converter 15 converts the voltage signal output from the CV converter 14 into a digital signal.

同期検波回路17と積分器18と発振器(OSC)19とにより、周波数制御回路(AFC)が構成される。周波数制御回路(AFC)は、デジタル信号から可動部1の変位を検出しこの変位周波数を所定の周波数に維持する様な制御を行う。また、同期検波回路23と積分器2419とにより、振幅制御回路(AGC)が構成される。振幅制御回路(AGC)は、変位振幅を所定の振幅に維持するように制御する。   The synchronous detection circuit 17, the integrator 18 and the oscillator (OSC) 19 constitute a frequency control circuit (AFC). The frequency control circuit (AFC) detects the displacement of the movable part 1 from the digital signal and performs control to maintain the displacement frequency at a predetermined frequency. The synchronous detection circuit 23 and the integrator 2419 constitute an amplitude control circuit (AGC). The amplitude control circuit (AGC) performs control so that the displacement amplitude is maintained at a predetermined amplitude.

変調器20は、周波数制御回路(AFC)及び振幅制御回路(AGC)の出力に基づいて駆動信号を生成する。DA変換器21は、変調器20から出力された駆動信号を駆動電圧に再変換し、駆動電極22に印加する。   The modulator 20 generates a drive signal based on the outputs of the frequency control circuit (AFC) and the amplitude control circuit (AGC). The DA converter 21 reconverts the drive signal output from the modulator 20 into a drive voltage and applies it to the drive electrode 22.

ここで、周波数制御回路(AFC)の同期検波回路17は、AD変換器16から出力されたデジタル信号を可動部1の駆動振動と同じ位相Φ5の検波信号(Φ5)により同期検波する。積分器18は、同期検波回路17の出力を積分する。発振器(OSC)19は、積分器18の出力に応じた周波数を生成する。   Here, the synchronous detection circuit 17 of the frequency control circuit (AFC) synchronously detects the digital signal output from the AD converter 16 using the detection signal (Φ5) having the same phase Φ5 as the drive vibration of the movable unit 1. The integrator 18 integrates the output of the synchronous detection circuit 17. An oscillator (OSC) 19 generates a frequency according to the output of the integrator 18.

また、振幅制御回路(AGC)の同期検波回路23は、AD変換器16から出力されたデジタル信号を可動部1の駆動振動に対し90°遅れた位相Φ6を持つ検波信号(Φ6)により同期検波する。積分器24は、同期検波回路23の出力を積分する。   The synchronous detection circuit 23 of the amplitude control circuit (AGC) synchronously detects the digital signal output from the AD converter 16 by a detection signal (Φ6) having a phase Φ6 delayed by 90 ° with respect to the drive vibration of the movable unit 1. To do. The integrator 24 integrates the output of the synchronous detection circuit 23.

次に、アクティブ診断回路200Fは、図9と同様に、第1判定回路201と、第2判定回路202と、アクティブ診断実施回路203とから構成される。アクティブ診断実施回路203の出力である診断用の変位は、加算器213,214により、積分器18,24の出力に加算される。   Next, the active diagnosis circuit 200F includes a first determination circuit 201, a second determination circuit 202, and an active diagnosis execution circuit 203, as in FIG. The diagnostic displacement output from the active diagnosis execution circuit 203 is added to the outputs from the integrators 18 and 24 by the adders 213 and 214.

監視回路300Aは、周波数監視手段308と、指示量監視手段309と、変位監視手段310とを備えている。周波数監視手段308は、可動部1の駆動周波数を監視し、駆動周波数が所定の範囲を逸脱した際に駆動周波数の異常状態を表す信号を出力する。指示量監視手段309は、可動部1の駆動振幅指示量を監視し、駆動振幅指示量が所定の範囲を逸脱した際に駆動振幅指示量の異常状態を表す信号を出力する。変位監視手段310は、可動部1の駆動変位を監視し、駆動変位が所定の範囲を逸脱した際に駆動変位の異常状態を表す信号を出力する。   The monitoring circuit 300A includes a frequency monitoring unit 308, an instruction amount monitoring unit 309, and a displacement monitoring unit 310. The frequency monitoring unit 308 monitors the driving frequency of the movable unit 1 and outputs a signal indicating an abnormal state of the driving frequency when the driving frequency deviates from a predetermined range. The instruction amount monitoring unit 309 monitors the drive amplitude instruction amount of the movable unit 1 and outputs a signal indicating an abnormal state of the drive amplitude instruction amount when the drive amplitude instruction amount deviates from a predetermined range. The displacement monitoring unit 310 monitors the driving displacement of the movable unit 1 and outputs a signal indicating an abnormal state of the driving displacement when the driving displacement deviates from a predetermined range.

次に、本実施形態における物理量センサの動作について説明する。   Next, the operation of the physical quantity sensor in the present embodiment will be described.

角速度検出回路103は、可動部1に角速度を検出するための駆動振動を発生する駆動力により可動部1が変位すると、可動部1の駆動変位に応じて駆動モニタ電極14の静電容量が変化し、この駆動周波数及び駆動振幅を所定の範囲に維持するための駆動電圧を生成する。そして、この駆動電圧が、駆動電極22により可動部1に印加することでサーボ制御を行っている。   The angular velocity detection circuit 103 changes the capacitance of the drive monitor electrode 14 in accordance with the driving displacement of the movable portion 1 when the movable portion 1 is displaced by a driving force that generates driving vibration for detecting the angular velocity in the movable portion 1. Then, a drive voltage for maintaining the drive frequency and the drive amplitude in a predetermined range is generated. The drive voltage is applied to the movable part 1 by the drive electrode 22 to perform servo control.

周波数制御回路(AFC)では、AD変換器16から出力されたデジタル信号を検波信号Φ5を用いて同期検波回路17により同期検波を行い駆動振動による可動部1の駆動周波数を検出する。積分器18は、この駆動周波数を積分演算することで、駆動周波数の変動を打ち消す駆動周波数調整量を求める。OSC19は、積分器18の出力に応じた周波数信号を出力し、駆動周波数と同じ周波数を有するパルス信号を生成する。   In the frequency control circuit (AFC), the digital signal output from the AD converter 16 is synchronously detected by the synchronous detection circuit 17 using the detection signal Φ5, and the drive frequency of the movable part 1 due to drive vibration is detected. The integrator 18 integrates the drive frequency to obtain a drive frequency adjustment amount that cancels the fluctuation of the drive frequency. The OSC 19 outputs a frequency signal corresponding to the output of the integrator 18 and generates a pulse signal having the same frequency as the drive frequency.

振幅制御回路(AGC)では、AD変換器16から出力されたデジタル信号をΦ6を用いて同期検波回路23により同期検波を行い駆動振動による可動部1の駆動変位を検出する。積分器24は、この駆動変位を積分演算することで駆動振幅の変動を打ち消す駆動振幅調整量を求める。   In the amplitude control circuit (AGC), the digital signal output from the AD converter 16 is synchronously detected by the synchronous detection circuit 23 using Φ6, and the drive displacement of the movable part 1 due to the drive vibration is detected. The integrator 24 integrates the drive displacement to obtain a drive amplitude adjustment amount that cancels the drive amplitude fluctuation.

なお、変調器20は、周波数制御回路(AFC)及び振幅制御回路(AGC)により生成されたパルス信号と駆動振幅調整量を変調することにより、駆動信号を生成している。   The modulator 20 generates a drive signal by modulating the pulse signal generated by the frequency control circuit (AFC) and the amplitude control circuit (AGC) and the drive amplitude adjustment amount.

次に、アクティブ診断回路200Fにおいて、第1判定回路201と第2判定回路202は、受信回路102により受信した通信コマンドを用いてアクティブ診断を実施するか否かを判断する。第1判定回路及び第2判定回路の出力がアクティブ診断許可を示す出力である場合には、アクティブ診断実施回路203が、診断用の変位量を駆動制御回路103に出力する。   Next, in the active diagnosis circuit 200F, the first determination circuit 201 and the second determination circuit 202 determine whether to perform active diagnosis using the communication command received by the reception circuit 102. When the outputs of the first determination circuit and the second determination circuit are outputs indicating that the active diagnosis is permitted, the active diagnosis execution circuit 203 outputs a displacement amount for diagnosis to the drive control circuit 103.

なお、駆動制御回路103に入力された診断用の変位量は、加算器215を用いて積分器18の出力に加算し、OSC19を用いてパルス信号に変換して可動部1に印加する。この診断用の変位は、駆動周波数の変化分として同期検波回路17により検出する。また、診断用の変位は、診断用の変位をゼロにするための駆動周波数調整量の変化分として積分器18により出力する。   The diagnostic displacement input to the drive control circuit 103 is added to the output of the integrator 18 using the adder 215, converted into a pulse signal using the OSC 19, and applied to the movable unit 1. This diagnostic displacement is detected by the synchronous detection circuit 17 as a change in the drive frequency. Further, the displacement for diagnosis is output by the integrator 18 as a change amount of the drive frequency adjustment amount for making the displacement for diagnosis zero.

なお、診断用の変位量が加算器216を用いて積分器24の出力に加算された場合は、駆動変位の変化分として同期検波回路23により検出する。また、診断用の変位は診断用の変位をゼロにするための駆動振幅調整量の変化分として積分器24により出力する。   When the displacement amount for diagnosis is added to the output of the integrator 24 using the adder 216, the change is detected by the synchronous detection circuit 23 as a change in the drive displacement. The diagnostic displacement is output by the integrator 24 as a change amount of the drive amplitude adjustment amount for making the diagnostic displacement zero.

次に、監視手段300Aにおいて、周波数監視回路308は、積分器18の出力が所定の範囲内にあるか否かを監視し、積分器18の出力が所定の範囲内にない場合に駆動周波数の異常を表す信号を伝送回路101に出力する。また、指示量監視回路309は、積分器24の出力が所定の範囲内にあるか否かを監視し、積分器24の出力が所定の範囲内にない場合に駆動振幅指示量の異常を表す信号を伝送回路101に出力する。また、変位監視回路310は、同期検波回路23の出力が所定の範囲内にあるか否かを監視し、同期検波回路23の出力が所定の範囲内にない場合に駆動変位の異常を表す信号を伝送回路101に出力する。   Next, in the monitoring unit 300A, the frequency monitoring circuit 308 monitors whether or not the output of the integrator 18 is within a predetermined range. If the output of the integrator 18 is not within the predetermined range, the frequency of the driving frequency is monitored. A signal indicating abnormality is output to the transmission circuit 101. The instruction amount monitoring circuit 309 monitors whether the output of the integrator 24 is within a predetermined range, and indicates an abnormality in the drive amplitude instruction amount when the output of the integrator 24 is not within the predetermined range. The signal is output to the transmission circuit 101. Further, the displacement monitoring circuit 310 monitors whether or not the output of the synchronous detection circuit 23 is within a predetermined range, and when the output of the synchronous detection circuit 23 is not within the predetermined range, a signal indicating an abnormality in drive displacement. Is output to the transmission circuit 101.

以上説明した本実施形態によれば、第1に、周波数監視回路308を用いて駆動周波数を監視することにより、可動部1の駆動周波数制御の異常をリアルタイムに検出することが可能となる。   According to the embodiment described above, first, by monitoring the drive frequency using the frequency monitoring circuit 308, it is possible to detect an abnormality in the drive frequency control of the movable unit 1 in real time.

第2に、指示量監視回路309を用いて駆動振幅指示量を監視することにより、可動部1の駆動振幅制御の異常をリアルタイムに検出することが可能となる。   Secondly, by monitoring the drive amplitude instruction amount using the instruction amount monitoring circuit 309, it is possible to detect an abnormality in the drive amplitude control of the movable portion 1 in real time.

第3に、変位監視回路310を用いて駆動変位を監視することにより、可動部1の駆動振動の異常をリアルタイムに検出することが可能となる。   Third, by monitoring the drive displacement using the displacement monitoring circuit 310, it is possible to detect an abnormality in the drive vibration of the movable part 1 in real time.

第4に、アクティブ診断実施回路203を用いて診断用の変位量を積分器24の出力に加算することにより、可動部1の駆動振幅指示量に対する可動部1の感度変化を検出することが可能となり、より高性能なアクティブ診断を実現することが可能となる。   Fourth, it is possible to detect a change in sensitivity of the movable part 1 with respect to the drive amplitude instruction amount of the movable part 1 by adding the displacement amount for diagnosis to the output of the integrator 24 using the active diagnosis execution circuit 203. Thus, higher-performance active diagnosis can be realized.

次に、図21を用いて、本発明の第14の実施形態による物理量センサの構成及び動作について説明する。
図21は、本発明の第14の実施形態による物理量センサの構成を示すブロック図である。なお、図21において、図1,図3及び図10と同一符号は、同一部分を示している。
Next, the configuration and operation of the physical quantity sensor according to the fourteenth embodiment of the present invention will be described with reference to FIG.
FIG. 21 is a block diagram showing a configuration of a physical quantity sensor according to the fourteenth embodiment of the present invention. In FIG. 21, the same reference numerals as those in FIGS. 1, 3, and 10 denote the same parts.

本実施形態の物理量センサの基本的な構成は、図10に示したものと同様である。   The basic configuration of the physical quantity sensor of this embodiment is the same as that shown in FIG.

さらに、本実施形態の物理量センサでは、監視回路300Bは、図10に示した監視回路300に対し、自己振動サーボ量を監視し、自己振動サーボ量が所定の範囲を逸脱した際に自己振動の異常状態を表す信号を出力する自己振動監視回路311を追加して備えている。   Furthermore, in the physical quantity sensor of this embodiment, the monitoring circuit 300B monitors the self-vibration servo amount with respect to the monitoring circuit 300 shown in FIG. 10, and when the self-vibration servo amount deviates from a predetermined range, A self-vibration monitoring circuit 311 that outputs a signal indicating an abnormal state is additionally provided.

なお、図21における角速度検出回路100、受信回路102の動作については、図1に示したものと同一の動作を行うものである。また、アクティブ診断回路200Fの動作については、図9に示したものと同一の動作を行うものである。伝送回路101Fは、図10に示したものと同一の動作を行うものである。   The operations of the angular velocity detection circuit 100 and the reception circuit 102 in FIG. 21 are the same as those shown in FIG. The operation of the active diagnostic circuit 200F performs the same operation as that shown in FIG. The transmission circuit 101F performs the same operation as that shown in FIG.

次に、本実施形態における物理量センサの動作について説明する。   Next, the operation of the physical quantity sensor in the present embodiment will be described.

監視回路300Bの自己振動監視回路311は、角速度検出回路100がサーボ制御を行っている状態において、積分器6の出力が所定の範囲内にあるか否かを監視し、積分器6の出力が所定の範囲内にない場合に自己振動の異常を表す信号を伝送回路101に出力する。   The self-vibration monitoring circuit 311 of the monitoring circuit 300B monitors whether or not the output of the integrator 6 is within a predetermined range while the angular velocity detection circuit 100 is performing servo control. When the signal is not within the predetermined range, a signal indicating abnormality of self-vibration is output to the transmission circuit 101.

以上説明した本実施形態によれば、第1に、自己振動監視回路311を用いて自己振動サーボ量を監視することにより、可動部1の自己振動サーボ制御の異常をリアルタイムに検出することが可能となる。   According to the embodiment described above, first, by monitoring the self-vibration servo amount using the self-vibration monitoring circuit 311, it is possible to detect the abnormality of the self-vibration servo control of the movable part 1 in real time. It becomes.

第2に、アクティブ診断実施回路203及び加算器204を用いて診断用の変位量を積分器6の出力に加算することにより、可動部1の感度変化を検出することが可能となり、より高性能なアクティブ診断を実現することが可能となる。   Secondly, by adding the displacement amount for diagnosis to the output of the integrator 6 using the active diagnosis execution circuit 203 and the adder 204, it becomes possible to detect a change in sensitivity of the movable part 1, and to achieve higher performance. Active diagnosis can be realized.

さらに、本実施形態においても、図10に示した第8の実施形態と同様の効果が得られる。   Further, in this embodiment, the same effect as that of the eighth embodiment shown in FIG. 10 can be obtained.

次に、図22〜図24を用いて、本発明の第15の実施形態による物理量センサの構成及び動作について説明する。
図22は、本発明の第15の実施形態による物理量センサの構成を示すブロック図である。なお、図22において、図1,図3及び図10と同一符号は、同一部分を示している。図23及び図24は、本発明の第15の実施形態による物理量センサにおける記憶装置の監視方法の処理内容を示すフローチャートである。
Next, the configuration and operation of the physical quantity sensor according to the fifteenth embodiment of the present invention will be described with reference to FIGS.
FIG. 22 is a block diagram showing a configuration of a physical quantity sensor according to the fifteenth embodiment of the present invention. In FIG. 22, the same reference numerals as those in FIGS. 1, 3, and 10 denote the same parts. 23 and 24 are flowcharts showing the processing contents of the storage device monitoring method in the physical quantity sensor according to the fifteenth embodiment of the invention.

本実施形態の物理量センサの基本的な構成は、図10に示したものと同様である。   The basic configuration of the physical quantity sensor of this embodiment is the same as that shown in FIG.

本実施形態の物理量センサは、物理量センサにおいて使用されているRandom Access Memory(RAM)401及びErasable Programmable Read Only Memory(EPROM)402等の記憶装置400を備えている。   The physical quantity sensor of this embodiment includes a storage device 400 such as a random access memory (RAM) 401 and an erasable programmable read only memory (EPROM) 402 used in the physical quantity sensor.

さらに、本実施形態の物理量センサでは、監視回路300Cは、図10に示した監視回路300に対し、記憶装置400が所定の機能を満足できなくなった際に記憶装置400の異常状態を表す信号を出力する記憶装置監視回路312を追加して備えている。   Furthermore, in the physical quantity sensor of this embodiment, the monitoring circuit 300C provides a signal indicating an abnormal state of the storage device 400 to the monitoring circuit 300 illustrated in FIG. 10 when the storage device 400 can no longer satisfy a predetermined function. A storage device monitoring circuit 312 for outputting is additionally provided.

なお、図22における角速度検出回路100、受信回路102の動作については、図1に示したものと同一の動作を行うものである。また、アクティブ診断回路200Fの動作については、図9に示したものと同一の動作を行うものである。伝送回路101Fは、図10に示したものと同一の動作を行うものである。   The operations of the angular velocity detection circuit 100 and the reception circuit 102 in FIG. 22 are the same as those shown in FIG. The operation of the active diagnostic circuit 200F performs the same operation as that shown in FIG. The transmission circuit 101F performs the same operation as that shown in FIG.

次に、本実施形態における物理量センサの動作について説明する。   Next, the operation of the physical quantity sensor in the present embodiment will be described.

記憶装置監視回路312は、RAM401及びEPROM402等の記憶装置400が所定の機能を果たせる状態にあるか否かを監視し、各々の記憶装置に動作不良が生じた際に該当する記憶装置の異常を表す信号を伝送回路101に出力する。   The storage device monitoring circuit 312 monitors whether the storage device 400 such as the RAM 401 and the EPROM 402 is in a state where it can perform a predetermined function, and detects an abnormality of the corresponding storage device when a malfunction occurs in each storage device. The signal to be output is output to the transmission circuit 101.

最初に、図23を用いて、RAMの監視方法について説明する。   First, a RAM monitoring method will be described with reference to FIG.

図23のステップS200において、記憶装置監視回路312は、DIAG信号がHか否かを判定し、ステップS210において、RAM401に記憶されたDIAG信号が0でないか否かを判定する。DIAG信号がLの場合と、RAM401に記憶されたDIAG信号が0の場合は、ステップS270において、RAM401のDIAG信号に0を代入し、アドレスに0を代入し、合計値SUMに0を代入して処理を終了する。   In step S200 of FIG. 23, the storage device monitoring circuit 312 determines whether or not the DIAG signal is H. In step S210, the storage device monitoring circuit 312 determines whether or not the DIAG signal stored in the RAM 401 is not zero. When the DIAG signal is L and the DIAG signal stored in the RAM 401 is 0, in step S270, 0 is substituted for the DIAG signal in the RAM 401, 0 is substituted for the address, and 0 is substituted for the total value SUM. To finish the process.

DIAG信号がHで、RAM401に記憶されたDIAG信号が0でない場合は、ステップS220において、記憶装置監視回路312は、RAMの所定のアドレス(アドレス)に、RAM401に記憶されたDIAG信号の値(RAMDIAG),すなわち、1を格納する。また、TEMP領域(TEMP)に、RAMの所定のアドレスRAM(アドレス)を格納する。さらに、TEMP領域(TEMP)に、TEMP領域の値(TEMP)からRAM401に記憶されたDIAG信号の値(RAMDIAG)を引いた値を格納する。次に、TEMP領域(TEMP)に、TEMP領域の値の絶対値(abs(TEMP))を格納する。さらに、TEMP領域(TEMP)に、TEMP領域の値(TEMP)に1を加えた値を格納する。最後に、SUM領域(SUM)に、SUM領域の値(SUM)にTEMP領域(TEMP)を加えた値を格納する。   If the DIAG signal is H and the DIAG signal stored in the RAM 401 is not 0, in step S220, the storage device monitoring circuit 312 stores the value of the DIAG signal stored in the RAM 401 (at the predetermined address (address) of the RAM 401). RAMDIAG), that is, 1 is stored. A predetermined RAM address (address) of the RAM is stored in the TEMP area (TEMP). Further, a value obtained by subtracting the value of the DIAG signal (RAMDIAG) stored in the RAM 401 from the value of the TEMP area (TEMP) is stored in the TEMP area (TEMP). Next, the absolute value (abs (TEMP)) of the value of the TEMP area is stored in the TEMP area (TEMP). Further, a value obtained by adding 1 to the value (TEMP) of the TEMP area is stored in the TEMP area (TEMP). Finally, a value obtained by adding the TEMP area (TEMP) to the SUM area value (SUM) is stored in the SUM area (SUM).

次に、ステップS230において、記憶装置監視回路312は、アドレスの値に1を加算する。   Next, in step S230, the storage device monitoring circuit 312 adds 1 to the address value.

次に、ステップS240において、記憶装置監視回路312は、RAMの所定のアドレス(アドレス)に、RAM401に記憶されたDIAG信号の値(RAMDIAG)の反値,すなわち、0を格納する。また、TEMP領域(TEMP)に、RAMの所定のアドレスRAM(アドレス)を格納する。さらに、TEMP領域(TEMP)に、TEMP領域の値(TEMP)からRAM401に記憶されたDIAG信号の値(RAMDIAG)の反値を引いた値を格納する。次に、TEMP領域(TEMP)に、TEMP領域の値の絶対値(abs(TEMP))を格納する。さらに、TEMP領域(TEMP)に、TEMP領域の値(TEMP)に1を加えた値を格納する。最後に、SUM領域(SUM)に、SUM領域の値(SUM)にTEMP領域(TEMP)を加えた値を格納する。   Next, in step S240, the storage device monitoring circuit 312 stores the inverse value of the value of the DIAG signal (RAMDIAG) stored in the RAM 401, that is, 0, at a predetermined address (address) of the RAM 401. A predetermined RAM address (address) of the RAM is stored in the TEMP area (TEMP). Further, a value obtained by subtracting the inverse value of the value of the DIAG signal (RAMDIAG) stored in the RAM 401 from the value of the TEMP area (TEMP) is stored in the TEMP area (TEMP). Next, the absolute value (abs (TEMP)) of the value of the TEMP area is stored in the TEMP area (TEMP). Further, a value obtained by adding 1 to the value (TEMP) of the TEMP area is stored in the TEMP area (TEMP). Finally, a value obtained by adding the TEMP area (TEMP) to the SUM area value (SUM) is stored in the SUM area (SUM).

次に、ステップS250において、記憶装置監視回路312は、アドレスの値に1を加算する。   Next, in step S250, the storage device monitoring circuit 312 adds 1 to the address value.

次に、ステップS260において、記憶装置監視回路312は、アドレスの値が有効アドレス数Nより大きくなったか否かを判定し、有効アドレス数N以下の場合には、ステップS220〜ステップS250の処理を継続する。アドレスの値が有効アドレス数Nより大きくなると、処理を終了する。   Next, in step S260, the storage device monitoring circuit 312 determines whether or not the address value has become larger than the number of effective addresses N. If the number of effective addresses is less than or equal to N, the processing of steps S220 to S250 is performed. continue. When the value of the address becomes larger than the effective address number N, the process is terminated.

このようにして、本実施形態においては、RAM401の全てのアドレスに固定値を用いた書込・読込動作を実施し、各アドレスにおけるビット固定を診断することで、RAM401を監視する。   In this way, in this embodiment, the RAM 401 is monitored by performing write / read operations using fixed values for all addresses in the RAM 401 and diagnosing bit fixing at each address.

次に、図24を用いて、EPROMの監視方法について説明する。   Next, an EPROM monitoring method will be described with reference to FIG.

図24のステップS300において、記憶装置監視回路312は、アドレスが0か否かを判定する。0でない場合にはステップS350に進み、0の場合にはステップS310に進む。   In step S300 of FIG. 24, the storage device monitoring circuit 312 determines whether the address is 0 or not. If it is not 0, the process proceeds to step S350, and if it is 0, the process proceeds to step S310.

アドレスが0の場合には、ステップS310において、記憶装置監視回路312は、誤り検出のためのCRCコードが0か否かを判定する。0でない場合にはステップS330に進み、0の場合にはステップS320に進む。   If the address is 0, in step S310, the storage device monitoring circuit 312 determines whether or not the CRC code for error detection is 0. If it is not 0, the process proceeds to step S330, and if it is 0, the process proceeds to step S320.

CRCコードが0の場合は、ステップS320において、記憶装置監視回路312は、エラーフラグをリセットし、CRCコードが0でない場合は、ステップS330において、記憶装置監視回路312は、エラーフラグをセットする。   If the CRC code is 0, the storage device monitoring circuit 312 resets the error flag in step S320. If the CRC code is not 0, the storage device monitoring circuit 312 sets the error flag in step S330.

次に、ステップS340において、記憶装置監視回路312は、誤り検出のためのCRCコードに0を格納する。   Next, in step S340, the storage device monitoring circuit 312 stores 0 in the CRC code for error detection.

そして、ステップS350において、記憶装置監視回路312は、EPROM402の所定のアドレスのデータを読み込み、ステップS360において、CRC演算を実行する。   In step S350, the storage device monitoring circuit 312 reads data at a predetermined address in the EPROM 402, and executes a CRC operation in step S360.

次に、ステップS370において、記憶装置監視回路312は、アドレスの値に1を加算する。   Next, in step S370, the storage device monitoring circuit 312 adds 1 to the address value.

次に、ステップS380において、記憶装置監視回路312は、アドレスの値が有効アドレス数Nより大きくなったか否かを判定し、有効アドレス数N以下の場合には、ステップS300〜ステップS370の処理を継続する。アドレスの値が有効アドレス数Nより大きくなると、処理を終了する。   Next, in step S380, the storage device monitoring circuit 312 determines whether or not the address value is larger than the number of effective addresses N. If the number of effective addresses is N or less, the processing of steps S300 to S370 is performed. continue. When the value of the address becomes larger than the effective address number N, the process is terminated.

このようにして、本実施形態においては、EPROM402の所定のアドレスに予め誤り検出のためのCRCコードを記憶しておき、全てのアドレスが正常であればCRC演算結果がゼロとなり、CRC演算結果がゼロにならなかった場合に記憶装置監視回路312はEPROM402の異常を出力することで、EPROM402を監視する。   In this way, in this embodiment, a CRC code for error detection is stored in advance at a predetermined address in the EPROM 402. If all addresses are normal, the CRC calculation result is zero, and the CRC calculation result is When the memory device monitoring circuit 312 does not become zero, the storage device monitoring circuit 312 outputs an abnormality of the EPROM 402 to monitor the EPROM 402.

なお、EPROM402の監視に用いる誤り検出手段は、CRCの他、パリティ符号やハッシュ関数、チェックサムを用いた誤り検出手法をとっても良い。   The error detection means used for monitoring the EPROM 402 may take an error detection method using a parity code, a hash function, and a checksum in addition to the CRC.

以上説明した本実施形態の物理量センサによれば、第1に、記憶装置監視回路312を用いてRAM401を監視することにより、RAM401の異常を検出することが可能となり、高信頼な物理量検出及びアクティブ診断の実現が可能となる。   According to the physical quantity sensor of the present embodiment described above, first, by monitoring the RAM 401 using the storage device monitoring circuit 312, it is possible to detect an abnormality in the RAM 401, and highly reliable physical quantity detection and active Diagnosis can be realized.

第2に、記憶装置監視回路312を用いてEPROM402を監視することにより、EPROM402の異常を検出することが可能となり、高信頼な物理量検出及びアクティブ診断の実現が可能となる。   Second, by monitoring the EPROM 402 using the storage device monitoring circuit 312, it is possible to detect an abnormality in the EPROM 402, and to realize a highly reliable physical quantity detection and active diagnosis.

さらに、本実施形態においても、図10に示した第8の実施形態と同様の効果が得られる。   Further, in this embodiment, the same effect as that of the eighth embodiment shown in FIG. 10 can be obtained.

次に、図25を用いて、本発明の第16の実施形態による物理量センサ及び物理量センサ制御装置の構成及び動作について説明する。
図25は、本発明の第16の実施形態による物理量センサ及び物理量センサ制御装置の構成を示すブロック図である。なお、図25において、図2と同一符号は、同一部分を示している。
Next, the configuration and operation of a physical quantity sensor and a physical quantity sensor control device according to a sixteenth embodiment of the present invention will be described with reference to FIG.
FIG. 25 is a block diagram showing a configuration of a physical quantity sensor and a physical quantity sensor control device according to the sixteenth embodiment of the present invention. 25, the same reference numerals as those in FIG. 2 denote the same parts.

本実施形態の物理量センサの基本的な構成は、図2に示したものと同様である。   The basic configuration of the physical quantity sensor of this embodiment is the same as that shown in FIG.

本実施形態の物理量センサ制御装置は、図2に示した物理量センサに対して、物理量センサの制御を実施するための通信コマンドを第1判定回路201出力する第1制御装置104と、第1の制御装置104の故障診断を行い、診断結果に基づいて第2判定装置206にDIAG信号を出力する第2制御装置105とを追加したものである。第1制御装置104は、例えば、エンジン制御やトラクションコントロールを司るECU(Electronic Control Unit)である。第2制御装置105は、第1制御装置104の故障診断用のコントロールユニットである。   The physical quantity sensor control device of the present embodiment includes a first control device 104 that outputs a communication command for performing control of the physical quantity sensor to the first determination circuit 201 with respect to the physical quantity sensor illustrated in FIG. A failure diagnosis of the control device 104 is performed, and a second control device 105 that outputs a DIAG signal to the second determination device 206 based on the diagnosis result is added. The first control device 104 is, for example, an ECU (Electronic Control Unit) that controls engine control and traction control. The second control device 105 is a control unit for failure diagnosis of the first control device 104.

なお、図25における角速度検出回路100、伝送回路101、受信回路102の動作については、図1に示したものと同一の動作を行うものである。また、アクティブ診断回路200Fの動作については、図2に示したものと同一の動作を行うものである。   The operations of the angular velocity detection circuit 100, the transmission circuit 101, and the reception circuit 102 in FIG. 25 are the same as those shown in FIG. The operation of the active diagnostic circuit 200F performs the same operation as that shown in FIG.

ここで、本実施形態における物理量センサ及び物理量センサ制御装置の動作について説明する。   Here, the operation of the physical quantity sensor and the physical quantity sensor control device in the present embodiment will be described.

第1制御装置104は、物理量センサのアクティブ診断を実施するための通信コマンドを受信回路102に出力する。次に、受信回路102を介して第1判定回路201に通信コマンドが入力すると、第1判定回路201は、予め第1判定回路201に記憶している通信コマンド群と照し合せて、通信コマンドが物理量センサの制御に関するコマンドか否かを判定する。次に、アクティブ診断制御用のコマンドであるか否かを判定する。   The first control device 104 outputs a communication command for performing an active diagnosis of the physical quantity sensor to the receiving circuit 102. Next, when a communication command is input to the first determination circuit 201 via the reception circuit 102, the first determination circuit 201 compares the communication command group stored in the first determination circuit 201 in advance with the communication command. Is a command related to the control of the physical quantity sensor. Next, it is determined whether or not the command is for active diagnosis control.

次に、第2制御装置105は、第1制御装置104に異常が生じているか否かを判定し、第1制御装置104が正常であればHレベルのDIAG信号を第2判定回路206に出力する。一方、第1制御装置104が異常であると判定した場合にはLレベルのDIAG信号を第2判定回路に出力する。   Next, the second control device 105 determines whether or not an abnormality has occurred in the first control device 104. If the first control device 104 is normal, an H level DIAG signal is output to the second determination circuit 206. To do. On the other hand, if the first control device 104 determines that there is an abnormality, it outputs an L level DIAG signal to the second determination circuit.

次に、第2判定回路206は、DIAG信号のレベルを確認する。DIAG信号がHレベルの状態であれば、第2判定回路206の出力をアクティブ診断許可モードにする。一方、DIAG信号がLレベルであれば、第2判定回路206の出力をアクティブ診断禁止モードにする。次に、通信コマンドがアクティブ診断制御用のコマンドであった場合、第2判定回路206の出力がアクティブ診断許可モードであれば、アクティブ診断実施回路203はアクティブ診断を実施する。   Next, the second determination circuit 206 confirms the level of the DIAG signal. If the DIAG signal is in the H level, the output of the second determination circuit 206 is set to the active diagnosis permission mode. On the other hand, if the DIAG signal is at L level, the output of the second determination circuit 206 is set to the active diagnosis inhibition mode. Next, when the communication command is a command for active diagnosis control and the output of the second determination circuit 206 is in the active diagnosis permission mode, the active diagnosis execution circuit 203 executes active diagnosis.

以上説明した本実施形態の物理量センサ及び物理量センサ制御装置によれば、第1に、第2制御装置105が第1制御装置104の故障診断を行い,DIAG信号を第2判定回路206に出力しているため、第1制御装置104がアクティブ診断を実施するための通信コマンドを第1判定回路201に出力した際に、アクティブ診断の誤動作を防止することが可能となり、高信頼なアクティブ診断を実現することが可能となる。   According to the physical quantity sensor and the physical quantity sensor control device of the present embodiment described above, first, the second control device 105 performs failure diagnosis of the first control device 104 and outputs a DIAG signal to the second determination circuit 206. Therefore, when the first control device 104 outputs a communication command for executing the active diagnosis to the first determination circuit 201, it is possible to prevent malfunction of the active diagnosis and realize a highly reliable active diagnosis. It becomes possible to do.

さらに、本実施形態においても、図2に示した第2の実施形態と同様の効果が得られる。   Further, in this embodiment, the same effect as that of the second embodiment shown in FIG. 2 can be obtained.

次に、図26及び図27を用いて、本発明の第17の実施形態による物理量センサの構成及び動作について説明する。
図26は、本発明の第17の実施形態による物理量センサの構成を示すブロック図である。なお、図26において、図9と同一符号は、同一部分を示している。図27は、本発明の第17の実施形態による物理量センサにおける、加速度センサのアクティブ診断結果の説明図である。
Next, the configuration and operation of the physical quantity sensor according to the seventeenth embodiment of the present invention will be described with reference to FIGS.
FIG. 26 is a block diagram showing a configuration of a physical quantity sensor according to the seventeenth embodiment of the present invention. In FIG. 26, the same reference numerals as those in FIG. 9 denote the same parts. FIG. 27 is an explanatory diagram of an active diagnosis result of the acceleration sensor in the physical quantity sensor according to the seventeenth embodiment of the present invention.

本実施形態では、物理量センサとして、角速度検出回路100の代わりに、加速度を検出するための可動部27を含む加速度検出回路106を用いている。   In this embodiment, instead of the angular velocity detection circuit 100, an acceleration detection circuit 106 including a movable portion 27 for detecting acceleration is used as the physical quantity sensor.

加速度検出回路106は、可動部27と、検出電極28と、CV変換器29と、AD変換器30と、積分器31と、DA変換器25と、診断電極26とを備えている。   The acceleration detection circuit 106 includes a movable portion 27, a detection electrode 28, a CV converter 29, an AD converter 30, an integrator 31, a DA converter 25, and a diagnostic electrode 26.

可動部27は、加速度を検出するために所定軸方向(加速度検出軸方向)に変位可能に支持されている。検出電極28は、可動部27の変位に応じた容量変化をする。検出電極28は、可動部27の加速度検出軸方向に固定された可変電極28a及び、可変電極28aに対向して配置された固定電極28bによって構成される。CV変換器29は、検出電極28の容量変化を電圧信号に変換する。AD変換器30は、CV変換器29から出力された電圧信号をデジタル信号に変換する。積分器31は、デジタル信号を積分する。補正演算器32は、積分器31が出力した可動部27の変位に応じた信号に対して補正演算を行う。DA変換器25は、アクティブ診断回路200Fから入力された診断用変位量を電圧信号に変換する。診断電極26は、DA変換器25により生成された電圧信号を可動部27に印加する。診断電極26は、可動部27の加速度検出軸方向に固定された可変電極26a及び、可変電極26aに対向して配置された固定電極26bによって構成される。   The movable portion 27 is supported so as to be displaceable in a predetermined axis direction (acceleration detection axis direction) in order to detect acceleration. The detection electrode 28 changes its capacity according to the displacement of the movable portion 27. The detection electrode 28 includes a variable electrode 28a fixed in the acceleration detection axis direction of the movable portion 27, and a fixed electrode 28b disposed to face the variable electrode 28a. The CV converter 29 converts the capacitance change of the detection electrode 28 into a voltage signal. The AD converter 30 converts the voltage signal output from the CV converter 29 into a digital signal. The integrator 31 integrates the digital signal. The correction calculator 32 performs a correction calculation on the signal corresponding to the displacement of the movable part 27 output from the integrator 31. The DA converter 25 converts the diagnostic displacement input from the active diagnostic circuit 200F into a voltage signal. The diagnostic electrode 26 applies the voltage signal generated by the DA converter 25 to the movable portion 27. The diagnostic electrode 26 includes a variable electrode 26a fixed in the acceleration detection axis direction of the movable portion 27, and a fixed electrode 26b arranged to face the variable electrode 26a.

なお、図26における伝送回路101、受信回路102、アクティブ診断回路200Fの動作については、図9に示したものと同一の動作を行うものである。   The operations of the transmission circuit 101, the reception circuit 102, and the active diagnostic circuit 200F in FIG. 26 are the same as those shown in FIG.

次に、本実施形態における物理量センサの動作について説明する。   Next, the operation of the physical quantity sensor in the present embodiment will be described.

アクティブ診断回路200により診断用変位量が加速度検出回路106に入力すると、入力した診断用変位量はDA変換器25及び診断電極26により可動部27に印加され、診断用変位量に応じて可動部27が変位する。検出電極28は、可動部27の変位を電圧信号に変換し、CV変換器29及びAD変換器30及び積分器31を介して、補正演算器32に入力する。補正演算器32は、所定の補正演算を行い、加速度情報として伝送回路101に出力する。   When the diagnostic displacement amount is input to the acceleration detection circuit 106 by the active diagnostic circuit 200, the input diagnostic displacement amount is applied to the movable portion 27 by the DA converter 25 and the diagnostic electrode 26, and the movable portion according to the diagnostic displacement amount. 27 is displaced. The detection electrode 28 converts the displacement of the movable portion 27 into a voltage signal and inputs the voltage signal to the correction calculator 32 via the CV converter 29, the AD converter 30, and the integrator 31. The correction calculator 32 performs a predetermined correction calculation and outputs it to the transmission circuit 101 as acceleration information.

次に、図27を用いて、本実施形態による物理量センサにおける、加速度センサのアクティブ診断結果について説明する。   Next, an active diagnosis result of the acceleration sensor in the physical quantity sensor according to the present embodiment will be described with reference to FIG.

図27は、通信コマンドにより記憶手段212に記憶されている診断用の変位量を変更してアクティブ診断を実施することにより、診断用の変位に応じた積分器31の出力(縦軸)をグラフにして表したものである。なお、グラフの横軸は、診断用の変位量を加速度に換算した値である。   FIG. 27 is a graph showing the output (vertical axis) of the integrator 31 in accordance with the displacement for diagnosis by changing the amount of displacement for diagnosis stored in the storage means 212 by the communication command and performing active diagnosis. It is expressed as The horizontal axis of the graph is a value obtained by converting the amount of displacement for diagnosis into acceleration.

図22に示すアクティブ診断結果から、加速度センサのオフセット,加速度に対する感度、及び加速度センサの直線性を取得することができる。加速度センサのオフセットは、図示するように、加速度が0Gの場合の、積分器31の出力として得られる。加速度に対する感度は、図示の直線の傾きとして得られる。加速度センサの直線性は、例えば、図示するように、加速度−1.0G,−0.5G,+0.5G,+1.0Gの4点の加速度に対する積分器31の出力に対して、例えば、最小自乗法により直線近似するとともに、この近似された直線からのずれ量として得られる。   From the active diagnosis result shown in FIG. 22, the offset of the acceleration sensor, the sensitivity to the acceleration, and the linearity of the acceleration sensor can be acquired. The offset of the acceleration sensor is obtained as the output of the integrator 31 when the acceleration is 0 G, as shown in the figure. The sensitivity to acceleration is obtained as the slope of the straight line shown. As shown in the figure, the linearity of the acceleration sensor is, for example, minimum with respect to the output of the integrator 31 with respect to accelerations of four points of accelerations −1.0G, −0.5G, + 0.5G, and + 1.0G. A straight line approximation is performed by the square method, and a deviation from the approximated straight line is obtained.

従って、アクティブ診断を実施することにより、オフセット補正値及び感度補正値及び直線性補正値を取得することが可能となる。この補正値を補正演算時に用いることにより、本実施形態における加速度センサの加速度検出精度を向上させることが可能となる。   Therefore, it is possible to acquire an offset correction value, a sensitivity correction value, and a linearity correction value by performing active diagnosis. By using this correction value during the correction calculation, it is possible to improve the acceleration detection accuracy of the acceleration sensor in the present embodiment.

以上説明した本実施形態の物理量センサによれば、第1に、通信コマンドを用いて診断用の変位量を変更してアクティブ診断を実施することにより、物理量センサのオフセット及び検出感度及び物理量検出時の直線性を求めることが可能となり、高精度な物理量検出を実現することが可能となる。   According to the physical quantity sensor of the present embodiment described above, first, by performing active diagnosis by changing the displacement amount for diagnosis using a communication command, the offset of the physical quantity sensor, the detection sensitivity, and the physical quantity are detected. Thus, it is possible to obtain a highly accurate physical quantity detection.

第2に、通信コマンドを用いて診断用の変位量を変更してアクティブ診断を実施することにより、経時変化等による物理量センサのオフセット変化及び検出感度変化及び物理量検出時の直線性の変化を求めることが可能となり、補正演算器32で補正演算時に用いる補正値を変更することにより、高精度な物理量検出を継続的に実現することが可能となる。   Second, active diagnosis is performed by changing a diagnostic displacement amount using a communication command, thereby obtaining a change in offset of the physical quantity sensor, a change in detection sensitivity due to a change with time, etc., and a change in linearity when detecting the physical quantity. Therefore, by changing the correction value used in the correction calculation by the correction calculator 32, it is possible to continuously realize high-precision physical quantity detection.

さらに、本実施形態においても、図9に示した第7の実施形態と同様の効果が得られる。   Further, in this embodiment, the same effect as that of the seventh embodiment shown in FIG. 9 can be obtained.

次に、図28を用いて、本発明の第18の実施形態による物理量センサの構成及び動作について説明する。
図28は、本発明の第18の実施形態による物理量センサの構成を示すブロック図である。なお、図28において、図1,図9,図20,図26と同一符号は、同一部分を示している。
Next, the configuration and operation of the physical quantity sensor according to the eighteenth embodiment of the present invention will be described with reference to FIG.
FIG. 28 is a block diagram showing a configuration of a physical quantity sensor according to the eighteenth embodiment of the present invention. In FIG. 28, the same reference numerals as those in FIGS. 1, 9, 20, and 26 denote the same parts.

本実施形態の物理量センサは、角速度検出回路100と、駆動制御回路103と、加速度検出回路106と、伝送回路101と、受信回路102と、アクティブ診断回路200と、診断対象選択回路213及び観測信号選択回路216により構成される処理回路302とを備えている。   The physical quantity sensor of this embodiment includes an angular velocity detection circuit 100, a drive control circuit 103, an acceleration detection circuit 106, a transmission circuit 101, a reception circuit 102, an active diagnosis circuit 200, a diagnosis target selection circuit 213, and an observation signal. And a processing circuit 302 constituted by a selection circuit 216.

なお、角速度検出回路100、伝送回路101、受信回路102、アクティブ診断回路200の動作については、図9に示したものと同一の動作を行うものである。駆動制御回路103の動作については、図20に示したものと同一の動作を行うものである。加速度検出回路106の動作については、図26に示したものと同一の動作を行うものである。   The operations of the angular velocity detection circuit 100, the transmission circuit 101, the reception circuit 102, and the active diagnosis circuit 200 are the same as those shown in FIG. The operation of the drive control circuit 103 is the same as that shown in FIG. The operation of the acceleration detection circuit 106 is the same as that shown in FIG.

ここで、診断対象選択回路213は、アクティブ診断回路200が出力した診断用の変位量を伝達する回路を切替えるスイッチング手段214と、記憶された情報に基づいてスイッチング手段214の接続先を指定する記憶手段215とを備えている。   Here, the diagnosis target selection circuit 213 switches the switching means 214 that switches a circuit that transmits the displacement amount for diagnosis output from the active diagnosis circuit 200, and stores that specifies the connection destination of the switching means 214 based on the stored information. Means 215.

また、観測信号選択回路216は、伝送回路101にを伝達する回路を切替えるスイッチング手段214と、記憶された情報に基づいてスイッチング手段214の接続先を指定する記憶手段215とを備えている。   In addition, the observation signal selection circuit 216 includes a switching unit 214 that switches a circuit that transmits to the transmission circuit 101, and a storage unit 215 that specifies a connection destination of the switching unit 214 based on the stored information.

次に、本実施形態における物理量センサの動作について説明する。   Next, the operation of the physical quantity sensor in the present embodiment will be described.

診断対象選択回路213は、通信コマンドにより記憶手段215に所定の情報を記憶させ、スイッチング手段214は記憶手段215に記憶されている情報に基づいて接続先回路を選択する。次に、アクティブ診断回路200により出力された診断用の変位量は、スイッチング手段214により接続されている回路に入力される。   The diagnosis target selection circuit 213 stores predetermined information in the storage unit 215 by a communication command, and the switching unit 214 selects a connection destination circuit based on the information stored in the storage unit 215. Next, the displacement amount for diagnosis output by the active diagnosis circuit 200 is input to a circuit connected by the switching means 214.

観測信号選択回路216は、通信コマンドにより記憶手段218に所定の情報を記憶させ、スイッチング手段217は記憶手段218に記憶されている情報に基づいて観測信号を選択する。次に、スイッチング手段217により接続されている観測信号は、スイッチング手段217を介して伝送回路101に入力される。   The observation signal selection circuit 216 stores predetermined information in the storage unit 218 by a communication command, and the switching unit 217 selects an observation signal based on the information stored in the storage unit 218. Next, the observation signal connected by the switching unit 217 is input to the transmission circuit 101 via the switching unit 217.

以上の本実施形態における物理量センサによれば、第1に、診断対象選択回路213を用いることにより、通信コマンドを用いて診断対象を個別に選択することが可能となり、複数のセンサで構成されるマルチセンサ等に対してアクティブ診断の個別制御が可能となる。   According to the physical quantity sensor in the present embodiment described above, first, by using the diagnosis target selection circuit 213, it is possible to individually select a diagnosis target using a communication command, and the sensor is configured by a plurality of sensors. Individual control of active diagnosis is possible for multi-sensors and the like.

第2に、診断対象選択回路213を用いることにより、通信コマンドを用いて診断対象を個別に選択することが可能となり、個別の機能ブロック毎にアクティブ診断が可能となるため、故障の部位が特定可能な高性能なアクティブ診断を実現することが可能となる。   Second, by using the diagnosis target selection circuit 213, it is possible to individually select the diagnosis target using a communication command, and active diagnosis can be performed for each individual functional block. Possible high-performance active diagnosis can be realized.

第3に、観測信号選択回路216を用いることにより、通信コマンドを用いて観測信号を選択することが可能となるため、物理量センサを構成する各々の機能ブロック毎の診断が可能となり、高性能なアクティブ診断を実現することが可能となる。   Third, since the observation signal can be selected using the communication command by using the observation signal selection circuit 216, diagnosis for each functional block constituting the physical quantity sensor is possible, and high performance is achieved. Active diagnosis can be realized.

さらに、本実施形態においても、図16に示した第11の実施形態,図20に示した第13の実施形態,図26に示した第17の実施形態と同様の効果が得られる。
Further, in this embodiment, the same effects as those of the eleventh embodiment shown in FIG. 16, the thirteenth embodiment shown in FIG. 20, and the seventeenth embodiment shown in FIG. 26 are obtained.

本発明の第1の実施形態による物理量センサの構成を示すブロック図である。It is a block diagram which shows the structure of the physical quantity sensor by the 1st Embodiment of this invention. 本発明の第1の実施形態による物理量センサにおけるアクティブ診断許可動作を示すフローチャートである。It is a flowchart which shows the active diagnosis permission operation | movement in the physical quantity sensor by the 1st Embodiment of this invention. 本発明の第2の実施形態による物理量センサの構成を示すブロック図である。It is a block diagram which shows the structure of the physical quantity sensor by the 2nd Embodiment of this invention. 本発明の第2の実施形態による物理量センサにおけるアクティブ診断許可動作を示すフローチャートである。It is a flowchart which shows the active diagnosis permission operation | movement in the physical quantity sensor by the 2nd Embodiment of this invention. 本発明の第3の実施形態による物理量センサの構成を示すブロック図である。It is a block diagram which shows the structure of the physical quantity sensor by the 3rd Embodiment of this invention. 本発明の第4の実施形態による物理量センサの構成を示すブロック図である。It is a block diagram which shows the structure of the physical quantity sensor by the 4th Embodiment of this invention. 本発明の第5の実施形態による物理量センサの構成を示すブロック図である。It is a block diagram which shows the structure of the physical quantity sensor by the 5th Embodiment of this invention. 本発明の第6の実施形態による物理量センサの構成を示すブロック図である。It is a block diagram which shows the structure of the physical quantity sensor by the 6th Embodiment of this invention. 本発明の第7の実施形態による物理量センサの構成を示すブロック図である。It is a block diagram which shows the structure of the physical quantity sensor by the 7th Embodiment of this invention. 本発明の第8の実施形態による物理量センサの構成を示すブロック図である。It is a block diagram which shows the structure of the physical quantity sensor by the 8th Embodiment of this invention. 本発明の第8の実施形態による物理量センサにおける伝送回路の通信フレームの構成図である。It is a block diagram of the communication frame of the transmission circuit in the physical quantity sensor by the 8th Embodiment of this invention. 本発明の第9の実施形態による物理量センサの構成を示すブロック図である。It is a block diagram which shows the structure of the physical quantity sensor by the 9th Embodiment of this invention. 本発明の第9の実施形態による物理量センサにおける伝送回路の通信フレームの構成図である。It is a block diagram of the communication frame of the transmission circuit in the physical quantity sensor by the 9th Embodiment of this invention. 本発明の第10の実施形態による物理量センサの構成を示すブロック図である。It is a block diagram which shows the structure of the physical quantity sensor by the 10th Embodiment of this invention. 本発明の第10の実施形態による物理量センサにおける伝送回路の通信フレームの構成図である。It is a block diagram of the communication frame of the transmission circuit in the physical quantity sensor by the 10th Embodiment of this invention. 本発明の第11の実施形態による物理量センサの構成を示すブロック図である。It is a block diagram which shows the structure of the physical quantity sensor by the 11th Embodiment of this invention. 本発明の第11の実施形態による物理量センサにおける伝送回路の通信フレームの構成図である。It is a block diagram of the communication frame of the transmission circuit in the physical quantity sensor by the 11th Embodiment of this invention. 本発明の第12の実施形態による物理量センサの構成を示すブロック図である。It is a block diagram which shows the structure of the physical quantity sensor by the 12th Embodiment of this invention. 本発明の第12の実施形態による物理量センサにおける伝送回路の通信フレームの構成図である。It is a block diagram of the communication frame of the transmission circuit in the physical quantity sensor by the 12th Embodiment of this invention. 本発明の第13の実施形態による物理量センサの構成を示すブロック図である。It is a block diagram which shows the structure of the physical quantity sensor by the 13th Embodiment of this invention. 本発明の第14の実施形態による物理量センサの構成を示すブロック図である。It is a block diagram which shows the structure of the physical quantity sensor by the 14th Embodiment of this invention. 本発明の第15の実施形態による物理量センサの構成を示すブロック図である。It is a block diagram which shows the structure of the physical quantity sensor by 15th Embodiment of this invention. 本発明の第15の実施形態による物理量センサにおける記憶装置の監視方法の処理内容を示すフローチャートである。It is a flowchart which shows the processing content of the monitoring method of the storage device in the physical quantity sensor by 15th Embodiment of this invention. 本発明の第15の実施形態による物理量センサにおける記憶装置の監視方法の処理内容を示すフローチャートである。It is a flowchart which shows the processing content of the monitoring method of the storage device in the physical quantity sensor by 15th Embodiment of this invention. 本発明の第16の実施形態による物理量センサび物理量センサ制御装置の構成を示すブロック図である。It is a block diagram which shows the structure of the physical quantity sensor and physical quantity sensor control apparatus by 16th Embodiment of this invention. 本発明の第17の実施形態による物理量センサの構成を示すブロック図である。It is a block diagram which shows the structure of the physical quantity sensor by the 17th Embodiment of this invention. 本発明の第17の実施形態による物理量センサにおける、加速度センサのアクティブ診断結果の説明図である。It is explanatory drawing of the active diagnostic result of the acceleration sensor in the physical quantity sensor by 17th Embodiment of this invention. 本発明の第17の実施形態による物理量センサの構成を示すブロック図である。It is a block diagram which shows the structure of the physical quantity sensor by the 17th Embodiment of this invention.

符号の説明Explanation of symbols

1,27…可動部
2,10,14,22,26,28…電極
3,15,29…CV変換器
4,16,30…AD変換器
5,11,17,23…同期検波器
6,12,18,24,31…積分器
7,13,20…変調器
8,204、205…加算器
9,21,25…DA変換器
19…発振器
32…演算器
100…角速度検出回路
101…伝送回路
102…受信回路
103…駆動制御回路
104,105…制御装置
106…加速度検出回路
200…アクティブ診断回路
201,202,206,206b,206c,206d,206e…判定回路
203…アクティブ診断実行回路
207a…速度センサ
207c…加速度センサ
207d…角速度センサ
207e…時間計測器
211,214,217…スイッチ
212,215,218,400…記憶装置
213,216…セレクタ
300…監視回路
301…監視情報追加回路
302…信号処理回路
303…処理結果追加回路
304…誤り検出信号生成回路
401…RAM
402…EPROM
1, 27, movable parts 2, 10, 14, 22, 26, 28, electrodes 3, 15, 29, CV converters 4, 16, 30, AD converters 5, 11, 17, 23, synchronous detector 6, 12, 18, 24, 31 ... integrators 7, 13, 20 ... modulators 8, 204, 205 ... adders 9, 21, 25 ... DA converter 19 ... oscillator 32 ... arithmetic unit 100 ... angular velocity detection circuit 101 ... transmission Circuit 102 ... Reception circuit 103 ... Drive control circuit 104, 105 ... Control device 106 ... Acceleration detection circuit 200 ... Active diagnosis circuit 201, 202, 206, 206b, 206c, 206d, 206e ... Determination circuit 203 ... Active diagnosis execution circuit 207a ... Speed sensor 207c ... acceleration sensor 207d ... angular velocity sensor 207e ... time measuring devices 211, 214, 217 ... switches 212, 215, 218, 400 ...憶 device 213, 216 ... selector 300 ... monitor circuit 301 ... monitoring information adding circuit 302 ... signal processing circuit 303 ... processing result adding circuit 304 ... error detecting signal generating circuit 401 ... RAM
402 ... EPROM

Claims (14)

物理量に応じて変位する可動部を有しており、前記可動部の変位に応じて物理量を検出する物理量検出手段と、
前記可動部に診断変位を生じさせて前記物理量検出手段の故障を診断するアクティブ診断機能を有する診断手段と、
通信路を介して前記物理量検出手段が検出した物理量をデジタル伝送する伝送手段と、
前記通信路を介して外部システムが物理量センサの制御を行うための指令コマンドおよび所定の情報を受信する受信手段と、
を有する物理量センサであって、
前記診断手段が、
前記受信手段により受信した前記指令コマンドに基づいて診断を実施するか否かを判定する第1判定手段と、
少なくとも1つ以上の前記所定の情報に基づいて診断を実施するか否かを判定する第2判定手段と、
前記第1判定手段及び前記第2判定手段の出力に基づいて診断を実行する診断実行手段と
を備えることを特徴とする物理量センサ。
A physical quantity detecting unit that has a movable part that is displaced according to a physical quantity, and detects a physical quantity according to the displacement of the movable part;
A diagnostic means having an active diagnostic function for diagnosing a failure of the physical quantity detecting means by causing a diagnostic displacement in the movable part ;
Transmission means for digitally transmitting the physical quantity detected by the physical quantity detection means via a communication path;
A receiving means for receiving a command command and predetermined information for the external system to control the physical quantity sensor via the communication path;
A physical quantity sensor having
The diagnostic means comprises
A first determining means for determining whether to execute a diagnosis based on the instruction command received by the receiving means,
A second determination means for determining whether to execute a diagnosis based on at least one or more of the predetermined information,
A physical quantity sensor comprising: a diagnosis execution unit that executes a diagnosis based on outputs of the first determination unit and the second determination unit.
請求項1記載の物理量センサにおいて、
前記所定の情報は、所定の電圧レベル信号、所定のパルス信号、所定の診断を許可乃至禁止する指令コマンド信号、前記物理量センサ自体の速度に応じた情報、前記物理量センサ自体の加速度に応じた情報、前記物理量センサ自体の角速度に応じた情報、前記物理量センサへの電源投入時からの経過時間に応じた情報のいずれかであることを特徴とする物理量センサ。
The physical quantity sensor according to claim 1,
The predetermined information includes a predetermined voltage level signal, a predetermined pulse signal, a command command signal that permits or prohibits a predetermined diagnosis, information according to the speed of the physical quantity sensor itself, and information according to the acceleration of the physical quantity sensor itself. The physical quantity sensor is any one of information corresponding to an angular velocity of the physical quantity sensor itself and information corresponding to an elapsed time since power-on of the physical quantity sensor.
請求項1記載の物理量センサにおいて、
前記診断実行手段は、前記第1判定手段及び第2判定手段の出力に応じて切り替わるスイッチング手段を備えることを特徴とする物理量センサ。
The physical quantity sensor according to claim 1,
The physical quantity sensor, wherein the diagnosis execution means includes a switching means that switches according to outputs of the first determination means and the second determination means.
請求項1記載の物理量センサにおいて、さらに、
前記可動部の所定の駆動周波数及び変位量を監視する監視手段と、
前記物理量検出手段が検出した物理量と前記監視手段の出力とを伝送内容に付加する監視情報追加手段とを備えることを特徴とする物理量センサ。
The physical quantity sensor according to claim 1, further comprising:
Monitoring means for monitoring a predetermined drive frequency and displacement of the movable part;
A physical quantity sensor comprising: monitoring information adding means for adding the physical quantity detected by the physical quantity detecting means and the output of the monitoring means to transmission contents.
請求項1記載の物理量センサにおいて、
前記伝送手段は、
前記通信コマンドに応じて信号処理を行う処理手段と、
前記処理手段の出力を前記監視情報追加手段の出力に付加する処理結果追加手段とを備えることを特徴とする物理量センサ。
The physical quantity sensor according to claim 1,
The transmission means includes
Processing means for performing signal processing in response to the communication command;
A physical quantity sensor comprising: processing result adding means for adding the output of the processing means to the output of the monitoring information adding means.
請求項記載の物理量センサにおいて、
前記処理結果追加手段は、前記受信手段が所定受信回数を遡って受信した通信コマンドの処理結果を伝送内容に付加することを特徴とする物理量センサ。
The physical quantity sensor according to claim 5 ,
The processing result adding means adds a processing result of a communication command received by the receiving means retroactively to a transmission content.
請求項記載の物理量センサにおいて、
前記物理量検出手段が検出した物理量とアクティブ診断の進行状況とを伝送内容に付加する診断フラグ追加手段を備えることを特徴とする物理量センサ。
The physical quantity sensor according to claim 5 ,
A physical quantity sensor comprising diagnostic flag addition means for adding the physical quantity detected by the physical quantity detection means and the progress of active diagnosis to transmission contents.
請求項1記載の物理量センサにおいて、
前記監視情報追加手段の出力に対して誤り検出を行う誤り検出手段と、
前記誤り検出手段の出力した誤り検出情報を前記監視情報追加手段の出力に付加する誤り検出情報追加手段とを備えることを特徴とする物理量センサ。
The physical quantity sensor according to claim 1,
Error detection means for performing error detection on the output of the monitoring information adding means;
A physical quantity sensor comprising: error detection information adding means for adding error detection information output by the error detecting means to output of the monitoring information adding means.
請求項記載の物理量センサにおいて、
前記監視手段は、
前記可動部の駆動周波数を監視し、前記駆動周波数が所定範囲を逸脱した際に異常状態を表す信号を出力する周波数監視手段と、
前記可動部を変位させるための変位指示量を監視し、前記変位指示量が所定範囲を逸脱した際に異常状態を表す信号を出力する指示量監視手段と、
前記可動部の変位量を監視し、前記変位量が所定範囲を逸脱した際に異常状態を表す信号を出力する変位監視手段との少なくとも一方を備えることを特徴とする物理量センサ。
The physical quantity sensor according to claim 8 ,
The monitoring means includes
Frequency monitoring means for monitoring the drive frequency of the movable part and outputting a signal indicating an abnormal state when the drive frequency deviates from a predetermined range;
An instruction amount monitoring means for monitoring a displacement instruction amount for displacing the movable part, and outputting a signal indicating an abnormal state when the displacement instruction amount deviates from a predetermined range;
A physical quantity sensor comprising: a displacement monitoring unit that monitors a displacement amount of the movable part and outputs a signal indicating an abnormal state when the displacement amount deviates from a predetermined range.
請求項記載の物理量センサにおいて、
前記監視手段は、
前記可動部の駆動方向の振動が検出方向に漏込むことにより生じる前記可動部の自己振動を抑制するサーボ制御手段と、
前記サーボ制御手段の出力を監視し、前記サーボ制御手段の出力が所定範囲を逸脱した際に異常状態を表す信号を出力する自己振動監視手段とを備えることを特徴とする物理量センサ。
The physical quantity sensor according to claim 8 ,
The monitoring means includes
Servo control means for suppressing self-vibration of the movable part caused by vibration in the driving direction of the movable part leaking in the detection direction;
A physical quantity sensor comprising: a self-vibration monitoring unit that monitors the output of the servo control unit and outputs a signal indicating an abnormal state when the output of the servo control unit deviates from a predetermined range.
請求項1記載の物理量センサにおいて、
前記診断手段は、RAMの故障診断を行い、RAMの異常状態を表す信号を出力するRAM監視手段と、EPROMに対して故障診断を行い、EPROMの異常状態を表す信号を出力するEPROM監視手段との少なくとも一方を備えることを特徴とする物理量センサ。
The physical quantity sensor according to claim 1,
The diagnostic means performs RAM fault diagnosis and outputs a signal indicating an abnormal state of the RAM, and EPROM monitoring means performs fault diagnosis on the EPROM and outputs a signal indicating the abnormal state of the EPROM. A physical quantity sensor comprising at least one of the following.
請求項1記載の物理量センサにおいて、
前記処理手段は、
診断対象を指定する診断対象指定手段と、
物理量センサの内部信号の中から観測対象を選択する観測信号指定手段とを備えることを特徴とする物理量センサ。
The physical quantity sensor according to claim 1,
The processing means includes
A diagnostic target specifying means for specifying a diagnostic target;
A physical quantity sensor comprising observation signal designating means for selecting an observation target from internal signals of the physical quantity sensor.
物理量に応じて変位する可動部を有しており、前記可動部の変位に応じて物理量を検出する物理量検出手段と、前記可動部に診断変位を生じさせて前記物理量検出手段の故障を診断するアクティブ診断機能を有する診断手段と、通信路を介して前記物理量検出手段が検出した物理量をデジタル伝送する伝送手段と、前記通信路を介して外部システムが物理量センサの制御を行うための指令コマンドおよび所定の情報を受信する受信手段と、を有する物理量センサであって、前記診断手段が、前記受信手段により受信した前記指令コマンドに基づいて診断を実施するか否かを判定する第1判定手段と、少なくとも1つ以上の前記所定の情報に基づいて診断を実施するか否かを判定する第2判定手段と、前記第1判定手段及び前記第2判定手段の出力に基づいて診断を実行する診断実行手段とを備える物理量センサに対して、物理量センサの制御を行うための指令コマンド及び診断を実施するための所定の情報を出力する物理量センサの制御装置であって、
前記指令コマンドを出力する第1制御装置と、
前記所定の情報を出力する第2制御装置とを備えることを特徴とする物理量センサ制御装置。
It has a movable part that is displaced according to a physical quantity, and a physical quantity detection unit that detects a physical quantity according to the displacement of the movable part, and a diagnosis displacement of the movable part is caused to diagnose a failure of the physical quantity detection unit A diagnostic means having an active diagnostic function; a transmission means for digitally transmitting the physical quantity detected by the physical quantity detection means via a communication path; and a command command for an external system to control the physical quantity sensor via the communication path; Receiving means for receiving predetermined information; and a first determination means for determining whether or not the diagnosis means performs diagnosis based on the command command received by the reception means. Second determination means for determining whether or not to perform diagnosis based on at least one or more of the predetermined information, the first determination means, and the second determination means The physical quantity sensor and a diagnosis execution means for executing the diagnosis based on the force, a control unit of a physical quantity sensor for outputting a predetermined information to implement the directive command and diagnostics for controlling the physical quantity sensor And
A first control device for outputting the command command;
A physical quantity sensor control device comprising: a second control device that outputs the predetermined information.
請求項13記載の物理量センサの制御装置において、
前記第2制御装置は、前記第1制御装置の故障を診断することを特徴とする物理量センサ制御装置。
The control device for a physical quantity sensor according to claim 13 ,
The physical quantity sensor control device, wherein the second control device diagnoses a failure of the first control device.
JP2008309133A 2008-12-03 2008-12-03 Physical quantity sensor and control device for physical quantity sensor Active JP5249001B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008309133A JP5249001B2 (en) 2008-12-03 2008-12-03 Physical quantity sensor and control device for physical quantity sensor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008309133A JP5249001B2 (en) 2008-12-03 2008-12-03 Physical quantity sensor and control device for physical quantity sensor

Publications (2)

Publication Number Publication Date
JP2010133806A JP2010133806A (en) 2010-06-17
JP5249001B2 true JP5249001B2 (en) 2013-07-31

Family

ID=42345241

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008309133A Active JP5249001B2 (en) 2008-12-03 2008-12-03 Physical quantity sensor and control device for physical quantity sensor

Country Status (1)

Country Link
JP (1) JP5249001B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9109901B2 (en) * 2013-03-08 2015-08-18 Freescale Semiconductor Inc. System and method for monitoring a gyroscope
JP6344165B2 (en) * 2014-09-10 2018-06-20 富士通株式会社 Electronic equipment and angular velocity information output program
JP2016095268A (en) * 2014-11-17 2016-05-26 株式会社デンソー Signal processor
JP2021071382A (en) 2019-10-31 2021-05-06 セイコーエプソン株式会社 Physical quantity sensor, electronic apparatus, and mobile body

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3729191B2 (en) * 1998-10-23 2005-12-21 トヨタ自動車株式会社 Angular velocity detector
JP2001221637A (en) * 2000-02-04 2001-08-17 Toyota Motor Corp Physical quantity detector
JP4207154B2 (en) * 2003-07-25 2009-01-14 株式会社デンソー Capacitive sensor device having inspection function, inspection method, and airbag system
JP2007178420A (en) * 2005-11-30 2007-07-12 Denso Corp Capacitive physical quantity sensor and method of its diagnosis
JP2007163143A (en) * 2005-12-09 2007-06-28 Seiko Epson Corp Adjustment method of vibrating reed
JP2007285746A (en) * 2006-04-13 2007-11-01 Matsushita Electric Ind Co Ltd Angular velocity sensor
JP4899781B2 (en) * 2006-10-23 2012-03-21 株式会社デンソー Capacitive mechanical quantity detector
JP5003101B2 (en) * 2006-10-27 2012-08-15 トヨタ自動車株式会社 Abnormality monitoring method and abnormality monitoring circuit for excitation circuit of yaw rate sensor
JP2008172656A (en) * 2007-01-15 2008-07-24 Railway Technical Res Inst Line control system and method therefor
JP2009063471A (en) * 2007-09-07 2009-03-26 Denso Corp Sensor device

Also Published As

Publication number Publication date
JP2010133806A (en) 2010-06-17

Similar Documents

Publication Publication Date Title
JP2005172662A (en) Correction diagnosis device of angular velocity sensor for vehicle
CN105818155B (en) Robot, robot system, and server
JP5249001B2 (en) Physical quantity sensor and control device for physical quantity sensor
JP6726214B2 (en) Method for monitoring an electronic control device and control device for a motor vehicle
US20070199373A1 (en) Acceleration sensor status detecting apparatus
US20110132081A1 (en) Tire Monitoring Device and System
JP2013517486A (en) Method and apparatus for monitoring frequency signals
JP2005121576A (en) Inertial sensor unit
WO2014119143A1 (en) Inertial force detection device
JP2008546083A (en) Method for model-based diagnosis of mechatronic systems
CN101799481B (en) Sensor apparatus
JP2021169986A (en) Speed reducer condition monitoring device and speed reduction device
JP2005535049A (en) Sensor, controller and method for monitoring at least one sensor
JP5927865B2 (en) Control device having sensor failure diagnosis function
KR20210064352A (en) Method and ultrasonic sensor device for operating an ultrasonic sensor of a vehicle using reduced diagnostics in the measurement mode of the ultrasonic sensor
JP2006138803A (en) Apparatus for acquiring wheel condition and method of communicating wheel condition
US7359818B2 (en) Sensor apparatus, control system having the same and offset correction method
KR101888630B1 (en) Method and system at activation of a fault code in a control system, and vehicle comprising the system
CN110954149A (en) Method for calibrating a sensor system
JP5554684B2 (en) Physical quantity detection device, network system
JP2009147555A (en) Failure prediction system for in-vehicle electronic control unit
JP6701869B2 (en) Circuit device, physical quantity detection device, electronic device and moving body
JP6505407B2 (en) Electronic controller for automobile and diagnostic method
US8125280B2 (en) Method for regulating an excited oscillation
US20170205441A1 (en) Error reporting at a pulse level lying below the power supply level

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110120

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20121211

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20121212

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130208

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130411

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20160419

Year of fee payment: 3