Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP6984178B2 - Communication device - Google Patents
[go: Go Back, main page]

JP6984178B2 - Communication device - Google Patents

Communication device Download PDF

Info

Publication number
JP6984178B2
JP6984178B2 JP2017105564A JP2017105564A JP6984178B2 JP 6984178 B2 JP6984178 B2 JP 6984178B2 JP 2017105564 A JP2017105564 A JP 2017105564A JP 2017105564 A JP2017105564 A JP 2017105564A JP 6984178 B2 JP6984178 B2 JP 6984178B2
Authority
JP
Japan
Prior art keywords
communication
data
transmission
period
communication line
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2017105564A
Other languages
Japanese (ja)
Other versions
JP2018201148A (en
Inventor
哲夫 中川
友久 岸上
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Denso Corp
Original Assignee
Denso Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Denso Corp filed Critical Denso Corp
Priority to JP2017105564A priority Critical patent/JP6984178B2/en
Publication of JP2018201148A publication Critical patent/JP2018201148A/en
Application granted granted Critical
Publication of JP6984178B2 publication Critical patent/JP6984178B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Dc Digital Transmission (AREA)

Description

本開示は、通信装置に関する。 The present disclosure relates to communication equipment.

特許文献1には、UARTインタフェースを備える通信装置間でシリアル通信を行う技術が提案されている。UARTとは、Universal Asynchronous Receiver Transmitterの略である。 Patent Document 1 proposes a technique for performing serial communication between communication devices provided with a UART interface. UART is an abbreviation for Universal Asynchronous Receiver Transmitter.

特開2011−91742号公報Japanese Unexamined Patent Publication No. 2011-91742

特許文献1に記載のUARTインタフェースを用いたシリアル通信では、通信が行われない状態(以下、無通信状態)では、通信線の信号レベルはハイレベル(以下、Hレベル)である。通信開始時には、送信側は、まずスタートビットを送信する。スタートビットは、例えば1ビットのローレベル(以下、Lレベル)の信号であり、受信側に送信開始を知らせるためのものである。受信側は、これにより、受信を開始する。送信側は、続いて、所定のデータ長のデータを順に送信する。送信側は、データの送信が終了すると、ストップビットを送信する。ストップビットは、例えば1ビットのHレベルの信号であり、受信側に送信終了を知らせるためのものである。これにより、データの送信が完了する。 In the serial communication using the UART interface described in Patent Document 1, the signal level of the communication line is high level (hereinafter, H level) in the state where communication is not performed (hereinafter, non-communication state). At the start of communication, the transmitting side first transmits the start bit. The start bit is, for example, a 1-bit low level (hereinafter, L level) signal, and is used to notify the receiving side of the start of transmission. The receiving side thereby starts receiving. The transmitting side subsequently transmits data having a predetermined data length in order. The transmitting side transmits a stop bit when the transmission of data is completed. The stop bit is, for example, a 1-bit H-level signal, and is for notifying the receiving side of the end of transmission. This completes the transmission of data.

ところで、上述の無通信状態において通信線にノイズ等に起因してLレベルの信号が発生していると、該Lレベルの信号が開始信号として誤って認識され、誤ったデータが受信されるおそれがある。しかしながら、このような誤ったデータが送受信されるおそれがあることを検出するための技術は、従来無かった。 By the way, if an L-level signal is generated on the communication line due to noise or the like in the above-mentioned non-communication state, the L-level signal may be erroneously recognized as a start signal and erroneous data may be received. There is. However, there has been no conventional technique for detecting that such erroneous data may be transmitted or received.

本開示の1つの局面は、シリアル通信において誤ったデータが送受信されるおそれがあることを検出するための技術を提供する。 One aspect of the present disclosure provides a technique for detecting that erroneous data may be transmitted and received in serial communication.

本開示の1つの局面は、一または複数の他の通信装置と通信線を介して接続され、一又は複数の他の通信装置との間で通信を行う通信装置(10)である。通信装置は、送受信部(31)と、判断部(32)と、を備える。送受信部は、所定の2つの論理値のうちの一方で表される開始符号、及び開始符号とは反対の論理値で表される終了符号、を含むシリアルデータである通信データ、を通信線を介して送信するとともに、通信データを通信線を介して受信する。判断部は、通信線において通信データが送受信されていない期間を表す無通信期間に、通信線に開始符号の論理値に対応する電気信号である開始信号が生じたか否か、を判断する。 One aspect of the present disclosure is a communication device (10) that is connected to one or more other communication devices via a communication line and communicates with one or more other communication devices. The communication device includes a transmission / reception unit (31) and a determination unit (32). The transmission / reception unit connects a communication line, which is serial data, including a start code represented by one of two predetermined logical values and an end code represented by a logical value opposite to the start code. While transmitting via the communication line, communication data is received via the communication line. The determination unit determines whether or not a start signal, which is an electric signal corresponding to the logical value of the start code, is generated in the communication line during the non-communication period indicating the period during which communication data is not transmitted / received on the communication line.

このような構成によれば、無通信期間において、ノイズ等といった開始符号では無いものに起因して通信線に開始信号が生じた場合にも、開始信号が生じたと判断される。その結果、該判断結果を利用して、例えば、無通信期間に開始信号が生じたことを、シリアル通信において誤ったデータが送受信されるおそれがあることとして、検出することができる。 According to such a configuration, it is determined that the start signal is generated even when the start signal is generated on the communication line due to something other than the start code such as noise during the non-communication period. As a result, using the determination result, for example, it is possible to detect that the start signal is generated during the non-communication period as there is a possibility that erroneous data is transmitted / received in the serial communication.

なお、この欄及び特許請求の範囲に記載した括弧内の符号は、一つの態様として後述する実施形態に記載の具体的手段との対応関係を示すものであって、本開示の技術的範囲を限定するものではない。 In addition, the reference numerals in parentheses described in this column and the scope of claims indicate the correspondence with the specific means described in the embodiment described later as one embodiment, and the technical scope of the present disclosure is defined. It is not limited.

通信システムの構成を示す図。The figure which shows the structure of the communication system. 通信線における電気信号と論理値との対応を説明する説明図。An explanatory diagram illustrating the correspondence between an electric signal and a logical value in a communication line. 通信データとしての、UARTフレームを説明する説明図。An explanatory diagram illustrating a UART frame as communication data. ECUが実行する機能を表す機能ブロック図。The functional block diagram which shows the function which the ECU performs. 受信時処理を示すフローチャート。A flowchart showing processing at the time of reception. 送信時処理を示すフローチャート。A flowchart showing processing at the time of transmission. 検出処理を示すフローチャート。A flowchart showing the detection process. 送信制御処理を示すフローチャート。A flowchart showing a transmission control process. UARTフレームの送受信において、送信異常が検出されない例を説明する説明図。An explanatory diagram illustrating an example in which a transmission abnormality is not detected in transmission / reception of a UART frame. 第1実施形態の作動を説明する説明図。Explanatory drawing explaining operation of 1st Embodiment. LINフレームを説明する説明図。Explanatory drawing explaining the LIN frame. 第2実施形態の作動を説明する説明図。Explanatory drawing explaining operation of 2nd Embodiment.

以下、図面を参照しながら、本開示の実施形態を説明する。
[1.第1実施形態]
[1−1.構成]
図1に示す通信システム1は、例えば乗用車等の車両に搭載されている。通信システム1は、図1に示すように、電子制御装置(以下、ECU)10を備える。ECUは、Electronic Control Unitの略である。通信システム1は、複数の他のECU20を備えていてもよい。図1では、通信システム1が、3つの他のECU20を備える様子が示されている。ECU10及び他のECU20は、それぞれに割り当てられた種々の機能を実現するための各種処理を実行する。
Hereinafter, embodiments of the present disclosure will be described with reference to the drawings.
[1. First Embodiment]
[1-1. composition]
The communication system 1 shown in FIG. 1 is mounted on a vehicle such as a passenger car. As shown in FIG. 1, the communication system 1 includes an electronic control unit (hereinafter referred to as an ECU) 10. ECU is an abbreviation for Electronic Control Unit. The communication system 1 may include a plurality of other ECUs 20. FIG. 1 shows how communication system 1 includes three other ECUs 20. The ECU 10 and the other ECU 20 execute various processes for realizing various functions assigned to each.

通信システム1では、ECU10と他のECU20のそれぞれとは、通信線5を介して、所定の通信手順に従って、シリアル通信可能に接続されている。本実施形態では、UARTに従って、シリアル通信が行われる。 In the communication system 1, the ECU 10 and each of the other ECUs 20 are connected via a communication line 5 so as to be capable of serial communication according to a predetermined communication procedure. In this embodiment, serial communication is performed according to UART.

ECU10は、トランシーバ11と通信コントローラ12マイクロコンピュータ(以下、マイコン)12とを備える。なお、図示しないが、他のECU20は、ECU10と同様に、トランシーバと通信コントローラとを備えるように構成され得る。 The ECU 10 includes a transceiver 11 and a communication controller 12 microcomputer (hereinafter referred to as a microcomputer) 12. Although not shown, the other ECU 20 may be configured to include a transceiver and a communication controller, similarly to the ECU 10.

トランシーバ11は、通信相手となる他のECU20が備えるトランシーバとの間で、UARTで規定された通信線5の電気的条件を満たす電気信号を送受信するように構成された公知のものである。トランシーバ11は、通信コントローラ12から入力されるデジタルデータを電気信号に変換して通信線5へ送信するとともに、通信線5から受信した電気信号をデジタルデータに変換して通信コントローラ12へ出力する。 The transceiver 11 is a known one configured to transmit and receive an electric signal satisfying the electrical condition of the communication line 5 defined by the UART with a transceiver included in another ECU 20 as a communication partner. The transceiver 11 converts the digital data input from the communication controller 12 into an electric signal and transmits it to the communication line 5, and also converts the electric signal received from the communication line 5 into digital data and outputs it to the communication controller 12.

デジタルデータ(以下、データ)は、論理値0及び論理値1といった所定の2つの論理値で表される。通信線5上では、図2に示すように、論理値0に対応する電気信号はLレベルであり、論理値1に対応する電気信号はHレベルである。また、通信線5に接続されているECU10及び他のECU20のいずれもが通信線5を介して送受信を行っていない場合、通信線5上では、その信号レベルはHレベルである。 Digital data (hereinafter referred to as data) is represented by two predetermined logical values such as a logical value 0 and a logical value 1. On the communication line 5, as shown in FIG. 2, the electric signal corresponding to the logical value 0 is the L level, and the electric signal corresponding to the logical value 1 is the H level. Further, when neither the ECU 10 connected to the communication line 5 nor the other ECUs 20 transmit and receive via the communication line 5, the signal level on the communication line 5 is H level.

ここでは、UARTに従った通信に使用されるデータである通信データは、図3に示すように、スタートビットと、ユーザデータと、ストップビットとを含むシリアルデータである。ここでいうUARTに従った通信データは、UARTフレームに相当する。スタートビットは、通信データの開始を示す。スタートビットは、論理値0で表される。ユーザデータは、通信線5を介して送受信される所定長のデータである。UARTでは、ユーザデータは8ビットである。ストップビットは、通信データの終了を示す。ストップビットは、スタートビットとは反対の論理値である論理値1で表される。 Here, the communication data, which is the data used for the communication according to the UART, is serial data including a start bit, a user data, and a stop bit, as shown in FIG. The communication data according to the UART referred to here corresponds to a UART frame. The start bit indicates the start of communication data. The start bit is represented by a logical value of 0. The user data is data having a predetermined length transmitted and received via the communication line 5. In UART, user data is 8 bits. The stop bit indicates the end of communication data. The stop bit is represented by a logical value 1 which is a logical value opposite to the start bit.

以下でいう開始信号とは、スタートビットの論理値に対応する電気信号をいうものとする。スタートビットは論理値0で表されることから、開始信号はLレベルの電気信号である。少なくとも通信データの送信が開始されるときは、通信線5上には、開始信号が現れる。つまり、Lレベルの電気信号が現れる。 The start signal referred to below means an electric signal corresponding to the logical value of the start bit. Since the start bit is represented by a logical value of 0, the start signal is an L-level electric signal. At least when the transmission of communication data is started, a start signal appears on the communication line 5. That is, an L-level electric signal appears.

図1に戻り説明を続ける。通信コントローラ12は、CPU21と、RAM、ROM、フラッシュメモリ等の半導体メモリ(以下、メモリ22)と、を有するマイコンを備える。 Returning to FIG. 1, the explanation will be continued. The communication controller 12 includes a CPU 21 and a microcomputer having a semiconductor memory (hereinafter, memory 22) such as a RAM, a ROM, and a flash memory.

ECU10の各種機能は、CPU21がメモリ22に格納されたプログラムを実行することにより実現される。また、このプログラムが実行されることで、プログラムに対応する方法が実行される。ECU10は、CPU21がプログラムを実行することで実現される機能の構成として、図4に示すように、通信部31と、検出部32と、制御部33と、を備える。 Various functions of the ECU 10 are realized by the CPU 21 executing a program stored in the memory 22. In addition, when this program is executed, the method corresponding to the program is executed. As shown in FIG. 4, the ECU 10 includes a communication unit 31, a detection unit 32, and a control unit 33 as a configuration of a function realized by the CPU 21 executing a program.

ECU10を構成するこれらの要素を実現する手法はソフトウェアに限るものではなく、その一部又は全部の要素について、一つあるいは複数のハードウェアを用いて実現してもよい。例えば、上記機能がハードウェアである電子回路によって実現される場合、その電子回路は多数の論理回路を含むデジタル回路、又はアナログ回路、あるいはこれらの組合せによって実現してもよい。 The method for realizing these elements constituting the ECU 10 is not limited to software, and a part or all of the elements may be realized by using one or a plurality of hardware. For example, when the above function is realized by an electronic circuit which is hardware, the electronic circuit may be realized by a digital circuit including a large number of logic circuits, an analog circuit, or a combination thereof.

通信部31は、制御部33から送信実行指示を受けると、UARTに従って、通信データを生成する処理を行う。具体的には、通信部31は、制御部33から入力された送信用データを上述のユーザデータとして用い、送信用データにスタートビット及びストップビットを付与した通信データを生成する。そして、通信部31は、生成した通信データをトランシーバ11へ出力する。通信部31は、トランシーバ11に、デジタルデータである通信データを電気信号に変換させ、通信線5を介して、他のECU20へ送信させる。 Upon receiving a transmission execution instruction from the control unit 33, the communication unit 31 performs a process of generating communication data according to the UART. Specifically, the communication unit 31 uses the transmission data input from the control unit 33 as the above-mentioned user data, and generates communication data in which a start bit and a stop bit are added to the transmission data. Then, the communication unit 31 outputs the generated communication data to the transceiver 11. The communication unit 31 causes the transceiver 11 to convert communication data, which is digital data, into an electric signal and transmit the communication data to another ECU 20 via the communication line 5.

通信部31は、トランシーバ11から、トランシーバ11が通信線5に現れた電気信号をデジタルデータに変換した、デジタル変換データが入力される。通信部31は、デジタル変換データの中からスタートビットを検出して、通信データの開始を特定する処理を行う。 From the transceiver 11, the communication unit 31 inputs digital conversion data in which the transceiver 11 converts the electric signal appearing on the communication line 5 into digital data. The communication unit 31 detects a start bit from the digital conversion data and performs a process of specifying the start of the communication data.

通信部31は、デジタル変換データにおいて、スタートビットからストップビットまでを通信データとして特定する処理を行う。また、通信部31は、特定された通信データからスタートビット及びストップビットを除いて得られるユーザデータを、他のECU20から受信した受信データとして通信コントローラ12へ出力する処理を行う。このようにして、通信部31は、他のECU20からの通信データを通信線5を介して受信している。 The communication unit 31 performs a process of specifying the digital conversion data from the start bit to the stop bit as communication data. Further, the communication unit 31 performs a process of outputting the user data obtained by excluding the start bit and the stop bit from the specified communication data to the communication controller 12 as received data received from the other ECU 20. In this way, the communication unit 31 receives the communication data from the other ECU 20 via the communication line 5.

通信部31は、トランシーバ11に通信データを通信線5へ送信させる際、送信中の通信データに含まれる送信用データと、トランシーバ11が通信線5を介して受信した通信データに含まれる受信データとを比較する処理を行う。通信部31は、送信用データと受信データとが一致していなければ、送信異常が生じたと判断する。ここでいう送信異常とは、送信用データと受信データとが一致していないことをいう。 When the communication unit 31 causes the transceiver 11 to transmit communication data to the communication line 5, the transmission data included in the communication data being transmitted and the reception data included in the communication data received by the transceiver 11 via the communication line 5 Performs the process of comparing with. If the transmission data and the reception data do not match, the communication unit 31 determines that a transmission abnormality has occurred. The transmission abnormality here means that the transmission data and the reception data do not match.

通信部31は、1バイト単位で、送信用データと受信データとが一致しているか否か、を判断する。ここでいう送信異常は、UARTにおける、所謂ビットエラーに相当する。通信部31、後述する受信時処理、送信時処理、を行う。 The communication unit 31 determines, in 1-byte units, whether or not the transmission data and the reception data match. The transmission abnormality referred to here corresponds to a so-called bit error in the UART. The communication unit 31 performs reception-time processing and transmission-time processing, which will be described later.

検出部32は、トランシーバ11から、デジタル変換データが分岐して入力されている。検出部32は、後述する検出処理を行う。
制御部33は、ECU10における作動を統括して制御するものである。制御部33は、通信部31から入力される受信データに基づいて、ECU10に割り当てられた所定の機能を実現するため、各種の処理を実行するように構成され得る。制御部33は、後述する送信制御処理を行う。
Digital conversion data is branched and input from the transceiver 11 to the detection unit 32. The detection unit 32 performs a detection process described later.
The control unit 33 controls the operation of the ECU 10 in an integrated manner. The control unit 33 may be configured to execute various processes in order to realize a predetermined function assigned to the ECU 10 based on the received data input from the communication unit 31. The control unit 33 performs a transmission control process described later.

[1−2.処理]
[1−2−1.受信時処理]
次に、通信部31が実行する受信時処理について、図5のフローチャートを用いて説明する。受信時処理は、デジタル変換データにおいて、通信データの開始が特定される毎に起動される。受信時処理は、トランシーバ11から入力されたデジタル変換データにおいてスタートビットが検出された後にストップビットが検出されると、リセットフラグをセットする処理である。ここでいうリセットフラグは、通信データにおいてストップビットが検出されたか否かを表す情報である。なお、リセットフラグは、メモリ22に記憶されており、デジタル変換データにおいて通信データの開始が特定される毎にリセットされる。
[1-2. process]
[1-2-1. Processing at reception]
Next, the reception processing executed by the communication unit 31 will be described with reference to the flowchart of FIG. The reception processing is activated every time the start of the communication data is specified in the digital conversion data. The reception processing is a processing for setting a reset flag when the stop bit is detected after the start bit is detected in the digital conversion data input from the transceiver 11. The reset flag referred to here is information indicating whether or not a stop bit has been detected in the communication data. The reset flag is stored in the memory 22, and is reset every time the start of communication data is specified in the digital conversion data.

通信部31は、S110では、デジタル変換データを取得する。
通信部31は、S120では、デジタル変換データにおいて、スタートビットから所定のビット数の後に、ストップビットが検出されたか否か、を判断する。ここでいう所定のビット数は、ユーザデータに相当するビット数であり、UARTに従う本実施形態では、8ビットである。通信部31は、ストップビットが検出されたと判断された場合に処理をS130へ移行させ、ストップビットが検出されなかったと判断された場合に本受信時処理を終了する。
The communication unit 31 acquires digital conversion data in S110.
In S120, the communication unit 31 determines whether or not the stop bit is detected after a predetermined number of bits from the start bit in the digital conversion data. The predetermined number of bits referred to here is the number of bits corresponding to the user data, and is 8 bits in the present embodiment according to UART. When it is determined that the stop bit is detected, the communication unit 31 shifts the process to S130, and when it is determined that the stop bit is not detected, the communication unit 31 ends the present reception process.

通信部31は、S130では、リセットフラグをセットし、本受信時処理を終了する。
[1−2−2.送信時処理]
次に、通信部31が実行する送信時処理について、図6のフローチャートを用いて説明する。送信時処理は、制御部33から送信実行指示を受ける毎に起動される。送信時処理は、トランシーバ11に送信用データを通信線5へ送信させる際、上述の送信異常が生じた場合にリセットフラグをセットする処理である。つまり、上述のリセットフラグは、送信異常が生じたか否かを表す情報でもある。
In S130, the communication unit 31 sets the reset flag and ends the current reception process.
[1-2-2. Processing at the time of transmission]
Next, the transmission-time processing executed by the communication unit 31 will be described with reference to the flowchart of FIG. The transmission processing is activated every time a transmission execution instruction is received from the control unit 33. The transmission processing is a processing for setting a reset flag when the above-mentioned transmission abnormality occurs when the transceiver 11 transmits the transmission data to the communication line 5. That is, the above-mentioned reset flag is also information indicating whether or not a transmission abnormality has occurred.

通信部31は、S210では、送信用データをトランシーバ11へ出力する。これにより、送信用データをユーザデータとして含む通信データが、トランシーバ11によって電気信号に変換されて、通信線5を介して他のECU20へ送信される。 In S210, the communication unit 31 outputs transmission data to the transceiver 11. As a result, the communication data including the transmission data as user data is converted into an electric signal by the transceiver 11 and transmitted to another ECU 20 via the communication line 5.

通信部31は、S220では、送信異常が生じたか否かを判断する。通信部31は、送信異常が生じたと判断された場合に処理をS230へ移行させ、送信異常が生じたと判断されなかった場合に、本送信時処理を終了する。 In S220, the communication unit 31 determines whether or not a transmission abnormality has occurred. The communication unit 31 shifts the processing to S230 when it is determined that a transmission abnormality has occurred, and ends the main transmission processing when it is not determined that a transmission abnormality has occurred.

通信部31は、S230では、リセットフラグをセットし、本送信時処理を終了する。
[1−2−3.検出処理]
次に、検出部32が実行する検出処理について、図7のフローチャートを用いて説明する。検出処理は無通信期間において開始信号が生じたか否か、を判断する処理である。以下でいう検出フラグとは、無通信期間において開始信号が生じたか否かの判断結果を表す。検出フラグはメモリ22に記憶される。ここでいう無通信とは、通信線5において通信データが送受信されていないことを表す。無通信期間とは、通信線5において通信データが送受信されていない期間を表す。検出処理は、ECU10への電力供給が開始された以降、繰り返し実行される。
In S230, the communication unit 31 sets the reset flag and ends the present transmission processing.
[1-2-3. Detection process]
Next, the detection process executed by the detection unit 32 will be described with reference to the flowchart of FIG. The detection process is a process of determining whether or not a start signal has occurred during a non-communication period. The detection flag referred to below represents a determination result of whether or not a start signal has occurred during the non-communication period. The detection flag is stored in the memory 22. The term "no communication" as used herein means that communication data is not transmitted or received on the communication line 5. The non-communication period represents a period during which communication data is not transmitted / received on the communication line 5. The detection process is repeatedly executed after the power supply to the ECU 10 is started.

検出部32は、S310では、デジタル変換データを取得する。
検出部32は、S320では、開始信号が生じたか否かを判断する。ここでは、通信線5に、1ビット分の期間Lレベルを表す電気信号が現れた場合に、開始信号が生じたと判断する。つまり、検出部32は、デジタル変換データにおいて、論理値0が1ビット分の期間検出された場合に、開始信号が生じたと判断する。検出部32は、開始信号が検出された場合に処理をS330へ移行させ、開始信号が検出されなかった場合に処理をS310へ移行させる。
The detection unit 32 acquires digital conversion data in S310.
In S320, the detection unit 32 determines whether or not a start signal has been generated. Here, when an electric signal representing the L level for a period of one bit appears on the communication line 5, it is determined that the start signal has been generated. That is, the detection unit 32 determines that the start signal has been generated when the logical value 0 is detected for a period of one bit in the digital conversion data. The detection unit 32 shifts the process to S330 when the start signal is detected, and shifts the process to S310 when the start signal is not detected.

検出部32は、S330では、検出フラグをセットする。
検出部32は、S340では、リセットフラグがセットされているか否かを判断する。ここで、検出部32は、リセットフラグがセットされている場合に、処理をS350へ移行させる。一方、検出部32は、リセットフラグがセットされていない場合に、処理をS330へ移行させ、リセットフラグがセットされるまで待機する。
The detection unit 32 sets the detection flag in S330.
The detection unit 32 determines whether or not the reset flag is set in S340. Here, the detection unit 32 shifts the process to S350 when the reset flag is set. On the other hand, when the reset flag is not set, the detection unit 32 shifts the process to S330 and waits until the reset flag is set.

検出部32は、S350では、検出フラグをリセットし、処理をS310へ移行させ、S310移行の処理を繰り返す。
このように、検出フラグは、開始信号が検出されるとセットされ、且つ、リセットフラグがセットされるとリセットされる。上述のように、リセットフラグは、スタートビットが検出されてから所定のビット数の後にストップビットが検出された場合、及び送信異常が生じたと判断された場合にセットされる。
In S350, the detection unit 32 resets the detection flag, shifts the process to S310, and repeats the process of shifting to S310.
In this way, the detection flag is set when the start signal is detected, and is reset when the reset flag is set. As described above, the reset flag is set when the stop bit is detected after a predetermined number of bits after the start bit is detected, and when it is determined that a transmission abnormality has occurred.

検出フラグは、ストップビットが検出されて通信データの送信が終了するとリセットされ、開始信号が検出されるとセットされるフラグである。つまり、検出フラグは、無通信期間において開始信号が生じたか否か、の判断結果を表す。検出フラグは、セットされている場合に、無通信期間において開始信号が生じたことを表し、リセットされている場合に無通信期間において開始信号が生じていないことを表す。 The detection flag is a flag that is reset when the stop bit is detected and the transmission of communication data is completed, and is set when the start signal is detected. That is, the detection flag represents the determination result of whether or not the start signal is generated during the non-communication period. The detection flag indicates that the start signal has occurred in the non-communication period when it is set, and indicates that the start signal has not occurred in the non-communication period when it is reset.

なお、送信異常が生じた場合は、ストップビットが検出されず、リセットフラグがセットされない状態が生じ得る。つまり、検出フラグがリセットされない状態が生じ得る。そこで、上述の送信時処理では、送信異常が生じた場合に検出フラグがリセットされない状態となることを抑制するために、送信異常が生じた場合にリセットフラグがセットされるようになっている。 If a transmission abnormality occurs, the stop bit may not be detected and the reset flag may not be set. That is, there may be a situation where the detection flag is not reset. Therefore, in the above-mentioned transmission time processing, the reset flag is set when a transmission abnormality occurs in order to suppress the state in which the detection flag is not reset when a transmission abnormality occurs.

[1−2−4.送信制御処理]
次に、制御部33が実行する送信制御処理について、図8のフローチャートを用いて説明する。
[1-2-4. Transmission control processing]
Next, the transmission control process executed by the control unit 33 will be described with reference to the flowchart of FIG.

ここで、図9に示すように、UARTの通信において、仮に、送信ノードとしてのECU10によって、通信データすなわちUARTフレームが送信されてから次のUARTフレームが送信される前に、通信線5において例えばノイズ等によって開始信号が生じたとする。つまり、無通信期間にスタートビット以外の要因によって開始信号が生じたとする。 Here, as shown in FIG. 9, in the UART communication, for example, in the communication line 5 after the communication data, that is, the UART frame is transmitted by the ECU 10 as a transmission node and before the next UART frame is transmitted. It is assumed that the start signal is generated by noise or the like. That is, it is assumed that the start signal is generated by a factor other than the start bit during the non-communication period.

このような場合、受信ノードとしての他のECU20では、該開始信号をスタートビットに相当する電気信号であると誤って認識し、該開始信号をスタートビットとして、誤ったユーザデータを受信するおそれがある。また、このような場合、送信ノードとしてのECU10では、上述の送信異常は検出されない。送信異常が検出されるのはUARTフレームの送信が開始された以降であるから、である。 In such a case, another ECU 20 as a receiving node may mistakenly recognize the start signal as an electric signal corresponding to the start bit, and may receive erroneous user data using the start signal as the start bit. be. Further, in such a case, the above-mentioned transmission abnormality is not detected in the ECU 10 as the transmission node. This is because the transmission abnormality is detected after the transmission of the UART frame is started.

つまり、このような場合、他のECU20において誤ったユーザデータが受信されるにもかかわらず、ECU10及び他のECU20のいずれにおいても、誤ったユーザデータが送受信されるおそれがあること、が検出されないことになる。 That is, in such a case, it is not detected that the erroneous user data may be transmitted / received in either the ECU 10 or the other ECU 20 even though the erroneous user data is received in the other ECU 20. It will be.

そこで、本実施形態では、ECU10は、制御部33によって送信制御処理を実行することによって、誤ったユーザデータが送受信されるおそれがあること、を検出する。
送信制御処理は、送信要求が生じたことをきっかけとして開始される。送信要求とは、送信用データを含む通信データを通信線5を介して他のECU20へ送信させる要求を表す。送信要求は、予め定められたスケジュールや他のECU20からの要求等に従って生じ得る。なお、以下でいう送信フレームとは、送信用データをユーザデータとして含む通信データ、をいう。送信用データは、通信線5を介して送信すべきデータを表す。
Therefore, in the present embodiment, the ECU 10 detects that erroneous user data may be transmitted / received by executing the transmission control process by the control unit 33.
The transmission control process is started when a transmission request is generated. The transmission request represents a request for transmitting communication data including transmission data to another ECU 20 via a communication line 5. The transmission request may occur according to a predetermined schedule, a request from another ECU 20, or the like. The transmission frame referred to below refers to communication data including transmission data as user data. The transmission data represents data to be transmitted via the communication line 5.

制御部33は、S410では、送信要求を取得する。
制御部33は、S420では、送信要求に従って、送信用データを生成する。
制御部33は、S430では、検出フラグを取得する。
The control unit 33 acquires a transmission request in S410.
In S420, the control unit 33 generates transmission data according to the transmission request.
The control unit 33 acquires the detection flag in S430.

制御部33は、S430では、無通信期間に開始信号が生じたか否かを判断する。具体的には、制御部33は、検出フラグがセットされている場合に、無通信期間に開始信号が生じたと判断する。制御部33は、無通信期間に開始信号が生じていない場合に処理をS450へ移行させ、無通信期間に開始信号が生じていた場合に処理をS460へ移行させる。 In S430, the control unit 33 determines whether or not the start signal is generated during the non-communication period. Specifically, the control unit 33 determines that the start signal has occurred during the non-communication period when the detection flag is set. The control unit 33 shifts the process to S450 when the start signal is not generated during the non-communication period, and shifts the process to S460 when the start signal is generated during the non-communication period.

制御部33は、S450では、送信用データを通信部31へ出力する。そして、本送信制御処理を終了する。これにより、通信部31によって送信用データを含む通信データが生成される。そして、該通信データが、トランシーバ11によって電気信号に変換されて、通信線5を介して他のECU20へ送信される。 In S450, the control unit 33 outputs transmission data to the communication unit 31. Then, the present transmission control process is terminated. As a result, the communication unit 31 generates communication data including transmission data. Then, the communication data is converted into an electric signal by the transceiver 11 and transmitted to another ECU 20 via the communication line 5.

制御部33は、S460では、ユーザデータが誤って送受信されるおそれがあると判定する。判定結果はメモリ22に記憶される。
制御部33は、S470では、送信用データの通信部31への出力を中止する。つまり、制御部33は、送信用データを通信部31へ出力しない。そして、制御部33は、本送信制御処理を終了する。
The control unit 33 determines in S460 that user data may be erroneously transmitted / received. The determination result is stored in the memory 22.
In S470, the control unit 33 stops outputting the transmission data to the communication unit 31. That is, the control unit 33 does not output the transmission data to the communication unit 31. Then, the control unit 33 ends the transmission control process.

[1−2−5.作動]
このように構成されたECU10は、図10に示すように、送信ノードとして作動する際、送信準備が完了し通信データを送信する前に通信線5に開始信号が生じていた場合には、通信データを送信せず、ユーザデータが誤って送受信されるおそれがあると判定する。上述のように、検出フラグは、無通信期間にスタートビット以外の要因によって開始信号が生じたときにセットされている。つまり、例えばノイズ等といったスタートビット以外の要因によって無通信期間に開始信号が生じていたことが検出された場合には、通信データが送信されず、ユーザデータが誤って送受信されるおそれがあると判定される。
[1-2-5. Operation]
As shown in FIG. 10, when the ECU 10 configured in this way operates as a transmission node, if a start signal is generated on the communication line 5 before the transmission preparation is completed and the communication data is transmitted, the communication is performed. It is determined that the user data may be erroneously transmitted / received without transmitting the data. As described above, the detection flag is set when the start signal is generated by a factor other than the start bit during the non-communication period. That is, when it is detected that the start signal is generated during the non-communication period due to a factor other than the start bit such as noise, the communication data is not transmitted and the user data may be erroneously transmitted / received. It is judged.

[1−3.効果]
以上詳述した第1実施形態によれば、以下の効果を奏する。
(1a)ECU10は、複数の他のECU20と通信線5を介して接続され、複数の他のECU20との間で通信を行う通信装置である。ECU10は、通信部31と検出部32とを備える。通信部31は、所定の2つの論理値のうちの一方で表されるスタートビット、及びスタートビットとは反対の論理値で表されるストップビット、を含む通信データ、を他のECU20に通信線5を介して送信するとともに、他のECU20からの通信データを通信線5を介して受信する。検出部32は、無通信期間に開始信号が生じたか否か、を判断する。
[1-3. effect]
According to the first embodiment described in detail above, the following effects are obtained.
(1a) The ECU 10 is a communication device that is connected to a plurality of other ECUs 20 via a communication line 5 and communicates with the plurality of other ECUs 20. The ECU 10 includes a communication unit 31 and a detection unit 32. The communication unit 31 transmits communication data including a start bit represented by one of the two predetermined logical values and a stop bit represented by a logical value opposite to the start bit to the other ECU 20. In addition to transmitting via 5, communication data from another ECU 20 is received via communication line 5. The detection unit 32 determines whether or not the start signal is generated during the non-communication period.

これによれば、無通信期間において、ノイズ等といったスタートビットでは無いものに起因して通信線5に開始信号が生じた場合にも、開始信号が生じたと判断される。その結果、該判断結果を利用して、例えば、無通信期間に開始信号が生じたことを、シリアル通信において誤ったデータが送受信されるおそれがあることとして、検出することができる。 According to this, it is determined that the start signal is generated even when the start signal is generated on the communication line 5 due to something other than the start bit such as noise during the non-communication period. As a result, using the determination result, for example, it is possible to detect that the start signal is generated during the non-communication period as there is a possibility that erroneous data is transmitted / received in the serial communication.

(1b)検出部32は、S330、S350において、無通信期間において通信線5に開始信号が生じたか否か、の判断結果を表す検出フラグをメモリ22に記憶させる。
制御部33は、S430ではメモリ22から検出フラグを取得し、S450では、検出フラグが無通信期間に開始信号が生じていないことを表す場合に、通信部31に、通信線5を介して送信フレームを送信させる。且つ、制御部33は、S470では、検出フラグが無通信期間に開始信号が生じたことを表す場合に、通信部31に、送信フレームを送信させない。
(1b) In S330 and S350, the detection unit 32 stores in the memory 22 a detection flag indicating a determination result of whether or not a start signal has occurred on the communication line 5 during the non-communication period.
In S430, the control unit 33 acquires the detection flag from the memory 22, and in S450, when the detection flag indicates that the start signal is not generated during the non-communication period, the control unit 33 transmits the detection flag to the communication unit 31 via the communication line 5. Send a frame. Moreover, in S470, the control unit 33 does not cause the communication unit 31 to transmit the transmission frame when the detection flag indicates that the start signal has occurred during the non-communication period.

これによれば、ノイズ等といったスタートビットでは無いものに起因して通信線5に開始信号が生じた場合には、送信フレームが送信されない。その結果、不要な送信フレームが送信されることを抑制することができる。 According to this, when the start signal is generated on the communication line 5 due to something other than the start bit such as noise, the transmission frame is not transmitted. As a result, it is possible to suppress the transmission of unnecessary transmission frames.

(1c)通信部31は、S120では、該通信部31によって通信線5を介して受信されたデジタル変換データにおいて、スタートビットを検出し、スタートビットから所定のビット数後にストップビットが検出されたか否かを判断する。検出部32は、ストップビットが検出されたと判断された場合、無通信期間に開始信号が生じていない、と判断する。 (1c) In S120, the communication unit 31 detects the start bit in the digital conversion data received by the communication unit 31 via the communication line 5, and has the stop bit detected after a predetermined number of bits from the start bit? Judge whether or not. When it is determined that the stop bit has been detected, the detection unit 32 determines that the start signal has not been generated during the non-communication period.

つまり、通信データの受信が終了する毎に、検出フラグがリセットされる。その結果、通信データの送信が終了した以降を無通信期間として、該無通信期間に開始信号が生じた場合に検出フラグがセットされる。 That is, the detection flag is reset every time the reception of communication data is completed. As a result, the detection flag is set when the start signal is generated during the non-communication period, with the period after the transmission of the communication data is completed as the non-communication period.

(1d)通信部31は、S220では、送信フレームが通信線5に送信される際に、通信線5を介して受信する通信データを表す受信フレームに含まれる受信データと送信用データとが一致するか否かを判断する。検出部32は、送信用データと受信データとが一致していないと判断された場合に、無通信期間に前記開始信号が生じていない、と判断する。 (1d) In S220, when the transmission frame is transmitted to the communication line 5, the communication unit 31 matches the reception data included in the reception frame representing the communication data received via the communication line 5 with the transmission data. Decide whether to do it or not. When it is determined that the transmission data and the reception data do not match, the detection unit 32 determines that the start signal has not been generated during the non-communication period.

その結果、送信異常が生じた場合に検出フラグがリセットされない状態となることを抑制することができる。
(1e)通信部31は、UARTインタフェースに基づいて、通信データを通信線5へ送信するとともに、通信線5から通信データを受信する。その結果、UARTインタフェースに基づいて、通信データを送受信することができる。
As a result, it is possible to suppress the state in which the detection flag is not reset when a transmission abnormality occurs.
(1e) The communication unit 31 transmits communication data to the communication line 5 and receives communication data from the communication line 5 based on the UART interface. As a result, communication data can be transmitted and received based on the UART interface.

(1f)制御部33は、S460では、送信フレームを送信する際に、検出部32によって無通信期間において開始信号が生じたと判断された場合に、通信データが誤って送受信されるおそれがあると判定する。その結果、該判定の結果に基づいて、ECU10の誤動作を抑制することが可能となる。 (1f) In S460, the control unit 33 may erroneously transmit and receive communication data when the detection unit 32 determines that a start signal has been generated during a non-communication period when transmitting a transmission frame. judge. As a result, it is possible to suppress the malfunction of the ECU 10 based on the result of the determination.

[1−4.変形例]
(変形例1)UARTインタフェースでは、ある論理値が1/2ビット時間以上継続したときに、該論理値の符号が発生したと判断される。つまり、ある論理値の継続時間が1/2ビット時間未満であるときは、該論理値の符号が発生していないと判断される。1/2ビット時間とは、1ビットに相当する電気信号が通信線5に現れる時間の1/2の時間をいう。
[1-4. Modification example]
(Modification 1) In the UART interface, when a certain logical value continues for 1/2 bit time or more, it is determined that the code of the logical value is generated. That is, when the duration of a certain logical value is less than 1/2 bit time, it is determined that the sign of the logical value has not occurred. The 1/2 bit time means a time of 1/2 of the time when an electric signal corresponding to 1 bit appears on the communication line 5.

そこで、上記実施形態において、ECU10では、検出部32は、無通信期間において通信線に開始信号が現れた期間の長さが1/2ビット時間以上である場合に、無通信期間に開始信号が生じた、と判断するように構成され得る。具体的には、検出部32は、検出処理のS320において、開始信号、つまりLレベルの電気信号が現れた期間の長さが1/2ビット時間以上である場合に、開始信号が検出された、と判断するように構成されてもよい。 Therefore, in the above embodiment, in the ECU 10, when the length of the period in which the start signal appears on the communication line in the non-communication period is 1/2 bit time or more, the detection unit 32 receives the start signal in the non-communication period. It can be configured to determine that it has occurred. Specifically, the detection unit 32 detects the start signal in S320 of the detection process when the length of the period during which the start signal, that is, the L-level electric signal appears, is 1/2 bit time or more. , May be configured to determine.

その結果、本変形例では、ノイズによって1/2ビット時間未満の開始信号が発生したときには送信フレームが送信されるので、このような短期間のノイズによって通信が滞ることを抑制することができる。 As a result, in this modification, since the transmission frame is transmitted when a start signal of less than 1/2 bit time is generated due to noise, it is possible to suppress communication delay due to such short-term noise.

(変形例2)ECU10では、制御部33は、送信制御処理においてS460が省略されるように構成され得る。
(変形例3)ECU10では、制御部33は、送信制御処理において、S450、S470が省略されるように構成され得る。
(Modification 2) In the ECU 10, the control unit 33 may be configured such that S460 is omitted in the transmission control process.
(Modification 3) In the ECU 10, the control unit 33 may be configured such that S450 and S470 are omitted in the transmission control process.

[2.第2実施形態]
[2−1.構成]
第2実施形態は、基本的な構成は第1実施形態と同様であるため、相違点について以下に説明する。なお、第1実施形態と同じ符号は、同一の構成を示すものであって、先行する説明を参照する。
[2. Second Embodiment]
[2-1. composition]
Since the basic configuration of the second embodiment is the same as that of the first embodiment, the differences will be described below. It should be noted that the same reference numerals as those in the first embodiment indicate the same configuration, and the preceding description will be referred to.

前述した第1実施形態では、ECU10及び他のECU20との間では、UARTに従って、通信線5を介して、UARTフレームが通信データとして送受信されていた。これに対し、第2実施形態では、ECU10及び他のECU20との間では、LINインタフェースに基づいて、通信線5を介して、LINフレームが通信データとして送受信される点で、第1実施形態と相違する。 In the first embodiment described above, the UART frame is transmitted / received as communication data between the ECU 10 and the other ECU 20 via the communication line 5 according to the UART. On the other hand, in the second embodiment, the LIN frame is transmitted and received as communication data between the ECU 10 and the other ECU 20 via the communication line 5 based on the LIN interface, which is the same as the first embodiment. It's different.

LINは、Local Interconnect Networkの略であり、登録商標である。なお、LINについては、ISO17987に規定されており、各種文献において公知であるため、ここでは詳細な説明を省略する。 LIN is an abbreviation for Local Interconnect Network and is a registered trademark. Since LIN is defined in ISO17987 and is known in various documents, detailed description thereof will be omitted here.

本実施形態では、図1において、UARTに対応するトランシーバ11が、LINに対応するトランシーバに置換される。図示しないが、他のECU20も同様に、LINに対応するトランシーバを備える。 In this embodiment, in FIG. 1, the transceiver 11 corresponding to UART is replaced with the transceiver corresponding to LIN. Although not shown, other ECUs 20 also include transceivers corresponding to LIN.

なお、LINでは、図2において、論理値0に対応するLレベルの電気信号がドミナントに相当し、論理値1に対応するHレベルの電気信号がレセッシブに相当する。
LINの通信は、マスター・スレーブ方式で行われる。LINフレームは、図11に示すように、マスターノードから出力されるヘッダと、スレーブノードから出力されるレスポンスとで構成される。レスポンスは、図示しないが、データとチェックサムとの2つのフィールドで構成されており、データ、チェックサムともに、UARTフレームで送信される。つまり、レスポンスは、複数のUARTフレームを含む。
In LIN, in FIG. 2, the L-level electric signal corresponding to the logical value 0 corresponds to the dominant, and the H-level electric signal corresponding to the logical value 1 corresponds to the recessive.
LIN communication is performed by a master-slave method. As shown in FIG. 11, the LIN frame is composed of a header output from the master node and a response output from the slave node. Although not shown, the response consists of two fields, data and checksum, and both the data and checksum are transmitted in UART frames. That is, the response includes a plurality of UART frames.

なお、ヘッダが送信されてからレスポンスの送信が開始される迄の期間を、レスポンススペースという。LINでは、予め定められた所定の時間が、レスポンススペースとして許容されている。 The period from the transmission of the header to the start of transmission of the response is called the response space. In LIN, a predetermined predetermined time is allowed as a response space.

本実施形態では、ECU10は、スレーブノードとして機能する。つまり、図1における他のECU20のいずれか1つをマスターノードとして、該マスターノードからヘッダが送信されると、ECU10は、ヘッダに含まれるフレームIDに基づいて、レスポンスを送信するかどうかを識別する。ECU10は、フレームIDに基づいてレスポンスを送信することが確定すると、レスポンスを送信する。 In this embodiment, the ECU 10 functions as a slave node. That is, when a header is transmitted from the master node using any one of the other ECUs 20 in FIG. 1 as a master node, the ECU 10 identifies whether to transmit a response based on the frame ID included in the header. do. When it is confirmed that the response is transmitted based on the frame ID, the ECU 10 transmits the response.

ECU10は、上記実施形態と同様に、通信部31、検出部32、制御部33を備える。
なお、通信部31は、更に、LINに従って、通信データとしてのレスポンスを送信するとともに、通信データとしてのヘッダを受信する処理を行う。また、通信部31は、更に、ヘッダを受信したか否かを判断し、ヘッダを受信した場合にリセット通知をセットする処理を行う。
The ECU 10 includes a communication unit 31, a detection unit 32, and a control unit 33, as in the above embodiment.
The communication unit 31 further performs a process of transmitting a response as communication data and receiving a header as communication data according to the LIN. Further, the communication unit 31 further determines whether or not the header has been received, and performs a process of setting a reset notification when the header is received.

制御部33は、更に、LINに従って、通信部31によって受信されたヘッダに含まれているフレームIDに基づいて、レスポンスを送信するか否かを判断する処理を行う。制御部33は、レスポンスを送信すると判断された場合に、上述の送信要求を生成する処理を行う。これによって、レスポンスに含まれるフレームIDに基づいてレスポンスを送信することが確定された場合に、送信制御処理が起動される。 Further, the control unit 33 performs a process of determining whether or not to transmit a response based on the frame ID included in the header received by the communication unit 31 according to the LIN. When it is determined that the response is to be transmitted, the control unit 33 performs a process of generating the above-mentioned transmission request. As a result, when it is confirmed that the response is transmitted based on the frame ID included in the response, the transmission control process is started.

[2−4.処理]
本実施形態の制御部33は、図示しないが、上述の図8に示すフローチャートからS460を削除した送信制御処理を実行する。
[2-4. process]
Although not shown, the control unit 33 of the present embodiment executes a transmission control process in which S460 is deleted from the flowchart shown in FIG. 8 above.

つまり、制御部33は、レスポンスを送信する際に、S430にて検出フラグを取得する。制御部33は、S440では、開始信号すなわちドミナントが通信線5に生じているか否かを判断する。ここで、制御部33は、検出フラグが無通信期間にドミナントが生じていないことを表す場合に、S450にて通信部31にレスポンスを送信させる。一方、制御部33は、検出フラグが無通信期間にドミナントが生じたことを表す場合に、S470にて通信部31にレスポンスを送信させることを中止する。 That is, the control unit 33 acquires the detection flag in S430 when transmitting the response. In S440, the control unit 33 determines whether or not a start signal, that is, a dominant is generated in the communication line 5. Here, the control unit 33 causes the communication unit 31 to transmit a response in S450 when the detection flag indicates that no dominant has occurred during the non-communication period. On the other hand, when the detection flag indicates that the dominant has occurred during the non-communication period, the control unit 33 stops transmitting the response to the communication unit 31 in S470.

[2−4.作動]
このように構成されたECU10は、スレーブノードとして作動する際、図12に示すように、レスポンスを送信する際に通信線5に開始信号としてのドミナントが生じていた場合には、レスポンスを送信しない。つまり、例えばノイズ等といったスタートビット以外の要因によって無通信期間に開始信号が生じていたことが検出された場合には、レスポンスが送信されないので、レスポンスが誤って送受信されることが抑制される。
[2-4. Operation]
When the ECU 10 configured in this way operates as a slave node, as shown in FIG. 12, if a dominant as a start signal is generated on the communication line 5 when transmitting the response, the ECU 10 does not transmit the response. .. That is, when it is detected that the start signal is generated during the non-communication period due to a factor other than the start bit such as noise, the response is not transmitted, so that it is suppressed that the response is erroneously transmitted and received.

[2−3.効果]
以上詳述した第2実施形態によれば、前述した第1実施形態の効果(1a)−(1d)を奏し、さらに、以下の効果を奏する。
[2-3. effect]
According to the second embodiment described in detail above, the effects (1a)-(1d) of the above-mentioned first embodiment are exhibited, and the following effects are further achieved.

(2a)通信部31は、LINインタフェースに基づいて、通信データを送信するとともに、通信データを受信する。その結果、ECU10は、LINに基づいて、通信データを送受信することができる。 (2a) The communication unit 31 transmits communication data and receives communication data based on the LIN interface. As a result, the ECU 10 can send and receive communication data based on the LIN.

(2b)ECU10は、スレーブノードとして作動するように構成される。制御部33は、ヘッダ及びレスポンスを含むLINフレームのうちレスポンスを通信データとして送信する際、検出フラグを取得し、検出フラグに基づいて、レスポンスを送信するか否かを判断する。ECU10は、検出フラグが無通信期間に開始信号が生じていないことを表す場合に、通信部31にレスポンスを送信させ、且つ、検出フラグが無通信期間に開始信号が生じたことを表す場合に、通信部31にレスポンスを送信させない。 (2b) The ECU 10 is configured to operate as a slave node. When transmitting the response as communication data among the LIN frames including the header and the response, the control unit 33 acquires the detection flag and determines whether or not to transmit the response based on the detection flag. The ECU 10 causes the communication unit 31 to transmit a response when the detection flag indicates that the start signal has not occurred during the non-communication period, and when the detection flag indicates that the start signal has occurred during the non-communication period. , Do not let the communication unit 31 send the response.

その結果、例えば、ヘッダが送信された後にノイズ等によって通信線5にドミナントが生じている場合には、レスポンスを送信しないようにすることができるので、レスポンスが誤って受信されることを抑制することができる。 As a result, for example, when a dominant occurs in the communication line 5 due to noise or the like after the header is transmitted, it is possible to prevent the response from being transmitted, so that it is possible to prevent the response from being erroneously received. be able to.

[3.他の実施形態]
以上、本開示の実施形態について説明したが、本開示は上述の実施形態に限定されることなく、種々変形して実施することができる。
[3. Other embodiments]
Although the embodiments of the present disclosure have been described above, the present disclosure is not limited to the above-described embodiments, and can be variously modified and implemented.

(3a)上記実施形態では、通信システム1が、3つの他のECU20を備えていたが、これに限定されるものではない。通信システム1が備える他のECU20の数は、1つであってもよいし、3以外の複数であってもよい。 (3a) In the above embodiment, the communication system 1 includes three other ECUs 20, but is not limited thereto. The number of other ECUs 20 included in the communication system 1 may be one or a plurality of ECUs other than three.

(3b)上記実施形態では、通信部31は、1バイト単位で送信用データと受信データとを比較し、送信用データと受信データとが一致していなければ、送信異常が生じたと判断する処理を行っていたが、これに限定されるものではない。例えば、通信部31は、送信用データと、受信データとを1ビット毎に比較し、送信用データと受信データとが一致していなければ、送信異常が生じたと判断する処理を行うように構成されてもよい。 (3b) In the above embodiment, the communication unit 31 compares the transmission data and the reception data in 1-byte units, and if the transmission data and the reception data do not match, it is determined that a transmission abnormality has occurred. However, it is not limited to this. For example, the communication unit 31 is configured to compare the transmission data and the reception data bit by bit, and if the transmission data and the reception data do not match, perform a process of determining that a transmission abnormality has occurred. May be done.

(3c)上記実施形態において、他のECU20は、ECU10と同様に、受信時処理、送信時処理、検出処理、及び送信制御処理を実行するように構成されてもよい。
(3d)上記実施形態では、ECU10では、通信部31、検出部32、制御部33を備えていたが、これに限定されるものではない。例えば、制御部33が通信部31及び検出部32を備えるといったように、通信部31、検出部32、制御部33のうちのいずれか1つが残りの機能を備えるように構成されてもよい。また例えば、通信部31が検出部32を備えるといったように、通信部31、検出部32、制御部33のうちのいずれか1つが残りの2つのうち一方の機能を備えるように構成されてもよい。
(3c) In the above embodiment, the other ECU 20 may be configured to execute reception processing, transmission processing, detection processing, and transmission control processing, similarly to the ECU 10.
(3d) In the above embodiment, the ECU 10 includes a communication unit 31, a detection unit 32, and a control unit 33, but the ECU 10 is not limited thereto. For example, one of the communication unit 31, the detection unit 32, and the control unit 33 may be configured to have the remaining functions, such that the control unit 33 includes the communication unit 31 and the detection unit 32. Further, for example, even if any one of the communication unit 31, the detection unit 32, and the control unit 33 is configured to have one of the remaining two functions, for example, the communication unit 31 includes the detection unit 32. good.

(3e)上記実施形態では、ECU10は1つのマイコンを備えていたが、これに限定されるものではない。ECU10は、例えば、通信部31、検出部32、制御部33といった機能毎にマイコンを備えるといったように、複数のマイコンを備えていてもよい。 (3e) In the above embodiment, the ECU 10 includes one microcomputer, but the ECU 10 is not limited to this. The ECU 10 may include a plurality of microcomputers, for example, a microcomputer for each function such as a communication unit 31, a detection unit 32, and a control unit 33.

(3f)上記第2実施形態では、ECU10において、制御部33は、検出フラグが無通信期間に開始信号としてのドミナントが生じたことを表す場合に、通信部31にレスポンスを送信させないように構成されていたが、これに限定されるものではない。 (3f) In the second embodiment, in the ECU 10, the control unit 33 is configured not to cause the communication unit 31 to transmit a response when the detection flag indicates that a dominant as a start signal has occurred during the non-communication period. However, it is not limited to this.

制御部33は、レスポンスを送信する際に判断結果を取得し、判断結果が無通信期間にドミナントが生じていないことを表す場合に、通信部31に、レスポンスを送信させ、且つ、判断結果が無通信期間にドミナントが生じたことを表す場合に、通信部31に、破壊信号を送信させるように構成されていてもよい。 The control unit 33 acquires a judgment result when transmitting a response, and when the judgment result indicates that no dominant has occurred during the non-communication period, the control unit 33 causes the communication unit 31 to transmit the response and the judgment result is When indicating that a dominant has occurred during the non-communication period, the communication unit 31 may be configured to transmit a destruction signal.

ここでいう破壊信号とは、予め定められた信号であって、他のECU20に、レスポンスが誤って送受信されるおそれがあることを検出させるための信号、をいう。破壊信号には、例えば、ドミナントが10ビット以上連続する信号や、レスポンスに含まれるチェックサムであって意図的に誤らせたチェックサム、等が挙げられる。 The destruction signal referred to here is a predetermined signal and is a signal for causing another ECU 20 to detect that a response may be erroneously transmitted / received. Examples of the destruction signal include a signal in which the dominant is continuous for 10 bits or more, a checksum included in the response and intentionally misleading, and the like.

一方、他のECU20は、該破壊信号を受信した場合に、レスポンスが誤って送受信されるおそれがあることを検出し、受信したレスポンスを破棄するように構成されてもよい。 On the other hand, the other ECU 20 may be configured to detect that the response may be erroneously transmitted / received when the destruction signal is received, and discard the received response.

その結果、無通信期間にドミナントが生じた場合に、受信側となる他のECU20においてもレスポンスが誤って送受信されるおそれがあることを検出させ、レスポンスが誤って送受信されることを抑制することができる。なお、ECU10は、通信線5を介して破壊信号を受信した場合に、上述の他のECU20と同様に作動するように構成されてもよい。 As a result, when a dominant occurs during the non-communication period, it is detected that the response may be erroneously transmitted / received by the other ECU 20 on the receiving side, and the erroneous transmission / reception of the response is suppressed. Can be done. The ECU 10 may be configured to operate in the same manner as the other ECUs 20 described above when a destruction signal is received via the communication line 5.

(3g)上記実施形態における1つの構成要素が有する複数の機能を、複数の構成要素によって実現したり、1つの構成要素が有する1つの機能を、複数の構成要素によって実現したりしてもよい。また、複数の構成要素が有する複数の機能を、1つの構成要素によって実現したり、複数の構成要素によって実現される1つの機能を、1つの構成要素によって実現したりしてもよい。また、上記実施形態の構成の一部を省略してもよい。また、上記実施形態の構成の少なくとも一部を、他の上記実施形態の構成に対して付加又は置換してもよい。なお、特許請求の範囲に記載した文言から特定される技術思想に含まれるあらゆる態様が本開示の実施形態である。 (3g) A plurality of functions possessed by one component in the above embodiment may be realized by a plurality of components, or one function possessed by one component may be realized by a plurality of components. .. Further, a plurality of functions possessed by the plurality of components may be realized by one component, or one function realized by the plurality of components may be realized by one component. Further, a part of the configuration of the above embodiment may be omitted. Further, at least a part of the configuration of the above embodiment may be added or replaced with the configuration of the other above embodiment. It should be noted that all aspects included in the technical idea specified from the wording described in the claims are embodiments of the present disclosure.

(3h)上述した通信システム1、ECU10、通信コントローラ12、CPU21の他、ECU10を機能させるためのプログラム、このプログラムを記録した半導体メモリ等の非遷移的実態的記録媒体、通信方法など、種々の形態で本開示を実現することもできる。 (3h) In addition to the above-mentioned communication system 1, ECU 10, communication controller 12, and CPU 21, various programs such as a program for operating the ECU 10, a non-transitional actual recording medium such as a semiconductor memory in which this program is recorded, and a communication method are used. The present disclosure can also be realized in the form.

なお、ECU10が通信装置に相当する。また、通信部31が、送受信部、終了符号検出部、一致検出部に相当し、検出部32が、判断部、判断結果記憶部に相当し、制御部33が、送信制御部、判定部に相当する。また、S120が終了符号検出部としての処理に相当し、S220が一致検出部としての処理に相当し、S310、S350が判断記憶部としての処理に相当し、S460が判定部としての処理に相当する。 The ECU 10 corresponds to a communication device. Further, the communication unit 31 corresponds to the transmission / reception unit, the end code detection unit, and the match detection unit, the detection unit 32 corresponds to the judgment unit and the judgment result storage unit, and the control unit 33 corresponds to the transmission control unit and the determination unit. Equivalent to. Further, S120 corresponds to the processing as the end code detection unit, S220 corresponds to the processing as the match detection unit, S310 and S350 correspond to the processing as the judgment storage unit, and S460 corresponds to the processing as the determination unit. do.

また、検出フラグが、メモリ22に記憶された、判断部による判断結果に相当し、デジタル変換データが、送受信部によって通信線を介して受信されたデータに相当する。また、UARTフレーム、レスポンスが通信データに相当し、スタートビットが開始符号に相当し、ストップビットが終了符号に相当する。 Further, the detection flag corresponds to the determination result stored in the memory 22 by the determination unit, and the digital conversion data corresponds to the data received by the transmission / reception unit via the communication line. Further, the UART frame and the response correspond to the communication data, the start bit corresponds to the start code, and the stop bit corresponds to the end code.

10 ECU、31 通信部、32 検出部。 10 ECU, 31 communication unit, 32 detection unit.

Claims (11)

一又は複数の他の通信装置と通信線を介して接続され、前記一又は複数の他の通信装置との間で通信を行う通信装置(10)であって、
所定の2つの論理値のうちの一方で表される開始符号、及び前記開始符号とは反対の論理値で表される終了符号、を含む通信データ、を前記他の通信装置に前記通信線を介して送信するとともに、前記通信データを前記通信線を介して受信する送受信部(31)と、
前記通信線において前記通信データが送受信されていない期間を表す無通信期間に、前記通信線に前記開始符号の論理値に対応する電気信号である開始信号が生じたか否か、を判断する判断部(32)と、
前記判断部による判断結果をメモリに記憶する判断結果記憶部(S310、S350)と、
前記判断結果を前記メモリから取得し、前記判断結果が前記無通信期間に前記開始信号が生じていないことを表す場合に、前記送受信部に、前記通信線を介して送信するデータを表す送信用データを含む前記通信データである送信フレームを送信させ、且つ、前記判断結果が前記無通信期間に前記開始信号が生じたことを表す場合に、前記送受信部に、前記送信フレームを送信させない送信制御部(33)と、
を備える通信装置。
A communication device (10) that is connected to one or more other communication devices via a communication line and communicates with the one or more other communication devices.
Communication data including a start code represented by one of two predetermined logical values and an end code represented by a logical value opposite to the start code, is transmitted to the other communication device with the communication line. A transmission / reception unit (31) that transmits the communication data via the communication line and receives the communication data via the communication line.
A determination unit for determining whether or not a start signal, which is an electric signal corresponding to the logical value of the start code, is generated on the communication line during a non-communication period indicating a period during which the communication data is not transmitted / received on the communication line. (32) and
Judgment result storage units (S310, S350) that store the judgment results by the judgment unit in the memory,
For transmission representing data to be transmitted to the transmission / reception unit via the communication line when the determination result is acquired from the memory and the determination result indicates that the start signal is not generated during the non-communication period. Transmission control in which the transmission / reception unit does not transmit the transmission frame when the transmission frame which is the communication data including the data is transmitted and the determination result indicates that the start signal is generated during the non-communication period. Part (33) and
A communication device equipped with.
請求項1に記載の通信装置であって、
前記送受信部によって前記通信線を介して受信されたデータにおいて、前記開始符号を検出し、前記開始符号から所定のビット数後に前記終了符号が検出されたか否かを判断する終了符号検出部(31、S120)
を更に備え、
前記判断部は、前記終了符号が検出されたと判断された場合、前記無通信期間に前記開始信号が生じていない、と判断する
通信装置。
The communication device according to claim 1.
The end code detection unit (31) detects the start code in the data received by the transmission / reception unit via the communication line, and determines whether or not the end code is detected after a predetermined number of bits from the start code. , S120)
Further prepare
When the determination unit determines that the end code has been detected, the determination unit determines that the start signal has not been generated during the non-communication period.
一又は複数の他の通信装置と通信線を介して接続され、前記一又は複数の他の通信装置との間で通信を行う通信装置(10)であって、
所定の2つの論理値のうちの一方で表される開始符号、及び前記開始符号とは反対の論理値で表される終了符号、を含む通信データ、を前記他の通信装置に前記通信線を介して送信するとともに、前記通信データを前記通信線を介して受信する送受信部(31)と、
前記通信線において前記通信データが送受信されていない期間を表す無通信期間に、前記通信線に前記開始符号の論理値に対応する電気信号である開始信号が生じたか否か、を判断する判断部(32)と、
前記送受信部によって前記通信線を介して受信されたデータにおいて、前記開始符号を検出し、前記開始符号から所定のビット数後に前記終了符号が検出されたか否かを判断する終了符号検出部(31、S120)と、
を備え
前記判断部は、前記終了符号が検出されたと判断された場合、前記無通信期間に前記開始信号が生じていない、と判断する
通信装置。
A communication device (10) that is connected to one or more other communication devices via a communication line and communicates with the one or more other communication devices.
Communication data including a start code represented by one of two predetermined logical values and an end code represented by a logical value opposite to the start code, is transmitted to the other communication device with the communication line. A transmission / reception unit (31) that transmits the communication data via the communication line and receives the communication data via the communication line.
A determination unit for determining whether or not a start signal, which is an electric signal corresponding to the logical value of the start code, is generated on the communication line during a non-communication period indicating a period during which the communication data is not transmitted / received on the communication line. (32) and
The end code detection unit (31) that detects the start code in the data received by the transmission / reception unit via the communication line and determines whether or not the end code is detected after a predetermined number of bits from the start code. , S120) and
Equipped with
When it is determined that the end code is detected, the determination unit determines that the start signal has not been generated during the non-communication period.
Communication device.
請求項1から請求項のいずれか一項に記載の通信装置であって、
前記送受信部によって前記送信フレームが前記通信線に送信される際に、前記通信線を介して受信する前記通信データに含まれる受信データと前記送信用データとが一致するか否かを判断する一致検出部(31、S220)
を更に備え、
前記判断部は、前記送信用データと前記受信データとが一致していないと判断された場合に、前記無通信期間に前記開始信号が生じていない、と判断する
通信装置。
The communication device according to any one of claims 1 to 3.
When the transmission frame is transmitted to the communication line by the transmission / reception unit, a match is determined to determine whether or not the received data included in the communication data received via the communication line matches the transmission data. Detection unit (31, S220)
Further prepare
The determination unit is a communication device that determines that the start signal is not generated during the non-communication period when it is determined that the transmission data and the reception data do not match.
一又は複数の他の通信装置と通信線を介して接続され、前記一又は複数の他の通信装置との間で通信を行う通信装置(10)であって、
所定の2つの論理値のうちの一方で表される開始符号、及び前記開始符号とは反対の論理値で表される終了符号、を含む通信データ、を前記他の通信装置に前記通信線を介して送信するとともに、前記通信データを前記通信線を介して受信する送受信部(31)と、
前記通信線において前記通信データが送受信されていない期間を表す無通信期間に、前記通信線に前記開始符号の論理値に対応する電気信号である開始信号が生じたか否か、を判断する判断部(32)と、
前記送受信部によって前記送信フレームが前記通信線に送信される際に、前記通信線を介して受信する前記通信データに含まれる受信データと前記送信用データとが一致するか否かを判断する一致検出部(31、S220)と、
を備え
前記判断部は、前記送信用データと前記受信データとが一致していないと判断された場合に、前記無通信期間に前記開始信号が生じていない、と判断する
通信装置。
A communication device (10) that is connected to one or more other communication devices via a communication line and communicates with the one or more other communication devices.
Communication data including a start code represented by one of two predetermined logical values and an end code represented by a logical value opposite to the start code, is transmitted to the other communication device with the communication line. A transmission / reception unit (31) that transmits the communication data via the communication line and receives the communication data via the communication line.
A determination unit for determining whether or not a start signal, which is an electric signal corresponding to the logical value of the start code, is generated on the communication line during a non-communication period indicating a period during which the communication data is not transmitted / received on the communication line. (32) and
When the transmission frame is transmitted to the communication line by the transmission / reception unit, a match is determined to determine whether or not the received data included in the communication data received via the communication line matches the transmission data. Detection unit (31, S220) and
Equipped with
When it is determined that the transmission data and the reception data do not match, the determination unit determines that the start signal has not been generated during the non-communication period.
Communication device.
請求項1から請求項5のいずれか一項に記載の通信装置であって、
前記判断部は、前記無通信期間において前記通信線に前記開始信号が現れた期間の長さが1/2ビット時間以上である場合に、前記無通信期間に前記開始信号が生じた、と判断する
通信装置。
A communications device according to any one of claims 1 to 5,
The determination unit determines that the start signal was generated during the non-communication period when the length of the period during which the start signal appeared on the communication line was 1/2 bit time or more during the non-communication period. Communication device.
請求項1から請求項のいずれか一項に記載の通信装置であって、
前記送受信部は、UARTインタフェースに基づいて、前記通信データを送信するとともに、前記通信データを受信する
通信装置。
The communication device according to any one of claims 1 to 6.
The transmission / reception unit is a communication device that transmits the communication data and receives the communication data based on the UART interface.
請求項から請求項のいずれか一項に記載の通信装置であって、
前記送受信部は、LINインタフェースに基づいて、前記通信データを送信するとともに、前記通信データを受信する
通信装置。
A communications device according to any one of claims 1 to 6,
The transmission / reception unit is a communication device that transmits the communication data and receives the communication data based on the LIN interface.
請求項に記載の通信装置であって、
前記送信制御部は、レスポンスを前記通信データとして送信する際に前記判断結果を取得し、前記判断結果が前記無通信期間に前記開始信号が生じていないことを表す場合に、前記送受信部に、前記レスポンスを送信させ、且つ、前記判断結果が前記無通信期間に前記開始信号が生じたことを表す場合に、前記送受信部に、前記レスポンスを送信させない、
通信装置。
The communication device according to claim 8.
The transmission control unit acquires the determination result when transmitting the response as the communication data, and when the determination result indicates that the start signal is not generated during the non-communication period, the transmission / reception unit may receive the determination result. When the response is transmitted and the determination result indicates that the start signal has occurred during the non-communication period, the transmission / reception unit is not allowed to transmit the response.
Communication device.
請求項に記載の通信装置であって、
前記送信制御部は、レスポンスを前記通信データとして送信する際に前記判断結果を取得し、前記判断結果が前記無通信期間に前記開始信号が生じていないことを表す場合に、前記送受信部に、前記レスポンスを送信させ、且つ、前記判断結果が前記無通信期間に前記開始信号が生じたことを表す場合に、前記送受信部に、予め定められた信号であって前記他のECUに前記レスポンスが誤って送受信されおそれがあることを検出させるための破壊信号、を送信させる、
通信装置。
The communication device according to claim 8.
The transmission control unit acquires the determination result when transmitting the response as the communication data, and when the determination result indicates that the start signal is not generated during the non-communication period, the transmission / reception unit may receive the determination result. When the response is transmitted and the determination result indicates that the start signal has occurred during the non-communication period, the response is a predetermined signal to the transmission / reception unit and the response is sent to the other ECU. Send a destruction signal to detect that there is a risk of accidental transmission / reception.
Communication device.
請求項1から請求項10のいずれか一項に記載の通信装置であって、
前記判断部によって前記無通信期間において前記開始信号が生じたと判断された場合に、前記通信データが誤って送受信されるおそれがあると判定する判定部(S460)、
を更に備える通信装置。
The communication device according to any one of claims 1 to 10.
A determination unit (S460) that determines that the communication data may be erroneously transmitted / received when the determination unit determines that the start signal has occurred during the non-communication period.
A communication device further equipped with.
JP2017105564A 2017-05-29 2017-05-29 Communication device Active JP6984178B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017105564A JP6984178B2 (en) 2017-05-29 2017-05-29 Communication device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017105564A JP6984178B2 (en) 2017-05-29 2017-05-29 Communication device

Publications (2)

Publication Number Publication Date
JP2018201148A JP2018201148A (en) 2018-12-20
JP6984178B2 true JP6984178B2 (en) 2021-12-17

Family

ID=64667384

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017105564A Active JP6984178B2 (en) 2017-05-29 2017-05-29 Communication device

Country Status (1)

Country Link
JP (1) JP6984178B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7070496B2 (en) * 2019-04-24 2022-05-18 オムロン株式会社 Serial data communication equipment

Also Published As

Publication number Publication date
JP2018201148A (en) 2018-12-20

Similar Documents

Publication Publication Date Title
US8868807B2 (en) Communication system, master node, and slave node
CN1326371C (en) Bus system for data transfer
JP4788804B2 (en) Electronic control unit
JP5811140B2 (en) Communications system
JP5976157B2 (en) Controller area network (CAN) device and CAN traffic control method
JP5977152B2 (en) Communication device
EP4270882A1 (en) Detecting an error in a can system
JP6984178B2 (en) Communication device
JP6176199B2 (en) Transmission line abnormality detection device
JP2009244991A (en) Data communication method, data communication system, electronic control unit, and circuit board
JP2005277978A (en) Identification number automatic setting method and identification number automatic setting device
CN116266803A (en) Devices for Controller Area Network
JP6743724B2 (en) Communication network and communication terminal
JP4531884B2 (en) Address, instruction and / or data telegraph device and address, instruction and / or data telegraph method
JP6413979B2 (en) Master node
JP6593230B2 (en) Communications system
JP5082147B2 (en) Multi-node system, inter-node switch, and data relay method
JP4884490B2 (en) Communication system and communication method
JP5958335B2 (en) Communication node and communication system
JP2006253922A (en) Gateway apparatus and data transfer method for the gateway apparatus
JP6520729B2 (en) Communication device
JP6183281B2 (en) Communication system and electronic control device
JP6683101B2 (en) Communications system
JP6485338B2 (en) Communications system
JP2018086950A (en) Communications system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200417

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20210204

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210316

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210510

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20211108

R151 Written notification of patent or utility model registration

Ref document number: 6984178

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250