WO2022010264A1 - 통신 시스템 및 방법 - Google Patents

통신 시스템 및 방법 Download PDF

Info

Publication number
WO2022010264A1
WO2022010264A1 PCT/KR2021/008666 KR2021008666W WO2022010264A1 WO 2022010264 A1 WO2022010264 A1 WO 2022010264A1 KR 2021008666 W KR2021008666 W KR 2021008666W WO 2022010264 A1 WO2022010264 A1 WO 2022010264A1
Authority
WO
WIPO (PCT)
Prior art keywords
packet
information
communication
data
buffer
Prior art date
Application number
PCT/KR2021/008666
Other languages
English (en)
French (fr)
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 CN202180005396.7A priority Critical patent/CN114424500B/zh
Priority to JP2022511206A priority patent/JP7255749B2/ja
Priority to EP21838428.7A priority patent/EP4024772A4/en
Priority to US17/772,193 priority patent/US20220407812A1/en
Publication of WO2022010264A1 publication Critical patent/WO2022010264A1/ko

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/36Flow control; Congestion control by determining packet size, e.g. maximum transfer unit [MTU]
    • 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
    • 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
    • B60L58/12Methods or circuit arrangements for monitoring or controlling batteries or fuel cells, specially adapted for electric vehicles for monitoring or controlling batteries responding to state of charge [SoC]
    • 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
    • B60L58/16Methods or circuit arrangements for monitoring or controlling batteries or fuel cells, specially adapted for electric vehicles for monitoring or controlling batteries responding to battery ageing, e.g. to the number of charging cycles or the state of health [SoH]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40052High-speed IEEE 1394 serial bus
    • H04L12/40071Packet processing; Packet format
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/30Flow control; Congestion control in combination with information about buffer occupancy at either end or at transit nodes
    • 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
    • B60L2240/00Control parameters of input or output; Target parameters
    • B60L2240/40Drive Train control parameters
    • B60L2240/54Drive Train control parameters related to batteries
    • B60L2240/545Temperature
    • 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
    • B60L2240/00Control parameters of input or output; Target parameters
    • B60L2240/40Drive Train control parameters
    • B60L2240/54Drive Train control parameters related to batteries
    • B60L2240/547Voltage
    • 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
    • B60L2240/00Control parameters of input or output; Target parameters
    • B60L2240/40Drive Train control parameters
    • B60L2240/54Drive Train control parameters related to batteries
    • B60L2240/549Current
    • 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/60Monitoring or controlling charging stations
    • B60L53/66Data transfer between charging stations and vehicles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40267Bus for use in transportation systems
    • H04L2012/40273Bus for use in transportation systems the transportation system being a vehicle
    • 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/7072Electromobility specific charging systems or methods for batteries, ultracapacitors, supercapacitors or double-layer capacitors
    • 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
    • Y02T90/00Enabling technologies or technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02T90/10Technologies relating to charging of electric vehicles
    • Y02T90/12Electric charging stations
    • 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
    • Y02T90/00Enabling technologies or technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02T90/10Technologies relating to charging of electric vehicles
    • Y02T90/16Information or communication technologies improving the operation of electric vehicles

Definitions

  • the present invention relates to a communication system and method, and more particularly, to a communication system and method capable of reducing a communication load and reducing the waste of system resources consumed for communication.
  • ECUs electronice control units
  • the ECUs communicate with each other to provide information or receive information from other ECUs.
  • various functions and controls increase in the vehicle, and in particular, as an electric vehicle equipped with a battery is put to practical use, the amount of data transmitted and received between ECUs is increasing. Accordingly, communication standards and technologies for improving the efficiency of data communication between ECUs have been proposed.
  • Patent Document 1 discloses only a configuration in which the data receiving side changes the reception mode to the high-speed mode or the normal mode using CAN (Controller Area Network) communication.
  • CAN Controller Area Network
  • Patent Document 1 the transmitting side must transmit single information through each communication packet. Accordingly, when Patent Document 1 is used, a problem may arise that a considerable amount of time may be required in a situation in which diagnostic data is rapidly generated and transmitted, and various ECU states have to be diagnosed using the diagnostic data. In addition, in Patent Document 1, since only a communication packet including single information is used, when a plurality of pieces of information is transmitted, a problem that a communication load is increased may occur.
  • Patent Document 1 KR 10-1573637 B1
  • the present invention has been devised to solve the above problems, and an object of the present invention is to provide a communication system and method capable of reducing a communication load and reducing the waste of system resources consumed in communication.
  • a communication system is a communication system in which an information providing device and an information requesting device are communicatively connected using a communication bus, and receives an information providing request including one or more data identification information from the information requesting device and , selecting at least one of a plurality of packet structures according to the data size of one or more response data corresponding to the data identification information, and generating a communication packet including packet information and the response data using the selected packet structure, and generating an information providing device configured to output the received communication packet to the communication bus; and determining whether to store the communication packet based on the packet information, and when it is determined to store the communication packet, allocating a buffer corresponding to the communication packet based on the packet information included in the communication packet, , an information requesting device configured to store the response data included in the communication packet in an allocated buffer and extract the response data from the buffer.
  • the packet information may be configured to include at least one of packet identification information, packet structure information, and data size information.
  • the information requesting device may be configured to determine whether to store the communication packet based on the packet identification information included in the communication packet.
  • the information request apparatus may be configured to allocate a buffer corresponding to the communication packet based on at least one of the packet structure information and the data size information.
  • the information providing device calculates a data size of the one or more response data, compares the calculated data size with a preset reference value, and selects any one of a first packet structure and a second packet structure based on the comparison result a control unit configured to generate the communication packet based on the selected packet structure; a transmission buffer unit configured to store the communication packet generated by the control unit; and a packet transmitter configured to output the communication packet stored in the buffer to the communication bus.
  • the information providing apparatus may further include a measuring unit connected to one or more batteries and configured to measure battery information including at least one of a voltage, a current, and a temperature of the connected batteries.
  • the control unit may be configured to receive the battery information from the measurement unit, and to generate the one or more response data corresponding to the data identification information based on the received battery information.
  • the controller may be configured to select the first packet structure when the calculated data size is equal to or less than the preset reference value.
  • the controller may be configured to select the second packet structure when the calculated data size exceeds the preset reference value.
  • the control unit generates identification information corresponding to the information provision request as the packet identification information, generates structure identification information corresponding to the selected packet structure as the packet structure information, and obtains information on the calculated data size. and generate the communication packet by generating the data size information, and storing the packet identification information, the packet structure information, and the data size information in a pre-allocated area in the selected packet structure.
  • the information request apparatus may include: a reception buffer unit configured to include a buffer in which the response data included in the communication packet is stored; receiving the communication packet through the communication bus, extracting the packet identification information from the received communication packet, and receiving the response data included in the communication packet when the extracted packet identification information corresponds to the information provision request a packet receiver configured to store the data in the buffer and extract the response data from the receive buffer; and a processor configured to receive response data extracted from the packet receiver.
  • the packet receiving unit extracts the packet structure information from the communication packet, determines the packet structure of the communication packet as the first packet structure or the second packet structure based on the extracted packet structure information, and determines the packet structure It may be configured to allocate the buffer to the reception buffer unit with a preset size to correspond to .
  • the packet receiving unit when the determined packet structure is the second packet structure, further extracts the data size information from the communication packet, and sets the size of the allocated buffer to the data size based on the extracted data size information. It may be configured to adjust correspondingly.
  • the packet receiving unit stores the response data included in the communication packet in a buffer whose size is adjusted to correspond to the data size, extracts the response data stored in the reception buffer unit, and uses the extracted response data to the processor It may be configured to transmit to
  • the information providing apparatus may be configured to generate a plurality of communication packets based on one or more packet structures among the plurality of packet structures according to a data size of the response data.
  • An electric vehicle may include a communication system according to an aspect of the present invention.
  • a communication method comprises: an information provision request receiving step of receiving an information provision request including one or more data identification information; a packet structure selection step of selecting at least one of a plurality of packet structures according to a data size of one or more response data corresponding to the data identification information; a communication packet generating step of generating a communication packet including packet information and the response data by using the selected packet structure; a communication packet output step of outputting the generated communication packet to a communication bus; a storage determination step of determining whether to store the communication packet based on the packet information included in the communication packet; a buffer allocating step of allocating a buffer corresponding to the communication packet based on the packet information included in the communication packet when it is determined to store the communication packet; and storing the response data included in the communication packet in an allocated buffer and extracting the response data from the buffer.
  • the communication load on the communication bus can be significantly reduced. have.
  • the information requesting device since the information requesting device allocates a buffer corresponding to the communication packet and stores the communication packet in the allocated buffer, it is possible to prevent the buffer of the information requesting device from being wasted. have.
  • FIG. 1 is a diagram schematically illustrating a communication system according to an embodiment of the present invention.
  • FIG. 2 is a diagram schematically illustrating an exemplary configuration of a communication system according to an embodiment of the present invention.
  • FIG. 3 is a diagram schematically illustrating an information providing apparatus included in a communication system according to an embodiment of the present invention.
  • FIG. 4 is a diagram schematically illustrating an information requesting apparatus included in a communication system according to an embodiment of the present invention.
  • FIG. 5 is a diagram schematically illustrating a first packet structure used in a communication system according to an embodiment of the present invention.
  • FIG. 6 is a diagram schematically illustrating a second packet structure used in a communication system according to an embodiment of the present invention.
  • FIG. 7 is a diagram schematically illustrating an exemplary configuration of a communication packet generated by a communication system according to an embodiment of the present invention.
  • FIG. 8 is a diagram schematically illustrating a communication method according to another embodiment of the present invention.
  • a term such as a control unit described in the specification means a unit for processing at least one function or operation, which may be implemented as hardware or software, or a combination of hardware and software.
  • FIG. 1 is a diagram schematically illustrating a communication system 10 according to an embodiment of the present invention.
  • 2 is a diagram schematically illustrating an exemplary configuration of a communication system 10 according to an embodiment of the present invention.
  • the communication system 10 may include an information providing apparatus 100 and an information requesting apparatus 200 .
  • the information providing apparatus 100 and the information requesting apparatus 200 may be communicatively connected using a communication bus B.
  • the information providing apparatus 100 may be configured to receive an information providing request including one or more data identification information from the information requesting apparatus 200 .
  • the information request apparatus 200 may output an information provision request including one or more data identification information to the communication bus B.
  • the information providing apparatus 100 may receive an information providing request through the communication bus (B).
  • the data identification information may be information on an item of data requested by the information requesting device 200 .
  • the data identification information that may be included in the information provision request may include battery-related items for battery information such as voltage, current, temperature, state of charge (SOC), and state of health (SOH) of the battery.
  • the data identification information may include diagnostic related items for a diagnostic code for a battery and a diagnostic code for an electronic control unit (ECU).
  • the battery may refer to one independent cell having a negative terminal and a positive terminal and physically separable.
  • one pouch-type lithium polymer cell may be regarded as a battery cell.
  • the battery may refer to a battery pack in which one or more battery cells are connected in series and/or in parallel, and further including an electrical device (relay, fuse, etc.) and a case.
  • the electronic control device includes an Airbag Control Unit (ACU), a Body Control Module (BCM), an Engine Control Unit (ECU), a Powertrain Control Module (PCM), a Transmission Control Unit (TCU), and an ABS (Body Control Module) that may be provided in an electric vehicle.
  • ACU Airbag Control Unit
  • BCM Body Control Module
  • ECU Engine Control Unit
  • PCM Powertrain Control Module
  • TCU Transmission Control Unit
  • ABS ABS (Body Control Module)
  • Anti-lock Braking System Anti-lock Braking System), Electronic Stability Control (ESC), Hybrid Power Control Unit (HPCU), Battery Management System (BMS), and Motor Control Unit (MCU) may be included.
  • ESC Electronic Stability Control
  • HPCU Hybrid Power Control Unit
  • BMS Battery Management System
  • MCU Motor Control Unit
  • the information providing apparatus 100 and the information requesting apparatus 200 may be connected in parallel using the communication bus B. That is, the information providing request output to the communication bus B by the information requesting device 200 may be received by the information providing device 100 .
  • the information providing apparatus 100 may be configured to select at least one of a plurality of packet structures according to a data size of one or more response data corresponding to the data identification information.
  • the information providing apparatus 100 may extract data identification information from the received information providing request. For example, when the information requesting device 200 wants to request voltage information of the battery pack from the information providing device 100 , it outputs a request for providing information including data identification information on the voltage of the battery pack to the communication bus B . can do. In addition, the information providing apparatus 100 may receive the information provision request, and extract data identification information on the voltage of the battery pack from the received information provision request.
  • the information providing apparatus 100 may generate response data corresponding to data identification information. That is, the response data may be data corresponding to the data identification information requested by the information request apparatus 200 .
  • the information providing apparatus 100 may select a packet structure for generating a communication packet according to the data size of the generated response data. Preferably, each of the plurality of packet structures may be preset to correspond to a data size of response data.
  • the information providing apparatus 100 may be configured to generate a communication packet including packet information and the response data by using the selected packet structure.
  • the packet information may be configured to include at least one of packet identification information, packet structure information, and data size information.
  • the packet information may include packet identification information, packet structure information, and data size information.
  • the information providing apparatus 100 may generate a communication packet to be provided to the information requesting apparatus 200 by storing packet information and response data in the selected packet structure.
  • the packet identification information may be identification information corresponding to the information provision request. That is, the packet identification information may be identification information through which the information requesting apparatus 200 can determine whether the communication packet generated by the information providing apparatus 100 is a communication packet corresponding to the information providing request.
  • the packet structure information may be identification information on a packet structure selected by the information providing apparatus 100 according to a data size of response data from among a plurality of packet structures. That is, the packet structure information may be identification information by which the information requesting apparatus 200 can identify a packet structure that is a basis of the communication packet generated by the information providing apparatus 100 .
  • the data size information may be information on the data size of response data.
  • the data size information may be a data length code (DLC). That is, the data size information may be information by which the information request apparatus 200 can check the data size of the response data included in the communication packet.
  • DLC data length code
  • the information providing apparatus 100 may be configured to output the generated communication packet to the communication bus (B).
  • the information providing apparatus 100 may output the generated communication packet to the communication bus B connected to the information requesting apparatus 200 .
  • the information request apparatus 200 may be configured to receive a communication packet output to the communication bus B by the information providing apparatus 100 .
  • the information requesting device 200 may be connected to the communication bus B.
  • the information requesting apparatus 200 may receive a communication packet output by the information providing apparatus 100 through the communication bus B.
  • the information requesting device 200 may first check packet information included in the communication packet.
  • the information requesting apparatus 200 may store response data included in the communication packet when the packet information satisfies a predetermined condition.
  • the information request apparatus 200 may be configured to determine whether to store the communication packet based on the packet information included in the communication packet.
  • the information requesting device 200 may be configured to determine whether to store the communication packet based on the packet identification information included in the communication packet.
  • the packet identification information may be identification information that can confirm whether the communication packet received by the information request device 200 is a communication packet corresponding to the information provision request. Accordingly, the information requesting apparatus 200 may check packet identification information stored in the communication packet. In addition, the information request apparatus 200 may determine to store the communication packet only when the packet identification information corresponds to the information provision request transmitted to the information provision apparatus 100 . Preferably, the information requesting device 200 may decide to store the response data included in the communication packet.
  • the information request apparatus 200 may be configured to allocate a buffer corresponding to the communication packet based on the packet information.
  • the information request apparatus 200 may be configured to allocate a buffer corresponding to the communication packet based on at least one of the packet structure information and the data size information.
  • the buffer means a storage space in which communication packets can be stored.
  • the information requesting apparatus 200 may check the packet structure information stored in the communication packet to determine the packet structure based on the communication packet. In addition, the information request apparatus 200 may allocate a preset buffer to correspond to the checked packet structure. Conversely, when the information requesting apparatus 200 determines not to store the communication packet, the information requesting apparatus 200 may ignore the communication packet without allocating a buffer corresponding to the communication packet.
  • the information request apparatus 200 may be configured to store the response data included in the communication packet in an allocated buffer and extract the response data from the buffer.
  • the information request apparatus 200 may store response data included in the communication packet in the allocated buffer. That is, reception and storage of the communication packet by the information requesting device 200 may be independent of each other.
  • the information request apparatus 200 may extract the stored response data from the buffer.
  • the response data may be data corresponding to the information provision request transmitted by the information requesting apparatus 200 to the information providing apparatus 100 . Accordingly, as the information requesting apparatus 200 extracts response data from the buffer, communication between the information requesting apparatus 200 and the information providing apparatus 100 may be terminated.
  • a communication packet is generated using a packet structure most suitable for the data size of response data, and the information providing apparatus 100 and the information request through the generated communication packet Since the communication between the devices 200 is performed, there is an advantage that the communication load on the communication bus B can be significantly reduced.
  • the information request device 200 allocates a buffer corresponding to the communication packet, and stores the response data included in the communication packet in the allocated buffer. , it is possible to prevent the buffer of the information request device 200 from being wasted. That is, since the receiving buffer of the information requesting apparatus 200 is efficiently managed, there is an advantage in that the system resources of the information requesting apparatus 200 are not wasted unnecessarily and can be used efficiently.
  • FIG 3 is a diagram schematically illustrating an information providing apparatus 100 included in the communication system 10 according to an embodiment of the present invention.
  • the information providing apparatus 100 may include a control unit 110 , a transmission buffer unit 120 , and a packet transmission unit 130 .
  • the controller 110 may be configured to calculate a data size for the one or more response data.
  • the controller 110 may calculate the data size of one response data.
  • the controller 110 calculates the data size of each of the plurality of response data, and sums the calculated data size to obtain a total for the plurality of response data.
  • the data size can be calculated.
  • control unit 110 may be configured to compare the calculated data size with a preset reference value and select one of the first packet structure and the second packet structure based on the comparison result.
  • the controller 110 may be configured to select the first packet structure when the calculated data size is equal to or less than the preset reference value. Conversely, the controller 110 may be configured to select the second packet structure when the calculated data size exceeds the preset reference value.
  • the first packet structure may be a packet structure for CAN (Controller area network) communication
  • the second packet structure may be a packet structure for CAN FD (Controller area network flexible data-rate) communication.
  • the preset reference value may be 8 bytes. If the data size of the response data is 8 bytes or less, the controller 110 may select the first packet structure for CAN communication. Conversely, when the data size of the response data exceeds 8 bytes, the controller 110 may select the second packet structure for CAN FD communication.
  • control unit 110 may be configured to generate the communication packet based on the selected packet structure.
  • the controller 110 may select one of the first packet structure and the second packet structure based on the data size, and store packet information and response data in the selected packet structure to generate a communication packet.
  • the packet structure may include a packet information area storing packet information and a data area storing response data.
  • an area in which packet information is to be stored may be allocated in advance. Accordingly, the controller 110 may store the packet information in the packet information area first, and then store the response data in the data area.
  • the transmission buffer unit 120 may be configured to store the communication packet generated by the control unit 110 .
  • the transmission buffer unit 120 may store the communication packet before the communication packet is output to the communication bus (B).
  • the control unit 110 may store the generated communication packet in the transmission buffer unit 120 .
  • the packet transmission unit 130 may be configured to output the communication packet stored in the buffer unit to the communication bus (B).
  • the packet transmission unit 130 may output the communication packet stored in the transmission buffer unit 120 to the communication bus (B). That is, when the communication packet is stored in the transmission buffer unit 120 by the control unit 110 , the packet transmission unit 130 may output the communication packet stored in the transmission buffer unit 120 to the communication bus B .
  • the information providing apparatus 100 may further include a measurement unit 140 .
  • the measurement unit 140 may be configured to be connected to one or more batteries.
  • the measurement unit 140 may be configured to measure battery information including at least one of a voltage, a current, and a temperature of a connected battery.
  • the measurement unit 140 may include a voltage measurement unit that measures a positive voltage and a negative voltage of the battery and calculates a difference between the measured positive voltage and negative voltage to calculate a voltage value of the battery.
  • the measuring unit 140 may include a current measuring unit capable of measuring the current value of the battery in the charging and/or discharging path of the battery.
  • the measuring unit 140 may include a temperature measuring unit capable of measuring the temperature of the battery.
  • the measurement unit 140 may be configured to be connected to the control unit 110 .
  • the control unit 110 may be configured to receive the battery information from the measurement unit 140 .
  • the controller 110 may extract data identification information included in the information provision request and request battery information from the measurement unit 140 to obtain response data corresponding to the extracted data identification information.
  • the control unit 110 may request the measurement unit 140 to measure the voltage of the battery in order to obtain response data for the battery voltage value. have.
  • the measurement unit 140 may measure a voltage value of the battery and transmit the measured voltage value of the battery to the control unit 110 .
  • controller 110 may be configured to generate the one or more response data corresponding to the data identification information based on the received battery information.
  • the controller 110 may receive the voltage value of the battery from the measurement unit 140 , and may generate response data based on the received voltage value of the battery. For example, when the voltage value of the battery measured by the measurement unit 140 is 10 [V], the control unit 110 receives a value of 10 [V] as the voltage value of the battery from the measurement unit 140, and receives A value of 10 [V] can be generated as response data.
  • the controller 110 may receive the voltage value of the battery from the measurement unit 140 . And, the controller 110 may diagnose the state of the battery based on the voltage of the battery. For example, the controller 110 may diagnose the state of the battery by comparing the voltage value of the battery received from the measurement unit 140 with a preset reference voltage value. In addition, the controller 110 may generate the diagnosis result as response data.
  • the response data that can be generated by the controller 110 is not limited by this embodiment, and may include various battery information and/or diagnostic information corresponding to data identification information included in the information provision request.
  • the processor 230 provided in the control unit 110 and the information request apparatus 200 provided in the information providing apparatus 100 is a processor known in the art to execute various control logic performed in the present invention, ASIC ( application-specific integrated circuit), other chipsets, logic circuits, registers, communication modems, data processing devices, and the like.
  • ASIC application-specific integrated circuit
  • the information request device 200 is configured to further include a communication unit (not shown) configured to output the information provision request to the communication bus (B), the information providing apparatus 100 is a communication unit capable of receiving the information provision request (not shown) may be configured to further include.
  • the communication unit of the information request apparatus 200 may output an information provision request including a data identification item to the communication bus B. And, the communication unit of the information providing apparatus 100 may receive the information provision request output to the communication bus (B).
  • the control unit 110 may be configured to generate identification information corresponding to the information provision request as the packet identification information.
  • control unit 110 may generate identification information for checking whether a communication packet corresponding to the information provision request is packet identification information.
  • control unit 110 may be configured to generate structure identification information corresponding to the selected packet structure as the packet structure information.
  • control unit 110 may generate structure identification information indicating a packet structure of a communication packet among a plurality of selectable packet structures as packet structure information.
  • controller 110 may be configured to generate the data size information based on the calculated data size.
  • controller 110 may be configured to generate the communication packet by storing the packet identification information, the packet structure information, and the data size information in a pre-allocated area in the selected packet structure.
  • a packet information area in which packet identification information, packet structure information, and data size information can be stored may be pre-allocated in the packet structure. Accordingly, when generating a communication packet, the controller 110 may store the generated packet identification information, packet structure information, and data size information in the pre-allocated packet information area.
  • the information requesting apparatus 200 receiving the communication packet may check whether the received communication packet is a communication packet corresponding to the information provision request through packet identification information stored in the communication packet. Also, the information requesting apparatus 200 may check the packet structure of the received communication packet through packet structure information stored in the communication packet. Also, the information request apparatus 200 may check the data size of the response data through data size information stored in the communication packet.
  • FIG. 4 is a diagram schematically illustrating an information requesting device 200 included in the communication system 10 according to an embodiment of the present invention.
  • the information requesting apparatus 200 may include a reception buffer unit 210 , a packet reception unit 220 , and a processor 230 .
  • the reception buffer unit 210 may be configured to include a buffer in which the response data included in the communication packet is stored. Preferably, after the packet information stored in the communication packet is checked by the packet receiving unit 220 , the response data included in the communication packet may be stored in the buffer of the receiving buffer unit 210 .
  • the packet receiving unit 220 may be configured to receive the communication packet through the communication bus (B).
  • the packet receiving unit 220 may be connected to the communication bus (B). And, when the information providing apparatus 100 outputs a communication packet to the communication bus B, the packet receiver 220 may receive the communication packet through the communication bus B.
  • the packet receiving unit 220 may be configured to extract the packet identification information from the received communication packet.
  • the packet identification information may be identification information capable of confirming whether the received communication packet is a communication packet corresponding to the information provision request. Therefore, the packet receiving unit 220 first checks the packet identification information stored in the communication packet before storing the response data in the reception buffer unit 210, so that the communication packet received through the communication bus B is transmitted to the information providing device ( 100), it can be checked whether the communication packet corresponds to the information provision request.
  • the packet receiving unit 220 may be configured to store the communication packet in the receiving buffer unit 210 when the extracted packet identification information corresponds to the information provision request.
  • the packet receiving unit 220 transmits response data included in the received communication packet to the receiving buffer unit ( 210) can be stored.
  • the packet receiver 220 may ignore the received communication packet.
  • the packet receiving unit 220 may be configured to extract the response data from the receiving buffer unit 210 .
  • the packet receiving unit 220 may store the response data in the reception buffer unit 210 and then extract the response data from the reception buffer unit 210 .
  • the packet receiving unit 220 may be configured to store response data in the receiving buffer unit 210 only for the communication packet corresponding to the information provision request.
  • the processor 230 may be configured to receive the response data from the packet receiver 220 .
  • the processor 230 may be communicatively connected to the packet receiver 220 .
  • the packet receiving unit 220 may transmit the response data extracted from the receiving buffer unit 210 to the processor 230 . That is, the processor 230 may receive response data corresponding to the information provision request through the packet receiver 220 .
  • only response data included in a communication packet corresponding to an information provision request is stored in the reception buffer unit 210, and the stored response data may be extracted. That is, the response data included in all communication packets output to the communication bus B is not stored in the information request device 200 , but only response data included in the communication packet corresponding to the information provision request is selectively requested for information Since it is stored in the device 200 , it is possible to prevent excessive waste of system resources of the information request device 200 .
  • the packet receiver 220 may be configured to extract the packet structure information from the communication packet.
  • the packet receiving unit 220 may check packet identification information stored in the received communication packet, and extract packet structure information only when the received communication packet is a communication packet corresponding to the transmitted information provision request.
  • the packet receiving unit 220 may extract packet structure information from the communication packet before allocating a buffer to the receiving buffer unit 210 .
  • the packet receiver 220 may be configured to determine the packet structure of the communication packet as the first packet structure or the second packet structure based on the extracted packet structure information.
  • the communication packet when the packet structure of the communication packet is the first packet structure, the communication packet may include identification information indicating the first packet structure as packet structure information. Conversely, when the packet structure of the communication packet is the second packet structure, the communication packet may include identification information indicating the second packet structure as packet structure information. Accordingly, the packet receiver 220 may determine the packet structure of the received communication packet as the first packet structure or the second packet structure by checking the packet structure information extracted from the communication packet.
  • the packet receiving unit 220 may be configured to allocate the buffer to the receiving buffer unit 210 with a preset size to correspond to the determined packet structure.
  • the size of the buffer preset to correspond to the first packet structure and the size of the buffer preset to correspond to the second packet structure may be different from each other.
  • the size of the buffer preset to correspond to the first packet structure may be 8 bytes
  • the size of the buffer preset to correspond to the second packet structure may be 64 bytes.
  • the packet receiving unit 220 may allocate a buffer having a size corresponding to the packet structure of the communication packet to the receiving buffer unit 210 by setting a register value related to the buffer.
  • the packet receiving unit 220 may allocate a buffer to the receiving buffer unit 210 to correspond to the structure of the communication packet, and then store response data included in the communication packet in the allocated buffer.
  • the buffer of the reception buffer unit 210 in which the communication packet may be stored may be allocated according to the structure of the communication packet. Therefore, since the buffer of the reception buffer unit 210 is allocated based on the packet structure of the communication packet, it is inadvisable that the buffer of the reception buffer unit 210 is allocated too much and the system resources of the reception buffer unit 210 are wasted. can be prevented from
  • the packet receiver 220 may be configured to further extract the data size information from the communication packet.
  • the packet receiving unit 220 may check the packet structure information stored in the received communication packet, and extract data size information only when the packet structure of the received communication packet is the second packet structure.
  • the packet receiving unit 220 may extract data size information from the communication packet after first allocating a buffer to the receiving buffer unit 210 .
  • the packet receiver 220 may be configured to adjust the size of the allocated buffer to a size corresponding to the data size based on the extracted data size information.
  • the packet receiver 220 may first allocate a buffer having a size corresponding to the structure of the communication packet, and then extract data size information from the communication packet. In addition, the packet receiver 220 may check the data size of the response data from the extracted data size information, and adjust the size of the buffer allocated to the receive buffer unit 210 to correspond to the checked data size. For example, the packet receiving unit 220 may change the buffer-related register value to change the size of the buffer allocated to the receiving buffer unit 210 to correspond to the data size.
  • the packet receiving unit 220 may allocate a buffer having a size of 64 bytes to the receiving buffer unit 210 to correspond to the packet structure of the communication packet.
  • the packet receiving unit 220 may change the size of the buffer allocated to the receiving buffer unit 210 to 20 bytes in consideration of the data size (20 bytes) of the response data.
  • the packet receiving unit 220 may store response data in a buffer allocated to the receiving buffer unit 210 . That is, after changing the size of the buffer allocated to the receiving buffer unit 210 , the packet receiving unit 220 may store the response data in the changed size of the buffer.
  • the buffer of the reception buffer unit 210 may be appropriately allocated to a communication packet according to a packet structure and data size. Accordingly, since the buffer of the reception buffer unit 210 can be optimally allocated to a communication packet, the system resource of the reception buffer unit 210 can be efficiently used.
  • FIG. 5 is a diagram schematically illustrating a first packet structure used in the communication system 10 according to an embodiment of the present invention.
  • the first packet structure may be a packet structure for CAN communication.
  • the first packet structure may include a packet information area and a data area.
  • the packet structure information area may include a packet structure information area in which packet structure information of a communication packet may be stored. That is, identification information indicating the first packet structure may be stored in the packet information area of the first packet structure.
  • the packet information area may include a data size area in which data size information of a communication packet may be stored. Also, the packet information area may include a packet identification information area in which packet identification information of a communication packet may be included.
  • the packet receiving unit 220 of the information requesting apparatus 200 may extract packet identification information, packet structure information, and data size information from the packet information area of the received communication packet.
  • response data may be stored in the data area.
  • the data size of the response data that can be stored in the first packet structure may be 8 bytes or less.
  • FIG. 6 is a diagram schematically illustrating a second packet structure used in the communication system 10 according to an embodiment of the present invention.
  • the second packet structure may be a packet structure for CAN FD communication.
  • the second packet structure may include a packet information area and a data area.
  • the packet information area included in the second packet structure may include a packet structure information area, a data size area, and a packet identification information area, like the packet information area included in the first packet structure.
  • packet structure information indicating the second packet structure may be stored in the packet information area of the second packet structure.
  • the data size of the response data that can be stored in the second packet structure may be 64 bytes or less.
  • the controller 110 may generate a communication packet according to the first packet structure.
  • the controller 110 may generate a communication packet according to the second packet structure.
  • FIG. 7 is a diagram schematically illustrating an exemplary configuration of a communication packet generated by the communication system 10 according to an embodiment of the present invention.
  • FIG. 7 is a diagram schematically illustrating a communication packet generated when the data size of response data is 20 bytes.
  • the packet structure of the communication packet may be the second packet structure.
  • the data area of the second packet structure may include response data of a maximum size of 64 bytes, but FIG. 7 is an embodiment in which the data area of the second packet structure includes response data of a size of 20 bytes. .
  • the packet receiving unit 220 of the information requesting device 200 may extract packet identification information from the packet information area of the communication packet. Specifically, the packet receiver 220 may extract packet identification information from the packet identification information area of the packet information area.
  • the packet receiver 220 may extract packet structure information from the packet information area of the communication packet. Specifically, the packet receiver 220 may extract packet structure information from the packet structure information area of the packet information area.
  • the packet receiving unit 220 may allocate a 64-byte buffer to the receiving buffer unit 210 .
  • the packet receiver 220 may extract data size information from the packet information area of the communication packet. Specifically, the packet receiver 220 may extract data size information from the data size area of the packet information area.
  • the packet receiver 220 may adjust the size of the buffer allocated to the receive buffer 210 to correspond to the extracted data size information.
  • the data size of response data included in the communication packet may be 20 bytes.
  • the packet receiving unit 220 may change the size of the buffer allocated to the receiving buffer unit 210 from 64 bytes to 20 bytes.
  • the packet receiver 220 may store response data included in the communication packet in a buffer of the receive buffer 210 .
  • the packet receiver 220 may be configured to store the response data included in the communication packet in a buffer whose size is adjusted to correspond to the data size.
  • the packet receiving unit 220 may be configured to extract the response data stored in the reception buffer unit 210 and transmit the extracted response data to the processor 230 .
  • the information providing apparatus 100 may be configured to generate a plurality of communication packets based on one or more packet structures among the plurality of packet structures according to the data size of the response data. That is, the plurality of communication packets may be generated based on the same packet structure or may be generated based on different packet structures.
  • the controller 110 of the information requesting device 200 may compare the calculated data size of the response data with the data upper limit size of the second packet structure.
  • the controller 110 may generate a first communication packet including a part of the response data according to the second packet structure.
  • the controller 110 selects any one of the first packet structure and the second packet structure according to the data size of the response data, A second communication packet may be further generated according to the packet structure.
  • the controller 110 may generate the first communication packet according to the second packet structure to include some data corresponding to 64 bytes of the response data.
  • the data size information stored in the data size area of the first communication packet may be 64 bytes.
  • the controller 110 may calculate the size of residual data not included in the first communication packet among the calculated response data. Then, the controller 110 may compare the calculated size of the residual data with the upper limit size of the data of the second packet structure.
  • the controller 110 may further generate a second communication packet including a part of the residual data according to the second packet structure.
  • the controller 110 selects one of the first packet structure and the second packet structure according to the size of the residual data, and selects the selected packet structure. Accordingly, a second communication packet may be further generated.
  • the controller 110 may compare the size (4 Bytes) of the residual data with a preset reference value (8 Bytes). Since the size of the remaining data (4 bytes) is less than or equal to a preset reference value (8 bytes), the controller 110 may generate the second communication packet according to the first packet structure.
  • the communication system 10 when the communication system 10 according to an embodiment of the present invention needs to generate a plurality of communication packets with respect to response data, it does not uniformly generate a plurality of communication packets by using only one packet structure, and the response data A plurality of communication packets may be generated using a plurality of different packet structures to correspond to the data size of . Accordingly, the communication load of the communication bus B can be reduced in the process of transmitting a plurality of communication packets, and the communication packet processing process by the information requesting apparatus 200 can be performed more quickly and efficiently.
  • An electric vehicle according to another embodiment of the present invention may include the communication system 10 according to an embodiment of the present invention.
  • the communication bus B connected so that the information providing device 100 and the information requesting device 200 included in the communication system 10 are communicable may be a vehicle communication network of the electric vehicle.
  • the communication bus B may be a communication bus B capable of CAN communication and CAN FD communication.
  • various electronic control devices that may be included in an electric vehicle may be applied to the information providing device 100 .
  • the information providing apparatus 100 is a BMS, the information providing apparatus 100 may provide battery information on the battery and diagnostic information on the battery.
  • the information providing apparatus 100 is an airbag control unit (ACU), the information providing apparatus 100 may provide diagnostic information about the airbag.
  • ACU airbag control unit
  • FIG. 8 is a diagram schematically illustrating a communication method according to another embodiment of the present invention.
  • a communication method according to another embodiment of the present invention may be performed by the communication system 10 according to an embodiment of the present invention.
  • the content overlapping with the previously described content will be briefly described or omitted.
  • a communication method includes an information provision request reception step (S100), a packet structure selection step (S200), a communication packet generation step (S300), and a communication packet output step (S400).
  • a storage or not determining step (S500), a buffer allocation step (S600), and a data extraction step (S700) may be included.
  • the information providing request receiving step S100 is a step of receiving an information providing request including one or more data identification information, and may be performed by the information providing apparatus 100 .
  • the packet structure selection step S200 is a step of selecting at least one of a plurality of packet structures according to the data size of one or more response data corresponding to the data identification information, and may be performed by the information providing apparatus 100 .
  • the information providing apparatus 100 may extract data identification information included in the received information providing request. In addition, the information providing apparatus 100 may obtain response data corresponding to the extracted data identification information and calculate a data size of the obtained response data. In addition, the information providing apparatus 100 may select any one of a plurality of packet structures based on the calculated data size of the response data.
  • the information providing apparatus 100 may select a packet structure in consideration of the data size of the calculated response data.
  • the plurality of packet structures may include the first packet structure of FIG. 5 and the second packet structure of FIG. 6 .
  • the communication packet generating step ( S300 ) is a step of generating a communication packet including packet information and the response data using the selected packet structure, and may be performed by the information providing apparatus 100 .
  • the information providing apparatus 100 may generate a communication packet by storing packet information and response data in the selected packet structure.
  • the packet information may include at least one of packet identification information, packet structure information, and data size information.
  • the communication packet output step S400 is a step of outputting the generated communication packet to the communication bus B, and may be performed by the information providing apparatus 100 .
  • the information providing apparatus 100 may be communicatively connected to the communication bus B and output the generated communication packet to the communication bus B.
  • the storing or not determining step ( S500 ) is a step of determining whether to store the communication packet based on the packet identification information included in the communication packet, and may be performed by the information requesting apparatus 200 .
  • the information requesting device 200 may receive a communication packet output to the communication bus (B). And, the information requesting apparatus 200 may extract packet identification information from the packet information area of the communication packet. In addition, the information request apparatus 200 may determine whether the extracted packet identification information corresponds to the transmitted information provision request.
  • the buffer allocating step ( S600 ) is a step of allocating a buffer corresponding to the communication packet based on the packet information included in the communication packet when it is decided to store the communication packet, by the information requesting device 200 . can be performed.
  • the information request apparatus 200 may allocate a buffer corresponding to the communication packet based on at least one of packet structure information and data size information.
  • the buffer allocation step ( S600 ) may be performed only when the packet identification information included in the communication packet corresponds to the information provision request.
  • the information requesting apparatus 200 may extract packet structure information and/or data size information from the packet information area of the communication packet.
  • the storage request device may allocate a buffer for storing the communication packet based on the extracted packet structure information and/or data size information.
  • the information request apparatus 200 may allocate a buffer for storing response data included in the communication packet.
  • the data extraction step S700 is a step of storing the response data included in the communication packet in an allocated buffer and extracting the response data from the buffer, and may be performed by the information requesting apparatus 200 .
  • the information requesting apparatus 200 may first store response data included in a communication packet in an allocated buffer, and extract response data from the buffer.
  • the present invention described above is not implemented only through limited embodiments, and may be implemented through a program for realizing a function corresponding to the configuration of an embodiment of the present invention or a recording medium in which the program is recorded, such implementation is previously From the description of the described embodiment, it can be easily implemented by those skilled in the art to which the present invention pertains.
  • control unit 110 control unit

Abstract

본 발명은 통신 부하를 줄이고, 통신에 소모되는 시스템 자원의 낭비를 줄일 수 있는 통신 시스템 및 방법을 제공하는 것을 목적으로 한다. 본 발명의 일 측면에 따르면, 데이터 크기에 가장 적합한 패킷 구조를 이용하여 통신 패킷이 생성되고, 생성된 통신 패킷을 통해서 통신이 수행되기 때문에, 통신 버스에 통신 부하가 현저하게 감소될 수 있는 장점이 있다. 또한, 본 발명의 다른 측면에 따르면, 정보 요청 장치가 통신 패킷에 대응되는 버퍼를 할당하고, 할당된 버퍼에 통신 패킷을 저장하기 때문에, 정보 요청 장치의 버퍼가 낭비되는 것을 방지될 수 있는 장점이 있다.

Description

통신 시스템 및 방법
본 출원은 2020년 07월 09일자로 출원된 한국 특허 출원번호 제10-2020-0084903호에 대한 우선권주장출원으로서, 해당 출원의 명세서 및 도면에 개시된 모든 내용은 인용에 의해 본 출원에 원용된다.
본 발명은 통신 시스템 및 방법에 관한 것으로서, 보다 상세하게는, 통신 부하를 줄이고, 통신에 소모되는 시스템 자원의 낭비를 줄일 수 있는 통신 시스템 및 방법에 관한 것이다.
최근, 노트북, 비디오 카메라, 휴대용 전화기 등과 같은 휴대용 전자 제품의 수요가 급격하게 증대되고, 전기 자동차, 에너지 저장용 축전지, 로봇, 위성 등의 개발이 본격화됨에 따라, 반복적인 충방전이 가능한 고성능 배터리에 대한 연구가 활발히 진행되고 있다.
현재 상용화된 배터리로는 니켈 카드뮴 전지, 니켈 수소 전지, 니켈 아연 전지, 리튬 배터리 등이 있는데, 이 중에서 리튬 배터리는 니켈 계열의 배터리에 비해 메모리 효과가 거의 일어나지 않아 충방전이 자유롭고, 자가 방전율이 매우 낮으며 에너지 밀도가 높은 장점으로 각광을 받고 있다.
한편, 이러한 배터리가 구비된 장치에는 다양한 ECU(Electronic Control Unit)들이 포함되고, ECU들은 서로 통신하며 정보를 제공하거나, 다른 ECU로부터 정보를 제공 받을 수 있다. 차량을 예로 들면, 차량에서는 다양한 기능과 제어가 증가하고, 특히, 배터리가 구비된 전기 자동차가 실용화되면서, ECU들 간의 데이터 송수신량이 증대되고 있다. 따라서, ECU들 간의 데이터 통신의 효율을 향상시키기 위한 통신 규격 및 기술 등이 제안되고 있다.
예컨대, 특허문헌 1은 CAN(Controller Area Network) 통신을 이용하여, 데이터를 수신하는 측에서 고속 모드 또는 일반 모드로 수신 모드를 변경하는 구성만을 개시하고 있다. 다만, 특허문헌 1은 수신 모드의 변경을 통해 트래픽 부하를 개선하고 있기 때문에, 다양한 정보가 실시간으로 제공되어야 하는 전기 자동차와 같은 장치에서는 적용되기 어려운 문제가 있다.
즉, 특허문헌 1은 송신측에서는 단일 정보를 각각의 통신 패킷을 통해 전송해야 한다. 따라서, 특허문헌 1을 이용할 경우, 진단용 데이터를 신속하게 생성 및 송신하고, 이러한 진단용 데이터를 이용하여 다양한 ECU의 상태를 진단해야 하는 상황에서 상당한 시간이 소요될 수 있다는 문제가 야기될 수 있다. 또한, 특허문헌 1은 단일 정보를 포함하는 통신 패킷만 이용되기 때문에, 복수의 정보를 송신하는 경우에는 통신 부하가 가중되는 문제가 야기될 수 있다.
(특허문헌 1) KR 10-1573637 B1
본 발명은, 상기와 같은 문제점을 해결하기 위해 안출된 것으로서, 통신 부하를 줄이고, 통신에 소모되는 시스템 자원의 낭비를 줄일 수 있는 통신 시스템 및 방법을 제공하는 것을 목적으로 한다.
본 발명의 다른 목적 및 장점들은 하기의 설명에 의해서 이해될 수 있으며, 본 발명의 실시예에 의해 보다 분명하게 알게 될 것이다. 또한, 본 발명의 목적 및 장점들은 특허청구범위에 나타난 수단 및 그 조합에 의해 실현될 수 있음을 쉽게 알 수 있을 것이다.
본 발명의 일 측면에 따른 통신 시스템은 통신 버스를 이용하여 정보 제공 장치와 정보 요청 장치가 통신 가능하도록 연결된 통신 시스템으로서, 상기 정보 요청 장치로부터 하나 이상의 데이터 식별 정보가 포함된 정보 제공 요청을 수신하고, 상기 데이터 식별 정보에 대응되는 하나 이상의 응답 데이터의 데이터 크기에 따라 복수의 패킷 구조 중 적어도 하나를 선택하고, 선택된 패킷 구조를 이용하여 패킷 정보와 상기 응답 데이터를 포함하는 통신 패킷을 생성하며, 생성된 통신 패킷을 상기 통신 버스로 출력하도록 구성된 정보 제공 장치; 및 상기 패킷 정보에 기반하여 상기 통신 패킷을 저장할지 여부를 결정하고, 상기 통신 패킷을 저장하기로 결정한 경우, 상기 통신 패킷에 포함된 상기 패킷 정보에 기반하여 상기 통신 패킷에 대응되는 버퍼를 할당하며, 할당된 버퍼에 상기 통신 패킷에 포함된 상기 응답 데이터를 저장하고, 상기 버퍼에서 상기 응답 데이터를 추출하도록 구성된 정보 요청 장치를 포함할 수 있다.
상기 패킷 정보는, 패킷 식별 정보, 패킷 구조 정보 및 데이터 크기 정보 중 적어도 하나를 포함하도록 구성될 수 있다.
상기 정보 요청 장치는, 상기 통신 패킷에 포함된 상기 패킷 식별 정보에 기반하여 상기 통신 패킷을 저장할지 여부를 결정하도록 구성될 수 있다.
상기 정보 요청 장치는, 상기 패킷 구조 정보 및 상기 데이터 크기 정보 중 적어도 하나에 기반하여 상기 통신 패킷에 대응되는 버퍼를 할당하도록 구성될 수 있다.
상기 정보 제공 장치는, 상기 하나 이상의 응답 데이터에 대한 데이터 크기를 산출하고, 산출된 데이터 크기를 기설정된 기준값과 비교하고, 비교 결과에 기반하여 제1 패킷 구조 및 제2 패킷 구조 중 어느 하나를 선택하며, 선택된 패킷 구조에 기반하여 상기 통신 패킷을 생성하도록 구성된 제어부; 상기 제어부에 의해 생성된 통신 패킷을 저장하도록 구성된 송신 버퍼부; 및 상기 버퍼부에 저장된 상기 통신 패킷을 상기 통신 버스로 출력하도록 구성된 패킷 송신부를 포함할 수 있다.
상기 정보 제공 장치는, 하나 이상의 배터리와 연결되고, 연결된 배터리의 전압, 전류, 및 온도 중 적어도 하나를 포함하는 배터리 정보를 측정하도록 구성된 측정부를 더 포함할 수 있다.
상기 제어부는, 상기 측정부로부터 상기 배터리 정보를 수신하고, 수신한 배터리 정보에 기반하여 상기 데이터 식별 정보에 대응되는 상기 하나 이상의 응답 데이터를 생성하도록 구성될 수 있다.
상기 제어부는, 상기 산출된 데이터 크기가 상기 기설정된 기준값 이하이면 상기 제1 패킷 구조를 선택하도록 구성될 수 있다.
상기 제어부는, 상기 산출된 데이터 크기가 상기 기설정된 기준값을 초과하면 상기 제2 패킷 구조를 선택하도록 구성될 수 있다.
상기 제어부는, 상기 정보 제공 요청에 대응되는 식별 정보를 상기 패킷 식별 정보로 생성하고, 상기 선택된 패킷 구조에 대응되는 구조 식별 정보를 상기 패킷 구조 정보로 생성하며, 상기 산출된 데이터 크기에 대한 정보를 상기 데이터 크기 정보로 생성하고, 상기 패킷 식별 정보, 상기 패킷 구조 정보, 및 상기 데이터 크기 정보를 상기 선택된 패킷 구조에서 미리 할당된 영역에 저장하여 상기 통신 패킷을 생성하도록 구성될 수 있다.
상기 정보 요청 장치는, 상기 통신 패킷에 포함된 상기 응답 데이터가 저장되는 버퍼를 포함하도록 구성된 수신 버퍼부; 상기 통신 버스를 통해 상기 통신 패킷을 수신하고, 수신한 통신 패킷에서 상기 패킷 식별 정보를 추출하며, 추출된 패킷 식별 정보가 상기 정보 제공 요청에 대응되면 상기 통신 패킷에 포함된 상기 응답 데이터를 상기 수신 버퍼부에 저장하고, 상기 수신 버퍼부에서 상기 응답 데이터를 추출하도록 구성된 패킷 수신부; 및 상기 패킷 수신부로부터 추출된 응답 데이터를 수신하도록 구성된 프로세서를 포함할 수 있다.
상기 패킷 수신부는, 상기 통신 패킷에서 상기 패킷 구조 정보를 추출하고, 추출된 패킷 구조 정보에 기반하여 상기 통신 패킷의 패킷 구조를 상기 제1 패킷 구조 또는 상기 제2 패킷 구조로 결정하고, 결정된 패킷 구조에 대응되도록 미리 설정된 크기로 상기 수신 버퍼부에 상기 버퍼를 할당하도록 구성될 수 있다.
상기 패킷 수신부는, 상기 결정된 패킷 구조가 상기 제2 패킷 구조인 경우, 상기 통신 패킷에서 상기 데이터 크기 정보를 더 추출하고, 추출된 데이터 크기 정보에 기반하여 상기 할당된 버퍼의 크기를 상기 데이터 크기에 대응되게 조절하도록 구성될 수 있다.
상기 패킷 수신부는, 상기 데이터 크기에 대응되도록 크기가 조절된 버퍼에 상기 통신 패킷에 포함된 상기 응답 데이터를 저장하고, 상기 수신 버퍼부에 저장된 상기 응답 데이터를 추출하며, 추출된 응답 데이터를 상기 프로세서로 송신하도록 구성될 수 있다.
상기 정보 제공 장치는, 상기 응답 데이터의 데이터 크기에 따라, 상기 복수의 패킷 구조 중 하나 이상의 패킷 구조에 기반하여 복수의 통신 패킷을 생성하도록 구성될 수 있다.
본 발명의 다른 측면에 따른 전기 자동차는 본 발명의 일 측면에 따른 통신 시스템을 포함할 수 있다.
본 발명의 또 다른 측면에 따른 통신 방법은 하나 이상의 데이터 식별 정보가 포함된 정보 제공 요청을 수신하는 정보 제공 요청 수신 단계; 상기 데이터 식별 정보에 대응되는 하나 이상의 응답 데이터의 데이터 크기에 따라 복수의 패킷 구조 중 적어도 하나를 선택하는 패킷 구조 선택 단계; 선택된 패킷 구조를 이용하여 패킷 정보와 상기 응답 데이터를 포함하는 통신 패킷을 생성하는 통신 패킷 생성 단계; 생성된 통신 패킷을 통신 버스로 출력하는 통신 패킷 출력 단계; 상기 통신 패킷에 포함된 상기 패킷 정보에 기반하여 상기 통신 패킷을 저장할지 여부를 결정하는 저장 여부 결정 단계; 상기 통신 패킷을 저장하기로 결정한 경우, 상기 통신 패킷에 포함된 상기 패킷 정보에 기반하여 상기 통신 패킷에 대응되는 버퍼를 할당하는 버퍼 할당 단계; 및 할당된 버퍼에 상기 통신 패킷에 포함된 상기 응답 데이터를 저장하고, 상기 버퍼에서 상기 응답 데이터를 추출하는 데이터 추출 단계를 포함할 수 있다.
본 발명의 일 측면에 따르면, 데이터 크기에 가장 적합한 패킷 구조를 이용하여 통신 패킷이 생성되고, 생성된 통신 패킷을 통해서 통신이 수행되기 때문에, 통신 버스에 통신 부하가 현저하게 감소될 수 있는 장점이 있다.
또한, 본 발명의 다른 측면에 따르면, 정보 요청 장치가 통신 패킷에 대응되는 버퍼를 할당하고, 할당된 버퍼에 통신 패킷을 저장하기 때문에, 정보 요청 장치의 버퍼가 낭비되는 것을 방지될 수 있는 장점이 있다.
본 발명의 효과들은 이상에서 언급한 효과들로 제한되지 않으며, 언급되지 않은 또 다른 효과들은 청구범위의 기재로부터 당업자에게 명확하게 이해될 수 있을 것이다.
본 명세서에 첨부되는 다음의 도면들은 후술되는 발명의 상세한 설명과 함께 본 발명의 기술사상을 더욱 이해시키는 역할을 하는 것이므로, 본 발명은 그러한 도면에 기재된 사항에만 한정되어 해석되어서는 아니 된다.
도 1은 본 발명의 일 실시예에 따른 통신 시스템을 개략적으로 도시한 도면이다.
도 2는 본 발명의 일 실시예에 따른 통신 시스템의 예시적 구성을 개략적으로 도시한 도면이다.
도 3은 본 발명의 일 실시예에 따른 통신 시스템에 포함된 정보 제공 장치를 개략적으로 도시한 도면이다.
도 4는 본 발명의 일 실시예에 따른 통신 시스템에 포함된 정보 요청 장치를 개략적으로 도시한 도면이다.
도 5는 본 발명의 일 실시예에 따른 통신 시스템에서 이용되는 제1 패킷 구조를 개략적으로 도시한 도면이다.
도 6은 본 발명의 일 실시예에 따른 통신 시스템에서 이용되는 제2 패킷 구조를 개략적으로 도시한 도면이다.
도 7은 본 발명의 일 실시예에 따른 통신 시스템에 의해 생성된 통신 패킷의 예시적 구성을 개략적으로 도시한 도면이다.
도 8은 본 발명의 또 다른 실시예에 따른 통신 방법을 개략적으로 도시한 도면이다.
본 명세서 및 청구범위에 사용된 용어나 단어는 통상적이거나 사전적인 의미로 한정해서 해석되어서는 아니 되며, 발명자는 그 자신의 발명을 가장 최선의 방법으로 설명하기 위해 용어의 개념을 적절하게 정의할 수 있다는 원칙에 입각하여 본 발명의 기술적 사상에 부합하는 의미와 개념으로 해석되어야 한다.
따라서, 본 명세서에 기재된 실시예와 도면에 도시된 구성은 본 발명의 가장 바람직한 일 실시예에 불과할 뿐이고 본 발명의 기술적 사상을 모두 대변하는 것은 아니므로, 본 출원시점에 있어서 이들을 대체할 수 있는 다양한 균등물과 변형예들이 있을 수 있음을 이해하여야 한다.
또한, 본 발명을 설명함에 있어 관련된 공지 구성 또는 기능에 대한 구체적인 설명이 본 발명의 요지를 흐릴 수 있다고 판단되는 경우에는 그 상세한 설명은 생략한다.
제1, 제2 등과 같이 서수를 포함하는 용어들은, 다양한 구성요소들 중 어느 하나를 나머지와 구별하는 목적으로 사용되는 것이고, 그러한 용어들에 의해 구성요소들을 한정하기 위해 사용되는 것은 아니다.
명세서 전체에서, 어떤 부분이 어떤 구성요소를 "포함"한다고 할 때, 이는 특별히 반대되는 기재가 없는 한 다른 구성요소를 제외하는 것이 아니라, 다른 구성요소를 더 포함할 수 있다는 것을 의미한다.
또한, 명세서에 기재된 제어부와 같은 용어는 적어도 하나의 기능이나 동작을 처리하는 단위를 의미하며, 이는 하드웨어나 소프트웨어, 또는 하드웨어 및 소프트웨어의 결합으로 구현될 수 있다.
덧붙여, 명세서 전체에서, 어떤 부분이 다른 부분과 "연결"되어 있다고 할 때, 이는 "직접적으로 연결"되어 있는 경우뿐만 아니라, 그 중간에 다른 소자를 사이에 두고 "간접적으로 연결"되어 있는 경우도 포함한다.
이하에서는 첨부된 도면을 참조하여 본 발명의 바람직한 실시예를 상세히 설명하기로 한다.
도 1은 본 발명의 일 실시예에 따른 통신 시스템(10)을 개략적으로 도시한 도면이다. 도 2는 본 발명의 일 실시예에 따른 통신 시스템(10)의 예시적 구성을 개략적으로 도시한 도면이다.
도 1 및 2를 참조하면, 본 발명의 일 실시예에 따른 통신 시스템(10)은 정보 제공 장치(100) 및 정보 요청 장치(200)를 포함할 수 있다.
도 2를 참조하면, 통신 버스(B)를 이용하여 정보 제공 장치(100)와 정보 요청 장치(200)가 통신 가능하도록 연결될 수 있다.
정보 제공 장치(100)는 상기 정보 요청 장치(200)로부터 하나 이상의 데이터 식별 정보가 포함된 정보 제공 요청을 수신하도록 구성될 수 있다.
구체적으로, 정보 요청 장치(200)는 하나 이상의 데이터 식별 정보가 포함된 정보 제공 요청을 통신 버스(B)로 출력할 수 있다. 그리고, 정보 제공 장치(100)는 통신 버스(B)를 통해서 정보 제공 요청을 수신할 수 있다.
여기서, 데이터 식별 정보란, 정보 요청 장치(200)가 요청하는 데이터의 항목에 대한 정보일 수 있다. 예컨대, 정보 제공 요청에 포함될 수 있는 데이터 식별 정보에는 배터리의 전압, 전류, 온도, SOC(State of charge), 및 SOH(State of health) 등의 배터리 정보에 대한 배터리 관련 항목이 포함될 수 있다. 또한, 데이터 식별 정보에는 배터리에 대한 진단 코드 및 전자 제어 장치(ECU, Electronic control unit)에 대한 진단 코드 등에 대한 진단 관련 항목이 포함될 수 있다.
여기서, 배터리는, 음극 단자와 양극 단자를 구비하며, 물리적으로 분리 가능한 하나의 독립된 셀을 의미할 수 있다. 일 예로, 파우치형 리튬 폴리머 셀 하나가 배터리 셀로 간주될 수 있다. 또한, 배터리는, 하나 이상의 배터리 셀이 직렬 및/또는 병렬로 연결되어 구비되고, 전장품(릴레이, 퓨즈 등) 및 케이스 등을 더 포함하는 배터리 팩을 의미할 수도 있다.
또한, 전자 제어 장치에는 전기 자동차에 구비될 수 있는 ACU(Airbag Control Unit), BCM(Body Control Module), ECU(Engine Control Unit), PCM(Powertrain Control Module), TCU(Transmission Control Unit), ABS(Anti-lock Braking System), ESC(Electronic Stability Control), HPCU(Hybrid Power Control Unit), BMS(Battery Management System), 및 MCU(Motor Control Unit) 등이 포함될 수 있다.
예컨대, 도 2의 실시예에서, 정보 제공 장치(100)와 정보 요청 장치(200)는 통신 버스(B)를 이용하여 병렬로 연결될 수 있다. 즉, 정보 요청 장치(200)에 의해서 통신 버스(B)로 출력된 정보 제공 요청은 정보 제공 장치(100)에 의해서 수신될 수 있다.
또한, 정보 제공 장치(100)는 상기 데이터 식별 정보에 대응되는 하나 이상의 응답 데이터의 데이터 크기에 따라 복수의 패킷 구조 중 적어도 하나를 선택하도록 구성될 수 있다.
구체적으로, 정보 제공 장치(100)는 수신한 정보 제공 요청에서 데이터 식별 정보를 추출할 수 있다. 예컨대, 정보 요청 장치(200)는 정보 제공 장치(100)에게 배터리 팩의 전압 정보를 요청하고자 할 경우, 통신 버스(B)로 배터리 팩의 전압에 대한 데이터 식별 정보가 포함된 정보 제공 요청을 출력할 수 있다. 그리고, 정보 제공 장치(100)는 정보 제공 요청을 수신하고, 수신한 정보 제공 요청으로부터 배터리 팩의 전압에 대한 데이터 식별 정보를 추출할 수 있다.
정보 제공 장치(100)는 데이터 식별 정보에 대응되는 응답 데이터를 생성할 수 있다. 즉, 응답 데이터는 정보 요청 장치(200)가 요청하는 데이터 식별 정보에 대응되는 데이터일 수 있다. 그리고, 정보 제공 장치(100)는 생성된 응답 데이터의 데이터 크기에 따라 통신 패킷을 생성하기 위한 패킷 구조를 선택할 수 있다. 바람직하게, 복수의 패킷 구조 각각은 응답 데이터의 데이터 크기에 대응되도록 미리 설정될 수 있다.
또한, 정보 제공 장치(100)는 선택된 패킷 구조를 이용하여 패킷 정보와 상기 응답 데이터를 포함하는 통신 패킷을 생성하도록 구성될 수 있다.
여기서, 패킷 정보는 패킷 식별 정보, 패킷 구조 정보, 및 데이터 크기 정보 중 적어도 하나를 포함하도록 구성될 수 있다. 바람직하게, 패킷 정보는 패킷 식별 정보, 패킷 구조 정보, 및 데이터 크기 정보를 모두 포함할 수 있다.
구체적으로, 정보 제공 장치(100)는 선택된 패킷 구조에 패킷 정보와 응답 데이터를 저장함으로써 정보 요청 장치(200)에게 제공할 통신 패킷을 생성할 수 있다.
여기서, 패킷 식별 정보는 정보 제공 요청에 대응되는 식별 정보일 수 있다. 즉, 패킷 식별 정보는 정보 요청 장치(200)가 정보 제공 장치(100)에 의해 생성된 통신 패킷이 정보 제공 요청에 대응되는 통신 패킷인지를 확인할 수 있는 식별 정보일 수 있다.
또한, 패킷 구조 정보는 복수의 패킷 구조 중에서 정보 제공 장치(100)가 응답 데이터의 데이터 크기에 따라 선택한 패킷 구조에 식별 정보일 수 있다. 즉, 패킷 구조 정보는 정보 요청 장치(200)가 정보 제공 장치(100)에 의해 생성된 통신 패킷의 기반이 되는 패킷 구조를 확인할 수 있는 식별 정보일 수 있다.
또한, 데이터 크기 정보는 응답 데이터의 데이터 크기에 대한 정보일 수 있다. 예컨대, 데이터 크기 정보는 데이터 길이 코드(DLC, data length code)일 수 있다. 즉, 데이터 크기 정보는 정보 요청 장치(200)가 통신 패킷에 포함된 응답 데이터의 데이터 크기를 확인할 수 있는 정보일 수 있다.
또한, 정보 제공 장치(100)는 생성된 통신 패킷을 상기 통신 버스(B)로 출력하도록 구성될 수 있다.
예컨대, 도 2의 실시예에서, 정보 제공 장치(100)는 정보 요청 장치(200)와 연결된 통신 버스(B)로 생성한 통신 패킷을 출력할 수 있다.
정보 요청 장치(200)는 정보 제공 장치(100)에 의해 통신 버스(B)로 출력된 통신 패킷을 수신하도록 구성될 수 있다.
예컨대, 도 2의 실시예에서, 정보 요청 장치(200)는 통신 버스(B)와 연결될 수 있다. 그리고, 정보 요청 장치(200)는 정보 제공 장치(100)가 통신 버스(B)로 출력한 통신 패킷을 수신할 수 있다.
바람직하게, 정보 요청 장치(200)는 통신 패킷에 포함된 패킷 정보를 먼저 확인할 수 있다. 그리고, 정보 요청 장치(200)는 패킷 정보가 일정 조건을 만족하면 통신 패킷에 포함된 응답 데이터를 저장할 수 있다.
또한, 정보 요청 장치(200)는 상기 통신 패킷에 포함된 상기 패킷 정보에 기반하여 상기 통신 패킷을 저장할지 여부를 결정하도록 구성될 수 있다.
바람직하게, 정보 요청 장치(200)는 상기 통신 패킷에 포함된 상기 패킷 식별 정보에 기반하여 상기 통신 패킷을 저장할지 여부를 결정하도록 구성될 수 있다.
구체적으로, 패킷 식별 정보는 정보 요청 장치(200)가 수신한 통신 패킷이 정보 제공 요청에 대응되는 통신 패킷인지를 확인할 수 있는 식별 정보일 수 있다. 따라서, 정보 요청 장치(200)는 통신 패킷에 저장된 패킷 식별 정보를 확인할 수 있다. 그리고, 정보 요청 장치(200)는 패킷 식별 정보가 정보 제공 장치(100)로 송신한 정보 제공 요청에 대응 경우에만, 통신 패킷을 저장하기로 결정할 수 있다. 바람직하게, 정보 요청 장치(200)는 통신 패킷에 포함된 응답 데이터를 저장하기로 결정할 수 있다.
또한, 정보 요청 장치(200)는 상기 통신 패킷을 저장하기로 결정한 경우, 상기 패킷 정보에 기반하여 상기 통신 패킷에 대응되는 버퍼를 할당하도록 구성될 수 있다.
구체적으로, 정보 요청 장치(200)는 상기 패킷 구조 정보 및 상기 데이터 크기 정보 중 적어도 하나에 기반하여 상기 통신 패킷에 대응되는 버퍼를 할당하도록 구성될 수 있다.
여기서, 버퍼는 통신 패킷이 저장될 수 있는 저장 공간을 의미한다.
예컨대, 정보 요청 장치(200)는 통신 패킷에 저장된 패킷 구조 정보를 확인하여, 통신 패킷에 기반이 된 패킷 구조를 확인할 수 있다. 그리고, 정보 요청 장치(200)는 확인한 패킷 구조에 대응되도록 미리 설정된 버퍼를 할당할 수 있다. 반대로, 정보 요청 장치(200)가 통신 패킷을 저장하지 않기로 결정한 경우, 정보 요청 장치(200)는 통신 패킷을 대응되는 버퍼를 할당하지 않고, 통신 패킷을 무시할 수 있다.
정보 요청 장치(200)는 할당된 버퍼에 상기 통신 패킷에 포함된 상기 응답 데이터를 저장하고, 상기 버퍼에서 상기 응답 데이터를 추출하도록 구성될 수 있다.
구체적으로, 정보 요청 장치(200)는 할당한 버퍼에 통신 패킷에 포함된 응답 데이터를 저장할 수 있다. 즉, 정보 요청 장치(200)에 의한 통신 패킷의 수신과 저장은 서로 독립적일 수 있다. 그리고, 정보 요청 장치(200)는 버퍼에서 저장된 응답 데이터를 추출할 수 있다. 여기서, 응답 데이터는 정보 요청 장치(200)가 정보 제공 장치(100)로 송신한 정보 제공 요청에 대응되는 데이터일 수 있다. 따라서, 정보 요청 장치(200)가 버퍼에서 응답 데이터를 추출함으로써, 정보 요청 장치(200)와 정보 제공 장치(100) 간의 통신이 종료될 수 있다.
본 발명의 일 실시예에 따른 통신 시스템(10)에 따르면, 응답 데이터의 데이터 크기에 가장 적합한 패킷 구조를 이용하여 통신 패킷이 생성되고, 생성된 통신 패킷을 통해서 정보 제공 장치(100)와 정보 요청 장치(200) 간의 통신이 수행되기 때문에, 통신 버스(B)에 통신 부하가 현저하게 감소될 수 있는 장점이 있다.
또한, 본 발명의 일 실시예에 따른 통신 시스템(10)에 따르면, 정보 요청 장치(200)가 통신 패킷에 대응되는 버퍼를 할당하고, 할당된 버퍼에 통신 패킷에 포함된 응답 데이터를 저장하기 때문에, 정보 요청 장치(200)의 버퍼가 낭비되는 것을 방지할 수 있다. 즉, 정보 요청 장치(200)의 수신용 버퍼가 효율적으로 관리되기 때문에, 정보 요청 장치(200)의 시스템 자원이 불필요하게 낭비되지 않고 효율적으로 사용될 수 있는 장점이 있다.
도 3은 본 발명의 일 실시예에 따른 통신 시스템(10)에 포함된 정보 제공 장치(100)를 개략적으로 도시한 도면이다.
도 3을 참조하면, 정보 제공 장치(100)는 제어부(110), 송신 버퍼부(120), 및 패킷 송신부(130)를 포함할 수 있다.
제어부(110)는 상기 하나 이상의 응답 데이터에 대한 데이터 크기를 산출하도록 구성될 수 있다.
예컨대, 정보 제공 요청에 포함된 데이터 식별 정보가 하나만 포함된 경우, 제어부(110)는 하나의 응답 데이터의 데이터 크기를 산출할 수 있다.
다른 예로, 정보 제공 요청에 포함된 데이터 식별 정보가 복수인 경우, 제어부(110)는 복수의 응답 데이터 각각의 데이터 크기를 산출하고, 산출한 복수의 데이터 크기를 합산하여 복수의 응답 데이터에 대한 총 데이터 크기를 산출할 수 있다.
또한, 제어부(110)는 산출된 데이터 크기를 기설정된 기준값과 비교하며, 비교 결과에 기반하여 제1 패킷 구조 및 제2 패킷 구조 중 어느 하나를 선택하도록 구성될 수 있다.
구체적으로, 상기 제어부(110)는, 상기 산출된 데이터 크기가 상기 기설정된 기준값 이하이면 상기 제1 패킷 구조를 선택하도록 구성될 수 있다. 반대로, 상기 제어부(110)는, 상기 산출된 데이터 크기가 상기 기설정된 기준값을 초과하면 상기 제2 패킷 구조를 선택하도록 구성될 수 있다.
예컨대, 제1 패킷 구조는 CAN(Controller area network) 통신을 위한 패킷 구조이고, 제2 패킷 구조는 CAN FD(Controller area network flexible data-rate) 통신을 위한 패킷 구조일 수 있다. 이 경우, 기설정된 기준값은 8Byte일 수 있다. 만약, 응답 데이터의 데이터 크기가 8Byte 이하인 경우, 제어부(110)는 CAN 통신을 위한 제1 패킷 구조를 선택할 수 있다. 반대로, 응답 데이터의 데이터 크기가 8Byte를 초과한 경우, 제어부(110)는 CAN FD 통신을 위한 제2 패킷 구조를 선택할 수 있다.
또한, 제어부(110)는 선택된 패킷 구조에 기반하여 상기 통신 패킷을 생성하도록 구성될 수 있다.
구체적으로, 제어부(110)는 데이터 크기에 기반하여 제1 패킷 구조 또는 제2 패킷 구조 중 어느 하나를 선택하고, 선택한 패킷 구조에 패킷 정보 및 응답 데이터를 저장하여 통신 패킷을 생성할 수 있다.
바람직하게, 패킷 구조에는 패킷에 대한 정보가 저장되는 패킷 정보 영역과 응답 데이터가 저장되는 데이터 영역이 포함될 수 있다. 그리고, 패킷 구조에서 패킷 정보가 저장될 영역은 미리 할당될 수 있다. 따라서, 제어부(110)는 패킷 정보 영역에 패킷 정보를 먼저 저장한 후, 데이터 영역에 응답 데이터를 저장할 수 있다.
송신 버퍼부(120)는 상기 제어부(110)에 의해 생성된 통신 패킷을 저장하도록 구성될 수 있다.
구체적으로, 송신 버퍼부(120)는 통신 패킷이 통신 버스(B)로 출력되기 전에, 통신 패킷을 저장할 수 있다. 바람직하게, 제어부(110)는 생성한 통신 패킷을 송신 버퍼부(120)에 저장할 수 있다.
패킷 송신부(130)는 상기 버퍼부에 저장된 상기 통신 패킷을 상기 통신 버스(B)로 출력하도록 구성될 수 있다.
구체적으로, 패킷 송신부(130)는 송신 버퍼부(120)에 저장된 통신 패킷을 통신 버스(B)로 출력할 수 있다. 즉, 제어부(110)에 의해 송신 버퍼부(120)에 통신 패킷이 저장되면, 패킷 송신부(130)는 송신 버퍼부(120)에 저장된 통신 패킷을 통신 버스(B)로 출력할 수 있다.
도 3을 참조하면, 상기 정보 제공 장치(100)는, 측정부(140)를 더 포함할 수 있다.
측정부(140)는 하나 이상의 배터리와 연결되도록 구성될 수 있다.
그리고, 측정부(140)는 연결된 배터리의 전압, 전류, 및 온도 중 적어도 하나를 포함하는 배터리 정보를 측정하도록 구성될 수 있다.
예컨대, 측정부(140)는 배터리의 양극 전압과 음극 전압을 측정하고, 측정된 양극 전압과 음극 전압 간의 차이를 산출하여 배터리의 전압값을 산출하는 전압 측정 유닛을 포함할 수 있다. 또한, 측정부(140)는 배터리의 충전 및/또는 방전되는 경로에서 배터리의 전류값을 측정할 수 있는 전류 측정 유닛을 포함할 수 있다. 또한, 측정부(140)는 배터리의 온도를 측정할 수 있는 온도 측정 유닛을 포함할 수 있다.
또한, 측정부(140)는 제어부(110)와 연결되도록 구성될 수 있다.
상기 제어부(110)는, 상기 측정부(140)로부터 상기 배터리 정보를 수신하도록 구성될 수 있다.
구체적으로, 제어부(110)는 정보 제공 요청에 포함된 데이터 식별 정보를 추출하고, 추출한 데이터 식별 정보에 대응되는 응답 데이터를 획득하기 위하여 측정부(140)에게 배터리 정보를 요청할 수 있다.
예컨대, 정보 제공 요청에 포함된 데이터 식별 정보가 배터리 전압에 대한 항목인 경우, 제어부(110)는 배터리 전압값에 대한 응답 데이터를 획득하기 위하여, 측정부(140)에게 배터리의 전압 측정을 요청할 수 있다. 측정부(140)는 배터리의 전압값을 측정하고, 측정한 배터리의 전압값을 제어부(110)에게 송신할 수 있다.
또한, 제어부(110)는 수신한 배터리 정보에 기반하여 상기 데이터 식별 정보에 대응되는 상기 하나 이상의 응답 데이터를 생성하도록 구성될 수 있다.
예컨대, 앞선 실시예에서, 제어부(110)는 측정부(140)로부터 배터리의 전압값을 수신하고, 수신한 배터리의 전압값에 기반하여 응답 데이터를 생성할 수 있다. 예컨대, 측정부(140)가 측정한 배터리의 전압값이 10[V]인 경우, 제어부(110)는 측정부(140)로부터 배터리의 전압값으로 10[V]에 대한 값을 수신하고, 수신한 10[V]에 대한 값을 응답 데이터로 생성할 수 있다.
다른 예로, 정보 제공 요청에 포함된 데이터 식별 정보가 배터리에 대한 전압 관련 진단 항목인 경우, 제어부(110)는 측정부(140)로부터 배터리의 전압값을 수신할 수 있다. 그리고, 제어부(110)는 배터리의 전압에 기반하여 배터리의 상태를 진단할 수 있다. 예컨대, 제어부(110)는 측정부(140)로부터 수신한 배터리의 전압값과 미리 설정된 기준 전압값을 비교하여, 배터리의 상태를 진단할 수 있다. 그리고, 제어부(110)는 진단 결과를 응답 데이터로 생성할 수 있다.
이상에서는, 제어부(110)가 생성할 수 있는 응답 데이터에 대한 제한적인 실시예를 설명하였다. 다만, 제어부(110)가 생성할 수 있는 응답 데이터는, 이러한 실시예에 의해 제한되지 않으며, 정보 제공 요청에 포함된 데이터 식별 정보에 대응되는 다양한 배터리 정보 및/또는 진단 정보를 포함할 수 있다.
한편, 정보 제공 장치(100)에 구비된 제어부(110) 및 정보 요청 장치(200)에 구비된 프로세서(230)는 본 발명에서 수행되는 다양한 제어 로직들을 실행하기 위해 당업계에 알려진 프로세서, ASIC(application-specific integrated circuit), 다른 칩셋, 논리 회로, 레지스터, 통신 모뎀, 데이터 처리 장치 등을 선택적으로 포함할 수 있다.
한편, 정보 요청 장치(200)는 정보 제공 요청을 통신 버스(B)로 출력하도록 구성된 통신부(미도시)를 더 포함하도록 구성되고, 정보 제공 장치(100)는 정보 제공 요청을 수신할 수 있는 통신부(미도시)를 더 포함하도록 구성될 수 있다.
예컨대, 정보 요청 장치(200)의 통신부는 데이터 식별 항목을 포함하는 정보 제공 요청을 통신 버스(B)에 출력할 수 있다. 그리고, 정보 제공 장치(100)의 통신부는 통신 버스(B)로 출력된 정보 제공 요청을 수신할 수 있다.
상기 제어부(110)는, 상기 정보 제공 요청에 대응되는 식별 정보를 상기 패킷 식별 정보로 생성하도록 구성될 수 있다.
구체적으로, 제어부(110)는 정보 제공 요청에 대응되는 통신 패킷인지 여부를 확인할 수 있는 식별 정보를 패킷 식별 정보로써 생성할 수 있다.
또한, 제어부(110)는 상기 선택된 패킷 구조에 대응되는 구조 식별 정보를 상기 패킷 구조 정보로 생성하도록 구성될 수 있다.
구체적으로, 제어부(110)는 선택 가능한 복수의 패킷 구조 중 통신 패킷의 패킷 구조를 나타내는 구조 식별 정보를 패킷 구조 정보로써 생성할 수 있다.
또한, 제어부(110)는 상기 산출된 데이터 크기에 기반하여 상기 데이터 크기 정보를 생성하도록 구성될 수 있다.
또한, 제어부(110)는 상기 패킷 식별 정보, 상기 패킷 구조 정보, 및 상기 데이터 크기 정보를 상기 선택된 패킷 구조에서 미리 할당된 영역에 저장하여 상기 통신 패킷을 생성하도록 구성될 수 있다.
바람직하게, 패킷 구조에는 패킷 식별 정보, 패킷 구조 정보, 및 데이터 크기 정보가 저장될 수 있는 패킷 정보 영역이 미리 할당될 수 있다. 따라서, 제어부(110)는 통신 패킷을 생성하는 경우, 미리 할당된 패킷 정보 영역에 생성한 패킷 식별 정보, 패킷 구조 정보, 및 데이터 크기 정보를 저장할 수 있다.
따라서, 통신 패킷을 수신한 정보 요청 장치(200)는, 통신 패킷에 저장된 패킷 식별 정보를 통해 수신한 통신 패킷이 정보 제공 요청에 대응되는 통신 패킷인지를 확인할 수 있다. 또한, 정보 요청 장치(200)는 통신 패킷에 저장된 패킷 구조 정보를 통해 수신한 통신 패킷의 패킷 구조를 확인할 수 있다. 또한, 정보 요청 장치(200)는 통신 패킷에 저장된 데이터 크기 정보를 통해 응답 데이터의 데이터 크기를 확인할 수 있다.
도 4는 본 발명의 일 실시예에 따른 통신 시스템(10)에 포함된 정보 요청 장치(200)를 개략적으로 도시한 도면이다.
도 4를 참조하면, 정보 요청 장치(200)는 수신 버퍼부(210), 패킷 수신부(220), 및 프로세서(230)를 포함할 수 있다.
수신 버퍼부(210)는 상기 통신 패킷에 포함된 상기 응답 데이터가 저장되는 버퍼를 포함하도록 구성될 수 있다. 바람직하게, 패킷 수신부(220)에 의해 통신 패킷에 저장된 패킷 정보가 확인된 후, 통신 패킷에 포함된 응답 데이터는 수신 버퍼부(210)의 버퍼에 저장될 수 있다.
패킷 수신부(220)는 상기 통신 버스(B)를 통해 상기 통신 패킷을 수신하도록 구성될 수 있다.
바람직하게, 패킷 수신부(220)는 통신 버스(B)와 연결될 수 있다. 그리고, 정보 제공 장치(100)가 통신 버스(B)로 통신 패킷을 출력하면, 패킷 수신부(220)는 통신 버스(B)를 통해 통신 패킷을 수신할 수 있다.
또한, 패킷 수신부(220)는 수신한 통신 패킷에서 상기 패킷 식별 정보를 추출하도록 구성될 수 있다.
앞서 설명한 바와 같이, 패킷 식별 정보는 수신한 통신 패킷이 정보 제공 요청에 대응되는 통신 패킷인지 여부를 확인할 수 있는 식별 정보일 수 있다. 따라서, 패킷 수신부(220)는 수신 버퍼부(210)에 응답 데이터를 저장하기 전에, 통신 패킷에 저장된 패킷 식별 정보를 먼저 확인함으로써, 통신 버스(B)를 통해 수신한 통신 패킷이 정보 제공 장치(100)로 송신한 정보 제공 요청에 대응되는 통신 패킷인지를 확인할 수 있다.
또한, 패킷 수신부(220)는 추출된 패킷 식별 정보가 상기 정보 제공 요청에 대응되면 상기 통신 패킷을 상기 수신 버퍼부(210)에 저장하도록 구성될 수 있다.
구체적으로, 패킷 수신부(220)는 수신한 통신 패킷이 정보 제공 장치(100)로 송신한 정보 제공 요청에 대응되는 통신 패킷인 경우에 한하여, 수신한 통신 패킷에 포함된 응답 데이터를 수신 버퍼부(210)에 저장할 수 있다.
예컨대, 통신 패킷에 저장된 패킷 식별 정보가 정보 제공 요청에 대응되지 않는 경우, 패킷 수신부(220)는 수신한 통신 패킷을 무시할 수 있다.
또한, 패킷 수신부(220)는 상기 수신 버퍼부(210)에서 상기 응답 데이터를 추출하도록 구성될 수 있다.
구체적으로, 패킷 수신부(220)는 응답 데이터를 수신 버퍼부(210)에 저장한 후, 수신 버퍼부(210)에서 응답 데이터를 추출할 수 있다.
만약, 통신 패킷에 저장된 패킷 식별 정보가 정보 제공 요청에 대응되지 않는 경우에도 패킷 수신부(220)가 응답 데이터를 수신 버퍼부(210)에 저장한다면, 수신 버퍼부(210)의 시스템 자원이 지나치게 낭비될 수 있다. 따라서, 패킷 수신부(220)는 정보 제공 요청에 대응되는 통신 패킷에 한하여, 응답 데이터를 수신 버퍼부(210)에 저장하도록 구성될 수 있다.
프로세서(230)는 상기 패킷 수신부(220)로부터 상기 응답 데이터를 수신하도록 구성될 수 있다.
구체적으로, 프로세서(230)는 패킷 수신부(220)와 통신 가능하도록 연결될 수 있다. 그리고, 패킷 수신부(220)는 수신 버퍼부(210)에서 추출한 응답 데이터를 프로세서(230)로 송신할 수 있다. 즉, 프로세서(230)는 패킷 수신부(220)를 통해서 정보 제공 요청에 대응되는 응답 데이터를 수신할 수 있다.
본 발명의 일 실시예에 따르면, 정보 제공 요청에 대응되는 통신 패킷에 포함된 응답 데이터만이 수신 버퍼부(210)에 저장되고, 저장된 응답 데이터는 추출될 수 있다. 즉, 통신 버스(B)로 출력된 모든 통신 패킷에 포함된 응답 데이터가 정보 요청 장치(200)에 저장되는 것이 아니고, 정보 제공 요청에 대응되는 통신 패킷에 포함된 응답 데이터만이 선택적으로 정보 요청 장치(200)에 저장되기 때문에, 정보 요청 장치(200)의 시스템 자원이 지나치게 낭비되는 것이 방지될 수 있다.
상기 패킷 수신부(220)는, 상기 통신 패킷에서 상기 패킷 구조 정보를 추출하도록 구성될 수 있다.
구체적으로, 패킷 수신부(220)는 수신한 통신 패킷에 저장된 패킷 식별 정보를 확인하고, 수신한 통신 패킷이 송신한 정보 제공 요청에 대응되는 통신 패킷인 경우에 한하여 패킷 구조 정보를 추출할 수 있다.
바람직하게, 패킷 수신부(220)는 수신 버퍼부(210)에 버퍼를 할당하기 전에, 통신 패킷에서 패킷 구조 정보를 추출할 수 있다.
또한, 패킷 수신부(220)는, 추출된 패킷 구조 정보에 기반하여 상기 통신 패킷의 패킷 구조를 상기 제1 패킷 구조 또는 상기 제2 패킷 구조로 결정하도록 구성될 수 있다.
예컨대, 통신 패킷의 패킷 구조가 제1 패킷 구조인 경우, 통신 패킷에는 패킷 구조 정보로써 제1 패킷 구조를 나타내는 식별 정보가 포함될 수 있다. 반대로, 통신 패킷의 패킷 구조가 제2 패킷 구조인 경우, 통신 패킷에는 패킷 구조 정보로써 제2 패킷 구조를 나타내는 식별 정보가 포함될 수 있다. 따라서, 패킷 수신부(220)는 통신 패킷으로부터 추출한 패킷 구조 정보를 확인함으로써, 수신한 통신 패킷의 패킷 구조를 제1 패킷 구조 또는 제2 패킷 구조로 결정할 수 있다.
또한, 패킷 수신부(220)는 결정된 패킷 구조에 대응되도록 미리 설정된 크기로 상기 수신 버퍼부(210)에 상기 버퍼를 할당하도록 구성될 수 있다.
구체적으로, 제1 패킷 구조에 대응되도록 미리 설정된 버퍼의 크기와 제2 패킷 구조에 대응되도록 미리 설정된 버퍼의 크기는 상이할 수 있다.
예컨대, 제1 패킷 구조에 대응되도록 미리 설정된 버퍼의 크기는 8Byte이고, 제2 패킷 구조에 대응되도록 미리 설정된 버퍼의 크기는 64Byte일 수 있다. 패킷 수신부(220)는 수신한 통신 패킷의 패킷 구조를 결정한 후, 버퍼와 관련된 레지스터 값을 설정함으로써 수신 버퍼부(210)에 통신 패킷의 패킷 구조에 대응되는 크기의 버퍼를 할당할 수 있다.
그리고, 패킷 수신부(220)는 통신 패킷의 구조에 대응되도록 수신 버퍼부(210)에 버퍼를 할당한 후, 할당된 버퍼에 통신 패킷에 포함된 응답 데이터를 저장할 수 있다.
즉, 본 발명의 일 실시예에 따르면, 통신 패킷이 저장될 수 있는 수신 버퍼부(210)의 버퍼는 통신 패킷이 패킷 구조에 따라 할당될 수 있다. 따라서, 수신 버퍼부(210)의 버퍼는 통신 패킷의 패킷 구조에 기반하여 할당되기 때문에, 수신 버퍼부(210)의 버퍼가 지나치게 많이 할당되어 수신 버퍼부(210)의 시스템 자원이 낭비되는 것이 미연에 방지될 수 있다.
또한, 상기 패킷 수신부(220)는, 상기 결정된 패킷 구조가 상기 제2 패킷 구조인 경우, 상기 통신 패킷에서 상기 데이터 크기 정보를 더 추출하도록 구성될 수 있다.
구체적으로, 패킷 수신부(220)는 수신한 통신 패킷에 저장된 패킷 구조 정보를 확인하고, 수신한 통신 패킷의 패킷 구조가 제2 패킷 구조인 경우에 한하여 데이터 크기 정보를 추출할 수 있다.
바람직하게, 패킷 수신부(220)는 수신 버퍼부(210)에 버퍼를 먼저 할당한 후에, 통신 패킷에서 데이터 크기 정보를 추출할 수 있다.
또한, 패킷 수신부(220)는, 추출된 데이터 크기 정보에 기반하여 상기 할당된 버퍼의 크기를 상기 데이터 크기에 대응되는 크기로 조절하도록 구성될 수 있다.
구체적으로, 패킷 수신부(220)는 통신 패킷의 구조에 대응되는 크기의 버퍼를 먼저 할당한 후, 통신 패킷에서 데이터 크기 정보를 추출할 수 있다. 그리고, 패킷 수신부(220)는 추출한 데이터 크기 정보로부터 응답 데이터의 데이터 크기를 확인하고, 확인된 데이터 크기에 대응되도록 수신 버퍼부(210)에 할당된 버퍼의 크기를 조절할 수 있다. 예컨대, 패킷 수신부(220)는 버퍼와 관련된 레지스터 값을 변경하여, 수신 버퍼부(210)에 할당된 버퍼의 크기를 데이터 크기에 대응되도록 변경할 수 있다.
예컨대, 통신 패킷의 패킷 구조가 제2 패킷 구조이고, 제2 패킷 구조에 대응되도록 미리 설정된 버퍼의 크기가 64Byte이며, 통신 패킷의 데이터 크기가 20Byte라고 가정한다. 먼저, 패킷 수신부(220)는 통신 패킷의 패킷 구조에 대응되도록 수신 버퍼부(210)에 64Byte 크기를 갖는 버퍼를 할당할 수 있다. 그리고, 패킷 수신부(220)는 응답 데이터의 데이터 크기(20Byte)를 고려하여, 수신 버퍼부(210)에 할당된 버퍼의 크기를 20Byte로 변경할 수 있다.
그리고, 패킷 수신부(220)는 수신 버퍼부(210)에 할당된 버퍼에 응답 데이터를 저장할 수 있다. 즉, 패킷 수신부(220)는 수신 버퍼부(210)에 할당된 버퍼의 크기를 변경한 후, 크기가 변경된 버퍼에 응답 데이터를 저장할 수 있다.
본 발명의 일 실시예에 따르면, 수신 버퍼부(210)의 버퍼는 통신 패킷이 패킷 구조 및 데이터 크기에 적합하게 할당될 수 있다. 따라서, 수신 버퍼부(210)의 버퍼는 통신 패킷에 가장 적합하게 할당될 수 있기 때문에, 수신 버퍼부(210)의 시스템 자원이 효율적으로 이용될 수 있다.
이하에서는 도 5 내지 도 7을 참조하여, 제1 패킷 구조 및 제2 패킷 구조에 대한 실시예를 설명한다.
도 5는 본 발명의 일 실시예에 따른 통신 시스템(10)에서 이용되는 제1 패킷 구조를 개략적으로 도시한 도면이다.
예컨대, 도 5를 참조하면, 제1 패킷 구조는 CAN 통신을 위한 패킷 구조일 수 있다. 그리고, 제1 패킷 구조는 패킷 정보 영역 및 데이터 영역을 포함할 수 있다.
구체적으로, 패킷 정보 영역에는 통신 패킷의 패킷 구조 정보가 저장될 수 있는 패킷 구조 정보 영역이 포함될 수 있다. 즉, 제1 패킷 구조의 패킷 정보 영역에는 제1 패킷 구조를 나타내는 식별 정보가 저장될 수 있다.
또한, 패킷 정보 영역에는 통신 패킷의 데이터 크기 정보가 저장될 수 있는 데이터 크기 영역이 포함될 수 있다. 또한, 패킷 정보 영역에는 통신 패킷의 패킷 식별 정보가 포함될 수 있는 패킷 식별 정보 영역이 포함될 수 있다.
예컨대, 정보 요청 장치(200)의 패킷 수신부(220)는, 수신한 통신 패킷의 패킷 정보 영역에서 패킷 식별 정보, 패킷 구조 정보, 및 데이터 크기 정보를 추출할 수 있다.
또한, 데이터 영역에는 응답 데이터가 저장될 수 있다. 바람직하게, 제1 패킷 구조에 저장될 수 있는 응답 데이터의 데이터 크기는 8Byte 이하일 수 있다.
도 6은 본 발명의 일 실시예에 따른 통신 시스템(10)에서 이용되는 제2 패킷 구조를 개략적으로 도시한 도면이다.
예컨대, 도 6의 실시예에서, 제2 패킷 구조는 CAN FD 통신을 위한 패킷 구조일 수 있다. 그리고, 제2 패킷 구조는 패킷 정보 영역 및 데이터 영역을 포함할 수 있다. 여기서, 제2 패킷 구조에 포함된 패킷 정보 영역은 제1 패킷 구조에 포함된 패킷 정보 영역과 마찬가지로, 패킷 구조 정보 영역, 데이터 크기 영역, 및 패킷 식별 정보 영역을 포함할 수 있다. 다만, 제2 패킷 구조의 패킷 정보 영역에는 제2 패킷 구조를 나타내는 패킷 구조 정보가 저장될 수 있다.
바람직하게, 제2 패킷 구조에 저장될 수 있는 응답 데이터의 데이터 크기는 64Byte 이하일 수 있다.
예컨대, 도 5 및 도 6을 참조하면, 응답 데이터의 데이터 크기가 8Byte 이하이면, 제어부(110)는 제1 패킷 구조에 따라 통신 패킷을 생성할 수 있다.
반대로, 응답 데이터의 데이터 크기가 8Byte 이상 64Byte 이하이면, 제어부(110)는 제2 패킷 구조에 따라 통신 패킷을 생성할 수 있다.
도 7은 본 발명의 일 실시예에 따른 통신 시스템(10)에 의해 생성된 통신 패킷의 예시적 구성을 개략적으로 도시한 도면이다.
구체적으로, 도 7은 응답 데이터의 데이터 크기가 20Byte인 경우에 생성되는 통신 패킷을 개략적으로 도시한 도면이다. 여기서, 통신 패킷의 패킷 구조는 제2 패킷 구조일 수 있다.
도 6 및 도 7을 참조하면, 제2 패킷 구조의 데이터 영역에는 최대 64Byte 크기의 응답 데이터가 포함될 수 있으나, 도 7은 제2 패킷 구조의 데이터 영역에 20Byte 크기의 응답 데이터가 포함된 실시예이다.
정보 요청 장치(200)의 패킷 수신부(220)가 도 7의 통신 패킷을 수신한 경우, 패킷 수신부(220)는 통신 패킷의 패킷 정보 영역에서 패킷 식별 정보를 추출할 수 있다. 구체적으로, 패킷 수신부(220)는 패킷 정보 영역의 패킷 식별 정보 영역에서 패킷 식별 정보를 추출할 수 있다.
추출된 패킷 식별 정보가 송신한 정보 제공 요청에 대응되는 경우, 패킷 수신부(220)는 통신 패킷의 패킷 정보 영역에서 패킷 구조 정보를 추출할 수 있다. 구체적으로, 패킷 수신부(220)는 패킷 정보 영역의 패킷 구조 정보 영역에서 패킷 구조 정보를 추출할 수 있다.
추출된 패킷 구조 정보가 제2 패킷 구조인 경우, 패킷 수신부(220)는 수신 버퍼부(210)에 64Byte 크기의 버퍼를 할당할 수 있다.
그리고, 패킷 수신부(220)는 통신 패킷의 패킷 정보 영역에서 데이터 크기 정보를 추출할 수 있다. 구체적으로, 패킷 수신부(220)는 패킷 정보 영역의 데이터 크기 영역에서 데이터 크기 정보를 추출할 수 있다.
그리고, 패킷 수신부(220)는 추출된 데이터 크기 정보에 대응되도록, 수신 버퍼부(210)에 할당된 버퍼의 크기를 조절할 수 있다.
예컨대, 도 7의 실시예에서, 통신 패킷에 포함된 응답 데이터의 데이터 크기는 20Byte일 수 있다. 패킷 수신부(220)는 수신 버퍼부(210)에 할당된 버퍼의 크기를 64Byte에서 20Byte로 변경할 수 있다.
그리고, 패킷 수신부(220)는 통신 패킷에 포함된 응답 데이터를 수신 버퍼부(210)의 버퍼에 저장할 수 있다.
구체적으로, 패킷 수신부(220)는, 상기 데이터 크기에 대응되도록 크기가 조절된 버퍼에 상기 통신 패킷에 포함된 상기 응답 데이터를 저장하도록 구성될 수 있다.
그리고, 패킷 수신부(220)상기 수신 버퍼부(210)에 저장된 상기 응답 데이터를 추출하고, 추출된 응답 데이터를 상기 프로세서(230)로 송신하도록 구성될 수 있다.
또한, 상기 정보 제공 장치(100)는, 상기 응답 데이터의 데이터 크기에 따라, 상기 복수의 패킷 구조 중 하나 이상의 패킷 구조에 기반하여 복수의 통신 패킷을 생성하도록 구성될 수 있다. 즉, 상기 복수의 통신 패킷은, 동일한 패킷 구조에 기반하여 생성될 수 있고, 서로 다른 패킷 구조에 기반하여 생성될 수도 있다.
구체적으로, 정보 요청 장치(200)의 제어부(110)는 응답 데이터의 데이터 크기를 산출한 후, 산출된 응답 데이터의 데이터 크기와 제2 패킷 구조의 데이터 상한 크기를 비교할 수 있다.
만약, 제어부(110)는 산출된 응답 데이터의 데이터 크기가 제2 패킷 구조의 데이터 상한 크기를 초과하면, 제2 패킷 구조에 따라 응답 데이터의 일부를 포함하는 제1 통신 패킷을 생성할 수 있다.
반대로, 산출된 응답 데이터의 데이터 크기가 제2 패킷 구조의 데이터 상한 크기 미만이면, 제어부(110)는 응답 데이터의 데이터 크기에 따라 제1 패킷 구조 및 제2 패킷 구조 중 어느 하나를 선택하고, 선택된 패킷 구조에 따라 제2 통신 패킷을 더 생성할 수 있다.
예컨대, 정보 제공 요청에 포함된 데이터 식별 정보에 대응되는 응답 데이터의 데이터 크기는 68Byte이고, 제2 패킷 구조의 데이터 상한 크기는 64Byte라고 가정한다. 제어부(110)는 응답 데이터 중 64Byte에 해당하는 일부 데이터를 포함하도록, 제2 패킷 구조에 따라 제1 통신 패킷을 생성할 수 있다. 이 경우, 제1 통신 패킷의 데이터 크기 영역에 저장된 데이터 크기 정보는 64Byte일 수 있다.
또한, 제어부(110)는 산출된 응답 데이터 중 제1 통신 패킷에 포함되지 않은 잔여 데이터의 크기를 산출할 수 있다. 그리고, 제어부(110)는 산출된 잔여 데이터의 크기와 제2 패킷 구조의 데이터 상한 크기를 비교할 수 있다.
만약, 제어부(110)는 산출된 잔여 데이터의 크기가 제2 패킷 구조의 데이터 상한 크기를 초과하면, 제2 패킷 구조에 따라 잔여 데이터의 일부를 포함하는 제2 통신 패킷을 더 생성할 수 있다.
반대로, 산출된 잔여 데이터의 크기가 제2 패킷 구조의 데이터 상한 크기 미만이면, 제어부(110)는 잔여 데이터의 크기에 따라 제1 패킷 구조 및 제2 패킷 구조 중 어느 하나를 선택하고, 선택된 패킷 구조에 따라 제2 통신 패킷을 더 생성할 수 있다.
예컨대, 앞선 실시예에서, 포함되는 응답 데이터의 데이터 크기가 64Byte인 제1 통신 패킷이 생성된 후, 잔여 데이터의 크기가 4Byte라고 가정한다. 잔여 데이터의 크기(4Byte)는 제2 패킷 구조의 데이터 상한 크기(64Byte)보다 작기 때문에, 제어부(110)는 잔여 데이터의 크기(4Byte)를 기설정된 기준값(8Byte)과 비교할 수 있다. 잔여 데이터의 크기(4Byte)는 기설정된 기준값(8Byte) 이하이므로, 제어부(110)는 제1 패킷 구조에 따라 제2 통신 패킷을 생성할 수 있다.
즉, 본 발명의 일 실시예에 따른 통신 시스템(10)은 응답 데이터에 대하여 복수의 통신 패킷을 생성해야 하는 경우, 획일적으로 하나의 패킷 구조만을 이용하여 복수의 통신 패킷을 생성하지 않고, 응답 데이터의 데이터 크기에 대응되도록 서로 다른 복수의 패킷 구조를 이용하여 복수의 통신 패킷을 생성할 수 있다. 따라서, 복수의 통신 패킷을 송신하는 과정에서 통신 버스(B)의 통신 부하가 감소될 수 있으며, 정보 요청 장치(200)에 의한 통신 패킷 처리 과정이 보다 신속하고 효율적으로 진행될 수 있다.
본 발명의 다른 실시예에 따른 전기 자동차는 본 발명의 일 실시예에 따른 통신 시스템(10)을 포함할 수 있다.
통신 시스템(10)에 포함된 정보 제공 장치(100)와 정보 요청 장치(200)가 통신 가능하도록 연결된 통신 버스(B)는 전기 자동차의 차량 통신 네트워크일 수 있다. 예컨대, 통신 버스(B)는 CAN 통신 및 CAN FD 통신이 가능한 통신 버스(B)일 수 있다.
예컨대, 정보 제공 장치(100)에는 전기 자동차에 포함될 수 있는 다양한 전자 제어 장치가 적용될 수 있다. 만약, 정보 제공 장치(100)가 BMS인 경우, 정보 제공 장치(100)는 배터리에 대한 배터리 정보 및 배터리에 대한 진단 정보를 제공할 수 있다. 만약, 정보 제공 장치(100)가 ACU(Airbag control unit)인 경우, 정보 제공 장치(100)는 에어백에 대한 진단 정보를 제공할 수 있다.
본 발명의 다른 실시예에 따른 전기 자동차는 통신 시스템(10)을 이용하여 전자 제어 장치들 간의 통신이 수행될 수 있으므로, 차량 통신 네트워크에 부하가 감소될 수 있다. 또한, 정보 요청 장치(200)에 대응되는 전자 제어 장치들의 시스템 자원이 불필요하게 낭비되지 않고 효율적으로 활용될 수 있다.
도 8은 본 발명의 또 다른 실시예에 따른 통신 방법을 개략적으로 도시한 도면이다.
본 발명의 또 다른 실시예에 따른 통신 방법은 본 발명의 일 실시예에 따른 통신 시스템(10)에 의해서 수행될 수 있다. 이하에서는, 설명의 편의를 위하여, 앞서 설명한 내용과 중복되는 내용은 간략히 설명하거나 생략함을 유의한다.
도 8을 참조하면, 본 발명의 또 다른 실시예에 다른 통신 방법은 정보 제공 요청 수신 단계(S100), 패킷 구조 선택 단계(S200), 통신 패킷 생성 단계(S300), 통신 패킷 출력 단계(S400), 저장 여부 결정 단계(S500), 버퍼 할당 단계(S600), 및 데이터 추출 단계(S700)를 포함할 수 있다.
정보 제공 요청 수신 단계(S100)는 하나 이상의 데이터 식별 정보가 포함된 정보 제공 요청을 수신하는 단계로서, 정보 제공 장치(100)에 의해 수행될 수 있다.
패킷 구조 선택 단계(S200)는 상기 데이터 식별 정보에 대응되는 하나 이상의 응답 데이터의 데이터 크기에 따라 복수의 패킷 구조 중 적어도 하나를 선택하는 단계로서, 정보 제공 장치(100)에 의해 수행될 수 있다.
구체적으로, 정보 제공 장치(100)는 수신한 정보 제공 요청에 포함된 데이터 식별 정보를 추출할 수 있다. 그리고, 정보 제공 장치(100)는 추출한 데이터 식별 정보에 대응되는 응답 데이터를 획득하고, 획득한 응답 데이터의 데이터 크기를 산출할 수 있다. 그리고, 정보 제공 장치(100)는 산출한 응답 데이터의 데이터 크기에 기반하여 복수의 패킷 구조 중 어느 하나를 선택할 수 있다.
바람직하게, 정보 제공 장치(100)는 산출한 응답 데이터의 데이터 크기를 고려하여, 패킷 구조를 선택할 수 있다.
예컨대, 복수의 패킷 구조에는 도 5의 제1 패킷 구조 및 도 6의 제2 패킷 구조가 포함될 수 있다.
통신 패킷 생성 단계(S300)는 선택된 패킷 구조를 이용하여 패킷 정보와 상기 응답 데이터를 포함하는 통신 패킷을 생성하는 단계로서, 정보 제공 장치(100)에 의해 수행될 수 있다.
정보 제공 장치(100)는 선택한 패킷 구조에 패킷 정보 및 응답 데이터를 저장하여 통신 패킷을 생성할 수 있다. 여기서, 패킷 정보에는 패킷 식별 정보, 패킷 구조 정보, 및 데이터 크기 정보 중 적어도 하나가 포함될 수 있다.
통신 패킷 출력 단계(S400)는 생성된 통신 패킷을 상기 통신 버스(B)로 출력하는 단계로서, 정보 제공 장치(100)에 의해 수행될 수 있다.
정보 제공 장치(100)는 통신 버스(B)와 통신 가능하도록 연결되어, 생성한 통신 패킷을 통신 버스(B)에 출력할 수 있다.
저장 여부 결정 단계(S500)는 상기 통신 패킷에 포함된 상기 패킷 식별 정보에 기반하여 상기 통신 패킷을 저장할지 여부를 결정하는 단계로, 정보 요청 장치(200)에 의해 수행될 수 있다.
구체적으로, 정보 요청 장치(200)는 통신 버스(B)로 출력된 통신 패킷을 수신할 수 있다. 그리고, 정보 요청 장치(200)는 통신 패킷의 패킷 정보 영역에서 패킷 식별 정보를 추출할 수 있다. 그리고, 정보 요청 장치(200)는 추출한 패킷 식별 정보가 송신한 정보 제공 요청과 대응한지 여부를 결정할 수 있다.
버퍼 할당 단계(S600)는 상기 통신 패킷을 저장하기로 결정한 경우, 상기 통신 패킷에 포함된 상기 패킷 정보에 기반하여 상기 통신 패킷에 대응되는 버퍼를 할당하는 단계로, 정보 요청 장치(200)에 의해 수행될 수 있다.
구체적으로, 정보 요청 장치(200)는 패킷 구조 정보 및 데이터 크기 정보 중 적어도 하나에 기반하여 통신 패킷에 대응되는 버퍼를 할당할 수 있다.
또한, 버퍼 할당 단계(S600)는 통신 패킷에 포함된 패킷 식별 정보가 정보 제공 요청에 대응되는 경우에 한하여 수행될 수 있다.
정보 요청 장치(200)는 통신 패킷을 수신한 후, 통신 패킷의 패킷 정보 영역에서 패킷 구조 정보 및/또는 데이터 크기 정보를 추출할 수 있다. 그리고, 저장 요청 장치는 추출한 패킷 구조 정보 및/또는 데이터 크기 정보에 기반하여, 통신 패킷을 저장하기 위한 버퍼를 할당할 수 있다.
바람직하게, 정보 요청 장치(200)는 통신 패킷에 포함된 응답 데이터를 저장하기 위한 버퍼를 할당할 수 있다.
데이터 추출 단계(S700)는, 할당된 버퍼에 상기 통신 패킷에 포함된 응답 데이터를 저장하고, 상기 버퍼에서 상기 응답 데이터를 추출하는 단계로, 정보 요청 장치(200)에 의해 수행될 수 있다.
구체적으로, 정보 요청 장치(200)는 할당한 버퍼에 통신 패킷에 포함된 응답 데이터를 먼저 저장하고, 버퍼에서 응답 데이터를 추출할 수 있다.
정보 요청 장치(200)가 버퍼에서 응답 데이터를 추출한 후, 정보 요청 장치(200)와 정보 제공 장치(100) 간의 통신이 종료될 수 있다.
이상에서 설명한 본 발명은 한정된 실시예를 통해서만 구현이 되는 것은 아니며, 본 발명의 실시예의 구성에 대응하는 기능을 실현하는 프로그램 또는 그 프로그램이 기록된 기록 매체를 통해 구현될 수도 있으며, 이러한 구현은 앞서 설명한 실시예의 기재로부터 본 발명이 속하는 기술분야의 전문가라면 쉽게 구현할 수 있는 것이다.
이상에서 본 발명은 비록 한정된 실시예와 도면에 의해 설명되었으나, 본 발명은 이것에 의해 한정되지 않으며 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에 의해 본 발명의 기술사상과 아래에 기재될 특허청구범위의 균등범위 내에서 다양한 수정 및 변형이 가능함은 물론이다.
또한, 이상에서 설명한 본 발명은 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에 있어 본 발명의 기술적 사상을 벗어나지 않는 범위 내에서 여러 가지 치환, 변형 및 변경이 가능하므로 전술한 실시예 및 첨부된 도면에 의해 한정되는 것이 아니라, 다양한 변형이 이루어질 수 있도록 각 실시예들의 전부 또는 일부가 선택적으로 조합되어 구성될 수 있다.
(부호의 설명)
10: 통신 시스템
100: 정보 제공 장치
110: 제어부
120: 송신 버퍼부
130: 패킷 송신부
140: 측정부
200: 정보 요청 장치
210: 수신 버퍼부
220: 패킷 수신부
230: 프로세서

Claims (15)

  1. 통신 버스를 이용하여 정보 제공 장치와 정보 요청 장치가 통신 가능하도록 연결된 통신 시스템에 있어서,
    상기 정보 요청 장치로부터 하나 이상의 데이터 식별 정보가 포함된 정보 제공 요청을 수신하고, 상기 데이터 식별 정보에 대응되는 하나 이상의 응답 데이터의 데이터 크기에 따라 복수의 패킷 구조 중 적어도 하나를 선택하고, 선택된 패킷 구조를 이용하여 패킷 정보와 상기 응답 데이터를 포함하는 통신 패킷을 생성하며, 생성된 통신 패킷을 상기 통신 버스로 출력하도록 구성된 정보 제공 장치; 및
    상기 통신 패킷에 포함된 상기 패킷 정보에 기반하여 상기 통신 패킷을 저장할지 여부를 결정하고, 상기 통신 패킷을 저장하기로 결정한 경우, 상기 패킷 정보에 기반하여 상기 통신 패킷에 대응되는 버퍼를 할당하며, 할당된 버퍼에 상기 통신 패킷에 포함된 상기 응답 데이터를 저장하고, 상기 버퍼에서 상기 응답 데이터를 추출하도록 구성된 정보 요청 장치를 포함하는 것을 특징으로 하는 통신 시스템.
  2. 제1항에 있어서,
    상기 패킷 정보는,
    패킷 식별 정보, 패킷 구조 정보 및 데이터 크기 정보 중 적어도 하나를 포함하도록 구성된 것을 특징으로 하는 통신 시스템.
  3. 제2항에 있어서,
    상기 정보 요청 장치는,
    상기 통신 패킷에 포함된 상기 패킷 식별 정보에 기반하여 상기 통신 패킷을 저장할지 여부를 결정하도록 구성된 것을 특징으로 하는 통신 시스템.
  4. 제2항에 있어서,
    상기 정보 요청 장치는,
    상기 패킷 구조 정보 및 상기 데이터 크기 정보 중 적어도 하나에 기반하여 상기 통신 패킷에 대응되는 버퍼를 할당하도록 구성된 것을 특징으로 하는 통신 시스템.
  5. 제2항에 있어서,
    상기 정보 제공 장치는,
    상기 하나 이상의 응답 데이터에 대한 데이터 크기를 산출하고, 산출된 데이터 크기를 기설정된 기준값과 비교하고, 비교 결과에 기반하여 제1 패킷 구조 및 제2 패킷 구조 중 어느 하나를 선택하며, 선택된 패킷 구조에 기반하여 상기 통신 패킷을 생성하도록 구성된 제어부;
    상기 제어부에 의해 생성된 통신 패킷을 저장하도록 구성된 송신 버퍼부; 및
    상기 버퍼부에 저장된 상기 통신 패킷을 상기 통신 버스로 출력하도록 구성된 패킷 송신부를 포함하는 것을 특징으로 하는 통신 시스템.
  6. 제5항에 있어서,
    상기 정보 제공 장치는,
    하나 이상의 배터리와 연결되고, 연결된 배터리의 전압, 전류, 및 온도 중 적어도 하나를 포함하는 배터리 정보를 측정하도록 구성된 측정부를 더 포함하고,
    상기 제어부는,
    상기 측정부로부터 상기 배터리 정보를 수신하고, 수신한 배터리 정보에 기반하여 상기 데이터 식별 정보에 대응되는 상기 하나 이상의 응답 데이터를 생성하도록 구성된 것을 특징으로 하는 통신 시스템.
  7. 제5항에 있어서,
    상기 제어부는,
    상기 산출된 데이터 크기가 상기 기설정된 기준값 이하이면 상기 제1 패킷 구조를 선택하고,
    상기 산출된 데이터 크기가 상기 기설정된 기준값을 초과하면 상기 제2 패킷 구조를 선택하도록 구성된 것을 특징으로 하는 통신 시스템.
  8. 제5항에 있어서,
    상기 제어부는,
    상기 정보 제공 요청에 대응되는 식별 정보를 상기 패킷 식별 정보로 생성하고, 상기 선택된 패킷 구조에 대응되는 구조 식별 정보를 상기 패킷 구조 정보로 생성하며, 상기 산출된 데이터 크기에 대한 정보를 상기 데이터 크기 정보로 생성하고, 상기 패킷 식별 정보, 상기 패킷 구조 정보, 및 상기 데이터 크기 정보를 상기 선택된 패킷 구조에서 미리 할당된 영역에 저장하여 상기 통신 패킷을 생성하도록 구성된 것을 특징으로 하는 통신 시스템.
  9. 제8항에 있어서,
    상기 정보 요청 장치는,
    상기 통신 패킷에 포함된 상기 응답 데이터가 저장되는 버퍼를 포함하도록 구성된 수신 버퍼부;
    상기 통신 버스를 통해 상기 통신 패킷을 수신하고, 수신한 통신 패킷에서 상기 패킷 식별 정보를 추출하며, 추출된 패킷 식별 정보가 상기 정보 제공 요청에 대응되면 상기 통신 패킷에 포함된 상기 응답 데이터를 상기 수신 버퍼부에 저장하고, 상기 수신 버퍼부에서 상기 응답 데이터를 추출하도록 구성된 패킷 수신부; 및
    상기 패킷 수신부로부터 추출된 응답 데이터를 수신하도록 구성된 프로세서를 포함하는 것을 특징으로 하는 통신 시스템.
  10. 제9항에 있어서,
    상기 패킷 수신부는,
    상기 통신 패킷에서 상기 패킷 구조 정보를 추출하고, 추출된 패킷 구조 정보에 기반하여 상기 통신 패킷의 패킷 구조를 상기 제1 패킷 구조 또는 상기 제2 패킷 구조로 결정하고, 결정된 패킷 구조에 대응되도록 미리 설정된 크기로 상기 수신 버퍼부에 상기 버퍼를 할당하도록 구성된 것을 특징으로 하는 통신 시스템.
  11. 제10항에 있어서,
    상기 패킷 수신부는,
    상기 결정된 패킷 구조가 상기 제2 패킷 구조인 경우, 상기 통신 패킷에서 상기 데이터 크기 정보를 더 추출하고, 추출된 데이터 크기 정보에 기반하여 상기 할당된 버퍼의 크기를 상기 데이터 크기에 대응되게 조절하도록 구성된 것을 특징으로 하는 통신 시스템.
  12. 제11항에 있어서,
    상기 패킷 수신부는,
    상기 데이터 크기에 대응되도록 크기가 조절된 버퍼에 상기 통신 패킷에 포함된 상기 응답 데이터를 저장하고, 상기 수신 버퍼부에 저장된 상기 응답 데이터를 추출하며, 추출된 응답 데이터를 상기 프로세서로 송신하도록 구성된 것을 특징으로 하는 통신 시스템.
  13. 제1항에 있어서,
    상기 정보 제공 장치는,
    상기 응답 데이터의 데이터 크기에 따라, 상기 복수의 패킷 구조 중 하나 이상의 패킷 구조에 기반하여 복수의 통신 패킷을 생성하도록 구성된 것을 특징으로 하는 통신 시스템.
  14. 제1항 내지 제13항 중 어느 한 항에 따른 통신 시스템을 포함하는 전기 자동차.
  15. 하나 이상의 데이터 식별 정보가 포함된 정보 제공 요청을 수신하는 정보 제공 요청 수신 단계;
    상기 데이터 식별 정보에 대응되는 하나 이상의 응답 데이터의 데이터 크기에 따라 복수의 패킷 구조 중 적어도 하나를 선택하는 패킷 구조 선택 단계;
    선택된 패킷 구조를 이용하여 패킷 정보와 상기 응답 데이터를 포함하는 통신 패킷을 생성하는 통신 패킷 생성 단계;
    생성된 통신 패킷을 통신 버스로 출력하는 통신 패킷 출력 단계;
    상기 통신 패킷에 포함된 상기 패킷 정보에 기반하여 상기 통신 패킷을 저장할지 여부를 결정하는 저장 여부 결정 단계;
    상기 통신 패킷을 저장하기로 결정한 경우, 상기 패킷 정보에 기반하여 상기 통신 패킷에 대응되는 버퍼를 할당하는 버퍼 할당 단계; 및
    할당된 버퍼에 상기 통신 패킷에 포함된 상기 응답 데이터를 저장하고, 상기 버퍼에서 상기 응답 데이터를 추출하는 데이터 추출 단계를 포함하는 것을 특징으로 하는 통신 방법.
PCT/KR2021/008666 2020-07-09 2021-07-07 통신 시스템 및 방법 WO2022010264A1 (ko)

Priority Applications (4)

Application Number Priority Date Filing Date Title
CN202180005396.7A CN114424500B (zh) 2020-07-09 2021-07-07 通信系统、电动车辆及通信方法
JP2022511206A JP7255749B2 (ja) 2020-07-09 2021-07-07 通信システム及び方法
EP21838428.7A EP4024772A4 (en) 2020-07-09 2021-07-07 COMMUNICATION SYSTEM AND METHOD
US17/772,193 US20220407812A1 (en) 2020-07-09 2021-07-07 Communication System and Method

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1020200084903A KR20220006906A (ko) 2020-07-09 2020-07-09 통신 시스템 및 방법
KR10-2020-0084903 2020-07-09

Publications (1)

Publication Number Publication Date
WO2022010264A1 true WO2022010264A1 (ko) 2022-01-13

Family

ID=79553388

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2021/008666 WO2022010264A1 (ko) 2020-07-09 2021-07-07 통신 시스템 및 방법

Country Status (6)

Country Link
US (1) US20220407812A1 (ko)
EP (1) EP4024772A4 (ko)
JP (1) JP7255749B2 (ko)
KR (1) KR20220006906A (ko)
CN (1) CN114424500B (ko)
WO (1) WO2022010264A1 (ko)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020066283A (ko) * 2001-02-09 2002-08-14 삼성전자 주식회사 네트웍 메모리 관리 방법 및 그를 이용한 네트웍 드라이브장치
KR20050046089A (ko) * 2003-11-13 2005-05-18 한국전자통신연구원 패킷을 스케줄링하는 라우터 및 그 방법
KR100875739B1 (ko) * 2007-02-12 2008-12-26 삼성전자주식회사 Ip 네트워크 시스템에서의 패킷 버퍼 관리 장치 및 방법
KR20130025813A (ko) * 2011-08-23 2013-03-12 브로드콤 코포레이션 케이블 모뎀 내의 혼잡 완화
WO2013085091A1 (ko) * 2011-12-07 2013-06-13 경상대학교 산학협력단 패킷 구조, 패킷 송신 장치 및 패킷 수신 장치
KR101573637B1 (ko) 2014-11-03 2015-12-01 현대자동차주식회사 데이터량 증대로 통신속도 개선을 위한 can 통신 방법 및 데이터 프레임 구조
KR20200084903A (ko) 2015-02-27 2020-07-13 텐엑스바이오, 엘엘씨 지방 조직의 저감

Family Cites Families (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63136742A (ja) * 1986-11-27 1988-06-08 Nec Corp デ−タ転送装置
JPH0693685B2 (ja) * 1989-06-14 1994-11-16 株式会社日立製作所 フレーム選択受信方法
US7058027B1 (en) * 1998-09-16 2006-06-06 Scientific Research Corporation Systems and methods for asynchronous transfer mode and internet protocol
JP2003258805A (ja) * 2002-02-28 2003-09-12 Toshiba Corp バッファ制御装置及びバッファ制御方法
US20100195538A1 (en) * 2009-02-04 2010-08-05 Merkey Jeffrey V Method and apparatus for network packet capture distributed storage system
JP5368687B2 (ja) * 2007-09-26 2013-12-18 キヤノン株式会社 演算処理装置および方法
EP2695075B1 (de) * 2011-04-06 2015-05-13 Robert Bosch GmbH Verfahren und vorrichtung zur erhöhung der datenübertragungskapazität in einem seriellen bussystem
JP5702505B2 (ja) * 2011-04-26 2015-04-15 ローベルト ボッシュ ゲゼルシャフト ミット ベシュレンクテル ハフツング メモリの大きさに対して調整される直列データ伝送のための方法及び装置
JP2013090200A (ja) * 2011-10-19 2013-05-13 Canon Inc 通信装置におけるメモリ管理方法、通信装置及びプログラム
JP6321151B2 (ja) * 2013-09-30 2018-05-09 クゥアルコム・インコーポレイテッドQualcomm Incorporated 電力線通信ネットワーク内のショートパケット通信
JP2015192270A (ja) * 2014-03-28 2015-11-02 日本電気株式会社 メモリ容量設定装置、送信装置、受信装置、通信システム、送信方法、受信方法、及び通信方法
KR101519793B1 (ko) * 2014-06-24 2015-05-12 현대자동차주식회사 차량용 네트워크 시스템 및 이 시스템 내 이종 통신 제어기의 데이터 전송 방법
KR101607773B1 (ko) * 2014-10-27 2016-04-11 삼성에스디에스 주식회사 데이터 송신 장치 및 이를 이용하는 데이터 통신 방법
US20160285775A1 (en) * 2015-03-24 2016-09-29 Qualcomm Incorporated Wireless resource allocation and buffer status reporting based on packet size
DE112017003435T5 (de) * 2016-07-07 2019-03-28 Gs Yuasa International Ltd. Fahrzeugkommunikationssystem, Batterieverwaltungsvorrichtung, Leiterplatte, Batterie und Verfahren zum Schalten einer Kommunikationsspezifikation
KR20190046477A (ko) * 2017-10-26 2019-05-07 엘에스오토모티브테크놀로지스 주식회사 게이트웨이에서의 메시지 처리 방법 및 게이트웨이

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020066283A (ko) * 2001-02-09 2002-08-14 삼성전자 주식회사 네트웍 메모리 관리 방법 및 그를 이용한 네트웍 드라이브장치
KR20050046089A (ko) * 2003-11-13 2005-05-18 한국전자통신연구원 패킷을 스케줄링하는 라우터 및 그 방법
KR100875739B1 (ko) * 2007-02-12 2008-12-26 삼성전자주식회사 Ip 네트워크 시스템에서의 패킷 버퍼 관리 장치 및 방법
KR20130025813A (ko) * 2011-08-23 2013-03-12 브로드콤 코포레이션 케이블 모뎀 내의 혼잡 완화
WO2013085091A1 (ko) * 2011-12-07 2013-06-13 경상대학교 산학협력단 패킷 구조, 패킷 송신 장치 및 패킷 수신 장치
KR101573637B1 (ko) 2014-11-03 2015-12-01 현대자동차주식회사 데이터량 증대로 통신속도 개선을 위한 can 통신 방법 및 데이터 프레임 구조
KR20200084903A (ko) 2015-02-27 2020-07-13 텐엑스바이오, 엘엘씨 지방 조직의 저감

Also Published As

Publication number Publication date
JP2022545011A (ja) 2022-10-24
EP4024772A1 (en) 2022-07-06
JP7255749B2 (ja) 2023-04-11
US20220407812A1 (en) 2022-12-22
CN114424500A (zh) 2022-04-29
EP4024772A4 (en) 2022-12-28
CN114424500B (zh) 2023-08-25
KR20220006906A (ko) 2022-01-18

Similar Documents

Publication Publication Date Title
WO2020204584A1 (ko) 배터리 관리 장치 및 방법
WO2018093045A1 (ko) 배터리의 절연 저항 산출 장치 및 방법
WO2017142385A1 (ko) 스위치 부품의 고장 진단 장치 및 방법
WO2019066214A1 (ko) 배터리 모듈 균등화 장치, 이를 포함하는 배터리 팩 및 자동차
WO2018139764A2 (ko) 배터리 관리 장치 및 방법
WO2020189918A1 (ko) 배터리 관리 장치
WO2016053055A1 (ko) 신속하게 절연 저항을 측정할 수 있는 절연 저항 측정 장치 및 방법
WO2019199064A1 (ko) 배터리 진단 장치 및 방법
WO2018105881A1 (ko) 배터리 관리 장치 및 방법
WO2021118118A1 (ko) 배터리 퇴화도 진단 장치 및 방법
WO2021006708A1 (ko) 배터리 팩의 상태 진단 장치 및 방법
WO2020091534A1 (ko) 전류 센서 진단 장치 및 방법
WO2020189919A1 (ko) 배터리 상태 추정 장치
WO2021172790A1 (ko) 배터리 정보 제공 장치 및 방법
WO2021049882A1 (ko) 배터리 관리 장치 및 방법
WO2021006571A1 (ko) 배터리 팩의 결함 검출 장치 및 방법
WO2022075708A1 (ko) 배터리 상태 진단 장치 및 방법
WO2021060900A1 (ko) 배터리 관리 장치 및 방법
WO2022098096A1 (ko) 배터리 진단 장치 및 방법
WO2020166914A1 (ko) 충전 상태 추정 장치 및 방법
WO2023054928A1 (ko) 단락 전류 예측 장치 및 방법
WO2022015116A1 (ko) 배터리 관리 장치 및 방법
WO2022080837A1 (ko) 배터리 진단 장치 및 방법
WO2022019664A1 (ko) 병렬 멀티 팩 모듈의 출력 제어 장치 및 방법
WO2022010264A1 (ko) 통신 시스템 및 방법

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 2022511206

Country of ref document: JP

Kind code of ref document: A

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21838428

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2021838428

Country of ref document: EP

Effective date: 20220329

NENP Non-entry into the national phase

Ref country code: DE