KR20240023895A - Electric two wheeled vehicle with battery authentication function and control method thereof - Google Patents

Electric two wheeled vehicle with battery authentication function and control method thereof Download PDF

Info

Publication number
KR20240023895A
KR20240023895A KR1020220102171A KR20220102171A KR20240023895A KR 20240023895 A KR20240023895 A KR 20240023895A KR 1020220102171 A KR1020220102171 A KR 1020220102171A KR 20220102171 A KR20220102171 A KR 20220102171A KR 20240023895 A KR20240023895 A KR 20240023895A
Authority
KR
South Korea
Prior art keywords
battery
authentication
nfc
vehicle controller
electric
Prior art date
Application number
KR1020220102171A
Other languages
Korean (ko)
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 주식회사 현대케피코
Priority to KR1020220102171A priority Critical patent/KR20240023895A/en
Publication of KR20240023895A publication Critical patent/KR20240023895A/en

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60LPROPULSION OF ELECTRICALLY-PROPELLED VEHICLES; SUPPLYING ELECTRIC POWER FOR AUXILIARY EQUIPMENT OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRODYNAMIC BRAKE SYSTEMS FOR VEHICLES IN GENERAL; MAGNETIC SUSPENSION OR LEVITATION FOR VEHICLES; MONITORING OPERATING VARIABLES OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRIC SAFETY DEVICES FOR ELECTRICALLY-PROPELLED VEHICLES
    • B60L53/00Methods of charging batteries, specially adapted for electric vehicles; Charging stations or on-board charging equipment therefor; Exchange of energy storage elements in electric vehicles
    • B60L53/80Exchanging energy storage elements, e.g. removable batteries
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60LPROPULSION OF ELECTRICALLY-PROPELLED VEHICLES; SUPPLYING ELECTRIC POWER FOR AUXILIARY EQUIPMENT OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRODYNAMIC BRAKE SYSTEMS FOR VEHICLES IN GENERAL; MAGNETIC SUSPENSION OR LEVITATION FOR VEHICLES; MONITORING OPERATING VARIABLES OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRIC SAFETY DEVICES FOR ELECTRICALLY-PROPELLED VEHICLES
    • B60L53/00Methods of charging batteries, specially adapted for electric vehicles; Charging stations or on-board charging equipment therefor; Exchange of energy storage elements in electric vehicles
    • B60L53/30Constructional details of charging stations
    • B60L53/305Communication interfaces
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60LPROPULSION OF ELECTRICALLY-PROPELLED VEHICLES; SUPPLYING ELECTRIC POWER FOR AUXILIARY EQUIPMENT OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRODYNAMIC BRAKE SYSTEMS FOR VEHICLES IN GENERAL; MAGNETIC SUSPENSION OR LEVITATION FOR VEHICLES; MONITORING OPERATING VARIABLES OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRIC SAFETY DEVICES FOR ELECTRICALLY-PROPELLED VEHICLES
    • B60L58/00Methods or circuit arrangements for monitoring or controlling batteries or fuel cells, specially adapted for electric vehicles
    • B60L58/10Methods or circuit arrangements for monitoring or controlling batteries or fuel cells, specially adapted for electric vehicles for monitoring or controlling batteries
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/60Context-dependent security
    • H04W12/69Identity-dependent
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60LPROPULSION OF ELECTRICALLY-PROPELLED VEHICLES; SUPPLYING ELECTRIC POWER FOR AUXILIARY EQUIPMENT OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRODYNAMIC BRAKE SYSTEMS FOR VEHICLES IN GENERAL; MAGNETIC SUSPENSION OR LEVITATION FOR VEHICLES; MONITORING OPERATING VARIABLES OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRIC SAFETY DEVICES FOR ELECTRICALLY-PROPELLED VEHICLES
    • B60L2200/00Type of vehicles
    • B60L2200/12Bikes
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60YINDEXING SCHEME RELATING TO ASPECTS CROSS-CUTTING VEHICLE TECHNOLOGY
    • B60Y2200/00Type of vehicle
    • B60Y2200/90Vehicles comprising electric prime movers
    • B60Y2200/91Electric vehicles
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T10/00Road transport of goods or passengers
    • Y02T10/60Other road transportation technologies with climate change mitigation effect
    • Y02T10/70Energy storage systems for electromobility, e.g. batteries
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T10/00Road transport of goods or passengers
    • Y02T10/60Other road transportation technologies with climate change mitigation effect
    • Y02T10/72Electric energy management in electromobility

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Transportation (AREA)
  • Mechanical Engineering (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Sustainable Development (AREA)
  • Sustainable Energy (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)
  • Electric Propulsion And Braking For Vehicles (AREA)

Abstract

본 발명의 바람직한 실시예에 따른 배터리 인증 기능을 구비한 전동 이륜 차량은, 배터리의 교체 요청 수신시, 상기 배터리의 NFC 타입을 판단하는 차량 제어기, 상기 배터리가 NFC P2P 타입인 경우, 상기 배터리의 인증 정보를 NFC P2P 방식으로 전달하는 배터리 관리 시스템, 및 상기 배터리의 인증 정보를 이용하여 미리 마련된 인증 알고리즘을 수행하는 NFC 모듈를 포함한다.An electric two-wheeled vehicle equipped with a battery authentication function according to a preferred embodiment of the present invention includes a vehicle controller that determines the NFC type of the battery when receiving a request for battery replacement, and, if the battery is an NFC P2P type, authentication of the battery. It includes a battery management system that transmits information in an NFC P2P method, and an NFC module that performs a pre-set authentication algorithm using authentication information of the battery.

Description

배터리 인증 기능을 구비한 전동 이륜 차량 및 그것의 제어 방법{ELECTRIC TWO WHEELED VEHICLE WITH BATTERY AUTHENTICATION FUNCTION AND CONTROL METHOD THEREOF}Electric two-wheeled vehicle with battery authentication function and control method thereof {ELECTRIC TWO WHEELED VEHICLE WITH BATTERY AUTHENTICATION FUNCTION AND CONTROL METHOD THEREOF}

본 발명은 배터리 인증 기능을 구비한 전동 이륜 차량 및 그것의 제어 방법에 관한 것이다.The present invention relates to an electric two-wheeled vehicle equipped with a battery authentication function and a control method thereof.

전동 이륜 차량은 고전압 배터리의 전압을 모터에 공급하여 모터를 통해 동력을 생성한다. 전동 이륜 차량의 고전압 배터리가 방전 상태가 되면, 전동 이륜 차량은 사용자에 의해 근처 교환소로 이동하여 배터리의 교체 또는 충전기를 통해 배터리의 충전이 수행된다.Electric two-wheeled vehicles generate power through the motor by supplying voltage from a high-voltage battery to the motor. When the high-voltage battery of an electric two-wheeled vehicle is discharged, the user moves the electric two-wheeled vehicle to a nearby exchange shop and replaces the battery or charges the battery through a charger.

전동 이륜 차량은 배터리 교체 또는 충전시 맞춤식으로 운용 및 관리하는 전용 교환소를 이용해야 하며, 전용 교환소에서 정해진 절차에 따라 배터리의 교체 또는 충전이 이루어진다. 정해진 절차에는 사용자 인증이나 배터리 인증과 같은 절차가 있다.When replacing or charging the battery of an electric two-wheeled vehicle, a dedicated exchange center that is operated and managed in a customized manner must be used, and the battery is replaced or charged according to established procedures at the dedicated exchange center. Established procedures include procedures such as user authentication and battery authentication.

일반적으로 전동 이륜 차량은 전용 교환소에서 배터리 장착이 완료되면, 배터리 인증을 통해 운행이 가능하도록 구성되어 있다. 이는 전동 이륜 차량의 제조 업체에서 제공하는 배터리, 또는 전용 충전소에서 제공하는 배터리만 사용하도록 유도함으로써, 배터리 관리 및 차량 성능을 최적으로 유지하기 위함이다.In general, electric two-wheeled vehicles are configured so that they can be driven through battery certification once the battery installation is completed at a dedicated exchange center. This is to maintain optimal battery management and vehicle performance by encouraging the use of only batteries provided by manufacturers of electric two-wheeled vehicles or batteries provided by dedicated charging stations.

그러나, 일반적인 배터리 인증 방법은 외부 공격에 의해 쉽게 보안 해제되어 전동 이륜 차량의 배터리 관리 및 성능을 최적으로 유지하기 어려운 문제가 있다.However, general battery authentication methods are easily desecured by external attacks, making it difficult to maintain optimal battery management and performance of electric two-wheeled vehicles.

대한민국 공개특허 제10-2021-0070475호Republic of Korea Patent Publication No. 10-2021-0070475

이에 본 발명은 상기한 사정을 감안하여 안출된 것으로, NFC를 이용한 배터리 인증을 통해 보안성 유지가 가능한 배터리 인증 기능을 구비한 전동 이륜 차량 및 그것의 제어 방법을 제공하는 것을 목적으로 한다.Accordingly, the present invention was developed in consideration of the above-mentioned circumstances, and its purpose is to provide an electric two-wheeled vehicle equipped with a battery authentication function that can maintain security through battery authentication using NFC and a control method thereof.

상기 목적을 달성하기 위한 본 발명의 바람직한 실시예에 따른 배터리 인증 기능을 구비한 전동 이륜 차량은, 배터리의 교체 요청 수신시, 상기 배터리의 NFC 타입을 판단하는 차량 제어기; 상기 배터리가 NFC P2P 타입인 경우, 상기 배터리의 인증 정보를 NFC P2P 방식으로 전달하는 배터리 관리 시스템; 및 상기 배터리의 인증 정보를 이용하여 미리 마련된 인증 알고리즘을 수행하는 NFC 모듈;를 포함한다.An electric two-wheeled vehicle equipped with a battery authentication function according to a preferred embodiment of the present invention for achieving the above object includes: a vehicle controller that determines the NFC type of the battery when receiving a request for replacement of the battery; When the battery is an NFC P2P type, a battery management system that transmits authentication information of the battery through NFC P2P method; and an NFC module that performs a preset authentication algorithm using the authentication information of the battery.

상기 배터리의 인증 정보는, 상기 배터리의 ID와 상기 차량 제어기의 고유 ID를 포함하는 암호화 문자열, XOR 문자열, 랜덤 데이터에 의해 변형된 배터리 ID, 상기 변형된 배터리 ID가 암호화되어 생성되는 암호화 배터리 ID, 및 상기 랜덤 데이터를 포함할 수 있다.The authentication information of the battery includes an encrypted string including the ID of the battery and the unique ID of the vehicle controller, an XOR string, a battery ID modified by random data, an encrypted battery ID generated by encrypting the modified battery ID, And it may include the random data.

상기 NFC 모듈은, 상기 암호화 문자열의 배터리 ID와 상기 암호화 배터리 ID를 이용하여 배터리 인증 성공 여부를 판단할 수 있다.The NFC module may determine whether battery authentication is successful using the battery ID of the encryption string and the encryption battery ID.

상기 NFC 모듈은, 상기 인증 알고리즘에 따른 배터리 인증 성공시, 상기 차량 제어기와의 CAN 포트를 활성화하고, 인증 성공 정보를 상기 차량 제어기로 전송할 수 있다.When battery authentication is successful according to the authentication algorithm, the NFC module may activate a CAN port with the vehicle controller and transmit authentication success information to the vehicle controller.

상기 차량 제어기는, 상기 NFC 모듈로부터 인증 성공 정보를 수신하는 경우, 기설정된 정상 시퀀스 동작을 수행하고, 상기 배터리 관리 시스템의 배터리 상태 정보를 이용하여 차량 제어를 수행할 수 있다.When receiving authentication success information from the NFC module, the vehicle controller may perform a preset normal sequence operation and perform vehicle control using battery state information of the battery management system.

상기 목적을 달성하기 위한 본 발명의 다른 실시예에 따른 배터리 인증 기능을 구비한 전동 이륜 차량은, 배터리의 교체 요청 수신시, 상기 배터리의 NFC 타입을 판단하는 차량 제어기; 상기 배터리가 NFC 태그 타입인 경우, 상기 배터리의 인증 정보를 NFC 태그 방식으로 전달하는 배터리 관리 시스템; 및 상기 배터리의 인증 정보를 읽은 후 상기 차량 제어기로 전달하는 NFC 모듈;을 포함한다.An electric two-wheeled vehicle equipped with a battery authentication function according to another embodiment of the present invention for achieving the above object includes: a vehicle controller that determines the NFC type of the battery when receiving a request for battery replacement; When the battery is an NFC tag type, a battery management system that transmits authentication information of the battery using an NFC tag method; and an NFC module that reads the authentication information of the battery and transmits it to the vehicle controller.

상기 배터리의 인증 정보는, 상기 배터리의 ID와 상기 차량 제어기의 고유 ID를 포함하는 암호화 문자열, XOR 문자열, 랜덤 데이터에 의해 변형된 배터리 ID, 상기 변형된 배터리 ID가 암호화되어 생성되는 암호화 배터리 ID, 및 상기 랜덤 데이터를 포함할 수 있다.The authentication information of the battery includes an encrypted string including the ID of the battery and the unique ID of the vehicle controller, an XOR string, a battery ID modified by random data, an encrypted battery ID generated by encrypting the modified battery ID, And it may include the random data.

상기 차량 제어기는, 상기 배터리의 인증 정보를 이용하여 미리 마련된 인증 알고리즘을 수행할 수 있다.The vehicle controller may perform a previously prepared authentication algorithm using authentication information of the battery.

상기 차량 제어기는, 상기 암호화 문자열의 배터리 ID와 상기 변형된 배터리 ID를 이용하여 배터리 인증 성공 여부를 판단할 수 있다.The vehicle controller may determine whether battery authentication is successful using the battery ID of the encrypted string and the modified battery ID.

상기 차량 제어기는 상기 인증 알고리즘에 따른 배터리 인증 성공시, 기설정된 정상 시퀀스 동작을 수행하고, 상기 배터리 관리 시스템의 배터리 상태 정보를 이용하여 차량 제어를 수행할 수 있다.When battery authentication according to the authentication algorithm is successful, the vehicle controller may perform a preset normal sequence operation and perform vehicle control using battery state information of the battery management system.

상기 목적을 달성하기 위한 본 발명의 바람직한 실시예에 따른 전동 이륜 차량의 제어 방법은, 차량 제어기가 배터리 교체 요청 수신시, 상기 배터리의 NFC 타입을 판단하는 NFC 타입 판단 단계; 상기 배터리가 NFC P2P 타입인 경우, 배터리 관리 시스템이 배터리 인증 정보를 NFC 모듈로 P2P 방식으로 전달하는 인증 정보 전달 단계; 상기 NFC 모듈이 상기 배터리 인증 정보를 이용하여 미리 마련된 인증 알고리즘을 수행하는 인증 단계; 및 상기 차량 제어기가 상기 인증 알고리즘에 따른 배터리 인증 성공시, 기설정된 정상 시퀀스 동작을 수행하는 정상 동작 단계:를 포함한다.A control method of an electric two-wheeled vehicle according to a preferred embodiment of the present invention for achieving the above object includes an NFC type determination step of determining the NFC type of the battery when the vehicle controller receives a battery replacement request; If the battery is an NFC P2P type, an authentication information transmission step in which the battery management system transmits battery authentication information to the NFC module in a P2P method; An authentication step in which the NFC module performs a preset authentication algorithm using the battery authentication information; and a normal operation step in which the vehicle controller performs a preset normal sequence operation upon successful battery authentication according to the authentication algorithm.

상기 NFC 타입 판단 단계 이후에 상기 배터리가 NFC 태그 타입인 경우, 상기 배터리 관리 시스템이 상기 배터리 인증 정보를 상기 NFC 모듈로 태그 방식으로 전달하는 태그 단계;를 더 포함할 수 있다.If the battery is an NFC tag type after the NFC type determination step, the battery management system may further include a tag step of transmitting the battery authentication information to the NFC module using a tag method.

상기 태그 단계 이후에 상기 NFC 모듈이 상기 배터리 인증 정보를 리드한 후 상기 차량 제어기에 전달하는 정보 리드 단계;를 더 포함할 수 있다.It may further include an information read step in which the NFC module reads the battery authentication information after the tag step and then transmits the battery authentication information to the vehicle controller.

상기 정보 리드 단계 이후에 상기 인증 단계에서, 상기 차량 제어기가 상기 배터리 인증 정보를 이용하여 상기 인증 알고리즘을 수행할 수 있다.In the authentication step after the information read step, the vehicle controller may perform the authentication algorithm using the battery authentication information.

상기 배터리 인증 정보는, 배터리 ID와 차량 제어기 고유 ID를 포함하는 암호화 문자열, XOR 문자열, 랜덤 데이터에 의해 변형된 배터리 ID, 상기 변형된 배터리 ID가 암호화되어 생성되는 암호화 배터리 ID, 및 상기 랜덤 데이터를 포함할 수 있다.The battery authentication information includes an encrypted string including a battery ID and a vehicle controller unique ID, an XOR string, a battery ID modified by random data, an encrypted battery ID generated by encrypting the modified battery ID, and the random data. It can be included.

상기 인증 단계 이후에 상기 배터리가 상기 NFC P2P 타입인 경우, 상기 NFC 모듈이 상기 암호화 문자열의 배터리 ID와 상기 암호화 배터리 ID를 이용하여 배터리 인증 성공 여부를 판단하거나, 또는 상기 인증 단계 이후에 상기 배터리가 상기 NFC 태그 타입인 경우, 상기 차량 제어기가 상기 암호화 문자열의 배터리 ID와 상기 변형된 배터리 ID를 이용하여 배터리 인증 성공 여부를 판단하는 성공 판단 단계;를 더 포함할 수 있다.After the authentication step, if the battery is the NFC P2P type, the NFC module determines whether battery authentication is successful using the battery ID of the encryption string and the encryption battery ID, or after the authentication step, the battery is In the case of the NFC tag type, the method may further include a success determination step in which the vehicle controller determines whether battery authentication is successful using the battery ID of the encrypted string and the modified battery ID.

상기 성공 판단 단계에서 상기 배터리 인증 성공 및 상기 배터리가 상기 NFC P2P 타입인 경우, 상기 NFC 모듈이 상기 차량 제어기와의 CAN 포트를 활성화하고, 인증 성공 정보를 상기 차량 제어기로 전송하는 활성화 단계;를 더 포함할 수 있다.In the success determination step, if the battery authentication is successful and the battery is the NFC P2P type, an activation step of the NFC module activating a CAN port with the vehicle controller and transmitting authentication success information to the vehicle controller; It can be included.

상기 정상 동작 단계 이후에 상기 차량 제어기가 상기 배터리 관리 시스템에 배터리 제어 명령을 전송하고, 상기 배터리 관리 시스템으로부터 배터리 상태 정보를 수신하는 배터리 제어 단계; 및 상기 차량 제어기가 상기 배터리 상태 정보를 이용하여 차량을 제어하는 차량 제어 단계;를 더 포함할 수 있다.A battery control step in which the vehicle controller transmits a battery control command to the battery management system and receives battery status information from the battery management system after the normal operation step; and a vehicle control step in which the vehicle controller controls the vehicle using the battery state information.

상기 성공 판단 단계에서 상기 배터리 인증 실패 및 상기 배터리가 상기 NFC P2P 타입인 경우, 상기 NFC 모듈이 상기 차량 제어기와의 CAN 포트 비활성화를 유지하는 비활성화 단계;를 더 포함할 수 있다.If the battery authentication fails in the success determination step and the battery is the NFC P2P type, the method may further include a deactivation step in which the NFC module maintains deactivation of the CAN port with the vehicle controller.

본 발명의 바람직한 실시예에 따른 배터리 인증 기능을 구비한 전동 이륜 차량 및 그것의 제어 방법에 의하면, NFC를 이용한 배터리 특화 인증 기법을 도입하여 배터리 교체시 배터리 장착부에 구비된 NFC 모듈을 통해 배터리 인증을 수행하고, 배터리 인증을 통해 차량 운행을 가능하게 함으로써, 높은 보안성을 가지고, 배터리 운영 및 관리 측면에서 효율적인 배터리 모니터링이 가능한 효과가 있다.According to the electric two-wheeled vehicle equipped with a battery authentication function and its control method according to a preferred embodiment of the present invention, a battery-specific authentication technique using NFC is introduced to perform battery authentication through an NFC module provided in the battery mounting portion when replacing the battery. This has the effect of enabling efficient battery monitoring in terms of battery operation and management with high security by enabling vehicle operation through battery authentication.

또한, 배터리 인증에서 핵심적으로 사용되는 배터리 ID가 차량 제어기를 통하지 않은 채 서버 및 전용 충전소에서 직접적으로 배터리에 전달됨에 따라 배터리 ID의 보안성이 증가하는 효과도 있다.In addition, the security of the battery ID is increased as the battery ID, which is key in battery authentication, is transmitted directly to the battery from the server and dedicated charging station without going through the vehicle controller.

도 1은 본 발명의 바람직한 실시예에 따른 배터리 인증 기능을 구비한 전동 이륜 차량의 구성도이다.
도 2는 NFC P2P 타입의 배터리 NFC 인증 과정을 설명하기 위한 도면이다.
도 3은 본 발명의 다른 실시예에 따른 배터리 인증 기능을 구비한 전동 이륜 차량의 구성도이다.
도 4는 NFC 태그 방식의 배터리 NFC 인증 과정을 설명하기 위한 도면이다.
도 5는 본 발명의 바람직한 실시예에 따른 배터리 인증 기능을 구비한 전동 이륜 차량의 제어 방법의 순서도이다.
1 is a configuration diagram of an electric two-wheeled vehicle equipped with a battery authentication function according to a preferred embodiment of the present invention.
Figure 2 is a diagram for explaining the NFC P2P type battery NFC authentication process.
Figure 3 is a configuration diagram of an electric two-wheeled vehicle equipped with a battery authentication function according to another embodiment of the present invention.
Figure 4 is a diagram for explaining the NFC tag-type battery NFC authentication process.
Figure 5 is a flowchart of a control method for an electric two-wheeled vehicle equipped with a battery authentication function according to a preferred embodiment of the present invention.

이하, 본 발명의 바람직한 실시예를 첨부된 도면들을 참조하여 상세히 설명한다. 우선 각 도면의 구성 요소들에 참조 부호를 부가함에 있어서, 동일한 구성 요소들에 대해서는 비록 다른 도면상에 표시되더라도 가능한 한 동일한 부호를 가지도록 하고 있음에 유의해야 한다. 또한, 이하에서 본 발명의 바람직한 실시예를 설명할 것이나, 본 발명의 기술적 사상은 이에 한정하거나 제한되지 않고 당업자에 의해 변형되어 다양하게 실시될 수 있음은 물론이다.Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the attached drawings. First, when adding reference signs to components in each drawing, it should be noted that the same components are given the same reference numerals as much as possible even if they are shown in different drawings. In addition, preferred embodiments of the present invention will be described below, but the technical idea of the present invention is not limited or restricted thereto, and of course, it can be modified and implemented in various ways by those skilled in the art.

도 1은 본 발명의 바람직한 실시예에 따른 배터리 인증 기능을 구비한 전동 이륜 차량의 구성도이다.1 is a configuration diagram of an electric two-wheeled vehicle equipped with a battery authentication function according to a preferred embodiment of the present invention.

도 1을 참고하면, 본 발명의 바람직한 실시예에 따른 배터리 인증 기능을 구비한 전동 이륜 차량(40)은, 모바일 장치(10)의 배터리 교환 요청에 따라 클라우드 서버(20)로부터 배터리 NFC 타입 정보 및 인증 사용 여부를 수신하는 경우, 근거리 통신 장치(이하, NFC, Near Field Communication)를 이용하여 전용 충전소(30)를 통해 교환된 배터리의 인증을 수행하고, 배터리 인증 이후 운행이 제어됨으로써 보안이 강화된 상태로 운행 제어가 가능한 것을 특징으로 한다. 여기서, 모바일 장치(10)는 별도의 애플리케이션을 통해 클라우드 서버(20)와 통신 가능하다.Referring to FIG. 1, an electric two-wheeled vehicle 40 equipped with a battery authentication function according to a preferred embodiment of the present invention receives battery NFC type information and battery NFC type information from the cloud server 20 in response to a battery replacement request from the mobile device 10. When receiving whether to use authentication, authentication of the exchanged battery is performed through the dedicated charging station 30 using a short-range communication device (hereinafter referred to as NFC, Near Field Communication), and security is strengthened by controlling operation after battery authentication. It is characterized by being able to control operation in a state. Here, the mobile device 10 can communicate with the cloud server 20 through a separate application.

본 발명의 바람직한 실시예에 따른 배터리 인증 기능을 구비한 전동 이륜 차량(40)은, 차량 제어기(41), 배터리 관리 시스템(43), 및 NFC 모듈(45)을 포함한다.The electric two-wheeled vehicle 40 equipped with a battery authentication function according to a preferred embodiment of the present invention includes a vehicle controller 41, a battery management system 43, and an NFC module 45.

차량 제어기(41)는 VCU(Vehicle Controller Unit)일 수 있다. 차량 제어기(41)는, 클라우드 서버(20)로부터 전용 충전소(30)에서 사용되는 배터리 NFC 타입 정보, 및 배터리 인증 사용 여부에 대한 요청을 수신할 수 있다. 차량 제어기(41)는 배터리 인증 사용 여부에 대한 요청에 응답하여 배터리의 NFC 타입을 판단할 수 있다. 차량 제어기(41)는 NFC 모듈(45)로부터 배터리 인증 성공 정보를 수신할 수 있다. 차량 제어기(41)는 배터리 인증 성공 정보를 수신하는 경우, 배터리 관리 시스템(43)에 제어 명령을 송신할 수 있다. 차량 제어기(41)는 배터리 관리 시스템(43)으로부터 배터리 상태 정보를 수신할 수 있다. 차량 제어기(41)는 배터리 상태 정보를 이용하여 차량 제어를 수행할 수 있다.The vehicle controller 41 may be a vehicle controller unit (VCU). The vehicle controller 41 may receive information about the battery NFC type used at the dedicated charging station 30 and a request for whether to use battery authentication from the cloud server 20. The vehicle controller 41 may determine the NFC type of the battery in response to a request for whether to use battery authentication. The vehicle controller 41 may receive battery authentication success information from the NFC module 45. When the vehicle controller 41 receives battery authentication success information, it may transmit a control command to the battery management system 43. The vehicle controller 41 may receive battery status information from the battery management system 43. The vehicle controller 41 may perform vehicle control using battery status information.

배터리 관리 시스템(43)은 근거리 통신 장치가 장착된 배터리를 포함한다. 근거리 통신 장치는 NFC(Near Field Communication) 장치일 수 있다. 배터리 관리 시스템(43)은 배터리 모니터링을 통해 배터리 충전 상태를 관리할 수 있다.The battery management system 43 includes a battery equipped with a short-range communication device. The short-range communication device may be a Near Field Communication (NFC) device. The battery management system 43 can manage the battery charging state through battery monitoring.

NFC 모듈(45)은 배터리가 장착되는 배터리 장착부에 설치될 수 있다. NFC 모듈(45)은 차량 제어기(41)와 CAN(Controller Area Network) 통신이 가능하도록 구성될 수 있다. NFC 모듈(45)은 NFC 제어기, NFC 리더기, NFC 통신과 CAN 통신을 지원하는 사양으로 구성될 수 있다.The NFC module 45 may be installed in the battery mounting portion where the battery is mounted. The NFC module 45 may be configured to enable CAN (Controller Area Network) communication with the vehicle controller 41. The NFC module 45 may be configured with an NFC controller, an NFC reader, and specifications supporting NFC communication and CAN communication.

이하, 사용자의 배터리 교체 요청에 따른 전동 이륜 차량(40)의 배터리 NFC 인증 및 차량 제어 과정을 설명한다.Hereinafter, the battery NFC authentication and vehicle control process of the electric two-wheeled vehicle 40 according to the user's battery replacement request will be described.

일 실시예에 있어서, 모바일 장치(10)를 통해 배터리 교체를 사용자가 요청하는 경우, 클라우드 서버(20)는 사용자가 현재 운용하는 전동 이륜 차량(40)의 배터리 타입 정보, 및 근처 충전소에서 보유 중인 배터리 타입을 매칭한 후 NFC 타입의 배터리를 운용하는 전용 충전소(30)를 모바일 장치(10)로 알려준다. 이 때, 모바일 장치(10)는 사용자가 선택한 NFC 배터리 타입에 대한 정보를 클라우드 서버(20)를 통해 차량 제어기(41)로 전송할 수 있다.In one embodiment, when a user requests a battery replacement through the mobile device 10, the cloud server 20 provides battery type information of the electric two-wheeled vehicle 40 currently operated by the user and the battery type information held at a nearby charging station. After matching the battery type, the mobile device 10 is notified of a dedicated charging station 30 that operates an NFC-type battery. At this time, the mobile device 10 may transmit information about the NFC battery type selected by the user to the vehicle controller 41 through the cloud server 20.

차량 제어기(41)는, NFC 배터리 타입 정보를 기초로 NFC 인증 방식을 선택한다. NFC 인증 방식은 NFC 태그 인증과 NFC P2P 인증을 포함할 수 있다.The vehicle controller 41 selects an NFC authentication method based on NFC battery type information. NFC authentication methods may include NFC tag authentication and NFC P2P authentication.

이와 같이, 사용자에 의해 교체할 배터리가 선택되면, 클라우드 서버(20)는 교체할 배터리의 NFC 타입(NFC 태그 또는 P2P)만 알려주고, 배터리 NFC 인증 관련한 배터리의 중요 정보를 전송하지 않는다. 이를 통해 클라우드 서버(20)와 차량 제어기(41) 사이의 통신이 외부 공격에 의해 공격당하더라도 배터리의 중요 정보가 송수신되지 않으므로 보안 성능이 상승하는 효과가 있다.In this way, when a battery to be replaced is selected by the user, the cloud server 20 only informs the NFC type (NFC tag or P2P) of the battery to be replaced and does not transmit important information about the battery related to battery NFC authentication. Through this, even if the communication between the cloud server 20 and the vehicle controller 41 is attacked by an external attack, important information about the battery is not transmitted or received, which has the effect of increasing security performance.

한편, 전동 이륜 차량(40)의 잔여 주행 거리 대비 NFC 타입의 배터리를 보유한 충전소가 보다 멀리 있는 경우에는, NFC 인증을 강제로 오프(OFF)하는 방법으로 전동 이륜 차량(40)의 운영이 가능하다. 이 때 배터리 교체 비용에 대한 페널티가 부과될 수 있다.On the other hand, if the charging station with an NFC-type battery is further away compared to the remaining driving distance of the electric two-wheeled vehicle 40, the electric two-wheeled vehicle 40 can be operated by forcibly turning off NFC authentication. . In this case, a penalty may be imposed on the battery replacement cost.

NFC 모듈(45)은 배터리의 NFC 장치와 P2P 통신하여 배터리 인증 정보를 읽어 들인 후 인증 알고리즘을 수행하여 배터리 NFC 인증을 수행할 수 있다. 이후 NFC 모듈(45)은 NFC 인증이 성공하면 차량 제어기(41)와의 CAN 통신 포트 활성화를 설정한다. NFC 모듈(45)은 활성화된 CAN 통신 포트를 통해 인증 성공 정보를 차량 제어기(41)로 전달할 수 있다.The NFC module 45 can perform battery NFC authentication by reading battery authentication information through P2P communication with the NFC device of the battery and then performing an authentication algorithm. Afterwards, the NFC module 45 sets the CAN communication port activation with the vehicle controller 41 when NFC authentication is successful. The NFC module 45 can transmit authentication success information to the vehicle controller 41 through the activated CAN communication port.

NFC 모듈(45)은 일반적으로 태그, P2P, 카드 에뮬레이터를 포함하는 통신 방식이 적용되고, NFC 태그 또는 P2P 방식의 배터리 인증 기법을 제공하며, 배터리 NFC 타입에 따라 배터리 인증 기법을 결정한다.The NFC module 45 generally applies a communication method including tag, P2P, and card emulator, provides an NFC tag or P2P type battery authentication technique, and determines the battery authentication technique according to the battery NFC type.

NFC P2P 방식의 배터리 인증은 다음과 같다.Battery authentication using the NFC P2P method is as follows.

먼저 전용 충전소(30)는 교체용 배터리를 전동 이륜 차량(40)에 제공하는 경우, 배터리에 직접 장착된 NFC 장치에 배터리 인증 정보가 포함된 NFC 메시지를 제공한다. 여기서, NFC 메시지는 사전에 정해진 규칙에 따라 특정 바이트에 인증에 필요한 키 정보와 배터리 ID 정보가 저장될 수 있다.First, when providing a replacement battery to the electric two-wheeled vehicle 40, the dedicated charging station 30 provides an NFC message containing battery authentication information to an NFC device directly mounted on the battery. Here, the NFC message may store key information and battery ID information required for authentication in specific bytes according to predetermined rules.

사용자에 의해 전동 이륜 차량의 키 온(Key On) 되면, NFC 모듈(45)에 전원이 인가된다. NFC 모듈(45)은 배터리의 NFC 장치를 통해 수신되는 NFC 메시지를 읽어 들이고, 미리 정해진 인증 알고리즘에 따라 배터리 NFC 인증을 수행한다. 이후 NFC 모듈(45)은, 인증이 성공하면 차량 제어기(41)와의 CAN 포트를 활성화 한 후 CAN 메시지로 인증 성공 정보를 차량 제어기(41)에 전송한다.When the key of the electric two-wheeled vehicle is turned on by the user, power is applied to the NFC module 45. The NFC module 45 reads the NFC message received through the battery's NFC device and performs battery NFC authentication according to a predetermined authentication algorithm. Afterwards, if authentication is successful, the NFC module 45 activates the CAN port with the vehicle controller 41 and then transmits authentication success information to the vehicle controller 41 through a CAN message.

차량 제어기(41)는 인정 성공 정보를 확인 후 정상적인 차량 시퀀스를 거쳐 차량을 제어한다. 이 때, 인증이 성공한 후 NFC 모듈(45)은 NFC 메시지와 CAN 메시지 간의 인터페이스 역할을 수행한다.The vehicle controller 41 controls the vehicle through a normal vehicle sequence after confirming the authentication success information. At this time, after authentication is successful, the NFC module 45 serves as an interface between the NFC message and the CAN message.

도 2는 NFC P2P 타입의 배터리 NFC 인증 과정을 설명하기 위한 도면이다.Figure 2 is a diagram for explaining the NFC P2P type battery NFC authentication process.

도 2를 참고하면, 클라우드 서버(20)는 전용 충전소(30)에서 전동 이륜 차량(40)에 제공하는 배터리의 정보를 암호화하여 NFC 메시지를 생성할 수 있다. NFC 메시지는 NFC P2P 타입에 적용될 수 있다.Referring to FIG. 2, the cloud server 20 may generate an NFC message by encrypting battery information provided to the electric two-wheeled vehicle 40 at the dedicated charging station 30. NFC messages can be applied to NFC P2P type.

일 실시예에 있어서, 클라우드 서버(20)는 교체될 배터리의 배터리 ID를 XOR Gate에 입력할 수 있다. 이는 보안 강화를 위한 단계로 생략 가능하다. 배터리 ID는 8 byte 문자열로 표현될 수 있다.In one embodiment, the cloud server 20 may input the battery ID of the battery to be replaced into the XOR Gate. This is a step to strengthen security and can be omitted. Battery ID can be expressed as an 8 byte string.

클라우드 서버(20)는 XOR Gate 출력값의 1 byte 값을 반전하여 비밀 키(Secret Key)를 생성할 수 있다.The cloud server 20 can generate a secret key by inverting the 1 byte value of the XOR Gate output value.

클라우드 서버(20)는 차량 제어기(41)의 고유 ID의 1 byte 값을 반전하고, 반전값을 기설정된 암호화 방식으로 암호화하여 암호키를 생성할 수 있다. 암호화 방식은 SHA256 방식일 수 있다.The cloud server 20 can generate an encryption key by inverting the 1 byte value of the unique ID of the vehicle controller 41 and encrypting the inverted value using a preset encryption method. The encryption method may be SHA256.

클라우드 서버(20)는 비밀 키와 암호키를 포함하는 암호화 문자열을 NFC 메시지의 소정 영역에 저장할 수 있다.The cloud server 20 may store an encryption string including a secret key and an encryption key in a predetermined area of the NFC message.

클라우드 서버(20)는 배터리 ID와 랜덤 데이터를 XOR 연산하여 1차 변형된 배터리 ID를 생성할 수 있다. 여기서, 랜덤 데이터는 대략 4 내지 8의 Byte 값을 가질 수 있다.The cloud server 20 may generate a first modified battery ID by performing an XOR operation on the battery ID and random data. Here, the random data may have a Byte value of approximately 4 to 8.

클라우드 서버(20)는 1차 변형된 배터리 ID를 기설정된 암호화 방식으로 암호화하여 암호화 배터리 ID를 생성할 수 있다. 암호화 방식은 SHA259 방식일 수 있다.The cloud server 20 may generate an encrypted battery ID by encrypting the first modified battery ID using a preset encryption method. The encryption method may be SHA259.

클라우드 서버(20)는 암호화 배터리 ID를 NFC 메시지의 소정 영역에 저장할 수 있다. 또한, 클라우드 서버(20)는 랜덤 데이터를 NFC 메시지의 소정 영역에 저장할 수 있다. 암호화 문자열, 암호화 배터리 ID, 및 랜덤 데이터는 서로 겹치지 않는 NFC 메시지 영역에 저장될 수 있다.The cloud server 20 may store the encrypted battery ID in a predetermined area of the NFC message. Additionally, the cloud server 20 may store random data in a predetermined area of the NFC message. The encryption string, encryption battery ID, and random data can be stored in NFC message areas that do not overlap each other.

일 실시예에 있어서, NFC 메시지의 첫번째 바이트에는 암호화 문자열(VCU ID+배터리 ID)이 저장되고, 두번째 바이트에는 더미, 세번째 바이트에는 배터리 ID, 네번째 바이트에는 더미, 다섯번째 바이트에는 추가 인증 정보 등이 저장될 수 있다.In one embodiment, an encryption string (VCU ID + battery ID) is stored in the first byte of the NFC message, dummy is stored in the second byte, battery ID is stored in the third byte, dummy is stored in the fourth byte, additional authentication information is stored in the fifth byte, etc. It can be.

클라우드 서버(20)는 생성한 NFC 메시지를 배터리 관리 시스템(43)의 배터리에 장착된 NFC 장치에 전송할 수 있다.The cloud server 20 may transmit the generated NFC message to the NFC device mounted on the battery of the battery management system 43.

배터리 관리 시스템(43)은 NFC P2P 방식으로 NFC 모듈(45)과 통신 연결되고, NFC 메시지를 NFC 모듈(45)로 전달할 수 있다.The battery management system 43 is connected to the NFC module 45 through NFC P2P and can transmit an NFC message to the NFC module 45.

NFC 모듈(45)은 전달받은 NFC 메시지를 이용하여 교체된 배터리가 전동 이륜 차량(40)에 적용 가능한지 배터리 NFC 인증을 수행할 수 있다.The NFC module 45 can perform battery NFC authentication to determine whether the replaced battery can be applied to the electric two-wheeled vehicle 40 using the received NFC message.

NFC 모듈(45)은 NFC 메시지로부터 암호화 문자열을 추출하여 기설정된 복호화 방식으로 복호화할 수 있다. 복호화 방식은 AES256 방식일 수 있다.The NFC module 45 can extract an encryption string from the NFC message and decrypt it using a preset decryption method. The decryption method may be AES256.

NFC 모듈(45)은 차량 제어기(41)의 고유 ID의 1 byte를 반전하고 반전값을 암호화 방식으로 암호화하여 암호키를 생성할 수 있다. 암호화 방식은 SHA256 방식일 수 있다.The NFC module 45 can generate an encryption key by inverting 1 byte of the unique ID of the vehicle controller 41 and encrypting the inverted value using an encryption method. The encryption method may be SHA256.

NFC 모듈(45)은 복호화된 암호화 문자열과 암호키를 이용하여 비밀 키(Secret Key)를 복원할 수 있다.The NFC module 45 can restore the secret key using the decrypted encryption string and encryption key.

NFC 모듈(45)은 복원된 비밀 키의 1 Byte를 두 번 반전하여 반전값을 XOR Gate에 입력할 수 있다. XOR Gate 입력 단계는 보안 강화를 위해 추가된 것으로 생략될 수 있다.The NFC module 45 can invert 1 byte of the restored secret key twice and input the inverted value into the XOR Gate. The XOR Gate input step is added to enhance security and can be omitted.

NFC 모듈(45)은 XOR Gate의 출력값을 통해 배터리 ID를 획득할 수 있다.The NFC module 45 can obtain the battery ID through the output value of the XOR Gate.

NFC 모듈(45)은 NFC 메시지로부터 랜덤 데이터를 추출하고, 배터리 ID와 랜덤 데이터를 XOR 연산할 수 있다.The NFC module 45 can extract random data from the NFC message and perform an XOR operation between the battery ID and the random data.

NFC 모듈(45)은 XOR 연산 결과로 1차 변형된 배터리 ID를 획득하고, 기설정된 암호화 방식으로 1차 변형된 배터리 ID를 암호화하여 암호화 배터리 ID(이하, 복원 백터리 ID)를 생성할 수 있다. 암호화 방식은 SHA256 방식일 수 있다.The NFC module 45 obtains the first modified battery ID as a result of the . The encryption method may be SHA256.

NFC 모듈(45)은 복원 배터리 ID와 NFC 메시지의 암호화 배터리 ID를 비교하고 일치 여부에 따라 배터리 NFC 인증 성공 여부를 판단할 수 있다.The NFC module 45 can compare the restored battery ID and the encrypted battery ID of the NFC message and determine whether battery NFC authentication is successful based on whether they match.

NFC 모듈(45)은 복원 배터리 ID와 NFC 메시지의 암호화 배터리 ID가 일치하는 경우, 배터리 NFC 인증 성공으로 판단하고, 차량 제어기(41)와의 CAN 포트 활성화를 진행하고, 인증 성공 정보를 차량 제어기(41)로 전송할 수 있다.If the restored battery ID and the encrypted battery ID of the NFC message match, the NFC module 45 determines that battery NFC authentication is successful, proceeds to activate the CAN port with the vehicle controller 41, and sends authentication success information to the vehicle controller 41. ) can be transmitted.

도 3은 본 발명의 다른 실시예에 따른 배터리 인증 기능을 구비한 전동 이륜 차량의 구성도이다.Figure 3 is a configuration diagram of an electric two-wheeled vehicle equipped with a battery authentication function according to another embodiment of the present invention.

도 3을 참고하면, 본 발명의 다른 실시예에 따른 배터리 인증 기능을 구비한 전동 이륜 차량(40)은, 도 1의 배터리의 NFC 타입 NFC 태그 타입인 것을 특징으로 한다. 즉, 본 발명의 다른 실시예에 따른 배터리 인증 기능을 구비한 전동 이륜 차량(40)은, NFC 태그 타입의 NFC 모듈(45)을 구비하고, 인증 알고리즘이 차량 제어기(41)에 적용되는 것을 특징으로 한다.Referring to FIG. 3, an electric two-wheeled vehicle 40 equipped with a battery authentication function according to another embodiment of the present invention is characterized by an NFC tag type similar to the NFC type of the battery in FIG. 1. That is, the electric two-wheeled vehicle 40 with a battery authentication function according to another embodiment of the present invention is equipped with an NFC tag type NFC module 45, and the authentication algorithm is applied to the vehicle controller 41. Do it as

이하, 본 발명의 다른 실시예에 따른 배터리 인증 기능을 구비한 전동 이륜 차량(40)의 구성 설명시, 도 1에서 설명한 바 있는 동일한 내용의 설명은 생략한다.Hereinafter, when explaining the configuration of the electric two-wheeled vehicle 40 equipped with a battery authentication function according to another embodiment of the present invention, description of the same content as described in FIG. 1 will be omitted.

본 발명의 다른 실시예에 따른 배터리 인증 기능을 구비한 전동 이륜 차량(40)은 차량 제어기(41), 배터리 관리 시스템(43), 및 NFC 모듈(45)를 포함한다.An electric two-wheeled vehicle 40 with a battery authentication function according to another embodiment of the present invention includes a vehicle controller 41, a battery management system 43, and an NFC module 45.

차량 제어기(41)는, 클라우드 서버(20)로부터 배터리 NFC 타입 및 인증 사용 여부를 요청받는 경우, 배터리의 NFC 타입을 확인할 수 있다. 차량 제어기(41)는 배터리의 NFC 태그 타입인 경우 인증 사용 가능한 것으로 판단할 수 있다. 차량 제어기(41)는 배터리 인증 알고리즘을 구비할 수 있다. 차량 제어기(41)는 NFC 모듈(45)로부터 NFC 태그 데이터를 전달받는 경우 배터리 인증 알고리즘을 수행할 수 있다. 차량 제어기(41)는 배터리 인증 알고리즘 수행 이후 배터리 관리 시스템(43)을 정상 제어할 수 있다. 차량 제어기(41)는 배터리 관리 시스템(43)으로부터 배터리 정보를 전달받고 이를 기초로 차량을 정상 제어할 수 있다.When receiving a request from the cloud server 20 for the battery NFC type and whether to use authentication, the vehicle controller 41 may check the NFC type of the battery. The vehicle controller 41 may determine that authentication is available if the battery has an NFC tag type. The vehicle controller 41 may be equipped with a battery authentication algorithm. The vehicle controller 41 can perform a battery authentication algorithm when receiving NFC tag data from the NFC module 45. The vehicle controller 41 can normally control the battery management system 43 after performing the battery authentication algorithm. The vehicle controller 41 receives battery information from the battery management system 43 and can normally control the vehicle based on this.

배터리 관리 시스템(43)은, 근거리 통신 장치가 장착된 배터리를 포함한다. 배터리는 전용 충전소(30)에서 제공하여 교체된 것일 수 있다. 근거리 통신 장치는 NFC(Near Field Communication) 장치일 수 있다. NFC 장치의 타입은 NFC 태그 타입일 수 있다. 배터리 관리 시스템(43)은 배터리 모니터링을 통해 배터리 충전 상태를 관리할 수 있다.The battery management system 43 includes a battery equipped with a short-range communication device. The battery may be provided by a dedicated charging station 30 and replaced. The short-range communication device may be a Near Field Communication (NFC) device. The type of NFC device may be an NFC tag type. The battery management system 43 can manage the battery charging state through battery monitoring.

NFC 모듈(45)은 배터리가 장착되는 배터리 장착부에 설치될 수 있다. NFC 모듈(45)은 차량 제어기(41)와 CAN(Controller Area Network) 통신이 가능하도록 구성될 수 있다. NFC 모듈(45)은 NFC 태그 타입일 수 있다.The NFC module 45 may be installed in the battery mounting portion where the battery is mounted. The NFC module 45 may be configured to enable CAN (Controller Area Network) communication with the vehicle controller 41. The NFC module 45 may be an NFC tag type.

이하, 사용자의 배터리 교체 요청에 따른 전동 이륜 차량(40)의 배터리 NFC 인증 및 차량 제어 과정을 설명한다.Hereinafter, the battery NFC authentication and vehicle control process of the electric two-wheeled vehicle 40 according to the user's battery replacement request will be described.

전용 충전소(30)는 교체용 배터리의 제공시, NFC 태그의 특정 바이트에 사전에 정해진 규칙에 따라 인증에 필요한 키 정보와 배터리 ID 정보를 저장한다.When providing a replacement battery, the dedicated charging station 30 stores key information and battery ID information required for authentication in a specific byte of the NFC tag according to predetermined rules.

사용자에 의해 전동 이륜 차량(40)이 키 온(Key On)되면, NFC 모듈(45)에 전원이 인가된다. NFC 모듈(45)은 NFC 태그 방식으로 배터리 관리 시스템(43)의 NFC 태그의 정보를 읽을 수 있다. NFC 모듈(45)은 NFC 태그 데이터를 차량 제어기로(41)로 전달할 수 있다. 차량 제어기(41)는 NFC 태그 데이터를 이용하여 배터리 인증 알고리즘을 수행한다.When the electric two-wheeled vehicle 40 is keyed on by the user, power is applied to the NFC module 45. The NFC module 45 can read information from the NFC tag of the battery management system 43 using the NFC tag method. The NFC module 45 can transmit NFC tag data to the vehicle controller 41. The vehicle controller 41 performs a battery authentication algorithm using NFC tag data.

차량 제어기(41)는 인증이 성공하면, 배터리 관리 시스템(43)과 통신하여 배터리 정보를 전달받을 수 있다. 차량 제어기(41)는 배터리 정보를 이용하여 차량을 정상 제어할 수 있다.If authentication is successful, the vehicle controller 41 can receive battery information by communicating with the battery management system 43. The vehicle controller 41 can normally control the vehicle using battery information.

도 4는 NFC 태그 방식의 배터리 NFC 인증 과정을 설명하기 위한 도면이다.Figure 4 is a diagram for explaining the NFC tag-type battery NFC authentication process.

도 4를 참고하면, 모바일 장치(10)의 애플리케이션 앱을 통해 사용자가 배터리 교체를 요청하면, 클라우드 서버(20)는 사용자 정보를 기반으로 현재 운행중인 정동 이륜 차량(40)의 차량 제어기 ID를 찾아내고, 전용 충전소(30)의 교체 예정인 배터리 ID 정보를 이용하여 암호화 문자열 생성한다.Referring to FIG. 4, when a user requests battery replacement through the application app of the mobile device 10, the cloud server 20 finds the vehicle controller ID of the Jeongdong two-wheeled vehicle 40 currently in operation based on the user information. Then, an encrypted string is generated using the battery ID information scheduled to be replaced at the dedicated charging station 30.

전용 충전소(30)에 전동 이륜 차량(40)이 정차하면, 클라우드 서버(20)는 교체 예정 배터리에 장착된 NFC 장치에 암호화 문자열과 배터리 ID정보를 포함하는 NFC 태그 데이터를 설정한다.When the electric two-wheeled vehicle 40 stops at the dedicated charging station 30, the cloud server 20 sets NFC tag data including an encryption string and battery ID information in the NFC device mounted on the battery to be replaced.

배터리 ID 정보도 노출을 피하기 위해서는 기본적인 문자열이나 사전에 정해진 부호, 또는 앱을 통해 사용자가 입력한 문자열을 NFC 태그 데이터에 추가적으로 넣을 수 있다.To avoid exposure of battery ID information, a basic string, a predetermined code, or a string entered by the user through an app can be added to the NFC tag data.

NFC 태그 (Mifare, Felica 등)에 암호화 문자열과 배터리 ID를 넣을 때는 특정 블록에 넣는다. NFC 태크는 태그를 하면 누구가 읽을 수 있어 보안에 취약 부분이 있으므로, 특정 섹터의 특정 블록에 암호화 문자열과 배터리 ID가 입력될 수 있다. 이와 같이, NFC 태그의 특정 바이트에 압호화 문자열과 배터리 ID를 입력하면, 외부에서 읽더라도 어떤 섹터와 블록에 배터리 인증 정보가 들어가 있는지 알 수 없는 효과가 있다.When inserting an encryption string and battery ID into an NFC tag (Mifare, Felica, etc.), insert it into a specific block. NFC tags are vulnerable to security because anyone can read them, so an encryption string and battery ID can be entered into a specific block in a specific sector. In this way, if an encrypted string and a battery ID are entered into a specific byte of an NFC tag, the effect is that it is impossible to know which sector and block contains the battery authentication information even when read from the outside.

이하, NFC 태그 생성 및 배터리 NFC 인증 과정을 구체적으로 설명하면, 클라우드 서버(20)는 전용 충전소(30)에서 전동 이륜 차량(40)에 제공하는 배터리의 정보를 암호화하여 NFC 태그를 생성할 수 있다.Hereinafter, the NFC tag generation and battery NFC authentication process will be described in detail. The cloud server 20 may generate an NFC tag by encrypting the information on the battery provided to the electric two-wheeled vehicle 40 at the dedicated charging station 30. .

일 실시예에 있어서, 클라우드 서버(20)는 교체될 배터리의 배터리 ID를 XOR Gate에 입력할 수 있다. 이는 보안 강화를 위한 단계로 생략 가능하다. 배터리 ID는 8 byte 문자열로 표현될 수 있다.In one embodiment, the cloud server 20 may input the battery ID of the battery to be replaced into the XOR Gate. This is a step to strengthen security and can be omitted. Battery ID can be expressed as an 8 byte string.

클라우드 서버(20)는 XOR Gate 출력값의 1 byte 값을 반전하여 비밀 키(Secret Key)를 생성할 수 있다.The cloud server 20 can generate a secret key by inverting the 1 byte value of the XOR Gate output value.

클라우드 서버(20)는 차량 제어기(41)의 고유 ID의 1 byte 값을 반전하고, 반전값을 기설정된 암호화 방식으로 암호화하여 암호키를 생성할 수 있다. 암호화 방식은 SHA256 방식일 수 있다.The cloud server 20 can generate an encryption key by inverting the 1 byte value of the unique ID of the vehicle controller 41 and encrypting the inverted value using a preset encryption method. The encryption method may be SHA256.

클라우드 서버(20)는 비밀 키와 암호키를 포함하는 암호화 문자열을 NFC 태그 데이터의 소정 영역에 저장할 수 있다.The cloud server 20 may store an encryption string including a secret key and an encryption key in a predetermined area of the NFC tag data.

클라우드 서버(20)는 배터리 ID와 랜덤 데이터를 XOR 연산하여 변형된 배터리 ID를 생성할 수 있다. 여기서, 랜덤 데이터는 대략 4 내지 8의 Byte 값을 가질 수 있다.The cloud server 20 may generate a modified battery ID by performing an XOR operation on the battery ID and random data. Here, the random data may have a Byte value of approximately 4 to 8.

클라우드 서버(20)는 XOR 문자열을 NFC 태그 데이터의 소정 영역에 저장할 수 있다. 또한, 클라우드 서버(20)는 변형된 배터리 ID를 NFC 태그 데이터의 소정 영역에 저장할 수 있다. 또한, 클라우드 서버(20)는 랜덤 데이터를 NFC 태그 데이터의 소정 영역에 저장할 수 있다. 암호화 문자열, XOR 문자열, 변형된 배터리 ID, 및 랜덤 데이터는 서로 겹치지 않는 NFC 태그 데이터 영역에 저장될 수 있다.The cloud server 20 may store the XOR string in a predetermined area of NFC tag data. Additionally, the cloud server 20 may store the modified battery ID in a predetermined area of NFC tag data. Additionally, the cloud server 20 may store random data in a predetermined area of NFC tag data. Encryption string, XOR string, modified battery ID, and random data can be stored in NFC tag data areas that do not overlap each other.

클라우드 서버(20)는 생성한 NFC 태그 데이터를 배터리 관리 시스템(43)의 배터리에 장착된 NFC 장치에 전송할 수 있다.The cloud server 20 may transmit the generated NFC tag data to the NFC device mounted on the battery of the battery management system 43.

배터리 관리 시스템(43)은 NFC 태그 방식으로 NFC 모듈(45)과 통신 연결되고, NFC 태그 데이터를 NFC 모듈(45)로 전달할 수 있다.The battery management system 43 is connected to the NFC module 45 using an NFC tag and can transmit NFC tag data to the NFC module 45.

NFC 모듈(45)은 전달받은 NFC 태그 데이터를 CAN 통신을 통해 차량 제어기(41)로 전달할 수 있다.The NFC module 45 can transmit the received NFC tag data to the vehicle controller 41 through CAN communication.

차량 제어기(41)는 NFC 태그 데이터를 이용하여 교체된 배터리가 전동 이륜 차량(40)에 적용 가능한지 배터리 NFC 인증을 수행할 수 있다.The vehicle controller 41 may perform battery NFC authentication to determine whether the replaced battery can be applied to the electric two-wheeled vehicle 40 using NFC tag data.

차량 제어기(41)는 NFC 태그 데이터로부터 암호화 문자열을 추출하여 기설정된 복호화 방식으로 복호화할 수 있다. 복호화 방식은 AES256 방식일 수 있다.The vehicle controller 41 can extract an encryption string from NFC tag data and decrypt it using a preset decryption method. The decryption method may be AES256.

차량 제어기(41)는 차량 제어기(41)의 고유 ID의 1 byte를 반전하고 반전값을 암호화 방식으로 암호화하여 암호키를 생성할 수 있다. 암호화 방식은 SHA256 방식일 수 있다.The vehicle controller 41 can generate an encryption key by inverting 1 byte of the unique ID of the vehicle controller 41 and encrypting the inverted value using an encryption method. The encryption method may be SHA256.

차량 제어기(41)는 복호화된 암호화 문자열과 암호키를 이용하여 비밀 키(Secret Key)를 복원할 수 있다.The vehicle controller 41 can restore the secret key using the decrypted encryption string and encryption key.

차량 제어기(41)는 복원된 비밀 키의 1 Byte를 두 번 반전하여 반전값을 XOR Gate에 입력할 수 있다. XOR Gate 입력 단계는 보안 강화를 위해 추가된 것으로 생략될 수 있다.The vehicle controller 41 can invert 1 byte of the restored secret key twice and input the inverted value into the XOR Gate. The XOR Gate input step is added to enhance security and can be omitted.

차량 제어기(41)는 XOR Gate의 출력값을 통해 배터리 ID(제1 배터리 ID)를 획득할 수 있다.The vehicle controller 41 can obtain the battery ID (first battery ID) through the output value of the XOR Gate.

차량 제어기(41)는 NFC 태그 데이터로부터 변형된 배터리 ID와 랜덤 데이터를 추출하고, 변형된 배터리 ID와 랜덤 데이터를 XOR 연산할 수 있다.The vehicle controller 41 can extract the modified battery ID and random data from the NFC tag data and perform an XOR operation on the modified battery ID and random data.

차량 제어기(41)는 XOR 연산 결과로 배터리 ID(제2 배터리 ID)를 획득하고, 제1 배터리 ID와 제2 배터리 ID를 비교하고 일치 여부에 따라 배터리 NFC 인증 성공 여부를 판단할 수 있다.The vehicle controller 41 may obtain a battery ID (second battery ID) as a result of the XOR operation, compare the first battery ID and the second battery ID, and determine whether battery NFC authentication is successful depending on whether they match.

차량 제어기(41)는 제1 배터리 ID와 제2 배터리 ID가 일치하는 경우, 배터리 NFC 인증 성공으로 판단하고, 배터리 관리 시스템(43)을 제어 가능하다. 차량 제어기(41)는 배터리 관리 시스템(43)으로부터 배터리 정보를 전달받고 이를 기초로 전동 이륜 차량(40)을 정상 제어할 수 있다.If the first battery ID and the second battery ID match, the vehicle controller 41 determines that battery NFC authentication is successful and can control the battery management system 43. The vehicle controller 41 receives battery information from the battery management system 43 and can normally control the electric two-wheeled vehicle 40 based on this.

도 5는 본 발명의 바람직한 실시예에 따른 배터리 인증 기능을 구비한 전동 이륜 차량의 제어 방법의 순서도이다.Figure 5 is a flowchart of a control method for an electric two-wheeled vehicle equipped with a battery authentication function according to a preferred embodiment of the present invention.

도 1 및 도 5를 참고하면, 본 발명의 바람직한 실시예에 따른 배터리 인증 기능을 구비한 전동 이륜 차량의 제어 방법은, 배터리 교체시, NFC를 이용하여 배터리 인증을 수행한 이후에 차량 정상 제어를 수행하는 것을 특징으로 한다.Referring to Figures 1 and 5, the control method of an electric two-wheeled vehicle equipped with a battery authentication function according to a preferred embodiment of the present invention involves performing battery authentication using NFC when replacing the battery and then performing normal vehicle control. It is characterized by performing.

인증 판단 단계(S510)에서, 차량 제어기(41)는 서버(20)로부터 전용 충전소(30)에서 제공하는 배터리 타입 정보와 NFC 인증 사용 여부에 대한 요청을 수신하는 경우, 전동 이륜 차량(40)의 NFC 인증 사용 여부를 판단한다. 제어부(41)는 전동 이륜 차량(40)이 NFC 모듈(45)을 구비한 경우 배터리 NFC 인증을 사용 가능한 것으로 판단할 수 있다.In the authentication decision step (S510), when the vehicle controller 41 receives a request from the server 20 for battery type information provided by the dedicated charging station 30 and whether to use NFC authentication, the electric two-wheeled vehicle 40 Determine whether to use NFC authentication. The control unit 41 may determine that battery NFC authentication is available when the electric two-wheeled vehicle 40 is equipped with the NFC module 45.

NFC 타입 확인 단계(S520)에서, 차량 제어기(41)는 NFC 인증의 사용이 가능한 경우, 배터리의 NFC 타입을 확인한다. 여기서, NFC 타입은 NFC 태그, 및 NFC P2P(Peer to Peer)를 포함할 수 있다.In the NFC type confirmation step (S520), the vehicle controller 41 checks the NFC type of the battery if NFC authentication is available. Here, the NFC type may include an NFC tag and NFC P2P (Peer to Peer).

NFC 타입 판단 단계(S530)에서, 차량 제어기(41)는 배터리의 NFC 타입을 판단한다.In the NFC type determination step (S530), the vehicle controller 41 determines the NFC type of the battery.

인증 정보 전달 단계(S540)에서, 배터리 관리 시스템(43)은 배터리가 NFC P2P 타입인 경우, 전용 충전소(30)에 의해 교체된 배터리의 인증 정보를 P2P 방식으로 NFC 모듈(45)로 전달한다. 배터리 관리 시스템(43)은 서버(20)로부터 배터리 인증 정보를 수신할 수 있다. 여기서, 배터리 인증 정보는, 암호화된 배터리 ID와 암호화된 차량 제어기(41)의 고유 ID를 포함하는 암호화 문자열과, 랜덤 데이터에 의해 1차 변형된 배터리 ID가 암호화되어 생성되는 암호화 배터리 ID와, 랜덤 데이터를 포함할 수 있다. 배터리 인증 정보는 NFC 메시지 형태일 수 있다.In the authentication information transmission step (S540), if the battery is an NFC P2P type, the battery management system 43 transmits the authentication information of the battery replaced by the dedicated charging station 30 to the NFC module 45 in a P2P method. The battery management system 43 may receive battery authentication information from the server 20 . Here, the battery authentication information includes an encrypted string containing the encrypted battery ID and the unique ID of the encrypted vehicle controller 41, an encrypted battery ID generated by encrypting the battery ID first transformed by random data, and a random Can contain data. Battery authentication information may be in the form of an NFC message.

인증 단계(S550)에서, NFC 모듈(45)은 P2P 메시지 형태의 배터리 인증 정보를 이용하여 미리 마련된 인증 알고리즘을 수행한다.In the authentication step (S550), the NFC module 45 performs a previously prepared authentication algorithm using battery authentication information in the form of a P2P message.

한편, NFC 타입 판단 단계(S530)이후에 태그 단계(S560)에서, 배터리 관리 시스템(43)은, 배터리가 NFC 태그 타입인 경우, 전용 충전소(30)에 의해 교체된 배터리의 인증 정보를 태그 방식으로 NFC 모듈(45)로 전달한다.Meanwhile, in the tag step (S560) after the NFC type determination step (S530), if the battery is an NFC tag type, the battery management system 43 uses the tag method to display authentication information of the battery replaced by the dedicated charging station 30. It is transmitted to the NFC module 45.

정보 리드 단계(S570)에서, NFC 모듈(45)은 NFC 태그 데이터 형태의 배터리 인증 정보를 리드(Read)한 이후에 차량 제어기(41)에 전달할 수 있다.In the information read step (S570), the NFC module 45 may read battery authentication information in the form of NFC tag data and then transmit it to the vehicle controller 41.

정보 리드 단계(S570) 이후 인증 단계(S550)에서, 차량 제어기(41)는 NFC 태그 데이터 형태의 배터리 인증 정보를 이용하여 미리 마련된 인증 알고리즘을 수행한다.In the authentication step (S550) after the information read step (S570), the vehicle controller 41 performs a preset authentication algorithm using battery authentication information in the form of NFC tag data.

성공 판단 단계(S580)에서, NFC 모듈(45)은 NFC P2P 타입인 경우, 인증 알고리즘 수행을 통해 암호화 문자열의 배터리 ID와 암호화 배터리 ID의 일치 여부를 판단하고, 서로 일치하는 경우 인증 성공으로 판단한다. 한편, NFC 모듈(45)이 NFC 태그 타입인 경우, 차량 제어기(41)는 미리 마련된 인증 알고리즘 수행을 통해 암호화 문자열의 배터리 ID와 랜덤 데이터에 의해 변형된 배터리 ID의 일치 여부를 판단하고, 서로 일치하는 경우 인증 성공으로 판단한다.In the success determination step (S580), in the case of the NFC P2P type, the NFC module 45 determines whether the battery ID of the encryption string matches the encryption battery ID by performing an authentication algorithm, and if they match, determines that the authentication is successful. . Meanwhile, when the NFC module 45 is an NFC tag type, the vehicle controller 41 determines whether the battery ID of the encrypted string matches the battery ID modified by the random data by performing a pre-prepared authentication algorithm, and determines whether they match. If so, authentication is judged to be successful.

활성화 단계(S590)에서, NFC 모듈(45)은 NFC P2P 타입 및 인증 성공인 경우, 차량 제어기(41)와의 CAN 포트를 활성화하고, 인증 성공 정보를 차량 제어기(41)로 전송한다. 이때 NFC 모듈(45)은 인증 성공 이후 NFC 메시지와 CAN 메시지 간 인터페이스 역할을 수행할 수 있다.In the activation step (S590), if the NFC P2P type and authentication are successful, the NFC module 45 activates the CAN port with the vehicle controller 41 and transmits authentication success information to the vehicle controller 41. At this time, the NFC module 45 can serve as an interface between the NFC message and the CAN message after successful authentication.

정상 동작 단계(S600)에서, 차량 제어기(41)는 인증 성공으로 판단하거나, 또는 NFC 모듈(45)로부터 인증 성공 정보를 수신하는 경우, 기설정된 정상 시퀀스 동작을 수행한다.In the normal operation step (S600), when the vehicle controller 41 determines that authentication is successful or receives authentication success information from the NFC module 45, it performs a preset normal sequence operation.

배터리 제어 단계(S610)에서, 차량 제어기(41)는 정상 시퀀스 동작시 배터리 관리 시스템(43)에 배터리 제어 명령을 전송한다. 이때 차량 제어기(41)는 배터리 관리 시스템(43)으로부터 배터리 상태 정보를 수신할 수 있다.In the battery control step (S610), the vehicle controller 41 transmits a battery control command to the battery management system 43 during normal sequence operation. At this time, the vehicle controller 41 may receive battery status information from the battery management system 43.

차량 제어 단계(S620)에서, 차량 제어기(41)는 배터리 상태 정보를 이용하여 차량을 정상 제어한다.In the vehicle control step (S620), the vehicle controller 41 normally controls the vehicle using battery status information.

한편, 성공 판단 단계(S580) 이후 비활성화 단계(S630)에서, NFC P2P 타입의 NFC 모듈(45)은 인증 실패인 경우, 차량 제어기(43)와의 CAN 포트 비활성화를 유지한다.Meanwhile, in the deactivation step (S630) after the success determination step (S580), the NFC P2P type NFC module 45 maintains deactivation of the CAN port with the vehicle controller 43 when authentication fails.

비정상 동작 단계(S640)에서, 차량 제어기(41)는 CAN 포트 비활성화가 유지됨에 따라 기설정된 정상 시퀀스 동작을 수행하지 못한다.In the abnormal operation step (S640), the vehicle controller 41 fails to perform the preset normal sequence operation as the CAN port remains deactivated.

배터리 이용 불가 단계(S650)에서, 차량 제어기(41)는 정상 시퀀스 동작을 수행하지 못하는 경우, 배터리 상태 정보를 이용한 차량 제어를 수행하지 못한다.In the battery unavailability step (S650), if the vehicle controller 41 cannot perform normal sequence operations, it cannot perform vehicle control using battery status information.

이상의 설명은 본 발명의 기술 사상을 예시적으로 설명한 것에 불과한 것으로서, 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자라면 본 발명의 본질적인 특성에서 벗어나지 않는 범위 내에서 다양한 수정, 변경 및 치환이 가능할 것이다. 따라서, 본 발명에 개시된 실시예 및 첨부된 도면들은 본 발명의 기술 사상을 한정하기 위한 것이 아니라 설명하기 위한 것이고, 이러한 실시예 및 첨부된 도면에 의하여 본 발명의 기술 사상의 범위가 한정되는 것은 아니다.The above description is merely an illustrative explanation of the technical idea of the present invention, and various modifications, changes, and substitutions can be made by those skilled in the art without departing from the essential characteristics of the present invention. will be. Accordingly, the embodiments disclosed in the present invention and the attached drawings are not intended to limit the technical idea of the present invention, but are for illustrative purposes, and the scope of the technical idea of the present invention is not limited by these embodiments and the attached drawings. .

본 발명에 따른 단계들 및/또는 동작들은 기술분야의 통상의 기술자에 의해 이해될 수 있는 것과 같이, 다른 순서로, 또는 병렬적으로, 또는 다른 에포크(epoch) 등을 위해 다른 실시 예들에서 동시에 일어날 수 있다.Steps and/or operations according to the invention may occur simultaneously in different embodiments, in different orders, in parallel, for different epochs, etc., as would be understood by those skilled in the art. You can.

실시 예에 따라서는, 단계들 및/또는 동작들의 일부 또는 전부는 하나 이상의 비-일시적 컴퓨터-판독가능 매체에 저장된 명령, 프로그램, 상호작용 데이터 구조(interactive data structure), 클라이언트 및/또는 서버를 구동하는 하나 이상의 프로세서들을 사용하여 적어도 일부가 구현되거나 또는 수행될 수 있다. 하나 이상의 비-일시적 컴퓨터-판독가능 매체는 예시적으로 소프트웨어, 펌웨어, 하드웨어, 및/또는 그것들의 어떠한 조합일 수 있다. 또한, 본 명세서에서 논의된 "모듈"의 기능은 소프트웨어, 펌웨어, 하드웨어, 및/또는 그것들의 어떠한 조합으로 구현될 수 있다.Depending on the embodiment, some or all of the steps and/or operations may include executing instructions, programs, interactive data structures, clients and/or servers stored on one or more non-transitory computer-readable media. At least a portion may be implemented or performed using one or more processors. The one or more non-transitory computer-readable media may illustratively be software, firmware, hardware, and/or any combination thereof. Additionally, the functionality of the “modules” discussed herein may be implemented in software, firmware, hardware, and/or any combination thereof.

10: 모바일 장치
20: 클라우드 서버
30: 전용 충전소
40: 전동 이륜 차량
41: 차량 제어기
43: 배터리 관리 시스템
45: NFC 모듈
10: Mobile devices
20: Cloud server
30: Dedicated charging station
40: Electric two-wheeled vehicle
41: vehicle controller
43: Battery management system
45: NFC module

Claims (19)

배터리의 교체 요청 수신시, 상기 배터리의 NFC 타입을 판단하는 차량 제어기;
상기 배터리가 NFC P2P 타입인 경우, 상기 배터리의 인증 정보를 NFC P2P 방식으로 전달하는 배터리 관리 시스템; 및
상기 배터리의 인증 정보를 이용하여 미리 마련된 인증 알고리즘을 수행하는 NFC 모듈;
를 포함하는 배터리 인증 기능을 구비한 전동 이륜 차량.
A vehicle controller that determines the NFC type of the battery when receiving a request for battery replacement;
When the battery is an NFC P2P type, a battery management system that transmits authentication information of the battery through NFC P2P method; and
An NFC module that performs a preset authentication algorithm using the authentication information of the battery;
An electric two-wheeled vehicle equipped with a battery authentication function that includes.
제 1 항에 있어서,
상기 배터리의 인증 정보는,
상기 배터리의 ID와 상기 차량 제어기의 고유 ID를 포함하는 암호화 문자열, XOR 문자열, 랜덤 데이터에 의해 변형된 배터리 ID, 상기 변형된 배터리 ID가 암호화되어 생성되는 암호화 배터리 ID, 및 상기 랜덤 데이터를 포함하는 것을 특징으로 하는 배터리 인증 기능을 구비한 전동 이륜 차량.
According to claim 1,
The authentication information of the battery is,
An encrypted string including the ID of the battery and the unique ID of the vehicle controller, an XOR string, a battery ID modified by random data, an encrypted battery ID generated by encrypting the modified battery ID, and the random data. An electric two-wheeled vehicle equipped with a battery authentication function.
제 2 항에 있어서,
상기 NFC 모듈은,
상기 암호화 문자열의 배터리 ID와 상기 암호화 배터리 ID를 이용하여 배터리 인증 성공 여부를 판단하는 것을 특징으로 하는 배터리 인증 기능을 구비한 전동 이륜 차량.
According to claim 2,
The NFC module is,
An electric two-wheeled vehicle with a battery authentication function, characterized in that whether battery authentication is successful is determined using the battery ID of the encryption string and the encryption battery ID.
제 3 항에 있어서,
상기 NFC 모듈은,
상기 인증 알고리즘에 따른 배터리 인증 성공시, 상기 차량 제어기와의 CAN 포트를 활성화하고, 인증 성공 정보를 상기 차량 제어기로 전송하는 것을 특징으로 하는 배터리 인증 기능을 구비한 전동 이륜 차량.
According to claim 3,
The NFC module is,
When battery authentication is successful according to the authentication algorithm, a CAN port with the vehicle controller is activated and authentication success information is transmitted to the vehicle controller.
제 4 항에 있어서,
상기 차량 제어기는,
상기 NFC 모듈로부터 인증 성공 정보를 수신하는 경우, 기설정된 정상 시퀀스 동작을 수행하고, 상기 배터리 관리 시스템의 배터리 상태 정보를 이용하여 차량 제어를 수행하는 것을 특징으로 하는 배터리 인증 기능을 구비한 전동 이륜 차량.
According to claim 4,
The vehicle controller,
When receiving authentication success information from the NFC module, a preset normal sequence operation is performed and vehicle control is performed using battery status information of the battery management system. .
배터리의 교체 요청 수신시, 상기 배터리의 NFC 타입을 판단하는 차량 제어기;
상기 배터리가 NFC 태그 타입인 경우, 상기 배터리의 인증 정보를 NFC 태그 방식으로 전달하는 배터리 관리 시스템; 및
상기 배터리의 인증 정보를 읽은 후 상기 차량 제어기로 전달하는 NFC 모듈;
을 포함하는 배터리 인증 기능을 구비한 전동 이륜 차량.
A vehicle controller that determines the NFC type of the battery when receiving a request for battery replacement;
When the battery is an NFC tag type, a battery management system that transmits authentication information of the battery using an NFC tag method; and
An NFC module that reads the authentication information of the battery and transmits it to the vehicle controller;
An electric two-wheeled vehicle equipped with a battery authentication function that includes.
제 1 항에 있어서,
상기 배터리의 인증 정보는,
상기 배터리의 ID와 상기 차량 제어기의 고유 ID를 포함하는 암호화 문자열, XOR 문자열, 랜덤 데이터에 의해 변형된 배터리 ID, 상기 변형된 배터리 ID가 암호화되어 생성되는 암호화 배터리 ID, 및 상기 랜덤 데이터를 포함하는 것을 특징으로 하는 배터리 인증 기능을 구비한 전동 이륜 차량.
According to claim 1,
The authentication information of the battery is,
An encrypted string including the ID of the battery and the unique ID of the vehicle controller, an XOR string, a battery ID modified by random data, an encrypted battery ID generated by encrypting the modified battery ID, and the random data. An electric two-wheeled vehicle equipped with a battery authentication function.
제 7 항에 있어서,
상기 차량 제어기는,
상기 배터리의 인증 정보를 이용하여 미리 마련된 인증 알고리즘을 수행하는 것을 특징으로 하는 배터리 인증 기능을 구비한 전동 이륜 차량.
According to claim 7,
The vehicle controller,
An electric two-wheeled vehicle equipped with a battery authentication function, characterized in that a pre-prepared authentication algorithm is performed using authentication information of the battery.
제 8 항에 있어서,
상기 차량 제어기는,
상기 암호화 문자열의 배터리 ID와 상기 변형된 배터리 ID를 이용하여 배터리 인증 성공 여부를 판단하는 것을 특징으로 하는 배터리 인증 기능을 구비한 전동 이륜 차량.
According to claim 8,
The vehicle controller,
An electric two-wheeled vehicle with a battery authentication function, characterized in that whether battery authentication is successful is determined using the battery ID of the encrypted string and the modified battery ID.
제 9 항에 있어서,
상기 차량 제어기는,
상기 인증 알고리즘에 따른 배터리 인증 성공시, 기설정된 정상 시퀀스 동작을 수행하고, 상기 배터리 관리 시스템의 배터리 상태 정보를 이용하여 차량 제어를 수행하는 것을 특징으로 하는 배터리 인증 기능을 구비한 전동 이륜 차량.
According to clause 9,
The vehicle controller,
When battery authentication is successful according to the authentication algorithm, a preset normal sequence operation is performed and vehicle control is performed using battery status information of the battery management system.
차량 제어기가 배터리 교체 요청 수신시, 상기 배터리의 NFC 타입을 판단하는 NFC 타입 판단 단계;
상기 배터리가 NFC P2P 타입인 경우, 배터리 관리 시스템이 배터리 인증 정보를 NFC 모듈로 P2P 방식으로 전달하는 인증 정보 전달 단계;
상기 NFC 모듈이 상기 배터리 인증 정보를 이용하여 미리 마련된 인증 알고리즘을 수행하는 인증 단계; 및
상기 차량 제어기가 상기 인증 알고리즘에 따른 배터리 인증 성공시, 기설정된 정상 시퀀스 동작을 수행하는 정상 동작 단계:
를 포함하는 전동 이륜 차량의 제어 방법.
An NFC type determination step in which the vehicle controller determines the NFC type of the battery when receiving a battery replacement request;
If the battery is an NFC P2P type, an authentication information transmission step in which the battery management system transmits battery authentication information to the NFC module in a P2P method;
An authentication step in which the NFC module performs a preset authentication algorithm using the battery authentication information; and
Normal operation step in which the vehicle controller performs a preset normal sequence operation when battery authentication is successful according to the authentication algorithm:
A control method for an electric two-wheeled vehicle comprising:
제 11 항에 있어서,
상기 NFC 타입 판단 단계 이후에 상기 배터리가 NFC 태그 타입인 경우, 상기 배터리 관리 시스템이 상기 배터리 인증 정보를 상기 NFC 모듈로 태그 방식으로 전달하는 태그 단계;
를 더 포함하는 것을 특징으로 하는 전동 이륜 차량의 제어 방법.
According to claim 11,
If the battery is an NFC tag type after the NFC type determination step, the battery management system transmits the battery authentication information to the NFC module using a tag method;
A control method for an electric two-wheeled vehicle further comprising:
제 12 항에 있어서,
상기 태그 단계 이후에 상기 NFC 모듈이 상기 배터리 인증 정보를 리드한 후 상기 차량 제어기에 전달하는 정보 리드 단계;
를 더 포함하는 것을 특징으로 하는 전동 이륜 차량의 제어 방법.
According to claim 12,
An information read step in which the NFC module reads the battery authentication information after the tag step and then transmits the battery authentication information to the vehicle controller;
A control method for an electric two-wheeled vehicle, further comprising:
제 13 항에 있어서,
상기 정보 리드 단계 이후에 상기 인증 단계에서, 상기 차량 제어기가 상기 배터리 인증 정보를 이용하여 상기 인증 알고리즘을 수행하는 것을 특징으로 하는 전동 이륜 차량의 제어 방법.
According to claim 13,
A method of controlling an electric two-wheeled vehicle, characterized in that in the authentication step after the information read step, the vehicle controller performs the authentication algorithm using the battery authentication information.
제 14 항에 있어서,
상기 배터리 인증 정보는,
배터리 ID와 차량 제어기 고유 ID를 포함하는 암호화 문자열, XOR 문자열, 랜덤 데이터에 의해 변형된 배터리 ID, 상기 변형된 배터리 ID가 암호화되어 생성되는 암호화 배터리 ID, 및 상기 랜덤 데이터를 포함하는 것을 특징으로 하는 전동 이륜 차량의 제어 방법.
According to claim 14,
The battery authentication information is,
Characterized in that it includes an encrypted string including a battery ID and a vehicle controller unique ID, an XOR string, a battery ID modified by random data, an encrypted battery ID generated by encrypting the modified battery ID, and the random data. Control method for an electric two-wheeled vehicle.
제 15 항에 있어서,
상기 인증 단계 이후에 상기 배터리가 상기 NFC P2P 타입인 경우, 상기 NFC 모듈이 상기 암호화 문자열의 배터리 ID와 상기 암호화 배터리 ID를 이용하여 배터리 인증 성공 여부를 판단하거나, 또는
상기 인증 단계 이후에 상기 배터리가 상기 NFC 태그 타입인 경우, 상기 차량 제어기가 상기 암호화 문자열의 배터리 ID와 상기 변형된 배터리 ID를 이용하여 배터리 인증 성공 여부를 판단하는 성공 판단 단계;
를 더 포함하는 것을 특징으로 하는 전동 이륜 차량의 제어 방법.
According to claim 15,
After the authentication step, if the battery is the NFC P2P type, the NFC module determines whether battery authentication is successful using the battery ID of the encryption string and the encryption battery ID, or
After the authentication step, if the battery is the NFC tag type, a success determination step in which the vehicle controller determines whether battery authentication is successful using the battery ID of the encrypted string and the modified battery ID;
A control method for an electric two-wheeled vehicle, further comprising:
제 16 항에 있어서,
상기 성공 판단 단계에서 상기 배터리 인증 성공 및 상기 배터리가 상기 NFC P2P 타입인 경우, 상기 NFC 모듈이 상기 차량 제어기와의 CAN 포트를 활성화하고, 인증 성공 정보를 상기 차량 제어기로 전송하는 활성화 단계;
를 더 포함하는 것을 특징으로 하는 전동 이륜 차량의 제어 방법.
According to claim 16,
In the success determination step, if the battery authentication is successful and the battery is the NFC P2P type, an activation step in which the NFC module activates a CAN port with the vehicle controller and transmits authentication success information to the vehicle controller;
A control method for an electric two-wheeled vehicle further comprising:
제 17 항에 있어서,
상기 정상 동작 단계 이후에 상기 차량 제어기가 상기 배터리 관리 시스템에 배터리 제어 명령을 전송하고, 상기 배터리 관리 시스템으로부터 배터리 상태 정보를 수신하는 배터리 제어 단계; 및
상기 차량 제어기가 상기 배터리 상태 정보를 이용하여 차량을 제어하는 차량 제어 단계;
를 더 포함하는 것을 특징으로 하는 전동 이륜 차량의 제어 방법.
According to claim 17,
A battery control step in which the vehicle controller transmits a battery control command to the battery management system and receives battery status information from the battery management system after the normal operation step; and
a vehicle control step in which the vehicle controller controls the vehicle using the battery state information;
A control method for an electric two-wheeled vehicle, further comprising:
제 16 항에 있어서,
상기 성공 판단 단계에서 상기 배터리 인증 실패 및 상기 배터리가 상기 NFC P2P 타입인 경우, 상기 NFC 모듈이 상기 차량 제어기와의 CAN 포트 비활성화를 유지하는 비활성화 단계;
를 더 포함하는 것을 특징으로 하는 전동 이륜 차량의 제어 방법.

According to claim 16,
If the battery authentication fails in the success determination step and the battery is the NFC P2P type, a deactivation step in which the NFC module maintains deactivation of the CAN port with the vehicle controller;
A control method for an electric two-wheeled vehicle further comprising:

KR1020220102171A 2022-08-16 2022-08-16 Electric two wheeled vehicle with battery authentication function and control method thereof KR20240023895A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020220102171A KR20240023895A (en) 2022-08-16 2022-08-16 Electric two wheeled vehicle with battery authentication function and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020220102171A KR20240023895A (en) 2022-08-16 2022-08-16 Electric two wheeled vehicle with battery authentication function and control method thereof

Publications (1)

Publication Number Publication Date
KR20240023895A true KR20240023895A (en) 2024-02-23

Family

ID=90041996

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020220102171A KR20240023895A (en) 2022-08-16 2022-08-16 Electric two wheeled vehicle with battery authentication function and control method thereof

Country Status (1)

Country Link
KR (1) KR20240023895A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20210070475A (en) 2019-12-04 2021-06-15 주식회사 엘지화학 Electric Scooter Ignition Method Using a Radio Communication Changed Type Battery Pack

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20210070475A (en) 2019-12-04 2021-06-15 주식회사 엘지화학 Electric Scooter Ignition Method Using a Radio Communication Changed Type Battery Pack

Similar Documents

Publication Publication Date Title
CN111791741B (en) Charging authentication method, charging pile, monitoring platform, BMS (battery management system), authentication chip and medium
CN112543927B (en) Equipment upgrading method and related equipment
CN102315942B (en) Security terminal with Bluetooth and communication method thereof of security terminal and client end
CN108924147B (en) Communication terminal digital certificate issuing method, server and communication terminal
CN110621014B (en) Vehicle-mounted equipment, program upgrading method thereof and server
CN103067401A (en) Method and system for key protection
CN106156677B (en) Identity card card reading method and system
CN102801730A (en) Information protection method and device for communication and portable devices
CN111600854A (en) Method for establishing security channel between intelligent terminal and server
CN112002043A (en) Intelligent lock control method and system based on NB-IOT
CN111404706B (en) Application downloading method, secure element, client device and service management device
CN112134694B (en) Data interaction method, master station, terminal and computer readable storage medium
CN113515755A (en) Wake-up method for autonomous vehicle, storage medium, and electronic device
CN101771680A (en) Method for writing data to smart card, system and remote writing-card terminal
US20230252451A1 (en) Contactless card with multiple rotating security keys
KR20200091142A (en) Electric vehicle customer auto certification service support apparatus
CN104835038A (en) Networking payment device and networking payment method
US10938254B2 (en) Secure wireless charging
KR20040050456A (en) System and Method for Intermediate of Authentication Tool Between Mobile Communication Terminal
CN113098833B (en) Information safety control method of vehicle, client device and server device
CN112583595B (en) Vehicle charging safety management method
CN101645893A (en) Network trading method, device and system
CN114173329B (en) Charging pile control method
KR20240023895A (en) Electric two wheeled vehicle with battery authentication function and control method thereof
CN108924822B (en) Card-contained secure communication method based on trusted environment and mobile terminal

Legal Events

Date Code Title Description
E902 Notification of reason for refusal