KR102416583B1 - Event Logging system for IoT-Driven Rare-Event Applications and Event Logging method for IoT-Driven Rare-Event Applications - Google Patents

Event Logging system for IoT-Driven Rare-Event Applications and Event Logging method for IoT-Driven Rare-Event Applications Download PDF

Info

Publication number
KR102416583B1
KR102416583B1 KR1020200090990A KR20200090990A KR102416583B1 KR 102416583 B1 KR102416583 B1 KR 102416583B1 KR 1020200090990 A KR1020200090990 A KR 1020200090990A KR 20200090990 A KR20200090990 A KR 20200090990A KR 102416583 B1 KR102416583 B1 KR 102416583B1
Authority
KR
South Korea
Prior art keywords
event
event information
important
iot
sensor
Prior art date
Application number
KR1020200090990A
Other languages
Korean (ko)
Other versions
KR20220012007A (en
Inventor
박대진
Original Assignee
경북대학교 산학협력단
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 경북대학교 산학협력단 filed Critical 경북대학교 산학협력단
Priority to KR1020200090990A priority Critical patent/KR102416583B1/en
Publication of KR20220012007A publication Critical patent/KR20220012007A/en
Application granted granted Critical
Publication of KR102416583B1 publication Critical patent/KR102416583B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/325Power saving in peripheral device
    • G06F1/3275Power saving in memory, e.g. RAM, cache
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3206Monitoring of events, devices or parameters that trigger a change in power modality
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y20/00Information sensed or collected by the things
    • G16Y20/30Information sensed or collected by the things relating to resources, e.g. consumed power
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y30/00IoT infrastructure
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y40/00IoT characterised by the purpose of the information processing
    • G16Y40/10Detection; Monitoring
    • 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
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

본 발명은, 이벤트정보 출력단계와, MUX부로부터 출력되는 이벤트정보들을 모니터링하여 중요이벤트를 추출하는 중요이벤트 추출단계와; 추출된 중요이벤트들을 프레임버퍼에 저장하여 설정 크기에 도달하면 중요이벤트들을 한 번에 플래쉬 메모리부에 로깅(logging)하는 로깅단계;를 포함하여 구성됨을 특징으로 하는 IoT기반 간헐적 이벤트 로깅 방법을 제공할 수 있다. 상기한 바에 따르면 내장 플래쉬 메모리 접근 전류를 효과적으로 절감시킬 수 있다. The present invention comprises: an event information output step; an important event extraction step of extracting an important event by monitoring the event information output from the MUX unit; An IoT-based intermittent event logging method, characterized in that it includes; a logging step of storing the extracted important events in the frame buffer and logging the important events to the flash memory unit at a time when the set size is reached. Provide an IoT-based intermittent event logging method can According to the above description, it is possible to effectively reduce the internal flash memory access current.

Description

IoT기반 간헐적 이벤트 로깅 시스템 및 IoT기반 간헐적 이벤트 로깅방법 {Event Logging system for IoT-Driven Rare-Event Applications and Event Logging method for IoT-Driven Rare-Event Applications}IoT-based intermittent event logging system and IoT-based intermittent event logging method {Event Logging system for IoT-Driven Rare-Event Applications and Event Logging method for IoT-Driven Rare-Event Applications}

본 발명은 IoT기반 간헐적 이벤트 로깅 시스템 및 IoT기반 간헐적 이벤트 로깅방법에 관한 것으로서, 보다 상세하게는 IoT 센서노드에서 간헐적으로 발생하는 이벤트 로깅을 위해 주기적인 ADC 회로 구동 전류 및 내장플래쉬 메모리 접근 전류를 감소시키기 위한 IoT기반 간헐적 이벤트 로깅 시스템 및 IoT기반 간헐적 이벤트 로깅방법에 관한 것이다. The present invention relates to an IoT-based intermittent event logging system and an IoT-based intermittent event logging method, and more particularly, for event logging that occurs intermittently in an IoT sensor node, periodic ADC circuit driving current and built-in flash memory access current are reduced It relates to an IoT-based intermittent event logging system and an IoT-based intermittent event logging method for

일반적으로 연결기반 IoT 센서시스템은 그 효용성에 비해 작은 시스템의 크기 및 가격 문제로 큰 배터리를 장착하기 힘들며 큰 배터리를 장착하더라도 통신채널, 센서, 구동부를 주기적으로 구동하여 주변을 관찰해야 하므로 일반적으로 몇 일 혹은 몇 달 정도 동작이 가능하며 몇 년 동안 동작하는 요구가 있음에도 불구하고 그 기술 발전이 느린 실정이다. In general, connection-based IoT sensor systems are difficult to install with large batteries due to the size and price of small systems compared to their effectiveness. Although it can operate for days or months, and there is a demand to operate for several years, the technology development is slow.

한편, IoT 센서시스템은 간헐적으로 발생하는 이벤트를 센싱하고 이를 내장 플래쉬에 로깅할 경우 일정한 간격으로 센서, ADC, DSP, 플래쉬 접근의 연쇄적인 회로 구동이 이루어지며 멈춤 없이 연속적으로 동작해야 하므로 작은 전력 소모라 하더라도 시간에 따라 무시할 수 없는 크기의 에너지(전력의 적분값) 소모가 발생한다. On the other hand, when an IoT sensor system senses an event that occurs intermittently and logs it to the built-in flash, a chain circuit of the sensor, ADC, DSP, and flash access is made at regular intervals and it has to operate continuously without stopping, so it consumes little power. Even in this case, energy (integral value of power) consumption of a non-negligible magnitude occurs over time.

때문에, IoT 센서시스템을 장시간 동작시키는 것은 기술적으로 가장 중요한 문제이다. 이에, 일반적으로 이러한 에너지 소모에 대하여 대용량 배터리를 사용하거나, 수시로 배터리 교체를 하는 비용을 지불함으로써 문제를 해결해왔다. Therefore, operating the IoT sensor system for a long time is the most technically important issue. Accordingly, in general, the problem has been solved by using a large-capacity battery for such energy consumption or by paying the cost of replacing the battery from time to time.

그런데, 이러한 종래의 IoT 센서시스템은 한번 설치 후 다시 접근하기 힘들거나 비용이 많이 들 경우, 가령 사막, 남극, 전원선 닿지 않는 자동차 내부 센서, 천장, 전봇대, 비행기내부, 고열, 고전압으로 구동되는 기계내부 등의 경우에는 배터리 교체방법도 한계가 있는 문제가 있었다. However, such a conventional IoT sensor system is difficult or expensive to access again after installation, for example, in the desert, the South Pole, the sensor inside the car that does not reach the power line, the ceiling, the electric pole, the inside of an airplane, and a machine driven by high heat and high voltage. In the case of the interior, there was a problem that the battery replacement method was also limited.

대한민국 등록특허공보 제10-1584600호Republic of Korea Patent Publication No. 10-1584600

본 발명은, 전력소모 절감 방법으로 피크 전력을 줄이는 방법으로 동작전류 감소, 및 동작전압을 낮추는데 집중하였던 기존과는 달리, 중요한 이벤트만 간헐적으로 관찰하고 이를 모아서 플래쉬 메모리에 한꺼번에 접근하는 플래쉬 메모리 접근 알고리즘을 제시하여, 시간에 따른 전력소모의 적분에 해당하는 에너지 소모량을 절감함으로써 효율적인 전력소모 감소를 달성할 수 있는 IoT기반 간헐적 이벤트 로깅 시스템 및 IoT기반 간헐적 이벤트 로깅방법을 제공하는 것을 목적으로 한다. The present invention is a flash memory access algorithm that intermittently observes only important events and collects them to access the flash memory at once, unlike the conventional method that focused on reducing the operating current and lowering the operating voltage as a method of reducing peak power as a power consumption reduction method The purpose of presenting is to provide an IoT-based intermittent event logging system and an IoT-based intermittent event logging method that can achieve efficient power consumption reduction by reducing energy consumption corresponding to the integral of power consumption over time.

또한, 본 발명은 현재 관찰된 센싱값이 인접 IoT 센서시스템에서도 중복으로 로깅하고 있는지를 판별하여 중복된 이벤트의 로깅을 방지하여 협력적인 로깅 방법을 제시할 수 있는 IoT기반 간헐적 이벤트 로깅 시스템 및 IoT기반 간헐적 이벤트 로깅방법을 제공하는 것을 목적으로 한다. In addition, the present invention is an IoT-based intermittent event logging system and IoT-based that can present a cooperative logging method by preventing the logging of duplicate events by determining whether the currently observed sensing value is being logged in duplicate even in the adjacent IoT sensor system It aims to provide an intermittent event logging method.

본 발명의 일 측면에 의하면, 본 발명은, IoT 센서노드에서 간헐적으로 발생하는 이벤트(event)신호를 구분하는 복수개의 입출력패드(PAD I/O)들을 포함하는 패드부와, 복수개의 입출력패드로부터 수신된 이벤트정보들을 선택적으로 출력하는 MUX부를 포함하여 구성되는 데이터범위제어부와; MUX부로부터 출력되는 이벤트정보들을 적재하는 적분제어부와, 적분제어부에 의하여 누적된 이벤트정보들을 설정시간동안 모니터링 하여 설정 센서레벨의 이벤트정보들을 추출하고, 센서레벨의 현재값과 과거값의 변화량을 비교하여 중요이벤트를 추출하는 이벤트추출제어부와, 이벤트정보들로부터 시간에 따른 센서이벤트값을 미분제어하여 변화량을 산출한 뒤 변화시점에서의 시간정보를 샘플링하기 위한 미분제어부를 포함하여 구성되는 데이터분석부와; 데이터분석부로부터 추출된 중요이벤트들을 프레임버퍼에 저장하여 중요이벤트들이 플래쉬 메모리부의 버퍼크기에 도달하면 한 번에 로깅하는 버퍼 메모리부와, 버퍼 메모리로부터 중요이벤트들이 로깅되어 저장되는 플래쉬 메모리부를 포함하여 구성됨을 특징으로 하는 데이터저장부;를 포함하여 구성됨을 특징으로 하는 IoT기반 간헐적 이벤트 로깅 시스템을 제공할 수 있다. According to one aspect of the present invention, the present invention provides a pad unit including a plurality of input/output pads (PAD I/O) for discriminating an event signal that occurs intermittently in an IoT sensor node, and a plurality of input/output pads. a data range control unit configured to include a MUX unit for selectively outputting the received event information; The integral control unit that loads the event information output from the MUX unit, and the event information accumulated by the integral control unit is monitored for a set time to extract event information of the set sensor level, and the amount of change between the current value and the past value of the sensor level is compared A data analysis unit comprising an event extraction control unit that extracts an important event by doing this, and a differential control unit for sampling time information at the time of change after calculating the amount of change by differentially controlling the sensor event value according to time from the event information Wow; It includes a buffer memory unit that stores important events extracted from the data analysis unit in the frame buffer and logs the important events at once when they reach the buffer size of the flash memory unit, and a flash memory unit that logs and stores important events from the buffer memory. It is possible to provide an IoT-based intermittent event logging system, characterized in that it includes; a data storage unit, characterized in that it is configured.

또한, 본 발명의 다른 측면에 의하면 본 발명은, IoT 센서노드에서 간헐적으로 발생하는 이벤트(event)신호를 복수개의 입출력패드(PAD I/O)를 사용하여 구분하고, 복수개의 입출력패드로부터 수신된 이벤트정보들을 MUX(Multiplexer)부를 이용하여 선택적으로 출력하는 이벤트정보 출력단계와; MUX부로부터 출력되는 이벤트정보들을 적재하고, 누적된 이벤트정보들을 설정시간동안 모니터링하여 설정 센서레벨의 이벤트정보들을 추출하며, 추출된 이벤트정보들로부터 시간에 따른 센서레벨의 현재값과 과거값의 변화량을 비교하여 변화되는 특이점에서의 이벤트정보들을 샘플링하여 중요이벤트를 추출하는 중요이벤트 추출단계와; 추출된 중요이벤트들을 프레임버퍼에 저장하고, 중요이벤트들이 플래쉬 메모리의 버퍼크기에 도달하면 중요이벤트들을 한 번에 플래쉬 메모리부에 로깅(logging)하는 로깅단계;를 포함하여 구성됨을 특징으로 하는 IoT기반 간헐적 이벤트 로깅 방법을 제공할 수 있다.In addition, according to another aspect of the present invention, in the present invention, an event signal that occurs intermittently in an IoT sensor node is divided using a plurality of input/output pads (PAD I/O), and received from the plurality of input/output pads an event information output step of selectively outputting event information using a MUX (multiplexer) unit; The event information output from the MUX unit is loaded, the accumulated event information is monitored for a set time, and event information of the set sensor level is extracted, and the amount of change in the current value and the past value of the sensor level according to time from the extracted event information an important event extraction step of extracting an important event by comparing and sampling event information at a changed singularity; A logging step of storing the extracted important events in the frame buffer, and logging important events to the flash memory unit at once when the important events reach the buffer size of the flash memory; An intermittent event logging method can be provided.

여기서, 중요이벤트 추출단계는, 누적된 이벤트정보들을 바탕으로 선택적으로 동적 설정하여 다음 모니터링할 이벤트정보들의 레벨을 동적으로 조절하도록 구성될 수 있다. Here, the important event extraction step may be configured to dynamically adjust the level of event information to be monitored next by selectively and dynamically setting based on the accumulated event information.

또한, 중요이벤트 추출단계는, 누적된 이벤트정보들로부터 설정시간동안 최대, 최소 및 평균 중 적어도 어느 하나의 설정된 센서레벨을 동적 기준으로 하여 이벤트정보들을 추출하고, 추출된 이벤트정보들로부터 시간에 따른 센서이벤트값을 미분제어하여 변화량을 산출한 뒤 변화시점에서의 시간정보를 샘플링하여 중요이벤트를 추출하도록 구성될 수 있다.In addition, the important event extraction step extracts event information from the accumulated event information based on the set sensor level of at least one of maximum, minimum and average for a set time as a dynamic reference, and extracts event information from the extracted event information according to time After calculating the amount of change by differential control of the sensor event value, it may be configured to extract important events by sampling time information at the time of change.

또한, 중요이벤트 추출단계는, 추출된 이벤트정보들로부터 시간에 따른 센서이벤트값을 1차적으로 미분제어하여 변화량을 산출하고, 산출된 변화량에 대하여 2차적으로 미분제어하여 변화시점에서의 시간정보를 추출하도록 구성될 수 있다. In addition, in the important event extraction step, the amount of change is calculated by firstly differentially controlling the sensor event value according to time from the extracted event information, and the time information at the time of change is obtained by differential control secondarily with respect to the calculated amount of change. can be configured to extract.

한편, 인접 IoT 센서노드 복수개가 하나의 대상을 센싱하는 경우, 중요이벤트 추출단계는, 추출된 중요이벤트와, 게이트웨이로부터 전송받은 비교이벤트를 비교하여 이벤트정보들의 샘플링여부를 판단하도록 구성될 수 있다. On the other hand, when a plurality of adjacent IoT sensor nodes sense one target, the important event extraction step may be configured to determine whether event information is sampled by comparing the extracted important event with a comparison event received from the gateway.

이때, 중요이벤트 추출단계는, 중요이벤트가 비교이벤트의 설정범위 내에 포함되는 경우 대상 주변의 상황이 스테이블(stable)하다고 판단하여 샘플링을 중지하고, 중요이벤트가 비교이벤트의 설정범위를 초과하면 샘플링을 다시 수행하도록 구성될 수 있다. At this time, in the important event extraction step, when the important event is included within the set range of the comparison event, it is determined that the situation around the target is stable and sampling is stopped, and when the important event exceeds the set range of the comparison event, sampling is performed can be configured to perform again.

그리고 중요이벤트 추출단계는, 샘플링 중지 후 설정시간을 초과하면 샘플링을 다시 수행하도록 구성될 수 있다. And the important event extraction step may be configured to perform sampling again when a set time is exceeded after stopping sampling.

본 발명에 따른 IoT기반 간헐적 이벤트 로깅 시스템 및 IoT기반 간헐적 이벤트 로깅방법은 IoT 센서 시스템의 가장 빈번한 동작이며 가장 많은 전력을 소모하는 데이터 로깅을 위한 ACC 구동 및 내장 플래쉬 메모리 접근 전류를 효과적으로 절감시킬 수 있으며, 장시간 동작하는 응용제품의 간헐적 이벤트 로깅에 보다 효과적으로 활용될 수 있는 효과를 제공할 수 있다. The IoT-based intermittent event logging system and IoT-based intermittent event logging method according to the present invention can effectively reduce the ACC drive and built-in flash memory access current for data logging that is the most frequent operation of the IoT sensor system and consumes the most power. , it can provide an effect that can be used more effectively for intermittent event logging of applications running for a long time.

도 1은 본 발명의 실시예에 따른 IoT기반 간헐적 이벤트 로깅 시스템의 개략적인 구성을 나타내는 블록도이다.
도 2는 종래의 아날로그 ADC를 이용하여 연속적인 플래쉬 메모리 접근을 하는 종래의 로깅방법의 논리회로를 나타내는 도면이다.
도 3은 본 발명의 실시예에 따른 IoT기반 간헐적 이벤트 로깅방법을 나타내는 절차도이다.
도 4는 본 발명의 실시예에 따른 IoT기반 간헐적 이벤트 로깅방법의 논리회로를 나타내는 도면이다.
도 5는 본 발명의 실시예에 따른 IoT기반 간헐적 이벤트 로깅방법에서 간헐적인 이벤트를 관찰하여 버퍼에 저장한 뒤 플래쉬 메모리부에 접근하는 방법을 나타내는 논리회로이다.
도 5는 본 발명의 실시예에 따른 IoT기반 간헐적 이벤트 로깅방법에서 IoT 인접 센서 노드간 협력적 센싱방법을 도식화한 도면이다.
1 is a block diagram showing a schematic configuration of an IoT-based intermittent event logging system according to an embodiment of the present invention.
FIG. 2 is a diagram illustrating a logic circuit of a conventional logging method that continuously accesses a flash memory using a conventional analog ADC.
3 is a flowchart illustrating an IoT-based intermittent event logging method according to an embodiment of the present invention.
4 is a diagram illustrating a logic circuit of an IoT-based intermittent event logging method according to an embodiment of the present invention.
5 is a logic circuit illustrating a method of observing an intermittent event in an IoT-based intermittent event logging method according to an embodiment of the present invention, storing the intermittent event in a buffer, and then accessing the flash memory unit.
5 is a diagram schematically illustrating a cooperative sensing method between IoT adjacent sensor nodes in an IoT-based intermittent event logging method according to an embodiment of the present invention.

이하, 본 발명에서 사용되는 용어는 본 발명에서의 기능을 고려하면서 가능한 현재 널리 사용되는 일반적인 용어들을 선택하였으나, 이는 당 분야에 종사하는 기술자의 의도 또는 판례, 새로운 기술의 출현 등에 따라 달라질 수 있다. 또한, 특정한 경우는 출원인이 임의로 선정한 용어도 있으며, 이 경우 해당되는 발명의 설명 부분에서 상세히 그 의미를 기재할 것이다. 따라서 본 발명에서 사용되는 용어는 단순한 용어의 명칭이 아닌, 그 용어가 가지는 의미와 본 발명의 전반에 걸친 내용을 토대로 정의되어야 한다. 명세서 전체에서 어떤 부분이 어떤 구성요소를 "포함"한다고 할 때, 이는 특별히 반대되는 기재가 없는 한 다른 구성요소를 제외하는 것이 아니라 다른 구성요소를 더 포함할 수 있음을 의미한다. 또한, 명세서에 기재된 "...부", "모듈", "수단" 등의 용어는 적어도 하나의 기능이나 동작을 처리하는 단위를 의미하며, 이는 하드웨어 또는 소프트웨어로 구현되거나 하드웨어와 소프트웨어의 결합으로 구현될 수 있다. 또한, 이하의 설명에서 제1, 제2 등의 용어는 다양한 구성요소들을 설명하는데 사용되는 용어로서, 그 자체에 의미가 한정되지 아니하며, 하나의 구성요소를 다른 구성요소로부터 구별하는 목적으로만 사용된다.Hereinafter, the terms used in the present invention have been selected as currently widely used general terms as possible while considering the functions in the present invention, which may vary depending on the intention or precedent of a person skilled in the art, the emergence of new technology, and the like. In addition, in a specific case, there is a term arbitrarily selected by the applicant, and in this case, the meaning will be described in detail in the description of the corresponding invention. Therefore, the term used in the present invention should be defined based on the meaning of the term and the overall content of the present invention, rather than the name of a simple term. In the entire specification, when a part "includes" a certain element, this means that other elements may be further included, rather than excluding other elements, unless otherwise stated. In addition, terms such as "...unit", "module", and "means" described in the specification mean a unit that processes at least one function or operation, which is implemented in hardware or software, or is a combination of hardware and software. can be implemented. In addition, in the following description, terms such as 1st, 2nd, etc. are terms used to describe various components, and their meanings are not limited, and are used only for the purpose of distinguishing one component from other components. do.

아래에서는 첨부한 도면을 참조하여 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자가 용이하게 실시할 수 있도록 본 발명의 실시예를 상세히 설명한다. 그러나 본 발명은 여러 가지 상이한 형태로 구현될 수 있으며 여기에서 설명하는 실시예에 한정되지 않는다. 그리고 도면에서 본 발명을 명확하게 설명하기 위해서 설명과 관계없는 부분은 생략하였으며, 명세서 전체를 통하여 유사한 부분에 대해서는 유사한 도면 부호를 붙였으며, 본 명세서 전체에 걸쳐 사용되는 동일한 참조번호는 동일한 구성요소를 나타낸다. 그리고 본 발명을 설명함에 있어서 관련된 공지 기술에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우 그 상세한 설명을 생략한다.DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings so that those of ordinary skill in the art can easily implement them. However, the present invention may be embodied in several different forms and is not limited to the embodiments described herein. And in order to clearly explain the present invention in the drawings, parts irrelevant to the description are omitted, similar reference numerals are attached to similar parts throughout the specification, and the same reference numbers used throughout the present specification refer to the same components. indicates. And, in the description of the present invention, if it is determined that a detailed description of a related known technology may unnecessarily obscure the gist of the present invention, the detailed description thereof will be omitted.

이하에서는 첨부된 도면을 참조하여 본 발명의 바람직한 실시예를 상세히 설명하기로 한다. Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings.

먼저, 도 1을 참조하여 본 발명의 실시예에 따른 IoT기반 간헐적 이벤트 로깅 시스템(1000,이하 'IoT기반 로깅 시스템'이라 한다)에 대하여 살펴보기로 한다.First, an IoT-based intermittent event logging system (1000, hereinafter referred to as an 'IoT-based logging system') according to an embodiment of the present invention will be described with reference to FIG. 1 .

구체적으로, 본 발명의 실시예에 따른 로깅 시스템(1000)은, 데이터범위제어부(100)와, 데이터분석부(200)와, 데이터저장부(300)를 포함하여 구성될 수 있다.Specifically, the logging system 1000 according to an embodiment of the present invention may include a data range control unit 100 , a data analysis unit 200 , and a data storage unit 300 .

본 발명의 실시예에 따른 IoT기반 로깅 시스템(1000)은, IoT모듈(1)에 통합된 구성일 수 있다. 즉, 데이터범위제어부(100)와, 데이터분석부(200)와, 데이터저장부(300)는 IoT모듈을 구성하는 복수의 구성들 중 어느 하나의 구성일 수 있다. 또한, 데이터범위제어부(100)와, 데이터분석부(200)와, 데이터저장부(300)는, IoT모듈 내에서 독립적으로 구비되거나, 상술한 구성들의 일부 또는 전부가 통합되어 구비될 수 있다. 여기서, IoT모듈(1)의 센서부는 IoT모듈(1)이 배치된 위치의 주변 환경을 센싱할 수 있으며, 센싱된 이벤트정보는 통신부를 통하여 데이터범위제어부(100)로 송신할 수 있다. The IoT-based logging system 1000 according to an embodiment of the present invention may have a configuration integrated into the IoT module 1 . That is, the data range control unit 100 , the data analysis unit 200 , and the data storage unit 300 may be any one of a plurality of components constituting the IoT module. In addition, the data range control unit 100 , the data analysis unit 200 , and the data storage unit 300 may be independently provided in the IoT module, or some or all of the above-described components may be integrated. Here, the sensor unit of the IoT module 1 may sense the surrounding environment of the location where the IoT module 1 is disposed, and the sensed event information may be transmitted to the data range control unit 100 through the communication unit.

데이터범위제어부(100)는, IoT 센서노드에서 간헐적으로 발생하는 이벤트(event)신호를 선택적으로 출력할 수 있도록 구성되며, 패드부(110)와, MUX부(120)를 포함하여 구성될 수 있다. The data range control unit 100 is configured to selectively output an event signal that occurs intermittently in the IoT sensor node, and may include a pad unit 110 and a MUX unit 120 . .

패드부(110)는, IoT 센서노드에서 간헐적으로 발생하는 이벤트(event)신호를 복수개의 입출력패드(PAD I/O)들로 출력하도록 구성될 수 있다. The pad unit 110 may be configured to output an event signal intermittently generated in the IoT sensor node to a plurality of input/output pads (PAD I/O).

MUX부(120)는, 복수개의 입출력패드로부터 수신된 이벤트정보들을 선택적으로 출력하도록 구성될 수 있다. The MUX unit 120 may be configured to selectively output event information received from a plurality of input/output pads.

데이터분석부(200)는, 데이터범위제어부(100)로부터 수신된 이벤트정보들을 누적하여 분석하고, 이벤트정보들로부터 중요이벤트를 추출하도록 구성될 수 있다. 데이터분석부(200)는, 적분제어부(210)와, 이벤트추출제어부(220)와, 미분제어부(230)를 포함하여 구성될 수 있다. The data analysis unit 200 may be configured to accumulate and analyze event information received from the data range control unit 100 and to extract an important event from the event information. The data analysis unit 200 may include an integral control unit 210 , an event extraction control unit 220 , and a differential control unit 230 .

적분제어부(210)는, MUX부(120)로부터 출력되는 이벤트정보들을 적재하도록 구성될 수 있다.The integral control unit 210 may be configured to load event information output from the MUX unit 120 .

이벤트추출제어부(220)는, 적분제어부(210)에 의하여 누적된 이벤트정보들을 설정시간동안 모니터링 하여 설정 센서레벨의 이벤트정보들을 추출하고, 센서레벨의 현재값과 과거값의 변화량을 비교하여 중요이벤트를 추출하도록 구성될 수 있다. The event extraction control unit 220 monitors the event information accumulated by the integral control unit 210 for a set time, extracts event information of a set sensor level, and compares the amount of change between the current value and the past value of the sensor level for an important event may be configured to extract

미분제어부(230)는, 이벤트정보들로부터 시간에 따른 센서이벤트값을 미분제어하여 변화량을 산출한 뒤 변화시점에서의 시간정보를 샘플링하도록 구성될 수 있다. The differential control unit 230 may be configured to differentially control a sensor event value according to time from the event information to calculate a change amount and then sample the time information at the change time point.

데이터저장부(300)는, 데이터분석부(200)로부터 수신된 중요이벤트들을 저장하며, 버퍼 메모리부와, 플래쉬 메모리부를 포함하여 구성될 수 있다. The data storage unit 300 stores important events received from the data analysis unit 200 , and may include a buffer memory unit and a flash memory unit.

버퍼 메모리부는, 데이터분석부(200)로부터 추출된 중요이벤트들을 프레임버퍼에 저장하여 중요이벤트들이 플래쉬 메모리부의 버퍼크기에 도달하면 한 번에 플래쉬 메모리부에 로깅하도록 구성될 수 있다.The buffer memory unit may be configured to store important events extracted from the data analysis unit 200 in a frame buffer and log the important events to the flash memory unit at once when the important events reach the buffer size of the flash memory unit.

플래쉬 메모리부는, 버퍼 메모리로부터 중요이벤트들이 로깅되어 저장되도록 구성된다. The flash memory unit is configured such that important events are logged and stored from the buffer memory.

한편, 본 발명의 실시예에 대한 IoT기반 로깅시스템(1000)의 각 구성에 대한 상세한 설명은 이후의 IoT기반 간헐적 이벤트 로깅방법에서 보다 상세하게 살펴보기로 한다. Meanwhile, a detailed description of each configuration of the IoT-based logging system 1000 for an embodiment of the present invention will be described in more detail in the following IoT-based intermittent event logging method.

이하에서는, 본 발명의 실시예에 따른 IoT기반 간헐적 이벤트 로깅 방법에 대하여 살펴보기로 한다. Hereinafter, an IoT-based intermittent event logging method according to an embodiment of the present invention will be described.

이에 앞서, 도 2를 참조하면, 도 2는 종래의 IoT기반 이벤트 로깅 방법을 나타낸 것으로서, 간헐적으로 발생하는 IoT센서 노드의 이벤트마다 샘플링한 연속적인 데이터를 아날로그 ADC를 이용하여 매번 구동하고, 이를 내장 플래쉬 메모리에 쓰기 위해 매번 접근하는 방식을 취하고 있다. 그런데, 이러한 종래의 IoT기반 이벤트 로깅 방법은 일정한 간격으로 센서, ADC, DSP, 플래쉬접근의 연쇄적인 회로 구동으로 멈춤 없이 연속적으로 동작해야 하므로 작은 전력 소모라 하더라도 시간에 따라 무시할 수 없는 크기의 에너지(전력의 적분값) 소모가 발생하게 된다. Prior to this, referring to FIG. 2 , FIG. 2 shows a conventional IoT-based event logging method. Continuous data sampled for every event of the IoT sensor node that occurs intermittently is driven every time using an analog ADC, and the built-in It takes a method of accessing each time to write to the flash memory. However, since this conventional IoT-based event logging method has to operate continuously without stopping by driving a series of circuits of sensor, ADC, DSP, and flash access at regular intervals, even with small power consumption, the amount of energy that cannot be ignored over time ( power consumption).

이에, 본 발명의 실시예에 따른 IoT기반 간헐적 이벤트 로깅방법(이하 'IoT기반 로깅 방법'이라 한다)은, 아날로그 ADC를 사용하지 않고 VIH/VIL레벨이 서로 다른 입출력패드(Digital Input PAD)만을 복수로 사용하고, 센서 신호의 특정 레벨에 도달 여부를 판별하기 위해 과거 누적된 샘플 패턴을 장시간 관찰하여 선택적으로 VIH/VIL을 동적으로 설정하여 원하는 센서 레벨 Threshold만을 관찰하여, 시간에 따른 센서레벨의 현재값과 과거값의 변화량을 비교하여 레벨의 변화시점의 Time값을 샘플링함으로써, 이를 통해 시간축의 레벨값과 공간축의 전압값의 특이점을 동시에 인식하여, 마치 ADC를 이용하여 많은 샘플링을 한 뒤 디지털 신호처리를 통해 이벤트를 인식하는 효과를 얻을 수 있다. 한편, 이러한 이벤트 로깅방법은, 간헐적인 이벤트가 발생하는 응용에 대해서만 적용 가능하다. Accordingly, the IoT-based intermittent event logging method (hereinafter referred to as 'IoT-based logging method') according to an embodiment of the present invention does not use an analog ADC and only plural input/output pads (Digital Input PAD) having different VIH/VIL levels In order to determine whether a specific level of the sensor signal has been reached, the past accumulated sample pattern is observed for a long time, and VIH/VIL is selectively set dynamically to observe only the desired sensor level threshold. By comparing the change amount of the value and the past value and sampling the time value at the time of the level change, the singularity of the level value on the time axis and the voltage value on the space axis is recognized at the same time, as if a digital signal after a lot of sampling using ADC The effect of recognizing an event can be obtained through processing. On the other hand, this event logging method is applicable only to an application in which an intermittent event occurs.

나아가, 본 발명의 실시예에 따른 IoT기반 로깅 방법은, 추출된 중요이벤트만을 따로 모아서 플래쉬 메모리 프레임 버퍼에 모으고, 정해진 패턴의 데이터가 모일 때까지 기존에 샘플한 데이터는 계속 삭제함으로써 프래임 버퍼가 다 채워져 플래쉬 메모리에 접근하는 빈도를 크게 감소시킬 수 있는 효과를 제공할 수 있다.Furthermore, in the IoT-based logging method according to an embodiment of the present invention, only the extracted important events are collected separately and collected in the flash memory frame buffer, and the previously sampled data is continuously deleted until the data of a predetermined pattern is collected, so that the frame buffer becomes full. It can provide the effect of significantly reducing the frequency of accessing the flash memory when it is filled.

한편, 도 3은 본 발명의 실시예에 따른 IoT기반 로깅 방법을 나타낸 도면으로, 본 발명의 IoT기반 로깅 방법은, 구체적으로 이벤트정보 출력단계(S10)와, 중요이벤트 추출단계(S20)와, 로깅단계(S30)를 포함하여 구성될 수 있다.On the other hand, Figure 3 is a view showing an IoT-based logging method according to an embodiment of the present invention, the IoT-based logging method of the present invention, specifically, the event information output step (S10), the important event extraction step (S20), It may be configured to include a logging step (S30).

이벤트정보 출력단계(S10)에서는, IoT 센서노드에서 간헐적으로 발생하는 이벤트(event)신호를 복수개의 입출력패드(PAD I/O)를 사용하여 구분하고, 복수개의 입출력패드로부터 수신된 이벤트정보들을 MUX(Multiplexer)부를 이용하여 선택적으로 출력된다.In the event information output step (S10), an event signal that occurs intermittently in the IoT sensor node is divided using a plurality of input/output pads (PAD I/O), and event information received from the plurality of input/output pads is MUX (Multiplexer) is used to selectively output.

중요이벤트 추출단계(S20)에서는, MUX부(120)로부터 출력되는 이벤트정보들을 적재하고, 누적된 이벤트정보들을 설정시간동안 모니터링하여 설정 센서레벨의 이벤트정보들을 추출하며, 추출된 이벤트정보들로부터 시간에 따른 센서레벨의 현재값과 과거값의 변화량을 비교하여 변화되는 특이점에서의 이벤트정보들을 샘플링하여 중요이벤트를 추출된다.In the important event extraction step (S20), the event information output from the MUX unit 120 is loaded, the accumulated event information is monitored for a set time to extract event information of a set sensor level, and time from the extracted event information A significant event is extracted by sampling event information at the changing singularity by comparing the change amount of the current value and the past value of the sensor level.

여기서, 중요이벤트 추출단계(S20)는, 누적된 이벤트정보들을 바탕으로 선택적으로 동적 설정하여 다음 모니터링할 이벤트정보들의 레벨을 동적으로 조절하도록 구성될 수 있다. Here, the important event extraction step (S20) may be configured to dynamically adjust the level of event information to be monitored next by selectively and dynamically setting based on the accumulated event information.

또한, 중요이벤트 추출단계(S20)는, 누적된 이벤트정보들로부터 설정시간동안 최대, 최소 및 평균 중 적어도 어느 하나의 설정된 센서레벨을 동적 기준으로 하여 이벤트정보들을 추출하고, 추출된 이벤트정보들로부터 시간에 따른 센서이벤트값을 미분제어하여 변화량을 산출한 뒤 변화시점에서의 시간정보를 샘플링하여 중요이벤트를 추출하도록 구성될 수 있다.In addition, the important event extraction step (S20) extracts event information from the accumulated event information based on the set sensor level of at least one of the maximum, minimum, and average for a set time as a dynamic reference, and from the extracted event information After calculating the amount of change by differentially controlling the sensor event value according to time, it may be configured to extract important events by sampling time information at the time of change.

또한, 중요이벤트 추출단계(S20)는, 추출된 이벤트정보들로부터 시간에 따른 센서이벤트값을 1차적으로 미분제어하여 변화량을 산출하고, 산출된 변화량에 대하여 2차적으로 미분제어하여 변화시점에서의 시간정보를 추출하도록 구성될 수 있다. In addition, in the important event extraction step (S20), the amount of change is calculated by firstly differentially controlling the sensor event value according to time from the extracted event information, and secondarily, the differential control is performed with respect to the calculated amount of change to determine the change at the time of change. It may be configured to extract time information.

로깅단계(S30)에서는, 추출된 중요이벤트들을 프레임버퍼에 저장하고, 중요이벤트들이 플래쉬 메모리의 버퍼크기에 도달하면 중요이벤트들을 한 번에 플래쉬 메모리부에 로깅(logging)된다. In the logging step (S30), the extracted important events are stored in the frame buffer, and when the important events reach the buffer size of the flash memory, the important events are logged in the flash memory unit at a time.

한편, 인접 IoT 센서노드 복수개가 하나의 대상을 센싱하는 경우, 중요이벤트 추출단계는, 추출된 중요이벤트와, 게이트웨이로부터 전송받은 비교이벤트를 비교하여 이벤트정보들의 샘플링여부를 판단하도록 구성될 수 있다. On the other hand, when a plurality of adjacent IoT sensor nodes sense one target, the important event extraction step may be configured to determine whether event information is sampled by comparing the extracted important event with a comparison event received from the gateway.

이때, 중요이벤트 추출단계는, 중요이벤트가 비교이벤트의 설정범위 내에 포함되는 경우 대상 주변의 상황이 스테이블(stable)하다고 판단하여 샘플링을 중지하고, 중요이벤트가 비교이벤트의 설정범위를 초과하면 샘플링을 다시 수행하도록 구성될 수 있다. At this time, in the important event extraction step, when the important event is included within the set range of the comparison event, it is determined that the situation around the target is stable and sampling is stopped, and when the important event exceeds the set range of the comparison event, sampling is performed can be configured to perform again.

그리고 중요이벤트 추출단계는, 샘플링 중지 후 설정시간을 초과하면 샘플링을 다시 수행하도록 구성될 수 있다. And the important event extraction step may be configured to perform sampling again when a set time is exceeded after stopping sampling.

도 4는 본 발명의 실시예에 따른 IoT기반 로깅 방법을 나타내는 논리회로서, 도면을 참조하여 본 발명에 대하여 구체적으로 살펴보기로 한다. 4 is a logic circuit illustrating an IoT-based logging method according to an embodiment of the present invention, and the present invention will be described in detail with reference to the drawings.

도 4를 참조하면, 본 발명의 실시예에 따른 IoT기반 로깅 방법은 ADC기반 연속적인 샘플링/플래쉬 로깅(Flash Logging)을 사용하지 않으며, 복수개의 입출력패드(PAD I/O)들을 사용하여 Multiple VIH/VIL(threshold)효과를 구현할 수 있으며, 간단한 저해상도 ADC기능도 가능하다. Referring to FIG. 4 , the IoT-based logging method according to an embodiment of the present invention does not use ADC-based continuous sampling/flash logging, and multiple VIH using a plurality of input/output pads (PAD I/O). /VIL (threshold) effect can be implemented, and simple low-resolution ADC function is also possible.

한편, 복수개의 입출력패드들의 출력신호들은 Mux에 의하여 선택적으로 출력되어 데이터분석부(200)로 송신되며, 이에 데이터분석부(200)에서는 과거부터 현재까지 센서값의 추이를 보면서 VIH/VIL을 동적으로 설정하는데, 현재까지 누적된 이벤트정보를 바탕으로 다음 관찰할 레벨(level)을 동적으로 조절한다. 이때, 시간에 따른 센서 이벤트 값의 변화시점을 미분제어를 통하여 시간정보를 추출하는데, 이러한 미분제어는 이벤트정보들의 1차적 미분을 통한 변화량 추출과, 추출된 변화량들의 2차적 미분을 통한 변화시점에서의 시간정보를 추출한다.On the other hand, the output signals of the plurality of input/output pads are selectively output by the Mux and transmitted to the data analysis unit 200. Accordingly, the data analysis unit 200 dynamically converts VIH/VIL while watching the trend of sensor values from the past to the present. to dynamically adjust the next level to be observed based on the accumulated event information so far. At this time, the time information is extracted through the differential control of the change point of the sensor event value according to time. This differential control extracts the change amount through the primary differentiation of the event information and the change time point through the secondary differentiation of the extracted change amounts. extract the time information of

이러한 과정을 통해 중요이벤트가 추출되면, 추출된 중요이벤트들을 플래쉬 메모리부에 바로 접근시키지 않고, ADC구동 없이 저전력으로 간헐적 중요이벤트를 추출하고, 프레임버퍼에 일정량 저장하고, 중요이벤트들이 플래쉬 메모리의 버퍼크기에 도달하면 한 번에 플래쉬 메모리부에 접근한다. When important events are extracted through this process, the extracted important events are not directly accessed to the flash memory unit, but intermittent important events are extracted with low power without ADC operation, and a certain amount is stored in the frame buffer, and the important events are stored in the flash memory buffer When the size is reached, the flash memory unit is accessed at once.

도 5는 본 발명에서 간헐적인 이벤트 관찰에 대한 논리회로를 나타낸 도면이다. 도면을 참조하면, 이벤트 발생 때마다 센서, 회로, 신호처리, 플래쉬 메모리를 구동하지 않고, 이벤트 발생 추이를 장시간 관찰하여 이를 버퍼에만 저장한 뒤 플래쉬 메모리부의 프레임 버퍼 크기만큼의 데이터가 모일 때 한꺼번에 플래쉬 메모리부에 접근하여 프로그래밍을 실시한다.5 is a diagram illustrating a logic circuit for intermittent event observation in the present invention. Referring to the drawing, whenever an event occurs, the sensor, circuit, signal processing, and flash memory are not driven, but the event occurrence trend is observed for a long period of time and stored only in the buffer. Access the memory unit and perform programming.

한편, 아래는 이러한 간헐적 이벤트 추출 알고리즘을 나타내고 있다. 이를 참조하면, 이벤트 발생 때마다 큐에 적재하고, 장시간 큐에 적재한 데이터로부터 최대, 최소, 평균 등의 방법으로 추이를 관찰하며, 정의한 조건에 도달할 경우 간헐적 이벤트로 인식하여 이 데이터만 추출(dequeue)하여 플래쉬 프레임 버퍼에 저장한다. 이 과정을 통해 플래쉬 프레임 버퍼에 채워지기 까지 상당한 이벤트 발생이 필요하고, 따라서 플래쉬 접근 빈도를 많이 낮출 수 있으며 플래쉬 메모리에 데이트를 쓰기(프로그래밍)하는데 소모되는 에너지 소모를 극히 낮출 수 있다.Meanwhile, the following shows the intermittent event extraction algorithm. Referring to this, whenever an event occurs, it is loaded into the queue, and trends are observed from the data loaded in the queue for a long time by methods such as maximum, minimum, and average, and when a defined condition is reached, it is recognized as an intermittent event and only this data is extracted ( dequeue) and store it in the flash framebuffer. Through this process, significant event generation is required until the flash frame buffer is filled, so the frequency of flash access can be greatly reduced, and the energy consumption for writing (programming) data to the flash memory can be extremely reduced.

Figure 112020076563014-pat00001
Figure 112020076563014-pat00001

한편, 본 발명의 실시예에 따른 IoT기반 로깅 방법은, 인접 IoT 인접 센서 노드간 협력적 센싱을 통한 중복된 이벤트 로깅 방지하여 플래쉬 접근 빈도 줄일 수 있다. 이에 대하여 아래의 알고리즘과 도 6을 참조하면, 노드의 ADC 샘플링을 거친 데이터를 Ds, 게이트웨이로부터 전송받은 데이터를 ??Dg라고 할 때, 게이트웨이에서 전송하는 센서 네트워크의 목적에 따라 값이 달라지는데, 도 6의 좌측 그림은 센서 주변의 상황이 stable하여 샘플링이 불필요하다고 생각되는 값을 전송한다고 가정하는 경우를 나타내었다. 알고리즘에서는 샘플링한 데이터 Ds가 Dg의ㅁM % 범위 내부에 있으면 센서 주변의 상황이 stable하다고 간주하므로 샘플링을 중지한다. 반대로 범위 바깥에 존재하는 경우는 샘플링을 다시 작동시킨다. 이때 샘플링이 중지 되어있는 시간을 조절하기 위해 cnt를 사용하여 일정 시간이 지나면 샘플링을 다시 시작되도록 한다.On the other hand, the IoT-based logging method according to an embodiment of the present invention can reduce the frequency of flash access by preventing overlapping event logging through cooperative sensing between adjacent IoT adjacent sensor nodes. In this regard, referring to the algorithm below and FIG. 6 , when the data that has undergone ADC sampling of the node is Ds and the data transmitted from the gateway is ??Dg, the value varies depending on the purpose of the sensor network transmitted by the gateway, as shown in FIG. The figure on the left of Figure 6 shows a case where it is assumed that the conditions around the sensor are stable and that the value that is considered unnecessary for sampling is transmitted. In the algorithm, if the sampled data Ds is within the range of M % of Dg, the situation around the sensor is considered stable, so sampling is stopped. Conversely, if it exists outside the range, sampling is activated again. At this time, to adjust the time when sampling is stopped, use cnt to restart sampling after a certain time has elapsed.

Figure 112020076563014-pat00002
Figure 112020076563014-pat00002

상기한 바에 의하면, 본 발명의 실시예에 따른 IoT기반 로깅 방법은, 간헐적으로 발생하는 센서 신호에 대해 ADC를 구동하여 연속적으로 샘플링한 데이터를 매번 플래쉬 메모리에 쓰기 위해 접근하지 않고, 복수개의 입출력패드(Digital I/O PAD)만을 이용하여 순수히 디지털회로만으로 시간축과 전압레벨축의 일정한 이벤트의 시간에 따른 패턴을 장시간 관찰할 수 있으며, 관찰하고자 하는 이벤트 패턴이 모일 때 까지는 이전에 쌓인 의미 없는 이벤트를 계속 삭제함으로써 플래쉬 쓰기 버퍼가 다 차지 않도록 최대한 유지함으로써 플래쉬 메모리에 쓰기 빈도를 크게 줄일 수 있으며, 이에 따라 IoT 센서 시스템의 가장 빈번한 동작이며 가장 많은 전력을 소모하는 데이터 로깅을 위한 내장 플래쉬 메모리 접근 전류를 효과적으로 절감시킬 수 있다. As described above, the IoT-based logging method according to an embodiment of the present invention does not access the data continuously sampled by driving the ADC for intermittently generated sensor signals to write to the flash memory every time, but a plurality of input/output pads Using only (Digital I/O PAD), it is possible to observe the pattern of a certain event on the time axis and voltage level axis for a long time with pure digital circuitry. By keeping the flash write buffer from filling up as much as possible by erasing it, the frequency of writing to the flash memory can be greatly reduced, effectively reducing the access current of the built-in flash memory for data logging, which is the most frequent operation of the IoT sensor system and consumes the most power. can be reduced

본 발명은, 상시전원 없이 배터리 기반으로 장시간(1년 이상) 동작해야 하는 센서시스템, 가령 환경센서, 자동차 내부 센서(전원선 닿지 않는 모든 부분. 타이어 압력센서 같은 곳), 한번 설치 후 다시 접근하기 힘든 센서들 (천장, 전봇대, 비행기내부, 고열, 고전압으로 구동되는 기계내부 등)에 효과적으로 적용될 수 있으며, 빠르게 변하지 않는 간헐적 신호변화에 적용 가능지만, 이에 한정하지는 않는다. 한편, 본 발명에서 데이터저장부(300)의 버퍼메모리부(310)와 플래쉬메모리부(320)에 대한 구성 일부는 2019년도 정부 (과학기술정보통신부)의 재원으로 한국연구재단의 지원을 받아 수행된 연구로서(No. NRF-2019R1A2C2005099), 대한임베디드공학회논문지 제14권제2호의 「IoT기반 간헐적 이벤트 로깅 응용에 최적화된 효율적 플래시 메모리 전력 소모 감소기법」(권지수, 조정훈, 박대진, 2019년4월)를 참조할 수 있다.The present invention is a sensor system that needs to be operated for a long time (more than 1 year) based on a battery without constant power, such as an environmental sensor, a sensor inside a car (all parts that do not reach the power line, such as a tire pressure sensor), and access it again after installation. It can be effectively applied to difficult sensors (ceilings, electric poles, inside airplanes, high heat, inside machines driven by high voltage, etc.), and can be applied to intermittent signal changes that do not change quickly, but is not limited thereto. On the other hand, in the present invention, a part of the configuration of the buffer memory unit 310 and the flash memory unit 320 of the data storage unit 300 is supported by the National Research Foundation of Korea with funding from the government (Ministry of Science and ICT) in 2019. (No. NRF-2019R1A2C2005099), 「Efficient Flash Memory Power Consumption Reduction Technique Optimized for IoT-Based Intermittent Event Logging Application」 of Journal of the Korean Society of Embedded Engineers, Vol. ) can be referred to.

본 발명은 도면에 도시된 실시예를 참고로 설명되었으나 이는 예시적인 것에 불과하며, 본 기술 분야의 통상의 지식을 가진 자라면 이로부터 다양한 변형 및 균등한 다른 실시예가 가능하다는 점을 이해할 것이다. 따라서 본 발명의 진정한 기술적 보호 범위는 첨부된 특허청구범위의 기술적 사상에 의하여 정해져야 할 것이다.Although the present invention has been described with reference to the embodiment shown in the drawings, which is merely exemplary, it will be understood by those skilled in the art that various modifications and equivalent other embodiments are possible therefrom. Therefore, the true technical protection scope of the present invention should be determined by the technical spirit of the appended claims.

100 : 데이터범위제어부
110 : 패드부
120 : MUX부
200 : 데이터분석부
210 : 적분제어부
220 : 이벤트추출제어부
230 : 미분제어부
300 : 데이터저장부
310 : 버퍼메모리부
320 : 플래쉬메모리부
1000 : IoT기반 간헐적 이벤트 로깅 시스템
100: data range control unit
110: pad part
120: MUX unit
200: data analysis unit
210: integral control unit
220: event extraction control unit
230: differential control unit
300: data storage unit
310: buffer memory unit
320: flash memory unit
1000: IoT-based intermittent event logging system

Claims (8)

IoT 센서노드에서 간헐적으로 발생하는 이벤트(event)신호를 구분하는 VIH/VIL 레벨이 서로 다른 복수개의 입출력패드(PAD I/O)들을 포함하는 패드부와, 복수개의 상기 입출력패드로부터 수신된 이벤트정보들을 선택적으로 출력하는 MUX부를 포함하여 구성되는 데이터범위제어부와;
상기 MUX부로부터 출력되는 이벤트정보들을 적재하는 적분제어부와, 상기 적분제어부에 의하여 누적된 상기 이벤트정보들을 설정시간동안 모니터링하여 원하는 센서레벨 임계값만을 관찰하도록 설정 센서레벨의 이벤트정보들을 추출하고, 센서레벨의 현재값과 과거값의 변화량을 비교하여 중요이벤트를 추출하는 이벤트추출제어부와, 상기 이벤트정보들로부터 시간에 따른 센서이벤트값을 미분제어하여 변화량을 산출한 뒤 변화시점에서의 시간정보를 샘플링하기 위한 미분제어부를 포함하여 구성되는 데이터분석부와;
상기 데이터분석부로부터 추출된 상기 중요이벤트들을 프레임버퍼에 저장하여 상기 중요이벤트들이 설정 버퍼크기에 도달하면 한 번에 로깅하는 버퍼 메모리부와, 상기 버퍼 메모리로부터 중요이벤트들이 로깅되어 저장되는 플래쉬 메모리부를 포함하여 구성됨을 특징으로 하는 데이터저장부;를 포함하고,
상기 데이터분석부는,
누적된 상기 이벤트정보들을 바탕으로 선택적으로 동적 설정하여 다음 모니터링할 이벤트정보들의 레벨을 동적으로 조절하도록, 누적된 상기 이벤트정보들로부터 설정시간동안 최대, 최소 및 평균 중 적어도 어느 하나의 설정된 센서레벨을 동적 기준으로 하여 이벤트정보들을 추출하고,
추출된 이벤트정보들로부터 시간에 따른 센서 이벤트값을 샘플링하여 중요이벤트를 추출하기 위해 추출된 이벤트정보들로부터 시간에 따른 센서 이벤트값을 1차적으로 미분제어하여 변화량을 산출하고, 산출된 변화량에 대하여 2차적으로 미분제어하여 변화시점에서의 시간정보를 추출하도록 구성됨을 특징으로 하는 IoT기반 간헐적 이벤트 로깅 시스템.
A pad unit including a plurality of input/output pads (PAD I/O) having different VIH/VIL levels for discriminating intermittent event signals from the IoT sensor node, and event information received from the plurality of input/output pads a data range control unit configured to include a MUX unit for selectively outputting the data;
An integral control unit for loading event information output from the MUX unit, and monitoring the event information accumulated by the integral control unit for a set time, extracts event information of a set sensor level to observe only a desired sensor level threshold, and a sensor An event extraction control unit that extracts an important event by comparing the amount of change between the present value and the past value of the level, and differential control of the sensor event value according to time from the event information to calculate the amount of change and then sample the time information at the time of change a data analysis unit configured to include a differential control unit;
A buffer memory unit that stores the important events extracted from the data analysis unit in a frame buffer and logs the important events at once when the important events reach a set buffer size, and a flash memory unit in which important events are logged and stored from the buffer memory A data storage unit characterized in that it is configured to include;
The data analysis unit,
In order to dynamically adjust the level of the next event information to be monitored by selectively dynamically setting the accumulated event information based on the accumulated event information, at least one of the maximum, minimum, and average sensor levels from the accumulated event information for a set time is measured. Extracting event information on a dynamic basis,
In order to extract an important event by sampling the sensor event value over time from the extracted event information, the amount of change is calculated by differentially controlling the sensor event value over time from the extracted event information, and the calculated change amount is IoT-based intermittent event logging system, characterized in that it is configured to extract time information at the time of change by secondary differential control.
IoT 센서노드에서 간헐적으로 발생하는 이벤트(event)신호를 VIH/VIL 레벨이 서로 다른 복수개의 입출력패드(PAD I/O)를 사용하여 구분하고, 복수개의 상기 입출력패드로부터 수신된 이벤트정보들을 MUX(Multiplexer)부를 이용하여 선택적으로 출력하는 이벤트정보 출력단계와;
상기 MUX부로부터 출력되는 이벤트정보들을 적재하고, 누적된 상기 이벤트정보들을 설정시간동안 모니터링하여 원하는 센서레벨 임계값만을 관찰하도록 설정 센서레벨의 이벤트정보들을 추출하며, 추출된 이벤트정보들로부터 시간에 따른 센서레벨의 현재값과 과거값의 변화량을 비교하여 변화되는 특이점에서의 이벤트정보들을 샘플링하여 중요이벤트를 추출하는 중요이벤트 추출단계와;
추출된 상기 중요이벤트들을 프레임버퍼에 저장하고, 상기 중요이벤트들이 플래쉬 메모리의 버퍼크기에 도달하면 상기 중요이벤트들을 한 번에 플래쉬 메모리부에 로깅(logging)하는 로깅단계;를 포함하고,
상기 중요이벤트 추출단계는,
누적된 상기 이벤트정보들을 바탕으로 선택적으로 동적 설정하여 다음 모니터링할 이벤트정보들의 레벨을 동적으로 조절하도록, 누적된 상기 이벤트정보들로부터 설정시간동안 최대, 최소 및 평균 중 적어도 어느 하나의 설정된 센서레벨을 동적 기준으로 하여 이벤트정보들을 추출하고,
추출된 이벤트정보들로부터 시간에 따른 센서 이벤트값을 샘플링하여 중요이벤트를 추출하기 위해 추출된 이벤트정보들로부터 시간에 따른 센서 이벤트값을 1차적으로 미분제어하여 변화량을 산출하고, 산출된 변화량에 대하여 2차적으로 미분제어하여 변화시점에서의 시간정보를 추출하도록 구성됨을 특징으로 하는 IoT기반 간헐적 이벤트 로깅 방법.
The event signal that occurs intermittently in the IoT sensor node is divided using a plurality of input/output pads (PAD I/O) having different VIH/VIL levels, and event information received from the plurality of input/output pads is divided into MUX ( an event information output step of selectively outputting using a multiplexer);
The event information output from the MUX unit is loaded, the accumulated event information is monitored for a set time, and event information of a set sensor level is extracted to observe only a desired sensor level threshold value, and from the extracted event information, according to time an important event extraction step of extracting an important event by sampling event information at a changed singularity by comparing the amount of change between the current value and the past value of the sensor level;
A logging step of storing the extracted important events in a frame buffer, and logging the important events to a flash memory unit at a time when the important events reach a buffer size of a flash memory;
The important event extraction step is
In order to dynamically adjust the level of the next event information to be monitored by selectively dynamically setting the accumulated event information based on the accumulated event information, at least one of the maximum, minimum, and average sensor levels from the accumulated event information for a set time is measured. Extracting event information on a dynamic basis,
In order to extract an important event by sampling the sensor event value over time from the extracted event information, differential control of the sensor event value over time is primarily differentially controlled from the extracted event information to calculate the amount of change, and An IoT-based intermittent event logging method, characterized in that it is configured to extract time information at the time of change by secondary differential control.
삭제delete 삭제delete 삭제delete 제 2 항에 있어서,
인접 IoT 센서노드 복수개가 하나의 대상을 센싱하는 경우,
상기 중요이벤트 추출단계는,
추출된 상기 중요이벤트와, 게이트웨이로부터 전송받은 비교이벤트를 비교하여 이벤트정보들의 샘플링여부를 판단하도록 구성됨을 특징으로 하는 IoT기반 간헐적 이벤트 로깅 방법.
3. The method of claim 2,
When a plurality of adjacent IoT sensor nodes sense a single target,
The important event extraction step is
IoT-based intermittent event logging method, characterized in that it is configured to determine whether to sample the event information by comparing the extracted important event with the comparison event received from the gateway.
제 6 항에 있어서,
상기 중요이벤트 추출단계는,
상기 중요이벤트가 상기 비교이벤트의 설정범위 내에 포함되는 경우 대상 주변의 상황이 스테이블(stable)하다고 판단하여 샘플링을 중지하고,
상기 중요이벤트가 상기 비교이벤트의 설정범위를 초과하면 샘플링을 다시 수행하도록 구성됨을 특징으로 하는 IoT기반 간헐적 이벤트 로깅 방법.
7. The method of claim 6,
The important event extraction step is
When the important event is included within the set range of the comparison event, it is determined that the situation around the target is stable and sampling is stopped,
IoT-based intermittent event logging method, characterized in that it is configured to perform sampling again when the important event exceeds the set range of the comparison event.
제 7 항에 있어서,
상기 중요이벤트 추출단계는,
샘플링 중지 후 설정시간을 초과하면 샘플링을 다시 수행하도록 구성됨을 특징으로 하는 IoT기반 간헐적 이벤트 로깅 방법.
8. The method of claim 7,
The important event extraction step is
IoT-based intermittent event logging method, characterized in that it is configured to perform sampling again when the set time is exceeded after stopping sampling.
KR1020200090990A 2020-07-22 2020-07-22 Event Logging system for IoT-Driven Rare-Event Applications and Event Logging method for IoT-Driven Rare-Event Applications KR102416583B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020200090990A KR102416583B1 (en) 2020-07-22 2020-07-22 Event Logging system for IoT-Driven Rare-Event Applications and Event Logging method for IoT-Driven Rare-Event Applications

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020200090990A KR102416583B1 (en) 2020-07-22 2020-07-22 Event Logging system for IoT-Driven Rare-Event Applications and Event Logging method for IoT-Driven Rare-Event Applications

Publications (2)

Publication Number Publication Date
KR20220012007A KR20220012007A (en) 2022-02-03
KR102416583B1 true KR102416583B1 (en) 2022-07-05

Family

ID=80268914

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020200090990A KR102416583B1 (en) 2020-07-22 2020-07-22 Event Logging system for IoT-Driven Rare-Event Applications and Event Logging method for IoT-Driven Rare-Event Applications

Country Status (1)

Country Link
KR (1) KR102416583B1 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005061887A (en) * 2003-08-20 2005-03-10 Horiba Ltd Data control system, and analyzer applied thereto

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20090132812A (en) * 2008-06-23 2009-12-31 주식회사 케이티 Methods and devices for interlocking process of sensors and events
KR101584600B1 (en) 2014-03-27 2016-01-19 (주)코콤 Interactive environment complex sensor IoT system
CA3072045A1 (en) * 2017-08-02 2019-02-07 Strong Force Iot Portfolio 2016, Llc Methods and systems for detection in an industrial internet of things data collection environment with large data sets

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005061887A (en) * 2003-08-20 2005-03-10 Horiba Ltd Data control system, and analyzer applied thereto

Also Published As

Publication number Publication date
KR20220012007A (en) 2022-02-03

Similar Documents

Publication Publication Date Title
CN103309740B (en) Program starts method, device and equipment
US10977173B2 (en) Memory device with dynamic storage mode control
US7904660B2 (en) Page descriptors for prefetching and memory management
CN105425940A (en) Method and apparatus for determining wearing state of wristband, and wearable device
CN111143243A (en) Cache prefetching method and system based on NVM (non-volatile memory) hybrid memory
US20110145536A1 (en) Memory leak detection during dynamic memory allocation
US20100082295A1 (en) Method and System of Wind Turbine Condition Monitoring
CN103647935A (en) Method for storing video data and video monitoring device
CN105183669A (en) Data storage method and device
CN114353881A (en) Equipment abnormity monitoring method and system based on composite sensor
US20200204883A1 (en) Configurable distributed smart sensor system
EP3644184A1 (en) System and method for anomaly characterization based on joint historical and time-series analysis
KR102416583B1 (en) Event Logging system for IoT-Driven Rare-Event Applications and Event Logging method for IoT-Driven Rare-Event Applications
CA2629752C (en) Method and system for updating a stored data value in a non-volatile memory
CN105022701A (en) Method for storing running state and parameters of air conditioner
CN105426116B (en) Controller and access method of storage
CN105204981A (en) Application performance test method and device
CN108647124A (en) A kind of method and its device of storage skip signal
US20200204882A1 (en) Configurable distributed smart sensor system
CN101739273A (en) Memory sharing method
CN104123243B (en) Data caching system and method
CN109936528B (en) Monitoring method, device, equipment and system
US20170308448A1 (en) Terminal apparatus and failure response control method
CN110333828B (en) EEPROM data storage method, controller and system
CN100462925C (en) Method for automatically releasing applied programe module leaked memory in inlaid system

Legal Events

Date Code Title Description
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant