JP2019002842A - Control state setting device and sensor control system - Google Patents

Control state setting device and sensor control system Download PDF

Info

Publication number
JP2019002842A
JP2019002842A JP2017118875A JP2017118875A JP2019002842A JP 2019002842 A JP2019002842 A JP 2019002842A JP 2017118875 A JP2017118875 A JP 2017118875A JP 2017118875 A JP2017118875 A JP 2017118875A JP 2019002842 A JP2019002842 A JP 2019002842A
Authority
JP
Japan
Prior art keywords
heater
control
sensor
state
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2017118875A
Other languages
Japanese (ja)
Other versions
JP6871080B2 (en
Inventor
潤一郎 三ツ野
Junichiro Mitsuno
潤一郎 三ツ野
雄三 樋口
Yuzo Higuchi
雄三 樋口
秀俊 牧野
Hidetoshi Makino
秀俊 牧野
阿部 悟
Satoru Abe
悟 阿部
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.)
Niterra Co Ltd
Original Assignee
NGK Spark Plug Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NGK Spark Plug Co Ltd filed Critical NGK Spark Plug Co Ltd
Priority to JP2017118875A priority Critical patent/JP6871080B2/en
Publication of JP2019002842A publication Critical patent/JP2019002842A/en
Application granted granted Critical
Publication of JP6871080B2 publication Critical patent/JP6871080B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Measuring Oxygen Concentration In Cells (AREA)
  • Combined Controls Of Internal Combustion Engines (AREA)

Abstract

To provide a control state setting device capable of setting state detection timing of a sensor element to a period when the control state of a heater part is taken into consideration even when controlling the heater part using an individual heater control part different from a sensor control part in controlling the sensor having the sensor element and heater part.SOLUTION: A control state setting device sets, when setting a control state of a sensor by a sensor control part, a heater control mode command and an element state detection mode command by a mode setting part based upon a pulse electrification signal to a heater part by an individual heater control part. Consequently, an element state detection part of the sensor control part can sets a state detection period of the sensor element according to an actual heater control state. This control state setting device can properly set the state detection period of the sensor element by the element state detection part even when configured to control the heater part of the sensor under heater control not by an internal heater control part of the sensor control part, but by a separately provided individual heater control part.SELECTED DRAWING: Figure 5

Description

本開示は、制御状態設定装置およびセンサ制御システムに関する。   The present disclosure relates to a control state setting device and a sensor control system.

センサ素子およびヒータ部を備えるセンサを制御するセンサ制御部が知られている。このようなセンサ制御部によるセンサの制御状態を設定する制御状態設定装置が知られている。また、センサ制御部および制御状態設定装置を備えるセンサ制御システムが知られている(特許文献1)。   A sensor control unit that controls a sensor including a sensor element and a heater unit is known. A control state setting device for setting the control state of a sensor by such a sensor control unit is known. Also, a sensor control system including a sensor control unit and a control state setting device is known (Patent Document 1).

センサ制御部としては、センサ素子の状態を検出する素子状態検出部と、ヒータ部を制御するヒータ制御部と、を備えるものがある。このような構成のセンサ制御部は、外部からのヒータ制御モード指令および素子状態検出モード指令に基づいて、センサ素子の状態を検出して、その検出結果に基づいてヒータ部の発熱状態を制御するように構成されている。   Some sensor control units include an element state detection unit that detects the state of the sensor element and a heater control unit that controls the heater unit. The sensor control unit having such a configuration detects the state of the sensor element based on the heater control mode command and the element state detection mode command from the outside, and controls the heat generation state of the heater unit based on the detection result. It is configured as follows.

制御状態設定装置は、センサ制御部に対してヒータ制御モード指令および素子状態検出モード指令を送信することで、センサ制御部によるセンサの制御状態を設定するように構成されている。   The control state setting device is configured to set the control state of the sensor by the sensor control unit by transmitting a heater control mode command and an element state detection mode command to the sensor control unit.

特開2013−210361号公報JP 2013-210361 A

しかし、センサの用途によっては、センサ制御部のみでセンサ素子およびヒータ部を制御する構成ではなく、センサ制御部を用いてセンサ素子を制御するとともに、センサ制御部とは別に設けられた個別ヒータ制御部を用いてヒータ部を制御する構成を採用することがある。   However, depending on the application of the sensor, the sensor element and the heater unit are not controlled only by the sensor control unit, and the sensor element is controlled using the sensor control unit, and the individual heater control provided separately from the sensor control unit A configuration may be employed in which the heater unit is controlled using the unit.

このような構成においては、個別ヒータ制御部がヒータ部の制御を行うため、センサ制御部は、実際のヒータ部の制御状態を判断できず、センサ素子の状態検出タイミングをヒータ部の制御状態が考慮された時期に設定することが困難となる。   In such a configuration, since the individual heater control unit controls the heater unit, the sensor control unit cannot determine the actual control state of the heater unit, and the sensor unit state detection timing is determined by the control state of the heater unit. It becomes difficult to set the time when it is considered.

そこで、本開示は、センサ素子およびヒータ部を備えるセンサの制御において、センサ制御部とは別の個別ヒータ制御部を用いてヒータ部を制御する場合でも、センサ素子の状態検出タイミングをヒータ部の制御状態が考慮された時期に設定できる制御状態判定装置を提供すること、およびそのような制御状態判定装置を備えるセンサ制御システムを提供することを目的とする。   Therefore, in the present disclosure, in the control of the sensor including the sensor element and the heater unit, even when the heater unit is controlled using an individual heater control unit different from the sensor control unit, the state detection timing of the sensor element is set in the heater unit. It is an object of the present invention to provide a control state determination device that can be set at a time when the control state is considered, and to provide a sensor control system including such a control state determination device.

本開示の一態様は、センサ制御部によるセンサの制御状態を設定する制御状態設定装置であって、モード設定部を備える制御状態設定装置である。
センサ制御部は、センサ素子およびヒータ部を備えるセンサを制御するように構成されている。センサ制御部は、素子状態検出部と、内蔵ヒータ制御部と、を備える。
One aspect of the present disclosure is a control state setting device that sets a control state of a sensor by a sensor control unit, and is a control state setting device that includes a mode setting unit.
The sensor control unit is configured to control a sensor including a sensor element and a heater unit. The sensor control unit includes an element state detection unit and a built-in heater control unit.

素子状態検出部は、外部からのヒータ制御モード指令および素子状態検出モード指令に基づいて、ヒータ制御モード指令および素子状態検出モード指令がいずれもモードON指令である場合に、センサ素子の状態を検出するように構成されている。内蔵ヒータ制御部は、ヒータ制御モード指令に基づいて、ヒータ制御モード指令がモードON指令である場合に、ヒータ部を制御するように構成されている。   The element state detection unit detects the state of the sensor element when both the heater control mode command and the element state detection mode command are mode ON commands based on the heater control mode command and the element state detection mode command from the outside. Is configured to do. The built-in heater control unit is configured to control the heater unit when the heater control mode command is a mode ON command based on the heater control mode command.

ヒータ部は、内蔵ヒータ制御部ではなく、センサ制御部とは別に設けられた個別ヒータ制御部から出力されるパルス通電信号により通電制御される構成である。
モード設定部は、センサ制御部に対して出力するヒータ制御モード指令および素子状態検出モード指令を、個別ヒータ制御部によるヒータ部へのパルス通電信号に基づいて設定するように構成されている。モード設定部は、個別ヒータ制御部から出力される前記パルス通電信号のうちで予め定められた特定の通電状態を表す検出トリガ情報を受け取ると、センサ制御部に対して出力するヒータ制御モード指令および素子状態検出モード指令をそれぞれON状態に設定する。
The heater unit is configured not to be a built-in heater control unit, but to be energized and controlled by a pulse energization signal output from an individual heater control unit provided separately from the sensor control unit.
The mode setting unit is configured to set a heater control mode command and an element state detection mode command output to the sensor control unit based on a pulse energization signal to the heater unit by the individual heater control unit. When the mode setting unit receives detection trigger information representing a specific energization state determined in advance among the pulse energization signals output from the individual heater control unit, a heater control mode command output to the sensor control unit and Each element state detection mode command is set to the ON state.

この制御状態設定装置においては、モード設定部が個別ヒータ制御部によるヒータ部へのパルス通電信号に基づいてヒータ制御モード指令および素子状態検出モード指令を設定するため、センサ制御部の素子状態検出部は、実際のヒータ制御状態に応じてセンサ素子の状態検出時期を設定できる。   In this control state setting device, since the mode setting unit sets the heater control mode command and the element state detection mode command based on the pulse energization signal to the heater unit by the individual heater control unit, the element state detection unit of the sensor control unit The sensor element state detection timing can be set according to the actual heater control state.

このような制御状態設定装置によれば、センサ制御部の内蔵ヒータ制御部によるヒータ制御ではなく、別に設けられた個別ヒータ制御部によるヒータ制御によりセンサのヒータ部を制御する構成であっても、素子状態検出部によるセンサ素子の状態検出時期を適切に設定できる。このため、この制御状態設定装置を用いることで、個別ヒータ制御部がヒータ制御を行う構成であっても、内蔵ヒータ制御部を備えるセンサ制御部を改造することなく、そのままセンサ素子の状態検出が可能となる。   According to such a control state setting device, the heater unit of the sensor is controlled not by the heater control by the built-in heater control unit of the sensor control unit but by the heater control by the separately provided individual heater control unit. The state detection timing of the sensor element by the element state detection unit can be set appropriately. For this reason, by using this control state setting device, even if the individual heater control unit performs the heater control, the state of the sensor element can be detected as it is without modifying the sensor control unit including the built-in heater control unit. It becomes possible.

よって、この制御状態設定装置によれば、センサ素子およびヒータ部を備えるセンサの制御において、センサ制御部とは別の個別ヒータ制御部を用いてヒータ部を制御する場合でも、センサ素子の状態検出タイミングを個別ヒータ制御部によるヒータ部の制御状態(パルス通電信号による通電制御状態)が考慮された時期に設定できる。つまり、この制御状態設定装置によれば、センサ制御部とは別の個別ヒータ制御部を用いてヒータ部を制御する場合でも、内蔵ヒータ制御部を備えるセンサ制御部を用いてセンサを制御することが可能となる。   Therefore, according to this control state setting device, in the control of the sensor including the sensor element and the heater unit, even when the heater unit is controlled using an individual heater control unit different from the sensor control unit, the state detection of the sensor element is performed. The timing can be set to a time when the control state of the heater unit by the individual heater control unit (the energization control state by the pulse energization signal) is considered. That is, according to this control state setting device, even when the heater unit is controlled using an individual heater control unit different from the sensor control unit, the sensor is controlled using the sensor control unit including the built-in heater control unit. Is possible.

次に、上記の制御状態設定装置においては、検出トリガ情報は、パルス通電信号におけるONからOFFへの切り替え時期を示すOFFエッジ信号であってもよい。
このように、OFFエッジ信号を検出トリガ情報として利用することで、モード設定部は、個別ヒータ制御部からヒータ部に出力されるパルス通電信号がOFF状態である時期を判定できる。このため、モード設定部は、検出トリガ情報がOFF状態である時期に基づいて、ヒータ制御モード指令および素子状態検出モード指令をモードON指令に設定できるとともに、素子状態検出部によるセンサ素子の状態検出タイミングを設定できる。
Next, in the control state setting device described above, the detection trigger information may be an OFF edge signal indicating a switching time from ON to OFF in the pulse energization signal.
Thus, by using the OFF edge signal as detection trigger information, the mode setting unit can determine when the pulse energization signal output from the individual heater control unit to the heater unit is in the OFF state. Therefore, the mode setting unit can set the heater control mode command and the element state detection mode command to the mode ON command based on the time when the detection trigger information is in the OFF state, and the sensor state detection by the element state detection unit. Timing can be set.

これにより、素子状態検出部は、実際のヒータ制御状態に基づき設定された適切なタイミングで、センサ素子の状態検出を実行できる。
なお、センサ素子の状態検出としては、例えば、センサ素子のインピーダンス測定などが挙げられる。
Thereby, the element state detection part can perform the state detection of a sensor element at the appropriate timing set based on the actual heater control state.
Examples of the sensor element state detection include measurement of impedance of the sensor element.

次に、上記の制御状態設定装置においては、センサ制御部は、内蔵ヒータ制御部によるヒータ部への供給電力量の指令値である電力指令値を外部から受け取るように構成されており、制御状態設定装置は、内蔵ヒータ制御部がヒータ部に供給可能な供給電力量の範囲のうち最小値を、電力指令値としてセンサ制御部に対して出力する電力指令値出力部を備えてもよい。   Next, in the above control state setting device, the sensor control unit is configured to receive from the outside a power command value that is a command value of the amount of power supplied to the heater unit by the built-in heater control unit. The setting device may include a power command value output unit that outputs, as a power command value, a minimum value in a range of power supply that can be supplied to the heater unit by the built-in heater control unit to the sensor control unit.

制御状態設定装置は、このような電力指令値出力部を備えることで、センサ制御部の内蔵ヒータ制御部による仮想的制御において、ヒータ部への通電をPWM制御する場合のヒータ部への通電時間を最短に設定できる。これにより、内蔵ヒータ制御部による仮想的なヒータ制御が開始された後、ヒータ部への通電が停止されるまでの時間を最短に設定できるため、ヒータ通電停止時における素子状態検出部によるセンサ素子の状態検出タイミングを早い時期に設定できる。   By providing such a power command value output unit, the control state setting device provides energization time to the heater unit when PWM control is performed on the heater unit in virtual control by the built-in heater control unit of the sensor control unit. Can be set to the shortest. As a result, it is possible to set the time until the energization to the heater unit is stopped after the virtual heater control by the built-in heater control unit is started, so that the sensor element by the element state detection unit when the heater energization is stopped The state detection timing can be set to an early time.

これにより、制御状態設定装置は、個別ヒータ制御部から検出トリガ情報を受け取った後、センサ制御部(詳細には、素子状態検出部)によるセンサ素子の状態検出までの所要時間を最短に設定することができる。   As a result, the control state setting device sets the minimum time required to detect the state of the sensor element by the sensor control unit (specifically, the element state detection unit) after receiving the detection trigger information from the individual heater control unit. be able to.

次に、上記の制御状態設定装置においては、素子状態検出部は、ヒータ制御モード指令および素子状態検出モード指令の両者がモードOFF指令からモードON指令に変更されると、センサ素子の状態を検出し、その後、ヒータ制御モード指令および素子状態検出モード指令がいずれもモードON指令である期間中は、予め定められた検出周期でセンサ素子の状態を検出してもよい。   Next, in the control state setting device, the element state detection unit detects the state of the sensor element when both the heater control mode command and the element state detection mode command are changed from the mode OFF command to the mode ON command. Then, during the period in which both the heater control mode command and the element state detection mode command are mode ON commands, the state of the sensor element may be detected at a predetermined detection cycle.

制御状態設定装置は、センサ素子の状態検出タイミングを表す個別信号をセンサ制御部に出力する構成を採ることなく、ヒータ制御モード指令および素子状態検出モード指令の切替タイミング(モードOFF指令からモードON指令に変更するタイミング)を用いて、センサ素子の状態検出タイミングをセンサ制御部に伝達できる。   The control state setting device does not employ a configuration in which an individual signal indicating the state detection timing of the sensor element is output to the sensor control unit, and the switching timing between the heater control mode command and the element state detection mode command (from the mode OFF command to the mode ON command). The timing for detecting the state of the sensor element can be transmitted to the sensor control unit.

これにより、センサ制御部の改造が不要となるため、制御状態設定装置は、既存のセンサ制御部を用いつつ、センサ素子の状態検出タイミングを設定することが可能となる。
なお、「ヒータ制御モード指令および素子状態検出モード指令の両者がモードOFF指令からモードON指令に変更される」とは、2つの指令が同時に変更される場合に限られず、異なるタイミングでの変更あっても2つの指令がいずれもモードON指令に変更された場合も含む概念である。
This eliminates the need for modification of the sensor control unit, so that the control state setting device can set the state detection timing of the sensor element while using the existing sensor control unit.
Note that “the heater control mode command and the element state detection mode command are both changed from the mode OFF command to the mode ON command” is not limited to the case where the two commands are changed at the same time. However, it is a concept including the case where both of the two commands are changed to the mode ON command.

本開示の他の一態様は、センサ制御部と、制御状態設定装置と、を備えるセンサ制御システムであって、制御状態設定装置が上述の制御状態設定装置である。
センサ制御部は、センサ素子およびヒータ部を備えるセンサを制御するように構成されている。センサ制御部は、素子状態検出部と、内蔵ヒータ制御部と、を備える。素子状態検出部は、外部からのヒータ制御モード指令および素子状態検出モード指令に基づいて、ヒータ制御モード指令および素子状態検出モード指令がいずれもモードON指令である場合に、センサ素子の状態を検出するように構成されている。内蔵ヒータ制御部は、ヒータ制御モード指令に基づいて、ヒータ制御モード指令がモードON指令である場合に、ヒータ部を制御するように構成されている。
Another aspect of the present disclosure is a sensor control system including a sensor control unit and a control state setting device, and the control state setting device is the control state setting device described above.
The sensor control unit is configured to control a sensor including a sensor element and a heater unit. The sensor control unit includes an element state detection unit and a built-in heater control unit. The element state detection unit detects the state of the sensor element when both the heater control mode command and the element state detection mode command are mode ON commands based on the heater control mode command and the element state detection mode command from the outside. Is configured to do. The built-in heater control unit is configured to control the heater unit when the heater control mode command is a mode ON command based on the heater control mode command.

ヒータ部は、内蔵ヒータ制御部ではなく、センサ制御部とは別に設けられた個別ヒータ制御部から出力されるパルス通電信号により通電制御される構成である。
このセンサ制御システムは、上述の制御状態設定装置を備えることから、センサ素子およびヒータ部を備えるセンサの制御において、センサ制御部とは別の個別ヒータ制御部を用いてヒータ部を制御する場合でも、内蔵ヒータ制御部を備えるセンサ制御部を用いてセンサを制御することが可能となる。
The heater unit is configured not to be a built-in heater control unit, but to be energized and controlled by a pulse energization signal output from an individual heater control unit provided separately from the sensor control unit.
Since this sensor control system includes the above-described control state setting device, even when the heater unit is controlled using an individual heater control unit different from the sensor control unit in the control of the sensor including the sensor element and the heater unit. The sensor can be controlled using the sensor control unit including the built-in heater control unit.

中央演算処理装置およびセンサ制御装置を備えるセンサ制御システムの概略構成図である。It is a schematic block diagram of a sensor control system provided with a central processing unit and a sensor control apparatus. ガスセンサ素子およびヒータを備えるガスセンサの概略構成図である。It is a schematic block diagram of a gas sensor provided with a gas sensor element and a heater. モード設定処理の処理内容を表すフローチャートである。It is a flowchart showing the processing content of a mode setting process. Rpvs測定判定処理の処理内容を表すフローチャートである。It is a flowchart showing the processing content of a Rpvs measurement determination process. センサ制御システムにおける各部の状態を表すタイミングチャートである。It is a timing chart showing the state of each part in a sensor control system. モード設定処理の処理内容を表すフローチャートである。It is a flowchart showing the processing content of a mode setting process. 仮想ヒータ制御処理の処理内容を表すフローチャートである。It is a flowchart showing the processing content of a virtual heater control process. ヒータ通電制御処理の処理内容を表すフローチャートである。It is a flowchart showing the processing content of heater energization control processing. Rpvs測定パルス制御処理の処理内容を表すフローチャートである。It is a flowchart showing the processing content of Rpvs measurement pulse control processing.

以下、本開示が適用された実施形態について、図面を用いて説明する。
尚、本開示は、以下の実施形態に何ら限定されるものではなく、本開示の技術的範囲に属する限り種々の形態を採り得ることはいうまでもない。
Hereinafter, embodiments to which the present disclosure is applied will be described with reference to the drawings.
In addition, this indication is not limited to the following embodiment at all, and it cannot be overemphasized that various forms may be taken as long as it belongs to the technical scope of this indication.

[1.第1実施形態]
[1−1.全体構成]
第1実施形態として、ガスセンサ5を制御するセンサ制御システム1について、図1を用いて説明する。
[1. First Embodiment]
[1-1. overall structure]
As a first embodiment, a sensor control system 1 that controls a gas sensor 5 will be described with reference to FIG.

ガスセンサ5は、内燃機関の排気管に設けられており、ガスセンサ素子5aおよびヒータ5bを備えている。ガスセンサ素子5aは、測定対象ガス(排気ガスなど)における特定ガス濃度(酸素濃度)を検出するように構成されている。ヒータ5bは、外部からの通電により発熱する発熱抵抗体5c(図2参照)を備えており、ガスセンサ素子5aを加熱するように構成されている。   The gas sensor 5 is provided in an exhaust pipe of the internal combustion engine, and includes a gas sensor element 5a and a heater 5b. The gas sensor element 5a is configured to detect a specific gas concentration (oxygen concentration) in a measurement target gas (exhaust gas or the like). The heater 5b includes a heating resistor 5c (see FIG. 2) that generates heat when energized from the outside, and is configured to heat the gas sensor element 5a.

センサ制御システム1は、中央演算処理装置2(MCU2)と、センサ制御装置3と、ヒータ通電制御回路6と、を備える。
中央演算処理装置2は、センサ制御装置3およびヒータ通電制御回路6に接続されており、各種制御処理を実行するように構成されている。センサ制御装置3は、ガスセンサ素子5aの各種特性(インピーダンス、セルの電圧など)を検出するように構成されている。ヒータ通電制御回路6は、ヒータ5bの発熱量を調整するためにヒータ5bの通電を制御するように構成されている。
The sensor control system 1 includes a central processing unit 2 (MCU 2), a sensor control device 3, and a heater energization control circuit 6.
The central processing unit 2 is connected to the sensor control unit 3 and the heater energization control circuit 6 and is configured to execute various control processes. The sensor control device 3 is configured to detect various characteristics (impedance, cell voltage, etc.) of the gas sensor element 5a. The heater energization control circuit 6 is configured to control energization of the heater 5b in order to adjust the amount of heat generated by the heater 5b.

センサ制御装置3は、ガスセンサ5のうちガスセンサ素子5aに接続されている。センサ制御装置3は、ガスセンサ素子5aのインピーダンスに応じて変化する素子インピーダンス信号Srpvsを検出し、検出した素子インピーダンス信号Srpvsを中央演算処理装置2に対して出力する。センサ制御装置3は、素子インピーダンス信号Srpvsの他に、ガスセンサ素子5aを用いて検出したガス検出信号Vipを中央演算処理装置2に対して出力する機能を有している。なお、ガス検出信号Vipは、ガスセンサ素子5aが検出する特定ガスのガス濃度に応じて変化する。   The sensor control device 3 is connected to the gas sensor element 5 a of the gas sensor 5. The sensor control device 3 detects an element impedance signal Srpvs that changes according to the impedance of the gas sensor element 5a, and outputs the detected element impedance signal Srpvs to the central processing unit 2. The sensor control device 3 has a function of outputting a gas detection signal Vip detected using the gas sensor element 5a to the central processing unit 2 in addition to the element impedance signal Srpvs. The gas detection signal Vip changes according to the gas concentration of the specific gas detected by the gas sensor element 5a.

ヒータ通電制御回路6は、ヒータ5bに接続されており、ガスセンサ素子5aを目標温度に設定するためにヒータ5bへの供給電力量を制御するヒータ制御処理を実行する。ヒータ通電制御回路6は、ヒータ制御処理において、例えば、ヒータ5bに印加するヒータ電圧Vhのデューティ比(換言すれば、ヒータ5bに供給するパルス信号のデューティ比)を通電制御することで、ヒータ5bへの供給電力量を制御するとともに、ガスセンサ素子5aを目標温度に近づける制御を行う。ヒータ通電制御回路6は、ヒータ5bに印加するヒータ電圧Vhの状態を表すヒータ電圧信号Svhを、中央演算処理装置2に対して出力する。   The heater energization control circuit 6 is connected to the heater 5b, and executes a heater control process for controlling the amount of power supplied to the heater 5b in order to set the gas sensor element 5a to a target temperature. In the heater control process, the heater energization control circuit 6 controls the energization of, for example, the duty ratio of the heater voltage Vh applied to the heater 5b (in other words, the duty ratio of the pulse signal supplied to the heater 5b). In addition to controlling the amount of power supplied to the gas sensor, control is performed to bring the gas sensor element 5a closer to the target temperature. The heater energization control circuit 6 outputs a heater voltage signal Svh representing the state of the heater voltage Vh applied to the heater 5b to the central processing unit 2.

中央演算処理装置2は、CPU、RAM、ROM、I/Oインタフェース等を備えるマイクロコンピュータ2a(マイコン2a)を主体として構成されている。中央演算処理装置2は、各部から受信した各種情報を用いて各種制御処理を実行する。   The central processing unit 2 is mainly composed of a microcomputer 2a (microcomputer 2a) having a CPU, RAM, ROM, I / O interface and the like. The central processing unit 2 executes various control processes using various information received from each unit.

例えば、中央演算処理装置2のマイコン2aは、センサ制御装置3から受信した素子インピーダンス信号Srpvsを用いてガスセンサ素子5aの温度を検出する温度検出処理や、センサ制御装置3から受信したガス検出信号Vipに基づき、測定対象ガス(排気ガスなど)における特定ガス濃度(酸素濃度)を検出するガス濃度検出処理を実行する。   For example, the microcomputer 2a of the central processing unit 2 detects the temperature of the gas sensor element 5a using the element impedance signal Srpvs received from the sensor control device 3, or the gas detection signal Vip received from the sensor control device 3. Based on the above, a gas concentration detection process for detecting a specific gas concentration (oxygen concentration) in the measurement target gas (exhaust gas or the like) is executed.

また、中央演算処理装置2のマイコン2aは、センサ制御装置3に対して出力する仮想ヒータ制御モード指令ShおよびRpvs測定機能指令Srを設定するモード設定処理を実行する。中央演算処理装置2のマイコン2aは、ヒータ通電制御回路6から受信したヒータ電圧信号Svhに基づいて、仮想ヒータ制御モード指令ShおよびRpvs測定機能指令Srを設定することで、センサ制御装置3によるガスセンサ素子5aの素子インピーダンスRpvsの検出時期を制御する。   Further, the microcomputer 2a of the central processing unit 2 executes a mode setting process for setting the virtual heater control mode command Sh and the Rpvs measurement function command Sr to be output to the sensor control device 3. The microcomputer 2a of the central processing unit 2 sets the virtual heater control mode command Sh and the Rpvs measurement function command Sr based on the heater voltage signal Svh received from the heater energization control circuit 6, whereby the gas sensor by the sensor control device 3 The detection timing of the element impedance Rpvs of the element 5a is controlled.

[1−2.ガスセンサ]
ガスセンサ5は、図2に示すように、板型のガスセンサ素子5aと板型のヒータ5bとが積層されて構成されている。なお、ガスセンサ素子5aとヒータ5bとの間には、補強板30が備えられている。
[1-2. Gas sensor]
As shown in FIG. 2, the gas sensor 5 is configured by laminating a plate-type gas sensor element 5a and a plate-type heater 5b. A reinforcing plate 30 is provided between the gas sensor element 5a and the heater 5b.

ガスセンサ素子5aは、ポンプセル14と、多孔質拡散層18と、起電力セル24と、を積層することにより構成されている。
ポンプセル14は、酸素イオン伝導性固体電解質体である部分安定化ジルコニア(ZrO)により形成され、その表面と裏面のそれぞれに主として白金で形成された多孔質電極12,16を有している。なお多孔質電極12は、多孔質状の保護層15に覆われており、保護層15は、多孔質電極12の被毒を防止するための被毒防止層として備えられている。
The gas sensor element 5 a is configured by stacking a pump cell 14, a porous diffusion layer 18, and an electromotive force cell 24.
The pump cell 14 is formed of partially stabilized zirconia (ZrO 2 ), which is an oxygen ion conductive solid electrolyte body, and has porous electrodes 12 and 16 mainly formed of platinum on the front and back surfaces thereof. The porous electrode 12 is covered with a porous protective layer 15, and the protective layer 15 is provided as a poisoning prevention layer for preventing the porous electrode 12 from being poisoned.

起電力セル24は、同じく酸素イオン伝導性固体電解質体である部分安定化ジルコニア(ZrO)により形成され、その表面と裏面のそれぞれに主として白金で形成された多孔質電極22,28を有している。 The electromotive force cell 24 is formed of partially stabilized zirconia (ZrO 2 ), which is also an oxygen ion conductive solid electrolyte, and has porous electrodes 22 and 28 mainly formed of platinum on each of the front and back surfaces thereof. ing.

ポンプセル14のうち、中空の拡散室20に臨む多孔質電極16と、起電力セル24のうちで中空の拡散室20に臨む多孔質電極22とは、互いに導通されるとともに、ガスセンサ素子5aの端子COMに接続されている。端子COMは、通電経路42および抵抗器Rを介して、センサ制御装置3のVcent点に接続されている(図1参照)。   The porous electrode 16 facing the hollow diffusion chamber 20 in the pump cell 14 and the porous electrode 22 facing the hollow diffusion chamber 20 in the electromotive force cell 24 are electrically connected to each other and are connected to the terminals of the gas sensor element 5a. Connected to COM. The terminal COM is connected to the Vcent point of the sensor control device 3 through the energization path 42 and the resistor R (see FIG. 1).

ポンプセル14の多孔質電極12は、ガスセンサ素子5aの端子Ip+に接続され、起電力セル24の多孔質電極28は、ガスセンサ素子5aの端子Vs+に接続されている。端子Ip+は、センサ制御装置3における第2オペアンプOP2の出力端子に接続され、端子Vs+は、通電経路40を介して、センサ制御装置3における第4オペアンプOP4の非反転入力端子+に接続されている(図1参照)。   The porous electrode 12 of the pump cell 14 is connected to the terminal Ip + of the gas sensor element 5a, and the porous electrode 28 of the electromotive force cell 24 is connected to the terminal Vs + of the gas sensor element 5a. The terminal Ip + is connected to the output terminal of the second operational amplifier OP2 in the sensor control device 3, and the terminal Vs + is connected to the non-inverting input terminal + of the fourth operational amplifier OP4 in the sensor control device 3 via the energization path 40. (See FIG. 1).

補強板30は、起電力セル24の多孔質電極28を閉塞しつつ、多孔質電極28の内部に基準酸素室26を形成するように、起電力セル24に積層されている。
ポンプセル14と起電力セル24との間には、多孔質拡散層18により包囲された拡散室20が形成されている。即ち、この拡散室20は、多孔質拡散層18を介して測定ガス雰囲気と連通されている。
The reinforcing plate 30 is stacked on the electromotive force cell 24 so as to form the reference oxygen chamber 26 inside the porous electrode 28 while closing the porous electrode 28 of the electromotive force cell 24.
A diffusion chamber 20 surrounded by a porous diffusion layer 18 is formed between the pump cell 14 and the electromotive force cell 24. That is, the diffusion chamber 20 is communicated with the measurement gas atmosphere via the porous diffusion layer 18.

ヒータ5bは、補強板30を介して、ガスセンサ素子5a(ポンプセル14、起電力セル24)と共に一体化されている。ヒータ5bは、導体からなる発熱抵抗体5cを一対のアルミナシート83,85にて挟み込んだ構成である。ヒータ5b(詳細には、発熱抵抗体5c)は、ヒータ通電制御回路6に接続されており、通電により発熱することでポンプセル14および起電力セル24を加熱する。ヒータ5bの加熱によりポンプセル14および起電力セル24が活性化することで、ガスセンサ素子5aは、ガス検出(酸素濃度検出)が可能となる。   The heater 5b is integrated with the gas sensor element 5a (pump cell 14 and electromotive force cell 24) via the reinforcing plate 30. The heater 5 b has a configuration in which a heating resistor 5 c made of a conductor is sandwiched between a pair of alumina sheets 83 and 85. The heater 5b (specifically, the heating resistor 5c) is connected to the heater energization control circuit 6, and heats the pump cell 14 and the electromotive force cell 24 by generating heat by energization. When the pump cell 14 and the electromotive force cell 24 are activated by the heating of the heater 5b, the gas sensor element 5a can perform gas detection (oxygen concentration detection).

[1−3.センサ制御装置]
次に、センサ制御装置3によるガスセンサ素子5aを用いた酸素濃度の測定動作について説明する。
[1-3. Sensor control device]
Next, the oxygen concentration measurement operation using the gas sensor element 5a by the sensor control device 3 will be described.

図1に示すように、センサ制御装置3は、定電流源回路62より起電力セル24に一定の微小電流Icpを流しつつ、起電力セル24の両端に発生する電圧Vsが450mVになるように、ポンプセル14に流すポンプ電流Ipを制御して、拡散室20における酸素の汲み入れ、または汲み出しを行う。つまり、起電力セル24の両端に発生する電圧Vsが450mVになるように、ポンプセル14を用いて拡散室20の酸素濃度を調整する。   As shown in FIG. 1, the sensor control device 3 causes a constant minute current Icp to flow from the constant current source circuit 62 to the electromotive force cell 24 so that the voltage Vs generated at both ends of the electromotive force cell 24 becomes 450 mV. The pump current Ip flowing through the pump cell 14 is controlled to pump oxygen in or out of the diffusion chamber 20. That is, the oxygen concentration in the diffusion chamber 20 is adjusted using the pump cell 14 so that the voltage Vs generated at both ends of the electromotive force cell 24 becomes 450 mV.

ポンプセル14に流れるポンプ電流Ipの電流値及び電流方向は、排気ガス中の酸素濃度(空燃比)に応じて変化することから、このポンプ電流Ipに基づいて排気ガス中の酸素濃度を算出することができる。なお、起電力セル24に対して、拡散室20の酸素を多孔質電極28の側に汲み出す方向に微小電流Icpを流すことで、基準酸素室26は内部酸素基準源として機能する。   Since the current value and current direction of the pump current Ip flowing through the pump cell 14 change according to the oxygen concentration (air-fuel ratio) in the exhaust gas, the oxygen concentration in the exhaust gas is calculated based on this pump current Ip. Can do. The reference oxygen chamber 26 functions as an internal oxygen reference source by flowing a minute current Icp to the electromotive force cell 24 in the direction of pumping out oxygen from the diffusion chamber 20 to the porous electrode 28 side.

センサ制御装置3は、定電流源回路62のほか、第1オペアンプOP1から第5オペアンプOP5、第1スイッチSW1から第3スイッチSW3、PID制御回路69などを備えて構成されている。そして、定電流源回路62、起電力セル24、抵抗器Rは、この順に接続されて、微小電流Icpを流す電流路を構成している。   In addition to the constant current source circuit 62, the sensor control device 3 includes a first operational amplifier OP1 to a fifth operational amplifier OP5, a first switch SW1 to a third switch SW3, a PID control circuit 69, and the like. The constant current source circuit 62, the electromotive force cell 24, and the resistor R are connected in this order to form a current path through which the minute current Icp flows.

第2オペアンプOP2は、一方の入力端子がVcent点に接続され、他方の入力端子には基準電圧+3.6Vが印加され、出力端子はポンプセル14の端子Ip+に接続されている。PID制御回路69は、第1オペアンプOP1を介して接続された起電力セル24の端子Vs+の電位とVcent点における電位との電位差が450mVとなるように、ポンプ電流Ipの大きさをPID制御する。具体的には、PID制御回路69にて、目標制御電圧(450mV)と起電力セル24の両端に発生する電圧Vsとの偏差がPID演算され、第2オペアンプOP2にフィードバックされることで、第2オペアンプOP2は、ポンプセル14にポンプ電流Ipを流す。   The second operational amplifier OP2 has one input terminal connected to the Vcent point, the other input terminal applied with a reference voltage + 3.6V, and an output terminal connected to the terminal Ip + of the pump cell 14. The PID control circuit 69 PID-controls the magnitude of the pump current Ip so that the potential difference between the potential of the terminal Vs + of the electromotive force cell 24 connected via the first operational amplifier OP1 and the potential at the Vcent point is 450 mV. . Specifically, in the PID control circuit 69, the deviation between the target control voltage (450 mV) and the voltage Vs generated at both ends of the electromotive force cell 24 is PID-calculated and fed back to the second operational amplifier OP2. The two operational amplifier OP2 causes the pump current Ip to flow through the pump cell 14.

センサ制御装置3は、ポンプ電流Ipの大きさを検出し、電圧信号に変換する検出抵抗R1と、この検出抵抗R1の両端電圧(電位Vcentと電位Vpidとの差分)を差動増幅してガス検出信号(Vip信号)として出力する差動増幅回路61とを備えている。このガス検出信号(Vip信号)は、ガス検出信号出力端子43から中央演算処理装置2に対して出力される。   The sensor control device 3 detects the magnitude of the pump current Ip, converts it into a voltage signal, and differentially amplifies the voltage across the detection resistor R1 (difference between the potential Vcent and the potential Vpid) to generate gas. And a differential amplifier circuit 61 that outputs a detection signal (Vip signal). This gas detection signal (Vip signal) is output from the gas detection signal output terminal 43 to the central processing unit 2.

中央演算処理装置2(マイコン2a)は、ガス検出信号(Vip信号)を図示しないA/D変換回路にてデジタル値に変換した後に、保持しているマップまたは計算式に基づき、ガス検出信号(Vip信号)に対応する酸素濃度値を算出する酸素濃度算出処理を実行する。   The central processing unit 2 (the microcomputer 2a) converts the gas detection signal (Vip signal) into a digital value by an A / D conversion circuit (not shown), and then, based on the map or calculation formula held, the gas detection signal ( An oxygen concentration calculation process for calculating an oxygen concentration value corresponding to the (Vip signal) is executed.

次に、センサ制御装置3における起電力セル24の素子インピーダンス(素子温度)測定動作について説明する。
センサ制御装置3において、第1オペアンプOP1は、第1コンデンサC1、第1スイッチSW1とともにサンプルホールド回路を形成している。このサンプルホールド回路は、起電力セル24のインピーダンス測定時に第1スイッチSW1をオンからオフ状態とし、起電力セル24の素子インピーダンス測定のための電流通電直前の起電力セル24の両端に発生する電圧Vsを保持することにより、素子インピーダンス測定直前の電圧VsをPID制御回路69に入力する役割を果たす。
Next, the element impedance (element temperature) measurement operation of the electromotive force cell 24 in the sensor control device 3 will be described.
In the sensor control device 3, the first operational amplifier OP1 forms a sample and hold circuit together with the first capacitor C1 and the first switch SW1. This sample and hold circuit switches the first switch SW1 from the on state to the off state when measuring the impedance of the electromotive force cell 24, and the voltage generated at both ends of the electromotive force cell 24 immediately before the current application for measuring the element impedance of the electromotive force cell 24 By holding Vs, the voltage Vs immediately before the element impedance measurement is input to the PID control circuit 69.

第3オペアンプOP3は、第1オペアンプOP1に保持されているホールド値(インピーダンス測定用の電流を通電する直前の起電力セル24の電圧Vs)と、起電力セル24にインピーダンス測定用の電流−Iconstを通電した際のVs+電位(第4オペアンプOP4の出力電位)との差分に応じた電圧変化量ΔVsを出力する。この電圧変化量ΔVsは、起電力セル24のバルク抵抗値に比例することから、起電力セル24の素子インピーダンスRpvsを表す素子インピーダンス信号Srpvsとして利用可能である。   The third operational amplifier OP3 has a hold value (the voltage Vs of the electromotive force cell 24 immediately before the impedance measurement current is passed) held in the first operational amplifier OP1, and the impedance measurement current -Iconst to the electromotive force cell 24. Voltage change amount ΔVs corresponding to the difference from Vs + potential (output potential of the fourth operational amplifier OP4) at the time of energizing is output. Since this voltage change amount ΔVs is proportional to the bulk resistance value of the electromotive force cell 24, it can be used as the element impedance signal Srpvs representing the element impedance Rpvs of the electromotive force cell 24.

つまり、第3オペアンプOP3は、電圧変化量ΔVsを出力するとともに、起電力セル24のバルク抵抗値に比例する素子インピーダンス信号Srpvsを出力する。なお、素子インピーダンス信号Srpvsは、起電力セル24のバルク抵抗値に比例する特性を有している。   That is, the third operational amplifier OP3 outputs the voltage change amount ΔVs and the element impedance signal Srpvs proportional to the bulk resistance value of the electromotive force cell 24. The element impedance signal Srpvs has a characteristic proportional to the bulk resistance value of the electromotive force cell 24.

第3オペアンプOP3から出力された素子インピーダンス信号Srpvs(電圧変化量ΔVs)は、第5オペアンプOP5を介して、中央演算処理装置2に出力される。
第5オペアンプOP5は、第2コンデンサC2、第2スイッチSW2、抵抗R2と共に信号ホールド回路を形成している。この信号ホールド回路は、まず、起電力セル24のインピーダンス測定時に第2スイッチSW2がオフからオン状態になると、第3オペアンプOP3から電圧変化量ΔVsが入力される。そのあと、第2スイッチSW2がオンからオフ状態になると、この信号ホールド回路は、第2スイッチSW2がオン状態の時に第3オペアンプOP3から出力された電圧変化量ΔVsを第2コンデンサC2にて保持するとともに、電圧変化量ΔVsを表す素子インピーダンス信号Srpvsを素子インピーダンス信号出力端子41を介して中央演算処理装置2に対して出力する。
The element impedance signal Srpvs (voltage change amount ΔVs) output from the third operational amplifier OP3 is output to the central processing unit 2 via the fifth operational amplifier OP5.
The fifth operational amplifier OP5 forms a signal hold circuit together with the second capacitor C2, the second switch SW2, and the resistor R2. In the signal hold circuit, first, when the second switch SW2 is turned from OFF to ON when measuring the impedance of the electromotive force cell 24, the voltage change amount ΔVs is input from the third operational amplifier OP3. Thereafter, when the second switch SW2 is turned off, the signal hold circuit holds the voltage change ΔVs output from the third operational amplifier OP3 by the second capacitor C2 when the second switch SW2 is turned on. At the same time, the element impedance signal Srpvs representing the voltage change amount ΔVs is output to the central processing unit 2 via the element impedance signal output terminal 41.

このようにしてセンサ制御装置3は、素子インピーダンス信号出力端子41から中央演算処理装置2に対して電圧変化量ΔVsを表す素子インピーダンス信号Srpvsを出力する。   In this way, the sensor control device 3 outputs the element impedance signal Srpvs representing the voltage change amount ΔVs from the element impedance signal output terminal 41 to the central processing unit 2.

なお、センサ制御装置3において、第1スイッチSW1は、第1オペアンプOP1、即ち、サンプルホールド回路における電圧ホールド動作を制御する。また、第2スイッチSW2は、3個備えられており、起電力セル24の抵抗値測定用(インピーダンス検出用)の一定電流−Iconstを流すための電流源63,65をオン・オフ制御するための2個と、信号ホールド回路における信号ホールド動作を制御するための1個である。さらに、第3スイッチSW3は、2個備えられており、第2スイッチSW2にて流される抵抗値測定用の電流−Iconstとは逆極性の一定電流+Iconstを流すための電流源64,66をオン・オフ制御するための2個である。   In the sensor control device 3, the first switch SW1 controls the voltage hold operation in the first operational amplifier OP1, that is, the sample hold circuit. Further, three second switches SW2 are provided to control on / off of current sources 63 and 65 for flowing a constant current -Iconst for measuring the resistance value (impedance detection) of the electromotive force cell 24. And one for controlling the signal hold operation in the signal hold circuit. Further, two third switches SW3 are provided, and current sources 64 and 66 for supplying a constant current + Iconst having a polarity opposite to that of the resistance value measurement current −Iconst passed through the second switch SW2 are turned on.・ Two for off control.

なお、一定電流+Iconstは、電流−Iconstとは逆極性のパルス信号である。このように起電力セル24に逆極性信号を流すことにより、起電力セル24を構成する固体電解質体の配向現象によって内部起電力が影響を受けて本来の酸素濃度差に応じた内部起電力値を出力しない異常な状態から、正常な状態に復帰するまでの時間を短縮することができる。   The constant current + Iconst is a pulse signal having a polarity opposite to that of the current -Iconst. In this way, by passing a reverse polarity signal to the electromotive force cell 24, the internal electromotive force is affected by the orientation phenomenon of the solid electrolyte body constituting the electromotive force cell 24, and the internal electromotive force value according to the original oxygen concentration difference. It is possible to shorten the time from the abnormal state where no signal is output to the return to the normal state.

スイッチSW1,SW2,SW3は、制御部59からの指令に基づいて状態(オン状態、オフ状態)が制御される。
なお、制御部59は、CPU、RAM、ROM、I/Oインタフェース等を備えるマイクロコンピュータを主体として構成されている。制御部59は、中央演算処理装置2からの指令に基づき、スイッチSW1,SW2,SW3の状態を制御するスイッチ制御処理を実行する。
The switches SW1, SW2, and SW3 are controlled in a state (on state or off state) based on a command from the control unit 59.
The control unit 59 is mainly configured by a microcomputer including a CPU, a RAM, a ROM, an I / O interface, and the like. The control unit 59 executes switch control processing for controlling the states of the switches SW1, SW2, and SW3 based on a command from the central processing unit 2.

センサ制御装置3は、ガスセンサのヒータを制御するための内蔵ヒータ制御部60を備えている。内蔵ヒータ制御部60は、制御部59からの指令に基づいてヒータへ印加する仮想ヒータ電圧Vhiを制御することで、ヒータへの供給電力量を制御するヒータ制御処理を実行することができる。内蔵ヒータ制御部60は、ヒータ制御処理において、例えば、パルス状の仮想ヒータ電圧Vhiのデューティ比を制御することで、ヒータへの供給電力量を制御するとともに、ヒータの加熱対象であるガスセンサ素子を目標温度に近づける制御を行うことができる。   The sensor control device 3 includes a built-in heater control unit 60 for controlling the heater of the gas sensor. The built-in heater control unit 60 can execute a heater control process for controlling the amount of power supplied to the heater by controlling the virtual heater voltage Vhi applied to the heater based on a command from the control unit 59. In the heater control process, the built-in heater control unit 60 controls, for example, the duty ratio of the pulsed virtual heater voltage Vhi, thereby controlling the amount of power supplied to the heater, and the gas sensor element to be heated by the heater. Control close to the target temperature can be performed.

つまり、センサ制御装置3は、制御部59を用いてガスセンサ素子5aの素子インピーダンスRpvs(素子温度)を検出するとともに、内蔵ヒータ制御部60を用いてガスセンサ素子5aを目標温度に制御することが可能に構成されている。   That is, the sensor control device 3 can detect the element impedance Rpvs (element temperature) of the gas sensor element 5a using the control unit 59, and can control the gas sensor element 5a to the target temperature using the built-in heater control unit 60. It is configured.

ただし、上述のように、本実施形態のセンサ制御システム1では、内蔵ヒータ制御部60はヒータ5bとは接続されておらず、ヒータ5bを通電制御する主体は、内蔵ヒータ制御部60ではなく、ヒータ通電制御回路6となるように構成されている。つまり、本実施形態では、内蔵ヒータ制御部60は、仮想的にヒータ5bの通電制御を行うもののガスセンサ素子5aを加熱する機能は発揮していない。   However, as described above, in the sensor control system 1 of the present embodiment, the built-in heater control unit 60 is not connected to the heater 5b, and the main body that controls energization of the heater 5b is not the built-in heater control unit 60. The heater energization control circuit 6 is configured. That is, in the present embodiment, the built-in heater control unit 60 virtually performs the energization control of the heater 5b, but does not exhibit the function of heating the gas sensor element 5a.

[1−4.制御処理]
中央演算処理装置2のマイコン2aが実行するモード設定処理について、図3のフローチャートを用いて説明する。
[1-4. Control processing]
The mode setting process executed by the microcomputer 2a of the central processing unit 2 will be described with reference to the flowchart of FIG.

モード設定処理は、センサ制御装置3における仮想ヒータ制御モードおよびRpvs測定機能のそれぞれの状態を、ON状態またはOFF状態のいずれかに設定するための処理である。具体的には、中央演算処理装置2のマイコン2aは、仮想ヒータ制御モード指令ShおよびRpvs測定機能指令Srをセンサ制御装置3に出力することで、センサ制御装置3における仮想ヒータ制御モードおよびRpvs測定機能のそれぞれの状態を設定する。   The mode setting process is a process for setting each state of the virtual heater control mode and the Rpvs measurement function in the sensor control device 3 to either the ON state or the OFF state. Specifically, the microcomputer 2 a of the central processing unit 2 outputs the virtual heater control mode command Sh and the Rpvs measurement function command Sr to the sensor control device 3, so that the virtual heater control mode and the Rpvs measurement in the sensor control device 3 are output. Set each state of the function.

モード設定処理が開始されると、中央演算処理装置2のマイコン2aは、まずS110にて、センサ制御装置3の初期化を行う。具体的には、センサ制御装置3に対して初期化指令信号を送信する。センサ制御装置3は、初期化指令信号を受信すると、ガスセンサ5のガスセンサ素子5aを制御するための各種制御処理に用いる情報(内部フラグ、タイマなど)を初期化して、各種制御処理の準備を行う。   When the mode setting process is started, the microcomputer 2a of the central processing unit 2 first initializes the sensor control unit 3 in S110. Specifically, an initialization command signal is transmitted to the sensor control device 3. When receiving the initialization command signal, the sensor control device 3 initializes information (internal flag, timer, etc.) used for various control processes for controlling the gas sensor element 5a of the gas sensor 5 and prepares for various control processes. .

また、S110では、センサ制御装置3に対して、指令値としてのヒータ駆動固定電圧Vhfを送信する。ヒータ駆動固定電圧Vhfは、ヒータ5bの固定電圧制御時にセンサ制御装置3がヒータ5bに印加する電圧の指令値である。本実施形態では、ヒータ駆動固定電圧Vhfとして、内蔵ヒータ制御部60がヒータ5bに供給可能な供給電力量の範囲のうち最小値に相当する値が設定されている。   In S110, the heater drive fixed voltage Vhf as a command value is transmitted to the sensor control device 3. The heater driving fixed voltage Vhf is a command value of a voltage that the sensor control device 3 applies to the heater 5b during the fixed voltage control of the heater 5b. In the present embodiment, the heater driving fixed voltage Vhf is set to a value corresponding to the minimum value in the range of power supply that can be supplied to the heater 5b by the built-in heater control unit 60.

次のS120では、中央演算処理装置2のマイコン2aは、ヒータ通電制御回路6に対して起動指令信号を送信する。ヒータ通電制御回路6は、起動指令信号を受信すると、ヒータ5bの通電制御処理を開始する。   In next S 120, the microcomputer 2 a of the central processing unit 2 transmits a start command signal to the heater energization control circuit 6. When the heater energization control circuit 6 receives the activation command signal, the heater energization control circuit 6 starts energization control processing of the heater 5b.

次のS130では、定常動作タイマによる経過時間のカウント処理を開始する。定常動作タイマでは、予め定められた定常周期T1(本実施形態では、T1=10ms)および予め定められた測定周期T2(本実施形態では、T2=100ms)のそれぞれについて、経過時間を繰り返しカウントする。   In the next S130, the elapsed time counting process by the steady operation timer is started. In the steady operation timer, the elapsed time is repeatedly counted for each of a predetermined steady cycle T1 (T1 = 10 ms in the present embodiment) and a predetermined measurement cycle T2 (T2 = 100 ms in the present embodiment). .

次のS140では、定常動作タイマによる経過時間のカウントにおいて、定常周期T1が経過したか否かを判定し、肯定判定するとS150に移行し、否定判定すると同ステップを繰り返し実行して定常周期T1が経過するまで待機する。   In the next S140, it is determined whether or not the steady cycle T1 has elapsed in the counting of the elapsed time by the steady operation timer. If affirmative determination is made, the process proceeds to S150. Wait until it has passed.

S140で肯定判定されてS150に移行すると、S150では、ヒータ通電制御回路6でのヒータ制御の状況を表すヒータ制御情報をヒータ通電制御回路6から取得する。このヒータ制御情報には、少なくともヒータ電圧Vh(パルス通電信号)の状態(ハイレベル、ローレベル)を表す情報が含まれている。   When an affirmative determination is made in S140 and the process proceeds to S150, in S150, heater control information indicating the status of heater control in the heater energization control circuit 6 is acquired from the heater energization control circuit 6. This heater control information includes at least information indicating the state (high level, low level) of the heater voltage Vh (pulse energization signal).

次のS160では、ガスセンサ素子5aの素子インピーダンスRpvs(素子温度)が測定可能な状態であるか否かを判定し、肯定判定するとS180に移行し、否定判定するとS170に移行する。S160では、センサ制御装置3から受信した起電力セル24の電圧Vsと、予め定められた測定可能判定値Vth(本実施形態では、Vth=4.2V)とを比較する。S160では、電圧Vsが測定可能判定値Vth以下である場合(Vs≦Vth)には、素子インピーダンスRpvsが測定可能と判定し(肯定判定)、電圧Vsが測定可能判定値Vthよりも大きい場合(Vs>Vth)には、素子インピーダンスRpvsが測定不可能と判定する(否定判定)。   In next S160, it is determined whether or not the element impedance Rpvs (element temperature) of the gas sensor element 5a is measurable. If the determination is affirmative, the process proceeds to S180, and if the determination is negative, the process proceeds to S170. In S160, the voltage Vs of the electromotive force cell 24 received from the sensor control device 3 is compared with a predetermined measurable determination value Vth (in this embodiment, Vth = 4.2V). In S160, when the voltage Vs is equal to or lower than the measurable determination value Vth (Vs ≦ Vth), it is determined that the element impedance Rpvs is measurable (positive determination), and when the voltage Vs is larger than the measurable determination value Vth ( When Vs> Vth), it is determined that the element impedance Rpvs cannot be measured (negative determination).

S160で否定判定されてS170に移行すると、S170では、仮想ヒータ制御モード指令ShおよびRpvs測定機能指令SrをそれぞれOFF状態に設定する。
S160で肯定判定されてS180に移行すると、S180では、Rpvs測定判定処理を実行する。
When a negative determination is made in S160 and the process proceeds to S170, in S170, the virtual heater control mode command Sh and the Rpvs measurement function command Sr are each set to the OFF state.
When an affirmative determination is made in S160 and the process proceeds to S180, an Rpvs measurement determination process is executed in S180.

Rpvs測定判定処理が開始されると、図4に示すように、中央演算処理装置2のマイコン2aは、まずS210にて、ヒータ通電制御回路6によりヒータPWM制御されているヒータ電圧Vhがローレベルであるか否かを判定し、肯定判定するとS220に移行し、否定判定するとS240に移行する。   When the Rpvs measurement determination process is started, as shown in FIG. 4, the microcomputer 2a of the central processing unit 2 first sets the heater voltage Vh under the heater PWM control by the heater energization control circuit 6 to the low level in S210. If the determination is affirmative, the process proceeds to S220. If the determination is negative, the process proceeds to S240.

S210で肯定判定されてS220に移行すると、S220では、中央演算処理装置2の起動後、S210での肯定判定が初回であるか否かを判定し、肯定判定するとS230に移行し、否定判定するとS240に移行する。   If an affirmative determination is made in S210 and the process proceeds to S220, it is determined in S220 whether or not the affirmative determination in S210 is the first time after the central processing unit 2 is activated. The process proceeds to S240.

S220で否定判定されてS240に移行すると、S240では、前回のRpvs測定機能指令SrのON状態設定時から測定周期T2が経過したか否かを判定し、肯定判定するとS230に移行し、否定判定するとS250に移行する。   When a negative determination is made in S220 and the process proceeds to S240, in S240, it is determined whether or not the measurement cycle T2 has elapsed since the previous Rpvs measurement function command Sr was set in the ON state. Then, the process proceeds to S250.

S220で肯定判定されるか、S240で肯定判定されてS230に移行すると、S230では、仮想ヒータ制御モード指令ShおよびRpvs測定機能指令SrをそれぞれON状態に設定する。   If an affirmative determination is made in S220 or an affirmative determination is made in S240 and the process proceeds to S230, in S230, the virtual heater control mode command Sh and the Rpvs measurement function command Sr are each set to the ON state.

S210で否定判定されるかS240で否定判定されてS250に移行すると、S250では、仮想ヒータ制御モード指令ShおよびRpvs測定機能指令SrをそれぞれOFF状態に設定する。   If a negative determination is made in S210 or a negative determination is made in S240 and the process proceeds to S250, in S250, the virtual heater control mode command Sh and the Rpvs measurement function command Sr are respectively set to the OFF state.

S230またはS250が終了すると、モード設定処理に戻り、S190に移行する。S190では、仮想ヒータ制御モード指令ShおよびRpvs測定機能指令Srのそれぞれについて、最後に設定された状態(ON状態、OFF状態)を表す指令信号をセンサ制御装置3に送信する。仮想ヒータ制御モード指令Shの状態を表す指令信号をモード指令信号Sshとし、Rpvs測定機能指令Srの状態を表す指令信号を機能指令信号Ssrとする。   When S230 or S250 ends, the process returns to the mode setting process and proceeds to S190. In S190, for each of the virtual heater control mode command Sh and the Rpvs measurement function command Sr, a command signal indicating the last set state (ON state, OFF state) is transmitted to the sensor control device 3. A command signal representing the state of the virtual heater control mode command Sh is referred to as a mode command signal Ssh, and a command signal representing the state of the Rpvs measurement function command Sr is referred to as a function command signal Ssr.

S190が終了すると、再び、S140に移行する。このあと、中央演算処理装置2のマイコン2aは、自身の動作が停止するまで、S140からS190間での処理を繰り返し実行する。   When S190 ends, the process proceeds to S140 again. Thereafter, the microcomputer 2a of the central processing unit 2 repeatedly executes the processing from S140 to S190 until its own operation stops.

ここで、ヒータ電圧Vh、仮想ヒータ制御モード指令Sh、Rpvs測定機能指令Srのそれぞれの状態を表すタイミングチャートを、図5の上側領域に示す。なお、図5の下側領域は、上側領域の波形における一部区間を拡大した波形を表すとともに、仮想ヒータ電圧Vhi,Rpvs測定パルス信号Si(インピーダンス測定用の電流−Iconst)、ADサンプリング周期Tsをそれぞれ表している。   Here, a timing chart showing respective states of the heater voltage Vh, the virtual heater control mode command Sh, and the Rpvs measurement function command Sr is shown in the upper region of FIG. 5 represents a waveform obtained by enlarging a part of the waveform of the upper region, the virtual heater voltage Vhi, the Rpvs measurement pulse signal Si (impedance measurement current -Iconst), and the AD sampling period Ts. Respectively.

図5の上側領域に示すように、ヒータ電圧Vhは、定常周期T1のパルス波形電圧であり、図5では、ローレベル期間とハイレベル期間が等しい状態のパルス波形が記載されている。仮想ヒータ制御モード指令ShおよびRpvs測定機能指令Srは、定常周期T1にわたりハイレベルに設定された後、ローレベルに設定される。仮想ヒータ制御モード指令ShおよびRpvs測定機能指令Srは、それぞれ測定周期T2ごとにハイレベルに設定される。   As shown in the upper region of FIG. 5, the heater voltage Vh is a pulse waveform voltage having a steady period T1, and FIG. 5 shows a pulse waveform in a state where the low level period and the high level period are equal. The virtual heater control mode command Sh and the Rpvs measurement function command Sr are set to a low level after being set to a high level over a steady period T1. The virtual heater control mode command Sh and the Rpvs measurement function command Sr are set to a high level for each measurement cycle T2.

次に、センサ制御装置3(詳細には、制御部59)が実行するRpvs測定機能制御処理について、図6のフローチャートを用いて説明する。
Rpvs測定機能制御処理は、中央演算処理装置2からのRpvs測定機能指令Srに基づいて、ガスセンサ素子5aにおける素子インピーダンスRpvsの検出動作を制御するための制御処理である。
Next, Rpvs measurement function control processing executed by the sensor control device 3 (specifically, the control unit 59) will be described with reference to the flowchart of FIG.
The Rpvs measurement function control process is a control process for controlling the detection operation of the element impedance Rpvs in the gas sensor element 5a based on the Rpvs measurement function command Sr from the central processing unit 2.

Rpvs測定機能制御処理が開始されると、センサ制御装置3は、まず、S310にて、中央演算処理装置2からRpvs測定機能指令Srを受信する。
次のS320では、Rpvs測定機能指令SrがON状態であるか否かを判定し、肯定判定するとS330に移行し、否定判定するとS370に移行する。
When the Rpvs measurement function control process is started, the sensor control device 3 first receives an Rpvs measurement function command Sr from the central processing unit 2 in S310.
In next S320, it is determined whether or not the Rpvs measurement function command Sr is in an ON state. If an affirmative determination is made, the process proceeds to S330, and if a negative determination is made, the process proceeds to S370.

S320で肯定判定されてS330に移行すると、S330では、Rpvs測定周期T3(本実施形態では、T3=100ms)のタイマカウントを開始する。
次のS340では、Rpvs測定パルス信号Siの出力フラグF1をON状態に設定する。
When an affirmative determination is made in S320 and the process proceeds to S330, in S330, the timer count of the Rpvs measurement cycle T3 (T3 = 100 ms in the present embodiment) is started.
In the next S340, the output flag F1 of the Rpvs measurement pulse signal Si is set to the ON state.

なお、出力フラグF1は、後述するRpvs測定パルス制御処理での判定処理に用いられる内部フラグである。Rpvs測定パルス制御処理で所定条件が成立すると、センサ制御装置3は、ガスセンサ素子5aの起電力セル24に対してRpvs測定パルス信号Si(インピーダンス測定用の電流−Iconst)を出力する。   The output flag F1 is an internal flag used for determination processing in the Rpvs measurement pulse control processing described later. When a predetermined condition is established in the Rpvs measurement pulse control process, the sensor control device 3 outputs an Rpvs measurement pulse signal Si (impedance measurement current -Iconst) to the electromotive force cell 24 of the gas sensor element 5a.

次のS350では、Rpvs測定機能指令SrがOFF状態であるか否かを判定し、肯定判定するとS370に移行し、否定判定するとS360に移行する。
S350で否定判定されてS360に移行すると、S360では、Rpvs測定周期T3が経過したか否かを判定し、肯定判定するとS330に移行し、否定判定するとS350に移行する。
In next S350, it is determined whether or not the Rpvs measurement function command Sr is in an OFF state. If an affirmative determination is made, the process proceeds to S370, and if a negative determination is made, the process proceeds to S360.
If a negative determination is made in S350 and the process proceeds to S360, it is determined in S360 whether or not the Rpvs measurement cycle T3 has elapsed. If an affirmative determination is made, the process proceeds to S330, and if a negative determination is made, the process proceeds to S350.

S320で否定判定されるか、S350で肯定判定されてS370に移行すると、S370では、Rpvs測定パルス信号Siの出力フラグF1をOFF状態に設定する。出力フラグF1がOFF状態になると、センサ制御装置3は、ガスセンサ素子5aの起電力セル24に対するRpvs測定パルス信号Siの出力を停止する。   If a negative determination is made in S320 or an affirmative determination is made in S350 and the process proceeds to S370, the output flag F1 of the Rpvs measurement pulse signal Si is set to an OFF state in S370. When the output flag F1 is turned off, the sensor control device 3 stops outputting the Rpvs measurement pulse signal Si to the electromotive force cell 24 of the gas sensor element 5a.

次のS380では、Rpvs測定周期T3のタイマカウントを停止するとともに、Rpvs測定周期T3のカウント値をクリアする。
S380が終了すると、Rpvs測定機能制御処理が終了する。Rpvs測定機能制御処理は、予め定められた実行周期で繰り返し実行される。
In the next S380, the timer count of the Rpvs measurement cycle T3 is stopped and the count value of the Rpvs measurement cycle T3 is cleared.
When S380 ends, the Rpvs measurement function control process ends. The Rpvs measurement function control process is repeatedly executed at a predetermined execution cycle.

次に、センサ制御装置3(詳細には、制御部59)が実行する仮想ヒータ制御処理について、図7のフローチャートを用いて説明する。
本実施形態の仮想ヒータ制御処理は、中央演算処理装置2からの仮想ヒータ制御モード指令Shに基づいて、仮想的にヒータ制御動作を実行するための制御処理である。つまり、仮想ヒータ制御処理は、実際にヒータ5bを通電制御するのではなく、センサ制御装置3の内部動作のみを実行する。
Next, virtual heater control processing executed by the sensor control device 3 (specifically, the control unit 59) will be described with reference to the flowchart of FIG.
The virtual heater control process of the present embodiment is a control process for virtually executing the heater control operation based on the virtual heater control mode command Sh from the central processing unit 2. That is, in the virtual heater control process, the heater 5b is not actually energized and only the internal operation of the sensor control device 3 is executed.

なお、センサ制御装置3の内蔵ヒータ制御部60を実際にヒータ5bと接続した場合には、仮想ヒータ制御処理を実行することで、センサ制御装置3がヒータ5bを通電制御することができる。   When the built-in heater control unit 60 of the sensor control device 3 is actually connected to the heater 5b, the sensor control device 3 can control the energization of the heater 5b by executing the virtual heater control process.

仮想ヒータ制御処理が開始されると、センサ制御装置3は、まず、S410にて、中央演算処理装置2からヒータ駆動固定電圧Vhfを受信する。ヒータ駆動固定電圧Vhfは、中央演算処理装置2からの指令値であり、ヒータ5bの固定電圧制御時にセンサ制御装置3がヒータ5bに印加する電圧である。   When the virtual heater control process is started, the sensor control device 3 first receives the heater driving fixed voltage Vhf from the central processing unit 2 in S410. The heater driving fixed voltage Vhf is a command value from the central processing unit 2, and is a voltage that the sensor control device 3 applies to the heater 5b during fixed voltage control of the heater 5b.

なお、中央演算処理装置2でのモード設定処理のS110の実行時には、中央演算処理装置2の動作によりヒータ駆動固定電圧Vhfがセンサ制御装置3に送信され、S410の実行時には、センサ制御装置3の動作により中央演算処理装置2からセンサ制御装置3にヒータ駆動固定電圧Vhfが送信される。   Note that when the mode setting process S110 of the central processing unit 2 is executed, the heater driving fixed voltage Vhf is transmitted to the sensor control device 3 by the operation of the central processing unit 2, and when the step S410 is executed, the sensor control device 3 The heater driving fixed voltage Vhf is transmitted from the central processing unit 2 to the sensor control device 3 by the operation.

次のS420では、中央演算処理装置2から仮想ヒータ制御モード指令Shを受信する。次のS430では、仮想ヒータ制御モード指令ShがON状態であるか否かを判定し、肯定判定するとS440に移行し、否定判定するとS480に移行する。   In the next S420, the virtual heater control mode command Sh is received from the central processing unit 2. In next S430, it is determined whether or not the virtual heater control mode command Sh is in the ON state. If an affirmative determination is made, the process proceeds to S440, and if a negative determination is made, the process proceeds to S480.

S430で肯定判定されてS440に移行すると、S440では、ヒータ制御周期T4(本実施形態では、T4=10ms)のタイマカウントを開始する。
次のS450では、ヒータ通電制御処理を実行する。
When an affirmative determination is made in S430 and the process proceeds to S440, timer counting of the heater control cycle T4 (T4 = 10 ms in the present embodiment) is started in S440.
In next S450, a heater energization control process is executed.

ヒータ通電制御処理が開始されると、図8に示すように、センサ制御装置3(制御部59)は、まず、S610にて、ヒータ制御モードが「PI制御」および「固定電圧制御」のいずれであるかを判定し、「PI制御」の場合にはS620に移行し、「固定電圧制御」の場合にはS630に移行する。   When the heater energization control process is started, as shown in FIG. 8, the sensor control device 3 (control unit 59) first determines whether the heater control mode is “PI control” or “fixed voltage control” in S <b> 610. In the case of “PI control”, the process proceeds to S620, and in the case of “fixed voltage control”, the process proceeds to S630.

なお、本実施形態では、中央演算処理装置2からの指令により、ヒータ制御モードが「固定電圧制御」に設定されている。もし、センサ制御装置3の内蔵ヒータ制御部60を実際にヒータ5bと接続した場合には、中央演算処理装置2は、素子インピーダンスRpvsが測定可能か否かによって、ヒータ制御モードを設定するための指令をセンサ制御装置3に出力する。具体的には、中央演算処理装置2は、素子インピーダンスRpvsが測定不可能な場合には、ヒータ制御モードを「固定電圧制御」に設定するための指令をセンサ制御装置3に出力し、素子インピーダンスRpvsが測定可能な場合には、ヒータ制御モードを「PI制御」に設定するための指令をセンサ制御装置3に出力する。   In the present embodiment, the heater control mode is set to “fixed voltage control” according to a command from the central processing unit 2. If the built-in heater control unit 60 of the sensor control device 3 is actually connected to the heater 5b, the central processing unit 2 sets the heater control mode depending on whether or not the element impedance Rpvs can be measured. The command is output to the sensor control device 3. Specifically, when the element impedance Rpvs cannot be measured, the central processing unit 2 outputs a command for setting the heater control mode to “fixed voltage control” to the sensor control apparatus 3, and the element impedance When Rpvs can be measured, a command for setting the heater control mode to “PI control” is output to the sensor control device 3.

S610で「PI制御」と判定されてS620に移行すると、S620では、センサ制御装置3(制御部59)が検出した最新の素子インピーダンスRpvsを読み出す。
次のS640では、ヒータへ印加する仮想ヒータ電圧Vhiに関して、素子インピーダンスRpvsを目標インピーダンスRTにするためのPWMデューティ比を算出する。
When it is determined as “PI control” in S610 and the process proceeds to S620, the latest element impedance Rpvs detected by the sensor control device 3 (control unit 59) is read in S620.
In next step S640, a PWM duty ratio for setting the element impedance Rpvs to the target impedance RT is calculated for the virtual heater voltage Vhi applied to the heater.

S610で「固定電圧制御」と判定されてS630に移行すると、S630では、センサ制御装置3(制御部59)の記憶部に保存されている目標固定電圧Vaを読み出す。なお、目標固定電圧Vaは、例えば、S410で取得したヒータ駆動固定電圧Vhfに相当する値が設定されている。   When it is determined that the “fixed voltage control” is determined in S610 and the process proceeds to S630, the target fixed voltage Va stored in the storage unit of the sensor control device 3 (control unit 59) is read in S630. The target fixed voltage Va is set to a value corresponding to the heater driving fixed voltage Vhf acquired in S410, for example.

次のS650では、バッテリ電圧VBを考慮しつつ、仮想ヒータ電圧Vhiが目標固定電圧VaとなるようにPWMデューティ比を算出する。
S640またはS650が終了すると、次のS660では、算出したPWMデューティ比が最大値以下であるか否かを判定し、肯定判定するとS680に移行し、否定判定するとS670に移行する。
In the next S650, the PWM duty ratio is calculated so that the virtual heater voltage Vhi becomes the target fixed voltage Va while taking into consideration the battery voltage VB.
When S640 or S650 ends, in next S660, it is determined whether or not the calculated PWM duty ratio is equal to or less than the maximum value. If an affirmative determination is made, the process proceeds to S680, and if a negative determination is made, the process proceeds to S670.

S660で否定判定されてS670に移行すると、S670では、PWMデューティ比を最大値に設定する。
S660で肯定判定されてS680に移行すると、S680では、PWMデューティ比が最小値以上であるか否かを判定し、肯定判定するとS700に移行し、否定判定するとS690に移行する。
If a negative determination is made in S660 and the process proceeds to S670, the PWM duty ratio is set to the maximum value in S670.
If an affirmative determination is made in S660 and the process proceeds to S680, it is determined in S680 whether or not the PWM duty ratio is equal to or greater than the minimum value. If an affirmative determination is made, the process proceeds to S700.

S680で否定判定されてS690に移行すると、S690では、PWMデューティ比を最小値に設定する。
S680で肯定判定されるかS670またはS690が完了するとS700に移行し、S700では、並列処理として実行されるヒータPWM制御処理を開始する。ヒータPWM制御処理は、S610からS690までの処理で設定されたPWMデューティ比に基づいて、ヒータへパルス出力される仮想ヒータ電圧Vhiのデューティ比を制御する制御処理である。なお、ヒータPWM制御処理は、後述するS480で停止されるまで、並行処理として処理を実行する。
If a negative determination is made in S680 and the process proceeds to S690, the PWM duty ratio is set to a minimum value in S690.
When an affirmative determination is made in S680 or S670 or S690 is completed, the process proceeds to S700, and in S700, a heater PWM control process that is executed as a parallel process is started. The heater PWM control process is a control process for controlling the duty ratio of the virtual heater voltage Vhi that is output as a pulse to the heater based on the PWM duty ratio set in the processes from S610 to S690. The heater PWM control process is executed as a parallel process until it is stopped in S480 described later.

次のS710では、並列処理として実行されるRpvs測定パルス制御処理を開始する。なお、S710で並列処理としてのRpvs測定パルス制御処理が開始されると、S710が終了し、ヒータ通電制御処理が終了する。ヒータ通電制御処理が終了すると、仮想ヒータ制御処理に戻り、S460に移行する。   In next S710, the Rpvs measurement pulse control process executed as parallel processing is started. When the Rpvs measurement pulse control process as the parallel process is started in S710, S710 ends and the heater energization control process ends. When the heater energization control process ends, the process returns to the virtual heater control process, and the process proceeds to S460.

ここで、Rpvs測定パルス制御処理について、図9のフローチャートを用いて説明する。
Rpvs測定パルス制御処理が開始されると、センサ制御装置3(制御部59)は、まず、S810にて、ヒータPWM制御がローレベル出力であるか否かを判定し、肯定判定するとS820に移行し、否定判定すると同ステップを繰り返し実行することでヒータPWM制御がローレベル出力となるまで待機する。S810では、具体的には、仮想ヒータ電圧Vhiがローレベル出力であるか否かを判定している。
Here, the Rpvs measurement pulse control process will be described with reference to the flowchart of FIG.
When the Rpvs measurement pulse control process is started, the sensor control device 3 (the control unit 59) first determines whether or not the heater PWM control is a low level output in S810, and proceeds to S820 if an affirmative determination is made. If the determination is negative, the same step is repeatedly executed to wait until the heater PWM control becomes a low level output. Specifically, in S810, it is determined whether or not the virtual heater voltage Vhi is a low level output.

S810で肯定判定されてS820に移行すると、S820では、Rpvs測定パルス信号Siの出力フラグF1がON状態であるか否かを判定し、肯定判定するとS830に移行し、否定判定するとRpvs測定パルス制御処理を終了する。   When an affirmative determination is made in S810 and the process proceeds to S820, it is determined whether or not the output flag F1 of the Rpvs measurement pulse signal Si is ON in S820. If the determination is affirmative, the process proceeds to S830, and if the determination is negative, the Rpvs measurement pulse control is performed. The process ends.

S820で肯定判定されてS830に移行すると、S830では、出力フラグF1をOFF状態に設定する。
次のS840では、Rpvs測定待ち時間Twa(本実施形態では、Twa=200μsec)が経過するまで待機する。
When an affirmative determination is made in S820 and the process proceeds to S830, the output flag F1 is set to an OFF state in S830.
In the next S840, the process waits until the Rpvs measurement waiting time Twa (Twa = 200 μsec in this embodiment) elapses.

Rpvs測定待ち時間Twaが経過してS850に移行すると、S850では、ADサンプリング時期であるか否かを判定し、肯定判定するとS860に移行し、否定判定すると同ステップを繰り返し実行することで、ADサンプリング時期になるまで待機する。なお、センサ制御装置3は、予め定められたADサンプリング周期Ts(本実施形態では、87μsec)毎に、外部から入力されるアナログ信号をデジタル信号に変換するAD変換処理を実行する。このADサンプリング周期Tsごとに実行されるAD変換処理の実行タイミングがADサンプリング時期である。なお、ADサンプリング周期Tsは、センサ制御装置3のサンプリング周波数Fs(本実施形態では、Fs=11.5kHz)に基づいて決定される。   When the Rpvs measurement waiting time Twa elapses and the process proceeds to S850, it is determined whether or not it is the AD sampling time in S850. If the determination is affirmative, the process proceeds to S860, and if the determination is negative, the same step is repeatedly executed. Wait until the sampling time is reached. The sensor control device 3 executes an AD conversion process for converting an analog signal input from the outside into a digital signal every predetermined AD sampling cycle Ts (in this embodiment, 87 μsec). The execution timing of the AD conversion process executed every AD sampling period Ts is the AD sampling time. The AD sampling period Ts is determined based on the sampling frequency Fs of the sensor control device 3 (Fs = 11.5 kHz in the present embodiment).

S850で肯定判定されてS860に移行すると、S860では、AD変換された起電力セル24のセル電圧Vsを取得し、検出電圧Vs2として記憶する。本実施形態では、第1オペアンプOP1を有するサンプルホールド回路(図1参照)が検出電圧Vs2を保持するともに、制御部59に備えられる記憶部(RAMなど)が検出電圧Vs2を記憶する。   When an affirmative determination is made in S850 and the process proceeds to S860, the cell voltage Vs of the electromotive force cell 24 subjected to AD conversion is acquired and stored as the detection voltage Vs2 in S860. In the present embodiment, a sample hold circuit (see FIG. 1) having the first operational amplifier OP1 holds the detection voltage Vs2, and a storage unit (such as a RAM) provided in the control unit 59 stores the detection voltage Vs2.

次のS870では、パルス出力待ち時間Twbが(本実施形態では、Twb=120μsec)が経過するまで待機する。
パルス出力待ち時間Twbが経過してS880に移行すると、S880では、Rpvs測定パルス信号Siを起電力セル24に対して出力するRpvs測定パルス出力処理を実行する。S880では、具体的には、Rpvs測定パルス信号Siとしてインピーダンス測定用の電流−Iconstを起電力セル24に対して出力する。
In the next S870, the process waits until the pulse output waiting time Twb (Twb = 120 μsec in this embodiment) elapses.
When the pulse output waiting time Twb elapses and the process proceeds to S880, an Rpvs measurement pulse output process for outputting the Rpvs measurement pulse signal Si to the electromotive force cell 24 is executed in S880. In S880, specifically, the impedance measurement current -Iconst is output to the electromotive force cell 24 as the Rpvs measurement pulse signal Si.

次のS890では、ADサンプリング時期であるか否かを判定し、肯定判定するとS900に移行し、否定判定すると同ステップを繰り返し実行することで、ADサンプリング時期になるまで待機する。   In the next S890, it is determined whether or not it is the AD sampling time. If an affirmative determination is made, the process proceeds to S900. If a negative determination is made, the same step is repeatedly executed to wait until the AD sampling time is reached.

S890で肯定判定されてS900に移行すると、S900では、AD変換された起電力セル24のセル電圧Vsを取得し、検出電圧Vs3として記憶するとともに、電圧変化量ΔVs(=Vs2−Vs3)を演算する。本実施形態では、第3オペアンプOP3が電圧変化量ΔVsを出力するとともに、制御部59が記憶部(RAMなど)に検出電圧Vs2を記憶しつつ、CPUで電圧変化量ΔVsを演算する。この電圧変化量ΔVsは、起電力セル24の素子インピーダンスRpvsを表す素子インピーダンス信号Srpvsとして利用可能である。   When an affirmative determination is made in S890 and the process proceeds to S900, in S900, the cell voltage Vs of the electromotive force cell 24 subjected to AD conversion is acquired and stored as the detected voltage Vs3, and the voltage change amount ΔVs (= Vs2−Vs3) is calculated. To do. In the present embodiment, the third operational amplifier OP3 outputs the voltage change amount ΔVs, and the control unit 59 calculates the voltage change amount ΔVs by the CPU while storing the detection voltage Vs2 in the storage unit (RAM or the like). This voltage change amount ΔVs can be used as an element impedance signal Srpvs representing the element impedance Rpvs of the electromotive force cell 24.

次のS910では、Rpvs測定パルス信号Siのローレベル出力(インピーダンス測定用の電流−Iconst)を停止し、信号停止期間TR3(図5参照)が経過した後、ハイレベル期間TR2にわたりハイレベルの測定パルス信号Si(電流−Iconstとは逆極性の一定電流+Iconst)を出力する。   In next S910, the low level output (impedance measurement current -Iconst) of the Rpvs measurement pulse signal Si is stopped, and after the signal stop period TR3 (see FIG. 5) has elapsed, the high level measurement is performed over the high level period TR2. A pulse signal Si (a constant current + Iconst having a polarity opposite to that of the current −Iconst) is output.

なお、図5に示すように、Rpvs測定パルス信号Siには、ローレベル期間TR1にわたり出力される電流−Iconstと、ハイレベル期間TR2にわたり出力される一定電流+Iconstと、が含まれている。電流−Iconstの通電後に、逆極性の一定電流+Iconstを流すことにより、起電力セル24を構成する固体電解質体の配向現象によって内部起電力が影響を受けて本来の酸素濃度差に応じた内部起電力値を出力しない異常な状態から、正常な状態に復帰するまでの時間を短縮することができる。   As shown in FIG. 5, the Rpvs measurement pulse signal Si includes a current −Iconst output over the low level period TR1 and a constant current + Iconst output over the high level period TR2. By passing a constant current + Iconst of reverse polarity after the current −Iconst is energized, the internal electromotive force is affected by the orientation phenomenon of the solid electrolyte body constituting the electromotive force cell 24, and the internal electromotive force corresponding to the original oxygen concentration difference is affected. It is possible to shorten the time from the abnormal state in which the power value is not output to the return to the normal state.

S820で否定判定されるかS910が終了すると、Rpvs測定パルス制御処理が終了する。
つまり、本実施形態のRpvs測定パルス制御処理は、仮想ヒータ制御処理で設定されたデューティ比でPWM制御される仮想ヒータ電圧Vhiの変化状態に基づいて、Rpvs測定パルス信号Siを制御する制御処理である。S810では、仮想ヒータ電圧Vhiのハイレベルからローレベルへの切替タイミング(Loエッジタイミング)を検出しており、図5では、デューティーオン時間Thtの終了時期を検出する。そのときに出力フラグF1がON状態である場合には(S820で肯定判定)、Rpvs測定待ち時間Twaが経過した後のADサンプリング時期に検出電圧Vs2を検出する(S860)。その後、パルス出力待ち時間Twbが経過するとRpvs測定パルス信号Siを出力し(S880)、その後のADサンプリング時期に検出電圧Vs3を検出するとともに、電圧変化量ΔVs(=Vs2−Vs3)を演算する(S900)。
When a negative determination is made in S820 or when S910 ends, the Rpvs measurement pulse control process ends.
That is, the Rpvs measurement pulse control process of the present embodiment is a control process for controlling the Rpvs measurement pulse signal Si based on the change state of the virtual heater voltage Vhi that is PWM-controlled with the duty ratio set in the virtual heater control process. is there. In S810, the switching timing (Lo edge timing) of the virtual heater voltage Vhi from the high level to the low level is detected, and in FIG. 5, the end timing of the duty on time Tht is detected. If the output flag F1 is in the ON state at that time (Yes determination in S820), the detection voltage Vs2 is detected at the AD sampling time after the Rpvs measurement waiting time Twa has elapsed (S860). Thereafter, when the pulse output waiting time Twb elapses, the Rpvs measurement pulse signal Si is output (S880), the detection voltage Vs3 is detected at the subsequent AD sampling time, and the voltage change amount ΔVs (= Vs2−Vs3) is calculated ( S900).

S710が終了してヒータ通電制御処理が終了すると、仮想ヒータ制御処理に戻り、S460にて、仮想ヒータ制御モード指令ShがOFF状態であるか否かを判定し、肯定判定するとS480に移行し、否定判定するとS470に移行する。   When S710 ends and the heater energization control process ends, the process returns to the virtual heater control process. In S460, it is determined whether or not the virtual heater control mode command Sh is in the OFF state. If the determination is affirmative, the process proceeds to S480. If a negative determination is made, the process proceeds to S470.

S460で否定判定されてS470に移行すると、S470では、ヒータ制御周期T4が経過したか否かを判定し、肯定判定するとS450に移行し、否定判定するとS460に移行する。   If a negative determination is made in S460 and the process proceeds to S470, it is determined in S470 whether or not the heater control period T4 has elapsed. If an affirmative determination is made, the process proceeds to S450, and if a negative determination is made, the process proceeds to S460.

S430で否定判定されるか、S460で肯定判定されてS480に移行すると、S480では、ヒータPWM制御を停止する。
次のS490では、ヒータ制御周期T4のタイマカウントを停止するとともに、ヒータ制御周期T4のカウント値をクリアする。
If a negative determination is made in S430 or an affirmative determination is made in S460 and the process proceeds to S480, the heater PWM control is stopped in S480.
In the next S490, the timer count of the heater control cycle T4 is stopped and the count value of the heater control cycle T4 is cleared.

S490が終了すると、仮想ヒータ制御処理が終了する。仮想ヒータ制御処理は、予め定められた実行周期で繰り返し実行される。
図5の下側領域に示すように、ヒータ電圧Vhがハイレベルからローレベルに変更されて、中央演算処理装置2から出力される仮想ヒータ制御モード指令ShおよびRpvs測定機能指令SrがそれぞれOFF状態からON状態に変更されると、所定の通信時間Tspが経過した後に、センサ制御装置3の内部における仮想ヒータ電圧Vhiがローレベルからハイレベルに設定される。
When S490 ends, the virtual heater control process ends. The virtual heater control process is repeatedly executed at a predetermined execution cycle.
As shown in the lower area of FIG. 5, the heater voltage Vh is changed from the high level to the low level, and the virtual heater control mode command Sh and the Rpvs measurement function command Sr output from the central processing unit 2 are in the OFF state. When the state is changed from ON to ON, the virtual heater voltage Vhi inside the sensor control device 3 is set from low level to high level after a predetermined communication time Tsp has elapsed.

このあと、中央演算処理装置2からセンサ制御装置3に送信されたヒータ駆動固定電圧Vhfに応じたデューティーオン時間Thtにわたり、仮想ヒータ電圧Vhiがハイレベルに設定された後、仮想ヒータ電圧Vhiがローレベルに変更される(S700)。このあと、Rpvs測定待ち時間Twaが経過すると(S840)、その後のADサンプリング時期における起電力セル24のセル電圧Vs(検出電圧Vs2)を取得する(S860)。   Thereafter, after the virtual heater voltage Vhi is set to the high level for the duty on time Tht corresponding to the heater driving fixed voltage Vhf transmitted from the central processing unit 2 to the sensor control device 3, the virtual heater voltage Vhi is set to the low level. The level is changed (S700). Thereafter, when the Rpvs measurement waiting time Twa elapses (S840), the cell voltage Vs (detected voltage Vs2) of the electromotive force cell 24 at the subsequent AD sampling time is acquired (S860).

その後、パルス出力待ち時間Twbが経過すると、Rpvs測定パルス信号Siのローレベル出力(抵抗値測定用の電流−Iconstの出力)が開始され、その後のADサンプリング時期における起電力セル24のセル電圧Vs(検出電圧Vs3)を取得するとともに、電圧変化量ΔVs(=Vs2−Vs3)を演算する(S900)。   After that, when the pulse output waiting time Twb elapses, low level output of the Rpvs measurement pulse signal Si (output of resistance value current-Iconst) is started, and the cell voltage Vs of the electromotive force cell 24 at the subsequent AD sampling time is started. (Detection voltage Vs3) is acquired, and voltage change amount ΔVs (= Vs2−Vs3) is calculated (S900).

その後、Rpvs測定パルス信号Siはゼロレベルに設定されて、信号停止期間TR3が経過すると、Rpvs測定パルス信号Siのハイレベル出力(一定電流+Iconstの出力)が開始され、ハイレベル期間TR2が経過すると、Rpvs測定パルス信号Siはゼロレベルに設定される(S910)。   Thereafter, the Rpvs measurement pulse signal Si is set to zero level, and when the signal stop period TR3 elapses, high level output of the Rpvs measurement pulse signal Si (output of constant current + Iconst) is started and when the high level period TR2 elapses. , Rpvs measurement pulse signal Si is set to zero level (S910).

このように、センサ制御装置3は、自身がヒータ5bを通電制御しない構成であっても、中央演算処理装置2からの仮想ヒータ制御モード指令ShおよびRpvs測定機能指令Srに基づいて制御処理を実行することで、ガスセンサ素子5aの状態を表す電圧変化量ΔVsを検出できる。センサ制御装置3は、電圧変化量ΔVsを素子インピーダンス信号Srpvsとして中央演算処理装置2に送信できる。   As described above, the sensor control device 3 executes the control process based on the virtual heater control mode command Sh and the Rpvs measurement function command Sr from the central processing unit 2 even if the sensor control device 3 itself does not control the energization of the heater 5b. By doing so, the voltage change amount ΔVs representing the state of the gas sensor element 5a can be detected. The sensor control device 3 can transmit the voltage change amount ΔVs to the central processing unit 2 as the element impedance signal Srpvs.

[1−5.効果]
以上説明したように、センサ制御システム1は、ガスセンサ素子5aおよびヒータ5bを備えるガスセンサ5を制御するにあたり、センサ制御装置3がガスセンサ素子5aの状態(素子インピーダンスRpvs)を検出し、ヒータ通電制御回路6がヒータ5bを通電制御するように構成されている。また、中央演算処理装置2は、ヒータ通電制御回路6によるヒータ制御状態に基づいて、仮想ヒータ制御モード指令ShおよびRpvs測定機能指令Srを設定することで、センサ制御装置3によるガスセンサ5の制御状態を設定する。
[1-5. effect]
As described above, when the sensor control system 1 controls the gas sensor 5 including the gas sensor element 5a and the heater 5b, the sensor control device 3 detects the state (element impedance Rpvs) of the gas sensor element 5a, and the heater energization control circuit. 6 is configured to control energization of the heater 5b. The central processing unit 2 sets the virtual heater control mode command Sh and the Rpvs measurement function command Sr based on the heater control state by the heater energization control circuit 6, thereby controlling the control state of the gas sensor 5 by the sensor control device 3. Set.

センサ制御装置3の制御部59は、Rpvs測定機能制御処理およびRpvs測定パルス制御処理を実行することで、仮想ヒータ制御モード指令ShおよびRpvs測定機能指令SrがいずれもON状態である場合に(S320で肯定判定、S430で肯定判定)、Rpvs測定周期T3でガスセンサ素子5aの状態(素子インピーダンスRpvs)を検出する(S900)ように構成されている。   When the virtual heater control mode command Sh and the Rpvs measurement function command Sr are both ON by executing the Rpvs measurement function control process and the Rpvs measurement pulse control process, the control unit 59 of the sensor control device 3 (S320). And a positive determination at S430), and the state (element impedance Rpvs) of the gas sensor element 5a is detected at the Rpvs measurement period T3 (S900).

センサ制御装置3の制御部59は、仮想ヒータ制御処理を実行することで、仮想ヒータ制御モード指令ShがON状態である場合に(S430で肯定判定)、ヒータ5bの通電制御を実行する(S450)ように構成されている。   The control unit 59 of the sensor control device 3 executes the virtual heater control process, and executes the energization control of the heater 5b when the virtual heater control mode command Sh is in the ON state (Yes determination in S430) (S450). ) Is configured as follows.

中央演算処理装置2のマイコン2aは、モード設定処理を実行することで、センサ制御装置3に対して出力する仮想ヒータ制御モード指令ShおよびRpvs測定機能指令Srを、ヒータ通電制御回路6によるヒータ5bの制御状態に基づいて設定するように構成されている。   The microcomputer 2a of the central processing unit 2 executes the mode setting process, thereby outputting the virtual heater control mode command Sh and the Rpvs measurement function command Sr output to the sensor control device 3 to the heater 5b by the heater energization control circuit 6. It is configured to set based on the control state.

中央演算処理装置2のマイコン2aは、ヒータ通電制御回路6からのヒータ電圧信号Svhを受信しており、パルス通電信号であるヒータ電圧信号Svhがハイレベルからローレベルに切り替わると(S210で肯定判定)、仮想ヒータ制御モード指令ShおよびRpvs測定機能指令SrをそれぞれON状態に設定する(S230)。   The microcomputer 2a of the central processing unit 2 receives the heater voltage signal Svh from the heater energization control circuit 6, and when the heater voltage signal Svh, which is a pulse energization signal, switches from the high level to the low level (Yes in S210) ), The virtual heater control mode command Sh and the Rpvs measurement function command Sr are set to ON states (S230).

センサ制御システム1においては、中央演算処理装置2(マイコン2a)がヒータ通電制御回路6によるヒータ5bの制御状態に基づいて仮想ヒータ制御モード指令ShおよびRpvs測定機能指令Srを設定するため、センサ制御装置3(制御部59)は、実際のヒータ制御状態に応じてガスセンサ素子5aの状態検出時期を設定できる。   In the sensor control system 1, since the central processing unit 2 (microcomputer 2a) sets the virtual heater control mode command Sh and the Rpvs measurement function command Sr based on the control state of the heater 5b by the heater energization control circuit 6, the sensor control The apparatus 3 (control part 59) can set the state detection time of the gas sensor element 5a according to an actual heater control state.

このようなセンサ制御システム1においては、センサ制御装置3(詳細には、制御部59および内蔵ヒータ制御部60)によるヒータ制御ではなく、別に設けられたヒータ通電制御回路6によるヒータ制御によりヒータ5bを通電制御する構成であっても、センサ制御装置3(詳細には、制御部59)によるガスセンサ素子5aの状態検出時期を適切に設定できる。このため、中央演算処理装置2を用いることで、ヒータ通電制御回路6がヒータ制御を行う構成であっても、内蔵ヒータ制御部60を備えるセンサ制御装置3を改造することなく、センサ制御装置3を用いたガスセンサ素子5aの状態検出が可能となる。   In such a sensor control system 1, the heater 5b is not controlled by the sensor control device 3 (specifically, the control unit 59 and the built-in heater control unit 60) but by heater control by the heater energization control circuit 6 provided separately. Even if it is the structure which carries out electricity supply control, the state detection time of the gas sensor element 5a by the sensor control apparatus 3 (specifically control part 59) can be set appropriately. For this reason, by using the central processing unit 2, even if the heater energization control circuit 6 performs the heater control, the sensor control device 3 provided with the built-in heater control unit 60 is not modified. It becomes possible to detect the state of the gas sensor element 5a using.

よって、中央演算処理装置2を備えるセンサ制御システム1によれば、ガスセンサ素子5aおよびヒータ5bを備えるガスセンサ5の制御において、センサ制御装置3とは別のヒータ通電制御回路6を用いてヒータ5bを通電制御する場合でも、ガスセンサ素子5aの状態検出タイミングをヒータ通電制御回路6によるヒータ5bの制御状態が考慮された時期に設定できる。   Therefore, according to the sensor control system 1 including the central processing unit 2, in controlling the gas sensor 5 including the gas sensor element 5 a and the heater 5 b, the heater energization control circuit 6 different from the sensor control device 3 is used to control the heater 5 b. Even when energization control is performed, the state detection timing of the gas sensor element 5a can be set to a time when the control state of the heater 5b by the heater energization control circuit 6 is considered.

次に、中央演算処理装置2においては、仮想ヒータ制御モード指令ShおよびRpvs測定機能指令Srの切替タイミングを判定するための検出トリガ情報として、パルス通電信号であるヒータ電圧信号Svhがハイレベルからローレベルに切り替わるときの信号(換言すれば、ヒータ通電状態のONからOFFへの切り替え時期を示すOFFエッジ信号)を用いている(S210)。   Next, in the central processing unit 2, the heater voltage signal Svh, which is a pulse energization signal, is changed from a high level to a low level as detection trigger information for determining the switching timing of the virtual heater control mode command Sh and the Rpvs measurement function command Sr. A signal for switching to the level (in other words, an OFF edge signal indicating the switching time of the heater energization state from ON to OFF) is used (S210).

このように、パルス通電信号であるヒータ電圧信号Svhのうちで特定の通電状態を表すOFFエッジ信号を検出トリガ情報として利用することにより、中央演算処理装置2のマイコン2aは、ヒータ通電制御回路6からヒータ5bへのヒータ電圧Vhの出力がOFF状態である時期を判断できる。このため、マイコン2aは、ヒータ電圧Vhの出力がOFF状態である時期に基づいて、仮想ヒータ制御モード指令ShおよびRpvs測定機能指令SrをON状態に設定できるとともに、センサ制御装置3(制御部59)によるガスセンサ素子5aの状態検出タイミングを設定できる。   As described above, the microcomputer 2a of the central processing unit 2 uses the heater energization control circuit 6 by using the OFF edge signal representing a specific energization state in the heater voltage signal Svh, which is a pulse energization signal, as detection trigger information. Can be determined when the output of the heater voltage Vh to the heater 5b is in the OFF state. Therefore, the microcomputer 2a can set the virtual heater control mode command Sh and the Rpvs measurement function command Sr to the ON state based on the time when the output of the heater voltage Vh is in the OFF state, and the sensor control device 3 (the control unit 59). The state detection timing of the gas sensor element 5a can be set.

これにより、センサ制御装置3(制御部59)は、実際のヒータ制御状態に基づき設定された適切なタイミングで、ガスセンサ素子5aの状態検出(素子インピーダンスRpvsの検出)を実行できる。   Thereby, the sensor control apparatus 3 (control part 59) can perform the state detection (detection of element impedance Rpvs) of the gas sensor element 5a at an appropriate timing set based on the actual heater control state.

次に、センサ制御システム1においては、センサ制御装置3は、制御部59および内蔵ヒータ制御部60による固定電圧制御(S650)に用いる目標固定電圧Vaを、中央演算処理装置2からの指令値としてのヒータ駆動固定電圧Vhfに基づいて設定している。   Next, in the sensor control system 1, the sensor control device 3 uses the target fixed voltage Va used for fixed voltage control (S 650) by the control unit 59 and the built-in heater control unit 60 as a command value from the central processing unit 2. The heater driving fixed voltage Vhf is set.

つまり、センサ制御装置3は、固定電圧制御(S650)に用いる目標固定電圧Vaの指令値であるヒータ駆動固定電圧Vhfを、中央演算処理装置2から受信するように構成されている(S110、S410)。   That is, the sensor control device 3 is configured to receive the heater driving fixed voltage Vhf, which is a command value of the target fixed voltage Va used for the fixed voltage control (S650), from the central processing unit 2 (S110, S410). ).

そして、中央演算処理装置2のマイコン2aは、センサ制御装置3(内蔵ヒータ制御部60)がヒータ5bに供給可能な供給電力量の範囲のうち最小値に相当する値が設定されたヒータ駆動固定電圧Vhfを出力する。   Then, the microcomputer 2a of the central processing unit 2 fixes the heater drive in which a value corresponding to the minimum value is set in the range of power supply that can be supplied to the heater 5b by the sensor control device 3 (built-in heater control unit 60). The voltage Vhf is output.

中央演算処理装置2(マイコン2a)がこのようなヒータ駆動固定電圧Vhfを出力することで、センサ制御装置3の制御部59および内蔵ヒータ制御部60による仮想的制御において、ヒータへの通電をPWM制御する場合のヒータへの通電時間(デューティーオン時間Tht)を最短に設定できる。これにより、制御部59および内蔵ヒータ制御部60による仮想的なヒータ制御が開始された後、ヒータへの通電が停止されるまでの時間を最短に設定できるため、ヒータ通電停止時における制御部59によるガスセンサ素子5aの状態検出タイミング(素子インピーダンスRpvsの検出タイミング)を早い時期に設定できる。   When the central processing unit 2 (microcomputer 2a) outputs such a heater driving fixed voltage Vhf, in the virtual control by the control unit 59 and the built-in heater control unit 60 of the sensor control device 3, the energization to the heater is PWM. The energization time (duty on time Tht) to the heater in the case of control can be set to the shortest. Thereby, after the virtual heater control by the control unit 59 and the built-in heater control unit 60 is started, the time until the energization to the heater is stopped can be set to the shortest. Thus, the state detection timing of the gas sensor element 5a (detection timing of the element impedance Rpvs) can be set to an early time.

これにより、中央演算処理装置2を備えるセンサ制御システム1は、ヒータ通電制御回路6からヒータ電圧信号SvhのOFFエッジ信号を受け取った後、センサ制御装置3(詳細には、制御部59)によるガスセンサ素子5aの状態検出までの所要時間を最短に設定することができる。   As a result, the sensor control system 1 including the central processing unit 2 receives the OFF edge signal of the heater voltage signal Svh from the heater energization control circuit 6, and then the gas sensor by the sensor control device 3 (specifically, the control unit 59). The time required for detecting the state of the element 5a can be set to the shortest.

次に、センサ制御装置3の制御部59は、仮想ヒータ制御モード指令ShおよびRpvs測定機能指令Srの両者がOFF状態からON状態に変更されると(S320で肯定判定、S430で肯定判定)、ガスセンサ素子5aの状態(素子インピーダンスRpvs)を検出する(S340、S450、S710)ように構成されている。   Next, when both the virtual heater control mode command Sh and the Rpvs measurement function command Sr are changed from the OFF state to the ON state (positive determination in S320, positive determination in S430), the control unit 59 of the sensor control device 3 The state (element impedance Rpvs) of the gas sensor element 5a is detected (S340, S450, S710).

このため、中央演算処理装置2は、ガスセンサ素子5aの状態検出タイミングを表す個別信号をセンサ制御装置3に出力する構成を採ることなく、仮想ヒータ制御モード指令ShおよびRpvs測定機能指令Srの切替タイミング(OFF状態からON状態に変更するタイミング)を用いて、ガスセンサ素子5aの状態検出タイミングをセンサ制御装置3に伝達できる。   For this reason, the central processing unit 2 does not adopt a configuration in which the individual signal indicating the state detection timing of the gas sensor element 5a is output to the sensor control device 3, and the switching timing of the virtual heater control mode command Sh and the Rpvs measurement function command Sr. The timing for detecting the state of the gas sensor element 5a can be transmitted to the sensor control device 3 using (timing for changing from the OFF state to the ON state).

これにより、センサ制御装置3の改造が不要となるため、中央演算処理装置2は、既存のセンサ制御装置3を用いつつ、ガスセンサ素子5aの状態検出タイミングを設定することが可能となる。   Thereby, since modification of the sensor control device 3 is not required, the central processing unit 2 can set the state detection timing of the gas sensor element 5a while using the existing sensor control device 3.

また、センサ制御装置3の制御部59は、ガスセンサ素子5aの状態(素子インピーダンスRpvs)を検出した後、仮想ヒータ制御モード指令ShおよびRpvs測定機能指令SrがいずれもON状態である期間中は、Rpvs測定周期T3でガスセンサ素子5aの状態を検出する(S330からS360までの処理を繰り返し実行)ように構成されている。   In addition, after the controller 59 of the sensor control device 3 detects the state of the gas sensor element 5a (element impedance Rpvs), the virtual heater control mode command Sh and the Rpvs measurement function command Sr are both in the ON state. It is configured to detect the state of the gas sensor element 5a at the Rpvs measurement cycle T3 (repetitively execute the processing from S330 to S360).

このように、ガスセンサ素子5aの状態を繰り返し検出することで、ガスセンサ素子5aの状態が変化した場合でも、変化後の状態を検出することができる。
[1−5.文言の対応関係]
ここで、文言の対応関係について説明する。
As described above, by repeatedly detecting the state of the gas sensor element 5a, the state after the change can be detected even when the state of the gas sensor element 5a changes.
[1-5. Correspondence of wording]
Here, the correspondence between words will be described.

センサ制御システム1がセンサ制御システムに相当し、中央演算処理装置2が制御状態設定装置に相当し、センサ制御装置3がセンサ制御部に相当し、ガスセンサ5がセンサに相当し、ガスセンサ素子5aがセンサ素子に相当し、ヒータ5bがヒータ部に相当し、ヒータ通電制御回路6が個別ヒータ制御部に相当する。   The sensor control system 1 corresponds to a sensor control system, the central processing unit 2 corresponds to a control state setting device, the sensor control device 3 corresponds to a sensor control unit, the gas sensor 5 corresponds to a sensor, and the gas sensor element 5a It corresponds to a sensor element, the heater 5b corresponds to a heater unit, and the heater energization control circuit 6 corresponds to an individual heater control unit.

仮想ヒータ制御モード指令Shがヒータ制御モード指令に相当し、Rpvs測定機能指令Srが素子状態検出モード指令に相当し、Rpvs測定機能制御処理およびRpvs測定パルス制御処理を実行する制御部59が素子状態検出部に相当し、仮想ヒータ制御処理を実行する制御部59および内蔵ヒータ制御部60が内蔵ヒータ制御部に相当し、モード設定処理を実行するマイコン2aがモード設定部に相当する。   The virtual heater control mode command Sh corresponds to the heater control mode command, the Rpvs measurement function command Sr corresponds to the element state detection mode command, and the control unit 59 that executes the Rpvs measurement function control process and the Rpvs measurement pulse control process is the element state. The control unit 59 and the built-in heater control unit 60 that correspond to the detection unit and execute the virtual heater control process correspond to the built-in heater control unit, and the microcomputer 2a that executes the mode setting process corresponds to the mode setting unit.

ハイレベルからローレベルに切り替わるヒータ電圧信号Svhが検出トリガ情報およびOFFエッジ信号に相当し、ヒータ駆動固定電圧Vhfが電力指令値に相当し、S110を実行するマイコン2aが電力指令値出力部に相当し、Rpvs測定周期T3が予め定められた検出周期に相当する。   The heater voltage signal Svh that switches from the high level to the low level corresponds to detection trigger information and an OFF edge signal, the heater driving fixed voltage Vhf corresponds to a power command value, and the microcomputer 2a that executes S110 corresponds to a power command value output unit. The Rpvs measurement period T3 corresponds to a predetermined detection period.

[2.他の実施形態]
以上、本開示の実施形態について説明したが、本開示は上記実施形態に限定されるものではなく、本開示の要旨を逸脱しない範囲において、様々な態様にて実施することが可能である。
[2. Other Embodiments]
As mentioned above, although embodiment of this indication was described, this indication is not limited to the above-mentioned embodiment, and can be carried out in various modes in the range which does not deviate from the gist of this indication.

例えば、上記実施形態では、中央演算処理装置2(マイコン2a)として、仮想ヒータ制御モード指令ShおよびRpvs測定機能指令Srの各状態を変更するにあたり、2つの指令が同時に変更される構成(S230)について説明した。しかし、中央演算処理装置2(マイコン2a)は、このような構成に限られることはなく、仮想ヒータ制御モード指令ShおよびRpvs測定機能指令Srをそれぞれ異なるタイミングで変更する構成であってもよい。なお、そのような場合であっても、センサ制御装置3(制御部59)は、2つの指令がいずれもON状態に変更された場合に、ガスセンサ素子5aの状態(素子インピーダンスRpvs)を検出する。   For example, in the above embodiment, as the central processing unit 2 (microcomputer 2a), two commands are simultaneously changed when changing the states of the virtual heater control mode command Sh and the Rpvs measurement function command Sr (S230). Explained. However, the central processing unit 2 (microcomputer 2a) is not limited to such a configuration, and may be configured to change the virtual heater control mode command Sh and the Rpvs measurement function command Sr at different timings. Even in such a case, the sensor control device 3 (control unit 59) detects the state (element impedance Rpvs) of the gas sensor element 5a when both of the two commands are changed to the ON state. .

また、上記実施形態では、ガスセンサ素子5aの状態として素子インピーダンスRpvsを検出するようにしたが、ガスセンサ素子5aの状態としてアドミッタンス等を検出するようにしてもよい。   Moreover, in the said embodiment, although element impedance Rpvs was detected as a state of the gas sensor element 5a, you may make it detect admittance etc. as a state of the gas sensor element 5a.

次に、上記実施形態における1つの構成要素が有する機能を複数の構成要素に分担させたり、複数の構成要素が有する機能を1つの構成要素に発揮させたりしてもよい。また、上記実施形態の構成の一部を、省略してもよい。また、上記実施形態の構成の少なくとも一部を、他の上記実施形態の構成に対して付加、置換等してもよい。なお、特許請求の範囲に記載の文言から特定される技術思想に含まれるあらゆる態様が本開示の実施形態である。   Next, the function of one component in the above embodiment may be shared by a plurality of components, or the function of a plurality of components may be exhibited by one component. Moreover, you may abbreviate | omit a part of structure of the said embodiment. In addition, at least a part of the configuration of the above embodiment may be added to or replaced with the configuration of the other embodiment. In addition, all the aspects included in the technical idea specified from the wording described in the claims are embodiments of the present disclosure.

上述したマイコンの他、当該マイコンを構成要素とするシステム、当該マイコンとしてコンピュータを機能させるためのプログラム、このプログラムを記録した半導体メモリ等の非遷移的実態的記録媒体、各種演算方法など、種々の形態で本開示を実現することもできる。   In addition to the above-described microcomputer, there are various systems such as a system including the microcomputer as a constituent element, a program for causing the computer to function as the microcomputer, a non-transition actual recording medium such as a semiconductor memory in which the program is recorded, various calculation methods, etc. The present disclosure can also be realized in the form.

1…センサ制御システム、2…中央演算処理装置(MCU)、2a…マイクロコンピュータ(マイコン)、3…センサ制御装置、5…ガスセンサ、5a…ガスセンサ素子、5b…ヒータ、5c…発熱抵抗体、6…ヒータ通電制御回路、14…ポンプセル、24…起電力セル、59…制御部、60…内蔵ヒータ制御部。   DESCRIPTION OF SYMBOLS 1 ... Sensor control system, 2 ... Central processing unit (MCU), 2a ... Microcomputer (microcomputer), 3 ... Sensor control apparatus, 5 ... Gas sensor, 5a ... Gas sensor element, 5b ... Heater, 5c ... Heating resistor, 6 ... heater energization control circuit, 14 ... pump cell, 24 ... electromotive force cell, 59 ... control unit, 60 ... built-in heater control unit.

Claims (5)

センサ素子およびヒータ部を備えるセンサを制御するセンサ制御部による前記センサの制御状態を設定する制御状態設定装置であって、
前記センサ制御部は、
外部からのヒータ制御モード指令および素子状態検出モード指令に基づいて、前記ヒータ制御モード指令および前記素子状態検出モード指令がいずれもモードON指令である場合に、前記センサ素子の状態を検出する素子状態検出部と、
前記ヒータ制御モード指令に基づいて、前記ヒータ制御モード指令がモードON指令である場合に、前記ヒータ部を制御する内蔵ヒータ制御部と、
を備えており、
前記ヒータ部は、前記内蔵ヒータ制御部ではなく、前記センサ制御部とは別に設けられた個別ヒータ制御部から出力されるパルス通電信号により通電制御される構成であり、
当該制御状態設定装置は、
前記センサ制御部に対して出力する前記ヒータ制御モード指令および前記素子状態検出モード指令を、前記個別ヒータ制御部による前記ヒータ部へのパルス通電信号に基づいて設定するモード設定部を備え、
前記モード設定部は、前記個別ヒータ制御部から出力される前記パルス通電信号のうちで予め定められた特定の通電状態を表す検出トリガ情報を受け取ると、前記センサ制御部に対して出力する前記ヒータ制御モード指令および前記素子状態検出モード指令をそれぞれON状態に設定する、
制御状態設定装置。
A control state setting device for setting a control state of the sensor by a sensor control unit that controls a sensor including a sensor element and a heater unit,
The sensor control unit
An element state that detects the state of the sensor element when both the heater control mode command and the element state detection mode command are mode ON commands based on an external heater control mode command and an element state detection mode command A detection unit;
Based on the heater control mode command, when the heater control mode command is a mode ON command, a built-in heater control unit that controls the heater unit;
With
The heater section is configured to be energized and controlled by a pulse energization signal output from an individual heater controller provided separately from the sensor controller, not the built-in heater controller.
The control state setting device
A mode setting unit that sets the heater control mode command to be output to the sensor control unit and the element state detection mode command based on a pulse energization signal to the heater unit by the individual heater control unit;
When the mode setting unit receives detection trigger information representing a specific energization state determined in advance among the pulse energization signals output from the individual heater control unit, the heater that outputs to the sensor control unit Each of the control mode command and the element state detection mode command is set to the ON state.
Control state setting device.
前記検出トリガ情報は、前記パルス通電信号におけるONからOFFへの切り替え時期を示すOFFエッジ信号である、
請求項1に記載の制御状態設定装置。
The detection trigger information is an OFF edge signal indicating a switching time from ON to OFF in the pulse energization signal.
The control state setting device according to claim 1.
前記センサ制御部は、前記内蔵ヒータ制御部による前記ヒータ部への供給電力量の指令値である電力指令値を外部から受け取るように構成されており、
当該制御状態設定装置は、前記内蔵ヒータ制御部が前記ヒータ部に供給可能な供給電力量の範囲のうち最小値を、前記電力指令値として前記センサ制御部に対して出力する電力指令値出力部を備える、
請求項1または請求項2に記載の制御状態設定装置。
The sensor control unit is configured to receive from the outside a power command value that is a command value of the amount of power supplied to the heater unit by the built-in heater control unit,
The control state setting device includes a power command value output unit that outputs, to the sensor control unit, a minimum value in a range of power supply that can be supplied to the heater unit by the built-in heater control unit as the power command value. Comprising
The control state setting device according to claim 1.
前記素子状態検出部は、前記ヒータ制御モード指令および前記素子状態検出モード指令の両者がモードOFF指令からモードON指令に変更されると、前記センサ素子の状態を検出し、その後、前記ヒータ制御モード指令および前記素子状態検出モード指令がいずれもモードON指令である期間中は、予め定められた検出周期で前記センサ素子の状態を検出する、
請求項1から請求項3のうちいずれか一項に記載の制御状態設定装置。
The element state detection unit detects the state of the sensor element when both the heater control mode command and the element state detection mode command are changed from a mode OFF command to a mode ON command, and then the heater control mode During the period in which both the command and the element state detection mode command are mode ON commands, the state of the sensor element is detected at a predetermined detection cycle.
The control state setting device according to any one of claims 1 to 3.
センサ素子およびヒータ部を備えるセンサを制御するセンサ制御部と、
前記センサ制御部による前記センサの制御状態を設定する制御状態設定装置と、
を備えるセンサ制御システムであって、
前記センサ制御部は、
外部からのヒータ制御モード指令および素子状態検出モード指令に基づいて、前記ヒータ制御モード指令および前記素子状態検出モード指令がいずれもモードON指令である場合に、前記センサ素子の状態を検出する素子状態検出部と、
前記ヒータ制御モード指令に基づいて、前記ヒータ制御モード指令がモードON指令である場合に、前記ヒータ部を制御する内蔵ヒータ制御部と、を備えており、
前記ヒータ部は、前記内蔵ヒータ制御部ではなく、前記センサ制御部とは別に設けられた個別ヒータ制御部から出力されるパルス通電信号により通電制御される構成であり、
前記制御状態設定装置は、請求項1から請求項4のうちいずれか一項に記載の制御状態設定装置である、
センサ制御システム。
A sensor control unit for controlling a sensor including a sensor element and a heater unit;
A control state setting device for setting a control state of the sensor by the sensor control unit;
A sensor control system comprising:
The sensor control unit
An element state that detects the state of the sensor element when both the heater control mode command and the element state detection mode command are mode ON commands based on an external heater control mode command and an element state detection mode command A detection unit;
A built-in heater control unit that controls the heater unit when the heater control mode command is a mode ON command based on the heater control mode command;
The heater section is configured to be energized and controlled by a pulse energization signal output from an individual heater controller provided separately from the sensor controller, not the built-in heater controller.
The control state setting device is the control state setting device according to any one of claims 1 to 4.
Sensor control system.
JP2017118875A 2017-06-16 2017-06-16 Control status setting device and sensor control system Active JP6871080B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017118875A JP6871080B2 (en) 2017-06-16 2017-06-16 Control status setting device and sensor control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017118875A JP6871080B2 (en) 2017-06-16 2017-06-16 Control status setting device and sensor control system

Publications (2)

Publication Number Publication Date
JP2019002842A true JP2019002842A (en) 2019-01-10
JP6871080B2 JP6871080B2 (en) 2021-05-12

Family

ID=65006921

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017118875A Active JP6871080B2 (en) 2017-06-16 2017-06-16 Control status setting device and sensor control system

Country Status (1)

Country Link
JP (1) JP6871080B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021156847A (en) * 2020-03-30 2021-10-07 株式会社デンソー Air-fuel ratio sensor controller
CN113803142A (en) * 2020-06-15 2021-12-17 卓品智能科技无锡有限公司 Method for acquiring key signals of vehicle-mounted nitrogen-oxygen sensor

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003050226A (en) * 2001-05-31 2003-02-21 Denso Corp Heater control device for gas concentration sensor
JP2013210361A (en) * 2012-02-15 2013-10-10 Ngk Spark Plug Co Ltd Gas sensor control device
US20130327124A1 (en) * 2010-10-06 2013-12-12 Jens Schneider Method for setting a temperature of a sensor element
JP2015064208A (en) * 2013-09-24 2015-04-09 日本特殊陶業株式会社 Heater control device for gas sensors
JP2015200574A (en) * 2014-04-08 2015-11-12 日本特殊陶業株式会社 Sensor control system, sensor control device, and terminal device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003050226A (en) * 2001-05-31 2003-02-21 Denso Corp Heater control device for gas concentration sensor
US20130327124A1 (en) * 2010-10-06 2013-12-12 Jens Schneider Method for setting a temperature of a sensor element
JP2013210361A (en) * 2012-02-15 2013-10-10 Ngk Spark Plug Co Ltd Gas sensor control device
JP2015064208A (en) * 2013-09-24 2015-04-09 日本特殊陶業株式会社 Heater control device for gas sensors
JP2015200574A (en) * 2014-04-08 2015-11-12 日本特殊陶業株式会社 Sensor control system, sensor control device, and terminal device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021156847A (en) * 2020-03-30 2021-10-07 株式会社デンソー Air-fuel ratio sensor controller
JP7354901B2 (en) 2020-03-30 2023-10-03 株式会社デンソー Air fuel ratio sensor control device
CN113803142A (en) * 2020-06-15 2021-12-17 卓品智能科技无锡有限公司 Method for acquiring key signals of vehicle-mounted nitrogen-oxygen sensor
CN113803142B (en) * 2020-06-15 2023-11-07 卓品智能科技无锡有限公司 Method for collecting key signals of vehicle-mounted nitrogen-oxygen sensor

Also Published As

Publication number Publication date
JP6871080B2 (en) 2021-05-12

Similar Documents

Publication Publication Date Title
JP2008008667A (en) Gas sensor controller
JP2006343306A (en) Gas concentration detector
JP2000171439A (en) Gas concentration detector
JP4860503B2 (en) Sensor control device
US9541523B2 (en) Sensor control apparatus and gas detection system
JP4106369B2 (en) Gas sensor control device
JP6871080B2 (en) Control status setting device and sensor control system
JP6700910B2 (en) Gas sensor controller
JP5795998B2 (en) Gas sensor control device
JP4508123B2 (en) Element impedance detector
JP4898544B2 (en) Sensor control device
JP3645665B2 (en) Temperature control method and apparatus for all-region oxygen sensor
JP4572735B2 (en) Gas concentration detector
JP5041488B2 (en) Sensor control device
US10261060B2 (en) Sensor control apparatus and gas detection system
US20150083703A1 (en) Heater control apparatus for gas sensor
JP2016070883A (en) Gas sensor system
JPH10153576A (en) Air-fuel ratio sensor
JP2008070116A (en) Sensor control device and sensor control method
JP4444520B2 (en) Gas sensor
JP6889079B2 (en) Sensor control device
JP2006053126A (en) Gas concentration detector
JP5782406B2 (en) Gas sensor system
JPH11174020A (en) A/f sensor control circuit
JP5001086B2 (en) Sensor control device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200423

TRDD Decision of grant or rejection written
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20210317

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20210323

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210415

R150 Certificate of patent or registration of utility model

Ref document number: 6871080

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250