JP7582266B2 - COMMUNICATION DEVICE AND SENSOR DEVICE EQUIPPED WITH THE SAME - Google Patents
COMMUNICATION DEVICE AND SENSOR DEVICE EQUIPPED WITH THE SAME Download PDFInfo
- Publication number
- JP7582266B2 JP7582266B2 JP2022104700A JP2022104700A JP7582266B2 JP 7582266 B2 JP7582266 B2 JP 7582266B2 JP 2022104700 A JP2022104700 A JP 2022104700A JP 2022104700 A JP2022104700 A JP 2022104700A JP 7582266 B2 JP7582266 B2 JP 7582266B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- sensor
- sensor data
- area
- detection value
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G08—SIGNALLING
- G08C—TRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
- G08C19/00—Electric signal transmission systems
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04J—MULTIPLEX COMMUNICATION
- H04J3/00—Time-division multiplex systems
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Arrangements For Transmission Of Measured Signals (AREA)
- Time-Division Multiplex Systems (AREA)
Description
本開示は、通信装置およびそれを備えたセンサ装置に関する。 This disclosure relates to a communication device and a sensor device equipped with the same.
従来、磁気センサを備え、電動パワーステアリング装置に用いられるセンサ装置が知られている(例えば、特許文献1参照)。磁気センサは、センサ素子および出力回路を有し、センサ素子が検出する磁束密度を含む情報を出力回路がSENTプロトコルに従ってSENT通信波形を生成し、出力信号として出力する。このSENTプロトコルに従って生成されるSENT通信波形は、各種情報を含む複数のパルス信号で構成されており、例えば、センサ素子が検出する検出値の情報を含むデータ信号に加えて、出力信号を判別するためのステータス信号が含まれる。 Conventionally, a sensor device equipped with a magnetic sensor and used in an electric power steering device is known (see, for example, Patent Document 1). The magnetic sensor has a sensor element and an output circuit, and the output circuit generates a SENT communication waveform according to the SENT protocol based on information including the magnetic flux density detected by the sensor element, and outputs it as an output signal. This SENT communication waveform generated according to the SENT protocol is composed of multiple pulse signals including various information, and includes, for example, a data signal including information on the detection value detected by the sensor element, as well as a status signal for determining the output signal.
例えば、特許文献1に記載の出力回路が生成するSENT通信波形に含まれるステータス信号には、出力信号の送信毎に値が+1ずつ増加される更新カウンタの情報が含まれている。これにより、この出力信号を受信するECUは、データ信号に含まれる検出値が変化しない場合、更新カウンタの値が変化しているか否かで、データ固着異常が生じているか否かを判別することができる。
For example, the status signal included in the SENT communication waveform generated by the output circuit described in
ところで、SENTプロトコルに従って生成されるSENT通信波形において、ステータス信号は4ビットのデータ領域で構成される。そして、ステータス信号には、例えば、センサ装置の品番やセンサ装置の各種内部部品の異常を判別するための情報等、データ固着異常を判別するための情報以外の情報も含ませたい場合がある。 In the SENT communication waveform generated according to the SENT protocol, the status signal is composed of a 4-bit data area. In addition, there are cases where it is desired to include information in the status signal other than the information for determining data fixation abnormalities, such as the product number of the sensor device or information for determining abnormalities in various internal components of the sensor device.
しかし、SENTプロトコルでは、ステータス信号は4ビットで構成されており、ステータス信号に含ませることが可能な情報量は限られている。このため、4ビットのデータ領域がセンサ装置の品番やセンサ装置の各種内部部品の異常を判別するための情報を送信するために使用されると、データ固着異常を判別するための情報をステータス信号に含めることができなくなる場合がある。この場合、SENTプロトコルに従って生成される出力信号を出力する通信装置では、データ固着異常を判別するための情報を、出力信号を受信する側に送信することができない虞がある。 However, in the SENT protocol, the status signal is composed of 4 bits, and the amount of information that can be included in the status signal is limited. For this reason, if the 4-bit data area is used to transmit information for determining the model number of the sensor device or abnormalities in various internal components of the sensor device, it may not be possible to include information for determining data fixation abnormalities in the status signal. In this case, a communication device that outputs an output signal generated according to the SENT protocol may not be able to transmit information for determining data fixation abnormalities to the side receiving the output signal.
本開示は、ステータス信号のデータ領域を使用することなく、データ固着異常を判別するための情報を送信可能な通信装置を提供することを目的とする。 The present disclosure aims to provide a communication device that can transmit information for determining data fixation abnormalities without using the data area of a status signal.
請求項1に記載の発明は、
センサ(S1、S2)から第1検出値および第2検出値を取得して、第1検出値および第2検出値に応じた信号をSENTプロトコルに従った信号で出力する通信装置であって、
取得する第1検出値および第2検出値に関する信号をSENT通信波形として生成する波形生成部(10)と、
SENT通信波形を出力信号として出力する信号出力部(20)と、を備え、
SENT通信波形は、格納される情報が予め定められた複数のデータ領域で構成されており、
複数のデータ領域は、12ビットのデータ長で構成され、第1検出値に関する情報が格納される第1センサ領域(R1)と、12ビットのデータ長で構成され、第2検出値に関する情報が格納される第2センサ領域(R2)と、を含み、
波形生成部は、
第1検出値を、第1センサ領域に格納するための12ビットのデータである第1センサデータに変換するとともに、第2検出値を、第2センサ領域に格納するための12ビットのデータである第2センサデータに変換するセンサデータ作成部(31、32)と、
第1センサデータおよび第2センサデータの少なくとも一方のセンサデータのデータ量を圧縮させて、第1センサ領域および第2センサ領域の少なくとも一方のセンサ領域に第1センサデータおよび第2センサデータが格納されない空領域を生成するデータ圧縮部(41、42)と、
第1センサデータおよび第2センサデータが更新されない状態を示すデータ固着異常が発生しているか否かを判別するための異常判別情報を空領域に追加する判別情報追加部(50)と、を有する。
The invention described in
A communication device that acquires a first detection value and a second detection value from a sensor (S1, S2) and outputs a signal according to the first detection value and the second detection value in a signal conforming to a SENT protocol,
a waveform generating unit (10) that generates a signal relating to the acquired first detection value and second detection value as a SENT communication waveform;
A signal output unit (20) that outputs a SENT communication waveform as an output signal,
The SENT communication waveform is configured with a plurality of predetermined data areas for the stored information,
The plurality of data areas include a first sensor area (R1) having a data length of 12 bits and storing information relating to a first detection value, and a second sensor area (R2) having a data length of 12 bits and storing information relating to a second detection value,
The waveform generator includes:
a sensor data creation unit (31, 32) that converts the first detection value into first sensor data, which is 12-bit data to be stored in a first sensor area, and converts the second detection value into second sensor data, which is 12-bit data to be stored in a second sensor area;
a data compression unit (41, 42) that compresses the amount of at least one of the first sensor data and the second sensor data to generate an empty area in which the first sensor data and the second sensor data are not stored in at least one of the first sensor area and the second sensor area;
and a discrimination information adding unit (50) that adds abnormality discrimination information to an empty area to determine whether or not a data fixation abnormality has occurred, the data fixation abnormality indicating a state in which the first sensor data and the second sensor data are not updated.
これによれば、第1センサ領域および第2センサ領域のいずれか一方の領域に異常判別情報を追加することによって、ステータス信号のデータ領域を使用することなく異常判別情報を送信することができる。 According to this, by adding the abnormality determination information to either the first sensor area or the second sensor area, the abnormality determination information can be transmitted without using the data area of the status signal.
なお、各構成要素等に付された括弧付きの参照符号は、その構成要素等と後述する実施形態に記載の具体的な構成要素等との対応関係の一例を示すものである。 The reference symbols in parentheses attached to each component indicate an example of the correspondence between the component and the specific components described in the embodiments described below.
以下、本開示の実施形態について図面を参照して説明する。なお、以下の実施形態において、先行する実施形態で説明した事項と同一もしくは均等である部分には、同一の参照符号を付し、その説明を省略する場合がある。また、実施形態において、構成要素の一部だけを説明している場合、構成要素の他の部分に関しては、先行する実施形態において説明した構成要素を適用することができる。以下の実施形態は、特に組み合わせに支障が生じない範囲であれば、特に明示していない場合であっても、各実施形態同士を部分的に組み合わせることができる。 Embodiments of the present disclosure will be described below with reference to the drawings. In the following embodiments, parts that are the same as or equivalent to those described in the preceding embodiments may be given the same reference numerals, and their description may be omitted. In addition, in the embodiments where only some of the components are described, the components described in the preceding embodiments may be applied to the other parts of the components. The following embodiments may be partially combined with each other, as long as the combination does not cause any problems, even if not specifically stated.
(第1実施形態)
本実施形態について、図1~図7を参照して説明する。本実施形態では、例えば、通信装置1が車両のブレーキを制御するブレーキバイワイヤシステムに用いられる例について説明する。 ブレーキバイワイヤシステムは、運転者によって踏まれる不図示のブレーキペダルを備え、当該ブレーキペダルが運転者によって踏まれた際の踏力に応じて車両に設けられた車輪の制動を制御するブレーキシステムである。
First Embodiment
This embodiment will be described with reference to Figures 1 to 7. In this embodiment, for example, an example will be described in which the
ブレーキバイワイヤシステムは、例えば、ブレーキペダルが踏まれる際の踏力に関する情報を検出するための2つのセンサS1、S2と、2つのセンサS1、S2が検出する検出値に応じて車輪の制動を制御する各種構成機器を制御する制御装置Eと、を備える。そして、本実施形態の通信装置1は、2つのセンサS1、S2が検出する検出値を制御装置Eに伝達するために用いられる。制御装置Eは、通信装置1から送信される信号に基づいてブレーキバイワイヤシステムに設けられた各種構成機器を制御する。
The brake-by-wire system, for example, includes two sensors S1 and S2 for detecting information related to the force applied when the brake pedal is depressed, and a control device E for controlling various components that control wheel braking according to the detection values detected by the two sensors S1 and S2. The
なお、制御装置Eは、ECU(Electronic Control Unitの略)と呼ばれるものである。通信装置1は、2つのセンサS1、S2それぞれが検出する検出値に応じた信号を制御装置Eに送信することで、当該2つのセンサS1、S2が検出する検出値を制御装置Eに伝達する。
The control device E is called an ECU (short for Electronic Control Unit). The
以下、2つのセンサS1、S2のうち、一方のセンサを第1センサS1とも呼び、他方のセンサを第2センサS2とも呼ぶ。また、第1センサS1が検出する検出値を第1検出値とも呼び、第2センサS2が検出する検出値を第2検出値とも呼ぶ。 Hereinafter, of the two sensors S1 and S2, one sensor will be referred to as the first sensor S1, and the other sensor will be referred to as the second sensor S2. In addition, the detection value detected by the first sensor S1 will be referred to as the first detection value, and the detection value detected by the second sensor S2 will be referred to as the second detection value.
本実施形態の第1センサS1および第2センサS2は、ブレーキペダルにおいて互いに異なる位置に設けられており、ブレーキペダルが運転者によって踏まれる際の踏力に関する情報を互いに独立して検出可能に構成されている。 In this embodiment, the first sensor S1 and the second sensor S2 are provided at different positions on the brake pedal and are configured to be able to detect information about the depression force when the driver depresses the brake pedal independently of each other.
例えば、第1センサS1は、ブレーキペダルを回転可能に支持する回転軸に設けられており、ブレーキペダルが運転者によって踏まれる際の回転量を検出する回転角センサで構成される。そして、第1センサS1は、磁石およびホール素子等を有する磁気センサで構成されていてもよい。この場合、第1センサS1は、回転軸が回転する際の磁気の変化を検出することで、回転軸の回転量に応じたブレーキペダルへの踏力を検出する。 For example, the first sensor S1 is provided on a rotating shaft that rotatably supports the brake pedal, and is configured as a rotation angle sensor that detects the amount of rotation when the brake pedal is depressed by the driver. The first sensor S1 may also be configured as a magnetic sensor having a magnet and a Hall element, etc. In this case, the first sensor S1 detects the change in magnetism when the rotating shaft rotates, thereby detecting the force applied to the brake pedal according to the amount of rotation of the rotating shaft.
また、例えば、第2センサS2は、ブレーキペダルに設けられており、ブレーキペダルが運転者によって踏まれる際の移動量を検出することで、運転者の踏力を検出するストロークセンサで構成される。そして、第2センサS2は、ターゲット金属およびターゲット金属の動作を検出するコイル部等を有するインダクティブセンサで構成されていてもよい。この場合、第2センサS2は、ブレーキペダルが回転する際のコイル部のインピーダンスの変化を検出することで、ブレーキペダルの移動量に応じたブレーキペダルへの踏力を検出する。 For example, the second sensor S2 is provided on the brake pedal and is configured as a stroke sensor that detects the amount of movement of the brake pedal when the driver presses it, thereby detecting the force of the driver's depression. The second sensor S2 may also be configured as an inductive sensor having a target metal and a coil section that detects the movement of the target metal. In this case, the second sensor S2 detects the change in impedance of the coil section when the brake pedal rotates, thereby detecting the force applied to the brake pedal according to the amount of movement of the brake pedal.
第1センサS1および第2センサS2は、それぞれの出力側が通信装置1に接続されており、それぞれが検出する検出値に応じた信号を通信装置1に送信する。
The first sensor S1 and the second sensor S2 have their respective output sides connected to the
なお、第1センサS1および第2センサS2は、センサの構成が限定されるものでなく、例えば、運転者がペダルを踏む際のペダルに印加される圧力を検出する圧力センサ等、磁気センサおよびインダクティブセンサとは異なるセンサで構成されていてもよい。 The first sensor S1 and the second sensor S2 are not limited in their sensor configuration, and may be configured as a sensor other than a magnetic sensor and an inductive sensor, such as a pressure sensor that detects the pressure applied to the pedal when the driver presses the pedal.
通信装置1は、第1センサS1から送信される第1検出値および第2センサS2から送信される第2検出値を取得するとともに、取得した第1検出値および第2検出値に応じた信号を制御装置Eに出力する送信装置である。本実施形態の通信装置1は、取得する第1検出値および第2検出値に応じた信号をSENTプロトコルに従って生成するデジタル信号を出力することで制御装置EとSENT通信を行うものである。なお、SENTはSingle Edge Nibble Transmissionの略である。
The
通信装置1は、CPU、ROMおよびRAM等の記憶部を含んで構成されるマイクロコンピュータとその周辺回路から構成されている。記憶部は、非遷移的実体的記憶媒体で構成されている。通信装置1は、ROM内に記憶されたプログラムに基づいて各種演算、処理を行う。また、通信装置1は、図1に示すように、第1センサS1および第2センサS2から入力される信号に基づいて信号波形を生成する波形生成部10と、波形生成部10によって生成された信号波形を出力信号として出力する信号出力部20と、を備える。
The
波形生成部10は、入力側に第1センサS1および第2センサS2が接続されており、出力側に信号出力部20が接続されている。波形生成部10は、第1センサS1から送信される第1検出値および第2センサS2から送信される第2検出値に関する情報を含む信号をSENTプロトコルに従って生成し、図2に示すSENT通信波形Pとして信号出力部20に送信する。
The
ここで、図2に示すSENT通信波形Pについて説明する。図2に示すSENT通信波形Pは、波形生成部10が生成するSENT通信波形Pの1フレーム分の通信波形を示す。SENT通信波形Pは、図2に示すように、10個のパルス信号で構成され、当該10個のパルス信号それぞれに各種情報を格納する。10個のバルス信号に格納される情報はSENTプロトコルに基づいて予め定められている。そして、SENT通信波形Pは、各パルス信号の立下り開始タイミングから次の立下り開始タイミングまでの立下がりエッジ間の時間で各パルス信号に格納される情報の内容を表現する。SENT通信波形Pは、各パルス信号に格納される情報(すなわち、データ)が予め定められており、パルス信号毎に分割された複数のデータ領域で構成されている。
Here, the SENT communication waveform P shown in FIG. 2 will be described. The SENT communication waveform P shown in FIG. 2 shows one frame of the communication waveform of the SENT communication waveform P generated by the
SENT通信波形Pは、具体的に、同期校正パルスSyと、ステータス・コミュニケーションニブルStと、第1データニブルDa1~第6データニブルDa6と、CRCニブルCrと、ポーズパルスPaとが、この順に連なって構成されている。同期校正パルスSyは、立下がりエッジ間の時間が予め定められている。これに対して、ステータス・コミュニケーションニブルSt、第1データニブルDa1~第6データニブルDa6、CRCニブルCrおよびポーズパルスPaは、各パルス信号における立下がりエッジ間の時間が可変である。 Specifically, the SENT communication waveform P is composed of a synchronous calibration pulse Sy, a status communication nibble St, the first data nibble Da1 to the sixth data nibble Da6, a CRC nibble Cr, and a pause pulse Pa, which are connected in this order. The time between the falling edges of the synchronous calibration pulse Sy is predetermined. In contrast, the time between the falling edges of each pulse signal of the status communication nibble St, the first data nibble Da1 to the sixth data nibble Da6, the CRC nibble Cr, and the pause pulse Pa is variable.
これら各ニブルおよびポーズパルスPaそれぞれの立下りエッジ間の時間は、各ニブルおよびポーズパルスPaに格納されるデータに応じて波形生成部10によって設定される。また、ステータス・コミュニケーションニブルSt、第1データニブルDa1~第6データニブルDa6、CRCニブルCrそれぞれは、ニブル毎に4ビット分のデータを格納する。
The time between the falling edges of each of these nibbles and pause pulses Pa is set by the
また、SENT通信波形Pにおいて、各パルス信号の立下りエッジ間の時間はティック単位で表現される。1ティックの時間は、設定可能であって、例えば3us(マイクロ秒)に設定される。 In addition, in the SENT communication waveform P, the time between the falling edges of each pulse signal is expressed in tick units. The time of one tick can be set, for example, to 3 us (microseconds).
同期校正(Synchronization/Calibration)パルスSyは、1フレーム毎のSENT通信波形Pにおいて先頭に配置されるパルス信号であって、1フレーム分のSENT通信波形Pの開始タイミングを通知するためのパルス信号である。同期校正パルスSyの立下りエッジ間の時間(すなわち、パルス幅)は、56ティックで固定されている。制御装置Eは、通信装置1からSENT通信波形Pを受信すると、56ティックの時間に所定の許容誤差を含む時間のパルス信号を検出することで、SENT通信の開始タイミングを取得することができる。
The synchronization/calibration pulse Sy is a pulse signal that is placed at the beginning of the SENT communication waveform P for each frame, and is a pulse signal for notifying the start timing of one frame of the SENT communication waveform P. The time between the falling edges of the synchronization calibration pulse Sy (i.e., the pulse width) is fixed at 56 ticks. When the control device E receives the SENT communication waveform P from the
ステータス・コミュニケーション(Status and Communication)ニブルStは、同期校正パルスSyの次に配置されるパルス信号である。ステータス・コミュニケーションニブルStは、通信装置1の状態や製品番号などを制御装置Eに通知するためのパルス信号である。ステータス・コミュニケーションニブルStは、4ビットのデータ長のデータを格納可能に構成されており、例えば、通信装置1の構成機器の正常状態または異常状態、製品番号等のデータを、0~15までのデータ値として格納する。そして、ステータス・コミュニケーションニブルStは、これらのデータの内容に応じて立下りエッジ間の時間が12ティック~27ティックまでの15段階のいずれかの時間に設定される。これにより、ステータス・コミュニケーションニブルStは、通信装置1の構成機器の正常状態または異常状態、製品番号等を4ビットのデータで表現する。本実施形態のステータス・コミュニケーションニブルStは、ステータス信号に対応する。
The status and communication nibble St is a pulse signal placed next to the synchronous calibration pulse Sy. The status and communication nibble St is a pulse signal for notifying the control device E of the state of the
第1データニブルDa1~第6データニブルDa6は、ステータス・コミュニケーションニブルStの次に配置されるパルス信号である。具体的に、ステータス・コミュニケーションニブルStの次に、第1データニブルDa1、第2データニブルDa2、第3データニブルDa3、第4データニブルDa4、第5データニブルDa5、第6データニブルDa6の順に連なって構成されている。 The first data nibble Da1 to the sixth data nibble Da6 are pulse signals placed after the status communication nibble St. Specifically, after the status communication nibble St, the first data nibble Da1, the second data nibble Da2, the third data nibble Da3, the fourth data nibble Da4, the fifth data nibble Da5, and the sixth data nibble Da6 are arranged in this order.
第1データニブルDa1~第6データニブルDa6は、第1センサS1から取得する第1検出値および第2センサS2から取得する第2検出値を通知するためのパルス信号である。第1データニブルDa1~第6データニブルDa6それぞれは、4ビットのデータ長のデータを格納可能に構成されている。そして、第1データニブルDa1~第6データニブルDa6それぞれは、第1センサS1から取得する第1検出値に関する情報または第2センサS2から取得する第2検出値に関する情報を、例えば、0~15までのデータ値として格納することができる。 The first data nibble Da1 to the sixth data nibble Da6 are pulse signals for notifying the first detection value obtained from the first sensor S1 and the second detection value obtained from the second sensor S2. Each of the first data nibble Da1 to the sixth data nibble Da6 is configured to be able to store data with a data length of 4 bits. Each of the first data nibble Da1 to the sixth data nibble Da6 can store information about the first detection value obtained from the first sensor S1 or information about the second detection value obtained from the second sensor S2 as a data value from 0 to 15, for example.
本実施形態では、第1データニブルDa1、第2データニブルDa2および第3データニブルDa3には、第1センサS1から送信される第1検出値に関する情報が格納される。すなわち、第1データニブルDa1、第2データニブルDa2および第3データニブルDa3によって構成される12ビット長のデータによって、第1センサS1から送信される第1検出値が表現される。第1データニブルDa1、第2データニブルDa2および第3データニブルDa3は、第1センサS1から取得する第1検出値を、例えば、0~4095までのデータ値として格納することができる。 In this embodiment, the first data nibble Da1, the second data nibble Da2, and the third data nibble Da3 store information about the first detection value transmitted from the first sensor S1. That is, the first detection value transmitted from the first sensor S1 is expressed by 12-bit data composed of the first data nibble Da1, the second data nibble Da2, and the third data nibble Da3. The first data nibble Da1, the second data nibble Da2, and the third data nibble Da3 can store the first detection value obtained from the first sensor S1 as a data value, for example, from 0 to 4095.
具体的に、第1データニブルDa1、第2データニブルDa2および第3データニブルDa3は、第1検出値に応じてそれぞれの立下りエッジ間の時間が12ティック~27ティックまでの15段階のいずれかの時間に設定される。これにより、第1データニブルDa1、第2データニブルDa2および第3データニブルDa3は、第1検出値を12ビットのデータで表現する。以下、SENT通信波形Pにおいて、第1データニブルDa1、第2データニブルDa2および第3データニブルDa3で構成され、第1検出値に関する情報が格納されるデータ領域を第1センサ領域R1とも呼ぶ。また、第1センサ領域R1に格納され、第1検出値に応じたデータを第1センサデータとも呼ぶ。第1センサデータは、第1センサS1から取得する第1検出値に応じたデータである。 Specifically, the time between the falling edges of the first data nibble Da1, the second data nibble Da2, and the third data nibble Da3 is set to one of 15 stages ranging from 12 ticks to 27 ticks depending on the first detection value. As a result, the first data nibble Da1, the second data nibble Da2, and the third data nibble Da3 express the first detection value as 12-bit data. Hereinafter, in the SENT communication waveform P, the data area consisting of the first data nibble Da1, the second data nibble Da2, and the third data nibble Da3 and in which information related to the first detection value is stored is also referred to as the first sensor area R1. Moreover, the data stored in the first sensor area R1 and corresponding to the first detection value is also referred to as the first sensor data. The first sensor data is data corresponding to the first detection value acquired from the first sensor S1.
また、第4データニブルDa4、第5データニブルDa5および第6データニブルDa6には、第2センサS2から送信される第2検出値に関する情報が格納される。すなわち、第4データニブルDa4、第5データニブルDa5および第6データニブルDa6によって構成される12ビット長のデータによって、第2センサS2から送信される第2検出値が表現される。第4データニブルDa4、第5データニブルDa5および第6データニブルDa6は、第2センサS2から取得する第2検出値を、例えば、0~4095までのデータ値として格納することができる。 In addition, the fourth data nibble Da4, the fifth data nibble Da5, and the sixth data nibble Da6 store information about the second detection value transmitted from the second sensor S2. That is, the second detection value transmitted from the second sensor S2 is expressed by 12-bit data composed of the fourth data nibble Da4, the fifth data nibble Da5, and the sixth data nibble Da6. The fourth data nibble Da4, the fifth data nibble Da5, and the sixth data nibble Da6 can store the second detection value obtained from the second sensor S2 as a data value, for example, from 0 to 4095.
具体的に、第4データニブルDa4、第5データニブルDa5および第6データニブルDa6は、第2検出値に応じてそれぞれの立下りエッジ間の時間が12ティック~27ティックまでの15段階のいずれかの時間に設定される。これにより、第4データニブルDa4、第5データニブルDa5および第6データニブルDa6は、第2検出値を12ビットのデータで表現する。以下、SENT通信波形Pにおいて、第4データニブルDa4、第5データニブルDa5および第6データニブルDa6で構成され、第2検出値に関する情報が格納されるデータ領域を第2センサ領域R2とも呼ぶ。また、第2センサ領域R2に格納され、第2検出値に応じたデータを第2センサデータとも呼ぶ。第2センサデータは、第2センサS2から取得する第2検出値に応じたデータである。 Specifically, the time between the falling edges of the fourth data nibble Da4, the fifth data nibble Da5, and the sixth data nibble Da6 is set to one of 15 stages ranging from 12 ticks to 27 ticks depending on the second detection value. As a result, the fourth data nibble Da4, the fifth data nibble Da5, and the sixth data nibble Da6 express the second detection value as 12-bit data. Hereinafter, in the SENT communication waveform P, the data area consisting of the fourth data nibble Da4, the fifth data nibble Da5, and the sixth data nibble Da6 and in which information related to the second detection value is stored is also referred to as the second sensor area R2. In addition, the data stored in the second sensor area R2 and corresponding to the second detection value is also referred to as the second sensor data. The second sensor data is data corresponding to the second detection value acquired from the second sensor S2.
第1センサ領域R1および第2センサ領域R2は、SENT通信波形Pにおいて、互いに隣接している。これにより、第1センサデータおよび第2センサデータは、SENT通信波形Pを構成する10個のパルス信号のうち、連続して配置される。具体的に、第2センサデータは、SENT通信波形Pに格納される各種データのうち、第1センサデータの次に格納される。 The first sensor region R1 and the second sensor region R2 are adjacent to each other in the SENT communication waveform P. As a result, the first sensor data and the second sensor data are arranged consecutively among the 10 pulse signals that make up the SENT communication waveform P. Specifically, the second sensor data is stored next to the first sensor data among the various data stored in the SENT communication waveform P.
ここで、本実施形態の第1センサ領域R1および第2センサ領域R2には、後述の判別情報追加部50によって、出力信号に含まれる第1センサデータおよび第2センサデータのデータ固着異常が発生しているか否かを判別するための異常判別情報が追加される。異常判別情報の追加方法については後述する。
Here, in the first sensor region R1 and the second sensor region R2 of this embodiment, abnormality determination information for determining whether or not a data fixation abnormality has occurred in the first sensor data and the second sensor data contained in the output signal is added by the determination
CRC(Cyclic Redundancy Check)ニブルCrは、第6データニブルDa6の次に配置されるパルス信号であって、第1データニブルDa1~第6データニブルDa6に対する巡回冗長検査値を通知するためのパルス信号である。CRCニブルCrは、4ビットのデータ長のデータを格納可能に構成されており、第1データニブルDa1~第6データニブルDa6の誤り検出/訂正符号の値を、例えば、0~15までのデータ値として格納する。そして、CRCニブルCrは、第1データニブルDa1~第6データニブルDa6の誤り検出/訂正符号の値に応じて立下りエッジ間の時間が12ティック~27ティックまでの15段階のいずれかの時間に設定される。これにより、CRCニブルCrは、第1データニブルDa1~第6データニブルDa6の誤り検出/訂正符号の値を4ビットのデータで表現する。 The CRC (Cyclic Redundancy Check) nibble Cr is a pulse signal placed next to the sixth data nibble Da6, and is a pulse signal for notifying the cyclic redundancy check value for the first data nibble Da1 to the sixth data nibble Da6. The CRC nibble Cr is configured to be able to store data with a data length of 4 bits, and stores the error detection/correction code values of the first data nibble Da1 to the sixth data nibble Da6 as data values of, for example, 0 to 15. The CRC nibble Cr sets the time between falling edges to one of 15 stages from 12 ticks to 27 ticks depending on the error detection/correction code values of the first data nibble Da1 to the sixth data nibble Da6. As a result, the CRC nibble Cr expresses the error detection/correction code values of the first data nibble Da1 to the sixth data nibble Da6 as 4-bit data.
ポーズパルス(Pause Pulse)Paは、CRCニブルCrの次に配置されるパルス信号であって、1フレーム分のSENT通信波形Pの長さを一定に保つためのパルス信号である。ところで、ステータス・コミュニケーションニブルSt、第1データニブルDa1~第6データニブルDa6およびCRCニブルCrは、上述のように、それぞれが格納するデータ値に応じてこれらニブルのティック数が設定される。すると、これらニブルのティック数によって、SENT通信波形Pの1フレーム分の長さが変化する。ポーズパルスPaは、変化する1フレーム分のSENT通信波形Pの長さを予め定められたティック数(例えば、282ティック)に保つためにそのパルス幅が設定される。 The pause pulse Pa is a pulse signal placed next to the CRC nibble Cr, and is a pulse signal for keeping the length of one frame of the SENT communication waveform P constant. Meanwhile, the status communication nibble St, the first data nibble Da1 to the sixth data nibble Da6, and the CRC nibble Cr have their tick numbers set according to the data values they store, as described above. Then, the length of one frame of the SENT communication waveform P changes depending on the tick numbers of these nibbles. The pulse width of the pause pulse Pa is set in order to keep the changing length of one frame of the SENT communication waveform P at a predetermined tick number (e.g., 282 ticks).
図1に戻り、波形生成部10は、第1センサS1および第2センサS2から第1検出値および第2検出値を取得する毎に、SENTプロトコルに従って上記10個のパルス信号で構成されるSENT通信波形Pを生成する信号波形生成部である。また、本実施形態の波形生成部10は、生成したSENT通信波形Pに、出力信号に含まれる第1センサデータおよび第2センサデータのデータ固着異常が発生しているか否かを判別するための情報を追加可能に構成されている。波形生成部10は、第1センサデータ作成部31と、第2センサデータ作成部32と、第1データ圧縮部41と、第2データ圧縮部42と、判別情報追加部50とを含んで構成されている。
Returning to FIG. 1, the
第1センサデータ作成部31は、SENT通信波形Pを形成する各種パルス信号のうち、第1データニブルDa1~第3データニブルDa3によって構成される第1センサ領域R1に格納する第1センサデータを生成するものである。第1センサデータ作成部31は、入力側に第1センサS1が接続されており、出力側に第1データ圧縮部41が接続されている。
The first sensor
第1センサデータ作成部31は、例えば、アナログ-デジタル変換回路(すなわち、A/D変換回路)を含んで構成される。そして、第1センサデータ作成部31は、第1センサS1から第1検出値を取得すると、取得した第1検出値を第1センサ領域R1に格納するためにA/D変換して12ビットの第1センサデータを生成する。第1センサデータ作成部31は、生成した第1センサデータを第1データ圧縮部41に送信する。
The first sensor
第2センサデータ作成部32は、SENT通信波形Pを形成する各種パルス信号のうち、第4データニブルDa4~第6データニブルDa6によって構成される第2センサ領域R2に格納する第2センサデータを生成するものである。第2センサデータ作成部32は、例えば、アナログ-デジタル変換回路(すなわち、A/D変換回路)を含んで構成される。そして、第2センサデータ作成部32は、第2センサS2から第2検出値を取得すると、取得した第2検出値を第2センサ領域R2に格納するためにA/D変換して12ビットの第2センサデータを生成する。第2センサデータ作成部32は、生成した第2センサデータを第2データ圧縮部42に送信する。
The second sensor data creation unit 32 generates second sensor data to be stored in the second sensor area R2, which is composed of the fourth data nibble Da4 to the sixth data nibble Da6, among the various pulse signals that form the SENT communication waveform P. The second sensor data creation unit 32 is configured to include, for example, an analog-to-digital conversion circuit (i.e., an A/D conversion circuit). When the second sensor data creation unit 32 acquires a second detection value from the second sensor S2, it A/D converts the acquired second detection value to generate 12-bit second sensor data to store in the second sensor area R2. The second sensor data creation unit 32 transmits the generated second sensor data to the second
第1データ圧縮部41は、第1センサデータ作成部31によって生成された第1センサデータのデータ量を圧縮させて、12ビットの第1センサ領域R1に第1センサデータおよび第2センサデータいずれのデータも含まれていない空領域を生成するものである。第1データ圧縮部41は、デジタル信号を圧縮する圧縮回路を含んで構成されている。そして、第1データ圧縮部41は、第1センサデータ作成部31が生成した第1センサデータのデータ量を圧縮し、圧縮した第1センサデータを第1センサ領域R1に格納する。
The first
第2データ圧縮部42は、第2センサデータ作成部32によって生成された第2センサデータのデータ量を圧縮させて、12ビットの第2センサ領域R2に第1センサデータおよび第2センサデータのいずれのデータも含まれていない空領域を生成するものである。第2データ圧縮部42は、デジタル信号を圧縮する圧縮回路を含んで構成されている。そして、第2データ圧縮部42は、第2センサデータ作成部32が生成した第2センサデータのデータ量を圧縮し、圧縮した第2センサデータを第2センサ領域R2に格納する。
The second
以下圧縮した第1センサデータを圧縮第1センサデータとも呼び、圧縮した第2センサデータを圧縮第2センサデータとも呼ぶ。 Hereinafter, the compressed first sensor data will also be referred to as compressed first sensor data, and the compressed second sensor data will also be referred to as compressed second sensor data.
判別情報追加部50は、データ固着異常が発生しているか否かを判別するためのデータである異常判別情報を、第1データ圧縮部41および第2データ圧縮部42が生成した空領域に追加するものである。判別情報追加部50は、異常判別情報として、出力信号が送信される毎にカウンタ値が1つずつ増加していく更新カウンタで構成されている。
The discrimination
信号出力部20は、波形生成部10によって生成されたSENT通信波形Pを、通信装置1の外部に配置された制御装置Eに送信するものである。信号出力部20は、通信装置1が第1センサS1および第2センサS2から第1検出値および第2検出値を取得する毎に生成するSENT通信波形Pを出力信号として制御装置Eに送信する。信号出力部20が送信するSENT通信波形Pには、第1センサ領域R1および第2センサ領域R2に、圧縮第1センサデータおよび圧縮第2センサデータに加えて、異常判別情報が含まれる。
The
続いて、通信装置1の作動について説明する。通信装置1は、第1センサS1および第2センサS2から第1検出値および第2検出値を取得すると、波形生成部10がSENT通信波形Pを生成する。
Next, the operation of the
具体的に、第1センサデータ作成部31は、第1センサS1から第1検出値を取得すると、第1検出値をA/D変換して12ビットの第1センサデータを生成する。そして、第1センサデータ作成部31は、生成した第1センサデータを第1データ圧縮部41に送信する。
Specifically, when the first sensor
第1データ圧縮部41は、第1センサデータ作成部31から第1センサデータを受信する。すると、第1データ圧縮部41は、図3に示すように、当該第1センサデータのデータ量を圧縮させて圧縮した第1センサデータを第1センサ領域R1に格納するとともに、第1センサ領域R1に空領域を生成する。ここで、第1データ圧縮部41は、12ビットの第1センサデータを2ビット分圧縮して10ビットのデータ長の圧縮第1センサデータとすることで2ビット分の空領域を生成する。具体的に、第1データ圧縮部41は、第1センサ領域R1のうちのステータス・コミュニケーションニブルStに連なる側に圧縮第1センサデータを格納して、第1センサ領域R1のうちの第2センサデータに連なる側に2ビット分の空領域を生成する。
The first
また、本実施形態の第1データ圧縮部41は、圧縮第1センサデータを含む出力信号を受信する制御装置Eが、圧縮前の第1センサデータに復元可能なように、可逆圧縮方法によって第1センサデータのデータ量を圧縮する。具体的に、第1データ圧縮部41は、12ビットの第1センサデータを可逆圧縮方法であるハフマン符号によって10ビットに圧縮する。このため、ハフマン符号によって圧縮された第1センサデータは、圧縮に起因するデータ損失が発生しないため、復元されることで、圧縮する前の第1センサデータに戻ることができる。
The first
また、第2センサデータ作成部32は、第2センサS2から第2検出値を取得すると、第2検出値をA/D変換して12ビットの第2センサデータを生成する。そして、第2センサデータ作成部32は、生成した第2センサデータを第2データ圧縮部42に送信する。
When the second sensor data creation unit 32 acquires the second detection value from the second sensor S2, it A/D converts the second detection value to generate 12-bit second sensor data. Then, the second sensor data creation unit 32 transmits the generated second sensor data to the second
第2データ圧縮部42は、第2センサデータ作成部32から第2センサデータを受信する。すると、第2データ圧縮部42は、図3に示すように、当該第2センサデータのデータ量を圧縮させて、圧縮した第2センサデータを第2センサ領域R2に格納するとともに、第2センサ領域R2に空領域を生成する。ここで、第2データ圧縮部42は、12ビットの第2センサデータを2ビット分圧縮して10ビットのデータ長の圧縮第2センサデータとすることで2ビット分の空領域を生成する。具体的に、第2データ圧縮部42は、第2センサ領域R2のうちのCRCニブルCrに連なる側に圧縮第2センサデータを格納して、第2センサ領域R2のうちの第1センサデータに連なる側に2ビット分の空領域を生成する。
The second
また、本実施形態の第2データ圧縮部42は、圧縮第2センサデータを含む出力信号を受信する制御装置Eが、圧縮前の第2センサデータに復元可能なように、可逆圧縮方法によって第2センサデータのデータ量を圧縮する。具体的に、第2データ圧縮部42は、12ビットの第2センサデータを可逆圧縮方法であるハフマン符号によって10ビットに圧縮する。このため、ハフマン符号によって圧縮された第2センサデータは、圧縮に起因するデータ損失が発生しないため、復元されることで、圧縮する前の第2センサデータに戻ることができる。
In addition, the second
ここで、ハフマン符号によって圧縮する場合の圧縮方法について、図4および図5に示す参考例を参照して説明する。ハフマン符号は、圧縮する際に、出現率が高いデータほど短いビット数を割り当て、出現率が低いデータほど長いビット数を割り当てることでデータ全体のデータ量を削減するものである。 Here, a compression method using Huffman coding will be described with reference to the reference examples shown in Figs. 4 and 5. When compressing data, Huffman coding reduces the overall amount of data by assigning shorter bit numbers to data with a higher occurrence rate and longer bit numbers to data with a lower occurrence rate.
図4に示す参考例では、「A」、「B」、「C」、「D」、「E」の5種類の文字から成る12文字のデータをハフマン符号によって圧縮する例で説明する。 In the reference example shown in Figure 4, we explain an example of compressing 12 characters of data consisting of five types of characters, "A", "B", "C", "D", and "E", using Huffman coding.
ここで、圧縮する前の12文字のデータでは、5種類の文字それぞれを固定長の3ビット列のコードで表現するとする。具体的に、文字「A」を「000」のコードで表現し、文字「B」を「001」のコードで表現し、文字「C」を「010」のコードで表現し、文字「D」を「011」のコードで表現し、文字「E」を「100」のコードで表現するとする。 Here, in the 12-character data before compression, each of the five types of characters is represented by a fixed-length 3-bit code. Specifically, the character "A" is represented by the code "000", the character "B" is represented by the code "001", the character "C" is represented by the code "010", the character "D" is represented by the code "011", and the character "E" is represented by the code "100".
そして、例えば、これら3ビットのコードを用いて「DAEBCBACBBBC」という12文字のデータを表現する場合、12文字のデータは、「011 000 100 001 010 001 000 010 001 001 001 010」となる。また、3ビットの固定長のコードを用いて「DAEBCBACBBBC」という12文字のデータを表現する場合、データ長は、3ビットに12文字の文字数を乗算した36ビットとなる。このような36ビットのデータ量を、文字の出現率に応じて割り当てるビット数を変化させて圧縮するハフマン符号について説明する。 For example, when expressing 12-character data such as "DAEBCBACBBBC" using these 3-bit codes, the 12-character data becomes "011 000 100 001 010 001 000 010 001 001 001 010". When expressing 12-character data such as "DAEBCBACBBBC" using a 3-bit fixed-length code, the data length becomes 36 bits, which is 3 bits multiplied by the number of characters in the 12 characters. Here we explain Huffman coding, which compresses such 36-bit data by changing the number of bits assigned depending on the occurrence rate of the characters.
上記「DAEBCBACBBBC」という12文字における各文字の出現機会は、「B」が5回、「C」が3回、「A」が2回、「D」および「E」が1回となっている。このため、各文字の出現率は、高い順に、「B」、「C」、「A」、「D」または「E」となる。 The occurrence rate of each letter in the 12-letter "DAEBCBACBBBC" is as follows: "B" 5 times, "C" 3 times, "A" 2 times, "D" and "E" 1 time each. Therefore, the occurrence rate of each letter is "B", "C", "A", "D" or "E" in descending order.
このため、ハフマン符号によって圧縮する際、「A」、「B」、「C」、「D」、「E」の5種類の文字のうち、出現率が高い文字ほど短いビット数のコードを割り当て、出現率が低いデータほど長いビット数のコードを割り当てる。例えば、出現率が1番高い文字「B」を「0」のコードで表現し、出現率が2番目に高い文字「C」を「10」のコードで表現する。そして、出現率が3番目に高い文字「A」を「110」のコードで表現し、出現率が最も低い一方の文字「D」を「1120」のコードで表現し、出現率が最も低い他方の文字「E」を「1111」のコードで表現するとする。 For this reason, when compressing using Huffman coding, of the five characters "A," "B," "C," "D," and "E," characters with a higher occurrence rate are assigned codes with shorter bit numbers, and data with a lower occurrence rate are assigned codes with longer bit numbers. For example, the character "B" with the highest occurrence rate is represented by the code "0," and the character "C" with the second highest occurrence rate is represented by the code "10." The character "A" with the third highest occurrence rate is represented by the code "110," the character "D" with the lowest occurrence rate is represented by the code "1120," and the other character "E" with the lowest occurrence rate is represented by the code "1111."
すると、圧縮後では、「DAEBCBACBBBC」という12文字のデータを、「1110 110 1111 0 10 0 110 10 0 0 0 10」と表現することができる。そして、圧縮後では、「DAEBCBACBBBC」という12文字のデータのデータ長は、25ビットとなる。このため、ハフマン符号によって圧縮する場合、「DAEBCBACBBBC」という12文字のデータを、36ビットから25ビットに圧縮することができる。 Then, after compression, the 12-character data "DAEBCBACBBBC" can be expressed as "1110 110 1111 0 10 0 110 10 0 0 0 10". And after compression, the data length of the 12-character data "DAEBCBACBBBC" will be 25 bits. Therefore, when compressing using Huffman coding, the 12-character data "DAEBCBACBBBC" can be compressed from 36 bits to 25 bits.
なお、図4に示すハフマン木は、「A」、「B」、「C」、「D」、「E」の5種類の文字から成る12文字のデータにおいて、出現する文字の出現回数と割当コードとの対応関係を示すものである。 The Huffman tree shown in Figure 4 shows the correspondence between the number of occurrences of characters and the assigned codes in data of 12 characters consisting of five types of characters: "A", "B", "C", "D", and "E".
第1データ圧縮部41は、第1センサデータ作成部31によって生成された12ビットの第1センサデータをハフマン符号によって2ビット分圧縮することで、第1センサ領域R1のうちの第2センサデータに連なる側に2ビット分の空領域を生成する。また、第2データ圧縮部42は、第2センサデータ作成部32によって生成された12ビットの第2センサデータをハフマン符号に2ビット分圧縮することで、第2センサ領域R2のうちの第1センサデータに連なる側に2ビット分の空領域を生成する。これにより、SENT通信波形Pには、4ビット分の空領域が生成される。
The first
なお、本実施形態の第1センサS1および第2センサS2は、ブレーキペダルが運転者によって踏まれる際の踏力を検出する。そして、車両を制御するブレーキペダルは、比較的弱い力で踏まれる機会が多く、これに対して、比較的大きな力で踏まれる機会が少ない。例えば、ブレーキペダルは、車両を急停車させる場合に最も大きな力で踏まれることが想定される。しかし、このような車両を急停車させるような機会は少ない。 In this embodiment, the first sensor S1 and the second sensor S2 detect the force applied when the driver presses the brake pedal. The brake pedal that controls the vehicle is often pressed with a relatively weak force, and in contrast, it is rarely pressed with a relatively strong force. For example, it is expected that the brake pedal will be pressed with the greatest force when the vehicle is brought to an abrupt halt. However, there are few opportunities for such a vehicle to be brought to an abrupt halt.
このような場合、運転者の踏力を検出するためにブレーキペダルに設けられる第1センサS1および第2センサS2は、比較的弱い力で踏まれた際の踏力を検出する機会が多く、これに対して、比較的強い力で踏まれた際の踏力を検出する機会が少ない。 In such a case, the first sensor S1 and the second sensor S2 provided on the brake pedal to detect the driver's pressing force are more likely to detect a relatively weak pressing force, and are less likely to detect a relatively strong pressing force.
ここで、第1センサS1から取得する第1検出値を第1センサデータに変換する際に、第1検出値を0~4095までの12ビットのデータ値で表現し、運転者の踏力が大きいほど当該データ値が大きくなるとする。このような場合、図5に示すように、第1センサデータのデータ値は、小さい値ほど出現機会が多く、大きい値ほど出現機会が少なくなる。 Here, when converting the first detection value acquired from the first sensor S1 into the first sensor data, the first detection value is expressed as a 12-bit data value ranging from 0 to 4095, and the greater the pedal force of the driver, the greater the data value. In such a case, as shown in FIG. 5, the smaller the data value of the first sensor data, the more likely it is to appear, and the greater the value, the less likely it is to appear.
第2センサS2から取得する第2検出値を第2センサデータに変換する際の表現方法が第1検出値を第1センサデータに変換する際の表現方法と同じ場合、第2センサデータのデータ値は、小さい値ほど出現機会が多く、大きい値ほど出現機会が少なくなる。 When the method of expression used to convert the second detection value obtained from the second sensor S2 into the second sensor data is the same as the method of expression used to convert the first detection value into the first sensor data, the smaller the data value of the second sensor data, the more likely it is to appear, and the larger the value, the less likely it is to appear.
このような場合、第1データ圧縮部41および第2データ圧縮部42は、ハフマン符号によって圧縮する際、第1センサデータおよび第2センサデータのデータ値が小さいほど短いビット数を割り当てる。これに対して、第1データ圧縮部41および第2データ圧縮部42は、ハフマン符号によって圧縮する際、第1センサデータのデータ値および第2センサデータのデータ値が大きいほど長いビット数に割り当てる。
In such a case, when compressing using Huffman codes, the first
続いて、判別情報追加部50は、第1データ圧縮部41および第2データ圧縮部42が生成した空領域に、更新カウンタで構成された異常判別情報を追加する。具体的に、本実施形態の判別情報追加部50は、第1データ圧縮部41および第2データ圧縮部42によって生成された4ビット分の空領域に、例えば、0~15までのデータ値で表現される更新カウンタで構成された異常判別情報を追加する。これにより、波形生成部10によって生成されるSENT通信波形Pには、第1センサ領域R1および第2センサ領域R2に異常判別情報が追加させる。
Then, the discrimination
なお、0~15までのデータ値で表現される更新カウンタの値は、出力信号が送信される度にその値が1ずつ増加される。具体的に、更新カウンタの値は、出力信号が送信される度に、値が0、1、2、3、4、5、6、7、8、9、10、11、12、13、14、15の順に更新される。そして、更新カウンタの値が最大値である15となった出力信号が送信された後の出力信号が送信される際の更新カウンタの値は、最小値である0に戻る。 The value of the update counter, which is expressed as a data value from 0 to 15, is incremented by 1 each time an output signal is transmitted. Specifically, the update counter value is updated in the following order each time an output signal is transmitted: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15. Then, when an output signal is transmitted after an output signal with the update counter value reaching its maximum value of 15 has been transmitted, the update counter value returns to its minimum value of 0.
続いて、信号出力部20は、通信装置1が第1センサS1および第2センサS2から第1検出値および第2検出値を取得する毎に波形生成部10によって生成されたSENT通信波形Pを、制御装置Eに送信する。具体的に、信号出力部20は、圧縮された第1センサデータと、圧縮された第2センサデータと、更新カウンタで構成された異常判別情報とを含むSENT通信波形Pを出力信号として制御装置Eに送信する。
Then, the
制御装置Eは、通信装置1から出力信号を受信すると、SENT通信波形Pに含まれる各種情報を取得する。そして、制御装置Eは、第1センサ領域R1に格納され、ハフマン符号によって圧縮された圧縮第1センサデータを復元するとともに、第2センサ領域R2に格納され、ハフマン符号によって圧縮された圧縮第2センサデータを復元する。ここで、圧縮第1センサデータおよび圧縮第2センサデータは、可逆圧縮方法であるハフマン符号によって圧縮されている。このため、制御装置Eは、圧縮第1センサデータおよび圧縮第2センサデータを復元させることで、データ損失することなく圧縮する前の第1センサデータおよび第2センサデータに戻すことができる。
When the control device E receives an output signal from the
また、制御装置Eは、第1センサ領域R1および第2センサ領域R2に格納された異常判別情報に基づいて、データ固着異常が発生しているか否かを判別する。例えば、制御装置Eは、今回受信したSENT通信波形Pに含まれる更新カウンタの値が前回受信したSENT通信波形Pに含まれる更新カウンタの値と異なるか否かでデータ固着異常が発生しているか否かを判別する。 The control device E also determines whether or not a data fixation abnormality has occurred based on the abnormality determination information stored in the first sensor area R1 and the second sensor area R2. For example, the control device E determines whether or not a data fixation abnormality has occurred based on whether or not the update counter value included in the currently received SENT communication waveform P differs from the update counter value included in the previously received SENT communication waveform P.
データ固着異常が発生している状態について図6および図7を参照して説明する。制御装置Eが出力信号を受信する際に、ブレーキペダルへの踏力が一定である場合、第1センサS1および第2センサS2は、繰り返し同じ検出値を通信装置1へ送信する。この場合、通信装置1は、データ値が同じである第1センサデータを含む出力信号を繰り返し制御装置Eへ送信するとともに、データ値で同じである第2センサデータを含む出力信号を繰り返し制御装置Eへ送信する。すると、図6に示すように、制御装置Eは、通信装置1から繰り返し同じ第1センサデータのデータ値を取得するとともに、繰り返し同じ第2センサデータのデータ値を取得する。
A state in which a data fixation abnormality has occurred will be described with reference to Figures 6 and 7. If the force applied to the brake pedal is constant when the control device E receives an output signal, the first sensor S1 and the second sensor S2 repeatedly transmit the same detection value to the
このような同じ第1センサデータのデータ値および同じ第2センサデータのデータ値を繰り返し取得する場合、今回受信した出力信号が前回受信した出力信号と同じ信号である虞がある。すなわち、通信装置1が異常状態となることで、通信装置1が出力する出力信号に含まれる第1センサデータおよび第2センサデータが更新されず、これらデータが固着している虞がある。
When the same data value of the first sensor data and the same data value of the second sensor data are repeatedly acquired, there is a risk that the output signal received this time is the same as the output signal received last time. In other words, if the
しかし、今回受信した出力信号に含まれる更新カウンタの値と前回受信した出力信号に含まれる更新カウンタの値とが異なる場合、制御装置Eは、今回受信した出力信号が前回受信した出力信号と異なると判別することができる。すなわち、制御装置Eは、今回受信した出力信号に含まれるセンサデータと前回受信した出力信号に含まれるセンサデータが同じであっても、受信した出力信号が前回受信した出力信号と異なるとして、データ固着異常が発生していないと判別することができる。このため、制御装置Eは、同じ第1センサデータのデータ値および同じ第2センサデータのデータ値を繰り返し取得する場合であっても、通信装置1が正常状態であると判別することができる。
However, if the value of the update counter included in the currently received output signal is different from the value of the update counter included in the previously received output signal, the control device E can determine that the currently received output signal is different from the previously received output signal. In other words, even if the sensor data included in the currently received output signal is the same as the sensor data included in the previously received output signal, the control device E can determine that a data fixation anomaly has not occurred, since the received output signal is different from the previously received output signal. For this reason, the control device E can determine that the
これに対して、図7に示すように、今回受信した出力信号に含まれる更新カウンタの値と前回受信した出力信号に含まれる更新カウンタの値とが同じである場合、制御装置Eは、今回受信した出力信号が前回受信した出力信号と同じであると判別することができる。すなわち、制御装置Eは、今回受信した出力信号と前回受信した出力信号とが同じであるとして、データ固着異常が発生していると判別することができる。このため、制御装置Eは、同じ第1センサデータのデータ値および同じ第2センサデータのデータ値を繰り返し取得し、更新カウンタの値が更新されない倍、通信装置1が異常状態であると判別することができる。
In contrast, as shown in FIG. 7, if the value of the update counter included in the currently received output signal is the same as the value of the update counter included in the previously received output signal, the control device E can determine that the currently received output signal is the same as the previously received output signal. In other words, the control device E can determine that a data fixation abnormality has occurred, assuming that the currently received output signal is the same as the previously received output signal. Therefore, the control device E repeatedly acquires the same data value of the first sensor data and the same data value of the second sensor data, and can determine that the
以上の如く、本実施形態の通信装置1は、第1センサS1および第2センサS2から取得する第1検出値および第2検出値を含む信号をSENT通信波形Pとして生成する波形生成部10を備える。第1センサデータ作成部31は、第1検出値を、第1センサ領域R1に格納するための12ビットの第1センサデータに変換する。第2センサデータ作成部32は、第2検出値を、第2センサ領域R2に格納するための12ビットの第2センサデータに変換する。第1データ圧縮部41は、第1センサデータのデータ量を圧縮させて、第1センサ領域R1に空領域を生成する。第2データ圧縮部42は、第2センサデータのデータ量を圧縮させて、第2センサ領域R2に空領域を生成する。判別情報追加部50は、データ固着異常が発生しているか否かを判別するための異常判別情報を空領域に追加する。
As described above, the
これによれば、第1センサ領域R1および第2センサ領域R2に異常判別情報を追加するので、ステータス・コミュニケーションニブルStのデータ領域を使用することなく異常判別情報を制御装置Eに送信することができる。 By adding abnormality determination information to the first sensor area R1 and the second sensor area R2, the abnormality determination information can be transmitted to the control device E without using the data area of the status communication nibble St.
また、上記実施形態によれば、以下のような効果を得ることができる。 Furthermore, the above embodiment provides the following advantages:
(1)上記実施形態では、第1データ圧縮部41は、第1センサデータのデータ量を圧縮して、第1センサ領域R1に空領域を生成する。また、第2データ圧縮部42は、第2センサデータのデータ量を圧縮して、第2センサ領域R2に空領域を生成する。
(1) In the above embodiment, the first
これによれば、第1センサデータおよび第2センサデータの両方を圧縮することで、空領域のデータ長を大きくし易くできる。 This makes it easier to increase the data length of the free space by compressing both the first sensor data and the second sensor data.
(2)上記実施形態では、第1データ圧縮部41は、第1センサデータを圧縮して、第1センサ領域R1のうちの第2センサデータに連なる側に2ビットの空領域を生成する。また、第2データ圧縮部42は、第2センサデータのデータ量を圧縮して、第2センサ領域R2にのうちの第1センサデータに連なる側に2ビットの空領域を生成する。そして、判別情報追加部50は、4ビットのデータ長の異常判別情報を、第1センサ領域R1および第2センサ領域R2に跨って形成される空領域に追加する。
(2) In the above embodiment, the first
ところで、出力信号を受信する制御装置Eが、通信装置1から出力する出力信号を受信する際に、出力信号を取りこぼす場合がある。その場合、異常判別情報が1ビットや2ビットのデータ長で構成される場合、出力信号を受信する制御装置Eが異常判別をし難い。例えば、異常判別情報が1ビットの更新カウンタで構成される場合において通信装置1から送信される出力信号を1回取りこぼすと、制御装置Eが受信した出力信号に含まれる更新カウンタの値が同じ出力信号を連続して受信する。このような場合、データ固着異常が発生していないにもかかわらず、制御装置Eは、データ固着異常が発生していると判別する虞がある。
However, when the control device E that receives the output signal receives the output signal output from the
これに対して、本実施形態によれば、異常判別情報が4ビットのデータ長で構成されるため、制御装置Eが通信装置1から出力する出力信号を取りこぼした場合であっても、更新カウンタの値が同じ出力信号を連続して受け取り難くなる。このため、誤ったデータ固着異常の判別がされ難くなる。
In contrast, according to this embodiment, the abnormality determination information is configured with a data length of 4 bits, so even if the control device E misses an output signal output from the
また、第1データ圧縮部41および第2データ圧縮部42は、第1センサデータおよび第2センサデータそれぞれを圧縮させて得られる2つの空領域を跨って1つの4ビットの空領域を形成する。このため、第1センサ領域R1および第2センサ領域R2のどちらかに4ビットの空領域を形成する場合に比較して、第1センサデータおよび第2センサデータのどちらかのみを4ビット圧縮する場合に比較して、圧縮される側のセンサデータの圧縮量を抑制できる。
The first
(3)上記実施形態では、異常判別情報は、出力信号が送信される毎にカウンタ値が変化する更新カウンタで構成されている。 (3) In the above embodiment, the abnormality determination information is composed of an update counter whose counter value changes each time an output signal is transmitted.
これによれば、簡易な方法で異常判別情報を追加できる。また、制御装置Eは、出力信号を受信する際に、容易にデータ固着異常が発生しているか否かを判別することができる。 This allows the abnormality determination information to be added in a simple manner. Furthermore, when receiving an output signal, the control device E can easily determine whether or not a data fixation abnormality has occurred.
(4)上記実施形態では、第1データ圧縮部41は、第1センサデータのデータ量を可逆圧縮方法で圧縮する。また、第2データ圧縮部42は、第2センサデータのデータ量を可逆圧縮方法で圧縮する。
(4) In the above embodiment, the first
これによれば、制御装置Eが圧縮第1センサデータおよび圧縮第2センサデータを復元する際に、データ損失することなく圧縮する前の第1センサデータおよび第2センサデータに戻すことができる。このため、第1データ圧縮部41および第2データ圧縮部42が非可逆圧縮方法で第1センサデータおよび第2センサデータそれぞれのデータ量を圧縮する場合に比較して、第1センサS1および第2センサS2の検出精度を向上させることができる。
As a result, when the control device E restores the compressed first sensor data and the compressed second sensor data, it is possible to restore the first sensor data and the second sensor data to their pre-compression states without data loss. This makes it possible to improve the detection accuracy of the first sensor S1 and the second sensor S2 compared to when the first
(5)上記実施形態では、第1データ圧縮部41は、ハフマン符号によって第1センサデータのデータ量を圧縮する。また、第2データ圧縮部42は、ハフマン符号によって第2センサデータのデータ量を圧縮する。
(5) In the above embodiment, the first
これによれば、第1センサS1から取得する第1検出値および第2センサS2から取得する第2検出値のうち、出現機会が異なる検出値に応じて圧縮データを作成することができる。このため、例えば、第1センサS1から取得する第1検出値の出現率に偏りがある場合、その出現率に偏りに応じてセンサデータを圧縮できる。 This allows compressed data to be created according to the first detection value acquired from the first sensor S1 and the second detection value acquired from the second sensor S2, whichever detection value has a different occurrence rate. Therefore, for example, if there is a bias in the occurrence rate of the first detection value acquired from the first sensor S1, the sensor data can be compressed according to the bias in the occurrence rate.
例えば、本実施形態の第1センサS1および第2センサS2から取得するブレーキペダルの踏力を示す第1検出値および第2検出値のように、出現率に偏りがある場合、その出現率に応じて第1センサデータおよび第2センサデータを圧縮することができる。 For example, when there is a bias in the occurrence rate, such as the first detection value and the second detection value indicating the brake pedal force obtained from the first sensor S1 and the second sensor S2 in this embodiment, the first sensor data and the second sensor data can be compressed according to the occurrence rate.
このような場合、第1データ圧縮部41および第2データ圧縮部42は、出現率が高い第1センサデータおよび第2センサデータほど短いビット数を割り当て、出現率が低い第1センサデータおよび第2センサデータほど長いビット数を割り当てて、圧縮できる。
In such a case, the first
(第1実施形態の変形例)
上述の第1実施形態では、第1データ圧縮部41がハフマン符号によって第1センサデータのデータ量を圧縮し、第2データ圧縮部42がハフマン符号によって第2センサデータのデータ量を圧縮する例について説明したが、これに限定されない。可逆圧縮方法によって圧縮する方法であれば、第1データ圧縮部41がハフマン符号とは異なる圧縮方法によって第1センサデータのデータ量を圧縮する構成であってもよい。また、可逆圧縮方法によって圧縮する方法であれば、第2データ圧縮部42がハフマン符号とは異なる圧縮方法によって第2センサデータのデータ量を圧縮する構成であってもよい。
(Modification of the first embodiment)
In the above-described first embodiment, an example has been described in which the first
(第2実施形態)
次に、第2実施形態について、図8を参照して説明する。本実施形態では、第1データ圧縮部41が圧縮する第1センサデータのデータ量および空領域が形成される位置が第1実施形態と相違している。また、本実施形態では、第2データ圧縮部42が圧縮する第2センサデータのデータ量および空領域が形成される位置が第1実施形態と相違している。これら以外は、第1実施形態と同様である。このため、本実施形態では、第1実施形態と異なる部分について主に説明し、第1実施形態と同様の部分について説明を省略することがある。
Second Embodiment
Next, the second embodiment will be described with reference to FIG. 8. In this embodiment, the amount of first sensor data compressed by the first
本実施形態の第1データ圧縮部41は、第1センサデータ作成部31から第1センサデータを受信する。すると、第1データ圧縮部41は、図8に示すように、当該第1センサデータのデータ量を圧縮させて圧縮した第1センサデータを第1センサ領域R1に格納するとともに、第1センサ領域R1に空領域を生成する。
The first
具体的に、第1データ圧縮部41は、12ビットの第1センサデータを4ビット分圧縮して8ビットのデータ長の圧縮第1センサデータとすることで第1センサ領域R1に4ビット分の空領域を生成する。また、第1データ圧縮部41は、第1センサ領域R1のうちの第2センサデータに連なる側に8ビットの圧縮第1センサデータを格納して、第1センサ領域R1のうちのステータス・コミュニケーションニブルStに連なる側に4ビット分の空領域を生成する。
Specifically, the first
また、第2データ圧縮部42は、第2センサデータ作成部32から第2センサデータを受信する。すると、第2データ圧縮部42は、図8に示すように、当該第2センサデータのデータ量を圧縮させて、圧縮した第2センサデータを第2センサ領域R2に格納するとともに、第2センサ領域R2に空領域を生成する。
The second
具体的に、第2データ圧縮部42は、12ビットの第2センサデータを4ビット分圧縮して8ビットのデータ長の圧縮第2センサデータとすることで第2センサ領域R2に4ビット分の空領域を生成する。また、第2データ圧縮部42は、第2センサ領域R2のうちの第1センサデータに連なる側に圧縮第2センサデータを格納して、第2センサ領域R2のうちのCRCニブルCrに連なる側に4ビット分の空領域を生成する。
Specifically, the second
このように、本実施形態の第1データ圧縮部41が第1センサ領域R1に4ビットの空領域を生成するとともに、第2データ圧縮部42が第2センサ領域R2に4ビットの空領域を生成することで、SENT通信波形Pには、4ビットの空領域が2つ生成される。
In this way, the first
そして、判別情報追加部50は、4ビットのデータ長の異常判別情報を、2つの4ビットの空領域それぞれに追加する。
Then, the discrimination
これによれば、例えば、第1センサ領域R1に追加する異常判別情報と第2センサ領域R2に追加する異常判別情報とを同じ情報とする場合、出力信号に含まれる2つの異常判別情報を照合させることで、固着異常の発生を判別し易くできる。また、例えば、第1センサ領域R1に追加する異常判別情報と第2センサ領域R2に追加する異常判別情報とを異なる情報とする場合、外部要因によって2つの異常判別情報が同時に正しく機能しなくなるという異常状態になり難くなる。 According to this, for example, if the abnormality determination information added to the first sensor region R1 and the abnormality determination information added to the second sensor region R2 are the same information, the occurrence of a sticking abnormality can be easily determined by comparing the two abnormality determination information included in the output signal. Also, for example, if the abnormality determination information added to the first sensor region R1 and the abnormality determination information added to the second sensor region R2 are different information, it becomes less likely that an abnormal state will occur in which the two abnormality determination information simultaneously do not function correctly due to an external factor.
(第3実施形態)
次に、第3実施形態について、図9および図10を参照して説明する。本実施形態では、通信装置1が第1データ圧縮部41を備えておらず、また、第2データ圧縮部42が圧縮する第2センサデータのデータ量および空領域が形成される位置が第1実施形態と相違している。これら以外は、第1実施形態と同様である。このため、本実施形態では、第1実施形態と異なる部分について主に説明し、第1実施形態と同様の部分について説明を省略することがある。
Third Embodiment
Next, a third embodiment will be described with reference to Figures 9 and 10. In this embodiment, the
図9に示すように、本実施形態の通信装置1は、第1データ圧縮部41を備えていない。このため、第1センサデータ作成部31は、第1センサS1から第1検出値を取得すると、第1検出値をA/D変換して12ビットの第1センサデータを生成する。そして、第1センサデータ作成部31は、図10に示すように、生成した12ビットの第1センサデータを第1センサ領域R1に格納する。したがって、本実施形態の波形生成部10が生成するSENT通信波形Pにおいて、第1センサ領域R1には、空領域が形成されず、異常判別情報が追加されない。
As shown in FIG. 9, the
また、第2データ圧縮部42は、第2センサデータ作成部32から第2センサデータを受信する。すると、第2データ圧縮部42は、図10に示すように、当該第2センサデータのデータ量を圧縮させて、圧縮した第2センサデータを第2センサ領域R2に格納するとともに、第2センサ領域R2に空領域を生成する。
The second
具体的に、第2データ圧縮部42は、12ビットの第2センサデータを4ビット分圧縮して8ビットのデータ長の圧縮第2センサデータとすることで第2センサ領域R2に4ビット分の空領域を生成する。具体的に、第2データ圧縮部42は、第2センサ領域R2のうちの第1センサデータに連なる側に圧縮第2センサデータを格納して、第2センサ領域R2のうちのCRCニブルCrに連なる側に4ビット分の空領域を生成する。
Specifically, the second
そして、判別情報追加部50は、4ビットのデータ長の異常判別情報を、第2センサ領域R2の4ビットの空領域に追加する。
Then, the discrimination
このように、本実施形態では、第1センサデータおよび第2センサデータのうち、第2センサデータのみがデータ量を圧縮される。そして、第2データ圧縮部42は、第1センサ領域R1および第2センサ領域R2のうち、第2センサ領域R2のみに空領域を生成する。
In this manner, in this embodiment, of the first sensor data and the second sensor data, only the second sensor data is compressed in data volume. Then, of the first sensor region R1 and the second sensor region R2, the second
ところで、圧縮回路等によって各種データのデータ量を圧縮する場合、データの一部が圧縮によって損失する場合がある。このため、例えば、第2データ圧縮部42によって第2センサデータのデータ量を圧縮する場合、第2センサデータの一部が損失する可能性がある。そして、第2センサデータの一部が圧縮によって損失する場合、制御装置Eが圧縮第2センサデータを復元させる際に、圧縮前の第2センサデータに完全に一致するデータに復元することができない。これは、第2センサS2によって検出した検出値を制御装置Eに伝達することによって制御装置Eが取得する第2検出値の検出精度に影響が出るため好ましくない。
However, when compressing the amount of various data using a compression circuit or the like, a portion of the data may be lost due to compression. For this reason, for example, when compressing the amount of second sensor data using the second
これに対して、本実施形態によれば、第1センサデータおよび第2センサデータのうちの第2センサデータのみを圧縮するので、圧縮しない第1センサデータが圧縮に起因してそのデータの一部が損失することを回避できる。このため、第1センサS1の検出値を精度良く制御装置Eに伝達できるので、制御装置Eが取得する第1検出値の検出精度を向上させることができる。特に、第1センサS1および第2センサS2が互いに異なる対象物の変位量等を検出する構成であって、一方のセンサが他方のセンサに比較して高精度の検出値を求められる場合、本実施形態のように、他方のセンサデータのみを圧縮する方法が有効である。 In contrast, according to this embodiment, only the second sensor data of the first and second sensor data is compressed, so that it is possible to avoid partial loss of the uncompressed first sensor data due to compression. This allows the detection value of the first sensor S1 to be transmitted to the control device E with high accuracy, thereby improving the detection accuracy of the first detection value acquired by the control device E. In particular, when the first sensor S1 and the second sensor S2 are configured to detect the amount of displacement of different objects, etc., and one sensor can obtain a detection value with higher accuracy than the other sensor, a method of compressing only the other sensor data, as in this embodiment, is effective.
また、上記実施形態によれば、以下のような効果を得ることができる。 Furthermore, the above embodiment provides the following advantages:
(1)上記実施形態では、第2データ圧縮部42は、第2センサデータのデータ量を4ビット以上圧縮することで4ビットの空領域を生成する。また、判別情報追加部50は、4ビットのデータ長の異常判別情報を空領域に追加する。
(1) In the above embodiment, the second
これによれば、制御装置Eが通信装置1から出力する出力信号を取りこぼした場合であっても、更新カウンタの値が同じ出力信号を連続して受け取り難くなる。このため、誤ったデータ固着異常の判別がされ難くなる。
As a result, even if the control device E misses an output signal output from the
(第3実施形態の変形例)
上述の第3実施形態では、通信装置1が第1データ圧縮部41を備えておらず、第2データ圧縮部42が第1センサデータおよび第2センサデータのうち、第2センサデータのデータ量のみを圧縮する例について説明したが、これに限定されない。例えば、通信装置1は、第2データ圧縮部42を備えておらず、第1データ圧縮部41を備える構成であって、第1データ圧縮部41が第1センサデータおよび第2センサデータのうち、第1センサデータのデータ量のみを圧縮する構成であってもよい。
(Modification of the third embodiment)
In the above-described third embodiment, an example has been described in which the
(第4実施形態)
次に、第4実施形態について、図11および図12を参照して説明する。本実施形態では、第1データ圧縮部41が非可逆圧縮方法で第1センサデータを圧縮する点および第2データ圧縮部42が非可逆圧縮方法で第2センサデータを圧縮する点が第1実施形態と相違している。これ以外は、第1実施形態と同様である。このため、本実施形態では、第1実施形態と異なる部分について主に説明し、第1実施形態と同様の部分について説明を省略することがある。
Fourth Embodiment
Next, a fourth embodiment will be described with reference to Fig. 11 and Fig. 12. This embodiment differs from the first embodiment in that the first
本実施形態の第1データ圧縮部41は、第1センサデータ作成部31から第1センサデータを受信すると、非可逆圧縮方法によって第1センサデータのデータ量を圧縮する。具体的に、第1データ圧縮部41は、12ビットの第1センサデータを対数圧縮によって10ビットに圧縮する。
When the first
また、本実施形態の第2データ圧縮部42は、第2センサデータ作成部32から第2センサデータを受信すると、非可逆圧縮方法によって第2センサデータのデータ量を圧縮する。具体的に、第2データ圧縮部42は、12ビットの第2センサデータを対数圧縮によって10ビットに圧縮する。
In addition, when the second
ここで、対数圧縮によって圧縮する場合の圧縮方法について、図11および図12に示す参考例を参照して説明する。対数圧縮は、圧縮前のデータ値と圧縮後のデータ値との対応関係が予め定められており、圧縮前のデータ値をこの予め定められた対応関係に基づいて変換することで、データ全体のデータ量を削減するものである。そして、圧縮前のデータ値と圧縮後のデータ値との対応関係は対数関係的に定められており、圧縮前のデータ値が小さいほど圧縮後のデータ値の分解能が低く、これに対して、圧縮前のデータ値が大きいほど圧縮後のデータ値の分解能が高くなるようになっている。 Here, a compression method when compressing by logarithmic compression will be described with reference to the reference examples shown in Figs. 11 and 12. In logarithmic compression, the correspondence between the data values before compression and the data values after compression is predetermined, and the data values before compression are converted based on this predetermined correspondence, thereby reducing the overall data volume. The correspondence between the data values before compression and the data values after compression is determined logarithmically, so that the smaller the data value before compression, the lower the resolution of the data value after compression, and conversely, the larger the data value before compression, the higher the resolution of the data value after compression.
ここで、第1センサS1から取得する第1検出値を第1センサデータに変換する際に、第1検出値を12ビットの0~4095までのデータ値で表現し、運転者の踏力が大きいほど当該データ値が大きくなるとする。そして、12ビットの0~4095までのデータ値で表現される圧縮する前の第1センサデータを対数圧縮によって8ビットの0~255までのデータ値に圧縮する場合について説明する。この場合、図11に示すように、圧縮前の第1センサデータが0に近いほど圧縮後のデータ値の分解能が低くなるように、圧縮前の第1センサデータのデータ値と圧縮後の第1センサデータのデータ値との対応関係が予め定められている。これに対して、圧縮前の第1センサデータが4095に近いほど圧縮後のデータ値の分解能が高くなるように、圧縮前の第1センサデータのデータ値と圧縮後の第1センサデータのデータ値との対応関係が予め定められている。 Here, when converting the first detection value acquired from the first sensor S1 into the first sensor data, the first detection value is expressed as a 12-bit data value from 0 to 4095, and the greater the pedal force of the driver, the greater the data value. A case will be described in which the uncompressed first sensor data expressed as a 12-bit data value from 0 to 4095 is compressed into an 8-bit data value from 0 to 255 by logarithmic compression. In this case, as shown in FIG. 11, the correspondence between the data value of the first sensor data before compression and the data value of the first sensor data after compression is predetermined so that the closer the uncompressed first sensor data is to 0, the lower the resolution of the compressed data value. In contrast, the correspondence between the data value of the first sensor data before compression and the data value of the first sensor data after compression is predetermined so that the closer the uncompressed first sensor data is to 4095, the higher the resolution of the compressed data value.
具体的に、圧縮前の第1センサデータのデータ値と圧縮後の第1センサデータのデータ値との対応関係は、圧縮前のデータ値が所定の範囲内のいずれかのデータ値に対して、圧縮後のデータ値が所定の1つの値が割り当てられるように定められている。そして、圧縮前の第1センサデータのデータ値における所定の範囲は、圧縮前の第1センサデータが0に近いほど狭くなるように定められている。 Specifically, the correspondence between the data value of the first sensor data before compression and the data value of the first sensor data after compression is determined so that a single predetermined value is assigned to any data value within a predetermined range of the data value before compression. The predetermined range of the data value of the first sensor data before compression is determined to be narrower as the data value of the first sensor data before compression is closer to 0.
このため、第1データ圧縮部41が第1センサデータを圧縮する場合において、第1センサS1から取得する第1検出値が小さいほど、対数圧縮に起因するデータ損失の損失量を抑制することができる。
Therefore, when the first
また、制御装置Eは、通信装置1から出力信号を受信すると、第1センサ領域R1に格納され、対数圧縮によって圧縮された圧縮第1センサデータを復元するとともに、第2センサ領域R2に格納され、対数圧縮によって圧縮された圧縮第2センサデータを復元する。ここで、圧縮第1センサデータおよび圧縮第2センサデータは、非可逆圧縮方法である対数圧縮によって圧縮されている。
When the control device E receives an output signal from the
このため、制御装置Eは、圧縮第1センサデータおよび圧縮第2センサデータを復元させる際に、図12に示すように、8ビットの0~255までの圧縮後のデータ値を12ビットの0~4095までのデータ値に変換する。この場合、復元前の第1センサデータが0に近いほど復元後のデータ値の分解能が高くなるように、復元前の第1センサデータのデータ値と復元後の第1センサデータのデータ値との対応関係が予め定められている。これに対して、復元前の第1センサデータが255に近いほど復元後のデータ値の分解能が低くなるように、復元前の第1センサデータのデータ値と復元後の第1センサデータのデータ値との対応関係が対数関係的に予め定められている。 For this reason, when the control device E restores the compressed first sensor data and the compressed second sensor data, it converts the 8-bit compressed data values of 0 to 255 into 12-bit data values of 0 to 4095, as shown in FIG. 12. In this case, the correspondence between the data values of the first sensor data before restoration and the data values of the first sensor data after restoration is predetermined so that the closer the first sensor data before restoration is to 0, the higher the resolution of the restored data value. In contrast, the correspondence between the data values of the first sensor data before restoration and the data values of the first sensor data after restoration is predetermined logarithmically so that the closer the first sensor data before restoration is to 255, the lower the resolution of the restored data value.
具体的に、復元前の第1センサデータのデータ値と復元後の第1センサデータのデータ値との対応関係は、復元前のデータ値が所定の範囲内のいずれかのデータ値に対して、復元後のデータ値が所定の1つの値が割り当てられるように定められている。そして、復元前の第1センサデータのデータ値における所定の範囲は、復元前の第1センサデータが0に近いほど広くなるように定められている。 Specifically, the correspondence between the data value of the first sensor data before restoration and the data value of the first sensor data after restoration is determined so that a data value after restoration is assigned a single predetermined value to any data value within a predetermined range of data values before restoration. The predetermined range of the data values of the first sensor data before restoration is determined to be wider the closer the first sensor data before restoration is to 0.
このように、本実施形態では、第1データ圧縮部41は、第1センサデータのデータ量を非可逆圧縮方法によって圧縮する。また、第2データ圧縮部42は、第2センサデータのデータ量を非可逆圧縮方法によって圧縮する。
In this manner, in this embodiment, the first
これによれば、第1センサデータおよび第2センサデータそれぞれのデータ量を可逆圧縮方法に圧縮する場合に比較して圧縮後の第1センサデータおよび第2センサデータそれぞれのデータ量を小さくし易い。 This makes it easier to reduce the amount of data of each of the first sensor data and second sensor data after compression compared to when the amount of data of each of the first sensor data and second sensor data is compressed using a lossless compression method.
また、上記実施形態によれば、以下のような効果を得ることができる。 Furthermore, the above embodiment provides the following advantages:
(1)上記実施形態では、第1データ圧縮部41は、対数圧縮によって第1センサデータのデータ量を圧縮する。また、第2データ圧縮部42は、対数圧縮によって第2センサデータのデータ量を圧縮する。
(1) In the above embodiment, the first
ここで、第1センサデータおよび第2センサデータを対数圧縮すると、第1センサS1および第2センサS2から入力される検出値が小さいほど、第1センサデータおよび第2センサデータは、分解能が低く圧縮される。これに対して、第1センサS1および第2センサS2から入力される検出値が大きいほど第1センサデータおよび第2センサデータは、分解能が高く圧縮される。このため、制御装置Eが圧縮された第1センサデータおよび第2センサデータを復元する際に、検出値が大きいほど精度良く第1センサデータおよび第2センサデータを復元できる。 When the first sensor data and the second sensor data are logarithmically compressed, the smaller the detection values input from the first sensor S1 and the second sensor S2, the lower the resolution at which the first sensor data and the second sensor data are compressed. In contrast, the larger the detection values input from the first sensor S1 and the second sensor S2, the higher the resolution at which the first sensor data and the second sensor data are compressed. Therefore, when the control device E restores the compressed first sensor data and the second sensor data, the larger the detection values, the more accurately the first sensor data and the second sensor data can be restored.
ところで、通信装置1に接続される第1センサS1および第2センサS2がブレーキペダルへの踏力を検出する場合、僅かな力で踏まれた際の踏力よりも比較的大きな力で踏まれた際の踏力を精度よく検出することが求められる場合がある。このため、第1データ圧縮部41、第2データ圧縮部42によって第1センサデータおよび第2センサデータが圧縮される際、第1センサデータおよび第2センサデータは、比較的大きな力で踏まれた際の踏力を精度よく復元できるように圧縮されることが望ましい。
When the first sensor S1 and the second sensor S2 connected to the
そして本実施形態によれば、第1データ圧縮部41および第2データ圧縮部42は、比較的大きな力で踏まれた際に取得する第1センサデータおよび第2センサデータを対数圧縮することによって、高い分解能でこれらセンサデータを圧縮する。したがって、制御装置Eは、精度よく検出されることが望ましい比較的大きな力で踏まれた際の踏力を精度よく取得できる。
According to this embodiment, the first
(第4実施形態の変形例)
上述の第4実施形態では、第1データ圧縮部41が対数圧縮によって第1センサデータのデータ量を圧縮し、第2データ圧縮部42が対数圧縮によって第2センサデータのデータ量を圧縮する例について説明したが、これに限定されない。非可逆圧縮方法によって圧縮する方法であれば、第1データ圧縮部41が対数圧縮とは異なる圧縮方法によって第1センサデータのデータ量を圧縮する構成であってもよい。また、非可逆圧縮方法によって圧縮する方法であれば、第2データ圧縮部42が対数圧縮とは異なる圧縮方法によって第2センサデータのデータ量を圧縮する構成であってもよい。
(Modification of the fourth embodiment)
In the above-described fourth embodiment, an example has been described in which the first
(第5実施形態)
次に、第5実施形態について、図13を参照して説明する。本実施形態では、通信装置1がセンサ装置SDに設けられている点が第1実施形態と相違している。これ以外は、第1実施形態と同様である。このため、本実施形態では、第1実施形態と異なる部分について主に説明し、第1実施形態と同様の部分について説明を省略することがある。
Fifth Embodiment
Next, a fifth embodiment will be described with reference to Fig. 13. This embodiment differs from the first embodiment in that the
本実施形態の通信装置1は、図13に示すように、センサ装置SDに設けられている。センサ装置SDは、例えば、検出対象であるブレーキペダルが運転者によって踏まれる際の踏力を検出する第1センサ素子61および第2センサ素子62を備えている。第1センサ素子61は、第1実施形態で説明した第1センサS1に相当する。また、第2センサ素子62は、第1実施形態で説明した第2センサS2に相当する。
The
第1センサ素子61は、第1センサデータ作成部31に接続されている。そして、第1センサ素子61は、ブレーキペダルが運転者によって踏まれる際の踏力を検出し、検出した踏力に応じた信号を第1センサデータ作成部31に送信する。また、第2センサ素子62は、第2センサデータ作成部32に接続されている。そして、第2センサ素子62は、ブレーキペダルが運転者によって踏まれる際の踏力を検出し、検出した踏力に応じた信号を第2センサデータ作成部32に送信する。
The
これによれば、通信装置1をセンサ装置SDに設ける構成とすることで、通信装置1とセンサ装置SDとが別体で構成されている場合に比較して、通信装置1およびセンサ装置SDを設置し易くできる。
By configuring the
(他の実施形態)
以上、本開示の代表的な実施形態について説明したが、本開示は、上述の実施形態に限定されることなく、例えば、以下のように種々変形可能である。
Other Embodiments
Representative embodiments of the present disclosure have been described above, but the present disclosure is not limited to the above-described embodiments and can be modified in various ways, for example, as described below.
上述の実施形態では、第1センサS1および第2センサS2が互いに独立して構成されており、第1センサS1が検出する第1検出値および第2センサS2が検出する第2検出値が通信装置1に入力される構成について説明したが、これに限定されない。
In the above embodiment, the first sensor S1 and the second sensor S2 are configured independently of each other, and the first detection value detected by the first sensor S1 and the second detection value detected by the second sensor S2 are input to the
例えば、第1センサS1および第2センサS2それぞれが検出する対称が同じであって、第1センサS1および第2センサS2それぞれが同じ検出対象物から検出する検出値を通信装置1に送信する構成であってもよい。
For example, the first sensor S1 and the second sensor S2 may each detect the same object, and the first sensor S1 and the second sensor S2 may each transmit the detection values detected from the same detection object to the
上述の実施形態では、第1センサS1および第2センサS2がブレーキペダルに設けられており、運転者によってブレーキペダルが踏まれる際の踏力に応じた信号をそれぞれ通信装置1に出力する例に説明したが、これに限定されない。
In the above embodiment, the first sensor S1 and the second sensor S2 are provided on the brake pedal, and a signal corresponding to the force applied by the driver when depressing the brake pedal is output to the
例えば、第1センサS1および第2センサS2は、互いに異なる検出対象物に設けられており、互いに異なる検出対象物から検出する検出値を通信装置1に送信する構成であってもよい。
For example, the first sensor S1 and the second sensor S2 may be provided on different detection objects, and the detection values detected from the different detection objects may be transmitted to the
上述の実施形態では、第1データ圧縮部41および第2データ圧縮部42によって生成される空領域が4ビットであって、異常判別情報が4ビットのデータ長で構成される例について説明したが、これに限定されない。
In the above embodiment, an example was described in which the free space generated by the first
例えば、第1データ圧縮部41および第2データ圧縮部42によって生成される空領域は、4ビットより小さいデータ長(例えば3ビット)であってもよいし、4ビットより大きいデータ長(例えば5ビット)であってもよい。そして、空領域が4ビットより小さいデータ長である場合、異常判別情報は、4ビットより小さいデータ長で構成されてもよい。また、空領域が4ビットより大きいデータ長である場合、異常判別情報は、4ビットより大きいデータ長で構成されてもよい。
For example, the free space generated by the first
上述の実施形態では、異常判別情報が、出力信号が送信される毎にカウンタ値が1つずつ増加していく更新カウンタで構成されている例について説明したが、これに限定されない。 In the above embodiment, an example was described in which the abnormality determination information is configured as an update counter whose counter value increases by one each time an output signal is transmitted, but the present invention is not limited to this.
例えば、異常判別情報は、出力信号が送信される毎にカウンタ値が1つずつ減少していく更新カウンタで構成されていてもよい。また、異常判別情報は、出力信号が送信される毎にカウンタ値が加速度的に変化する更新カウンタで構成されていてもよい。この場合、異常判別情報は、出力信号が送信される毎に、例えば、指数関数的に増加する構成であってもよい。また、異常判別情報は、予め定められた順番で不規則に変化する複数の数値であって、出力信号が送信される毎に当該数値が順番に変化していく構成であってもよい。この場合、仮にSENT通信波形Pが外部から解析された場合であっても、異常判別情報が解析され難くなる。 For example, the abnormality determination information may be configured as an update counter whose counter value decreases by one each time an output signal is transmitted. The abnormality determination information may also be configured as an update counter whose counter value changes at an accelerated rate each time an output signal is transmitted. In this case, the abnormality determination information may be configured to increase, for example, exponentially each time an output signal is transmitted. The abnormality determination information may also be configured to be a plurality of numerical values that change irregularly in a predetermined order, and the numerical values change in order each time an output signal is transmitted. In this case, even if the SENT communication waveform P is analyzed from the outside, the abnormality determination information will be difficult to analyze.
上述の実施形態では、第1データ圧縮部41および第2データ圧縮部42が、同じ圧縮方法によって第1センサデータのデータ量または第2センサデータのデータ量を圧縮する例について説明したが、これに限定されない。例えば、第1データ圧縮部41および第2データ圧縮部42が、互いに異なる圧縮方法によって第1センサデータのデータ量または第2センサデータのデータ量を圧縮する構成であってもよい。具体的に、第1データ圧縮部41が可逆圧縮方法によって第1センサデータのデータ量を圧縮し、第2データ圧縮部42が非可逆圧縮方法によって第2センサデータのデータ量を圧縮する構成であってもよい。また、第1データ圧縮部41が非可逆圧縮方法によって第1センサデータのデータ量を圧縮し、第2データ圧縮部42が可逆圧縮方法によって第2センサデータのデータ量を圧縮する構成であってもよい。
In the above embodiment, the first
上述の実施形態において、実施形態を構成する要素は、特に必須であると明示した場合および原理的に明らかに必須であると考えられる場合等を除き、必ずしも必須のものではないことは言うまでもない。 It goes without saying that in the above-described embodiments, the elements constituting the embodiments are not necessarily essential, except in cases where they are specifically stated as essential or where they are clearly considered essential in principle.
上述の実施形態において、実施形態の構成要素の個数、数値、量、範囲等の数値が言及されている場合、特に必須であると明示した場合および原理的に明らかに特定の数に限定される場合等を除き、その特定の数に限定されない。 In the above-described embodiments, when numerical values such as the number, values, amounts, ranges, etc. of components of the embodiments are mentioned, they are not limited to the specific numbers, except when it is expressly stated that they are essential or when they are clearly limited to a specific number in principle.
上述の実施形態において、構成要素等の形状、位置関係等に言及するときは、特に明示した場合および原理的に特定の形状、位置関係等に限定される場合等を除き、その形状、位置関係等に限定されない。 In the above-described embodiments, when referring to the shapes, positional relationships, etc. of components, etc., there is no limitation to those shapes, positional relationships, etc., unless specifically stated otherwise or in principle limited to a specific shape, positional relationship, etc.
(本発明の特徴)
[請求項1]
センサ(S1、S2)から第1検出値および第2検出値を取得して、前記第1検出値および前記第2検出値に応じた信号をSENTプロトコルに従った信号で出力する通信装置であって、
取得する前記第1検出値および前記第2検出値に関する信号をSENT通信波形として生成する波形生成部(10)と、
前記SENT通信波形を出力信号として出力する信号出力部(20)と、を備え、
前記SENT通信波形は、格納される情報が予め定められた複数のデータ領域で構成されており、
前記複数のデータ領域は、12ビットのデータ長で構成され、前記第1検出値に関する情報が格納される第1センサ領域(R1)と、12ビットのデータ長で構成され、前記第2検出値に関する情報が格納される第2センサ領域(R2)と、を含み、
前記波形生成部は、
前記第1検出値を、前記第1センサ領域に格納するための12ビットのデータである第1センサデータに変換するとともに、前記第2検出値を、前記第2センサ領域に格納するための12ビットのデータである第2センサデータに変換するセンサデータ作成部(31、32)と、
前記第1センサデータおよび前記第2センサデータの少なくとも一方のセンサデータのデータ量を圧縮させて、前記第1センサ領域および前記第2センサ領域の少なくとも一方のセンサ領域に情報が含まれていない空領域を生成するデータ圧縮部(41、42)と、
前記第1センサデータおよび前記第2センサデータが更新されないデータ固着異常が発生しているか否かを判別するための異常判別情報を前記空領域に追加する判別情報追加部(50)と、を有する通信装置。
(Features of the present invention)
[Claim 1]
A communication device that acquires a first detection value and a second detection value from a sensor (S1, S2) and outputs a signal according to the first detection value and the second detection value in a signal conforming to a SENT protocol,
a waveform generating unit (10) that generates a signal relating to the acquired first detection value and the second detection value as a SENT communication waveform;
A signal output unit (20) that outputs the SENT communication waveform as an output signal,
The SENT communication waveform is configured with a plurality of data areas in which information is stored,
The plurality of data areas include a first sensor area (R1) having a data length of 12 bits and storing information relating to the first detection value, and a second sensor area (R2) having a data length of 12 bits and storing information relating to the second detection value,
The waveform generating unit is
a sensor data creation unit (31, 32) that converts the first detection value into first sensor data that is 12-bit data to be stored in the first sensor area, and converts the second detection value into second sensor data that is 12-bit data to be stored in the second sensor area;
a data compression unit (41, 42) that compresses the amount of data of at least one of the first sensor data and the second sensor data to generate an empty area that does not include information in at least one of the first sensor area and the second sensor area;
and a discrimination information adding unit (50) that adds abnormality discrimination information to the empty area to determine whether or not a data fixation abnormality has occurred in which the first sensor data and the second sensor data are not updated.
[請求項2]
前記データ圧縮部は、前記第1センサデータおよび前記第2センサデータの両方のセンサデータのデータ量を圧縮して、前記第1センサ領域および前記第2センサ領域の両方に前記空領域を生成する請求項1に記載の通信装置。
[Claim 2]
The communication device according to
[請求項3]
前記SENT通信波形は、前記第1センサデータを格納する前記第1センサ領域と、前記第2センサデータを格納する前記第2センサ領域とが互いに隣接して形成されており、
前記データ圧縮部は、前記第1センサデータのデータ量を圧縮して、前記第1センサ領域のうちの前記第2センサデータに連なる側に2ビット以上の前記空領域を生成するとともに、前記第2センサデータのデータ量を圧縮して、前記第2センサ領域にのうちの前記第1センサデータに連なる側に2ビット以上の前記空領域を生成し、
前記判別情報追加部は、4ビット以上のデータ長の前記異常判別情報を、前記第1センサ領域および前記第2センサ領域に跨って形成される前記空領域に追加する請求項2に記載の通信装置。
[Claim 3]
The SENT communication waveform is formed such that the first sensor area for storing the first sensor data and the second sensor area for storing the second sensor data are adjacent to each other,
the data compression unit compresses an amount of data of the first sensor data to generate an empty area of 2 bits or more on a side of the first sensor area adjacent to the second sensor data, and compresses an amount of data of the second sensor data to generate an empty area of 2 bits or more on a side of the second sensor area adjacent to the first sensor data,
The communication device according to
[請求項4]
前記データ圧縮部は、前記第1センサデータおよび前記第2センサデータそれぞれのデータ量を4ビット以上圧縮することで2つの4ビット以上の前記空領域を生成し、
前記判別情報追加部は、4ビット以上のデータ長の前記異常判別情報を2つの前記空領域それぞれに追加する請求項2に記載の通信装置。
[Claim 4]
the data compression unit generates two free areas of 4 bits or more by compressing a data amount of each of the first sensor data and the second sensor data by 4 bits or more;
The communication device according to
[請求項5]
前記データ圧縮部は、前記第1センサデータおよび前記第2センサデータのいずれか一方のみのデータ量を圧縮して、前記第1センサ領域および前記第2センサ領域の一方に前記空領域を生成する請求項1に記載の通信装置。
[Claim 5]
The communication device according to
[請求項6]
前記データ圧縮部は、前記第1センサデータおよび前記第2センサデータのいずれか一方のみのデータ量を3ビット以上圧縮することで3ビット以上の前記空領域を生成し、
前記判別情報追加部は、3ビット以上のデータ長の前記異常判別情報を前記空領域に追加する請求項5に記載の通信装置。
[Claim 6]
the data compression unit generates the free area of 3 bits or more by compressing a data amount of only one of the first sensor data and the second sensor data by 3 bits or more;
The communication device according to
[請求項7]
前記異常判別情報は、前記出力信号が送信される毎にカウンタ値が変化する更新カウンタを含む請求項1ないし6のいずれか1つに記載の通信装置。
[Claim 7]
7. The communication device according to
[請求項8]
前記データ圧縮部は、前記第1センサデータおよび前記第2センサデータのデータ量を可逆圧縮方法で圧縮する請求項1ないし7のいずれか1つに記載の通信装置。
[Claim 8]
The communication device according to
[請求項9]
前記データ圧縮部は、ハフマン符号によって前記第1センサデータおよび前記第2センサデータのデータ量を圧縮する請求項8に記載の通信装置。
[Claim 9]
The communication device according to claim 8 , wherein the data compression unit compresses the data amounts of the first sensor data and the second sensor data using Huffman coding.
[請求項10]
前記データ圧縮部は、前記第1センサデータおよび前記第2センサデータのデータ量を非可逆圧縮方法で圧縮する請求項1ないし7のいずれか1つに記載の通信装置。
[Claim 10]
The communication device according to
[請求項11]
前記データ圧縮部は、対数圧縮によって前記第1センサデータおよび前記第2センサデータのデータ量を圧縮する請求項10に記載の通信装置。
[Claim 11]
The communication device according to
[請求項12]
請求項1ないし11のいずれか1つに記載の通信装置を備えたセンサ装置であって、
前記第1検出値を検出する第1センサ素子(61)および前記第2検出値を検出する第2センサ素子(62)を備えたセンサ装置。
[Claim 12]
A sensor device comprising the communication device according to any one of
A sensor device comprising a first sensor element (61) for detecting the first detection value and a second sensor element (62) for detecting the second detection value.
10 波形生成部
20 信号出力部
31、32 センサデータ作成部
41、42 データ圧縮部
50 判別情報追加部
R1 第1センサ領域
R2 第2センサ領域
S1、S2 センサ
10
Claims (12)
取得する前記第1検出値および前記第2検出値に関する信号をSENT通信波形として生成する波形生成部(10)と、
前記SENT通信波形を出力信号として出力する信号出力部(20)と、を備え、
前記SENT通信波形は、格納される情報が予め定められた複数のデータ領域で構成されており、
前記複数のデータ領域は、12ビットのデータ長で構成され、前記第1検出値に関する情報が格納される第1センサ領域(R1)と、12ビットのデータ長で構成され、前記第2検出値に関する情報が格納される第2センサ領域(R2)と、を含み、
前記波形生成部は、
前記第1検出値を、前記第1センサ領域に格納するための12ビットのデータである第1センサデータに変換するとともに、前記第2検出値を、前記第2センサ領域に格納するための12ビットのデータである第2センサデータに変換するセンサデータ作成部(31、32)と、
前記第1センサデータおよび前記第2センサデータの少なくとも一方のセンサデータのデータ量を圧縮させて、前記第1センサ領域および前記第2センサ領域の少なくとも一方のセンサ領域に前記第1センサデータおよび前記第2センサデータが格納されない空領域を生成するデータ圧縮部(41、42)と、
前記第1センサデータおよび前記第2センサデータが更新されない状態を示すデータ固着異常が発生しているか否かを判別するための異常判別情報を前記空領域に追加する判別情報追加部(50)と、を有する通信装置。 A communication device that acquires a first detection value and a second detection value from a sensor (S1, S2) and outputs a signal according to the first detection value and the second detection value in a signal conforming to a SENT protocol,
a waveform generating unit (10) that generates a signal relating to the acquired first detection value and the second detection value as a SENT communication waveform;
A signal output unit (20) that outputs the SENT communication waveform as an output signal,
The SENT communication waveform is configured with a plurality of data areas in which information is stored,
The plurality of data areas include a first sensor area (R1) having a data length of 12 bits and storing information relating to the first detection value, and a second sensor area (R2) having a data length of 12 bits and storing information relating to the second detection value,
The waveform generating unit is
a sensor data creation unit (31, 32) that converts the first detection value into first sensor data that is 12-bit data to be stored in the first sensor area, and converts the second detection value into second sensor data that is 12-bit data to be stored in the second sensor area;
a data compression unit (41, 42) that compresses an amount of at least one of the first sensor data and the second sensor data to generate an empty area in which the first sensor data and the second sensor data are not stored in at least one of the first sensor area and the second sensor area;
and a discrimination information adding unit (50) that adds abnormality discrimination information to the empty area to determine whether or not a data fixation abnormality has occurred, the data fixation abnormality indicating a state in which the first sensor data and the second sensor data are not updated.
前記データ圧縮部は、前記第1センサデータのデータ量を圧縮して、前記第1センサ領域のうちの前記第2センサデータに連なる側に2ビット以上の前記空領域を生成するとともに、前記第2センサデータのデータ量を圧縮して、前記第2センサ領域にのうちの前記第1センサデータに連なる側に2ビット以上の前記空領域を生成し、
前記判別情報追加部は、4ビット以上のデータ長の前記異常判別情報を、前記第1センサ領域および前記第2センサ領域に跨って形成される前記空領域に追加する請求項2に記載の通信装置。 The SENT communication waveform is formed such that the first sensor area for storing the first sensor data and the second sensor area for storing the second sensor data are adjacent to each other,
the data compression unit compresses an amount of data of the first sensor data to generate an empty area of 2 bits or more on a side of the first sensor area adjacent to the second sensor data, and compresses an amount of data of the second sensor data to generate an empty area of 2 bits or more on a side of the second sensor area adjacent to the first sensor data,
The communication device according to claim 2 , wherein the determination information adding unit adds the abnormality determination information having a data length of 4 bits or more to the empty area formed across the first sensor area and the second sensor area.
前記判別情報追加部は、4ビット以上のデータ長の前記異常判別情報を2つの前記空領域それぞれに追加する請求項2に記載の通信装置。 the data compression unit generates two free areas of 4 bits or more by compressing a data amount of each of the first sensor data and the second sensor data by 4 bits or more;
The communication device according to claim 2 , wherein the determination information adding unit adds the abnormality determination information having a data length of 4 bits or more to each of the two free areas.
前記判別情報追加部は、3ビット以上のデータ長の前記異常判別情報を前記空領域に追加する請求項5に記載の通信装置。 the data compression unit generates the free area of 3 bits or more by compressing a data amount of only one of the first sensor data and the second sensor data by 3 bits or more;
The communication device according to claim 5 , wherein the determination information adding unit adds the abnormality determination information having a data length of 3 bits or more to the free area.
前記第1検出値を検出する第1センサ素子(61)および前記第2検出値を検出する第2センサ素子(62)を備えたセンサ装置。 A sensor device including the communication device according to claim 1,
A sensor device comprising a first sensor element (61) for detecting the first detection value and a second sensor element (62) for detecting the second detection value.
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2022104700A JP7582266B2 (en) | 2022-06-29 | 2022-06-29 | COMMUNICATION DEVICE AND SENSOR DEVICE EQUIPPED WITH THE SAME |
| PCT/JP2023/021373 WO2024004570A1 (en) | 2022-06-29 | 2023-06-08 | Communication device and sensor device equipped with same |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2022104700A JP7582266B2 (en) | 2022-06-29 | 2022-06-29 | COMMUNICATION DEVICE AND SENSOR DEVICE EQUIPPED WITH THE SAME |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2024004839A JP2024004839A (en) | 2024-01-17 |
| JP7582266B2 true JP7582266B2 (en) | 2024-11-13 |
Family
ID=89382826
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2022104700A Active JP7582266B2 (en) | 2022-06-29 | 2022-06-29 | COMMUNICATION DEVICE AND SENSOR DEVICE EQUIPPED WITH THE SAME |
Country Status (2)
| Country | Link |
|---|---|
| JP (1) | JP7582266B2 (en) |
| WO (1) | WO2024004570A1 (en) |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2010098630A (en) | 2008-10-20 | 2010-04-30 | Sumitomo Electric Ind Ltd | Video encoding apparatus, video decoding apparatus, video processing system, and data structure |
| JP2016217870A (en) | 2015-05-20 | 2016-12-22 | 株式会社デンソー | Sensor device and electric power steering device using the same |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP3430484B2 (en) * | 1997-08-15 | 2003-07-28 | 株式会社エヌ・ティ・ティ・ドコモ北海道 | Transmitter, receiver, transceiver, and data transmission system |
-
2022
- 2022-06-29 JP JP2022104700A patent/JP7582266B2/en active Active
-
2023
- 2023-06-08 WO PCT/JP2023/021373 patent/WO2024004570A1/en not_active Ceased
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2010098630A (en) | 2008-10-20 | 2010-04-30 | Sumitomo Electric Ind Ltd | Video encoding apparatus, video decoding apparatus, video processing system, and data structure |
| JP2016217870A (en) | 2015-05-20 | 2016-12-22 | 株式会社デンソー | Sensor device and electric power steering device using the same |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2024004839A (en) | 2024-01-17 |
| WO2024004570A1 (en) | 2024-01-04 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6542847B1 (en) | Sensor system for detecting movements | |
| US5491479A (en) | 8B-16B RLL decoder with hamming distance detection | |
| JP6045123B2 (en) | Encoder, decoder and method | |
| KR20230098370A (en) | Audio transmitter processor, audio receiver processor and related methods and computer programs | |
| EP1832000B1 (en) | Device and data method for selective compression and decompression and data format for compressed data | |
| EP2146343A1 (en) | Method and apparatus for synchronizing highly compressed enhancement layer data | |
| US20100141488A1 (en) | Accelerated decompression | |
| US10594440B2 (en) | SPC sensor interface with partial parity protection | |
| JP7582266B2 (en) | COMMUNICATION DEVICE AND SENSOR DEVICE EQUIPPED WITH THE SAME | |
| US6910172B2 (en) | CRC encoding circuit, CRC encoding method, data sending device and data receiving device | |
| JP2017511997A (en) | Data source encoding and decoding apparatus and method | |
| CA2359260A1 (en) | Coding apparatus and method for orientation interpolator node | |
| US7548175B2 (en) | Encoding apparatus, decoding apparatus, encoding method, computer readable medium storing program thereof, and computer data signal | |
| KR20150126858A (en) | Entropy modifier and method | |
| KR860000982A (en) | Brake actuator system | |
| EP0304608A2 (en) | Multi-mode dynamic code assignment for data compression | |
| Al-Bahadili | A novel lossless data compression scheme based on the error correcting Hamming codes | |
| EP2326014A3 (en) | Error detecting/correcting code generating circuit and method of controlling the same | |
| CA2947726C (en) | Data compression of a sequence of binary data | |
| US11055423B2 (en) | Signal pattern checksum | |
| JP3673222B2 (en) | Variable length encoding method and apparatus, and variable length decoding method and apparatus | |
| JP7180255B2 (en) | Calculation device for calculating Golomb parameters, Golomb encoding device provided with the calculation device, electronic device provided with the Golomb encoding device, method for calculating Golomb parameters, and program for the calculation device for calculating Golomb parameters | |
| EP2629438B1 (en) | Transmitter and receiver for pulse density modulated signals and signal processing method | |
| US20030084392A1 (en) | Decoder and receiver using the same | |
| Balasubramani et al. | A VLSI‐Based Multi‐Level ECG Compression Scheme with RL and VL Encoding |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20240422 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20241001 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20241014 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 7582266 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |