KR100387141B1 - Transceiver system - Google Patents

Transceiver system Download PDF

Info

Publication number
KR100387141B1
KR100387141B1 KR1019960051503A KR19960051503A KR100387141B1 KR 100387141 B1 KR100387141 B1 KR 100387141B1 KR 1019960051503 A KR1019960051503 A KR 1019960051503A KR 19960051503 A KR19960051503 A KR 19960051503A KR 100387141 B1 KR100387141 B1 KR 100387141B1
Authority
KR
South Korea
Prior art keywords
identification code
random number
number data
response signal
function
Prior art date
Application number
KR1019960051503A
Other languages
Korean (ko)
Other versions
KR970031412A (en
Inventor
사다오 고쿠부
히사시 아오키
다카시 미즈노
신이치 고가
Original Assignee
가부시키가이샤 도카이리카덴키세이사쿠쇼
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 가부시키가이샤 도카이리카덴키세이사쿠쇼 filed Critical 가부시키가이샤 도카이리카덴키세이사쿠쇼
Publication of KR970031412A publication Critical patent/KR970031412A/en
Application granted granted Critical
Publication of KR100387141B1 publication Critical patent/KR100387141B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/38Transceivers, i.e. devices in which transmitter and receiver form a structural unit and in which at least one part is used for functions of transmitting and receiving
    • H04B1/40Circuits
    • H04B1/401Circuits for selecting or indicating operating mode

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Lock And Its Accessories (AREA)
  • Selective Calling Equipment (AREA)

Abstract

본 발명은 응답기로부터의 응답신호에 대한 비화성능의 대폭적인 향상을 간단한 구성으로 실현하는 것을 목적으로 한다.It is an object of the present invention to realize, with a simple configuration, a significant improvement in non-performance of a response signal from a responder.

이그니션키의 키그립에 내장되는 송수신유니트(2)에 있어서 마이크로컴퓨터(3)는 자동차측의 송수신ECU로부터 난수 데이터와 함께 송신되는 질문신호를 공진회로부(7)를 통하여 수신하는 때에는 EEPROM(4)에 기억되어 있는 식별코드의 비트 길이를 상기 수신 난수 데이터 및 소정의 함수식을 사용하여 변경함과 아울러 변조회로(6)내의 n챈널FET(6a)를 상기 비트 길이 변경후의 식별코드에 따른 모드로 온/오프 제어함으로써 암호화된 상태의 응답신호를 송수신ECU로 회신하는 제어를 한다.In the transmission / reception unit 2 embedded in the key grip of the ignition key, the microcomputer 3 receives the question signal transmitted together with the random number data from the transmission / reception ECU on the automobile side through the resonance circuit unit EEPROM (4). The bit length of the identification code stored in < Desc / Clms Page number 5 > is changed by using the received random number data and a predetermined function, and the n channel FET 6a in the modulation circuit 6 is turned on in a mode corresponding to the identification code after the bit length change. By controlling the on / off, control is performed to return the encrypted response signal to the transmission / reception ECU.

Description

송수신 시스템Transceiver system

(발명이 속하는 기술분야)(Technical field to which the invention belongs)

본 발명은 질문기(質問機)와 응답기(應答機)의 사이에 질문신호 및 이에 대한 응답신호를 수수(授受)하는 송수신 시스템 특히 응답기에서 회신되는 응답신호에 스크램블을 거는 송수신시스템에 관한 것이다.The present invention relates to a transmission / reception system for receiving a question signal and a response signal between the interrogator and the answering machine, and more particularly to a transmission / reception system for scrambling the response signal returned from the answering machine.

(종래의 기술)(Conventional technology)

예를 들어 자동차에 있어서, 도난에 대한 보안 성능의 향상을 도모하기 위하여 이그니션키(ignition key)에 전기적인 식별코드(識別 code)를 이용하는 전자키(電子 key)로서의 기능을 부가하는 것이 있다. 이 경우에 이그니션키의 키그립에 송수신 유니트를 내장하는 것이 일반적으로, 상기 송수신 유니트는 외부로부터 전력신호 및 질문신호가 주어질 때에 미리 기억된 식별코드를 포함하는 응답신호를 회신하는 트랜스폰더 기능(응답기로서의 기능)을 갖춘 구성으로 된다.For example, in an automobile, there is a function of adding an electronic key that uses an electrical identification code to an ignition key in order to improve the security performance against theft. In this case, it is common to embed a transmission / reception unit in the key grip of the ignition key, and the transmission / reception unit has a transponder function (responder) that returns a response signal including a pre-stored identification code when a power signal and a question signal are given from outside As a function).

이 경우, 상기 전자키 기능을 위하여 자동차측에는 질문기로서 기능하는 송수신ECU(送受信 Electronic Control Unit)가 설치되고, 이 송수신ECU은 상기한 바와 같이 구성된 이그니션키가 엔진 시동용의 키구멍에 꼽혀지고 ON 위치 혹은 ACC 위치로 조작된 상태에서, 상기 전력신호 및 질문신호를 송신하고 당해 이그니션키측의 송수신 유니트로부터 상기 응답신호를 수신하여 그 응답신호중의 식별코드가 미리 설정되어 있는 식별코드와 일치하는 때만 이그니션키에 의한 엔진의 시동을 허가하는 이모빌라이저(immobilizer) 기능을 갖춘 구성이다.In this case, a transmitting / receiving electronic control unit (ECU) serving as an interrogator is installed on the automobile side for the electronic key function, and the ignition ECU configured as described above is plugged into the key hole for starting the engine and turned ON. In the state operated in the position or ACC position, the power signal and the question signal are transmitted and the response signal is received from the transmitting / receiving unit on the ignition key side, and only when the identification code in the response signal matches a predetermined identification code. It is a configuration with an immobilizer function which allows the engine to be started by a key.

(발명이 해결하고자 하는 과제)(Tasks to be solved by the invention)

종래의 송수신 유니트에 의한 트랜스폰더 기능은, 하드웨어 로직으로 구성되는 것이 일반적이다. 이 때문에 통상은 식별코드가 고정되어 있어 그 복제(複製)가 비교적 용이하다는 사정이 있고 결과적으로 비화성능(秘話性能) 따라서는 자동차 도난에 대한 보안성능을 충분히 높일 수 없다는 문제가 있다.The transponder function of the conventional transmission / reception unit is generally composed of hardware logic. For this reason, there is a problem that the identification code is usually fixed and its copying is relatively easy, and as a result, the security performance against car theft can not be sufficiently increased.

이와 같은 문제점에 대처하기 위하여는 종래에는 예를 들어 일본국 공개특허 특개평7-184280호 공보에 보이는 것과 같이 송수신 유니트로부터의 응답신호의 송신이 한 번 이루어질 때마다 식별코드를 순차적으로 바꾸는 롤링코드(rolling code)방식을 채용하여 식별코드를 포함하는 응답신호의 암호화를 하는 것이 생각되었다. 그러나 이와 같은 수단에서는 같은 식별코드를 포함하는 응답신호가 주기적(周期的)으로 출현하게 되고 또한 설정되는 식별코드의 수(數)에도 한도가 있기 때문에 일단 제3자에 의하여 응답신호가 해독되어 복제되는 경우에는 그 해독 응답신호를 이용하여 엔진을 시동시킬 수 있을 가능성이 높게 되고 따라서 자동차 도난에대한 보안성능의 충분한 향상을 달성할 수 없다는 문제점이 있었다.In order to cope with such a problem, conventionally, as shown in Japanese Patent Laid-Open No. Hei 7-184280, for example, a rolling code that sequentially changes the identification code every time a response signal is transmitted from the transmission / reception unit. It has been considered to employ a rolling code scheme to encrypt a response signal including an identification code. However, in such a means, since a response signal containing the same identification code periodically appears and there is a limit on the number of identification codes that are set, the response signal is decrypted by a third party and copied. In this case, there is a high possibility that the engine can be started by using the decryption response signal, and thus there is a problem that a sufficient improvement in security performance against theft of the vehicle cannot be achieved.

본 발명은 상기와 같은 사정을 감안하여 이루어진 것으로서 그 목적은 비화성능의 대폭적인 향상을 간단한 구성으로 실현할 수 있도록 한 송수신 시스템을 제공하고자 하는 것이다.The present invention has been made in view of the above circumstances, and an object thereof is to provide a transmission / reception system capable of realizing a significant improvement in non-fire performance with a simple configuration.

(과제를 해결하기 위한 수단)(Means to solve the task)

본 발명의 송수신시스템은 상기의 목적을 달성하기 위하여, 질문기로부터의 질문신호를 수신한 때에 당해 질문신호에 응답하여 미리 기억된 식별코드를 포함하는 응답신호를 당해 질문기로 회신하는 응답기를 갖춘 송수신시즈템에 있어서, 상기 질문기측에 상기 질문신호와 함께 난수 데이터를 송신하는 기능과, 수신한 응답신호의 적부(適否)를 상기 난수데이터 및 자신이 기억하고 있는 상기 식별코드에 의거한 연산에 의하여 판정하는 기능을 설정하는 한편, 상기 응답기측에 상기 기억 식별코드의 비트 길이(bit length)를, 수신한 난수 데이터 및 소정의 연산에 의거하여 변경하는 기능과, 그 변경후의 식별코드를 포함하는 응답신호를 회신하는 기능을 설정하는 구성으로 한 것이다.In order to achieve the above object, the transmission / reception system of the present invention, when receiving a question signal from an interrogator, transmits / receives a transponder having a responder that returns a response signal including an identification code stored in advance in response to the question signal to the interrogator. A system comprising: a function of transmitting random number data to the interrogator side together with the question signal, and calculation of the appropriateness of the received response signal based on the random number data and the identification code stored by the interrogator. A response including a function of changing a bit length of the storage identification code on the responder side based on the received random number data and a predetermined operation, and setting the identification function; It is the configuration which sets the function which returns a signal.

도1은 본 발명의 제1실시예를 나타내는 송수신유니트의 전기적 구성도,1 is an electrical configuration diagram of a transmission / reception unit showing a first embodiment of the present invention;

도2는 송수신 유니트측의 제어내용을 나타내는 플로우챠트,2 is a flowchart showing the control contents on the transmission / reception unit side;

도3은 시스템 전체의 구성을 나타내는 기능 블록도,3 is a functional block diagram showing the configuration of the entire system;

도4는 본 발명의 제2실시예를 나타내는 것으로서 송수신 유니트측의 제어내용을 나타내는 플로우챠트,4 is a flowchart showing the control contents of the transmission / reception unit side as showing the second embodiment of the present invention;

도5는 본 발명의 제3실시예를 나타내는 것으로서 송수신 유니트측의 제어내용을 나타내는 플로우챠트,5 is a flowchart showing the control contents of the transmission / reception unit side as showing the third embodiment of the present invention;

도6은 본 발명의 제4실시예를 나타내는 것으로서 송수신 유니트측의 제어내용을 나타내는 플로우챠트이다.Fig. 6 is a flowchart showing the control contents of the transmission / reception unit side as showing the fourth embodiment of the present invention.

* 도면의 주요부분에 대한 부호의 설명 *Explanation of symbols on the main parts of the drawings

1 : 이그니션키(ignition key)1: ignition key

2 : 송수신 유니트(送受信 unit; 應答器)2: transmitting and receiving unit (送 受 信)

3 : 마이크로컴퓨터(micro-computer)3: micro-computer

4 : EEPROM(Electrically-erasable programmable Read Only Memory)4: EEPROM (Electrically-erasable programmable Read Only Memory)

6 : 변조회로(變調回路) 7 : 공진회로부(共振回路部)6 modulation circuit 7 resonant circuit section

8 : 트랜스폰더용 코일(transponder用 coil)8: coil for transponder

9 : 공진 콘덴서(共振 condenser)9: resonant capacitor

10 : 송수신 ECU(送受信 Electronic Control Unit; 質問器)10: transmit and receive ECU (Electronic Control Unit)

12 : 전원회로 13 : 검파회로(檢波回路)12 power supply circuit 13 detection circuit

15 : 이그니션키 실린더(ignition key sylinder)15: ignition key cylinder

16 : 안테나 코일(antenna coil) 23 : 엔진제어 ECU16 antenna coil 23 engine control ECU

본 구성에 의하면, 응답기는 질문기측으로부터 난수 데이터와 함께 송신되는 질문신호를 수신한 때에, 미리 기억되어 있는 식별코드의 비트길이를 상기 난수 데이터 및 소정의 연산에 의거하여 변경함과 아울러 변경후의 그 식별코드를 포함하는 응답신호를 회신한다. 이와 같이 회신되는 응답신호를 수신한 질문기는 그 응답신호의 적부를 전술한 바와 같이 송신한 난수 데이터 및 자신이 기억하고 있는 식별코드에 의거한 연산에 의하여 판정한다.According to this configuration, when the answering machine receives the question signal transmitted together with the random number data from the interrogator side, it changes the bit length of the previously stored identification code based on the random number data and the predetermined operation, Return the response signal containing the identification code. The interrogator receiving the response signal thus returned determines whether the response signal is appropriate or not based on the random number data transmitted as described above and an operation based on the identification code stored therein.

이 경우에, 질문기측에서 이루어지는 수신응답신호의 적부 판정은 당해 응답신호중의 식별코드의 비트 길이 및 그 식별코드의 내용 모두에 의거하여 이루어지므로, 여러 종류의 식별코드를 순차적으로 롤링시키는 종래방식에 비하여 응답기로부터의 응답신호에 대한 비화성능이 대폭적으로 향상된다(청구항1).In this case, the determination of the acknowledgment of the received response signal on the interrogator side is made based on both the bit length of the identification code in the response signal and the contents of the identification code. In comparison, the deactivation performance of the response signal from the responder is greatly improved (claim 1).

이 경우, 상기 응답기를, 상기 기억식별코드를 소정의 암호화 방식으로 암호화함과 아울러 그 암호화후의 식별코드의 비트 길이를 수신한 난수 데이터 및 소정의 연산에 의거하여 변경하고, 그 변경후의 식별코드를 포함하는 응답신호를 회신하는 구성으로 하여도 좋다. 이 구성에 의하면 식별코드의 암호화가 2중으로 이루어지므로 응답기로부터의 응답신호에 대한 비화성능이 비약적으로 향상된다(청구항2).In this case, the transponder encrypts the memory identification code with a predetermined encryption method, changes the received identification code based on the random number data and a predetermined operation received the bit length of the identification code after encryption, and changes the identification code after the change. It may be configured to return a response signal included. According to this configuration, since the encryption of the identification code is doubled, the secretion performance for the response signal from the answering machine is dramatically improved (claim 2).

또 상기 응답기를 상기 기억식별코드의 비트길이를 수신한 난수 데이터 및 소정의 연산에 의거하여 변경한 후에 변경후의 식별코드를 소정의 암호화 방식으로 암호화하고 그 암호화된 식별코드를 포함하는 응답신호를 회신하는 구성으로 하여도 좋다. 이 구성에 의하여도 식별코드의 암호화가 2중로 이루어지므로 응답기로부터의 응답신호에 대한 비화성능이 비약적으로 향상된다(청구항3).The transponder is changed based on the random number data receiving the bit length of the storage identification code and the predetermined operation, and then the encrypted identification code is encrypted by a predetermined encryption method and a response signal including the encrypted identification code is returned. A configuration may be made. This configuration also doubles the encryption of the identification code, which greatly improves the performance of the secretion of the response signal from the answering machine (claim 3).

(본 발명의 실시형태)Embodiment of the Invention

이하, 본 발명을 자동차용 부하제어 시스템에 적용한 제1실시예에 대하여 도1 ~ 도3을 참조하면서 설명한다.A first embodiment to which the present invention is applied to an automobile load control system will be described below with reference to FIGS.

도1에는 자동차의 이그니션키(도3에 부호1을 붙여 나타낸다)의 키그립에 내장되는 송수신유니트(2)(본 발명에서 말하는 응답기에 상당)의 전기적 구성을 나타내고 있다.Fig. 1 shows the electrical configuration of the transmission / reception unit 2 (corresponding to the transponder according to the present invention) incorporated in the key grip of the ignition key of the automobile (denoted by reference numeral 1 in Fig. 3).

상기 송수신 유니트(2)는 마이크로컴퓨터(3)를 중심으로 구성된 것으로서, 외부로부터 전력신호 및 질문신호를 수신한 때에 그 질문신호에 응답하여 후술하는 바와 같은 응답신호를 회신하기 위한 트랜스폰더 기능이 설정되어 있으며, 이하 그 구체적인 구성에 대하여 설명한다.The transmission / reception unit 2 is configured around the microcomputer 3, and when a power signal and a question signal are received from the outside, a transponder function for returning a response signal as described later in response to the question signal is set. The specific structure thereof is described below.

즉 마이크로컴퓨터(3)는 내부에 EEPROM(4), 후술하는 파위온 리세트 회로(5)용의 저항(5a), 후술하는 변조회로(6)용의 n챈널FET(6a)를 내장하는 구성이며, 특히 상기 EEPROM(4)에는 대응하는 이그니션키(1)에 고유한 식별코드(ΔB)가 기억되어 있음과 아울러 그 식별코드(ΔB)의 비트 길이를 바꾸기 위한 후술하는 함수식(函數式) g, h가 기억되어 있다.That is, the microcomputer 3 has an internal structure in which the EEPROM 4, the resistor 5a for the Paeon reset circuit 5 described later, and the n channel FET 6a for the modulation circuit 6 described later are incorporated. In particular, the EEPROM 4 stores an identification code ΔB unique to the corresponding ignition key 1, and a functional formula g described later for changing the bit length of the identification code ΔB. , h is remembered.

또한 상기 식별코드(ΔB)의 비트 길이는 예를 들어 40 ~ 48 비트의 범위에서 적당한 값으로 설정되어 있다. 또한 상기 함수식(g, h)는 마이크로컴퓨터(3)내의 프로그램 ROM(Read Only Memory)중에 써넣는 구성으로 하여도 좋다.In addition, the bit length of the said identification code (DELTA) B is set to a suitable value in the range of 40-48 bits, for example. The functional formulas (g, h) may be written in the program ROM (Read Only Memory) in the microcomputer 3.

공진회로부(7)는, 신호라인(SL)과 그라운드 단자의 사이에 트랜스폰더용 코일(8) 및 공진 콘덴서(9)를 병렬로 접속하여 구성되어 있고, 그 공진주파수는 자동차측에 설치되는 송수신 ECU(도3에서 부호 10을 붙여 나타낸다)로부터 송신되는 반송파 신호의 주파수 대역(帶域)과 같게 되도록 설정된다.The resonant circuit portion 7 is configured by connecting the transponder coil 8 and the resonant capacitor 9 in parallel between the signal line SL and the ground terminal, and the resonant frequency is transmitted / received on the vehicle side. It is set to be equal to the frequency band of the carrier signal transmitted from the ECU (denoted by 10 in FIG. 3).

상기 신호라인(SL)에 저항(11)을 통하여 접속되는 전원회로(12)는 공진회로부(7)가 수신한 반송파 신호를 정류, 평활(平滑)시킨 출력을 마이크로컴퓨터(3)의전원단자(VDD)에 공급하는 것으로서, 정류용 다이오드(12a), 평활용 콘덴서(12b) 정전압 다이오드(12c) 및 저항(12d)를 도시하는 바와 같이 접속하여 구성한다.The power supply circuit 12 connected to the signal line SL through the resistor 11 outputs the rectified and smoothed output of the carrier signal received by the resonant circuit unit 7 to the power supply terminal V of the microcomputer 3. DD ), the rectifying diode 12a, the smoothing capacitor 12b, the constant voltage diode 12c, and the resistor 12d are connected and configured as shown.

신호라인(SL)에 상기 저항(11)을 통하여 접속된 검파회로(13)는 상기 공진회로부(7)를 통하여 반송파 신호와 함께 공급되는 질문신호를 판별하여 마이크로컴퓨터(3)의 입력포트(PI)에 공급하는 것으로서, 검파용 다이오드(13a), 콘덴서(13b), 저항(13c) 및 저항(13d)를 도시하는 바와 같이 접속하는 필터 회로로서 구성된다.The detection circuit 13 connected to the signal line SL through the resistor 11 determines the interrogation signal supplied with the carrier signal through the resonant circuit unit 7 to determine the input port PI of the microcomputer 3. ) Is configured as a filter circuit for connecting the detection diode 13a, the capacitor 13b, the resistor 13c and the resistor 13d as shown in the figure.

이 경우에 상기 검파회로(13)의 시정수(時定數)는 상기 전원회로(12)에 의한 평활기능부분의 충전 시정수보다 충분히 작은 값으로 설정되어 있고, 이렇게 하여 상기 질문신호의 판별이 가능한 구성으로 되어 있다.In this case, the time constant of the detection circuit 13 is set to a value sufficiently smaller than the charging time constant of the smoothing function portion by the power supply circuit 12, so that the discrimination of the question signal It is possible.

상기 n챈널FET(6a)를 포함하여 구성되는 변조회로(6)는 공진회로부(7)의 공진 콘덴서(9)와 병렬로, 변조용 콘덴서(6b)와 n챈널FET(6a)의 소스/드레인간의 직결회로를 접속한 구성으로 되어 있고, 그 n챈널FET(6a)의 온/오프(ON/OFF)에 따라 공진회로부(7) 부분의 임피던스를 변화시킬 수 있는 구성으로 되어 있다.The modulation circuit 6 including the n-channel FET 6a is in parallel with the resonant capacitor 9 of the resonant circuit unit 7, and the source / drain of the modulation capacitor 6b and the n-channel FET 6a. The direct connection circuit is connected to each other, and the impedance of the resonant circuit portion 7 can be changed in accordance with the ON / OFF state of the n-channel FET 6a.

상기 리세트 회로(5)는, 마이크로컴퓨터(3)의 전원단자(VDD)에 공급되는 전압 레벨(전원회로(12)의 출력전압 레벨)이 소정의 레벨 이상으로 상승할 때까지의 기간은 당해 마이크로컴퓨터(3)를 리세트 상태로 유지하는 파워온 리세트(power-on reset) 기능을 위한 것으로서, 다이오드(5b), 콘덴서(5c) 및 상기 저항(5a)을 도시하는 바와 같이 접속하여 구성한다. 또한 저항(14a) 및 콘덴서(14b)로 이루어지는 발진회로(14)는 마이크로컴퓨터(3)의 클록 주파수를 결정하기 위하여 설치된다.The reset circuit 5 has a period until the voltage level (output voltage level of the power supply circuit 12) supplied to the power supply terminal V DD of the microcomputer 3 rises above a predetermined level. For the power-on reset function for keeping the microcomputer 3 in a reset state, the diode 5b, the capacitor 5c and the resistor 5a are connected as shown. Configure. In addition, an oscillation circuit 14 composed of a resistor 14a and a capacitor 14b is provided to determine the clock frequency of the microcomputer 3.

이하, 상기와 같이 구성되는 송수신유니트(2)의 기능에 대하여 마이크로컴퓨터(3)에 의한 제어내용과 함께 설명한다.The function of the transmission / reception unit 2 configured as described above will be described together with the control contents by the microcomputer 3.

즉 송수신ECU(10)측에서 송신되는 반송파 신호(전력신호) 및 소정의 난수데이터(ΔA)를 포함하는 질문신호를 공진회로부(7)를 통하여 수신하는 때에는, 전원회로(12)가 수신한 반송파 신호를 정류/평활한 출력을 마이크로컴퓨터(3)의 전원단자(VDD)에 공급하고 그 출력전압이 소정의 레벨이상으로 상승하는 시점에서 리세트회로(5)에 의한 리세트 유지상태가 해제되어 당해 마이크로컴퓨터(3)가 능동상태(能動狀態)로 변환된다. 또 검파회로(13)가 수신한 질문신호를 판별하여 마이크로컴퓨터(3)의 입력포트(PI)에 공급한다.That is, when receiving the question signal including the carrier signal (power signal) transmitted from the transmitting and receiving ECU 10 side and the predetermined random number data ΔA through the resonance circuit unit 7, the carrier wave received by the power supply circuit 12 The reset holding state is reset by the reset circuit 5 when the signal is rectified / smooth output is supplied to the power supply terminal V DD of the microcomputer 3 and its output voltage rises above a predetermined level. The microcomputer 3 is converted into an active state. Further, the question signal received by the detection circuit 13 is discriminated and supplied to the input port PI of the microcomputer 3.

이와 같이 능동상태로 된 마이크로컴퓨터(3)는 질문신호가 검파회로(13)를 통하여 공급되는 것에 응답하여 EEPROM(4)에 기억되어 있는 식별코드(ΔB)를 읽어 그 비트 길이를 후술하는 바와 같이 변경함과 아울러 변조회로(6)를 동작시킴으로써 변경후의 식별코드(ΔB')를 포함하는 암호화 응답신호를 공진회로부(7)를 통하여 송신(회신)하는 트랜스폰더로서의 기능을 발휘하는 것으로서 이하, 그 제어내용에 대하여 도2의 플로우챠트를 참조하면서 설명한다.The microcomputer 3 in the active state reads the identification code ΔB stored in the EEPROM 4 in response to the question signal being supplied through the detection circuit 13, and the bit length thereof will be described later. By operating the modulating circuit 6, the modulator 6 functions as a transponder for transmitting (replying) an encrypted response signal including the modified identification code ΔB 'through the resonant circuit section 7 as follows. The control contents will be described with reference to the flowchart of FIG.

즉 마이크로컴퓨터(3)는 난수 데이터(ΔA)를 포함하는 질문신호를 수신한 때(S1에서 YES)에는 EEPROM(4)에서 식별코드(ΔB) 및 함수식(g, h)을 읽고(S2), 이 이후의 S3 ~ S5에서 상기 식별코드(ΔB)의 비트 길이를 함수식(g, h) 및 수신 난수 데이터(ΔA)에 의거하여 변경하고 식별코드(ΔB')를 구하기 위한 연산을 한다.또한 함수식(g, h)이 프로그램 ROM중에 기억되어 있는 구성에서는 상기와 같은 함수식(g, h)의 리딩(reading)이 불필요한 것은 물론이다.That is, when the microcomputer 3 receives the question signal including the random number data ΔA (S1 to YES), the microcomputer 3 reads the identification code ΔB and the function equations g and h from the EEPROM 4 (S2), Subsequently, in S3 to S5, the bit length of the identification code ΔB is changed based on the functional formulas g and h and the received random number data ΔA, and the operation is performed to obtain the identification code ΔB '. It goes without saying that in the configuration in which (g, h) is stored in the program ROM, reading of the above functions (g, h) is unnecessary.

이 경우, 상기 함수식(g)은 비트길이 변경후의 식별코드(ΔB')의 초기 비트(LSB;Least Significant Bit)가 변경전의 식별코드(ΔB)의 몇 번째의 비트(이하 이 비트를 X번 째의 비트라고 한다)에 상당하는 가를 산출하기 위한 것으로서, S3에서는 난수 데이터(ΔA) 및 식별코드(ΔB) 모두를 변수(變敎)로 하는 함수연산 또는 난수데이터(ΔA)만을 변수로 하는 함수연산에 의하여 X의 값을 산출한다. 즉,In this case, the function equation (g) indicates that the first bit (LSB; Least Significant Bit) of the identification code (ΔB ') after the bit length is changed is the number of bits of the identification code (ΔB) before the change (hereinafter referred to as X-th bit). In S3, a function operation in which both the random number data ΔA and the identification code ΔB are variables or a function operation in which only the random number data ΔA is a variable The value of X is calculated by In other words,

X = g(ΔA, ΔB) 또는X = g (ΔA, ΔB) or

X = g(ΔA)X = g (ΔA)

상기 함수식(h)은 비트 길이 변경후의 식별코드(ΔB')의 최종 비트(MSB;Most Significant Bit)가 변경전의 식별코드(ΔB)의 및 번째의 비트(이하, 이 비트를 Y번째의 비트라고 한다)에 상당하는가를 산출하기 위한 것으로서, S4에서는 난수 데이터(ΔA) 및 식별코드(ΔB) 모두를 변수로 하는 함수연산 또는 난수데이터(ΔA)만을 변수로 하는 함수연산에 의하여 Y의 값을 산출한다. 즉,The function formula (h) indicates that the last bit (MSB; Most Significant Bit) of the identification code (ΔB ') after the bit length change is referred to as the Yth bit (hereinafter, referred to as the Yth bit) of the identification code (ΔB) before the change. In S4, the value of Y is calculated by a function operation using both random number data ΔA and an identification code ΔB as a variable or a function operation using only random data ΔA as a variable. do. In other words,

Y = h(ΔA, ΔB) 또는Y = h (ΔA, ΔB) or

V = h(ΔA)V = h (ΔA)

S5에서는 상기한 바와 같이 산출한 X 및 Y의 값에 의거하여 식별코드(ΔB)의 X번째의 비트에서 Y번째의 비트까지의 (AXY)를 추출하고 그 (AXY)를 비트 길이 변경후의 식별코드(ΔB')로 한다.In S5, (AXY) from the X th bit to the Y th bit of the identification code ΔB is extracted based on the values of X and Y calculated as described above, and the (AXY) is the identification code after the bit length is changed. Let (ΔB ') be.

마이크로컴퓨터(3)는 이와 같이 식별코드(ΔB')를 구한 후에는 그 식별코드(ΔB')를 포함하는 응답신호를 송신하는 동작을 하고(S6), 그 후에 S1으로 되돌아 간다.After obtaining the identification code ΔB 'in this manner, the microcomputer 3 operates to transmit a response signal including the identification code ΔB' (S6), and then returns to S1.

구체적으로는 상기 S6에서는 변조회로(6)내의 n챈널FET(6a)를 상기 식별코드(ΔB')에 대응하는 모드로 온/오프제어하여 공진회로부(7) 부분의 임피던스를 변화시킴으로써 수신한 반송파 신호를 상기 식별코드(ΔB')에 대응하는 모드로 진폭변조(振輻變調)하는 것으로서, 이와 같은 변조회로(6)에 의한 공진회로부(7) 부분의 임피던스 변화상태를 송수신ECU(10)측에서 검출함으로써 암호화된 응답신호(식별코드(ΔB')를 포함한다)가 당해 송수신ECU(10)측으로 회신된다.Specifically, in S6, the carrier wave received by changing the impedance of the resonant circuit section 7 by turning on / off the n channel FET 6a in the modulation circuit 6 in a mode corresponding to the identification code ΔB '. Amplitude modulation of the signal in a mode corresponding to the identification code ΔB ', which transmits and receives an impedance change state of the resonant circuit portion 7 by the modulation circuit 6 to the transmitting and receiving ECU 10 side. The response signal (including the identification code ΔB ') encrypted by the detection is returned to the transmission / reception ECU 10 side.

한편 도3에는 시스템 전체의 구성이 기능블록의 조합에 의하여 모식적으로 나타나 있다. 이 도3에 있어서 자동차용의 이그니션키 실린더(15)의 주변에는 안테나 코일(16)이 설치되어 있어 이 이그니션키 실린더(15)에 이그니션키(1)가 꼽힌 상태에서는 당해 안테나 코일(16)과 이그니션키(1)에 내장되는 상기 트랜스폰더용 코일(8)(도1 참조)이 전자결합(電磁結合)되는 구성으로 되어 있다.3, the structure of the whole system is shown typically by the combination of functional blocks. In FIG. 3, the antenna coil 16 is provided around the ignition key cylinder 15 for a vehicle. In the state where the ignition key 1 is inserted into the ignition key cylinder 15, the antenna coil 16 and The transponder coil 8 (refer to FIG. 1) incorporated in the ignition key 1 is configured to be electromagnetically coupled.

자동차측에 설치되는 상기 송수신ECU(10)는 본 발명에서 질문기에 상당하는 것으로서 마이크로컴퓨터(17)를 중심으로 구성되어 있고, 그 마이크로컴퓨터(17)에 대하여는 상기 이그니션키 실린더(15)에 대응하여 설치되는 주지 구성의 IG스위치(18) 및 키리마인드 스위치(19)로부터의 온 신호가 스위치 인터페이스(20)를 통하여 입력된다. 이 경우, 상기 마이크로컴퓨터(17)에 대하여는 안테나 코일(16)에 의한 수신신호가 수신회로(21)를 통하여 입력되는 구성으로 되어 있다.The transmission / reception ECU 10 provided on the automobile side corresponds to the interrogator in the present invention, and is configured around the microcomputer 17. The microcomputer 17 corresponds to the ignition key cylinder 15. The on signal from the IG switch 18 and the key mind switch 19 of the well-known structure provided are input through the switch interface 20. As shown in FIG. In this case, the microcomputer 17 has a configuration in which a reception signal by the antenna coil 16 is input through the reception circuit 21.

마이크로컴퓨터(17)는 안테나 코일(16)을 통한 송신제어를 파워앰프(22)의 출력에 의하여 하는 구성으로 되고, 그 구체적인 제어내용에 대하여는 후술한다. 또한 마이크로컴퓨터(17)는 엔진제어ECU(23)과의 사이에 시리얼 인터페이스(24)를 통하여 신호를 수수(授受)하는 구성으로 되어 있고, 후술하는 바와 같이 엔진제어ECU(23)에 의한 엔진 시동 동작을 선택적으로 금지가능한 이모빌라이저(immobilizer) 기능이 설정되어 있다.The microcomputer 17 is configured to control transmission through the antenna coil 16 by the output of the power amplifier 22, and the details of the control will be described later. In addition, the microcomputer 17 is configured to receive a signal between the engine control ECU 23 and the serial interface 24, and the engine starts by the engine control ECU 23 as described later. An immobilizer function is set that can selectively inhibit operation.

또한 마이크로컴퓨터(17)는 EEPROM(25)과의 사이에 데이터를 수수하는 구성으로 되어 있고, 이 EEPROM(25)에는 송수신 유니트(2)측으로 새로운 질문신호를 송신할 때마다 생성되는 난수데이터(ΔA)가 축차적으로 갱신, 기록됨과 아울러 당해 자동차용으로서 준비되는 이그니션키(1)측의 EEPROM(4)에 기억되는 식별코드(ΔB) 및 비트 길이 변경용의 함수식(g, h)과 각각 동일한 식별코드(ΔB) 및 함수식(g, h)이 미리 기억되어 있다. 또한 상기 함수식(g, h)은 마이크로컴퓨터(17)내의 프로그램ROM중에 쓰여지는 구성으로 하여도 무방하다.In addition, the microcomputer 17 is configured to receive data between the EEPROM 25 and the random number data ΔA generated each time a new question signal is transmitted to the transmission / reception unit 2 side. ) Is sequentially updated and recorded, and the same identification as the identification code (ΔB) stored in the EEPROM (4) on the side of the ignition key 1 prepared for the vehicle and the function expressions (g, h) for changing the bit length, respectively. The code ΔB and the functional formulas g and h are stored in advance. The functional formulas (g, h) may be configured to be written in the program ROM in the microcomputer 17.

이하, 송수신ECU(10)의 마이크로컴퓨터(17)의 제어내용에 대하여 관련된 부분의 작용과 함께 설명한다.Hereinafter, the control contents of the microcomputer 17 of the transmission / reception ECU 10 will be described together with the operation of the relevant parts.

즉 마이크로컴퓨터(17)는 키리마인드 스위치(19) 및 IG스위치(18)로부터의 온(ON)신호를 받는 때에 즉 이그니션키 실린더(15)에 이그니션키(1)가 꼽히어 온위치로 조작되는 때(이 상태에서는 안테나 코일(16)과 이그니션키(1)측의 트랜스폰더용 코일(8)이 전자결합된다)에는, 소정의 난수발생(亂數發生)용 연산에 의하여 새로운 난수데이터(ΔA)를 발생시킴과 아울러 그 난수 데이터(ΔA)를 EEPROM(25)에기억시키는 한편, 당해 난수 데이터(ΔA)를 포함하는 펄스열(pulse列) 형상의 질문신호를 작성하고, 또한 파워앰프(22)를 동작시킴으로써 안테나 코일(16)로부터 소정 주파수의 반송파 신호 및 이것에 중첩시키는 상태의 상기 난수 데이터(ΔA)를 포함하는 질문신호를 송신한다.That is, when the microcomputer 17 receives the ON signal from the key mind switch 19 and the IG switch 18, that is, the ignition key 1 is inserted into the ignition key cylinder 15 and operated in the on position. At this time (in this state, the antenna coil 16 and the transponder coil 8 on the side of the ignition key 1 are electromagnetically coupled), and the new random number data ΔA is generated by a predetermined random number generation calculation. ), The random number data ΔA is stored in the EEPROM 25, while a pulse train shape question signal including the random number data ΔA is generated, and the power amplifier 22 is generated. By operating, the antenna coil 16 transmits a question signal including a carrier signal of a predetermined frequency and the random number data ΔA in a state of being superimposed thereon.

이렇게 함으로써 이그니션키(1)측의 송수신 유니트(2)(도1 참조)측으로 안테나 코일(16)을 통하여 반송파신호 및 질문신호를 송신하게 되며, 당해 송수신 유니트(2)에 있어서는 전술한 바와 같이 상기 반송파신호에 의하여 마이크로컴퓨터(3)가 능동상태로 변환되고 이에 따라 당해 질문신호중의 난수데이터(ΔA), EEPROM(4)에 기억되어 있는 식별코드(ΔB) 및 함수식(g, h)를 사용한 함수연산에 의하여 비트길이가 변경된 식별코드(ΔB')를 구함과 아울러 이 식별코드(ΔB')를 포함하는 암호화 응답신호를 회신하는 트랜스폰더 기능을 발휘하게 된다.In this way, the carrier signal and the question signal are transmitted to the transmission / reception unit 2 (see FIG. 1) side of the ignition key 1 through the antenna coil 16. In the transmission / reception unit 2, as described above, The microcomputer 3 is converted into an active state by the carrier signal and accordingly the function using the random number data ΔA in the question signal, the identification code ΔB stored in the EEPROM 4 and the function equations g and h The transponder function of obtaining the identification code? B 'whose bit length is changed by the operation and returning an encrypted response signal including the identification code? B' is exhibited.

마이크로컴퓨터(17)는 EEPROM(25)에서 읽은 난수 데이터(ΔA), 식별코드(ΔB)및 함수식(g, h)에 의거하여 상기 송수신 유니트(2)측의 마이크로컴퓨터(3)와 마찬가지의 연산(도2에서 나타내는 S3 ~ S5의 연산에 상당)을 함으로써 식별코드(ΔB')을 구함과 아울러 그 식별코드(ΔB')와 송수신 유니트(2)측에서부터 회신되는 응답신호에 포함되는 식별코드(ΔB')를 비교하는 디코드(decode) 동작을 하여 양자가 일치하지 않는 경우 즉 수신한 응답신호가 적절하지 않은 경우에는 엔진제어ECU(23)에 의한 자동차용 엔진의 시동을 금지한다. 또한 함수식(g, h)이 프로그램 ROM중에 기억되는 구성에서는 상기와 같은 함수식(g, h)의 읽기(리딩)이 불필요한 것은 물론이다.The microcomputer 17 operates similarly to the microcomputer 3 on the transmission / reception unit 2 side based on the random number data ΔA, the identification code ΔB, and the function equations g and h read from the EEPROM 25. (Corresponding to the calculation of S3 to S5 shown in Fig. 2), the identification code? B 'is obtained, and the identification code included in the identification code? B' and the response signal returned from the transmission / reception unit 2 side ( A decode operation for comparing [Delta] B ') is performed to prevent starting of the vehicle engine by the engine control ECU 23 when the two do not match, that is, when the received response signal is not appropriate. Of course, in the configuration in which the functional formulas (g, h) are stored in the program ROM, the reading (reading) of the functional formulas (g, h) is of course unnecessary.

따라서 IG스위치(18)가, 식별코드가 일치하지 않는 부적정한 이그니션키(1)에 의하여 온되는 경우에는 자동차용 엔진이 시동되지 않으므로 도난에 대한 보안이 향상된다.Therefore, when the IG switch 18 is turned on by the inadequate ignition key 1 in which the identification codes do not match, the engine for the vehicle is not started and the security against theft is improved.

한편 상기 디코드의 연산동작에 의하여 구한 식별코드(ΔB')와, 송수신 유니트(2)측으로부터 회신되는 응답신호에 포함되는 식별코드(ΔB')가 일치하는 경우 즉 수신한 응답신호가 적정한 것인 경우에는 엔진제어ECU(23)에 의한 자동차용 엔진의 시동이 허가된다.On the other hand, when the identification code ΔB 'obtained by the operation of decoding is identical to the identification code ΔB' included in the response signal returned from the transmission / reception unit 2 side, that is, the received response signal is appropriate. In this case, starting of the engine for automobiles by the engine control ECU 23 is permitted.

따라서 식별코드(ΔB)등에 의거하여 생성되는 비트 길이 변경후의 식별코드(ΔB')가 일치하는 적정한 이그니션키(1)가 이그니션키 실린더(15)에 꼽힌 상태에서는 엔진제어ECU(23)를 통한 자동차용 엔진의 시동이 허가되므로 이상과 같이 이모빌라이저 기능을 발휘하는 구성으로 되어 있다.Therefore, when the appropriate ignition key 1 is inserted into the ignition key cylinder 15 in which the appropriate ignition key ΔB 'coincides with the generated bit length change based on the identification code ΔB or the like, the vehicle is controlled by the engine control ECU 23. Since the engine is allowed to be started, it is configured to exhibit an immobilizer function as described above.

즉 상기한 본 실시예의 구성은 이하에 설명하는 효과가 있다.That is, the structure of this embodiment mentioned above has the effect demonstrated below.

송수신 유니트(2)에 있어서는 송수신ECU(10)로부터 송신되는 질문신호에 대한 응답신호를 암호화한 상태로 회신하는 구성이므로 비화성능 따라서 자동차 도난에 대한 보안성능이 향상된다. 특히 이 경우, 송수신 유니트(2)는 미리 기억되어 있는 식별코드(ΔB)의 비트 길이를 상기 질문신호에 포함되는 난수 데이터(ΔA) 및 소정의 함수식(g, h)를 사용하여 변경함과 아울러 그 변경후의 식별코드(ΔB')를 포함하는 암호화 응답신호를 회신하는 구성이므로 응답신호의 암호화를 간단한 구성으로 실현할 수 있게 된다.In the transmission / reception unit 2, the response signal for the question signal transmitted from the transmission / reception ECU 10 is returned in an encrypted state. Therefore, the security performance against theft of the vehicle is improved according to the non-performance. In particular, in this case, the transmission / reception unit 2 changes the bit length of the identification code ΔB previously stored using random number data ΔA included in the question signal and predetermined function equations g and h. Since the encrypted response signal including the identification code ΔB 'after the change is returned, the encryption of the response signal can be realized with a simple configuration.

또한 송수신ECU(10)측에서 이루어지는 수신 응답신호의 적부 판정은 결과적으로 당해 응답신호의 식별코드(ΔB')의 비트 길이 및 그 식별코드(ΔB')의 내용 모두에 의거하여 이루어지므로 여러 종류의 식별코드를 순차적으로 롤링시키는 종래의 방식에 비하여 송수신 유니트(2)로부터 회신되는 응답신호에 대한 비화성능이 대폭적으로 향상된다.Further, the determination of whether the received response signal is performed on the transmitting and receiving ECU 10 side is made based on both the bit length of the identification code ΔB 'and the contents of the identification code ΔB' of the response signal. Compared with the conventional method of rolling the identification code sequentially, the deactivation performance for the response signal returned from the transmission / reception unit 2 is greatly improved.

도4에는 상기 제1실시예와 동일한 효과를 발휘하는 본 발명의 제2실시예가 나타나 있다. 이하, 이에 대하여 제1실시예와 다른 부분만을 설명한다.4 shows a second embodiment of the present invention which exhibits the same effects as the first embodiment. Only parts different from those of the first embodiment will be described below.

즉 제2실시예는 송수신 유니트(2)측의 마이크로컴퓨터(3)에 의한 식별코드(ΔB)의 비트 길이 변경제어의 내용이 제1실시예와 다르고, 도4의 플로우챠트에는 그 제어내용이 나타나 있다.That is, in the second embodiment, the content of the bit length change control of the identification code ΔB by the microcomputer 3 on the transmission / reception unit 2 side is different from that in the first embodiment. Is shown.

도4에 있어서 마이크로컴퓨터(3)는 난수데이터(ΔA)를 포함하는 질문신호를 수신한 때(S1에서 YES)에는 EEPROM(4)로부터 식별코드(ΔB) 및 함수식(i)를 읽고(S2'), 그 이후의 S3' 및 S5'에 있어서 상기 식별코드(ΔB)의 비트 길이를 함수식(i) 및 수신한 난수 데이터(ΔA)에 의거하여 변경하고 식별코드(ΔB')을 구하기 위한 연산을 한다.In FIG. 4, when the microcomputer 3 receives the question signal including the random number data ΔA (Y1 to S1), the microcomputer 3 reads the identification code ΔB and the function equation (i) from the EEPROM 4 (S2 '). In S3 'and S5' thereafter, the bit length of the identification code ΔB is changed based on the function formula i and the received random number data ΔA, and an operation for obtaining the identification code ΔB 'is performed. do.

이 경우 상기 함수식(i)은 비트길이 변경후의 식별코드(ΔB')의 비트 길이(Z)를 산출하기 위한 것으로서, S3'에서는 난수데이터(ΔA) 및 식별코드(ΔB)의 모두를 변수로 하여 함수연산 또는 난수데이터(ΔA)만을 변수로 하는 함수연산에 의하여 비트길이(Z)의 값을 산출한다. 즉,In this case, the function formula (i) is for calculating the bit length Z of the identification code ΔB 'after the bit length is changed. In S3', both the random number data ΔA and the identification code ΔB are used as variables. The value of the bit length Z is calculated by a function operation having only a function operation or random number data ΔA as a variable. In other words,

Z = i(ΔA, ΔB) 또는Z = i (ΔA, ΔB) or

Z = i(ΔA)Z = i (ΔA)

S5'에서는 전술한 바와 같이 산출한 비트 길이(Z)의 값에 의거하여 식별코드(ΔB)의 첫 번째 비트(LSB)에서 Z번째의 비트까지의 코드(A1Z)를 추출하고 그 코드(A1Z)를 비트길이 변경후의 식별코드(ΔB')로서 얻는다.In S5 ', the code A 1Z from the first bit LSB of the identification code ΔB to the Zth bit is extracted based on the value of the bit length Z calculated as described above, and the code A 1Z ) is obtained as an identification code ΔB 'after the bit length is changed.

또 이 경우에 있어서 식별코드(ΔB)의 MSB에서 하위(下位) 비트를 향하여 Z번째가 되는 비트까지를 추출함으로써 식별코드(ΔB')를 구하는 구성으로 하여도 무방하다.In this case, the identification code? B 'may be obtained by extracting up to the Z-th bit from the MSB of the identification code? B toward the lower bit.

마이크로컴퓨터(3)는 이와 같이 하여 식별코드(ΔB')를 구한 뒤에는 그 식별코드(ΔB')를 포함하는 응답신호를 송신하는 동작을 하고(S6), 그 후에 S1으로 되돌아 간다.After the microcomputer 3 obtains the identification code? B 'in this manner, the microcomputer 3 operates to transmit a response signal including the identification code? B' (S6), and then returns to S1.

도5에는 상기 제1실시예의 구성에 변경을 가한 본 발명의 제3실시예가 나타나 있다. 이하, 이에 대하여 제1실시예와 다른 부분만을 설명한다.5 shows a third embodiment of the present invention in which the configuration of the first embodiment is changed. Only parts different from those of the first embodiment will be described below.

즉 제3실시예는 송수신유니트(2)측의 마이크로컴퓨터(3)에 의한 식별코드(ΔB)의 비트 길이 변경제어의 전 단계에서 당해 식별코드(ΔB)를 소정의 암호화 방식으로 암호화하고 이 암호화후의 식별코드에 대하여 비트길이 변경제어를 하는 점에 특징이 있는 것으로서, 도5의 플로우챠트에는 그 제어내용이 나타나 있다.In other words, the third embodiment encrypts the identification code? B by a predetermined encryption method in the previous step of the bit length change control of the identification code? B by the microcomputer 3 on the transmission / reception unit 2 side. A characteristic feature is that the bit length change control is performed on the following identification code, and the control content is shown in the flowchart of FIG.

도5에 있어서 마이크로컴퓨터(3)는 난수 데이터(ΔA)를 포함하는 질문신호를 수신한 때(R1에서 YES)에는 EEPROM(4)로부터 식별코드(ΔB) 및 함수식(f, g, h)를 읽고(R2), 그 이후의 R3 ~ R6에 있어서 상기 식별코드(ΔB)의 비트길이를함수식(f, g, h) 및 수신한 난수데이터(ΔA)에 의거하여 변경하고 식별코드(ΔB')을 구하기 위한 연산을 한다.In Fig. 5, when the microcomputer 3 receives a question signal containing random number data ΔA (Yes from R1), the microcomputer 3 receives the identification code ΔB and the function expressions (f, g, h) from the EEPROM 4; After reading (R2), the bit length of the identification code (ΔB) in R3 to R6 thereafter is changed based on the function expressions (f, g, h) and the received random number data (ΔA), and the identification code (ΔB '). Calculate to find

이 경우 상기 함수식(f)은 식별코드(ΔB)를 암호화하기 위한 것으로서, 예를 들어 종래의 롤링코드 방식의 암호화를 당해 함수식(f)로서 채용하는 것도 가능하다. 본 실시예에서는 R3에서 난수 데이터(ΔA) 및 식별코드(ΔB) 모두를 변수로 한 함수연산에 의하여 식별코드(ΔB)를 암호화환 소정의 비트길이(예를 들어 40 ~ 48비트)의 암호코드(Amax)를 산출한다. 즉,In this case, the function (f) is for encrypting the identification code (ΔB). For example, it is also possible to employ a conventional rolling code method as the function (f). In the present embodiment, an encryption code having a predetermined bit length (for example, 40 to 48 bits) is obtained by converting the identification code (ΔB) into a cryptographic ring by a function operation in which both the random data (ΔA) and the identification code (ΔB) are variables in R3. Calculate (A max ). In other words,

Amax= f(ΔA, ΔB)A max = f (ΔA, ΔB)

또 상기 함수식(g)은 비트 길이 변경후의 식별코드(ΔB')의 초기비트(LSB)가 상기 암호코드(Amax)의 및 번째의 비트(X번째의 비트)에 상당하는가를 산출하기 위한 것으로서, R4에서 난수 데이터(ΔA) 및 식별코드(ΔB) 모두를 변수로 한 함수연산 또는 난수데이터(ΔA)만을 변수로 한 함수연산에 의하여 X의 값을 산출한다. 즉,The function equation (g) is for calculating whether the initial bit LSB of the identification code ΔB 'after the bit length change corresponds to the bit of the encryption code A max and the bit of the X (bit X). The value of X is calculated at R4 by a function operation using both the random number data ΔA and the identification code ΔB as a variable or a function operation using only the random number data ΔA as a variable. In other words,

X = g(ΔA, ΔB) 또는X = g (ΔA, ΔB) or

X = g(ΔA)X = g (ΔA)

상기 함수식(h)은 비트 길이 변경후의 식별코드(ΔB')의 최종 비트(MSB)가 상기 암호코드(Amax)의 및 번째의 비트(Y번째의 비트)에 상당하는가를 산출하기 위한 것으로서, R5에서 난수데이터(ΔA) 및 식별코드(ΔB) 모두를 변수로 한 함수연산 또는 난수데이터(ΔA)만을 변수로 한 함수연산에 의하여 Y의 값을 산출한다. 즉,The function (h) is for calculating whether the last bit MSB of the identification code ΔB 'after the bit length change corresponds to the bit (Y-th bit) of the encryption code A max and In R5, the value of Y is calculated by a function operation using both the random number data ΔA and the identification code ΔB as a variable or a function operation using only the random number data ΔA as a variable. In other words,

Y = h(ΔA, ΔB) 또는Y = h (ΔA, ΔB) or

V = h(ΔA)V = h (ΔA)

R6에서는 전술한 바와 같이 산출한 X 및 Y의 값에 의거하여 암호코드(Amax)의 X번째의 비트에서 Y번째의 비트까지의 코드(AXY)를 추출하고 그 코드(AXY)를 비트길이 변경후의 식별코드(ΔB')로서 얻는다.In R6, the code A XY is extracted from the X th bit to the Y th bit of the encryption code Amax based on the values of X and Y calculated as described above, and the code A XY is the bit length. Obtained as the identification code ΔB 'after the change.

마이크로컴퓨터(3)는 이와 같이 하여 식별코드(ΔB')를 구한 뒤에는 그 식별코드(ΔB')를 포함하는 응답신호를 송신하는 동작을 하고(R7), 그 후에 S1으로 되돌아 간다.After the microcomputer 3 obtains the identification code ΔB 'in this manner, the microcomputer 3 operates to transmit a response signal including the identification code ΔB' (R7), and then returns to S1.

따라서 이와 같이 구성된 본 실시예에서도 제1실시예와 동일한 효과를 얻고, 특히 본 실시예에 의하면 응답신호에 포함되는 식별코드(ΔB')의 암호화가 2중으로 이루어지므로 송수신 유니트(2)로부터의 응답신호에 대하여의 비화성능이 비약적으로 향상된다.Therefore, in this embodiment configured as described above, the same effect as in the first embodiment is obtained, and in particular, according to the present embodiment, since the identification code ΔB 'included in the response signal is encrypted twice, the response from the transmission / reception unit 2 is obtained. The sparking performance with respect to a signal is remarkably improved.

도6에는 상기 제3실시예와 동일한 효과를 내는 발명의 제4실시예가 나타나 있다. 이하, 이에 대하여 제3실시예와 다른 부분만을 설명한다.Fig. 6 shows a fourth embodiment of the invention which has the same effect as the third embodiment. In the following, only portions different from those in the third embodiment will be described.

즉 본 제4실시예는 송수신 유니트(2)측의 마이크로컴퓨터(3)에 의한 식별코드(ΔB)의 비트 길이 변경제어의 내용이 송수신 시스템과 다른 것으로서, 도6의 플로우챠트에는 그 제어내용이 나타나 있다.In other words, in the fourth embodiment, the content of the bit length change control of the identification code? B by the microcomputer 3 on the side of the transmission / reception unit 2 is different from the transmission / reception system. Is shown.

도6에 있어서 마이크로컴퓨터(3)는 난수 데이터(ΔA)를 포함하는 질문신호를 수신한 때(R1에서 YES)에는 EEPROM(4)로부터 식별코드(ΔB) 및 함수식(f, i)를 읽고(R2'), 그 이후의 R3, R4' 및 R6'에서 상기 식별코드(ΔB)의 비트 길이를함수식(f, i) 및 수신한 난수 데이터(ΔA)에 의거하여 변경하고 식별코드(ΔB')을 구하기 위한 연산을 한다. 또 함수식(f, i)이 프로그램ROM중에 기억되는 구성에서는 상기와 같은 함수식(f, i)의 읽기(리딩)이 불필요하게 되는 것은 물론이다.In Fig. 6, when the microcomputer 3 receives a question signal containing random number data ΔA (Yes in R1), the microcomputer 3 reads the identification code ΔB and the function equations (f, i) from the EEPROM 4 ( R2 ') and subsequent bit lengths of the identification code ΔB in R3, R4' and R6 'are changed based on the function formula f and i and the received random number data ΔA and the identification code ΔB'. Calculate to find It goes without saying that in the configuration in which the function expressions (f, i) are stored in the program ROM, the reading (reading) of the function expressions (f, i) as described above is unnecessary.

이 경우 상기 함수식(f)은 제3실시예와 마찬가지로 식별코드(ΔB)를 암호화하기 위한 것으로서, R3에서 난수 데이터(ΔA) 및 식별코드(ΔB) 모두를 변수로 한 함수연산에 의하여 식별코드(ΔB)를 암호화한 소정의 비트 길이(예를 들어 40 ~ 48비트)의 암호코드(Amax)를 산출한다. 즉,In this case, the function equation (f) is for encrypting the identification code ΔB as in the third embodiment. An encryption code Amax of a predetermined bit length (for example, 40 to 48 bits) encrypted with ΔB) is calculated. In other words,

또 상기 함수식(i)은 비트길이 변경후의 식별코드(ΔB')의 비트길이(Z)를 산출하기 위한 것으로서, R4'에서는 난수데이터(ΔA) 및 식별코드(ΔB) 모두를 변수로 한 함수연산 또는 난수 데이터(ΔA)만을 변수로 하는 함수연산에 의하여 비트 길이(Z)의 값을 산출한다. 즉,The function formula (i) is for calculating the bit length Z of the identification code ΔB 'after the bit length is changed, and in R4', a function operation using both the random number data ΔA and the identification code ΔB as variables. Alternatively, the value of the bit length Z is calculated by a function operation having only random data ΔA as a variable. In other words,

Z = i(ΔA, ΔB) 또는Z = i (ΔA, ΔB) or

Z = i(ΔA)Z = i (ΔA)

R6'에서는 전술한 바와 같이 산출한 비트 길이(Z)의 값에 의거하여 상기 암호코드(Amax)의 첫 번째의 비트(LSB)에서 Z번째의 비트까지의 코드(A1Z)를 추출하고 그 코드(A1Z)를 비트 길이 변경후의 식별코드(ΔB')로서 얻는다. 또 이 경우에 있어서 암호코드(Amax)의 MSB에서 하위 비트를 향하여 Z번째가 되는 비트까지를 추출함으로써 식별코드(ΔB')를 구하는 구성으로 하여도 무방하다.In R6 ', the code A 1Z from the first bit LSB of the encryption code Amax to the Z-th bit is extracted based on the value of the bit length Z calculated as described above. (A 1Z ) is obtained as the identification code ΔB 'after the bit length change. In this case, the identification code? B 'may be obtained by extracting the Z-th bit from the MSB of the encryption code A max toward the lower bit.

마이크로컴퓨터(3)는 이와 같이 하여 식별코드(ΔB')를 구한 뒤에는 그 식별코드(ΔB')를 포함하는 응답신호를 송신하는 동작을 하고(R7), 그 후에 S1으로 되돌아 간다.After the microcomputer 3 obtains the identification code ΔB 'in this manner, the microcomputer 3 operates to transmit a response signal including the identification code ΔB' (R7), and then returns to S1.

또한 본 발명은 상기한 실시예에 한정되는 것은 아니고, 이하에 설명하는 바와 같은 확대 혹은 변형이 가능하다.In addition, this invention is not limited to an Example mentioned above, The expansion or a deformation | transformation which are demonstrated below are possible.

제3실시예 및 제4실시예의 각 실시예에서는, 송수신 유니트(2)측에서 식별코드(ΔB)를 함수식(f)을 이용하여 암호한 후에 그 암호코드(Amax)의 비트 길이를 변경하는 구성으로 하였으나, 식별코드(ΔB)의 비트길이를 변경한 뒤에 그 변경후의 식별코드를 함수식(f)을 사용하여 암호화하는 구성으로 하여도 무방하다.In each embodiment of the third and fourth embodiments, the bit length of the encryption code A max is changed after encrypting the identification code ΔB using the function f in the transmission / reception unit 2 side. However, the configuration may be such that after changing the bit length of the identification code (DELTA) B, the identification code after the change is encrypted using the function (f).

송수신ECU(70)측에서의 디코드 동작은 EEPROM(25)에 기억되어 있는 난수 데이터(ΔA), 식별코드(ΔB) 및 함수식(g, h)에 의거하여 송수신 유니트(2)측의 마이크로컴퓨터(3)와 동일한 연산을 함으로써 식별코드(ΔB')를 산출하여 그 식별코드(ΔB')와, 송수신 유니트(2)측에서 회신된 응답신호에 포함되는 식별코드(ΔB')를 비교함으로써 이루어지는 구성으로 하였으나, 상기 응답신호에 포함되는 식별코드(ΔB')에서 식별코드(ΔB)를 산출하는 연산을 하고, 이 연산결과를 EEPROM(25)에 기억되어 있는 난수데이터(ΔA)와 비교함으로써 디코드 동작을 하는 구성으로 하여도 좋은 등 여러 디코드의 동작이 가능하다. 전력신호(반송파 신호) 및 질문신호에 응답하여 응답신호를 회신하는 트랜스폰더 기능을 갖춘 송수신 유니트(2)를 예로 들었으나 별도로 전원을 갖추는 통상의 송수신 유니트에 적용하여도 무방하다. 응답신호의 암호화 수법은 상기 실시예에 한정되는 것은 아니다.The decoding operation on the transmission / reception ECU 70 side is performed by the microcomputer 3 on the transmission / reception unit 2 side based on the random number data ΔA, the identification code ΔB and the function equations g and h stored in the EEPROM 25. The identification code ΔB 'is calculated by performing the same operation as described above, and the identification code ΔB' is compared with the identification code ΔB 'included in the response signal returned from the transmission / reception unit 2 side. And calculating the identification code ΔB from the identification code ΔB ′ included in the response signal, and performing the decoding operation by comparing the operation result with the random number data ΔA stored in the EEPROM 25. Various decode operations are possible, such as a configuration. Although a transmission / reception unit 2 having a transponder function for returning a response signal in response to a power signal (carrier signal) and a question signal has been exemplified, it may be applied to a general transmission / reception unit having a separate power source. The encryption method of the response signal is not limited to the above embodiment.

본 발명에 의하면, 이상의 설명에 의하여 명백한 바와 같이 질문기로부터의 질문신호에 응답하여 미리 기억되어 있는 식별코드를 포함하는 응답신호를 회신하는 응답기를 갖추는 구성으로 하는 경우, 응답기측에서 상기 식별코드의 비트 길이를 수신한 난수 데이터 및 소정의 함수식을 사용하여 변경함과 아울러 그 변경후의 식별코드를 포함하는 응답신호를 회신하는 구성으로 함으로써 당해 응답신호에 대한 비화성능의 대폭적인 향상을 간단한 구성으로 실현할 수 있다는 유익한 효과가 있다.According to the present invention, as apparent from the above description, when the answering machine is provided with a response device for returning a response signal including an identification code stored in advance in response to the question signal from the interrogator, By changing the bit length using the received random number data and a predetermined function, and returning a response signal including the identification code after the change, a significant improvement in the deactivation performance of the response signal can be realized. It can have a beneficial effect.

Claims (3)

질문기로부터의 질문신호를 수신한 때에 당해 질문신호에 응답하여 미리 기억된 식별코드를 포함하는 응답신호를 당해 질문기로 회신하는 응답기를 갖춘 송수신 시스템에 있어서,A transmitting / receiving system having a transponder for returning a response signal including an identification code stored in advance in response to the interrogation signal to the interrogator when the interrogation signal from the interrogator is received, 상기 질문기측에 상기 질문신호와 함께 난수데이터를 송신하는 기능과, 수신한 응답신호의 적부(適否)를 상기 난수데이터 및 자신이 기억하고 있는 상기 식별코드에 의거한 연산에 의하여 판정하는 기능을 설정하고,A function of transmitting random number data together with the question signal to the interrogator side and a function of determining whether or not the received response signal is arithmetic based on the random number data and the identification code stored therein; and, 상기 응답기측에 상기 기억 식별코드의 비트 길이를, 수신한 난수 데이터 및 소정의 연산에 의거하여 변경하는 기능과, 그 변경후의 식별코드를 포함하는 응답신호를 회신하는 기능을 설정한 것을 특징으로 하는 송수신 시스템.And a function of changing the bit length of the storage identification code based on the received random number data and a predetermined operation, and returning a response signal including the identification code after the change to the answering machine side. Transceiver system. 제1항에 있어서,The method of claim 1, 상기 응답기는, 상기 기억식별코드를 소정의 암호화 방식으로 암호화함과 아울러 그 암호화후의 식별코드의 비트길이를 수신한 난수 데이터 및 소정의 연산에 의거하여 변경하고, 그 변경후의 식별 코드를 포함하는 응답신호를 회신하는 구성으로 된 것을 특징으로 하는 송수신 시스템.The answering machine encrypts the storage identification code by a predetermined encryption method, changes the bit length of the identification code after the encryption based on the received random number data and a predetermined operation, and includes a response including the identification code after the change. Transmitting and receiving system, characterized in that the configuration for returning a signal. 제1항에 있어서,The method of claim 1, 상기 응답기는, 상기 기억 식별코드의 비트 길이를, 수신한 난수데이터 및소정의 연산에 의거하여 변경한 후에 변경후의 식별코드를 소정의 암호화 방식으로 암호화하고 그 암호화된 식별코드를 포함하는 응답신호를 회신하는 구성으로 된 것을 특징으로 하는 송수신 시스템.The responder changes the bit length of the storage identification code based on the received random number data and a predetermined operation, and then encrypts the changed identification code by a predetermined encryption method and outputs a response signal including the encrypted identification code. Transmitting and receiving system, characterized in that the configuration to return.
KR1019960051503A 1995-11-21 1996-11-01 Transceiver system KR100387141B1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP30261195A JPH09149480A (en) 1995-11-21 1995-11-21 Transmission and reception system
JP7-302611 1995-11-21

Publications (2)

Publication Number Publication Date
KR970031412A KR970031412A (en) 1997-06-26
KR100387141B1 true KR100387141B1 (en) 2003-08-19

Family

ID=17911073

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019960051503A KR100387141B1 (en) 1995-11-21 1996-11-01 Transceiver system

Country Status (2)

Country Link
JP (1) JPH09149480A (en)
KR (1) KR100387141B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101519777B1 (en) * 2014-01-29 2015-05-12 현대자동차주식회사 Data trasmission method between controllers in a vehicle Network and data reception method between Controllers in the vehicle network

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107199988B (en) * 2017-05-27 2019-05-17 东风汽车公司 A kind of engine anti-theft locking circuit suitable for 12V and 24V system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101519777B1 (en) * 2014-01-29 2015-05-12 현대자동차주식회사 Data trasmission method between controllers in a vehicle Network and data reception method between Controllers in the vehicle network
US9900388B2 (en) 2014-01-29 2018-02-20 Hyundai Motor Company Data transmission method and data reception method between controllers in vehicle network

Also Published As

Publication number Publication date
KR970031412A (en) 1997-06-26
JPH09149480A (en) 1997-06-06

Similar Documents

Publication Publication Date Title
JP3890510B2 (en) Method for cryptographic authentication in a radio frequency identification system
JP3667760B2 (en) Vehicle start permission device and identification code registration method
JP2784309B2 (en) Remote control security system
KR100503492B1 (en) Code signal transmitter, especially for an anti-theft system in a motor vehicle
EP0892134B1 (en) Locking device for vehicles
US6980655B2 (en) Rolling code security system
CA2041248C (en) Security module for radio telephone
US8633797B2 (en) Rolling code security system
US5897598A (en) Method for operating an anti-theft system for a motor vehicle and anti-theft system for performing the method
KR970021600A (en) Keyless remote entry system and floating system for cars
JP4026988B2 (en) Immobilizer and authentication method using immobilizer
KR100387140B1 (en) Transceiver system
US5844990A (en) Transmission-reception system
KR100374484B1 (en) Apparatus and method for electronic encoding and decoding
US5864302A (en) Transmitting and receiving system
KR100387141B1 (en) Transceiver system
KR100387142B1 (en) Transceiver
JP2002515158A (en) Method and apparatus useful for encoder having voltage level detection circuit
EP0961438B1 (en) Authentication system, authentication device, authentication data producing device, and authentication method
CN109552249B (en) Close-range PEPS intelligent key matching system and method
JP5045903B2 (en) Vehicle control device
JP2824021B2 (en) Remote control device
US20050268088A1 (en) Vehicle control system, and in-vehicle control apparatus and mobile device used therefor
JPH09100767A (en) Engine abnormal starting prevention device
JPH09185690A (en) Communication system

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20100525

Year of fee payment: 8

LAPS Lapse due to unpaid annual fee